Skip to content

fix(anthropic): native Claude models show incorrect availability - #129346

Merged
steipete merged 26 commits into
mainfrom
codex/repair-native-anthropic-availability-main
Aug 25, 2026
Merged

steipete merged 26 commits into
mainfrom
codex/repair-native-anthropic-availability-main

Conversation

@steipete

@steipete steipete commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where users selecting a locally authenticated Claude CLI runtime saw Claude models reported unavailable, while logged-out Claude installations could still receive a misleading native-auth readiness marker. The same regression broke native authentication in status and doctor flows, left stale tests copying Claude credentials, and pushed the public plugin SDK over its export budget.

Why This Change Was Made

Claude owns its login and credentials. Its lightweight provider now verifies claude auth status --json with the same sanitized environment as actual execution, memoizes the secret-free result once per exact configuration generation, and shares that fact between discovery and runtime without subprocesses on repeated requests. Gateway model discovery now reads enabled bundled manifests rather than the installed-plugin index, and generic auth availability checks preserve the exact native runtime owner before considering provider aliases.

The obsolete copied-credential fixtures are replaced by truthful prepared runtime facts and an actually registered CLI backend. Status now displays the active native runtime, doctor no longer expects retired copied Claude OAuth profiles, and onboarding preserves its real bounded native-login probe while removing an obsolete Claude credential-file fixture. A concurrently landed Gateway fallback that treated plugin-manifest presence as proof of login, including its later extracted resolver in #129374, is removed after reproducing its logged-out false positive; authentication remains exclusively owned by the verified prepared native runtime.

The same original migration also eagerly loaded provider retirement policy for every stored credential before rejecting transport-incompatible credentials, then activated cold provider runtime again for compatible credentials. OpenAI OAuth profiles consequently triggered unnecessary full-plugin discovery during both API-key-only audio requests and ordinary OAuth refresh, repeatedly hanging hosted tests for more than 292 seconds. Generic auth resolution now rejects incompatible credentials before consulting retirement policy. Concurrent upstream #129387 supplies the canonical plugin-owned lightweight policy surface for bundled providers and preserves retirement declarations from already-loaded external providers; its production implementation and bundled regression are integrated wholesale, while this change retains additional active-external and unloaded-external lifecycle coverage. Refresh failures remain terminal, and retired Claude credentials still fail closed at their credential owner before any read or refresh. Custom-provider onboarding validates authored aliases directly against configuration-owned identities rather than discovering manifests merely to detect duplicates. Embedded compaction likewise looks up actual configured aliases directly instead of invoking provider normalization for literal model overrides whose parsed result was always discarded. Selected-agent and inherited aliases, real configured compaction aliases, credential boundaries, and existing runtime-specific dynamic model normalization remain intact. The redundant retirement wrapper is removed. Two unshipped, unused type reexports are removed while the shipped compatibility reader stays intact. No token files are read, no credentials are persisted, disabled plugins remain unavailable, and native Claude authentication never authorizes direct Anthropic API requests.

The original migration also imported the entire provider-authentication SDK into supposedly lightweight Anthropic configuration defaults solely to read a plugin-owned retired-profile identifier. The newer policy artifact repeated that import and loaded the full CLI execution/approval runtime solely for an immutable thinking-profile constant. Synchronous policy materialization consequently reentered authentication, configuration, provider loading, and ESM-only dependencies, producing 120-second test stalls across configuration, cron, permissions, onboarding, and worktree flows. Both immutable facts now live in the existing dependency-free Anthropic constants owner; configuration defaults and public policy read them directly while the existing CLI re-export, public SDK identifier, retired-profile value, Mythos/Fable behavior, and external-provider hooks remain unchanged.

An inherited Control UI pairing-test teardown race is also repaired at its test-fixture owner: the suite explicitly registers the sidebar component, following its existing sibling fixture, instead of polling asynchronous custom-element registration after teardown. Production lazy loading and every operator-access and actual lazy-dialog assertion remain unchanged.

A concurrently merged Codex startup-retry regression test was excluded by the generic app-server fallback but missing from its dedicated startup-support shard. The existing startup owner now covers its bounded startup test family, preserving the upstream contributor's actual retry implementation and test unchanged while preventing the full-suite ownership audit from silently dropping new startup siblings.

