Commit Graph

13600 Commits

Author SHA1 Message Date
David Andrews (LexGenius.ai) 5cb9533436 fix(shell): parse uv run --extra values 2026-07-16 08:39:37 -04:00
can1357 6ae7cdbf97 feat(ai): added automatic credential rotation for invalidated OAuth tokens
- Implement `isInvalidatedOAuthTokenError` to identify specific upstream auth failures.
- Enable automatic credential rotation in `AuthStorage` and stream retries when an invalidated token is detected.
- Update `proxy.test.ts` to correctly handle `NO_PROXY` and `no_proxy` environment variables during testing.
2026-07-16 05:39:37 +02:00
can1357 9fd19696e2 chore: bump version to 17.0.1 2026-07-16 04:56:03 +02:00
roboomp ed4ddcba6c fix(session): await session.dispose() on non-interactive exit paths
Print-mode assistant-error/aborted exit, RPC pi.shutdown() and stdin-EOF
shutdowns, and the extension command-context shutdown() called
process.exit() before (or racing) session.dispose(), skipping the bounded
browser reaper (releaseTabsForOwner) installed in dispose(). An OMP-owned
Chromium could survive the parent and reparent to PID 1.

Route all four graceful paths through the idempotent, promise-memoized
session.dispose() and await it before the final exit. The RPC
performShutdown no longer emits session_shutdown directly (dispose() emits
it), avoiding a double emit.

