Kyle Mistele
4c7c65a054
merge: resolve conflicts from upstream dev
...
Merge upstream changes while preserving structured output feature:
- Keep tools deprecation notice from upstream
- Keep bypassAgentCheck parameter from upstream
- Keep variant field on user messages from upstream
- Preserve outputFormat and StructuredOutput tool injection
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 00:01:34 -08:00
Kyle Mistele
d2beb78457
feat: structured output
2026-01-12 23:54:53 -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
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
fd37d5b54e
tweak: truncation dir perm
2026-01-12 16:46:47 -06:00
Aiden Cline
5c4345da4f
test: fix read test
2026-01-12 15:49:31 -06:00
Aiden Cline
735f3d17bc
fix: ensure plurals are properly handled ( #8070 )
2026-01-12 15:21:01 -06:00
Aiden Cline
62702fbd11
fix: permissions wildcarding so that for ex: 'ls *' includes ls * AND 'ls' to prevent having to double state commands or use 'ls*'
2026-01-12 13:02:29 -06:00
Aiden Cline
d527ceeb2b
test: fix
2026-01-12 12:33:39 -06:00
Dillon Mulroy
fa79736b87
fix: check worktree for external_directory permission in subdirs ( #7811 )
2026-01-11 14:17:36 -06:00
Dax Raad
f94ee5ce90
core: extract external directory validation to shared utility to reduce code duplication across tools
2026-01-10 18:49:42 -05:00
Frédéric DE MATOS
1662e149b3
fix: add ChatGPT-Account-Id header for organization subscriptions ( #7603 )
2026-01-10 07:50:24 -06:00
Jeon Suyeol
8e3ab4afa7
feat(config): deduplicate plugins by name with priority-based resolution ( #5957 )
2026-01-09 02:11:24 -06:00
Dax
22dd70b75b
feat(question): support multi-select questions ( #7386 )
2026-01-08 17:32:21 -05:00
Aiden Cline
3c5043497c
ignore: ensure new file truncation stuff still works even if external_directoy is set to deny
2026-01-08 11:07:33 -06:00
Aiden Cline
d5f0e3fccc
test: add larger image test for read tool
2026-01-07 23:01:02 -06:00
Dax
e37fd9c105
core: add interactive question tool for gathering user preferences and clarifying instructions ( #7268 )
2026-01-07 22:29:42 -05:00
Aiden Cline
1b82511fbd
feat: write truncated tool outputs to files ( #7239 )
2026-01-07 17:25:00 -06:00
M. Adel Alhashemi
34c9d106ee
refactor: simplify task tool subagent filtering ( #7165 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
2026-01-07 13:28:13 -06:00
Matt Silverlock
4ba0b22b04
fix: config precedence now correctly allows local config to override remote ( #7141 )
2026-01-07 12:07:21 -05:00
GitHub Action
c961072d20
chore: generate
2026-01-07 07:43:43 +00:00
Aiden Cline
429240f439
ignore: add truncation funcs ( #7178 )
2026-01-07 01:43:06 -06:00
Daniel Polito
b5be883758
Make General SubAgent not hidden ( #6752 )
2026-01-07 01:31:47 -06:00
Sewer.
fd7b7eacd3
Added: Ability to hide subagents from primary agents system prompt. ( #4773 )
...
Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-06 22:29:17 -06:00
Dax Raad
0276885181
core: preserve permission config key order to maintain user-defined permission precedence
2026-01-05 14:09:37 -05:00
Grégoire Morpain
e3b4d4ad49
feat(bedrock): config options and authentication precedence ( #6377 )
2026-01-05 12:51:43 -06:00
Aiden Cline
c285304acf
fix: for anthropic compat ensure empty msgs and empty reasoning is filtered out
2026-01-05 01:40:15 -06:00
Dax Raad
2f5b2b23d5
core: fix permission rule matching to use permission field instead of pattern field
2026-01-05 01:21:49 -05:00
Aiden Cline
3611260405
core: remove hardcoded .env read block and use new permissions model instead
2026-01-04 01:49:49 -06:00
Dax Raad
0b4af95223
core: add sandbox support for git worktrees to allow working in multiple directories per project
2026-01-03 18:52:53 -05:00
Dax Raad
47c670aea9
tui: add reject message support to permission dialogs for better user feedback
2026-01-03 01:34:23 -05:00
YeonGyu-Kim
a3f38e0533
feat(plugin): add tui.session.select API endpoint for TUI navigation ( #6565 )
...
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-01-02 16:57:21 -06:00
Matt Silverlock
66bc046503
fix: merge instructions arrays across config files ( #6663 )
2026-01-02 13:55:40 -06:00
Aiden Cline
2fd97377f6
test: fix transform test
2026-01-02 12:38:44 -06:00
Aiden Cline
47ebb2973f
test: add message-v2 test
2026-01-02 12:28:40 -06:00
Dax Raad
dad9c917d2
tui: fix memory leaks in session management and improve permission error handling
2026-01-01 21:28:11 -05:00
Dax Raad
db8d83b53d
tui: fix permission tests for new evaluate function signature
2026-01-01 21:01:34 -05:00
Dillon Mulroy
05eee679a3
feat: add assistant metadata to session export ( #6611 )
2026-01-01 18:56:23 -06:00
Aiden Cline
76186d19f3
fix: ensure new permissions changes work for special case bash commands like rm, cd, etc
2026-01-01 17:27:23 -06:00
Dax
351ddeed91
Permission rework ( #6319 )
...
Co-authored-by: Github Action <action@github.com>
Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
2026-01-01 17:54:11 -05:00
Saatvik Arya
7a3ff5b98f
fix(session): check for context overflow mid-turn in finish-step ( #6480 )
2026-01-01 12:03:18 -06:00
Aiden Cline
9a1dc1ffe4
core: prevent TimeoutOverflowWarning by capping setTimeout delay to max 32-bit signed integer
2025-12-31 16:15:49 -06:00
Aiden Cline
81fef60266
fix: ensure variants also work for completely custom models ( #6481 )
...
Co-authored-by: Daniel Smolsky <dannysmo@gmail.com>
2025-12-30 16:37:32 -06:00
Aiden Cline
abc7eed92b
tweak: read global claude skills too ( #6420 )
2025-12-29 23:48:58 -06:00
Grégoire Morpain
893888536a
fix(bedrock): support region and bearer token configuration ( #6332 )
...
Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-12-28 22:44:15 -06:00
Connor Adams
ae67f43ff0
feat: add support for .claude/skills directory ( #6252 )
2025-12-28 22:39:10 -06:00
Didier Durand
29d8557d41
doc: fix typos in various files ( #6294 )
2025-12-28 13:06:25 -06:00
Matt Silverlock
d6db6ff198
fix: handle non-text response parts in GitHub action ( #6173 )
2025-12-27 21:24:10 -06:00
rari404
3c02d5d338
feat: add path traversal protection to File.read and File.list ( #5985 )
2025-12-26 23:20:07 -06:00
Christopher Ochsenreither
bfb9787361
fix: compact command after revert now properly cleans up revert state ( #6235 )
2025-12-26 22:57:59 -06:00