The final remaining agent-tools timeout came from message-tool session inference asking bundled-plugin discovery for WebChat itself, even though WebChat is an internal channel that can never have an external channel plugin and the inferred result was subsequently discarded. The canonical session-delivery owner now infers external delivery only when the current source is internal and rejects internal session routes before plugin-specific target formatting. Automatic WebChat final replies, Discord and Teams user-prefixed direct targets, Telegram-native targets, account-scoped secrets, and cross-channel capabilities remain unchanged.

User Impact

Authenticated Claude CLI models appear available, work through their native runtime, and display the correct native authentication status. Logged-out, unreadable, or disabled Claude integrations remain unavailable with no accidental credential forwarding, repeated model-list requests do not repeatedly launch the Claude CLI, and doctor no longer treats obsolete copied credentials as required state.

Evidence

  • Before: six independent failing owner-boundary regressions covering inherited credential leakage, logged-out/unreadable false readiness, exact-owner auth loss, configured Gateway projection, and the full Gateway RPC.
  • After: 570 tests passed across 22 exact-head Claude auth probe, generic cross-provider credential profiles, terminal OAuth refresh, bundled retirement policy, active/cold external provider retirement, provider discovery/runtime, migration, CLI backend, plugin setup ownership, full Gateway RPC, complete native onboarding owner, custom provider onboarding, authored alias ownership, permission clamps, compaction runtime ownership, cold-import boundaries, shared skill-authoring standards propagation, and shipped dynamic-provider compatibility suites. The canonical Control UI runner separately passed all 16 pairing-permission and sibling dock tests. Earlier expanded proof passed 979 tests across 30 suites; the separate canonical media-auth shard passed all 13 tests, and all 11 dedicated shipped dynamic-provider model-normalization tests passed unchanged.
  • The exact isolated configuration/defaults CI project improved from 100.90 seconds to 33.23 seconds with all 21 original tests unchanged. Its direct cold provider-policy invocation previously failed with an ESM package-export error and now succeeds normally. A focused architecture regression first failed in 3 milliseconds, then passed while proving lightweight Anthropic defaults and policy never import credential or CLI-execution runtime.
  • The two original cron warmup suites now pass all 17 tests in 47.94 seconds under their unchanged canonical threaded/runtime-setup configuration. The original onboarding/worktree shards pass all 18 tests in 53.76 seconds under their canonical commands configuration. The original isolated two-test permission sequence passes in order and preserves plugin-clamped execution authority.
  • The exact hosted OpenAI audio OAuth regression improved from 292,306 milliseconds and a timeout to 126 milliseconds; a new owner-level regression first failed in 35 milliseconds, then passed while proving provider retirement discovery is never invoked for incompatible credentials.
  • A second owner-level regression first failed in 21 milliseconds, then passed while proving unloaded external providers never activate for retirement inspection and active external providers retain their declared retired profiles. The previously 221,621-millisecond hosted OAuth refresh failure now completes normally without falling back to an environment API key.
  • A custom-onboarding owner regression first failed in 18 milliseconds by detecting cold plugin-manifest discovery during authored alias validation, then passed while proving selected-agent conflicts, inherited global conflicts, same-reference reuse, and zero manifest access. Existing external-provider runtime model-normalization hooks remain fully intact.
  • A compaction-owner regression first failed in 14 milliseconds when a literal model override unnecessarily loaded plugin manifests. It now passes while proving zero manifest or provider-runtime activation; same-provider aliases, cross-provider aliases, locked selections, and cross-provider credential isolation remain covered. Upstream task-scoped process fixtures and guaranteed cleanup are preserved exactly.
  • The hosted Control UI pairing teardown failure is replaced by the existing canonical explicit-sidebar fixture; all seven operator role/access combinations, disconnected state, downgrade behavior, genuine lazy pairing-dialog loading, failure/retry handling, and settings assertions remain covered. The fix removes six test lines and changes no UI production code.
  • The complete Vitest project ownership audit passes all 23 checks after its exact hosted missing-startup-retry failure. The canonical dedicated Codex startup support lane executes both the existing startup suite and the actual newly merged retry suite: 27 tests pass across both files. Direct upstream app-server SQLite startup and initialization contracts were inspected; upstream Codex production and contributor tests are preserved unchanged.
  • The original hosted WebChat targetless source-reply integration failed at its 120-second limit; an owner-level regression independently proved it unnecessarily looked up a nonexistent bundled webchat plugin, then passed after that lookup was removed. The genuine canonical agent-tools runner now passes the original real source-reply integration and the complete message-tool security/routing suite: 240 tests across two files. The refreshed protected provider/native/Gateway owner suite separately passes 494 tests across 17 files.
  • An inherited skills test now verifies the entire authoritative shared authoring-standard prompt instead of two stale copied snippets; the independently landed Doctor direct-order fix is preserved exactly with contributor credit.
  • Configuration-generation test proves eight repeated discovery/runtime reads perform one bounded auth-status probe, replacement configuration reprobes, and missing configuration fails closed.
  • Disabled plugin, logged-out CLI, direct Anthropic credential isolation, custom executable, inherited credential sanitization, and preserved CLAUDE_CONFIG_DIR are covered.
  • Public SDK surface check passes with exactly 4,340 exports and 50 wildcard reexports; formatter and git diff --check pass.
  • Independent security/architecture review approved; fresh authenticated Codex autoreview reports no actionable findings.
  • Production versus the latest merged upstream base: +141/-196 (net -55); tests and test support: +398/-134 (net +264). Concurrent upstream bundled provider-policy, Doctor, status, turn-model, scoped compaction-fixture, Codex startup retry, Discord, Telegram, and Gateway cleanup changes and contributor history are preserved without duplication.
  • Exact reviewed head: 174012ceeafa1659ef0e12d49886899f2d0bc03a.
  • Related: test(ci): stabilize exact-head validation owners #129322 (integrates its reviewed native status and doctor repair).

