Shoubhit Dash
b0dc8e4638
fix(session): use typed message reads in tools ( #27280 )
2026-05-13 14:12:51 +05:30
Kit Langton
fbcbd24063
Add SyncEvent service ( #25158 )
2026-04-30 16:45:26 -04:00
Dax
f25f1485d5
refactor: remove module barrels ( #24554 )
2026-04-27 14:33:33 -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
Kit Langton
c50d65b4d6
refactor(sync): make session events schema-first ( #24019 )
2026-04-23 12:43:08 -04:00
Kit Langton
984f5ed6eb
fix(opencode): skip share sync for unshared sessions ( #23159 )
2026-04-17 20:15:24 +00:00
Kit Langton
c026e25088
refactor: eliminate account/ barrel, route consumers to sibling files ( #22995 )
2026-04-17 01:55:50 +00:00
Kit Langton
0e20382396
fix: resolve circular sibling imports causing runtime ReferenceError ( #22752 )
2026-04-15 23:41:34 -04:00
Kit Langton
f24207844f
feat: unwrap storage namespaces to flat exports + barrel ( #22747 )
2026-04-15 23:30:49 -04:00
Kit Langton
581d5208ca
feat: unwrap share namespaces to flat exports + barrel ( #22744 )
2026-04-15 23:28:46 -04:00
Kit Langton
343a564183
feat: unwrap 11 util namespaces to flat exports + barrel ( #22739 )
2026-04-15 23:15:58 -04:00
Kit Langton
379e40d772
feat: unwrap InstanceState + EffectBridge namespaces to flat exports + barrel ( #22721 )
2026-04-16 02:45:45 +00:00
Kit Langton
1d81335ab5
feat: unwrap Provider namespace + improved automation script ( #22690 )
2026-04-15 21:44:46 -04:00
Kit Langton
bbdbc107ae
feat: unwrap Config namespace to flat exports + barrel ( #22689 )
2026-04-15 21:26:24 -04:00
Kit Langton
68384613be
refactor(session): remove async facade exports ( #22471 )
2026-04-14 13:45:13 -04:00
Kit Langton
ad265797ab
refactor(share): remove session share async facade exports ( #22386 )
2026-04-14 12:38:11 -04:00
Kit Langton
9581bf0670
refactor(effect): upgrade opencode to beta.46 context APIs ( #21977 )
2026-04-10 23:06:28 -04:00
Kit Langton
9e7045eaec
refactor: destroy ShareNext facade ( #21965 )
2026-04-10 22:03:06 -04:00
Kit Langton
16c60c9ee7
refactor(session): extract sharing orchestration ( #21759 )
2026-04-09 21:47:48 -04:00
Dax
b7fab49b64
refactor(snapshot): store unified patches in file diffs ( #21244 )
...
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com >
2026-04-07 19:48:23 -04:00
Kit Langton
8e9e79d276
refactor(share): effectify share next ( #20596 )
2026-04-03 00:56:56 +00:00
James Long
b0017bf1b9
feat(core): initial implementation of syncing ( #17814 )
2026-03-25 10:47:40 -04:00
Kit Langton
38e0dc9ccd
Move service state into InstanceState, flatten service facades ( #18483 )
2026-03-21 04:51:35 +00:00
Kit Langton
1cb7df7159
refactor(provider): flow branded ProviderID/ModelID through internal signatures ( #17182 )
2026-03-12 14:48:17 +00:00
Kit Langton
cb67465675
feat(id): brand SessionID through Drizzle and Zod schemas ( #16953 )
2026-03-11 23:16:56 +00:00
Dax
613562f504
core: make account login upgrades safe while adding multi-account workspace auth ( #15487 )
...
Co-authored-by: Kit Langton <kit.langton@gmail.com >
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-10 12:53:47 -04:00
Shoubhit Dash
1d9dcd2a27
share: speed up share loads ( #16165 )
2026-03-06 06:49:15 -06:00
Dax
6d95f0d14c
sqlite again ( #10597 )
...
Co-authored-by: Github Action <action@github.com >
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Brendan Allan <git@brendonovich.dev >
2026-02-14 04:19:02 +00:00
Yuvraj Virk
c07077f96c
fix: correct /data API usage and data format for importing share URLs ( #7381 )
2026-02-06 15:29:10 +00:00
Adam
03d7467ea2
test(app): initial e2e test setup
2026-01-19 09:03:52 -06:00
Luke Parker
c600114db9
fix(share): handle NotFoundError for non-shared sessions in sync ( #6634 )
2026-01-02 04:16:12 -06:00
Ravi Kumar
54569b5552
fix(session): fix unshare command not clearing share state ( #5523 )
2025-12-14 22:05:06 -06:00
Dax Raad
578072bb8e
use new share url
2025-12-11 00:43:00 -05:00
Dax
ea7ec60f51
v2 SDK ( #5216 )
...
Co-authored-by: GitHub Action <action@github.com >
2025-12-07 19:04:14 -05:00
Dax
6d3fc63658
core: refactor provider and model system ( #5033 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: thdxr <thdxr@users.noreply.github.com >
2025-12-03 21:09:03 -05:00
Dax Raad
69d1381ba3
core: refactor share system to separate session IDs from share IDs
...
- Generate shorter share IDs from session IDs for better URL structure
- Update API routes to use shareID parameter instead of sessionID
- Improve sync mechanism with better data queuing and deduplication
- Maintain backward compatibility while improving security and organization
2025-11-24 22:58:47 -05:00
Adam
3fb57044d1
wip(share): more styling
2025-11-24 15:10:39 -06:00
Dax
49408c00e9
enterprise ( #4617 )
...
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com >
2025-11-21 20:41:27 -05:00
Dax Raad
61f6091de1
ci: test
2025-10-14 14:56:21 -04:00
Dax Raad
289783f627
ci: version stuff
2025-10-14 14:52:05 -04:00
Dax
f993541e0b
Refactor to support multiple instances inside single opencode process ( #2360 )
...
This release has a bunch of minor breaking changes if you are using opencode plugins or sdk
1. storage events have been removed (we might bring this back but had some issues)
2. concept of `app` is gone - there is a new concept called `project` and endpoints to list projects and get the current project
3. plugin receives `directory` which is cwd and `worktree` which is where the root of the project is if it's a git repo
4. the session.chat function has been renamed to session.prompt in sdk. it no longer requires model to be passed in (model is now an object)
5. every endpoint takes an optional `directory` parameter to operate as though opencode is running in that directory
2025-09-01 17:15:49 -04:00
Dax
f884766445
v2 message format and upgrade to ai sdk v5 ( #743 )
...
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Liang-Shih Lin <liangshihlin@proton.me >
Co-authored-by: Dominik Engelhardt <dominikengelhardt@ymail.com >
Co-authored-by: Jay V <air@live.ca >
Co-authored-by: adamdottv <2363879+adamdottv@users.noreply.github.com >
2025-07-07 15:53:43 -04:00
Dax Raad
ed4f862b49
fix /unshare
2025-07-03 15:34:04 -04:00
adamdottv
8825cd3811
feat(tui): unshare command
2025-07-03 07:09:09 -05:00
Dax Raad
2ec0611f42
lazy load formatters
2025-06-27 11:33:37 -04:00
Dax Raad
61160dc220
docs: readme
2025-06-20 15:22:41 -04:00
Dax Raad
ec1c9f8cd1
use production share url
2025-06-19 14:21:00 -04:00
Dax Raad
658067186a
ignore: share page stuff
2025-06-18 16:13:33 -04:00
Dax Raad
7f8f46f9fe
Refactor session module structure and improve error handling
...
- Rename session.ts to index.ts for cleaner module imports
- Update all imports to use new session module structure
- Add error metadata tracking to message schema
- Improve error handling in session stream processing
🤖 Generated with [OpenCode](https://opencode.ai )
Co-Authored-By: OpenCode <noreply@opencode.ai >
2025-06-04 17:38:54 -04:00
Dax Raad
6df19f1828
Standardize code style to no semicolons and remove unused @types/node dependency
...
🤖 Generated with opencode
Co-Authored-By: opencode <noreply@opencode.ai >
2025-05-30 22:14:09 -04:00