Commit graph

105 commits

Author SHA1 Message Date
Kit Langton
011f9043e8
refactor(core): shell commands run in the environment of their working directory (#64815) 2026-11-19 09:28:22 -08:00
Filip Hejmowski
354afc493e
test(core): fix Windows unit flakes in video, shell, and session-tabs tests (#64875) 2026-11-19 14:47:27 +01:00
James Long
77b322ceae
feat(core): enable full_codemode by default in dev builds (#64761) 2026-11-18 22:00:51 +00:00
James Long
301ab45538
feat(core): make shell the only Code Mode shell tool, pinned and annotated (#64335) 2026-11-17 10:28:59 -05:00
Aiden Cline
7633c30396
test(core): remove Code Mode flag coverage (#64387)
Some checks are pending
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404, x86_64-linux) (push) Waiting to run
bot-nix-hashes / hash (blacksmith-4vcpu-ubuntu-2404-arm, aarch64-linux) (push) Waiting to run
bot-nix-hashes / hash (blacksmith-6vcpu-macos-latest, aarch64-darwin) (push) Waiting to run
bot-nix-hashes / compute (push) Blocked by required conditions
bot-nix-hashes / publish (push) Blocked by required conditions
check-nix / nix-eval (push) Waiting to run
check / typecheck (push) Waiting to run
deploy-files / files-build (push) Waiting to run
deploy-files / files-deploy (push) Blocked by required conditions
deploy-site / site-deploy (push) Blocked by required conditions
deploy-site / site-build (push) Waiting to run
deploy / legacy-build (push) Waiting to run
deploy / legacy-deploy (push) Blocked by required conditions
deploy / data-build (push) Waiting to run
deploy / data-deploy (push) Blocked by required conditions
2026-11-17 07:31:45 +00:00
James Long
a9e910d2d4
fix(core): pin @opencode/pty 0.6.0 and use protocol 9 (#64251) 2026-11-16 21:20:00 -05:00
James Long
73de67fcd2
feat(core): move shell into Code Mode behind full_codemode (#64284) 2026-11-16 15:42:54 -05:00
Aiden Cline
b80a3891a4
feat(core): move timed-out shell commands to the background by default (#63699) 2026-11-13 02:21:33 -06:00
Aiden Cline
73abe63ac2
fix(core): default a zero shell timeout and stop timed-out background commands (#63703) 2026-11-13 01:28:22 -06:00
Aiden Cline
3f073962bd
refactor(core): expose shell exit code, elapsed time, and log path (#63647) 2026-11-12 21:05:35 -06:00
James Long
63dd3f1c6c
feat(core): run local Windows shell commands in the process daemon (#63409) 2026-11-11 18:32:15 -05:00
James Long
f5f5190dd0
refactor(core): remove the unused foreground path from SubagentJob (#63223) 2026-11-11 14:52:20 -05:00
James Long
609ee05a23
feat(core): report subagent results to the parent every time a child goes idle (#63209) 2026-11-11 13:09:19 -05:00
James Long
d4bcde9121
feat(core): run shell commands in the process daemon across handoffs (#62978) 2026-11-10 21:07:50 +00:00
James Long
05d347d750
fix(core): keep a shell command's output when the user interrupts its call (#62977) 2026-11-10 20:28:23 +00:00
Aiden Cline
966168800c
feat(core): background shell commands when their timeout expires (#63024) 2026-11-10 10:31:10 -06:00
Kit Langton
adb0053d09
feat(core): tag shell, tool and model-stream spans with session, agent and command (#62806) 2026-11-08 18:43:36 -08:00
Kit Langton
ece56ca584
fix(core): clearer shell exit and timeout status, pass unmatched zsh globs through (#62141)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-11-07 22:55:26 -06: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