opencode/packages/opencode
Dax Raad 01edae4a7f fix(core): spawn shell non-interactively without sourcing rc files
ShellSelect.args() ran zsh/bash with -l and explicitly sourced .zshrc/.bashrc,
loading user functions and aliases that can shadow builtins and return non-zero
exit codes, breaking && chains. Match the old tool behavior: plain non-login
non-interactive shell -c command with cwd passed via spawn options.
2026-06-29 12:05:56 -04:00
..
bin
migration/20260511173437_session-metadata
script
specs
src fix(core): spawn shell non-interactively without sourcing rc files 2026-06-29 12:05:56 -04:00
test refactor(core): replace bash tool with shell tool 2026-06-29 00:44:17 -04:00
.gitignore
AGENTS.md docs(opencode): mark package as v1 2026-06-27 01:16:30 -04:00
bunfig.toml
Dockerfile
git
package.json refactor(tui): wire generated client reads (#34381) 2026-06-29 11:36:10 -04:00
parsers-config.ts
README.md
sst-env.d.ts
tsconfig.json

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.