Fixes #5643
2026-07-16 04:29:55 +02:00
can1357 f9977f5c69 fix: reconciled test contracts with merged behavior changes
- google boolean-subschema coercion, column-cap truncation semantics, caller-owned plan-review hide, rebuild image-visibility setting
- added flushPendingCommandOutput and refreshSkills stubs to event-controller and ACP mock contexts
- removed the never-passing acp stdio EOF subprocess test (covered by postmortem-epipe contracts)
2026-07-16 04:27:53 +02:00
can1357 e28197c694 Revert "merged PR #5602: fix(agent-loop): reclassify empty toolUse stop as retryable error"
This reverts commit 2baaea8782, reversing
changes made to 6783c3a473.
2026-07-16 04:09:44 +02:00
can1357 1df790a5d2 Revert "fix(agent-loop): discard incomplete sibling tool calls"
This reverts commit 7a2e34988b.
2026-07-16 04:08:59 +02:00
can1357 1e85462cff fix: reconciled merged sources with current main APIs
- restored capability reset import in agent-session refreshSkills
- fixed renamed credential entry reference in auth-storage org fields
- aligned xai web-search fetch mock and refresh-race test with current typings
2026-07-16 03:58:41 +02:00
can1357 2c355102ce chore: applied biome formatting to merged sources 2026-07-16 03:52:48 +02:00
can1357 5e9d03f152 chore: normalized changelog entries misfiled by union merges 2026-07-16 03:52:19 +02:00
can1357 f7ed718302 fix(utils): share active postmortem cleanup 2026-07-16 03:50:06 +02:00
can1357 fd54f897f4 merged PR #5419: fix(acp): await teardown on stdio disconnect
# Conflicts:
#	packages/coding-agent/src/modes/acp/acp-mode.ts
2026-07-16 03:50:06 +02:00
can1357 3a75368b92 fix(images): preserve replay and transcript invariants 2026-07-16 03:48:59 +02:00
can1357 93cc1fed1c merged PR #5417: fix(openai): render native response images
# Conflicts:
#	packages/coding-agent/src/modes/components/chat-transcript-builder.ts
#	packages/coding-agent/test/agent-session-skill-keywords.test.ts
2026-07-16 03:48:21 +02:00
can1357 6295f5cb14 merged PR #5429: fix(ai): fail over exhausted OpenRouter daily keys
# Conflicts:
#	packages/ai/src/error/rate-limit.ts
#	packages/ai/test/auth-retry.test.ts
2026-07-16 03:45:22 +02:00
can1357 34f8eb70f0 fix(tui): honor ends during plan review reflow 2026-07-16 03:44:10 +02:00
can1357 37d38e1485 merged PR #5444: fix(tui): preserve Plan Review scroll position
# Conflicts:
#	packages/coding-agent/src/modes/components/plan-review-overlay.ts
2026-07-16 03:44:10 +02:00
can1357 7363684cb6 merged PR #5453: fix(browser): bound tab teardown waits
# Conflicts:
#	packages/coding-agent/src/tools/browser/registry.ts
#	packages/coding-agent/src/tools/browser/tab-supervisor.ts
2026-07-16 03:43:17 +02:00
can1357 5c9fa528c7 test(coding-agent): cover nested output priority 2026-07-16 03:41:51 +02:00
can1357 0533ec005f merged PR #5462: fix(coding-agent): resolve agent:// slash form for nested subagent output
# Conflicts:
#	packages/coding-agent/src/prompts/system/system-prompt.md
2026-07-16 03:41:51 +02:00
can1357 8ff821515d fix(ai): honor NO_PROXY ports for secure websockets 2026-07-16 03:41:17 +02:00
can1357 a17db4bea8 merged PR #5510: fix(ai): honor proxies for Codex WebSockets
# Conflicts:
#	packages/ai/test/openai-codex-stream.test.ts
2026-07-16 03:41:16 +02:00
can1357 1a5331e500 test(ai): aligned suppression regression with versioned usage cache key 2026-07-16 03:40:45 +02:00
can1357 792f75298a fix(auth): retain targeted OAuth row after refresh races 2026-07-16 03:39:24 +02:00
can1357 908d45a98c merged PR #5519: fix(auth): serialize provider OAuth refreshes
# Conflicts:
#	packages/ai/src/auth-storage.ts
#	packages/ai/test/auth-storage-usage-cache.test.ts
2026-07-16 03:39:16 +02:00
can1357 5641722ec2 merged PR #5554: fix(session): skip ssh paths during streaming edit pre-cache
# Conflicts:
#	packages/coding-agent/src/session/agent-session.ts
2026-07-16 03:35:05 +02:00
can1357 cb0a407f01 test(anthropic): cover Vertex effort payload gate 2026-07-16 03:34:23 +02:00
can1357 af541f2570 --amend 2026-07-16 03:34:23 +02:00
can1357 778ef6d7fa --amend 2026-07-16 03:34:22 +02:00
can1357 e289975e02 test(anthropic): cover Vertex effort payload gate 2026-07-16 03:34:22 +02:00
can1357 8f6eabaa63 merged PR #5615: fix(anthropic): gate effort beta off google-vertex header path
# Conflicts:
#	packages/ai/src/providers/anthropic.ts
2026-07-16 03:34:01 +02:00
can1357 eee0bf5ac9 merged PR #5418: fix(ai): classify Anthropic spend-limit as persistent usage limit 2026-07-16 03:32:04 +02:00
can1357 b68c7245f7 merged PR #5408: fix(catalog): widen GLM coding-plan idle timeout to OpenCode gateways 2026-07-16 03:32:04 +02:00
can1357 f39c1ce103 merged PR #5412: fix(tui): anchor IME candidates in interactive inputs 2026-07-16 03:32:04 +02:00
can1357 b3bf0ab4ae merged PR #5415: fix(editor): accept upstream-pi editor constructor in CustomEditor 2026-07-16 03:32:04 +02:00
can1357 056c53189e merged PR #5421: fix(tui): use Nerd Fonts v3 session icon 2026-07-16 03:32:04 +02:00
can1357 1678607617 fix(eval): preserve column truncation metadata 2026-07-16 03:32:03 +02:00
can1357 a049ed4ca7 merged PR #5422: fix(tools): stop column cap from faking window truncation 2026-07-16 03:32:03 +02:00
can1357 a29627142c fix(natives): verify disk before stale-process diagnosis 2026-07-16 03:32:03 +02:00
can1357 29b6649ff9 merged PR #5423: fix(natives): distinguish process-stale from disk-stale sentinel mismatch 2026-07-16 03:32:03 +02:00
can1357 217678bfd8 fix(tui): discard deferred output after session changes 2026-07-16 03:32:03 +02:00
can1357 e0c717e07f merged PR #5427: fix(tui): defer command output during streaming 2026-07-16 03:32:03 +02:00
can1357 b865e6a4d7 fix(catalog): scope Kimi K2.7 timeout to Moonshot 2026-07-16 03:32:02 +02:00
can1357 9c78b7e7b0 merged PR #5428: fix(catalog): extend streamIdleTimeoutMs floor to Kimi K2.7 Code 2026-07-16 03:32:02 +02:00
can1357 44b73b7deb fix(mnemopi): recover direct runtime load failures 2026-07-16 03:32:02 +02:00
can1357 358879afca merged PR #5432: fix(mnemopi): pin Windows ORT DLL path 2026-07-16 03:32:02 +02:00
can1357 59657c0dbc fix(mnemopi): select trim candidates transactionally 2026-07-16 03:32:02 +02:00
can1357 5be1af81d8 merged PR #5434: fix(mnemopi): protect durable working memory from trim and cascade linked artifacts 2026-07-16 03:32:02 +02:00
can1357 17a38cefaf fix(cli): guard scoped plugin verb aliases 2026-07-16 03:32:02 +02:00
can1357 ad036c0965 merged PR #5436: fix(cli): guard documented marketplace verbs from launch leak 2026-07-16 03:32:01 +02:00