wirjo
019a25e35c
Fix/bedrock aws sdk apikey injection ( #61194 )
...
* fix(bedrock): stop injecting fake apiKey marker for aws-sdk auth when no env vars exist
When the Bedrock provider uses auth: "aws-sdk" and no AWS environment
variables are set (EC2 instance roles, ECS task roles, etc.),
resolveAwsSdkApiKeyVarName() fell back to "AWS_PROFILE" unconditionally.
This string was injected as apiKey in the provider config during
normalisation, which poisoned the downstream auth resolver — it treated
the marker as a literal key and failed with "No API key found".
The fix:
- resolveAwsSdkApiKeyVarName() now returns undefined (not "AWS_PROFILE")
when no AWS env vars are present
- resolveBedrockConfigApiKey() (extension) gets the same fix
- resolveMissingProviderApiKey() guards both the providerApiKeyResolver
and direct aws-sdk branches: if the resolver returns nothing, the
provider config is returned unchanged (no apiKey injected)
- The aws-sdk credential chain then resolves credentials at request time
via IMDS/ECS task role/etc. as intended
When AWS env vars ARE present (AWS_ACCESS_KEY_ID, AWS_PROFILE,
AWS_BEARER_TOKEN_BEDROCK), the marker is still injected correctly.
Closes #49891
Closes #50699
Fixes #54274
* test(bedrock): update resolveBedrockConfigApiKey test for undefined return on empty env
The test previously expected "AWS_PROFILE" when no env vars are set.
Now expects undefined (matching the fix), and adds a separate assertion
that AWS_PROFILE is returned when the env var is actually present.
* fix(bedrock): lock aws-sdk env marker behavior
---------
Co-authored-by: Vincent Koc <vincentkoc@ieee.org >
2026-04-05 08:24:05 +01:00
Peter Steinberger
67d6fc8847
chore(plugins): sync versions to 2026.4.4
2026-04-04 20:03:01 +01:00
Peter Steinberger
ca200eb480
fix(providers): stabilize runtime normalization hooks
2026-04-04 19:34:56 +01:00
Peter Steinberger
e3ac0f43df
feat(qwen): add qwen provider and video generation
2026-04-04 19:34:56 +01:00
Vincent Koc
fa34f3a9d5
fix(ci): restore provider runtime seams
2026-04-04 23:19:23 +09:00
Peter Steinberger
dd771f1dc6
fix(ci): repair plugin boundary and bootstrap regressions
2026-04-04 15:09:48 +01:00
Peter Steinberger
76d1f26782
chore(deps): update workspace dependencies
2026-04-04 22:40:08 +09:00
Vincent Koc
39d2a719c9
refactor(providers): add family replay and tool hooks
2026-04-04 19:33:31 +09:00
Peter Steinberger
f4855baf35
fix(ci): await async provider test registration
2026-04-04 09:28:43 +01:00
Peter Steinberger
b167ad052c
refactor(providers): move defaults and error policy into plugins
2026-04-04 07:43:14 +01:00
Vincent Koc
bcd11176ef
refactor(amazon-bedrock): lazy-load provider registration
2026-04-04 15:26:37 +09:00
Vincent Koc
858bf405f4
refactor(providers): share replay and tool compat helpers ( #60637 )
...
* refactor(providers): share replay and tool compat helpers
* chore(plugin-sdk): refresh api baseline
2026-04-04 10:55:36 +09:00
Josh Lehman
799c6f40aa
refactor: move provider replay runtime ownership into plugins ( #60126 )
...
* refactor: move provider replay runtime ownership into plugins
* fix(provider-runtime): address review followups
---------
Co-authored-by: Vincent Koc <vincentkoc@ieee.org >
2026-04-03 23:14:37 +09:00
Peter Steinberger
d74a12264a
fix: mirror bedrock runtime dep in root package
2026-04-02 19:26:56 +01:00
Peter Steinberger
8988894ff7
build: prepare 2026.4.1-beta.1 release
2026-04-01 15:09:19 +01:00
Josh Lehman
5836ddea3f
test: fix amazon-bedrock extension test boundary ( #58753 )
...
* Tests: stop amazon-bedrock from importing private core plugin types
* Config: refresh generated doc baseline
2026-03-31 22:24:38 -07:00
Michael Flanagan
eee185af99
feat(amazon-bedrock): add Bedrock Guardrails support ( #58588 )
...
* feat(amazon-bedrock): just the kiro plans, need to remove before PR
* docs(bedrock-guardrails): add environment setup instructions
* docs(bedrock-guardrails): mark environment setup tasks as completed
* feat(amazon-bedrock): add trace configuration to guardrail settings
* feat(amazon-bedrock): implement guardrail wrapper factory and wire into registration
* test(amazon-bedrock): add comprehensive guardrail configuration tests
* docs(bedrock): add guardrails configuration documentation
* docs(bedrock-guardrails): add comprehensive manual testing guide for Docker deployment
* docs(bedrock-guardrails): expand manual testing guide with STS credentials and config options
* docs(bedrock-guardrails): complete manual testing verification with 8 test scenarios
* chore: remove kiro spec files from PR
* fix(docs): correct guardrail config path to plugins.entries.*.config
* style: format docs and test files
2026-03-31 21:09:52 -04:00
Peter Steinberger
63819bb383
test: consolidate provider and web-search contracts
2026-04-01 01:44:43 +01:00
Josh Lehman
adc329b26b
test: dedupe extension-owned coverage ( #58554 )
...
* test: dedupe extension-owned coverage
* test: remove duplicate coverage files
* test: move helper coverage into extensions
* test: trim duplicate helper assertions
* test: remove cloudflare helper import from agent test
* test: align stale expectations with current main
2026-03-31 15:18:29 -07:00
Peter Steinberger
9ea7e06460
build: bump version to 2026.4.1
2026-03-31 22:53:17 +01:00
Peter Steinberger
2a60e34f2a
build: prepare 2026.3.31 stable release
2026-03-31 21:32:38 +01:00
Vincent Koc
2e530fc2e1
revert(amazon-bedrock): restore locked aws sdk version
2026-04-01 04:26:27 +09:00
Peter Steinberger
2001603020
fix(amazon-bedrock): pin installable aws sdk build
2026-03-31 20:19:33 +01:00
Peter Steinberger
91be36ca4f
build: prepare 2026.3.31-beta.1 release
2026-03-31 19:32:49 +01:00
Peter Steinberger
c425ef3e74
build: bump version to 2026.3.31
2026-03-31 15:48:00 +01:00
Peter Steinberger
c1ea0ae9c8
build: update deps and align pi sdk usage
2026-03-31 22:56:20 +09:00
Peter Steinberger
f3bf7fe53a
chore: bump version to 2026.3.30
2026-03-30 09:28:29 +09:00
Peter Steinberger
2f19b303c6
build: fix packaged plugin dependency ownership
2026-03-29 22:21:29 +01:00
Peter Steinberger
637b4c8193
refactor: move remaining provider policy into plugins
2026-03-29 23:05:58 +09:00
Peter Steinberger
f1af7d66d2
chore: bump version to 2026.3.29
2026-03-29 14:33:12 +01:00
Peter Steinberger
8e0ab35b0e
refactor(plugins): decouple bundled plugin runtime loading
2026-03-29 09:10:38 +01:00
Peter Steinberger
f9b1079283
build: cut 2026.3.28 stable
2026-03-29 02:33:41 +01:00
Peter Steinberger
587e18cd3f
chore: prepare 2026.3.28-beta.1 release
2026-03-28 22:24:51 +00:00
Peter Steinberger
8a24cbf450
chore: bump version to 2026.3.28
2026-03-28 22:05:21 +00:00
Peter Steinberger
d042192c7c
refactor(plugins): move provider policy hooks into plugins
2026-03-28 06:11:13 +00:00
Peter Steinberger
72ba2b3653
chore: bump version metadata to 2026.3.27
2026-03-28 02:00:22 +00:00
Peter Steinberger
b39a7e8073
fix: break plugin-sdk provider barrel recursion
2026-03-27 23:47:04 +00:00
Peter Steinberger
4ca07559ab
refactor: move provider seams behind plugin sdk surfaces
2026-03-27 23:26:26 +00:00
Peter Steinberger
992b30604d
refactor: move extension-owned tests to extensions
2026-03-27 21:37:09 +00:00
Peter Steinberger
ef1784d264
refactor: move bundled plugin policy into manifests
2026-03-27 16:40:27 +00:00
Peter Steinberger
14b3360c22
chore: bump versions to 2026.3.26
2026-03-27 02:03:22 +00:00
Peter Steinberger
412a3eb1ac
build: bump version to 2026.3.22
2026-03-22 11:58:33 -07:00
Vincent Koc
6ebcd853be
fix(plugin-sdk): isolate provider entry surfaces
2026-03-18 13:20:46 -07:00
Vincent Koc
fbd88e2c8f
Main recovery: restore formatter and contract checks ( #49570 )
...
* Extensions: fix oxfmt drift on main
* Plugins: restore runtime barrel exports on main
* Config: restore web search compatibility types
* Telegram: align test harness with reply runtime
* Plugin SDK: fix channel config accessor generics
* CLI: remove redundant search provider casts
* Tests: restore main typecheck coverage
* Lobster: fix test import formatting
* Extensions: route bundled seams through plugin-sdk
* Tests: use extension env helper for xai
* Image generation: fix main oxfmt drift
* Config: restore latest main compatibility checks
* Plugin SDK: align guardrail tests with lint
* Telegram: type native command skill mock
2026-03-18 00:30:01 -07:00
Peter Steinberger
a8907d80dd
feat: finish xai provider integration
2026-03-17 21:31:20 -07:00
Peter Steinberger
f9588da3e0
refactor: split plugin testing seam from bundled extension helpers
2026-03-17 01:05:09 -07:00
Peter Steinberger
6f795fd60e
refactor: dedupe bundled plugin entrypoints
2026-03-17 00:14:12 -07:00
Peter Steinberger
f6868b7e42
refactor: dedupe channel entrypoints and test bridges
2026-03-16 23:52:23 -07:00
Peter Steinberger
7cc5789202
refactor(plugins): finish provider auth boundary cleanup
2026-03-16 01:20:56 -07:00