@warble/claude-agent-sdk 0.11.0 → 0.13.0
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/README.md +5 -2
- package/dist/{chunk-3ON7TSGW.js → chunk-2VDMVARW.js} +1814 -122
- package/dist/chunk-2VDMVARW.js.map +1 -0
- package/dist/cli.js +85 -23
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +743 -209
- package/dist/index.js +53 -3
- package/package.json +4 -4
- package/dist/chunk-3ON7TSGW.js.map +0 -1
package/README.md
CHANGED
|
@@ -112,8 +112,11 @@ const out = await dispatch(
|
|
|
112
112
|
console.log(out.components[0].result.htmlPath, out.components[0].result.trace);
|
|
113
113
|
```
|
|
114
114
|
|
|
115
|
-
For **full control of
|
|
116
|
-
`query()` yourself (add your own tools / MCP servers / permission strategy)
|
|
115
|
+
For **full control of an uncomposed loop**, stop at `prepareDispatch` and hand `plan.options` to the
|
|
116
|
+
SDK's `query()` yourself (add your own tools / MCP servers / permission strategy). A component with
|
|
117
|
+
authorized component calls must keep the complete prepared registry and use `dispatch()` or
|
|
118
|
+
`runComposedDispatch()`; plain `runDispatch(plan)` rejects that shape instead of dropping its child
|
|
119
|
+
edges:
|
|
117
120
|
|
|
118
121
|
```ts
|
|
119
122
|
import { prepareDispatch, makeReadOnlyGuard } from "@warble/claude-agent-sdk";
|