Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
OpenCodeEngineer
opencode
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
opencode
packages
opencode
src
tool
bash.ts
on
dev
User selector
All users
Datepicker
All time
Commit history
Commits on Mar 30, 2026
feat(windows): add first-class pwsh/powershell support (#16069)
Hona
authored
b234370
View commit details
Copy full SHA for b234370
View code at this point
Browse repository at this point
Commits on Mar 28, 2026
tweak: adjust bash tool description to increase cache hit rates between projects (#19487)
rekram1-node
authored
15a8c22
View commit details
Copy full SHA for 15a8c22
View code at this point
Browse repository at this point
Commits on Mar 18, 2026
refactor(truncation): effectify TruncateService, delete Scheduler (#17957)
kitlangton
authored
5dfe86d
View commit details
Copy full SHA for 5dfe86d
View code at this point
Browse repository at this point
Commits on Mar 11, 2026
fix(electron): hide Windows background consoles (#16842)
Show description for 4ab35d2
Hona
and
Brendonovich
authored
4ab35d2
View commit details
Copy full SHA for 4ab35d2
View code at this point
Browse repository at this point
Commits on Mar 9, 2026
refactor(opencode): replace Bun shell in core flows (#16286)
thdxr
authored
2f2856e
View commit details
Copy full SHA for 2f2856e
View code at this point
Browse repository at this point
Commits on Feb 23, 2026
fix: Windows path support and canonicalization (#13671)
Show description for 0042a07
edemaine
and
Hona
authored
0042a07
View commit details
Copy full SHA for 0042a07
View code at this point
Browse repository at this point
Commits on Feb 22, 2026
fix(desktop): change detection on Windows, especially Cygwin (#13659)
Show description for a74fedd
edemaine
and
Hona
authored
a74fedd
View commit details
Copy full SHA for a74fedd
View code at this point
Browse repository at this point
Commits on Feb 18, 2026
chore: generate
opencode-agent[bot]
committed
2d7c9c9
View commit details
Copy full SHA for 2d7c9c9
View code at this point
Browse repository at this point
feat(plugin): pass sessionID and callID to shell.env hook input (#13662)
tesdal
authored
1aa18c6
View commit details
Copy full SHA for 1aa18c6
View code at this point
Browse repository at this point
Commits on Feb 3, 2026
feat(plugin): add shell.env hook for manipulating environment in tools and shell (#12012)
tylergannon
authored
a30696f
View commit details
Copy full SHA for a30696f
View code at this point
Browse repository at this point
Commits on Feb 2, 2026
chore: cleanup external_dir perm logic (#11845)
rekram1-node
authored
188cc24
View commit details
Copy full SHA for 188cc24
View code at this point
Browse repository at this point
Commits on Jan 30, 2026
fix: handle redirected_statement treesitter node in bash permissions (#6737)
pschiel
authored
e7ff714
View commit details
Copy full SHA for e7ff714
View code at this point
Browse repository at this point
Commits on Jan 22, 2026
tweak: bash tool, ensure cat will trigger external_directory perm
rekram1-node
committed
3b7c347
View commit details
Copy full SHA for 3b7c347
View code at this point
Browse repository at this point
Commits on Jan 11, 2026
fix: check worktree for external_directory permission in subdirs (#7811)
dmmulroy
authored
fa79736
View commit details
Copy full SHA for fa79736
View code at this point
Browse repository at this point
Commits on Jan 7, 2026
feat: write truncated tool outputs to files (#7239)
rekram1-node
authored
1b82511
View commit details
Copy full SHA for 1b82511
View code at this point
Browse repository at this point
Commits on Jan 2, 2026
tui: add escape key handling to permission dialogs for better keyboard navigation
thdxr
committed
4956ee3
View commit details
Copy full SHA for 4956ee3
View code at this point
Browse repository at this point
Commits on Jan 1, 2026
test: fix bash test
rekram1-node
committed
7aa1dbe
View commit details
Copy full SHA for 7aa1dbe
View code at this point
Browse repository at this point
fix: ensure new permissions changes work for special case bash commands like rm, cd, etc
rekram1-node
committed
76186d1
View commit details
Copy full SHA for 76186d1
View code at this point
Browse repository at this point
Permission rework (#6319)
Show description for 351ddee
3 people
authored
351ddee
View commit details
Copy full SHA for 351ddee
View code at this point
Browse repository at this point
Commits on Dec 30, 2025
chore: fix various typos (#6429)
didier-durand
authored
8b70824
View commit details
Copy full SHA for 8b70824
View code at this point
Browse repository at this point
Commits on Dec 15, 2025
LLM cleanup (#5462)
Show description for fed4776
3 people
authored
fed4776
View commit details
Copy full SHA for fed4776
View code at this point
Browse repository at this point
Commits on Dec 12, 2025
shell tweaks, better handling for windows (#5455)
Show description for 15caecd
rekram1-node
and
actions-user
authored
15caecd
View commit details
Copy full SHA for 15caecd
View code at this point
Browse repository at this point
Commits on Dec 11, 2025
tweak: bash tool, try to prevent the cd spam
rekram1-node
committed
4e92f54
View commit details
Copy full SHA for 4e92f54
View code at this point
Browse repository at this point
tweak: bash tool deny msg
rekram1-node
committed
4f5abe3
View commit details
Copy full SHA for 4f5abe3
View code at this point
Browse repository at this point
Commits on Dec 9, 2025
tweak: add OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT_MS
rekram1-node
committed
552ee81
View commit details
Copy full SHA for 552ee81
View code at this point
Browse repository at this point
add OPENCODE_EXPERIMENTAL_BASH_DEFAULT_TIMEOUT
rekram1-node
committed
8a9c7a4
View commit details
Copy full SHA for 8a9c7a4
View code at this point
Browse repository at this point
Commits on Dec 7, 2025
chore: format code
actions-user
committed
9c938ee
View commit details
Copy full SHA for 9c938ee
View code at this point
Browse repository at this point
fix: use basename for shell detection to support non-standard paths (#5205)
Show description for 238b907
ayatofrench
and
Ayato French
authored
238b907
View commit details
Copy full SHA for 238b907
View code at this point
Browse repository at this point
tweak: make bash give agent more awareness of cwd, bump default timeout, drop max timeout (#5140)
rekram1-node
authored
75a4dcb
View commit details
Copy full SHA for 75a4dcb
View code at this point
Browse repository at this point
Commits on Dec 5, 2025
tweak: bash tool improve output metadata for agent consumption, fix small timeout issue (#5131)
shantur
authored
ba417d8
View commit details
Copy full SHA for ba417d8
View code at this point
Browse repository at this point
Commits on Dec 4, 2025
tweak: bash tool messages regarding timeouts and truncation more clear for agent (#5066)
shantur
authored
a607f33
View commit details
Copy full SHA for a607f33
View code at this point
Browse repository at this point
Commits on Nov 23, 2025
fix bash tool wsl
rekram1-node
committed
27ae341
View commit details
Copy full SHA for 27ae341
View code at this point
Browse repository at this point
Commits on Nov 21, 2025
tweak: bash tool behavior w/ /bin/zsh
rekram1-node
committed
adf7df0
View commit details
Copy full SHA for adf7df0
View code at this point
Browse repository at this point
fix: make bash tool respect $SHELL (#3494)
Show description for b5d0c56
3 people
authored
b5d0c56
View commit details
Copy full SHA for b5d0c56
View code at this point
Browse repository at this point
Commits on Nov 20, 2025
Make the MAX_OUTPUT_LENGTH in bash.ts overridable by OPENCODE_EXPERIMENTAL_BASH_MAX_OUTPUT_LENGTH (#4497)
Show description for a9c56b8
4 people
authored
a9c56b8
View commit details
Copy full SHA for a9c56b8
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.