Kyle Mistele
4cb9f8ab34
fix: structured output loop exit and add system prompt
...
- Fix loop exit condition to check processor.message.finish instead of
result === "stop" (processor.process() returns "continue" on normal exit)
- Add system prompt instruction when json_schema mode is enabled to ensure
model calls the StructuredOutput tool
- Add integration tests for structured output functionality
- Fix test Session.messages call to use object parameter format
2026-01-12 20:51:17 -08:00
Kyle Mistele
32ef11da1f
feat: add structured output (JSON schema) support
...
Add outputFormat option to session.prompt() for requesting structured JSON
output. When type is 'json_schema', injects a StructuredOutput tool that
validates model output against the provided schema.
- Add OutputFormat schema types (text, json_schema) to message-v2.ts
- Add structured_output field to AssistantMessage
- Add StructuredOutputError for validation failures
- Implement createStructuredOutputTool helper in prompt.ts
- Integrate structured output into agent loop with retry support
- Regenerate OpenAPI spec with new types
- Add unit tests for schema validation
2026-01-12 20:09:51 -08:00
Aiden Cline
99e2112807
tweak: retry err
2025-12-23 22:10:28 -06:00
Abdelkader Boudih
f4d61be8bd
feat(mcp): handle tools/list_changed notifications ( #5913 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
2025-12-23 19:36:37 -06:00
Aiden Cline
8b40e38cd7
test: add test for retry
2025-12-23 19:34:40 -06:00
Aiden Cline
7396d495ee
chore: regen sdk
2025-12-23 19:34:38 -06:00
Aiden Cline
12ee9d51c3
make 'The socket connection was closed unexpectedly' errors retryable
2025-12-23 19:20:31 -06:00
Rohan Mukherjee
2730e0c9cd
chore: update AGENTS.md to ~150 lines ( #5955 )
2025-12-23 19:04:44 -06:00
David Hill
d6c81d6e14
style: update current todo style ( #6077 )
2025-12-23 18:57:02 -06:00
rari404
e8ac0b663b
feat(tui): console copy-to-clipboard via opentui ( #5658 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
2025-12-23 18:46:01 -06:00
OpeOginni
2806f240ea
fix: resize textarea when pasting prompt less than 150 chars ( #6070 )
2025-12-23 18:11:48 -06:00
Matt Silverlock
9898fbe8ef
providers: add Cloudflare AI Gateway ( #5174 )
2025-12-23 17:31:58 -06:00
Aiden Cline
ef033db9c2
Revert "Add animated braille spinner to terminal title when agent is running ( #5984 )"
...
This reverts commit 59b87f60f7 .
2025-12-23 14:40:55 -06:00
Aiden Cline
e30d5d8e34
tweak: update import & pr commands to use new share link ur
2025-12-23 14:04:33 -06:00
David Hill
59b87f60f7
Add animated braille spinner to terminal title when agent is running ( #5984 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
Co-authored-by: Github Action <action@github.com >
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com >
2025-12-23 13:38:10 -06:00
David Hill
ae7286c031
"Did you know?" start screen tips ( #5982 )
...
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>
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com >
Co-authored-by: Aiden Cline <aidenpcline@gmail.com >
2025-12-23 13:28:33 -06:00
Daniel Gray
52048c327d
fix: favorites and recents stay visible when filtering models ( #6053 )
2025-12-23 12:55:47 -06:00
ja
86b9b7b15a
fix(tui): prevent keybinds from executing when dialog is open ( #6017 )
2025-12-23 12:37:28 -06:00
GitHub Action
c73a17f8af
chore: generate
2025-12-23 15:58:33 +00:00
Rhys Sullivan
48898fda07
[feat]: prompt stashing ( #6021 )
2025-12-23 09:58:00 -06:00
GitHub Action
c573732ddb
chore: generate
2025-12-23 15:39:47 +00:00
Daniel Polito
ab2a6c45a3
Fix Github Pull Request Event ( #6037 )
2025-12-23 09:39:14 -06:00
opencode
66563fb974
release: v1.0.193
Update Nix Hashes / update (push) Has been cancelled
2025-12-23 15:16:20 +00:00
Sebastian Herrlinger
1d9e181da0
indent wrapped todo items properly
2025-12-23 15:44:45 +01:00
opencode
c81721e9fc
release: v1.0.192
Update Nix Hashes / update (push) Has been cancelled
2025-12-23 14:43:07 +00:00
Sebastian Herrlinger
c352999b41
no intermediate autocomplete result to avoid flickering
2025-12-23 12:22:34 +01:00
opencode
83397ebde2
release: v1.0.191
Update Nix Hashes / update (push) Has been cancelled
2025-12-23 05:57:23 +00:00
Matt Silverlock
1a2b656c4d
improve mcp CLI + ability to debug MCP oauth ( #5980 )
2025-12-22 22:27:38 -06:00
lif
5af35117db
fix: handle Windows CRLF line endings in grep tool ( #5948 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-22 22:26:15 -06:00
Joel Hooks
eab177f5e7
feat(plugin): allow compaction hook to replace prompt entirely ( #5907 )
2025-12-22 22:19:14 -06:00
Adam
794fe8f381
chore: rename packages/desktop -> packages/app
2025-12-22 19:39:00 -06:00
Adam
680a63e3de
fix(desktop): better error messages on connection failure
2025-12-22 19:16:54 -06:00
Mohammad Alhashemi
3a54ab68d1
feat(skill): add per-agent filtering to skill tool description ( #6000 )
2025-12-22 20:14:33 -05:00
Aiden Cline
ac371d2987
feat: better styling for small screens (short and/or not wide) ( #5968 )
2025-12-22 18:00:26 -06:00
Dax Raad
b129f809b9
tui: change task tool container to block layout for better subagent session display
2025-12-22 18:40:15 -05:00
opencode
92c0ab51e2
release: v1.0.190
Update Nix Hashes / update (push) Has been cancelled
2025-12-22 23:31:20 +00:00
Mohammad Alhashemi
046e351140
feat: add native skill tool with permission system ( #5930 )
...
Co-authored-by: Dax Raad <d@ironbay.co >
2025-12-22 18:24:06 -05:00
opencode
b9029afa22
release: v1.0.189
Update Nix Hashes / update (push) Has been cancelled
2025-12-22 23:15:23 +00:00
opencode
38551bda38
release: v1.0.188
Update Nix Hashes / update (push) Has been cancelled
2025-12-22 22:47:21 +00:00
Josh Thomas
fe3144ce5b
fix(tui): resize textarea if text inserted via appendPrompt TUI API ( #5983 )
2025-12-22 16:29:18 -06:00
Frank
526c723e62
support glm 4.7
2025-12-22 17:11:02 -05:00
opencode
e4d8a117c4
release: v1.0.187
Update Nix Hashes / update (push) Has been cancelled
2025-12-22 21:58:41 +00:00
Aiden Cline
5605fc3f38
test: rm claude skills test
2025-12-22 15:45:31 -06:00
Aiden Cline
009b096004
fix: disable claude skill loading for now
2025-12-22 15:40:08 -06:00
Blake North
87b5b34280
fix(providers.opencode): check config for api key in addition to auth ( #5906 )
2025-12-22 15:20:40 -06:00
Aiden Cline
f9be2bab3a
fix: bundle more providers to fix breaking ai sdk issue
2025-12-22 15:12:18 -06:00
Rohan Godha
25f1643e8e
feat(tui): go to parent keybind for subagents ( #5762 )
2025-12-22 14:50:45 -06:00
ja
cd8ecf9722
feat(lsp): add Tinymist LSP support for Typst ( #5933 )
2025-12-22 14:31:47 -06:00
Sebastian Herrlinger
7f5e30834f
upgrade opentui to v0.1.63, enabling kitty alternate keys by default
2025-12-22 21:26:03 +01:00
Tim Kleinschmidt
750a936ae1
support clojure projects with built-in lsp ( #5975 )
2025-12-22 14:20:15 -06:00