Aiden Cline
b0aa6bfb61
feat(opencode): namespace code mode tools by MCP server
...
Expose connected MCP tools to code mode as per-server namespaces
(`tools.<server>.<tool>(args)`) and generate the execute tool description
from the catalog: one namespace block per server, each tool rendered with a
TypeScript-style input signature derived from its JSON schema plus its
description, and the calling convention stated up front.
The server/tool split is cosmetic; child-call routing re-joins the segments
into the existing flat catalog key, so it stays exact regardless of
underscores in server or tool names.
2026-06-29 18:33:08 -05:00
Aiden Cline
49f20b6a30
feat(opencode): add experimental code mode execute tool
...
Add an experimental, off-by-default `execute` tool that runs LLM-authored
JavaScript with a `tools.<name>(args)` proxy over connected MCP tools. When
OPENCODE_EXPERIMENTAL_CODE_MODE is enabled and MCP tools are present, the
session exposes the single code-mode tool instead of registering each MCP
tool directly; child calls route through the native permission path.
Code mode is defined via the standard Tool.define/Tool.init machinery so it
inherits arg decoding and output truncation from the shared wrapper. Tool
results are reduced to structured content or text, and the program's return
value is coerced to text without failing on shape.
Note: execution currently uses an in-process AsyncFunction with no isolation
or timeout; sandboxing is tracked as follow-up work.
2026-06-29 18:18:25 -05:00
opencode-agent[bot]
78235385dd
chore: generate
2026-06-29 20:53:48 +00:00
Aiden Cline
fd213e6df6
fix(mcp): prefer content over structured output ( #34505 )
2026-06-29 15:51:52 -05:00
James Long
3726052307
refactor(opencode): use layer nodes in server tests ( #34503 )
2026-06-29 16:50:59 -04:00
opencode-agent[bot]
7d33a6f7c9
chore: generate
2026-06-29 20:36:56 +00:00
James Long
7a035d7fc0
refactor(opencode): bind instance bootstrap node ( #34502 )
2026-06-29 16:35:10 -04:00
opencode-agent[bot]
9151af7045
chore: generate
2026-06-29 20:24:42 +00:00
James Long
15bcbb1d7a
refactor(opencode): migrate session tests to layer nodes ( #34494 )
2026-06-29 16:22:50 -04:00
opencode-agent[bot]
4d3294727c
chore: generate
2026-06-29 20:07:10 +00:00
James Long
aae0e89519
refactor(opencode): use layer nodes in plugin tests ( #34495 )
2026-06-29 16:04:58 -04:00
opencode-agent[bot]
93a7b4ab76
chore: generate
2026-06-29 19:58:09 +00:00
James Long
0ebe74b625
refactor(opencode): migrate llm tests to layer nodes ( #34479 )
2026-06-29 15:55:58 -04:00
James Long
b9dae8593c
refactor(opencode): migrate compaction and workspace tests to layer nodes ( #34478 )
2026-06-29 15:42:52 -04:00
opencode-agent[bot]
d8f9388610
chore: generate
2026-06-29 18:52:55 +00:00
James Long
be14739cce
refactor(core): convert config tests to nodes ( #34474 )
2026-06-29 14:51:13 -04:00
James Long
762588c251
refactor(core): convert prompt tests to nodes ( #34470 )
2026-06-29 14:25:33 -04:00
opencode-agent[bot]
d6e54e9042
chore: generate
2026-06-29 17:58:20 +00:00
James Long
d4fd528152
refactor(core): convert more opencode tests to nodes ( #34464 )
2026-06-29 13:56:28 -04:00
opencode-agent[bot]
de185559dd
chore: generate
2026-06-29 16:58:51 +00:00
James Long
bc5ce5eab1
refactor(core): convert opencode tests to nodes ( #34453 )
2026-06-29 12:56:44 -04:00
opencode-agent[bot]
846d548154
chore: generate
2026-06-29 03:49:43 +00:00
James Long
84336e4f91
refactor(core): refine layer node replacements ( #34377 )
2026-06-28 23:48:18 -04:00
OpeOginni
01a5c69244
feat(tui): integrate ServerAuth headers into transport configuration for external served TUI thread ( #29876 )
2026-06-28 19:24:27 -05:00
Aiden Cline
92025e9a47
fix(mcp): clarify debug oauth probe ( #34350 )
2026-06-28 18:16:29 -05:00
Max Anderson
411e053572
fix(mcp): reconnect after OAuth even when server is disabled
...
Closes #33915
2026-06-28 18:07:10 -05:00
Dax
6446b8ae3b
fix(sdk): preserve V2Event name for SSE streams ( #34171 )
2026-06-27 21:05:47 -04:00
James Long
a76c6918d2
refactor(core): rename app node modules ( #34238 )
2026-06-27 12:29:21 -04:00
opencode-agent[bot]
9903abc704
fix(opencode): allow empty provider config default ( #34167 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
2026-06-26 23:19:42 -05:00
Aiden Cline
36c416e143
fix(mcp): request refresh token scope ( #34125 )
2026-06-26 22:27:43 -05:00
Aiden Cline
e1e0304a96
fix(mcp): surface OAuth completion errors ( #34145 )
2026-06-26 22:21:16 -05:00
opencode-agent[bot]
71c3a7c8f2
chore: generate
2026-06-27 02:47:33 +00:00
James Long
ecdfff5a42
refactor(core): separate out location node functionality and integrate into v2 ( #34119 )
2026-06-26 22:46:07 -04:00
Kit Langton
42e6b7db32
feat(sdk): expose live event stream ( #34098 )
2026-06-26 21:16:33 +02:00
Kit Langton
65210f2d97
feat(api): add finite durable session history pages ( #34097 )
2026-06-26 14:49:47 -04:00
Shoubhit Dash
1de7368580
fix(acp): send partial completed tool updates ( #34091 )
2026-06-26 22:21:35 +05:30
Shoubhit Dash
ebf4007efd
fix(acp): enrich permission prompts ( #34079 )
2026-06-26 21:25:52 +05:30
Aiden Cline
f254476043
fix(llm): omit stateless response item ids ( #34027 )
2026-06-26 10:14:43 -05:00
Aiden Cline
e3bfd4cce6
fix(mcp): refresh credentials on reauthentication ( #33717 )
2026-06-26 10:03:39 -05:00
Shoubhit Dash
c2882268d6
fix(acp): skip resume transcript replay ( #34070 )
2026-06-26 14:12:05 +00:00
Shoubhit Dash
6e8e772582
fix(acp): surface prompt errors ( #34061 )
2026-06-26 12:20:38 +00:00
Shoubhit Dash
971518c6d9
fix(core): refresh cached remote skills ( #34059 )
2026-06-26 12:12:50 +00:00
Shoubhit Dash
ae853561cd
fix(opencode): preserve skill resource paths ( #34052 )
2026-06-26 16:48:30 +05:30
Aiden Cline
e8fea9e63a
feat(oauth): unify OAuth callback browser pages ( #34025 )
2026-06-26 00:36:40 -05:00
Kit Langton
ef5c9f4931
feat(sdk): expose active sessions ( #33991 )
2026-06-26 03:33:35 +00:00
Kit Langton
40ecfceec2
fix(sdk): wake embedded session execution ( #33992 )
2026-06-25 23:04:14 -04:00
Kit Langton
a1f093a748
refactor(opencode): stop legacy v2 event emission ( #33993 )
2026-06-26 04:42:38 +02:00
Aiden Cline
0f272d931d
tweak: hide MCP access token prefix ( #33711 )
2026-06-25 20:32:36 -05:00
Aiden Cline
ded29f03f0
fix(core): refine small model defaults ( #33926 )
2026-06-25 20:31:53 -05:00
Aiden Cline
5f61d21487
feat(llm): pass strict through tool definitions for Codex parity ( #33392 )
2026-06-25 16:28:39 -05:00