@opencode/client 2.1.3 → 2.1.4
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/{service-probe-9j12j8xw.js → contract-15p82y03.js} +5 -5
- package/dist/chunks/{service-probe-61wt4y9h.js → contract-1x65x4hv.js} +15 -20
- package/dist/chunks/{service-probe-8ye1ye6f.js → contract-2ny4vxct.js} +2 -2
- package/dist/chunks/{service-probe-8bbb028w.js → contract-8bbb028w.js} +1 -1
- package/dist/chunks/{service-probe-v1n69e13.js → contract-9kmsh4jj.js} +8 -2
- package/dist/chunks/{service-probe-ezt8t3fk.js → contract-c46qzyff.js} +2 -2
- package/dist/chunks/{service-probe-xwk4fryp.js → contract-hg9t2gnm.js} +9 -9
- package/dist/chunks/{service-probe-ryy6kscr.js → contract-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-probe-g22sa7qz.js → contract-s2hya144.js} +21 -2
- package/dist/chunks/{service-probe-6vp15eh6.js → contract-skhp7hxc.js} +1 -1
- package/dist/chunks/{service-probe-9p0yrv34.js → contract-vwtmm97t.js} +4 -4
- package/dist/chunks/{service-probe-5r97ebd4.js → contract-w10x3kfx.js} +14 -7
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +32 -1
- package/dist/effect/client.d.ts +789 -785
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- package/dist/effect/generated/client.d.ts +489 -485
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +4 -4
- package/dist/effect/index.js +8 -8
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.d.ts +1 -1
- package/dist/effect/service.js +11 -11
- package/dist/mcp.d.ts +44 -0
- package/dist/mcp.js +110 -0
- package/dist/promise/client.d.ts +4 -0
- package/dist/promise/client.js +7 -7
- package/dist/promise/generated/client-error.js +1 -1
- package/dist/promise/generated/client.d.ts +5 -1
- package/dist/promise/generated/client.js +2 -2
- package/dist/promise/generated/index.js +5 -5
- package/dist/promise/generated/types.d.ts +47 -9
- package/dist/promise/generated/types.js +2 -2
- package/dist/promise/index.js +9 -9
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +11 -11
- package/dist/pty-handoff.js +4 -1
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-probe.js +3 -3
- package/dist/service-timing.js +1 -1
- package/dist/service-version.js +1 -1
- package/dist/service.js +1 -1
- package/dist/shared-events.js +1 -1
- package/dist/solid/connection.js +1 -1
- package/dist/solid/data.js +9 -9
- package/dist/solid/index.js +12 -12
- package/dist/solid/pty.js +1 -1
- package/dist/solid/usage.js +1 -1
- package/package.json +12 -6
- /package/dist/chunks/{service-probe-6mptkzbc.js → contract-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-probe-8s2anffy.js → contract-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-probe-9rqn6x4v.js → contract-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-probe-gne7h7mq.js → contract-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-probe-m2eywc8w.js → contract-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-probe-nwcpakzx.js → contract-nwcpakzx.js} +0 -0
- /package/dist/chunks/{service-probe-qav6mfdz.js → contract-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-probe-sxt88q69.js → contract-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-probe-ve4aws36.js → contract-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-probe-vmytr4q8.js → contract-vmytr4q8.js} +0 -0
- /package/dist/chunks/{service-probe-vyas3vgt.js → contract-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-probe-xgnj2w4v.js → contract-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-probe-y2etg5bs.js → contract-y2etg5bs.js} +0 -0
- /package/dist/chunks/{service-probe-ydhz1zrh.js → contract-ydhz1zrh.js} +0 -0
package/dist/service-probe.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
same2,
|
|
5
5
|
probeResult2,
|
|
6
6
|
headers2
|
|
7
|
-
} from "./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
7
|
+
} from "./chunks/contract-2ny4vxct.js";
|
|
8
|
+
import"./chunks/contract-sxt88q69.js";
|
|
9
|
+
import"./chunks/contract-xgnj2w4v.js";
|
|
10
10
|
export {
|
|
11
11
|
decide2 as decide,
|
|
12
12
|
fallback2 as fallback,
|
package/dist/service-timing.js
CHANGED
package/dist/service-version.js
CHANGED
package/dist/service.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunks/
|
|
1
|
+
import"./chunks/contract-qav6mfdz.js";
|
package/dist/shared-events.js
CHANGED
package/dist/solid/connection.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
defaultIdleTimeout2,
|
|
3
3
|
foregroundIdleThreshold2,
|
|
4
4
|
createClientConnection2
|
|
5
|
-
} from "../chunks/
|
|
5
|
+
} from "../chunks/contract-ydhz1zrh.js";
|
|
6
6
|
export {
|
|
7
7
|
createClientConnection2 as createClientConnection,
|
|
8
8
|
defaultIdleTimeout2 as defaultIdleTimeout,
|
package/dist/solid/data.js
CHANGED
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
settleMs2,
|
|
3
3
|
locationKey2,
|
|
4
4
|
createData2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/
|
|
12
|
-
import"../chunks/
|
|
13
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/contract-1x65x4hv.js";
|
|
6
|
+
import"../chunks/contract-m2eywc8w.js";
|
|
7
|
+
import"../chunks/contract-vwtmm97t.js";
|
|
8
|
+
import"../chunks/contract-vyas3vgt.js";
|
|
9
|
+
import"../chunks/contract-s2hya144.js";
|
|
10
|
+
import"../chunks/contract-nwcpakzx.js";
|
|
11
|
+
import"../chunks/contract-skhp7hxc.js";
|
|
12
|
+
import"../chunks/contract-c46qzyff.js";
|
|
13
|
+
import"../chunks/contract-8bbb028w.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
|
16
16
|
locationKey2 as locationKey,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import"../chunks/
|
|
2
|
-
import"../chunks/
|
|
3
|
-
import"../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/contract-nwcpakzx.js";
|
|
2
|
+
import"../chunks/contract-s2hya144.js";
|
|
3
|
+
import"../chunks/contract-c46qzyff.js";
|
|
4
|
+
import"../chunks/contract-vyas3vgt.js";
|
|
5
|
+
import"../chunks/contract-8bbb028w.js";
|
|
6
|
+
import"../chunks/contract-skhp7hxc.js";
|
|
7
|
+
import"../chunks/contract-vwtmm97t.js";
|
|
8
|
+
import"../chunks/contract-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/
|
|
13
|
+
} from "../chunks/contract-1x65x4hv.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/contract-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/
|
|
22
|
+
} from "../chunks/contract-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
lastAssistantWithUsage2
|
|
25
|
-
} from "../chunks/
|
|
25
|
+
} from "../chunks/contract-8s2anffy.js";
|
|
26
26
|
export {
|
|
27
27
|
createClientConnection2 as createClientConnection,
|
|
28
28
|
createData2 as createData,
|
package/dist/solid/pty.js
CHANGED
package/dist/solid/usage.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode/client",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -47,6 +47,10 @@
|
|
|
47
47
|
"./effect/service": {
|
|
48
48
|
"import": "./dist/effect/service.js",
|
|
49
49
|
"types": "./dist/effect/service.d.ts"
|
|
50
|
+
},
|
|
51
|
+
"./mcp": {
|
|
52
|
+
"import": "./dist/mcp.js",
|
|
53
|
+
"types": "./dist/mcp.d.ts"
|
|
50
54
|
}
|
|
51
55
|
},
|
|
52
56
|
"scripts": {
|
|
@@ -54,11 +58,12 @@
|
|
|
54
58
|
"generate": "bun run script/build.ts",
|
|
55
59
|
"check:generated": "bun run generate && git diff --exit-code -- src/promise/generated src/effect/generated src/effect/api",
|
|
56
60
|
"test": "bun test --timeout 5000",
|
|
57
|
-
"typecheck": "
|
|
61
|
+
"typecheck": "bun check --no-script",
|
|
62
|
+
"typecheck:tsc": "tsc --noEmit"
|
|
58
63
|
},
|
|
59
64
|
"dependencies": {
|
|
60
|
-
"@opencode/schema": "2.1.
|
|
61
|
-
"@opencode/protocol": "2.1.
|
|
65
|
+
"@opencode/schema": "2.1.4",
|
|
66
|
+
"@opencode/protocol": "2.1.4"
|
|
62
67
|
},
|
|
63
68
|
"peerDependencies": {
|
|
64
69
|
"effect": "4.0.1",
|
|
@@ -74,10 +79,11 @@
|
|
|
74
79
|
},
|
|
75
80
|
"devDependencies": {
|
|
76
81
|
"@effect/platform-node": "4.0.1",
|
|
77
|
-
"@
|
|
82
|
+
"@modelcontextprotocol/client": "2.3.1",
|
|
83
|
+
"@opencode/httpapi-codegen": "2.1.4",
|
|
78
84
|
"@tsconfig/bun": "1.0.9",
|
|
79
85
|
"@types/bun": "1.4.3",
|
|
80
|
-
"@typescript/native": "npm:typescript@7.0
|
|
86
|
+
"@typescript/native": "npm:typescript@7.1.0-beta",
|
|
81
87
|
"effect": "4.0.1",
|
|
82
88
|
"solid-js": "1.9.15"
|
|
83
89
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|