@warble/claude-agent-sdk 0.12.0 → 0.14.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 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 the loop**, stop at `prepareDispatch` and hand `plan.options` to the SDK's
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";
@@ -154,6 +157,21 @@ npm test # node:test suite (offline; render test skips if `warble`
154
157
  npm run build # tsup → dist/ (ESM .js + .d.ts) for the library + CLI bin
155
158
  ```
156
159
 
160
+ Live SDK regressions are separate (`tests/*.live.ts`) and never run through `npm test`,
161
+ `just test-ts`, or `prepublishOnly`, even when credentials, a proxy URL, or a live-test flag
162
+ are inherited. Run one only after explicitly authorizing model calls:
163
+
164
+ ```bash
165
+ WARBLE_RUN_LIVE_SDK_TESTS=1 npm run test:live
166
+ ```
167
+
168
+ That command also requires an explicit `CLAUDE_CODE_OAUTH_TOKEN`, `ANTHROPIC_API_KEY`, or
169
+ `ANTHROPIC_BASE_URL`. Missing prerequisites fail before fixture creation or SDK import.
170
+ Saved user-home login is not used. The SDK child gets a temporary home/config directory,
171
+ an allowlisted environment, no settings discovery or configured MCP servers, and no session
172
+ persistence. Test timeout cancellation reaches the SDK abort controller; completion and errors
173
+ remove the temporary fixture. This is test setup isolation, not an operating-system sandbox.
174
+
157
175
  ## Runtime prerequisite for a full data e2e
158
176
 
159
177
  A full run that returns **real numbers** needs the `wren` CLI on PATH and a wired connection. The