Peter Steinberger
445a418187
refactor(zai): reuse canonical endpoint fallback
2026-06-20 23:39:47 -04:00
黄剑雄0668001315
48220df218
fix(zai): fall back to manifest baseUrl for synthesized GLM-5 models
...
When resolveGlm5ForwardCompatModel synthesizes a GLM-5 model and both
providerConfig and the template model (glm-4.7) are unavailable, the
resolved model was missing baseUrl. This caused the OpenAI SDK to fall
back to api.openai.com instead of api.z.ai, producing confusing 401
errors.
The fix adds a third fallback to ZAI_MANIFEST_BASE_URL — the
provider-level baseUrl from the bundled manifest JSON — so the model
always carries a baseUrl regardless of runtime state.
Fixes #94269
2026-06-20 23:39:47 -04:00
Vincent Koc
97b97a9999
chore(deadcode): drop unused private exports
2026-06-21 10:21:58 +08:00
Vincent Koc
e012f2cd3c
chore(deadcode): share telegram send runtime loader
2026-06-21 09:12:41 +08:00
Vincent Koc
b43eedbb18
chore(deadcode): drop duplicate provider default refs
2026-06-21 08:49:41 +08:00
Vincent Koc
ba34052a0e
chore(deadcode): share memory vector blob encoding
2026-06-21 08:23:16 +08:00
Vincent Koc
22bdda2555
chore(deadcode): share nostr state account ids
2026-06-21 07:50:19 +08:00
Vincent Koc
2e75d925ad
chore(deadcode): share telegram state account ids
2026-06-21 07:22:52 +08:00
Vincent Koc
e66c36df37
test(copilot): fix harness test typings
2026-06-21 07:00:11 +08:00
Vincent Koc
d7f747af3b
fix(harness): satisfy lifecycle lint gates
2026-06-21 07:00:11 +08:00
Vincent Koc
9cb3b4ea2b
test(codex): prove bounded hook suffix preservation
2026-06-21 07:00:11 +08:00
Vincent Koc
f257116c92
test(codex): cover projected hook suffix bounds
2026-06-21 07:00:11 +08:00
Vincent Koc
a88ce96ee1
fix(copilot): ignore subagent idle during cleanup
2026-06-21 07:00:11 +08:00
Vincent Koc
448b3fa0be
fix(copilot): retain timed-out sessions until idle
2026-06-21 07:00:11 +08:00
Vincent Koc
88ad407be2
fix(codex): retain bounded hook prompt context
2026-06-21 07:00:11 +08:00
Vincent Koc
13e77cc055
fix(copilot): normalize terminal prompt errors
2026-06-21 07:00:11 +08:00
Vincent Koc
b78718f42a
fix(codex): bound delivery hint prompts
2026-06-21 07:00:11 +08:00
Vincent Koc
54dddda68d
fix(copilot): preserve replacement session reuse
2026-06-21 07:00:11 +08:00
Vincent Koc
692c7e78f4
fix(harness): bound empty hook prompts
2026-06-21 07:00:11 +08:00
Vincent Koc
3f166b1f64
fix(codex): bound hook-expanded prompts
2026-06-21 07:00:11 +08:00
Vincent Koc
8e8905560b
fix(codex): align protected prompt ranges
2026-06-21 07:00:11 +08:00
Vincent Koc
3968fea383
fix(harness): protect reset and prompt bounds
2026-06-21 07:00:11 +08:00
Vincent Koc
43e8c29fbf
fix(codex): bound inbound projected context
2026-06-21 07:00:11 +08:00
Vincent Koc
7e80bb8abf
fix(codex): retain projected context after hook expansion
2026-06-21 07:00:11 +08:00
Vincent Koc
9826619e22
fix(harness): pass config to agent-end side effects
2026-06-21 07:00:11 +08:00
Vincent Koc
8f3672beaa
fix(copilot): settle timed-out compaction waits
2026-06-21 07:00:11 +08:00
Vincent Koc
0d25928fa4
fix(copilot): scope pending cleanup to session owner
2026-06-21 07:00:11 +08:00
Vincent Koc
807641548b
fix(copilot): retain replacement session during reset
2026-06-21 07:00:11 +08:00
Vincent Koc
f87f30d429
fix(harness): preserve prompt input range
2026-06-21 07:00:11 +08:00
Vincent Koc
22c5ced69f
fix(codex): preserve projected context after hooks
2026-06-21 07:00:11 +08:00
Vincent Koc
faa4f5a23b
fix(copilot): ignore stale compaction cleanup
2026-06-21 07:00:11 +08:00
Vincent Koc
fc0b28cb73
fix(copilot): serialize compaction cleanup
2026-06-21 07:00:11 +08:00
Vincent Koc
d20e96a650
fix(copilot): isolate root compaction events
2026-06-21 07:00:11 +08:00
Vincent Koc
8ff1d3e67b
fix(harness): surface returned tool errors
2026-06-21 07:00:11 +08:00
Vincent Koc
49a9032705
fix(copilot): preserve timeout compaction state
2026-06-21 07:00:11 +08:00
Vincent Koc
aab1dd88e0
fix(copilot): defer background compaction hooks
2026-06-21 07:00:11 +08:00
Vincent Koc
a81a505c72
fix(copilot): defer background compaction cleanup
2026-06-21 07:00:11 +08:00
Vincent Koc
7d219bd6e7
fix(copilot): bound background compaction waits
2026-06-21 07:00:11 +08:00
Vincent Koc
ece7d0945c
fix(copilot): cancel deferred compaction on abort
2026-06-21 07:00:11 +08:00
Vincent Koc
979238dbb3
fix(copilot): retain completed compaction sessions
2026-06-21 07:00:11 +08:00
Vincent Koc
ab165d119c
fix(copilot): retain timed-out compaction hooks
2026-06-21 07:00:11 +08:00
Vincent Koc
6f3df79f17
fix(copilot): await background compaction hooks
2026-06-21 07:00:11 +08:00
Vincent Koc
7c2fb845db
fix(harness): cover manual lifecycle hooks
2026-06-21 07:00:11 +08:00
Vincent Koc
00f67b845b
fix(harness): preserve effective hook inputs
2026-06-21 07:00:11 +08:00
Vincent Koc
6ef9207201
refactor(harness): complete lifecycle parity
2026-06-21 07:00:11 +08:00
Vincent Koc
3283540c78
chore(copilot): preserve hook bridge file modes
2026-06-21 07:00:11 +08:00
Vincent Koc
03b022b88e
refactor(copilot): unify harness lifecycle hooks
2026-06-21 07:00:11 +08:00
Vincent Koc
165440117e
fix(canvas): ignore stale pnpm execpath
2026-06-20 18:05:23 +02:00
Vincent Koc
fddfcbe10e
fix(canvas): use corepack for a2ui pnpm fallback
2026-06-20 18:02:17 +02:00
Vincent Koc
ed500dda25
fix(qa): use corepack for lab docker build fallback
2026-06-20 17:45:09 +02:00