Commit Graph
176 Commits
Author SHA1 Message Date
Tianyi Cui 1c2e2680db Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop
# Conflicts:
#	packages/core/agent-loop/README.md
2026-07-14 09:55:54 +08:00
Tianyi Cui 772d7c74e0 Merge branch 'codex/simp-unify-agent-session-id' into codex/simp-ui-identity-residue 2026-07-14 09:55:32 +08:00
Tianyi Cui 6b782b0189 fix: bind stdio to its exact fresh identity 2026-07-14 09:54:34 +08:00
Tianyi Cui 558bc36cd9 Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 09:46:32 +08:00
Tianyi Cui 2333ab19e3 fix: verify JSON-RPC child ownership 2026-07-14 09:46:05 +08:00
Tianyi Cui 18032459a3 Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 09:38:39 +08:00
Tianyi Cui c84fc5d7f2 Merge branch 'codex/simp-unify-agent-session-id' into codex/simp-ui-identity-residue 2026-07-14 09:38:39 +08:00
Tianyi Cui ccd810f84d fix: normalize empty stdio resume identity 2026-07-14 09:36:22 +08:00
Tianyi Cui 25850458ac Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 09:28:49 +08:00
Tianyi Cui 1bb9995128 docs: state subagent carrier invariant 2026-07-14 09:28:41 +08:00
Tianyi Cui 91f702943e Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 09:23:20 +08:00
Tianyi Cui 160bb08a5c Merge branch 'codex/simp-unify-agent-session-id' into codex/simp-ui-identity-residue 2026-07-14 09:23:20 +08:00
Tianyi Cui 2dea4afac0 fix: bind stdio to its configured agent 2026-07-14 09:23:02 +08:00
Tianyi Cui da458d496f Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 08:56:35 +08:00
Tianyi Cui c6cb9f4210 fix: share scope carrier across built JSON-RPC 2026-07-14 08:56:27 +08:00
Tianyi Cui be4547658b Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop
# Conflicts:
#	docs/event-producer-consumer.md
2026-07-14 08:41:57 +08:00
Tianyi Cui 45e3997efc fix: correlate subagent completion by parent scope 2026-07-14 08:41:31 +08:00
Tianyi Cui 7e7f8fd0e7 Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 08:26:05 +08:00
Tianyi Cui d898d1faf0 fix: avoid FIFO subagent lineage attribution 2026-07-14 08:25:52 +08:00
Tianyi Cui 703d51c4cd Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop
# Conflicts:
#	docs/event-producer-consumer.md
2026-07-14 08:11:40 +08:00
Tianyi Cui cb80277e60 fix: retain JSON-RPC subagent locality per run 2026-07-14 08:11:13 +08:00
Tianyi Cui 14ed3a9914 Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 07:30:06 +08:00
Tianyi Cui 03f91a5471 fix: retain local subagent completion identity 2026-07-14 07:29:40 +08:00
Tianyi Cui f55786e154 Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 07:15:05 +08:00
Tianyi Cui e3cfa69ec8 Merge branch 'codex/simp-unify-agent-session-id' into codex/simp-ui-identity-residue 2026-07-14 07:15:05 +08:00
Tianyi Cui c2979322c8 fix: keep stdio targeting on runtime roots 2026-07-14 07:13:42 +08:00
Tianyi Cui c1ed39c4f8 Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 06:54:09 +08:00
Tianyi Cui 05b70ea83d Merge branch 'codex/simp-unify-agent-session-id' into codex/simp-ui-identity-residue 2026-07-14 06:54:09 +08:00
Tianyi Cui 3bd2052d72 fix: allow lineage-bearing stdio targets 2026-07-14 06:52:46 +08:00
Tianyi Cui 3adf429cf3 Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 06:41:37 +08:00
Tianyi Cui d6dbe3443e Merge branch 'codex/simp-unify-agent-session-id' into codex/simp-ui-identity-residue 2026-07-14 06:41:36 +08:00
Tianyi Cui 58e61ae20b fix: retain stdio target across agent replacement 2026-07-14 06:37:58 +08:00
Tianyi Cui 73fe902997 Merge branch 'codex/simp-ui-identity-residue' into codex/simp-hide-concrete-agent-loop 2026-07-14 06:20:22 +08:00
Tianyi Cui e9d1e1cdda docs: update ACP ownership routing 2026-07-14 06:19:24 +08:00
Tianyi Cui 225796c90d refactor: hide the concrete agent loop 2026-07-14 02:32:35 +08:00
Tianyi Cui 9ebb40b84b fix: keep SDK subagent notifications local 2026-07-14 02:28:04 +08:00
Tianyi Cui 61136b22bb refactor: remove UI identity translations 2026-07-14 02:09:09 +08:00
Tianyi Cui 709cc7200e refactor: unify agent and session identity 2026-07-14 01:59:21 +08:00
Tianyi Cui 461c0c598c Merge branch 'codex/simp-session-dead-surface' into codex/simp-session-log-representation 2026-07-14 00:54:55 +08:00
Tianyi Cui 788fb48d4c Merge branch 'codex/simp-session-dead-surface' into codex/simp-session-log-representation
# Conflicts:
#	docs/event-producer-consumer.md
2026-07-14 00:34:46 +08:00
Tianyi Cui 53d9634043 chore: tighten TypeScript duplication lint 2026-07-14 00:24:04 +08:00
Tianyi Cui 8d5422606d Merge branch 'master' into worktree-singleexe 2026-07-14 00:07:22 +08:00
Tianyi Cui 1123e946c0 refactor: simplify session log representation 2026-07-13 23:56:10 +08:00
Tianyi Cui 661504b3ec chore: gate TypeScript duplication in CI 2026-07-13 23:42:54 +08:00
Yichen Jiang 4a4566c922 Merge branch 'master' into worktree-singleexe 2026-07-13 22:57:11 +08:00
Tianyi Cui d5e894edf4 fix(sdk): harden runtime lifecycle and JSON-RPC
Keep DeepSeekHarness.run() reusable, but make ownership of its lazy
runtime process explicit. Document the context-manager/close contract and
update every construction example to use a context manager so repeated runs
remain valid without encouraging leaked subprocesses.

