@opencode/client 2.2.1 → 2.2.2

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 (62) hide show
  1. package/dist/chunks/{mcp-yn2a71yh.js → pty-handoff-0e3ghr9a.js} +4 -2
  2. package/dist/chunks/{mcp-15p82y03.js → pty-handoff-15p82y03.js} +2 -2
  3. package/dist/chunks/{mcp-0e9xp5b3.js → pty-handoff-5d2vkjb7.js} +5 -5
  4. package/dist/chunks/{mcp-8ye1ye6f.js → pty-handoff-8ye1ye6f.js} +2 -2
  5. package/dist/chunks/{mcp-4z60zgnr.js → pty-handoff-bb4rz2ry.js} +5 -3
  6. package/dist/chunks/{mcp-csehnca4.js → pty-handoff-f6hq5twr.js} +5 -1
  7. package/dist/chunks/{mcp-gecjxyvt.js → pty-handoff-gecjxyvt.js} +1 -1
  8. package/dist/chunks/{mcp-kdshn947.js → pty-handoff-kdshn947.js} +1 -1
  9. package/dist/chunks/{mcp-qhd5h5hk.js → pty-handoff-pgwvv4px.js} +2 -2
  10. package/dist/chunks/{mcp-ryy6kscr.js → pty-handoff-ryy6kscr.js} +1 -1
  11. package/dist/chunks/{mcp-6v8v0sqq.js → pty-handoff-wcnmkks2.js} +4 -4
  12. package/dist/contract.js +1 -1
  13. package/dist/effect/api/api.d.ts +3 -1
  14. package/dist/effect/client.d.ts +64 -4
  15. package/dist/effect/client.js +8 -8
  16. package/dist/effect/generated/client-error.js +1 -1
  17. package/dist/effect/generated/client.d.ts +64 -4
  18. package/dist/effect/generated/client.js +3 -3
  19. package/dist/effect/generated/index.js +4 -4
  20. package/dist/effect/index.js +8 -8
  21. package/dist/effect/rpc.js +2 -2
  22. package/dist/effect/service.js +6 -6
  23. package/dist/promise/client.js +7 -7
  24. package/dist/promise/generated/client-error.js +1 -1
  25. package/dist/promise/generated/client.js +2 -2
  26. package/dist/promise/generated/index.js +8 -8
  27. package/dist/promise/generated/types.d.ts +42 -5
  28. package/dist/promise/generated/types.js +1 -1
  29. package/dist/promise/index.js +10 -10
  30. package/dist/promise/rpc.js +2 -2
  31. package/dist/promise/service.js +6 -6
  32. package/dist/pty-handoff.js +4 -4
  33. package/dist/rpc-runtime.js +1 -1
  34. package/dist/service-contender.js +1 -1
  35. package/dist/service-probe.js +3 -3
  36. package/dist/service-timing.js +1 -1
  37. package/dist/service-version.js +1 -1
  38. package/dist/service.js +1 -1
  39. package/dist/shared-events.js +1 -1
  40. package/dist/solid/connection.js +1 -1
  41. package/dist/solid/data.js +9 -9
  42. package/dist/solid/index.js +13 -13
  43. package/dist/solid/pty.js +1 -1
  44. package/dist/solid/retention.js +1 -1
  45. package/dist/solid/usage.js +1 -1
  46. package/package.json +7 -7
  47. /package/dist/chunks/{mcp-60xe5cbf.js → pty-handoff-60xe5cbf.js} +0 -0
  48. /package/dist/chunks/{mcp-6mptkzbc.js → pty-handoff-6mptkzbc.js} +0 -0
  49. /package/dist/chunks/{mcp-6mq2wh8y.js → pty-handoff-6mq2wh8y.js} +0 -0
  50. /package/dist/chunks/{mcp-8s2anffy.js → pty-handoff-8s2anffy.js} +0 -0
  51. /package/dist/chunks/{mcp-9rqn6x4v.js → pty-handoff-9rqn6x4v.js} +0 -0
  52. /package/dist/chunks/{mcp-cvg5j6d1.js → pty-handoff-cvg5j6d1.js} +0 -0
  53. /package/dist/chunks/{mcp-gne7h7mq.js → pty-handoff-gne7h7mq.js} +0 -0
  54. /package/dist/chunks/{mcp-m2eywc8w.js → pty-handoff-m2eywc8w.js} +0 -0
  55. /package/dist/chunks/{mcp-nwcpakzx.js → pty-handoff-nwcpakzx.js} +0 -0
  56. /package/dist/chunks/{mcp-qav6mfdz.js → pty-handoff-qav6mfdz.js} +0 -0
  57. /package/dist/chunks/{mcp-sxt88q69.js → pty-handoff-sxt88q69.js} +0 -0
  58. /package/dist/chunks/{mcp-ve4aws36.js → pty-handoff-ve4aws36.js} +0 -0
  59. /package/dist/chunks/{mcp-vyas3vgt.js → pty-handoff-vyas3vgt.js} +0 -0
  60. /package/dist/chunks/{mcp-xgnj2w4v.js → pty-handoff-xgnj2w4v.js} +0 -0
  61. /package/dist/chunks/{mcp-y2etg5bs.js → pty-handoff-y2etg5bs.js} +0 -0
  62. /package/dist/chunks/{mcp-ydhz1zrh.js → pty-handoff-ydhz1zrh.js} +0 -0
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  ClientError3
3
- } from "./mcp-nwcpakzx.js";
3
+ } from "./pty-handoff-nwcpakzx.js";
4
4
  import {
5
5
  __export
6
- } from "./mcp-9rqn6x4v.js";
6
+ } from "./pty-handoff-9rqn6x4v.js";
7
7
 
8
8
  // src/promise/generated/client.ts
9
9
  var exports_client4 = {};
@@ -864,6 +864,8 @@ function make6(options) {
864
864
  sessionID: input["sessionID"],
865
865
  name: input["name"],
866
866
  when: input["when"],
867
+ if: input["if"],
868
+ until: input["until"],
867
869
  ends: input["ends"],
868
870
  prompt: input["prompt"]
869
871
  },
@@ -3,10 +3,10 @@ import {
3
3
  readError2,
4
4
  event2,
5
5
  eventType2
6
- } from "./mcp-ryy6kscr.js";
6
+ } from "./pty-handoff-ryy6kscr.js";
7
7
  import {
8
8
  __export
9
- } from "./mcp-9rqn6x4v.js";
9
+ } from "./pty-handoff-9rqn6x4v.js";
10
10
 
