@opencode/client 0.0.0-dev-20937 → 0.0.0-dev-20942
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/{rpc-runtime-e8st9rzh.js → rpc-runtime-ecs5ftka.js} +3 -3
- package/dist/chunks/{rpc-runtime-8vkebhdp.js → rpc-runtime-frbwqjmf.js} +3 -3
- package/dist/chunks/{rpc-runtime-0k3ypcm8.js → rpc-runtime-tbdkg9k5.js} +3 -3
- package/dist/chunks/{rpc-runtime-tmnebgmp.js → rpc-runtime-xrgnamvt.js} +6 -6
- package/dist/effect/client.js +4 -4
- package/dist/effect/index.js +2 -2
- package/dist/effect/service.js +2 -2
- package/dist/promise/client.js +5 -5
- package/dist/promise/generated/client.js +3 -3
- package/dist/promise/generated/index.js +6 -6
- package/dist/promise/index.js +7 -7
- package/dist/promise/service.js +2 -2
- package/dist/pty-handoff.js +1 -1
- package/dist/service-probe.js +2 -2
- package/dist/shared-events.js +3 -3
- package/dist/solid/data.js +5 -5
- package/dist/solid/index.js +3 -3
- package/package.json +4 -4
- /package/dist/chunks/{rpc-runtime-2ny4vxct.js → rpc-runtime-8ye1ye6f.js} +0 -0
- /package/dist/chunks/{rpc-runtime-21vc95fb.js → rpc-runtime-ff1x6dqe.js} +0 -0
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
// src/promise/generated/client.ts
|
|
9
9
|
var exports_client4 = {};
|
|
10
10
|
__export(exports_client4, {
|
|
11
|
-
make: () =>
|
|
11
|
+
make: () => make6
|
|
12
12
|
});
|
|
13
13
|
var maxSseEventBytes = 16 * 1024 * 1024;
|
|
14
|
-
function
|
|
14
|
+
function make6(options) {
|
|
15
15
|
const fetch = options.fetch ?? globalThis.fetch;
|
|
16
16
|
const prepare = (descriptor, requestOptions) => {
|
|
17
17
|
const baseUrl = new URL(options.baseUrl);
|
|
@@ -1463,4 +1463,4 @@ function isContentType(response, expected) {
|
|
|
1463
1463
|
return response.headers.get("content-type")?.split(";", 1)[0]?.trim().toLowerCase() === expected;
|
|
1464
1464
|
}
|
|
1465
1465
|
|
|
1466
|
-
export {
|
|
1466
|
+
export { make6, exports_client4 };
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
var exports_shared_events = {};
|
|
7
7
|
__export(exports_shared_events, {
|
|
8
8
|
SharedEvents: () => exports_shared_events,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make7
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function make7(connect) {
|
|
12
12
|
let current;
|
|
13
13
|
const capacity = 4096;
|
|
14
14
|
function stop(connection) {
|
|
@@ -142,4 +142,4 @@ function make6(connect) {
|
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make7, exports_shared_events };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./rpc-runtime-
|
|
2
|
+
make7
|
|
3
|
+
} from "./rpc-runtime-frbwqjmf.js";
|
|
4
4
|
import {
|
|
5
5
|
ClientError2
|
|
6
6
|
} from "./rpc-runtime-y2etg5bs.js";
|
|
@@ -40,7 +40,7 @@ var make2 = Effect.fn("OpenCode.make")(function* (options) {
|
|
|
40
40
|
this.cause = cause;
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
const shared =
|
|
43
|
+
const shared = make7((signal) => Stream.toAsyncIterableWith(native.pipe(Stream.interruptWhen(aborted2(signal)), Stream.catchCause((cause) => Stream.fail(new EventFailure(cause)))), context));
|
|
44
44
|
const subscribe = () => Stream.fromAsyncIterable(shared.subscribe(), (error) => error).pipe(Stream.catch((error) => Stream.failCause(error instanceof EventFailure ? error.cause : Cause.fail(new ClientError2({ cause: error })))));
|
|
45
45
|
return {
|
|
46
46
|
...raw,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
make6
|
|
3
|
-
} from "./rpc-runtime-8vkebhdp.js";
|
|
4
1
|
import {
|
|
5
2
|
make7
|
|
6
|
-
} from "./rpc-runtime-
|
|
3
|
+
} from "./rpc-runtime-frbwqjmf.js";
|
|
4
|
+
import {
|
|
5
|
+
make6
|
|
6
|
+
} from "./rpc-runtime-ecs5ftka.js";
|
|
7
7
|
import {
|
|
8
8
|
makeRpc2
|
|
9
9
|
} from "./rpc-runtime-1y4a697q.js";
|
|
@@ -18,8 +18,8 @@ __export(exports_client3, {
|
|
|
18
18
|
make: () => make5
|
|
19
19
|
});
|
|
20
20
|
function make5(options) {
|
|
21
|
-
const raw =
|
|
22
|
-
const events =
|
|
21
|
+
const raw = make6(options);
|
|
22
|
+
const events = make7((signal, onActivity) => raw.event.subscribe({ signal, onActivity }));
|
|
23
23
|
return {
|
|
24
24
|
...raw,
|
|
25
25
|
rpc: Object.assign(makeRpc2(raw, events), raw.rpc),
|
package/dist/effect/client.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2,
|
|
3
3
|
exports_client
|
|
4
|
-
} from "../chunks/rpc-runtime-
|
|
5
|
-
import"../chunks/rpc-runtime-65kht65h.js";
|
|
4
|
+
} from "../chunks/rpc-runtime-tbdkg9k5.js";
|
|
6
5
|
import"../chunks/rpc-runtime-6mptkzbc.js";
|
|
6
|
+
import"../chunks/rpc-runtime-65kht65h.js";
|
|
7
7
|
import"../chunks/rpc-runtime-0vrbw414.js";
|
|
8
8
|
import"../chunks/rpc-runtime-y2etg5bs.js";
|
|
9
|
-
import"../chunks/rpc-runtime-8vkebhdp.js";
|
|
10
|
-
import"../chunks/rpc-runtime-t1xa31vm.js";
|
|
11
9
|
import"../chunks/rpc-runtime-vmytr4q8.js";
|
|
10
|
+
import"../chunks/rpc-runtime-t1xa31vm.js";
|
|
11
|
+
import"../chunks/rpc-runtime-frbwqjmf.js";
|
|
12
12
|
export {
|
|
13
13
|
exports_client as OpenCode,
|
|
14
14
|
make2 as make
|
package/dist/effect/index.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import"../chunks/rpc-runtime-vmytr4q8.js";
|
|
5
5
|
import"../chunks/rpc-runtime-0vrbw414.js";
|
|
6
6
|
import"../chunks/rpc-runtime-6mptkzbc.js";
|
|
7
|
-
import"../chunks/rpc-runtime-
|
|
7
|
+
import"../chunks/rpc-runtime-frbwqjmf.js";
|
|
8
8
|
import"../chunks/rpc-runtime-t1xa31vm.js";
|
|
9
9
|
import"../chunks/rpc-runtime-65kht65h.js";
|
|
10
10
|
import {
|
|
11
11
|
exports_client
|
|
12
|
-
} from "../chunks/rpc-runtime-
|
|
12
|
+
} from "../chunks/rpc-runtime-tbdkg9k5.js";
|
|
13
13
|
|
|
14
14
|
// src/effect/index.ts
|
|
15
15
|
import { Agent } from "@opencode/schema/agent";
|
package/dist/effect/service.js
CHANGED
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/rpc-runtime-
|
|
17
|
+
} from "../chunks/rpc-runtime-ff1x6dqe.js";
|
|
18
18
|
import {
|
|
19
19
|
decide2,
|
|
20
20
|
fallback2,
|
|
21
21
|
same2,
|
|
22
22
|
probeResult2,
|
|
23
23
|
headers2
|
|
24
|
-
} from "../chunks/rpc-runtime-
|
|
24
|
+
} from "../chunks/rpc-runtime-8ye1ye6f.js";
|
|
25
25
|
import"../chunks/rpc-runtime-qav6mfdz.js";
|
|
26
26
|
|
|
27
27
|
// src/effect/service.ts
|
package/dist/promise/client.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make5,
|
|
3
3
|
exports_client3
|
|
4
|
-
} from "../chunks/rpc-runtime-
|
|
5
|
-
import"../chunks/rpc-runtime-8vkebhdp.js";
|
|
6
|
-
import"../chunks/rpc-runtime-1y4a697q.js";
|
|
4
|
+
} from "../chunks/rpc-runtime-xrgnamvt.js";
|
|
7
5
|
import"../chunks/rpc-runtime-vyas3vgt.js";
|
|
8
|
-
import"../chunks/rpc-runtime-
|
|
9
|
-
import"../chunks/rpc-runtime-
|
|
6
|
+
import"../chunks/rpc-runtime-1y4a697q.js";
|
|
7
|
+
import"../chunks/rpc-runtime-ecs5ftka.js";
|
|
10
8
|
import"../chunks/rpc-runtime-nwcpakzx.js";
|
|
9
|
+
import"../chunks/rpc-runtime-vt9jbch8.js";
|
|
10
|
+
import"../chunks/rpc-runtime-frbwqjmf.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_client3 as OpenCode,
|
|
13
13
|
make5 as make
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import"../../chunks/rpc-runtime-vyas3vgt.js";
|
|
2
|
+
import {
|
|
3
|
+
exports_client4
|
|
4
|
+
} from "../../chunks/rpc-runtime-ecs5ftka.js";
|
|
5
|
+
import {
|
|
6
|
+
ClientError3
|
|
7
|
+
} from "../../chunks/rpc-runtime-nwcpakzx.js";
|
|
2
8
|
import {
|
|
3
9
|
isInvalidRequestError2,
|
|
4
10
|
isUnauthorizedError2,
|
|
@@ -34,12 +40,6 @@ import {
|
|
|
34
40
|
isWorktreeError2,
|
|
35
41
|
isVcsInitNotSupportedError2
|
|
36
42
|
} from "../../chunks/rpc-runtime-vt9jbch8.js";
|
|
37
|
-
import {
|
|
38
|
-
exports_client4
|
|
39
|
-
} from "../../chunks/rpc-runtime-e8st9rzh.js";
|
|
40
|
-
import {
|
|
41
|
-
ClientError3
|
|
42
|
-
} from "../../chunks/rpc-runtime-nwcpakzx.js";
|
|
43
43
|
export {
|
|
44
44
|
ClientError3 as ClientError,
|
|
45
45
|
exports_client4 as OpenCode,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import"../chunks/rpc-runtime-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client3
|
|
4
|
-
} from "../chunks/rpc-runtime-
|
|
5
|
-
import"../chunks/rpc-runtime-8vkebhdp.js";
|
|
6
|
-
import"../chunks/rpc-runtime-1y4a697q.js";
|
|
4
|
+
} from "../chunks/rpc-runtime-xrgnamvt.js";
|
|
7
5
|
import"../chunks/rpc-runtime-vyas3vgt.js";
|
|
6
|
+
import"../chunks/rpc-runtime-1y4a697q.js";
|
|
7
|
+
import"../chunks/rpc-runtime-ecs5ftka.js";
|
|
8
|
+
import {
|
|
9
|
+
ClientError3
|
|
10
|
+
} from "../chunks/rpc-runtime-nwcpakzx.js";
|
|
8
11
|
import {
|
|
9
12
|
isInvalidRequestError2,
|
|
10
13
|
isUnauthorizedError2,
|
|
@@ -40,10 +43,7 @@ import {
|
|
|
40
43
|
isWorktreeError2,
|
|
41
44
|
isVcsInitNotSupportedError2
|
|
42
45
|
} from "../chunks/rpc-runtime-vt9jbch8.js";
|
|
43
|
-
import"../chunks/rpc-runtime-
|
|
44
|
-
import {
|
|
45
|
-
ClientError3
|
|
46
|
-
} from "../chunks/rpc-runtime-nwcpakzx.js";
|
|
46
|
+
import"../chunks/rpc-runtime-frbwqjmf.js";
|
|
47
47
|
export {
|
|
48
48
|
ClientError3 as ClientError,
|
|
49
49
|
exports_client3 as OpenCode,
|
package/dist/promise/service.js
CHANGED
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/rpc-runtime-
|
|
17
|
+
} from "../chunks/rpc-runtime-ff1x6dqe.js";
|
|
18
18
|
import {
|
|
19
19
|
decide2,
|
|
20
20
|
fallback2,
|
|
21
21
|
same2,
|
|
22
22
|
probeResult2,
|
|
23
23
|
headers2
|
|
24
|
-
} from "../chunks/rpc-runtime-
|
|
24
|
+
} from "../chunks/rpc-runtime-8ye1ye6f.js";
|
|
25
25
|
import"../chunks/rpc-runtime-qav6mfdz.js";
|
|
26
26
|
|
|
27
27
|
// src/promise/service.ts
|
package/dist/pty-handoff.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/rpc-runtime-
|
|
8
|
-
import"./chunks/rpc-runtime-sxt88q69.js";
|
|
7
|
+
} from "./chunks/rpc-runtime-8ye1ye6f.js";
|
|
9
8
|
import"./chunks/rpc-runtime-xgnj2w4v.js";
|
|
9
|
+
import"./chunks/rpc-runtime-sxt88q69.js";
|
|
10
10
|
export {
|
|
11
11
|
decide2 as decide,
|
|
12
12
|
fallback2 as fallback,
|
package/dist/shared-events.js
CHANGED
package/dist/solid/data.js
CHANGED
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
createData2
|
|
5
5
|
} from "../chunks/rpc-runtime-m77rqa4a.js";
|
|
6
6
|
import"../chunks/rpc-runtime-m2eywc8w.js";
|
|
7
|
-
import"../chunks/rpc-runtime-
|
|
8
|
-
import"../chunks/rpc-runtime-8vkebhdp.js";
|
|
9
|
-
import"../chunks/rpc-runtime-1y4a697q.js";
|
|
7
|
+
import"../chunks/rpc-runtime-xrgnamvt.js";
|
|
10
8
|
import"../chunks/rpc-runtime-vyas3vgt.js";
|
|
11
|
-
import"../chunks/rpc-runtime-
|
|
12
|
-
import"../chunks/rpc-runtime-
|
|
9
|
+
import"../chunks/rpc-runtime-1y4a697q.js";
|
|
10
|
+
import"../chunks/rpc-runtime-ecs5ftka.js";
|
|
13
11
|
import"../chunks/rpc-runtime-nwcpakzx.js";
|
|
12
|
+
import"../chunks/rpc-runtime-vt9jbch8.js";
|
|
13
|
+
import"../chunks/rpc-runtime-frbwqjmf.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
|
16
16
|
locationKey2 as locationKey,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import"../chunks/rpc-runtime-nwcpakzx.js";
|
|
2
|
-
import"../chunks/rpc-runtime-
|
|
2
|
+
import"../chunks/rpc-runtime-ecs5ftka.js";
|
|
3
3
|
import"../chunks/rpc-runtime-vt9jbch8.js";
|
|
4
4
|
import"../chunks/rpc-runtime-vyas3vgt.js";
|
|
5
|
-
import"../chunks/rpc-runtime-
|
|
5
|
+
import"../chunks/rpc-runtime-frbwqjmf.js";
|
|
6
6
|
import"../chunks/rpc-runtime-1y4a697q.js";
|
|
7
|
-
import"../chunks/rpc-runtime-
|
|
7
|
+
import"../chunks/rpc-runtime-xrgnamvt.js";
|
|
8
8
|
import"../chunks/rpc-runtime-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
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": "0.0.0-dev-
|
|
4
|
+
"version": "0.0.0-dev-20942",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"typecheck": "tsgo --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@opencode/schema": "0.0.0-dev-
|
|
61
|
-
"@opencode/protocol": "0.0.0-dev-
|
|
60
|
+
"@opencode/schema": "0.0.0-dev-20942",
|
|
61
|
+
"@opencode/protocol": "0.0.0-dev-20942"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"effect": "4.0.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@effect/platform-node": "4.0.1",
|
|
77
|
-
"@opencode/httpapi-codegen": "0.0.0-dev-
|
|
77
|
+
"@opencode/httpapi-codegen": "0.0.0-dev-20942",
|
|
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",
|
|
File without changes
|
|
File without changes
|