Contain notification predicate failures at the subscription boundary. Remove
only the subscriber whose callback raised, deliver that exception through its
queue, and continue dispatching to healthy subscribers so arbitrary callback
code cannot terminate the shared reader thread or strand later requests.

Enforce one in-flight prompt per server session with an atomic activePrompt
guard. Route overlap through the existing -32603 handler-error response and
clear the guard in finally, preserving parallel prompts across sessions and
sequential reuse without changing JSON-RPC request or notification shapes.

Use StringDecoder for line framing so a UTF-8 code point split across Buffer
chunks is not corrupted. Add a queued-write flush barrier, and make memoized
shutdown await it before disposal and exit while retaining exactly-once
cleanup when shutdown calls race or flushing fails.

Cover callback isolation, same-session exclusion, cross-session concurrency,
split multibyte input, delayed writes, racing shutdown, and flush failure with
deterministic tests.
2026-07-13 21:40:12 +08:00
Yichen Jiang 5d913a796a jsonrpc: harden Python SDK lifecycle and protocol 2026-07-13 16:34:03 +08:00
imccyu 7696f88d9f jsonrpc: adapt to async agent creation and scoped subagent events 2026-07-13 15:57:12 +08:00
imccyu 67fe6c10b6 jsonrpc: SDK serving surface as plugins (dsh-jsonrpc + dsh-jsonrpc-agent) 2026-07-13 15:50:09 +08:00
Tianyi Cui 90adf1003f docs: refine simplification audit after master merge 2026-07-13 15:06:54 +08:00