Commit Graph

353 Commits

Author SHA1 Message Date
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
Luke Parker
61b5046f88
fix: export v2 stylesheets and declare core node types (#30312) 2026-06-02 12:37:50 +10: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
Shoubhit Dash
331bed2469
fix(core): stabilize migration registry generation (#30105) 2026-05-31 19:28:09 +05:30
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
opencode-agent[bot]
6bcb9cb9bb chore: generate 2026-05-31 00:04:25 +00: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
74ce1a1edf sync release versions for v1.15.13 2026-05-30 23:40:56 +00: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
Vladimir Glafirov
e00a62e461
chore: bump gitlab-ai-provider to 6.8.0 (#29792) 2026-05-28 16:52:26 -05:00
opencode
569230bfbc sync release versions for v1.15.12 2026-05-28 19:34:46 +00:00
opencode
cec5a752bb sync release versions for v1.15.11 2026-05-27 04:01:11 +00: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
28dbd4ab4a
chore(opencode): pin google providers before tool id regression (#29423) 2026-05-26 11:34:54 -05:00
Aiden Cline
87e9e700cd
fix(opencode): revert google sdk tool call id change (#29310) 2026-05-25 23:42:33 -05:00
Aiden Cline
633b5d6208
fix: allow experimental flags to override umbrella (#29273) 2026-05-25 16:42:34 -05:00
Aiden Cline
d16bfe850a
chore(opencode): bump amazon bedrock provider (#29052) 2026-05-23 21:06:00 -05:00
Kit Langton
0b3a1c2fdf
test(opencode): simplify config effect tests (#29019) 2026-05-23 23:48:08 +00:00
Aiden Cline
61e7cdfbff
fix(opencode): bump google vertex provider for thought signatures (#29010)
Co-authored-by: Andrew Sweet <andrew.sweet@cantab.net>
2026-05-23 15:29:43 -05:00
Aiden Cline
a5ba1d075d
chore(opencode): bump venice ai sdk provider (#29003)
Co-authored-by: dpuyosa <dpuyosa@users.noreply.github.com>
2026-05-23 11:28:04 -05: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
2c4ad9f405 sync release versions for v1.15.10 2026-05-23 01:04:22 +00:00
opencode
871d38cbd7 sync release versions for v1.15.9 2026-05-22 21:18:49 +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
Vladimir Glafirov
6c24062d2f
chore(deps): bump gitlab-ai-provider to 6.7.0 (#28218) 2026-05-21 12:12:39 -05:00
opencode
a58c3c53a9 sync release versions for v1.15.7 2026-05-21 15:51:26 +00: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
opencode
6a9cbe7de0 sync release versions for v1.15.6 2026-05-20 21:44:08 +00:00
Kit Langton
ec6d42d41d
chore: update Effect beta (#28505) 2026-05-20 15:09:19 -04:00
Kit Langton
c035c35eba
fix(config): tolerate invalid OPENCODE_PERMISSION JSON (#28388) 2026-05-19 20:37:50 +00:00
opencode
ef9e567e5f sync release versions for v1.15.5 2026-05-18 20:57:13 +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
opencode
f98449c9b5 sync release versions for v1.15.4 2026-05-17 17:44:50 +00:00
opencode
f80651fa91 sync release versions for v1.15.3 2026-05-16 14:07:33 +00:00
opencode
f56263791c sync release versions for v1.15.2 2026-05-16 12:53:10 +00:00
opencode
e33912bfee sync release versions for v1.15.1 2026-05-16 05:44:44 +00: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
opencode
c43edc5b71 sync release versions for v1.15.0 2026-05-15 04:03:54 +00:00
opencode-agent[bot]
fd6a8520b8 chore: generate 2026-05-15 00:52:06 +00:00
Dax
e11e089e42
Add Effect-native core event system (#27415) 2026-05-15 00:50:23 +00:00
opencode
4e7a60dac6 sync release versions for v1.14.51 2026-05-15 00:39:54 +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
opencode
ddad0988e7 sync release versions for v1.14.50 2026-05-14 03:03:23 +00:00
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
opencode-agent[bot]
10c90eb445 chore: generate 2026-05-14 00:33:32 +00:00
Kit Langton
42e6b7d541
effect(core): track stderr truncation; polish AppProcess callers (#27353) 2026-05-13 20:31:03 -04:00
opencode
73e1de4513 sync release versions for v1.14.49 2026-05-13 22:18:40 +00: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
opencode
ce66b191d1 sync release versions for v1.14.48 2026-05-11 02:07:48 +00:00
Kit Langton
6f1f5944ce
Delete unused opencode Zod helpers (#26793) 2026-05-10 21:57:18 -04:00
opencode
426d92e352 sync release versions for v1.14.47 2026-05-11 00:23:17 +00:00
opencode
2f11c9f7ed sync release versions for v1.14.46 2026-05-10 02:34:36 +00:00
Kit Langton
10ea59066f
feat(skill): built-in opencode-meta skill (#26617) 2026-05-09 22:05:37 -04:00
opencode
7a79f3a5ea sync release versions for v1.14.45 2026-05-10 00:07:24 +00:00
Dax
dcdbdb218f
Move schema utilities into core (#26565) 2026-05-09 19:51:09 +00:00
opencode
19abadaf27 sync release versions for v1.14.44 2026-05-09 19:33:26 +00:00
opencode
e22144806f sync release versions for v1.14.43 2026-05-09 18:06:16 +00:00
opencode
780bbb0f3b sync release versions for v1.14.42 2026-05-09 16:54:43 +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
opencode
fe594693a4 sync release versions for v1.14.41 2026-05-07 14:52:09 +00:00
opencode
dcfe4b0d51 sync release versions for v1.14.40 2026-05-07 00:34:09 +00:00
opencode
773078e81f sync release versions for v1.14.39 2026-05-05 10:57:52 +00:00
opencode
a20446fcc8 sync release versions for v1.14.38 2026-05-05 09:48:25 +00:00
opencode
8df3ef10fc sync release versions for v1.14.37 2026-05-05 07:26:49 +00:00
Dax
39c88f9afb
Improve v2 session message rendering (#25634) 2026-05-05 02:35:21 +00:00
opencode
6b852774e1 sync release versions for v1.14.35 2026-05-05 01:01:47 +00:00
opencode
4b65b1e053 sync release versions for v1.14.34 2026-05-04 23:26:02 +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
opencode
43e20874f4 sync release versions for v1.14.33 2026-05-02 19:53:06 +00:00
opencode
7371db5cc6 sync release versions for v1.14.32 2026-05-02 15:34:12 +00: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 Raad
c2609cbf04 core: allow agents to access global tmp directory without permission prompts
Agents can now create temporary files in the global tmp directory without
triggering external_directory permission prompts. This enables agents to
freely use temporary storage for intermediate files during builds and
other operations.
2026-05-01 15:35:45 -04:00
opencode
21f8027ef7 sync release versions for v1.14.31 2026-05-01 06:13:48 +00:00
Dax
2283979199
Preapprove agent tmp directory access (#25226) 2026-04-30 23:47:15 -04:00
Dax Raad
ff55a40749 core: remove @effect/language-service plugin and optimize hot path type performance
- Removed @effect/language-service from both packages/core and packages/opencode tsconfig files and dependencies

- Wrapped mergeDeep calls in config loading and LLM streaming to avoid expensive remeda conditional merge type instantiations in hot paths

- Narrowed Drizzle migrate() overload signature to avoid expensive variance checks during database initialization

These changes reduce TypeScript type-checking overhead and improve startup and runtime performance for config loading, LLM streaming, and database migrations.
2026-04-30 23:21:05 -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
opencode
ac6aa43e3b sync release versions for v1.14.30 2026-04-29 23:33:39 +00:00
opencode
276d162044 sync release versions for v1.14.29 2026-04-28 18:34:48 +00:00
opencode
e578c442be sync release versions for v1.14.28 2026-04-27 04:23:44 +00:00
Dax
a9b62d67df
Refactor npm config handling (#24565) 2026-04-27 03:54:59 +00:00
opencode
244d1debe4 sync release versions for v1.14.27 2026-04-27 02:09:07 +00:00
opencode
af3998c8a6 sync release versions for v1.14.26 2026-04-26 21:01:16 +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