@warble/claude-agent-sdk 0.13.0 → 0.15.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 +15 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -157,6 +157,21 @@ npm test # node:test suite (offline; render test skips if `warble`
|
|
|
157
157
|
npm run build # tsup → dist/ (ESM .js + .d.ts) for the library + CLI bin
|
|
158
158
|
```
|
|
159
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
|
+
|
|
160
175
|
## Runtime prerequisite for a full data e2e
|
|
161
176
|
|
|
162
177
|
A full run that returns **real numbers** needs the `wren` CLI on PATH and a wired connection. The
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warble/claude-agent-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Warble back-end: Claude Agent SDK query() loop dispatcher (embeddable library + CLI)",
|
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
"check-types": "tsc --noEmit",
|
|
52
52
|
"test": "node --import tsx --test --experimental-test-module-mocks tests/*.test.ts",
|
|
53
53
|
"dispatch": "tsx src/cli.ts",
|
|
54
|
-
"prepublishOnly": "npm run check-types && npm run build && npm test"
|
|
54
|
+
"prepublishOnly": "npm run check-types && npm run build && npm test",
|
|
55
|
+
"test:live": "node --import tsx --test tests/*.live.ts"
|
|
55
56
|
},
|
|
56
57
|
"dependencies": {
|
|
57
58
|
"@anthropic-ai/claude-agent-sdk": "^0.1.0",
|