@opencode/client 0.0.0-dev-20800 → 0.0.0-dev-20802

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.
Files changed (31) hide show
  1. package/dist/chunks/{pty-handoff-y2etg5bs.js → pty-handoff-7f0py9js.js} +2 -2
  2. package/dist/chunks/{pty-handoff-4g868gd9.js → pty-handoff-e4sc9kq6.js} +9 -9
  3. package/dist/chunks/{pty-handoff-qhs09f6z.js → pty-handoff-f9przbbm.js} +8 -8
  4. package/dist/chunks/{pty-handoff-nwcpakzx.js → pty-handoff-js54wxgp.js} +2 -2
  5. package/dist/chunks/{pty-handoff-z6qdwcsf.js → pty-handoff-mnyft54j.js} +3 -3
  6. package/dist/chunks/{pty-handoff-qm3ebzrs.js → pty-handoff-r663dex3.js} +15 -15
  7. package/dist/chunks/{pty-handoff-9h52wrcy.js → pty-handoff-tbh3h57v.js} +18 -18
  8. package/dist/effect/api/api.d.ts +67 -63
  9. package/dist/effect/client.js +9 -9
  10. package/dist/effect/generated/client-error.js +3 -3
  11. package/dist/effect/generated/client.js +4 -4
  12. package/dist/effect/generated/index.js +7 -7
  13. package/dist/effect/index.js +8 -8
  14. package/dist/effect/rpc.js +3 -3
  15. package/dist/effect/service.js +2 -2
  16. package/dist/promise/client.d.ts +2 -2
  17. package/dist/promise/client.js +8 -8
  18. package/dist/promise/generated/client-error.js +3 -3
  19. package/dist/promise/generated/client.d.ts +2 -2
  20. package/dist/promise/generated/client.js +4 -4
  21. package/dist/promise/generated/index.js +6 -6
  22. package/dist/promise/generated/types.d.ts +1647 -1621
  23. package/dist/promise/index.js +8 -8
  24. package/dist/promise/service.js +2 -2
  25. package/dist/pty-handoff.js +1 -1
  26. package/dist/service-probe.js +2 -2
  27. package/dist/solid/data.js +4 -4
  28. package/dist/solid/index.js +3 -3
  29. package/package.json +7 -7
  30. /package/dist/chunks/{pty-handoff-5eexdrr4.js → pty-handoff-0rcx1gca.js} +0 -0
  31. /package/dist/chunks/{pty-handoff-8ye1ye6f.js → pty-handoff-2ny4vxct.js} +0 -0
@@ -14,14 +14,14 @@ import {
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/pty-handoff-5eexdrr4.js";
17
+ } from "../chunks/pty-handoff-0rcx1gca.js";
18
18
  import {
19
19
  decide2,
20
20
  fallback2,
21
21
  same2,
22
22
  probeResult2,
23
23
  headers2
24
- } from "../chunks/pty-handoff-8ye1ye6f.js";
24
+ } from "../chunks/pty-handoff-2ny4vxct.js";
25
25
  import"../chunks/pty-handoff-qav6mfdz.js";
26
26
 
27
27
  // src/effect/service.ts
@@ -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").SessionMessageSkill | import("./index.js").SessionMessageShell | import("./index.js").SessionMessageCompactionRunning | import("./index.js").SessionMessageLocationSwitched | import("./index.js").SessionMessageModelSelected | import("./index.js").SessionMessageCompactionFailed | import("./index.js").SessionMessageIdle | import("./index.js").SessionMessageUser | import("./index.js").SessionMessageCompactionCompleted | import("./index.js").SessionMessageAssistant>;
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: string;
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[]>;
@@ -1,14 +1,14 @@
1
1
  import {
2
- make5,
3
- exports_client3
4
- } from "../chunks/pty-handoff-4g868gd9.js";
5
- import"../chunks/pty-handoff-1y4a697q.js";
2
+ make2,
3
+ exports_client
4
+ } from "../chunks/pty-handoff-e4sc9kq6.js";
6
5
  import"../chunks/pty-handoff-vyas3vgt.js";
7
- import"../chunks/pty-handoff-9h52wrcy.js";
8
- import"../chunks/pty-handoff-nwcpakzx.js";
6
+ import"../chunks/pty-handoff-tbh3h57v.js";
7
+ import"../chunks/pty-handoff-js54wxgp.js";
8
+ import"../chunks/pty-handoff-1y4a697q.js";
9
9
  import"../chunks/pty-handoff-vt9jbch8.js";
10
10
  import"../chunks/pty-handoff-frbwqjmf.js";
11
11
  export {
12
- exports_client3 as OpenCode,
13
- make5 as make
12
+ exports_client as OpenCode,
13
+ make2 as make
14
14
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
- ClientError3
3
- } from "../../chunks/pty-handoff-nwcpakzx.js";
2
+ ClientError2
3
+ } from "../../chunks/pty-handoff-js54wxgp.js";
4
4
  export {
5
- ClientError3 as ClientError
5
+ ClientError2 as ClientError
6
6
  };
@@ -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").SessionMessageSkill | import("./types.js").SessionMessageShell | import("./types.js").SessionMessageCompactionRunning | import("./types.js").SessionMessageLocationSwitched | import("./types.js").SessionMessageModelSelected | import("./types.js").SessionMessageCompactionFailed | import("./types.js").SessionMessageIdle | import("./types.js").SessionMessageUser | import("./types.js").SessionMessageCompactionCompleted | import("./types.js").SessionMessageAssistant>;
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: string;
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
- make6
3
- } from "../../chunks/pty-handoff-9h52wrcy.js";
4
- import"../../chunks/pty-handoff-nwcpakzx.js";
2
+ make3
3
+ } from "../../chunks/pty-handoff-tbh3h57v.js";
4
+ import"../../chunks/pty-handoff-js54wxgp.js";
5
5
  export {
6
- make6 as make
6
+ make3 as make
7
7
  };
@@ -1,10 +1,10 @@
1
1
  import"../../chunks/pty-handoff-vyas3vgt.js";
2
2
  import {
3
- exports_client4
4
- } from "../../chunks/pty-handoff-9h52wrcy.js";
3
+ exports_client2
4
+ } from "../../chunks/pty-handoff-tbh3h57v.js";
5
5
  import {
6
- ClientError3
7
- } from "../../chunks/pty-handoff-nwcpakzx.js";
6
+ ClientError2
7
+ } from "../../chunks/pty-handoff-js54wxgp.js";
8
8
  import {
9
9
  isInvalidRequestError2,
10
10
  isUnauthorizedError2,
@@ -41,8 +41,8 @@ import {
41
41
  isVcsInitNotSupportedError2
42
42
  } from "../../chunks/pty-handoff-vt9jbch8.js";
43
43
  export {
44
- ClientError3 as ClientError,
45
- exports_client4 as OpenCode,
44
+ ClientError2 as ClientError,
45
+ exports_client2 as OpenCode,
46
46
  isAgentNotFoundError2 as isAgentNotFoundError,
47
47
  isCommandExecutionError2 as isCommandExecutionError,
48
48
  isCommandNotFoundError2 as isCommandNotFoundError,