turtle1999
112ce776ac
release(dsh): 0.1.7-alpha.1
2026-09-22 11:59:16 +08:00
Turtle
601d6761e4
feat(settings): project volatile Config through profile-backed forms ( #4587 )
2026-09-21 18:26:03 +08:00
Yichen Jiang
bb20149360
refactor(shell): register foreground commands as jobs at start and drop the promotion protocol
...
With a job registry composed, tool-bash and tool-pwsh now register every
command with ctx.jobs as it starts and wait on the job with the registry's
own bounded wait: a command that finishes in time returns the ordinary
foreground result and its record is removed, one that outlives the timeout
returns the same job id it already had, and a kill from outside the call is
reported as `[stopped: <reason>]`. Nothing changes hands at the deadline, so
the shell seam loses `onExpiry: 'offer'`, `ShellExecution.promotion`, and
`ShellPromotionOffer`, and both local executors drop their offer arm.
The registry stays optional: the tools register a foreground-only definition
while no registry is composed and swap to the job-backed one inside a
`ctx.inject(['jobs'])` fork, so a composition without jobs keeps a plain bash
with no job tools in the model's schema. A refused registration at the start
(admission, no controller) runs under the executor's deadline kill, and a wait
that expires before the process spawned ends as the preparation timeout.
JobRegistry gains `remove(id, caller?)` and the `settled` event reports
`awaited`, so dsh-tool-jobs no longer keeps its own wait ledger; it withholds
notices for awaited settlements and for kills the model requested. The tool
catalog harvest composes the registry so the shipped schema stays documented,
and the two compaction fixtures move their context window from 10000 to 10300
tokens because the branch's larger tool schemas pushed their condensed history
over the old trigger, which requested a fourth scripted model call.
2026-09-21 15:23:08 +08:00
Yichen Jiang
c4bc8b847a
Merge branch 'worktree/jobs-api-review-3052' into worktree/jobs-api-review-3127
...
# Conflicts:
# packages/client/ui-jobs/src/client/JobListAction.tsx
# packages/shell/bash-local/tests/executor.spec.ts
2026-09-19 10:40:27 +08:00
Yichen Jiang
70cacfdcaa
test(shell): cover cancellation before reading failed launch results
2026-09-19 10:35:48 +08:00
creatixchu
6b1808f432
release(dsh): 0.1.6-alpha.2
2026-09-17 21:11:19 +08:00
Yichen Jiang
c2fb2bd4e8
Merge branch 'worktree/jobs-api-review-3052' into worktree/jobs-api-review-3127
...
# Conflicts:
# .agents/notes/implemented/feature/2026-08-08-web-background-job-display.i18n.yaml
# docs/config-catalog.i18n.yaml
# docs/event-producer-consumer.i18n.yaml
# docs/module-graph.i18n.yaml
# docs/subsystems/jobs.i18n.yaml
# docs/subsystems/shell.i18n.yaml
# docs/subsystems/shell.md
# docs/subsystems/shell.zh.md
# docs/tool-catalog.i18n.yaml
# packages/api/session-controller/README.i18n.yaml
# packages/context/tmux-context/tests/tmux-context.spec.ts
# packages/e2b/e2b/tests/fixtures/composition/bin.ts
# packages/extensions/tool-cordis/src/api-catalog.ts
# packages/shell/bash-local/README.i18n.yaml
# packages/shell/bash-local/README.md
# packages/shell/bash-local/README.zh.md
# packages/shell/bash-local/src/index.ts
# packages/shell/bash-local/tests/executor.spec.ts
# packages/shell/bash-sandbox/README.i18n.yaml
# packages/shell/bash-sandbox/README.md
# packages/shell/bash-sandbox/README.zh.md
# packages/shell/bash-sandbox/src/index.ts
# packages/shell/bash-sandbox/tests/bwrap.e2e.ts
# packages/shell/bash-sandbox/tests/landlock.e2e.ts
# packages/shell/bash-sandbox/tests/partial-landlock.spec.ts
# packages/shell/bash-sandbox/tests/sandbox.spec.ts
# packages/shell/bash-sandbox/tests/seatbelt.e2e.ts
# packages/shell/pwsh-local/README.i18n.yaml
# packages/shell/pwsh-local/README.md
# packages/shell/pwsh-local/README.zh.md
# packages/shell/pwsh-local/src/index.ts
# packages/shell/pwsh-local/tests/executor.spec.ts
# packages/shell/pwsh-sandbox/README.i18n.yaml
# packages/shell/pwsh-sandbox/README.md
# packages/shell/pwsh-sandbox/README.zh.md
# packages/shell/pwsh-sandbox/src/index.ts
# packages/shell/pwsh-sandbox/tests/sandbox.spec.ts
# packages/shell/shell/README.i18n.yaml
# packages/shell/shell/README.md
# packages/shell/shell/README.zh.md
# packages/shell/shell/src/index.ts
# packages/shell/shell/tests/service.spec.ts
# packages/shell/tool-bash/README.i18n.yaml
# packages/shell/tool-bash/src/index.ts
# packages/shell/tool-bash/tests/tools.spec.ts
# packages/shell/tool-pwsh/README.i18n.yaml
# packages/shell/tool-pwsh/src/index.ts
# packages/shell/tool-pwsh/tests/background.spec.ts
# packages/shell/tool-pwsh/tests/tools.spec.ts
# packages/workflow/tool-workflow/README.i18n.yaml
# packages/workflow/tool-workflow/package.json
# packages/workflow/tool-workflow/tests/tool-workflow.spec.ts
# snapshots/session/ptc-python-turn/system-prompt.expected.md
2026-09-17 16:48:06 +08:00
creatixchu
ea53423b60
release(dsh): 0.1.6-alpha.1
2026-09-15 09:35:57 +08:00
Tianyi Cui
73e38e1758
fix(shell): include confinement preparation in foreground deadlines
2026-09-12 15:03:03 +08:00
Tianyi Cui
fd9d333fbe
test(runtime): cover async preparation in built and Windows paths
2026-09-12 15:03:03 +08:00
Tianyi Cui
58b67dcb5a
fix(fs): preserve physical traversal in directory entry paths
2026-09-12 15:03:03 +08:00
Tianyi Cui
caa69608fb
refactor(sandbox): await cancellable preparation in process consumers
2026-09-12 15:03:02 +08:00
Tianyi Cui
2344830cfd
test(code-runtime): align UI binding fixture and shared diagnostic ownership
2026-09-12 15:03:02 +08:00
Tianyi Cui
75ed8da3e0
feat(code-runtime): execute Node programs through confined processes
2026-09-12 15:03:01 +08:00
Tianyi Cui
d8efd4f8cd
feat(subprocess): carry a duplex control pipe through managed launches
2026-09-12 15:03:00 +08:00
Yichen Jiang
59f2e3be33
Merge release/dsh-0.1.5 version 0.1.5-rc.2 into master sync branch
2026-09-10 21:53:53 +08:00
Yichen Jiang
a305303422
release(dsh): 0.1.5-rc.2
2026-09-10 21:38:20 +08:00
Yichen Jiang
72e6329267
Merge branch 'worktree/jobs-api-review-3052' into worktree/jobs-api-review-3127
...
# Conflicts:
# packages/api/session-controller/README.i18n.yaml
# packages/api/session-controller/README.zh.md
# packages/shell/bash-sandbox/README.i18n.yaml
# packages/shell/bash-sandbox/README.zh.md
# packages/shell/pwsh-local/README.i18n.yaml
# packages/shell/pwsh-local/README.zh.md
# packages/shell/pwsh-sandbox/README.i18n.yaml
# packages/shell/pwsh-sandbox/README.zh.md
# packages/shell/shell/README.i18n.yaml
# packages/shell/shell/README.zh.md
# packages/shell/tool-bash/README.i18n.yaml
# packages/shell/tool-bash/README.zh.md
# packages/workflow/tool-workflow/README.i18n.yaml
# packages/workflow/tool-workflow/README.zh.md
2026-09-10 14:09:55 +08:00
j-xiang
4ddf777ad8
Merge master into README proofreading branch
2026-09-10 10:42:13 +08:00
imccyu
1ef9c1fa9a
release(dsh): 0.1.5-rc.1
2026-09-10 09:13:14 +08:00
j-xiang
b5578ae46a
Merge master into README proofreading branch
2026-09-10 01:29:37 +08:00
j-xiang
8e8fb2fc62
docs(i18n): proofread bilingual README corpus
2026-09-10 00:21:32 +08:00
imccyu
dd393c1820
release(dsh): 0.1.5-alpha.2
2026-09-09 22:02:09 +08:00
Yichen Jiang
ab6dacc80e
Merge branch 'worktree/jobs-api-review-3052' into worktree/jobs-api-review-3127
...
# Conflicts:
# packages/shell/pwsh-local/tests/executor.spec.ts
# packages/shell/shell/README.i18n.yaml
# packages/shell/shell/README.md
# packages/shell/shell/README.zh.md
# packages/shell/tool-bash/README.i18n.yaml
# packages/shell/tool-bash/README.md
# packages/shell/tool-bash/README.zh.md
# packages/workflow/tool-workflow/README.i18n.yaml
# packages/workflow/tool-workflow/README.md
# packages/workflow/tool-workflow/README.zh.md
2026-09-09 14:44:14 +08:00
imccyu
2faa751be9
release(dsh): 0.1.5-alpha.1
2026-09-08 23:06:34 +08:00
imccyu
97e7223d5f
refactor(native): expose Landlock through its capability subpath
2026-09-08 20:49:10 +08:00
imccyu
7264906f99
refactor(native): rename package family to node-addon-system
2026-09-08 20:49:10 +08:00
Yichen Jiang
f2f696c358
test(bash-sandbox): expect the merged provider-failure note for a synchronous ENOEXEC
...
The background branch of the synchronous ENOEXEC case still looked for the
pre-merge `spawn failed:` note; the merged providers render master's
stage-neutral `subprocess failed before reporting an outcome:` on that
path.
2026-09-08 14:38:35 +08:00
Turtle
f1c1ff5a08
docs: constrain package README summaries
2026-09-08 13:52:40 +08:00
Yichen Jiang
80fa0bee05
Merge branch 'worktree/process-plugin-streaming-72f9b3' into worktree/job-kill-delivery
...
# Conflicts:
# packages/shell/bash-local/README.i18n.yaml
# packages/shell/bash-local/README.md
# packages/shell/bash-local/README.zh.md
# packages/shell/bash-local/src/index.ts
# packages/shell/bash-local/tests/executor.spec.ts
# packages/shell/pwsh-local/README.i18n.yaml
# packages/shell/pwsh-local/README.md
# packages/shell/pwsh-local/README.zh.md
# packages/shell/pwsh-local/src/index.ts
# packages/shell/shell/README.i18n.yaml
# packages/shell/shell/README.md
# packages/shell/shell/README.zh.md
# snapshots/session/pwsh-tool-turn/tool-schemas.expected.json
2026-09-08 13:52:08 +08:00
Yichen Jiang
e379fa8bdd
release(dsh): 0.1.3-alpha.2
2026-09-07 19:27:06 +08:00
pku-xht
e9f1b6c53e
Merge remote-tracking branch 'origin/master' into codex/subprocess-native-containment
...
# Conflicts:
# .agents/notes/implemented/architecture/2026-07-16-explicit-turn-cancellation.i18n.yaml
# .agents/notes/implemented/architecture/2026-07-16-explicit-turn-cancellation.md
# .agents/notes/implemented/architecture/2026-07-16-explicit-turn-cancellation.zh.md
# .agents/notes/implemented/architecture/2026-09-05-canonical-feedback-log.i18n.yaml
# .agents/notes/implemented/architecture/2026-09-05-nonofficial-feedback-otel.i18n.yaml
# .agents/notes/implemented/architecture/2026-09-06-embedded-stream-record-readers.i18n.yaml
# .agents/notes/implemented/bug-fix/2026-09-03-normalized-unread-fs-tool-diagnostic.i18n.yaml
# .agents/notes/implemented/bug-fix/2026-09-06-windows-python-console-spawn-wait.i18n.yaml
# .agents/notes/implemented/feature/2026-08-26-generic-file-upload.i18n.yaml
# .agents/notes/implemented/feature/2026-09-07-model-switch-notice.i18n.yaml
# .agents/notes/implemented/process/2026-09-03-semantic-issue-templates-and-policy.i18n.yaml
# packages/shell/bash-local/tests/executor.spec.ts
# packages/subprocess/subprocess-local/README.i18n.yaml
# packages/subprocess/subprocess-local/README.md
# packages/subprocess/subprocess-local/README.zh.md
# packages/subprocess/subprocess-local/src/spawn.ts
# packages/subprocess/subprocess-local/tests/spawn.spec.ts
# packages/subprocess/win32-process/package.json
2026-09-07 17:43:45 +08:00
Yichen Jiang
206e5c6545
Merge branch 'worktree/process-plugin-streaming-72f9b3' into worktree/job-kill-delivery
...
# Conflicts:
# apps/web/tests/background-job-list.e2e.ts
# docs/config-catalog.i18n.yaml
# docs/config-catalog.zh.md
# packages/api/job-controller/README.i18n.yaml
# packages/api/job-controller/README.md
# packages/api/job-controller/README.zh.md
# packages/api/session-controller/README.i18n.yaml
# packages/api/session-controller/README.md
# packages/api/session-controller/README.zh.md
2026-09-05 14:06:00 +08:00
Yichen Jiang
ed67c22496
release(dsh): 0.1.3-alpha.1
2026-09-04 15:38:55 +08:00
Yichen Jiang
ca3d9af0a7
Merge remote-tracking branch 'origin/worktree/process-plugin-streaming-72f9b3' into worktree/job-kill-delivery
...
# Conflicts:
# packages/shell/bash-sandbox/tests/sandbox.spec.ts
# packages/shell/pwsh-local/tests/executor.spec.ts
2026-09-04 13:42:20 +08:00
pku-xht
d79f5c04e8
Merge master into codex/subprocess-native-containment
2026-09-03 21:46:02 +08:00
Chinesezjc
1107ff5fe1
test: remove remaining dsh-* spill/temp dirs in shell and fs specs
...
Full-template residue histogram on the CI host surfaced four more normal-exit
leaks below the earlier cutoff: tool-bash/tool-pwsh tools.spec (module spill
dir / per-test homes), bash-sandbox sandbox.spec (module spill dir and the
read-only denial root), and fs-sandbox fs-sandbox.spec (inline tmp dir). All
four now remove what they create at the same teardown points as their
neighbors.
2026-09-03 16:26:22 +08:00
Yichen Jiang
07d9d5b5cd
Merge remote-tracking branch 'origin/worktree/process-plugin-streaming-72f9b3' into worktree/job-kill-delivery
2026-09-03 11:33:34 +08:00
imccyu
a66e470204
release(dsh): 0.1.2-rc.1
2026-09-03 02:27:19 +08:00
pku-xht
fe873955b4
Merge master@313ac567 into subprocess native containment
2026-09-02 23:00:02 +08:00
Yichen Jiang
d1ec8baaf5
Merge remote-tracking branch 'origin/master' into worktree/job-kill-delivery
...
# Conflicts:
# docs/config-catalog.i18n.yaml
# docs/config-catalog.md
# docs/config-catalog.zh.md
# packages/client/ui-chat/src/client/contract/slots.ts
# packages/client/ui-chat/src/client/conversation-nodes/chat-snapshot-builder.ts
# packages/client/ui-jobs/package.json
# packages/extensions/cordis-client-runner/src/client/slot-catalog.ts
# snapshots/web/ptc-round/session.jsonl
# snapshots/web/ptc-round/system-prompt.expected.md
2026-09-02 21:40:24 +08:00
imccyu
db6bdc3576
release(dsh): 0.1.2-alpha.5
2026-09-02 15:48:33 +08:00
imccyu
a9e185f205
release(dsh): 0.1.2-alpha.4
2026-09-01 23:19:57 +08:00
Yichen Jiang
4ee1e1af25
Merge branch 'worktree/process-plugin-streaming-72f9b3' into worktree/job-kill-delivery
...
Carries the master sync forward (invariant-companion cleanup, alpha.3 bump);
regenerates the client api catalog so ISession lists both killJob and the new
loadThrough, and refreshes the new ptc-python-turn scenario's system-prompt
pin for this branch's bash timeout-promotion schema text.
2026-09-01 20:30:36 +08:00
Turtle
d68ff7e66f
Merge remote-tracking branch 'origin/master' into turtle/omit-unneeded-invariants
...
# Conflicts:
# docs/module-graph.i18n.yaml
# docs/module-graph.md
# docs/module-graph.zh.md
# packages/session/session-projection/src/invariant.ts
# tsconfig.base.json
2026-09-01 11:18:11 +08:00
imccyu
14bab4422b
release(dsh): 0.1.2-alpha.3
2026-08-31 23:39:37 +08:00
pku-xht
fc19a0a3fa
fix(subprocess): clarify provider failures and scope polling
2026-08-31 19:26:08 +08:00
pku-xht
fb00331cfa
Merge master into subprocess native containment
2026-08-31 15:24:49 +08:00
Turtle
b8e3b32fcf
Merge master into codex/omit-unneeded-invariants
2026-08-31 14:38:55 +08:00
Yichen Jiang
922c80ce66
Merge branch 'worktree/process-plugin-streaming-72f9b3' into worktree/job-kill-delivery
...
# Conflicts:
# docs/event-producer-consumer.i18n.yaml
# docs/event-producer-consumer.md
# docs/module-graph.i18n.yaml
# docs/module-graph.md
# docs/module-graph.zh.md
# packages/api/session-controller/src/commands.ts
# packages/api/session-controller/tests/session.client.spec.ts
# packages/client/ui-activity/package.json
# packages/shell/tool-bash/src/index.ts
# packages/shell/tool-bash/tests/tools.spec.ts
# packages/shell/tool-pwsh/src/index.ts
2026-08-31 11:22:11 +08:00