Peter Steinberger
238fac6636
fix: cover status transcript fallback ( #55041 ) (thanks @jjjojoj)
2026-04-04 17:38:44 +09:00
jjjojoj
97a8ba89fd
fix: use transcript usage as fallback for /status token display
...
When using custom providers like LM Studio, Ollama, or DashScope,
token counts in /status show as 0 because the agent meta store
does not always have usage data populated for these providers.
Fix: set includeTranscriptUsage: true in both /status command and
the session_status tool. This enables the existing fallback path
that reads usage from the session transcript JSONL file when the
meta store has zero/missing token counts.
The merge logic already guards against overwriting valid data:
- totalTokens: only updated when zero or transcript value is larger
- inputTokens/outputTokens: only filled when zero/missing
- model/contextTokens: only filled when missing
Fixes #54995
2026-04-04 17:38:44 +09:00
陈大虾🦞
1ffbe09a6a
fix(model): infer provider from allowlist for bare model IDs to prevent prefix drift ( #48369 )
2026-04-04 17:30:54 +09:00
Peter Steinberger
f4855baf35
fix(ci): await async provider test registration
2026-04-04 09:28:43 +01:00
Peter Steinberger
73572e04c1
fix: preserve generic DashScope streaming usage ( #52395 ) (thanks @IVY-AI-gif)
2026-04-04 17:25:33 +09:00
Vincent Koc
cdccbf2c1c
fix(github-copilot): send IDE auth headers on runtime requests ( #60755 )
...
* Fix Copilot IDE auth headers
* fix(github-copilot): align tests and changelog
* fix(changelog): scope copilot replacement entry
---------
Co-authored-by: VACInc <3279061+VACInc@users.noreply.github.com >
2026-04-04 17:22:19 +09:00
Vincent Koc
a50b838dc2
test(agents): annotate cache trace wrapper params
2026-04-04 17:20:23 +09:00
Vincent Koc
1a13c34f5b
fix(agents): close cache boundary transport gaps
2026-04-04 17:20:23 +09:00
Peter Steinberger
19036ef394
fix: unblock current main checks
2026-04-04 16:50:25 +09:00
Peter Steinberger
cbc6a1ddb8
fix: restore main type surfaces
2026-04-04 16:50:25 +09:00
Peter Steinberger
04b539e98c
fix: restore channel sdk schema typing
2026-04-04 16:50:25 +09:00
Peter Steinberger
6afdf10266
fix: honor exec approval security from approvals ( #60310 )
2026-04-04 16:50:25 +09:00
Vincent Koc
74f60dfd0b
test(agents): extend live cache runner scenarios
2026-04-04 16:33:14 +09:00
Vincent Koc
c76646adb1
feat(agents): add prompt cache break diagnostics ( #60707 )
...
* feat(agents): add prompt cache break diagnostics
* test(agents): wire cache trace into live cache suite
* fix(agents): always record cache trace result stage
* feat(status): show cache reuse in verbose output
* fix(agents): ignore missing prompt cache usage
* chore(changelog): note prompt cache diagnostics
* fix(agents): harden prompt cache diagnostics
2026-04-04 16:29:32 +09:00
Vincent Koc
d75a8933e7
fix(agents): stabilize prompt cache fingerprints ( #60731 )
...
* fix(agents): stabilize prompt cache fingerprints
* chore(changelog): note prompt cache fingerprint stability
* refactor(agents): simplify capability normalization
* refactor(agents): simplify prompt capability normalization helper
2026-04-04 16:20:36 +09:00
Peter Steinberger
c87903a4c6
fix(ci): restore build and typecheck on main
2026-04-04 08:13:16 +01:00
Peter Steinberger
14cfcdba1a
docs(test): refresh stale model refs
2026-04-04 08:05:49 +01:00
Peter Steinberger
da3f5e9bca
docs(providers): refresh model examples and env defaults
2026-04-04 07:49:22 +01:00
Peter Steinberger
6e6b4f6004
ci: gate releases on live cache floors
2026-04-04 15:44:34 +09:00
Peter Steinberger
be4eb269fc
refactor: tighten ACP spawn failure typing
2026-04-04 15:43:23 +09:00
Peter Steinberger
b167ad052c
refactor(providers): move defaults and error policy into plugins
2026-04-04 07:43:14 +01:00
Peter Steinberger
71c0c2cc06
fix: harden ACP spawn workspace resolution
2026-04-04 15:29:56 +09:00
zssggle-rgb
d718d17b5b
fix(acp): fall back when inherited target workspace is missing
2026-04-04 15:29:56 +09:00
Peter Steinberger
332caa4cb1
style: normalize embedded runner imports
2026-04-04 15:24:50 +09:00
Peter Steinberger
e7e1707277
fix(ci): restore build and typecheck on main
2026-04-04 07:22:16 +01:00
Peter Steinberger
666f1f4db0
refactor(providers): remove core default and usage bias
2026-04-04 07:19:29 +01:00
Peter Steinberger
9e4cf3996e
test: add gateway durable allow-always coverage ( #59880 ) (thanks @luoyanglang)
2026-04-04 15:18:24 +09:00
Peter Steinberger
cdb572d703
test: tune live cache assertions
2026-04-04 15:18:09 +09:00
Peter Steinberger
3de09fbe74
fix: restore claude cli loopback mcp bridge ( #35676 ) (thanks @mylukin)
2026-04-04 15:16:20 +09:00
Peter Steinberger
dd16080af7
refactor(exec): dedupe durable approval checks
2026-04-04 07:12:26 +01:00
Peter Steinberger
c91b6bf322
fix(ci): unblock agent typing and cache startup metadata
2026-04-04 07:04:17 +01:00
Peter Steinberger
3a3f88a80a
refactor(media): move provider defaults into media metadata
2026-04-04 07:00:47 +01:00
luoyanglang
b54acd97b3
fix(exec): reuse gateway allow-always approvals
2026-04-04 14:55:26 +09:00
Vincent Koc
b3186aeef9
test(agents): expand live cache runner scenarios
2026-04-04 14:46:56 +09:00
Vincent Koc
fd01561327
fix(agents): close remaining prompt cache boundary gaps ( #60691 )
...
* fix(agents): route default stream fallbacks through boundary shapers
* fix(agents): close remaining cache boundary gaps
* chore(changelog): note cache prefix follow-up rollout
* fix(agents): preserve cache-safe fallback stream bases
2026-04-04 14:41:47 +09:00
Peter Steinberger
30ba837a7b
test: isolate MCP live cache probe
2026-04-04 14:39:51 +09:00
Vignesh Natarajan
10d5b8813d
Agents/logging: reduce orphaned-user warning noise for background runs
2026-04-03 22:24:02 -07:00
Peter Steinberger
41243529fb
refactor(providers): centralize provider model policy
2026-04-04 06:16:48 +01:00
Peter Steinberger
cff8b5bebd
fix(agents): preserve acp and openai wrapper defaults
2026-04-04 14:07:19 +09:00
Peter Steinberger
bc8048250e
fix(agents): harden claude cli parsing and queueing
2026-04-04 14:07:19 +09:00
Peter Steinberger
64d9b65b56
style(core): format reply and infra helpers
2026-04-04 06:02:47 +01:00
Vincent Koc
64f28906de
fix(agents): split system prompt cache prefix by transport ( #59054 )
...
* fix(agents): restore Anthropic prompt cache seam
* fix(agents): strip cache boundary for completions
* fix(agents): strip cache boundary for cli backends
* chore(changelog): note cross-transport cache boundary rollout
* fix(agents): route default stream fallbacks through boundary shapers
* fix(agents): strip cache boundary for provider streams
2026-04-04 13:32:32 +09:00
Peter Steinberger
3a62b0e75b
fix(ci): remove invalid live cache reasoning flag
2026-04-04 05:24:29 +01:00
Peter Steinberger
943da1864a
test: add tool-turn cache coverage
2026-04-04 13:19:00 +09:00
Peter Steinberger
39d3cad479
fix(ci): repair check lane type drift
2026-04-04 04:59:18 +01:00
Peter Steinberger
ca99ad0af8
test: add live cache provider probes
2026-04-04 12:46:10 +09:00
Peter Steinberger
eb9051cc7c
refactor(openai): move native transport policy into extension
2026-04-04 04:27:14 +01:00
Ayaan Zaidi
d7b8faa7bf
fix: keep Kimi anthropic tool payloads native ( #60391 ) (thanks @Eric-Guo)
2026-04-04 08:53:57 +05:30
Peter Steinberger
ff0c1b57a7
fix(auth): respect externally managed codex refresh tokens
2026-04-04 04:12:05 +01:00
Peter Steinberger
7e69c2f6a7
test: trim remaining mock drift
2026-04-04 04:04:12 +01:00