Peter Steinberger
41850c3880
refactor: isolate attempt context engine thread helpers
2026-03-23 05:27:44 -07:00
Peter Steinberger
76dc854963
test: remove replaced spawn-workspace monolith
2026-03-23 05:21:59 -07:00
Peter Steinberger
4e661d5c4b
test: split attempt spawn-workspace thread fixtures
2026-03-23 05:21:59 -07:00
Peter Steinberger
9f2330363e
fix: refactor deepseek bundled plugin ( #48762 ) (thanks @07akioni)
2026-03-23 05:06:07 -07:00
Bakhtier Sizhaev
a0cb443aa3
fix: document Telegram asDocument alias ( #52461 ) (thanks @bakhtiersizhaev)
...
* feat(telegram): add asDocument param to message tool
Adds `asDocument` as a user-facing alias for the existing `forceDocument`
parameter in the message tool. When set to `true`, media files (images,
videos, GIFs) are sent via `sendDocument` instead of `sendPhoto`/
`sendVideo`/`sendAnimation`, preserving the original file quality
without Telegram compression.
This is useful when agents need to deliver high-resolution images or
uncompressed files to users via Telegram.
`asDocument` is intentionally an alias rather than a replacement — the
existing `forceDocument` continues to work unchanged.
Changes:
- src/agents/tools/message-tool.ts: add asDocument to send schema
- src/agents/tools/telegram-actions.ts: OR asDocument into forceDocument
- src/infra/outbound/message-action-runner.ts: same OR logic for outbound path
- extensions/telegram/src/channel-actions.ts: read and forward asDocument
- src/channels/plugins/actions/actions.test.ts: add test case
* fix: restore channel-actions.ts to main version (rebase conflict fix)
* fix(test): match asDocument test payload to actual params structure
* fix(telegram): preserve forceDocument alias semantics
* fix: document Telegram asDocument alias (#52461 ) (thanks @bakhtiersizhaev)
---------
Co-authored-by: Бахтиер Сижаев <bkh@MacBook-Air.local >
Co-authored-by: Ayaan Zaidi <hi@obviy.us >
2026-03-23 17:32:46 +05:30
Peter Steinberger
47db5abece
test: inject thread-safe base seams
2026-03-23 04:59:15 -07:00
Peter Steinberger
e84ca730a3
test: stabilize e2e module isolation
2026-03-23 11:46:54 +00:00
Peter Steinberger
4f92eaad37
test: inject image-tool provider deps for raw threads
2026-03-23 04:40:58 -07:00
Peter Steinberger
6a3d4f9fad
test: isolate pi model and reset-model thread fixtures
2026-03-23 04:36:06 -07:00
Peter Steinberger
6bcd9a801a
test: inject thread-safe gateway and ACP seams
2026-03-23 04:34:42 -07:00
Peter Steinberger
f182c3a292
test: inject thread-safe deps for agent tools
2026-03-23 04:16:53 -07:00
Peter Steinberger
6f048f59cb
test: stabilize trigger handling and hook e2e tests
2026-03-23 11:06:24 +00:00
Peter Steinberger
6e012d7feb
test: inject model runtime hooks for thread-safe tests
2026-03-23 03:25:42 -07:00
Peter Steinberger
a0ad47440a
test: stabilize live provider docker probes
2026-03-23 10:16:06 +00:00
Peter Steinberger
203eebec2f
test: split pi embedded model thread fixtures
2026-03-23 02:54:10 -07:00
Peter Steinberger
8067ae50fa
fix: restore provider runtime lazy boundary
2026-03-23 09:35:18 +00:00
Peter Steinberger
75b65c2a35
fix: restore provider runtime lazy boundary
2026-03-23 09:24:20 +00:00
Peter Steinberger
7a92d43d9a
test: isolate pi embedded model thread fixtures
2026-03-23 02:22:31 -07:00
Peter Steinberger
7ba28d6dba
fix: repair runtime seams after rebase
2026-03-23 09:14:17 +00:00
Peter Steinberger
2a06097184
test: update codex test fixtures to gpt-5.4
2026-03-23 02:14:00 -07:00
RichardCao
a835c200f3
fix(status): recompute fallback context window ( #51795 )
...
* fix(status): recompute fallback context window
* fix(status): keep live context token caps on fallback
* fix(status): preserve fallback runtime context windows
* fix(status): preserve configured fallback context caps
* fix(status): keep provider-aware transcript context lookups
* fix(status): preserve explicit fallback context caps
* fix(status): clamp fallback configured context caps
* fix(status): keep raw runtime slash ids
* fix(status): refresh plugin-sdk api baseline
* fix(status): preserve fallback context lookup
* test(status): refresh plugin-sdk api baseline
* fix(status): keep runtime slash-id context lookup
---------
Co-authored-by: create <create@createdeMacBook-Pro.local >
Co-authored-by: Frank Yang <frank.ekn@gmail.com >
Co-authored-by: RichardCao <RichardCao@users.noreply.github.com >
2026-03-23 17:08:48 +08:00
Peter Steinberger
4ea014d581
fix: align websocket stream fallback types
2026-03-23 08:59:16 +00:00
Peter Steinberger
abf2157b18
fix: sync agent and autoreply e2e updates
2026-03-23 01:33:40 -07:00
Peter Steinberger
f64f3fdb53
test: isolate base vitest thread blockers
2026-03-23 01:26:31 -07:00
Peter Steinberger
94f397bc5f
test: stop leaking image workspace temp dirs
2026-03-23 01:23:10 -07:00
Vincent Koc
6c60a3773a
chore(plugins): remove opik investigation checkpoints
2026-03-23 01:21:19 -07:00
Peter Steinberger
db5369f5f9
test: harden isolated test mocks
2026-03-23 01:13:08 -07:00
Vincent Koc
d22279d2e8
fix(plugins): preserve live hook registry during gateway runs
2026-03-23 01:05:13 -07:00
Peter Steinberger
771a78cc77
test: stabilize ci test harnesses
2026-03-23 07:58:34 +00:00
Peter Steinberger
dc90d3b1d3
refactor(media): share local file access guards
2026-03-23 00:58:23 -07:00
Peter Steinberger
ff54c02b7d
test: narrow live transcript scaffolding strip
2026-03-23 07:41:18 +00:00
Peter Steinberger
5f05c92922
test: harden no-isolate reply teardown
2026-03-23 00:37:32 -07:00
Peter Steinberger
93880717f1
fix(media): harden secondary local path seams
2026-03-23 00:29:46 -07:00
Peter Steinberger
fe3663a9fe
refactor: remove embedded runner cwd mutation
2026-03-23 00:11:55 -07:00
Peter Steinberger
4a26f10f68
docs: sync minimax m2.7 references
2026-03-23 00:02:35 -07:00
Peter Steinberger
80cd8cd6be
refactor: unify minimax model and failover live policies
2026-03-23 00:02:35 -07:00
Peter Steinberger
37c2166f52
test: finish base vitest thread fixture fixes
2026-03-22 23:37:31 -07:00
Peter Steinberger
3fac0d11fa
test: fix base vitest thread regressions
2026-03-22 23:37:31 -07:00
Peter Steinberger
72e58ca260
test(models): refresh example model fixtures
2026-03-22 23:00:18 -07:00
Peter Steinberger
6b9915a106
refactor!: drop legacy CLAWDBOT env compatibility
2026-03-22 22:13:39 -07:00
Peter Steinberger
30ed4342b3
fix(agents): deny local MEDIA paths for MCP results
2026-03-22 22:10:13 -07:00
Peter Steinberger
dc6c22b812
fix: narrow exec exit failure kind typing
2026-03-23 04:58:46 +00:00
Vincent Koc
3afb6a2b95
fix(exec): accept runtime failure kind in formatter
2026-03-22 21:54:02 -07:00
Peter Steinberger
e001e8f2f8
test: isolate exec foreground failure coverage
2026-03-23 04:47:12 +00:00
Peter Steinberger
8e568142f6
refactor: extract exec outcome and tool result helpers
2026-03-23 04:47:12 +00:00
Vincent Koc
ac0fd26e16
fix(ci): resync generated baselines and line runtime seam
2026-03-22 19:53:26 -07:00
Vincent Koc
a83b7bca15
refactor(plugin-sdk): route core provider and telegram seams through sdk barrels
2026-03-22 19:43:19 -07:00
Vincent Koc
02f8a86e5c
refactor(kilocode): route shared model constants through core seam
2026-03-22 19:43:19 -07:00
Peter Steinberger
f8731b3d9d
fix: finish exec tool failure landing ( #52508 ) (thanks @martingarramon)
2026-03-22 19:19:07 -07:00
Martin Garramon
22c75a55b0
fix(exec): return plain-text tool result on failure instead of raw JSON
...
When an exec command fails (e.g. timeout), the tool previously rejected
with an Error, which the tool adapter caught and wrapped in a JSON object
({ status, tool, error }). The model then received this raw JSON as the
tool result and could parrot it verbatim to the user.
Now exec failures resolve with a proper tool result containing the error
as human-readable text in content[], matching the success path structure.
The model sees plain text it can naturally incorporate into its reply.
Also fixes a pre-existing format issue in update-cli.test.ts.
Fixes #52484
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-22 19:19:07 -07:00