Kyle Mistele
34f9feb12d
docs: add structured output documentation to SDK reference
...
Document the outputFormat feature for requesting structured JSON output:
- Basic usage example with JSON schema
- Output format types (text, json_schema)
- Schema configuration options (type, schema, retryCount)
- Error handling for StructuredOutputError
- Best practices for using structured output
2026-01-12 21:04:13 -08:00
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
d582dc1c9f
chore: regenerate JavaScript SDK with structured output types
...
Regenerate SDK types to include outputFormat and structured_output fields.
2026-01-12 20:18:50 -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
4275907df6
docs: tweak lsp.mdx
2025-12-23 22:38:17 -06:00
opencode-agent[bot]
6097d6af86
docs: experimental LSP tool ( #5943 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2025-12-23 22:37:49 -06:00
opencode-agent[bot]
09d2febe27
docs: skill tool/perm + parent keybind ( #6001 )
...
Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2025-12-23 22:25:55 -06:00
xiantang
2c5c1ecb5e
docs: add Neovim to the list of editors ( #6081 )
2025-12-23 22:17:34 -06:00
Aiden Cline
99e2112807
tweak: retry err
2025-12-23 22:10:28 -06:00
GitHub Action
4b6575999d
chore: generate
2025-12-24 01:37:35 +00:00
Frank
1a9ee3080c
zen: sync
2025-12-23 20:36:55 -05: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
GitHub Action
f9b5ce180a
chore: generate
2025-12-24 01:21:10 +00: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
Frank
1bd8e61719
ci: adam is not a full stack engineer
2025-12-23 17:03:00 -05:00
Adam
b6c07cb1b8
fix: remove desktop dup
2025-12-23 15:31:18 -06:00
Viktor Nagy
83f23817ce
Update gitlab.mdx to use the 2.x component version ( #6062 )
2025-12-23 14:56:46 -06:00
Github Action
23b1d7c755
Update Nix flake.lock and hashes
2025-12-23 20:42:17 +00: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
GitHub Action
698cfb57a1
chore: generate
2025-12-23 19:48:40 +00:00
Jon Redeker
27e72f2652
Add opencode-shell-strategy plugin to ecosystem ( #5995 )
2025-12-23 13:48:08 -06:00
ja
10eed6ee7e
feat(install): add standard CLI flags (--help, --version, --no-modify-path) ( #5885 )
2025-12-23 13:47:32 -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
GitHub Action
d10089a0bf
chore: generate
2025-12-23 19:29:05 +00: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
Matt Silverlock
4e1a9b6216
docs: add MCP OAuth debugging section ( #6047 )
2025-12-23 12:46:59 -06:00
Aiden Cline
1995be3599
ci: update zed sync script
2025-12-23 12:45:34 -06:00
ja
86b9b7b15a
fix(tui): prevent keybinds from executing when dialog is open ( #6017 )
2025-12-23 12:37:28 -06:00
Frank
a90f2b9723
ci: fix
2025-12-23 12:58:28 -05: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
2025-12-23 15:16:20 +00:00
GitHub Action
fbece0dc4d
chore: generate
2025-12-23 14:45:27 +00:00
Sebastian Herrlinger
1d9e181da0
indent wrapped todo items properly
2025-12-23 15:44:45 +01:00
opencode
c81721e9fc
release: v1.0.192
2025-12-23 14:43:07 +00:00
Frank
a94899ed36
zen: glm 4.7
2025-12-23 07:56:37 -05:00
Frank
b18d22498c
ci: fix
2025-12-23 07:53:33 -05:00
Frank
c75584a31b
ci: fix
2025-12-23 07:38:42 -05:00
GitHub Action
b474f65547
ignore: update download stats 2025-12-23
2025-12-23 12:04:42 +00:00