11
11
  // src/effect/rpc.ts
12
12
  var exports_rpc = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  make7
3
- } from "./mcp-gecjxyvt.js";
3
+ } from "./pty-handoff-gecjxyvt.js";
4
4
  import {
5
5
  ClientError2
6
- } from "./mcp-y2etg5bs.js";
6
+ } from "./pty-handoff-y2etg5bs.js";
7
7
  import {
8
8
  make4
9
- } from "./mcp-4z60zgnr.js";
9
+ } from "./pty-handoff-bb4rz2ry.js";
10
10
  import {
11
11
  make3,
12
12
  aborted2
13
- } from "./mcp-15p82y03.js";
13
+ } from "./pty-handoff-15p82y03.js";
14
14
  import {
15
15
  __export
16
- } from "./mcp-9rqn6x4v.js";
16
+ } from "./pty-handoff-9rqn6x4v.js";
17
17
 
18
18
  // src/effect/client.ts
19
19
  var exports_client = {};
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  defaultEnsureTiming2
3
- } from "./mcp-xgnj2w4v.js";
3
+ } from "./pty-handoff-xgnj2w4v.js";
4
4
  import {
5
5
  matchesVersion2
6
- } from "./mcp-sxt88q69.js";
6
+ } from "./pty-handoff-sxt88q69.js";
7
7
 
8
8
  // src/service-probe.ts
9
9
  import { homedir } from "node:os";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ClientApi2
3
- } from "./mcp-60xe5cbf.js";
3
+ } from "./pty-handoff-60xe5cbf.js";
4
4
  import {
5
5
  ClientError2
6
- } from "./mcp-y2etg5bs.js";
6
+ } from "./pty-handoff-y2etg5bs.js";
7
7
  import {
8
8
  __export
9
- } from "./mcp-9rqn6x4v.js";
9
+ } from "./pty-handoff-9rqn6x4v.js";
10
10
 
11
11
  // src/effect/generated/client.ts
12
12
  var exports_client2 = {};
@@ -553,6 +553,8 @@ var EndpointExperimentalScheduleCreate = (raw) => (input) => preserveEffect()(ra
553
553
  sessionID: input["sessionID"],
554
554
  name: input["name"],
555
555
  when: input["when"],
556
+ if: input["if"],
557
+ until: input["until"],
556
558
  ends: input["ends"],
557
559
  prompt: input["prompt"]
558
560
  }
@@ -2,7 +2,7 @@ import {
2
2
  isFormNotFoundError2,
3
3
  isFormAlreadySettledError2,
4
4
  isPermissionNotFoundError2
5
- } from "./mcp-cvg5j6d1.js";
5
+ } from "./pty-handoff-cvg5j6d1.js";
6
6
 
7
7
  // src/solid/data.ts
8
8
  import { Worktree } from "@opencode/schema/worktree";
@@ -887,6 +887,10 @@ function createData2(config) {
887
887
  return;
888
888
  case "session.execution.started":
889
889
  setSessionActive(event.data.sessionID, "running");
890
+ if (!store.session.info[event.data.sessionID] && !sync.has(`session:${event.data.sessionID}`))
891
+ return;
892
+ result.session.invalidate(event.data.sessionID);
893
+ refresh(() => result.session.sync(event.data.sessionID));
890
894
  return;
891
895
  case "session.compaction.started":
892
896
  if (event.data.inputID)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mcp-9rqn6x4v.js";
3
+ } from "./pty-handoff-9rqn6x4v.js";
4
4
 
5
5
  // src/shared-events.ts
6
6
  var exports_shared_events = {};
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  isRpcError2,
3
3
  isRpcInternalError2
4
- } from "./mcp-cvg5j6d1.js";
4
+ } from "./pty-handoff-cvg5j6d1.js";
5
5
 
6
6
  // src/promise/rpc.ts
7
7
  function makeRpc2(raw, events) {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  headers2
3
- } from "./mcp-8ye1ye6f.js";
3
+ } from "./pty-handoff-8ye1ye6f.js";
4
4
  import {
5
5
  __export
6
- } from "./mcp-9rqn6x4v.js";
6
+ } from "./pty-handoff-9rqn6x4v.js";
7
7
 
8
8
  // src/pty-handoff.ts
9
9
  var exports_pty_handoff = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./mcp-9rqn6x4v.js";
3
+ } from "./pty-handoff-9rqn6x4v.js";
4
4
 
5
5
  // src/rpc-runtime.ts
6
6
  var exports_rpc_runtime = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  make7
3
- } from "./mcp-gecjxyvt.js";
3
+ } from "./pty-handoff-gecjxyvt.js";
4
4
  import {
5
5
  make6
6
- } from "./mcp-yn2a71yh.js";
6
+ } from "./pty-handoff-0e3ghr9a.js";
7
7
  import {
8
8
  makeRpc2
9
- } from "./mcp-kdshn947.js";
9
+ } from "./pty-handoff-kdshn947.js";
10
10
  import {
11
11
  __export
12
- } from "./mcp-9rqn6x4v.js";
12
+ } from "./pty-handoff-9rqn6x4v.js";
13
13
 
14
14
  // src/promise/client.ts
15
15
  var exports_client3 = {};
package/dist/contract.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  effectOmitEndpoints2,
5
5
  groupNames2,
6
6
  promiseOmitEndpoints2
