pei711
6670dd72da
fix(mcp): discover all resource and prompt pages
2026-10-18 21:32:42 +08:00
pei711
a377a8e0d3
fix(mcp): honor optional server tool capabilities
2026-10-18 21:18:54 +08:00
wkd
68e9b1cc3a
fix(mcp): prevent credential leakage in discovery error logs
2026-10-18 20:52:31 +08:00
KennySimpson
23bf1b87cd
fix: use JSON equality for enum validation
2026-10-18 20:36:33 +08:00
Shoaib
9fe061a537
fix(tools): accept integral JSON numbers for integer parameters
...
JSON Schema accepts numbers such as 3.0 as integers, but Python decodes
that representation as float. Tool calls with valid integral arguments
were therefore rejected before execution, including nullable and union
integer schemas.
Share the integer check across schema validation and union matching, then
convert integral floats to int before calling the tool. Keep fractional
values, booleans, and non-finite numbers outside the integer type.
Add schema and registry regressions for integral JSON numbers.
Validation: 144 tool-validation tests; Ruff; BasedPyright;
import-boundary checks; git diff --check.
2026-10-18 20:22:33 +08:00
takiAA
5f6e8a6baa
fix(documents): preserve complete PDF pages across reads
2026-10-18 16:52:47 +08:00
Xubin Ren
42276f4884
test(shell): treat vanished Linux proc entries as stopped
2026-10-18 16:40:43 +08:00
Rudy Celekli
af353fae73
fix(grep): preserve XLSX cell locators for literal tabs
...
Keep extracted spreadsheet text unchanged and carry actual cell start offsets into grep headers. Add real workbook GrepTool regressions and plain/empty-cell controls. Focused literal-source extraction/ContentPage replay passes; full GrepTool and required CI remain pending.
2026-10-18 16:40:43 +08:00
Xubin Ren
6330b748de
test(shell): handle process reaping during PID checks
2026-10-18 15:55:24 +08:00
fhgffy
8adab28aee
fix(web): handle case-insensitive image media types
2026-10-18 15:55:24 +08:00
chengyongru
74942bd190
test: replace false-green checks with behavioral coverage ( #6282 )
...
* test: replace false-green checks with behavioral coverage
* test: complete behavior-focused audit coverage
2026-10-18 03:16:25 +08:00
chengyongru
8f6a5594fb
refactor(session): centralize state ownership in SQLite ( #5943 )
...
* fix(session): move persistence off event loop
* refactor(session): isolate async persistence boundary
* refactor(session): keep a single session manager
* refactor(session): use stateless async adapters
* fix(session): serialize local persistence without file-lock contention
* refactor(session): own async persistence and snapshot commits
* refactor(session): narrow persistence changes to async adapters
* refactor(session): remove redundant async forwarding helpers
* fix(command): offload compact session persistence
* fix(session): adapt idle compaction to current main
* fix(webui): offload session metadata persistence
* refactor(session): centralize state ownership in SQLite
* fix(session): skip storage for non-recoverable followups
* test(webui): honor the full gateway event deadline
* perf(session): persist incremental changes and reuse owner snapshots
* test(agent): allow durable worker shutdown in burst test
* fix(gateway): drain session storage on Windows console shutdown
* fix(session): enforce bounded ownership and lifecycle-safe persistence
* fix: reject unresolved home paths and stabilize platform tests
* fix(session): preserve request context compatibility and owner-backed tests
* docs: focus configuration guide on user-facing behavior
* fix(session): adapt goal admission to async ownership after rebase
* fix(session): integrate current gateway and subagent contracts
* fix(session): align rebased workspace admission and async tests
* fix(session): support compatible SQLite schema evolution
* test(agent): use session owner in workspace context regressions
* test: stabilize Windows lifecycle and browser checks
* refactor(session): remove premature JSONL file export
* ci: bound Windows full-suite worker concurrency
* chore: remove session state refactor notes
* fix(session): queue writes and retain worker connections
* perf(webui): read detached metadata for session and task lists
* perf(agent): bound prompt preparation and local token counting
* docs: remove internal session storage guide
* perf(session): skip archived transcripts during idle scans
* fix(session): coordinate turns and isolate legacy session data
Bind WebUI input generations to the execution session and serialize idle
and SDK compaction with turns. Keep turn drafts through preparation so the
latest channel route persists.
Move imported workspace JSONL and checkpoints to durable private backups
before gateway admission, resuming cleanup after interruptions. Remove
committed child sessions when task creation is cancelled.
Validation: focused Python and frontend regressions, Ruff, BasedPyright,
import boundaries, WebUI build, and isolated gateway/browser flows.
* fix(agent): keep cancellation hooks independent of prompt preparation
* fix(session): preserve admission, delivery, and migration contracts
* fix(agent): preserve cancellation settlement after rebase
* fix(session): preserve request attribution through async ownership
2026-10-16 17:28:47 +08:00
chengyongru
67248790c7
test(shell): remove scheduling race from partial-byte idle check
2026-10-16 15:05:56 +08:00
chengyongru
6310a39bac
fix(shell): separate wait, idle, and runtime limits ( #6228 )
...
* fix(shell): separate wait, idle, and runtime limits
* fix(shell): separate wait, idle, and runtime limits
* fix(exec): preserve settings aliases and reclaim completed sessions
* fix(webui): make shell runtime limits explicit
2026-10-16 13:44:15 +08:00
chengyongru
4fa125e134
fix(exec): filter terminal control sequences from shell output
2026-10-16 00:11:21 +08:00
chengyongru
841d2b880c
fix(agent): make tool error guidance neutral ( #6227 )
...
* fix(agent): make tool error guidance neutral
* refactor(tools): share tool error guidance
2026-10-15 16:58:39 +08:00
chengyongru
1d43b46e54
fix(exec): reject shell paths with unresolved home directories
2026-10-15 09:51:53 +08:00
chengyongru
6b90e400e4
refactor(tools): streamline built-in tool descriptions ( #6201 )
...
* refactor(tools): streamline built-in tool descriptions
* refactor(tools): retain actionable schema details
2026-10-14 10:34:07 +08:00
Xubin Ren and chengyongru
23941355a8
feat(images): reuse named connections and image request settings
...
Preserve the reviewed tree while removing obsolete stacked branch history.
Co-authored-by: chengyongru <chengyongru.ai@gmail.com >
2026-10-12 21:22:35 +08:00
chengyongru
105b772203
refactor(agent): compose image tools in application runtimes ( #6172 )
...
* refactor(agent): move image configuration ownership into tools
* refactor(agent): compose image tools in application runtimes
2026-10-12 17:42:45 +08:00
chengyongru
bdfc8f7bd4
fix(image): use standalone Codex Images API ( #6177 )
...
* fix(image): use standalone Codex Images API
* docs(image): keep Codex setup focused on user actions
2026-10-12 17:05:38 +08:00
chengyongru
f04ed1c2eb
test: align test names with current assertions ( #6130 )
...
* test: align test names with current assertions
* test: align suite names and explicit configuration cases
2026-10-10 11:49:32 +08:00
chengyongru
5be1e589f2
feat(providers): share Responses backend with Codex WebSocket continuation ( #6096 )
...
* feat(codex): continue sessions over Responses WebSocket
* fix(codex): retain API errors with repeated handshake headers
* test(codex): assert attachment paths before JSON escaping
* refactor(providers): share Responses transport and state backend
* fix(grok): update subscription client version
* docs: keep Codex configuration focused on user settings
2026-10-08 11:54:23 +08:00
Xubin Ren
61ab136e58
fix(webui): let users review a return to the previous task chat
2026-10-07 01:12:23 +08:00
Max Hsu
d9ceae15be
fix(mcp): let streamable HTTP read timeout cover tool_timeout
...
The streamable HTTP client used httpx.Timeout(30.0, connect=10.0), so the
read timeout was fixed at 30s regardless of tool_timeout. A server that
stays silent until the result is ready (e.g. FastMCP json_response=True)
hit ReadTimeout after 30s; the tool call then hung until tool_timeout
fired and reported "(MCP tool call timed out after Ns)".
Use the MCP SDK's own httpx defaults (30s, read=300s) and raise the read
timeout to tool_timeout when it is larger. Connect stays at 10s.
Fixes #6065
2026-10-06 01:41:10 +08:00
takiAA
9dc0abae4f
fix(documents): read cells beyond declared XLSX dimensions
2026-10-05 22:33:30 +08:00
chengyongru
6ff96f2a8f
feat(subagent): add session-owned task messaging and cancellation ( #5985 )
...
let's go!
2026-10-05 05:16:33 +08:00
RaycarlLei
8052c3a460
fix(tools): scope recursive directory ignores to listed root
2026-10-03 20:40:37 +08:00
Xubin Ren
5e54043492
test(tools): verify nullable enum with multiple union types
2026-10-03 20:03:48 +08:00
Shuhan Si
9ea3268dfb
fix: 执行 null 参数的类型和枚举校验
2026-10-03 20:03:48 +08:00
Shuhan Si
ae6801d3eb
fix(tools): preserve supplied newlines when creating files
2026-10-03 17:38:18 +08:00
Kail Tian
042bcbbe46
fix(tools): preserve indentation in newline-terminated fallback edits
2026-10-03 17:15:11 +08:00
Kail Tian
e36a016b6f
fix(tools): preserve separator whitespace in inline replacements
2026-10-03 16:57:04 +08:00
Kail Tian
432421bceb
fix(tools): preserve valid JSON Schema union arguments
2026-10-03 01:16:54 +08:00
Kail Tian
1535cb1b6b
fix(exec): enforce session hard timeouts without polling
2026-10-03 00:22:31 +08:00
chengyongru
54d85059a5
fix(tools): preserve PATH for argument-vector commands
2026-09-30 13:09:30 +08:00
chengyongru
b7abbcd70b
fix(agent): require subagent consolidator at construction
2026-09-29 15:28:05 +08:00
Kail Tian
4f7479ca64
fix(web): propagate web_fetch failures as structured tool errors
2026-09-28 15:44:56 +08:00
chengyongru
e0b8efa0be
feat(tools): use installed ripgrep for native file search ( #5948 )
...
* feat(tools): expose installed ripgrep through exec
* refactor(tools): launch ripgrep with native argument vectors
* refactor(tools): reuse the fresh exec parameter schema
* fix(tools): select search backend in loader and display rg arguments
* fix(ui): simplify rg previews and localize search completion
* docs: simplify ripgrep configuration note
* docs: keep ripgrep note on one line
2026-09-28 13:44:51 +08:00
chengyongru
932b06f0de
fix(providers): preserve tool optionality in Responses requests
2026-09-27 18:47:48 +08:00
Kail Tian
f62e0da9f6
fix(mcp): load all pages of server tools before registration
2026-09-26 20:52:14 +08:00
chengyongru
6eccc2859a
test: consolidate repetitive cases across the suite
2026-09-25 14:28:21 +08:00
chengyongru
c406024b59
test: consolidate redundant compaction and tool tests
2026-09-25 14:28:21 +08:00
chengyongru
cab3a360ea
fix(tools): make oversized line truncation explicit
2026-09-24 16:24:06 +08:00
FanouZeng-TT
f57eba2b07
fix(tools): keep read_file progressing when a single line exceeds the output budget
...
ReadFileTool stops at the first numbered line that does not fit the
128 KiB budget. When that line is the first one, no line is appended and
the tool returns an empty page that reports lines 2-1 and repeats the
same offset, so the caller can never reach the rest of the file. A long
line further down has the same effect for everything after it.
Emit a bounded prefix of that line and advance the continuation offset
past it, so every read returns content and makes progress.
2026-09-24 16:24:06 +08:00
chengyongru
a4a733d965
refactor(tools): remove unused global file state compatibility
2026-09-24 13:08:08 +08:00
chengyongru
c5f78bbd5c
fix(mcp): handle OAuth interruptions through Loguru
2026-09-23 18:29:52 +08:00
chengyongru
f9048dc514
fix(linear): retain issue context and clarify OAuth diagnostics
2026-09-23 18:29:52 +08:00
chengyongru
27b3e81434
refactor(tools): build grep context pages incrementally
2026-09-23 14:39:41 +08:00
chengyongru
c8ed6a1209
fix(tools): keep searches scoped and results resumable
2026-09-23 14:04:08 +08:00