@opencode/client 0.0.0-dev-1301 → 0.0.0-dev-1303
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/{service-contender-2ny4vxct.js → service-version-2ny4vxct.js} +2 -2
- package/dist/chunks/{service-contender-13tw61t2.js → service-version-49q9zpks.js} +17 -17
- package/dist/chunks/{service-contender-k38jn95v.js → service-version-5bwjzgt1.js} +42 -28
- package/dist/chunks/{service-contender-sdjh9vmn.js → service-version-6hqrj29e.js} +5 -3
- package/dist/chunks/{service-contender-y2etg5bs.js → service-version-7f0py9js.js} +2 -2
- package/dist/chunks/{service-contender-632qbcnw.js → service-version-a229fd57.js} +2 -2
- package/dist/chunks/service-version-ftr5q837.js +30 -0
- package/dist/chunks/{service-contender-gecjxyvt.js → service-version-gecjxyvt.js} +1 -1
- package/dist/chunks/{service-contender-nwcpakzx.js → service-version-js54wxgp.js} +2 -2
- package/dist/chunks/{service-contender-tztyfz1b.js → service-version-mqnb71k6.js} +1 -1
- package/dist/chunks/{service-contender-9j12j8xw.js → service-version-myz4ngx9.js} +5 -5
- package/dist/chunks/{service-contender-qdgaygb4.js → service-version-nmmc7qpz.js} +68 -32
- package/dist/chunks/{service-contender-ryy6kscr.js → service-version-ryy6kscr.js} +1 -1
- package/dist/chunks/{service-contender-xqwq6bgr.js → service-version-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 +12 -12
- package/dist/effect/generated/client-error.js +3 -3
- package/dist/effect/generated/client.d.ts +12 -240
- package/dist/effect/generated/client.js +5 -5
- package/dist/effect/generated/index.js +8 -8
- package/dist/effect/index.js +12 -12
- package/dist/effect/rpc.js +4 -4
- package/dist/effect/service.js +6 -6
- package/dist/promise/client.d.ts +14 -7
- package/dist/promise/client.js +11 -11
- package/dist/promise/generated/client-error.js +3 -3
- package/dist/promise/generated/client.d.ts +15 -8
- package/dist/promise/generated/client.js +4 -4
- package/dist/promise/generated/index.js +16 -12
- package/dist/promise/generated/types.d.ts +199 -132
- package/dist/promise/generated/types.js +8 -4
- package/dist/promise/index.js +23 -19
- 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/service-contender-r3e1mxfs.js +0 -30
- /package/dist/chunks/{service-contender-3eaz3m83.js → service-version-3eaz3m83.js} +0 -0
- /package/dist/chunks/{service-contender-60xe5cbf.js → service-version-60xe5cbf.js} +0 -0
- /package/dist/chunks/{service-contender-6mptkzbc.js → service-version-6mptkzbc.js} +0 -0
- /package/dist/chunks/{service-contender-6mq2wh8y.js → service-version-6mq2wh8y.js} +0 -0
- /package/dist/chunks/{service-contender-6r38tsk5.js → service-version-6r38tsk5.js} +0 -0
- /package/dist/chunks/{service-contender-8s2anffy.js → service-version-8s2anffy.js} +0 -0
- /package/dist/chunks/{service-contender-9rqn6x4v.js → service-version-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{service-contender-mwrzahmf.js → service-version-mwrzahmf.js} +0 -0
- /package/dist/chunks/{service-contender-qav6mfdz.js → service-version-qav6mfdz.js} +0 -0
- /package/dist/chunks/{service-contender-sxt88q69.js → service-version-sxt88q69.js} +0 -0
- /package/dist/chunks/{service-contender-ve4aws36.js → service-version-ve4aws36.js} +0 -0
- /package/dist/chunks/{service-contender-vyas3vgt.js → service-version-vyas3vgt.js} +0 -0
- /package/dist/chunks/{service-contender-xgnj2w4v.js → service-version-xgnj2w4v.js} +0 -0
- /package/dist/chunks/{service-contender-ydhz1zrh.js → service-version-ydhz1zrh.js} +0 -0
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import"../../chunks/service-
|
|
1
|
+
import"../../chunks/service-version-vyas3vgt.js";
|
|
2
|
+
import {
|
|
3
|
+
exports_client2
|
|
4
|
+
} from "../../chunks/service-version-nmmc7qpz.js";
|
|
2
5
|
import {
|
|
3
6
|
isInvalidRequestError2,
|
|
4
7
|
isUnauthorizedError2,
|
|
@@ -23,11 +26,12 @@ import {
|
|
|
23
26
|
isModelNotFoundError2,
|
|
24
27
|
isUnsupportedModelError2,
|
|
25
28
|
isProviderRequestError2,
|
|
29
|
+
isForbiddenError2,
|
|
30
|
+
isVideoNotFoundError2,
|
|
26
31
|
isIntegrationNotFoundError2,
|
|
27
32
|
isIntegrationAttemptNotFoundError2,
|
|
28
33
|
isIntegrationMethodNotFoundError2,
|
|
29
34
|
isMcpServerNotFoundError2,
|
|
30
|
-
isForbiddenError2,
|
|
31
35
|
isProjectNotFoundError2,
|
|
32
36
|
isPermissionSavedNotFoundError2,
|
|
33
37
|
isPermissionNotFoundError2,
|
|
@@ -36,23 +40,23 @@ import {
|
|
|
36
40
|
isRpcInternalError2,
|
|
37
41
|
isPtyNotFoundError2,
|
|
38
42
|
isPtyFeatureUnsupportedError2,
|
|
39
|
-
|
|
43
|
+
isBlobNotFoundError2,
|
|
44
|
+
isAutomationNotFoundError2,
|
|
40
45
|
isArtifactNotFoundError2,
|
|
41
46
|
isShellNotFoundError2,
|
|
42
47
|
isWorktreeError2,
|
|
43
48
|
isVcsInitNotSupportedError2
|
|
44
|
-
} from "../../chunks/service-
|
|
45
|
-
import {
|
|
46
|
-
exports_client4
|
|
47
|
-
} from "../../chunks/service-contender-qdgaygb4.js";
|
|
49
|
+
} from "../../chunks/service-version-6hqrj29e.js";
|
|
48
50
|
import {
|
|
49
|
-
|
|
50
|
-
} from "../../chunks/service-
|
|
51
|
+
ClientError2
|
|
52
|
+
} from "../../chunks/service-version-js54wxgp.js";
|
|
51
53
|
export {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
+
ClientError2 as ClientError,
|
|
55
|
+
exports_client2 as OpenCode,
|
|
54
56
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
55
57
|
isArtifactNotFoundError2 as isArtifactNotFoundError,
|
|
58
|
+
isAutomationNotFoundError2 as isAutomationNotFoundError,
|
|
59
|
+
isBlobNotFoundError2 as isBlobNotFoundError,
|
|
56
60
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
57
61
|
isCommandNotFoundError2 as isCommandNotFoundError,
|
|
58
62
|
isConflictError2 as isConflictError,
|
|
@@ -81,7 +85,6 @@ export {
|
|
|
81
85
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
82
86
|
isRpcError2 as isRpcError,
|
|
83
87
|
isRpcInternalError2 as isRpcInternalError,
|
|
84
|
-
isScheduleNotFoundError2 as isScheduleNotFoundError,
|
|
85
88
|
isServiceUnavailableError2 as isServiceUnavailableError,
|
|
86
89
|
isSessionBusyError2 as isSessionBusyError,
|
|
87
90
|
isSessionNotFoundError2 as isSessionNotFoundError,
|
|
@@ -91,5 +94,6 @@ export {
|
|
|
91
94
|
isUnknownError2 as isUnknownError,
|
|
92
95
|
isUnsupportedModelError2 as isUnsupportedModelError,
|
|
93
96
|
isVcsInitNotSupportedError2 as isVcsInitNotSupportedError,
|
|
97
|
+
isVideoNotFoundError2 as isVideoNotFoundError,
|
|
94
98
|
isWorktreeError2 as isWorktreeError
|
|
95
99
|
};
|
|
@@ -240,7 +240,7 @@ export type SessionMessageToolStateRunning1 = {
|
|
|
240
240
|
[x: string]: JsonValue;
|
|
241
241
|
};
|
|
242
242
|
};
|
|
243
|
-
export type ModelType = "chat" | "decision" | "image" | (string & {});
|
|
243
|
+
export type ModelType = "chat" | "decision" | "image" | "video" | (string & {});
|
|
244
244
|
export type ModelReasoningField = "reasoning" | "reasoning_content" | "reasoning_text" | (string & {});
|
|
245
245
|
export type ModelMaxTokensField = "max_completion_tokens" | "max_tokens";
|
|
246
246
|
export type ModelCacheFormat = "anthropic" | "alibaba";
|
|
@@ -259,6 +259,9 @@ export type GenerateUsage = {
|
|
|
259
259
|
export type GenerateNative = {
|
|
260
260
|
[x: string]: JsonValue;
|
|
261
261
|
};
|
|
262
|
+
export type GenerateVideoID = string;
|
|
263
|
+
export type BlobID = string;
|
|
264
|
+
export type GenerateVideoErrorReason = "failed" | "cancelled" | "expired" | "unknown";
|
|
262
265
|
export type GeneratePredicateAnswer = {
|
|
263
266
|
type: "predicate";
|
|
264
267
|
name: string;
|
|
@@ -465,35 +468,33 @@ export type PersistentPtyHandoff = {
|
|
|
465
468
|
ticket: string;
|
|
466
469
|
expiresAt: number;
|
|
467
470
|
};
|
|
468
|
-
export type
|
|
469
|
-
export type
|
|
470
|
-
export type ScheduleWhenAt = {
|
|
471
|
+
export type AutomationID = string;
|
|
472
|
+
export type AutomationTriggerAt = {
|
|
471
473
|
type: "at";
|
|
472
474
|
at: string;
|
|
473
475
|
tz?: string;
|
|
474
476
|
};
|
|
475
|
-
export type
|
|
477
|
+
export type AutomationDuration = string;
|
|
478
|
+
export type AutomationTriggerCron = {
|
|
476
479
|
type: "cron";
|
|
477
480
|
cron: string;
|
|
478
481
|
tz?: string;
|
|
479
482
|
};
|
|
480
|
-
export type
|
|
481
|
-
type: "
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
483
|
+
export type AutomationTriggerEvent = {
|
|
484
|
+
type: "event";
|
|
485
|
+
server: string;
|
|
486
|
+
event: string;
|
|
487
|
+
args?: {
|
|
488
|
+
[x: string]: JsonValue;
|
|
489
|
+
};
|
|
486
490
|
};
|
|
487
|
-
export type
|
|
491
|
+
export type AutomationActionCode = {
|
|
488
492
|
type: "code";
|
|
489
493
|
code: string;
|
|
494
|
+
args?: JsonValue;
|
|
490
495
|
};
|
|
491
|
-
export type
|
|
492
|
-
|
|
493
|
-
prompt: string;
|
|
494
|
-
};
|
|
495
|
-
export type ScheduleStatus = "active" | "paused" | "done";
|
|
496
|
-
export type ScheduleOutcome = "fired" | "late" | "checked" | "expired" | "skipped" | "disabled" | "failed";
|
|
496
|
+
export type AutomationStatus = "active" | "paused" | "done";
|
|
497
|
+
export type AutomationOutcome = "fired" | "late" | "skipped" | "disabled" | "failed" | "expired";
|
|
497
498
|
export type ArtifactCapability = "static" | "server-code" | "sqlite" | "durable-objects";
|
|
498
499
|
export type ArtifactID = string;
|
|
499
500
|
export type ArtifactTime = {
|
|
@@ -618,6 +619,13 @@ export type PluginInfo = {
|
|
|
618
619
|
features: PluginFeatures;
|
|
619
620
|
state: PluginState;
|
|
620
621
|
};
|
|
622
|
+
export type AutomationTarget = {
|
|
623
|
+
session: SessionID;
|
|
624
|
+
subagent?: never;
|
|
625
|
+
} | {
|
|
626
|
+
subagent: AgentID;
|
|
627
|
+
session?: never;
|
|
628
|
+
};
|
|
621
629
|
export type SessionForkBoundary = {
|
|
622
630
|
type: "before";
|
|
623
631
|
messageID: SessionMessageID;
|
|
@@ -1020,6 +1028,22 @@ export type ModelCost = {
|
|
|
1020
1028
|
write: MoneyUSDPerMillionTokens;
|
|
1021
1029
|
};
|
|
1022
1030
|
};
|
|
1031
|
+
export type GenerateVideoRunning = {
|
|
1032
|
+
id: GenerateVideoID;
|
|
1033
|
+
status: "running";
|
|
1034
|
+
};
|
|
1035
|
+
export type BlobInfo = {
|
|
1036
|
+
id: BlobID;
|
|
1037
|
+
mime: string;
|
|
1038
|
+
bytes: number;
|
|
1039
|
+
expiresAt: number;
|
|
1040
|
+
};
|
|
1041
|
+
export type GenerateVideoError = {
|
|
1042
|
+
id: GenerateVideoID;
|
|
1043
|
+
status: "error";
|
|
1044
|
+
error: string;
|
|
1045
|
+
reason: GenerateVideoErrorReason;
|
|
1046
|
+
};
|
|
1023
1047
|
export type GenerateChoiceAnswer = {
|
|
1024
1048
|
type: "choice";
|
|
1025
1049
|
name: string;
|
|
@@ -1246,18 +1270,11 @@ export type FormMultiselectField1 = {
|
|
|
1246
1270
|
export type FormAnswer1 = {
|
|
1247
1271
|
[x: string]: FormValue1;
|
|
1248
1272
|
};
|
|
1249
|
-
export type
|
|
1250
|
-
type: "in";
|
|
1251
|
-
in: ScheduleDuration;
|
|
1252
|
-
tz?: string;
|
|
1253
|
-
};
|
|
1254
|
-
export type ScheduleWhenEvery = {
|
|
1273
|
+
export type AutomationTriggerEvery = {
|
|
1255
1274
|
type: "every";
|
|
1256
|
-
every:
|
|
1275
|
+
every: AutomationDuration;
|
|
1257
1276
|
tz?: string;
|
|
1258
1277
|
};
|
|
1259
|
-
export type ScheduleCondition = ScheduleConditionShell | ScheduleConditionCode;
|
|
1260
|
-
export type ScheduleAction = ScheduleActionPrompt;
|
|
1261
1278
|
export type ArtifactProvider = {
|
|
1262
1279
|
id: string;
|
|
1263
1280
|
name: string;
|
|
@@ -1455,6 +1472,11 @@ export type ModelVariant = {
|
|
|
1455
1472
|
};
|
|
1456
1473
|
};
|
|
1457
1474
|
export type PermissionRuleset = Array<PermissionRule>;
|
|
1475
|
+
export type AutomationActionPrompt = {
|
|
1476
|
+
type: "prompt";
|
|
1477
|
+
prompt: string;
|
|
1478
|
+
to: AutomationTarget;
|
|
1479
|
+
};
|
|
1458
1480
|
export type UsageLimitsBudget = {
|
|
1459
1481
|
id: string;
|
|
1460
1482
|
limit: MoneyUSD;
|
|
@@ -3031,6 +3053,14 @@ export type SessionMessageToolStateError1 = {
|
|
|
3031
3053
|
[x: string]: JsonValue;
|
|
3032
3054
|
};
|
|
3033
3055
|
};
|
|
3056
|
+
export type GenerateVideoCreateResponse = {
|
|
3057
|
+
data: GenerateVideoRunning;
|
|
3058
|
+
};
|
|
3059
|
+
export type GenerateVideoCompleted = {
|
|
3060
|
+
id: GenerateVideoID;
|
|
3061
|
+
status: "completed";
|
|
3062
|
+
blobs: Array<BlobInfo>;
|
|
3063
|
+
};
|
|
3034
3064
|
export type GenerateDecisionAnswer = GeneratePredicateAnswer | GenerateChoiceAnswer | GenerateScoreAnswer | GenerateErrorAnswer;
|
|
3035
3065
|
export type VoiceModelsResponse = {
|
|
3036
3066
|
data: {
|
|
@@ -3119,7 +3149,7 @@ export type FormReplied = {
|
|
|
3119
3149
|
answer: FormAnswer1;
|
|
3120
3150
|
};
|
|
3121
3151
|
};
|
|
3122
|
-
export type
|
|
3152
|
+
export type AutomationTrigger = AutomationTriggerAt | AutomationTriggerEvery | AutomationTriggerCron | AutomationTriggerEvent;
|
|
3123
3153
|
export type ArtifactContent = {
|
|
3124
3154
|
info: ArtifactInfo;
|
|
3125
3155
|
files: {
|
|
@@ -3434,6 +3464,7 @@ export type ConfigEntry = {
|
|
|
3434
3464
|
};
|
|
3435
3465
|
compaction?: {
|
|
3436
3466
|
auto?: boolean;
|
|
3467
|
+
background?: boolean;
|
|
3437
3468
|
keep?: {
|
|
3438
3469
|
tokens?: number;
|
|
3439
3470
|
};
|
|
@@ -3561,12 +3592,14 @@ export type ConfigEntry = {
|
|
|
3561
3592
|
codemode_vm?: boolean;
|
|
3562
3593
|
all_flags?: boolean;
|
|
3563
3594
|
todo?: boolean;
|
|
3564
|
-
background_compaction?: boolean;
|
|
3565
3595
|
media_blob?: boolean;
|
|
3566
|
-
|
|
3596
|
+
automations?: boolean;
|
|
3567
3597
|
artifacts?: boolean;
|
|
3598
|
+
video_generate?: boolean;
|
|
3568
3599
|
console_watches?: boolean;
|
|
3569
3600
|
mcp_events?: boolean;
|
|
3601
|
+
full_codemode?: boolean;
|
|
3602
|
+
schedules?: boolean;
|
|
3570
3603
|
part_rows?: boolean;
|
|
3571
3604
|
image_generate?: boolean | {
|
|
3572
3605
|
model?: string | {
|
|
@@ -3588,6 +3621,7 @@ export type ConfigEntry = {
|
|
|
3588
3621
|
type: "directory";
|
|
3589
3622
|
path: AbsolutePath;
|
|
3590
3623
|
};
|
|
3624
|
+
export type AutomationAction = AutomationActionPrompt | AutomationActionCode;
|
|
3591
3625
|
export type UsageLimitsInfo = {
|
|
3592
3626
|
workspace: {
|
|
3593
3627
|
id: string;
|
|
@@ -3654,6 +3688,7 @@ export type SessionMessageAssistantTool1 = {
|
|
|
3654
3688
|
completed?: number;
|
|
3655
3689
|
};
|
|
3656
3690
|
};
|
|
3691
|
+
export type GenerateVideoJob = GenerateVideoRunning | GenerateVideoCompleted | GenerateVideoError;
|
|
3657
3692
|
export type GenerateDecisionResult = {
|
|
3658
3693
|
answers: Array<GenerateDecisionAnswer>;
|
|
3659
3694
|
cost?: MoneyUSD;
|
|
@@ -3668,28 +3703,6 @@ export type CredentialEntry = {
|
|
|
3668
3703
|
value: CredentialValue;
|
|
3669
3704
|
};
|
|
3670
3705
|
export type FormFields1 = [FormField1, ...Array<FormField1>];
|
|
3671
|
-
export type ScheduleInfo = {
|
|
3672
|
-
id: ScheduleID;
|
|
3673
|
-
sessionID?: SessionID;
|
|
3674
|
-
name?: string;
|
|
3675
|
-
when: ScheduleWhen;
|
|
3676
|
-
tz: string;
|
|
3677
|
-
if?: ScheduleCondition;
|
|
3678
|
-
until?: ScheduleCondition;
|
|
3679
|
-
action: ScheduleAction;
|
|
3680
|
-
status: ScheduleStatus;
|
|
3681
|
-
nextDueAt?: number;
|
|
3682
|
-
endsAt?: number;
|
|
3683
|
-
remainingRuns?: number;
|
|
3684
|
-
runCount: number;
|
|
3685
|
-
lastFiredAt?: number;
|
|
3686
|
-
lastOutcome?: ScheduleOutcome;
|
|
3687
|
-
lastOutput?: string;
|
|
3688
|
-
time: {
|
|
3689
|
-
created: number;
|
|
3690
|
-
updated: number;
|
|
3691
|
-
};
|
|
3692
|
-
};
|
|
3693
3706
|
export type AgentInfo = {
|
|
3694
3707
|
id: AgentID;
|
|
3695
3708
|
name: string;
|
|
@@ -3710,6 +3723,28 @@ export type SessionsResponse = {
|
|
|
3710
3723
|
next?: SessionsCursor | null;
|
|
3711
3724
|
};
|
|
3712
3725
|
};
|
|
3726
|
+
export type AutomationInfo = {
|
|
3727
|
+
id: AutomationID;
|
|
3728
|
+
name: string;
|
|
3729
|
+
projectID: ProjectID;
|
|
3730
|
+
sessionID?: SessionID;
|
|
3731
|
+
directory: string;
|
|
3732
|
+
trigger: AutomationTrigger;
|
|
3733
|
+
tz: string;
|
|
3734
|
+
action: AutomationAction;
|
|
3735
|
+
expires?: number;
|
|
3736
|
+
status: AutomationStatus;
|
|
3737
|
+
nextDueAt?: number;
|
|
3738
|
+
runCount: number;
|
|
3739
|
+
lastRunAt?: number;
|
|
3740
|
+
lastOutcome?: AutomationOutcome;
|
|
3741
|
+
lastOutput?: string;
|
|
3742
|
+
state?: JsonValue;
|
|
3743
|
+
time: {
|
|
3744
|
+
created: number;
|
|
3745
|
+
updated: number;
|
|
3746
|
+
};
|
|
3747
|
+
};
|
|
3713
3748
|
export type SessionInboxInfo = SessionInboxUser | SessionInboxSynthetic | SessionInboxCompaction | SessionInboxMove;
|
|
3714
3749
|
export type SessionMessageAssistant = {
|
|
3715
3750
|
id: SessionMessageID;
|
|
@@ -3791,6 +3826,9 @@ export type SessionInboxEnqueued = {
|
|
|
3791
3826
|
};
|
|
3792
3827
|
};
|
|
3793
3828
|
export type SessionMessageAssistantContentEncoded = SessionMessageAssistantText1 | SessionMessageAssistantReasoning1 | SessionMessageAssistantTool1;
|
|
3829
|
+
export type GenerateVideoGetResponse = {
|
|
3830
|
+
data: GenerateVideoJob;
|
|
3831
|
+
};
|
|
3794
3832
|
export type GenerateDecisionsResponse = {
|
|
3795
3833
|
data: GenerateDecisionResult;
|
|
3796
3834
|
};
|
|
@@ -4004,6 +4042,17 @@ export type ProviderRequestError = {
|
|
|
4004
4042
|
readonly retryAfterMs?: number | undefined;
|
|
4005
4043
|
};
|
|
4006
4044
|
export declare const isProviderRequestError: (value: unknown) => value is ProviderRequestError;
|
|
4045
|
+
export type ForbiddenError = {
|
|
4046
|
+
readonly _tag: "ForbiddenError";
|
|
4047
|
+
readonly message: string;
|
|
4048
|
+
};
|
|
4049
|
+
export declare const isForbiddenError: (value: unknown) => value is ForbiddenError;
|
|
4050
|
+
export type VideoNotFoundError = {
|
|
4051
|
+
readonly _tag: "VideoNotFoundError";
|
|
4052
|
+
readonly videoID: string;
|
|
4053
|
+
readonly message: string;
|
|
4054
|
+
};
|
|
4055
|
+
export declare const isVideoNotFoundError: (value: unknown) => value is VideoNotFoundError;
|
|
4007
4056
|
export type IntegrationNotFoundError = {
|
|
4008
4057
|
readonly _tag: "IntegrationNotFoundError";
|
|
4009
4058
|
readonly integrationID: string;
|
|
@@ -4030,11 +4079,6 @@ export type McpServerNotFoundError = {
|
|
|
4030
4079
|
readonly message: string;
|
|
4031
4080
|
};
|
|
4032
4081
|
export declare const isMcpServerNotFoundError: (value: unknown) => value is McpServerNotFoundError;
|
|
4033
|
-
export type ForbiddenError = {
|
|
4034
|
-
readonly _tag: "ForbiddenError";
|
|
4035
|
-
readonly message: string;
|
|
4036
|
-
};
|
|
4037
|
-
export declare const isForbiddenError: (value: unknown) => value is ForbiddenError;
|
|
4038
4082
|
export type ProjectNotFoundError = {
|
|
4039
4083
|
readonly _tag: "ProjectNotFoundError";
|
|
4040
4084
|
readonly projectID: string;
|
|
@@ -4085,12 +4129,18 @@ export type PtyFeatureUnsupportedError = {
|
|
|
4085
4129
|
readonly message: string;
|
|
4086
4130
|
};
|
|
4087
4131
|
export declare const isPtyFeatureUnsupportedError: (value: unknown) => value is PtyFeatureUnsupportedError;
|
|
4088
|
-
export type
|
|
4089
|
-
readonly _tag: "
|
|
4090
|
-
readonly
|
|
4132
|
+
export type BlobNotFoundError = {
|
|
4133
|
+
readonly _tag: "BlobNotFoundError";
|
|
4134
|
+
readonly blobID: string;
|
|
4091
4135
|
readonly message: string;
|
|
4092
4136
|
};
|
|
4093
|
-
export declare const
|
|
4137
|
+
export declare const isBlobNotFoundError: (value: unknown) => value is BlobNotFoundError;
|
|
4138
|
+
export type AutomationNotFoundError = {
|
|
4139
|
+
readonly _tag: "AutomationNotFoundError";
|
|
4140
|
+
readonly automationID: string;
|
|
4141
|
+
readonly message: string;
|
|
4142
|
+
};
|
|
4143
|
+
export declare const isAutomationNotFoundError: (value: unknown) => value is AutomationNotFoundError;
|
|
4094
4144
|
export type ArtifactNotFoundError = {
|
|
4095
4145
|
readonly _tag: "ArtifactNotFoundError";
|
|
4096
4146
|
readonly artifactID: string;
|
|
@@ -4839,7 +4889,7 @@ export type ModelListInput = {
|
|
|
4839
4889
|
readonly location?: {
|
|
4840
4890
|
readonly directory?: string | undefined;
|
|
4841
4891
|
} | undefined;
|
|
4842
|
-
readonly types?: ReadonlyArray<"chat" | "decision" | "image" | (string & {})> | undefined;
|
|
4892
|
+
readonly types?: ReadonlyArray<"chat" | "decision" | "image" | "video" | (string & {})> | undefined;
|
|
4843
4893
|
};
|
|
4844
4894
|
export type ModelListOutput = {
|
|
4845
4895
|
location: LocationPublicRef;
|
|
@@ -4880,6 +4930,38 @@ export type ExperimentalGenerateImageInput = {
|
|
|
4880
4930
|
readonly resolution?: ("1K" | "2K" | "4K" | (string & {})) | undefined;
|
|
4881
4931
|
};
|
|
4882
4932
|
export type ExperimentalGenerateImageOutput = GenerateImageResponse["data"];
|
|
4933
|
+
export type ExperimentalGenerateVideoCreateInput = {
|
|
4934
|
+
readonly model: {
|
|
4935
|
+
readonly id: string;
|
|
4936
|
+
readonly providerID: string;
|
|
4937
|
+
readonly variant?: string;
|
|
4938
|
+
};
|
|
4939
|
+
readonly prompt: string;
|
|
4940
|
+
readonly start?: {
|
|
4941
|
+
readonly data: string;
|
|
4942
|
+
readonly mime: string;
|
|
4943
|
+
readonly name?: string;
|
|
4944
|
+
} | undefined;
|
|
4945
|
+
readonly end?: {
|
|
4946
|
+
readonly data: string;
|
|
4947
|
+
readonly mime: string;
|
|
4948
|
+
readonly name?: string;
|
|
4949
|
+
} | undefined;
|
|
4950
|
+
readonly references?: ReadonlyArray<{
|
|
4951
|
+
readonly data: string;
|
|
4952
|
+
readonly mime: string;
|
|
4953
|
+
readonly name?: string;
|
|
4954
|
+
}> | undefined;
|
|
4955
|
+
readonly duration?: number | undefined;
|
|
4956
|
+
readonly aspect?: (`${number}${":"}${number}` | "auto") | undefined;
|
|
4957
|
+
readonly resolution?: ("480p" | "720p" | "1080p" | "4k" | (string & {})) | undefined;
|
|
4958
|
+
readonly sound?: boolean | undefined;
|
|
4959
|
+
};
|
|
4960
|
+
export type ExperimentalGenerateVideoCreateOutput = GenerateVideoCreateResponse["data"];
|
|
4961
|
+
export type ExperimentalGenerateVideoGetInput = {
|
|
4962
|
+
readonly id: string;
|
|
4963
|
+
};
|
|
4964
|
+
export type ExperimentalGenerateVideoGetOutput = GenerateVideoGetResponse["data"];
|
|
4883
4965
|
export type ExperimentalGenerateDecisionsInput = {
|
|
4884
4966
|
readonly model: {
|
|
4885
4967
|
readonly id: string;
|
|
@@ -5549,98 +5631,83 @@ export type ExperimentalMediaGetInput = {
|
|
|
5549
5631
|
readonly hash: string;
|
|
5550
5632
|
};
|
|
5551
5633
|
export type ExperimentalMediaGetOutput = globalThis.Uint8Array;
|
|
5552
|
-
export type
|
|
5553
|
-
readonly
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5634
|
+
export type ExperimentalBlobGetInput = {
|
|
5635
|
+
readonly id: string;
|
|
5636
|
+
};
|
|
5637
|
+
export type ExperimentalBlobGetOutput = globalThis.Uint8Array;
|
|
5638
|
+
export type ExperimentalAutomationCreateInput = {
|
|
5639
|
+
readonly sessionID?: string | undefined;
|
|
5640
|
+
readonly directory?: string | undefined;
|
|
5641
|
+
readonly name: string;
|
|
5642
|
+
readonly trigger: {
|
|
5643
|
+
readonly type: "at";
|
|
5562
5644
|
readonly at: string;
|
|
5563
|
-
readonly in?: never;
|
|
5564
|
-
readonly every?: never;
|
|
5565
|
-
readonly cron?: never;
|
|
5566
5645
|
readonly tz?: string;
|
|
5567
5646
|
} | {
|
|
5647
|
+
readonly type: "every";
|
|
5568
5648
|
readonly every: string;
|
|
5569
|
-
readonly in?: never;
|
|
5570
|
-
readonly at?: never;
|
|
5571
|
-
readonly cron?: never;
|
|
5572
5649
|
readonly tz?: string;
|
|
5573
5650
|
} | {
|
|
5651
|
+
readonly type: "cron";
|
|
5574
5652
|
readonly cron: string;
|
|
5575
|
-
readonly in?: never;
|
|
5576
|
-
readonly at?: never;
|
|
5577
|
-
readonly every?: never;
|
|
5578
5653
|
readonly tz?: string;
|
|
5579
|
-
}) | undefined;
|
|
5580
|
-
readonly if?: ({
|
|
5581
|
-
readonly run: string;
|
|
5582
|
-
readonly is?: string;
|
|
5583
|
-
readonly matches?: string;
|
|
5584
|
-
readonly changes?: boolean;
|
|
5585
|
-
readonly code?: never;
|
|
5586
5654
|
} | {
|
|
5587
|
-
readonly
|
|
5588
|
-
readonly
|
|
5589
|
-
readonly
|
|
5590
|
-
readonly
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
readonly
|
|
5596
|
-
readonly
|
|
5597
|
-
readonly
|
|
5598
|
-
|
|
5655
|
+
readonly type: "event";
|
|
5656
|
+
readonly server: string;
|
|
5657
|
+
readonly event: string;
|
|
5658
|
+
readonly args?: {
|
|
5659
|
+
readonly [x: string]: JsonValue;
|
|
5660
|
+
};
|
|
5661
|
+
};
|
|
5662
|
+
readonly action: {
|
|
5663
|
+
readonly type: "prompt";
|
|
5664
|
+
readonly prompt: string;
|
|
5665
|
+
readonly to?: {
|
|
5666
|
+
readonly session: string;
|
|
5667
|
+
readonly subagent?: never;
|
|
5668
|
+
} | {
|
|
5669
|
+
readonly subagent: string;
|
|
5670
|
+
readonly session?: never;
|
|
5671
|
+
};
|
|
5599
5672
|
} | {
|
|
5673
|
+
readonly type: "code";
|
|
5600
5674
|
readonly code: string;
|
|
5601
|
-
readonly
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
readonly changes?: never;
|
|
5605
|
-
}) | undefined;
|
|
5606
|
-
readonly ends?: {
|
|
5607
|
-
readonly after?: string;
|
|
5608
|
-
readonly at?: string;
|
|
5609
|
-
readonly times?: number;
|
|
5610
|
-
} | undefined;
|
|
5611
|
-
readonly prompt: string;
|
|
5675
|
+
readonly args?: JsonValue;
|
|
5676
|
+
};
|
|
5677
|
+
readonly expires?: string | undefined;
|
|
5612
5678
|
};
|
|
5613
|
-
export type
|
|
5614
|
-
data:
|
|
5679
|
+
export type ExperimentalAutomationCreateOutput = {
|
|
5680
|
+
data: AutomationInfo;
|
|
5615
5681
|
}["data"];
|
|
5616
|
-
export type
|
|
5617
|
-
readonly sessionID
|
|
5682
|
+
export type ExperimentalAutomationListInput = {
|
|
5683
|
+
readonly sessionID?: string | undefined;
|
|
5684
|
+
readonly directory?: string | undefined;
|
|
5618
5685
|
};
|
|
5619
|
-
export type
|
|
5620
|
-
data: Array<
|
|
5686
|
+
export type ExperimentalAutomationListOutput = {
|
|
5687
|
+
data: Array<AutomationInfo>;
|
|
5621
5688
|
}["data"];
|
|
5622
|
-
export type
|
|
5623
|
-
readonly
|
|
5689
|
+
export type ExperimentalAutomationGetInput = {
|
|
5690
|
+
readonly automationID: string;
|
|
5624
5691
|
};
|
|
5625
|
-
export type
|
|
5626
|
-
data:
|
|
5692
|
+
export type ExperimentalAutomationGetOutput = {
|
|
5693
|
+
data: AutomationInfo;
|
|
5627
5694
|
}["data"];
|
|
5628
|
-
export type
|
|
5629
|
-
readonly
|
|
5695
|
+
export type ExperimentalAutomationPauseInput = {
|
|
5696
|
+
readonly automationID: string;
|
|
5630
5697
|
};
|
|
5631
|
-
export type
|
|
5632
|
-
data:
|
|
5698
|
+
export type ExperimentalAutomationPauseOutput = {
|
|
5699
|
+
data: AutomationInfo;
|
|
5633
5700
|
}["data"];
|
|
5634
|
-
export type
|
|
5635
|
-
readonly
|
|
5701
|
+
export type ExperimentalAutomationResumeInput = {
|
|
5702
|
+
readonly automationID: string;
|
|
5636
5703
|
};
|
|
5637
|
-
export type
|
|
5638
|
-
data:
|
|
5704
|
+
export type ExperimentalAutomationResumeOutput = {
|
|
5705
|
+
data: AutomationInfo;
|
|
5639
5706
|
}["data"];
|
|
5640
|
-
export type
|
|
5641
|
-
readonly
|
|
5707
|
+
export type ExperimentalAutomationDeleteInput = {
|
|
5708
|
+
readonly automationID: string;
|
|
5642
5709
|
};
|
|
5643
|
-
export type
|
|
5710
|
+
export type ExperimentalAutomationDeleteOutput = void;
|
|
5644
5711
|
export type ExperimentalArtifactsProvidersInput = {
|
|
5645
5712
|
readonly location?: {
|
|
5646
5713
|
readonly directory?: string | undefined;
|
|
@@ -22,11 +22,12 @@ import {
|
|
|
22
22
|
isModelNotFoundError2,
|
|
23
23
|
isUnsupportedModelError2,
|
|
24
24
|
isProviderRequestError2,
|
|
25
|
+
isForbiddenError2,
|
|
26
|
+
isVideoNotFoundError2,
|
|
25
27
|
isIntegrationNotFoundError2,
|
|
26
28
|
isIntegrationAttemptNotFoundError2,
|
|
27
29
|
isIntegrationMethodNotFoundError2,
|
|
28
30
|
isMcpServerNotFoundError2,
|
|
29
|
-
isForbiddenError2,
|
|
30
31
|
isProjectNotFoundError2,
|
|
31
32
|
isPermissionSavedNotFoundError2,
|
|
32
33
|
isPermissionNotFoundError2,
|
|
@@ -35,15 +36,18 @@ import {
|
|
|
35
36
|
isRpcInternalError2,
|
|
36
37
|
isPtyNotFoundError2,
|
|
37
38
|
isPtyFeatureUnsupportedError2,
|
|
38
|
-
|
|
39
|
+
isBlobNotFoundError2,
|
|
40
|
+
isAutomationNotFoundError2,
|
|
39
41
|
isArtifactNotFoundError2,
|
|
40
42
|
isShellNotFoundError2,
|
|
41
43
|
isWorktreeError2,
|
|
42
44
|
isVcsInitNotSupportedError2
|
|
43
|
-
} from "../../chunks/service-
|
|
45
|
+
} from "../../chunks/service-version-6hqrj29e.js";
|
|
44
46
|
export {
|
|
45
47
|
isAgentNotFoundError2 as isAgentNotFoundError,
|
|
46
48
|
isArtifactNotFoundError2 as isArtifactNotFoundError,
|
|
49
|
+
isAutomationNotFoundError2 as isAutomationNotFoundError,
|
|
50
|
+
isBlobNotFoundError2 as isBlobNotFoundError,
|
|
47
51
|
isCommandExecutionError2 as isCommandExecutionError,
|
|
48
52
|
isCommandNotFoundError2 as isCommandNotFoundError,
|
|
49
53
|
isConflictError2 as isConflictError,
|
|
@@ -72,7 +76,6 @@ export {
|
|
|
72
76
|
isPtyNotFoundError2 as isPtyNotFoundError,
|
|
73
77
|
isRpcError2 as isRpcError,
|
|
74
78
|
isRpcInternalError2 as isRpcInternalError,
|
|
75
|
-
isScheduleNotFoundError2 as isScheduleNotFoundError,
|
|
76
79
|
isServiceUnavailableError2 as isServiceUnavailableError,
|
|
77
80
|
isSessionBusyError2 as isSessionBusyError,
|
|
78
81
|
isSessionNotFoundError2 as isSessionNotFoundError,
|
|
@@ -82,5 +85,6 @@ export {
|
|
|
82
85
|
isUnknownError2 as isUnknownError,
|
|
83
86
|
isUnsupportedModelError2 as isUnsupportedModelError,
|
|
84
87
|
isVcsInitNotSupportedError2 as isVcsInitNotSupportedError,
|
|
88
|
+
isVideoNotFoundError2 as isVideoNotFoundError,
|
|
85
89
|
isWorktreeError2 as isWorktreeError
|
|
86
90
|
};
|