@tanstack/ai-claude-code 0.4.4 → 0.5.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/dist/esm/byok.d.ts +1 -0
- package/dist/esm/byok.js +11 -0
- package/dist/esm/byok.js.map +1 -0
- package/package.json +9 -5
- package/src/byok.ts +7 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const claudeCodeByok: import('@tanstack/ai/byok').ByokProvider<"claude-code">;
|
package/dist/esm/byok.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { defineByokProvider } from "@tanstack/ai/byok";
|
|
2
|
+
//#region src/byok.ts
|
|
3
|
+
var claudeCodeByok = defineByokProvider({
|
|
4
|
+
id: "claude-code",
|
|
5
|
+
label: "Claude Code",
|
|
6
|
+
env: "ANTHROPIC_API_KEY"
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { claudeCodeByok };
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=byok.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"byok.js","names":[],"sources":["../../src/byok.ts"],"sourcesContent":["import { defineByokProvider } from '@tanstack/ai/byok'\n\nexport const claudeCodeByok = defineByokProvider({\n id: 'claude-code',\n label: 'Claude Code',\n env: 'ANTHROPIC_API_KEY',\n})\n"],"mappings":";;AAEA,IAAa,iBAAiB,mBAAmB;CAC/C,IAAI;CACJ,OAAO;CACP,KAAK;AACP,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/ai-claude-code",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "Claude Code harness adapter for TanStack AI — run Claude Code as a chat backend with local tool execution and stateful sessions.",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
".": {
|
|
31
31
|
"types": "./dist/esm/index.d.ts",
|
|
32
32
|
"import": "./dist/esm/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./byok": {
|
|
35
|
+
"types": "./dist/esm/byok.d.ts",
|
|
36
|
+
"import": "./dist/esm/byok.js"
|
|
33
37
|
}
|
|
34
38
|
},
|
|
35
39
|
"files": [
|
|
@@ -37,13 +41,13 @@
|
|
|
37
41
|
"src"
|
|
38
42
|
],
|
|
39
43
|
"peerDependencies": {
|
|
40
|
-
"@tanstack/ai": "^0.
|
|
41
|
-
"@tanstack/ai-sandbox": "^0.5.
|
|
44
|
+
"@tanstack/ai": "^0.49.1",
|
|
45
|
+
"@tanstack/ai-sandbox": "^0.5.1"
|
|
42
46
|
},
|
|
43
47
|
"devDependencies": {
|
|
44
48
|
"@vitest/coverage-v8": "4.1.10",
|
|
45
|
-
"@tanstack/ai": "0.
|
|
46
|
-
"@tanstack/ai-sandbox": "0.5.
|
|
49
|
+
"@tanstack/ai": "0.49.1",
|
|
50
|
+
"@tanstack/ai-sandbox": "0.5.1",
|
|
47
51
|
"@tanstack/ai-sandbox-local-process": "0.2.4"
|
|
48
52
|
},
|
|
49
53
|
"scripts": {
|