Peter Steinberger
d9b498f7f0
fix(agents): prefer native Windows PowerShell on PATH ( #114999 )
2026-07-28 03:18:59 -04:00
jincheng-xydt
5a81e9fa81
fix(agents): preserve ANSI sanitizer state across bash chunks ( #103706 )
...
* fix(agents): preserve ANSI sanitizer state across bash chunks
* fix(agents): harden streaming ANSI sanitization
Keep incremental parser state in the canonical terminal owner, avoid a second sanitizer pass, and leave OutputAccumulator and public terminal APIs unchanged.\n\nCo-authored-by: Jicheng Xu <xu.jincheng@xydigit.com >
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-07-18 23:33:40 -07:00
ooiuuii
ecfcaa07e6
fix(shell): keep Git Bash coreutils on PATH ( #108136 )
...
* fix(windows): expose Git Bash coreutils to commands
Co-authored-by: luyifan <al3060388206@gmail.com >
* test(windows): inject duplicate PATH variants
* test(windows): run Git Bash integration in CI
* refactor(windows): keep shell env helper private
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-07-17 12:15:46 +01:00
Peter Steinberger
b84199644d
fix: silent credential-save failures and session/tool hygiene gaps ( #109622 )
...
* fix(agents): surface auth persistence failures and harden session, model, and shell tool hygiene
* refactor(agents): keep shell invocation types module-local
* test(agents): derive shell config type locally
2026-07-17 00:02:45 -07:00
Peter Steinberger
4ed28c3559
refactor(agents): trim shell and tool-loop exports ( #107695 )
...
* refactor(agents): trim shell and session exports
* refactor(agents): trim loop and model exports
* chore(deadcode): refresh unused export baseline
2026-07-14 10:34:39 -07:00
pick-cat
fd5b121510
fix(terminal): strip no-argument C1 CSI sequences in sanitization ( #103707 )
...
* fix(terminal): strip no-argument C1 CSI sequences in sanitization
* test(agents): align shell-utils incomplete ANSI assertion with C1 CSI sanitization
* fix(terminal): parse CSI sequences without leaking output
* fix(terminal): preserve stripAnsi callback contract
* fix(terminal): sanitize Codex approval previews
---------
Co-authored-by: Peter Steinberger <steipete@gmail.com >
2026-07-10 19:57:14 +01:00
Peter Steinberger
a4b032e5d7
fix: harden subprocess, maintenance, and output paths ( #100440 )
...
* fix(agents): contain exec output stream failures
Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com >
* fix(tui): contain local shell stream failures
Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com >
* fix(process): contain command output stream failures
Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com >
* fix(skills): isolate remote bin refresh failures
Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com >
* fix(agents): contain background subagent sweep failures
Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com >
* fix(skills): report directory scan failures
Co-authored-by: wendy-chsy <wan.wenyan@xydigit.com >
* fix(agents): classify plugin approval gateway failures
Co-authored-by: 唐梓夷0668001293 <tang.ziyi@xydigit.com >
* fix(exec): preserve sanitized control-byte evidence
Co-authored-by: Lavya Tandel <lavya@loom.local >
* fix(shared): unwrap standalone parameter tags
Co-authored-by: nankingjing <1079826437@qq.com >
* fix(android): fail shared capture on audio read errors
Co-authored-by: NianJiuZst <3235467914@qq.com >
* docs(changelog): record small bugfix sweep
* fix(output): preserve sanitizer boundary semantics
* test: align sanitizer and sweeper regressions
* fix(terminal): preserve text after lone C1 controls
---------
Co-authored-by: 陈宪彪0668000387 <chen.xianbiao@xydigit.com >
Co-authored-by: wendy-chsy <wan.wenyan@xydigit.com >
Co-authored-by: 唐梓夷0668001293 <tang.ziyi@xydigit.com >
Co-authored-by: Lavya Tandel <lavya@loom.local >
Co-authored-by: nankingjing <1079826437@qq.com >
Co-authored-by: NianJiuZst <3235467914@qq.com >
2026-07-05 22:21:54 +01:00
Peter Steinberger
939fe702a6
docs: document session shell tests
2026-06-04 15:48:20 -04:00
Peter Steinberger
c389839d30
feat: add exec shell snapshot cache
...
Add an opt-in bash/zsh shell snapshot cache for host exec runs, consolidate shell helper ownership into src/agents/shell-utils.ts, document OPENCLAW_EXEC_SHELL_SNAPSHOT, and keep Windows config command execution on the bash resolver. Also removes a redundant Discord gateway close-code type branch that was blocking test type checks.
2026-05-31 15:39:53 +01:00
Peter Steinberger
5c589673ec
test: clarify loose boolean assertions
2026-05-08 14:00:34 +01:00
openclaw-clownfish[bot]
ea9f17256a
fix(exec): prevent shell startup files from overriding daemon env
...
Carries forward the focused shell startup suppression fix from #40200 by NewdlDewdl.
- launch bash, zsh, and fish exec shells with startup files suppressed
- preserve fish/bash/sh PATH fallback, non-interactive shell fallback, and Windows PowerShell behavior
- add regression coverage for the affected shell arg paths
Fixes #40179 .
Carries forward #40200 .
Thanks @NewdlDewdl.
2026-04-29 02:01:07 -07:00
Peter Steinberger
2ad7bd0f55
fix: ignore placeholder shells in runtime detection ( #69308 )
2026-04-21 08:18:01 +01:00
Sk7n4k3d
7b414d8c0b
shell: fall back to sh when SHELL is /usr/bin/false or nologin
2026-04-21 08:18:01 +01:00
Peter Steinberger
fa525bf212
fix(shell): prefer PowerShell 7 on Windows with tested fallbacks ( #25684 )
2026-02-25 01:49:33 +00:00
Peter Steinberger
bfada9e425
test: move more local agents helper suites out of e2e
2026-02-22 10:55:22 +00:00
Peter Steinberger
9131b22a28
test: migrate suites to e2e coverage layout
2026-02-13 14:28:22 +00:00
cpojer
f06dd8df06
chore: Enable "experimentalSortImports" in Oxfmt and reformat all imorts.
2026-02-01 10:03:47 +09:00
Peter Steinberger
9a7160786a
refactor: rename to openclaw
2026-01-30 03:16:21 +01:00
Peter Steinberger
6d16a658e5
refactor: rename clawdbot to moltbot with legacy compat
2026-01-27 12:21:02 +00:00
Peter Steinberger
c9e3c14f9c
fix: finalize exec fish fallback ( #1297 ) (thanks @ysqander)
2026-01-20 11:25:49 +00:00