@hatchway/cli 0.50.80 → 0.50.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4441,6 +4441,12 @@ function createNativeClaudeQuery(modelId = DEFAULT_CLAUDE_MODEL_ID, abortControl
|
|
|
4441
4441
|
},
|
|
4442
4442
|
// Use preset tools from Claude Code
|
|
4443
4443
|
tools: { type: 'preset', preset: 'claude_code' },
|
|
4444
|
+
// The claude_code preset now ships built-in task tools (TaskCreate/Update/
|
|
4445
|
+
// List). The agent reaches for those instead of TodoWrite — but the
|
|
4446
|
+
// Hatchway UI renders progress ONLY from TodoWrite, so the checklist
|
|
4447
|
+
// vanished and builds looked stuck in "analyzing". Disallow the task tools
|
|
4448
|
+
// so the agent uses TodoWrite (which the todo-workflow skill mandates).
|
|
4449
|
+
disallowedTools: ['TaskCreate', 'TaskUpdate', 'TaskList'],
|
|
4444
4450
|
// Pass abort controller for cancellation support
|
|
4445
4451
|
// NOTE: There is a known bug in the Claude Agent SDK where AbortController
|
|
4446
4452
|
// signals are not fully respected. When abort() is called, the SDK may
|