@opencode/sdk 2.0.16 → 2.0.18
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/chunks/{index-39225h8g.js → opencode-39225h8g.js} +1 -1
- package/dist/chunks/{index-2djeejkr.js → opencode-b54z5jwe.js} +4 -4
- package/dist/chunks/{index-hdqq71na.js → opencode-hdqq71na.js} +1 -1
- package/dist/chunks/{index-2pgb2jzq.js → opencode-j34yx374.js} +2 -2
- package/dist/chunks/{index-efebm9dr.js → opencode-kp70gr0x.js} +2 -2
- package/dist/chunks/{index-n1hprnh9.js → opencode-n1hprnh9.js} +1 -1
- package/dist/chunks/{index-pqb0kjhx.js → opencode-pqb0kjhx.js} +1 -1
- package/dist/chunks/{index-wyq33nd6.js → opencode-wyq33nd6.js} +1 -1
- package/dist/chunks/{index-p01gbyy9.js → opencode-xcejgzf0.js} +2 -2
- package/dist/contracts.js +1 -1
- package/dist/effect/index.js +7 -7
- package/dist/effect/opencode.js +5 -5
- package/dist/effect/tool.js +1 -1
- package/dist/effect/workerd.js +7 -7
- package/dist/index.js +8 -8
- package/dist/internal/fetch.js +1 -1
- package/dist/internal/host.d.ts +1 -1
- package/dist/internal/host.js +4 -4
- package/dist/internal/instances.js +1 -1
- package/dist/internal/workerd.js +1 -1
- package/dist/logging.js +1 -1
- package/dist/opencode.js +6 -6
- package/dist/promise.js +5 -5
- package/dist/tool.js +1 -1
- package/dist/workerd.js +7 -7
- package/package.json +10 -10
- /package/dist/chunks/{index-9rqn6x4v.js → opencode-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{index-j1jhtwv7.js → opencode-j1jhtwv7.js} +0 -0
- /package/dist/chunks/{index-ya9awdj2.js → opencode-ya9awdj2.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layer4,
|
|
3
3
|
context2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./opencode-ya9awdj2.js";
|
|
5
5
|
import {
|
|
6
6
|
make3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./opencode-wyq33nd6.js";
|
|
8
8
|
import {
|
|
9
9
|
provide2,
|
|
10
10
|
node2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./opencode-pqb0kjhx.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./opencode-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/internal/host.ts
|
|
17
17
|
var exports_host = {};
|
package/dist/contracts.js
CHANGED
package/dist/effect/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import"../chunks/
|
|
2
|
-
import"../chunks/
|
|
3
|
-
import"../chunks/
|
|
4
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/opencode-ya9awdj2.js";
|
|
2
|
+
import"../chunks/opencode-wyq33nd6.js";
|
|
3
|
+
import"../chunks/opencode-pqb0kjhx.js";
|
|
4
|
+
import"../chunks/opencode-b54z5jwe.js";
|
|
5
5
|
import {
|
|
6
6
|
exports_opencode
|
|
7
|
-
} from "../chunks/
|
|
7
|
+
} from "../chunks/opencode-xcejgzf0.js";
|
|
8
8
|
import {
|
|
9
9
|
exports_tool
|
|
10
|
-
} from "../chunks/
|
|
10
|
+
} from "../chunks/opencode-n1hprnh9.js";
|
|
11
11
|
import {
|
|
12
12
|
Agent2,
|
|
13
13
|
Command2,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
SessionMessage2,
|
|
37
37
|
Skill2,
|
|
38
38
|
Workspace2
|
|
39
|
-
} from "../chunks/
|
|
39
|
+
} from "../chunks/opencode-j1jhtwv7.js";
|
|
40
40
|
|
|
41
41
|
// src/effect/index.ts
|
|
42
42
|
import { ClientError } from "@opencode/client/effect";
|
package/dist/effect/opencode.js
CHANGED
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
Service2,
|
|
4
4
|
layer2,
|
|
5
5
|
exports_opencode
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
6
|
+
} from "../chunks/opencode-xcejgzf0.js";
|
|
7
|
+
import"../chunks/opencode-b54z5jwe.js";
|
|
8
|
+
import"../chunks/opencode-pqb0kjhx.js";
|
|
9
|
+
import"../chunks/opencode-ya9awdj2.js";
|
|
10
|
+
import"../chunks/opencode-wyq33nd6.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_opencode as OpenCode,
|
|
13
13
|
Service2 as Service,
|
package/dist/effect/tool.js
CHANGED
package/dist/effect/workerd.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2
|
|
3
|
-
} from "../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
3
|
+
} from "../chunks/opencode-39225h8g.js";
|
|
4
|
+
import"../chunks/opencode-ya9awdj2.js";
|
|
5
|
+
import"../chunks/opencode-wyq33nd6.js";
|
|
6
|
+
import"../chunks/opencode-pqb0kjhx.js";
|
|
7
|
+
import"../chunks/opencode-b54z5jwe.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
Service2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/opencode-xcejgzf0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "../chunks/
|
|
14
|
+
} from "../chunks/opencode-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/effect/workerd.ts
|
|
17
17
|
var exports_workerd = {};
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import"./chunks/
|
|
2
|
-
import"./chunks/
|
|
3
|
-
import"./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
1
|
+
import"./chunks/opencode-ya9awdj2.js";
|
|
2
|
+
import"./chunks/opencode-wyq33nd6.js";
|
|
3
|
+
import"./chunks/opencode-pqb0kjhx.js";
|
|
4
|
+
import"./chunks/opencode-b54z5jwe.js";
|
|
5
|
+
import"./chunks/opencode-kp70gr0x.js";
|
|
6
6
|
import {
|
|
7
7
|
exports_opencode2
|
|
8
|
-
} from "./chunks/
|
|
8
|
+
} from "./chunks/opencode-j34yx374.js";
|
|
9
9
|
import {
|
|
10
10
|
exports_tool2
|
|
11
|
-
} from "./chunks/
|
|
11
|
+
} from "./chunks/opencode-hdqq71na.js";
|
|
12
12
|
import {
|
|
13
13
|
Agent2,
|
|
14
14
|
Command2,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
SessionMessage2,
|
|
38
38
|
Skill2,
|
|
39
39
|
Workspace2
|
|
40
|
-
} from "./chunks/
|
|
40
|
+
} from "./chunks/opencode-j1jhtwv7.js";
|
|
41
41
|
|
|
42
42
|
// src/index.ts
|
|
43
43
|
import { ClientError } from "@opencode/client";
|
package/dist/internal/fetch.js
CHANGED
package/dist/internal/host.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface EmbedOptions {
|
|
|
20
20
|
readonly overrides?: LayerNode.Replacements;
|
|
21
21
|
}
|
|
22
22
|
export declare const create: <R = never>(options?: CreateOptions<R> | undefined, embed?: EmbedOptions | undefined) => Effect.Effect<{
|
|
23
|
-
runtime: ManagedRuntime.ManagedRuntime<import("effect/unstable/http/HttpClient").HttpClient | import("@opencode/util/global").Service | import("@opencode/core/database/database").Service | import("@opencode/core/project").Service | import("@opencode/core/bus").Service | import("@opencode/core/persistent-pty/index").Service | import("@opencode/core/credential").Service | import("@opencode/core/wellknown").Service | Workspace.Service | import("@opencode/core/permission/saved").Service | SdkPlugins.Service | import("@opencode/core/plugin/update").Service | import("@opencode/core/job").Service | Session.Service | import("@opencode/core/worktree").Service | import("@opencode/core/instance").Service | import("@opencode/core/location-service-map").Service | SessionRestart.Service | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("@opencode/core/location-activity").Service | import("@opencode/server/pty-environment").Service | HttpRouter.HttpRouter, Error | import("@opencode/core/persistent-pty/index").UnavailableError>;
|
|
23
|
+
runtime: ManagedRuntime.ManagedRuntime<import("effect/unstable/http/HttpClient").HttpClient | import("@opencode/util/global").Service | import("@opencode/core/database/database").Service | import("@opencode/core/project").Service | import("@opencode/core/bus").Service | import("@opencode/core/persistent-pty/index").Service | import("@opencode/core/credential").Service | import("@opencode/core/wellknown").Service | Workspace.Service | import("@opencode/core/permission/saved").Service | SdkPlugins.Service | import("@opencode/core/plugin/update").Service | import("@opencode/core/job").Service | Session.Service | import("@opencode/core/worktree").Service | import("@opencode/core/instance").Service | import("@opencode/core/location-service-map").Service | SessionRestart.Service | import("@opencode/core/pty/ticket").Service | import("@opencode/core/session/transfer").Service | import("@opencode/core/location-activity").Service | import("@opencode/server/pairing").Service | import("@opencode/server/pty-environment").Service | HttpRouter.HttpRouter, Error | import("@opencode/core/persistent-pty/index").UnavailableError>;
|
|
24
24
|
fetch: ((input: RequestInfo | URL, init?: RequestInit) => Promise<Response>) & {
|
|
25
25
|
preconnect: () => undefined;
|
|
26
26
|
};
|
package/dist/internal/host.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create5,
|
|
3
3
|
exports_host
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/opencode-b54z5jwe.js";
|
|
5
|
+
import"../chunks/opencode-pqb0kjhx.js";
|
|
6
|
+
import"../chunks/opencode-ya9awdj2.js";
|
|
7
|
+
import"../chunks/opencode-wyq33nd6.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_host as EmbeddedHost,
|
|
10
10
|
create5 as create
|
package/dist/internal/workerd.js
CHANGED
package/dist/logging.js
CHANGED
package/dist/opencode.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
8
|
-
import"./chunks/
|
|
3
|
+
} from "./chunks/opencode-j34yx374.js";
|
|
4
|
+
import"./chunks/opencode-kp70gr0x.js";
|
|
5
|
+
import"./chunks/opencode-b54z5jwe.js";
|
|
6
|
+
import"./chunks/opencode-pqb0kjhx.js";
|
|
7
|
+
import"./chunks/opencode-ya9awdj2.js";
|
|
8
|
+
import"./chunks/opencode-wyq33nd6.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/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
8
|
-
import"./chunks/
|
|
4
|
+
} from "./chunks/opencode-kp70gr0x.js";
|
|
5
|
+
import"./chunks/opencode-b54z5jwe.js";
|
|
6
|
+
import"./chunks/opencode-pqb0kjhx.js";
|
|
7
|
+
import"./chunks/opencode-ya9awdj2.js";
|
|
8
|
+
import"./chunks/opencode-wyq33nd6.js";
|
|
9
9
|
export {
|
|
10
10
|
exports_promise as PromiseSdk,
|
|
11
11
|
create4 as create
|
package/dist/tool.js
CHANGED
package/dist/workerd.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2
|
|
3
|
-
} from "./chunks/
|
|
4
|
-
import"./chunks/
|
|
5
|
-
import"./chunks/
|
|
6
|
-
import"./chunks/
|
|
7
|
-
import"./chunks/
|
|
3
|
+
} from "./chunks/opencode-39225h8g.js";
|
|
4
|
+
import"./chunks/opencode-ya9awdj2.js";
|
|
5
|
+
import"./chunks/opencode-wyq33nd6.js";
|
|
6
|
+
import"./chunks/opencode-pqb0kjhx.js";
|
|
7
|
+
import"./chunks/opencode-b54z5jwe.js";
|
|
8
8
|
import {
|
|
9
9
|
create4
|
|
10
|
-
} from "./chunks/
|
|
10
|
+
} from "./chunks/opencode-kp70gr0x.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./chunks/
|
|
13
|
+
} from "./chunks/opencode-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/workerd.ts
|
|
16
16
|
var exports_workerd = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.18",
|
|
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.
|
|
44
|
-
"@opencode/core": "2.0.
|
|
45
|
-
"@opencode/plugin": "2.0.
|
|
46
|
-
"@opencode/schema": "2.0.
|
|
47
|
-
"@opencode/server": "2.0.
|
|
48
|
-
"@opencode/util": "2.0.
|
|
43
|
+
"@opencode/client": "2.0.18",
|
|
44
|
+
"@opencode/core": "2.0.18",
|
|
45
|
+
"@opencode/plugin": "2.0.18",
|
|
46
|
+
"@opencode/schema": "2.0.18",
|
|
47
|
+
"@opencode/server": "2.0.18",
|
|
48
|
+
"@opencode/util": "2.0.18",
|
|
49
49
|
"effect": "4.0.0-rc.112"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@opencode/ai": "2.0.
|
|
53
|
-
"@opencode/httpapi-codegen": "2.0.
|
|
54
|
-
"@opencode/protocol": "2.0.
|
|
52
|
+
"@opencode/ai": "2.0.18",
|
|
53
|
+
"@opencode/httpapi-codegen": "2.0.18",
|
|
54
|
+
"@opencode/protocol": "2.0.18",
|
|
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"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|