@vm0/cli 9.263.0 → 9.263.1
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-A37X5XHI.js} +6 -6
- package/{banking-DSBRODJE.js → banking-UO5BT4LV.js} +4 -4
- package/{browser-FZKCVWPF.js → browser-4QRQVLDA.js} +4 -4
- package/{chat-D5DXQQQN.js → chat-QB6VZHUD.js} +5 -5
- package/{chunk-763OWT5S.js → chunk-3XRJTKOC.js} +2 -2
- package/{chunk-WNEYNRKP.js → chunk-42RDOHNK.js} +2 -2
- package/{chunk-7BY6QXB2.js → chunk-7QZTAAET.js} +4 -4
- package/{chunk-TE6HUJO7.js → chunk-INWHTFKO.js} +2 -2
- package/{chunk-JHCSTKSK.js → chunk-MM2THXZU.js} +7 -204
- package/chunk-MM2THXZU.js.map +1 -0
- package/{chunk-SQ4KQQUA.js → chunk-R5PFPDVD.js} +2 -2
- package/{chunk-JRLEVFU4.js → chunk-RM3CRZ3V.js} +2 -2
- package/{chunk-DEZ5WUIV.js → chunk-SZFRTXBU.js} +2 -2
- package/{chunk-KZ3CS2NK.js → chunk-WNXAEDU7.js} +3 -3
- package/{chunk-KZ3CS2NK.js.map → chunk-WNXAEDU7.js.map} +1 -1
- package/{computer-use-VYFUCFOW.js → computer-use-4G526LVW.js} +4 -4
- package/{connector-ME5QOGO3.js → connector-OSF6NAZ3.js} +7 -7
- package/{credit-LO5CLWQE.js → credit-ILE37NVC.js} +5 -5
- package/{developer-support-LGZS7NOO.js → developer-support-CS4NUQKS.js} +4 -4
- package/{doctor-TQI2B6Q2.js → doctor-FDGQRZX4.js} +5 -5
- package/{feishu-VGTLKS3I.js → feishu-IZNLUXA6.js} +4 -4
- package/{finance-XQETM32L.js → finance-MI4RQTGE.js} +4 -4
- package/{generate-FTSU6IJH.js → generate-TBMH5BJW.js} +5 -5
- package/{github-OLVQQBOM.js → github-NC36DPAV.js} +4 -4
- package/{goal-2NYMFUM5.js → goal-E3O4CE6U.js} +4 -4
- package/{host-OIIYDML7.js → host-SEROEJ3X.js} +4 -4
- package/{logs-H77ZUX3U.js → logs-FX6QR3NW.js} +5 -5
- package/{mail-H2MZKXWF.js → mail-OJG76J7H.js} +6 -6
- package/{maps-PI2DOJ2D.js → maps-WQN5C55Q.js} +4 -4
- package/{model-XE3HBT3S.js → model-TRIO5V3B.js} +5 -5
- package/{model-provider-ZNN7YGD4.js → model-provider-F7IDCMER.js} +5 -5
- package/{org-WNOFQ537.js → org-L2H5G7UT.js} +4 -4
- package/package.json +1 -1
- package/{people-search-WDMWSRP5.js → people-search-C543ABM2.js} +4 -4
- package/{phone-23QBOZVB.js → phone-LIC3TOX5.js} +4 -4
- package/{preference-Z45BVY3F.js → preference-F2WEDROK.js} +4 -4
- package/{resource-H6S3K7G6.js → resource-L3FONGQH.js} +4 -4
- package/{scrape-KWNPFDEX.js → scrape-YTZCRV4O.js} +4 -4
- package/{search-IFRLUNB6.js → search-5CMFCJEU.js} +5 -5
- package/{secret-GW4HHMFN.js → secret-TOACFEGT.js} +4 -4
- package/{slack-45SQVSDV.js → slack-24WMW2IR.js} +4 -4
- package/{teams-6IG4GDCD.js → teams-4JCSRJHR.js} +4 -4
- package/{telegram-7D3KEZ2J.js → telegram-N6CYEREV.js} +4 -4
- package/{upgrade-ED45IEMQ.js → upgrade-26SROMUW.js} +3 -3
- package/{variable-B4CLRKJI.js → variable-4D7HYG5Z.js} +4 -4
- package/{video-QOGXSHFS.js → video-Y2W66YOG.js} +3 -3
- package/{weather-BA6KAOQ2.js → weather-QCUKUCSB.js} +4 -4
- package/{web-JV2V4L6O.js → web-K7ZZLS6C.js} +4 -4
- package/{web-search-GIOVKSVD.js → web-search-CTSJQ6KG.js} +4 -4
- package/{whoami-OBDYSSH4.js → whoami-XQRDEJ4Y.js} +6 -6
- package/{workflow-OXEZWAI7.js → workflow-3OEX2DBN.js} +4 -4
- package/zero.js +42 -42
- package/chunk-JHCSTKSK.js.map +0 -1
- /package/{agent-U5H7QQ6W.js.map → agent-A37X5XHI.js.map} +0 -0
- /package/{banking-DSBRODJE.js.map → banking-UO5BT4LV.js.map} +0 -0
- /package/{browser-FZKCVWPF.js.map → browser-4QRQVLDA.js.map} +0 -0
- /package/{chat-D5DXQQQN.js.map → chat-QB6VZHUD.js.map} +0 -0
- /package/{chunk-763OWT5S.js.map → chunk-3XRJTKOC.js.map} +0 -0
- /package/{chunk-WNEYNRKP.js.map → chunk-42RDOHNK.js.map} +0 -0
- /package/{chunk-7BY6QXB2.js.map → chunk-7QZTAAET.js.map} +0 -0
- /package/{chunk-TE6HUJO7.js.map → chunk-INWHTFKO.js.map} +0 -0
- /package/{chunk-SQ4KQQUA.js.map → chunk-R5PFPDVD.js.map} +0 -0
- /package/{chunk-JRLEVFU4.js.map → chunk-RM3CRZ3V.js.map} +0 -0
- /package/{chunk-DEZ5WUIV.js.map → chunk-SZFRTXBU.js.map} +0 -0
- /package/{computer-use-VYFUCFOW.js.map → computer-use-4G526LVW.js.map} +0 -0
- /package/{connector-ME5QOGO3.js.map → connector-OSF6NAZ3.js.map} +0 -0
- /package/{credit-LO5CLWQE.js.map → credit-ILE37NVC.js.map} +0 -0
- /package/{developer-support-LGZS7NOO.js.map → developer-support-CS4NUQKS.js.map} +0 -0
- /package/{doctor-TQI2B6Q2.js.map → doctor-FDGQRZX4.js.map} +0 -0
- /package/{feishu-VGTLKS3I.js.map → feishu-IZNLUXA6.js.map} +0 -0
- /package/{finance-XQETM32L.js.map → finance-MI4RQTGE.js.map} +0 -0
- /package/{generate-FTSU6IJH.js.map → generate-TBMH5BJW.js.map} +0 -0
- /package/{github-OLVQQBOM.js.map → github-NC36DPAV.js.map} +0 -0
- /package/{goal-2NYMFUM5.js.map → goal-E3O4CE6U.js.map} +0 -0
- /package/{host-OIIYDML7.js.map → host-SEROEJ3X.js.map} +0 -0
- /package/{logs-H77ZUX3U.js.map → logs-FX6QR3NW.js.map} +0 -0
- /package/{mail-H2MZKXWF.js.map → mail-OJG76J7H.js.map} +0 -0
- /package/{maps-PI2DOJ2D.js.map → maps-WQN5C55Q.js.map} +0 -0
- /package/{model-XE3HBT3S.js.map → model-TRIO5V3B.js.map} +0 -0
- /package/{model-provider-ZNN7YGD4.js.map → model-provider-F7IDCMER.js.map} +0 -0
- /package/{org-WNOFQ537.js.map → org-L2H5G7UT.js.map} +0 -0
- /package/{people-search-WDMWSRP5.js.map → people-search-C543ABM2.js.map} +0 -0
- /package/{phone-23QBOZVB.js.map → phone-LIC3TOX5.js.map} +0 -0
- /package/{preference-Z45BVY3F.js.map → preference-F2WEDROK.js.map} +0 -0
- /package/{resource-H6S3K7G6.js.map → resource-L3FONGQH.js.map} +0 -0
- /package/{scrape-KWNPFDEX.js.map → scrape-YTZCRV4O.js.map} +0 -0
- /package/{search-IFRLUNB6.js.map → search-5CMFCJEU.js.map} +0 -0
- /package/{secret-GW4HHMFN.js.map → secret-TOACFEGT.js.map} +0 -0
- /package/{slack-45SQVSDV.js.map → slack-24WMW2IR.js.map} +0 -0
- /package/{teams-6IG4GDCD.js.map → teams-4JCSRJHR.js.map} +0 -0
- /package/{telegram-7D3KEZ2J.js.map → telegram-N6CYEREV.js.map} +0 -0
- /package/{upgrade-ED45IEMQ.js.map → upgrade-26SROMUW.js.map} +0 -0
- /package/{variable-B4CLRKJI.js.map → variable-4D7HYG5Z.js.map} +0 -0
- /package/{video-QOGXSHFS.js.map → video-Y2W66YOG.js.map} +0 -0
- /package/{weather-BA6KAOQ2.js.map → weather-QCUKUCSB.js.map} +0 -0
- /package/{web-JV2V4L6O.js.map → web-K7ZZLS6C.js.map} +0 -0
- /package/{web-search-GIOVKSVD.js.map → web-search-CTSJQ6KG.js.map} +0 -0
- /package/{whoami-OBDYSSH4.js.map → whoami-XQRDEJ4Y.js.map} +0 -0
- /package/{workflow-OXEZWAI7.js.map → workflow-3OEX2DBN.js.map} +0 -0
|
@@ -4,14 +4,14 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
loadConnectorPermissionInfos,
|
|
6
6
|
policyIcon
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7QZTAAET.js";
|
|
8
8
|
import {
|
|
9
9
|
isInteractive,
|
|
10
10
|
promptConfirm
|
|
11
11
|
} from "./chunk-NU6ECB2E.js";
|
|
12
12
|
import {
|
|
13
13
|
permissionGrantsToFirewallPolicies
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-INWHTFKO.js";
|
|
15
15
|
import {
|
|
16
16
|
createZeroAgent,
|
|
17
17
|
deleteZeroAgent,
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
listZeroUserPermissionGrants,
|
|
24
24
|
updateZeroAgent,
|
|
25
25
|
updateZeroAgentInstructions
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-MM2THXZU.js";
|
|
27
|
+
import "./chunk-SZFRTXBU.js";
|
|
28
28
|
import "./chunk-MA22KQYU.js";
|
|
29
29
|
import {
|
|
30
30
|
source_default,
|
|
31
31
|
withErrorHandler
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-RM3CRZ3V.js";
|
|
33
33
|
import "./chunk-MD3YWUKO.js";
|
|
34
34
|
import {
|
|
35
35
|
Command
|
|
@@ -594,4 +594,4 @@ Notes:
|
|
|
594
594
|
export {
|
|
595
595
|
zeroAgentCommand
|
|
596
596
|
};
|
|
597
|
-
//# sourceMappingURL=agent-
|
|
597
|
+
//# sourceMappingURL=agent-A37X5XHI.js.map
|
|
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
callZeroBanking
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-MM2THXZU.js";
|
|
7
|
+
import "./chunk-SZFRTXBU.js";
|
|
8
8
|
import "./chunk-MA22KQYU.js";
|
|
9
9
|
import {
|
|
10
10
|
source_default,
|
|
11
11
|
withErrorHandler
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RM3CRZ3V.js";
|
|
13
13
|
import "./chunk-MD3YWUKO.js";
|
|
14
14
|
import {
|
|
15
15
|
Command,
|
|
@@ -114,4 +114,4 @@ Notes:
|
|
|
114
114
|
export {
|
|
115
115
|
zeroBankingCommand
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=banking-
|
|
117
|
+
//# sourceMappingURL=banking-UO5BT4LV.js.map
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
leaseZeroBrowser,
|
|
11
11
|
useZeroBrowser,
|
|
12
12
|
zeroBrowserCreateRequestSchema
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-MM2THXZU.js";
|
|
14
|
+
import "./chunk-SZFRTXBU.js";
|
|
15
15
|
import "./chunk-MA22KQYU.js";
|
|
16
16
|
import {
|
|
17
17
|
source_default,
|
|
18
18
|
withErrorHandler
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RM3CRZ3V.js";
|
|
20
20
|
import "./chunk-MD3YWUKO.js";
|
|
21
21
|
import {
|
|
22
22
|
Command,
|
|
@@ -209,4 +209,4 @@ Notes:
|
|
|
209
209
|
export {
|
|
210
210
|
zeroBrowserCommand
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=browser-
|
|
212
|
+
//# sourceMappingURL=browser-4QRQVLDA.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
} from "./chunk-FKYDKKID.js";
|
|
9
9
|
import {
|
|
10
10
|
formatModelProviderRoute
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-R5PFPDVD.js";
|
|
12
12
|
import {
|
|
13
13
|
chatThreadEventSchema,
|
|
14
14
|
chatThreadSnapshotProjectionSchema,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
listZeroModelPolicies,
|
|
19
19
|
renameZeroChatThread,
|
|
20
20
|
updateZeroChatThreadModelSelection
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-MM2THXZU.js";
|
|
22
|
+
import "./chunk-SZFRTXBU.js";
|
|
23
23
|
import "./chunk-MA22KQYU.js";
|
|
24
24
|
import {
|
|
25
25
|
getApiUrl,
|
|
26
26
|
source_default,
|
|
27
27
|
withErrorHandler
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RM3CRZ3V.js";
|
|
29
29
|
import {
|
|
30
30
|
decodeZeroTokenPayload
|
|
31
31
|
} from "./chunk-MD3YWUKO.js";
|
|
@@ -647,4 +647,4 @@ Examples:
|
|
|
647
647
|
export {
|
|
648
648
|
zeroChatCommand
|
|
649
649
|
};
|
|
650
|
-
//# sourceMappingURL=chat-
|
|
650
|
+
//# sourceMappingURL=chat-QB6VZHUD.js.map
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
getApiUrl
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RM3CRZ3V.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
9
|
} from "./chunk-GPYQ24DR.js";
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
toPlatformUrl,
|
|
43
43
|
getPlatformOrigin
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-3XRJTKOC.js.map
|
|
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
getZeroAgent,
|
|
6
6
|
getZeroAgentUserConnectors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MM2THXZU.js";
|
|
8
8
|
import {
|
|
9
9
|
init_esm_shims
|
|
10
10
|
} from "./chunk-GPYQ24DR.js";
|
|
@@ -347,4 +347,4 @@ export {
|
|
|
347
347
|
resolveManualGrantAuthMethod,
|
|
348
348
|
resolveAgentContext
|
|
349
349
|
};
|
|
350
|
-
//# sourceMappingURL=chunk-
|
|
350
|
+
//# sourceMappingURL=chunk-42RDOHNK.js.map
|
|
@@ -3,13 +3,13 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
resolveFirewallMetadataPolicies
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-INWHTFKO.js";
|
|
7
7
|
import {
|
|
8
8
|
getZeroConnectorCatalogPermissions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MM2THXZU.js";
|
|
10
10
|
import {
|
|
11
11
|
source_default
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RM3CRZ3V.js";
|
|
13
13
|
import {
|
|
14
14
|
init_esm_shims
|
|
15
15
|
} from "./chunk-GPYQ24DR.js";
|
|
@@ -89,4 +89,4 @@ export {
|
|
|
89
89
|
policyIcon,
|
|
90
90
|
loadConnectorPermissionInfos
|
|
91
91
|
};
|
|
92
|
-
//# sourceMappingURL=chunk-
|
|
92
|
+
//# sourceMappingURL=chunk-7QZTAAET.js.map
|
|
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
|
|
|
3
3
|
const require = __createRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
UNKNOWN_PERMISSION_GRANT
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MM2THXZU.js";
|
|
7
7
|
import {
|
|
8
8
|
init_esm_shims
|
|
9
9
|
} from "./chunk-GPYQ24DR.js";
|
|
@@ -130,4 +130,4 @@ export {
|
|
|
130
130
|
resolveFirewallMetadataPolicies,
|
|
131
131
|
permissionGrantsToFirewallPolicies
|
|
132
132
|
};
|
|
133
|
-
//# sourceMappingURL=chunk-
|
|
133
|
+
//# sourceMappingURL=chunk-INWHTFKO.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
updateOrgModelPoliciesRequestSchema,
|
|
22
22
|
upsertModelProviderRequestSchema,
|
|
23
23
|
upsertModelProviderResponseSchema
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RM3CRZ3V.js";
|
|
25
25
|
import {
|
|
26
26
|
__commonJS,
|
|
27
27
|
__esm,
|
|
@@ -3802,7 +3802,7 @@ var chatEventSchema = external_exports.discriminatedUnion("eventType", [
|
|
|
3802
3802
|
]);
|
|
3803
3803
|
var userEventCompatibilityResponseShape = {
|
|
3804
3804
|
/**
|
|
3805
|
-
* @deprecated
|
|
3805
|
+
* @deprecated Receiver-first compatibility for the preceding App release.
|
|
3806
3806
|
* Canonical ChatEvent consumers derive presentation role from eventType.
|
|
3807
3807
|
*/
|
|
3808
3808
|
role: external_exports.literal("user"),
|
|
@@ -3813,7 +3813,7 @@ var userEventCompatibilityResponseShape = {
|
|
|
3813
3813
|
};
|
|
3814
3814
|
var assistantEventCompatibilityResponseShape = {
|
|
3815
3815
|
/**
|
|
3816
|
-
* @deprecated
|
|
3816
|
+
* @deprecated Receiver-first compatibility for the preceding App release.
|
|
3817
3817
|
* Canonical ChatEvent consumers derive presentation role from eventType.
|
|
3818
3818
|
*/
|
|
3819
3819
|
role: external_exports.literal("assistant"),
|
|
@@ -3822,7 +3822,7 @@ var assistantEventCompatibilityResponseShape = {
|
|
|
3822
3822
|
*/
|
|
3823
3823
|
revokesMessageId: external_exports.string().optional()
|
|
3824
3824
|
};
|
|
3825
|
-
var
|
|
3825
|
+
var precedingAppChatEventResponseSchema = external_exports.discriminatedUnion("eventType", [
|
|
3826
3826
|
inputPromptEventSchema.extend(userEventCompatibilityResponseShape).strict(),
|
|
3827
3827
|
inputAutomationEventSchema.extend(userEventCompatibilityResponseShape).strict(),
|
|
3828
3828
|
inputRejectedEventSchema.extend(userEventCompatibilityResponseShape).strict(),
|
|
@@ -3850,56 +3850,11 @@ var canonicalChatEventResponseSchema = external_exports.discriminatedUnion("even
|
|
|
3850
3850
|
]);
|
|
3851
3851
|
var chatEventResponseSchema = external_exports.preprocess(
|
|
3852
3852
|
normalizePrecedingStructuredPrompt,
|
|
3853
|
-
|
|
3853
|
+
external_exports.union([chatEventSchema, precedingAppChatEventResponseSchema])
|
|
3854
3854
|
);
|
|
3855
|
-
|
|
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
|
-
])
|
|
3894
|
-
);
|
|
3895
|
-
var chatMessageCompatibilityResponseSchema = external_exports.union([
|
|
3896
|
-
chatEventResponseSchema,
|
|
3897
|
-
legacyPagedChatMessageSchema
|
|
3898
|
-
]);
|
|
3899
|
-
if (chatEventTypeSchema.options.length !== chatEventSchema.options.length || chatEventTypeSchema.options.length !== canonicalChatEventResponseSchema.options.length) {
|
|
3855
|
+
if (chatEventTypeSchema.options.length !== chatEventSchema.options.length || chatEventTypeSchema.options.length !== precedingAppChatEventResponseSchema.options.length) {
|
|
3900
3856
|
throw new Error("ChatEvent schema must cover the complete event catalog");
|
|
3901
3857
|
}
|
|
3902
|
-
var pagedChatMessageSchema = legacyPagedChatMessageSchema;
|
|
3903
3858
|
var chatThreadDetailSchema = external_exports.object({
|
|
3904
3859
|
/**
|
|
3905
3860
|
* Read-state watermark. A thread is unread when its latest run-finish marker
|
|
@@ -4005,28 +3960,6 @@ var chatNormalSendBodyShape = {
|
|
|
4005
3960
|
// runner to bypass preview mock CLIs and use the real agent runtime.
|
|
4006
3961
|
realAgentInPreview: external_exports.boolean().optional()
|
|
4007
3962
|
};
|
|
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
3963
|
var chatEventNormalSendBodySchema = external_exports.preprocess(
|
|
4031
3964
|
(value) => {
|
|
4032
3965
|
return normalizeLegacyModelSelectionInput(value, { allowNull: false });
|
|
@@ -4165,9 +4098,6 @@ var chatThreadIdPathParamsSchema = external_exports.object({ id: external_export
|
|
|
4165
4098
|
var chatThreadThreadIdPathParamsSchema = external_exports.object({
|
|
4166
4099
|
threadId: external_exports.string().uuid()
|
|
4167
4100
|
});
|
|
4168
|
-
var chatThreadMessagePathParamsSchema = chatThreadThreadIdPathParamsSchema.extend({
|
|
4169
|
-
messageId: external_exports.string().uuid()
|
|
4170
|
-
});
|
|
4171
4101
|
var chatThreadEventPathParamsSchema = chatThreadThreadIdPathParamsSchema.extend({
|
|
4172
4102
|
eventId: external_exports.string().uuid()
|
|
4173
4103
|
});
|
|
@@ -4393,72 +4323,6 @@ var chatThreadComputerUseHostContract = c13.router({
|
|
|
4393
4323
|
summary: "Update a chat thread Computer Use host binding"
|
|
4394
4324
|
}
|
|
4395
4325
|
});
|
|
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
4326
|
var chatEventsContract = c13.router({
|
|
4463
4327
|
send: {
|
|
4464
4328
|
method: "POST",
|
|
@@ -4566,67 +4430,6 @@ var chatSearchContract = c13.router({
|
|
|
4566
4430
|
summary: "Search chat messages within caller's org (zero proxy)"
|
|
4567
4431
|
}
|
|
4568
4432
|
});
|
|
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
4433
|
var chatThreadEventsContract = c13.router({
|
|
4631
4434
|
list: {
|
|
4632
4435
|
method: "GET",
|
|
@@ -13317,4 +13120,4 @@ export {
|
|
|
13317
13120
|
getHostedSiteFiles,
|
|
13318
13121
|
getHostedSiteDeployments
|
|
13319
13122
|
};
|
|
13320
|
-
//# sourceMappingURL=chunk-
|
|
13123
|
+
//# sourceMappingURL=chunk-MM2THXZU.js.map
|