@tanstack/ai-opencode 0.3.4 → 0.4.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.
@@ -0,0 +1 @@
1
+ export declare const opencodeByok: import('@tanstack/ai/byok').ByokProvider<"opencode">;
@@ -0,0 +1,10 @@
1
+ import { defineByokProvider } from "@tanstack/ai/byok";
2
+ //#region src/byok.ts
3
+ var opencodeByok = defineByokProvider({
4
+ id: "opencode",
5
+ label: "OpenCode"
6
+ });
7
+ //#endregion
8
+ export { opencodeByok };
9
+
10
+ //# 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 opencodeByok = defineByokProvider({\n id: 'opencode',\n label: 'OpenCode',\n})\n"],"mappings":";;AAEA,IAAa,eAAe,mBAAmB;CAC7C,IAAI;CACJ,OAAO;AACT,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/ai-opencode",
3
- "version": "0.3.4",
3
+ "version": "0.4.1",
4
4
  "description": "OpenCode harness adapter for TanStack AI — run OpenCode as a chat backend with local tool execution and stateful sessions.",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -28,6 +28,10 @@
28
28
  ".": {
29
29
  "types": "./dist/esm/index.d.ts",
30
30
  "import": "./dist/esm/index.js"
31
+ },
32
+ "./byok": {
33
+ "types": "./dist/esm/byok.d.ts",
34
+ "import": "./dist/esm/byok.js"
31
35
  }
32
36
  },
33
37
  "files": [
@@ -38,13 +42,13 @@
38
42
  "@opencode-ai/sdk": "^1.17.4"
39
43
  },
40
44
  "peerDependencies": {
41
- "@tanstack/ai": "^0.48.0",
42
- "@tanstack/ai-sandbox": "^0.5.0"
45
+ "@tanstack/ai": "^0.50.0",
46
+ "@tanstack/ai-sandbox": "^0.5.2"
43
47
  },
44
48
  "devDependencies": {
45
49
  "@vitest/coverage-v8": "4.1.10",
46
- "@tanstack/ai": "0.48.0",
47
- "@tanstack/ai-sandbox": "0.5.0"
50
+ "@tanstack/ai": "0.50.0",
51
+ "@tanstack/ai-sandbox": "0.5.2"
48
52
  },
49
53
  "scripts": {
50
54
  "build": "vite build",
package/src/byok.ts ADDED
@@ -0,0 +1,6 @@
1
+ import { defineByokProvider } from '@tanstack/ai/byok'
2
+
3
+ export const opencodeByok = defineByokProvider({
4
+ id: 'opencode',
5
+ label: 'OpenCode',
6
+ })