@opencode/client 2.0.19 → 2.0.20
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/{rpc-runtime-1tbj6z39.js → shared-events-1tbj6z39.js} +1 -1
- package/dist/chunks/{rpc-runtime-h9cy5hnk.js → shared-events-8wk26zth.js} +17 -2
- package/dist/chunks/{rpc-runtime-qnqb2tyr.js → shared-events-fr9kb04q.js} +5 -5
- package/dist/chunks/{rpc-runtime-frbwqjmf.js → shared-events-frbwqjmf.js} +1 -1
- package/dist/chunks/{rpc-runtime-h11j9btw.js → shared-events-h11j9btw.js} +1 -1
- package/dist/chunks/{rpc-runtime-mnyft54j.js → shared-events-mnyft54j.js} +2 -2
- package/dist/chunks/{rpc-runtime-mhqqf36r.js → shared-events-p1ns5v1v.js} +1 -1
- package/dist/chunks/{rpc-runtime-t1xa31vm.js → shared-events-t1xa31vm.js} +1 -1
- package/dist/chunks/{rpc-runtime-gc472t4a.js → shared-events-w0z44nwf.js} +4 -4
- package/dist/chunks/{rpc-runtime-0fn08bwv.js → shared-events-yskc9x8y.js} +15 -3
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +28 -0
- package/dist/effect/client.d.ts +17 -0
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- package/dist/effect/generated/client.d.ts +18 -1
- 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 +5 -5
- package/dist/promise/client.d.ts +2 -0
- package/dist/promise/client.js +7 -7
- package/dist/promise/generated/client-error.js +1 -1
- package/dist/promise/generated/client.d.ts +3 -1
- package/dist/promise/generated/client.js +2 -2
- package/dist/promise/generated/index.js +8 -8
- package/dist/promise/generated/types.d.ts +217 -12
- package/dist/promise/generated/types.js +1 -1
- package/dist/promise/index.js +10 -10
- package/dist/promise/rpc.js +2 -2
- package/dist/promise/service.js +5 -5
- package/dist/pty-handoff.js +1 -1
- package/dist/rpc-runtime.js +1 -1
- package/dist/service-contender.js +1 -1
- package/dist/service-timing.js +1 -1
- package/dist/service-version.js +1 -1
- package/dist/service.js +1 -1
- package/dist/shared-events.js +1 -1
- package/dist/solid/connection.js +1 -1
- package/dist/solid/data.js +9 -9
- package/dist/solid/index.js +11 -11
- package/dist/solid/pty.js +1 -1
- package/package.json +4 -4
- /package/dist/chunks/{rpc-runtime-4tveyqeh.js → shared-events-4tveyqeh.js} +0 -0
- /package/dist/chunks/{rpc-runtime-6mptkzbc.js → shared-events-6mptkzbc.js} +0 -0
- /package/dist/chunks/{rpc-runtime-7f0py9js.js → shared-events-7f0py9js.js} +0 -0
- /package/dist/chunks/{rpc-runtime-9rqn6x4v.js → shared-events-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-runtime-gne7h7mq.js → shared-events-gne7h7mq.js} +0 -0
- /package/dist/chunks/{rpc-runtime-js54wxgp.js → shared-events-js54wxgp.js} +0 -0
- /package/dist/chunks/{rpc-runtime-m2eywc8w.js → shared-events-m2eywc8w.js} +0 -0
- /package/dist/chunks/{rpc-runtime-qav6mfdz.js → shared-events-qav6mfdz.js} +0 -0
- /package/dist/chunks/{rpc-runtime-sxt88q69.js → shared-events-sxt88q69.js} +0 -0
- /package/dist/chunks/{rpc-runtime-txckps9j.js → shared-events-txckps9j.js} +0 -0
- /package/dist/chunks/{rpc-runtime-vmytr4q8.js → shared-events-vmytr4q8.js} +0 -0
- /package/dist/chunks/{rpc-runtime-vyas3vgt.js → shared-events-vyas3vgt.js} +0 -0
- /package/dist/chunks/{rpc-runtime-xgnj2w4v.js → shared-events-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{rpc-runtime-ydhz1zrh.js → shared-events-ydhz1zrh.js} +0 -0
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import"../../chunks/
|
|
1
|
+
import"../../chunks/shared-events-vyas3vgt.js";
|
|
2
|
+
import {
|
|
3
|
+
exports_client2
|
|
4
|
+
} from "../../chunks/shared-events-8wk26zth.js";
|
|
5
|
+
import {
|
|
6
|
+
ClientError2
|
|
7
|
+
} from "../../chunks/shared-events-js54wxgp.js";
|
|
2
8
|
import {
|
|
3
9
|
isInvalidRequestError2,
|
|
4
10
|
isUnauthorizedError2,
|
|
@@ -31,13 +37,7 @@ import {
|
|
|
31
37
|
isForbiddenError2,
|
|
32
38
|
isShellNotFoundError2,
|
|
33
39
|
isWorktreeError2
|
|
34
|
-
} from "../../chunks/
|
|
35
|
-
import {
|
|
36
|
-
exports_client2
|
|
37
|
-
} from "../../chunks/rpc-runtime-h9cy5hnk.js";
|
|
38
|
-
import {
|
|
39
|
-
ClientError2
|
|
40
|
-
} from "../../chunks/rpc-runtime-js54wxgp.js";
|
|
40
|
+
} from "../../chunks/shared-events-4tveyqeh.js";
|
|
41
41
|
export {
|
|
42
42
|
ClientError2 as ClientError,
|
|
43
43
|
exports_client2 as OpenCode,
|
|
@@ -223,6 +223,9 @@ export type SessionStructuredError = {
|
|
|
223
223
|
type: string;
|
|
224
224
|
message: string;
|
|
225
225
|
status?: number;
|
|
226
|
+
response?: {
|
|
227
|
+
body: string;
|
|
228
|
+
};
|
|
226
229
|
};
|
|
227
230
|
export type SessionMessageCompactionRunning = {
|
|
228
231
|
type: "compaction";
|
|
@@ -374,15 +377,10 @@ export type IntegrationEnvMethod = {
|
|
|
374
377
|
type: "env";
|
|
375
378
|
names: Array<string>;
|
|
376
379
|
};
|
|
377
|
-
export type
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
method: "key" | "oauth";
|
|
382
|
-
};
|
|
383
|
-
export type ConnectionEnvInfo = {
|
|
384
|
-
type: "env";
|
|
385
|
-
name: string;
|
|
380
|
+
export type ConnectionStatus = {
|
|
381
|
+
status: "needs_auth";
|
|
382
|
+
message: string;
|
|
383
|
+
url?: string;
|
|
386
384
|
};
|
|
387
385
|
export type IntegrationAttempt = {
|
|
388
386
|
attemptID: string;
|
|
@@ -485,6 +483,16 @@ export type McpResourceTemplate = {
|
|
|
485
483
|
description?: string;
|
|
486
484
|
mimeType?: string;
|
|
487
485
|
};
|
|
486
|
+
export type CredentialOAuth = {
|
|
487
|
+
type: "oauth";
|
|
488
|
+
methodID: string;
|
|
489
|
+
refresh: string;
|
|
490
|
+
access: string;
|
|
491
|
+
expires: number;
|
|
492
|
+
metadata?: {
|
|
493
|
+
[x: string]: JsonValue;
|
|
494
|
+
};
|
|
495
|
+
};
|
|
488
496
|
export type ProjectVcs = string;
|
|
489
497
|
export type ProjectIcon = {
|
|
490
498
|
url?: string;
|
|
@@ -2202,7 +2210,18 @@ export type ModelCost = {
|
|
|
2202
2210
|
write: MoneyUSDPerMillionTokens;
|
|
2203
2211
|
};
|
|
2204
2212
|
};
|
|
2205
|
-
export type
|
|
2213
|
+
export type ConnectionCredentialInfo = {
|
|
2214
|
+
type: "credential";
|
|
2215
|
+
id: string;
|
|
2216
|
+
label: string;
|
|
2217
|
+
method: "key" | "oauth";
|
|
2218
|
+
status?: ConnectionStatus;
|
|
2219
|
+
};
|
|
2220
|
+
export type ConnectionEnvInfo = {
|
|
2221
|
+
type: "env";
|
|
2222
|
+
name: string;
|
|
2223
|
+
status?: ConnectionStatus;
|
|
2224
|
+
};
|
|
2206
2225
|
export type McpServer = {
|
|
2207
2226
|
name: string;
|
|
2208
2227
|
status: McpStatusConnected | McpStatusPending | McpStatusDisabled | McpStatusFailed | McpStatusNeedsAuth;
|
|
@@ -2399,7 +2418,7 @@ export type FormMultiselectField1 = {
|
|
|
2399
2418
|
custom?: boolean;
|
|
2400
2419
|
default?: Array<string>;
|
|
2401
2420
|
};
|
|
2402
|
-
export type
|
|
2421
|
+
export type FormAnswer2 = {
|
|
2403
2422
|
[x: string]: FormValue1;
|
|
2404
2423
|
};
|
|
2405
2424
|
export type SessionStatusUpdated = {
|
|
@@ -2702,6 +2721,15 @@ export type FormState = {
|
|
|
2702
2721
|
} | {
|
|
2703
2722
|
status: "cancelled";
|
|
2704
2723
|
};
|
|
2724
|
+
export type CredentialKey = {
|
|
2725
|
+
type: "key";
|
|
2726
|
+
key: string;
|
|
2727
|
+
metadata?: {
|
|
2728
|
+
[x: string]: JsonValue;
|
|
2729
|
+
};
|
|
2730
|
+
configuration?: FormAnswer;
|
|
2731
|
+
};
|
|
2732
|
+
export type ConnectionInfo = ConnectionCredentialInfo | ConnectionEnvInfo;
|
|
2705
2733
|
export type FormField1 = FormStringField1 | FormNumberField1 | FormIntegerField1 | FormBooleanField1 | FormMultiselectField1 | FormExternalField;
|
|
2706
2734
|
export type FormReplied = {
|
|
2707
2735
|
id: string;
|
|
@@ -2714,7 +2742,7 @@ export type FormReplied = {
|
|
|
2714
2742
|
data: {
|
|
2715
2743
|
id: string;
|
|
2716
2744
|
sessionID: string;
|
|
2717
|
-
answer:
|
|
2745
|
+
answer: FormAnswer2;
|
|
2718
2746
|
};
|
|
2719
2747
|
};
|
|
2720
2748
|
export type ReferenceInfo = {
|
|
@@ -3164,6 +3192,7 @@ export type SessionMessageAssistantTool1 = {
|
|
|
3164
3192
|
};
|
|
3165
3193
|
};
|
|
3166
3194
|
export type FormFields = [FormField, ...Array<FormField>];
|
|
3195
|
+
export type CredentialValue = CredentialOAuth | CredentialKey;
|
|
3167
3196
|
export type FormFields2 = [FormField1, ...Array<FormField1>];
|
|
3168
3197
|
export type SessionsResponse = {
|
|
3169
3198
|
data: Array<SessionInfo>;
|
|
@@ -3246,6 +3275,13 @@ export type IntegrationKeyMethod = {
|
|
|
3246
3275
|
label?: string;
|
|
3247
3276
|
form?: FormFields;
|
|
3248
3277
|
};
|
|
3278
|
+
export type CredentialEntry = {
|
|
3279
|
+
id: string;
|
|
3280
|
+
integrationID: string;
|
|
3281
|
+
label: string;
|
|
3282
|
+
active: boolean;
|
|
3283
|
+
value: CredentialValue;
|
|
3284
|
+
};
|
|
3249
3285
|
export type FormInfo1 = {
|
|
3250
3286
|
id: string;
|
|
3251
3287
|
sessionID: string;
|
|
@@ -4162,6 +4198,9 @@ export type SessionImportInput = {
|
|
|
4162
4198
|
readonly type: string;
|
|
4163
4199
|
readonly message: string;
|
|
4164
4200
|
readonly status?: number;
|
|
4201
|
+
readonly response?: {
|
|
4202
|
+
readonly body: string;
|
|
4203
|
+
};
|
|
4165
4204
|
};
|
|
4166
4205
|
readonly content?: readonly [
|
|
4167
4206
|
({
|
|
@@ -4217,6 +4256,9 @@ export type SessionImportInput = {
|
|
|
4217
4256
|
readonly type: string;
|
|
4218
4257
|
readonly message: string;
|
|
4219
4258
|
readonly status?: number;
|
|
4259
|
+
readonly response?: {
|
|
4260
|
+
readonly body: string;
|
|
4261
|
+
};
|
|
4220
4262
|
};
|
|
4221
4263
|
readonly retry?: {
|
|
4222
4264
|
readonly attempt: number;
|
|
@@ -4225,6 +4267,9 @@ export type SessionImportInput = {
|
|
|
4225
4267
|
readonly type: string;
|
|
4226
4268
|
readonly message: string;
|
|
4227
4269
|
readonly status?: number;
|
|
4270
|
+
readonly response?: {
|
|
4271
|
+
readonly body: string;
|
|
4272
|
+
};
|
|
4228
4273
|
};
|
|
4229
4274
|
};
|
|
4230
4275
|
} | ({
|
|
@@ -4298,6 +4343,9 @@ export type SessionImportInput = {
|
|
|
4298
4343
|
readonly type: string;
|
|
4299
4344
|
readonly message: string;
|
|
4300
4345
|
readonly status?: number;
|
|
4346
|
+
readonly response?: {
|
|
4347
|
+
readonly body: string;
|
|
4348
|
+
};
|
|
4301
4349
|
};
|
|
4302
4350
|
readonly cost?: number;
|
|
4303
4351
|
readonly tokens?: {
|
|
@@ -4631,6 +4679,9 @@ export type SessionImportInput = {
|
|
|
4631
4679
|
readonly type: string;
|
|
4632
4680
|
readonly message: string;
|
|
4633
4681
|
readonly status?: number;
|
|
4682
|
+
readonly response?: {
|
|
4683
|
+
readonly body: string;
|
|
4684
|
+
};
|
|
4634
4685
|
};
|
|
4635
4686
|
readonly content?: readonly [
|
|
4636
4687
|
({
|
|
@@ -4686,6 +4737,9 @@ export type SessionImportInput = {
|
|
|
4686
4737
|
readonly type: string;
|
|
4687
4738
|
readonly message: string;
|
|
4688
4739
|
readonly status?: number;
|
|
4740
|
+
readonly response?: {
|
|
4741
|
+
readonly body: string;
|
|
4742
|
+
};
|
|
4689
4743
|
};
|
|
4690
4744
|
readonly retry?: {
|
|
4691
4745
|
readonly attempt: number;
|
|
@@ -4694,6 +4748,9 @@ export type SessionImportInput = {
|
|
|
4694
4748
|
readonly type: string;
|
|
4695
4749
|
readonly message: string;
|
|
4696
4750
|
readonly status?: number;
|
|
4751
|
+
readonly response?: {
|
|
4752
|
+
readonly body: string;
|
|
4753
|
+
};
|
|
4697
4754
|
};
|
|
4698
4755
|
};
|
|
4699
4756
|
} | ({
|
|
@@ -4767,6 +4824,9 @@ export type SessionImportInput = {
|
|
|
4767
4824
|
readonly type: string;
|
|
4768
4825
|
readonly message: string;
|
|
4769
4826
|
readonly status?: number;
|
|
4827
|
+
readonly response?: {
|
|
4828
|
+
readonly body: string;
|
|
4829
|
+
};
|
|
4770
4830
|
};
|
|
4771
4831
|
readonly cost?: number;
|
|
4772
4832
|
readonly tokens?: {
|
|
@@ -5100,6 +5160,9 @@ export type SessionImportInput = {
|
|
|
5100
5160
|
readonly type: string;
|
|
5101
5161
|
readonly message: string;
|
|
5102
5162
|
readonly status?: number;
|
|
5163
|
+
readonly response?: {
|
|
5164
|
+
readonly body: string;
|
|
5165
|
+
};
|
|
5103
5166
|
};
|
|
5104
5167
|
readonly content?: readonly [
|
|
5105
5168
|
({
|
|
@@ -5155,6 +5218,9 @@ export type SessionImportInput = {
|
|
|
5155
5218
|
readonly type: string;
|
|
5156
5219
|
readonly message: string;
|
|
5157
5220
|
readonly status?: number;
|
|
5221
|
+
readonly response?: {
|
|
5222
|
+
readonly body: string;
|
|
5223
|
+
};
|
|
5158
5224
|
};
|
|
5159
5225
|
readonly retry?: {
|
|
5160
5226
|
readonly attempt: number;
|
|
@@ -5163,6 +5229,9 @@ export type SessionImportInput = {
|
|
|
5163
5229
|
readonly type: string;
|
|
5164
5230
|
readonly message: string;
|
|
5165
5231
|
readonly status?: number;
|
|
5232
|
+
readonly response?: {
|
|
5233
|
+
readonly body: string;
|
|
5234
|
+
};
|
|
5166
5235
|
};
|
|
5167
5236
|
};
|
|
5168
5237
|
} | ({
|
|
@@ -5236,6 +5305,9 @@ export type SessionImportInput = {
|
|
|
5236
5305
|
readonly type: string;
|
|
5237
5306
|
readonly message: string;
|
|
5238
5307
|
readonly status?: number;
|
|
5308
|
+
readonly response?: {
|
|
5309
|
+
readonly body: string;
|
|
5310
|
+
};
|
|
5239
5311
|
};
|
|
5240
5312
|
readonly cost?: number;
|
|
5241
5313
|
readonly tokens?: {
|
|
@@ -7444,6 +7516,139 @@ export type McpResourceCatalogOutput = {
|
|
|
7444
7516
|
location: LocationPublicRef;
|
|
7445
7517
|
data: McpResourceCatalog;
|
|
7446
7518
|
};
|
|
7519
|
+
export type CredentialListOutput = {
|
|
7520
|
+
data: Array<CredentialEntry>;
|
|
7521
|
+
}["data"];
|
|
7522
|
+
export type CredentialCreateInput = {
|
|
7523
|
+
readonly id?: {
|
|
7524
|
+
readonly id?: string;
|
|
7525
|
+
readonly integrationID: string;
|
|
7526
|
+
readonly label?: string;
|
|
7527
|
+
readonly value: {
|
|
7528
|
+
readonly type: "oauth";
|
|
7529
|
+
readonly methodID: string;
|
|
7530
|
+
readonly refresh: string;
|
|
7531
|
+
readonly access: string;
|
|
7532
|
+
readonly expires: number;
|
|
7533
|
+
readonly metadata?: {
|
|
7534
|
+
readonly [x: string]: JsonValue;
|
|
7535
|
+
};
|
|
7536
|
+
} | {
|
|
7537
|
+
readonly type: "key";
|
|
7538
|
+
readonly key: string;
|
|
7539
|
+
readonly metadata?: {
|
|
7540
|
+
readonly [x: string]: JsonValue;
|
|
7541
|
+
};
|
|
7542
|
+
readonly configuration?: {
|
|
7543
|
+
readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
|
|
7544
|
+
};
|
|
7545
|
+
};
|
|
7546
|
+
readonly activate?: boolean;
|
|
7547
|
+
}["id"];
|
|
7548
|
+
readonly integrationID: {
|
|
7549
|
+
readonly id?: string;
|
|
7550
|
+
readonly integrationID: string;
|
|
7551
|
+
readonly label?: string;
|
|
7552
|
+
readonly value: {
|
|
7553
|
+
readonly type: "oauth";
|
|
7554
|
+
readonly methodID: string;
|
|
7555
|
+
readonly refresh: string;
|
|
7556
|
+
readonly access: string;
|
|
7557
|
+
readonly expires: number;
|
|
7558
|
+
readonly metadata?: {
|
|
7559
|
+
readonly [x: string]: JsonValue;
|
|
7560
|
+
};
|
|
7561
|
+
} | {
|
|
7562
|
+
readonly type: "key";
|
|
7563
|
+
readonly key: string;
|
|
7564
|
+
readonly metadata?: {
|
|
7565
|
+
readonly [x: string]: JsonValue;
|
|
7566
|
+
};
|
|
7567
|
+
readonly configuration?: {
|
|
7568
|
+
readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
|
|
7569
|
+
};
|
|
7570
|
+
};
|
|
7571
|
+
readonly activate?: boolean;
|
|
7572
|
+
}["integrationID"];
|
|
7573
|
+
readonly label?: {
|
|
7574
|
+
readonly id?: string;
|
|
7575
|
+
readonly integrationID: string;
|
|
7576
|
+
readonly label?: string;
|
|
7577
|
+
readonly value: {
|
|
7578
|
+
readonly type: "oauth";
|
|
7579
|
+
readonly methodID: string;
|
|
7580
|
+
readonly refresh: string;
|
|
7581
|
+
readonly access: string;
|
|
7582
|
+
readonly expires: number;
|
|
7583
|
+
readonly metadata?: {
|
|
7584
|
+
readonly [x: string]: JsonValue;
|
|
7585
|
+
};
|
|
7586
|
+
} | {
|
|
7587
|
+
readonly type: "key";
|
|
7588
|
+
readonly key: string;
|
|
7589
|
+
readonly metadata?: {
|
|
7590
|
+
readonly [x: string]: JsonValue;
|
|
7591
|
+
};
|
|
7592
|
+
readonly configuration?: {
|
|
7593
|
+
readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
|
|
7594
|
+
};
|
|
7595
|
+
};
|
|
7596
|
+
readonly activate?: boolean;
|
|
7597
|
+
}["label"];
|
|
7598
|
+
readonly value: {
|
|
7599
|
+
readonly id?: string;
|
|
7600
|
+
readonly integrationID: string;
|
|
7601
|
+
readonly label?: string;
|
|
7602
|
+
readonly value: {
|
|
7603
|
+
readonly type: "oauth";
|
|
7604
|
+
readonly methodID: string;
|
|
7605
|
+
readonly refresh: string;
|
|
7606
|
+
readonly access: string;
|
|
7607
|
+
readonly expires: number;
|
|
7608
|
+
readonly metadata?: {
|
|
7609
|
+
readonly [x: string]: JsonValue;
|
|
7610
|
+
};
|
|
7611
|
+
} | {
|
|
7612
|
+
readonly type: "key";
|
|
7613
|
+
readonly key: string;
|
|
7614
|
+
readonly metadata?: {
|
|
7615
|
+
readonly [x: string]: JsonValue;
|
|
7616
|
+
};
|
|
7617
|
+
readonly configuration?: {
|
|
7618
|
+
readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
|
|
7619
|
+
};
|
|
7620
|
+
};
|
|
7621
|
+
readonly activate?: boolean;
|
|
7622
|
+
}["value"];
|
|
7623
|
+
readonly activate?: {
|
|
7624
|
+
readonly id?: string;
|
|
7625
|
+
readonly integrationID: string;
|
|
7626
|
+
readonly label?: string;
|
|
7627
|
+
readonly value: {
|
|
7628
|
+
readonly type: "oauth";
|
|
7629
|
+
readonly methodID: string;
|
|
7630
|
+
readonly refresh: string;
|
|
7631
|
+
readonly access: string;
|
|
7632
|
+
readonly expires: number;
|
|
7633
|
+
readonly metadata?: {
|
|
7634
|
+
readonly [x: string]: JsonValue;
|
|
7635
|
+
};
|
|
7636
|
+
} | {
|
|
7637
|
+
readonly type: "key";
|
|
7638
|
+
readonly key: string;
|
|
7639
|
+
readonly metadata?: {
|
|
7640
|
+
readonly [x: string]: JsonValue;
|
|
7641
|
+
};
|
|
7642
|
+
readonly configuration?: {
|
|
7643
|
+
readonly [x: string]: string | number | "Infinity" | "-Infinity" | "NaN" | boolean | ReadonlyArray<string>;
|
|
7644
|
+
};
|
|
7645
|
+
};
|
|
7646
|
+
readonly activate?: boolean;
|
|
7647
|
+
}["activate"];
|
|
7648
|
+
};
|
|
7649
|
+
export type CredentialCreateOutput = {
|
|
7650
|
+
data: CredentialEntry;
|
|
7651
|
+
}["data"];
|
|
7447
7652
|
export type CredentialUpdateInput = {
|
|
7448
7653
|
readonly credentialID: {
|
|
7449
7654
|
readonly credentialID: string;
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
isForbiddenError2,
|
|
31
31
|
isShellNotFoundError2,
|
|
32
32
|
isWorktreeError2
|
|
33
|
-
} from "../../chunks/
|
|
33
|
+
} from "../../chunks/shared-events-4tveyqeh.js";
|
|
34
34
|
export {
|
|
35
35
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
36
36
|
isCommandExecutionError2 as isCommandExecutionError,
|
package/dist/promise/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/shared-events-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
4
|
+
} from "../chunks/shared-events-w0z44nwf.js";
|
|
5
|
+
import"../chunks/shared-events-vyas3vgt.js";
|
|
6
|
+
import"../chunks/shared-events-8wk26zth.js";
|
|
7
|
+
import {
|
|
8
|
+
ClientError2
|
|
9
|
+
} from "../chunks/shared-events-js54wxgp.js";
|
|
10
|
+
import"../chunks/shared-events-1tbj6z39.js";
|
|
7
11
|
import {
|
|
8
12
|
isInvalidRequestError2,
|
|
9
13
|
isUnauthorizedError2,
|
|
@@ -36,12 +40,8 @@ import {
|
|
|
36
40
|
isForbiddenError2,
|
|
37
41
|
isShellNotFoundError2,
|
|
38
42
|
isWorktreeError2
|
|
39
|
-
} from "../chunks/
|
|
40
|
-
import"../chunks/
|
|
41
|
-
import {
|
|
42
|
-
ClientError2
|
|
43
|
-
} from "../chunks/rpc-runtime-js54wxgp.js";
|
|
44
|
-
import"../chunks/rpc-runtime-frbwqjmf.js";
|
|
43
|
+
} from "../chunks/shared-events-4tveyqeh.js";
|
|
44
|
+
import"../chunks/shared-events-frbwqjmf.js";
|
|
45
45
|
export {
|
|
46
46
|
ClientError2 as ClientError,
|
|
47
47
|
exports_client as OpenCode,
|
package/dist/promise/rpc.js
CHANGED
package/dist/promise/service.js
CHANGED
|
@@ -2,21 +2,21 @@ import {
|
|
|
2
2
|
spawnServiceContender2,
|
|
3
3
|
contenderFailure2,
|
|
4
4
|
contenderFinished2
|
|
5
|
-
} from "../chunks/
|
|
5
|
+
} from "../chunks/shared-events-txckps9j.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultEnsureTiming2,
|
|
8
8
|
ensureTiming2
|
|
9
|
-
} from "../chunks/
|
|
9
|
+
} from "../chunks/shared-events-xgnj2w4v.js";
|
|
10
10
|
import {
|
|
11
11
|
matchesVersion2
|
|
12
|
-
} from "../chunks/
|
|
12
|
+
} from "../chunks/shared-events-sxt88q69.js";
|
|
13
13
|
import {
|
|
14
14
|
prepare2,
|
|
15
15
|
environment2,
|
|
16
16
|
complete2,
|
|
17
17
|
clear2
|
|
18
|
-
} from "../chunks/
|
|
19
|
-
import"../chunks/
|
|
18
|
+
} from "../chunks/shared-events-p1ns5v1v.js";
|
|
19
|
+
import"../chunks/shared-events-qav6mfdz.js";
|
|
20
20
|
|
|
21
21
|
// src/promise/service.ts
|
|
22
22
|
import { readFile, rm } from "node:fs/promises";
|
package/dist/pty-handoff.js
CHANGED
package/dist/rpc-runtime.js
CHANGED
package/dist/service-timing.js
CHANGED
package/dist/service-version.js
CHANGED
package/dist/service.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunks/
|
|
1
|
+
import"./chunks/shared-events-qav6mfdz.js";
|
package/dist/shared-events.js
CHANGED
package/dist/solid/connection.js
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
defaultIdleTimeout2,
|
|
3
3
|
foregroundIdleThreshold2,
|
|
4
4
|
createClientConnection2
|
|
5
|
-
} from "../chunks/
|
|
5
|
+
} from "../chunks/shared-events-ydhz1zrh.js";
|
|
6
6
|
export {
|
|
7
7
|
createClientConnection2 as createClientConnection,
|
|
8
8
|
defaultIdleTimeout2 as defaultIdleTimeout,
|
package/dist/solid/data.js
CHANGED
|
@@ -2,15 +2,15 @@ import {
|
|
|
2
2
|
settleMs2,
|
|
3
3
|
locationKey2,
|
|
4
4
|
createData2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
9
|
-
import"../chunks/
|
|
10
|
-
import"../chunks/
|
|
11
|
-
import"../chunks/
|
|
12
|
-
import"../chunks/
|
|
13
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/shared-events-h11j9btw.js";
|
|
6
|
+
import"../chunks/shared-events-m2eywc8w.js";
|
|
7
|
+
import"../chunks/shared-events-w0z44nwf.js";
|
|
8
|
+
import"../chunks/shared-events-vyas3vgt.js";
|
|
9
|
+
import"../chunks/shared-events-8wk26zth.js";
|
|
10
|
+
import"../chunks/shared-events-js54wxgp.js";
|
|
11
|
+
import"../chunks/shared-events-1tbj6z39.js";
|
|
12
|
+
import"../chunks/shared-events-4tveyqeh.js";
|
|
13
|
+
import"../chunks/shared-events-frbwqjmf.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
|
16
16
|
locationKey2 as locationKey,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import"../chunks/
|
|
2
|
-
import"../chunks/
|
|
3
|
-
import"../chunks/
|
|
4
|
-
import"../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/shared-events-js54wxgp.js";
|
|
2
|
+
import"../chunks/shared-events-8wk26zth.js";
|
|
3
|
+
import"../chunks/shared-events-4tveyqeh.js";
|
|
4
|
+
import"../chunks/shared-events-vyas3vgt.js";
|
|
5
|
+
import"../chunks/shared-events-frbwqjmf.js";
|
|
6
|
+
import"../chunks/shared-events-1tbj6z39.js";
|
|
7
|
+
import"../chunks/shared-events-w0z44nwf.js";
|
|
8
|
+
import"../chunks/shared-events-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/
|
|
13
|
+
} from "../chunks/shared-events-h11j9btw.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/shared-events-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/
|
|
22
|
+
} from "../chunks/shared-events-gne7h7mq.js";
|
|
23
23
|
export {
|
|
24
24
|
createClientConnection2 as createClientConnection,
|
|
25
25
|
createData2 as createData,
|
package/dist/solid/pty.js
CHANGED
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.0.
|
|
4
|
+
"version": "2.0.20",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"typecheck": "tsgo --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@opencode/schema": "2.0.
|
|
61
|
-
"@opencode/protocol": "2.0.
|
|
60
|
+
"@opencode/schema": "2.0.20",
|
|
61
|
+
"@opencode/protocol": "2.0.20"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"effect": "4.0.0-rc.112",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@effect/platform-node": "4.0.0-rc.112",
|
|
77
|
-
"@opencode/httpapi-codegen": "2.0.
|
|
77
|
+
"@opencode/httpapi-codegen": "2.0.20",
|
|
78
78
|
"@tsconfig/bun": "1.0.9",
|
|
79
79
|
"@types/bun": "1.4.0",
|
|
80
80
|
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|