@opencode/sdk 2.0.9 → 2.0.10

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.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create4
3
- } from "./tool-kp70gr0x.js";
3
+ } from "./tool-ahrtyrb8.js";
4
4
  import {
5
5
  __export
6
6
  } from "./tool-9rqn6x4v.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create5
3
- } from "./tool-b54z5jwe.js";
3
+ } from "./tool-czgpaf6v.js";
4
4
  import {
5
5
  __export
6
6
  } from "./tool-9rqn6x4v.js";
@@ -2,7 +2,7 @@ import {
2
2
  __export
3
3
  } from "./tool-9rqn6x4v.js";
4
4
 
5
- // src/effect/tool.ts
5
+ // src/tool.ts
6
6
  var exports_tool = {};
7
7
  __export(exports_tool, {
8
8
  Error: () => Error2,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  create5
3
- } from "./tool-b54z5jwe.js";
3
+ } from "./tool-czgpaf6v.js";
4
4
  import {
5
5
  __export
6
6
  } from "./tool-9rqn6x4v.js";
@@ -2,7 +2,7 @@ import {
2
2
  __export
3
3
  } from "./tool-9rqn6x4v.js";
4
4
 
5
- // src/tool.ts
5
+ // src/effect/tool.ts
6
6
  var exports_tool2 = {};
7
7
  __export(exports_tool2, {
8
8
  Error: () => Error3,
@@ -1,13 +1,13 @@
1
1
  import"../chunks/tool-ya9awdj2.js";
2
2
  import"../chunks/tool-wyq33nd6.js";
3
3
  import"../chunks/tool-pqb0kjhx.js";
4
- import"../chunks/tool-b54z5jwe.js";
4
+ import"../chunks/tool-czgpaf6v.js";
5
5
  import {
6
6
  exports_opencode
7
- } from "../chunks/tool-xcejgzf0.js";
7
+ } from "../chunks/tool-kk7b7gft.js";
8
8
  import {
9
- exports_tool
10
- } from "../chunks/tool-n1hprnh9.js";
9
+ exports_tool2
10
+ } from "../chunks/tool-xjkw3602.js";
11
11
  import {
12
12
  Agent2,
13
13
  Command2,
@@ -67,7 +67,7 @@ export {
67
67
  SessionInbox2 as SessionInbox,
68
68
  SessionMessage2 as SessionMessage,
69
69
  Skill2 as Skill,
70
- exports_tool as Tool,
70
+ exports_tool2 as Tool,
71
71
  WebSearch2 as WebSearch,
72
72
  Workspace2 as Workspace,
73
73
  Worktree2 as Worktree
@@ -3,11 +3,11 @@ import {
3
3
  Service2,
4
4
  layer2,
5
5
  exports_opencode
6
- } from "../chunks/tool-xcejgzf0.js";
7
- import"../chunks/tool-b54z5jwe.js";
6
+ } from "../chunks/tool-kk7b7gft.js";
7
+ import"../chunks/tool-czgpaf6v.js";
8
8
  import"../chunks/tool-pqb0kjhx.js";
9
- import"../chunks/tool-ya9awdj2.js";
10
9
  import"../chunks/tool-wyq33nd6.js";
10
+ import"../chunks/tool-ya9awdj2.js";
11
11
  export {
12
12
  exports_opencode as OpenCode,
13
13
  Service2 as Service,
@@ -1,8 +1,8 @@
1
1
  import {
2
- RegistrationError2,
3
- Error2
4
- } from "../chunks/tool-n1hprnh9.js";
2
+ RegistrationError3,
3
+ Error3
4
+ } from "../chunks/tool-xjkw3602.js";
5
5
  export {
6
- Error2 as Error,
7
- RegistrationError2 as RegistrationError
6
+ Error3 as Error,
7
+ RegistrationError3 as RegistrationError
8
8
  };
@@ -4,11 +4,11 @@ import {
4
4
  import"../chunks/tool-ya9awdj2.js";
5
5
  import"../chunks/tool-wyq33nd6.js";
6
6
  import"../chunks/tool-pqb0kjhx.js";
7
- import"../chunks/tool-b54z5jwe.js";
7
+ import"../chunks/tool-czgpaf6v.js";
8
8
  import {
9
9
  create2,
10
10
  Service2
11
- } from "../chunks/tool-xcejgzf0.js";
11
+ } from "../chunks/tool-kk7b7gft.js";
12
12
  import {
13
13
  __export
14
14
  } from "../chunks/tool-9rqn6x4v.js";
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import"./chunks/tool-ya9awdj2.js";
2
2
  import"./chunks/tool-wyq33nd6.js";
3
3
  import"./chunks/tool-pqb0kjhx.js";
4
- import"./chunks/tool-b54z5jwe.js";
5
- import"./chunks/tool-kp70gr0x.js";
4
+ import"./chunks/tool-czgpaf6v.js";
5
+ import"./chunks/tool-ahrtyrb8.js";
6
6
  import {
7
7
  exports_opencode2
8
- } from "./chunks/tool-j34yx374.js";
8
+ } from "./chunks/tool-6mdnn00j.js";
9
9
  import {
10
- exports_tool2
11
- } from "./chunks/tool-hdqq71na.js";
10
+ exports_tool
11
+ } from "./chunks/tool-jw22y9b0.js";
12
12
  import {
13
13
  Agent2,
14
14
  Command2,
@@ -68,7 +68,7 @@ export {
68
68
  SessionInbox2 as SessionInbox,
69
69
  SessionMessage2 as SessionMessage,
70
70
  Skill2 as Skill,
71
- exports_tool2 as Tool,
71
+ exports_tool as Tool,
72
72
  WebSearch2 as WebSearch,
73
73
  Workspace2 as Workspace,
74
74
  Worktree2 as Worktree
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  create5,
3
3
  exports_host
4
- } from "../chunks/tool-b54z5jwe.js";
4
+ } from "../chunks/tool-czgpaf6v.js";
5
5
  import"../chunks/tool-pqb0kjhx.js";
