Commit Graph

1389 Commits

Author SHA1 Message Date
Harold Hunt
0bd0097557 refactor: add xai plugin-sdk boundary canary (#61548)
* docs: plan real plugin-sdk workspace rollout

* build: add xai plugin-sdk boundary canary

* build: generate plugin-sdk package types

* build: hide plugin-sdk core export

* build: alias scoped plugin-sdk runtime imports

* build: repair plugin-sdk boundary drift

* fix(plugins): remove duplicated plugin-sdk entrypoints

* test(plugins): make tsc boundary canary portable

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-06 14:13:11 +01:00
Vincent Koc
5c1b1eb169 fix(check): repair current main type drift 2026-04-06 13:56:57 +01:00
Peter Steinberger
6ed33d29c8 fix(windows): disable native jiti setup loaders 2026-04-06 13:48:32 +01:00
Peter Steinberger
1c41987876 refactor(auth): split auth state from auth store 2026-04-06 13:42:44 +01:00
Peter Steinberger
ef923805f5 Revert "refactor(cli): remove custom cli backends"
This reverts commit 6243806f7b.
2026-04-06 13:40:42 +01:00
Peter Steinberger
c39f061003 Revert "refactor(cli): remove bundled cli text providers"
This reverts commit 05d351c430.
2026-04-06 13:40:41 +01:00
Peter Steinberger
7e0e2f81e5 refactor(auth): isolate external oauth overlays 2026-04-06 13:30:25 +01:00
Vincent Koc
a5d2e89d3d refactor(auth): drop provider auth storage switchboard 2026-04-06 13:08:58 +01:00
Peter Steinberger
7f11941134 fix(windows): preserve plugin loader alias resolution (#61832) (thanks @Zeesejo)
# Conflicts:
#	CHANGELOG.md
#	src/plugins/loader.ts
2026-04-06 13:01:51 +01:00
Vincent Koc
e611761809 fix(plugins): move acpx config contracts into manifests 2026-04-06 12:33:20 +01:00
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
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
4154bd707a test(contracts): route bundled contract tests through sdk facades 2026-04-06 11:35:40 +01:00
Peter Steinberger
1d8d2ddaa1 refactor: dedupe plugin and outbound helpers 2026-04-06 07:41:08 +01:00
Vincent Koc
6a3d5127ee test(plugins): reuse suite temp helper in bundle contract test 2026-04-06 05:56:45 +01:00
Vincent Koc
29d3571e79 test(plugins): reuse tracked temp helpers in package contract tests 2026-04-06 05:56:17 +01:00
Vincent Koc
c9bc0dbe05 test(plugins): reuse suite temp root helper in install fixture tests 2026-04-06 05:54:29 +01:00
Vincent Koc
c75cdf6b0b test(plugins): share suite temp root helper in install path tests 2026-04-06 05:53:53 +01:00
Vincent Koc
17d7483404 test(plugins): reuse tracked temp helpers in loader fixture tests 2026-04-06 05:52:27 +01:00
Vincent Koc
ddea9a6c01 test(plugins): share async temp helpers in marketplace tests 2026-04-06 05:52:10 +01:00
Vincent Koc
f3f42e6bbf test(plugins): reuse tracked temp helpers in fixture tests 2026-04-06 05:50:26 +01:00
Vincent Koc
26c34f816d test(plugins): reuse tracked temp helpers in path resolution tests 2026-04-06 05:50:26 +01:00
Vincent Koc
d85dbe1d4a test(plugins): reuse tracked temp helpers in runtime staging tests 2026-04-06 05:50:26 +01:00
Vincent Koc
0fdf9e874b fix(config): normalize channel streaming config shape (#61381)
* feat(config): add canonical streaming config helpers

* refactor(runtime): prefer canonical streaming accessors

* feat(config): normalize preview channel streaming shape

* test(config): lock streaming normalization followups

* fix(config): polish streaming migration edges

* chore(config): refresh streaming baseline hash
2026-04-06 05:08:20 +01:00
Vincent Koc
5716d83336 feat(memory-wiki): restore llm wiki stack 2026-04-06 04:56:52 +01:00
Peter Steinberger
813aa3551e fix: restore latest-main ci gates 2026-04-06 03:38:28 +01:00
Peter Steinberger
b1c98e8469 test: stabilize browser and provider ci shards 2026-04-06 03:38:28 +01:00
Peter Steinberger
06b154a6df fix: unblock comfy live plugin loading 2026-04-06 03:01:43 +01:00
Peter Steinberger
80c5df6bdc fix: prune staged feishu sdk types from npm pack 2026-04-06 02:40:46 +01:00
Peter Steinberger
3027f0dde5 chore: remove stray finder metadata 2026-04-06 01:47:14 +01:00
Peter Steinberger
dc0ee2e178 feat: add music generation tooling 2026-04-06 01:47:14 +01:00
Peter Steinberger
aeb9ad52fa feat: add comfy workflow media support 2026-04-06 01:45:01 +01:00
Peter Steinberger
0affaf15ac refactor: narrow bundled channel entry surfaces 2026-04-06 01:26:02 +01:00
Gustavo Madeira Santana
4031e4b92d matrix: align bundled channel metadata 2026-04-05 20:18:03 -04:00
Peter Steinberger
6cdf5a43f2 refactor: add metadata-first channel configured-state probes 2026-04-06 01:02:45 +01:00
Peter Steinberger
85d41cd254 docs: document channel persisted auth metadata 2026-04-06 00:24:19 +01:00
Peter Steinberger
8cb85ff85f refactor: harden plugin metadata and bundled channel entry seams 2026-04-06 00:15:38 +01:00
Gustavo Madeira Santana
ac66507ccb test(config): align markdown tables with active registry 2026-04-05 18:46:51 -04:00
Gustavo Madeira Santana
3dec7f2596 test(contracts): drop removed claude cli auth export 2026-04-05 18:46:51 -04:00
Peter Steinberger
3584d28141 refactor: harden plugin metadata and browser sdk seams 2026-04-05 23:35:02 +01:00
Peter Steinberger
d7f75ee087 refactor: hide qa channels with exposure metadata 2026-04-05 23:21:56 +01:00
Peter Steinberger
471d056e2f refactor: move browser runtime seams behind plugin metadata 2026-04-05 23:13:14 +01:00
Vincent Koc
94256ea1a0 revert(memory-wiki): back out llm wiki stack 2026-04-05 22:44:20 +01:00
Vincent Koc
2f72363984 feat(memory-core): bridge wiki corpus into memory tools 2026-04-05 22:34:02 +01:00
Vincent Koc
c11e7a7420 feat(memory-wiki): add prompt supplement integration 2026-04-05 22:34:01 +01:00
Vincent Koc
00372508b5 feat(memory-wiki): add shared memory search bridge 2026-04-05 22:34:01 +01:00
Peter Steinberger
a8e827856a refactor: split bundled channel config metadata 2026-04-05 21:24:02 +01:00
Peter Steinberger
8a987030c0 fix(types): repair post-rebase check drift 2026-04-05 21:15:55 +01:00
Peter Steinberger
8206328a94 refactor: tighten final boundary guardrails 2026-04-05 21:14:52 +01:00