@opencode/client 2.3.0 → 2.3.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.
- package/dist/chunks/{contract-15p82y03.js → service-timing-15p82y03.js} +2 -2
- package/dist/chunks/{contract-ec62es4n.js → service-timing-57ewgbn2.js} +2 -2
- package/dist/chunks/{contract-sdjh9vmn.js → service-timing-6hqrj29e.js} +5 -3
- package/dist/chunks/{contract-8ye1ye6f.js → service-timing-8ye1ye6f.js} +2 -2
- package/dist/chunks/{contract-qdgaygb4.js → service-timing-d300ns9h.js} +51 -15
- package/dist/chunks/{contract-gecjxyvt.js → service-timing-gecjxyvt.js} +1 -1
- package/dist/chunks/{contract-2n8q20a3.js → service-timing-mghtrbnp.js} +5 -5
- package/dist/chunks/{contract-tztyfz1b.js → service-timing-mqnb71k6.js} +1 -1
- package/dist/chunks/{contract-yk5evh6f.js → service-timing-nr9zca37.js} +35 -21
- package/dist/chunks/{contract-ryy6kscr.js → service-timing-ryy6kscr.js} +1 -1
- package/dist/chunks/{contract-b5ykzypt.js → service-timing-srved1k0.js} +4 -4
- package/dist/chunks/{contract-xqwq6bgr.js → service-timing-xafd70ys.js} +1 -1
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +60 -38
- package/dist/effect/client.d.ts +11 -239
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- package/dist/effect/generated/client.d.ts +12 -240
- package/dist/effect/generated/client.js +3 -3
- package/dist/effect/generated/index.js +4 -4
- package/dist/effect/index.js +8 -8
- package/dist/effect/rpc.js +2 -2
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.d.ts +14 -7
- package/dist/promise/client.js +7 -7
- package/dist/promise/generated/client-error.js +1 -1
- package/dist/promise/generated/client.d.ts +15 -8
- package/dist/promise/generated/client.js +2 -2
- package/dist/promise/generated/index.js +11 -7
- package/dist/promise/generated/types.d.ts +209 -135
- package/dist/promise/generated/types.js +8 -4
- package/dist/promise/index.js +19 -15
- package/dist/promise/media.d.ts +14 -7
- package/dist/promise/media.js +1 -1
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +6 -6
- package/dist/pty-handoff.js +4 -4
- 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 +10 -10
- package/dist/solid/index.js +14 -14
- package/dist/solid/pty.js +1 -1
- package/dist/solid/retention.js +1 -1
- package/dist/solid/usage.js +1 -1
- package/package.json +4 -4
- /package/dist/chunks/{contract-3eaz3m83.js → service-timing-3eaz3m83.js} +0 -0
- /package/dist/chunks/{contract-60xe5cbf.js → service-timing-60xe5cbf.js} +0 -0
- /package/dist/chunks/{contract-6mptkzbc.js → service-timing-6mptkzbc.js} +0 -0
- /package/dist/chunks/{contract-6mq2wh8y.js → service-timing-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{contract-6r38tsk5.js → service-timing-6r38tsk5.js} +0 -0
- /package/dist/chunks/{contract-8s2anffy.js → service-timing-8s2anffy.js} +0 -0
- /package/dist/chunks/{contract-9rqn6x4v.js → service-timing-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{contract-mwrzahmf.js → service-timing-mwrzahmf.js} +0 -0
- /package/dist/chunks/{contract-nwcpakzx.js → service-timing-nwcpakzx.js} +0 -0
- /package/dist/chunks/{contract-qav6mfdz.js → service-timing-qav6mfdz.js} +0 -0
- /package/dist/chunks/{contract-sxt88q69.js → service-timing-sxt88q69.js} +0 -0
- /package/dist/chunks/{contract-ve4aws36.js → service-timing-ve4aws36.js} +0 -0
- /package/dist/chunks/{contract-vyas3vgt.js → service-timing-vyas3vgt.js} +0 -0
- /package/dist/chunks/{contract-xgnj2w4v.js → service-timing-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{contract-y2etg5bs.js → service-timing-y2etg5bs.js} +0 -0
- /package/dist/chunks/{contract-ydhz1zrh.js → service-timing-ydhz1zrh.js} +0 -0
package/dist/effect/client.d.ts
CHANGED
|
@@ -41,245 +41,13 @@ export declare const make: (options?: {
|
|
|
41
41
|
remove: (input: import("./api.js").ExperimentalPersistentPtyRemoveInput) => Effect.Effect<void, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
42
42
|
connectToken: (input: import("./api.js").ExperimentalPersistentPtyConnectTokenInput) => Effect.Effect<import("@opencode/schema/pty-ticket").ConnectToken, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").PtyNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
43
43
|
};
|
|
44
|
-
|
|
45
|
-
create: (input: import("./api.js").
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
readonly type: "in";
|
|
52
|
-
readonly in: string;
|
|
53
|
-
} | {
|
|
54
|
-
readonly tz?: string | undefined;
|
|
55
|
-
readonly type: "at";
|
|
56
|
-
readonly at: string;
|
|
57
|
-
} | {
|
|
58
|
-
readonly tz?: string | undefined;
|
|
59
|
-
readonly type: "every";
|
|
60
|
-
readonly every: string;
|
|
61
|
-
} | {
|
|
62
|
-
readonly tz?: string | undefined;
|
|
63
|
-
readonly type: "cron";
|
|
64
|
-
readonly cron: string;
|
|
65
|
-
};
|
|
66
|
-
readonly tz: string;
|
|
67
|
-
readonly if?: {
|
|
68
|
-
readonly type: "code";
|
|
69
|
-
readonly code: string;
|
|
70
|
-
} | {
|
|
71
|
-
readonly type: "shell";
|
|
72
|
-
readonly run: string;
|
|
73
|
-
readonly is?: string | undefined;
|
|
74
|
-
readonly matches?: string | undefined;
|
|
75
|
-
readonly changes?: boolean | undefined;
|
|
76
|
-
} | undefined;
|
|
77
|
-
readonly until?: {
|
|
78
|
-
readonly type: "code";
|
|
79
|
-
readonly code: string;
|
|
80
|
-
} | {
|
|
81
|
-
readonly type: "shell";
|
|
82
|
-
readonly run: string;
|
|
83
|
-
readonly is?: string | undefined;
|
|
84
|
-
readonly matches?: string | undefined;
|
|
85
|
-
readonly changes?: boolean | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
readonly action: {
|
|
88
|
-
readonly type: "prompt";
|
|
89
|
-
readonly prompt: string;
|
|
90
|
-
};
|
|
91
|
-
readonly status: "active" | "done" | "paused";
|
|
92
|
-
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
93
|
-
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
94
|
-
readonly remainingRuns?: number | undefined;
|
|
95
|
-
readonly runCount: number;
|
|
96
|
-
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
97
|
-
readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
98
|
-
readonly lastOutput?: string | undefined;
|
|
99
|
-
readonly time: {
|
|
100
|
-
readonly created: import("effect/DateTime").Utc;
|
|
101
|
-
readonly updated: import("effect/DateTime").Utc;
|
|
102
|
-
};
|
|
103
|
-
}, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
104
|
-
list: (input: import("./api.js").ExperimentalScheduleListInput) => Effect.Effect<import("./api.js").ExperimentalScheduleListOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
105
|
-
get: (input: import("./api.js").ExperimentalScheduleGetInput) => Effect.Effect<{
|
|
106
|
-
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
107
|
-
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
108
|
-
readonly name?: string | undefined;
|
|
109
|
-
readonly when: {
|
|
110
|
-
readonly tz?: string | undefined;
|
|
111
|
-
readonly type: "in";
|
|
112
|
-
readonly in: string;
|
|
113
|
-
} | {
|
|
114
|
-
readonly tz?: string | undefined;
|
|
115
|
-
readonly type: "at";
|
|
116
|
-
readonly at: string;
|
|
117
|
-
} | {
|
|
118
|
-
readonly tz?: string | undefined;
|
|
119
|
-
readonly type: "every";
|
|
120
|
-
readonly every: string;
|
|
121
|
-
} | {
|
|
122
|
-
readonly tz?: string | undefined;
|
|
123
|
-
readonly type: "cron";
|
|
124
|
-
readonly cron: string;
|
|
125
|
-
};
|
|
126
|
-
readonly tz: string;
|
|
127
|
-
readonly if?: {
|
|
128
|
-
readonly type: "code";
|
|
129
|
-
readonly code: string;
|
|
130
|
-
} | {
|
|
131
|
-
readonly type: "shell";
|
|
132
|
-
readonly run: string;
|
|
133
|
-
readonly is?: string | undefined;
|
|
134
|
-
readonly matches?: string | undefined;
|
|
135
|
-
readonly changes?: boolean | undefined;
|
|
136
|
-
} | undefined;
|
|
137
|
-
readonly until?: {
|
|
138
|
-
readonly type: "code";
|
|
139
|
-
readonly code: string;
|
|
140
|
-
} | {
|
|
141
|
-
readonly type: "shell";
|
|
142
|
-
readonly run: string;
|
|
143
|
-
readonly is?: string | undefined;
|
|
144
|
-
readonly matches?: string | undefined;
|
|
145
|
-
readonly changes?: boolean | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
readonly action: {
|
|
148
|
-
readonly type: "prompt";
|
|
149
|
-
readonly prompt: string;
|
|
150
|
-
};
|
|
151
|
-
readonly status: "active" | "done" | "paused";
|
|
152
|
-
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
153
|
-
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
154
|
-
readonly remainingRuns?: number | undefined;
|
|
155
|
-
readonly runCount: number;
|
|
156
|
-
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
157
|
-
readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
158
|
-
readonly lastOutput?: string | undefined;
|
|
159
|
-
readonly time: {
|
|
160
|
-
readonly created: import("effect/DateTime").Utc;
|
|
161
|
-
readonly updated: import("effect/DateTime").Utc;
|
|
162
|
-
};
|
|
163
|
-
}, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ScheduleNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
164
|
-
pause: (input: import("./api.js").ExperimentalSchedulePauseInput) => Effect.Effect<{
|
|
165
|
-
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
166
|
-
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
167
|
-
readonly name?: string | undefined;
|
|
168
|
-
readonly when: {
|
|
169
|
-
readonly tz?: string | undefined;
|
|
170
|
-
readonly type: "in";
|
|
171
|
-
readonly in: string;
|
|
172
|
-
} | {
|
|
173
|
-
readonly tz?: string | undefined;
|
|
174
|
-
readonly type: "at";
|
|
175
|
-
readonly at: string;
|
|
176
|
-
} | {
|
|
177
|
-
readonly tz?: string | undefined;
|
|
178
|
-
readonly type: "every";
|
|
179
|
-
readonly every: string;
|
|
180
|
-
} | {
|
|
181
|
-
readonly tz?: string | undefined;
|
|
182
|
-
readonly type: "cron";
|
|
183
|
-
readonly cron: string;
|
|
184
|
-
};
|
|
185
|
-
readonly tz: string;
|
|
186
|
-
readonly if?: {
|
|
187
|
-
readonly type: "code";
|
|
188
|
-
readonly code: string;
|
|
189
|
-
} | {
|
|
190
|
-
readonly type: "shell";
|
|
191
|
-
readonly run: string;
|
|
192
|
-
readonly is?: string | undefined;
|
|
193
|
-
readonly matches?: string | undefined;
|
|
194
|
-
readonly changes?: boolean | undefined;
|
|
195
|
-
} | undefined;
|
|
196
|
-
readonly until?: {
|
|
197
|
-
readonly type: "code";
|
|
198
|
-
readonly code: string;
|
|
199
|
-
} | {
|
|
200
|
-
readonly type: "shell";
|
|
201
|
-
readonly run: string;
|
|
202
|
-
readonly is?: string | undefined;
|
|
203
|
-
readonly matches?: string | undefined;
|
|
204
|
-
readonly changes?: boolean | undefined;
|
|
205
|
-
} | undefined;
|
|
206
|
-
readonly action: {
|
|
207
|
-
readonly type: "prompt";
|
|
208
|
-
readonly prompt: string;
|
|
209
|
-
};
|
|
210
|
-
readonly status: "active" | "done" | "paused";
|
|
211
|
-
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
212
|
-
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
213
|
-
readonly remainingRuns?: number | undefined;
|
|
214
|
-
readonly runCount: number;
|
|
215
|
-
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
216
|
-
readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
217
|
-
readonly lastOutput?: string | undefined;
|
|
218
|
-
readonly time: {
|
|
219
|
-
readonly created: import("effect/DateTime").Utc;
|
|
220
|
-
readonly updated: import("effect/DateTime").Utc;
|
|
221
|
-
};
|
|
222
|
-
}, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ScheduleNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
223
|
-
resume: (input: import("./api.js").ExperimentalScheduleResumeInput) => Effect.Effect<{
|
|
224
|
-
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
225
|
-
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
226
|
-
readonly name?: string | undefined;
|
|
227
|
-
readonly when: {
|
|
228
|
-
readonly tz?: string | undefined;
|
|
229
|
-
readonly type: "in";
|
|
230
|
-
readonly in: string;
|
|
231
|
-
} | {
|
|
232
|
-
readonly tz?: string | undefined;
|
|
233
|
-
readonly type: "at";
|
|
234
|
-
readonly at: string;
|
|
235
|
-
} | {
|
|
236
|
-
readonly tz?: string | undefined;
|
|
237
|
-
readonly type: "every";
|
|
238
|
-
readonly every: string;
|
|
239
|
-
} | {
|
|
240
|
-
readonly tz?: string | undefined;
|
|
241
|
-
readonly type: "cron";
|
|
242
|
-
readonly cron: string;
|
|
243
|
-
};
|
|
244
|
-
readonly tz: string;
|
|
245
|
-
readonly if?: {
|
|
246
|
-
readonly type: "code";
|
|
247
|
-
readonly code: string;
|
|
248
|
-
} | {
|
|
249
|
-
readonly type: "shell";
|
|
250
|
-
readonly run: string;
|
|
251
|
-
readonly is?: string | undefined;
|
|
252
|
-
readonly matches?: string | undefined;
|
|
253
|
-
readonly changes?: boolean | undefined;
|
|
254
|
-
} | undefined;
|
|
255
|
-
readonly until?: {
|
|
256
|
-
readonly type: "code";
|
|
257
|
-
readonly code: string;
|
|
258
|
-
} | {
|
|
259
|
-
readonly type: "shell";
|
|
260
|
-
readonly run: string;
|
|
261
|
-
readonly is?: string | undefined;
|
|
262
|
-
readonly matches?: string | undefined;
|
|
263
|
-
readonly changes?: boolean | undefined;
|
|
264
|
-
} | undefined;
|
|
265
|
-
readonly action: {
|
|
266
|
-
readonly type: "prompt";
|
|
267
|
-
readonly prompt: string;
|
|
268
|
-
};
|
|
269
|
-
readonly status: "active" | "done" | "paused";
|
|
270
|
-
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
271
|
-
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
272
|
-
readonly remainingRuns?: number | undefined;
|
|
273
|
-
readonly runCount: number;
|
|
274
|
-
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
275
|
-
readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
276
|
-
readonly lastOutput?: string | undefined;
|
|
277
|
-
readonly time: {
|
|
278
|
-
readonly created: import("effect/DateTime").Utc;
|
|
279
|
-
readonly updated: import("effect/DateTime").Utc;
|
|
280
|
-
};
|
|
281
|
-
}, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ScheduleNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
282
|
-
delete: (input: import("./api.js").ExperimentalScheduleDeleteInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ScheduleNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
44
|
+
automation: {
|
|
45
|
+
create: (input: import("./api.js").ExperimentalAutomationCreateInput) => Effect.Effect<import("@opencode/schema/automation").Info, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
46
|
+
list: (input?: import("./api.js").ExperimentalAutomationListInput) => Effect.Effect<import("./api.js").ExperimentalAutomationListOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
47
|
+
get: (input: import("./api.js").ExperimentalAutomationGetInput) => Effect.Effect<import("@opencode/schema/automation").Info, import("@opencode/protocol/errors").AutomationNotFoundError | ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
48
|
+
pause: (input: import("./api.js").ExperimentalAutomationPauseInput) => Effect.Effect<import("@opencode/schema/automation").Info, import("@opencode/protocol/errors").AutomationNotFoundError | ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
49
|
+
resume: (input: import("./api.js").ExperimentalAutomationResumeInput) => Effect.Effect<import("@opencode/schema/automation").Info, import("@opencode/protocol/errors").AutomationNotFoundError | ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
50
|
+
delete: (input: import("./api.js").ExperimentalAutomationDeleteInput) => Effect.Effect<void, import("@opencode/protocol/errors").AutomationNotFoundError | ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
283
51
|
};
|
|
284
52
|
artifacts: {
|
|
285
53
|
providers: (input?: import("./api.js").ExperimentalArtifactsProvidersInput) => Effect.Effect<import("./api.js").ExperimentalArtifactsProvidersOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
@@ -310,6 +78,10 @@ export declare const make: (options?: {
|
|
|
310
78
|
generate: {
|
|
311
79
|
text: (input: import("./api.js").ExperimentalGenerateTextInput) => Effect.Effect<import("./api.js").ExperimentalGenerateTextOutput, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ModelNotFoundError | import("@opencode/protocol/errors").ProviderNotFoundError | import("@opencode/protocol/errors").ProviderRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnsupportedModelError, never>;
|
|
312
80
|
image: (input: import("./api.js").ExperimentalGenerateImageInput) => Effect.Effect<import("@opencode/schema/generate").ImageResult, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ModelNotFoundError | import("@opencode/protocol/errors").ProviderNotFoundError | import("@opencode/protocol/errors").ProviderRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnsupportedModelError, never>;
|
|
81
|
+
video: {
|
|
82
|
+
create: (input: import("./api.js").ExperimentalGenerateVideoCreateInput) => Effect.Effect<import("@opencode/schema/generate").VideoRunning, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ModelNotFoundError | import("@opencode/protocol/errors").ProviderNotFoundError | import("@opencode/protocol/errors").ProviderRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnsupportedModelError, never>;
|
|
83
|
+
get: (input: import("./api.js").ExperimentalGenerateVideoGetInput) => Effect.Effect<import("@opencode/schema/generate").VideoJob, ClientError | import("@opencode/protocol/errors").ForbiddenError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").VideoNotFoundError, never>;
|
|
84
|
+
};
|
|
313
85
|
decisions: (input: import("./api.js").ExperimentalGenerateDecisionsInput) => Effect.Effect<import("@opencode/schema/generate").DecisionResult, ClientError | import("effect/http/HttpClientError").HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ModelNotFoundError | import("@opencode/protocol/errors").ProviderNotFoundError | import("@opencode/protocol/errors").ProviderRequestError | import("effect/Schema").SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnsupportedModelError, never>;
|
|
314
86
|
};
|
|
315
87
|
voice: {
|
package/dist/effect/client.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make2,
|
|
3
3
|
exports_client
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/service-timing-mghtrbnp.js";
|
|
5
|
+
import"../chunks/service-timing-15p82y03.js";
|
|
6
|
+
import"../chunks/service-timing-6mptkzbc.js";
|
|
7
|
+
import"../chunks/service-timing-nr9zca37.js";
|
|
8
|
+
import"../chunks/service-timing-y2etg5bs.js";
|
|
9
|
+
import"../chunks/service-timing-ryy6kscr.js";
|
|
10
|
+
import"../chunks/service-timing-60xe5cbf.js";
|
|
11
|
+
import"../chunks/service-timing-gecjxyvt.js";
|
|
12
12
|
export {
|
|
13
13
|
exports_client as OpenCode,
|
|
14
14
|
make2 as make
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Effect, Stream, Schema } from "effect";
|
|
2
2
|
import { Sse } from "effect/encoding";
|
|
3
3
|
import { HttpClientError } from "effect/http";
|
|
4
|
-
import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginGuiInput, PluginGuiOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionCreateInput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionGenerateInput, SessionGenerateOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, ExperimentalSessionStatsInput, ExperimentalSessionStatsOutput, ExperimentalSessionImportInput, ExperimentalSessionExportInput, ExperimentalSessionExportOutput, ExperimentalSessionSkillInput, ExperimentalSessionWaitInput, ExperimentalSessionInstructionsEntryListInput, ExperimentalSessionInstructionsEntryListOutput, ExperimentalSessionInstructionsEntryPutInput, ExperimentalSessionInstructionsEntryRemoveInput, ExperimentalSessionLogInput, ExperimentalSessionLogOutput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, ExperimentalGenerateTextInput, ExperimentalGenerateTextOutput, ExperimentalGenerateImageInput, ExperimentalGenerateDecisionsInput, ExperimentalVoiceModelsOutput, ExperimentalVoiceSessionInput, ExperimentalVoiceSessionOutput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, ExperimentalIntegrationWellknownAddInput, McpListInput, McpListOutput, McpResourceCatalogInput, McpResourceCatalogOutput, ExperimentalMcpAddInput, ExperimentalMcpRemoveInput, ExperimentalMcpConnectInput, ExperimentalMcpDisconnectInput, ExperimentalMcpClientTokenInput, ExperimentalMcpClientTokenOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, ExperimentalFileWatchInput, ExperimentalFileUnwatchInput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, EventSubscribeInput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput,
|
|
4
|
+
import type { ServerInfoOutput, ServerPairOutput, ServerConnectInput, ServerConnectOutput, LocationGetInput, AgentListInput, AgentListOutput, AgentGetInput, AgentGetOutput, PluginListInput, PluginListOutput, PluginGuiInput, PluginGuiOutput, PluginCheckInput, PluginCheckOutput, PluginUpdateInput, SessionListInput, SessionListOutput, SessionCreateInput, SessionActiveOutput, SessionGetInput, SessionRemoveInput, SessionForkInput, SessionSwitchAgentInput, SessionSwitchModelInput, SessionUpdateInput, SessionMoveInput, SessionPromptInput, SessionCommandInput, SessionSyntheticInput, SessionShellInput, SessionCompactInput, SessionRevertStageInput, SessionRevertClearInput, SessionRevertCommitInput, SessionContextInput, SessionContextOutput, SessionDiffInput, SessionDiffOutput, SessionInboxListInput, SessionInboxListOutput, SessionInboxCancelInput, SessionInboxUpdateInput, SessionGenerateInput, SessionGenerateOutput, SessionInterruptInput, SessionInterruptOutput, SessionBackgroundInput, SessionMessageGetInput, SessionFormListInput, SessionFormListOutput, SessionFormCreateInput, SessionFormGetInput, SessionFormReplyInput, SessionFormCancelInput, SessionEnvironmentInput, SessionViewInput, ExperimentalSessionStatsInput, ExperimentalSessionStatsOutput, ExperimentalSessionImportInput, ExperimentalSessionExportInput, ExperimentalSessionExportOutput, ExperimentalSessionSkillInput, ExperimentalSessionWaitInput, ExperimentalSessionInstructionsEntryListInput, ExperimentalSessionInstructionsEntryListOutput, ExperimentalSessionInstructionsEntryPutInput, ExperimentalSessionInstructionsEntryRemoveInput, ExperimentalSessionLogInput, ExperimentalSessionLogOutput, MessageListInput, MessageListOutput, ModelListInput, ModelListOutput, ModelDefaultInput, ModelDefaultOutput, ExperimentalGenerateTextInput, ExperimentalGenerateTextOutput, ExperimentalGenerateImageInput, ExperimentalGenerateVideoCreateInput, ExperimentalGenerateVideoGetInput, ExperimentalGenerateDecisionsInput, ExperimentalVoiceModelsOutput, ExperimentalVoiceSessionInput, ExperimentalVoiceSessionOutput, ProviderListInput, ProviderListOutput, ProviderGetInput, ProviderGetOutput, IntegrationListInput, IntegrationListOutput, IntegrationGetInput, IntegrationGetOutput, IntegrationConnectKeyInput, IntegrationConnectExternalInput, IntegrationOauthConnectInput, IntegrationOauthConnectOutput, IntegrationOauthStatusInput, IntegrationOauthStatusOutput, IntegrationOauthCompleteInput, IntegrationOauthCancelInput, IntegrationCommandConnectInput, IntegrationCommandConnectOutput, IntegrationCommandStatusInput, IntegrationCommandStatusOutput, IntegrationCommandCancelInput, ExperimentalIntegrationWellknownAddInput, McpListInput, McpListOutput, McpResourceCatalogInput, McpResourceCatalogOutput, ExperimentalMcpAddInput, ExperimentalMcpRemoveInput, ExperimentalMcpConnectInput, ExperimentalMcpDisconnectInput, ExperimentalMcpClientTokenInput, ExperimentalMcpClientTokenOutput, CredentialListOutput, CredentialCreateInput, CredentialUpdateInput, CredentialActivateInput, CredentialRemoveInput, ProjectListInput, ProjectListOutput, ProjectUpdateInput, FormListInput, FormListOutput, PermissionRequestListInput, PermissionRequestListOutput, PermissionSavedListInput, PermissionSavedListOutput, PermissionSavedUpdateInput, PermissionSavedRemoveInput, PermissionCreateInput, PermissionCreateOutput, PermissionListInput, PermissionListOutput, PermissionGetInput, PermissionReplyInput, FileListInput, FileListOutput, FileFindInput, FileFindOutput, ExperimentalFileWatchInput, ExperimentalFileUnwatchInput, CommandListInput, CommandListOutput, SkillListInput, SkillListOutput, RpcCallInput, RpcCallOutput, EventSubscribeInput, PtyListInput, PtyListOutput, PtyCreateInput, PtyCreateOutput, PtyGetInput, PtyGetOutput, PtyUpdateInput, PtyUpdateOutput, PtyRemoveInput, PtyConnectTokenInput, PtyConnectTokenOutput, ExperimentalPersistentPtyReadInput, ExperimentalPersistentPtyReadOutput, ExperimentalPersistentPtyListInput, ExperimentalPersistentPtyListOutput, ExperimentalPersistentPtyCreateInput, ExperimentalPersistentPtyCreateOutput, ExperimentalPersistentPtyHandoffOutput, ExperimentalPersistentPtyGetInput, ExperimentalPersistentPtyGetOutput, ExperimentalPersistentPtyUpdateInput, ExperimentalPersistentPtyUpdateOutput, ExperimentalPersistentPtySnapshotInput, ExperimentalPersistentPtySnapshotOutput, ExperimentalPersistentPtyRemoveInput, ExperimentalPersistentPtyConnectTokenInput, ExperimentalAutomationCreateInput, ExperimentalAutomationListInput, ExperimentalAutomationListOutput, ExperimentalAutomationGetInput, ExperimentalAutomationPauseInput, ExperimentalAutomationResumeInput, ExperimentalAutomationDeleteInput, ExperimentalArtifactsProvidersInput, ExperimentalArtifactsProvidersOutput, ExperimentalArtifactsListInput, ExperimentalArtifactsListOutput, ExperimentalArtifactsCreateInput, ExperimentalArtifactsCreateOutput, ExperimentalArtifactsGetInput, ExperimentalArtifactsGetOutput, ExperimentalArtifactsUpdateInput, ExperimentalArtifactsUpdateOutput, ExperimentalArtifactsDeleteInput, ExperimentalJobListInput, ExperimentalJobListOutput, ShellListInput, ShellListOutput, ShellCreateInput, ShellCreateOutput, ShellGetInput, ShellGetOutput, ShellOutputInput, ShellOutputOutput, ShellRemoveInput, ReferenceListInput, ReferenceListOutput, WorktreeListInput, WorktreeCreateInput, WorktreeRemoveInput, WorktreeRefreshInput, VcsInitInput, VcsGetInput, VcsGetOutput, VcsBaseInput, VcsBaseOutput, VcsStatusInput, VcsStatusOutput, VcsBranchListInput, VcsBranchListOutput, VcsDiffInput, VcsDiffOutput, DebugHeapDumpInput, DebugHeapDumpOutput, DebugLocationListOutput, DebugLocationEvictInput, ExperimentalMigrationV1StatusOutput, WebsearchProvidersInput, WebsearchProvidersOutput, WebsearchQueryInput, WebsearchQueryOutput, ExperimentalUsageLimitsInput, ExperimentalUsageLimitsOutput, ConfigGetInput, ConfigGetOutput, ConfigShellsOutput, ExperimentalConfigUpdateInput } from "../api/api.js";
|
|
5
5
|
import { ClientError } from "./client-error.js";
|
|
6
6
|
export declare const make: (options?: {
|
|
7
7
|
readonly baseUrl?: URL | string;
|
|
@@ -38,245 +38,13 @@ export declare const make: (options?: {
|
|
|
38
38
|
remove: (input: ExperimentalPersistentPtyRemoveInput) => Effect.Effect<void, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
39
39
|
connectToken: (input: ExperimentalPersistentPtyConnectTokenInput) => Effect.Effect<import("@opencode/schema/pty-ticket").ConnectToken, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").PtyNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
40
40
|
};
|
|
41
|
-
|
|
42
|
-
create: (input:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
readonly type: "in";
|
|
49
|
-
readonly in: string;
|
|
50
|
-
} | {
|
|
51
|
-
readonly tz?: string | undefined;
|
|
52
|
-
readonly type: "at";
|
|
53
|
-
readonly at: string;
|
|
54
|
-
} | {
|
|
55
|
-
readonly tz?: string | undefined;
|
|
56
|
-
readonly type: "every";
|
|
57
|
-
readonly every: string;
|
|
58
|
-
} | {
|
|
59
|
-
readonly tz?: string | undefined;
|
|
60
|
-
readonly type: "cron";
|
|
61
|
-
readonly cron: string;
|
|
62
|
-
};
|
|
63
|
-
readonly tz: string;
|
|
64
|
-
readonly if?: {
|
|
65
|
-
readonly type: "code";
|
|
66
|
-
readonly code: string;
|
|
67
|
-
} | {
|
|
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: "code";
|
|
76
|
-
readonly code: string;
|
|
77
|
-
} | {
|
|
78
|
-
readonly type: "shell";
|
|
79
|
-
readonly run: string;
|
|
80
|
-
readonly is?: string | undefined;
|
|
81
|
-
readonly matches?: string | undefined;
|
|
82
|
-
readonly changes?: boolean | undefined;
|
|
83
|
-
} | undefined;
|
|
84
|
-
readonly action: {
|
|
85
|
-
readonly type: "prompt";
|
|
86
|
-
readonly prompt: string;
|
|
87
|
-
};
|
|
88
|
-
readonly status: "active" | "done" | "paused";
|
|
89
|
-
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
90
|
-
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
91
|
-
readonly remainingRuns?: number | undefined;
|
|
92
|
-
readonly runCount: number;
|
|
93
|
-
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
94
|
-
readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
95
|
-
readonly lastOutput?: string | undefined;
|
|
96
|
-
readonly time: {
|
|
97
|
-
readonly created: import("effect/DateTime").Utc;
|
|
98
|
-
readonly updated: import("effect/DateTime").Utc;
|
|
99
|
-
};
|
|
100
|
-
}, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
101
|
-
list: (input: ExperimentalScheduleListInput) => Effect.Effect<ExperimentalScheduleListOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
102
|
-
get: (input: ExperimentalScheduleGetInput) => Effect.Effect<{
|
|
103
|
-
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
104
|
-
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
105
|
-
readonly name?: string | undefined;
|
|
106
|
-
readonly when: {
|
|
107
|
-
readonly tz?: string | undefined;
|
|
108
|
-
readonly type: "in";
|
|
109
|
-
readonly in: string;
|
|
110
|
-
} | {
|
|
111
|
-
readonly tz?: string | undefined;
|
|
112
|
-
readonly type: "at";
|
|
113
|
-
readonly at: string;
|
|
114
|
-
} | {
|
|
115
|
-
readonly tz?: string | undefined;
|
|
116
|
-
readonly type: "every";
|
|
117
|
-
readonly every: string;
|
|
118
|
-
} | {
|
|
119
|
-
readonly tz?: string | undefined;
|
|
120
|
-
readonly type: "cron";
|
|
121
|
-
readonly cron: string;
|
|
122
|
-
};
|
|
123
|
-
readonly tz: string;
|
|
124
|
-
readonly if?: {
|
|
125
|
-
readonly type: "code";
|
|
126
|
-
readonly code: string;
|
|
127
|
-
} | {
|
|
128
|
-
readonly type: "shell";
|
|
129
|
-
readonly run: string;
|
|
130
|
-
readonly is?: string | undefined;
|
|
131
|
-
readonly matches?: string | undefined;
|
|
132
|
-
readonly changes?: boolean | undefined;
|
|
133
|
-
} | undefined;
|
|
134
|
-
readonly until?: {
|
|
135
|
-
readonly type: "code";
|
|
136
|
-
readonly code: string;
|
|
137
|
-
} | {
|
|
138
|
-
readonly type: "shell";
|
|
139
|
-
readonly run: string;
|
|
140
|
-
readonly is?: string | undefined;
|
|
141
|
-
readonly matches?: string | undefined;
|
|
142
|
-
readonly changes?: boolean | undefined;
|
|
143
|
-
} | undefined;
|
|
144
|
-
readonly action: {
|
|
145
|
-
readonly type: "prompt";
|
|
146
|
-
readonly prompt: string;
|
|
147
|
-
};
|
|
148
|
-
readonly status: "active" | "done" | "paused";
|
|
149
|
-
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
150
|
-
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
151
|
-
readonly remainingRuns?: number | undefined;
|
|
152
|
-
readonly runCount: number;
|
|
153
|
-
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
154
|
-
readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
155
|
-
readonly lastOutput?: string | undefined;
|
|
156
|
-
readonly time: {
|
|
157
|
-
readonly created: import("effect/DateTime").Utc;
|
|
158
|
-
readonly updated: import("effect/DateTime").Utc;
|
|
159
|
-
};
|
|
160
|
-
}, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ScheduleNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
161
|
-
pause: (input: ExperimentalSchedulePauseInput) => Effect.Effect<{
|
|
162
|
-
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
163
|
-
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
164
|
-
readonly name?: string | undefined;
|
|
165
|
-
readonly when: {
|
|
166
|
-
readonly tz?: string | undefined;
|
|
167
|
-
readonly type: "in";
|
|
168
|
-
readonly in: string;
|
|
169
|
-
} | {
|
|
170
|
-
readonly tz?: string | undefined;
|
|
171
|
-
readonly type: "at";
|
|
172
|
-
readonly at: string;
|
|
173
|
-
} | {
|
|
174
|
-
readonly tz?: string | undefined;
|
|
175
|
-
readonly type: "every";
|
|
176
|
-
readonly every: string;
|
|
177
|
-
} | {
|
|
178
|
-
readonly tz?: string | undefined;
|
|
179
|
-
readonly type: "cron";
|
|
180
|
-
readonly cron: string;
|
|
181
|
-
};
|
|
182
|
-
readonly tz: string;
|
|
183
|
-
readonly if?: {
|
|
184
|
-
readonly type: "code";
|
|
185
|
-
readonly code: string;
|
|
186
|
-
} | {
|
|
187
|
-
readonly type: "shell";
|
|
188
|
-
readonly run: string;
|
|
189
|
-
readonly is?: string | undefined;
|
|
190
|
-
readonly matches?: string | undefined;
|
|
191
|
-
readonly changes?: boolean | undefined;
|
|
192
|
-
} | undefined;
|
|
193
|
-
readonly until?: {
|
|
194
|
-
readonly type: "code";
|
|
195
|
-
readonly code: string;
|
|
196
|
-
} | {
|
|
197
|
-
readonly type: "shell";
|
|
198
|
-
readonly run: string;
|
|
199
|
-
readonly is?: string | undefined;
|
|
200
|
-
readonly matches?: string | undefined;
|
|
201
|
-
readonly changes?: boolean | undefined;
|
|
202
|
-
} | undefined;
|
|
203
|
-
readonly action: {
|
|
204
|
-
readonly type: "prompt";
|
|
205
|
-
readonly prompt: string;
|
|
206
|
-
};
|
|
207
|
-
readonly status: "active" | "done" | "paused";
|
|
208
|
-
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
209
|
-
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
210
|
-
readonly remainingRuns?: number | undefined;
|
|
211
|
-
readonly runCount: number;
|
|
212
|
-
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
213
|
-
readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
214
|
-
readonly lastOutput?: string | undefined;
|
|
215
|
-
readonly time: {
|
|
216
|
-
readonly created: import("effect/DateTime").Utc;
|
|
217
|
-
readonly updated: import("effect/DateTime").Utc;
|
|
218
|
-
};
|
|
219
|
-
}, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ScheduleNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
220
|
-
resume: (input: ExperimentalScheduleResumeInput) => Effect.Effect<{
|
|
221
|
-
readonly id: string & import("effect/Brand").Brand<"Schedule.ID">;
|
|
222
|
-
readonly sessionID?: (string & import("effect/Brand").Brand<"SessionID">) | undefined;
|
|
223
|
-
readonly name?: string | undefined;
|
|
224
|
-
readonly when: {
|
|
225
|
-
readonly tz?: string | undefined;
|
|
226
|
-
readonly type: "in";
|
|
227
|
-
readonly in: string;
|
|
228
|
-
} | {
|
|
229
|
-
readonly tz?: string | undefined;
|
|
230
|
-
readonly type: "at";
|
|
231
|
-
readonly at: string;
|
|
232
|
-
} | {
|
|
233
|
-
readonly tz?: string | undefined;
|
|
234
|
-
readonly type: "every";
|
|
235
|
-
readonly every: string;
|
|
236
|
-
} | {
|
|
237
|
-
readonly tz?: string | undefined;
|
|
238
|
-
readonly type: "cron";
|
|
239
|
-
readonly cron: string;
|
|
240
|
-
};
|
|
241
|
-
readonly tz: string;
|
|
242
|
-
readonly if?: {
|
|
243
|
-
readonly type: "code";
|
|
244
|
-
readonly code: string;
|
|
245
|
-
} | {
|
|
246
|
-
readonly type: "shell";
|
|
247
|
-
readonly run: string;
|
|
248
|
-
readonly is?: string | undefined;
|
|
249
|
-
readonly matches?: string | undefined;
|
|
250
|
-
readonly changes?: boolean | undefined;
|
|
251
|
-
} | undefined;
|
|
252
|
-
readonly until?: {
|
|
253
|
-
readonly type: "code";
|
|
254
|
-
readonly code: string;
|
|
255
|
-
} | {
|
|
256
|
-
readonly type: "shell";
|
|
257
|
-
readonly run: string;
|
|
258
|
-
readonly is?: string | undefined;
|
|
259
|
-
readonly matches?: string | undefined;
|
|
260
|
-
readonly changes?: boolean | undefined;
|
|
261
|
-
} | undefined;
|
|
262
|
-
readonly action: {
|
|
263
|
-
readonly type: "prompt";
|
|
264
|
-
readonly prompt: string;
|
|
265
|
-
};
|
|
266
|
-
readonly status: "active" | "done" | "paused";
|
|
267
|
-
readonly nextDueAt?: import("effect/DateTime").Utc | undefined;
|
|
268
|
-
readonly endsAt?: import("effect/DateTime").Utc | undefined;
|
|
269
|
-
readonly remainingRuns?: number | undefined;
|
|
270
|
-
readonly runCount: number;
|
|
271
|
-
readonly lastFiredAt?: import("effect/DateTime").Utc | undefined;
|
|
272
|
-
readonly lastOutcome?: "checked" | "disabled" | "expired" | "failed" | "fired" | "late" | "skipped" | undefined;
|
|
273
|
-
readonly lastOutput?: string | undefined;
|
|
274
|
-
readonly time: {
|
|
275
|
-
readonly created: import("effect/DateTime").Utc;
|
|
276
|
-
readonly updated: import("effect/DateTime").Utc;
|
|
277
|
-
};
|
|
278
|
-
}, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ScheduleNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
279
|
-
delete: (input: ExperimentalScheduleDeleteInput) => Effect.Effect<void, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").ScheduleNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
41
|
+
automation: {
|
|
42
|
+
create: (input: ExperimentalAutomationCreateInput) => Effect.Effect<import("@opencode/schema/automation").Info, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
43
|
+
list: (input?: ExperimentalAutomationListInput) => Effect.Effect<ExperimentalAutomationListOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").SessionNotFoundError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
44
|
+
get: (input: ExperimentalAutomationGetInput) => Effect.Effect<import("@opencode/schema/automation").Info, import("@opencode/protocol/errors").AutomationNotFoundError | ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
45
|
+
pause: (input: ExperimentalAutomationPauseInput) => Effect.Effect<import("@opencode/schema/automation").Info, import("@opencode/protocol/errors").AutomationNotFoundError | ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
46
|
+
resume: (input: ExperimentalAutomationResumeInput) => Effect.Effect<import("@opencode/schema/automation").Info, import("@opencode/protocol/errors").AutomationNotFoundError | ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
47
|
+
delete: (input: ExperimentalAutomationDeleteInput) => Effect.Effect<void, import("@opencode/protocol/errors").AutomationNotFoundError | ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
280
48
|
};
|
|
281
49
|
artifacts: {
|
|
282
50
|
providers: (input?: ExperimentalArtifactsProvidersInput) => Effect.Effect<ExperimentalArtifactsProvidersOutput, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError, never>;
|
|
@@ -307,6 +75,10 @@ export declare const make: (options?: {
|
|
|
307
75
|
generate: {
|
|
308
76
|
text: (input: ExperimentalGenerateTextInput) => Effect.Effect<ExperimentalGenerateTextOutput, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ModelNotFoundError | import("@opencode/protocol/errors").ProviderNotFoundError | import("@opencode/protocol/errors").ProviderRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnsupportedModelError, never>;
|
|
309
77
|
image: (input: ExperimentalGenerateImageInput) => Effect.Effect<import("@opencode/schema/generate").ImageResult, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ModelNotFoundError | import("@opencode/protocol/errors").ProviderNotFoundError | import("@opencode/protocol/errors").ProviderRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnsupportedModelError, never>;
|
|
78
|
+
video: {
|
|
79
|
+
create: (input: ExperimentalGenerateVideoCreateInput) => Effect.Effect<import("@opencode/schema/generate").VideoRunning, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ModelNotFoundError | import("@opencode/protocol/errors").ProviderNotFoundError | import("@opencode/protocol/errors").ProviderRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnsupportedModelError, never>;
|
|
80
|
+
get: (input: ExperimentalGenerateVideoGetInput) => Effect.Effect<import("@opencode/schema/generate").VideoJob, ClientError | import("@opencode/protocol/errors").ForbiddenError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | Schema.SchemaError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").VideoNotFoundError, never>;
|
|
81
|
+
};
|
|
310
82
|
decisions: (input: ExperimentalGenerateDecisionsInput) => Effect.Effect<import("@opencode/schema/generate").DecisionResult, ClientError | HttpClientError.HttpClientError | import("@opencode/protocol/errors").InvalidRequestError | import("@opencode/protocol/errors").LocationNotFoundError | import("@opencode/protocol/errors").ModelNotFoundError | import("@opencode/protocol/errors").ProviderNotFoundError | import("@opencode/protocol/errors").ProviderRequestError | Schema.SchemaError | import("@opencode/protocol/errors").ServiceUnavailableError | import("@opencode/protocol/errors").UnauthorizedError | import("@opencode/protocol/errors").UnsupportedModelError, never>;
|
|
311
83
|
};
|
|
312
84
|
voice: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
make4
|
|
3
|
-
} from "../../chunks/
|
|
4
|
-
import"../../chunks/
|
|
5
|
-
import"../../chunks/
|
|
3
|
+
} from "../../chunks/service-timing-nr9zca37.js";
|
|
4
|
+
import"../../chunks/service-timing-y2etg5bs.js";
|
|
5
|
+
import"../../chunks/service-timing-60xe5cbf.js";
|
|
6
6
|
export {
|
|
7
7
|
make4 as make
|
|
8
8
|
};
|