@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.
Files changed (59) hide show
  1. package/dist/chunks/{pty-handoff-1y4a697q.js → contract-1y4a697q.js} +1 -1
  2. package/dist/chunks/{pty-handoff-8ye1ye6f.js → contract-2ny4vxct.js} +2 -2
  3. package/dist/chunks/contract-3xe3aqqq.js +30 -0
  4. package/dist/chunks/{pty-handoff-y2etg5bs.js → contract-7f0py9js.js} +2 -2
  5. package/dist/chunks/{pty-handoff-frbwqjmf.js → contract-frbwqjmf.js} +1 -1
  6. package/dist/chunks/{pty-handoff-5eexdrr4.js → contract-hzt178db.js} +1 -1
  7. package/dist/chunks/{pty-handoff-nwcpakzx.js → contract-js54wxgp.js} +2 -2
  8. package/dist/chunks/{pty-handoff-z6qdwcsf.js → contract-mnyft54j.js} +5 -5
  9. package/dist/chunks/{pty-handoff-qhs09f6z.js → contract-nt7y9tb6.js} +10 -10
  10. package/dist/chunks/{pty-handoff-qm3ebzrs.js → contract-steb0hnc.js} +17 -17
  11. package/dist/chunks/{pty-handoff-t1xa31vm.js → contract-t1xa31vm.js} +1 -1
  12. package/dist/chunks/{pty-handoff-9h52wrcy.js → contract-tbh3h57v.js} +19 -19
  13. package/dist/chunks/{pty-handoff-yze5j8cn.js → contract-yze5j8cn.js} +1 -1
  14. package/dist/contract.js +1 -1
  15. package/dist/effect/api/api.d.ts +67 -63
  16. package/dist/effect/client.js +12 -12
  17. package/dist/effect/generated/client-error.js +3 -3
  18. package/dist/effect/generated/client.js +5 -5
  19. package/dist/effect/generated/index.js +8 -8
  20. package/dist/effect/index.js +12 -12
  21. package/dist/effect/rpc.js +4 -4
  22. package/dist/effect/service.js +6 -6
  23. package/dist/promise/client.d.ts +2 -2
  24. package/dist/promise/client.js +11 -11
  25. package/dist/promise/generated/client-error.js +3 -3
  26. package/dist/promise/generated/client.d.ts +2 -2
  27. package/dist/promise/generated/client.js +4 -4
  28. package/dist/promise/generated/index.js +10 -10
  29. package/dist/promise/generated/types.d.ts +1647 -1621
  30. package/dist/promise/generated/types.js +1 -1
  31. package/dist/promise/index.js +13 -13
  32. package/dist/promise/rpc.js +2 -2
  33. package/dist/promise/service.js +6 -6
  34. package/dist/pty-handoff.js +1 -1
  35. package/dist/rpc-runtime.js +1 -1
  36. package/dist/service-contender.js +1 -1
  37. package/dist/service-probe.js +3 -3
  38. package/dist/service-timing.js +1 -1
  39. package/dist/service-version.js +1 -1
  40. package/dist/service.js +1 -1
  41. package/dist/shared-events.js +1 -1
  42. package/dist/solid/connection.js +1 -1
  43. package/dist/solid/data.js +9 -9
  44. package/dist/solid/index.js +11 -11
  45. package/dist/solid/pty.js +1 -1
  46. package/package.json +7 -7
  47. package/dist/chunks/pty-handoff-4g868gd9.js +0 -30
  48. /package/dist/chunks/{pty-handoff-6mptkzbc.js → contract-6mptkzbc.js} +0 -0
  49. /package/dist/chunks/{pty-handoff-9rqn6x4v.js → contract-9rqn6x4v.js} +0 -0
  50. /package/dist/chunks/{pty-handoff-gne7h7mq.js → contract-gne7h7mq.js} +0 -0
  51. /package/dist/chunks/{pty-handoff-m2eywc8w.js → contract-m2eywc8w.js} +0 -0
  52. /package/dist/chunks/{pty-handoff-qav6mfdz.js → contract-qav6mfdz.js} +0 -0
  53. /package/dist/chunks/{pty-handoff-sxt88q69.js → contract-sxt88q69.js} +0 -0
  54. /package/dist/chunks/{pty-handoff-ve4aws36.js → contract-ve4aws36.js} +0 -0
  55. /package/dist/chunks/{pty-handoff-vmytr4q8.js → contract-vmytr4q8.js} +0 -0
  56. /package/dist/chunks/{pty-handoff-vt9jbch8.js → contract-vt9jbch8.js} +0 -0
  57. /package/dist/chunks/{pty-handoff-vyas3vgt.js → contract-vyas3vgt.js} +0 -0
  58. /package/dist/chunks/{pty-handoff-xgnj2w4v.js → contract-xgnj2w4v.js} +0 -0
  59. /package/dist/chunks/{pty-handoff-ydhz1zrh.js → contract-ydhz1zrh.js} +0 -0
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/pty-handoff-ve4aws36.js";
4
+ } from "../chunks/contract-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/pty-handoff-xgnj2w4v.js";
8
+ } from "../chunks/contract-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/pty-handoff-sxt88q69.js";
11
+ } from "../chunks/contract-sxt88q69.js";
12
12
  import {
13
13
  prepare2,
14
14
  environment2,
15
15
  complete2,
16
16
  clear2
17
- } from "../chunks/pty-handoff-5eexdrr4.js";
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/pty-handoff-8ye1ye6f.js";
25
- import"../chunks/pty-handoff-qav6mfdz.js";
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";
@@ -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";
6
- import"../chunks/pty-handoff-vyas3vgt.js";
7
- import"../chunks/pty-handoff-9h52wrcy.js";
8
- import"../chunks/pty-handoff-nwcpakzx.js";
9
- import"../chunks/pty-handoff-vt9jbch8.js";
10
- import"../chunks/pty-handoff-frbwqjmf.js";
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
- 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/contract-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/contract-tbh3h57v.js";
4
+ import"../../chunks/contract-js54wxgp.js";
5
5
  export {
6
- make6 as make
6
+ make3 as make
7
7
  };
@@ -1,10 +1,4 @@
1
- import"../../chunks/pty-handoff-vyas3vgt.js";
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/pty-handoff-vt9jbch8.js";
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
- 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,