Commit Graph

26724 Commits (acd8966ff054511b541ab1020377055b2694de09)
 

Author SHA1 Message Date
Peter Steinberger acd8966ff0
test: refresh agent model expectation fixtures 8 months ago
Peter Steinberger 31d8b022eb
fix: treat inline buttons as native approval ui 8 months ago
Peter Steinberger d91d3cc0f0
fix: respect custom env snapshots for vertex auth 8 months ago
Peter Steinberger c9c7271f4f
test: keep mocked fetch active with guarded dispatchers 8 months ago
Ted Li b474e098d1
docs: correct overstated prompt-cache comments from #58036 #58037 #58038 (#60633)
* docs: correct overstated prompt-cache comments from #58036 #58037 #58038

* docs: restore purpose context in MCP tool sort comment

* docs: drop misleading 'legacy' framing from image-prune comments

* docs: restore useful context stripped from image-prune comments

* docs: restore 'deterministically' in MCP tool sort comment

* docs: restore 'idempotent' at attempt.ts callsite

* docs: restore 'provider prompt cache' in context-guard comment
8 months ago
Peter Steinberger c2bf2cc2b7
test: stabilize gateway config.apply cases 8 months ago
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>
8 months ago
狼哥 eb130aa4e9
fix(google): disable pinned dns for image generation (#59873)
* fix(google): restore proxy-safe image generation (#59873)

* fix(ssrf): preserve transport policy without pinned dns

* fix(ssrf): use undici fetch for dispatcher requests

* fix(ssrf): type dispatcher fetch path

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
8 months ago
Peter Steinberger 9238b98a7a
fix: fall back to resolved agent dir for btw command 8 months ago
Peter Steinberger 2aafa8fb7d
refactor: remove ollama sdk facades 8 months ago
Vincent Koc 155f4300ba
fix(voice-call): use full config for realtime transcription (#61224)
* fix(voice-call): use full config for realtime transcription

* fix(changelog): note voice-call transcription regression

* Update CHANGELOG.md
8 months ago
Vincent Koc 42bc411c46 fix(gateway): catch invalid cron session targets 8 months ago
André Santos eb0f367e00
fix(cache): enable prompt cache retention for Anthropic Vertex AI (#60888)
* fix(cache): enable prompt cache retention for Anthropic Vertex AI

* fix(cache): add anthropic-vertex to isAnthropicFamilyCacheTtlEligible

* fix(cache): use hostname parsing for long-TTL endpoint eligibility

* docs(changelog): note anthropic vertex cache ttl fix

---------

Co-authored-by: affsantos <andreffsantos91@gmail.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
8 months ago
Peter Steinberger a6894a5238
test: harden live model skip handling 8 months ago
Peter Steinberger 68851f2e97
fix(config): cap generated schema export types 8 months ago
Peter Steinberger 20803dac14
fix: fail closed for invalid persisted cron targets 8 months ago
Peter Steinberger b7a08c6bad
fix: preserve catalog metadata for allowlisted models 8 months ago
Peter Steinberger 20b08f1a85
fix: enforce paired scope baselines on reconnect 8 months ago
Vincent Koc 19b7fbaa73 fix(memory): honor mocked batch fetch clients 8 months ago
Peter Steinberger a65ab607c7
fix(gateway): use launchd KeepAlive restarts 8 months ago
Peter Steinberger d655a8bc76
feat: add Fireworks provider and simplify plugin setup loading 8 months ago
Ayaan Zaidi f842f518cd
fix: update embedded runner transport override (#61214)
* fix: update embedded runner transport override

* fix: update embedded runner transport override (#61214)

* fix: update embedded runner transport override (#61214)

* fix: update embedded runner transport override (#61214)
8 months ago
Peter Steinberger bf226be64a
test: keep cli backend coverage on core seams 8 months ago
Peter Steinberger c9029503fd
fix: honor mocked guarded fetch implementations 8 months ago
Vincent Koc c09bf9812a fix(build): restore main build on current agent api 8 months ago
Vincent Koc 005766671e fix(ci): use agent transport property 8 months ago
Vincent Koc cb1bf28526 build(a2ui): allow sparse core builds 8 months ago
Vincent Koc 2a999bf9c9 refactor(memory): invert memory host sdk dependency 8 months ago
Peter Steinberger f59da4557c
test: refresh gateway talk and scope fixtures 8 months ago
Peter Steinberger 332afa2fda
refactor: narrow claude cli fallback seams 8 months ago
Vincent Koc 3da235bf39 fix(telegram): force paginated commands callbacks 8 months ago
Vincent Koc 61fc4a16b7 docs(changelog): remove duplicate Unreleased entries 8 months ago
Vincent Koc db1d62b784 test(ci): cover bare default provider inference 8 months ago
Peter Steinberger a084e46536
fix: use undici runtime fetch for dispatcher flows 8 months ago
Peter Steinberger 757fe86309
test: lock whatsapp session migration keys 8 months ago
Peter Steinberger 657c6f6788
fix: stabilize docker e2e lanes 8 months ago
Peter Steinberger e5023cc141
fix(agents): invalidate stale cli sessions on auth changes 8 months ago
Peter Steinberger 903cb3c48c
test: align bash exec mocks with reset modules 8 months ago
Peter Steinberger 37cc06f1fd
fix: normalize claude cli fallback config 8 months ago
Ayaan Zaidi f039bbf2aa
fix: resolve acpx plugin root from shared chunks 8 months ago
Peter Steinberger e25693315e
fix: stabilize embedded runner transport and channel state 8 months ago
Peter Steinberger 749ed86fe3
test: stabilize gateway canvas and session cleanup 8 months ago
Peter Steinberger 5e0e50b12e
test: stabilize gateway wizard e2e flow 8 months ago
Ayaan Zaidi 4cfb990382
fix: restore whatsapp doctor contract surface 8 months ago
Peter Steinberger e9fa9f7822
test: reload transcript policy smoke module 8 months ago
Peter Steinberger cb31c4813b
test: mock models config planner in write serialization 8 months ago
Peter Steinberger f5da2360a2
test: scope models config write serialization spy 8 months ago
Peter Steinberger 7f6e8c0645
test: reload gateway status command under mocks 8 months ago
Peter Steinberger 055428019e
test: harden bash tool async exec coverage 8 months ago
Peter Steinberger b63557679e
test: harden models-config write serialization timing 8 months ago