Commit graph

229 commits

Author SHA1 Message Date
James Long
ba1b660d57
feat(core): moving sessions (#30640) 2026-06-04 15:07:46 -04:00
Dax Raad
7f54b1bfb8 fix build 2026-06-04 11:11:23 -04:00
Kit Langton
caea930074
fix(core): reset pre-launch session projections (#30728) 2026-06-04 09:43:10 -04:00
opencode-agent[bot]
30ec231aaf chore: generate 2026-06-04 06:59:09 +00:00
Dax
1ff19103a2
feat(core): add command registry (#30624) 2026-06-04 02:57:43 -04:00
Aiden Cline
9f42bd4a85
feat: bump bedrock and add proper mantle support for openai models through aws bedrock (#30464) 2026-06-04 00:09:12 -05:00
Aiden Cline
9251e5d8c4
docs: correct compaction prune default (#30670) 2026-06-03 22:37:39 -05:00
opencode-agent[bot]
b0a929440b chore: generate 2026-06-04 03:03:39 +00:00
Kit Langton
76ee87ead8
feat(core): add embedded v2 session runtime and tool foundation (#30632) 2026-06-03 23:02:17 -04:00
opencode-agent[bot]
a41f774cad chore: generate 2026-06-03 21:00:33 +00:00
Dax
889e0f9545
feat(core): add skill registry and file agent loading (#30617) 2026-06-03 16:58:34 -04:00
Dax
11dbd15812
refactor(core): nest model api id (#30603) 2026-06-03 14:11:38 -04:00
Dax
5900345f8c
test(core): cover v1 provider option lowering (#30599) 2026-06-03 17:49:28 +00:00
opencode-agent[bot]
a0e4db3714 chore: generate 2026-06-03 17:35:02 +00:00
Dax
1520b0de20
refactor(core): remove ai sdk option fields (#30581) 2026-06-03 17:32:58 +00:00
Shoubhit Dash
932fb6c9ec
refactor(core): consolidate pty service (#30537) 2026-06-03 15:17:46 +05:30
opencode-agent[bot]
0294342f77 chore: generate 2026-06-03 03:27:34 +00:00
James Long
147c6c4d51
feat(core): project copying and tracking directories (#30139) 2026-06-03 03:26:10 +00:00
opencode-agent[bot]
6003217eaa chore: generate 2026-06-03 02:43:28 +00:00
Dax
83452558f7
refactor(core): move v1 schemas into core (#30473) 2026-06-03 02:42:13 +00:00
Dax
604a5f781f
refactor(core): consolidate filesystem services (#30447) 2026-06-02 16:09:26 -04:00
Shoubhit Dash
a639fe7a08
chore(opencode): remove scout agent (#30435) 2026-06-02 23:30:34 +05:30
Shoubhit Dash
380931a827
feat(core): expose project reference filesystem access (#30423) 2026-06-02 20:59:07 +05:30
opencode-agent[bot]
35007094c4 chore: generate 2026-06-02 14:27:18 +00:00
Shoubhit Dash
5a8ef94998
feat(core): add flagged project references (#30414) 2026-06-02 19:55:11 +05:30
opencode-agent[bot]
9c37286732 chore: generate 2026-06-02 13:44:07 +00:00
opencode-agent[bot]
fcfd47602b chore: generate 2026-06-02 13:42:23 +00:00
Shoubhit Dash
371ee321e0
feat(core): add managed repository cache (#30408) 2026-06-02 19:10:09 +05:30
Dax Raad
5937e606df feat(opencode): add filesystem read and list routes 2026-06-02 01:54:27 -04:00
Dax Raad
4df3c98c6b feat(core): add dummy location filesystem layer 2026-06-02 01:39:04 -04:00
Dax Raad
98b7230c2a feat(core): add location filesystem contract 2026-06-02 01:39:04 -04:00
Dax Raad
8d03f6c5be refactor(core): simplify session pagination 2026-06-02 01:39:04 -04:00
Dax Raad
c1c02f80dd feat(core): expose session location 2026-06-02 00:12:42 -04:00
opencode-agent[bot]
8dc2ffd48f chore: generate 2026-06-02 01:34:11 +00:00
Dax
9b815bcbd2
feat(core): add location-based permission service (#30287) 2026-06-02 01:32:50 +00:00
opencode-agent[bot]
acd620f411 chore: generate 2026-06-02 00:56:03 +00:00
Luke Parker
f0c7febb02
fix(opencode): enforce storage path invariants (#29666) 2026-06-02 00:54:41 +00:00
Aiden Cline
b258a55a6c
fix(core): preserve session metadata migration identity (#30176) 2026-06-01 04:50:43 +00:00
Dax Raad
a69b70d5ca fix(core): allow skipping migration execution 2026-05-31 12:17:40 -04:00
Dax
5661af2034
feat(worktree): add managed workspace cloning (#30117) 2026-05-31 11:57:44 -04:00
opencode-agent[bot]
a291967206 chore: generate 2026-05-31 07:27:16 +00:00
Dax Raad
a893ca857a sync 2026-05-31 03:25:47 -04:00
Dax Raad
25edeaf473 fix(sdk): preserve generated event contracts 2026-05-31 03:18:43 -04:00
opencode-agent[bot]
102c8353e0 chore: generate 2026-05-31 01:09:55 +00:00
Dax
7f571d36ea
refactor(core): move database schema ownership (#29068)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-30 21:08:38 -04:00
Dax Raad
0269d6f5de fix(core): isolate location layer instances 2026-05-30 20:02:14 -04:00
Dax Raad
aa86a20b1d fix(core): provide agent service in location layer 2026-05-30 20:01:54 -04:00
opencode-agent[bot]
52e288ea71 chore: generate 2026-05-30 22:59:16 +00:00
Dax Raad
9b915e70bd v2: default agents 2026-05-30 18:57:42 -04:00
Dax Raad
f6062bd5b6 feat(core): add default agent plugin 2026-05-30 00:49:52 -04:00
opencode-agent[bot]
e4d3b81b0e chore: generate 2026-05-30 04:07:26 +00:00
Dax
9583e08be4
feat(core): add location-scoped config loading (#29625) 2026-05-30 04:06:08 +00:00
Shoubhit Dash
8f8b161cae
feat(tui): add session switcher plugin (#29861) 2026-05-29 15:39:34 +05:30
Saurav M H
797c689ec2
fix(opencode): pass OAuth scopes to GoogleAuth for Vertex AI (#15110)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-05-28 19:05:43 -05:00
opencode-agent[bot]
0f0a4be253
fix(project): restore remote project identity (#29495) 2026-05-27 03:09:20 +00:00
Dax Raad
00a6f228f2 fix(project): preserve cached project identity 2026-05-26 17:50:42 -04:00
Aiden Cline
633b5d6208
fix: allow experimental flags to override umbrella (#29273) 2026-05-25 16:42:34 -05:00
Kit Langton
0b3a1c2fdf
test(opencode): simplify config effect tests (#29019) 2026-05-23 23:48:08 +00:00
opencode-agent[bot]
7d2c1ce6c6 chore: generate 2026-05-23 04:49:36 +00:00
Dax
a9ef5a0fae
feat(project): resolve remote-backed project identity (#28914) 2026-05-23 04:48:09 +00:00
opencode-agent[bot]
9f06accfb4 chore: generate 2026-05-22 04:04:41 +00:00
JPFrancoia
7a9724496b
fix(vertex): Vertex (Antropic) provider: use .rep.googleapis.com for continental multi-region endpoints (us, eu) (#28347)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-05-21 23:03:24 -05:00
Kit Langton
e92c4fb460
chore: drop dead imports across opencode/core/llm (#28720) 2026-05-21 17:03:12 -04:00
Shoubhit Dash
fc08292136
fix(httpapi): add unknown error references (#28629) 2026-05-21 15:44:35 +05:30
opencode-agent[bot]
93131b6e4c chore: generate 2026-05-21 00:55:10 +00:00
Dax
8643c0721e
Rename v2 auth service to account (#28260) 2026-05-21 00:53:27 +00:00
Kit Langton
c035c35eba
fix(config): tolerate invalid OPENCODE_PERMISSION JSON (#28388) 2026-05-19 20:37:50 +00:00
Dax
e85119aa64
Load models.dev snapshot from build global (#28077) 2026-05-17 21:59:44 -04:00
Dax Raad
e92b1fe7d7 core: let models layer infer its own type so layer composition no longer requires matching explicit requirements 2026-05-17 17:37:11 -04:00
Dax Raad
2385123f03 Fix thinking toggle defaults 2026-05-15 20:27:36 -04:00
Shoubhit Dash
f060874b29
feat(tui): add minimal thinking mode with click-to-expand (#27623) 2026-05-16 02:09:58 +05:30
Shoubhit Dash
f33b4455a1
feat(tui): enable pinned session switching (#27780) 2026-05-16 01:10:16 +05:30
Shoubhit Dash
eb5ef1c073
refactor(flags): remove unused flag exports (#27709) 2026-05-15 15:35:24 +05:30
Shoubhit Dash
356f684186
refactor(flags): migrate skip migrations flag (#27705) 2026-05-15 14:54:29 +05:30
Shoubhit Dash
7b370406a9
refactor(flags): migrate lsp download flag (#27699) 2026-05-15 14:35:31 +05:30
Shoubhit Dash
202cc863b4
refactor(flags): migrate claude code prompt flag (#27690) 2026-05-15 14:17:04 +05:30
Shoubhit Dash
22cb0395e2
refactor(flags): migrate external skills flag (#27685) 2026-05-15 13:24:56 +05:30
Shoubhit Dash
2d6bedecd4
refactor(flags): migrate output token max to runtime flags (#27680) 2026-05-15 13:07:35 +05:30
Dax
e11e089e42
Add Effect-native core event system (#27415) 2026-05-15 00:50:23 +00:00
Shoubhit Dash
fc34c74567
refactor(flags): move channel db flag to runtime flags (#27615) 2026-05-15 04:09:10 +05:30
Shoubhit Dash
cb4f5cdea9
refactor(flags): move auto share to runtime flags (#27611) 2026-05-15 03:58:26 +05:30
nv-kasikritc
d34a0194ec
feat(provider): add NVIDIA endpoints origin header (#27394) 2026-05-14 17:21:58 -05:00
Shoubhit Dash
43310f4d8c
refactor(flags): move embedded web ui flag to runtime flags (#27613) 2026-05-15 03:51:29 +05:30
Shoubhit Dash
e22cfa435a
refactor(lsp): move ty flag to runtime flags (#27610) 2026-05-15 03:40:30 +05:30
Shoubhit Dash
faca2b90c1
refactor(flags): migrate icon discovery runtime flag (#27609) 2026-05-15 03:24:14 +05:30
Shoubhit Dash
76ff18afde
refactor(format): move oxfmt flag to runtime flags (#27608) 2026-05-15 03:03:37 +05:30
Shoubhit Dash
f202226bbc
refactor(flags): move bash timeout to runtime flags (#27607) 2026-05-15 02:49:14 +05:30
Shoubhit Dash
34198f422c
refactor(provider): use runtime flag for experimental models (#27606) 2026-05-15 02:48:01 +05:30
Shoubhit Dash
cccdeef294
refactor(flags): migrate claude code skills flag to RuntimeFlags (#27605) 2026-05-15 02:47:26 +05:30
Sebastian
b0ade40265
flip back to markdown renderable (#27421) 2026-05-14 03:53:48 +02:00
opencode-agent[bot]
faf8713053 chore: generate 2026-05-14 00:59:33 +00:00
Dax
16c457e712
refactor(core): move models.dev into core (#27347) 2026-05-13 20:58:24 -04:00
Kit Langton
42e6b7d541
effect(core): track stderr truncation; polish AppProcess callers (#27353) 2026-05-13 20:31:03 -04:00
Kit Langton
0d8c9f3437
docs: add LayerMap example (#27388) 2026-05-13 17:46:47 -04:00
Sebastian
3b7a5e783d
fix keymap fallback priority and TUI config diagnostics (#27384) 2026-05-13 23:00:48 +02:00
Kit Langton
ca723f1cbc
effect(core): add stdin option to AppProcess.run; migrate snapshot+clipboard (#27224) 2026-05-13 11:10:23 -04:00
opencode-agent[bot]
5b5376a3fa chore: generate 2026-05-13 14:47:40 +00:00
Dax
8345152319
core: expose v2 model listing API (#25821) 2026-05-13 14:43:08 +00:00
opencode-agent[bot]
adccab5970 chore: generate 2026-05-13 01:26:12 +00:00
Kit Langton
b6d3fa09bc
effect(core): add AppProcess service (Phase 1) (#27178) 2026-05-13 01:24:53 +00:00
Kit Langton
6b950b666a
Remove Zod from core dependencies (#27107) 2026-05-12 13:51:08 -04:00
Kit Langton
2b9af91568
Remove Zod from core log (#27102) 2026-05-12 13:08:57 -04:00
Kit Langton
53a3f95088
Make core fn Zod import type-only (#27103) 2026-05-12 12:58:50 -04:00
Kit Langton
28f38fc871
Remove Zod from named errors (#26982) 2026-05-12 09:20:15 -04:00
Kit Langton
e5aa5161f2
Remove effect-zod bridge (#26956) 2026-05-11 21:14:55 -04:00
opencode-agent[bot]
cddab63808 chore: generate 2026-05-11 17:17:38 +00:00
Shoubhit Dash
12583b18f0
feat(tui): pin, quick-switch, and cycle recent sessions (#26858) 2026-05-11 22:46:27 +05:30
Kit Langton
df386bd651
feat(skill): enable customize-opencode by default, link full schema (#26899) 2026-05-11 13:13:41 -04:00
Kit Langton
6f1f5944ce
Delete unused opencode Zod helpers (#26793) 2026-05-10 21:57:18 -04:00
Kit Langton
10ea59066f
feat(skill): built-in opencode-meta skill (#26617) 2026-05-09 22:05:37 -04:00
Dax
dcdbdb218f
Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
Kit Langton
28b03595bf
research: delete Hono backend (do not merge) (#25667) 2026-05-09 13:10:42 +00:00
Shoubhit Dash
40d5ea1cf1
feat(core): add scout agent for repo research (#24149)
Co-authored-by: Dax Raad <d@ironbay.co>
2026-05-08 20:20:08 +00:00
Shoubhit Dash
a43d3e0e1e
feat(websearch): add parallel provider rollout (#26227) 2026-05-08 14:19:36 +05:30
Dax
39c88f9afb
Improve v2 session message rendering (#25634) 2026-05-05 02:35:21 +00:00
Kit Langton
13ac849db5
refactor(config+core): drop ConfigPaths.readFile, add AppFileSystem.readFileStringSafe, flatten TuiConfig.loadState (#25602) 2026-05-03 15:21:34 +00:00
Dax
a3bc5d35b0
Refactor v2 session events as schemas (#24512) 2026-05-02 22:09:48 -04:00
Kit Langton
e709dc34fb
feat: default HTTP API backend to on for dev/beta channels 2026-05-02 20:43:23 -04:00
Aiden Cline
478156456e
core: fix npm package detection to properly handle cached directories without installed packages (#25354) 2026-05-01 15:49:14 -05:00
Dax
2283979199
Preapprove agent tmp directory access (#25226) 2026-04-30 23:47:15 -04:00
Aiden Cline
ffe0314c47
fix: ensure disabling OPENCODE_DISABLE_CLAUDE_CODE_SKILLS doesnt disable external skills too (#25123) 2026-04-30 11:15:53 -05:00
Kit Langton
65c15afe9f
test: use testEffect for instruction tests (#25046) 2026-04-30 11:48:13 -04:00
Dax
a9b62d67df
Refactor npm config handling (#24565) 2026-04-27 03:54:59 +00:00
Dax Raad
f5dce6d960 core: move npm service to core package for shared dependency management 2026-04-25 14:36:15 -04:00
Dax Raad
1e98167b0e core: move cross-spawn-spawner to root and remove unused types
The cross-spawn-spawner module has been moved from src/effect/ to src/
to simplify the core package structure. The src/types.d.ts file which
contained unused type declarations has also been removed. All imports
throughout the codebase have been updated to reflect the new location.

This change reduces the package's internal complexity by flattening the
module hierarchy and removing dead code, making future maintenance easier.
2026-04-25 14:30:16 -04:00
Dax Raad
3eee2f6afa core: move cross-spawn-spawner from opencode to core package
Moved the cross-spawn-spawner module from packages/opencode to packages/core
to enable code sharing across the monorepo. This consolidates the process
spawning infrastructure into the core package so other packages can use
cross-platform child process spawning without duplicating the implementation.

Updated all import statements across the codebase to reference the new
location (@opencode-ai/core/effect/cross-spawn-spawner). Removed the
local copy from the opencode package along with its tests.
2026-04-25 14:23:17 -04:00
Dax Raad
705f792e87 core: move Global module to @opencode-ai/core for centralized path management
Move the Global module from packages/opencode/src/global to packages/core/src/global
to provide a unified location for managing XDG directories and application paths.
This eliminates duplicate path definitions across packages and ensures consistent
access to data, config, cache, state, log, and bin directories throughout the codebase.
2026-04-25 13:52:32 -04:00
Dax Raad
1a734adb4d core: consolidate shared infrastructure into core package
Moves effect logging, observability, runtime utilities, flags, installation
version info, and process utilities from opencode to core package. This
enables better code sharing across packages and establishes core as the
single source of truth for foundational utilities.

All internal imports updated to use @opencode-ai/core paths for consistency.
2026-04-25 13:30:37 -04:00
Dax
62ef2a2207
refactor: rename shared package to core (#24309) 2026-04-25 10:59:17 -04:00