Commit Graph

27501 Commits

Author SHA1 Message Date
Qinyao He
2989b78c12 fix: address lint curly rule and remove extra blank line 2026-04-06 20:27:28 +09:00
Qinyao He
8818184da0 fix: address review — broaden sonnet-4 check, deduplicate helper
- Use `sonnet-4` substring match instead of enumerating `sonnet-4-5`,
  `sonnet-4-6` explicitly. This is safe because legacy `claude-3-5-sonnet`
  does not contain `sonnet-4`, and it future-proofs for sonnet-4-7+.
- Export `shouldPreserveThinkingBlocks` from provider-replay-helpers.ts
  and import it in transcript-policy.ts instead of duplicating the logic.

Addresses review feedback from Greptile.
2026-04-06 20:27:28 +09:00
Qinyao He
88b4ebeaf6 test: fix provider-model-shared test expectations for Sonnet 4.6
The shared-helper tests still expected dropThinkingBlocks: true for
claude-sonnet-4-6. Updated to match the new behavior where Sonnet 4.6
preserves thinking blocks.
2026-04-06 20:27:28 +09:00
Qinyao He
7a3514664d fix: preserve thinking blocks for Claude Opus 4.5+/Sonnet 4.5+ to fix cache
Claude Opus 4.5+ and Sonnet 4.5+ preserve thinking blocks in model context
by default. Dropping them from prior turns (as was correct for Sonnet 3.7)
breaks Anthropic's prefix-based prompt cache matching, causing cache misses
after every thinking turn.

This change conditions dropThinkingBlocks on the model version:
- Preserve (no drop) for: opus-4.x, sonnet-4.5+, haiku-4.x, and future models
- Drop for: claude-3-7-sonnet and earlier

Fixes #61793

