@vm0/cli 9.263.0 → 9.264.0
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/{agent-U5H7QQ6W.js → agent-KRVTXAOE.js} +6 -6
- package/{banking-DSBRODJE.js → banking-QBRETSHD.js} +4 -4
- package/{browser-FZKCVWPF.js → browser-MQ3GQJ5U.js} +4 -4
- package/{chat-D5DXQQQN.js → chat-AVYE5DM6.js} +38 -16
- package/chat-AVYE5DM6.js.map +1 -0
- package/{chunk-JRLEVFU4.js → chunk-4FZPFRJH.js} +2 -2
- package/{chunk-JHCSTKSK.js → chunk-52KFOVUA.js} +17 -252
- package/chunk-52KFOVUA.js.map +1 -0
- package/{chunk-KZ3CS2NK.js → chunk-5NWS76CB.js} +394 -204
- package/chunk-5NWS76CB.js.map +1 -0
- package/{chunk-763OWT5S.js → chunk-FXM2FONE.js} +2 -2
- package/{chunk-SQ4KQQUA.js → chunk-GXNS5T7H.js} +2 -2
- package/{chunk-7BY6QXB2.js → chunk-HZ4TCSCL.js} +4 -4
- package/chunk-LN2ATWKS.js +96 -0
- package/chunk-LN2ATWKS.js.map +1 -0
- package/{chunk-DEZ5WUIV.js → chunk-LPA5CSUN.js} +2 -2
- package/{chunk-WFGOVUAO.js → chunk-LWBBI7NL.js} +11 -4
- package/chunk-LWBBI7NL.js.map +1 -0
- package/{chunk-WNEYNRKP.js → chunk-OYVARVJ4.js} +2 -2
- package/{chunk-TE6HUJO7.js → chunk-XX7HZFVS.js} +2 -2
- package/{computer-use-VYFUCFOW.js → computer-use-GFBPVCU6.js} +4 -4
- package/{connector-ME5QOGO3.js → connector-CVNVQ2FS.js} +7 -7
- package/{credit-LO5CLWQE.js → credit-FGJ4YRL4.js} +5 -5
- package/{developer-support-LGZS7NOO.js → developer-support-XJKZ7VM3.js} +4 -4
- package/{doctor-TQI2B6Q2.js → doctor-ZMKXNLJY.js} +5 -5
- package/{feishu-VGTLKS3I.js → feishu-IJ3JASUR.js} +4 -4
- package/{finance-XQETM32L.js → finance-JKPM2EFQ.js} +4 -4
- package/{generate-FTSU6IJH.js → generate-3ZVBU4ON.js} +5 -5
- package/{github-OLVQQBOM.js → github-LAXAOMUA.js} +4 -4
- package/{goal-2NYMFUM5.js → goal-VKVFUSJK.js} +4 -4
- package/{host-OIIYDML7.js → host-72KTJI5D.js} +4 -4
- package/{logs-H77ZUX3U.js → logs-EX4R6ZV7.js} +7 -6
- package/{logs-H77ZUX3U.js.map → logs-EX4R6ZV7.js.map} +1 -1
- package/{mail-H2MZKXWF.js → mail-RBEDA42M.js} +6 -6
- package/{maps-PI2DOJ2D.js → maps-HMQAR5G7.js} +4 -4
- package/{model-XE3HBT3S.js → model-ANIDYLR3.js} +5 -5
- package/{model-provider-ZNN7YGD4.js → model-provider-RMFP42QT.js} +5 -5
- package/{org-WNOFQ537.js → org-JED6LLWL.js} +4 -4
- package/package.json +1 -1
- package/{people-search-WDMWSRP5.js → people-search-OGILIEGA.js} +4 -4
- package/{phone-23QBOZVB.js → phone-RNXHRHQO.js} +4 -4
- package/{preference-Z45BVY3F.js → preference-BI26FJNI.js} +4 -4
- package/{resource-H6S3K7G6.js → resource-DPAXSL3G.js} +4 -4
- package/{scrape-KWNPFDEX.js → scrape-DG3FZR27.js} +4 -4
- package/{search-IFRLUNB6.js → search-XYHWGZKU.js} +7 -6
- package/{search-IFRLUNB6.js.map → search-XYHWGZKU.js.map} +1 -1
- package/{secret-GW4HHMFN.js → secret-GTKJZ32T.js} +4 -4
- package/{slack-45SQVSDV.js → slack-NCZP6TP5.js} +4 -4
- package/{teams-6IG4GDCD.js → teams-CUUCFIUH.js} +4 -4
- package/{telegram-7D3KEZ2J.js → telegram-SRGYEAHB.js} +4 -4
- package/{upgrade-ED45IEMQ.js → upgrade-EZAQOAU2.js} +3 -3
- package/{variable-B4CLRKJI.js → variable-BHUUNTGW.js} +4 -4
- package/{video-QOGXSHFS.js → video-KDOONJZI.js} +3 -3
- package/{weather-BA6KAOQ2.js → weather-FJ3R54OJ.js} +4 -4
- package/{web-JV2V4L6O.js → web-ZW2B3ERP.js} +4 -4
- package/{web-search-GIOVKSVD.js → web-search-KHYGITJK.js} +4 -4
- package/{whoami-OBDYSSH4.js → whoami-2DJHYCHI.js} +6 -6
- package/{workflow-OXEZWAI7.js → workflow-VYAAHYT7.js} +185 -13
- package/workflow-VYAAHYT7.js.map +1 -0
- package/zero.js +43 -43
- package/chat-D5DXQQQN.js.map +0 -1
- package/chunk-JHCSTKSK.js.map +0 -1
- package/chunk-KZ3CS2NK.js.map +0 -1
- package/chunk-WFGOVUAO.js.map +0 -1
- package/workflow-OXEZWAI7.js.map +0 -1
- /package/{agent-U5H7QQ6W.js.map → agent-KRVTXAOE.js.map} +0 -0
- /package/{banking-DSBRODJE.js.map → banking-QBRETSHD.js.map} +0 -0
- /package/{browser-FZKCVWPF.js.map → browser-MQ3GQJ5U.js.map} +0 -0
- /package/{chunk-JRLEVFU4.js.map → chunk-4FZPFRJH.js.map} +0 -0
- /package/{chunk-763OWT5S.js.map → chunk-FXM2FONE.js.map} +0 -0
- /package/{chunk-SQ4KQQUA.js.map → chunk-GXNS5T7H.js.map} +0 -0
- /package/{chunk-7BY6QXB2.js.map → chunk-HZ4TCSCL.js.map} +0 -0
- /package/{chunk-DEZ5WUIV.js.map → chunk-LPA5CSUN.js.map} +0 -0
- /package/{chunk-WNEYNRKP.js.map → chunk-OYVARVJ4.js.map} +0 -0
- /package/{chunk-TE6HUJO7.js.map → chunk-XX7HZFVS.js.map} +0 -0
- /package/{computer-use-VYFUCFOW.js.map → computer-use-GFBPVCU6.js.map} +0 -0
- /package/{connector-ME5QOGO3.js.map → connector-CVNVQ2FS.js.map} +0 -0
- /package/{credit-LO5CLWQE.js.map → credit-FGJ4YRL4.js.map} +0 -0
- /package/{developer-support-LGZS7NOO.js.map → developer-support-XJKZ7VM3.js.map} +0 -0
- /package/{doctor-TQI2B6Q2.js.map → doctor-ZMKXNLJY.js.map} +0 -0
- /package/{feishu-VGTLKS3I.js.map → feishu-IJ3JASUR.js.map} +0 -0
- /package/{finance-XQETM32L.js.map → finance-JKPM2EFQ.js.map} +0 -0
- /package/{generate-FTSU6IJH.js.map → generate-3ZVBU4ON.js.map} +0 -0
- /package/{github-OLVQQBOM.js.map → github-LAXAOMUA.js.map} +0 -0
- /package/{goal-2NYMFUM5.js.map → goal-VKVFUSJK.js.map} +0 -0
- /package/{host-OIIYDML7.js.map → host-72KTJI5D.js.map} +0 -0
- /package/{mail-H2MZKXWF.js.map → mail-RBEDA42M.js.map} +0 -0
- /package/{maps-PI2DOJ2D.js.map → maps-HMQAR5G7.js.map} +0 -0
- /package/{model-XE3HBT3S.js.map → model-ANIDYLR3.js.map} +0 -0
- /package/{model-provider-ZNN7YGD4.js.map → model-provider-RMFP42QT.js.map} +0 -0
- /package/{org-WNOFQ537.js.map → org-JED6LLWL.js.map} +0 -0
- /package/{people-search-WDMWSRP5.js.map → people-search-OGILIEGA.js.map} +0 -0
- /package/{phone-23QBOZVB.js.map → phone-RNXHRHQO.js.map} +0 -0
- /package/{preference-Z45BVY3F.js.map → preference-BI26FJNI.js.map} +0 -0
- /package/{resource-H6S3K7G6.js.map → resource-DPAXSL3G.js.map} +0 -0
- /package/{scrape-KWNPFDEX.js.map → scrape-DG3FZR27.js.map} +0 -0
- /package/{secret-GW4HHMFN.js.map → secret-GTKJZ32T.js.map} +0 -0
- /package/{slack-45SQVSDV.js.map → slack-NCZP6TP5.js.map} +0 -0
- /package/{teams-6IG4GDCD.js.map → teams-CUUCFIUH.js.map} +0 -0
- /package/{telegram-7D3KEZ2J.js.map → telegram-SRGYEAHB.js.map} +0 -0
- /package/{upgrade-ED45IEMQ.js.map → upgrade-EZAQOAU2.js.map} +0 -0
- /package/{variable-B4CLRKJI.js.map → variable-BHUUNTGW.js.map} +0 -0
- /package/{video-QOGXSHFS.js.map → video-KDOONJZI.js.map} +0 -0
- /package/{weather-BA6KAOQ2.js.map → weather-FJ3R54OJ.js.map} +0 -0
- /package/{web-JV2V4L6O.js.map → web-ZW2B3ERP.js.map} +0 -0
- /package/{web-search-GIOVKSVD.js.map → web-search-KHYGITJK.js.map} +0 -0
- /package/{whoami-OBDYSSH4.js.map → whoami-2DJHYCHI.js.map} +0 -0
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
updateOrgModelPoliciesRequestSchema,
|
|
22
22
|
upsertModelProviderRequestSchema,
|
|
23
23
|
upsertModelProviderResponseSchema
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4FZPFRJH.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__esm,
|
|
@@ -3700,6 +3700,8 @@ var inputRejectedEventSchema = chatEventBaseSchema.extend({
|
|
|
3700
3700
|
eventType: external_exports.literal("input.rejected"),
|
|
3701
3701
|
userMessage: userMessageDocumentSchema.optional(),
|
|
3702
3702
|
error: external_exports.string(),
|
|
3703
|
+
automationId: external_exports.string().uuid().optional(),
|
|
3704
|
+
triggerBrief: external_exports.string().nullable().optional(),
|
|
3703
3705
|
attachFiles: external_exports.array(resolvedAttachFileSchema).optional(),
|
|
3704
3706
|
generationTemplate: generationTemplateRequestSchema.optional()
|
|
3705
3707
|
}).strict();
|
|
@@ -3800,106 +3802,13 @@ var chatEventSchema = external_exports.discriminatedUnion("eventType", [
|
|
|
3800
3802
|
goalChangedEventSchema,
|
|
3801
3803
|
usageRecordedEventSchema
|
|
3802
3804
|
]);
|
|
3803
|
-
var userEventCompatibilityResponseShape = {
|
|
3804
|
-
/**
|
|
3805
|
-
* @deprecated Derived compatibility field for the preceding App release.
|
|
3806
|
-
* Canonical ChatEvent consumers derive presentation role from eventType.
|
|
3807
|
-
*/
|
|
3808
|
-
role: external_exports.literal("user"),
|
|
3809
|
-
/**
|
|
3810
|
-
* @deprecated Use revokesEventId.
|
|
3811
|
-
*/
|
|
3812
|
-
revokesMessageId: external_exports.string().optional()
|
|
3813
|
-
};
|
|
3814
|
-
var assistantEventCompatibilityResponseShape = {
|
|
3815
|
-
/**
|
|
3816
|
-
* @deprecated Derived compatibility field for the preceding App release.
|
|
3817
|
-
* Canonical ChatEvent consumers derive presentation role from eventType.
|
|
3818
|
-
*/
|
|
3819
|
-
role: external_exports.literal("assistant"),
|
|
3820
|
-
/**
|
|
3821
|
-
* @deprecated Use revokesEventId.
|
|
3822
|
-
*/
|
|
3823
|
-
revokesMessageId: external_exports.string().optional()
|
|
3824
|
-
};
|
|
3825
|
-
var canonicalChatEventResponseSchema = external_exports.discriminatedUnion("eventType", [
|
|
3826
|
-
inputPromptEventSchema.extend(userEventCompatibilityResponseShape).strict(),
|
|
3827
|
-
inputAutomationEventSchema.extend(userEventCompatibilityResponseShape).strict(),
|
|
3828
|
-
inputRejectedEventSchema.extend(userEventCompatibilityResponseShape).strict(),
|
|
3829
|
-
outputMessageEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3830
|
-
outputErrorEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3831
|
-
outputThinkingEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3832
|
-
outputFollowupsEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3833
|
-
runQueuedEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3834
|
-
runDequeuedEventSchema.extend({
|
|
3835
|
-
...assistantEventCompatibilityResponseShape,
|
|
3836
|
-
revokesMessageId: external_exports.string()
|
|
3837
|
-
}).strict(),
|
|
3838
|
-
runCompletedEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3839
|
-
runFailedEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3840
|
-
runCancelledEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3841
|
-
queueAutomationPausedEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3842
|
-
queueAutomationResumedEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3843
|
-
controlInterruptEventSchema.extend(userEventCompatibilityResponseShape).strict(),
|
|
3844
|
-
controlRevokeEventSchema.extend({
|
|
3845
|
-
...userEventCompatibilityResponseShape,
|
|
3846
|
-
revokesMessageId: external_exports.string()
|
|
3847
|
-
}).strict(),
|
|
3848
|
-
goalChangedEventSchema.extend(assistantEventCompatibilityResponseShape).strict(),
|
|
3849
|
-
usageRecordedEventSchema.extend(assistantEventCompatibilityResponseShape).strict()
|
|
3850
|
-
]);
|
|
3851
3805
|
var chatEventResponseSchema = external_exports.preprocess(
|
|
3852
3806
|
normalizePrecedingStructuredPrompt,
|
|
3853
|
-
|
|
3854
|
-
);
|
|
3855
|
-
var legacyPagedChatMessageBaseSchema = external_exports.object({
|
|
3856
|
-
id: external_exports.string(),
|
|
3857
|
-
content: external_exports.string().nullable(),
|
|
3858
|
-
runId: external_exports.string().optional(),
|
|
3859
|
-
runGroupId: external_exports.string().optional(),
|
|
3860
|
-
triggerSource: triggerSourceSchema.optional(),
|
|
3861
|
-
slackMessagePermalink: external_exports.string().url().optional(),
|
|
3862
|
-
feishuChatOpenUrl: external_exports.string().url().optional(),
|
|
3863
|
-
isGoalRun: external_exports.boolean().optional(),
|
|
3864
|
-
runEventId: external_exports.string().optional(),
|
|
3865
|
-
goalEvent: zeroGoalEventSchema.optional(),
|
|
3866
|
-
goalSnapshot: external_exports.object({
|
|
3867
|
-
objectiveBrief: external_exports.string().min(1)
|
|
3868
|
-
}).optional(),
|
|
3869
|
-
usage: chatMessageUsagePayloadSchema.optional(),
|
|
3870
|
-
revokesMessageId: external_exports.string().optional(),
|
|
3871
|
-
interruptsRunId: external_exports.string().optional(),
|
|
3872
|
-
error: external_exports.string().optional(),
|
|
3873
|
-
attachFiles: external_exports.array(resolvedAttachFileSchema).optional(),
|
|
3874
|
-
generationTemplate: generationTemplateRequestSchema.optional(),
|
|
3875
|
-
seqId: external_exports.number().int().positive(),
|
|
3876
|
-
sequenceNumber: external_exports.number().nullable().optional(),
|
|
3877
|
-
workflowSnapshot: workflowSnapshotSchema.optional(),
|
|
3878
|
-
createdAt: external_exports.string()
|
|
3879
|
-
});
|
|
3880
|
-
var legacyPagedChatMessageSchema = external_exports.preprocess(
|
|
3881
|
-
normalizePrecedingStructuredPrompt,
|
|
3882
|
-
external_exports.discriminatedUnion("role", [
|
|
3883
|
-
legacyPagedChatMessageBaseSchema.extend({
|
|
3884
|
-
role: external_exports.literal("user"),
|
|
3885
|
-
userMessage: userMessageDocumentSchema.optional()
|
|
3886
|
-
}).strict(),
|
|
3887
|
-
legacyPagedChatMessageBaseSchema.extend({
|
|
3888
|
-
role: external_exports.literal("assistant"),
|
|
3889
|
-
thinking: external_exports.string().optional(),
|
|
3890
|
-
runLifecycleEvent: external_exports.enum(["completed", "failed", "cancelled"]).optional(),
|
|
3891
|
-
recommendedFollowups: chatMessageRecommendedFollowupsSchema.optional()
|
|
3892
|
-
}).strict()
|
|
3893
|
-
])
|
|
3807
|
+
chatEventSchema
|
|
3894
3808
|
);
|
|
3895
|
-
|
|
3896
|
-
chatEventResponseSchema,
|
|
3897
|
-
legacyPagedChatMessageSchema
|
|
3898
|
-
]);
|
|
3899
|
-
if (chatEventTypeSchema.options.length !== chatEventSchema.options.length || chatEventTypeSchema.options.length !== canonicalChatEventResponseSchema.options.length) {
|
|
3809
|
+
if (chatEventTypeSchema.options.length !== chatEventSchema.options.length) {
|
|
3900
3810
|
throw new Error("ChatEvent schema must cover the complete event catalog");
|
|
3901
3811
|
}
|
|
3902
|
-
var pagedChatMessageSchema = legacyPagedChatMessageSchema;
|
|
3903
3812
|
var chatThreadDetailSchema = external_exports.object({
|
|
3904
3813
|
/**
|
|
3905
3814
|
* Read-state watermark. A thread is unread when its latest run-finish marker
|
|
@@ -4005,28 +3914,6 @@ var chatNormalSendBodyShape = {
|
|
|
4005
3914
|
// runner to bypass preview mock CLIs and use the real agent runtime.
|
|
4006
3915
|
realAgentInPreview: external_exports.boolean().optional()
|
|
4007
3916
|
};
|
|
4008
|
-
var chatMessageNormalSendBodySchema = external_exports.preprocess(
|
|
4009
|
-
(value) => {
|
|
4010
|
-
return normalizeLegacyModelSelectionInput(value, { allowNull: false });
|
|
4011
|
-
},
|
|
4012
|
-
external_exports.object({
|
|
4013
|
-
...chatNormalSendBodyShape,
|
|
4014
|
-
// Client-generated UUID used as the user message's primary key.
|
|
4015
|
-
// Lets the client render an optimistic row and reconcile with the
|
|
4016
|
-
// server row by id — no temp-id swap, no React remount.
|
|
4017
|
-
clientMessageId: external_exports.string().uuid().optional(),
|
|
4018
|
-
revokesMessageId: external_exports.string().min(1).optional(),
|
|
4019
|
-
interruptsRunId: external_exports.undefined().optional()
|
|
4020
|
-
}).refine(
|
|
4021
|
-
(body) => {
|
|
4022
|
-
return !(body.cloudBrowserEnabled && body.computerUseHostId);
|
|
4023
|
-
},
|
|
4024
|
-
{
|
|
4025
|
-
message: "Cloud browser and Computer Use cannot both be enabled",
|
|
4026
|
-
path: ["cloudBrowserEnabled"]
|
|
4027
|
-
}
|
|
4028
|
-
)
|
|
4029
|
-
);
|
|
4030
3917
|
var chatEventNormalSendBodySchema = external_exports.preprocess(
|
|
4031
3918
|
(value) => {
|
|
4032
3919
|
return normalizeLegacyModelSelectionInput(value, { allowNull: false });
|
|
@@ -4165,9 +4052,6 @@ var chatThreadIdPathParamsSchema = external_exports.object({ id: external_export
|
|
|
4165
4052
|
var chatThreadThreadIdPathParamsSchema = external_exports.object({
|
|
4166
4053
|
threadId: external_exports.string().uuid()
|
|
4167
4054
|
});
|
|
4168
|
-
var chatThreadMessagePathParamsSchema = chatThreadThreadIdPathParamsSchema.extend({
|
|
4169
|
-
messageId: external_exports.string().uuid()
|
|
4170
|
-
});
|
|
4171
4055
|
var chatThreadEventPathParamsSchema = chatThreadThreadIdPathParamsSchema.extend({
|
|
4172
4056
|
eventId: external_exports.string().uuid()
|
|
4173
4057
|
});
|
|
@@ -4393,72 +4277,6 @@ var chatThreadComputerUseHostContract = c13.router({
|
|
|
4393
4277
|
summary: "Update a chat thread Computer Use host binding"
|
|
4394
4278
|
}
|
|
4395
4279
|
});
|
|
4396
|
-
var chatMessagesContract = c13.router({
|
|
4397
|
-
send: {
|
|
4398
|
-
method: "POST",
|
|
4399
|
-
path: "/api/zero/chat/messages",
|
|
4400
|
-
headers: authHeadersSchema,
|
|
4401
|
-
body: external_exports.union([
|
|
4402
|
-
chatMessageNormalSendBodySchema,
|
|
4403
|
-
external_exports.object({
|
|
4404
|
-
agentId: external_exports.string().min(1),
|
|
4405
|
-
threadId: external_exports.string().min(1),
|
|
4406
|
-
revokesMessageId: external_exports.string().min(1),
|
|
4407
|
-
clientMessageId: external_exports.string().uuid().optional(),
|
|
4408
|
-
prompt: external_exports.undefined().optional(),
|
|
4409
|
-
clientThreadId: external_exports.undefined().optional(),
|
|
4410
|
-
chatThreadEventId: external_exports.undefined().optional(),
|
|
4411
|
-
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
4412
|
-
model: external_exports.undefined().optional(),
|
|
4413
|
-
runOptions: external_exports.undefined().optional(),
|
|
4414
|
-
userMessage: external_exports.undefined().optional(),
|
|
4415
|
-
generationTemplate: external_exports.undefined().optional(),
|
|
4416
|
-
computerUseHostId: external_exports.undefined().optional(),
|
|
4417
|
-
cloudBrowserEnabled: external_exports.undefined().optional(),
|
|
4418
|
-
hasTextContent: external_exports.undefined().optional(),
|
|
4419
|
-
attachFiles: external_exports.undefined().optional(),
|
|
4420
|
-
realAgentInPreview: external_exports.undefined().optional(),
|
|
4421
|
-
interruptsRunId: external_exports.undefined().optional()
|
|
4422
|
-
}),
|
|
4423
|
-
external_exports.object({
|
|
4424
|
-
agentId: external_exports.string().min(1),
|
|
4425
|
-
threadId: external_exports.string().min(1),
|
|
4426
|
-
interruptsRunId: external_exports.string().uuid(),
|
|
4427
|
-
clientMessageId: external_exports.string().uuid().optional(),
|
|
4428
|
-
prompt: external_exports.undefined().optional(),
|
|
4429
|
-
clientThreadId: external_exports.undefined().optional(),
|
|
4430
|
-
chatThreadEventId: external_exports.undefined().optional(),
|
|
4431
|
-
chatThreadSortEventId: external_exports.undefined().optional(),
|
|
4432
|
-
model: external_exports.undefined().optional(),
|
|
4433
|
-
runOptions: external_exports.undefined().optional(),
|
|
4434
|
-
userMessage: external_exports.undefined().optional(),
|
|
4435
|
-
generationTemplate: external_exports.undefined().optional(),
|
|
4436
|
-
computerUseHostId: external_exports.undefined().optional(),
|
|
4437
|
-
cloudBrowserEnabled: external_exports.undefined().optional(),
|
|
4438
|
-
hasTextContent: external_exports.undefined().optional(),
|
|
4439
|
-
attachFiles: external_exports.undefined().optional(),
|
|
4440
|
-
realAgentInPreview: external_exports.undefined().optional(),
|
|
4441
|
-
revokesMessageId: external_exports.undefined().optional()
|
|
4442
|
-
})
|
|
4443
|
-
]),
|
|
4444
|
-
responses: {
|
|
4445
|
-
201: external_exports.object({
|
|
4446
|
-
runId: external_exports.string().nullable(),
|
|
4447
|
-
threadId: external_exports.string(),
|
|
4448
|
-
status: runStatusSchema.optional(),
|
|
4449
|
-
createdAt: external_exports.string().optional()
|
|
4450
|
-
}),
|
|
4451
|
-
400: apiErrorSchema,
|
|
4452
|
-
401: apiErrorSchema,
|
|
4453
|
-
402: apiErrorSchema,
|
|
4454
|
-
403: apiErrorSchema,
|
|
4455
|
-
404: apiErrorSchema,
|
|
4456
|
-
409: apiErrorSchema,
|
|
4457
|
-
422: apiErrorSchema
|
|
4458
|
-
},
|
|
4459
|
-
summary: "Send a chat message (create thread + run + association)"
|
|
4460
|
-
}
|
|
4461
|
-
});
|
|
4462
4280
|
var chatEventsContract = c13.router({
|
|
4463
4281
|
send: {
|
|
4464
4282
|
method: "POST",
|
|
@@ -4566,67 +4384,6 @@ var chatSearchContract = c13.router({
|
|
|
4566
4384
|
summary: "Search chat messages within caller's org (zero proxy)"
|
|
4567
4385
|
}
|
|
4568
4386
|
});
|
|
4569
|
-
var chatThreadMessagesContract = c13.router({
|
|
4570
|
-
list: {
|
|
4571
|
-
method: "GET",
|
|
4572
|
-
path: "/api/zero/chat-threads/:threadId/messages",
|
|
4573
|
-
headers: authHeadersSchema,
|
|
4574
|
-
pathParams: chatThreadThreadIdPathParamsSchema,
|
|
4575
|
-
query: external_exports.object({
|
|
4576
|
-
sinceSeqId: external_exports.coerce.number().int().positive().optional(),
|
|
4577
|
-
beforeSeqId: external_exports.coerce.number().int().positive().optional(),
|
|
4578
|
-
// Remove after browser clients from the pre-seqId release can no longer
|
|
4579
|
-
// remain active against the current backend.
|
|
4580
|
-
sinceId: external_exports.string().uuid().optional(),
|
|
4581
|
-
beforeId: external_exports.string().uuid().optional(),
|
|
4582
|
-
limit: external_exports.coerce.number().min(1).max(50).default(50)
|
|
4583
|
-
}),
|
|
4584
|
-
responses: {
|
|
4585
|
-
200: external_exports.object({
|
|
4586
|
-
messages: external_exports.array(pagedChatMessageSchema),
|
|
4587
|
-
hasHistoryBefore: external_exports.boolean().optional()
|
|
4588
|
-
}),
|
|
4589
|
-
400: apiErrorSchema,
|
|
4590
|
-
401: apiErrorSchema,
|
|
4591
|
-
404: apiErrorSchema
|
|
4592
|
-
},
|
|
4593
|
-
summary: "Get paginated chat messages for a thread"
|
|
4594
|
-
},
|
|
4595
|
-
// Compatibility for already-open app-v0.627.3 browser clients. The next app
|
|
4596
|
-
// no longer calls this route; remove it only after those clients can no
|
|
4597
|
-
// longer reasonably remain active against the current backend.
|
|
4598
|
-
get: {
|
|
4599
|
-
method: "GET",
|
|
4600
|
-
path: "/api/zero/chat-threads/:threadId/messages/:messageId",
|
|
4601
|
-
headers: authHeadersSchema,
|
|
4602
|
-
pathParams: chatThreadMessagePathParamsSchema,
|
|
4603
|
-
responses: {
|
|
4604
|
-
200: pagedChatMessageSchema,
|
|
4605
|
-
401: apiErrorSchema,
|
|
4606
|
-
404: apiErrorSchema
|
|
4607
|
-
},
|
|
4608
|
-
summary: "Get a chat message by id for a thread"
|
|
4609
|
-
}
|
|
4610
|
-
});
|
|
4611
|
-
var precedingChatThreadMessagesContract = c13.router({
|
|
4612
|
-
list: {
|
|
4613
|
-
method: "GET",
|
|
4614
|
-
path: "/api/zero/chat-threads/:threadId/messages",
|
|
4615
|
-
headers: authHeadersSchema,
|
|
4616
|
-
pathParams: chatThreadThreadIdPathParamsSchema,
|
|
4617
|
-
query: chatThreadMessagesContract.list.query,
|
|
4618
|
-
responses: {
|
|
4619
|
-
200: external_exports.object({
|
|
4620
|
-
messages: external_exports.array(legacyPagedChatMessageSchema),
|
|
4621
|
-
hasHistoryBefore: external_exports.boolean().optional()
|
|
4622
|
-
}),
|
|
4623
|
-
400: apiErrorSchema,
|
|
4624
|
-
401: apiErrorSchema,
|
|
4625
|
-
404: apiErrorSchema
|
|
4626
|
-
},
|
|
4627
|
-
summary: "Read chat messages from the preceding API release"
|
|
4628
|
-
}
|
|
4629
|
-
});
|
|
4630
4387
|
var chatThreadEventsContract = c13.router({
|
|
4631
4388
|
list: {
|
|
4632
4389
|
method: "GET",
|
|
@@ -6778,9 +6535,9 @@ var secretConnectorMetadataMapSchema = external_exports.record(
|
|
|
6778
6535
|
);
|
|
6779
6536
|
var storedExecutionContextSchema = external_exports.object({
|
|
6780
6537
|
// Compatibility projection for the previous API version and rollback. The
|
|
6781
|
-
// API
|
|
6782
|
-
// rollback-eligible
|
|
6783
|
-
storageManifest: legacyStorageManifestSchema.nullable(),
|
|
6538
|
+
// API writes null while storageMounts drive every claim. Omission is accepted
|
|
6539
|
+
// for the final contraction after rollback-eligible APIs and queues drain.
|
|
6540
|
+
storageManifest: legacyStorageManifestSchema.nullable().optional(),
|
|
6784
6541
|
storageMounts: external_exports.array(storedStorageMountEntrySchema).superRefine(uniqueStorageMountPaths),
|
|
6785
6542
|
environment: external_exports.record(external_exports.string(), external_exports.string()).nullable(),
|
|
6786
6543
|
// API-only references used to reconstruct runner masking values from the
|
|
@@ -11545,6 +11302,13 @@ async function listWorkflowAutomations(workflowId) {
|
|
|
11545
11302
|
`Failed to list automations for workflow "${workflowId}"`
|
|
11546
11303
|
);
|
|
11547
11304
|
}
|
|
11305
|
+
async function listWorkspaceWorkflowAutomations() {
|
|
11306
|
+
const config = await getClientConfig();
|
|
11307
|
+
const client2 = initClient(zeroWorkflowAutomationsContract, config);
|
|
11308
|
+
const result = await client2.listWorkspace({ headers: {} });
|
|
11309
|
+
if (result.status === 200) return result.body;
|
|
11310
|
+
handleError(result, "Failed to list workflow automations");
|
|
11311
|
+
}
|
|
11548
11312
|
async function createWorkflowAutomation(workflowId, body) {
|
|
11549
11313
|
const config = await getClientConfig();
|
|
11550
11314
|
const client2 = initClient(zeroWorkflowAutomationsContract, config);
|
|
@@ -13200,6 +12964,7 @@ export {
|
|
|
13200
12964
|
deleteWorkflow,
|
|
13201
12965
|
copyWorkflow,
|
|
13202
12966
|
listWorkflowAutomations,
|
|
12967
|
+
listWorkspaceWorkflowAutomations,
|
|
13203
12968
|
createWorkflowAutomation,
|
|
13204
12969
|
getWorkflowAutomation,
|
|
13205
12970
|
updateWorkflowAutomation,
|
|
@@ -13317,4 +13082,4 @@ export {
|
|
|
13317
13082
|
getHostedSiteFiles,
|
|
13318
13083
|
getHostedSiteDeployments
|
|
13319
13084
|
};
|
|
13320
|
-
//# sourceMappingURL=chunk-
|
|
13085
|
+
//# sourceMappingURL=chunk-52KFOVUA.js.map
|