@opencode/client 2.1.1 → 2.1.3
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-version-f93mzqah.js → service-probe-5r97ebd4.js} +20 -11
- package/dist/chunks/{service-version-61wt4y9h.js → service-probe-61wt4y9h.js} +1 -1
- package/dist/chunks/{service-version-6vp15eh6.js → service-probe-6vp15eh6.js} +1 -1
- package/dist/chunks/{service-version-frbwqjmf.js → service-probe-8bbb028w.js} +1 -1
- package/dist/chunks/{service-version-2ny4vxct.js → service-probe-8ye1ye6f.js} +2 -2
- package/dist/chunks/{service-version-mnyft54j.js → service-probe-9j12j8xw.js} +5 -5
- package/dist/chunks/service-probe-9p0yrv34.js +30 -0
- package/dist/chunks/{service-version-nv358xrg.js → service-probe-g22sa7qz.js} +35 -20
- package/dist/chunks/{service-version-js54wxgp.js → service-probe-nwcpakzx.js} +2 -2
- package/dist/chunks/{service-version-t1xa31vm.js → service-probe-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-version-yqfhh888.js → service-probe-v1n69e13.js} +1 -1
- package/dist/chunks/{service-version-bah0qqxw.js → service-probe-xwk4fryp.js} +17 -17
- package/dist/chunks/{service-version-7f0py9js.js → service-probe-y2etg5bs.js} +2 -2
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +28 -0
- package/dist/effect/client.d.ts +7 -0
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +8 -1
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +8 -8
- package/dist/effect/index.js +12 -12
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.d.ts +8 -0
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +9 -1
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +10 -10
- package/dist/promise/generated/types.d.ts +30 -0
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +13 -13
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +6 -6
- package/dist/pty-handoff.js +1 -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 +5 -5
- package/dist/chunks/service-version-x61gkv37.js +0 -30
- /package/dist/chunks/{service-version-6mptkzbc.js → service-probe-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-version-8s2anffy.js → service-probe-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-version-9rqn6x4v.js → service-probe-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-version-ezt8t3fk.js → service-probe-ezt8t3fk.js} +0 -0
- /package/dist/chunks/{service-version-gne7h7mq.js → service-probe-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-version-m2eywc8w.js → service-probe-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-version-qav6mfdz.js → service-probe-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-version-sxt88q69.js → service-probe-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-version-ve4aws36.js → service-probe-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-version-vmytr4q8.js → service-probe-vmytr4q8.js} +0 -0
- /package/dist/chunks/{service-version-vyas3vgt.js → service-probe-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-version-xgnj2w4v.js → service-probe-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-version-ydhz1zrh.js → service-probe-ydhz1zrh.js} +0 -0
package/dist/solid/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import"../chunks/service-
|
|
2
|
-
import"../chunks/service-
|
|
3
|
-
import"../chunks/service-
|
|
4
|
-
import"../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
1
|
+
import"../chunks/service-probe-nwcpakzx.js";
|
|
2
|
+
import"../chunks/service-probe-g22sa7qz.js";
|
|
3
|
+
import"../chunks/service-probe-ezt8t3fk.js";
|
|
4
|
+
import"../chunks/service-probe-vyas3vgt.js";
|
|
5
|
+
import"../chunks/service-probe-8bbb028w.js";
|
|
6
|
+
import"../chunks/service-probe-6vp15eh6.js";
|
|
7
|
+
import"../chunks/service-probe-9p0yrv34.js";
|
|
8
|
+
import"../chunks/service-probe-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/service-
|
|
13
|
+
} from "../chunks/service-probe-61wt4y9h.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/service-
|
|
18
|
+
} from "../chunks/service-probe-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/service-
|
|
22
|
+
} from "../chunks/service-probe-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
lastAssistantWithUsage2
|
|
25
|
-
} from "../chunks/service-
|
|
25
|
+
} from "../chunks/service-probe-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.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"typecheck": "tsc --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@opencode/schema": "2.1.
|
|
61
|
-
"@opencode/protocol": "2.1.
|
|
60
|
+
"@opencode/schema": "2.1.3",
|
|
61
|
+
"@opencode/protocol": "2.1.3"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"effect": "4.0.1",
|
|
@@ -74,9 +74,9 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@effect/platform-node": "4.0.1",
|
|
77
|
-
"@opencode/httpapi-codegen": "2.1.
|
|
77
|
+
"@opencode/httpapi-codegen": "2.1.3",
|
|
78
78
|
"@tsconfig/bun": "1.0.9",
|
|
79
|
-
"@types/bun": "1.4.
|
|
79
|
+
"@types/bun": "1.4.3",
|
|
80
80
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
81
81
|
"effect": "4.0.1",
|
|
82
82
|
"solid-js": "1.9.15"
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
make7
|
|
3
|
-
} from "./service-version-frbwqjmf.js";
|
|
4
|
-
import {
|
|
5
|
-
make3
|
|
6
|
-
} from "./service-version-nv358xrg.js";
|
|
7
|
-
import {
|
|
8
|
-
makeRpc2
|
|
9
|
-
} from "./service-version-6vp15eh6.js";
|
|
10
|
-
import {
|
|
11
|
-
__export
|
|
12
|
-
} from "./service-version-9rqn6x4v.js";
|
|
13
|
-
|
|
14
|
-
// src/promise/client.ts
|
|
15
|
-
var exports_client = {};
|
|
16
|
-
__export(exports_client, {
|
|
17
|
-
OpenCode: () => exports_client,
|
|
18
|
-
make: () => make2
|
|
19
|
-
});
|
|
20
|
-
function make2(options) {
|
|
21
|
-
const raw = make3(options);
|
|
22
|
-
const events = make7((signal, onActivity) => raw.event.subscribe({ signal, onActivity }));
|
|
23
|
-
return {
|
|
24
|
-
...raw,
|
|
25
|
-
rpc: Object.assign(makeRpc2(raw, events), raw.rpc),
|
|
26
|
-
event: events
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export { make2, exports_client };
|
|
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
|