@opencode/client 0.0.0-dev-20800 → 0.0.0-dev-20801
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/{pty-handoff-1y4a697q.js → contract-1y4a697q.js} +1 -1
- package/dist/chunks/{pty-handoff-8ye1ye6f.js → contract-2ny4vxct.js} +2 -2
- package/dist/chunks/contract-3xe3aqqq.js +30 -0
- package/dist/chunks/{pty-handoff-y2etg5bs.js → contract-7f0py9js.js} +2 -2
- package/dist/chunks/{pty-handoff-frbwqjmf.js → contract-frbwqjmf.js} +1 -1
- package/dist/chunks/{pty-handoff-5eexdrr4.js → contract-hzt178db.js} +1 -1
- package/dist/chunks/{pty-handoff-nwcpakzx.js → contract-js54wxgp.js} +2 -2
- package/dist/chunks/{pty-handoff-z6qdwcsf.js → contract-mnyft54j.js} +5 -5
- package/dist/chunks/{pty-handoff-qhs09f6z.js → contract-nt7y9tb6.js} +10 -10
- package/dist/chunks/{pty-handoff-qm3ebzrs.js → contract-steb0hnc.js} +17 -17
- package/dist/chunks/{pty-handoff-t1xa31vm.js → contract-t1xa31vm.js} +1 -1
- package/dist/chunks/{pty-handoff-9h52wrcy.js → contract-tbh3h57v.js} +19 -19
- package/dist/chunks/{pty-handoff-yze5j8cn.js → contract-yze5j8cn.js} +1 -1
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +67 -63
- package/dist/effect/client.js +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- 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 +2 -2
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +2 -2
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +10 -10
- package/dist/promise/generated/types.d.ts +1647 -1621
- 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 +11 -11
- package/dist/solid/pty.js +1 -1
- package/package.json +7 -7
- package/dist/chunks/pty-handoff-4g868gd9.js +0 -30
- /package/dist/chunks/{pty-handoff-6mptkzbc.js → contract-6mptkzbc.js} +0 -0
- /package/dist/chunks/{pty-handoff-9rqn6x4v.js → contract-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-handoff-gne7h7mq.js → contract-gne7h7mq.js} +0 -0
- /package/dist/chunks/{pty-handoff-m2eywc8w.js → contract-m2eywc8w.js} +0 -0
- /package/dist/chunks/{pty-handoff-qav6mfdz.js → contract-qav6mfdz.js} +0 -0
- /package/dist/chunks/{pty-handoff-sxt88q69.js → contract-sxt88q69.js} +0 -0
- /package/dist/chunks/{pty-handoff-ve4aws36.js → contract-ve4aws36.js} +0 -0
- /package/dist/chunks/{pty-handoff-vmytr4q8.js → contract-vmytr4q8.js} +0 -0
- /package/dist/chunks/{pty-handoff-vt9jbch8.js → contract-vt9jbch8.js} +0 -0
- /package/dist/chunks/{pty-handoff-vyas3vgt.js → contract-vyas3vgt.js} +0 -0
- /package/dist/chunks/{pty-handoff-xgnj2w4v.js → contract-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{pty-handoff-ydhz1zrh.js → contract-ydhz1zrh.js} +0 -0
package/dist/effect/service.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spawnServiceContender2,
|
|
3
3
|
contenderPool2
|
|
4
|
-
} from "../chunks/
|
|
4
|
+
} from "../chunks/contract-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/contract-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
11
|
+
} from "../chunks/contract-sxt88q69.js";
|
|
12
12
|
import {
|
|
13
13
|
prepare2,
|
|
14
14
|
environment2,
|
|
15
15
|
complete2,
|
|
16
16
|
clear2
|
|
17
|
-
} from "../chunks/
|
|
17
|
+
} from "../chunks/contract-hzt178db.js";
|
|
18
18
|
import {
|
|
19
19
|
decide2,
|
|
20
20
|
fallback2,
|
|
21
21
|
same2,
|
|
22
22
|
probeResult2,
|
|
23
23
|
headers2
|
|
24
|
-
} from "../chunks/
|
|
25
|
-
import"../chunks/
|
|
24
|
+
} from "../chunks/contract-2ny4vxct.js";
|
|
25
|
+
import"../chunks/contract-qav6mfdz.js";
|
|
26
26
|
|
|
27
27
|
// src/effect/service.ts
|
|
28
28
|
import { Effect, FileSystem, Option, Schedule, Schema } from "effect";
|
package/dist/promise/client.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ export declare function make(options: ClientOptions): {
|
|
|
77
77
|
interrupt: (input: import("./index.js").SessionInterruptInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionInterruptResponse>;
|
|
78
78
|
background: (input: import("./index.js").SessionBackgroundInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
79
79
|
message: {
|
|
80
|
-
get: (input: import("./index.js").SessionMessageGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionMessageAgentSelected | import("./index.js").SessionMessageSynthetic | import("./index.js").SessionMessageSystem | import("./index.js").
|
|
80
|
+
get: (input: import("./index.js").SessionMessageGetInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").SessionMessageAgentSelected | import("./index.js").SessionMessageSynthetic | import("./index.js").SessionMessageSystem | import("./index.js").SessionMessageCompactionRunning | import("./index.js").SessionMessageSkill | import("./index.js").SessionMessageShell | import("./index.js").SessionMessageCompactionFailed | import("./index.js").SessionMessageIdle | import("./index.js").SessionMessageLocationSwitched | import("./index.js").SessionMessageModelSelected | import("./index.js").SessionMessageUser | import("./index.js").SessionMessageCompactionCompleted | import("./index.js").SessionMessageAssistant>;
|
|
81
81
|
};
|
|
82
82
|
form: {
|
|
83
83
|
list: (input: import("./index.js").SessionFormListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").FormInfo[]>;
|
|
@@ -160,7 +160,7 @@ export declare function make(options: ClientOptions): {
|
|
|
160
160
|
remove: (input: import("./index.js").PermissionSavedRemoveInput, requestOptions?: OpenCode.RequestOptions) => Promise<void>;
|
|
161
161
|
};
|
|
162
162
|
create: (input: import("./index.js").PermissionCreateInput, requestOptions?: OpenCode.RequestOptions) => Promise<{
|
|
163
|
-
id:
|
|
163
|
+
id: import("./index.js").PermissionID;
|
|
164
164
|
effect: import("./index.js").PermissionEffect;
|
|
165
165
|
}>;
|
|
166
166
|
list: (input: import("./index.js").PermissionListInput, requestOptions?: OpenCode.RequestOptions) => Promise<import("./index.js").PermissionRequest[]>;
|
package/dist/promise/client.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
2
|
+
make2,
|
|
3
|
+
exports_client
|
|
4
|
+
} from "../chunks/contract-3xe3aqqq.js";
|
|
5
|
+
import"../chunks/contract-1y4a697q.js";
|
|
6
|
+
import"../chunks/contract-vyas3vgt.js";
|
|
7
|
+
import"../chunks/contract-vt9jbch8.js";
|
|
8
|
+
import"../chunks/contract-tbh3h57v.js";
|
|
9
|
+
import"../chunks/contract-js54wxgp.js";
|
|
10
|
+
import"../chunks/contract-frbwqjmf.js";
|
|
11
11
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
exports_client as OpenCode,
|
|
13
|
+
make2 as make
|
|
14
14
|
};
|
|
@@ -78,7 +78,7 @@ export declare function make(options: ClientOptions): {
|
|
|
78
78
|
interrupt: (input: SessionInterruptInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionInterruptResponse>;
|
|
79
79
|
background: (input: SessionBackgroundInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
80
80
|
message: {
|
|
81
|
-
get: (input: SessionMessageGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageAgentSelected | import("./types.js").SessionMessageSynthetic | import("./types.js").SessionMessageSystem | import("./types.js").
|
|
81
|
+
get: (input: SessionMessageGetInput, requestOptions?: RequestOptions) => Promise<import("./types.js").SessionMessageAgentSelected | import("./types.js").SessionMessageSynthetic | import("./types.js").SessionMessageSystem | import("./types.js").SessionMessageCompactionRunning | import("./types.js").SessionMessageSkill | import("./types.js").SessionMessageShell | import("./types.js").SessionMessageCompactionFailed | import("./types.js").SessionMessageIdle | import("./types.js").SessionMessageLocationSwitched | import("./types.js").SessionMessageModelSelected | import("./types.js").SessionMessageUser | import("./types.js").SessionMessageCompactionCompleted | import("./types.js").SessionMessageAssistant>;
|
|
82
82
|
};
|
|
83
83
|
form: {
|
|
84
84
|
list: (input: SessionFormListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").FormInfo[]>;
|
|
@@ -161,7 +161,7 @@ export declare function make(options: ClientOptions): {
|
|
|
161
161
|
remove: (input: PermissionSavedRemoveInput, requestOptions?: RequestOptions) => Promise<void>;
|
|
162
162
|
};
|
|
163
163
|
create: (input: PermissionCreateInput, requestOptions?: RequestOptions) => Promise<{
|
|
164
|
-
id:
|
|
164
|
+
id: import("./types.js").PermissionID;
|
|
165
165
|
effect: import("./types.js").PermissionEffect;
|
|
166
166
|
}>;
|
|
167
167
|
list: (input: PermissionListInput, requestOptions?: RequestOptions) => Promise<import("./types.js").PermissionRequest[]>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/
|
|
4
|
-
import"../../chunks/
|
|
2
|
+
make3
|
|
3
|
+
} from "../../chunks/contract-tbh3h57v.js";
|
|
4
|
+
import"../../chunks/contract-js54wxgp.js";
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
make3 as make
|
|
7
7
|
};
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import"../../chunks/
|
|
2
|
-
import {
|
|
3
|
-
exports_client4
|
|
4
|
-
} from "../../chunks/pty-handoff-9h52wrcy.js";
|
|
5
|
-
import {
|
|
6
|
-
ClientError3
|
|
7
|
-
} from "../../chunks/pty-handoff-nwcpakzx.js";
|
|
1
|
+
import"../../chunks/contract-vyas3vgt.js";
|
|
8
2
|
import {
|
|
9
3
|
isInvalidRequestError2,
|
|
10
4
|
isUnauthorizedError2,
|
|
@@ -39,10 +33,16 @@ import {
|
|
|
39
33
|
isShellNotFoundError2,
|
|
40
34
|
isWorktreeError2,
|
|
41
35
|
isVcsInitNotSupportedError2
|
|
42
|
-
} from "../../chunks/
|
|
36
|
+
} from "../../chunks/contract-vt9jbch8.js";
|
|
37
|
+
import {
|
|
38
|
+
exports_client2
|
|
39
|
+
} from "../../chunks/contract-tbh3h57v.js";
|
|
40
|
+
import {
|
|
41
|
+
ClientError2
|
|
42
|
+
} from "../../chunks/contract-js54wxgp.js";
|
|
43
43
|
export {
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
ClientError2 as ClientError,
|
|
45
|
+
exports_client2 as OpenCode,
|
|
46
46
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
47
47
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
48
48
|
isCommandNotFoundError2 as isCommandNotFoundError,
|