@clawsweeper

clawsweeper Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime agents Agent runtime and tooling extensions: anthropic labels Aug 25, 2026
@steipete
steipete marked this pull request as ready for review August 25, 2026 13:19
@steipete
steipete requested a review from a team as a code owner August 25, 2026 13:19
@openclaw-barnacle openclaw-barnacle Bot added the maintainer Maintainer-authored PR label Aug 25, 2026
steipete and others added 2 commits August 25, 2026 06:45
Keep the released Claude CLI credential reader source-compatible through its documented v2026.10 retirement window and explicitly account for both retained type exports in the public SDK budget.

Co-authored-by: Tak Hoffman <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added the scripts Repository scripts label Aug 25, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@roboclaw-bot
roboclaw-bot force-pushed the codex/repair-native-anthropic-availability-main branch from f5f1f36 to e42bfd7 Compare August 25, 2026 13:54
@openclaw-barnacle openclaw-barnacle Bot removed the scripts Repository scripts label Aug 25, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

@roboclaw-bot @Takhoffman Thanks for checking the Claude compatibility boundary. I preserved your commit and co-author attribution in the branch history, then verified both stable v2026.7.1 and v2026.6.34 directly: their public provider-auth SDK exports the readClaudeCliCredentialsCached function, but neither exports ClaudeCliCredential or ClaudeCliCredentialReadOptions. Those two type exports were first introduced in the unreleased Aug 25 #129052 change, and no stable tag contains that commit. The shipped reader remains available through its documented v2026.10 retirement window; only the two never-shipped types are removed, so the existing public SDK budget correctly stays at 4,340 without increasing its baseline.

@roboclaw-bot
roboclaw-bot force-pushed the codex/repair-native-anthropic-availability-main branch from e7fa5e1 to 5c96c47 Compare August 25, 2026 14:11
@openclaw-barnacle openclaw-barnacle Bot removed gateway Gateway runtime agents Agent runtime and tooling extensions: anthropic labels Aug 25, 2026
…nthropic-availability-main

# Conflicts:
#	src/agents/embedded-agent-runner/compaction-runtime-context.test.ts
@openclaw-barnacle openclaw-barnacle Bot added the app: web-ui App: web-ui label Aug 25, 2026
…nthropic-availability-main

# Conflicts:
#	src/plugins/provider-runtime.ts
…nthropic-availability-main

