@myagentroam/protocol 0.9.124 → 0.9.126
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/index.d.ts +155 -19
- package/dist/index.js +44 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2071,6 +2071,94 @@ export declare const runtimeCredentialResolveResponseSchema: z.ZodUnion<[z.ZodOb
|
|
|
2071
2071
|
};
|
|
2072
2072
|
}>]>;
|
|
2073
2073
|
export type RuntimeCredentialResolveResponse = z.infer<typeof runtimeCredentialResolveResponseSchema>;
|
|
2074
|
+
export declare const scheduledRunAuthorizeRequestSchema: z.ZodObject<{
|
|
2075
|
+
taskId: z.ZodString;
|
|
2076
|
+
revision: z.ZodNumber;
|
|
2077
|
+
occurrenceId: z.ZodString;
|
|
2078
|
+
sessionId: z.ZodString;
|
|
2079
|
+
workspaceId: z.ZodString;
|
|
2080
|
+
ownerUserId: z.ZodNumber;
|
|
2081
|
+
runner: z.ZodEnum<["codex", "claude-code", "opencode", "mar-agent"]>;
|
|
2082
|
+
model: z.ZodNullable<z.ZodString>;
|
|
2083
|
+
}, "strict", z.ZodTypeAny, {
|
|
2084
|
+
workspaceId: string;
|
|
2085
|
+
revision: number;
|
|
2086
|
+
ownerUserId: number;
|
|
2087
|
+
sessionId: string;
|
|
2088
|
+
runner: "codex" | "claude-code" | "opencode" | "mar-agent";
|
|
2089
|
+
taskId: string;
|
|
2090
|
+
occurrenceId: string;
|
|
2091
|
+
model: string | null;
|
|
2092
|
+
}, {
|
|
2093
|
+
workspaceId: string;
|
|
2094
|
+
revision: number;
|
|
2095
|
+
ownerUserId: number;
|
|
2096
|
+
sessionId: string;
|
|
2097
|
+
runner: "codex" | "claude-code" | "opencode" | "mar-agent";
|
|
2098
|
+
taskId: string;
|
|
2099
|
+
occurrenceId: string;
|
|
2100
|
+
model: string | null;
|
|
2101
|
+
}>;
|
|
2102
|
+
export type ScheduledRunAuthorizeRequest = z.infer<typeof scheduledRunAuthorizeRequestSchema>;
|
|
2103
|
+
export declare const scheduledRunAuthorizeResponseSchema: z.ZodUnion<[z.ZodObject<{
|
|
2104
|
+
context: z.ZodObject<{
|
|
2105
|
+
secretEnvironment: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
2106
|
+
personalInstructions: z.ZodOptional<z.ZodUnknown>;
|
|
2107
|
+
marAgentModel: z.ZodOptional<z.ZodUnknown>;
|
|
2108
|
+
marAgentModels: z.ZodOptional<z.ZodUnknown>;
|
|
2109
|
+
marAgentRuntimeScopeId: z.ZodOptional<z.ZodUnknown>;
|
|
2110
|
+
}, "strict", z.ZodTypeAny, {
|
|
2111
|
+
secretEnvironment: Record<string, string>;
|
|
2112
|
+
personalInstructions?: unknown;
|
|
2113
|
+
marAgentModel?: unknown;
|
|
2114
|
+
marAgentModels?: unknown;
|
|
2115
|
+
marAgentRuntimeScopeId?: unknown;
|
|
2116
|
+
}, {
|
|
2117
|
+
secretEnvironment: Record<string, string>;
|
|
2118
|
+
personalInstructions?: unknown;
|
|
2119
|
+
marAgentModel?: unknown;
|
|
2120
|
+
marAgentModels?: unknown;
|
|
2121
|
+
marAgentRuntimeScopeId?: unknown;
|
|
2122
|
+
}>;
|
|
2123
|
+
}, "strict", z.ZodTypeAny, {
|
|
2124
|
+
context: {
|
|
2125
|
+
secretEnvironment: Record<string, string>;
|
|
2126
|
+
personalInstructions?: unknown;
|
|
2127
|
+
marAgentModel?: unknown;
|
|
2128
|
+
marAgentModels?: unknown;
|
|
2129
|
+
marAgentRuntimeScopeId?: unknown;
|
|
2130
|
+
};
|
|
2131
|
+
}, {
|
|
2132
|
+
context: {
|
|
2133
|
+
secretEnvironment: Record<string, string>;
|
|
2134
|
+
personalInstructions?: unknown;
|
|
2135
|
+
marAgentModel?: unknown;
|
|
2136
|
+
marAgentModels?: unknown;
|
|
2137
|
+
marAgentRuntimeScopeId?: unknown;
|
|
2138
|
+
};
|
|
2139
|
+
}>, z.ZodObject<{
|
|
2140
|
+
error: z.ZodObject<{
|
|
2141
|
+
code: z.ZodString;
|
|
2142
|
+
message: z.ZodString;
|
|
2143
|
+
}, "strict", z.ZodTypeAny, {
|
|
2144
|
+
code: string;
|
|
2145
|
+
message: string;
|
|
2146
|
+
}, {
|
|
2147
|
+
code: string;
|
|
2148
|
+
message: string;
|
|
2149
|
+
}>;
|
|
2150
|
+
}, "strict", z.ZodTypeAny, {
|
|
2151
|
+
error: {
|
|
2152
|
+
code: string;
|
|
2153
|
+
message: string;
|
|
2154
|
+
};
|
|
2155
|
+
}, {
|
|
2156
|
+
error: {
|
|
2157
|
+
code: string;
|
|
2158
|
+
message: string;
|
|
2159
|
+
};
|
|
2160
|
+
}>]>;
|
|
2161
|
+
export type ScheduledRunAuthorizeResponse = z.infer<typeof scheduledRunAuthorizeResponseSchema>;
|
|
2074
2162
|
export declare const marAgentModelCredentialSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
2075
2163
|
type: z.ZodLiteral<"INLINE_API_KEY">;
|
|
2076
2164
|
value: z.ZodString;
|
|
@@ -6048,13 +6136,13 @@ export declare const runnerDefaultConfigurationSchema: z.ZodObject<{
|
|
|
6048
6136
|
access: z.ZodString;
|
|
6049
6137
|
}, "strip", z.ZodTypeAny, {
|
|
6050
6138
|
runner: "codex" | "claude-code" | "opencode" | "mar-agent";
|
|
6051
|
-
access: string;
|
|
6052
6139
|
model: string;
|
|
6140
|
+
access: string;
|
|
6053
6141
|
effort: string;
|
|
6054
6142
|
}, {
|
|
6055
6143
|
runner: "codex" | "claude-code" | "opencode" | "mar-agent";
|
|
6056
|
-
access: string;
|
|
6057
6144
|
model: string;
|
|
6145
|
+
access: string;
|
|
6058
6146
|
effort: string;
|
|
6059
6147
|
}>;
|
|
6060
6148
|
export type RunnerDefaultConfiguration = z.infer<typeof runnerDefaultConfigurationSchema>;
|
|
@@ -6562,18 +6650,18 @@ export declare const nodeWorkbenchCapabilitiesSchema: z.ZodObject<{
|
|
|
6562
6650
|
} | undefined;
|
|
6563
6651
|
}>;
|
|
6564
6652
|
export type NodeWorkbenchCapabilities = z.infer<typeof nodeWorkbenchCapabilitiesSchema>;
|
|
6565
|
-
export declare const sessionRuntimeCapabilitySchema: z.ZodEnum<["history.read", "events.live", "turn.start", "turn.queue", "turn.interrupt", "run.cancel", "approval.respond", "user-input.respond", "session.rename", "session.rewind", "session.rollback", "session.remove", "session.pin"]>;
|
|
6653
|
+
export declare const sessionRuntimeCapabilitySchema: z.ZodEnum<["history.read", "events.live", "turn.start", "turn.queue", "turn.interrupt", "run.cancel", "approval.respond", "user-input.respond", "session.rename", "session.rewind", "session.rollback", "session.remove", "session.pin", "session.schedule"]>;
|
|
6566
6654
|
export declare const sessionRuntimeCapabilitiesSchema: z.ZodObject<{
|
|
6567
6655
|
level: z.ZodLiteral<"MANAGED">;
|
|
6568
|
-
capabilities: z.ZodArray<z.ZodEnum<["history.read", "events.live", "turn.start", "turn.queue", "turn.interrupt", "run.cancel", "approval.respond", "user-input.respond", "session.rename", "session.rewind", "session.rollback", "session.remove", "session.pin"]>, "many">;
|
|
6656
|
+
capabilities: z.ZodArray<z.ZodEnum<["history.read", "events.live", "turn.start", "turn.queue", "turn.interrupt", "run.cancel", "approval.respond", "user-input.respond", "session.rename", "session.rewind", "session.rollback", "session.remove", "session.pin", "session.schedule"]>, "many">;
|
|
6569
6657
|
reasonCode: z.ZodNullable<z.ZodString>;
|
|
6570
6658
|
}, "strip", z.ZodTypeAny, {
|
|
6571
6659
|
reasonCode: string | null;
|
|
6572
|
-
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.rewind" | "session.rollback" | "session.remove" | "session.pin")[];
|
|
6660
|
+
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.rewind" | "session.rollback" | "session.remove" | "session.pin" | "session.schedule")[];
|
|
6573
6661
|
level: "MANAGED";
|
|
6574
6662
|
}, {
|
|
6575
6663
|
reasonCode: string | null;
|
|
6576
|
-
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.rewind" | "session.rollback" | "session.remove" | "session.pin")[];
|
|
6664
|
+
capabilities: ("history.read" | "events.live" | "turn.start" | "turn.queue" | "turn.interrupt" | "run.cancel" | "approval.respond" | "user-input.respond" | "session.rename" | "session.rewind" | "session.rollback" | "session.remove" | "session.pin" | "session.schedule")[];
|
|
6577
6665
|
level: "MANAGED";
|
|
6578
6666
|
}>;
|
|
6579
6667
|
export type SessionRuntimeCapabilities = z.infer<typeof sessionRuntimeCapabilitiesSchema>;
|
|
@@ -6779,6 +6867,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
6779
6867
|
startLine?: number | undefined;
|
|
6780
6868
|
endLine?: number | undefined;
|
|
6781
6869
|
}>, "many">>;
|
|
6870
|
+
source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
|
|
6782
6871
|
delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
|
|
6783
6872
|
}, "strip", z.ZodTypeAny, {
|
|
6784
6873
|
clientMessageId: string | null;
|
|
@@ -6792,10 +6881,12 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
6792
6881
|
endLine?: number | undefined;
|
|
6793
6882
|
}[];
|
|
6794
6883
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
6884
|
+
source?: "SCHEDULED" | undefined;
|
|
6795
6885
|
}, {
|
|
6796
6886
|
clientMessageId: string | null;
|
|
6797
6887
|
text: string;
|
|
6798
6888
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
6889
|
+
source?: "SCHEDULED" | undefined;
|
|
6799
6890
|
contexts?: {
|
|
6800
6891
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
6801
6892
|
label: string;
|
|
@@ -6826,6 +6917,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
6826
6917
|
endLine?: number | undefined;
|
|
6827
6918
|
}[];
|
|
6828
6919
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
6920
|
+
source?: "SCHEDULED" | undefined;
|
|
6829
6921
|
};
|
|
6830
6922
|
turnId: string;
|
|
6831
6923
|
parentItemId: string | null;
|
|
@@ -6845,6 +6937,7 @@ export declare const conversationItemSchema: z.ZodDiscriminatedUnion<"kind", [z.
|
|
|
6845
6937
|
clientMessageId: string | null;
|
|
6846
6938
|
text: string;
|
|
6847
6939
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
6940
|
+
source?: "SCHEDULED" | undefined;
|
|
6848
6941
|
contexts?: {
|
|
6849
6942
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
6850
6943
|
label: string;
|
|
@@ -8201,6 +8294,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
8201
8294
|
startLine?: number | undefined;
|
|
8202
8295
|
endLine?: number | undefined;
|
|
8203
8296
|
}>, "many">>;
|
|
8297
|
+
source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
|
|
8204
8298
|
delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
|
|
8205
8299
|
}, "strip", z.ZodTypeAny, {
|
|
8206
8300
|
clientMessageId: string | null;
|
|
@@ -8214,10 +8308,12 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
8214
8308
|
endLine?: number | undefined;
|
|
8215
8309
|
}[];
|
|
8216
8310
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
8311
|
+
source?: "SCHEDULED" | undefined;
|
|
8217
8312
|
}, {
|
|
8218
8313
|
clientMessageId: string | null;
|
|
8219
8314
|
text: string;
|
|
8220
8315
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
8316
|
+
source?: "SCHEDULED" | undefined;
|
|
8221
8317
|
contexts?: {
|
|
8222
8318
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
8223
8319
|
label: string;
|
|
@@ -8248,6 +8344,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
8248
8344
|
endLine?: number | undefined;
|
|
8249
8345
|
}[];
|
|
8250
8346
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
8347
|
+
source?: "SCHEDULED" | undefined;
|
|
8251
8348
|
};
|
|
8252
8349
|
turnId: string;
|
|
8253
8350
|
parentItemId: string | null;
|
|
@@ -8267,6 +8364,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
8267
8364
|
clientMessageId: string | null;
|
|
8268
8365
|
text: string;
|
|
8269
8366
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
8367
|
+
source?: "SCHEDULED" | undefined;
|
|
8270
8368
|
contexts?: {
|
|
8271
8369
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
8272
8370
|
label: string;
|
|
@@ -9505,8 +9603,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
9505
9603
|
runId: string | null;
|
|
9506
9604
|
sessionId: string;
|
|
9507
9605
|
completedAt: number | null;
|
|
9508
|
-
access: string | null;
|
|
9509
9606
|
model: string | null;
|
|
9607
|
+
access: string | null;
|
|
9510
9608
|
items: ({
|
|
9511
9609
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
9512
9610
|
kind: "assistant_message";
|
|
@@ -9547,6 +9645,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
9547
9645
|
endLine?: number | undefined;
|
|
9548
9646
|
}[];
|
|
9549
9647
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
9648
|
+
source?: "SCHEDULED" | undefined;
|
|
9550
9649
|
};
|
|
9551
9650
|
turnId: string;
|
|
9552
9651
|
parentItemId: string | null;
|
|
@@ -9865,8 +9964,8 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
9865
9964
|
runId: string | null;
|
|
9866
9965
|
sessionId: string;
|
|
9867
9966
|
completedAt: number | null;
|
|
9868
|
-
access: string | null;
|
|
9869
9967
|
model: string | null;
|
|
9968
|
+
access: string | null;
|
|
9870
9969
|
items: ({
|
|
9871
9970
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
9872
9971
|
kind: "assistant_message";
|
|
@@ -9899,6 +9998,7 @@ export declare const conversationTurnSchema: z.ZodObject<{
|
|
|
9899
9998
|
clientMessageId: string | null;
|
|
9900
9999
|
text: string;
|
|
9901
10000
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
10001
|
+
source?: "SCHEDULED" | undefined;
|
|
9902
10002
|
contexts?: {
|
|
9903
10003
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
9904
10004
|
label: string;
|
|
@@ -11841,6 +11941,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
11841
11941
|
startLine?: number | undefined;
|
|
11842
11942
|
endLine?: number | undefined;
|
|
11843
11943
|
}>, "many">>;
|
|
11944
|
+
source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
|
|
11844
11945
|
delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
|
|
11845
11946
|
}, "strip", z.ZodTypeAny, {
|
|
11846
11947
|
clientMessageId: string | null;
|
|
@@ -11854,10 +11955,12 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
11854
11955
|
endLine?: number | undefined;
|
|
11855
11956
|
}[];
|
|
11856
11957
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
11958
|
+
source?: "SCHEDULED" | undefined;
|
|
11857
11959
|
}, {
|
|
11858
11960
|
clientMessageId: string | null;
|
|
11859
11961
|
text: string;
|
|
11860
11962
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
11963
|
+
source?: "SCHEDULED" | undefined;
|
|
11861
11964
|
contexts?: {
|
|
11862
11965
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
11863
11966
|
label: string;
|
|
@@ -11888,6 +11991,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
11888
11991
|
endLine?: number | undefined;
|
|
11889
11992
|
}[];
|
|
11890
11993
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
11994
|
+
source?: "SCHEDULED" | undefined;
|
|
11891
11995
|
};
|
|
11892
11996
|
turnId: string;
|
|
11893
11997
|
parentItemId: string | null;
|
|
@@ -11907,6 +12011,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
11907
12011
|
clientMessageId: string | null;
|
|
11908
12012
|
text: string;
|
|
11909
12013
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
12014
|
+
source?: "SCHEDULED" | undefined;
|
|
11910
12015
|
contexts?: {
|
|
11911
12016
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
11912
12017
|
label: string;
|
|
@@ -13145,8 +13250,8 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
13145
13250
|
runId: string | null;
|
|
13146
13251
|
sessionId: string;
|
|
13147
13252
|
completedAt: number | null;
|
|
13148
|
-
access: string | null;
|
|
13149
13253
|
model: string | null;
|
|
13254
|
+
access: string | null;
|
|
13150
13255
|
items: ({
|
|
13151
13256
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
13152
13257
|
kind: "assistant_message";
|
|
@@ -13187,6 +13292,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
13187
13292
|
endLine?: number | undefined;
|
|
13188
13293
|
}[];
|
|
13189
13294
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
13295
|
+
source?: "SCHEDULED" | undefined;
|
|
13190
13296
|
};
|
|
13191
13297
|
turnId: string;
|
|
13192
13298
|
parentItemId: string | null;
|
|
@@ -13505,8 +13611,8 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
13505
13611
|
runId: string | null;
|
|
13506
13612
|
sessionId: string;
|
|
13507
13613
|
completedAt: number | null;
|
|
13508
|
-
access: string | null;
|
|
13509
13614
|
model: string | null;
|
|
13615
|
+
access: string | null;
|
|
13510
13616
|
items: ({
|
|
13511
13617
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
13512
13618
|
kind: "assistant_message";
|
|
@@ -13539,6 +13645,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
13539
13645
|
clientMessageId: string | null;
|
|
13540
13646
|
text: string;
|
|
13541
13647
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
13648
|
+
source?: "SCHEDULED" | undefined;
|
|
13542
13649
|
contexts?: {
|
|
13543
13650
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
13544
13651
|
label: string;
|
|
@@ -14094,8 +14201,8 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
14094
14201
|
runId: string | null;
|
|
14095
14202
|
sessionId: string;
|
|
14096
14203
|
completedAt: number | null;
|
|
14097
|
-
access: string | null;
|
|
14098
14204
|
model: string | null;
|
|
14205
|
+
access: string | null;
|
|
14099
14206
|
items: ({
|
|
14100
14207
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
14101
14208
|
kind: "assistant_message";
|
|
@@ -14136,6 +14243,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
14136
14243
|
endLine?: number | undefined;
|
|
14137
14244
|
}[];
|
|
14138
14245
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
14246
|
+
source?: "SCHEDULED" | undefined;
|
|
14139
14247
|
};
|
|
14140
14248
|
turnId: string;
|
|
14141
14249
|
parentItemId: string | null;
|
|
@@ -14519,8 +14627,8 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
14519
14627
|
runId: string | null;
|
|
14520
14628
|
sessionId: string;
|
|
14521
14629
|
completedAt: number | null;
|
|
14522
|
-
access: string | null;
|
|
14523
14630
|
model: string | null;
|
|
14631
|
+
access: string | null;
|
|
14524
14632
|
items: ({
|
|
14525
14633
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
14526
14634
|
kind: "assistant_message";
|
|
@@ -14553,6 +14661,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
14553
14661
|
clientMessageId: string | null;
|
|
14554
14662
|
text: string;
|
|
14555
14663
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
14664
|
+
source?: "SCHEDULED" | undefined;
|
|
14556
14665
|
contexts?: {
|
|
14557
14666
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
14558
14667
|
label: string;
|
|
@@ -14944,8 +15053,8 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
14944
15053
|
runId: string | null;
|
|
14945
15054
|
sessionId: string;
|
|
14946
15055
|
completedAt: number | null;
|
|
14947
|
-
access: string | null;
|
|
14948
15056
|
model: string | null;
|
|
15057
|
+
access: string | null;
|
|
14949
15058
|
items: ({
|
|
14950
15059
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
14951
15060
|
kind: "assistant_message";
|
|
@@ -14986,6 +15095,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
14986
15095
|
endLine?: number | undefined;
|
|
14987
15096
|
}[];
|
|
14988
15097
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
15098
|
+
source?: "SCHEDULED" | undefined;
|
|
14989
15099
|
};
|
|
14990
15100
|
turnId: string;
|
|
14991
15101
|
parentItemId: string | null;
|
|
@@ -15369,8 +15479,8 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
15369
15479
|
runId: string | null;
|
|
15370
15480
|
sessionId: string;
|
|
15371
15481
|
completedAt: number | null;
|
|
15372
|
-
access: string | null;
|
|
15373
15482
|
model: string | null;
|
|
15483
|
+
access: string | null;
|
|
15374
15484
|
items: ({
|
|
15375
15485
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
15376
15486
|
kind: "assistant_message";
|
|
@@ -15403,6 +15513,7 @@ export declare const hostedConversationSnapshotSchema: z.ZodEffects<z.ZodObject<
|
|
|
15403
15513
|
clientMessageId: string | null;
|
|
15404
15514
|
text: string;
|
|
15405
15515
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
15516
|
+
source?: "SCHEDULED" | undefined;
|
|
15406
15517
|
contexts?: {
|
|
15407
15518
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
15408
15519
|
label: string;
|
|
@@ -16151,6 +16262,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
16151
16262
|
startLine?: number | undefined;
|
|
16152
16263
|
endLine?: number | undefined;
|
|
16153
16264
|
}>, "many">>;
|
|
16265
|
+
source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
|
|
16154
16266
|
delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
|
|
16155
16267
|
}, "strip", z.ZodTypeAny, {
|
|
16156
16268
|
clientMessageId: string | null;
|
|
@@ -16164,10 +16276,12 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
16164
16276
|
endLine?: number | undefined;
|
|
16165
16277
|
}[];
|
|
16166
16278
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
16279
|
+
source?: "SCHEDULED" | undefined;
|
|
16167
16280
|
}, {
|
|
16168
16281
|
clientMessageId: string | null;
|
|
16169
16282
|
text: string;
|
|
16170
16283
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
16284
|
+
source?: "SCHEDULED" | undefined;
|
|
16171
16285
|
contexts?: {
|
|
16172
16286
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
16173
16287
|
label: string;
|
|
@@ -16198,6 +16312,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
16198
16312
|
endLine?: number | undefined;
|
|
16199
16313
|
}[];
|
|
16200
16314
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
16315
|
+
source?: "SCHEDULED" | undefined;
|
|
16201
16316
|
};
|
|
16202
16317
|
turnId: string;
|
|
16203
16318
|
parentItemId: string | null;
|
|
@@ -16217,6 +16332,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
16217
16332
|
clientMessageId: string | null;
|
|
16218
16333
|
text: string;
|
|
16219
16334
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
16335
|
+
source?: "SCHEDULED" | undefined;
|
|
16220
16336
|
contexts?: {
|
|
16221
16337
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
16222
16338
|
label: string;
|
|
@@ -17455,8 +17571,8 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
17455
17571
|
runId: string | null;
|
|
17456
17572
|
sessionId: string;
|
|
17457
17573
|
completedAt: number | null;
|
|
17458
|
-
access: string | null;
|
|
17459
17574
|
model: string | null;
|
|
17575
|
+
access: string | null;
|
|
17460
17576
|
items: ({
|
|
17461
17577
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
17462
17578
|
kind: "assistant_message";
|
|
@@ -17497,6 +17613,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
17497
17613
|
endLine?: number | undefined;
|
|
17498
17614
|
}[];
|
|
17499
17615
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
17616
|
+
source?: "SCHEDULED" | undefined;
|
|
17500
17617
|
};
|
|
17501
17618
|
turnId: string;
|
|
17502
17619
|
parentItemId: string | null;
|
|
@@ -17815,8 +17932,8 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
17815
17932
|
runId: string | null;
|
|
17816
17933
|
sessionId: string;
|
|
17817
17934
|
completedAt: number | null;
|
|
17818
|
-
access: string | null;
|
|
17819
17935
|
model: string | null;
|
|
17936
|
+
access: string | null;
|
|
17820
17937
|
items: ({
|
|
17821
17938
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
17822
17939
|
kind: "assistant_message";
|
|
@@ -17849,6 +17966,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
17849
17966
|
clientMessageId: string | null;
|
|
17850
17967
|
text: string;
|
|
17851
17968
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
17969
|
+
source?: "SCHEDULED" | undefined;
|
|
17852
17970
|
contexts?: {
|
|
17853
17971
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
17854
17972
|
label: string;
|
|
@@ -18178,8 +18296,8 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
18178
18296
|
runId: string | null;
|
|
18179
18297
|
sessionId: string;
|
|
18180
18298
|
completedAt: number | null;
|
|
18181
|
-
access: string | null;
|
|
18182
18299
|
model: string | null;
|
|
18300
|
+
access: string | null;
|
|
18183
18301
|
items: ({
|
|
18184
18302
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
18185
18303
|
kind: "assistant_message";
|
|
@@ -18220,6 +18338,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
18220
18338
|
endLine?: number | undefined;
|
|
18221
18339
|
}[];
|
|
18222
18340
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
18341
|
+
source?: "SCHEDULED" | undefined;
|
|
18223
18342
|
};
|
|
18224
18343
|
turnId: string;
|
|
18225
18344
|
parentItemId: string | null;
|
|
@@ -18541,8 +18660,8 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
18541
18660
|
runId: string | null;
|
|
18542
18661
|
sessionId: string;
|
|
18543
18662
|
completedAt: number | null;
|
|
18544
|
-
access: string | null;
|
|
18545
18663
|
model: string | null;
|
|
18664
|
+
access: string | null;
|
|
18546
18665
|
items: ({
|
|
18547
18666
|
status: "FAILED" | "PENDING" | "CANCELLED" | "INTERRUPTED" | "IN_PROGRESS" | "COMPLETED" | "DECLINED";
|
|
18548
18667
|
kind: "assistant_message";
|
|
@@ -18575,6 +18694,7 @@ export declare const hostedConversationHistoryPageSchema: z.ZodObject<{
|
|
|
18575
18694
|
clientMessageId: string | null;
|
|
18576
18695
|
text: string;
|
|
18577
18696
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
18697
|
+
source?: "SCHEDULED" | undefined;
|
|
18578
18698
|
contexts?: {
|
|
18579
18699
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
18580
18700
|
label: string;
|
|
@@ -19744,6 +19864,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
19744
19864
|
startLine?: number | undefined;
|
|
19745
19865
|
endLine?: number | undefined;
|
|
19746
19866
|
}>, "many">>;
|
|
19867
|
+
source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
|
|
19747
19868
|
delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
|
|
19748
19869
|
}, "strip", z.ZodTypeAny, {
|
|
19749
19870
|
clientMessageId: string | null;
|
|
@@ -19757,10 +19878,12 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
19757
19878
|
endLine?: number | undefined;
|
|
19758
19879
|
}[];
|
|
19759
19880
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
19881
|
+
source?: "SCHEDULED" | undefined;
|
|
19760
19882
|
}, {
|
|
19761
19883
|
clientMessageId: string | null;
|
|
19762
19884
|
text: string;
|
|
19763
19885
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
19886
|
+
source?: "SCHEDULED" | undefined;
|
|
19764
19887
|
contexts?: {
|
|
19765
19888
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
19766
19889
|
label: string;
|
|
@@ -19791,6 +19914,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
19791
19914
|
endLine?: number | undefined;
|
|
19792
19915
|
}[];
|
|
19793
19916
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
19917
|
+
source?: "SCHEDULED" | undefined;
|
|
19794
19918
|
};
|
|
19795
19919
|
turnId: string;
|
|
19796
19920
|
parentItemId: string | null;
|
|
@@ -19810,6 +19934,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
19810
19934
|
clientMessageId: string | null;
|
|
19811
19935
|
text: string;
|
|
19812
19936
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
19937
|
+
source?: "SCHEDULED" | undefined;
|
|
19813
19938
|
contexts?: {
|
|
19814
19939
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
19815
19940
|
label: string;
|
|
@@ -21088,6 +21213,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
21088
21213
|
endLine?: number | undefined;
|
|
21089
21214
|
}[];
|
|
21090
21215
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
21216
|
+
source?: "SCHEDULED" | undefined;
|
|
21091
21217
|
};
|
|
21092
21218
|
turnId: string;
|
|
21093
21219
|
parentItemId: string | null;
|
|
@@ -21438,6 +21564,7 @@ export declare const conversationSegmentSchema: z.ZodObject<{
|
|
|
21438
21564
|
clientMessageId: string | null;
|
|
21439
21565
|
text: string;
|
|
21440
21566
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
21567
|
+
source?: "SCHEDULED" | undefined;
|
|
21441
21568
|
contexts?: {
|
|
21442
21569
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
21443
21570
|
label: string;
|
|
@@ -21885,6 +22012,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
21885
22012
|
startLine?: number | undefined;
|
|
21886
22013
|
endLine?: number | undefined;
|
|
21887
22014
|
}>, "many">>;
|
|
22015
|
+
source: z.ZodOptional<z.ZodLiteral<"SCHEDULED">>;
|
|
21888
22016
|
delivery: z.ZodEnum<["PENDING", "ACCEPTED", "STEERED", "QUEUED_NEXT_TURN", "REJECTED"]>;
|
|
21889
22017
|
}, "strip", z.ZodTypeAny, {
|
|
21890
22018
|
clientMessageId: string | null;
|
|
@@ -21898,10 +22026,12 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
21898
22026
|
endLine?: number | undefined;
|
|
21899
22027
|
}[];
|
|
21900
22028
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
22029
|
+
source?: "SCHEDULED" | undefined;
|
|
21901
22030
|
}, {
|
|
21902
22031
|
clientMessageId: string | null;
|
|
21903
22032
|
text: string;
|
|
21904
22033
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
22034
|
+
source?: "SCHEDULED" | undefined;
|
|
21905
22035
|
contexts?: {
|
|
21906
22036
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
21907
22037
|
label: string;
|
|
@@ -21932,6 +22062,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
21932
22062
|
endLine?: number | undefined;
|
|
21933
22063
|
}[];
|
|
21934
22064
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
22065
|
+
source?: "SCHEDULED" | undefined;
|
|
21935
22066
|
};
|
|
21936
22067
|
turnId: string;
|
|
21937
22068
|
parentItemId: string | null;
|
|
@@ -21951,6 +22082,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
21951
22082
|
clientMessageId: string | null;
|
|
21952
22083
|
text: string;
|
|
21953
22084
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
22085
|
+
source?: "SCHEDULED" | undefined;
|
|
21954
22086
|
contexts?: {
|
|
21955
22087
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
21956
22088
|
label: string;
|
|
@@ -23229,6 +23361,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
23229
23361
|
endLine?: number | undefined;
|
|
23230
23362
|
}[];
|
|
23231
23363
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
23364
|
+
source?: "SCHEDULED" | undefined;
|
|
23232
23365
|
};
|
|
23233
23366
|
turnId: string;
|
|
23234
23367
|
parentItemId: string | null;
|
|
@@ -23579,6 +23712,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
23579
23712
|
clientMessageId: string | null;
|
|
23580
23713
|
text: string;
|
|
23581
23714
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
23715
|
+
source?: "SCHEDULED" | undefined;
|
|
23582
23716
|
contexts?: {
|
|
23583
23717
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
23584
23718
|
label: string;
|
|
@@ -23957,6 +24091,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
23957
24091
|
endLine?: number | undefined;
|
|
23958
24092
|
}[];
|
|
23959
24093
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
24094
|
+
source?: "SCHEDULED" | undefined;
|
|
23960
24095
|
};
|
|
23961
24096
|
turnId: string;
|
|
23962
24097
|
parentItemId: string | null;
|
|
@@ -24316,6 +24451,7 @@ export declare const conversationSegmentPageSchema: z.ZodObject<{
|
|
|
24316
24451
|
clientMessageId: string | null;
|
|
24317
24452
|
text: string;
|
|
24318
24453
|
delivery: "PENDING" | "ACCEPTED" | "STEERED" | "QUEUED_NEXT_TURN" | "REJECTED";
|
|
24454
|
+
source?: "SCHEDULED" | undefined;
|
|
24319
24455
|
contexts?: {
|
|
24320
24456
|
type: "message" | "changes" | "file" | "directory" | "diff" | "turn" | "terminal_selection";
|
|
24321
24457
|
label: string;
|
|
@@ -25870,7 +26006,7 @@ export declare const gitHistoryFileSchema: z.ZodObject<{
|
|
|
25870
26006
|
previousPath?: string | undefined;
|
|
25871
26007
|
}>;
|
|
25872
26008
|
export type GitHistoryFile = z.infer<typeof gitHistoryFileSchema>;
|
|
25873
|
-
export declare const workbenchNodeOperationSchema: z.ZodEnum<["workspace.git.settings.get", "workspace.git.settings.update", "node.workbench.capabilities", "runner.usage.status", "runner.usage.read", "workspace.directories.list", "workspace.remove", "workspace.watch", "workspace.unwatch", "session.unwatch", "session.metadata.update", "session.pin.move", "session.rewind", "session.rollback", "session.remove", "workspace.sessions.cleanup", "session.config.update", "session.turns.list", "session.events.read", "session.context.read", "session.command.execute", "runner.command.execute", "runner.profiles.list", "runner.defaults.save", "mar-agent.model.test", "workspace.files.list", "workspace.file.read", "workspace.file.write", "workspace.file.content.read", "workspace.file.direct.metadata", "workspace.files.search", "workspace.files.mutate", "workspace.content.search", "workspace.symbol.prepare", "workspace.symbol.definition", "workspace.files.upload.preflight", "workspace.files.upload.create", "workspace.files.upload.chunk", "workspace.files.upload.status", "workspace.files.upload.complete", "workspace.files.upload.cancel", "workspace.changes.current", "workspace.change.diff", "workspace.change.restore", "workspace.git.refs.list", "workspace.git.history.list", "workspace.git.commit.files", "workspace.git.commit.file.diff", "workspace.git.commit.file.content.read", "workspace.git.commit.file.direct.metadata", "run.image.read", "terminal.open", "terminal.command.open", "terminal.list", "terminal.close", "terminal.attach.authorize", "terminal.direct.preflight", "node.upgrade.request", "node.upgrade.cancel", "node.skills.inspect", "node.skills.install", "node.skills.remove", "workspace.skills.inspect", "workspace.skills.install", "workspace.skills.remove", "workspace.skills.git-exclude-repair", "skill.install.job.get", "node.mcps.inspect", "node.mcps.install", "node.mcps.remove", "workspace.mcps.inspect", "workspace.mcps.install", "workspace.mcps.remove", "conversation.template.source.inspect", "conversation.template.publish", "conversation.template.publish.status", "conversation.template.version.inspect", "conversation.hosting.enable", "conversation.hosting.disable", "conversation.hosting.storage.inspect", "conversation.hosting.cleanup.preview", "conversation.hosting.cleanup.execute", "computer.use.enable", "computer.use.disable", "conversation.hosted.list", "conversation.hosted.create", "conversation.hosted.get", "conversation.hosted.history", "conversation.hosted.watch", "conversation.hosted.unwatch", "conversation.hosted.message", "conversation.hosted.rollback", "conversation.hosted.interrupt", "conversation.hosted.config.update", "conversation.hosted.metadata.update", "conversation.hosted.image.read", "conversation.hosted.files.list", "conversation.hosted.file.read", "conversation.hosted.file.delete", "conversation.hosted.files.upload.preflight", "conversation.hosted.files.upload.create", "conversation.hosted.files.upload.chunk", "conversation.hosted.files.upload.status", "conversation.hosted.files.upload.complete", "conversation.hosted.files.upload.cancel", "conversation.hosted.delete"]>;
|
|
26009
|
+
export declare const workbenchNodeOperationSchema: z.ZodEnum<["workspace.git.settings.get", "workspace.git.settings.update", "node.workbench.capabilities", "runner.usage.status", "runner.usage.read", "workspace.directories.list", "workspace.remove", "workspace.watch", "workspace.unwatch", "session.unwatch", "session.metadata.update", "session.schedule.get", "session.schedule.save", "session.schedule.remove", "session.schedule.proposal.resolve", "session.pin.move", "session.rewind", "session.rollback", "session.remove", "workspace.sessions.cleanup", "session.config.update", "session.turns.list", "session.events.read", "session.context.read", "session.command.execute", "runner.command.execute", "runner.profiles.list", "runner.defaults.save", "mar-agent.model.test", "workspace.files.list", "workspace.file.read", "workspace.file.write", "workspace.file.content.read", "workspace.file.direct.metadata", "workspace.files.search", "workspace.files.mutate", "workspace.content.search", "workspace.symbol.prepare", "workspace.symbol.definition", "workspace.files.upload.preflight", "workspace.files.upload.create", "workspace.files.upload.chunk", "workspace.files.upload.status", "workspace.files.upload.complete", "workspace.files.upload.cancel", "workspace.changes.current", "workspace.change.diff", "workspace.change.restore", "workspace.git.refs.list", "workspace.git.history.list", "workspace.git.commit.files", "workspace.git.commit.file.diff", "workspace.git.commit.file.content.read", "workspace.git.commit.file.direct.metadata", "run.image.read", "terminal.open", "terminal.command.open", "terminal.list", "terminal.close", "terminal.attach.authorize", "terminal.direct.preflight", "node.upgrade.request", "node.upgrade.cancel", "node.skills.inspect", "node.skills.install", "node.skills.remove", "workspace.skills.inspect", "workspace.skills.install", "workspace.skills.remove", "workspace.skills.git-exclude-repair", "skill.install.job.get", "node.mcps.inspect", "node.mcps.install", "node.mcps.remove", "workspace.mcps.inspect", "workspace.mcps.install", "workspace.mcps.remove", "conversation.template.source.inspect", "conversation.template.publish", "conversation.template.publish.status", "conversation.template.version.inspect", "conversation.hosting.enable", "conversation.hosting.disable", "conversation.hosting.storage.inspect", "conversation.hosting.cleanup.preview", "conversation.hosting.cleanup.execute", "computer.use.enable", "computer.use.disable", "conversation.hosted.list", "conversation.hosted.create", "conversation.hosted.get", "conversation.hosted.history", "conversation.hosted.watch", "conversation.hosted.unwatch", "conversation.hosted.message", "conversation.hosted.rollback", "conversation.hosted.interrupt", "conversation.hosted.config.update", "conversation.hosted.metadata.update", "conversation.hosted.image.read", "conversation.hosted.files.list", "conversation.hosted.file.read", "conversation.hosted.file.delete", "conversation.hosted.files.upload.preflight", "conversation.hosted.files.upload.create", "conversation.hosted.files.upload.chunk", "conversation.hosted.files.upload.status", "conversation.hosted.files.upload.complete", "conversation.hosted.files.upload.cancel", "conversation.hosted.delete"]>;
|
|
25874
26010
|
export type WorkbenchNodeOperation = z.infer<typeof workbenchNodeOperationSchema>;
|
|
25875
26011
|
/**
|
|
25876
26012
|
* A small, explicit envelope keeps WebSocket messages independently parseable
|
package/dist/index.js
CHANGED
|
@@ -550,6 +550,43 @@ export const runtimeCredentialResolveResponseSchema = z.union([
|
|
|
550
550
|
.strict(),
|
|
551
551
|
z.object({ error: runtimeCredentialResolveErrorSchema }).strict()
|
|
552
552
|
]);
|
|
553
|
+
export const scheduledRunAuthorizeRequestSchema = z
|
|
554
|
+
.object({
|
|
555
|
+
taskId: boundedIdentifierSchema,
|
|
556
|
+
revision: positiveSafeIntegerSchema,
|
|
557
|
+
occurrenceId: z.string().min(1).max(256),
|
|
558
|
+
sessionId: boundedIdentifierSchema,
|
|
559
|
+
workspaceId: boundedIdentifierSchema,
|
|
560
|
+
ownerUserId: positiveSafeIntegerSchema,
|
|
561
|
+
runner: runnerNameSchema,
|
|
562
|
+
model: z.string().max(256).nullable()
|
|
563
|
+
})
|
|
564
|
+
.strict();
|
|
565
|
+
export const scheduledRunAuthorizeResponseSchema = z.union([
|
|
566
|
+
z
|
|
567
|
+
.object({
|
|
568
|
+
context: z
|
|
569
|
+
.object({
|
|
570
|
+
secretEnvironment: z.record(z.string().min(1).max(256), z.string().max(65_536)),
|
|
571
|
+
personalInstructions: z.unknown().optional(),
|
|
572
|
+
marAgentModel: z.unknown().optional(),
|
|
573
|
+
marAgentModels: z.unknown().optional(),
|
|
574
|
+
marAgentRuntimeScopeId: z.unknown().optional()
|
|
575
|
+
})
|
|
576
|
+
.strict()
|
|
577
|
+
})
|
|
578
|
+
.strict(),
|
|
579
|
+
z
|
|
580
|
+
.object({
|
|
581
|
+
error: z
|
|
582
|
+
.object({
|
|
583
|
+
code: z.string().regex(/^[A-Z][A-Z0-9_]{0,127}$/u),
|
|
584
|
+
message: z.string().min(1).max(512)
|
|
585
|
+
})
|
|
586
|
+
.strict()
|
|
587
|
+
})
|
|
588
|
+
.strict()
|
|
589
|
+
]);
|
|
553
590
|
const marAgentInlineApiKeyCredentialSchema = z
|
|
554
591
|
.object({
|
|
555
592
|
type: z.literal('INLINE_API_KEY'),
|
|
@@ -1396,7 +1433,8 @@ export const sessionRuntimeCapabilitySchema = z.enum([
|
|
|
1396
1433
|
'session.rewind',
|
|
1397
1434
|
'session.rollback',
|
|
1398
1435
|
'session.remove',
|
|
1399
|
-
'session.pin'
|
|
1436
|
+
'session.pin',
|
|
1437
|
+
'session.schedule'
|
|
1400
1438
|
]);
|
|
1401
1439
|
export const sessionRuntimeCapabilitiesSchema = z.object({
|
|
1402
1440
|
level: z.literal('MANAGED'),
|
|
@@ -1469,6 +1507,7 @@ const userMessageItemSchema = conversationItemBaseSchema.extend({
|
|
|
1469
1507
|
clientMessageId: z.string().min(1).max(128).nullable(),
|
|
1470
1508
|
text: z.string(),
|
|
1471
1509
|
contexts: z.array(contextReferenceSchema).max(64).default([]),
|
|
1510
|
+
source: z.literal('SCHEDULED').optional(),
|
|
1472
1511
|
delivery: z.enum(['PENDING', 'ACCEPTED', 'STEERED', 'QUEUED_NEXT_TURN', 'REJECTED'])
|
|
1473
1512
|
})
|
|
1474
1513
|
});
|
|
@@ -2590,6 +2629,10 @@ export const workbenchNodeOperationSchema = z.enum([
|
|
|
2590
2629
|
'workspace.unwatch',
|
|
2591
2630
|
'session.unwatch',
|
|
2592
2631
|
'session.metadata.update',
|
|
2632
|
+
'session.schedule.get',
|
|
2633
|
+
'session.schedule.save',
|
|
2634
|
+
'session.schedule.remove',
|
|
2635
|
+
'session.schedule.proposal.resolve',
|
|
2593
2636
|
'session.pin.move',
|
|
2594
2637
|
'session.rewind',
|
|
2595
2638
|
'session.rollback',
|