7
- } from "./chunks/mcp-60xe5cbf.js";
7
+ } from "./chunks/pty-handoff-60xe5cbf.js";
8
8
  export {
9
9
  ClientApi2 as ClientApi,
10
10
  clientNamespace2 as clientNamespace,
@@ -2693,7 +2693,9 @@ export type ExperimentalPersistentPtyConnectTokenOperation<E = never> = (input:
2693
2693
  export type ExperimentalScheduleCreateInput = {
2694
2694
  readonly sessionID: Session.ID;
2695
2695
  readonly name?: string | undefined;
2696
- readonly when: Schedule.WhenInput;
2696
+ readonly when?: Schedule.WhenInput | undefined;
2697
+ readonly if?: Schedule.ConditionInput | undefined;
2698
+ readonly until?: Schedule.ConditionInput | undefined;
2697
2699
  readonly ends?: Schedule.Ends | undefined;
2698
2700
  readonly prompt: string;
2699
2701
  };
@@ -64,6 +64,20 @@ export declare const make: (options?: {
64
64
  readonly cron: string;
65
65
  };
66
66
  readonly tz: string;
67
+ readonly if?: {
68
+ readonly type: "shell";
69
+ readonly run: string;
70
+ readonly is?: string | undefined;
71
+ readonly matches?: string | undefined;
72
+ readonly changes?: boolean | undefined;
73
+ } | undefined;
74
+ readonly until?: {
75
+ readonly type: "shell";
76
+ readonly run: string;
77
+ readonly is?: string | undefined;
78
+ readonly matches?: string | undefined;
79
+ readonly changes?: boolean | undefined;
80
+ } | undefined;
67
81
  readonly action: {
68
82
  readonly type: "prompt";
69
83
  readonly prompt: string;
@@ -74,7 +88,8 @@ export declare const make: (options?: {
74
88
  readonly remainingRuns?: number | undefined;
75
89
  readonly runCount: number;
76
90
  readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
77
- readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
91
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
92
+ readonly lastOutput?: string | undefined;
78
93
  readonly time: {
79
94
  readonly created: import("effect/DateTime").Utc;
80
95
  readonly updated: import("effect/DateTime").Utc;
@@ -103,6 +118,20 @@ export declare const make: (options?: {
103
118
  readonly cron: string;
104
119
  };
105
120
  readonly tz: string;
121
+ readonly if?: {
122
+ readonly type: "shell";
123
+ readonly run: string;
124
+ readonly is?: string | undefined;
125
+ readonly matches?: string | undefined;
126
+ readonly changes?: boolean | undefined;
127
+ } | undefined;
128
+ readonly until?: {
129
+ readonly type: "shell";
130
+ readonly run: string;
131
+ readonly is?: string | undefined;
132
+ readonly matches?: string | undefined;
133
+ readonly changes?: boolean | undefined;
134
+ } | undefined;
106
135
  readonly action: {
107
136
  readonly type: "prompt";
108
137
  readonly prompt: string;
@@ -113,7 +142,8 @@ export declare const make: (options?: {
113
142
  readonly remainingRuns?: number | undefined;
114
143
  readonly runCount: number;
115
144
  readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
116
- readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
145
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
146
+ readonly lastOutput?: string | undefined;
117
147
  readonly time: {
118
148
  readonly created: import("effect/DateTime").Utc;
119
149
  readonly updated: import("effect/DateTime").Utc;
@@ -141,6 +171,20 @@ export declare const make: (options?: {
141
171
  readonly cron: string;
142
172
  };
143
173
  readonly tz: string;
174
+ readonly if?: {
175
+ readonly type: "shell";
176
+ readonly run: string;
177
+ readonly is?: string | undefined;
178
+ readonly matches?: string | undefined;
179
+ readonly changes?: boolean | undefined;
180
+ } | undefined;
181
+ readonly until?: {
182
+ readonly type: "shell";
183
+ readonly run: string;
184
+ readonly is?: string | undefined;
185
+ readonly matches?: string | undefined;
186
+ readonly changes?: boolean | undefined;
187
+ } | undefined;
144
188
  readonly action: {
145
189
  readonly type: "prompt";
146
190
  readonly prompt: string;
@@ -151,7 +195,8 @@ export declare const make: (options?: {
151
195
  readonly remainingRuns?: number | undefined;
152
196
  readonly runCount: number;
153
197
  readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
154
- readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
198
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
199
+ readonly lastOutput?: string | undefined;
155
200
  readonly time: {
156
201
  readonly created: import("effect/DateTime").Utc;
157
202
  readonly updated: import("effect/DateTime").Utc;
@@ -179,6 +224,20 @@ export declare const make: (options?: {
179
224
  readonly cron: string;
180
225
  };
181
226
  readonly tz: string;
227
+ readonly if?: {
228
+ readonly type: "shell";
229
+ readonly run: string;
230
+ readonly is?: string | undefined;
231
+ readonly matches?: string | undefined;
232
+ readonly changes?: boolean | undefined;
233
+ } | undefined;
234
+ readonly until?: {
235
+ readonly type: "shell";
236
+ readonly run: string;
237
+ readonly is?: string | undefined;
238
+ readonly matches?: string | undefined;
239
+ readonly changes?: boolean | undefined;
240
+ } | undefined;
182
241
  readonly action: {
183
242
  readonly type: "prompt";
184
243
  readonly prompt: string;
@@ -189,7 +248,8 @@ export declare const make: (options?: {
189
248
  readonly remainingRuns?: number | undefined;
190
249
  readonly runCount: number;
191
250
  readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
192
- readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
251
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
252
+ readonly lastOutput?: string | undefined;
193
253
  readonly time: {
194
254
  readonly created: import("effect/DateTime").Utc;
195
255
  readonly updated: import("effect/DateTime").Utc;
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  make2,
3
3
  exports_client
4
- } from "../chunks/mcp-0e9xp5b3.js";
5
- import"../chunks/mcp-15p82y03.js";
6
- import"../chunks/mcp-6mptkzbc.js";
7
- import"../chunks/mcp-4z60zgnr.js";
8
- import"../chunks/mcp-y2etg5bs.js";
9
- import"../chunks/mcp-ryy6kscr.js";
10
- import"../chunks/mcp-gecjxyvt.js";
11
- import"../chunks/mcp-60xe5cbf.js";
4
+ } from "../chunks/pty-handoff-5d2vkjb7.js";
5
+ import"../chunks/pty-handoff-15p82y03.js";
6
+ import"../chunks/pty-handoff-6mptkzbc.js";
7
+ import"../chunks/pty-handoff-bb4rz2ry.js";
8
+ import"../chunks/pty-handoff-y2etg5bs.js";
9
+ import"../chunks/pty-handoff-60xe5cbf.js";
10
+ import"../chunks/pty-handoff-gecjxyvt.js";
11
+ import"../chunks/pty-handoff-ryy6kscr.js";
12
12
  export {
13
13
  exports_client as OpenCode,
14
14
  make2 as make
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ClientError2
3
- } from "../../chunks/mcp-y2etg5bs.js";
3
+ } from "../../chunks/pty-handoff-y2etg5bs.js";
4
4
  export {
5
5
  ClientError2 as ClientError
6
6
  };
@@ -61,6 +61,20 @@ export declare const make: (options?: {
61
61
  readonly cron: string;
62
62
  };
63
63
  readonly tz: string;
64
+ readonly if?: {
65
+ readonly type: "shell";
66
+ readonly run: string;
67
+ readonly is?: string | undefined;
68
+ readonly matches?: string | undefined;
69
+ readonly changes?: boolean | undefined;
70
+ } | undefined;
71
+ readonly until?: {
72
+ readonly type: "shell";
73
+ readonly run: string;
74
+ readonly is?: string | undefined;
75
+ readonly matches?: string | undefined;
76
+ readonly changes?: boolean | undefined;
77
+ } | undefined;
64
78
  readonly action: {
65
79
  readonly type: "prompt";
66
80
  readonly prompt: string;
@@ -71,7 +85,8 @@ export declare const make: (options?: {
71
85
  readonly remainingRuns?: number | undefined;
72
86
  readonly runCount: number;
73
87
  readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
74
- readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
88
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
89
+ readonly lastOutput?: string | undefined;
75
90
  readonly time: {
76
91
  readonly created: import("effect/DateTime").Utc;
77
92
  readonly updated: import("effect/DateTime").Utc;
@@ -100,6 +115,20 @@ export declare const make: (options?: {
100
115
  readonly cron: string;
101
116
  };
102
117
  readonly tz: string;
118
+ readonly if?: {
119
+ readonly type: "shell";
120
+ readonly run: string;
121
+ readonly is?: string | undefined;
122
+ readonly matches?: string | undefined;
123
+ readonly changes?: boolean | undefined;
124
+ } | undefined;
125
+ readonly until?: {
126
+ readonly type: "shell";
127
+ readonly run: string;
128
+ readonly is?: string | undefined;
129
+ readonly matches?: string | undefined;
130
+ readonly changes?: boolean | undefined;
131
+ } | undefined;
103
132
  readonly action: {
104
133
  readonly type: "prompt";
105
134
  readonly prompt: string;
@@ -110,7 +139,8 @@ export declare const make: (options?: {
110
139
  readonly remainingRuns?: number | undefined;
111
140
  readonly runCount: number;
112
141
  readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
113
- readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
142
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
143
+ readonly lastOutput?: string | undefined;
114
144
  readonly time: {
115
145
  readonly created: import("effect/DateTime").Utc;
116
146
  readonly updated: import("effect/DateTime").Utc;
@@ -138,6 +168,20 @@ export declare const make: (options?: {
138
168
  readonly cron: string;
139
169
  };
140
170
  readonly tz: string;
171
+ readonly if?: {
172
+ readonly type: "shell";
173
+ readonly run: string;
174
+ readonly is?: string | undefined;
175
+ readonly matches?: string | undefined;
176
+ readonly changes?: boolean | undefined;
177
+ } | undefined;
178
+ readonly until?: {
179
+ readonly type: "shell";
180
+ readonly run: string;
181
+ readonly is?: string | undefined;
182
+ readonly matches?: string | undefined;
183
+ readonly changes?: boolean | undefined;
184
+ } | undefined;
141
185
  readonly action: {
142
186
  readonly type: "prompt";
143
187
  readonly prompt: string;
@@ -148,7 +192,8 @@ export declare const make: (options?: {
148
192
  readonly remainingRuns?: number | undefined;
149
193
  readonly runCount: number;
150
194
  readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
151
- readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
195
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
196
+ readonly lastOutput?: string | undefined;
152
197
  readonly time: {
153
198
  readonly created: import("effect/DateTime").Utc;
154
199
  readonly updated: import("effect/DateTime").Utc;
@@ -176,6 +221,20 @@ export declare const make: (options?: {
176
221
  readonly cron: string;
177
222
  };
178
223
  readonly tz: string;
224
+ readonly if?: {
225
+ readonly type: "shell";
226
+ readonly run: string;
227
+ readonly is?: string | undefined;
228
+ readonly matches?: string | undefined;
229
+ readonly changes?: boolean | undefined;
230
+ } | undefined;
231
+ readonly until?: {
232
+ readonly type: "shell";
233
+ readonly run: string;
234
+ readonly is?: string | undefined;
235
+ readonly matches?: string | undefined;
236
+ readonly changes?: boolean | undefined;
237
+ } | undefined;
179
238
  readonly action: {
180
239
  readonly type: "prompt";
181
240
  readonly prompt: string;
@@ -186,7 +245,8 @@ export declare const make: (options?: {
186
245
  readonly remainingRuns?: number | undefined;
187
246
  readonly runCount: number;
188
247
  readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
189
- readonly lastOutcome?: "disabled" | "failed" | "fired" | "late" | "skipped" | undefined;
248
+ readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
249
+ readonly lastOutput?: string | undefined;
190
250
  readonly time: {
191
251
  readonly created: import("effect/DateTime").Utc;
192
252
  readonly updated: import("effect/DateTime").Utc;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  make4
3
- } from "../../chunks/mcp-4z60zgnr.js";
4
- import"../../chunks/mcp-y2etg5bs.js";
5
- import"../../chunks/mcp-60xe5cbf.js";
3
+ } from "../../chunks/pty-handoff-bb4rz2ry.js";
4
+ import"../../chunks/pty-handoff-y2etg5bs.js";
5
+ import"../../chunks/pty-handoff-60xe5cbf.js";
6
6
  export {
7
7
  make4 as make
8
8
  };
@@ -1,11 +1,11 @@
1
- import"../../chunks/mcp-6mptkzbc.js";
1
+ import"../../chunks/pty-handoff-6mptkzbc.js";
2
2
  import {
3
3
  exports_client2
4
- } from "../../chunks/mcp-4z60zgnr.js";
4
+ } from "../../chunks/pty-handoff-bb4rz2ry.js";
5
5
  import {
6
6
  ClientError2
7
- } from "../../chunks/mcp-y2etg5bs.js";
8
- import"../../chunks/mcp-60xe5cbf.js";
7
+ } from "../../chunks/pty-handoff-y2etg5bs.js";
8
+ import"../../chunks/pty-handoff-60xe5cbf.js";
9
9
  export {
10
10
  ClientError2 as ClientError,
11
11
  exports_client2 as OpenCode
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  ClientError2
3
- } from "../chunks/mcp-y2etg5bs.js";
4
- import"../chunks/mcp-60xe5cbf.js";
5
- import"../chunks/mcp-4z60zgnr.js";
6
- import"../chunks/mcp-6mptkzbc.js";
7
- import"../chunks/mcp-gecjxyvt.js";
8
- import"../chunks/mcp-ryy6kscr.js";
9
- import"../chunks/mcp-15p82y03.js";
3
+ } from "../chunks/pty-handoff-y2etg5bs.js";
4
+ import"../chunks/pty-handoff-60xe5cbf.js";
5
+ import"../chunks/pty-handoff-bb4rz2ry.js";
6
+ import"../chunks/pty-handoff-6mptkzbc.js";
7
+ import"../chunks/pty-handoff-gecjxyvt.js";
8
+ import"../chunks/pty-handoff-ryy6kscr.js";
9
+ import"../chunks/pty-handoff-15p82y03.js";
10
10
  import {
11
11
  exports_client
12
- } from "../chunks/mcp-0e9xp5b3.js";
12
+ } from "../chunks/pty-handoff-5d2vkjb7.js";
13
13
 
14
14
  // src/effect/index.ts
15
15
  import { Agent } from "@opencode/schema/agent";
@@ -2,8 +2,8 @@ import {
2
2
  make3,
3
3
  aborted2,
4
4
  exports_rpc
5
- } from "../chunks/mcp-15p82y03.js";
6
- import"../chunks/mcp-ryy6kscr.js";
5
+ } from "../chunks/pty-handoff-15p82y03.js";
6
+ import"../chunks/pty-handoff-ryy6kscr.js";
7
7
  export {
8
8
  exports_rpc as RpcClientRuntime,
9
9
  aborted2 as aborted,
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/mcp-ve4aws36.js";
4
+ } from "../chunks/pty-handoff-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/mcp-xgnj2w4v.js";
8
+ } from "../chunks/pty-handoff-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/mcp-sxt88q69.js";
11
+ } from "../chunks/pty-handoff-sxt88q69.js";
12
12
  import {
13
13
  decide2,
14
14
  fallback2,
15
15
  same2,
16
16
  probeResult2,
17
17
  headers2
18
- } from "../chunks/mcp-8ye1ye6f.js";
18
+ } from "../chunks/pty-handoff-8ye1ye6f.js";
19
19
  import {
20
20
  prepare2,
21
21
  environment2,
22
22
  complete2,
23
23
  clear2
24
- } from "../chunks/mcp-qhd5h5hk.js";
25
- import"../chunks/mcp-qav6mfdz.js";
24
+ } from "../chunks/pty-handoff-pgwvv4px.js";
25
+ import"../chunks/pty-handoff-qav6mfdz.js";
26
26
 
27
27
  // src/effect/service.ts
28
28
  import { Effect, FileSystem, Option, Schedule, Schema } from "effect";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  make5,
3
3
  exports_client3
4
- } from "../chunks/mcp-6v8v0sqq.js";
5
- import"../chunks/mcp-kdshn947.js";
6
- import"../chunks/mcp-vyas3vgt.js";
7
- import"../chunks/mcp-cvg5j6d1.js";
8
- import"../chunks/mcp-yn2a71yh.js";
9
- import"../chunks/mcp-nwcpakzx.js";
10
- import"../chunks/mcp-gecjxyvt.js";
4
+ } from "../chunks/pty-handoff-wcnmkks2.js";
5
+ import"../chunks/pty-handoff-kdshn947.js";
6
+ import"../chunks/pty-handoff-vyas3vgt.js";
7
+ import"../chunks/pty-handoff-0e3ghr9a.js";
8
+ import"../chunks/pty-handoff-nwcpakzx.js";
9
+ import"../chunks/pty-handoff-cvg5j6d1.js";
10
+ import"../chunks/pty-handoff-gecjxyvt.js";
11
11
  export {
12
12
  exports_client3 as OpenCode,
13
13
  make5 as make
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ClientError3
3
- } from "../../chunks/mcp-nwcpakzx.js";
3
+ } from "../../chunks/pty-handoff-nwcpakzx.js";
4
4
  export {
5
5
  ClientError3 as ClientError
6
6
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make6
3
- } from "../../chunks/mcp-yn2a71yh.js";
4
- import"../../chunks/mcp-nwcpakzx.js";
3
+ } from "../../chunks/pty-handoff-0e3ghr9a.js";
4
+ import"../../chunks/pty-handoff-nwcpakzx.js";
5
5
  export {
6
6
  make6 as make
7
7
  };
@@ -1,4 +1,10 @@
1
- import"../../chunks/mcp-vyas3vgt.js";
1
+ import"../../chunks/pty-handoff-vyas3vgt.js";
2
+ import {
3
+ exports_client4
4
+ } from "../../chunks/pty-handoff-0e3ghr9a.js";
5
+ import {
6
+ ClientError3
7
+ } from "../../chunks/pty-handoff-nwcpakzx.js";
2
8
  import {
3
9
  isInvalidRequestError2,
4
10
  isUnauthorizedError2,
@@ -39,13 +45,7 @@ import {
39
45
  isShellNotFoundError2,
40
46
  isWorktreeError2,
41
47
  isVcsInitNotSupportedError2
42
- } from "../../chunks/mcp-cvg5j6d1.js";
43
- import {
44
- exports_client4
45
- } from "../../chunks/mcp-yn2a71yh.js";
46
- import {
47
- ClientError3
48
- } from "../../chunks/mcp-nwcpakzx.js";
48
+ } from "../../chunks/pty-handoff-cvg5j6d1.js";
49
49
  export {
50
50
  ClientError3 as ClientError,
51
51
  exports_client4 as OpenCode,
@@ -478,12 +478,19 @@ export type ScheduleWhenCron = {
478
478
  cron: string;
479
479
  tz?: string;
480
480
  };
481
+ export type ScheduleConditionShell = {
482
+ type: "shell";
483
+ run: string;
484
+ is?: string;
485
+ matches?: string;
486
+ changes?: boolean;
487
+ };
481
488
  export type ScheduleActionPrompt = {
482
489
  type: "prompt";
483
490
  prompt: string;
484
491
  };
485
492
  export type ScheduleStatus = "active" | "paused" | "done";
486
- export type ScheduleOutcome = "fired" | "late" | "skipped" | "disabled" | "failed";
493
+ export type ScheduleOutcome = "fired" | "late" | "checked" | "expired" | "skipped" | "disabled" | "failed";
487
494
  export type ReferenceGitSource = {
488
495
  type: "git";
489
496
  repository: string;
@@ -1217,6 +1224,7 @@ export type ScheduleWhenEvery = {
1217
1224
  every: ScheduleDuration;
1218
1225
  tz?: string;
1219
1226
  };
1227
+ export type ScheduleCondition = ScheduleConditionShell;
1220
1228
  export type ScheduleAction = ScheduleActionPrompt;
1221
1229
  export type VcsInfo = {
1222
1230
  provider?: string;
@@ -3075,6 +3083,7 @@ export type SessionInfo = {
3075
3083
  time: {
3076
3084
  created: number;
3077
3085
  updated: number;
3086
+ busy?: number;
3078
3087
  idle?: number;
3079
3088
  viewed?: number;
3080
3089
  archived?: number;
@@ -3499,13 +3508,15 @@ export type CredentialEntry = {
3499
3508
  active: boolean;
3500
3509
  value: CredentialValue;
3501
3510
  };
3502
- export type FormFields2 = [FormField1, ...Array<FormField1>];
3511
+ export type FormFields1 = [FormField1, ...Array<FormField1>];
3503
3512
  export type ScheduleInfo = {
3504
3513
  id: ScheduleID;
3505
3514
  sessionID?: SessionID;
3506
3515
  name?: string;
3507
3516
  when: ScheduleWhen;
3508
3517
  tz: string;
3518
+ if?: ScheduleCondition;
3519
+ until?: ScheduleCondition;
3509
3520
  action: ScheduleAction;
3510
3521
  status: ScheduleStatus;
3511
3522
  nextDueAt?: number;
@@ -3514,6 +3525,7 @@ export type ScheduleInfo = {
3514
3525
  runCount: number;
3515
3526
  lastFiredAt?: number;
3516
3527
  lastOutcome?: ScheduleOutcome;
3528
+ lastOutput?: string;
3517
3529
  time: {
3518
3530
  created: number;
3519
3531
  updated: number;
@@ -3627,7 +3639,7 @@ export type FormInfo1 = {
3627
3639
  sessionID: string;
3628
3640
  title: string;
3629
3641
  metadata?: FormMetadata1;
3630
- fields: FormFields2;
3642
+ fields: FormFields1;
3631
3643
  };
3632
3644
  export type SessionMessageInfo = SessionMessageAgentSelected | SessionMessageModelSelected | SessionMessageLocationSwitched | SessionMessageUser | SessionMessageSynthetic | SessionMessageSystem | SessionMessageSkill | SessionMessageShell | SessionMessageAssistant | SessionMessageCompaction | SessionMessageIdle;
3633
3645
  export type IntegrationMethod = IntegrationOAuthMethod | IntegrationCommandMethod | IntegrationKeyMethod | IntegrationExternalMethod | IntegrationEnvMethod;
@@ -4101,6 +4113,12 @@ export type SessionPromptInput = {
4101
4113
  readonly text: string;
4102
4114
  readonly files?: ReadonlyArray<{
4103
4115
  readonly uri: string;
4116
+ readonly source?: {
4117
+ readonly type: "inline";
4118
+ } | {
4119
+ readonly type: "uri";
4120
+ readonly uri: string;
4121
+ };
4104
4122
  readonly name?: string;
4105
4123
  readonly description?: string;
4106
4124
  readonly mention?: {
@@ -4140,6 +4158,12 @@ export type SessionCommandInput = {
4140
4158
  readonly text: string;
4141
4159
  readonly files?: ReadonlyArray<{
4142
4160
  readonly uri: string;
4161
+ readonly source?: {
4162
+ readonly type: "inline";
4163
+ } | {
4164
+ readonly type: "uri";
4165
+ readonly uri: string;
4166
+ };
4143
4167
  readonly name?: string;
4144
4168
  readonly description?: string;
4145
4169
  readonly mention?: {
@@ -4551,6 +4575,7 @@ export type ExperimentalSessionImportInput = {
4551
4575
  readonly time: {
4552
4576
  readonly created: number;
4553
4577
  readonly updated: number;
4578
+ readonly busy?: number;
4554
4579
  readonly idle?: number;
4555
4580
  readonly viewed?: number;
4556
4581
  readonly archived?: number;
@@ -5348,7 +5373,7 @@ export type ExperimentalMediaGetOutput = globalThis.Uint8Array;
5348
5373
  export type ExperimentalScheduleCreateInput = {
5349
5374
  readonly sessionID: string;
5350
5375
  readonly name?: string | undefined;
5351
- readonly when: {
5376
+ readonly when?: ({
5352
5377
  readonly in: string;
5353
5378
  readonly at?: never;
5354
5379
  readonly every?: never;
@@ -5372,7 +5397,19 @@ export type ExperimentalScheduleCreateInput = {
5372
5397
  readonly at?: never;
5373
5398
  readonly every?: never;
5374
5399
  readonly tz?: string;
5375
- };
5400
+ }) | undefined;
5401
+ readonly if?: {
5402
+ readonly run: string;
5403
+ readonly is?: string;
5404
+ readonly matches?: string;
5405
+ readonly changes?: boolean;
5406
+ } | undefined;
5407
+ readonly until?: {
5408
+ readonly run: string;
5409
+ readonly is?: string;
5410
+ readonly matches?: string;
5411
+ readonly changes?: boolean;
5412
+ } | undefined;
5376
5413
  readonly ends?: {
5377
5414
  readonly after?: string;
5378
5415
  readonly at?: string;
@@ -38,7 +38,7 @@ import {
38
38
  isShellNotFoundError2,
39
39
  isWorktreeError2,
40
40
  isVcsInitNotSupportedError2
41
- } from "../../chunks/mcp-cvg5j6d1.js";
41
+ } from "../../chunks/pty-handoff-cvg5j6d1.js";
42
42
  export {
43
43
  isAgentNotFoundError2 as isAgentNotFoundError,
44
44
  isCommandExecutionError2 as isCommandExecutionError,
@@ -1,9 +1,13 @@
1
- import"../chunks/mcp-m2eywc8w.js";
1
+ import"../chunks/pty-handoff-m2eywc8w.js";
2
2
  import {
3
3
  exports_client3
4
- } from "../chunks/mcp-6v8v0sqq.js";
5
- import"../chunks/mcp-kdshn947.js";
6
- import"../chunks/mcp-vyas3vgt.js";
4
+ } from "../chunks/pty-handoff-wcnmkks2.js";
5
+ import"../chunks/pty-handoff-kdshn947.js";
6
+ import"../chunks/pty-handoff-vyas3vgt.js";
7
+ import"../chunks/pty-handoff-0e3ghr9a.js";
8
+ import {
9
+ ClientError3
10
+ } from "../chunks/pty-handoff-nwcpakzx.js";
7
11
  import {
8
12
  isInvalidRequestError2,
9
13
  isUnauthorizedError2,
@@ -44,12 +48,8 @@ import {
44
48
  isShellNotFoundError2,
45
49
  isWorktreeError2,
46
50
  isVcsInitNotSupportedError2
47
- } from "../chunks/mcp-cvg5j6d1.js";
48
- import"../chunks/mcp-yn2a71yh.js";
49
- import {
50
- ClientError3
51
- } from "../chunks/mcp-nwcpakzx.js";
52
- import"../chunks/mcp-gecjxyvt.js";
51
+ } from "../chunks/pty-handoff-cvg5j6d1.js";
52
+ import"../chunks/pty-handoff-gecjxyvt.js";
53
53
  export {
54
54
  ClientError3 as ClientError,
55
55
  exports_client3 as OpenCode,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  makeRpc2
3
- } from "../chunks/mcp-kdshn947.js";
4
- import"../chunks/mcp-cvg5j6d1.js";
3
+ } from "../chunks/pty-handoff-kdshn947.js";
4
+ import"../chunks/pty-handoff-cvg5j6d1.js";
5
5
  export {
6
6
  makeRpc2 as makeRpc
7
7
  };
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2
4
- } from "../chunks/mcp-ve4aws36.js";
4
+ } from "../chunks/pty-handoff-ve4aws36.js";
5
5
  import {
6
6
  defaultEnsureTiming2,
7
7
  ensureTiming2
8
- } from "../chunks/mcp-xgnj2w4v.js";
8
+ } from "../chunks/pty-handoff-xgnj2w4v.js";
9
9
  import {
10
10
  matchesVersion2
11
- } from "../chunks/mcp-sxt88q69.js";
11
+ } from "../chunks/pty-handoff-sxt88q69.js";
12
12
  import {
13
13
  decide2,
14
14
  fallback2,
15
15
  same2,
16
16
  probeResult2,
17
17
  headers2
18
- } from "../chunks/mcp-8ye1ye6f.js";
18
+ } from "../chunks/pty-handoff-8ye1ye6f.js";
19
19
  import {
20
20
  prepare2,
21
21
  environment2,
22
22
  complete2,
23
23
  clear2
24
- } from "../chunks/mcp-qhd5h5hk.js";
25
- import"../chunks/mcp-qav6mfdz.js";
24
+ } from "../chunks/pty-handoff-pgwvv4px.js";
25
+ import"../chunks/pty-handoff-qav6mfdz.js";
26
26
 
27
27
  // src/promise/service.ts
28
28
  import { readFile, rm } from "node:fs/promises";
@@ -4,10 +4,10 @@ import {
4
4
  complete2,
5
5
  clear2,
6
6
  exports_pty_handoff
7
- } from "./chunks/mcp-qhd5h5hk.js";
8
- import"./chunks/mcp-8ye1ye6f.js";
9
- import"./chunks/mcp-xgnj2w4v.js";
10
- import"./chunks/mcp-sxt88q69.js";
7
+ } from "./chunks/pty-handoff-pgwvv4px.js";
8
+ import"./chunks/pty-handoff-8ye1ye6f.js";
9
+ import"./chunks/pty-handoff-xgnj2w4v.js";
10
+ import"./chunks/pty-handoff-sxt88q69.js";
11
11
  export {
12
12
  exports_pty_handoff as PtyHandoff,
13
13
  clear2 as clear,
@@ -4,7 +4,7 @@ import {
4
4
  event2,
5
5
  eventType2,
6
6
  exports_rpc_runtime
7
- } from "./chunks/mcp-ryy6kscr.js";
7
+ } from "./chunks/pty-handoff-ryy6kscr.js";
8
8
  export {
9
9
  exports_rpc_runtime as RpcRuntime,
10
10
  event2 as event,
@@ -2,7 +2,7 @@ import {
2
2
  spawnServiceContender2,
3
3
  contenderPool2,
4
4
  contenderFinished2
5
- } from "./chunks/mcp-ve4aws36.js";
5
+ } from "./chunks/pty-handoff-ve4aws36.js";
6
6
  export {
7
7
  contenderFinished2 as contenderFinished,
8
8
  contenderPool2 as contenderPool,
@@ -4,9 +4,9 @@ import {
4
4
  same2,
5
5
  probeResult2,
6
6
  headers2
7
- } from "./chunks/mcp-8ye1ye6f.js";
8
- import"./chunks/mcp-xgnj2w4v.js";
9
- import"./chunks/mcp-sxt88q69.js";
7
+ } from "./chunks/pty-handoff-8ye1ye6f.js";
8
+ import"./chunks/pty-handoff-xgnj2w4v.js";
9
+ import"./chunks/pty-handoff-sxt88q69.js";
10
10
  export {
11
11
  decide2 as decide,
12
12
  fallback2 as fallback,
@@ -2,7 +2,7 @@ import {
2
2
  defaultEnsureTiming2,
3
3
  ensureTiming2,
4
4
  withEnsureTiming2
5
- } from "./chunks/mcp-xgnj2w4v.js";
5
+ } from "./chunks/pty-handoff-xgnj2w4v.js";
6
6
  export {
7
7
  defaultEnsureTiming2 as defaultEnsureTiming,
8
8
  ensureTiming2 as ensureTiming,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  matchesVersion2
3
- } from "./chunks/mcp-sxt88q69.js";
3
+ } from "./chunks/pty-handoff-sxt88q69.js";
4
4
  export {
5
5
  matchesVersion2 as matchesVersion
6
6
  };
package/dist/service.js CHANGED
@@ -1 +1 @@
1
- import"./chunks/mcp-qav6mfdz.js";
1
+ import"./chunks/pty-handoff-qav6mfdz.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  make7,
3
3
  exports_shared_events
4
- } from "./chunks/mcp-gecjxyvt.js";
4
+ } from "./chunks/pty-handoff-gecjxyvt.js";
5
5
  export {
6
6
  exports_shared_events as SharedEvents,
7
7
  make7 as make
@@ -2,7 +2,7 @@ import {
2
2
  defaultIdleTimeout2,
3
3
  foregroundIdleThreshold2,
4
4
  createClientConnection2
5
- } from "../chunks/mcp-ydhz1zrh.js";
5
+ } from "../chunks/pty-handoff-ydhz1zrh.js";
6
6
  export {
7
7
  createClientConnection2 as createClientConnection,
8
8
  defaultIdleTimeout2 as defaultIdleTimeout,
@@ -2,15 +2,15 @@ import {
2
2
  settleMs2,
3
3
  locationKey2,
4
4
  createData2
5
- } from "../chunks/mcp-csehnca4.js";
6
- import"../chunks/mcp-m2eywc8w.js";
7
- import"../chunks/mcp-6v8v0sqq.js";
8
- import"../chunks/mcp-kdshn947.js";
9
- import"../chunks/mcp-vyas3vgt.js";
10
- import"../chunks/mcp-cvg5j6d1.js";
11
- import"../chunks/mcp-yn2a71yh.js";
12
- import"../chunks/mcp-nwcpakzx.js";
13
- import"../chunks/mcp-gecjxyvt.js";
5
+ } from "../chunks/pty-handoff-f6hq5twr.js";
6
+ import"../chunks/pty-handoff-m2eywc8w.js";
7
+ import"../chunks/pty-handoff-wcnmkks2.js";
8
+ import"../chunks/pty-handoff-kdshn947.js";
9
+ import"../chunks/pty-handoff-vyas3vgt.js";
10
+ import"../chunks/pty-handoff-0e3ghr9a.js";
11
+ import"../chunks/pty-handoff-nwcpakzx.js";
12
+ import"../chunks/pty-handoff-cvg5j6d1.js";
13
+ import"../chunks/pty-handoff-gecjxyvt.js";
14
14
  export {
15
15
  createData2 as createData,
16
16
  locationKey2 as locationKey,
@@ -1,31 +1,31 @@
1
- import"../chunks/mcp-nwcpakzx.js";
2
- import"../chunks/mcp-yn2a71yh.js";
3
- import"../chunks/mcp-cvg5j6d1.js";
4
- import"../chunks/mcp-vyas3vgt.js";
5
- import"../chunks/mcp-gecjxyvt.js";
6
- import"../chunks/mcp-kdshn947.js";
7
- import"../chunks/mcp-6v8v0sqq.js";
8
- import"../chunks/mcp-m2eywc8w.js";
1
+ import"../chunks/pty-handoff-nwcpakzx.js";
2
+ import"../chunks/pty-handoff-0e3ghr9a.js";
3
+ import"../chunks/pty-handoff-cvg5j6d1.js";
4
+ import"../chunks/pty-handoff-vyas3vgt.js";
5
+ import"../chunks/pty-handoff-gecjxyvt.js";
6
+ import"../chunks/pty-handoff-kdshn947.js";
7
+ import"../chunks/pty-handoff-wcnmkks2.js";
8
+ import"../chunks/pty-handoff-m2eywc8w.js";
9
9
  import {
10
10
  settleMs2,
11
11
  locationKey2,
12
12
  createData2
13
- } from "../chunks/mcp-csehnca4.js";
13
+ } from "../chunks/pty-handoff-f6hq5twr.js";
14
14
  import {
15
15
  defaultIdleTimeout2,
16
16
  foregroundIdleThreshold2,
17
17
  createClientConnection2
18
- } from "../chunks/mcp-ydhz1zrh.js";
18
+ } from "../chunks/pty-handoff-ydhz1zrh.js";
19
19
  import {
20
20
  createPtyClient2,
21
21
  createPersistentPtyClient2
22
- } from "../chunks/mcp-gne7h7mq.js";
22
+ } from "../chunks/pty-handoff-gne7h7mq.js";
23
23
  import {
24
24
  createSessionRetention2
25
- } from "../chunks/mcp-6mq2wh8y.js";
25
+ } from "../chunks/pty-handoff-6mq2wh8y.js";
26
26
  import {
27
27
  lastAssistantWithUsage2
28
- } from "../chunks/mcp-8s2anffy.js";
28
+ } from "../chunks/pty-handoff-8s2anffy.js";
29
29
  export {
30
30
  createClientConnection2 as createClientConnection,
31
31
  createData2 as createData,
package/dist/solid/pty.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createPtyClient2,
3
3
  createPersistentPtyClient2
4
- } from "../chunks/mcp-gne7h7mq.js";
4
+ } from "../chunks/pty-handoff-gne7h7mq.js";
5
5
  export {
6
6
  createPersistentPtyClient2 as createPersistentPtyClient,
7
7
  createPtyClient2 as createPtyClient
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createSessionRetention2
3
- } from "../chunks/mcp-6mq2wh8y.js";
3
+ } from "../chunks/pty-handoff-6mq2wh8y.js";
4
4
  export {
5
5
  createSessionRetention2 as createSessionRetention
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  lastAssistantWithUsage2
3
- } from "../chunks/mcp-8s2anffy.js";
3
+ } from "../chunks/pty-handoff-8s2anffy.js";
4
4
  export {
5
5
  lastAssistantWithUsage2 as lastAssistantWithUsage
6
6
  };
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.2.1",
4
+ "version": "2.2.2",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -63,11 +63,11 @@
63
63
  "typecheck:tsc": "tsc --noEmit"
64
64
  },
65
65
  "dependencies": {
66
- "@opencode/schema": "2.2.1",
67
- "@opencode/protocol": "2.2.1"
66
+ "@opencode/schema": "2.2.2",
67
+ "@opencode/protocol": "2.2.2"
68
68
  },
69
69
  "peerDependencies": {
70
- "effect": "4.0.1",
70
+ "effect": "4.0.6",
71
71
  "solid-js": ">=1.9.0"
72
72
  },
73
73
  "peerDependenciesMeta": {
@@ -79,13 +79,13 @@
79
79
  }
80
80
  },
81
81
  "devDependencies": {
82
- "@effect/platform-node": "4.0.1",
82
+ "@effect/platform-node": "4.0.6",
83
83
  "@modelcontextprotocol/client": "2.3.1",
84
- "@opencode/httpapi-codegen": "2.2.1",
84
+ "@opencode/httpapi-codegen": "2.2.2",
85
85
  "@tsconfig/bun": "1.0.9",
86
86
  "@types/bun": "1.4.3",
87
87
  "@typescript/native": "npm:typescript@7.1.0-beta",
88
- "effect": "4.0.1",
88
+ "effect": "4.0.6",
89
89
  "solid-js": "1.9.17"
90
90
  }
91
91
  }