Aiden Cline
5d929f78c3
refactor(opencode): simplify tool output disable config
2026-05-26 15:33:08 -05:00
Aiden Cline
d4f83ba2b7
fix(opencode): normalize merged tool output config
2026-05-26 14:49:22 -05:00
Aiden Cline
93cc5e8dff
refactor(opencode): model truncation limits as Option
...
Replace the `{ enabled: boolean; maxLines: number; maxBytes: number }`
shape with `Option<{ maxLines: number; maxBytes: number }>` so the absence
of limits is represented by the type system instead of a boolean flag with
dead numeric fields.
- Truncate.limits() now returns Effect<Option<Limits>>.
- Truncate.output() short-circuits on None instead of checking .enabled.
- shell tool gates rolling buffer, disk spill, and tail truncation on
Option.isSome(limits); behavior unchanged when truncation is enabled.
- ShellPrompt.render and helpers accept Option<Limits>; the truncation
guidance line is omitted when None.
- Tests updated to assert Option.isSome / Option.isNone.
2026-05-24 23:06:06 -05:00
Aiden Cline
3fcdf94873
merge origin/dev into issue-13770-tool-output-docs
...
Resolve conflict in packages/opencode/src/tool/shell/prompt.ts to combine
truncationGuidance helper (which omits the truncation note when truncation
is disabled) with the configurable defaultTimeoutMs from origin/dev.
Fix typecheck in tool/truncate.ts by narrowing the tool_output union before
reading max_lines and max_bytes.
2026-05-23 21:23:36 -05:00
opencode-agent[bot]
728eae9c25
chore: generate
2026-05-24 01:08:00 +00:00
Aiden Cline
eb84f461b8
fix(llm): split OpenAI reasoning summary blocks ( #29000 )
2026-05-23 20:06:45 -05:00
Kit Langton
0b3a1c2fdf
test(opencode): simplify config effect tests ( #29019 )
2026-05-23 23:48:08 +00:00
Aiden Cline
ba437069e6
fix(opencode): advertise configured shell timeout ( #28998 )
...
Co-authored-by: Nabs <nabil@instafork.com>
2026-05-23 10:43:39 -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
Aiden Cline
7cfcb644ab
fix(core): enforce tool output truncation variants
2026-05-22 17:37:43 -05:00
Aiden Cline
7a58560161
fix(core): nest tool output truncation toggle
2026-05-22 17:31:22 -05:00
Aiden Cline
1edba25dfb
feat(core): allow disabling tool output truncation
2026-05-22 17:20:58 -05:00
opencode-agent[bot]
1a329e4e67
chore: generate
2026-05-22 19:31:59 +00:00
James Long
bfb2d8dc76
fix(tui): when diff viewer closes always return to last route ( #28903 )
2026-05-22 15:30:31 -04:00
Shoubhit Dash
5f42351159
fix(provider): type default model failures ( #28881 )
2026-05-22 23:53:23 +05:30
Shoubhit Dash
968aaa3cfe
fix(pty): expose missing session errors ( #28884 )
2026-05-22 23:53:03 +05:30
James Long
ba746e36d8
fix(tui): empty states, context, and minor improvements to diff viewer ( #28878 )
2026-05-22 14:21:22 -04:00
Shoubhit Dash
7265c46af6
fix(skill): type expected skill failures ( #28885 )
2026-05-22 23:18:52 +05:30
Shoubhit Dash
536ee857c6
fix(installation): type upgrade failures ( #28883 )
2026-05-22 23:18:17 +05:30
Shoubhit Dash
0e14404e5f
fix(sync): map workspace warp not found ( #28882 )
2026-05-22 23:15:53 +05:30
Shoubhit Dash
aee552c043
fix(repository): type expected reference failures ( #28880 )
2026-05-22 23:13:14 +05:30
Shoubhit Dash
3e1972fd92
fix(httpapi): return project not found errors ( #28856 )
2026-05-22 22:06:20 +05:30
opencode-agent[bot]
b368e5adbe
chore: generate
2026-05-22 16:31:30 +00:00
James Long
69e4f52272
fix(tui): interaction improvements to diff viewer ( #28851 )
2026-05-22 12:30:10 -04:00
opencode-agent[bot]
00038027c8
chore: generate
2026-05-22 15:31:46 +00:00
Shoubhit Dash
5cf597d583
fix(httpapi): return pty error bodies ( #28838 )
2026-05-22 21:00:20 +05:30
Shoubhit Dash
0beb4de3e8
fix(httpapi): return mcp server not found errors ( #28817 )
2026-05-22 17:46:30 +05:30
Sebin
7a769dab3a
fix(mcp): include scope in clientMetadata and add callbackPort option ( #28810 )
...
Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com>
2026-05-22 17:10:38 +05:30
opencode-agent[bot]
2663ecd39d
chore: generate
2026-05-22 11:00:29 +00:00
Shoubhit Dash
4ce247eaba
fix(httpapi): return request not found errors ( #28693 )
2026-05-22 16:29:12 +05:30
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
opencode-agent[bot]
87d4cb07b0
chore: generate
2026-05-21 22:36:00 +00:00
James Long
ee008923f3
feat(tui): design revamp of diff viewer ( #28728 )
2026-05-21 18:34:32 -04:00
Kit Langton
e92c4fb460
chore: drop dead imports across opencode/core/llm ( #28720 )
2026-05-21 17:03:12 -04:00
Kit Langton
b99787e95b
refactor(opencode): fetch remote config with http client ( #28661 )
2026-05-21 15:53:44 -04:00
opencode-agent[bot]
9ecb04e35b
chore: generate
2026-05-21 19:19:25 +00:00
Kit Langton
231689c767
test(config): port env-var config tests to it.instance ( #28706 )
2026-05-21 19:17:29 +00:00
Kit Langton
40da77e77c
test(opencode): cover native reasoning continuation ( #28683 )
2026-05-21 14:50:37 -04:00
Shoubhit Dash
82b796ce31
fix(httpapi): return session busy error bodies ( #28684 )
2026-05-21 22:53:49 +05:30
opencode-agent[bot]
3ca09ee3ef
chore: generate
2026-05-21 16:50:49 +00:00
Kit Langton
003f1ce0f4
test(control-plane): finish porting workspace.test.ts to it.instance ( #28665 )
2026-05-21 12:48:59 -04:00
Kit Langton
61390dbb49
fix(llm): preserve native continuation metadata ( #28678 )
2026-05-21 11:57:45 -04:00
Shoubhit Dash
9739d75892
fix(httpapi): handle corrupt v2 session messages ( #28633 )
2026-05-21 16:30:04 +05:30
Shoubhit Dash
2697cb8001
fix(httpapi): remove config error middleware special case ( #28631 )
2026-05-21 15:57:25 +05:30
Shoubhit Dash
fc08292136
fix(httpapi): add unknown error references ( #28629 )
2026-05-21 15:44:35 +05:30
Shoubhit Dash
f5d20c580b
fix(httpapi): expose unavailable v2 session mutations ( #28624 )
2026-05-21 15:12:13 +05:30
Shoubhit Dash
b275b12e90
fix(httpapi): expose v2 session not found ( #28511 )
2026-05-21 13:27:20 +05:30
opencode-agent[bot]
6602341c0d
chore: generate
2026-05-21 05:14:43 +00:00