Commit Graph
6028 Commits
Author SHA1 Message Date
Tianyi Cui c9d3d5d557 fix(jsonl): reject unusable roots at plugin load
A configured root that already exists as a file or unreadable directory cannot host cwd buckets, but the backend previously mounted and deferred that deterministic configuration error until a later list or write.

Probe the resolved root while the plugin loads, surface every error except ENOENT, and keep an absent root valid for lazy first materialization. Document the timing contract, regenerate the config catalog, and pin the non-directory case at the load boundary.
2026-07-20 17:42:44 +08:00
Tianyi Cui 73e3f658c6 fix(persistence): bind JSONL identity before mutation
JSONL discovered a log by the requested session id but later routed repair and append from the parsed header. A log selected for session A could therefore declare session B and redirect mutation to B.

Validate the requested id and exact header-derived cwd-bucket path before returning a stored prefix, reject duplicate ids across buckets, and repeat the id/cwd guards in the coordinator before repair or state publication. Collapse the redundant loadLive hook into loadStored while retaining the existing bucket layout and one-live-writer topology, avoiding flat-layout churn and a locator generic that SQLite and test backends do not need.
2026-07-20 17:42:44 +08:00
Tianyi Cui f77d8fe830 Merge remote-tracking branch 'origin/master' into codex/pr270-retarget-20260720 2026-07-20 17:42:20 +08:00
Tianyi Cui b9a8f2d136 Merge origin/master into codex/send-one-turn 2026-07-20 17:41:28 +08:00
Tianyi Cui 4e7a2c732f fix(commands): remove adapter surface filtering 2026-07-20 17:41:22 +08:00
Tianyi Cui ec0a2bb623 Merge origin/master into codex/send-one-turn
# Conflicts:
#	docs/cordis-catalog/events.md
#	docs/event-producer-consumer.md
#	docs/persistence-catalog.md
#	packages/core/agent-loop/src/loop.ts
#	packages/core/agent/README.md
#	website/zh-CN/api/harness/events.md
2026-07-20 17:41:06 +08:00
Tianyi Cui 1a97a6b6f9 Merge pull request #432 from deepseek-harness/codex/code-runtime-budget-flake
test(code-runtime): stabilize slow-binding budget case
2026-07-20 17:39:40 +08:00
Tianyi Cui b668d67dc9 Merge remote-tracking branch 'origin/master' into codex/pr270-retarget-20260720
# Conflicts:
#	website/.vitepress/config/api-sidebar.json
2026-07-20 17:38:27 +08:00
Tianyi Cui 8044e63e69 Merge goal-tool cleanup into same-session goals 2026-07-20 17:38:03 +08:00
kingwl 5869a46d94 Merge remote-tracking branch 'origin/master' into jsonl-packed-chunk-rows
Conflicts: generated docs only (cordis services catalog and the website
sessions API page) — resolved by regenerating both over the merged sources.
2026-07-20 17:37:30 +08:00
Tianyi Cui 23330b7a7d chore(goal): remove retired e2e dependencies 2026-07-20 17:35:01 +08:00
NI0317 b4750f6333 Merge remote-tracking branch 'origin/master' into rfc/pty 2026-07-20 17:33:50 +08:00
Tianyi Cui c56bee0390 Merge remote-tracking branch 'origin/master' into codex/code-runtime-budget-flake 2026-07-20 17:33:29 +08:00
Tianyi Cui 6eaa6073a2 test(code-runtime): stabilize slow-binding budget case 2026-07-20 17:32:17 +08:00
Tianyi Cui b8826c9e9a Merge pull request #353 from deepseek-harness/codex/compact-tool-result-prune
feat(compact): prune tool results before summarization
2026-07-20 17:30:57 +08:00
Tianyi Cui 818ebb6406 Merge remote-tracking branch 'origin/master' into codex/pr270-retarget-20260720 2026-07-20 17:28:35 +08:00
Tianyi Cui ddad8833df Merge remote-tracking branch 'origin/master' into codex/pr353-retarget-master-20260719 2026-07-20 17:27:24 +08:00
Tianyi Cui 02a048ffd9 Merge remote-tracking branch 'origin/master' into fix/subagent-depth-budget 2026-07-20 17:25:21 +08:00
Tianyi Cui 90b8f583df Merge pull request #401 from deepseek-harness/worktree/contain-result-observer-rejections
fix: contain result observer rejections and correct bundle attribution
2026-07-20 17:24:40 +08:00
Tianyi Cui a87d3e7e55 Merge branch 'codex/goal-session' into codex/commands 2026-07-20 17:24:39 +08:00
Turtle a661f5c8f3 test(tui): prove color scheme detection switches palette ANSI codes 2026-07-20 17:24:29 +08:00
Turtle 3a1b500cef fix(tui): detect terminal color scheme and apply light-optimised palette 2026-07-20 17:24:29 +08:00
Turtle ed784cfdce Render error cause chains at every diagnostic seam
A TUI run against an unreachable endpoint failed with only 'fetch failed':
undici wraps transport failures in a bare TypeError whose diagnosis lives
on .cause, and every diagnostic seam rendered only error.message. The
readline front door additionally rendered failed turns as pure silence.