# Conflicts:
#	src/auto-reply/reply/commands-learn.test.ts
…pair-native-anthropic-availability-main

# Conflicts:
#	extensions/anthropic/cli-constants.ts
#	extensions/anthropic/config-defaults.ts
#	extensions/anthropic/provider-policy-api.ts
#	test/vitest/vitest.extension-codex-app-server-attempt-support.config.ts
@openclaw-barnacle openclaw-barnacle Bot removed the app: web-ui App: web-ui label Aug 25, 2026
@steipete
steipete merged commit fee4e77 into main Aug 25, 2026
350 of 352 checks passed
@steipete
steipete deleted the codex/repair-native-anthropic-availability-main branch August 25, 2026 21:42
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 26, 2026
…nclaw#129346)

* fix(anthropic): verify native Claude login before publishing runtime auth

* fix(status): preserve native Claude CLI authentication labels

* refactor(gateway): remove retired native Claude auth projection

* fix(plugin-sdk): retain Claude compatibility types

Keep the released Claude CLI credential reader source-compatible through its documented v2026.10 retirement window and explicitly account for both retained type exports in the public SDK budget.

Co-authored-by: Tak Hoffman <[email protected]>

* fix(plugin-sdk): preserve only shipped Claude compatibility exports

* fix(ci): align Claude native-auth contracts

Retire Doctor fixtures for credentials now owned by Claude CLI and remove the two never-shipped compatibility type exports while retaining the shipped reader through its documented v2026.10 window.

Co-authored-by: Tak Hoffman <[email protected]>

* test(onboard): remove retired Claude credential file fixture

* fix(auth): skip incompatible profiles before plugin discovery

* fix(auth): avoid cold plugin activation for retired profiles

* test: repair upstream doctor and learning regressions

* fix(onboard): validate authored aliases without plugin discovery

* fix(agents): resolve compaction aliases without plugin discovery

* test(ui): register pairing sidebar before lifecycle teardown

* fix(anthropic): keep provider policy imports runtime-free

* test(vitest): cover codex startup retry test family

* fix(agents): avoid plugin discovery for internal sessions

---------

