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 }}
lightsofapollo
opencode
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
opencode
packages
opencode
src
tool
read.ts
on
dev
User selector
All users
Datepicker
All time
Commit history
Commits on Feb 2, 2026
Revert pr that was mistakenly merged (#11844)
rekram1-node
authored
aa6b552
View commit details
Copy full SHA for aa6b552
View code at this point
Browse repository at this point
fix: adjust resolve parts so that when messages with multiple @ references occur, the tool calls are properly ordered
rekram1-node
authored and
thdxr
committed
612b656
View commit details
Copy full SHA for 612b656
View code at this point
Browse repository at this point
Commits on Jan 28, 2026
fix: ensure parallel tool calls dont double load AGENTS.md
rekram1-node
committed
5585907
View commit details
Copy full SHA for 5585907
View code at this point
Browse repository at this point
Commits on Jan 27, 2026
fix(core): expose Instance.directory to custom tools
adamdotdevin
committed
a8c18db
View commit details
Copy full SHA for a8c18db
View code at this point
Browse repository at this point
fix: use Instance.directory instead of process.cwd() in read tool
rekram1-node
committed
6cf2c3e
View commit details
Copy full SHA for 6cf2c3e
View code at this point
Browse repository at this point
Commits on Jan 26, 2026
feat: dynamically resolve AGENTS.md files from subdirectories as agent explores them (#10678)
rekram1-node
authored
39a73d4
View commit details
Copy full SHA for 39a73d4
View code at this point
Browse repository at this point
Commits on Jan 18, 2026
fix(tool): treat .fbs files as text instead of images (#9276)
Show description for 38c641a
zerone0x
and
claude
authored
38c641a
View commit details
Copy full SHA for 38c641a
View code at this point
Browse repository at this point
Commits on Jan 10, 2026
core: extract external directory validation to shared utility to reduce code duplication across tools
thdxr
committed
f94ee5c
View commit details
Copy full SHA for f94ee5c
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 4, 2026
core: remove hardcoded .env read block and use new permissions model instead
rekram1-node
committed
3611260
View commit details
Copy full SHA for 3611260
View code at this point
Browse repository at this point
Commits on Jan 1, 2026
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 22, 2025
fix(read): narrow .env file blocking to not block .envrc (#5654)
Show description for 60db171
bukzor
and
claude
authored
60db171
View commit details
Copy full SHA for 60db171
View code at this point
Browse repository at this point
Commits on Dec 9, 2025
fix: read when file is svg
rekram1-node
committed
84a0868
View commit details
Copy full SHA for 84a0868
View code at this point
Browse repository at this point
Commits on Dec 8, 2025
pdf support in read tool (#5222)
Show description for a3bb4a3
rekram1-node
and
ammi1378
authored
a3bb4a3
View commit details
Copy full SHA for a3bb4a3
View code at this point
Browse repository at this point
Commits on Dec 4, 2025
fix: model not being passed correctly to tool
rekram1-node
committed
350a322
View commit details
Copy full SHA for 350a322
View code at this point
Browse repository at this point
core: refactor provider and model system (#5033)
Show description for 6d3fc63
thdxr
and
opencode-agent[bot]
authored
6d3fc63
View commit details
Copy full SHA for 6d3fc63
View code at this point
Browse repository at this point
Commits on Nov 19, 2025
fix: make external_directory permission wildcarding more sane
rekram1-node
committed
bbf4574
View commit details
Copy full SHA for bbf4574
View code at this point
Browse repository at this point
Commits on Nov 18, 2025
fix: permission checks for external_directory and doom_loop (#4433)
Show description for 47bfae5
aeriondyseti
and
rekram1-node
authored
47bfae5
View commit details
Copy full SHA for 47bfae5
View code at this point
Browse repository at this point
Commits on Nov 17, 2025
tweak: whitelist
rekram1-node
committed
0a2fffa
View commit details
Copy full SHA for 0a2fffa
View code at this point
Browse repository at this point
Commits on Nov 14, 2025
improve read tool end-of-file detection to prevent infinite loops
thdxr
committed
7ec32f8
View commit details
Copy full SHA for 7ec32f8
View code at this point
Browse repository at this point
no mr llm, you may not read that
rekram1-node
committed
4c2e888
View commit details
Copy full SHA for 4c2e888
View code at this point
Browse repository at this point
Commits on Nov 10, 2025
fix: allow user to configure doom loop & external dir perms (#4095)
rekram1-node
authored
4e549b1
View commit details
Copy full SHA for 4e549b1
View code at this point
Browse repository at this point
Commits on Nov 8, 2025
chore: format code
actions-user
committed
34ff87d
View commit details
Copy full SHA for 34ff87d
View code at this point
Browse repository at this point
Commits on Nov 6, 2025
big format
thdxr
committed
1ea3a8e
View commit details
Copy full SHA for 1ea3a8e
View code at this point
Browse repository at this point
Commits on Nov 5, 2025
ask instead of throwing tool error if file is outside cwd
rekram1-node
committed
d425723
View commit details
Copy full SHA for d425723
View code at this point
Browse repository at this point
Commits on Oct 26, 2025
chore: cleanup versioned zod imports (#3460)
Show description for 0eb899a
3 people
authored
0eb899a
View commit details
Copy full SHA for 0eb899a
View code at this point
Browse repository at this point
Commits on Oct 9, 2025
feat: allow read tool to handle images (#3052)
rekram1-node
authored
225adc4
View commit details
Copy full SHA for 225adc4
View code at this point
Browse repository at this point
Commits on Sep 15, 2025
Upgrade to Zod v4 (#2605)
Show description for c1b4e1f
thdxr
and
actions-user
authored
c1b4e1f
View commit details
Copy full SHA for c1b4e1f
View code at this point
Browse repository at this point
Commits on Sep 1, 2025
Refactor to support multiple instances inside single opencode process (#2360)
Show description for f993541
thdxr
authored
f993541
View commit details
Copy full SHA for f993541
View code at this point
Browse repository at this point
Commits on Aug 17, 2025
fix: better binary file detection (#2025)
rekram1-node
authored
ebd1b18
View commit details
Copy full SHA for ebd1b18
View code at this point
Browse repository at this point
Commits on Aug 13, 2025
fix: allow attachments outside cwd, and support svg
adamdotdevin
committed
f2021a8
View commit details
Copy full SHA for f2021a8
View code at this point
Browse repository at this point
Commits on Jul 31, 2025
use treesitter to parse bash commands and catch commands that go outside of cwd (#1443)
thdxr
authored
1888835
View commit details
Copy full SHA for 1888835
View code at this point
Browse repository at this point
Commits on Jul 30, 2025
fix: prevent read tool from opening binary files and corrupting session (#1425)
rekram1-node
authored
1b3d58e
View commit details
Copy full SHA for 1b3d58e
View code at this point
Browse repository at this point
Commits on Jul 29, 2025
wip: undo properly remove messages from UI
thdxr
committed
9c9cbb3
View commit details
Copy full SHA for 9c9cbb3
View code at this point
Browse repository at this point
Commits on Jul 25, 2025
allow temperature to be configured per mode
thdxr
committed
e97613e
View commit details
Copy full SHA for e97613e
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.