6
- import"../chunks/tool-ya9awdj2.js";
7
6
  import"../chunks/tool-wyq33nd6.js";
7
+ import"../chunks/tool-ya9awdj2.js";
8
8
  export {
9
9
  exports_host as EmbeddedHost,
10
10
  create5 as create
package/dist/opencode.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  create3
3
- } from "./chunks/tool-j34yx374.js";
4
- import"./chunks/tool-kp70gr0x.js";
5
- import"./chunks/tool-b54z5jwe.js";
3
+ } from "./chunks/tool-6mdnn00j.js";
4
+ import"./chunks/tool-ahrtyrb8.js";
5
+ import"./chunks/tool-czgpaf6v.js";
6
6
  import"./chunks/tool-pqb0kjhx.js";
7
- import"./chunks/tool-ya9awdj2.js";
8
7
  import"./chunks/tool-wyq33nd6.js";
8
+ import"./chunks/tool-ya9awdj2.js";
9
9
  export {
10
10
  create3 as create
11
11
  };
package/dist/promise.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  create4,
3
3
  exports_promise
4
- } from "./chunks/tool-kp70gr0x.js";
5
- import"./chunks/tool-b54z5jwe.js";
4
+ } from "./chunks/tool-ahrtyrb8.js";
5
+ import"./chunks/tool-czgpaf6v.js";
6
6
  import"./chunks/tool-pqb0kjhx.js";
7
- import"./chunks/tool-ya9awdj2.js";
8
7
  import"./chunks/tool-wyq33nd6.js";
8
+ import"./chunks/tool-ya9awdj2.js";
9
9
  export {
10
10
  exports_promise as PromiseSdk,
11
11
  create4 as create
package/dist/tool.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
- RegistrationError3,
3
- Error3
4
- } from "./chunks/tool-hdqq71na.js";
2
+ RegistrationError2,
3
+ Error2
4
+ } from "./chunks/tool-jw22y9b0.js";
5
5
  export {
6
- Error3 as Error,
7
- RegistrationError3 as RegistrationError
6
+ Error2 as Error,
7
+ RegistrationError2 as RegistrationError
8
8
  };
package/dist/workerd.js CHANGED
@@ -4,10 +4,10 @@ import {
4
4
  import"./chunks/tool-ya9awdj2.js";
5
5
  import"./chunks/tool-wyq33nd6.js";
6
6
  import"./chunks/tool-pqb0kjhx.js";
7
- import"./chunks/tool-b54z5jwe.js";
7
+ import"./chunks/tool-czgpaf6v.js";
8
8
  import {
9
9
  create4
10
- } from "./chunks/tool-kp70gr0x.js";
10
+ } from "./chunks/tool-ahrtyrb8.js";
11
11
  import {
12
12
  __export
13
13
  } from "./chunks/tool-9rqn6x4v.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "name": "@opencode/sdk",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -40,18 +40,18 @@
40
40
  "verify:package": "bun run script/verify-package.ts"
41
41
  },
42
42
  "dependencies": {
43
- "@opencode/client": "2.0.9",
44
- "@opencode/core": "2.0.9",
45
- "@opencode/plugin": "2.0.9",
46
- "@opencode/schema": "2.0.9",
47
- "@opencode/server": "2.0.9",
48
- "@opencode/util": "2.0.9",
43
+ "@opencode/client": "2.0.10",
44
+ "@opencode/core": "2.0.10",
45
+ "@opencode/plugin": "2.0.10",
46
+ "@opencode/schema": "2.0.10",
47
+ "@opencode/server": "2.0.10",
48
+ "@opencode/util": "2.0.10",
49
49
  "effect": "4.0.0-rc.112"
50
50
  },
51
51
  "devDependencies": {
52
- "@opencode/ai": "2.0.9",
53
- "@opencode/httpapi-codegen": "2.0.9",
54
- "@opencode/protocol": "2.0.9",
52
+ "@opencode/ai": "2.0.10",
53
+ "@opencode/httpapi-codegen": "2.0.10",
54
+ "@opencode/protocol": "2.0.10",
55
55
  "@tsconfig/bun": "1.0.9",
56
56
  "@types/bun": "1.4.0",
57
57
  "@typescript/native-preview": "7.0.0-dev.20251207.1"