@opencode/client 0.0.0-dev-65 → 0.0.0-dev-75
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-rb7z442v.js → pty-handoff-0mrkn4v6.js} +27 -4
- package/dist/chunks/{contract-2ny4vxct.js → pty-handoff-2ny4vxct.js} +2 -2
- package/dist/chunks/{contract-81jvwacr.js → pty-handoff-77qyncvb.js} +9 -9
- package/dist/chunks/{contract-4x4a6tah.js → pty-handoff-8we1dz3p.js} +4 -1
- package/dist/chunks/{contract-15p82y03.js → pty-handoff-9j12j8xw.js} +5 -5
- package/dist/chunks/{contract-1gqkvw7r.js → pty-handoff-ab9bm97w.js} +1 -1
- package/dist/chunks/{contract-s76jdhwt.js → pty-handoff-cyxwqteg.js} +1 -1
- package/dist/chunks/{contract-r6a5t1f9.js → pty-handoff-dmq8fj7y.js} +4 -4
- package/dist/chunks/{contract-gecjxyvt.js → pty-handoff-gecjxyvt.js} +1 -1
- package/dist/chunks/{contract-80gjrnkv.js → pty-handoff-kgppnkcn.js} +2 -2
- package/dist/chunks/{contract-86jad5f6.js → pty-handoff-nkw87d0v.js} +24 -7
- package/dist/chunks/{contract-ryy6kscr.js → pty-handoff-ryy6kscr.js} +1 -1
- package/dist/contract.js +1 -1
- package/dist/effect/api/api.d.ts +20 -0
- package/dist/effect/client.d.ts +3 -1
- package/dist/effect/client.js +8 -8
- package/dist/effect/generated/client-error.js +1 -1
- package/dist/effect/generated/client.d.ts +4 -2
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +4 -4
- package/dist/effect/index.js +8 -8
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +6 -6
- 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 +14 -8
- package/dist/promise/generated/types.d.ts +150 -0
- package/dist/promise/generated/types.js +7 -1
- package/dist/promise/index.js +16 -10
- 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 +9 -9
- package/dist/solid/index.js +13 -13
- 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-6mptkzbc.js → pty-handoff-6mptkzbc.js} +0 -0
- /package/dist/chunks/{contract-6mq2wh8y.js → pty-handoff-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{contract-8s2anffy.js → pty-handoff-8s2anffy.js} +0 -0
- /package/dist/chunks/{contract-9rqn6x4v.js → pty-handoff-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{contract-gne7h7mq.js → pty-handoff-gne7h7mq.js} +0 -0
- /package/dist/chunks/{contract-m2eywc8w.js → pty-handoff-m2eywc8w.js} +0 -0
- /package/dist/chunks/{contract-nwcpakzx.js → pty-handoff-nwcpakzx.js} +0 -0
- /package/dist/chunks/{contract-qav6mfdz.js → pty-handoff-qav6mfdz.js} +0 -0
- /package/dist/chunks/{contract-sxt88q69.js → pty-handoff-sxt88q69.js} +0 -0
- /package/dist/chunks/{contract-ve4aws36.js → pty-handoff-ve4aws36.js} +0 -0
- /package/dist/chunks/{contract-vmytr4q8.js → pty-handoff-vmytr4q8.js} +0 -0
- /package/dist/chunks/{contract-vyas3vgt.js → pty-handoff-vyas3vgt.js} +0 -0
- /package/dist/chunks/{contract-xgnj2w4v.js → pty-handoff-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{contract-y2etg5bs.js → pty-handoff-y2etg5bs.js} +0 -0
- /package/dist/chunks/{contract-ydhz1zrh.js → pty-handoff-ydhz1zrh.js} +0 -0
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import"../../chunks/
|
|
2
|
-
import {
|
|
3
|
-
exports_client4
|
|
4
|
-
} from "../../chunks/contract-rb7z442v.js";
|
|
5
|
-
import {
|
|
6
|
-
ClientError3
|
|
7
|
-
} from "../../chunks/contract-nwcpakzx.js";
|
|
1
|
+
import"../../chunks/pty-handoff-vyas3vgt.js";
|
|
8
2
|
import {
|
|
9
3
|
isInvalidRequestError2,
|
|
10
4
|
isUnauthorizedError2,
|
|
@@ -26,6 +20,9 @@ import {
|
|
|
26
20
|
isFormInvalidAnswerError2,
|
|
27
21
|
isFormAlreadySettledError2,
|
|
28
22
|
isProviderNotFoundError2,
|
|
23
|
+
isModelNotFoundError2,
|
|
24
|
+
isUnsupportedModelError2,
|
|
25
|
+
isProviderRequestError2,
|
|
29
26
|
isIntegrationNotFoundError2,
|
|
30
27
|
isIntegrationAttemptNotFoundError2,
|
|
31
28
|
isIntegrationMethodNotFoundError2,
|
|
@@ -41,7 +38,13 @@ import {
|
|
|
41
38
|
isShellNotFoundError2,
|
|
42
39
|
isWorktreeError2,
|
|
43
40
|
isVcsInitNotSupportedError2
|
|
44
|
-
} from "../../chunks/
|
|
41
|
+
} from "../../chunks/pty-handoff-8we1dz3p.js";
|
|
42
|
+
import {
|
|
43
|
+
exports_client4
|
|
44
|
+
} from "../../chunks/pty-handoff-0mrkn4v6.js";
|
|
45
|
+
import {
|
|
46
|
+
ClientError3
|
|
47
|
+
} from "../../chunks/pty-handoff-nwcpakzx.js";
|
|
45
48
|
export {
|
|
46
49
|
ClientError3 as ClientError,
|
|
47
50
|
exports_client4 as OpenCode,
|
|
@@ -63,11 +66,13 @@ export {
|
|
|
63
66
|
isLocationNotFoundError2 as isLocationNotFoundError,
|
|
64
67
|
isMcpServerNotFoundError2 as isMcpServerNotFoundError,
|
|
65
68
|
isMessageNotFoundError2 as isMessageNotFoundError,
|
|
69
|
+
isModelNotFoundError2 as isModelNotFoundError,
|
|
66
70
|
isPermissionNotFoundError2 as isPermissionNotFoundError,
|
|
67
71
|
isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
|
|
68
72
|
isPluginNotFoundError2 as isPluginNotFoundError,
|
|
69
73
|
isProjectNotFoundError2 as isProjectNotFoundError,
|
|
70
74
|
isProviderNotFoundError2 as isProviderNotFoundError,
|
|
75
|
+
isProviderRequestError2 as isProviderRequestError,
|
|
71
76
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
72
77
|
isRpcError2 as isRpcError,
|
|
73
78
|
isRpcInternalError2 as isRpcInternalError,
|
|
@@ -78,6 +83,7 @@ export {
|
|
|
78
83
|
isSkillNotFoundError2 as isSkillNotFoundError,
|
|
79
84
|
isUnauthorizedError2 as isUnauthorizedError,
|
|
80
85
|
isUnknownError2 as isUnknownError,
|
|
86
|
+
isUnsupportedModelError2 as isUnsupportedModelError,
|
|
81
87
|
isVcsInitNotSupportedError2 as isVcsInitNotSupportedError,
|
|
82
88
|
isWorktreeError2 as isWorktreeError
|
|
83
89
|
};
|
|
@@ -240,6 +240,7 @@ export type ModelType = "chat" | "decision" | "image" | (string & {});
|
|
|
240
240
|
export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
|
|
241
241
|
export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
|
|
242
242
|
export type ModelCacheFormat = "anthropic" | "alibaba";
|
|
243
|
+
export type ModelMediaInput = "assets" | "state" | "root";
|
|
243
244
|
export type ModelCapabilities = {
|
|
244
245
|
tools: boolean;
|
|
245
246
|
input: Array<string>;
|
|
@@ -252,6 +253,36 @@ export type GenerateTextResponse = {
|
|
|
252
253
|
text: string;
|
|
253
254
|
};
|
|
254
255
|
};
|
|
256
|
+
export type GenerateUsage = {
|
|
257
|
+
input?: number;
|
|
258
|
+
output?: number;
|
|
259
|
+
};
|
|
260
|
+
export type GenerateNative = {
|
|
261
|
+
[x: string]: JsonValue;
|
|
262
|
+
};
|
|
263
|
+
export type GeneratePredicateAnswer = {
|
|
264
|
+
type: "predicate";
|
|
265
|
+
name: string;
|
|
266
|
+
probability: number;
|
|
267
|
+
};
|
|
268
|
+
export type GenerateChoiceValue = string | boolean;
|
|
269
|
+
export type GenerateScoreAnswer = {
|
|
270
|
+
type: "score";
|
|
271
|
+
name: string;
|
|
272
|
+
score: number;
|
|
273
|
+
probabilities: Array<{
|
|
274
|
+
value: number;
|
|
275
|
+
label: string;
|
|
276
|
+
probability: number;
|
|
277
|
+
}>;
|
|
278
|
+
confidence: number;
|
|
279
|
+
};
|
|
280
|
+
export type GenerateErrorAnswer = {
|
|
281
|
+
type: "error";
|
|
282
|
+
name: string;
|
|
283
|
+
reason: string;
|
|
284
|
+
message?: string;
|
|
285
|
+
};
|
|
255
286
|
export type VoiceTransportType = "webrtc" | "websocket";
|
|
256
287
|
export type VoiceWebRTCTransport = {
|
|
257
288
|
type: "webrtc";
|
|
@@ -616,6 +647,12 @@ export type SessionStatsTools = {
|
|
|
616
647
|
totals: SessionStatsToolTotals;
|
|
617
648
|
usage: Array<SessionStatsToolUsage>;
|
|
618
649
|
};
|
|
650
|
+
export type GenerateImageOutput2 = {
|
|
651
|
+
type: "image";
|
|
652
|
+
data: PromptBase64;
|
|
653
|
+
mime: string;
|
|
654
|
+
name?: string;
|
|
655
|
+
};
|
|
619
656
|
export type PromptFileAttachment = {
|
|
620
657
|
data: PromptBase64;
|
|
621
658
|
mime: string;
|
|
@@ -891,6 +928,7 @@ export type ModelCompatibility = {
|
|
|
891
928
|
cacheFormat?: ModelCacheFormat;
|
|
892
929
|
supportsThinkingBlockBinding?: boolean;
|
|
893
930
|
supportsEffortUpdates?: boolean;
|
|
931
|
+
mediaInput?: ModelMediaInput;
|
|
894
932
|
};
|
|
895
933
|
export type ProviderCompatibility = {
|
|
896
934
|
reasoningField?: ModelReasoningField;
|
|
@@ -901,6 +939,7 @@ export type ProviderCompatibility = {
|
|
|
901
939
|
supportsPromptCacheKey?: boolean;
|
|
902
940
|
streamUsage?: boolean;
|
|
903
941
|
cacheFormat?: ModelCacheFormat;
|
|
942
|
+
mediaInput?: ModelMediaInput;
|
|
904
943
|
};
|
|
905
944
|
export type ModelCost = {
|
|
906
945
|
tier?: {
|
|
@@ -914,6 +953,16 @@ export type ModelCost = {
|
|
|
914
953
|
write: MoneyUSDPerMillionTokens;
|
|
915
954
|
};
|
|
916
955
|
};
|
|
956
|
+
export type GenerateChoiceAnswer = {
|
|
957
|
+
type: "choice";
|
|
958
|
+
name: string;
|
|
959
|
+
choice: GenerateChoiceValue;
|
|
960
|
+
probabilities: Array<{
|
|
961
|
+
value: GenerateChoiceValue;
|
|
962
|
+
probability: number;
|
|
963
|
+
}>;
|
|
964
|
+
confidence: number;
|
|
965
|
+
};
|
|
917
966
|
export type VoiceModel = {
|
|
918
967
|
model: string;
|
|
919
968
|
provider: string;
|
|
@@ -1280,6 +1329,12 @@ export type UsageLimitsBudget = {
|
|
|
1280
1329
|
shared: boolean;
|
|
1281
1330
|
resetsAt: number;
|
|
1282
1331
|
};
|
|
1332
|
+
export type GenerateImageResult = {
|
|
1333
|
+
images: Array<GenerateImageOutput2>;
|
|
1334
|
+
cost?: MoneyUSD;
|
|
1335
|
+
tokens?: GenerateUsage;
|
|
1336
|
+
native?: GenerateNative;
|
|
1337
|
+
};
|
|
1283
1338
|
export type SessionMessageUser = {
|
|
1284
1339
|
id: SessionMessageID;
|
|
1285
1340
|
metadata?: {
|
|
@@ -2786,6 +2841,7 @@ export type FormState = {
|
|
|
2786
2841
|
status: "cancelled";
|
|
2787
2842
|
message?: string;
|
|
2788
2843
|
};
|
|
2844
|
+
export type GenerateDecisionAnswer = GeneratePredicateAnswer | GenerateChoiceAnswer | GenerateScoreAnswer | GenerateErrorAnswer;
|
|
2789
2845
|
export type VoiceModelsResponse = {
|
|
2790
2846
|
data: {
|
|
2791
2847
|
models: Array<VoiceModel>;
|
|
@@ -3291,6 +3347,9 @@ export type UsageLimitsInfo = {
|
|
|
3291
3347
|
go?: UsageLimitsGo;
|
|
3292
3348
|
budgets: Array<UsageLimitsBudget>;
|
|
3293
3349
|
};
|
|
3350
|
+
export type GenerateImageResponse = {
|
|
3351
|
+
data: GenerateImageResult;
|
|
3352
|
+
};
|
|
3294
3353
|
export type SessionInboxUser = {
|
|
3295
3354
|
id: SessionMessageID;
|
|
3296
3355
|
sessionID: SessionID;
|
|
@@ -3345,6 +3404,12 @@ export type SessionMessageAssistantTool1 = {
|
|
|
3345
3404
|
};
|
|
3346
3405
|
};
|
|
3347
3406
|
export type FormFields = [FormField, ...Array<FormField>];
|
|
3407
|
+
export type GenerateDecisionResult = {
|
|
3408
|
+
answers: Array<GenerateDecisionAnswer>;
|
|
3409
|
+
cost?: MoneyUSD;
|
|
3410
|
+
tokens?: GenerateUsage;
|
|
3411
|
+
native?: GenerateNative;
|
|
3412
|
+
};
|
|
3348
3413
|
export type CredentialEntry = {
|
|
3349
3414
|
id: CredentialID;
|
|
3350
3415
|
integrationID: IntegrationID;
|
|
@@ -3484,6 +3549,9 @@ export type IntegrationExternalMethod = {
|
|
|
3484
3549
|
label: string;
|
|
3485
3550
|
form?: FormFields;
|
|
3486
3551
|
};
|
|
3552
|
+
export type GenerateDecisionsResponse = {
|
|
3553
|
+
data: GenerateDecisionResult;
|
|
3554
|
+
};
|
|
3487
3555
|
export type FormInfo1 = {
|
|
3488
3556
|
id: FormID;
|
|
3489
3557
|
sessionID: string;
|
|
@@ -3670,6 +3738,30 @@ export type ProviderNotFoundError = {
|
|
|
3670
3738
|
readonly message: string;
|
|
3671
3739
|
};
|
|
3672
3740
|
export declare const isProviderNotFoundError: (value: unknown) => value is ProviderNotFoundError;
|
|
3741
|
+
export type ModelNotFoundError = {
|
|
3742
|
+
readonly _tag: "ModelNotFoundError";
|
|
3743
|
+
readonly providerID: string;
|
|
3744
|
+
readonly modelID: string;
|
|
3745
|
+
readonly message: string;
|
|
3746
|
+
};
|
|
3747
|
+
export declare const isModelNotFoundError: (value: unknown) => value is ModelNotFoundError;
|
|
3748
|
+
export type UnsupportedModelError = {
|
|
3749
|
+
readonly _tag: "UnsupportedModelError";
|
|
3750
|
+
readonly providerID: string;
|
|
3751
|
+
readonly modelID: string;
|
|
3752
|
+
readonly capability: string;
|
|
3753
|
+
readonly message: string;
|
|
3754
|
+
};
|
|
3755
|
+
export declare const isUnsupportedModelError: (value: unknown) => value is UnsupportedModelError;
|
|
3756
|
+
export type ProviderRequestError = {
|
|
3757
|
+
readonly _tag: "ProviderRequestError";
|
|
3758
|
+
readonly providerID: string;
|
|
3759
|
+
readonly reason: "authentication" | "rate_limit" | "content_filter" | "invalid_request" | "overloaded" | "provider";
|
|
3760
|
+
readonly message: string;
|
|
3761
|
+
readonly status?: number | undefined;
|
|
3762
|
+
readonly retryAfterMs?: number | undefined;
|
|
3763
|
+
};
|
|
3764
|
+
export declare const isProviderRequestError: (value: unknown) => value is ProviderRequestError;
|
|
3673
3765
|
export type IntegrationNotFoundError = {
|
|
3674
3766
|
readonly _tag: "IntegrationNotFoundError";
|
|
3675
3767
|
readonly integrationID: string;
|
|
@@ -4498,6 +4590,64 @@ export type GenerateTextInput = {
|
|
|
4498
4590
|
} | null | undefined;
|
|
4499
4591
|
};
|
|
4500
4592
|
export type GenerateTextOutput = GenerateTextResponse["data"];
|
|
4593
|
+
export type GenerateImageInput = {
|
|
4594
|
+
readonly model: {
|
|
4595
|
+
readonly id: string;
|
|
4596
|
+
readonly providerID: string;
|
|
4597
|
+
readonly variant?: string;
|
|
4598
|
+
};
|
|
4599
|
+
readonly prompt: string;
|
|
4600
|
+
readonly images?: ReadonlyArray<{
|
|
4601
|
+
readonly data: string;
|
|
4602
|
+
readonly mime: string;
|
|
4603
|
+
readonly name?: string;
|
|
4604
|
+
}> | undefined;
|
|
4605
|
+
readonly n?: number | undefined;
|
|
4606
|
+
readonly aspect?: `${number}${":"}${number}` | undefined;
|
|
4607
|
+
readonly resolution?: ("1K" | "2K" | "4K" | (string & {})) | undefined;
|
|
4608
|
+
};
|
|
4609
|
+
export type GenerateImageOutput = GenerateImageResponse["data"];
|
|
4610
|
+
export type GenerateDecisionsInput = {
|
|
4611
|
+
readonly model: {
|
|
4612
|
+
readonly id: string;
|
|
4613
|
+
readonly providerID: string;
|
|
4614
|
+
readonly variant?: string;
|
|
4615
|
+
};
|
|
4616
|
+
readonly input: ReadonlyArray<{
|
|
4617
|
+
readonly type: "text";
|
|
4618
|
+
readonly text: string;
|
|
4619
|
+
} | {
|
|
4620
|
+
readonly type: "json";
|
|
4621
|
+
readonly value: JsonValue;
|
|
4622
|
+
} | {
|
|
4623
|
+
readonly type: "file";
|
|
4624
|
+
readonly data: string;
|
|
4625
|
+
readonly mime: string;
|
|
4626
|
+
readonly name?: string;
|
|
4627
|
+
}>;
|
|
4628
|
+
readonly questions: ReadonlyArray<{
|
|
4629
|
+
readonly type: "predicate";
|
|
4630
|
+
readonly name: string;
|
|
4631
|
+
readonly instructions: string;
|
|
4632
|
+
} | {
|
|
4633
|
+
readonly type: "choice";
|
|
4634
|
+
readonly name: string;
|
|
4635
|
+
readonly instructions: string;
|
|
4636
|
+
readonly choices: ReadonlyArray<{
|
|
4637
|
+
readonly value: string | boolean;
|
|
4638
|
+
readonly description?: string;
|
|
4639
|
+
}>;
|
|
4640
|
+
} | {
|
|
4641
|
+
readonly type: "score";
|
|
4642
|
+
readonly name: string;
|
|
4643
|
+
readonly instructions: string;
|
|
4644
|
+
readonly levels: ReadonlyArray<{
|
|
4645
|
+
readonly label: string;
|
|
4646
|
+
readonly description?: string;
|
|
4647
|
+
}>;
|
|
4648
|
+
}>;
|
|
4649
|
+
};
|
|
4650
|
+
export type GenerateDecisionsOutput = GenerateDecisionsResponse["data"];
|
|
4501
4651
|
export type VoiceModelsOutput = VoiceModelsResponse["data"];
|
|
4502
4652
|
export type VoiceSessionInput = {
|
|
4503
4653
|
readonly model: string;
|
|
@@ -19,6 +19,9 @@ import {
|
|
|
19
19
|
isFormInvalidAnswerError2,
|
|
20
20
|
isFormAlreadySettledError2,
|
|
21
21
|
isProviderNotFoundError2,
|
|
22
|
+
isModelNotFoundError2,
|
|
23
|
+
isUnsupportedModelError2,
|
|
24
|
+
isProviderRequestError2,
|
|
22
25
|
isIntegrationNotFoundError2,
|
|
23
26
|
isIntegrationAttemptNotFoundError2,
|
|
24
27
|
isIntegrationMethodNotFoundError2,
|
|
@@ -34,7 +37,7 @@ import {
|
|
|
34
37
|
isShellNotFoundError2,
|
|
35
38
|
isWorktreeError2,
|
|
36
39
|
isVcsInitNotSupportedError2
|
|
37
|
-
} from "../../chunks/
|
|
40
|
+
} from "../../chunks/pty-handoff-8we1dz3p.js";
|
|
38
41
|
export {
|
|
39
42
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
40
43
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
@@ -54,11 +57,13 @@ export {
|
|
|
54
57
|
isLocationNotFoundError2 as isLocationNotFoundError,
|
|
55
58
|
isMcpServerNotFoundError2 as isMcpServerNotFoundError,
|
|
56
59
|
isMessageNotFoundError2 as isMessageNotFoundError,
|
|
60
|
+
isModelNotFoundError2 as isModelNotFoundError,
|
|
57
61
|
isPermissionNotFoundError2 as isPermissionNotFoundError,
|
|
58
62
|
isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
|
|
59
63
|
isPluginNotFoundError2 as isPluginNotFoundError,
|
|
60
64
|
isProjectNotFoundError2 as isProjectNotFoundError,
|
|
61
65
|
isProviderNotFoundError2 as isProviderNotFoundError,
|
|
66
|
+
isProviderRequestError2 as isProviderRequestError,
|
|
62
67
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
63
68
|
isRpcError2 as isRpcError,
|
|
64
69
|
isRpcInternalError2 as isRpcInternalError,
|
|
@@ -69,6 +74,7 @@ export {
|
|
|
69
74
|
isSkillNotFoundError2 as isSkillNotFoundError,
|
|
70
75
|
isUnauthorizedError2 as isUnauthorizedError,
|
|
71
76
|
isUnknownError2 as isUnknownError,
|
|
77
|
+
isUnsupportedModelError2 as isUnsupportedModelError,
|
|
72
78
|
isVcsInitNotSupportedError2 as isVcsInitNotSupportedError,
|
|
73
79
|
isWorktreeError2 as isWorktreeError
|
|
74
80
|
};
|
package/dist/promise/index.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import"../chunks/
|
|
1
|
+
import"../chunks/pty-handoff-m2eywc8w.js";
|
|
2
2
|
import {
|
|
3
3
|
exports_client3
|
|
4
|
-
} from "../chunks/
|
|
5
|
-
import"../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import {
|
|
8
|
-
ClientError3
|
|
9
|
-
} from "../chunks/contract-nwcpakzx.js";
|
|
10
|
-
import"../chunks/contract-1gqkvw7r.js";
|
|
4
|
+
} from "../chunks/pty-handoff-dmq8fj7y.js";
|
|
5
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
6
|
+
import"../chunks/pty-handoff-ab9bm97w.js";
|
|
11
7
|
import {
|
|
12
8
|
isInvalidRequestError2,
|
|
13
9
|
isUnauthorizedError2,
|
|
@@ -29,6 +25,9 @@ import {
|
|
|
29
25
|
isFormInvalidAnswerError2,
|
|
30
26
|
isFormAlreadySettledError2,
|
|
31
27
|
isProviderNotFoundError2,
|
|
28
|
+
isModelNotFoundError2,
|
|
29
|
+
isUnsupportedModelError2,
|
|
30
|
+
isProviderRequestError2,
|
|
32
31
|
isIntegrationNotFoundError2,
|
|
33
32
|
isIntegrationAttemptNotFoundError2,
|
|
34
33
|
isIntegrationMethodNotFoundError2,
|
|
@@ -44,8 +43,12 @@ import {
|
|
|
44
43
|
isShellNotFoundError2,
|
|
45
44
|
isWorktreeError2,
|
|
46
45
|
isVcsInitNotSupportedError2
|
|
47
|
-
} from "../chunks/
|
|
48
|
-
import"../chunks/
|
|
46
|
+
} from "../chunks/pty-handoff-8we1dz3p.js";
|
|
47
|
+
import"../chunks/pty-handoff-0mrkn4v6.js";
|
|
48
|
+
import {
|
|
49
|
+
ClientError3
|
|
50
|
+
} from "../chunks/pty-handoff-nwcpakzx.js";
|
|
51
|
+
import"../chunks/pty-handoff-gecjxyvt.js";
|
|
49
52
|
export {
|
|
50
53
|
ClientError3 as ClientError,
|
|
51
54
|
exports_client3 as OpenCode,
|
|
@@ -67,11 +70,13 @@ export {
|
|
|
67
70
|
isLocationNotFoundError2 as isLocationNotFoundError,
|
|
68
71
|
isMcpServerNotFoundError2 as isMcpServerNotFoundError,
|
|
69
72
|
isMessageNotFoundError2 as isMessageNotFoundError,
|
|
73
|
+
isModelNotFoundError2 as isModelNotFoundError,
|
|
70
74
|
isPermissionNotFoundError2 as isPermissionNotFoundError,
|
|
71
75
|
isPermissionSavedNotFoundError2 as isPermissionSavedNotFoundError,
|
|
72
76
|
isPluginNotFoundError2 as isPluginNotFoundError,
|
|
73
77
|
isProjectNotFoundError2 as isProjectNotFoundError,
|
|
74
78
|
isProviderNotFoundError2 as isProviderNotFoundError,
|
|
79
|
+
isProviderRequestError2 as isProviderRequestError,
|
|
75
80
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
76
81
|
isRpcError2 as isRpcError,
|
|
77
82
|
isRpcInternalError2 as isRpcInternalError,
|
|
@@ -82,6 +87,7 @@ export {
|
|
|
82
87
|
isSkillNotFoundError2 as isSkillNotFoundError,
|
|
83
88
|
isUnauthorizedError2 as isUnauthorizedError,
|
|
84
89
|
isUnknownError2 as isUnknownError,
|
|
90
|
+
isUnsupportedModelError2 as isUnsupportedModelError,
|
|
85
91
|
isVcsInitNotSupportedError2 as isVcsInitNotSupportedError,
|
|
86
92
|
isWorktreeError2 as isWorktreeError
|
|
87
93
|
};
|
package/dist/promise/rpc.js
CHANGED
package/dist/promise/service.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
spawnServiceContender2,
|
|
3
3
|
contenderPool2
|
|
4
|
-
} from "../chunks/
|
|
4
|
+
} from "../chunks/pty-handoff-ve4aws36.js";
|
|
5
5
|
import {
|
|
6
6
|
defaultEnsureTiming2,
|
|
7
7
|
ensureTiming2
|
|
8
|
-
} from "../chunks/
|
|
8
|
+
} from "../chunks/pty-handoff-xgnj2w4v.js";
|
|
9
9
|
import {
|
|
10
10
|
matchesVersion2
|
|
11
|
-
} from "../chunks/
|
|
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/
|
|
18
|
+
} from "../chunks/pty-handoff-2ny4vxct.js";
|
|
19
19
|
import {
|
|
20
20
|
prepare2,
|
|
21
21
|
environment2,
|
|
22
22
|
complete2,
|
|
23
23
|
clear2
|
|
24
|
-
} from "../chunks/
|
|
25
|
-
import"../chunks/
|
|
24
|
+
} from "../chunks/pty-handoff-kgppnkcn.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";
|
package/dist/pty-handoff.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
complete2,
|
|
5
5
|
clear2,
|
|
6
6
|
exports_pty_handoff
|
|
7
|
-
} from "./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
10
|
-
import"./chunks/
|
|
7
|
+
} from "./chunks/pty-handoff-kgppnkcn.js";
|
|
8
|
+
import"./chunks/pty-handoff-2ny4vxct.js";
|
|
9
|
+
import"./chunks/pty-handoff-sxt88q69.js";
|
|
10
|
+
import"./chunks/pty-handoff-xgnj2w4v.js";
|
|
11
11
|
export {
|
|
12
12
|
exports_pty_handoff as PtyHandoff,
|
|
13
13
|
clear2 as clear,
|
package/dist/rpc-runtime.js
CHANGED
package/dist/service-probe.js
CHANGED
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
same2,
|
|
5
5
|
probeResult2,
|
|
6
6
|
headers2
|
|
7
|
-
} from "./chunks/
|
|
8
|
-
import"./chunks/
|
|
9
|
-
import"./chunks/
|
|
7
|
+
} from "./chunks/pty-handoff-2ny4vxct.js";
|
|
8
|
+
import"./chunks/pty-handoff-sxt88q69.js";
|
|
9
|
+
import"./chunks/pty-handoff-xgnj2w4v.js";
|
|
10
10
|
export {
|
|
11
11
|
decide2 as decide,
|
|
12
12
|
fallback2 as fallback,
|
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/pty-handoff-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/pty-handoff-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/pty-handoff-cyxwqteg.js";
|
|
6
|
+
import"../chunks/pty-handoff-m2eywc8w.js";
|
|
7
|
+
import"../chunks/pty-handoff-dmq8fj7y.js";
|
|
8
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
9
|
+
import"../chunks/pty-handoff-ab9bm97w.js";
|
|
10
|
+
import"../chunks/pty-handoff-8we1dz3p.js";
|
|
11
|
+
import"../chunks/pty-handoff-0mrkn4v6.js";
|
|
12
|
+
import"../chunks/pty-handoff-nwcpakzx.js";
|
|
13
|
+
import"../chunks/pty-handoff-gecjxyvt.js";
|
|
14
14
|
export {
|
|
15
15
|
createData2 as createData,
|
|
16
16
|
locationKey2 as locationKey,
|
package/dist/solid/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
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/pty-handoff-nwcpakzx.js";
|
|
2
|
+
import"../chunks/pty-handoff-0mrkn4v6.js";
|
|
3
|
+
import"../chunks/pty-handoff-8we1dz3p.js";
|
|
4
|
+
import"../chunks/pty-handoff-vyas3vgt.js";
|
|
5
|
+
import"../chunks/pty-handoff-gecjxyvt.js";
|
|
6
|
+
import"../chunks/pty-handoff-ab9bm97w.js";
|
|
7
|
+
import"../chunks/pty-handoff-dmq8fj7y.js";
|
|
8
|
+
import"../chunks/pty-handoff-m2eywc8w.js";
|
|
9
9
|
import {
|
|
10
10
|
settleMs2,
|
|
11
11
|
locationKey2,
|
|
12
12
|
createData2
|
|
13
|
-
} from "../chunks/
|
|
13
|
+
} from "../chunks/pty-handoff-cyxwqteg.js";
|
|
14
14
|
import {
|
|
15
15
|
defaultIdleTimeout2,
|
|
16
16
|
foregroundIdleThreshold2,
|
|
17
17
|
createClientConnection2
|
|
18
|
-
} from "../chunks/
|
|
18
|
+
} from "../chunks/pty-handoff-ydhz1zrh.js";
|
|
19
19
|
import {
|
|
20
20
|
createPtyClient2,
|
|
21
21
|
createPersistentPtyClient2
|
|
22
|
-
} from "../chunks/
|
|
22
|
+
} from "../chunks/pty-handoff-gne7h7mq.js";
|
|
23
23
|
import {
|
|
24
24
|
createSessionRetention2
|
|
25
|
-
} from "../chunks/
|
|
25
|
+
} from "../chunks/pty-handoff-6mq2wh8y.js";
|
|
26
26
|
import {
|
|
27
27
|
lastAssistantWithUsage2
|
|
28
|
-
} from "../chunks/
|
|
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
package/dist/solid/retention.js
CHANGED