See: https://platform.claude.com/docs/en/build-with-claude/extended-thinking#differences-in-thinking-across-model-versions
2026-04-06 20:27:28 +09:00
Vincent Koc
2751874cbb test(memory-core): align short-term repair expectations 2026-04-06 12:26:45 +01:00
Vincent Koc
513c8587b8 fix(cli): keep status json startup path lean 2026-04-06 12:24:32 +01:00
Peter Steinberger
b4a5156bc3 fix: restore rebased main tsgo 2026-04-06 12:16:49 +01:00
Peter Steinberger
f3c29e840c fix: restore current main ci gates 2026-04-06 12:14:26 +01:00
Vincent Koc
4133e3bb1d fix(runtime): narrow bundled runtime startup surfaces 2026-04-06 12:12:53 +01:00
Vincent Koc
24eef3d6e3 fix(net): accept mutable dns lookup results 2026-04-06 12:12:53 +01:00
Ayaan Zaidi
c352fe8903 fix: filter heartbeat pairs before context shaping 2026-04-06 16:41:57 +05:30
Vincent Koc
209786bb2d fix(plugins): remove xai boundary leaks 2026-04-06 12:08:44 +01:00
David
57f9f0a08d fix: stop heartbeat transcript truncation races (#60998) (thanks @nxmxbbd) 2026-04-06 16:26:38 +05:30
Vincent Koc
4154bd707a test(contracts): route bundled contract tests through sdk facades 2026-04-06 11:35:40 +01:00
Vincent Koc
47f0dc3adb fix(net): normalize single-result SSRF lookups 2026-04-06 11:35:30 +01:00
Vincent Koc
29a56793a7 test(logging): share temp log path helper 2026-04-06 11:05:36 +01:00
Vincent Koc
6efbebefbf fix(runtime): drop legacy x_search auth shim 2026-04-06 11:03:58 +01:00
Vincent Koc
3ff606e490 test(logging): reuse suite temp root tracker in env logger tests 2026-04-06 11:01:53 +01:00
Vincent Koc
962e0139b8 test(media-understanding): reuse temp dir helper in video runner tests 2026-04-06 10:59:44 +01:00
Vincent Koc
95a0b47df6 test(media-understanding): reuse temp dir helper in misc attachment tests 2026-04-06 10:59:39 +01:00
Vincent Koc
f08f678dd2 test(logging): reuse suite temp root tracker in console capture tests 2026-04-06 10:59:32 +01:00
Vincent Koc
77472205d5 test(logging): reuse suite temp root tracker in timestamp tests 2026-04-06 10:56:41 +01:00
Vincent Koc
dd0ecf6d0f test(logging): reuse suite temp root tracker in log size cap tests 2026-04-06 10:56:35 +01:00
Vincent Koc
372df37df3 test(media): reuse suite temp root tracker in media redirect tests 2026-04-06 10:55:46 +01:00
Vincent Koc
62cc3a31ee test(media): reuse suite temp root tracker in web media tests 2026-04-06 10:55:25 +01:00
Vincent Koc
44c3572d40 test(media): reuse suite temp root tracker in outside-workspace media tests 2026-04-06 10:54:48 +01:00
Vincent Koc
ab93e9e30a test(media): reuse suite temp root tracker in media server tests 2026-04-06 10:53:31 +01:00
Vincent Koc
2e2a52dade test(config): reuse temp dir helper in config doc baseline tests 2026-04-06 10:52:12 +01:00
Vincent Koc
a1b6e679e4 test(config): reuse temp dir helper in config include tests 2026-04-06 10:50:44 +01:00
Vincent Koc
644a22af4b test(config): reuse suite temp root tracker in config write tests 2026-04-06 10:50:36 +01:00
Vincent Koc
2c06795afa test(config): reuse suite temp root tracker in session cache tests 2026-04-06 10:48:45 +01:00
Vincent Koc
9634a1c60c test(config): reuse shared temp dir helper in channel configured tests 2026-04-06 10:48:41 +01:00
@zimeg
f17f319fae docs(slack): suggest new apps use example manifests 2026-04-06 02:13:49 -07:00
Mason
1a270f81c3 fix(docs): remove zh-CN homepage redirect override (#61751)
Merged via squash.

Prepared head SHA: 4da417e159
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Reviewed-by: @hxy91819
2026-04-06 16:56:07 +08:00
Ayaan Zaidi
17573d097b fix: route mattermost bundled entry through plugin api 2026-04-06 14:17:32 +05:30
Ayaan Zaidi
03523c65d5 fix: refresh web tool and audit typing 2026-04-06 14:05:49 +05:30
Ayaan Zaidi
0bfe6710a2 fix: align gateway approval typings 2026-04-06 14:05:49 +05:30
Ayaan Zaidi
279f56e658 fix: restore status command typing after refactor 2026-04-06 14:05:49 +05:30
Ayaan Zaidi
31479023d6 test: align config gating mock return types 2026-04-06 14:05:49 +05:30
Ayaan Zaidi
2d49352e80 fix: restore subagents command typing after refactor 2026-04-06 14:05:49 +05:30
@zimeg
f7068a1349 docs(slack): move authorship scopes 2026-04-06 00:58:05 -07:00
Ayaan Zaidi
77497656bf fix: update changelog for exec node elevated routing (#61739) 2026-04-06 13:26:18 +05:30
Ayaan Zaidi
c0a0e295cb fix: preserve explicit node routing under elevated auto exec 2026-04-06 13:26:18 +05:30
Peter Steinberger
7bae391f33 perf(secrets): split runtime snapshot coverage 2026-04-06 08:18:40 +01:00
Peter Steinberger
2810a4f5b6 perf(test): split audit channel security coverage 2026-04-06 08:18:40 +01:00
@zimeg
ec20e33e36 docs(slack): add http request url example manifest 2026-04-06 00:18:08 -07:00
@zimeg
9bf465e54c docs(slack): use http request url term 2026-04-05 23:56:37 -07:00
Peter Steinberger
72dcf94221 refactor: consolidate status reporting helpers 2026-04-06 07:41:08 +01:00
Peter Steinberger
f7833376ea refactor: share command config resolution 2026-04-06 07:41:08 +01:00
Peter Steinberger
bb01e49192 refactor: share gateway auth and approval helpers 2026-04-06 07:41:08 +01:00