Co-authored-by: roboclaw-bot <[email protected]>
Co-authored-by: Tak Hoffman <[email protected]>
obviyus added a commit that referenced this pull request Oct 6, 2026
…tartup (#166305)

## What Problem This Solves

Fixes: Claude CLI models stay hidden or disabled in the Control UI model picker and `openclaw models list` when Claude Code was logged out at Gateway start and the user logs in afterwards; only a Gateway restart or `models.list {refresh: true}` fixed it. A logout after startup was never reflected either.

## User Impact

User impact: after `claude auth login` (or a logout), the picker shows the right Claude CLI models within about a minute, without restarting the Gateway or reloading the page. How a logged-out Claude is displayed is unchanged.

## Why This Change Was Made

- The picker's availability filter already counts Claude Code's own login: `evaluateCliRuntimeModelAuthAvailability` reads the `claude-cli` auth mode from the `claude auth status --json` probe in `extensions/anthropic/provider-discovery.ts`.
- #129346 (fee4e77) made that probe run once per config generation so that "repeated model-list requests do not repeatedly launch the Claude CLI". #139757 (d40d26a) shared it across agent workspaces after 632-agent rosters timed out at startup, and documented that "explicit catalog/auth captures recheck availability".
- Nothing on the ordinary-read path rechecked it: `refreshExpiredModelCatalog` only renews providers with an inventory `expiresAt`, and the static `claude-cli` provider never gets one. So the startup result stayed for the whole generation.

The existing ordinary-read renewal hook now also rechecks CLI-backend native logins (CLI backends whose manifest declares `syntheticAuthRefs`, which today means `claude-cli`). The recheck runs in the background, deduplicates through the worker's existing `loadAuth`, and publishes a new catalog through the existing native-publication path only when the login state changed. The explicit `loadAuth` refresh and the recheck share one scoped-auth merge in `prepared-model-runtime.catalog-auth.ts`; `loadAuth` still returns only `{ authStore, authModes }`. Startup still probes once per shared generation, so both earlier PRs' cost limits hold.

## Bounded cost

- At most one `claude auth status --json` (existing 3 s timeout, process-tree kill) per prepared catalog owner per 60 s, and only while model lists are being read. An idle Gateway spawns nothing.
- Picker opens inside the window spawn nothing; concurrent reads share one in-flight probe.
- Nothing is published, and no catalog event is emitted, when the login state is unchanged.
- Measured on an isolated Gateway (below): 40 picker opens in 59 s started 1 probe; 14 opens during a 60 s login wait started 1 probe; probes were always at least 60 s apart.

## Evidence

**Regression test.** `src/gateway/server.chat-cli-auth.test.ts` adds "publishes Claude login changes after Gateway startup". It runs the real in-process Gateway, the real Anthropic plugin and `models.list`; only the `claude` executable is a fixture, and it records each `auth status` probe. It checks that the model is unavailable at startup, that a login inside the recheck window spawns no probe, that the model becomes available after the window with exactly one more probe, and that a logout makes it unavailable again with exactly one more probe. Each transition awaits the catalog publication rather than polling. With origin/main's catalog code the login publication never arrives and the test times out at 90 s; on this branch it passes in about 5 s. The full file (7 tests), the prepared-runtime suites that share its test harness, and `node scripts/check-changed.mjs` pass on this branch.

**Live Control UI, before and after.** Two isolated Gateways on one Mac, origin/main and this branch. State, config, `HOME` and `CLAUDE_CONFIG_DIR` were under /tmp, there was no Anthropic API key, and the config was shaped like our setup. Each used the real `claude` binary behind a wrapper that only counts `auth status` calls. Both started logged out. The login happened afterwards, by placing a Claude credentials file in each isolated `CLAUDE_CONFIG_DIR`. The picker was reopened in place and the page was never reloaded.

| | origin/main | this branch |
|---|---|---|
| Before login | ![origin/main before login: Anthropic shows 2 disabled rows](https://github.com/user-attachments/assets/416d0116-9aa1-4344-8127-123100a204b3) | ![branch before login: Anthropic shows 2 disabled rows](https://github.com/user-attachments/assets/aebe7782-7b11-495c-933c-2fc87bde3485) |
| After login | ![origin/main 3 minutes after login: still 2 disabled rows](https://github.com/user-attachments/assets/2c6ab23c-77b2-4240-a1f1-df5f398d6802) | ![branch after login: Anthropic shows all 6 configured models, enabled](https://github.com/user-attachments/assets/9e8413d2-abc0-4934-8dbd-8b6bf31b8a2f) |

- origin/main: 6 minutes and 27 picker opens after login, `claude auth status` in the same `CLAUDE_CONFIG_DIR` reported `loggedIn: true`, but the picker still showed 2 Anthropic rows and all 11 Claude rows disabled. One probe in total, at startup.
- This branch: all 15 Claude rows (6 configured `anthropic/*` and 9 `claude-cli/*`) were enabled on the first open after the window. After a logout they were disabled again on the next window. A re-login right after a recheck showed up after 60 s, with 14 picker opens and exactly 1 probe.

LOC vs origin/main: production +104/-25, tests +51/-3, docs +3/-1.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 7, 2026
…tartup (openclaw#166305)

## What Problem This Solves

Fixes: Claude CLI models stay hidden or disabled in the Control UI model picker and `openclaw models list` when Claude Code was logged out at Gateway start and the user logs in afterwards; only a Gateway restart or `models.list {refresh: true}` fixed it. A logout after startup was never reflected either.

## User Impact

User impact: after `claude auth login` (or a logout), the picker shows the right Claude CLI models within about a minute, without restarting the Gateway or reloading the page. How a logged-out Claude is displayed is unchanged.

## Why This Change Was Made

- The picker's availability filter already counts Claude Code's own login: `evaluateCliRuntimeModelAuthAvailability` reads the `claude-cli` auth mode from the `claude auth status --json` probe in `extensions/anthropic/provider-discovery.ts`.
- openclaw#129346 (f4ade71) made that probe run once per config generation so that "repeated model-list requests do not repeatedly launch the Claude CLI". openclaw#139757 (13a4405) shared it across agent workspaces after 632-agent rosters timed out at startup, and documented that "explicit catalog/auth captures recheck availability".
- Nothing on the ordinary-read path rechecked it: `refreshExpiredModelCatalog` only renews providers with an inventory `expiresAt`, and the static `claude-cli` provider never gets one. So the startup result stayed for the whole generation.

The existing ordinary-read renewal hook now also rechecks CLI-backend native logins (CLI backends whose manifest declares `syntheticAuthRefs`, which today means `claude-cli`). The recheck runs in the background, deduplicates through the worker's existing `loadAuth`, and publishes a new catalog through the existing native-publication path only when the login state changed. The explicit `loadAuth` refresh and the recheck share one scoped-auth merge in `prepared-model-runtime.catalog-auth.ts`; `loadAuth` still returns only `{ authStore, authModes }`. Startup still probes once per shared generation, so both earlier PRs' cost limits hold.

## Bounded cost

- At most one `claude auth status --json` (existing 3 s timeout, process-tree kill) per prepared catalog owner per 60 s, and only while model lists are being read. An idle Gateway spawns nothing.
- Picker opens inside the window spawn nothing; concurrent reads share one in-flight probe.
- Nothing is published, and no catalog event is emitted, when the login state is unchanged.
- Measured on an isolated Gateway (below): 40 picker opens in 59 s started 1 probe; 14 opens during a 60 s login wait started 1 probe; probes were always at least 60 s apart.

## Evidence

**Regression test.** `src/gateway/server.chat-cli-auth.test.ts` adds "publishes Claude login changes after Gateway startup". It runs the real in-process Gateway, the real Anthropic plugin and `models.list`; only the `claude` executable is a fixture, and it records each `auth status` probe. It checks that the model is unavailable at startup, that a login inside the recheck window spawns no probe, that the model becomes available after the window with exactly one more probe, and that a logout makes it unavailable again with exactly one more probe. Each transition awaits the catalog publication rather than polling. With origin/main's catalog code the login publication never arrives and the test times out at 90 s; on this branch it passes in about 5 s. The full file (7 tests), the prepared-runtime suites that share its test harness, and `node scripts/check-changed.mjs` pass on this branch.

**Live Control UI, before and after.** Two isolated Gateways on one Mac, origin/main and this branch. State, config, `HOME` and `CLAUDE_CONFIG_DIR` were under /tmp, there was no Anthropic API key, and the config was shaped like our setup. Each used the real `claude` binary behind a wrapper that only counts `auth status` calls. Both started logged out. The login happened afterwards, by placing a Claude credentials file in each isolated `CLAUDE_CONFIG_DIR`. The picker was reopened in place and the page was never reloaded.

| | origin/main | this branch |
|---|---|---|
| Before login | ![origin/main before login: Anthropic shows 2 disabled rows](https://github.com/user-attachments/assets/416d0116-9aa1-4344-8127-123100a204b3) | ![branch before login: Anthropic shows 2 disabled rows](https://github.com/user-attachments/assets/aebe7782-7b11-495c-933c-2fc87bde3485) |
| After login | ![origin/main 3 minutes after login: still 2 disabled rows](https://github.com/user-attachments/assets/2c6ab23c-77b2-4240-a1f1-df5f398d6802) | ![branch after login: Anthropic shows all 6 configured models, enabled](https://github.com/user-attachments/assets/9e8413d2-abc0-4934-8dbd-8b6bf31b8a2f) |

- origin/main: 6 minutes and 27 picker opens after login, `claude auth status` in the same `CLAUDE_CONFIG_DIR` reported `loggedIn: true`, but the picker still showed 2 Anthropic rows and all 11 Claude rows disabled. One probe in total, at startup.
- This branch: all 15 Claude rows (6 configured `anthropic/*` and 9 `claude-cli/*`) were enabled on the first open after the window. After a logout they were disabled again on the next window. A re-login right after a recheck showed up after 60 s, with 14 picker opens and exactly 1 probe.

LOC vs origin/main: production +104/-25, tests +51/-3, docs +3/-1.

Co-authored-by: Ayaan Zaidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling commands Command implementations extensions: anthropic gateway Gateway runtime maintainer Maintainer-authored PR merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P1 High-priority user-facing bug, regression, or broken workflow. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: L status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants