1313 Commits
Author SHA1 Message Date
Ali KhokharandClaude Opus 5.5 69dff2443b patch: Let the attempt loop own provider executions and drop the Chat stream runner (#2615)
## Why

The four streaming transports (Chat, Responses, Messages, Gemini) each
repeated the same shell around `run_attempts`:
- start the admission execution;
- build the continuation body;
- mark the execution succeeded or failed;
- abandon it.

That made four owners of one lifecycle. Chat also kept a separate
`_OpenAIChatStreamRunner`, whose attempts reached into the runner's
private state. It held tool argument aliases apart from the presenter,
which then needed a bind step.

## How

- **`run_attempts`:**
- Owns the request on first iteration: it creates the
`ContinuationRequest`, builds the continuation body, starts the
execution, and ends it on success, failure or early close.
- `AttemptPlan` now carries `admission`, `request_id` and the
`ContinuationSeed` instead of a started execution.
- `sent_fields` and `sent_payload` read the request body before any
attempt prepares it.
- `AttemptContext` gains the shared `continuation`, which Gemini's
attempt reads.
- **Messages and Gemini:** each builds its plan in one method that
returns `run_attempts(...)`.
- **Responses:** one `_run_stream` generator owns the per-request OpenAI
client and closes it after the attempts.
- **Chat:**
- The runner is gone. `_run_stream` builds the plan, and `_ChatAttempt`
takes its own fields.
- The presenters move to `openai_chat/presentation.py` and take the
aliases in their constructor.
- **Behavior:** unchanged, with one exception. A native Responses
request that carries `extra_body.model` is now admitted under the model
actually sent upstream (as Chat already did), not the top-level one.
- **Accepted tradeoffs (review findings, skipped):**
- A non-string `extra_body.model` override (e.g. `1`) is now admitted
under its string form (`"1"`) instead of the top-level model. No real
client sends one, and it would need a provider model literally named
`"1"`.
- Resuming an interrupted Chat or Responses stream keeps one extra copy
of the request history alive until the stream ends, because the plan
holds the body that the continuation build copies.
- **Tests:**
- New `test_loop_owns_the_execution_lifecycle` covers the succeeded,
failed and abandoned outcomes.
  - The rest are import fixes.
  - The unused `_make_stream_runner` helper is deleted.

🤖 Generated with [Claude Code](https://claude.com/claude-code)





<!-- greptile_comment -->

<!-- greptile_summary -->

<h2>Confidence Score: 5/5<a
href="https://app.greptile.com/api/retrigger?id=128199114&amp;sig=47fa67d629e5f9ada2479e2f848c560f3d4ba5064393fed4c1b4255df75e63e4"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2615&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a></h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge, with no
new actionable issues in the latest change.

<details open><summary><h3>Summary</h3></summary>

This PR moves provider execution ownership into `run_attempts` and
removes the separate Chat runner.
- The shared attempt loop owns streaming request setup and cleanup.
- Chat streams now build their plans directly and keep presentation
separate.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Transport builds AttemptPlan] --> B[run_attempts builds continuation]
  B --> C[Start execution]
  C --> D[Prepare and stream attempts]
  D --> E{Outcome}
  E -->|Completed| F[Mark succeeded]
  E -->|Error| G[Mark failed]
  E -->|Closed early| H[Close active attempt]
  F --> I[Abandon unfinished execution]
  G --> I
  H --> I
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["Describe when the request
trace reads
th..."](https://github.com/alishahryar1/free-claude-code/commit/932ec009bcf574363a682d3f0a8724cba7a60c2b)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.69
2026-12-02 23:41:29 -08:00
Ali KhokharandClaude Opus 5.5 674dfdc61a patch: Render Telegram and Discord markdown with one walker (#2612)
## Why

`telegram_markdown.py` and `discord_markdown.py` were two copies of the
same markdown walker. They differed only in which characters each
platform escapes, the emphasis, bold and strikethrough markers, and
whether URLs are escaped. Fixes landed in one copy and not the other.
Discord headings also broke whenever they contained bold: `# Hello
**world**` rendered as `**Hello **world****`, where the nested `**`
closes the heading's bold early.

## How

- `messaging/rendering/markdown.py` adds a frozen `MarkdownDialect` and
two instances, `TELEGRAM_MARKDOWN_V2` and `DISCORD_MARKDOWN`.
- Fields: the characters to escape, the emphasis, bold and strikethrough
markers, and `escape_urls`.
- Methods: `escape`, `escape_code`, `bold`, `code_inline`,
`format_status` and `render`.
- List prefixes and image fallbacks follow from the escape set, so they
need no fields of their own: Telegram's `\-` and `N\.`, and Telegram
escaping `(` and `)` around an image URL.
- `escape_urls` keeps the one real URL difference: Telegram escapes link
and image URLs, while Discord shows them raw.
- Both old modules are deleted. `profiles.py` passes the chosen
dialect's bound methods into the unchanged `RenderCtx`, and the platform
modules use the dialect constants.
- Token attributes are read with `Token.attrGet`. markdown-it-py 4
always stores attrs as a dict, so the old list-of-pairs branches never
ran.
- **Headings** drop only nested bold, the one marker that collides with
the heading's own bold. Everything else inside a heading renders as it
does in body text.
- Discord headings match the old output, except that `# Hello **world**`
is now valid.
- Telegram headings keep inline code, links, italics, strikethrough and
images. Before, they were flattened to plain text and images were
dropped. If Telegram rejects the markup, `telegram_io` already resends
the message as plain text.
- **Discord status lines:** the error and voice-note lines use the
shared `format_status`, with the same ❌ and ⏳ as Telegram.
`format_status_discord` is gone.
- Everything else renders byte-for-byte as before. Both platforms were
checked against 25 inputs that cover every token branch.

🤖 Generated with [Claude Code](https://claude.com/claude-code)





<!-- greptile_comment -->

<!-- greptile_summary -->

<h2>Confidence Score: 5/5<a
href="https://app.greptile.com/api/retrigger?id=128059157&amp;sig=5ca2b76e66b31096435878863c8bf9f29b82aaad6da585a16a0dbf9cf61ce442"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2612&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a></h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge, with no
new actionable issues found.

<details open><summary><h3>Summary</h3></summary>

This PR replaces the separate Telegram and Discord Markdown walkers with
`MarkdownDialect`.

- Telegram and Discord messages use one Markdown walker with separate
formatting rules.
- Headings keep their inline formatting without breaking their bold
markers.
- Error and voice-status messages use the shared platform formatting.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["Keep inline content in
headings and pin
..."](https://github.com/alishahryar1/free-claude-code/commit/19c5ae455786bee3e8b55dfefd6beefade6b303f)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.68
2026-12-02 21:54:14 -08:00
Ali KhokharandClaude Opus 5.5 724c005548 patch: Pass per-request provider inputs as one ProviderCall (#2608)
## Why

Every provider and transport stream method took the same seven
per-request keyword arguments: `input_tokens`, `request_id`,
`response_model`, `reasoning`, `request_headers`, `model_info` and
`continuation`. They also had defaults and `response_model or
request.model` fallbacks the executor never relied on. Most providers
only forwarded them, so each new per-request input meant editing about
60 signatures. The optional defaults also hid whether a caller had
really supplied a value.

## How

- `application/ports.py` adds a frozen `ProviderCall`:
- required: `request_id`, `response_model`, `reasoning`, `input_tokens`;
  - optional: `request_headers`, `model_info`, `continuation`.
- `ProviderExecutor` builds the call once per candidate. The stream
methods are now `stream_x(request, call)`, and
`stream_native_messages(request, call, *, reasoning_override)`.
- Providers that change a field use `dataclasses.replace`:
  - Custom adjusts reasoning.
  - Copilot sets the lease's model info and resolved reasoning.
  - OpenCode and Anthropic set the routed model info.
- Transports keep `endpoint_context` and provider-derived
`extra_headers` as their own arguments. `call.request_headers` (the
client's raw headers) stays at the provider layer, so client headers
never reach the upstream.
- The removed parts:
  - the positional `input_tokens`;
  - the `response_model or request.model` fallbacks;
- the `endpoint_context` parameters on forwarding providers, which the
executor never passed.
- Copilot's native Responses path now receives the model's info like its
other three native paths. Nothing on that path reads it yet, so its wire
request is unchanged.
- `/v1/messages` rejects an empty or blank `model` with a 400, as
count_tokens, Responses, Chat and Gemini already did. Without the old
fallback, an empty model would otherwise be echoed back as the response
model.
- `ProviderCall.request_headers` is left out of the dataclass `repr`,
since it carries the client's credentials.
- The Responses transport copies `extra_headers` when a stream is
created, not when it is first iterated.
- Tests build calls through
`tests/provider_calls.provider_call(response_model, ...)`. Fake
providers take `(request, call)`. Tests that passed an endpoint context
to a chat provider now drive its chat transport.

🤖 Generated with [Claude Code](https://claude.com/claude-code)







<!-- greptile_comment -->

<!-- greptile_summary -->

<h2>Confidence Score: 5/5<a
href="https://app.greptile.com/api/retrigger?id=126822652&amp;sig=1cae51f06a3ebbbf038bf38f5374e1530efa248bb64bd14eff236967a9c6715c"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2608&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a></h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
blocking issues were found.

<details open><summary><h3>Summary</h3></summary>

The PR replaces repeated provider arguments with `ProviderCall` across
execution, providers, transports, and tests.

Changes since the previous review:
- Provider stream calls carry per-request details in one `ProviderCall`.
- Messages requests with a blank model name are rejected.
- Responses streams keep the headers supplied when they are created.

No actionable new issues were found. No previous review threads were
supplied. Tests were inspected but not run.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  E[ProviderExecutor] --> C[ProviderCall]
  C --> P[Selected provider]
  P --> R[Replace provider-owned fields when needed]
  R --> T[Transport]
  H[Provider-selected extra headers] --> S[Copy when stream is created]
  S --> T
  T --> U[Upstream request]
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (3) · Last reviewed commit: ["Reject empty Messages models,
keep
clien..."](https://github.com/alishahryar1/free-claude-code/commit/2a14a91c7c4e3c40c506ffad1251df223ab68dcc)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.67
2026-12-02 02:40:13 -08:00
Ali KhokharandClaude Opus 5.5 3c83b78e20 patch: Fail type checks on Any returns, unknown returns and unknown attributes (#2607)
## Why

Pyrefly's strict preset leaves the Any checks off. Three of them cost
almost nothing to turn on: `no-any-return` (a function declared to
return a concrete type returns `Any`), `unknown-return-type` and
`unknown-attribute-type`. Together they report 22 sites. Each site is a
value whose type nobody checks.

The larger Any checks (`explicit-any`, `unknown-variable-type`,
`unknown-argument-type`, `partially-unknown-type`) are left for later.
`partially-unknown-type` waits for a Pyrefly release that types `async
def` coroutines (facebook/pyrefly#5720).

## How

- `pyproject.toml` turns on the three checks as errors.
- At JSON and SDK boundaries (`json.loads`, `response.json()`,
markdown-it, urllib, ruamel, `AsyncMock`), the value is assigned to an
annotated local before it is returned. This is the pattern
`catalog_http.py` and `managed/claude.py` already use.
- `ContinuationRequest` casts the Responses input the way its
neighbouring returns already do.
- The Vertex token provider only returns a cached Google token when it
is a non-empty `str`; google-auth leaves `token` untyped. A truthy
non-string token now goes through the refresh path, which already
rejects it.
- `openai_error_from_failure` builds the inner error directly instead of
wrapping it in an envelope and indexing it back out.
- The Codex smoke test types its event queue. That exposed two chained
`.get` calls on nested JSON, which now go through `object_payload`.
- The thread-dump pytest hook gets its generator return type.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2>Confidence Score: 5/5<a
href="https://app.greptile.com/api/retrigger?id=126409510&amp;sig=34d3ee34f8e7572fb1f0712bbd8a2cd8eb21f8ae5929a234a153aff3ca354635"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2607&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a></h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable issues were found.

<details open><summary><h3>Summary</h3></summary>

The PR enables three stricter Pyrefly checks and adds types at JSON and
SDK boundaries.
- Pyrefly now flags unclear return and attribute types as errors.
- Vertex authentication reuses cached tokens only when they are
non-empty strings.
- OpenAI error responses now build their inner error details directly.

No actionable issues were found. Tests and type checks were not run.

Alishahryar1 explicitly described rejecting truthy non-string Vertex
tokens as intentional in the PR description.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Fail type checks on Any
returns,
unknown..."](https://github.com/alishahryar1/free-claude-code/commit/2d68438ff3fa6340f1eb8f0655118b07bb691939)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.66
2026-12-02 00:51:50 -08:00
Ali KhokharandClaude Opus 5.5 63490e560f patch: Check vendor installer downloads and keep tests off real downloads (#2595)
## Why

Since #2594, Windows vendor installers run from memory in a child
PowerShell. A review found two gaps:

- **Bad downloads passed as success.** An empty download ran nothing and
exited 0, so Pi was silently skipped and an existing `muse` was accepted
without our installer's checks. A failed Hermes download fell through to
`exit $LASTEXITCODE` and exited 0, ending in a misleading "installed,
but not on PATH" error. The old temp-file runner rejected these cases.
- **Tests could reach real vendor downloads.** The tests load a fake
download into the child from a file. If loading failed, the child fell
through to the real `irm` and could run a live vendor installer on a dev
or CI machine. The check that the fake was wired in also matched an
unrelated retry-command line.

## How

- The child checks the download before running anything. If `irm` fails,
the response is empty, or it isn't valid PowerShell, it prints the error
and exits 1. This covers all eight vendors, Hermes included.
- In tests, the child calls `Invoke-FakeVendorDownload`, which only the
fake defines, so a broken fake can't download anything. Both test hooks
must match production code exactly once, and the child finds the fake
through its own `$env:FAKE_FIXTURES`.
- The fake now fails like a real `irm`: the step errors but the script
keeps going, instead of `throw` stopping it. That `throw` is why the
Hermes test missed the bug.
- New tests cover an empty download, a broken fake that must not reach
the network, and a Hermes download failure that must not report
"installed".

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 5/5 · The PR appears safe to merge; no
actionable issues were found.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=123887129&amp;sig=1c5cb283d9253567b1d0a5f812f8f72dcb1ab06af52a6c4931175a4194cf2695"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2595&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable issues were found.

<details open><summary><h3>Summary</h3></summary>

The Windows installer now rejects failed, empty, or invalid downloads
before running vendor code.
- Windows vendor installs stop when a download cannot provide a usable
script.
- Installer tests use a fake-only command for vendor downloads.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["patch: Check vendor installer
downloads
..."](https://github.com/alishahryar1/free-claude-code/commit/a1272340c569787a87567a3fbefb3bbf9855935b)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.65
2026-11-30 03:54:48 -08:00
Ali KhokharandClaude Opus 5.5 ca137a7e37 patch: Run Windows vendor installers from memory (#2594)
## Why

On Windows, FCC's installer saved each vendor's install script (Claude
Code, Codex, Pi, Hermes, Grok, Antigravity, Muse, uv) to
`%TEMP%\fcc-install-<guid>.ps1` and ran it with `powershell
-ExecutionPolicy Bypass -File`. Antivirus tools flag that pattern, as
Kaspersky did in discussion #2525. The bypass was there only because we
ran the script from a file. None of the vendors need it: each documents
`irm <url> | iex`, which execution policy never checks.

## How

- Run each vendor script from memory in a child PowerShell: `powershell
-NoProfile -Command "& ([scriptblock]::Create((irm <url>))) <args>"`.
Nothing is written to disk and there's no policy override. The child
process still keeps a vendor's `exit` from ending FCC's installer, and
passes the script's exit code back.
- Hermes behaves differently when run as text. On failure it sets
`$LASTEXITCODE = 1` instead of calling `exit 1`, which would otherwise
read as success. Its child ends with `exit $LASTEXITCODE`.
- A download that isn't PowerShell (e.g. a proxy's HTML page) still
fails before anything runs, now with PowerShell's own parse error
instead of our custom message.
- Installer tests fake the download inside the child process. New tests
cover:
  - the vendor script never lands in `%TEMP%`;
  - the child command line has no execution-policy override;
  - a Hermes failure after its binary lands stops the install.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 5/5 · The PR appears safe to merge; no
actionable issues were found.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=123857293&amp;sig=ec109aa460809289a53fdecf61b020fee4d2313391d41bccc7b525871931adf0"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2594&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable issues were found.

<details open><summary><h3>Summary</h3></summary>

Windows vendor installers now run from memory in a child PowerShell
instead of a temporary script file.
- Windows vendor installers run from memory in a child PowerShell.
- Hermes install failures reach the parent installer.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["patch: Run Windows vendor
installers
fro..."](https://github.com/alishahryar1/free-claude-code/commit/2b98a37b7e683f2c204f9ab18a4f3bfab90bf511)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.64
2026-11-30 03:27:20 -08:00
Ali KhokharandClaude Opus 5.5 e209a566ca Give the admin e2e server 30s to start (#2593)
## Why

The macOS Playwright shard fails intermittently with `TimeoutError:
Admin browser-test server did not start`. It only hits the first test on
each xdist worker: that start is cold (imports, disk cache), and a busy
macOS runner has taken over 5s. Every later test on the same worker
starts in time.

## How

Raise the `admin_base_url` startup deadline from 5s to 30s. It still
fails fast if the server thread dies, and the deadline only exists to
catch a hung startup.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 5/5 · The PR appears safe to
merge.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=123841462&amp;sig=298d394d68530e955e14b14ee1db287b7cf2fa407a3cdf54e0db6f1326128cb0"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2593&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

Gives the Admin browser-test server up to 30 seconds to start instead of
5 seconds.
- The Admin test server gets 30 seconds to start.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["patch: Give the admin e2e
server 30s to
..."](https://github.com/alishahryar1/free-claude-code/commit/492af0f3b10d9a9f53c7a56e18e0bab7c81dd709)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 02:50:54 -08:00
Ali KhokharandClaude Opus 5.5 133f92358d patch: Accept Antigravity's Gemini sessionId and XHIGH thinking level (#2592)
## Why

Android Studio's Antigravity ACP agent can point at FCC through
`GOOGLE_GEMINI_BASE_URL`, but FCC rejected its requests with a 400,
which the IDE showed as a generic "Internal error" (#2397). Two fields
failed validation:

- `thinkingLevel`: Google's Gemini API now has an `XHIGH` thinking
level, which FCC's Gemini request model did not list. The reported error
names exactly the five older values.
- `sessionId`: the agent sends a top-level session ID. Google's public
`generateContent` API does not define it, and FCC forbids unknown
fields.

Closes #2397. This takes a narrower route than #2493, which guessed at
casing and `THINKING_LEVEL_` prefixes but did not accept `XHIGH`.

## How

- Add `XHIGH` to `ThinkingConfig.thinking_level`. FCC's
`ReasoningEffort` already has `xhigh`, so translated routes get the
matching effort, and native Gemini routes pass the client's level
through unchanged.
- Accept `sessionId` on `GeminiRequest` as an excluded field, so it
never appears in any dump and never reaches an upstream body.
- An ingress test replays the agent's request shape and checks the
effort and the upstream body.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 5/5 · The PR appears safe to merge; no
actionable issues were found.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=123822704&amp;sig=339e9b9bfdd524c88cc5ddde136e2195466df04cf8d3b900f66f0defeb70f8aa"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2592&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable issues were found.

<details open><summary><h3>Summary</h3></summary>

Accepts Antigravity requests that include `sessionId` and the `XHIGH`
thinking level.
- Gemini requests accept Antigravity’s `sessionId` and `XHIGH` thinking
level.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["patch: Accept
Antigravity&#39;s Gemini
sessi..."](https://github.com/alishahryar1/free-claude-code/commit/bb831a59ef24e8705e1e98e3e1a360231d037367)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.63
2026-11-30 02:44:01 -08:00
Ali KhokharandClaude Opus 5.5 60febc6fdd patch: Delete code production never runs (#2590)
## Why

Several redesigns moved a job to a new owner but left the old code
behind. Nothing in production calls it any more, and some tests only
exercised those paths, so they gave confidence about behavior that never
runs. Each piece was traced to the PR that removed its last caller, and
production was checked to still do the job:

- Chat and Responses stream failures (#2362): the API layer now writes
each wire's terminal error frame, so `finish_failure`,
`terminal_failure` and their per-protocol implementations were unused.
- Responses output usage (#1575): both Responses writers track usage
themselves, so the ledger's usage tracking was unused.
- Rate-limit conditional admission (#1923): admission owns its own
capacity window.
- Synthetic Chat tool-turn boundaries (#1717): reasoning is attached
during conversion, before the boundary is inserted, so its marker type
had no reader.
- Messaging snapshots (#1919), server-tool helpers (#1800), the ledger's
thinking builder (#2013), plus smaller helpers left by refactors.

The Anthropic stream assertion helpers also shipped inside the package
although only tests and smoke use them.

## How

- Delete the unused functions, methods and module, and everything only
they kept alive:
- The `completed=False` replay path through reasoning-replay `finish`
and `capture_reasoning_record`.
- The ledger's `close_unclosed_blocks` and its write-only open-block
stack.
  - The Gemini and Responses failure frame builders.
  - `consumes_terminal_failure`.
  - The limiter's `allowed` branch.
- `ThinkTagParser.in_think_mode`, `RequestHistory.negotiating` and the
never-read `tool_input_tail_max`.
- Split `core/anthropic/stream_contracts.py`:
  - The SSE parser that production uses becomes `core/anthropic/sse.py`.
- The assertion helpers move to `tests/stream_contracts.py`, along with
a small `thinking_frames` helper that replaces the ledger's test-only
thinking builder.
- Delete tests that only covered removed paths. Point the rest at the
production function that does the job: `forced_server_tool_name`,
`get_validated_stream_addrinfos_for_egress`,
`_read_response_body_capped`, `failure_payload` and
`native_reasoning_delta`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)








<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 5/5 · The PR appears safe to merge; no
actionable new issues were found.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=123702719&amp;sig=28c07f53b3e70d48a9b4a23bbd4b34650976f2d4154431200d76f79905797571"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2590&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable new issues were found.

<details open><summary><h3>Summary</h3></summary>

This PR removes unused stream-failure paths and helpers, and separates
production SSE parsing from test assertions.

- Production SSE parsing and test-only stream checks now live
separately.
- Stream writers leave terminal error frames to the API layer.
- Stream ledgers and reasoning replay keep only state used by live
paths.
- Smaller helpers and tests now follow the production functions that
remain.

No actionable new issues were found. No previous review threads were
supplied. Checks were based on source inspection; tests were not run.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (4) · Last reviewed commit: ["patch: Drop dead ledger
thinking and
too..."](https://github.com/alishahryar1/free-claude-code/commit/74b2f5242346ca1aa7d188f27cf2ee7785dad8a9)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.62
2026-11-30 00:34:50 -08:00
Ali KhokharandClaude Opus 5.5 e8240f2622 patch: Keep Claude background agents signed in through FCC (#2589)
## Why

Fixes #2552. Fixes #2567. Fixes #2571.

Since #2512, FCC set `CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST=1` for every
Claude session. In Claude Code 2.1.332 that flag also tells Claude to
delete `ANTHROPIC_AUTH_TOKEN` and the other credential variables from
the processes it spawns and from background sessions. The flag is meant
for the Claude Desktop third-party setup, which passes credentials
through a file instead. FCC only passes a token in the environment, so
background agents had no credentials. Resuming with `--bg`, opening the
agent view, or going back to an older agent showed "Not logged in ·
Please run /login".

#2512 added the flag so a leftover `env` block in Claude's settings,
like the OpenRouter one in #2503, couldn't send requests past FCC. That
block is the user's own config, so the right fix is to tell them to
remove it.

## How

- `claude_proxy_values()` no longer sets the flag, and
`build_claude_proxy_env()` strips it if the shell has it.
- The VS Code and JetBrains integrations remove the copy that older FCC
versions wrote, the next time they refresh or connect. VS Code
disconnect removes it too.
- `fcc-claude` refuses to start when an `env` block sets `ANTHROPIC_*`
or `CLAUDE_CODE_USE_*`. It checks `settings.json` in `CLAUDE_CONFIG_DIR`
(default `~/.claude`), and `.claude/settings.json` and
`.claude/settings.local.json` in the launch directory. The error names
each file and key to remove. Other `env` keys, and missing or invalid
files, don't block the launch.
- Editor integrations and managed Claude tasks don't run this check.
- Tests point `CLAUDE_CONFIG_DIR` at a temp directory so they never read
the real `~/.claude`.

The credential deletion comes from reading Claude Code 2.1.332's bundled
code. A background agent wasn't re-run end to end.

🤖 Generated with [Claude Code](https://claude.com/claude-code)




<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 4/5 · The PR still needs to respect
--setting-sources before it is safe to merge.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=123667493&amp;sig=b7f1db53e3858a602e2d76f67f6999a696811645e18d37dc4021f3bdde6b9604"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2589&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 4/5</h2>

<!-- greptile-risk -->

The PR still needs to respect `--setting-sources` before it is safe to
merge.

<h2><ruby><rp>Findings</rp></ruby><a
href="https://app.greptile.com/api/ide/codex?prompt=IMPORTANT%3A%20Work%20in%20the%20repository%20%22alishahryar1%2Ffree-claude-code%22%20on%20the%20existing%20branch%20%22fix%2Fclaude-background-login%22.%20Checkout%20that%20branch%20%E2%80%94%20do%20NOT%20create%20a%20new%20branch%20or%20open%20a%20new%20PR.%20Push%20your%20changes%20to%20%22fix%2Fclaude-background-login%22.%0A%0A%23%23%23%20Issue%201%0Asrc%2Ffree_claude_code%2Fcli%2Flaunchers%2Fclaude.py%3Aundefined-59%0A%60fcc-claude%20--setting-sources%20local%60%20still%20checks%20the%20user's%20global%20%60settings.json%60.%20If%20that%20file%20contains%20routing%20keys%2C%20FCC%20refuses%20to%20launch%20even%20though%20Claude%20was%20told%20not%20to%20load%20it.%20Pass%20%60args%60%20into%20the%20check%20and%20inspect%20only%20the%20selected%20settings%20sources.%20Users%20should%20not%20have%20to%20delete%20settings%20used%20by%20their%20other%20Claude%20sessions.%0A%0A---%0A%0AFor%20each%20issue%20above%2C%20determine%20whether%20it%20is%20valid%20and%20should%20be%20fixed.%20If%20so%2C%20fix%20it%20directly.&expires=1796627055&sig=54d78ac71a3e2795cfb311066f9cfc0c8e7d333758b3d6aba2cc13ce41698f71&repo=alishahryar1%2Ffree-claude-code&pr=2589&platform=github"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInCodexDark.svg?v=7"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInCodex.svg?v=7"><img
alt="Fix All in Codex"
src="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInCodex.svg?v=7"
align="right"></picture></a>Findings</h2>

1. <img alt="P1"
src="https://greptile-static-assets.s3.amazonaws.com/badges/p1.svg?v=9"
align="top">&nbsp;**Excluded settings block Claude** <a
href="https://github.com/Alishahryar1/free-claude-code/pull/2589#discussion_r4735826922">▶</a>

<details open><summary><h3>Summary</h3></summary>

Keeps Claude background agents signed in by removing
`CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST`.

- Claude background agents keep the credentials FCC gives them.
- The installed Claude launcher stops when settings could route requests
around FCC.
</details>

<!-- greptile_confidence_score:4 -->

<sub>Reviews (2) · Last reviewed commit: ["patch: Only block
Claude&#39;s provider
swit..."](https://github.com/alishahryar1/free-claude-code/commit/545c36e7bd6fc2375ec46eae8098bb75c7cfe472)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.61
2026-11-29 23:07:24 -08:00
Ali KhokharandClaude Opus 5.5 b9ed2c2c0d patch: Keep Intel macOS installs on cryptography wheels (#2587)
## Why

Fixes #2549. Fixes #2570.

cryptography 49.0.0 and later ship no x86_64 macOS wheels. FCC pulls
cryptography in through google-auth, so on Intel Macs uv tried to build
it from source, which needs Rust and OpenSSL, and the install failed.

Updates made it worse. The installers ran `uv tool install --force`,
which deletes the existing tool environment before it builds the new
one. When the cryptography build failed, `fcc-update` left the user with
no FCC at all.

## How

- Add `cryptography<49; sys_platform == 'darwin' and platform_machine ==
'x86_64'` to `[project].dependencies`.
- The marker ships in the wheel metadata, so installs from PyPI honour
it. A `[tool.uv]` constraint (#2573) would only affect `uv.lock`, and an
install.sh change (#2578) would miss anyone who installs without that
script, such as a plain `uv tool install`.
- Checked against the built wheel: x86_64 macOS resolves 48.0.1 (it has
a `macosx_10_9_universal2` abi3 wheel). arm64 macOS and Linux still get
50.0.2.
- `uv lock` now locks 48.0.1 on every platform, because uv keeps one
version when it can. This only affects the dev and CI environment.
- Drop `--force` from the FCC `uv tool install` in `install.sh` and
`install.ps1`. Tested on uv 0.13.9 without `--force`:
  - A new pinned version upgrades in place.
  - Adding or removing extras installs or removes their packages.
  - A Python change recreates the environment.
  - A command removed by a new version gets removed.
  - A failed build leaves the old install working.
- The one thing `--force` still did was overwrite an executable uv
didn't install. uv now stops with a clear error and leaves everything
unchanged.
- The installer smoke tests now expect the command without `--force`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)



<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 5/5 · This PR appears safe to merge; no
actionable defect was identified.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=123652402&amp;sig=14e2ca7c2c0c565cd3f6fd912d15a0e7d8204e1d8fb69f6befefba57b36cd3ca"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2587&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This PR appears safe to merge; no
actionable defect was identified.

<details open><summary><h3>Summary</h3></summary>

Keeps Intel macOS installs on `cryptography` versions with compatible
wheels and removes `--force` from both FCC installers.

- Intel Mac installs now use a wheel for cryptography.
- FCC upgrades no longer force-remove the current install first.

Acknowledged choices:
- Alishahryar1 explicitly states that the single locked version applies
to every platform in development and CI.
- Alishahryar1 explicitly accepts that installs now stop rather than
overwrite executables not owned by uv.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["patch: Keep Intel macOS
installs on
cryp..."](https://github.com/alishahryar1/free-claude-code/commit/50b73988ee8b1e4da24a6dba97b544f586466d5c)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.60
2026-11-29 22:30:01 -08:00
Ali KhokharandClaude Opus 5.5 6e39985afe patch: Accept Google's skip-validator signature on Gemini ingress (#2586)
## Why

Antigravity CLI fails on its first tool-result turn through FCC with
"Caller-native Gemini signatures cannot be replayed through this
gateway" (#2581). This reproduces locally with Antigravity CLI 1.5.20
and a non-Gemini model. The history it sends back has `thoughtSignature:
"c2tpcF90aG91Z2h0X3NpZ25hdHVyZV92YWxpZGF0b3I="` on the model's
`functionCall`. That is base64 for `skip_thought_signature_validator`,
Google's documented placeholder for a call that has no real signature.
FCC issued no signature for that call, so Antigravity filled in the
placeholder. Gemini ingress accepts only FCC-issued replay records, so
it rejected the placeholder.

Fixes #2581.

## How

- `core/gemini/history.py`: `normalized_history` ignores the placeholder
the same way it ignores a missing signature. Any other signature FCC did
not issue is still rejected.
- The placeholder carries no state, so nothing is forwarded upstream. A
later request routed to native Gemini sees the call as unsigned, as it
would for any call a non-Gemini model made.
- Test: a Gemini HTTP request with the captured shape (a
placeholder-signed `functionCall` and its `functionResponse`) reaches
the upstream over Chat, Responses and Messages egress, and the
placeholder is not sent upstream.
- Verified end to end: `fcc-agy -p "Run ... cmd /c echo FCC_AGY_STEP_1"`
now completes and prints the command output.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 5/5 · This PR appears safe to
merge.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=123639129&amp;sig=20e990dd0fa0e7804cf3bcead589beb41f5c25f3a3796c46cbdac0e7a0fc6d94"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2586&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

Accepts Google's skip-validator placeholder during Gemini history
conversion while keeping other unsupported signatures rejected.
- Gemini tool calls with Google's placeholder can continue to an
upstream model.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Accept Google&#39;s
skip-validator
signature..."](https://github.com/alishahryar1/free-claude-code/commit/41db9974f0a106d14f8dbde4a565609da517cc88)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.59
2026-11-29 22:08:31 -08:00
Ali KhokharandClaude Opus 5.5 e0fdc169e6 patch: Continue streams after unsigned Messages thinking (#2563)
## Why

Anthropic-compatible providers that send thinking without a signature
(#2544) could not be continued or handed off after a mid-stream
disconnect. Messages stream recovery treated every `thinking` block,
`thinking_delta` and `signature_delta` as signed, so:

- any thinking set `unsafe_reason = "signed_thinking"` and recovery
stopped,
- a completed unsigned block was never cleared from pending reasoning,
- a replacement attempt failed with "cannot be combined" as soon as it
started its own thinking block,
- an empty `signature_delta` marked the delivered prefix `opaque_delta`.

Fixes #2550.

## How

- `providers/continuation.py`: in the Messages branch of
`SourceRecoveryState.observe`, only real protected state is unsafe:
`redacted_thinking`, or a non-empty `signature` or `extra_content` on a
block start or delta. Stream pieces are not decoded as FCC replay
records, because a record can be split across deltas and a readable
record would keep the untrimmed thought in a continuation.
- It still runs on each raw event as it arrives, so protected state is
seen before anything queued behind or beside it is published.
- Thinking blocks are tracked as open until `content_block_stop`, signed
or not. An open block is reported as `open_thinking`, both in the
attempt's own snapshot and in the evidence a local retry inherits for
model fallback.
- `core/delivered_response.py`: an empty accumulated signature no longer
marks the prefix opaque.
- Tests cover:
- completed unsigned thinking, with and without an empty
`signature_delta`, continuing over Messages and Responses wires with
both thoughts delivered once
  - a disconnect inside an open thinking block stopping
  - a split signature not aborting a healthy stream
  - a replacement with a readable record failing instead of combining
  - a tool call not being published before later redacted thinking
  - citations stopping recovery
  - a retry keeping earlier open thinking for fallback

Accepted tradeoffs:

- A thinking block still open at disconnect stops recovery. The
signature arrives last, so an open block cannot be shown to be unsigned.
- A replacement attempt streams thinking normally and fails with the
existing "cannot be combined" error only when protected state actually
appears. Nothing is buffered.
- A chained FCC upstream that sends a readable replay record as a
signature stops recovery, as it did before.
- Only shapes real providers send are classified. These are not
detected:
  - an event named only by its SSE `event:` line
  - invented or typeless delta types
  - unknown fields such as `encrypted_content` on thinking
  - malformed `message_start`, block or delta objects

  Main only caught some of them because it refused all thinking.

No handoff test was added. Messages cannot hand off because a tool call
only completes at `message_delta`, which already marks the normal stop.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


























<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 5/5 · The PR appears safe to merge
within its stated provider-shape limits.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=121581683&amp;sig=2d6361c2b1016b84bd9dc472af258504993521aae67dba35dc194338a1da24b1"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2563&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge within its
stated provider-shape limits.

<details open><summary><h3>Summary</h3></summary>

The PR lets streams continue after a completed unsigned Messages
thinking block. Open thinking and non-empty signatures still stop
recovery.

- Completed unsigned thinking can continue after a stream disconnect.

No new actionable issues were found.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Messages thinking starts] --> B[Track the open block]
  B --> C{Protected state arrives?}
  C -->|Yes| D[Stop recovery]
  C -->|No| E{Block closes before disconnect?}
  E -->|No| D
  E -->|Yes| F[Allow continuation after disconnect]
  F --> G[Remove repeated output]
  G --> H[Continue one public response]
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (13) · Last reviewed commit: ["Drop recovery checks for
Messages
shapes..."](https://github.com/alishahryar1/free-claude-code/commit/99d01661645b7b13b135ecf0a84a197896d5d2d7)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.58
2026-11-27 03:46:14 -08:00
Ali KhokharandClaude Opus 5.5 8fc1651139 patch: Ignore OpenAI request hints when translating to other protocols (#2562)
## Why

OpenAI clients such as OpenCode send `prompt_cache_key` to help OpenAI
reuse its prompt cache (#2541). When FCC translated those requests to
Gemini or Anthropic Messages, it rejected the field with a 400, so the
request never reached the provider. Chat Completions clients hit the
same error going to Messages, Responses or Gemini. OpenAI has three
sibling fields with the same property: `prompt_cache_retention`,
`safety_identifier` and `user`. None of them change the model's answer.

## How

- `core/openai_request_hints.py` defines these four fields once as
`OPENAI_REQUEST_HINTS`.
- Chat ingress, Responses to Gemini and Responses to Messages accept
them. Messages and Gemini leave them out of the provider request because
they have no equivalent. Every other unknown field is still rejected.
- Chat to Responses forwards all four, since Responses supports them.
This keeps a client's choice such as `prompt_cache_retention:
"in_memory"` instead of falling back to OpenAI's default.
- Tests check that Messages and Gemini requests with the hints translate
exactly like the same request without them, and that Responses receives
every hint.

Accepted tradeoffs:

- Messages and Gemini have no per-request retention setting, so
`prompt_cache_retention` is ignored there and those providers apply
their own caching rules.
- `safety_identifier` and `user` are not copied into Anthropic
`metadata.user_id`. The client gave that identifier to OpenAI, and
`user` often holds an email address.
- `prompt_cache_options` is still rejected on these paths. It can skip
generation (`prewarm`) or depend on per-block breakpoints that FCC does
not carry.

Fixes #2541.

🤖 Generated with [Claude Code](https://claude.com/claude-code)




<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><ruby><rp>Confidence Score: 5/5 · The PR appears safe to merge; no
actionable defects were found.</rp></ruby><a
href="https://app.greptile.com/api/retrigger?id=121483037&amp;sig=e0b0111c8ffa5e2f5c15d0d1ec675e15d25bcec89e90b1190743b94b5ff7263b"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2562&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable defects were found.

<details open><summary><h3>Summary</h3></summary>

The PR accepts four OpenAI request hints without rejecting otherwise
valid requests.
- Messages and Gemini conversions ignore four OpenAI request hints.
- Chat Completions conversion forwards all four hints to Responses.

No actionable issues were found. Tests were reviewed but not run.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Chat requests with OpenAI hints] --> B{Destination}
  C[Responses requests with OpenAI hints] --> D{Destination}
  B -->|Messages or Gemini| E[Build request without hints]
  D -->|Messages or Gemini| E
  B -->|Responses| F[Forward all four hints]
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (4) · Last reviewed commit: ["patch: Ignore OpenAI request
hints when
..."](https://github.com/alishahryar1/free-claude-code/commit/10befd6be2d199a236d61aeb7996e2d8b03e1411)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.57
2026-11-26 22:18:19 -08:00
rodricksz4h5 919a94f976 patch: decode DuckDuckGo result URLs and titles once (#2556)
Fixes #2555

### What happened
`SearchResultParser` decoded each result twice. `parse_qs` already
percent-decodes the `uddg` value, and the parser then ran `unquote()` on
it again, so escapes in the real URL were decoded too:
`C%23_(disambiguation)` became `C#_(disambiguation)`, `%3F` became `?`,
`%2F` became `/`, and `%25` became a bare `%`. Titles had the same
issue, because `HTMLParser` already converts character references and
the parser then ran `html.unescape()` on them.

### Fix
- Use the `uddg` value from `parse_qs` as is.
- Use the collected title text as is.

### Tests
- Added `test_search_decodes_result_urls_and_titles_once`, which runs
`HTTPWebToolsClient.search` against a mocked DuckDuckGo page with `%23`,
`%2F`, `%26`, `%25`, non-ASCII and an escaped-entity title. It fails on
main and passes with the fix.
- `ruff format --check`, `ruff check`, `pyrefly check` (0 diagnostics)
and the full pytest suite pass.


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=119761923&amp;sig=571a6dc3fcc8b8b1eed8469f98726bbf36206f05ee940fc3701195aa36ff2bab"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2556&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge.

<h3>Summary</h3>

Removes duplicate decoding from DuckDuckGo search results.
- DuckDuckGo search results keep their URLs and titles after one decode.

No actionable issues found. Tests were not run during this review.

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["patch: decode DuckDuckGo
result URLs
and..."](https://github.com/alishahryar1/free-claude-code/commit/0a1d42438682025ad546a83f0193ae7f9b406719)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.56
2026-11-26 03:58:40 -08:00
Ali KhokharandClaude Opus 5.5 fc400d1ba7 patch: Skip replay for unsigned Messages thinking in Chat output (#2546)
## Why

#2545 let the native Messages relay accept thinking blocks without a
signature (#2544). Chat Completions clients using a Messages upstream
still lose their answer on that output. The Chat converter encodes every
completed thinking block as replay data, and the replay validator
rejects unsigned thinking with "Messages replay requires signed thinking
or redacted data." The error is not retryable, so a configured fallback
model is not tried either.

## How

- The Chat converter skips replay data for a completed thinking block
that has no signature and no other fields. That block was already
streamed as readable reasoning and carries no state to replay.
- Signed thinking, redacted thinking and thinking with other fields keep
their existing replay behavior.
- A test covers unsigned and signed thinking through the Chat converter.

Accepted tradeoff: if one response mixes signed and unsigned thinking, a
Chat client's echoed history sends the blocks upstream in reverse order.
Main fails that response outright, and no known provider mixes the two.
This is tracked in #2551.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.55
2026-11-24 23:15:57 -08:00
Ali KhokharandClaude Opus 5.5 5cae92d078 patch: Accept unsigned thinking from native Messages providers (#2545)
## Why

Fixes #2544.

The native Messages relay rejected any completed thinking block without
a signature. Anthropic-compatible providers can emit unsigned thinking,
including when FCC asks them to turn thinking off for an Auto Mode
classifier request. The relay failed before the classifier filter could
drop that thinking, so the classifier never received a verdict. The
error was also marked retryable, so every retry failed the same way.

FCC already treats unsigned thinking as valid elsewhere. Chat providers'
readable reasoning reaches Claude Code as thinking without a signature,
Messages history accepts it, and the Responses, Chat and Gemini
converters only use a signature when one is present.

## How

- `NativeMessagesStreamState` no longer requires a signature when a
thinking block completes. A signature that is present must still be a
string.
- The unsigned thinking contract test now also covers a Messages
upstream, for Messages, Responses and Gemini clients. Each client
receives the readable thinking with no signature or replay data.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=118994169&amp;sig=d9efb845cef1db1b41e4fef4bf8bdbf1c0e4d3ba70530dba021e987f2cd5c6d5"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2545&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

Accepts completed native Messages thinking blocks without a signature.
- Native Messages thinking can finish without a signature.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Accept unsigned thinking from
native
Mes..."](https://github.com/alishahryar1/free-claude-code/commit/7935ade30549b0404d283c46600a1883aa7dac90)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.54
2026-11-24 20:05:33 -08:00
Ali Khokhar 622dc40133 patch: Limit recovery prefix retention to the delivered response (#2539)
## Why

After #2537, keeping recovery state alive past the lifetime of an
unclosed response also keeps its decoder and replay buffers alive.
Recovery only needs the record of what FCC has released.

## How

Bind the recovery reader directly to the delivered record when the
stream is created and after each successful packet commit. Recovery
still builds the prefix on demand. The lifetime test checks that the
publication and decoder can be collected while the last committed text
remains readable.


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=117875830&amp;sig=260d8d6ac61e8369d8c40deaf249ff04e4b4cd1c4183bda309e643dca714b712"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2539&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This change appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

Recovery now retains the delivered record instead of the whole packet
publication.
- Recovery keeps delivered text without keeping the stream decoder
alive.

Static review found no actionable issues. Tests were not run.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Limit recovery prefix
retention to the
d..."](https://github.com/alishahryar1/free-claude-code/commit/fc23949fd12870afd3ae323aa1eceb15acb4012f)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.53
2026-11-24 03:10:48 -08:00
Ali Khokhar aa2e5c72b9 patch: Commit public stream output one packet at a time (#2537)
## Why

Recovery needs the prefix FCC has already released. The public stream
updated that prefix while it was still preparing a packet, then restored
a copy of the iterator's fields if a later frame failed. A recovery read
during that window could see text that the client would never receive.

## How

Group the decoder, continuation mapping, held frames, and tool
completion evidence in one publication object. Process each packet on a
draft, then commit the draft before returning its bytes or reading
upstream again. Recovery always reads the latest committed publication.
A packet that produces no bytes can still commit buffered input for the
next read.

This retains one deep copy of publication state per packet. The change
establishes the ownership boundary while preserving the existing
recovery decisions.




<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=117862179&amp;sig=f56237d44914aabd9ce0eab889e2e6a9709eaea6432e3f726f1f97d8daa5e074"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2537&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no new
actionable issues were found.

<details open><summary><h3>Summary</h3></summary>

The PR moves packet preparation into `PacketPublication` and commits
each draft before returning its bytes. The latest change binds recovery
reads directly to the committed publication without keeping
`PublicResponseStream` alive.

- Recovery reads only public stream packets that have committed.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  A[Upstream packet] --> B[Copy committed publication]
  B --> C[Prepare packet on draft]
  C -->|Success| D[Commit draft and bind prefix reader]
  D --> E[Return bytes or read next packet]
  C -->|Failure| F[Keep committed prefix]
  F --> G[Emit terminal error]
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["Bind recovery prefix reads
directly to
t..."](https://github.com/alishahryar1/free-claude-code/commit/2de5ab8d1f518aa77c970bb0785ace5cddbe6c66)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.52
2026-11-24 03:05:21 -08:00
Ali KhokharandClaude Opus 5.5 f49e6ea3c0 patch: Share one Settings env key map and derive local providers from probe paths (#2536)
## Why

PR #2534 left two pieces of duplicated or redundant configuration.

- Seven production places translated a Settings field name into its
environment key, each with its own copy of the "one string alias" check.
One of them, `field_input_key`, had no callers.
- A provider descriptor marked itself local twice, with `local=True` and
with `local_probe_path`. The two could disagree, and the local status
route checked both plus a base URL setting that every local provider
already has.

## How

- `config/settings.py` now builds `ENV_KEY_BY_SETTING` once, a read-only
map from each Settings field to its environment key. It keeps the single
alias check.
- The loader, env migrations, provider proxy keys, provider manifest,
runtime config errors and the local status route all read that map.
`settings_env_key`, `_settings_aliases`, `_provider_proxy_env_keys` and
the dead `field_input_key` are removed.
- `ProviderDescriptor.local` is now a property derived from
`local_probe_path`, so a provider is local exactly when it has a probe
path. The `local=True` entries in the catalog are removed.
- The local status route returns 404 when the provider has no probe
path. A local provider without a base URL setting is a catalog bug, so
it raises instead of looking like a missing provider. The base URL is
read directly, since admin values always contain every field.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=117843142&amp;sig=df87b86fd0507160c7b912e8510ee35b326f7d220906f8d6245a65c730f901e4"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2536&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

This PR shares one read-only map from `Settings` fields to environment
keys and derives `ProviderDescriptor.local` from `local_probe_path`.
- Configuration callers share one map for Settings environment keys.
- Local providers are identified by the probe paths in their catalog
entries.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Share one Settings env key
map and
deriv..."](https://github.com/alishahryar1/free-claude-code/commit/34664d8c7007ce52369f14639fdb21982972885b)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.51
2026-11-24 02:32:46 -08:00
Ali Khokhar 87448d196c patch: Use the provider catalog for local status checks (#2534)
## Why

The Admin status route kept its own list of local providers and a
separate mapping for their URL settings. A local provider registered in
the catalog could show up in Admin and still get a 404 when Admin
checked its status.

## How

Each local provider declares its status probe path alongside its base
URL setting in the catalog. The route looks up that setting in the
current Admin configuration and checks the declared path. This removes
both provider mappings from the route.


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=117782127&amp;sig=5a4c62d276c4960eaf8def1aff962e99fd9b47cb3ed04dabc11e1fad6b17c818"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2534&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

Local provider status checks now read their URL setting and probe path
from `PROVIDER_CATALOG`.
- Admin checks local providers using their catalog settings.

No actionable issues found. Tests were not run.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Use provider catalog metadata
for local
..."](https://github.com/alishahryar1/free-claude-code/commit/c6ccb6f88258c6188c66d02b992853fa2bbc4587)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.50
2026-11-24 02:22:09 -08:00
Ali Khokhar 3c933675c7 patch: Keep provider credential verification rules with their probes (#2533)
## Why

Admin Apply blocks a save when a provider rejects a key. The rules that
distinguish a rejected key from a billing or permissions warning were
split between the probe registry, the HTTP request builder, and the
response handler. Changing one provider required checking all three.

## How

Each probe now defines its authentication headers and response rules
alongside its endpoint. The shared verifier decodes the response once
and uses the selected probe to check for acceptance, account
restrictions, and rejection. Probes that can only confirm a valid key
omit the rejection rule.


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=117761110&amp;sig=289e5c7c2ececc44953516c2753ecaae39729aefa12e051881cd5d46865c84ec"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2533&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

Moves each provider’s authentication headers and response rules into its
`_Probe` definition.
- Each provider probe now carries the rules for checking its API key.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Keep provider credential
rules with
thei..."](https://github.com/alishahryar1/free-claude-code/commit/4c47e01a24b49b1625af6a6495e3a9c9aa19e77f)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.49
2026-11-24 00:55:09 -08:00
Ali KhokharandClaude Opus 5.5 032e857d73 patch: Route admin integration actions directly to their service (#2532)
## Why

Admin integration routes reached the service through 26 forwarding
methods on the process runtime. Adding an integration action required
changing the runtime and its general admin interface.

## How

Give the HTTP layer a required integration port backed by a read-only
reference to the service the runtime starts and shuts down. Route all
integration actions through that port, remove the runtime delegates, and
update callers and fixtures to use the service directly.





<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=117744182&amp;sig=f9dbf03cea26fee65db2633ab07ebd03f90260e2b3ed7c03746f93c433ee3f18"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2532&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable issues were found.

<details open><summary><h3>Summary</h3></summary>

Admin integration routes now call a dedicated service through
`ApiServices.integrations`.
- Admin integration routes now call their service through a separate API
port.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["Use the private integration
service
insi..."](https://github.com/alishahryar1/free-claude-code/commit/910dabecce3b9724b43904f0b75d69c43adcc79b)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.48
2026-11-24 00:44:06 -08:00
Ali KhokharandClaude Opus 5.5 8ff81d5c25 patch: Keep Claude sessions on FCC when Claude settings set env (#2512)
## Why

Claude Code applies the `env` block from its settings files
(`~/.claude/settings.json`, `.claude/settings.json`,
`.claude/settings.local.json`) on top of its process environment. FCC
connects Claude to itself only through the process environment. So a
leftover `ANTHROPIC_BASE_URL` and `ANTHROPIC_AUTH_TOKEN` in a settings
file sent every request straight to another gateway and skipped FCC
entirely. In #2503 that gateway was OpenRouter with an invalid key:
`/model` listed OpenRouter's models instead of FCC's, and every request
failed with `401 User not found.`

Fixes #2503

## How

- `claude_proxy_values()` in `harnesses/claude.py` now sets
`CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST=1`. Claude Code documents this
variable for host apps that manage provider routing. With it set, Claude
ignores provider-selection, endpoint and auth values from settings
files, such as `CLAUDE_CODE_USE_BEDROCK`, `ANTHROPIC_BASE_URL` and
`ANTHROPIC_API_KEY`, and keeps the ones FCC puts in its environment.
- `claude_proxy_values()` feeds `fcc-claude`, managed Claude tasks, and
the VS Code and JetBrains integrations, so all of them get these values.
Existing VS Code and JetBrains connections pick them up on their next
refresh, and disconnect removes them with the other FCC values.

## Accepted tradeoffs

- In host-managed mode Claude also ignores model-selection variables
such as `ANTHROPIC_MODEL` from settings files. FCC already strips these
from the shell environment. The `model` key in user and project
settings, and `/model`, still work.
- Claude also ignores proxy, CA certificate and cloud credential
variables such as `HTTPS_PROXY`, `NODE_EXTRA_CA_CERTS` and `AWS_PROFILE`
from settings files, so Bash and MCP tools in an FCC session no longer
receive them from there. Setting them in the shell still works, because
FCC passes them through, and MCP servers can also set them in their own
`env`.
- A provider switch such as `CLAUDE_CODE_USE_BEDROCK=1` inherited from
the shell or IDE environment still wins, as on main, even if Claude
settings turn it off.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=115576366&amp;sig=a5c1c4de8b6354b98ea05a21b53a2f59469cc696c4779d3338bb84ff088e9377"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2512&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge within its
stated tradeoffs.

<details open><summary><h3>Summary</h3></summary>

Adds `CLAUDE_CODE_PROVIDER_MANAGED_BY_HOST=1` to the shared Claude
environment so settings-file provider and auth values cannot replace
FCC’s connection.

- Claude sessions keep FCC routing when settings files choose another
provider.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (7) · Last reviewed commit: ["Revert provider switch
handling"](https://github.com/alishahryar1/free-claude-code/commit/bbf1545597fcf5a694094c63cc1ba47127882696)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.47
2026-11-21 23:04:48 -08:00
Ali KhokharandClaude Opus 5.5 0d7e83ee1e patch: Show FCC's failure category in provider error messages (#2501)
## Why

The `Category:` line in provider error messages had two sources. It
printed the first `type` or `code` string in the provider's error body,
or a label guessed from the words "model" and "unsupported" in the body
text, and only fell back to FCC's own failure kind when both were
missing. That mixed two vocabularies on one line and showed values that
are not categories at all. For example, NVIDIA NIM's RFC 9457 problem
bodies use `"type": "about:blank"`, so users saw `Category: about:blank`
on a retired-model error (#1977, #2476).

The codebase audit also asked whether the many upstream error readers
classify the same error differently. Running the classifier and message
formatter on the real error bodies from recent issues showed they agree.
The one real disagreement, a streamed `code: 400` classified as a
retryable 500 (#2266), was already fixed by #2403. No refactor of the
readers is needed.

## How

- The `Category:` line now always shows the failure kind FCC classified
(`invalid_request`, `rate_limit`, `authentication`, `upstream` and so
on), matching the `Mapped message:` line. The provider's own type stays
visible in the raw upstream error body printed below it.
- Removed the guessed `upstream_model_error` label. Nothing else read
it.
- `category_hint` is still extracted for its one functional use,
recognizing invalid requests in streamed errors.
- Accepted tradeoff: a 401 whose body says `ModelError` now shows
`Category: authentication`. The `ModelError` text is still in the body.
- Tests cover a problem-details body, a provider type, and the old word
heuristic. Each showed the provider label before this change.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=114850938&amp;sig=00e458d1fdcbe5a423c4fede8331ee293dc7dce9f3747194ff4a5ad69c648da1"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2501&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

The PR makes the `Category:` line always show FCC’s failure kind, so
placeholder labels such as `about:blank` no longer appear there.

- Provider error messages use the failure category assigned by Free
Claude Code.

No actionable issues were found.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (3) · Last reviewed commit: ["Show FCC&#39;s failure
category in provider
..."](https://github.com/alishahryar1/free-claude-code/commit/1f71346ecce531e9adbc22710d741aeca2bc9a39)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.46
2026-11-21 14:01:10 -08:00
Ali Khokhar 4210987f12 patch: Prepare FCC for Pyrefly's all preset (#2508)
## Why

Pyrefly’s `all` preset reported 32,455 diagnostics on the Windows
baseline. This draft reduces the FCC-owned findings while the preset is
blocked by a checker issue. Pyrefly 1.5.0 and 1.6.0-dev.1 both report
partially unknown types for fully annotated coroutines, including
standard `asyncio.Event.wait()` calls. [Pyrefly’s coroutine
inference](https://github.com/pyrefly-org/pyrefly/blob/1.5.0/pyrefly/lib/alt/solve.rs#L7260-L7276)

## How

- Add `-> None` to 2,957 tests that produce no return value. Compared
syntax trees against main to verify the test bodies are unchanged.
- Carry the shared JSON value type through provider history negotiation
and make collection checks and key removal explicit.
- Keep the current preset until `all` can pass. Running it
experimentally now reports 29,482 diagnostics on Windows.
v6.19.45
2026-11-21 13:28:14 -08:00
Ali Khokhar 2d72580cb7 patch: Reject explicit Any usage in Pyrefly (#2507)
## Why

Explicit `Any` lets operations on provider payloads, SDK responses, and
test fixtures pass type checking without verifying the value's shape.
Make Pyrefly reject those uses so mismatches surface in CI.

## How

- Enable `explicit-any-use` for the existing Pyrefly scope and exercise
it in the CI tests for Python files and stubs.
- Type the JSON, streaming, SDK, and SQLite boundaries. Validate
required fields where the program reads untyped data.
- Update the release tooling, smoke checks, and test fixtures to
describe the values they actually pass and inspect.
- Preserve translated Chat usage trailers with missing or null choices.
Normalize empty choice, tool-call, and reasoning collections in native
Chat chunks at the SDK boundary.
- Normalize empty output arrays in Responses snapshots and empty
candidate parts in Gemini streams at their provider boundaries.
- Normalize Gemini token counts given as integer strings or whole-valued
numbers.
- Preserve completed tool calls when an OpenAI-compatible provider
supplies non-object optional metadata.
- Normalize whole-valued Anthropic token counts for Chat usage and skip
usage parsing when the client omits it.
- Preserve Responses failure events when upstream usage reports decimal
numbers.
- Preserve native Gemini tool calls with a whole-valued candidate index
or numeric finish reason, and return HTTP 400 for Chat tool results with
invalid IDs.
- Accept empty stop deltas during Chat translation and surface stream
errors when a provider sends a nonempty non-string text value.
- Decode whole-valued positions in Responses translations, including
quoted decimals with a zero fractional part. Use the omitted-field
default for null positions and read only the field used by each event.
- Preserve fractional token usage reported by Anthropic-compatible
providers in Chat streams.
- Use the shared Responses position decoder for native continuation and
read Messages content-block fields only on block events.
- Decode Gemini model token limits at discovery so whole numbers and
quoted numeric values retain the advertised context and output limits.
- Validate Gemini-backed Responses text and format objects before
inference and return HTTP 400 for malformed controls or a missing
structured-output schema.
- Let the Messages parser classify invalid block indexes so eligible
upstream protocol errors still retry.
- Count empty LM Studio history records as zero tokens while preserving
them in the forwarded request.







<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=115004433&amp;sig=cd807428f257e0382c98d72e89f43131b8f937a3118259346f85982838e8d6fd"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2507&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The latest changes appear safe to
merge.

<details open><summary><h3>Summary</h3></summary>

The PR makes Pyrefly reject explicit `Any` operations and adds types and
field checks across provider, JSON, SQLite, and test boundaries.

- Pyrefly now rejects explicit `Any` use in the project scope.
- Chat translations keep usable tool calls and usage when provider
fields vary.
- Responses and Gemini translations preserve valid provider values at
their boundaries.
- Messages and LM Studio boundaries keep usable data when optional
fields vary.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (17) · Last reviewed commit: ["Preserve native Gemini
numeric finish
re..."](https://github.com/alishahryar1/free-claude-code/commit/cab05cd921dc575856a8721b07083691877dde76)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.44
2026-11-21 01:46:06 -08:00
Ali Khokhar 7386d8289c patch: Enable strict Pyrefly type checking (#2505)
## Why

The default Pyrefly preset leaves implicit types and override contracts
unchecked. Enabling strict mode exposed 7,328 diagnostics across the
repository.

## How

- Enable the strict preset in the existing Pyrefly check.
- Type provider request and stream contracts, optional runtime state,
and CI and release records.
- Give fixtures and test doubles the same signatures and payload shapes
as the code they exercise.



- Inject HTTP mocks during client construction, require a mock for each
protocol, and make wire-capture tests reject duplicate streaming
options.



<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=114960437&amp;sig=265cf8aa4e679bcb345c44f54a0886e5c9fd993ff2b5bb34a107707aa477975c"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2505&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The latest changes appear safe to
merge, with no actionable new issues found.

<details open><summary><h3>Summary</h3></summary>

Enables strict Pyrefly checks and adds types across provider contracts,
runtime state, scripts, and tests.

- Pyrefly checks the repository with strict typing.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["Preserve mock isolation in
strict type
c..."](https://github.com/alishahryar1/free-claude-code/commit/0bf476a0cb6942d91f25da02a8c83245c3bae483)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.43
2026-11-20 22:18:53 -08:00
Ali Khokhar 66e56cd5d8 patch: Switch type checking to Pyrefly (#2502)
## Why

Pyrefly catches type mismatches in provider payloads, optional values,
and protocol-specific test fixtures. Run its default rules across the
project in local development and GitHub Actions.

## How

- Pin Pyrefly 1.5.0 in the dev environment and run it through both local
CI scripts and GitHub Actions.
- Type payloads where they are built, narrow optional and unvalidated
values before using them, and give shared test fixtures accurate
transport and request types.
- Fail the check on warnings. Remove redundant conversions and exception
clauses, and install type stubs for untyped dependencies in the dev
environment.
- Disable source-level suppressions in Pyrefly and scan `.py` and `.pyi`
files in the suppression guard. Cover the warning and suppression
policies with regression tests.
- Update the README badge to link to Pyrefly and name the required
GitHub type check `pyrefly`.






<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=114864490&amp;sig=7e11537efcac75587106038aae6dc590aa347a88765a2834fb36844569c1fdb4"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2502&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable new issue was found.

<details open><summary><h3>Summary</h3></summary>

Switches project type checks from Ty to Pyrefly and updates production
code and test fixtures to satisfy its checks.
- Local and GitHub checks run Pyrefly and block type-checker
suppressions.
- Application, provider, and test code spells out payload shapes and
optional values.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (3) · Last reviewed commit: ["Fail type checking on Pyrefly
warnings"](https://github.com/alishahryar1/free-claude-code/commit/4ea4d381873c95108331e850fb4857ce3d8b9482)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.42
2026-11-20 20:28:17 -08:00
Ali KhokharandClaude Opus 5.5 3e60b1a2a4 patch: Stop re-running failed background message deliveries (#2494)
## Why

`MessagingRateLimiter.fire_and_forget` re-enqueued a failed background
task up to twice when the error text contained "connect", "timeout" or
"broken". Since #2428, delivery retries belong to the platform adapters,
so this was a second, text-matched retry layer:

- **Duplicate calls.** Telegram's `_with_retry` already spends up to 3
calls on a network error. A final `ConnectError` then went through the
limiter loop twice more, so one background edit could take up to 9
Telegram calls plus extra sleeps.
- **Stale edits.** Edits to one message share the dedup key
`edit:{chat_id}:{message_id}`. A retry re-enqueued the old edit under
that key. Queue compaction then swapped it in for a newer pending edit,
or it ran after a newer edit that had already landed. Either way the
message was left showing old text.
- **Inconsistent matching.** Telegram's `TimedOut` reads "Timed out",
which never matched "timeout", while connect errors did.

Removing that loop exposed a gap on Discord, which had no app-level
retry. discord.py retries 429s, 5xx and the macOS and Windows connection
resets (errno 54 and 10054) itself. It lets the Linux reset (104), DNS
failures, refused connections, server disconnects and timeouts through.
The limiter caught some of those only because their text contained
"connect". Waited-on Discord deliveries never had any retry for them.

## How

- `fire_and_forget` runs the task once through `enqueue` and logs a
failure with its dedup key and exception type. Exception text is logged
only when error details are enabled, same as before.
- `DiscordMessenger` gets a `_with_retry` that drives the shared
`delivery_failures.decide()`, like Telegram's.
`aiohttp.ClientConnectionError`, `aiohttp.ClientPayloadError` (a
response cut off midway) and `TimeoutError` count as network failures
and share the 3-call budget with 1s and 2s backoff. Everything else,
including `DiscordServerError` after discord.py's own tries and
certificate verification failures, raises at once, so the two layers do
not nest. Send, fetch plus edit, and fetch plus delete are each retried
as one operation. The existing `NotFound` and `Forbidden` handling is
unchanged.
- Each send carries one nonce, reused on every attempt. discord.py sends
it with `enforce_nonce`, so Discord returns the existing message instead
of posting a duplicate when a retried send had already landed.
- Accepted overlap: a macOS or Windows reset that outlasts discord.py's
5 tries gets up to 2 more calls from us.
- Accepted tradeoff: Discord only remembers a nonce for a few minutes.
If a send lands but its response is lost, and discord.py then waits out
a multi-minute 429 inside the retry, the retry can post a second
message. Discord's send rate limits reset within seconds, so this needs
a rate limit real traffic should not hit. Bounding it would mean timing
discord.py's internal waits or changing its rate-limit handling for
every request.

Tests:

- `test_fire_and_forget_runs_failed_task_once` fails on main with 3
runs.
- Discord: an edit after a Linux reset is delivered, a retried send
reuses its nonce, a rejected edit is not retried, persistent network
failures stop after 3 calls, an edit after a truncated response is
delivered, and a certificate failure is not retried. Five of these fail
before the change that fixes them.
- `test_fire_and_forget_failure_logged` makes `enqueue` itself fail, so
only the wrapper can produce the log. Checked that it fails with that
log removed.

#2327 is closed separately. Everything it describes was fixed by #2428.

Local checks: `scripts/ci.ps1 -Skip playwright,macos-desktop` passed on
the Discord retry commit (11516 passed, 17 skipped). After the last
commit, ruff, ty and the messaging suite passed (531 passed, 1 skipped).

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=113864824&amp;sig=805b60b6b6e38b8f26ad1c4216970fde371fa887b8179c1a787e21eee45f5bdd"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2494&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable new issue was found.

<details open><summary><h3>Summary</h3></summary>

This PR removes background retries from `MessagingRateLimiter` and puts
Discord delivery retries in `DiscordMessenger`.

- Background message tasks are enqueued once instead of being replayed
after failures.
- Discord deliveries retry selected network failures without duplicating
sends.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Queued background delivery] --> B[Limiter runs operation once]
  B --> C[Discord operation]
  C --> D{Result}
  D -->|Success| E[Return result]
  D -->|Network or truncated response| F{Attempts below three?}
  F -->|Yes| G[Wait, then retry same operation]
  G --> C
  F -->|No| H[Raise and log failure]
  D -->|Certificate failure or other rejection| H
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (3) · Last reviewed commit: ["Retry truncated Discord
responses, not
c..."](https://github.com/alishahryar1/free-claude-code/commit/963a78c33070f0ce730926ce34854903a67891c1)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.41
2026-11-20 01:25:11 -08:00
62db82ecb2 patch: bump the dependencies group across 1 directory with 9 updates (#2460)
Bumps the dependencies group with 9 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [openai](https://github.com/openai/openai-python) | `3.49.0` |
`3.51.0` |
| [github-copilot-sdk](https://github.com/github/copilot-sdk) | `1.0.31`
| `1.0.34` |
| [transformers](https://github.com/huggingface/transformers) | `5.22.2`
| `5.23.0` |
| [librosa](https://github.com/librosa/librosa) | `1.0.0` | `1.0.1` |
| [pytest](https://github.com/pytest-dev/pytest) | `9.1.1` | `9.2.0` |
| [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) |
`1.4.1.post1` | `1.5.0` |
| [ty](https://github.com/astral-sh/ty) | `0.0.101` | `0.0.104` |
| [ruff](https://github.com/astral-sh/ruff) | `0.17.4` | `0.17.5` |
| [google-genai](https://github.com/googleapis/python-genai) | `3.2.0` |
`3.3.0` |


Updates `openai` from 3.49.0 to 3.51.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/openai/openai-python/releases">openai's
releases</a>.</em></p>
<blockquote>
<h2>v3.51.0</h2>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.50.0...v3.51.0">3.51.0</a>
(2026-11-12)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> expand agent, image, Live, and external key
support (<a
href="https://redirect.github.com/openai/openai-python/issues/4269">#4269</a>)
(<a
href="https://github.com/openai/openai-python/commit/59738a289ee82c7b86bf1e10230cceb6daa9716d">59738a2</a>)</li>
</ul>
<h2>v3.50.0</h2>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.49.0...v3.50.0">3.50.0</a>
(2026-11-12)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> expose reasoning input transformations on
responses (<a
href="https://redirect.github.com/openai/openai-python/issues/4268">#4268</a>)
(<a
href="https://github.com/openai/openai-python/commit/734f75b5219da0fd74b24afefae81c71af81fcf6">734f75b</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>deps:</strong> bump astral-sh/setup-uv from 10.3.0 to 10.3.3
(<a
href="https://redirect.github.com/openai/openai-python/issues/4261">#4261</a>)
(<a
href="https://github.com/openai/openai-python/commit/0ebd00647f6088fb100b03440c6c4554bbab549d">0ebd006</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>simplify review handoff instructions (<a
href="https://redirect.github.com/openai/openai-python/issues/4266">#4266</a>)
(<a
href="https://github.com/openai/openai-python/commit/141a89aa7fbb7f13a979bda930831a5fe38bc3a4">141a89a</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/openai/openai-python/blob/main/CHANGELOG.md">openai's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.50.0...v3.51.0">3.51.0</a>
(2026-11-12)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> expand agent, image, Live, and external key
support (<a
href="https://redirect.github.com/openai/openai-python/issues/4269">#4269</a>)
(<a
href="https://github.com/openai/openai-python/commit/59738a289ee82c7b86bf1e10230cceb6daa9716d">59738a2</a>)</li>
</ul>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.49.0...v3.50.0">3.50.0</a>
(2026-11-12)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> expose reasoning input transformations on
responses (<a
href="https://redirect.github.com/openai/openai-python/issues/4268">#4268</a>)
(<a
href="https://github.com/openai/openai-python/commit/734f75b5219da0fd74b24afefae81c71af81fcf6">734f75b</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>deps:</strong> bump astral-sh/setup-uv from 10.3.0 to 10.3.3
(<a
href="https://redirect.github.com/openai/openai-python/issues/4261">#4261</a>)
(<a
href="https://github.com/openai/openai-python/commit/0ebd00647f6088fb100b03440c6c4554bbab549d">0ebd006</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>simplify review handoff instructions (<a
href="https://redirect.github.com/openai/openai-python/issues/4266">#4266</a>)
(<a
href="https://github.com/openai/openai-python/commit/141a89aa7fbb7f13a979bda930831a5fe38bc3a4">141a89a</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/openai/openai-python/commit/3dae6090cc31cc64a437fe0bcee740b6d81ed2cc"><code>3dae609</code></a>
release: 3.51.0 (<a
href="https://redirect.github.com/openai/openai-python/issues/4270">#4270</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/59738a289ee82c7b86bf1e10230cceb6daa9716d"><code>59738a2</code></a>
feat(api): expand agent, image, Live, and external key support (<a
href="https://redirect.github.com/openai/openai-python/issues/4269">#4269</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/f44c1ecd97368bbb842910401e5aaf202d910904"><code>f44c1ec</code></a>
release: 3.50.0 (<a
href="https://redirect.github.com/openai/openai-python/issues/4265">#4265</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/734f75b5219da0fd74b24afefae81c71af81fcf6"><code>734f75b</code></a>
feat(api): expose reasoning input transformations on responses (<a
href="https://redirect.github.com/openai/openai-python/issues/4268">#4268</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/141a89aa7fbb7f13a979bda930831a5fe38bc3a4"><code>141a89a</code></a>
docs: simplify review handoff instructions (<a
href="https://redirect.github.com/openai/openai-python/issues/4266">#4266</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/0ebd00647f6088fb100b03440c6c4554bbab549d"><code>0ebd006</code></a>
chore(deps): bump astral-sh/setup-uv from 10.3.0 to 10.3.3 (<a
href="https://redirect.github.com/openai/openai-python/issues/4261">#4261</a>)</li>
<li>See full diff in <a
href="https://github.com/openai/openai-python/compare/v3.49.0...v3.51.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `github-copilot-sdk` from 1.0.31 to 1.0.34
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/github/copilot-sdk/releases">github-copilot-sdk's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.34</h2>
<ul>
<li>Fixed false MCP startup <code>session.error</code> events when
quitting or switching sessions cancels in-progress MCP startup; genuine
startup failures on live sessions are still reported.</li>
<li>Fixed session.plugins.list incorrectly reporting user-installed
plugins as disabled when an organization requires managed plugins;
enabled states now respect user settings unless explicitly
overridden.</li>
<li>Fix taskAnalytics.classifyTrajectory retries rejecting an unchanged
archive whose JSON object keys were stored in a different order. Results
from earlier versions need one fresh analysis.</li>
<li><code>TeamPluginMarketplaceSource</code> in
<code>session.plugins.getDefaults</code> includes the Team's
<code>ref</code> and <code>path</code> when it sets them.</li>
<li>Hardened TCP JSON-RPC servers to reject HTTP requests and disconnect
clients sending invalid header names; standard SDK clients are
unaffected.</li>
<li>ACP TCP servers now require loopback hosts and disconnect clients
sending invalid UTF-8 or non-JSON lines; stdio behavior is
unchanged.</li>
<li>Announced the transition to the Microsoft Copilot SDK.</li>
<li>Fixed retained Microsoft Entra metadata refresh and Microsoft 365
account projection consistency.</li>
<li>Fixed <code>session.plugins.retryManaged</code> on the standalone
host to retry all or selected required plugins without waiting for the
automatic retry pause, activate prepared plugins, and return per-plugin
results and errors.</li>
<li>Add experimental saved-provider inspection, editing, and removal,
with explicit session.provider updates for live application.</li>
<li>Sessionless discovery and inert plugin inventory now honor
authenticated Team plugin defaults without changing saved preferences or
activating contributions.</li>
<li>SDK sessions now use the model's preferred context tier when no
explicit or saved tier is set; models without a preference retain
existing behavior. Claude Haiku 5.5 sessions now default to a 936K
prompt budget instead of 100K.</li>
<li>Defaulting to long context can incur higher token rates without
explicit opt-in; billing still depends on actual prompt size.</li>
<li>Security-review scan tools disclose captured unchanged supporting
context and distinguish changed-only, supporting-only, and mixed
evidence blobs.</li>
<li>Fixed supported document attachments in GPT sessions using WebSocket
Responses being sent as local file references instead of document
contents.</li>
<li>Reduced peak memory usage and improved performance when forking
sessions with large histories through sessions.fork.</li>
<li>Simplified sessions.fork write-failure messages from
&quot;Persistence error: I/O error: ...&quot; to &quot;I/O error:
...&quot;.</li>
<li>Windows SDK networking now enforces Windows certificate distrust
even with custom CAs, and excludes distrusted certificates from trust
bundles supplied to child processes.</li>
<li>Windows credential-proxy and affected tunneled HTTPS connections now
use native Windows TLS, preserving revocation checks and support for
non-exportable system client-certificate keys.</li>
<li>The native runtime no longer hangs at startup when another process
holds its log directory's lock; it starts with process file logging
disabled and a stderr warning.</li>
<li><code>session.rpc.history.setCompactionConfig({ model })</code> now
applies to sessions using a custom (BYOK) provider: compaction
summarizes on another model that provider serves, through the same
provider.</li>
<li>Persisted <code>session.usage_record</code> events no longer store
<code>/interactions</code> as the usage <code>apiEndpoint</code>, so
runtimes released before that value can resume those sessions, and a
usage record whose endpoint the runtime does not know now loads without
it instead of failing the resume.</li>
<li>Fixed indexed search permanently falling back to scan-based search
after temporary memory pressure. Sessions now retry within the indexing
operation timeout, using scans until indexed search becomes
available.</li>
<li>Enable dynamic workflows for Microsoft 365 accounts without
requiring GitHub billing or BYOK configuration.</li>
<li>Preserve pending external tool requests when an SDK client
disconnects during request publication.</li>
<li>Fix a race where subagent retirement after an external tool response
could prevent the parent response from reaching the SDK.</li>
<li>Fixed <code>plugins.install</code> failing with &quot;Marketplace
not found&quot; for an <code>owner/repo:path</code> source whose path
contains <code>@</code>; it now installs from that repository path.</li>
<li>Fix providers.config.updateModel and updateProvider deleting saved
capability and Azure settings that providers.config.read does not
return.</li>
<li>Java: Javadoc now shows schema descriptions that contain a less-than
sign as written, instead of an <code>invalid input</code> error or a
hidden placeholder such as the token in <code>Authorization:
Bearer</code>, and the <code>SystemMessageMode.CUSTOMIZE</code> and
<code>ToolResultObject.binaryResultsForLlm()</code> references on
<code>SectionOverride</code>, <code>SectionOverrideAction</code>,
<code>SystemMessageSections</code> and <code>ToolBinaryResult</code>
resolve.</li>
<li>A failed compaction reports the provider's error message in the
session.history.compact error and in session.compaction_complete.error,
without an internal host-rethrow prefix</li>
<li>BYOK providers on the WebSockets transport now run apiKeyCommand and
bearerTokenProvider once per model request instead of twice.</li>
<li>Session AI credit limits now count the credits a session used before
it was resumed, so a resumed session can no longer spend its full limit
again.</li>
<li>Gemini models on the Interactions API stream a blank line between
thought summaries in assistant.reasoning_delta, as the reasoning text of
the same response has with streaming off</li>
<li>Fix in-process hosts ignoring COPILOT_DISABLE_KEYTAR from their
isolated environment.</li>
<li>Node.js and Python: a relative CLI path (explicit path or
<code>COPILOT_CLI_PATH</code>) is now checked in the client's working
directory, where the runtime starts, instead of the process's current
directory.</li>
<li>Python: <code>CopilotClient.force_stop()</code> on a TCP or URI
connection no longer logs &quot;Failed to parse incoming JSON-RPC
message&quot; with a traceback when a message was arriving as the
connection closed.</li>
<li>Assisted permissions keep using the judge after a person approves an
action too long for the judge to review, instead of falling back to
manual prompts for the rest of the session.</li>
<li>Improved assisted permission checks in delegated sessions to
distinguish agent claims from user authorization and better honor quoted
user stop, pause, cancellation, and scope limits.</li>
<li>Fixed session listing with an empty filter to return the same
sessions as an unfiltered call, including local sessions with no
recorded working directory.</li>
<li>sessions.enrichMetadata now reports isDetached: true for a detached
session that a sessions.list call with metadataLimit returned as not
detached.</li>
<li>A sub-agent's client-tool call is now recorded as completed in the
session history, and its external_tool.completed event carries the
sub-agent's agentId like its request.</li>
<li><code>session.create</code> and <code>session.resume</code> now
report a model id the model list does not offer as not available when a
<code>reasoningEffort</code> is also given, instead of as an unsupported
reasoning effort.</li>
<li>Fixed an issue where an enabled plugin in a local directory
marketplace whose source points to a file prevented all MCP servers from
starting. The invalid plugin is now skipped with a warning identifying
the plugin and path.</li>
<li>Fixed an issue where cancelling a finished sub-agent with
session.tasks.cancel could leave the parent's session.idle event missing
and sendAndWait pending after its background shells stopped.</li>
<li>API docs no longer name the nonexistent methods hooks.loadResources,
user.settings.load, user.settings.governanceKeys and
user.settings.unknownKeys or the nonexistent event
session.context_info_changed; they name hooks.discover,
user.settings.loadWithWarning, user.settings.listGovernanceKeys,
user.settings.getUnknownKeysWarning and session.usage_info.</li>
<li>Fixed intention summaries for structured <code>ask_user</code> calls
to show the question message instead of &quot;Waiting for
response&quot;; legacy call summaries are unchanged.</li>
<li>Session events: <code>session.permission_recovery</code> attempts
can carry an optional <code>reviewIncomplete</code> flag for a deferral
caused by an automatic permission review that ended without a verdict
(timeout, empty or unparseable reply).</li>
<li>Rewinding to a message sent with mode &quot;immediate&quot; while
the agent was working now restores the files the agent changed in reply
to it.</li>
<li>Fixed subagents ignoring session-wide usage when enforcing
sessionLimits.maxAiCredits. Subagents now block further model calls once
the soft cap is reached, make a final tool-free call when 10% or less
remains, and skip response tool calls if the cap is exceeded during that
response.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/microsoft/copilot-sdk/commit/adf1da2c6db766f96ae6be36f3224e61ede010c4"><code>adf1da2</code></a>
Update SDK snapshot for Copilot CLI 1.0.112</li>
<li><a
href="https://github.com/microsoft/copilot-sdk/commit/cf045793958ce674259c557f7769788f94ee20c9"><code>cf04579</code></a>
Update SDK snapshot for Copilot CLI 1.0.112-0</li>
<li><a
href="https://github.com/microsoft/copilot-sdk/commit/ed814e4134fdba86e2e88b82dcac85b1c125ed8a"><code>ed814e4</code></a>
Update SDK snapshot for Copilot CLI 1.0.111-0</li>
<li><a
href="https://github.com/microsoft/copilot-sdk/commit/540dc4e1ccd4aa174e7602465099a2aa93fab176"><code>540dc4e</code></a>
Update SDK snapshot for Copilot CLI 1.0.110-3</li>
<li><a
href="https://github.com/microsoft/copilot-sdk/commit/98c3eef9ffbcf090107852460482bb9b9ff425f7"><code>98c3eef</code></a>
Update SDK snapshot for Copilot CLI 1.0.110-2</li>
<li><a
href="https://github.com/microsoft/copilot-sdk/commit/233b07cbfac596121ca4a8f0ff9c02163a7c34d8"><code>233b07c</code></a>
Update SDK snapshot for Copilot CLI 1.0.110-1</li>
<li><a
href="https://github.com/microsoft/copilot-sdk/commit/dc80b65b0747b3f8ac24b5917cce56e12a6499a6"><code>dc80b65</code></a>
Update SDK snapshot for Copilot CLI 1.0.110-0</li>
<li>See full diff in <a
href="https://github.com/github/copilot-sdk/compare/v1.0.31...v1.0.34">compare
view</a></li>
</ul>
</details>
<br />

Updates `transformers` from 5.22.2 to 5.23.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/huggingface/transformers/releases">transformers's
releases</a>.</em></p>
<blockquote>
<h1>Release v5.23.0</h1>
<h2>New Model additions</h2>
<h3>Inkling2</h3>
<!-- raw HTML omitted -->
<p>Inkling 2 Small is a multimodal model from Thinking Machines Lab that
accepts text and image inputs and generates text outputs, and it is
intended for use in English and other languages and across multiple
coding languages. Its language backbone has 48 mixture-of-experts
decoder layers, each routing tokens to 8 of 384 experts, for 594B total
and 17B active parameters. It keeps the Inkling decoder (learned
relative attention, short causal convolutions, mixture-of-experts
layers) and adds block attention residuals, gated attention with a
learned sink, and dynamic key/value convolutions. Images are encoded by
a Perception Encoder-based vision transformer and projected into the
language model embeddings, one embedding per 40x40 pixel patch.</p>
<p><strong>Links:</strong> <a
href="https://huggingface.co/docs/transformers/main/en/model_doc/inkling2">Documentation</a>
| <a href="https://thinkingmachines.ai/news/inkling-2-small/">Blog
Post</a></p>
<ul>
<li>Add inkling2 (<a
href="https://redirect.github.com/huggingface/transformers/issues/50682">#50682</a>)
by <a href="https://github.com/guarin"><code>@​guarin</code></a> in <a
href="https://redirect.github.com/huggingface/transformers/pull/50682">#50682</a></li>
</ul>
<h3>JEV</h3>
<p>JEV is a decision head that scores single-token labels with a linear
layer at the last token of the prompt, soft-capped like the logits of a
language model head. <code>JevForDecision</code> is the model of the
checkpoint and its head, and it reads the head files shipped next to the
weights (<code>head.safetensors</code> and
<code>judge_config.json</code> for JEV). The same head is also used by
GEV and reads the 255 answer codes of pplx-decider and d3, and it can be
run through the experimental <code>decision</code> pipeline or directly
with <code>decide</code>.</p>
<p><strong>Note:</strong> JEV and the decision pipeline are currently
experimental. Their APIs, configuration, and behavior may change as
development continues. They should be used with caution in production
environments.</p>
<p><strong>Links:</strong> <a
href="https://huggingface.co/docs/transformers/main/en/model_doc/jev">Documentation</a></p>
<ul>
<li>Add Jev + decision core (<a
href="https://redirect.github.com/huggingface/transformers/issues/50054">#50054</a>)
by <a
href="https://github.com/ArthurZucker"><code>@​ArthurZucker</code></a>
in <a
href="https://redirect.github.com/huggingface/transformers/pull/50054">#50054</a></li>
</ul>
<h3>LFM3</h3>
<!-- raw HTML omitted -->
<p>LFM3 is the third generation of Liquid Foundation Models from Liquid
AI. Like LFM2, it is a hybrid architecture that combines gated short
convolutions with grouped-query attention, with the attention layers
split between full-attention and sliding-window layers. The attention
layers apply RMSNorm to the query and key heads and gate their output
with a per-head sigmoid. Every layer applies a sandwich norm to the
operator and feed-forward outputs before the residual addition.</p>
<p><strong>Links:</strong> <a
href="https://huggingface.co/docs/transformers/main/en/model_doc/lfm3">Documentation</a></p>
<ul>
<li>[Model] LFM3 Family: LFM3-Text (<a
href="https://redirect.github.com/huggingface/transformers/issues/50322">#50322</a>)
by <a href="https://github.com/paulpak58"><code>@​paulpak58</code></a>
in <a
href="https://redirect.github.com/huggingface/transformers/pull/50322">#50322</a></li>
</ul>
<h3>Dots 3 Note Preview</h3>
<p>Dots 3 Note Preview is a mixture-of-experts causal language model
that accepts native text, image, video, and audio inputs. It uses a
shared vision encoder for images and videos and a Whisper-style audio
encoder, and both encoders project their outputs into the language
model's hidden space before autoregressive text generation. BF16 and FP8
inference are supported.</p>
<p><strong>Links:</strong> <a
href="https://huggingface.co/docs/transformers/main/en/model_doc/dots3_note">Documentation</a></p>
<ul>
<li>Add dots3-note Preview model support (<a
href="https://redirect.github.com/huggingface/transformers/issues/47844">#47844</a>)
by <a href="https://github.com/miraclezqc"><code>@​miraclezqc</code></a>
in <a
href="https://redirect.github.com/huggingface/transformers/pull/47844">#47844</a></li>
</ul>
<h3>LFM3-VL</h3>
<p>LFM3-VL is a vision-language model family from Liquid AI, built on
the LFM3 language model. It takes images and videos at their native
resolution together with text. It combines a hybrid vision encoder (a
linear patchifier, gated depthwise 2D convolution layers, and
bidirectional grouped-query attention layers with 2D rotary embeddings)
with a projector and an LFM3 language model. The projector merges each
2x2 block of patch features into one language token through a layer norm
and a two-layer MLP.</p>
<p><strong>Links:</strong> <a
href="https://huggingface.co/docs/transformers/main/en/model_doc/lfm3_vl">Documentation</a></p>
<ul>
<li>[Model] LFM3 Family: LFM3-VL (<a
href="https://redirect.github.com/huggingface/transformers/issues/50392">#50392</a>)
by <a href="https://github.com/paulpak58"><code>@​paulpak58</code></a>
in <a
href="https://redirect.github.com/huggingface/transformers/pull/50392">#50392</a></li>
</ul>
<h3>IQuestCoder</h3>
<p>IQuest-Coder-V1 is a family of code language models developed by
IQuest Lab, available in 7B, 14B and 40B sizes with base, instruct and
thinking variants. Its architecture is the same as Llama, so the
Transformers auto classes load it with LlamaModel and LlamaForCausalLM,
and only IQuestCoderConfig is specific to IQuestCoder. The looped
<code>IQuest-Coder-V1-*-Loop-*</code> checkpoints use a different
architecture and aren't supported.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/huggingface/transformers/commit/52b080b6416a7897e2af90febeb4dfad22b84d19"><code>52b080b</code></a>
v5.23.0</li>
<li><a
href="https://github.com/huggingface/transformers/commit/c748111b3bb4d97df452f0fe60e63c480beb6fe6"><code>c748111</code></a>
Fix the MPS RMSNorm hub kernel repo id (<a
href="https://redirect.github.com/huggingface/transformers/issues/50714">#50714</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/41f9d3992023970fb5a463e70d56232506c80fbc"><code>41f9d39</code></a>
CI pass, CI no pass? (<a
href="https://redirect.github.com/huggingface/transformers/issues/50690">#50690</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/109a7d19bf667168837f32929e00b791e195d14d"><code>109a7d1</code></a>
Add inkling2 (<a
href="https://redirect.github.com/huggingface/transformers/issues/50682">#50682</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/dc3bd32b76d358b567117a363fcb48cc862ebda2"><code>dc3bd32</code></a>
[<code>Gemma4</code>] Fix FA slicing (<a
href="https://redirect.github.com/huggingface/transformers/issues/50681">#50681</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/acf8004ec93d3d3195ea4945c693ff1c8959374e"><code>acf8004</code></a>
Restore the root-level PEFT adapter when resuming from a checkpoint w…
(<a
href="https://redirect.github.com/huggingface/transformers/issues/50368">#50368</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/46b887d9705c6107cec7ed3335cd63cf93f33a23"><code>46b887d</code></a>
Granite for Docling (<a
href="https://redirect.github.com/huggingface/transformers/issues/49012">#49012</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/506ac612812b9682dfcfea300b71c1b709cfbae0"><code>506ac61</code></a>
🚨 Remove the <code>ep_router</code> expert-parallel style (<a
href="https://redirect.github.com/huggingface/transformers/issues/49615">#49615</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/95e9b5f694c1d6a1a3b33212b37030539bd180a8"><code>95e9b5f</code></a>
🚨 Run MXFP4 GPT-OSS experts through <code>ep_dispatch_experts</code> (<a
href="https://redirect.github.com/huggingface/transformers/issues/49613">#49613</a>)</li>
<li><a
href="https://github.com/huggingface/transformers/commit/b0e6e7fd5264e6518d7ad500ef03b24d7247da27"><code>b0e6e7f</code></a>
Add dots3-note Preview model support (<a
href="https://redirect.github.com/huggingface/transformers/issues/47844">#47844</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/huggingface/transformers/compare/v5.22.2...v5.23.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `librosa` from 1.0.0 to 1.0.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/librosa/librosa/releases">librosa's
releases</a>.</em></p>
<blockquote>
<h2>1.0.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Keep doctrees and reST sources out of the published docs by <a
href="https://github.com/Kayvan-Zahiri"><code>@​Kayvan-Zahiri</code></a>
in <a
href="https://redirect.github.com/librosa/librosa/pull/2089">librosa/librosa#2089</a></li>
<li>making linkcheck failures not catastrophic for CI by <a
href="https://github.com/bmcfee"><code>@​bmcfee</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2093">librosa/librosa#2093</a></li>
<li>Revising linkcheck action again by <a
href="https://github.com/bmcfee"><code>@​bmcfee</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2098">librosa/librosa#2098</a></li>
<li>Forward <code>window</code> to stft and istft in effects.hpss,
harmonic and percussive by <a
href="https://github.com/isaacsight"><code>@​isaacsight</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2097">librosa/librosa#2097</a></li>
<li>Enable Ruff ARG unused-argument checks and resolve findings by <a
href="https://github.com/rajit-sareen"><code>@​rajit-sareen</code></a>
in <a
href="https://redirect.github.com/librosa/librosa/pull/2101">librosa/librosa#2101</a></li>
<li>Fix numpydoc lint glob to reach subpackages, reorder flagged
sections, fix power_to_db axes docstring by <a
href="https://github.com/rajit-sareen"><code>@​rajit-sareen</code></a>
in <a
href="https://redirect.github.com/librosa/librosa/pull/2104">librosa/librosa#2104</a></li>
<li>Preserve float32 in spectral features; add dtype= to frequency
constructors by <a
href="https://github.com/tritsystem"><code>@​tritsystem</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2106">librosa/librosa#2106</a></li>
<li>Replace **kwargs with explicit STFT params in
time_stretch/pitch_shift by <a
href="https://github.com/rajit-sareen"><code>@​rajit-sareen</code></a>
in <a
href="https://redirect.github.com/librosa/librosa/pull/2109">librosa/librosa#2109</a></li>
<li>Refactor/2021 display submodules by <a
href="https://github.com/MLsound"><code>@​MLsound</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2102">librosa/librosa#2102</a></li>
<li>Updates for CI by <a
href="https://github.com/bmcfee"><code>@​bmcfee</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2113">librosa/librosa#2113</a></li>
<li>Add support for testing librosa on Windows ARM64 by <a
href="https://github.com/MugundanMCW"><code>@​MugundanMCW</code></a> in
<a
href="https://redirect.github.com/librosa/librosa/pull/2111">librosa/librosa#2111</a></li>
<li>Spec0 action and environment workflow modernization by <a
href="https://github.com/bmcfee"><code>@​bmcfee</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2114">librosa/librosa#2114</a></li>
<li>fixing permissions on ci actions for codecov by <a
href="https://github.com/bmcfee"><code>@​bmcfee</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2117">librosa/librosa#2117</a></li>
<li>Bump the github-actions group with 3 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/librosa/librosa/pull/2116">librosa/librosa#2116</a></li>
<li>Expose top_db on features that call power_to_db by <a
href="https://github.com/isaacsight"><code>@​isaacsight</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2095">librosa/librosa#2095</a></li>
<li>Fix Numba TypingError when passing tuple intervals to effects.remix
by <a
href="https://github.com/rishi02102017"><code>@​rishi02102017</code></a>
in <a
href="https://redirect.github.com/librosa/librosa/pull/2119">librosa/librosa#2119</a></li>
<li>Speed up matching for non-overlapping target intervals by <a
href="https://github.com/galleonli"><code>@​galleonli</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2112">librosa/librosa#2112</a></li>
<li>memory optimizations in piptrack, magphase, power_to_db, hpss, yin
and pyin by <a
href="https://github.com/bmcfee"><code>@​bmcfee</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2120">librosa/librosa#2120</a></li>
<li>util._nnls: use dtype-aware cutoff in pinv initialization by <a
href="https://github.com/bmcfee"><code>@​bmcfee</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2122">librosa/librosa#2122</a></li>
<li>1.0.1 release prep by <a
href="https://github.com/bmcfee"><code>@​bmcfee</code></a> in <a
href="https://redirect.github.com/librosa/librosa/pull/2123">librosa/librosa#2123</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/isaacsight"><code>@​isaacsight</code></a> made
their first contribution in <a
href="https://redirect.github.com/librosa/librosa/pull/2097">librosa/librosa#2097</a></li>
<li><a
href="https://github.com/rajit-sareen"><code>@​rajit-sareen</code></a>
made their first contribution in <a
href="https://redirect.github.com/librosa/librosa/pull/2101">librosa/librosa#2101</a></li>
<li><a
href="https://github.com/tritsystem"><code>@​tritsystem</code></a> made
their first contribution in <a
href="https://redirect.github.com/librosa/librosa/pull/2106">librosa/librosa#2106</a></li>
<li><a
href="https://github.com/MugundanMCW"><code>@​MugundanMCW</code></a>
made their first contribution in <a
href="https://redirect.github.com/librosa/librosa/pull/2111">librosa/librosa#2111</a></li>
<li><a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
made their first contribution in <a
href="https://redirect.github.com/librosa/librosa/pull/2116">librosa/librosa#2116</a></li>
<li><a
href="https://github.com/rishi02102017"><code>@​rishi02102017</code></a>
made their first contribution in <a
href="https://redirect.github.com/librosa/librosa/pull/2119">librosa/librosa#2119</a></li>
<li><a href="https://github.com/galleonli"><code>@​galleonli</code></a>
made their first contribution in <a
href="https://redirect.github.com/librosa/librosa/pull/2112">librosa/librosa#2112</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/librosa/librosa/compare/1.0.0...1.0.1">https://github.com/librosa/librosa/compare/1.0.0...1.0.1</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/librosa/librosa/blob/main/docs/changelog.rst">librosa's
changelog</a>.</em></p>
<blockquote>
<h2>v1.0.1</h2>
<p>2026-11-12</p>
<p>Enhancements
-
<code>[#2120](https://github.com/librosa/librosa/issues/2120)</code><em>,
<code>[#2076](https://github.com/librosa/librosa/issues/2076)</code></em>
memory optimizations in piptrack, magphase,
power_to_db, hpss, yin and pyin. <em>Brian McFee</em>
- <code>[#2112](https://github.com/librosa/librosa/issues/2112)</code>_
Speed up matching for non-overlapping target intervals. <em>Ge Li</em>
-
<code>[#2102](https://github.com/librosa/librosa/issues/2102)</code><em>,
<code>[#2021](https://github.com/librosa/librosa/issues/2021)</code></em>
Refactor display submodules. <em>Ale Lloveras</em>
-
<code>[#2095](https://github.com/librosa/librosa/issues/2095)</code><em>,
<code>[#2094](https://github.com/librosa/librosa/issues/2094)</code></em>
Expose top_db on features that call power_to_db.
<em>Isaac Hernandez</em></p>
<p>Bug fixes
- <code>[#2122](https://github.com/librosa/librosa/issues/2122)</code>_
<code>util._nnls</code>: use dtype-aware cutoff in pinv initialization.
<em>Brian McFee</em>
- <code>[#2119](https://github.com/librosa/librosa/issues/2119)</code>_
Fix Numba TypingError when passing tuple intervals to
<code>effects.remix</code>. <em>Jyotishman Das</em>
-
<code>[#2109](https://github.com/librosa/librosa/issues/2109)</code><em>,
<code>[#2107](https://github.com/librosa/librosa/issues/2107)</code></em>
Replace <code>**kwargs</code> with explicit STFT params in
time_stretch/pitch_shift. <em>Rajit Sareen</em>
-
<code>[#2106](https://github.com/librosa/librosa/issues/2106)</code><em>,
<code>[#2099](https://github.com/librosa/librosa/issues/2099)</code></em>
Preserve float32 in spectral features; add dtype= to frequency
constructors. <em>Gavin Branaa</em>
-
<code>[#2097](https://github.com/librosa/librosa/issues/2097)</code><em>,
<code>[#2096](https://github.com/librosa/librosa/issues/2096)</code></em>
Forward <code>window</code> to <code>stft</code> and <code>istft</code>
in <code>effects.hpss, harmonic and percussive</code>. <em>Isaac
Hernandez</em></p>
<p>Documentation
-
<code>[#2104](https://github.com/librosa/librosa/issues/2104)</code><em>,
<code>[#2103](https://github.com/librosa/librosa/issues/2103)</code></em>
Fix numpydoc lint glob to reach subpackages, reorder flagged sections,
fix power_to_db axes docstring. <em>Rajit Sareen</em>
-
<code>[#2089](https://github.com/librosa/librosa/issues/2089)</code><em>,
<code>[#2088](https://github.com/librosa/librosa/issues/2088)</code></em>
Keep doctrees and reST sources out of the published docs. <em>Kayvan
Zahiri</em></p>
<p>Maintenance
- <code>[#2114](https://github.com/librosa/librosa/issues/2114)</code>_
SPEC0 action and environment workflow modernization. <em>Brian
McFee</em>
- <code>[#2113](https://github.com/librosa/librosa/issues/2113)</code>_
Updates for CI. <em>Brian McFee</em>
- <code>[#2111](https://github.com/librosa/librosa/issues/2111)</code>_
Add support for testing librosa on Windows ARM64. <em>MUGUNDAN</em>
-
<code>[#2101](https://github.com/librosa/librosa/issues/2101)</code><em>,
<code>[#2100](https://github.com/librosa/librosa/issues/2100)</code></em>
Enable Ruff ARG unused-argument checks and resolve findings. <em>Rajit
Sareen</em>
- <code>[#2093](https://github.com/librosa/librosa/issues/2093)</code>_
making linkcheck failures not catastrophic for CI. <em>Brian
McFee</em></p>
<p>.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2122">#2122</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2122">librosa/librosa#2122</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2120">#2120</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2120">librosa/librosa#2120</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2119">#2119</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2119">librosa/librosa#2119</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2114">#2114</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2114">librosa/librosa#2114</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2113">#2113</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2113">librosa/librosa#2113</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2112">#2112</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2112">librosa/librosa#2112</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2111">#2111</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2111">librosa/librosa#2111</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2109">#2109</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2109">librosa/librosa#2109</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2107">#2107</a>:
<a
href="https://redirect.github.com/librosa/librosa/issues/2107">librosa/librosa#2107</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2106">#2106</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2106">librosa/librosa#2106</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2104">#2104</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2104">librosa/librosa#2104</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2103">#2103</a>:
<a
href="https://redirect.github.com/librosa/librosa/issues/2103">librosa/librosa#2103</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2102">#2102</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2102">librosa/librosa#2102</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2101">#2101</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2101">librosa/librosa#2101</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2100">#2100</a>:
<a
href="https://redirect.github.com/librosa/librosa/issues/2100">librosa/librosa#2100</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2099">#2099</a>:
<a
href="https://redirect.github.com/librosa/librosa/issues/2099">librosa/librosa#2099</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2097">#2097</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2097">librosa/librosa#2097</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2096">#2096</a>:
<a
href="https://redirect.github.com/librosa/librosa/issues/2096">librosa/librosa#2096</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2095">#2095</a>:
<a
href="https://redirect.github.com/librosa/librosa/pull/2095">librosa/librosa#2095</a>
.. _<a
href="https://redirect.github.com/librosa/librosa/issues/2094">#2094</a>:
<a
href="https://redirect.github.com/librosa/librosa/issues/2094">librosa/librosa#2094</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/librosa/librosa/commit/9caf46a4ecaeb8ea24bb541231065c9f761174ae"><code>9caf46a</code></a>
Reverting parallel doc build for production</li>
<li><a
href="https://github.com/librosa/librosa/commit/4f8f47d111b815e814d8f5cb17d36087358e288c"><code>4f8f47d</code></a>
fixing date on changelog for 1.0.1 release</li>
<li><a
href="https://github.com/librosa/librosa/commit/bf01832999d6215f8545fbbf216b72f0c687277c"><code>bf01832</code></a>
Merge pull request <a
href="https://redirect.github.com/librosa/librosa/issues/2123">#2123</a>
from librosa/1.0.1-release-prep</li>
<li><a
href="https://github.com/librosa/librosa/commit/55c3849f7cfbe821288857a90e8d26e032798290"><code>55c3849</code></a>
parallelize the sphinx builds</li>
<li><a
href="https://github.com/librosa/librosa/commit/76f1b9caeeec66760fdf5e5bf2704b729d665807"><code>76f1b9c</code></a>
fixing up doc formatting</li>
<li><a
href="https://github.com/librosa/librosa/commit/5eaf4c61ddc716874d149580ba881d292c505f05"><code>5eaf4c6</code></a>
minor changes to changelog</li>
<li><a
href="https://github.com/librosa/librosa/commit/c03d159342b1e0a0d21905db65919d7bfc479251"><code>c03d159</code></a>
attribution updates</li>
<li><a
href="https://github.com/librosa/librosa/commit/a0d64a8fcf41feaddd819c2d354cdf58c4f999c5"><code>a0d64a8</code></a>
fixing up doc build errors</li>
<li><a
href="https://github.com/librosa/librosa/commit/ec7ef8d57ca774874a02ed32dbe6e502c033004e"><code>ec7ef8d</code></a>
updated zenodo.json</li>
<li><a
href="https://github.com/librosa/librosa/commit/3659b99ffff4f8219c134aafdf82a4260631ac1c"><code>3659b99</code></a>
updated changelog and authors.md</li>
<li>Additional commits viewable in <a
href="https://github.com/librosa/librosa/compare/1.0.0...1.0.1">compare
view</a></li>
</ul>
</details>
<br />

Updates `pytest` from 9.1.1 to 9.2.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest/releases">pytest's
releases</a>.</em></p>
<blockquote>
<h2>9.2.0</h2>
<h1>pytest 9.2.0 (2026-10-27)</h1>
<h2>Removals and backward incompatible breaking changes</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/14716">#14716</a>:
<code>-c</code> now raises a usage error for a path that does not exist,
is a directory, or is in a format pytest has no loader for. Such paths
were previously either ignored or reported as an unhandled
<code>FileNotFoundError</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/8593">#8593</a>:
The <code>indirect</code>, <code>ids</code> and <code>scope</code>
arguments of <code>Metafunc.parametrize()
&lt;pytest.Metafunc.parametrize&gt;</code> -- and therefore of
<code>@pytest.mark.parametrize &lt;pytest.mark.parametrize
ref&gt;</code> -- are now keyword-only.</p>
<p>Passing them positionally was a common source of confusing errors,
e.g. <code>parametrize(&quot;arg1&quot;, &quot;arg2&quot;, [(1,
2)])</code> made the argvalues land in <code>indirect</code> and failed
with <code>indirect fixture '(1, 2)' doesn't exist</code>; such mistakes
now fail with an understandable <code>TypeError</code>. The type
annotations have always declared these arguments as keyword-only.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/993">#993</a>:
Plugin import failures at startup are now reported and classified
instead of escaping as a raw traceback with the accidental exit code
<code>1</code>:</p>
<ul>
<li>a plugin that cannot be found -- via <code>-p</code>,
<code>pytest_plugins</code> or <code>PYTEST_PLUGINS</code> -- exits with
<code>pytest.ExitCode</code> <code>USAGE_ERROR</code> (<code>4</code>),
like a <code>conftest.py</code> that fails to import;</li>
<li>a plugin that is found but raises while importing -- including a
broken <code>pytest11</code> entry point or a missing plugin dependency
-- exits with <code>pytest.ExitCode</code> <code>INTERNAL_ERROR</code>
(<code>3</code>), with the traceback preserved.</li>
</ul>
<p><code>pytest.main</code> now returns these codes instead of raising
<code>ImportError</code>. Also fixed an <code>IndexError</code> from
pytest's own internals when the plugin raised an exception with no
arguments.</p>
</li>
</ul>
<h2>Deprecations (removal in next major release)</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/14742">#14742</a>:
The private <code>_pytest.python.CallSpec2</code> name has been renamed
to <code>CallSpec</code>.
The old <code>CallSpec2</code> alias remains available for now and will
be removed in pytest 10 or 11.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/14755">#14755</a>:
Schedule <em>yield_fixture</em> decorator for removal in pytest 10 or
11.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/14774">#14774</a>:
Similarly to the deprecation of class-scoped fixtures defined as
instance methods in pytest 9.1,
<em>all</em> higher-scoped fixtures (<code>module</code>,
<code>package</code>, and <code>session</code>) defined
as instance methods are now deprecated.</p>
<p>They suffer from the same issue the original deprecation only fixed
for
class-scoped fixtures, see <code>10819</code> and
<code>14011</code>.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/14808">#14808</a>:
Passing a non-string value to a <code>string</code>-typed ini option now
emits a <code>pytest.PytestRemovedIn10Warning</code>. This affects
<code>[tool.pytest.ini_options]</code> in <code>pyproject.toml</code>.
In pytest 10 this will raise a <code>TypeError</code>, matching the
behavior of the corresponding TOML config path.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/pytest-dev/pytest/issues/7323">#7323</a>:
Passing <code>bytes</code> to <code>TerminalReporter.write_line()</code>
is now deprecated, pass a <code>str</code> instead.</p>
</li>
</ul>
<h2>New features</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/14743">#14743</a>:
<!-- raw HTML omitted -->Full diff:<!-- raw HTML omitted --> now
contains a legend explaining the <!-- raw HTML omitted -->+<!-- raw HTML
omitted --> &amp; <!-- raw HTML omitted -->-<!-- raw HTML omitted -->
symbols in diff output.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/2781">#2781</a>:
When <code>strict_markers</code> is enabled, marker names used in
<code>-m</code> expressions are now validated against registered
markers.</li>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/6881">#6881</a>:
Added the <code>parametrize_long_str_id_strategy</code> configuration
option to control how long <code>str</code>/<code>bytes</code> parameter
values are handled in auto-generated test IDs. Explicit IDs set via
<code>ids=[...]</code> or <code>pytest.param(..., id=...)</code> are not
affected. Available strategies: <code>short</code> (default, values over
100 chars fall back to <code>argname+index</code>), <code>sha256</code>
(SHA-256 hex digest), <code>legacy</code> (keep full value), and
<code>disallow</code> (error requesting explicit IDs).</li>
</ul>
<h2>Improvements in existing functionality</h2>
<ul>
<li><a
href="https://redirect.github.com/pytest-dev/pytest/issues/10745">#10745</a>:
A <code>RecursionError</code> whose recursion origin cannot be located
now shows only the
first and last 10 stack frames, matching what pytest already did when
locating
the origin failed outright. Previously the full traceback -- often
around a
thousand near-identical frames -- was rendered, which was both slow and
unreadable. Pass <code>--full-trace</code> to see every frame.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest/commit/ae1d0ff57b8bd4252da9ade7353523ac0ac73281"><code>ae1d0ff</code></a>
Prepare release version 9.2.0</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/143ce31dea9b12ff2ab6add04361ee01ab114931"><code>143ce31</code></a>
pre-commit: exclude codespell on generated release announcements</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/532dc5fc78f57de5115c5ecc9c6c29257787ada7"><code>532dc5f</code></a>
tox: add attrs dependency to regen, needed in reportingdemo.rst</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/a7b2446ee41a7298d3a0bc22c52f3b8bacae1566"><code>a7b2446</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/15245">#15245</a>
from pytest-dev/claude/project-thread-9jcf91</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/679d09c6945156746e17e9ec0b1c8309bbde3ad3"><code>679d09c</code></a>
[pre-commit.ci] pre-commit autoupdate (<a
href="https://redirect.github.com/pytest-dev/pytest/issues/15266">#15266</a>)</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/41d12cdbb4a35a7877768d93d8dc50a9117a8d8c"><code>41d12cd</code></a>
docs: clarify typing for yield fixtures</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/b9022ba04a33bfc76b5c9aefb8974755a80bf5ce"><code>b9022ba</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/15182">#15182</a>
from 1871698/docs/improve-getting-started-description</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/16f87a7f364a7362fbfbb204c79a47ad567b4fbd"><code>16f87a7</code></a>
docs: improve getting-started.rst test execution description</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/082ed70e314ee8e1ab117763d17fe801648f7508"><code>082ed70</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/15255">#15255</a>
from pytest-dev/claude/project-thread-eoi3d6</li>
<li><a
href="https://github.com/pytest-dev/pytest/commit/ae37a013763e9c4a143245eda1acdc3c27961685"><code>ae37a01</code></a>
Merge pull request <a
href="https://redirect.github.com/pytest-dev/pytest/issues/15227">#15227</a>
from pytest-dev/claude/project-thread-4etye4</li>
<li>Additional commits viewable in <a
href="https://github.com/pytest-dev/pytest/compare/9.1.1...9.2.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `pytest-asyncio` from 1.4.1.post1 to 1.5.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pytest-dev/pytest-asyncio/releases">pytest-asyncio's
releases</a>.</em></p>
<blockquote>
<h2>pytest-asyncio v1.5.0</h2>
<h1><a
href="https://github.com/pytest-dev/pytest-asyncio/tree/1.5.0">1.5.0</a>
- 2026-11-12</h1>
<h2>Added</h2>
<ul>
<li>A <code>fixture-scope</code> value for
<code>asyncio_default_fixture_loop_scope</code>. With it, an
asynchronous fixture without <code>loop_scope</code> uses its
<code>scope</code> as its loop scope. This is the behavior of an unset
option in pytest-asyncio 1.x. (<a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1095">#1095</a>)</li>
</ul>
<h2>Fixed</h2>
<ul>
<li>Invalid arguments to the <code>asyncio</code> marker, including an
invalid <code>loop_scope</code>, are reported with a message that names
the test instead of a traceback. (<a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1584">#1584</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/0c7805eb7576eccfa7776a22a23e2d71201f172e"><code>0c7805e</code></a>
chore: Prepare release of v1.5.0.</li>
<li><a
href="https://github.com/pytest-dev/pytest-asyncio/commit/0d50e495cdab5e9e9dc72e906f63b35108c7b9c4"><code>0d50e49</code></a>
Prepare v1.5 (<a
href="https://redirect.github.com/pytest-dev/pytest-asyncio/issues/1610">#1610</a>)</li>
<li>See full diff in <a
href="https://github.com/pytest-dev/pytest-asyncio/compare/v1.4.1.post1...v1.5.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `ty` from 0.0.101 to 0.0.104
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ty/releases">ty's
releases</a>.</em></p>
<blockquote>
<h2>0.0.104</h2>
<h2>Release Notes</h2>
<p>Released on 2026-11-13.</p>
<h3>Bug fixes</h3>
<ul>
<li>Narrow class objects in equality and membership checks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30393">#30393</a>)</li>
<li>Preserve literals outside a protocol when simplifying unions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30398">#30398</a>)</li>
<li>Respect implicit <code>__hash__ = None</code> when a class defines
<code>__eq__</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30145">#30145</a>)</li>
</ul>
<h3>LSP server</h3>
<ul>
<li>Fix completion after an alias in a parenthesized import (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30394">#30394</a>)</li>
<li>Suppress completions while typing multiline import aliases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30397">#30397</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/lerebear"><code>@​lerebear</code></a></li>
<li><a href="https://github.com/carljm"><code>@​carljm</code></a></li>
</ul>
<h2>Install ty 0.0.104</h2>
<h3>Install prebuilt binaries via shell script</h3>
<pre lang="sh"><code>curl --proto '=https' --tlsv1.2 -LsSf
https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-installer.sh
| sh
</code></pre>
<h3>Install prebuilt binaries via powershell script</h3>
<pre lang="sh"><code>powershell -ExecutionPolicy Bypass -c &quot;irm
https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-installer.ps1
| iex&quot;
</code></pre>
<h2>Download ty 0.0.104</h2>
<table>
<thead>
<tr>
<th>File</th>
<th>Platform</th>
<th>Checksum</th>
</tr>
</thead>
<tbody>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-aarch64-apple-darwin.tar.gz">ty-aarch64-apple-darwin.tar.gz</a></td>
<td>Apple Silicon macOS</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-aarch64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-x86_64-apple-darwin.tar.gz">ty-x86_64-apple-darwin.tar.gz</a></td>
<td>Intel macOS</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-x86_64-apple-darwin.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-aarch64-pc-windows-msvc.zip">ty-aarch64-pc-windows-msvc.zip</a></td>
<td>ARM64 Windows</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-aarch64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-i686-pc-windows-msvc.zip">ty-i686-pc-windows-msvc.zip</a></td>
<td>x86 Windows</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-i686-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-x86_64-pc-windows-msvc.zip">ty-x86_64-pc-windows-msvc.zip</a></td>
<td>x64 Windows</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-x86_64-pc-windows-msvc.zip.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-aarch64-unknown-linux-gnu.tar.gz">ty-aarch64-unknown-linux-gnu.tar.gz</a></td>
<td>ARM64 Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-aarch64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-i686-unknown-linux-gnu.tar.gz">ty-i686-unknown-linux-gnu.tar.gz</a></td>
<td>x86 Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-i686-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-powerpc64le-unknown-linux-gnu.tar.gz">ty-powerpc64le-unknown-linux-gnu.tar.gz</a></td>
<td>PPC64LE Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-powerpc64le-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-riscv64gc-unknown-linux-gnu.tar.gz">ty-riscv64gc-unknown-linux-gnu.tar.gz</a></td>
<td>RISCV Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-riscv64gc-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-s390x-unknown-linux-gnu.tar.gz">ty-s390x-unknown-linux-gnu.tar.gz</a></td>
<td>S390x Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-s390x-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
<tr>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-x86_64-unknown-linux-gnu.tar.gz">ty-x86_64-unknown-linux-gnu.tar.gz</a></td>
<td>x64 Linux</td>
<td><a
href="https://releases.astral.sh/github/ty/releases/download/0.0.104/ty-x86_64-unknown-linux-gnu.tar.gz.sha256">checksum</a></td>
</tr>
</tbody>
</table>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ty/blob/main/CHANGELOG.md">ty's
changelog</a>.</em></p>
<blockquote>
<h2>0.0.104</h2>
<p>Released on 2026-11-13.</p>
<h3>Bug fixes</h3>
<ul>
<li>Narrow class objects in equality and membership checks (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30393">#30393</a>)</li>
<li>Preserve literals outside a protocol when simplifying unions (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30398">#30398</a>)</li>
<li>Respect implicit <code>__hash__ = None</code> when a class defines
<code>__eq__</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30145">#30145</a>)</li>
</ul>
<h3>LSP server</h3>
<ul>
<li>Fix completion after an alias in a parenthesized import (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30394">#30394</a>)</li>
<li>Suppress completions while typing multiline import aliases (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30397">#30397</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a
href="https://github.com/lerebear"><code>@​lerebear</code></a></li>
<li><a href="https://github.com/carljm"><code>@​carljm</code></a></li>
</ul>
<h2>0.0.103</h2>
<p>Released on 2026-11-13.</p>
<h3>Bug fixes</h3>
<ul>
<li>Avoid spurious syntax warnings when applying fixes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30404">#30404</a>)</li>
<li>Fix a panic checking class decorators with inferred return types (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30399">#30399</a>)</li>
<li>Infer nested classes as read-only attributes (<a
href="https://redirect.github.com/astral-sh/ruff/pull/29346">#29346</a>)</li>
<li>Infer value types for bare <code>Final</code> and
<code>ClassVar</code> (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30293">#30293</a>)</li>
<li>Preserve excluded types when inferring type variable upper bounds
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/30237">#30237</a>)</li>
<li>Preserve inherited value types on repeated bare ClassVar annotations
(<a
href="https://redirect.github.com/astral-sh/ruff/pull/30396">#30396</a>)</li>
<li>Respect return constraints when promoting literal arguments (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30153">#30153</a>)</li>
</ul>
<h3>LSP server</h3>
<ul>
<li>Resolve pytest fixtures registered through pytest_plugins (<a
href="https://redirect.github.com/astral-sh/ruff/pull/29588">#29588</a>)</li>
</ul>
<h3>Contributors</h3>
<ul>
<li><a href="https://github.com/carljm"><code>@​carljm</code></a></li>
<li><a href="https://github.com/abalakh"><code>@​abalakh</code></a></li>
<li><a
href="https://github.com/AlexWaygood"><code>@​AlexWaygood</code></a></li>
</ul>
<h2>0.0.102</h2>
<p>Released on 2026-11-12.</p>
<h3>Breaking changes</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/astral-sh/ty/commit/b4bb5b2c8a620db50ad2f4c4e7055c2a4d51a551"><code>b4bb5b2</code></a>
Bump version to 0.0.104 (<a
href="https://redirect.github.com/astral-sh/ty/issues/5031">#5031</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/219c20d206a8d2a8e201a9c40b805c32b1f231c0"><code>219c20d</code></a>
Update soupsieve to 4.0.1 (<a
href="https://redirect.github.com/astral-sh/ty/issues/5027">#5027</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/f9672a3909e82d070852569a17c9d434e1277474"><code>f9672a3</code></a>
Bump version to 0.0.103 (<a
href="https://redirect.github.com/astral-sh/ty/issues/5023">#5023</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/62e097f98b11d2638d8dc600a00b184f2775d5fc"><code>62e097f</code></a>
Avoid multipart uploads for release artifacts (<a
href="https://redirect.github.com/astral-sh/ty/issues/5017">#5017</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/040d3da96222021a9e8e2abbd37a86da92bfa150"><code>040d3da</code></a>
Bump version to 0.0.102 (<a
href="https://redirect.github.com/astral-sh/ty/issues/5015">#5015</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/094efe510a4f898c7e8971123040b14fca07bb0e"><code>094efe5</code></a>
Infer the ty release tag from dist-workspace.toml (<a
href="https://redirect.github.com/astral-sh/ty/issues/5014">#5014</a>)</li>
<li><a
href="https://github.com/astral-sh/ty/commit/99766aa137791b1d5ff3346f578b9fdcabeca5df"><code>99766aa</code></a>
Document standalone scripts (<a
href="https://redirect.github.com/astral-sh/ty/issues/4902">#4902</a>)</li>
<li>See full diff in <a
href="https://github.com/astral-sh/ty/compare/0.0.101...0.0.104">compare
view</a></li>
</ul>
</details>
<br />

Updates `ruff` from 0.17.4 to 0.17.5
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/astral-sh/ruff/releases">ruff's
releases</a>.</em></p>
<blockquote>
<h2>0.17.5</h2>
<h2>Release Notes</h2>
<p>Released on 2026-11-12.</p>
<h3>Preview features</h3>
<ul>
<li>Redirect renamed rules (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30081">#30081</a>)</li>
<li>[<code>flake8-async</code>] Implement
<code>pytest-raises-exception-group</code> (<code>ASYNC401</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/28772">#28772</a>)</li>
<li>[<code>flake8-logging-format</code>] Mark <code>G004</code> fix as
unsafe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30087">#30087</a>)</li>
<li>[<code>pylint</code>] Implement <code>no-method-argument</code>
(<code>PLE0211</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/29748">#29748</a>)</li>
<li>[<code>refurb</code>] Do not offer fix when <code>write</code> is
nested in an expression (<code>FURB103</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/29789">#29789</a>)</li>
<li>[<code>ruff</code>] Add <code>renamed-rule</code>
(<code>RUF202</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30079">#30079</a>)</li>
<li>[<code>ruff</code>] Expand <code>redirected-noqa</code> to other
suppression comments (<code>RUF101</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30078">#30078</a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>Avoid crashing when Ruff logs to a closed stderr pipe (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30209">#30209</a>)</li>
<li>Fix fixes that add or remove a keyword argument with a parenthesized
value (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30189">#30189</a>)</li>
<li>[<code>flake8-import-conventions</code>] Avoid shadowing names when
fixing import aliases (<code>ICN001</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30035">#30035</a>)</li>
<li>[<code>flake8-bugbear</code>] Fix <code>B010</code> autofix for
parenthesized <code>setattr</code> calls (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30168">#30168</a>)</li>
<li>[<code>flake8-pyi</code>] Fix <code>PYI034</code> autofix for
parenthesized <code>self</code> annotations (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30173">#30173</a>)</li>
<li>[<code>pyupgrade</code>] Fix <code>UP031</code> duplicating closing
parentheses around the format string (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30172">#30172</a>)</li>
</ul>
<h3>Rule changes</h3>
<ul>
<li>[<code>flake8-bugbear</code>] Ignore frozen dataclass instantiations
(<code>B008</code>) (<a
href="https://redirect.github.com/astral-sh/ruff/pull/29231">#29231</a>)</li>
</ul>
<h3>Performance</h3>
<ul>
<li>Various performance improvements (<a
href="https://redirect.github.com/astral-sh/ruff/pull/30375">#30375</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30211">#30211</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30368">#30368</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30259">#30259</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30354">#30354</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30115">#30115</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30133">#30133</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30132">#30132</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30358">#30358</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30135">#30135</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30369">#30369</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30351">#30351</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30352">#30352</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30347">#30347</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30379">#30379</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30328">#30328</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/30329">#30329</a>,
<a
href="https://redirect.github.com/astral-sh/ruff/pull/29446">#29446</a>)</li>
</ul>
<h3>Other changes</h3>
<ul>
<li>Fix FreeBSD sourc...

_Description has been truncated_

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alishahryar1 <20476625+Alishahryar1@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.40
2026-11-19 01:31:11 -08:00
Ali Khokhar 6fc0743703 patch: Restore release publishing (#2475)
## Why

#2474 made Azure signing a prerequisite for publishing FCC. The first
signing run stopped before PyPI publication and left `v6.19.38` as a
draft. The previous publisher requires its predecessor to be published
before it will allocate the next version.

## How

- Revert #2474 to restore the previous Windows installer and release
workflow.
- Reserve `v6.19.38` for its existing draft commit. Reject retries of
that commit and allow the next release to advance past its draft.
v6.19.39
2026-11-17 23:56:15 -08:00
Ali Khokhar fda456aea4 patch: Ship a signed Windows bundle (#2474)
## Why

**Release acceptance is pending.** The repository needs an Azure Public
Trust signing profile, immutable releases, and a read-only token for the
release settings check. The exact signed candidate must pass on Windows
11 with Smart App Control enforced.

Windows application control can block the unsigned FCC command
launchers, Python runtime, and native dependencies installed by uv.
Users then cannot start the proxy or Desktop. This addresses #2473,
#2353, and #2197.

## How

- Stage a Windows x64 ZIP from the exact FCC release wheel, the locked
dependencies, and the full Python.org runtime. Preserve valid vendor
signatures and sign the remaining binaries with Azure Artifact Signing
Public Trust. Bind the verified ZIP to the release commit and wheel. The
first signed release waits for Smart App Control acceptance of the exact
ZIP digest.
- Verify the release digest and native signatures before activating a
new bundle. Retarget existing FCC desktop shortcuts and remove the
bundle and PATH entry on uninstall. Keep optional local voice on the
existing uv route.
- The local Windows build reached `/health` from a relocated bundle and
exported the Desktop icon. The signing setup and acceptance procedure
are in `CONTRIBUTING.md`.



























<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=110885320&amp;sig=54ae44f592f7737350ae945aa4763ac798cef00a70f3344f0db38ab65e061be0"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2474&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The latest changes appear safe to
merge; no new blocking issues were found.

<details open><summary><h3>Summary</h3></summary>

This PR adds a signed Windows bundle and makes it the default Windows
install route, while keeping local voice installs on uv.

- Windows releases now ship a signed bundle tied to the exact FCC
release.
- Windows installs now run FCC from the signed bundle.
- The FCC uninstaller now removes the signed Windows bundle and its PATH
entry.

The earlier candidate-file handoff issue is fixed. No new actionable
issues were found in the latest changes. Windows tests were not run in
this Linux environment.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (13) · Last reviewed commit: ["Verify no legacy FCC
commands remain
bef..."](https://github.com/alishahryar1/free-claude-code/commit/c9ef6023cae428129c957ffb63ae6fa5015173e1)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.38
2026-11-17 23:33:56 -08:00
Ali Khokhar cfaa0a4888 patch: Preserve tool calls in automatic WebSearch (#2471)
## Why

Automatic WebSearch rejects requests that also offer a client tool,
require a tool call, or include completed WebFetch history. This affects
requests augmented by Headroom and follows up on #2439.

## How

- Replace the WebSearch definition in place and preserve client tools
and tool choice.
- Execute completed searches in FCC. Return ordinary calls with their
original IDs and inputs, including when both kinds of tools are
selected.
- Keep the URL, title, and fetched text or error from earlier WebFetch
results.



<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=110582716&amp;sig=65b63ba78c470b891ed5367a4e22c240ad1b5403545cce6a1aea38a42ab7955e"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2471&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The changes appear safe to merge; no
new blocking issues were found.

<details open><summary><h3>Summary</h3></summary>

Automatic WebSearch now preserves client tools, required tool choices,
and completed web history while executing searches locally.

- Automatic WebSearch can run alongside client tools.
- Earlier web searches and fetches stay in later requests.
- Provider refusals and incomplete endings stay distinct from tool
selection.

No new actionable issues found.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Messages request with WebSearch and client tools] --> B[Replace only the search definition]
    B --> C[Collect provider response privately]
    C --> D{How did generation end?}
    D -->|Refused or stopped early| E[Return text and ending without tool candidates]
    D -->|Completed tool selection| F{Selected calls}
    F -->|Client calls only| G[Return original calls]
    F -->|Search calls| H[Execute searches within remaining limit]
    H --> I[Return search results and any client calls]
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["Keep tool-result text in the
same
search..."](https://github.com/alishahryar1/free-claude-code/commit/4a63fbe743717de7146311b2022414b092d4fba1)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.37
2026-11-17 16:29:38 -08:00
Ali Khokhar 620c07dd9b patch: fix macOS installation when the pinned Python is missing (#2469)
## Why

Fresh macOS installs and updates can stop before FCC is installed. When
the release's Python version is missing, uv tries to download it using
the `+gil` selector. Its download catalog lists the regular CPython
build under the plain version. The native desktop launcher requires that
GIL-enabled build.

Fixes #2461, fixes #2209, and fixes #2212. The same failure was reported
in #2423, #2186, and #2155.

## How

On macOS, look for the exact managed GIL-enabled interpreter first. If
it is missing, provision the release's pinned Python version with `uv
python install --no-bin`. Scope both Python commands to the filesystem
root so that uv reads user-level configuration independently of the
calling project. The existing `--managed-python --python
"$PYTHON_VERSION+gil"` request then selects the installed interpreter.
The provisioning step uses the installer's normal dry-run, logging, and
failure handling.




<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=110249343&amp;sig=05204118fde2567b39978f5564acefdf55bc776eda791a2cf2bbf55eccabcd73"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2469&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable new issues were found.

<details open><summary><h3>Summary</h3></summary>

Fixes macOS installs when the release’s pinned Python is missing.
- The macOS installer prepares pinned Python before installing FCC.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["Reuse managed Python and
isolate macOS
p..."](https://github.com/alishahryar1/free-claude-code/commit/8ee98437f9e2e155b6d6fa893761d8b50ecb38be)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.36
2026-11-17 12:06:47 -08:00
Ali KhokharandClaude Opus 5.5 eb92e4c07a patch: make provider retry attempts configurable, default 5 (#2456)
## Why

When the primary model keeps returning transient errors (429, 503,
dropped connections), FCC retries it silently before any configured
fallback model runs. The budget was hardcoded at 10 attempts. With
backoff doubling from 2 s to a 60 s cap, a dead primary cost about 5
minutes before the fallback started. Reproduced live with Claude Code
2.1.325: "hello" took 309 s.

Fixes #2455

## How

- New runtime setting `PROVIDER_MAX_ATTEMPTS` ("Provider Max Attempts"
in Admin, next to the other provider limits), default **5**, must be at
least 1. It counts total tries per model for one request, including the
first. That keeps the meaning of the old constant. It also shows in
`fcc-doctor`.
- The default lives in `config/constants.py` as
`PROVIDER_MAX_ATTEMPTS_DEFAULT`. `UPSTREAM_TRANSIENT_TOTAL_ATTEMPTS` is
removed.
- `ProviderAdmissionLimits` carries the required `max_attempts`
alongside the rate and concurrency limits, so it is validated and
applied through the same path. It is required, not defaulted, so a
reconfigure can never silently reset a controller's budget.
- Saving in Admin applies it without a restart: the registry
reconfigures every live controller. New requests get the new budget. A
request already retrying keeps the budget it started with.

Accepted scope limits (to be discussed separately):
- The budget stays shared. Transient retries, tool-call corrections,
mid-stream continuations and model discovery all spend from it, as
before.
- No other recovery behaviour changes: backoff timing, Retry-After
cooldowns, the terminal window, recovery episode sharing and fallback
order are untouched.

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107854098&amp;sig=7ddcc34af6c4e183a460cb029bf84e22a62053c9ada436f2af05a912906e2ac7"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2456&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This PR appears safe to merge; no
actionable issues were found.

<details open><summary><h3>Summary</h3></summary>

Makes provider attempt budgets configurable through
`PROVIDER_MAX_ATTEMPTS`, with a default of 5 total tries.

- Provider requests use a configurable limit for each model's total
tries.

No actionable issues found. Review was based on source inspection; tests
were not run.

Acknowledged scope: Alishahryar1 explicitly keeps retries, tool-call
corrections, continuations, and discovery on the existing shared budget.
Backoff timing, cooldowns, the terminal window, recovery sharing, and
fallback order are intentionally unchanged.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A["Validated PROVIDER_MAX_ATTEMPTS"] --> B["ProviderAdmissionLimits"]
  B --> C["Registry updates live controllers"]
  C --> D["New execution copies updated budget"]
  E["Running execution"] --> F["Keeps its starting budget"]
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["patch: make provider retry
attempts
conf..."](https://github.com/alishahryar1/free-claude-code/commit/10758038ea3da4e9feefe7b600aa1b439919acf7)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
v6.19.35
2026-11-15 16:30:50 -08:00
Ali KhokharandClaude 11838b0186 patch: keep Claude Desktop connected after it seals the gateway key (#2454)
Fixes #2375.

## Problem
Claude Desktop can rewrite the gateway API key in FCC's Desktop profile
as an encrypted `__sealed__:v1:…` value. FCC compared that stored value
with its plaintext token. This caused two problems:
- The integration status always read `connected: false`, even though
Desktop worked.
- Every FCC startup refresh wrote the plaintext token back over the
sealed value and showed "Settings updated. Reopen Claude Desktop."

## Fix
- When FCC writes the token, it also saves a SHA-256 fingerprint of it
in `claude-desktop-token.json`, next to the existing disconnect record
in FCC's config folder.
- A plaintext key is compared exactly, as before.
- A sealed key counts as current when the fingerprint matches FCC's
current token. In that case the refresh leaves the sealed value alone.
- If the key is sealed and the fingerprint is missing, unreadable or for
a different token (the token changed, or the connection predates this
fix), the profile is stale. The refresh writes the plaintext token, and
Desktop seals it again.
- Before writing a different key, FCC deletes the old fingerprint, then
writes the profile, then the new fingerprint. If the fingerprint write
fails, a sealed copy of the new key reads as stale. Without this, it
could be mistaken for the old token after a revert.
- Disconnect deletes the fingerprint.

## Tests
- A sealed key for the current token stays connected, and the refresh
doesn't touch it.
- A sealed key for an old token is replaced, then counts as connected
once Desktop seals it again.
- A missing, corrupt or mismatched fingerprint triggers one rewrite.
- A failed fingerprint write during token rotation never vouches for the
rotated sealed key. This test fails without the fix.
- Disconnect removes the fingerprint.
- The connect partial-write retry test now fails each write by file
path, so the new write doesn't push the last file out of coverage.
- `./scripts/ci.sh --skip playwright` passes locally.

These tests simulate the sealing; Claude Desktop itself can't run in
this environment.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107773076&amp;sig=540cb9a26f11d3d65f33e48e8eea246a2950147bb4bbc98555382f6af564cac7"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2454&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The latest changes appear safe to
merge; the earlier unreadable-fingerprint issue remains non-blocking.

<h2><a
href="https://app.greptile.com/api/ide/codex?prompt=IMPORTANT%3A%20Work%20in%20the%20repository%20%22alishahryar1%2Ffree-claude-code%22%20on%20the%20existing%20branch%20%22claude%2Fdesktop-sealed-key%22.%20Checkout%20that%20branch%20%E2%80%94%20do%20NOT%20create%20a%20new%20branch%20or%20open%20a%20new%20PR.%20Push%20your%20changes%20to%20%22claude%2Fdesktop-sealed-key%22.%0A%0A%23%23%23%20Issue%201%0Asrc%2Ffree_claude_code%2Fharnesses%2Fclaude_desktop_integration.py%3A280-284%0AIf%20%60claude-desktop-token.json%60%20loses%20read%20permission%20while%20its%20folder%20remains%20writable%2C%20%60_remembered%60%20lets%20%60PermissionError%60%20escape.%20Status%20and%20refresh%20then%20fail%20instead%20of%20treating%20the%20fingerprint%20as%20stale%20and%20repairing%20the%20connection.%20Catch%20read%20failures%20here%20and%20let%20refresh%20replace%20the%20fingerprint%20with%20a%20readable%20file.%20Add%20a%20failed-read%20test%3B%20the%20current%20cases%20cover%20missing%20files%20and%20corrupt%20contents.%0A%0A---%0A%0AFor%20each%20issue%20above%2C%20determine%20whether%20it%20is%20valid%20and%20should%20be%20fixed.%20If%20so%2C%20fix%20it%20directly.&expires=1795385309&sig=7edb0adf4be54f036db8cff793c477bd9a8b4bf3e7d154fb93d479410ab159c8&repo=alishahryar1%2Ffree-claude-code&pr=2454&platform=github"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInCodexDark.svg?v=7"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInCodex.svg?v=7"><img
alt="Fix All in Codex"
src="https://greptile-static-assets.s3.amazonaws.com/badges/FixAllInCodex.svg?v=7"
align="right"></picture></a>Findings</h2>

1. <img alt="P2"
src="https://greptile-static-assets.s3.amazonaws.com/badges/p2.svg?v=9"
align="top">&nbsp;**Unreadable fingerprint blocks repair** <a
href="https://github.com/Alishahryar1/free-claude-code/pull/2454#discussion_r4580401133">▶</a>

<details open><summary><h3>Summary</h3></summary>

Keeps Claude Desktop connected after it seals the gateway key.
- FCC recognizes Claude Desktop's sealed key and keeps the connection
current.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (3) · Last reviewed commit: ["Forget the old Desktop token
before
writ..."](https://github.com/alishahryar1/free-claude-code/commit/e4612fe8b03264c7b2210d8b4e5c13806e6e9647)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
v6.19.34
2026-11-15 14:09:51 -08:00
Ali KhokharandClaude a03bddfd9a patch: let Claude Code retry without inline system turns (#2453)
Fixes #2448, #2449, #2452.

## Problem
Claude Code 2.1.325 sends system turns inside `messages`. FCC rejects
them with a plain 400. Because a custom base URL counts as first-party,
Claude Code skips its generic retry. It only drops system turns and
retries when the error carries `error.details.error_code:
"mid_conversation_system_not_supported"`. Since FCC's 400 had no code,
every request failed with "Run `claude update`".

## Fix
- `ApplicationError` now takes an optional `error_code`.
- The Anthropic error payload emits that code as
`error.details.error_code`.
- The system-turn rejection (both `/v1/messages` and `count_tokens`)
sets it to `mid_conversation_system_not_supported`.
- The "claude update" message stays, for older clients that can't retry.

## Proof
Real Claude Code 2.1.325 → recorder → real FCC (main vs. this branch) →
fake OpenAI-compatible model.

**main:** 6 requests with roles `["user","system"]`, each rejected with
a 400. Output: `API Error: 400 Claude Code 2.1.325 sent a system message
inside messages…`. Exit code 1.

**this branch:**
```
{"status": 400, "roles": ["user", "system"], "response": {... "details": {"error_code": "mid_conversation_system_not_supported"}}}
{"status": 200, "roles": ["user"]}
```
Output `PONG`, exit code 0.

## Tests
- Added `details` assertions to the three system-turn API tests, plus a
unit test for the payload.
- `./scripts/ci.sh --skip playwright` passes locally: 11462 passed.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX)_

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107750800&amp;sig=14d61c338bc6eb620d4c55a8d0f2d6b509b59688145791f5b3a513ebf2db880e"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2453&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

Adds `error.details.error_code` to inline system-turn rejections so
Claude Code can recognize the refusal and retry.
- System-turn refusals now tell Claude Code when to retry.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Let Claude Code retry without
inline
sys..."](https://github.com/alishahryar1/free-claude-code/commit/d884d54f77d42356540a7679178297c70c79e265)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude <noreply@anthropic.com>
v6.19.33
2026-11-15 13:16:22 -08:00
dependabot[bot]andClaude c73777c3a3 patch: bump the dependencies group across 1 directory with 8 updates (#2446)
Bumps the dependencies group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [markdown-it-py](https://github.com/executablebooks/markdown-it-py) |
`4.2.0` | `4.3.0` |
| [openai](https://github.com/openai/openai-python) | `3.46.0` |
`3.49.0` |
| [loguru](https://github.com/Delgan/loguru) | `0.7.3` | `0.8.0` |
| [github-copilot-sdk](https://github.com/github/copilot-sdk) | `1.0.29`
| `1.0.31` |
| [simplejson](https://github.com/simplejson/simplejson) | `4.2.0` |
`4.3.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `9.1.1` | `9.2.0` |
| [ty](https://github.com/astral-sh/ty) | `0.0.99` | `0.0.101` |
| [google-genai](https://github.com/googleapis/python-genai) | `3.0.0` |
`3.2.0` |


Updates `markdown-it-py` from 4.2.0 to 4.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/executablebooks/markdown-it-py/releases">markdown-it-py's
releases</a>.</em></p>
<blockquote>
<h2>v4.3.0</h2>
<p>This release fixes two quadratic-time parsing paths that let crafted
input stall rendering for minutes (security),
aligns several parsing rules with CommonMark 0.31.2 and markdown-it
15.0.x,
turns parser rules that never advance into a <code>RuntimeError</code>
instead of an infinite loop,
makes rendering linear on PyPy and free-threaded CPython, and adds
support for Python 3.14.
Python 3.10 is still supported.
If you write plugins or render rules, or edit
<code>SyntaxTreeNode</code> trees, please read the upgrade notes at the
end.</p>
<h3>🔒 Security</h3>
<ul>
<li>👌 Fix quadratic-time inline parsing of long runs of characters that
start an inline rule without completing one (such as <code>&amp;</code>,
<code>&lt;</code>, <code>~</code> or incomplete entities), which let a
few hundred kilobytes of input stall rendering for seconds to minutes,
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/423">#423</a>,
thanks to <a href="https://github.com/hdimer"><code>@​hdimer</code></a>
(<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/411">#411</a>)</li>
<li>👌 Reject unterminated inline HTML (<code>&lt;!--</code>,
<code>&lt;?</code>, <code>&lt;![CDATA[</code>, <code>&lt;!X</code>) in
constant time when <code>html</code> is enabled (as in the default
<code>commonmark</code> preset), instead of rescanning to the end of the
input for every opener, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/428">#428</a></li>
</ul>
<h3>✨ New</h3>
<ul>
<li>✨ Add <code>--enable-tables</code> to the CLI for file, standard
input and interactive parsing in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/425">#425</a>,
thanks to <a
href="https://github.com/user01010111"><code>@​user01010111</code></a>
(<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/422">#422</a>);
requested by <a
href="https://github.com/hartwork"><code>@​hartwork</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/352">#352</a></li>
<li>⬆️ Add support for Python 3.14 in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/462">#462</a></li>
</ul>
<h3>👌 Improved</h3>
<ul>
<li>👌 Raise <code>RuntimeError</code> instead of looping forever when a
block or inline rule reports a match without advancing (or moves
backwards), or when no block rule matches a line, as markdown-it does,
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/444">#444</a>,
thanks to <a
href="https://github.com/rupayon123"><code>@​rupayon123</code></a>, <a
href="https://github.com/hukkin"><code>@​hukkin</code></a> (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/336">#336</a>)
and <a
href="https://github.com/inchang-ing"><code>@​inchang-ing</code></a> (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/443">#443</a>);
requested by <a
href="https://github.com/acaprino"><code>@​acaprino</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/441">#441</a></li>
<li>👌 Fix quadratic-time HTML rendering on PyPy, GraalPy and
free-threaded CPython by joining the rendered fragments once, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/458">#458</a>,
thanks to <a
href="https://github.com/DicksonWu654"><code>@​DicksonWu654</code></a></li>
<li>👌 Make <code>StateBase.src</code> a plain attribute, for about 4–11%
faster parsing on CPython, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/450">#450</a>,
thanks to <a
href="https://github.com/deadstrobe5"><code>@​deadstrobe5</code></a></li>
<li>👌 Build block line markers with one scan per line instead of one
step per character in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/449">#449</a>,
thanks to <a
href="https://github.com/John-Cusack"><code>@​John-Cusack</code></a></li>
<li>👌 Name the Windows end-of-input keys (Ctrl-Z then Enter) in the
CLI's interactive prompt and <code>-h</code> text in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/463">#463</a></li>
</ul>
<h3>🐛 Fixed</h3>
<ul>
<li>🐛 Fix HTML blocks of types 1–5 (comments, processing instructions,
declarations, CDATA,
<code>script</code>/<code>pre</code>/<code>style</code>/<code>textarea</code>)
ending at a blank line inside a list item or blockquote, porting
markdown-it 14.2.0, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/406">#406</a>,
thanks to <a
href="https://github.com/binggao1230"><code>@​binggao1230</code></a>;
reported by <a
href="https://github.com/Jayman2000"><code>@​Jayman2000</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/377">#377</a></li>
<li>🐛 Fix HTML block starts per CommonMark 0.31.2: lowercase
declarations such as <code>&lt;!doctype html&gt;</code> start a block
and interrupt a paragraph, and tag names match case-insensitively in
ASCII only, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/440">#440</a>,
thanks to <a
href="https://github.com/rupayon123"><code>@​rupayon123</code></a>;
reported by <a
href="https://github.com/p5ych0"><code>@​p5ych0</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/437">#437</a></li>
<li>🐛 Fix code spans rendered as literal backticks after an unclosed
link or image label, and count only U+0020 spaces (not tabs or no-break
spaces) when deciding whether to strip a code span's padding, porting
markdown-it 15.0.1, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/439">#439</a>,
thanks to <a
href="https://github.com/SparkUiX"><code>@​SparkUiX</code></a>; reported
by <a href="https://github.com/felzab"><code>@​felzab</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/438">#438</a></li>
<li>🐛 Trim and split with the CommonMark whitespace set instead of
Python's, so U+001C–U+001F and U+0085 are no longer dropped from
paragraphs, headings, table cells and fence info strings, and distinct
reference labels no longer match each other, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/433">#433</a>,
thanks to <a href="https://github.com/Nexory"><code>@​Nexory</code></a>
(<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/418">#418</a>)</li>
<li>🐛 Preserve IPv6 host brackets (e.g. <code>http://[::1]:8000/</code>)
in normalized link and image URLs, porting markdown-it 15.0.1, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/459">#459</a>,
thanks to <a
href="https://github.com/Jinyong-Li"><code>@​Jinyong-Li</code></a></li>
<li>🐛 Fix task-list detection consuming a literal <code>[
]</code>/<code>[x]</code> at the start of an indented code block in a
list item in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/451">#451</a>,
thanks to <a
href="https://github.com/AryanRG"><code>@​AryanRG</code></a></li>
<li>🐛 Fix an <code>IndexError</code> in the <code>html_block</code> and
<code>heading</code> rules at the end of the input (a table in a
blockquote that ends on <code>&gt;</code>) in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/416">#416</a>,
thanks to <a
href="https://github.com/saket3395"><code>@​saket3395</code></a>;
reported by <a
href="https://github.com/WilcoPancras"><code>@​WilcoPancras</code></a>
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/415">#415</a></li>
<li>🐛 Keep backslash escapes and entities in image alt text (<code>![a
\*
b](https://github.com/executablebooks/markdown-it-py/blob/HEAD/u)</code>
gives <code>alt=&quot;a * b&quot;</code>), porting markdown-it 15.0.0,
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/446">#446</a>,
thanks to <a
href="https://github.com/gyanu2507"><code>@​gyanu2507</code></a>;
reported by <a
href="https://github.com/kdeldycke"><code>@​kdeldycke</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/445">#445</a></li>
<li>🐛 Keep code span text in image alt text, porting markdown-it 15.0.0,
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/460">#460</a>,
thanks to <a
href="https://github.com/jayhemnani9910"><code>@​jayhemnani9910</code></a></li>
<li>🐛 Keep hard breaks and inline HTML in image alt text in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/409">#409</a>,
thanks to <a
href="https://github.com/chuenchen309"><code>@​chuenchen309</code></a></li>
<li>🐛 Keep edits to the children of inline and image nodes in
<code>SyntaxTreeNode.to_tokens()</code> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/453">#453</a>,
thanks to <a
href="https://github.com/KennyMcSimpson"><code>@​KennyMcSimpson</code></a>;
edited tokens are copied, so the token stream the tree was built from is
left unchanged (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/464">#464</a>)</li>
<li>🐛 Fix rule chains staying stale after <code>Ruler.enable</code>,
<code>disable</code> or <code>enableOnly</code> raised on an unknown
rule name in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/457">#457</a>,
thanks to <a
href="https://github.com/IlyaKhalafi"><code>@​IlyaKhalafi</code></a>;
reported in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/456">#456</a></li>
<li>🐛 Fix <code>MarkdownIt.enable()</code> and <code>disable()</code>
applying a generator of rule names only to the core chain in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/447">#447</a>,
thanks to <a
href="https://github.com/muneikh"><code>@​muneikh</code></a></li>
<li>🐛 Fix the CLI's interactive mode joining input lines with an extra
newline, which split every line into its own paragraph and broke hard
line breaks, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/425">#425</a>;
reported by <a
href="https://github.com/jamesquilty"><code>@​jamesquilty</code></a> in
<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/172">#172</a></li>
<li>🐛 CLI helpers create a default parser only when none is given in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/455">#455</a>,
thanks to <a
href="https://github.com/Quinnod345"><code>@​Quinnod345</code></a></li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>📚 Add a &quot;Third-party renderers&quot; section (mdformat,
mdit_plain, MyST-Parser) and document <code>RendererProtocol</code> for
writing your own renderer, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/463">#463</a></li>
<li>📚 Document that <code>MarkdownIt</code> passes itself to
<code>renderer_cls</code>, unlike markdown-it's renderer constructor, in
<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/421">#421</a>,
thanks to <a
href="https://github.com/user01010111"><code>@​user01010111</code></a></li>
<li>📚 Clarify that the name given to <code>add_render_rule</code> must
match a token type in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/432">#432</a>,
thanks to <a
href="https://github.com/hikmetba-bit"><code>@​hikmetba-bit</code></a></li>
<li>📚 Fix typos and use HTTPS for the CommonMark spec links in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/402">#402</a>,
<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/407">#407</a>
and <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/408">#408</a>,
thanks to <a
href="https://github.com/nikolas"><code>@​nikolas</code></a>, <a
href="https://github.com/maxtaran2010"><code>@​maxtaran2010</code></a>
and <a
href="https://github.com/deeferentleeg"><code>@​deeferentleeg</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/executablebooks/markdown-it-py/blob/master/CHANGELOG.md">markdown-it-py's
changelog</a>.</em></p>
<blockquote>
<h2>4.3.0 - 2026-11-10</h2>
<p>This release fixes two quadratic-time parsing paths that let crafted
input stall rendering for minutes (security),
aligns several parsing rules with CommonMark 0.31.2 and markdown-it
15.0.x,
turns parser rules that never advance into a <code>RuntimeError</code>
instead of an infinite loop,
makes rendering linear on PyPy and free-threaded CPython, and adds
support for Python 3.14.
Python 3.10 is still supported.
If you write plugins or render rules, or edit
<code>SyntaxTreeNode</code> trees, please read the upgrade notes at the
end.</p>
<h3>🔒 Security</h3>
<ul>
<li>👌 Fix quadratic-time inline parsing of long runs of characters that
start an inline rule without completing one (such as <code>&amp;</code>,
<code>&lt;</code>, <code>~</code> or incomplete entities), which let a
few hundred kilobytes of input stall rendering for seconds to minutes,
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/423">#423</a>,
thanks to <a href="https://github.com/hdimer"><code>@​hdimer</code></a>
(<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/411">#411</a>)</li>
<li>👌 Reject unterminated inline HTML (<code>&lt;!--</code>,
<code>&lt;?</code>, <code>&lt;![CDATA[</code>, <code>&lt;!X</code>) in
constant time when <code>html</code> is enabled (as in the default
<code>commonmark</code> preset), instead of rescanning to the end of the
input for every opener, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/428">#428</a></li>
</ul>
<h3>✨ New</h3>
<ul>
<li>✨ Add <code>--enable-tables</code> to the CLI for file, standard
input and interactive parsing in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/425">#425</a>,
thanks to <a
href="https://github.com/user01010111"><code>@​user01010111</code></a>
(<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/422">#422</a>);
requested by <a
href="https://github.com/hartwork"><code>@​hartwork</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/352">#352</a></li>
<li>⬆️ Add support for Python 3.14 in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/462">#462</a></li>
</ul>
<h3>👌 Improved</h3>
<ul>
<li>👌 Raise <code>RuntimeError</code> instead of looping forever when a
block or inline rule reports a match without advancing (or moves
backwards), or when no block rule matches a line, as markdown-it does,
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/444">#444</a>,
thanks to <a
href="https://github.com/rupayon123"><code>@​rupayon123</code></a>, <a
href="https://github.com/hukkin"><code>@​hukkin</code></a> (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/336">#336</a>)
and <a
href="https://github.com/inchang-ing"><code>@​inchang-ing</code></a> (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/443">#443</a>);
requested by <a
href="https://github.com/acaprino"><code>@​acaprino</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/441">#441</a></li>
<li>👌 Fix quadratic-time HTML rendering on PyPy, GraalPy and
free-threaded CPython by joining the rendered fragments once, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/458">#458</a>,
thanks to <a
href="https://github.com/DicksonWu654"><code>@​DicksonWu654</code></a></li>
<li>👌 Make <code>StateBase.src</code> a plain attribute, for about 4–11%
faster parsing on CPython, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/450">#450</a>,
thanks to <a
href="https://github.com/deadstrobe5"><code>@​deadstrobe5</code></a></li>
<li>👌 Build block line markers with one scan per line instead of one
step per character in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/449">#449</a>,
thanks to <a
href="https://github.com/John-Cusack"><code>@​John-Cusack</code></a></li>
<li>👌 Name the Windows end-of-input keys (Ctrl-Z then Enter) in the
CLI's interactive prompt and <code>-h</code> text in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/463">#463</a></li>
</ul>
<h3>🐛 Fixed</h3>
<ul>
<li>🐛 Fix HTML blocks of types 1–5 (comments, processing instructions,
declarations, CDATA,
<code>script</code>/<code>pre</code>/<code>style</code>/<code>textarea</code>)
ending at a blank line inside a list item or blockquote, porting
markdown-it 14.2.0, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/406">#406</a>,
thanks to <a
href="https://github.com/binggao1230"><code>@​binggao1230</code></a>;
reported by <a
href="https://github.com/Jayman2000"><code>@​Jayman2000</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/377">#377</a></li>
<li>🐛 Fix HTML block starts per CommonMark 0.31.2: lowercase
declarations such as <code>&lt;!doctype html&gt;</code> start a block
and interrupt a paragraph, and tag names match case-insensitively in
ASCII only, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/440">#440</a>,
thanks to <a
href="https://github.com/rupayon123"><code>@​rupayon123</code></a>;
reported by <a
href="https://github.com/p5ych0"><code>@​p5ych0</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/437">#437</a></li>
<li>🐛 Fix code spans rendered as literal backticks after an unclosed
link or image label, and count only U+0020 spaces (not tabs or no-break
spaces) when deciding whether to strip a code span's padding, porting
markdown-it 15.0.1, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/439">#439</a>,
thanks to <a
href="https://github.com/SparkUiX"><code>@​SparkUiX</code></a>; reported
by <a href="https://github.com/felzab"><code>@​felzab</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/438">#438</a></li>
<li>🐛 Trim and split with the CommonMark whitespace set instead of
Python's, so U+001C–U+001F and U+0085 are no longer dropped from
paragraphs, headings, table cells and fence info strings, and distinct
reference labels no longer match each other, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/433">#433</a>,
thanks to <a href="https://github.com/Nexory"><code>@​Nexory</code></a>
(<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/418">#418</a>)</li>
<li>🐛 Preserve IPv6 host brackets (e.g. <code>http://[::1]:8000/</code>)
in normalized link and image URLs, porting markdown-it 15.0.1, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/459">#459</a>,
thanks to <a
href="https://github.com/Jinyong-Li"><code>@​Jinyong-Li</code></a></li>
<li>🐛 Fix task-list detection consuming a literal <code>[
]</code>/<code>[x]</code> at the start of an indented code block in a
list item in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/451">#451</a>,
thanks to <a
href="https://github.com/AryanRG"><code>@​AryanRG</code></a></li>
<li>🐛 Fix an <code>IndexError</code> in the <code>html_block</code> and
<code>heading</code> rules at the end of the input (a table in a
blockquote that ends on <code>&gt;</code>) in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/416">#416</a>,
thanks to <a
href="https://github.com/saket3395"><code>@​saket3395</code></a>;
reported by <a
href="https://github.com/WilcoPancras"><code>@​WilcoPancras</code></a>
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/415">#415</a></li>
<li>🐛 Keep backslash escapes and entities in image alt text (<code>![a
\*
b](https://github.com/executablebooks/markdown-it-py/blob/master/u)</code>
gives <code>alt=&quot;a * b&quot;</code>), porting markdown-it 15.0.0,
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/446">#446</a>,
thanks to <a
href="https://github.com/gyanu2507"><code>@​gyanu2507</code></a>;
reported by <a
href="https://github.com/kdeldycke"><code>@​kdeldycke</code></a> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/445">#445</a></li>
<li>🐛 Keep code span text in image alt text, porting markdown-it 15.0.0,
in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/460">#460</a>,
thanks to <a
href="https://github.com/jayhemnani9910"><code>@​jayhemnani9910</code></a></li>
<li>🐛 Keep hard breaks and inline HTML in image alt text in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/409">#409</a>,
thanks to <a
href="https://github.com/chuenchen309"><code>@​chuenchen309</code></a></li>
<li>🐛 Keep edits to the children of inline and image nodes in
<code>SyntaxTreeNode.to_tokens()</code> in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/453">#453</a>,
thanks to <a
href="https://github.com/KennyMcSimpson"><code>@​KennyMcSimpson</code></a>;
edited tokens are copied, so the token stream the tree was built from is
left unchanged (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/464">#464</a>)</li>
<li>🐛 Fix rule chains staying stale after <code>Ruler.enable</code>,
<code>disable</code> or <code>enableOnly</code> raised on an unknown
rule name in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/457">#457</a>,
thanks to <a
href="https://github.com/IlyaKhalafi"><code>@​IlyaKhalafi</code></a>;
reported in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/456">#456</a></li>
<li>🐛 Fix <code>MarkdownIt.enable()</code> and <code>disable()</code>
applying a generator of rule names only to the core chain in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/447">#447</a>,
thanks to <a
href="https://github.com/muneikh"><code>@​muneikh</code></a></li>
<li>🐛 Fix the CLI's interactive mode joining input lines with an extra
newline, which split every line into its own paragraph and broke hard
line breaks, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/425">#425</a>;
reported by <a
href="https://github.com/jamesquilty"><code>@​jamesquilty</code></a> in
<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/172">#172</a></li>
<li>🐛 CLI helpers create a default parser only when none is given in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/455">#455</a>,
thanks to <a
href="https://github.com/Quinnod345"><code>@​Quinnod345</code></a></li>
</ul>
<h3>📚 Documentation</h3>
<ul>
<li>📚 Add a &quot;Third-party renderers&quot; section (mdformat,
mdit_plain, MyST-Parser) and document <code>RendererProtocol</code> for
writing your own renderer, in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/463">#463</a></li>
<li>📚 Document that <code>MarkdownIt</code> passes itself to
<code>renderer_cls</code>, unlike markdown-it's renderer constructor, in
<a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/421">#421</a>,
thanks to <a
href="https://github.com/user01010111"><code>@​user01010111</code></a></li>
<li>📚 Clarify that the name given to <code>add_render_rule</code> must
match a token type in <a
href="https://redirect.github.com/executablebooks/markdown-it-py/pull/432">#432</a>,
thanks to <a
href="https://github.com/hikmetba-bit"><code>@​hikmetba-bit</code></a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/d504583a458edfa399ee800074244fceec288862"><code>d504583</code></a>
🚀 RELEASE: v4.3.0 (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/466">#466</a>)</li>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/9aa1aae4765cddd5890a53acf0b5b523a12a72eb"><code>9aa1aae</code></a>
👌 Fix quadratic-time rendering on PyPy and other interpreters (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/458">#458</a>)</li>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/17b7227e8b287f1a158914bd02f4b6a3a620c813"><code>17b7227</code></a>
👌 Copy edited tokens in SyntaxTreeNode.to_tokens instead of writing in
place ...</li>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/2542e66f123f4f23f0156b353c53c2fddc536719"><code>2542e66</code></a>
🐛 Fix HTML block start conditions per CommonMark 0.31.2 (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/440">#440</a>)</li>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/cb36d3a1e7bfcc35e07c96d581f4a2e7ade04eda"><code>cb36d3a</code></a>
🐛 FIX: HTML block types 1–5 ending at a blank line inside a container
(<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/406">#406</a>)</li>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/f5af61fc11ca1c8f8601f2cc8df3cb2955a45f6d"><code>f5af61f</code></a>
🐛 FIX: Preserve code spans after unclosed link and image labels (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/439">#439</a>)</li>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/1c70dcec10b245bfac7349a31725cc3a8ee06d40"><code>1c70dce</code></a>
👌 Make <code>StateBase.src</code> a plain attribute (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/450">#450</a>)</li>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/2787da18ed25292da1b44f03385c4fbba159c35a"><code>2787da1</code></a>
🐛 Keep code span text in image alt text (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/460">#460</a>)</li>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/01d077a5dd9c4464d436ba6df5992e359e397e4d"><code>01d077a</code></a>
🐛 FIX: Keep literal task markers in indented code blocks in list items
(<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/451">#451</a>)</li>
<li><a
href="https://github.com/executablebooks/markdown-it-py/commit/2fcca3a970520693269fc3af5734e3e71b8168eb"><code>2fcca3a</code></a>
🐛 Keep backslash escapes and entities in image alt text (<a
href="https://redirect.github.com/executablebooks/markdown-it-py/issues/446">#446</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/executablebooks/markdown-it-py/compare/v4.2.0...v4.3.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `openai` from 3.46.0 to 3.49.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/openai/openai-python/releases">openai's
releases</a>.</em></p>
<blockquote>
<h2>v3.49.0</h2>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.48.0...v3.49.0">3.49.0</a>
(2026-11-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add typed async function tools (<a
href="https://redirect.github.com/openai/openai-python/issues/4264">#4264</a>)
(<a
href="https://github.com/openai/openai-python/commit/ea07983f796144835ab3f2cad38fdca04c997a0e">ea07983</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>encode microphone recordings as valid PCM WAV (<a
href="https://redirect.github.com/openai/openai-python/issues/3900">#3900</a>)
(<a
href="https://github.com/openai/openai-python/commit/13c000d1f32c1e3e3c4b3e16bc6b956dfd4f5216">13c000d</a>)</li>
</ul>
<h2>v3.48.0</h2>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.47.0...v3.48.0">3.48.0</a>
(2026-11-09)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add stream options for agent sessions (<a
href="https://redirect.github.com/openai/openai-python/issues/4251">#4251</a>)
(<a
href="https://github.com/openai/openai-python/commit/c6fc264689d384d5caec150fafa1a9567c4a3f56">c6fc264</a>)</li>
<li><strong>api:</strong> recognize gpt-6-rosalind in beta Responses (<a
href="https://redirect.github.com/openai/openai-python/issues/4257">#4257</a>)
(<a
href="https://github.com/openai/openai-python/commit/3774b7ed775b4bff99b45ef961c5d1f6c82b8e99">3774b7e</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>api:</strong> retain agent scheduling support (<a
href="https://redirect.github.com/openai/openai-python/issues/4255">#4255</a>)
(<a
href="https://github.com/openai/openai-python/commit/a1175a35ba6aa2d6bf98d26088a572ab0c5f4453">a1175a3</a>)</li>
<li><strong>deps:</strong> bump locked multidict from 6.9.1 to 7.1.0 (<a
href="https://redirect.github.com/openai/openai-python/pull/4259">#4259</a>)
(<a
href="https://github.com/openai/openai-python/commit/28cdb1beef191368a61a25bbf56371065387deb4">28cdb1b</a>)</li>
<li><strong>deps-dev:</strong> bump the python-maintenance group with 5
updates (<a
href="https://redirect.github.com/openai/openai-python/issues/4258">#4258</a>)
(<a
href="https://github.com/openai/openai-python/commit/4b10e223452ae7450a5423ee30c13115ae9652ef">4b10e22</a>)</li>
<li><strong>deps-dev:</strong> bump types-requests from 2.33.0.20261006
to 2.33.0.20261030 (<a
href="https://redirect.github.com/openai/openai-python/issues/4260">#4260</a>)
(<a
href="https://github.com/openai/openai-python/commit/de498d730cafa51f5fb0640f0335719957ea1733">de498d7</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>consolidate AGENTS.md guidance (<a
href="https://redirect.github.com/openai/openai-python/issues/4254">#4254</a>)
(<a
href="https://github.com/openai/openai-python/commit/44b1555aff1c22998c008c84400e7acce39fb928">44b1555</a>)</li>
</ul>
<h2>v3.47.0</h2>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.46.0...v3.47.0">3.47.0</a>
(2026-11-05)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add a model option for Responses (<a
href="https://redirect.github.com/openai/openai-python/issues/4249">#4249</a>)
(<a
href="https://github.com/openai/openai-python/commit/090098fd3f00fd46c529c4fd19edc2c762ce7a34">090098f</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/openai/openai-python/blob/main/CHANGELOG.md">openai's
changelog</a>.</em></p>
<blockquote>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.48.0...v3.49.0">3.49.0</a>
(2026-11-10)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add typed async function tools (<a
href="https://redirect.github.com/openai/openai-python/issues/4264">#4264</a>)
(<a
href="https://github.com/openai/openai-python/commit/ea07983f796144835ab3f2cad38fdca04c997a0e">ea07983</a>)</li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>encode microphone recordings as valid PCM WAV (<a
href="https://redirect.github.com/openai/openai-python/issues/3900">#3900</a>)
(<a
href="https://github.com/openai/openai-python/commit/13c000d1f32c1e3e3c4b3e16bc6b956dfd4f5216">13c000d</a>)</li>
</ul>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.47.0...v3.48.0">3.48.0</a>
(2026-11-09)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add stream options for agent sessions (<a
href="https://redirect.github.com/openai/openai-python/issues/4251">#4251</a>)
(<a
href="https://github.com/openai/openai-python/commit/c6fc264689d384d5caec150fafa1a9567c4a3f56">c6fc264</a>)</li>
<li><strong>api:</strong> recognize gpt-6-rosalind in beta Responses (<a
href="https://redirect.github.com/openai/openai-python/issues/4257">#4257</a>)
(<a
href="https://github.com/openai/openai-python/commit/3774b7ed775b4bff99b45ef961c5d1f6c82b8e99">3774b7e</a>)</li>
</ul>
<h3>Chores</h3>
<ul>
<li><strong>api:</strong> retain agent scheduling support (<a
href="https://redirect.github.com/openai/openai-python/issues/4255">#4255</a>)
(<a
href="https://github.com/openai/openai-python/commit/a1175a35ba6aa2d6bf98d26088a572ab0c5f4453">a1175a3</a>)</li>
<li><strong>deps:</strong> bump locked multidict from 6.9.1 to 7.1.0 (<a
href="https://redirect.github.com/openai/openai-python/pull/4259">#4259</a>)
(<a
href="https://github.com/openai/openai-python/commit/28cdb1beef191368a61a25bbf56371065387deb4">28cdb1b</a>)</li>
<li><strong>deps-dev:</strong> bump the python-maintenance group with 5
updates (<a
href="https://redirect.github.com/openai/openai-python/issues/4258">#4258</a>)
(<a
href="https://github.com/openai/openai-python/commit/4b10e223452ae7450a5423ee30c13115ae9652ef">4b10e22</a>)</li>
<li><strong>deps-dev:</strong> bump types-requests from 2.33.0.20261006
to 2.33.0.20261030 (<a
href="https://redirect.github.com/openai/openai-python/issues/4260">#4260</a>)
(<a
href="https://github.com/openai/openai-python/commit/de498d730cafa51f5fb0640f0335719957ea1733">de498d7</a>)</li>
</ul>
<h3>Documentation</h3>
<ul>
<li>consolidate AGENTS.md guidance (<a
href="https://redirect.github.com/openai/openai-python/issues/4254">#4254</a>)
(<a
href="https://github.com/openai/openai-python/commit/44b1555aff1c22998c008c84400e7acce39fb928">44b1555</a>)</li>
</ul>
<h2><a
href="https://github.com/openai/openai-python/compare/v3.46.0...v3.47.0">3.47.0</a>
(2026-11-05)</h2>
<h3>Features</h3>
<ul>
<li><strong>api:</strong> add a model option for Responses (<a
href="https://redirect.github.com/openai/openai-python/issues/4249">#4249</a>)
(<a
href="https://github.com/openai/openai-python/commit/090098fd3f00fd46c529c4fd19edc2c762ce7a34">090098f</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/openai/openai-python/commit/3d573c04ef9ceafcba682ae5a98b3971a062a777"><code>3d573c0</code></a>
release: 3.49.0 (<a
href="https://redirect.github.com/openai/openai-python/issues/4263">#4263</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/ea07983f796144835ab3f2cad38fdca04c997a0e"><code>ea07983</code></a>
feat(api): add typed async function tools (<a
href="https://redirect.github.com/openai/openai-python/issues/4264">#4264</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/13c000d1f32c1e3e3c4b3e16bc6b956dfd4f5216"><code>13c000d</code></a>
fix: encode microphone recordings as valid PCM WAV (<a
href="https://redirect.github.com/openai/openai-python/issues/3900">#3900</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/7e1582ceb3966e2b8a8362e5e7478fcfdcf82f92"><code>7e1582c</code></a>
release: 3.48.0 (<a
href="https://redirect.github.com/openai/openai-python/issues/4252">#4252</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/de498d730cafa51f5fb0640f0335719957ea1733"><code>de498d7</code></a>
chore(deps-dev): bump types-requests from 2.33.0.20261006 to
2.33.0.20261030 ...</li>
<li><a
href="https://github.com/openai/openai-python/commit/28cdb1beef191368a61a25bbf56371065387deb4"><code>28cdb1b</code></a>
chore(deps): bump multidict from 6.9.1 to 7.1.0 (<a
href="https://redirect.github.com/openai/openai-python/issues/4259">#4259</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/4b10e223452ae7450a5423ee30c13115ae9652ef"><code>4b10e22</code></a>
chore(deps-dev): bump the python-maintenance group with 5 updates (<a
href="https://redirect.github.com/openai/openai-python/issues/4258">#4258</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/3774b7ed775b4bff99b45ef961c5d1f6c82b8e99"><code>3774b7e</code></a>
feat(api): recognize gpt-6-rosalind in beta Responses (<a
href="https://redirect.github.com/openai/openai-python/issues/4257">#4257</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/a1175a35ba6aa2d6bf98d26088a572ab0c5f4453"><code>a1175a3</code></a>
chore(api): retain agent scheduling support (<a
href="https://redirect.github.com/openai/openai-python/issues/4255">#4255</a>)</li>
<li><a
href="https://github.com/openai/openai-python/commit/44b1555aff1c22998c008c84400e7acce39fb928"><code>44b1555</code></a>
docs: consolidate AGENTS.md guidance (<a
href="https://redirect.github.com/openai/openai-python/issues/4254">#4254</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/openai/openai-python/compare/v3.46.0...v3.49.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `loguru` from 0.7.3 to 0.8.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Delgan/loguru/releases">loguru's
releases</a>.</em></p>
<blockquote>
<h2>0.8.0</h2>
<ul>
<li>Change the default log format to include the timezone offset since
it produces less ambiguous logs (<a
href="https://redirect.github.com/Delgan/loguru/issues/856">#856</a>,
thanks <a
href="https://github.com/tim-x-y-z"><code>@​tim-x-y-z</code></a>).</li>
<li>Add new <code>logger.reinstall()</code> method to automatically set
up the <code>logger</code> in spawned child processes (<a
href="https://redirect.github.com/Delgan/loguru/issues/818">#818</a>,
thanks <a
href="https://github.com/monchin"><code>@​monchin</code></a>).</li>
<li>Add support for template strings used as log messages (<a
href="https://redirect.github.com/Delgan/loguru/issues/1397">#1397</a>,
thanks <a
href="https://github.com/TurtleOrangina"><code>@​TurtleOrangina</code></a>).</li>
<li>Add <code>record[&quot;template&quot;]</code> that includes the raw,
unformatted message (<a
href="https://redirect.github.com/Delgan/loguru/issues/1349">#1349</a>,
thanks <a
href="https://github.com/sentrivana"><code>@​sentrivana</code></a>).</li>
<li>Fix incorrect microsecond value when formatting the log timestamp
using <code>{time:x}</code> (<a
href="https://redirect.github.com/Delgan/loguru/issues/1440">#1440</a>).</li>
<li>Fix parsing of 12-hour rotation times without seconds (<a
href="https://redirect.github.com/Delgan/loguru/issues/1474">#1474</a>,
thanks <a
href="https://github.com/c-tonneslan"><code>@​c-tonneslan</code></a>).</li>
<li>Fix a <code>&quot;&lt;weekday&gt; at &lt;time&gt;&quot;</code>
rotation firing its first rotation on the creation day instead of the
requested weekday when the time of day was later than the creation time
(<a
href="https://redirect.github.com/Delgan/loguru/issues/1484">#1484</a>,
thanks <a
href="https://github.com/gaoflow"><code>@​gaoflow</code></a>).</li>
<li>Fix hex color short code expansion (<a
href="https://redirect.github.com/Delgan/loguru/issues/1426">#1426</a>,
thanks <a
href="https://github.com/turkoid"><code>@​turkoid</code></a>).</li>
<li>Fix possible regular expression denial of service (ReDoS) when
parsing color markups in strings containing long sequences of
backslashes (<a
href="https://redirect.github.com/Delgan/loguru/issues/1537">#1537</a>).</li>
<li>Fix possible internal error when dealing with (rare) frame objects
missing a <code>f_lineno</code> value (<a
href="https://redirect.github.com/Delgan/loguru/issues/1435">#1435</a>).</li>
<li>Fix a regression preventing formatting of
<code>record[&quot;time&quot;]</code> when using
<code>zoneinfo.ZoneInfo</code> timezones (<a
href="https://redirect.github.com/Delgan/loguru/issues/1260">#1260</a>,
thanks <a
href="https://github.com/bijlpieter"><code>@​bijlpieter</code></a>).</li>
<li>Fix possible <code>ValueError</code> raised on Windows when system
clock was set far ahead in the future (<a
href="https://redirect.github.com/Delgan/loguru/issues/1291">#1291</a>).</li>
<li>Fix externally raised <code>Exception</code> possibly causing
invalid state generating repeated <code>RuntimeError</code> of avoided
deadlock (<a
href="https://redirect.github.com/Delgan/loguru/issues/1335">#1335</a>).</li>
<li>Fix incorrect formatting of negative timezone offsets with
sub-minute components (<a
href="https://redirect.github.com/Delgan/loguru/issues/1500">#1500</a>).</li>
<li>Fix incorrect formatting of negative timestamps (<a
href="https://redirect.github.com/Delgan/loguru/issues/1501">#1501</a>).</li>
<li>Fix incorrect thread and process identifiers of standard logging
<code>Handler</code> records when using <code>enqueue=True</code> (<a
href="https://redirect.github.com/Delgan/loguru/issues/1527">#1527</a>).</li>
<li>Fix <code>catch=True</code> being ignored for exceptions raised
during sink termination, such as file retention or compression triggered
by <code>logger.remove()</code> (<a
href="https://redirect.github.com/Delgan/loguru/issues/1532">#1532</a>).</li>
<li>Fix <code>logger.parse()</code> decoding log files with the locale
encoding instead of UTF-8 when given a path, which failed on non-ASCII
logs written using the file sink default encoding on Windows (<a
href="https://redirect.github.com/Delgan/loguru/issues/1540">#1540</a>).</li>
<li>Fix formatting of truncated <code>ExceptionGroup</code> errors,
which used a plural for a single remaining exception and could miss the
closing ruler (<a
href="https://redirect.github.com/Delgan/loguru/issues/1541">#1541</a>,
thanks <a
href="https://github.com/JeremyL691"><code>@​JeremyL691</code></a>).</li>
<li>Respect the <code>.level</code> attribute of standard logging
<code>Handler</code> used as sink, which was previously ignored (<a
href="https://redirect.github.com/Delgan/loguru/issues/1409">#1409</a>).</li>
<li>Allow the <code>rotation</code> argument of file sinks to accept a
list of rotation conditions, any of which can trigger the rotation (<a
href="https://redirect.github.com/Delgan/loguru/issues/1174">#1174</a>,
thanks <a
href="https://github.com/CollinHeist"><code>@​CollinHeist</code></a>).</li>
<li>Honor the <code>NO_COLOR</code> environment variable which disables
color output by default if <code>colorize</code> is not provided (<a
href="https://redirect.github.com/Delgan/loguru/issues/1178">#1178</a>).</li>
<li>Honor the <code>FORCE_COLOR</code> environment variable which
enables color output by default if <code>colorize</code> is not provided
(<a
href="https://redirect.github.com/Delgan/loguru/issues/1305">#1305</a>,
thanks <a
href="https://github.com/nhurden"><code>@​nhurden</code></a>).</li>
<li>Add requirement for <code>TERM</code> environment variable not to be
<code>&quot;dumb&quot;</code> to enable colorization (<a
href="https://redirect.github.com/Delgan/loguru/issues/1287">#1287</a>,
thanks <a
href="https://github.com/snosov1"><code>@​snosov1</code></a>).</li>
<li>Make <code>logger.catch()</code> usable as an asynchronous context
manager (<a
href="https://redirect.github.com/Delgan/loguru/issues/1084">#1084</a>).</li>
<li>Make <code>logger.catch()</code> compatible with asynchronous
generators (<a
href="https://redirect.github.com/Delgan/loguru/issues/1302">#1302</a>).</li>
<li>Improve feedback for invalid format keys in logger format strings
(<a
href="https://redirect.github.com/Delgan/loguru/issues/1450">#1450</a>,
thanks <a
href="https://github.com/Krishnachaitanyakc"><code>@​Krishnachaitanyakc</code></a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Delgan/loguru/blob/master/CHANGELOG.rst">loguru's
changelog</a>.</em></p>
<blockquote>
<h1><code>0.8.0</code>_ (2026-11-11)</h1>
<ul>
<li>Change the default log format to include the timezone offset since
it produces less ambiguous logs
(<code>[#856](https://github.com/Delgan/loguru/issues/856)
&lt;https://github.com/Delgan/loguru/pull/856&gt;</code><em>, thanks
<code>@tim-x-y-z &lt;https://github.com/tim-x-y-z&gt;</code></em>).</li>
<li>Add new <code>logger.reinstall()</code> method to automatically set
up the <code>logger</code> in spawned child processes
(<code>[#818](https://github.com/Delgan/loguru/issues/818)
&lt;https://github.com/Delgan/loguru/issues/818&gt;</code><em>, thanks
<code>@monchin &lt;https://github.com/monchin&gt;</code></em>).</li>
<li>Add support for template strings used as log messages
(<code>[#1397](https://github.com/Delgan/loguru/issues/1397)
&lt;https://github.com/Delgan/loguru/issues/1397&gt;</code><em>, thanks
<code>@TurtleOrangina
&lt;https://github.com/TurtleOrangina&gt;</code></em>).</li>
<li>Add <code>record[&quot;template&quot;]</code> that includes the raw,
unformatted message
(<code>[#1349](https://github.com/Delgan/loguru/issues/1349)
&lt;https://github.com/Delgan/loguru/issues/1349&gt;</code><em>, thanks
<code>@sentrivana
&lt;https://github.com/sentrivana&gt;</code></em>).</li>
<li>Fix incorrect microsecond value when formatting the log timestamp
using <code>{time:x}</code>
(<code>[#1440](https://github.com/Delgan/loguru/issues/1440)
&lt;https://github.com/Delgan/loguru/issues/1440&gt;</code>_).</li>
<li>Fix parsing of 12-hour rotation times without seconds
(<code>[#1474](https://github.com/Delgan/loguru/issues/1474)
&lt;https://github.com/Delgan/loguru/issues/1474&gt;</code><em>, thanks
<code>@c-tonneslan
&lt;https://github.com/c-tonneslan&gt;</code></em>).</li>
<li>Fix a <code>&quot;&lt;weekday&gt; at &lt;time&gt;&quot;</code>
rotation firing its first rotation on the creation day instead of the
requested weekday when the time of day was later than the creation time
(<code>[#1484](https://github.com/Delgan/loguru/issues/1484)
&lt;https://github.com/Delgan/loguru/pull/1484&gt;</code><em>, thanks
<code>@gaoflow &lt;https://github.com/gaoflow&gt;</code></em>).</li>
<li>Fix hex color short code expansion
(<code>[#1426](https://github.com/Delgan/loguru/issues/1426)
&lt;https://github.com/Delgan/loguru/issues/1426&gt;</code><em>, thanks
<code>@turkoid &lt;https://github.com/turkoid&gt;</code></em>).</li>
<li>Fix possible regular expression denial of service (ReDoS) when
parsing color markups in strings containing long sequences of
backslashes (<code>[#1537](https://github.com/Delgan/loguru/issues/1537)
&lt;https://github.com/Delgan/loguru/issues/1537&gt;</code>_).</li>
<li>Fix possible internal error when dealing with (rare) frame objects
missing a <code>f_lineno</code> value
(<code>[#1435](https://github.com/Delgan/loguru/issues/1435)
&lt;https://github.com/Delgan/loguru/issues/1435&gt;</code>_).</li>
<li>Fix a regression preventing formatting of
<code>record[&quot;time&quot;]</code> when using
<code>zoneinfo.ZoneInfo</code> timezones
(<code>[#1260](https://github.com/Delgan/loguru/issues/1260)
&lt;https://github.com/Delgan/loguru/pull/1260&gt;</code><em>, thanks
<code>@bijlpieter
&lt;https://github.com/bijlpieter&gt;</code></em>).</li>
<li>Fix possible <code>ValueError</code> raised on Windows when system
clock was set far ahead in the future
(<code>[#1291](https://github.com/Delgan/loguru/issues/1291)
&lt;https://github.com/Delgan/loguru/issues/1291&gt;</code>_).</li>
<li>Fix externally raised <code>Exception</code> possibly causing
invalid state generating repeated <code>RuntimeError</code> of avoided
deadlock (<code>[#1335](https://github.com/Delgan/loguru/issues/1335)
&lt;https://github.com/Delgan/loguru/issues/1335&gt;</code>_).</li>
<li>Fix incorrect formatting of negative timezone offsets with
sub-minute components
(<code>[#1500](https://github.com/Delgan/loguru/issues/1500)
&lt;https://github.com/Delgan/loguru/issues/1500&gt;</code>_).</li>
<li>Fix incorrect formatting of negative timestamps
(<code>[#1501](https://github.com/Delgan/loguru/issues/1501)
&lt;https://github.com/Delgan/loguru/issues/1501&gt;</code>_).</li>
<li>Fix incorrect thread and process identifiers of standard logging
<code>Handler</code> records when using <code>enqueue=True</code>
(<code>[#1527](https://github.com/Delgan/loguru/issues/1527)
&lt;https://github.com/Delgan/loguru/issues/1527&gt;</code>_).</li>
<li>Fix <code>catch=True</code> being ignored for exceptions raised
during sink termination, such as file retention or compression triggered
by <code>logger.remove()</code>
(<code>[#1532](https://github.com/Delgan/loguru/issues/1532)
&lt;https://github.com/Delgan/loguru/issues/1532&gt;</code>_).</li>
<li>Fix <code>logger.parse()</code> decoding log files with the locale
encoding instead of UTF-8 when given a path, which failed on non-ASCII
logs written using the file sink default encoding on Windows
(<code>[#1540](https://github.com/Delgan/loguru/issues/1540)
&lt;https://github.com/Delgan/loguru/pull/1540&gt;</code>_).</li>
<li>Fix formatting of truncated <code>ExceptionGroup</code> errors,
which used a plural for a single remaining exception and could miss the
closing ruler
(<code>[#1541](https://github.com/Delgan/loguru/issues/1541)
&lt;https://github.com/Delgan/loguru/pull/1541&gt;</code><em>, thanks
<code>@JeremyL691
&lt;https://github.com/JeremyL691&gt;</code></em>).</li>
<li>Respect the <code>.level</code> attribute of standard logging
<code>Handler</code> used as sink, which was previously ignored
(<code>[#1409](https://github.com/Delgan/loguru/issues/1409)
&lt;https://github.com/Delgan/loguru/issues/1409&gt;</code>_).</li>
<li>Allow the <code>rotation</code> argument of file sinks to accept a
list of rotation conditions, any of which can trigger the rotation
(<code>[#1174](https://github.com/Delgan/loguru/issues/1174)
&lt;https://github.com/Delgan/loguru/issues/1174&gt;</code><em>, thanks
<code>@CollinHeist
&lt;https://github.com/CollinHeist&gt;</code></em>).</li>
<li>Honor the <code>NO_COLOR</code> environment variable which disables
color output by default if <code>colorize</code> is not provided
(<code>[#1178](https://github.com/Delgan/loguru/issues/1178)
&lt;https://github.com/Delgan/loguru/issues/1178&gt;</code>_).</li>
<li>Honor the <code>FORCE_COLOR</code> environment variable which
enables color output by default if <code>colorize</code> is not provided
(<code>[#1305](https://github.com/Delgan/loguru/issues/1305)
&lt;https://github.com/Delgan/loguru/issues/1305&gt;</code><em>, thanks
<code>@nhurden &lt;https://github.com/nhurden&gt;</code></em>).</li>
<li>Add requirement for <code>TERM</code> environment variable not to be
<code>&quot;dumb&quot;</code> to enable colorization
(<code>[#1287](https://github.com/Delgan/loguru/issues/1287)
&lt;https://github.com/Delgan/loguru/pull/1287&gt;</code><em>, thanks
<code>@snosov1 &lt;https://github.com/snosov1&gt;</code></em>).</li>
<li>Make <code>logger.catch()</code> usable as an asynchronous context
manager (<code>[#1084](https://github.com/Delgan/loguru/issues/1084)
&lt;https://github.com/Delgan/loguru/issues/1084&gt;</code>_).</li>
<li>Make <code>logger.catch()</code> compatible with asynchronous
generators (<code>[#1302](https://github.com/Delgan/loguru/issues/1302)
&lt;https://github.com/Delgan/loguru/issues/1302&gt;</code>_).</li>
<li>Improve feedback for invalid format keys in logger format strings
(<code>[#1450](https://github.com/Delgan/loguru/issues/1450)
&lt;https://github.com/Delgan/loguru/issues/1450&gt;</code><em>, thanks
<code>@Krishnachaitanyakc
&lt;https://github.com/Krishnachaitanyakc&gt;</code></em>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/Delgan/loguru/commit/28349be3cd740867bc947eef741c69370ca45735"><code>28349be</code></a>
Bump version to 0.8.0</li>
<li><a
href="https://github.com/Delgan/loguru/commit/f6869a784a7c8aa8e68bf10b4c1941dd95ba9a3f"><code>f6869a7</code></a>
Evaluate every rotation condition so a skipped one cannot fire
spuriously (<a
href="https://redirect.github.com/Delgan/loguru/issues/1">#1</a>...</li>
<li><a
href="https://github.com/Delgan/loguru/commit/f85a973c06d73e3dc9affe8a95e507c1ecf175d9"><code>f85a973</code></a>
Fix formatting of truncated &quot;ExceptionGroup&quot; to match
traceback (<a
href="https://redirect.github.com/Delgan/loguru/issues/1541">#1541</a>)</li>
<li><a
href="https://github.com/Delgan/loguru/commit/26fc3e4a15f2a24d363c62b89c4d8651e4fdfb94"><code>26fc3e4</code></a>
Fix logger.parse() decoding paths with the locale encoding (<a
href="https://redirect.github.com/Delgan/loguru/issues/1540">#1540</a>)</li>
<li><a
href="https://github.com/Delgan/loguru/commit/d776b4233280dee54c34ff5417f79b99531e1832"><code>d776b42</code></a>
Use stable Python 3.15 in tests workflow</li>
<li><a
href="https://github.com/Delgan/loguru/commit/4e7762bcb44862fce877b1f90f19063834509575"><code>4e7762b</code></a>
Fix greedy regex causing quadratic scans and possible reDoS (<a
href="https://redirect.github.com/Delgan/loguru/issues/1538">#1538</a>)</li>
<li><a
href="https://github.com/Delgan/loguru/commit/874aa41019f8a9f943647a0c74445fb7844157da"><code>874aa41</code></a>
Document common causes of <code>OsError</code> at file sink stop (<a
href="https://redirect.github.com/Delgan/loguru/issues/1534">#1534</a>)</li>
<li><a
href="https://github.com/Delgan/loguru/commit/f738c2a80f73e39a3d6c707c2221af52c87cf98d"><code>f738c2a</code></a>
Add capture of exceptions raised during sink termination (<a
href="https://redirect.github.com/Delgan/loguru/issues/1533">#1533</a>)</li>
<li><a
href="https://github.com/Delgan/loguru/commit/bce5dfd3b435b1d1658507d7e095ad7a9919bf1c"><code>bce5dfd</code></a>
Fix thread/process info in standard handlers with
<code>enqueue=True</code> (<a
href="https://redirect.github.com/Delgan/loguru/issues/1529">#1529</a>)</li>
<li><a
href="https://github.com/Delgan/loguru/commit/12b0479b86630d38a3fc42586a545c4e75e00b84"><code>12b0479</code></a>
Reject bool for retention, rotation, and handler ids (<a
href="https://redirect.github.com/Delgan/loguru/issues/1514">#1514</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Delgan/loguru/compare/0.7.3...0.8.0">compare
view</a></li>
</ul>
</details>
<br />

Updates `github-copilot-sdk` from 1.0.29 to 1.0.31
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/github/copilot-sdk/releases">github-copilot-sdk's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.31</h2>
<ul>
<li>Preserve proxy 407 errors for unsupported authentication challenges
without waiting for unused target TLS configuration.</li>
<li>Sandbox config: add
<code>userPolicy.filesystem.enumeratePaths</code> (Windows only),
granting enumerate-only access to the listed paths.</li>
<li>Fixed: an empty <code>sendMessages</code> batch after a completed
Claude turn no longer fails with &quot;This model does not support
assistant message prefill&quot;.</li>
<li>Node.js: when a tool result cannot be sent to the runtime, the SDK
now logs the failure and answers the tool call with the error instead of
leaving it unanswered.</li>
<li>Telemetry header helpers avoid blocking-pool admission when their
executable path requires no filesystem search.</li>
<li>Reasoning effort changes made during a tool call now apply to the
next model request without waiting for another user message.</li>
<li>Session opens that fail during post-construction initialization now
await native-registration retirement before reporting the original
error.</li>
<li>Requests to OpenAI-compatible chat-completions providers no longer
include an internal message field on skill and tool messages.</li>
<li>Creating or resuming a session, or calling setTools, with two tools
of the same name now fails with an error naming the tool, instead of
offering the model the first definition while some SDKs ran the last
handler.</li>
<li>Copilot SDK runtime now advertises MCP Apps only when a renderer is
configured.</li>
<li>A customAgents entry that a built-in agent shadows now gets the
session.custom_agents_updated warning without enableConfigDiscovery, and
subagent.started no longer reports its description for the built-in
run.</li>
<li>Java SDK replaces SpotBugs nullability annotations with JSpecify
1.0.0.</li>
<li>Avoid waiting for MCP transport handshakes during managed-policy
restoration when matching cached tools are available.</li>
<li>Support managed settings assignments that enable plugins by
default.</li>
<li>Python: with the TCP transport, the SDK now reads the runtime's
stderr for as long as the runtime runs, so the runtime can no longer
block on a full pipe, and a runtime that exits before announcing its
port is reported with its exit code and stderr.</li>
<li>.NET: a SessionFs SQLite provider can return SQL NULL as
DBNull.Value (what ADO.NET readers return); such cells are now sent as
null instead of failing the query.</li>
<li>Fixed scheduled and queued SDK-registered slash commands not running
their handlers.</li>
<li>Java and Python: a system message section transform that returns
null or None now leaves the section unchanged, instead of removing it
(Java) or replacing it with &quot;None&quot; (Python).</li>
<li>Fixed <code>disabledSkills</code>,
<code>session.skills.disable</code> and
<code>session.skills.enable</code> to match a skill name in any letter
case, as invoking the skill does, instead of silently changing nothing
when the case differs.</li>
<li>Blob attachments with a MIME type the runtime cannot send now reach
the model as their display name and an &quot;omitted&quot; note instead
of being dropped silently.</li>
<li>A refusal from an OpenAI model is now returned as the assistant's
reply instead of failing the turn with &quot;No response was
returned&quot;.</li>
<li>Prevent initial managed-policy publication from invalidating
repository hook loading during session creation.</li>
<li>Adds experimental <code>decisions.ask</code> and
<code>models.list</code> <code>decisionModels</code> for Copilot
decision models, behind the <code>DECISIONS_API</code> flag.</li>
<li>Session event streams no longer include the internal
<code>session.memory_changed</code> and
<code>instruction.update_delivery</code> events, which the SDKs do not
model (.NET reported them as <code>unknown</code>).</li>
<li>Add experimental <code>memory.storeMemory</code> callback so apps
can store agent memories in their own storage.</li>
<li>Fixed view continuation skipping line suffixes at page boundaries
and explicitly marked partial output from oversized lines.</li>
<li>MAI Code 2 and MAI Code 2 Flash sessions now include model safety
guidance in the existing SDK safety section, independently of identity
customization; their child agents retain the same model policy.</li>
<li>Experimental MCP skills now expose readable server-qualified names,
reuse cached discovery metadata, and avoid consent failures caused by
catalog-only updates.</li>
<li>Session credentials set with <code>accounts.set</code>
(<code>setCredentials</code>) or <code>gitHubAuth.login</code> are now
refused when the supplied login is not the token's user, and no longer
create a second account for a case-only variant of a saved login.</li>
<li>Python, .NET, Go, Rust and Java: when a tool result fails to send,
the SDK now logs the failure and answers the tool call with the error
instead of leaving the turn waiting</li>
<li><code>session.plan.readSqlTodos</code> and
<code>readSqlTodosWithDependencies</code> now read a SessionFs SQLite
database instead of always answering empty.</li>
<li>Rust: the session_fs example now implements every core
SessionFsProvider method and creates a session, and the
SessionFsProvider docs say to implement all ten core methods instead of
only the ones a backing store needs.</li>
<li>The Node.js, Python, Go and Rust manual tool resume samples now set
a permission handler and stop clients gracefully, so they complete
instead of hanging at the permission prompt.</li>
<li>Sessions whose client tools returned contents, causalDependencies or
remediation values outside the event schema can be resumed again,
instead of failing with &quot;Session file is corrupted&quot;.</li>
<li>Add LSP inventory, warmup, startup probes, enablement, and shutdown
APIs.</li>
<li>GitHub service calls made while a session's first sign-in is still
resolving no longer fail with &quot;The bound session credential source
changed&quot;.</li>
<li>.NET: a tool whose AIFunction returns a string, for example through
AIFunctionFactoryOptions.MarshalResult or an AIFunction subclass, now
sends that text to the model as-is instead of as a quoted JSON
string.</li>
<li>Rust, Java, Python: concurrent installs of the bundled CLI no longer
replace a copy another process is already running, which could make the
first connection fail on Linux.</li>
<li>Java: a system message section transform callback that throws or
returns null no longer hangs the session; the section keeps its original
text, as it does when the callback's future fails.</li>
<li>Session setup no longer holds the registry lock while waiting for
another operation on that session.</li>
<li>Live tool discovery no longer reports a closed session when an LSP
client reset publishes its next generation.</li>
<li>Fix diagnostic memory sampling prolonging native runtime
teardown.</li>
<li>Fixed permission requests waiting for host event acknowledgements
after a response was already settled.</li>
<li>Local-model registry lookup honors nonempty COPILOT_HOME even if
HOME and USERPROFILE are unset.</li>
<li>Go: a canvas action that returns a ToolResult without ResultType now
sends its text and images to the model like a tool result, instead of
the whole value as JSON text.</li>
<li>Add an optional <code>permissionMode</code> to session create and
resume configs so a session starts in Manual, Assisted or Allow all mode
before its first turn or resumed work; the applied result is available
on the session.</li>
<li>Replaced the experimental <code>kerberosAuth</code> client option
with an experimental <code>network</code> option whose
<code>resolveProxy</code> and <code>authenticateNegotiate</code>
callbacks let the SDK host decide the runtime's proxies, or leave a
request to the runtime's own proxy resolution, and supply its Kerberos
tokens.</li>
<li>Python: a tool, slash command, elicitation, skill provider or memory
store handler that raises a BaseException that is not an Exception, such
as pytest.fail(), now fails its request instead of leaving it
unanswered.</li>
<li>Allocate exclusively owned temporary directories for macOS
language-server startup probes.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/github/copilot-sdk/commit/15de061c7c871e34698a74e353e9afbf0250a1a3"><code>15de061</code></a>
Update SDK snapshot for Copilot CLI 1.0.109</li>
<li><a
href="https://github.com/github/copilot-sdk/commit/8aed71413479f146592971bb909785ddbab13ac2"><code>8aed714</code></a>
Update SDK snapshot for Copilot CLI 1.0.109-1</li>
<li><a
href="https://github.com/github/copilot-sdk/commit/c07cf0ec4066d6a247ae091c798fa0626edf311f"><code>c07cf0e</code></a>
Update SDK snapshot for Copilot CLI 1.0.109-0</li>
<li><a
href="https://github.com/github/copilot-sdk/commit/d1e6021a43b26e87acfcd43b37988eff09dd8aaf"><code>d1e6021</code></a>
Update SDK snapshot for Copilot CLI 1.0.108-1</li>
<li><a
href="https://github.com/github/copilot-sdk/commit/b35a10e6f23a83d4eaf5267dda8476d394f991ac"><code>b35a10e</code></a>
Update SDK snapshot for Copilot CLI 1.0.108-0</li>
<li>See full diff in <a
href="https://github.com/github/copilot-sdk/compare/v1.0.29...v1.0.31">compare
view</a></li>
</ul>
</details>
<br />

Updates `simplejson` from 4.2.0 to 4.3.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/simplejson/simplejson/releases">simplejson's
releases</a>.</em></p>
<blockquote>
<h2>v4.3.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Preserve serialization errors when context notes fail by <a
href="https://github.com/muneikh"><code>@​muneikh</code></a> in <a
href="https://redirect.github.com/simplejson/simplejson/pull/392">simplejson/simplejson#392</a></li>
<li>Fix encoder crashes when user code mutates containers, and C/Python
mismatches by <a
href="https://github.com/etrepum"><code>@​etrepum</code></a> in <a
href="https://redirect.github.com/simplejson/simplejson/pull/395">simplejson/simplejson#395</a></li>
<li>Detect circular references through fresh iterable iterators by <a
href="https://github.com/xiehuanyi"><code>@​xiehuanyi</code></a> in <a
href="https://redirect.github.com/simplejson/simplejson/pull/391">simplejson/simplejson#391</a></li>
<li>Preserve explicitly supplied false-valued numeric parser callbacks
by <a
href="https://github.com/harbinresearcher"><code>@​harbinresearcher</code></a>
in <a
href="https://redirect.github.com/simplejson/simplejson/pull/394">simplejson/simplejson#394</a></li>
<li>Honor explicit item sort callbacks independently of truth value by
<a href="https://github.com/jadenfix"><code>@​jadenfix</code></a> in <a
href="https://redirect.github.com/simplejson/simplejson/pull/396">simplejson/simplejson#396</a></li>
<li>Read UTF-8 files correctly in simplejson.tool by <a
href="https://github.com/KennyMcSimpson"><code>@​KennyMcSimpson</code></a>
in <a
href="https://redirect.github.com/simplejson/simplejson/pull/397">sim...

_Description has been truncated_

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
v6.19.32
2026-11-15 07:25:34 -08:00
Ali KhokharandClaude 2749d8e9e6 patch: let the installer decide whether fcc-update has work to do (#2445)
## Why

`fcc-update` ran a separate Python checker (`_fcc-update-check`). It
looked up the latest GitHub release, cross-checked PyPI, and handed a
pinned version to the installer. The installer already selects and pins
the release itself, so that work was done twice.

## What

- **Installer: new `--update` / `-Update` flag.** In the pinned
installer, after the release `X` is selected once, it reads the
installed FCC version from `uv tool list`. It checks uv's usual
directories without changing the PATH the installer preserves.
- Installed version equal to `X`: prints "already up to date" and exits
0.
- Installed version newer than `X`, or a local/post build of `X`: prints
"newer than the published version" and exits 0.
- Installed version older than `X`, or a dev/pre-release build of `X`:
prints "update available" and continues the normal pinned install.
  - No uv, FCC not installed, or a version it can't parse: installs.
- **Version consistency.** `X` is the same value used for
`free-claude-code==X`, so the version reported is the version installed.
A release published mid-run can't change it.
- **Without the flag:** the installer behaves as before and always
reinstalls.
- **`fcc-update` / `fcc-update.cmd`:** now just run `main`'s installer
with `--update` plus the user's options. The `.cmd` keeps the
parenthesized block because the installer overwrites the file mid-run.
- **Removed:** the `updater` package, the `_fcc-update-check` entry
point, and their tests.
- **Older installs:** an existing `fcc-update` still works. It uses the
existing `_FCC_INSTALLER_RELEASE` handoff, without `--update`, and
installs the new release.
- **Dropped the PyPI cross-check.** `publish_release.py` uploads to PyPI
before marking the GitHub release latest. The one behavior difference: a
release yanked on PyPI but still "latest" on GitHub would now be
installed.

## Tests

- `smoke/installers/test_update_wrapper.py`, rewritten for the new flow.
It installs a test wheel and runs `fcc-update`. Cases:
- Options and stdin reach the installer, and replacing the script
mid-run is survived.
- Exit codes and errors are passed through, and a failed download stops
the update.
- The real installer runs with real `uv tool list` for update-available,
current and newer-installed.
- `smoke/installers/test_installers.py`: version-decision cases for
`install.sh` and `install.ps1`: not installed, older, dev build,
pre-release, unparseable, current, newer, local build, post-release.
They also check that PATH is unchanged.
- `./scripts/ci.sh --skip playwright`: 11461 passed.
- `FCC_LIVE_SMOKE=1 uv run pytest smoke/installers` on Linux: 386
passed, 384 skipped (Windows-only).
- ⚠️ **The PowerShell paths have not been run.** The Windows installer
smoke tests must be run on Windows before merging.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX)_

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107558445&amp;sig=4d3abfa97fc4efb26c01c26ff5ef1648643e1f9b99deaa8b6f12dda6ed28def4"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2445&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> No actionable defects were found in the
changed update flow.

<details open><summary><h3>Summary</h3></summary>

`fcc-update` now lets the selected release installer decide whether an
update is needed.
- FCC updates now skip installation when the selected release is already
installed.
- The separate FCC update checker is no longer shipped.

Alishahryar1 explicitly acknowledges that dropping the PyPI cross-check
allows a yanked release to be selected when GitHub still marks it
latest. Alishahryar1 also states that the PowerShell paths have not been
run and requests Windows testing before merging.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[fcc-update] --> B[Download main installer]
  B --> C[Select one release]
  C --> D[Run matching installer with update flag]
  D --> E{Installed version}
  E -->|Same or newer| F[Print message and stop]
  E -->|Older or unavailable| G[Install selected release]
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Let the installer decide
whether
fcc-upd..."](https://github.com/alishahryar1/free-claude-code/commit/757fc7913f878ab3f94544c437fb08e260ba8296)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude <noreply@anthropic.com>
v6.19.31
2026-11-15 07:00:40 -08:00
Ali KhokharandClaude e3059fb69e patch: tell outdated Claude Code users to update on system-turn errors (#2443)
## Why

Claude Code builds without the mid-conversation system fallback (e.g.
2.1.288, #2440) send `system` turns inside `messages`. FCC rejects them
with FastAPI's bare 422 `"Input should be 'user' or 'assistant'"`, and
users can't tell what to do.

## What

- New `api/inline_system_turns.py`: when a translated `/v1/messages` or
`/v1/messages/count_tokens` request has a `system` turn in `messages`,
return a 400 `invalid_request_error` in the Anthropic error format.
- With a `claude-cli/X.Y.Z` User-Agent: *"Claude Code X.Y.Z sent a
system message inside `messages`, which Free Claude Code can't accept.
Run `claude update`, then restart Claude Code."*
- Otherwise: a pointer to the top-level `system` field plus the same
update hint.
- Newer Claude Code still drops the turns and retries on 400, so nothing
changes for it.
- Native passthrough (anthropic, openai, openai_api) is unchanged: it
still forwards the turns, and the upstream API decides whether to accept
them.

## Tests

- `test_system_role_messages_are_rejected` now asserts the 400 envelope
and the update hint.
- New tests cover the versioned message, count_tokens, and native
forwarding.
- `./scripts/ci.sh --skip playwright`: 11499 passed.

Refs #2440

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX)_

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107548490&amp;sig=393849de97862e333d968a3bd9abbdce0ded9945ffad5bb280f4460a8e2bd106"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2443&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable issues were found.

<details open><summary><h3>Summary</h3></summary>

Translated Messages and token-count requests now return a clear 400
error when `messages` contains a `system` turn.
- Translated Messages requests explain how to fix inline system turns.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Tell outdated Claude Code
users to
updat..."](https://github.com/alishahryar1/free-claude-code/commit/1d5a6dc5e3b94e7f8cc57aa9aab70011bb02eedc)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude <noreply@anthropic.com>
v6.19.30
2026-11-15 06:36:09 -08:00
Ali Khokhar 66d7b94227 patch: stop disabling Claude Code automatic updates (#2441)
## Why

FCC forces `DISABLE_AUTOUPDATER=1` for Claude Code, preventing its
background updater from keeping users on compatible releases. Issue
#2440 highlights the impact of outdated clients.

## How

Remove the flag from the shared Claude environment used by launched
sessions and generated editor integrations. Update the existing
environment assertions. Explicit user environment values and previously
saved editor settings are preserved, so an existing saved disable flag
still needs to be removed separately.


<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107528865&amp;sig=be4753c6f65c0e0ac0bc8562bbe5b545b34644ec2e60570710ca972123c743b2"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2441&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

FCC stops forcing `DISABLE_AUTOUPDATER=1` through its shared Claude
settings.
- Claude Code sessions and editor settings no longer get an FCC-set
update blocker.

Alishahryar1 explicitly states that previously saved editor flags remain
and must be removed separately. This intentional limitation is not
reported as a defect.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["patch: stop disabling Claude
Code
automa..."](https://github.com/alishahryar1/free-claude-code/commit/2ac1a19bd1e0c16e91751094c661c0dc146f3450)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.29
2026-11-15 06:02:09 -08:00
Ali KhokharandClaude 22c6e247ce Rename README sections to match the Admin UI (#2437)
## Why

Two README headings didn't match the Admin UI pages their sections point
to:

- **Connect Your Client** covered the editor and app connections in
**Admin UI → Integrations**.
- **Optional Integrations** covered the Discord and Telegram bots in
**Admin UI → Messaging**.

A reader looking for "Integrations" ended up at the bots.

## Changes

- **Connect Your Client** is renamed to **Integrations**.
- **Optional Integrations** is renamed to **Use From Your Phone**. It
now opens with one line on what it's for: running coding tasks from
Discord or Telegram and sending voice notes.
- **Use The API Directly** is now its own top-level section.
- The navigation line at the top now uses the new names (Integrations ·
API · Phone).
- The "your phone" text in the Features list links to the new section.
- The Pytest and ty badges now link to their GitHub repositories, like
the uv, Ruff and Loguru badges. Before, Pytest linked to this repo's
test workflow and ty linked to PyPI.
- The old anchors (`connect-your-client`, `optional-integrations`) are
kept so existing links still work.

This changes the README only.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107441102&amp;sig=78d0e597343575c00d3a95a6c52ddbc8c8e9eb5f72dde60ee981759bf42419a3"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2437&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This README-only change appears safe to
merge.

<details open><summary><h3>Summary</h3></summary>

Updates `README.md` section names and navigation to make client
connections and messaging easier to find.
- README navigation now separates integrations, API, and phone guidance.
- The testing and type-checker badges open their tools’ project pages.

No actionable issues found.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Link the Pytest and ty badges
to their
r..."](https://github.com/alishahryar1/free-claude-code/commit/91124715e4a8ea89b62f0c9e89cafe813ce4a6eb)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-15 01:56:46 -08:00
Ali KhokharandClaude 2678abe30c patch: serve Gemini generation under /v1/models for SDKs with a custom base URL (#2436)
## Problem

When a Gemini SDK (for example the Python `google-genai` client) is
given a custom base URL, it calls `/v1/models/{model}:generateContent`.
FCC only served `/v1beta/models/...`, so these clients had to set
`api_version='v1beta'` as well. Antigravity was unaffected because it
already calls `/v1beta`.

## Change

- **Route:** the existing Gemini handler now also answers `POST
/v1/models/{resource:path}`. Both paths share one handler, so
authentication (Bearer, `x-goog-api-key` or `?key=`), validation, `alt`
checks and streaming are identical.
- **Classification:** `generation_api` treats a `/v1/models/...` path as
Gemini only when it ends in `:generateContent` or
`:streamGenerateContent`. This keeps Gemini error envelopes, request IDs
and request-lifetime handling right for Gemini calls. OpenAI paths under
the same prefix, such as `GET /v1/models` or fine-tuned IDs like
`ft:gpt-4o:org::id`, are not affected.
- **README:** removed "Gemini clients also need API version `v1beta`",
and the Gemini `curl` example now uses
`/v1/models/{model}:generateContent`.

## Tests

- The main `tests/api/test_gemini_ingress.py` cases now run on both
prefixes: routing, JSON and SSE, all three credential kinds, wrong and
repeated keys, invalid requests, repeated JSON keys and `?key=` log
redaction.
- Gemini error envelopes are checked under `/v1/models`: 405 for `GET`,
plus the 400 cases.
- New classifier cases cover both prefixes and confirm that
OpenAI-shaped `/v1/models` paths are not classified as Gemini.
- A guard checks that the `GET /v1/models` list is unchanged.
- **Manual check:** I ran the real `google-genai` SDK against a local
FCC with proxy auth on, setting only `base_url`.
- `generate_content` and `generate_content_stream` both returned the
reply.
  - A wrong key raised `ClientError 401 UNAUTHENTICATED`.
- `./scripts/ci.sh --skip playwright`: 11,515 passed, 13 skipped.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX)_



<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107432534&amp;sig=41f9cafc655b4889f453a620bb5eaed9ee6162125cb9e0c1776a3a3f10980770"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2436&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no
actionable issues were found.

<details open><summary><h3>Summary</h3></summary>

Adds Gemini generation under `/v1/models/` while keeping
`/v1beta/models/` available.
- Gemini SDKs can generate replies through `/v1/models`.

No actionable issues found.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart LR
  V1["POST /v1/models/{resource}"] --> Handler["Shared Gemini handler"]
  Beta["POST /v1beta/models/{resource}"] --> Handler
  Handler --> Auth["Check proxy credentials"]
  Auth --> Validate["Check model, action, and body"]
  Validate --> Generate["Generate JSON or SSE"]
  Generate --> Cleanup["Release request lease"]
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["Merge branch &#39;main&#39;
into
claude/service-..."](https://github.com/alishahryar1/free-claude-code/commit/fa872e6712e1d4b7d7bdacbb372e3cba0eb41856)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude <noreply@anthropic.com>
v6.19.28
2026-11-15 01:41:47 -08:00
rahul-fnu 8bedb99bf5 docs: add MAINTAINERS file (#2435) 2026-11-15 00:16:34 -08:00
Ali Khokhar 457463aacb patch: launch Antigravity with session-only settings (#2434)
## Why

Antigravity 1.5.9 supports session-only settings, so `fcc-agy` no longer
needs to change the user's saved provider or require an Admin
connection. The old integration card and connection workflow can be
removed.

## How

Pass FCC's provider and model catalog through a temporary `--settings`
file, retain explicit default model selection, and require Antigravity
1.5.9 in the launcher and installers. Forward user arguments unchanged
after FCC's defaults and leave parsing and precedence to Antigravity.
Deliberately supplying another `--settings` uses native last-value-wins
behavior and can replace FCC's provider and catalog; this is an
explicitly accepted override, with no wrapper argument scanner or
settings merge.

On the first updated launch, restore a recorded previous provider and
remove only recognized FCC-owned model entries. Reuse the same cleanup
during uninstall. Remove the card, dialog, connection APIs, runtime
state, and obsolete instructions.

Validation: the main suite passed 11,451 tests; 32 Windows installer
checks passed; formatting, lint, types, and browser checks passed after
fixing the new browser test callback. The latest focused launcher,
migration, uninstall, and API run passed 99 tests. Installed-CLI smoke
passed 12 of 18 scenarios. The six Chat Completions reasoning-replay
failures also reproduce with the previous persistent setup on 1.5.9;
provider replay changes are outside this PR. POSIX installer smoke was
not run on this Windows host.



<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107390679&amp;sig=823198d7507307243a25e9018e88957961412ede372be04b6590e29a6ed3a324"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2434&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge; no new
blocking issue was found.

<details open><summary><h3>Summary</h3></summary>

Antigravity now receives FCC’s provider and models through temporary
session settings instead of a saved connection.
- Antigravity gets FCC’s provider and models from temporary session
settings.
- FCC retires its old saved Antigravity connection during launch or
uninstall.
- Antigravity no longer has a connection card or Admin connection
routes.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[fcc-agy] --> B[Check Antigravity version]
  B --> C[Load FCC model catalog]
  C --> D[Clean up recorded old connection]
  D --> E[Write temporary session settings]
  E --> F[Start Antigravity with defaults then user arguments]
  F --> G[Wait for Antigravity to exit]
  G --> H[Remove temporary settings]
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (3) · Last reviewed commit: ["Let Antigravity own native
argument
pars..."](https://github.com/alishahryar1/free-claude-code/commit/4b87eb34d149ae3fa41738acc0e4d03fe11cf00d)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->
v6.19.27
2026-11-15 00:06:33 -08:00
Ali KhokharandClaude 2422b7e645 patch: replace images a model rejects with a note instead of failing every turn (#2433)
## Why

Fixes #2414 and #2386. When a text-only model rejects an attached image,
the request fails. Clients send the whole conversation every turn, so
the image goes out again and every later turn fails the same way. In
Claude Code the user has to start over.

Hosted NVIDIA NIM reports this as `Received multimodal data but
multimodal processing is not enabled` **inside an HTTP 200 stream**, not
as an HTTP 400. #2431 only handles `BadRequestError`, so it does not
change what users see for hosted NIM.

## How

When the upstream rejects media, FCC retries once with each image, audio
or video part replaced by a note:

> [image omitted: this model cannot accept image input. Tell the user
the image was not seen.]

The note tells the model what was removed and asks it to tell the user.
FCC also remembers the model until restart, so later requests for it go
out with the note from the start, without a failed call first.

- Recognized rejections:
- vLLM's multimodal error, including hosted NIM, either as an HTTP 400
or inside a stream.
  - DeepSeek's `does not support image inputs`.
  - OpenRouter's 404 when no endpoint for the model accepts images.
- Applies to every Chat Completions upstream, so all four APIs are
covered: Messages, Chat Completions, Responses and Gemini.
- Images are still forwarded to every model. They are only replaced
after that model's upstream has rejected them, and models that accept
images keep receiving them.
- A rejection on a request with no media is not retried.

This reverses the #1793 rule that an image rejection is final. That rule
came from a bug where images were stripped based on the model's name, so
vision models lost them without anyone knowing. That cannot happen here.

## Tests

- `tests/api/test_image_rejection_recovery.py`:
- All four APIs, with the rejection both inside a stream and as an HTTP
400.
  - The image is retried as a note and the reply succeeds.
  - The next request is sent with the note from the start.
  - A model that accepts images still receives them.
  - A rejection with no media is not retried.
- `tests/providers/test_openai_chat_media_support.py`: which errors
count as rejections, how parts are replaced (tool-result images keep
their history marker), and what the memory learns.
- The DeepSeek and OpenRouter tests that pinned the old rule now check
that the image is retried as a note.
- `./scripts/ci.sh --skip playwright` passes.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX)_

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107362920&amp;sig=2708adf8d54319565021be3169c805975795d11bd47890321e6a598dcff5d5df"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2433&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

The PR recovers from recognized media rejections by replacing media with
explanatory notes and retrying within the existing attempt budget.
- Requests keep going after a model rejects attached media.

Alishahryar1 explicitly describes replacing every image, audio, or video
part after a recognized rejection as intentional behavior.
</details>

<details open><summary><h3>Diagram</h3></summary>

```mermaid
%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Request with media] --> B{Model remembered?}
    B -->|Yes| C[Replace media with notes]
    B -->|No| D[Send original request]
    C --> E[Send request]
    D --> F{Recognized media rejection?}
    F -->|No| G[Use normal response or failure path]
    F -->|Yes| H{Correction still allowed?}
    H -->|Yes| I[Remember model and replace media]
    I --> J[Retry within attempt budget]
    H -->|No| G
```
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Replace rejected images for
DeepSeek
and..."](https://github.com/alishahryar1/free-claude-code/commit/f3a5a4856fdd37068b7fc59cb740c8c9ce0bafae)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
v6.19.26
2026-11-14 22:27:28 -08:00
Ali KhokharandClaude ce6e0cbca2 Document calling FCC's four APIs directly (#2432)
## Summary

- Features: add a bullet saying any model works through any of the four
APIs (Anthropic Messages, OpenAI Chat Completions, OpenAI Responses,
Gemini), linking to the new section.
- Add **Use The API Directly** under Connect Your Client: base URL, the
Bearer auth header, how to list models (`/v1/models?view=messages`), one
`curl` example per API with each route linked to its official docs, and
how to stream.
- Replace the Chat-only paragraph at the end of "Run Your Coding Agent"
with a pointer to the new section.

README only; no release.

## Testing

Ran a local FCC against a stub Chat Completions upstream:

- All four examples return 200 as JSON and streamed (Gemini via
`:streamGenerateContent?alt=sse`). `/v1/responses` only streams, so the
README says so instead of promising JSON.
- With Proxy Authentication on, every endpoint and `/v1/models` returns
401 without the header and 200 with `Authorization: Bearer <token>`.
- The Anthropic docs link resolves to the Messages API reference. The
OpenAI and Google docs links could not be fetched from the test
environment and are unchecked.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX)_



<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107348993&amp;sig=c9b6b9b4bda315dce8ef6a21e96460e36be83cb6f0f16fbe148d09dabb317709"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2432&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The documentation changes appear safe
to merge.

<details open><summary><h3>Summary</h3></summary>

Documents direct calls to FCC’s four APIs.
- Clients can follow the README to call FCC through four APIs.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (2) · Last reviewed commit: ["Give each SDK family its base
URL in
the..."](https://github.com/alishahryar1/free-claude-code/commit/cc226d85742dd1f019ecbd7c2844d2d33ddec6c8)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-14 21:49:51 -08:00
Ali KhokharandClaude 75dbb038f8 patch: Accept system prompts only in the top-level system field (#2430)
## Why

FCC's `Message` model accepted `role: "system"` inside `messages`, which
the Anthropic API does not. Each outgoing format then handled these
turns in its own way:

| Outgoing format | Old handling |
|---|---|
| OpenAI Chat | Converted to user text in place, then merged with
neighbouring user messages |
| OpenAI Responses | Moved up into `instructions` |
| Gemini native | Moved up into `systemInstruction` |
| Native Messages | Accepted only at the start of `messages`; later ones
rejected |

Recent Claude Code versions send these turns mid-conversation behind an
experimental feature, labelled `mid-conv-system` in its logs. Besides
plain text, they carry `tool_addition`/`tool_removal` blocks, `clear_at`
and per-turn effort settings. When a server answers one with a 400 or
422, Claude Code retries without system turns and keeps them off until
`/clear` or `/compact`.

## Change

- `Message.role` is now `"user" | "assistant"`. A system-role message
fails validation, so the endpoint answers 422 and Claude Code falls back
on its own. That costs one rejected request per conversation.
- System prompts go only through the top-level `system` field, as in the
Anthropic API.
- The four per-format handlers are removed, along with the
safety-classifier detection's inline-system path and the now-unused
helper `_message_text`.
- Supersedes #2404.

Out of scope: the Responses incoming side, which converts OpenAI
`system`/`developer` input items, is unchanged.

## Tests

- New API test: a system turn at the start or mid-conversation, as text
or with `clear_at`, gets 400/422 and never reaches a provider. Before
this change all four cases were accepted.
- Model test: `MessagesRequest` and `TokenCountRequest` reject
system-role messages.
- Tests covering only the removed behaviour are deleted. The native
Messages test now checks a top-level system list that includes
`cache_control`.
- `./scripts/ci.sh --skip playwright`: 11449 passed, 13 skipped.

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX)_

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107291683&amp;sig=fe24a2461d6038159c38aba32887d123cdaf367a71301c78287d0319850d5825"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2430&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> The PR appears safe to merge.

<details open><summary><h3>Summary</h3></summary>

This PR rejects system-role turns in compatibility Messages requests and
removes their per-format conversions.
- Anthropic message requests reject system turns inside messages.
- Safety checks use only the top-level system prompt.

Alishahryar1 explicitly describes rejection of inline system turns as
intentional and leaves incoming Responses conversion unchanged.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Accept system prompts only in
the
top-le..."](https://github.com/alishahryar1/free-claude-code/commit/7ecb09cc77cbc6d7218151bebeca550b73912f99)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude <noreply@anthropic.com>
v6.19.25
2026-11-14 19:39:15 -08:00
Ali KhokharandClaude fa11131e71 Clear every catalog provider key before admin config tests (#2429)
## Problem

`_clear_process_config` in `tests/api/test_admin.py` cleared a hardcoded
list of provider keys. Any other provider key exported in the shell
leaked into the settings the admin tests build. That covered
`GEMINI_API_KEY`, `GROQ_API_KEY` and 45 other catalog credentials,
including `OPENAI_API_KEY`, `DEEPSEEK_API_KEY` and `XAI_API_KEY`. The
affected `*_writes_*_key_and_masks_preview` tests then returned
`applied: false`.

## Change

The helper already loops over `PROVIDER_CATALOG` to clear proxy aliases.
The same loop now also clears each provider's `credential_env`, which
removes the seven hardcoded credential entries the catalog now covers.
New providers are covered automatically.

## Tests

- Exporting all 54 catalog credential variables at once: 5 admin tests
failed on main, and all 206 pass with this change.
- `./scripts/ci.sh --skip playwright`: 11465 passed, 13 skipped.
- The change touches tests only, so the title has no release prefix.
`check_version_policy.py` passes with "no release".

---
_Generated by [Claude
Code](https://claude.ai/code/session_01FKcCaLSMqa6bZDWkzJEVtX)_

<!-- greptile_comment -->

<!-- greptile_summary -->

<h2><a
href="https://app.greptile.com/api/retrigger?id=107282900&amp;sig=55e72d941e4f308bc276a8c0b7a15f37ebe5257ccae310ae6aba64dab82a930a"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/RetriggerDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"><img
alt="Retrigger"
src="https://greptile-static-assets.s3.amazonaws.com/badges/Retrigger.svg?v=2"
align="right"></picture></a><a
href="https://app.greptile.com/-/switch-tenant?tenant=alishahryar1&amp;next=%2FAlishahryar1%2Ffree-claude-code%2Fpull%2F2429&amp;utm_source=greptile_review&amp;utm_medium=github&amp;utm_campaign=view_in_greptile"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptileDark.svg?v=2"><source
media="(prefers-color-scheme: light)"
srcset="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"><img
alt="View in Greptile"
src="https://greptile-static-assets.s3.amazonaws.com/badges/ViewInGreptile.svg?v=2"
align="right"></picture></a>Confidence Score: 5/5</h2>

<!-- greptile-impact-verdict --> This test-only change appears safe to
merge.

<details open><summary><h3>Summary</h3></summary>

`_clear_process_config` now clears each provider's `credential_env` from
`PROVIDER_CATALOG`, replacing seven hardcoded entries.
- Admin config tests clear every provider credential listed in the
catalog.
</details>

<!-- greptile_confidence_score:5 -->

<sub>Reviews (1) · Last reviewed commit: ["Clear every catalog provider
key before
..."](https://github.com/alishahryar1/free-claude-code/commit/13fc12379eaa5443bbb4bade525c7881df264eb4)
· [Reviewed by
Greptile](https://www.greptile.com/?utm_source=greptile_review&utm_medium=github&utm_campaign=review_public&utm_content=alishahryar1/free-claude-code)</sub>

<!-- /greptile_comment -->

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-14 18:55:38 -08:00