@opencode/client 2.0.26 → 2.0.28
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-timing-1y4a697q.js → service-probe-1y4a697q.js} +1 -1
- package/dist/chunks/{service-timing-8ye1ye6f.js → service-probe-2ny4vxct.js} +2 -2
- package/dist/chunks/{service-timing-p7x80kzg.js → service-probe-7x67cf1q.js} +18 -18
- package/dist/chunks/{service-timing-trz7kcxd.js → service-probe-9vdz0zwn.js} +3 -2
- package/dist/chunks/{service-timing-tbh3h57v.js → service-probe-ecs5ftka.js} +27 -20
- package/dist/chunks/{service-timing-frbwqjmf.js → service-probe-frbwqjmf.js} +1 -1
- package/dist/chunks/{service-timing-0rcx1gca.js → service-probe-gx9wnkzr.js} +1 -1
- package/dist/chunks/{service-timing-js54wxgp.js → service-probe-nwcpakzx.js} +2 -2
- package/dist/chunks/{service-timing-546yv4kj.js → service-probe-q4g3afnw.js} +14 -14
- package/dist/chunks/{service-timing-t1xa31vm.js → service-probe-t1xa31vm.js} +1 -1
- package/dist/chunks/service-probe-wjyeq25y.js +30 -0
- package/dist/chunks/{service-timing-7f0py9js.js → service-probe-y2etg5bs.js} +2 -2
- package/dist/chunks/{service-timing-w1w809zr.js → service-probe-z6qdwcsf.js} +5 -5
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +71 -64
- package/dist/effect/client.d.ts +154 -153
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +20 -19
- 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/api.d.ts +1 -0
- package/dist/promise/client.d.ts +3 -3
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +4 -4
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +8 -8
- package/dist/promise/generated/types.d.ts +1720 -1645
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +12 -12
- 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 +11 -11
- package/dist/solid/pty.js +1 -1
- package/package.json +7 -7
- package/dist/chunks/service-timing-e4sc9kq6.js +0 -30
- /package/dist/chunks/{service-timing-6mptkzbc.js → service-probe-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-timing-9rqn6x4v.js → service-probe-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-timing-gne7h7mq.js → service-probe-gne7h7mq.js} +0 -0
- /package/dist/chunks/{service-timing-m2eywc8w.js → service-probe-m2eywc8w.js} +0 -0
- /package/dist/chunks/{service-timing-qav6mfdz.js → service-probe-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-timing-sxt88q69.js → service-probe-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-timing-ve4aws36.js → service-probe-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-timing-vmytr4q8.js → service-probe-vmytr4q8.js} +0 -0
- /package/dist/chunks/{service-timing-vt9jbch8.js → service-probe-vt9jbch8.js} +0 -0
- /package/dist/chunks/{service-timing-vyas3vgt.js → service-probe-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-timing-xgnj2w4v.js → service-probe-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-timing-ydhz1zrh.js → service-probe-ydhz1zrh.js} +0 -0
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
isShellNotFoundError2,
|
|
33
33
|
isWorktreeError2,
|
|
34
34
|
isVcsInitNotSupportedError2
|
|
35
|
-
} from "../../chunks/service-
|
|
35
|
+
} from "../../chunks/service-probe-vt9jbch8.js";
|
|
36
36
|
export {
|
|
37
37
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
38
38
|
isCommandExecutionError2 as isCommandExecutionError,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import"../chunks/service-
|
|
1
|
+
import"../chunks/service-probe-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../chunks/service-
|
|
5
|
-
import"../chunks/service-
|
|
6
|
-
import"../chunks/service-
|
|
3
|
+
exports_client3
|
|
4
|
+
} from "../chunks/service-probe-wjyeq25y.js";
|
|
5
|
+
import"../chunks/service-probe-vyas3vgt.js";
|
|
6
|
+
import"../chunks/service-probe-ecs5ftka.js";
|
|
7
|
+
import"../chunks/service-probe-1y4a697q.js";
|
|
7
8
|
import {
|
|
8
|
-
|
|
9
|
-
} from "../chunks/service-
|
|
10
|
-
import"../chunks/service-timing-1y4a697q.js";
|
|
9
|
+
ClientError3
|
|
10
|
+
} from "../chunks/service-probe-nwcpakzx.js";
|
|
11
11
|
import {
|
|
12
12
|
isInvalidRequestError2,
|
|
13
13
|
isUnauthorizedError2,
|
|
@@ -42,11 +42,11 @@ import {
|
|
|
42
42
|
isShellNotFoundError2,
|
|
43
43
|
isWorktreeError2,
|
|
44
44
|
isVcsInitNotSupportedError2
|
|
45
|
-
} from "../chunks/service-
|
|
46
|
-
import"../chunks/service-
|
|
45
|
+
} from "../chunks/service-probe-vt9jbch8.js";
|
|
46
|
+
import"../chunks/service-probe-frbwqjmf.js";
|
|
47
47
|
export {
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
ClientError3 as ClientError,
|
|
49
|
+
exports_client3 as OpenCode,
|
|
50
50
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
51
51
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
52
52
|
isCommandNotFoundError2 as isCommandNotFoundError,
|
package/dist/promise/rpc.js
CHANGED
package/dist/promise/service.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spawnServiceContender2,
|
|
3
3
|
contenderPool2
|
|
4
|
-
} from "../chunks/service-
|
|
4
|
+
} from "../chunks/service-probe-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/service-
|
|
8
|
+
} from "../chunks/service-probe-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/service-
|
|
11
|
+
} from "../chunks/service-probe-sxt88q69.js";
|
|
12
12
|
import {
|
|
13
13
|
prepare2,
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/service-
|
|
17
|
+
} from "../chunks/service-probe-gx9wnkzr.js";
|
|
18
18
|
import {
|
|
19
19
|
decide2,
|
|
20
20
|
fallback2,
|
|
21
21
|
same2,
|
|
22
22
|
probeResult2,
|
|
23
23
|
headers2
|
|
24
|
-
} from "../chunks/service-
|
|
25
|
-
import"../chunks/service-
|
|
24
|
+
} from "../chunks/service-probe-2ny4vxct.js";
|
|
25
|
+
import"../chunks/service-probe-qav6mfdz.js";
|
|
26
26
|
|
|
27
27
|
// src/promise/service.ts
|
|
28
28
|
import { readFile, rm } from "node:fs/promises";
|
package/dist/pty-handoff.js
CHANGED
package/dist/rpc-runtime.js
CHANGED
package/dist/service-probe.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
same2,
|
|
5
5
|
probeResult2,
|
|
6
6
|
headers2
|
|
7
|
-
} from "./chunks/service-
|
|
8
|
-
import"./chunks/service-
|
|
9
|
-
import"./chunks/service-
|
|
7
|
+
} from "./chunks/service-probe-2ny4vxct.js";
|
|
8
|
+
import"./chunks/service-probe-sxt88q69.js";
|
|
9
|
+
import"./chunks/service-probe-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/service-
|
|
1
|
+
import"./chunks/service-probe-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/service-
|
|
5
|
+
} from "../chunks/service-probe-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/service-
|
|
6
|
-
import"../chunks/service-
|
|
7
|
-
import"../chunks/service-
|
|
8
|
-
import"../chunks/service-
|
|
9
|
-
import"../chunks/service-
|
|
10
|
-
import"../chunks/service-
|
|
11
|
-
import"../chunks/service-
|
|
12
|
-
import"../chunks/service-
|
|
13
|
-
import"../chunks/service-
|
|
5
|
+
} from "../chunks/service-probe-9vdz0zwn.js";
|
|
6
|
+
import"../chunks/service-probe-m2eywc8w.js";
|
|
7
|
+
import"../chunks/service-probe-wjyeq25y.js";
|
|
8
|
+
import"../chunks/service-probe-vyas3vgt.js";
|
|
9
|
+
import"../chunks/service-probe-ecs5ftka.js";
|
|
10
|
+
import"../chunks/service-probe-1y4a697q.js";
|
|
11
|
+
import"../chunks/service-probe-nwcpakzx.js";
|
|
12
|
+
import"../chunks/service-probe-vt9jbch8.js";
|
|
13
|
+
import"../chunks/service-probe-frbwqjmf.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
|
16
16
|
locationKey2 as locationKey,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
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-ecs5ftka.js";
|
|
3
|
+
import"../chunks/service-probe-vt9jbch8.js";
|
|
4
|
+
import"../chunks/service-probe-vyas3vgt.js";
|
|
5
|
+
import"../chunks/service-probe-frbwqjmf.js";
|
|
6
|
+
import"../chunks/service-probe-1y4a697q.js";
|
|
7
|
+
import"../chunks/service-probe-wjyeq25y.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-9vdz0zwn.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
|
export {
|
|
24
24
|
createClientConnection2 as createClientConnection,
|
|
25
25
|
createData2 as createData,
|
package/dist/solid/pty.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.0.
|
|
4
|
+
"version": "2.0.28",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"typecheck": "tsgo --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@opencode/schema": "2.0.
|
|
61
|
-
"@opencode/protocol": "2.0.
|
|
60
|
+
"@opencode/schema": "2.0.28",
|
|
61
|
+
"@opencode/protocol": "2.0.28"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"effect": "4.0.
|
|
64
|
+
"effect": "4.0.1",
|
|
65
65
|
"solid-js": ">=1.9.0"
|
|
66
66
|
},
|
|
67
67
|
"peerDependenciesMeta": {
|
|
@@ -73,12 +73,12 @@
|
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@effect/platform-node": "4.0.
|
|
77
|
-
"@opencode/httpapi-codegen": "2.0.
|
|
76
|
+
"@effect/platform-node": "4.0.1",
|
|
77
|
+
"@opencode/httpapi-codegen": "2.0.28",
|
|
78
78
|
"@tsconfig/bun": "1.0.9",
|
|
79
79
|
"@types/bun": "1.4.0",
|
|
80
80
|
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|
|
81
|
-
"effect": "4.0.
|
|
81
|
+
"effect": "4.0.1",
|
|
82
82
|
"solid-js": "1.9.15"
|
|
83
83
|
}
|
|
84
84
|
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
make7
|
|
3
|
-
} from "./service-timing-frbwqjmf.js";
|
|
4
|
-
import {
|
|
5
|
-
make3
|
|
6
|
-
} from "./service-timing-tbh3h57v.js";
|
|
7
|
-
import {
|
|
8
|
-
makeRpc2
|
|
9
|
-
} from "./service-timing-1y4a697q.js";
|
|
10
|
-
import {
|
|
11
|
-
__export
|
|
12
|
-
} from "./service-timing-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
|