- dsh-llm: new errorChain(value) renders the full cause chain and
  AggregateError members with circular/hostile-coercion containment.
- llm-deepseek: pre-response transport failures throw LlmError('NETWORK')
  naming the endpoint and chaining the fetch TypeError; aborts keep their
  DOMException so the loop still classifies them as cancellation.
- agent-loop: durable turn/end error messages and logger warnings render
  through errorChain; local renderThrown copies removed.
- ui-stdio: failure turn/end reasons now render ([turn failed <code>],
  [turn aborted], [turn rejected], output-token-limit); startup-failure
  logs use errorChain.
- ui-tui: agent/error notices and the startup-failure line use errorChain.
2026-07-20 17:24:29 +08:00
Tianyi Cui 51f8bef112 Merge remote-tracking branch 'origin/master' into fix/subagent-depth-budget 2026-07-20 17:24:09 +08:00
Tianyi Cui 77ab5516a9 Merge goal tool fixes and align same-session blockers 2026-07-20 17:23:55 +08:00
Tianyi Cui 60ecdbc88b Merge remote-tracking branch 'origin/master' into codex/pr353-retarget-master-20260719 2026-07-20 17:23:17 +08:00
Turtle 85fbf122a9 docs: regenerate event-producer matrix after master merge 2026-07-20 17:22:50 +08:00
Turtle ccb1d09850 Merge remote-tracking branch 'origin/master' into fetch-failed-diagnostics
# Conflicts:
#	docs/event-producer-consumer.md
2026-07-20 17:21:43 +08:00
Yichen Jiang 8fd38974d9 Merge branch 'master' into fix/acp-subagent-cwd 2026-07-20 17:20:07 +08:00
Tianyi Cui 442330d55b Merge origin/master into worktree/contain-result-observer-rejections 2026-07-20 17:19:55 +08:00
Tianyi Cui 0b623bb74c Merge remote-tracking branch 'origin/master' into codex/pr270-retarget-20260720 2026-07-20 17:17:57 +08:00
Tianyi Cui 0b42b2524c Merge remote-tracking branch 'origin/master' into codex/pr270-retarget-20260720
# Conflicts:
#	website/zh-CN/api/harness/events.md
#	website/zh-CN/api/harness/sessions.md
2026-07-20 17:15:50 +08:00
Tianyi Cui a9c5d4ee32 Merge pull request #400 from deepseek-harness/worktree/acp-default-fs-suite
fix(acp-agent): enable the default filesystem suite
2026-07-20 17:14:58 +08:00
Tianyi Cui 2d345b5882 Merge remote-tracking branch 'origin/master' into fix/subagent-depth-budget
# Conflicts:
#	docs/cordis-catalog/services.md
#	docs/persistence-catalog.md
#	website/zh-CN/api/harness/sessions.md
2026-07-20 17:14:24 +08:00
Tianyi Cui 1a1ff56ab7 fix(tool-subagent): default maxDepth to 3 2026-07-20 17:12:14 +08:00
Tianyi Cui 44345feaf7 Merge origin/master into worktree/acp-default-fs-suite 2026-07-20 17:10:28 +08:00
Tianyi Cui 0a8ce10d7a Merge pull request #424 from deepseek-harness/steering-unwrap
fix(session): project injected content verbatim, dropping the XML envelopes
2026-07-20 17:05:07 +08:00
Tianyi Cui 45aa46e924 Merge branch 'master' into fetch-failed-diagnostics 2026-07-20 17:03:49 +08:00
Tianyi Cui 9f5b01d446 Merge origin/master into worktree/acp-default-fs-suite 2026-07-20 17:03:33 +08:00
Tianyi Cui 979b2c652f Merge branch 'master' into translate-skill-subagent 2026-07-20 17:03:11 +08:00
Tianyi Cui 7aee299bda docs(compact): correct pruning surface contracts 2026-07-20 17:02:28 +08:00
Tianyi Cui 27f37942df Merge remote-tracking branch 'origin/master' into fix/subagent-depth-budget 2026-07-20 17:02:25 +08:00
Tianyi Cui bd99e8d04a Merge branch 'master' into steering-unwrap 2026-07-20 17:02:18 +08:00
ZiyaZhang 067691a847 feat(desktop): unified right-side Inspector (Pretty/Raw/JSON) + at-bottom auto-follow fix 2026-07-20 01:59:24 -07:00
ZiyaZhang 830579ab50 feat(desktop): per-session mid-turn message queue (enqueue-on-inflight, drain-once-per-turn, strip UI) 2026-07-20 01:59:23 -07:00
NI0317 f1f35116ea docs(agent-note): propose persistent PTY sessions 2026-07-20 16:57:28 +08:00
Tianyi Cui 15640ca697 fix(goal): require explained model blockers 2026-07-20 16:53:10 +08:00
Tianyi Cui 97e144fff6 Merge branch 'codex/goal-domain' into codex/goal-tools 2026-07-20 16:50:40 +08:00
Tianyi Cui 63d1f7679c docs(goal): refresh generated service references 2026-07-20 16:50:29 +08:00
Tianyi Cui a625ef4fe9 docs(compact): qualify pruning cache reuse 2026-07-20 16:47:56 +08:00