Commit graph

98 commits

Author SHA1 Message Date
James Long
703d6279db fix(core): settle an interrupted shell call without waiting for the stop 2026-11-05 20:20:03 +00:00
James Long
6739eb588b refactor(core): record a foreground shell command in the daemon instead of at shutdown 2026-11-05 20:18:21 +00:00
James Long
71005e765c refactor(core): keep daemon shell commands in one server-wide registry 2026-11-05 20:15:04 +00:00
James Long
11c99974ea fix(core): keep background jobs running for the next server on any shutdown 2026-11-05 20:04:50 +00:00
James Long
992ff961b7 fix(core): keep an interrupted shell call's output visible in clients 2026-11-05 20:02:35 +00:00
James Long
923b92688c fix(core): keep watching daemon commands when their Location closes 2026-11-05 18:26:11 +00:00
James Long
d9868362e9 test(core): run shell daemon tests on the fake daemon and the test clock 2026-11-05 17:53:57 +00:00
James Long
805b9f1d82 fix(core): tell shutdown and Location close apart from a user interrupt 2026-11-05 17:53:57 +00:00
James Long
81c2b7ebfa test(core): cover planned-shutdown recording and the real daemon path 2026-11-05 17:53:57 +00:00
James Long
592a5ce0ed feat(core): run local shell commands in the process daemon 2026-11-05 17:53:56 +00:00
James Long
c0cc5e6fda fix(core): keep a shell command's output when its call is interrupted 2026-11-05 17:53:56 +00:00
Aiden Cline
5d24e0dc5b
test(core): use the shared temp dir helpers (#61174) 2026-11-01 21:21:13 -06:00
Kit Langton
dc0bfc5ea4
fix(core): check redirects, PowerShell method calls, and dynamic directory changes (#60376) 2026-10-29 15:29:19 -07:00
Kit Langton
8609cc55d0
refactor(core): finish moving shell permission checks off tree-sitter (#60332) 2026-10-29 12:30:10 -07:00
opencode-agent[bot]
5f1f8d094c
test: deflake shutdown-deadline cleanup and PowerShell permission timeout (#59667)
Co-authored-by: rekram1-node <63023139+rekram1-node@users.noreply.github.com>
2026-10-27 12:21:31 -05:00
Kit Langton
81b92c043f
feat(core): enable portable shell scanner on local and dev channels (#53479) 2026-10-05 22:13:16 -07:00
Aiden Cline
3740ec311b
feat(core): align shell tool environment with agent conventions (#51975) 2026-09-28 19:53:53 -05:00
Aiden Cline
03af821aa5
fix(core): restore the shell no-output placeholder (#51187) 2026-09-24 13:12:42 -05:00
Aiden Cline
e22c1622e0
fix(core): report shell commands killed by a signal (#51145) 2026-09-24 11:21:31 -05:00
Dax
ad1a4a6539
fix(core): simplify shell output notices (#50676) 2026-09-22 11:47:07 -04:00
Dax Raad
2a132d6f50 fix(tui): include provider latency in TPS 2026-09-17 10:40:12 -04:00
Aiden Cline
d24f8b0810
fix(core): discourage polling background shell commands (#48041) 2026-09-08 18:34:59 -05:00
Dax
a5312e169b
refactor(packages): migrate to the opencode npm scope (#47852) 2026-09-07 17:19:33 -04:00
Kit Langton
5c3f2ddf8c
refactor(core): unify filesystem access policy (#47630) 2026-09-07 09:26:55 -04:00
Kit Langton
97303c39dd
fix(core): expand portable shell scanner compatibility (#47110) 2026-09-03 14:11:58 -04:00
Kit Langton
f34b74b1dc
test(core): refuse network in the test harness (#46908) 2026-09-02 20:41:29 -04:00
Kit Langton
4772b6a3e8
refactor: rename State drafts to editors (#46876) 2026-09-02 18:39:02 +00:00
Kit Langton
7f2645a8f4
test(core): make Windows-flaky shell and npm tests deterministic 2026-09-01 20:45:14 -04:00
Dax
e76e90b71e
refactor(core): decouple plugins from config loading (#46639) 2026-09-01 20:37:42 -04:00
Kit Langton
d4b4dd17cc
refactor(core): rename plugin flush to awaitActivation 2026-09-01 10:48:08 -04:00
Kit Langton
36ac35a7c8
refactor(util): make layer graphs opaque and composable
Replace exposed layer graph assembly with opaque declarations, checked substitutions, and lifetime-aware compilation. Preserve deep replacement, ordered startup, and Effect-owned resource lifetimes; migrate callers and verify source and published package contracts.
2026-08-31 13:46:27 -04:00
Luke Parker
90fb6562ce
fix(shell): bound post-exit pipe draining on all platforms (#46085) 2026-08-31 16:53:35 +10:00
Kit Langton
6e954f75ee
refactor(core): isolate Session admission and controls (#46019)
Separate ID-bound Session policy from host routing. Bind Inbox and Location preparation dependencies at construction, preserve admission and execution semantics, and cover the extracted ownership contracts directly.
2026-08-28 23:22:25 -04:00
Kit Langton
a38cbd42aa
refactor(core): isolate shell tool preparation
Name the tool-owned pre-spawn preparation boundary while preserving hook edits, permission ordering, directory validation, and effective timeout reporting. Strengthen the existing regression assertions.
2026-08-28 23:17:48 -04:00
Kit Langton
ad9117b107
fix(session): run user shells immediately in the background
Run user shell commands concurrently with model execution, retain their output in one shell entry, and admit non-waking completion messages. Share result capture and notification formatting across shell callers.
2026-08-28 22:46:20 -04:00
opencode-agent[bot]
f6992059be
fix(core): isolate shell jobs by shell ID (#45985)
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2026-08-28 13:13:16 -05:00
Aiden Cline
e12e04f482
fix(core): strengthen background shell guidance (#45843) 2026-08-28 00:19:15 -05:00
Kit Langton
d84d1421ae
test(core): bind acquired test services (#45711) 2026-08-27 22:43:09 -04:00
Kit Langton
83ff4253f5
test: share session message expectations (#45454) 2026-08-27 10:58:12 -04:00
Aiden Cline
fcc6568fcb
feat(core): adjust bg shell completion msg (include output file) (#45461) 2026-08-26 23:04:11 -05:00
Kit Langton
74a0b2d0ad
feat(core): make the portable shell scanner authoritative 2026-08-26 16:35:16 -04:00
Kit Langton
ded8a492d1
fix(core): recover background jobs after restart
Persist background Job ownership and terminal results across server restarts. Resume existing subagent Sessions, admit shell cancellation notices without waking idle parents, and preserve explicit cancellation.
2026-08-26 14:17:43 -04:00
opencode-agent[bot]
0fd719067d
feat(plugin): add permission review hooks (#45003)
Co-authored-by: R44VC0RP <R44VC0RP@users.noreply.github.com>
Co-authored-by: nexxeln <nexxeln@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com>
2026-08-25 16:57:17 +00:00
opencode-agent[bot]
e589969398
fix(core): resolve compatible shells for commands (#44485)
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-08-25 00:24:08 -05:00
Kit Langton
34bd7c220c
feat(session): report interrupt result (#44766) 2026-08-24 17:34:37 -04:00
Aiden Cline
2938ac3298
fix(core): prevent shell eviction loop (#43650) 2026-08-20 19:25:06 -05:00
Aiden Cline
c33c9bf2b9
fix(core): preserve background shell status (#43663) 2026-08-20 11:01:15 -05:00
Kit Langton
b6966177fa
refactor(core): simplify interrupt continuation (#42810) 2026-08-19 20:40:32 -04:00
Kit Langton
f8c46684eb
fix: eliminate flaky CI races (#43522) 2026-08-19 22:12:41 +00:00
Dax
42fc297d30
feat(tui): inherit terminal environment per session (#42957) 2026-08-17 20:18:28 +00:00