Commit Graph

16794 Commits

Author SHA1 Message Date
Vincent Koc
84eb617a79 fix(agents): persist claude cli session ids 2026-04-05 14:35:34 +01:00
Nimrod Gutman
28955a36e7 feat(ios): add exec approval notification flow (#60239)
* fix(auth): hand off qr bootstrap to bounded device tokens

* feat(ios): add exec approval notification flow

* fix(gateway): harden approval notification delivery

* docs(changelog): add ios exec approval entry (#60239) (thanks @ngutman)
2026-04-05 16:33:22 +03:00
Peter Steinberger
9a0d88a868 refactor: move talk config contract under plugin 2026-04-05 14:26:35 +01:00
Peter Steinberger
d842251ef8 fix(acp): guard missing delivery channel config 2026-04-05 14:24:01 +01:00
Peter Steinberger
ca1da659e4 fix: restore tool display checks 2026-04-05 14:20:31 +01:00
Peter Steinberger
89e8c8672c fix: break bundled channel bootstrap cycles 2026-04-05 14:20:31 +01:00
Peter Steinberger
4fedc5c105 test(config): guard optional tools schema parse result 2026-04-05 14:18:30 +01:00
Peter Steinberger
01c5dde6d1 fix(agents): add update_plan display metadata 2026-04-05 14:18:30 +01:00
Peter Steinberger
d893ae341c fix(auto-reply): remove direct working status updates 2026-04-05 14:14:51 +01:00
Peter Steinberger
9ddc3576d1 refactor: move elevenlabs talk config into plugin 2026-04-05 14:11:10 +01:00
Peter Steinberger
a705845e18 feat(agents): add experimental structured plan updates 2026-04-05 14:08:43 +01:00
Peter Steinberger
760c4be438 feat(agents): add provider-owned system prompt contributions 2026-04-05 14:05:41 +01:00
Peter Steinberger
ed1734a7c7 test: stabilize provider normalization lanes 2026-04-05 13:56:52 +01:00
Peter Steinberger
388f82f22f test: stabilize provider auth discovery cases 2026-04-05 13:56:52 +01:00
Peter Steinberger
4e550a873e fix(agents): restore tool display summary typing 2026-04-05 13:55:43 +01:00
Peter Steinberger
31f5463a1c refactor(agents): enrich tool descriptions 2026-04-05 13:31:57 +01:00
Peter Steinberger
987f4bba80 test: make vitest worker caps deterministic 2026-04-05 13:31:15 +01:00
Peter Steinberger
c74b222ec1 test: keep chutes env discovery on test harness 2026-04-05 13:31:15 +01:00
Peter Steinberger
074af3f40e test: speed up vitest launcher startup 2026-04-05 13:31:15 +01:00
Peter Steinberger
6f5ba51f74 docs: update IRC host examples 2026-04-05 13:27:04 +01:00
Peter Steinberger
1dc3da6eda refactor(agents): use structured tool definitions 2026-04-05 13:26:34 +01:00
Vincent Koc
7343d1b2ad fix(runtime): guard import-time side effects 2026-04-05 13:20:06 +01:00
Peter Steinberger
aca488d5be fix(gateway): keep watch restarts in-process 2026-04-05 13:16:22 +01:00
Peter Steinberger
c039675054 refactor(test): split channel contract helpers by policy 2026-04-05 13:15:22 +01:00
Peter Steinberger
e9bf9fde06 test: split legacy pi-tools schema shards 2026-04-05 13:10:16 +01:00
Peter Steinberger
a060b89e3f fix(ci): remove duplicate grok test provider inference 2026-04-05 13:07:22 +01:00
Vincent Koc
35b132c7eb fix(config): lazy bootstrap markdown table defaults 2026-04-05 13:04:19 +01:00
Peter Steinberger
88ea0751a9 fix(test): add lightweight whatsapp group-policy seam 2026-04-05 12:57:58 +01:00
Peter Steinberger
81c095d945 fix(test): break zalo group-policy import cycle 2026-04-05 12:57:58 +01:00
Peter Steinberger
2635e07bf0 fix(openai): add multilingual gpt ack prompts 2026-04-05 12:57:41 +01:00
Peter Steinberger
76da484bed fix: infer synthetic provider auth in implicit tests 2026-04-05 12:54:09 +01:00
Peter Steinberger
19c081d4a2 test: relax vitest host throttle on big machines 2026-04-05 12:54:09 +01:00
Peter Steinberger
41d08a6feb test: restore thread-first vitest defaults 2026-04-05 12:54:08 +01:00
Peter Steinberger
deb212d3b0 fix(openai): tighten gpt chat action turns 2026-04-05 12:53:35 +01:00
Peter Steinberger
59a243e46b test: stabilize provider discovery matrix cases 2026-04-05 12:53:24 +01:00
Peter Steinberger
bc7f845714 test: speed up focused pi-tools tool tests 2026-04-05 12:53:15 +01:00
Peter Steinberger
dbcd35f6c2 test: decouple pi-tools params test imports 2026-04-05 12:53:15 +01:00
wirjo
78fe96f2d4 feat(bedrock): add inference profile discovery and region injection (#61299)
* feat(bedrock): add inference profile discovery and region injection

Inference profiles (cross-region and application) work with ConverseStream
but require the SDK client region to match the profile region. Without
this, users get "The provided model identifier is invalid" errors when
using cross-region profiles like us.anthropic.claude-sonnet-4-6.

Changes:

1. Inference profile discovery (discovery.ts):
   - Call ListInferenceProfiles alongside ListFoundationModels (parallel)
   - Inference profiles INHERIT capabilities from their underlying
     foundation model (modalities, reasoning, context window, cost)
   - resolveBaseModelId() maps profile → foundation model:
     "us.anthropic.claude-sonnet-4-6" → "anthropic.claude-sonnet-4-6"
     Application ARNs → extract model ID from models[].modelArn
   - Graceful degradation if IAM lacks bedrock:ListInferenceProfiles
   - Provider filter applies to profiles via underlying model ARNs

2. Region injection (register.sync.runtime.ts):
   - Extract region from provider baseUrl or bedrockDiscovery.region
   - Pass through to pi-ai options.region in wrapStreamFn
   - Ensures SDK client connects to correct regional endpoint

3. Inference profile model detection (anthropic-family-cache-semantics.ts):
   - isAnthropicBedrockModel() now recognizes application inference
     profile ARNs (arn:aws:bedrock:...:application-inference-profile/*)

4. Tests (discovery.test.ts):
   - New: inference profile inheritance test (4 models: 1 foundation +
     3 profiles, verifies capability inheritance, inactive filtering)
   - New: graceful AccessDeniedException handling test
   - Updated: all existing tests for dual-API discovery pattern

Fixes #55642

* fix(bedrock): preserve inference profile model lookup

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-05 12:52:03 +01:00
Peter Steinberger
996dccb19c feat(agents): add structured execution item events 2026-04-05 12:36:33 +01:00
Peter Steinberger
3b7e6152d1 fix: retry reasoning-required compaction with minimal thinking 2026-04-05 12:35:50 +01:00
Mariano
4175caee6e fix(agents): suppress commentary-phase output leaks (#61282)
Merged via squash.

Prepared head SHA: e392904f73
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Reviewed-by: @mbelinky
2026-04-05 13:04:12 +02:00
Peter Steinberger
1bf5339b98 fix(gateway): pin startup channel registry 2026-04-05 12:01:03 +01:00
Vincent Koc
cfe66c6e02 test(contracts): guard config footprint regressions 2026-04-05 11:48:40 +01:00
Peter Steinberger
fef155cdbc fix: tighten file tool schemas for openai 2026-04-05 11:46:34 +01:00
Vincent Koc
63db3443f1 fix(plugin-sdk): prefer canonical private-network opt-in 2026-04-05 11:45:09 +01:00
Peter Steinberger
0f58cef75e fix: finalize facade re-entry landing cleanup (#61180) (thanks @adam91holt) 2026-04-05 11:42:29 +01:00
Peter Steinberger
66c047ddc3 fix: refresh facade re-entry landing delta (#61180) (thanks @adam91holt) 2026-04-05 11:40:51 +01:00
Adam Holt
3a957cfe8b fix: resolve circular re-entry in facade module loading
resolveTrackedFacadePluginId triggers config loading (plugin auto-enable,
channel discovery) which can re-enter loadBundledPluginPublicSurfaceModuleSync
for the same module. Because the sentinel was still empty at that point,
re-entrant callers saw undefined exports (e.g. shouldNormalizeGoogleProviderConfig).

Move Object.assign(sentinel, loaded) before the plugin ID resolution so any
re-entrant lookup through the cached sentinel finds the real exports.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 11:40:32 +01:00
Peter Steinberger
495ebd28a4 fix(ci): route zai endpoint constants through plugin sdk 2026-04-05 11:30:58 +01:00
Peter Steinberger
064f474ed7 test: isolate anthropic vertex provider env cases 2026-04-05 11:28:59 +01:00