@mccaskie-labs/workbench-ai 0.0.0-stage → 0.1.1
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/CHANGELOG.md +11 -0
- package/README.md +37 -2
- package/dist/ai.d.ts +17 -0
- package/dist/ai.js +318 -0
- package/dist/capture.d.ts +26 -0
- package/dist/capture.js +90 -0
- package/dist/errors.d.ts +33 -0
- package/dist/errors.js +100 -0
- package/dist/fake.d.ts +85 -0
- package/dist/fake.js +215 -0
- package/dist/helpers.d.ts +11 -0
- package/dist/helpers.js +23 -0
- package/dist/http.d.ts +23 -0
- package/dist/http.js +33 -0
- package/dist/images.d.ts +4 -0
- package/dist/images.js +93 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +6 -0
- package/dist/types.d.ts +166 -0
- package/dist/types.js +1 -0
- package/package.json +47 -4
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,49 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mccaskie-labs/workbench-ai",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Claude through the Workbench Gateway: text, structured output, streaming and budget status, with no Anthropic key in the app. Refusals and truncations throw; createFakeAi for tests.",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/mccaskie-labs/workbench.git",
|
|
10
|
+
"directory": "packages/ai"
|
|
11
|
+
},
|
|
12
|
+
"engines": {
|
|
13
|
+
"node": ">=24"
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": false,
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./dist/index.d.ts",
|
|
19
|
+
"default": "./dist/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./package.json": "./package.json"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist",
|
|
25
|
+
"README.md",
|
|
26
|
+
"CHANGELOG.md"
|
|
27
|
+
],
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"typecheck": "tsc -p tsconfig.check.json && tsc -p test/tsconfig.json",
|
|
33
|
+
"test": "vitest run",
|
|
34
|
+
"build": "node scripts/build.mjs",
|
|
35
|
+
"prepack": "node scripts/build.mjs"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"@anthropic-ai/sdk": "^1.5.0",
|
|
39
|
+
"@mccaskie-labs/workbench-config": "^0.1.2"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"zod": "^4.1.0"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"@types/node": "24.19.2",
|
|
46
|
+
"vitest": "^5.1.0",
|
|
47
|
+
"zod": "4.6.7"
|
|
48
|
+
}
|
|
49
|
+
}
|