@vm0/cli 9.215.1 → 9.215.3
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-H6EHGFPZ.js → agent-AZQKRG4B.js} +4 -4
- package/{automation-QV3AWLCI.js → automation-ZIEV4Q72.js} +2 -2
- package/{banking-HZVGHSLM.js → banking-2CDU223M.js} +2 -2
- package/{chunk-LRUD7ROI.js → chunk-2MYK53HJ.js} +2 -2
- package/{chunk-L6GC6AUS.js → chunk-DMAXHLSM.js} +25 -5
- package/chunk-DMAXHLSM.js.map +1 -0
- package/{chunk-PSFY2ETN.js → chunk-EWITRIWZ.js} +2 -2
- package/{chunk-R2HX7TVW.js → chunk-GBGNRPZ5.js} +3 -3
- package/{chunk-A6UR5VOC.js → chunk-LCMCP2WQ.js} +2 -2
- package/{chunk-ZXOCKNRI.js → chunk-QE6HJUL2.js} +3 -3
- package/{chunk-KZJ4S6U5.js → chunk-RVZTMBZ7.js} +2 -2
- package/{chunk-DQDALBWF.js → chunk-SS5WCV7W.js} +13 -7
- package/{chunk-DQDALBWF.js.map → chunk-SS5WCV7W.js.map} +1 -1
- package/{chunk-INN5SRMT.js → chunk-WL7EL2UG.js} +2 -2
- package/{computer-use-ZKUBXP6V.js → computer-use-AZPPQK7I.js} +2 -2
- package/{connector-ZSGIGADY.js → connector-NADUUXPW.js} +3 -3
- package/{credit-VMJYM4DD.js → credit-JHOMWMFK.js} +2 -2
- package/{developer-support-EVU3TTCS.js → developer-support-U7JULAYC.js} +2 -2
- package/{doctor-NL5HUJ6F.js → doctor-A7V3ZJEY.js} +272 -33
- package/doctor-A7V3ZJEY.js.map +1 -0
- package/{generate-KNCZMJNB.js → generate-2SJTN5W2.js} +3 -3
- package/{github-2MLRXIUS.js → github-GRU4EHAJ.js} +2 -2
- package/{goal-JWNBPZMQ.js → goal-GURJHZXL.js} +2 -2
- package/{host-XCU3JVEP.js → host-GYT2IEH4.js} +2 -2
- package/index.js +13 -13
- package/{logs-VLNWK6EJ.js → logs-N3PNIAGS.js} +6 -6
- package/{maps-UUYNXLCH.js → maps-D5QH3GHE.js} +2 -2
- package/{model-XQ6PKJLP.js → model-MM25EQUD.js} +3 -3
- package/{model-provider-ZDVTD7R5.js → model-provider-5OZ222EJ.js} +3 -3
- package/{org-IFSQQBDR.js → org-QBMRMNB4.js} +2 -2
- package/package.json +1 -1
- package/{phone-KCBQJ424.js → phone-FXXNTGIC.js} +2 -2
- package/{preference-2L2WBMTL.js → preference-KHMX4NLR.js} +2 -2
- package/{resource-WLS4LTR3.js → resource-EZHY7PAW.js} +2 -2
- package/{search-6NLSGHYB.js → search-PXKNMVKT.js} +6 -6
- package/{secret-3ZXJAPVT.js → secret-Y32Q5NUL.js} +3 -3
- package/{slack-QIMOKJW4.js → slack-DTGXXB4X.js} +2 -2
- package/{telegram-HYFTWR3Y.js → telegram-SXAGLUSM.js} +2 -2
- package/{variable-BJEI7JVT.js → variable-POHEUC5N.js} +2 -2
- package/{web-T4YMNTPC.js → web-NHHGB5F5.js} +2 -2
- package/{whoami-NTKQA7XK.js → whoami-QVS4BRD6.js} +4 -4
- package/{workflow-Q6PLLIZ3.js → workflow-65JJ6IXI.js} +2 -2
- package/zero.js +30 -30
- package/chunk-L6GC6AUS.js.map +0 -1
- package/doctor-NL5HUJ6F.js.map +0 -1
- /package/{agent-H6EHGFPZ.js.map → agent-AZQKRG4B.js.map} +0 -0
- /package/{automation-QV3AWLCI.js.map → automation-ZIEV4Q72.js.map} +0 -0
- /package/{banking-HZVGHSLM.js.map → banking-2CDU223M.js.map} +0 -0
- /package/{chunk-LRUD7ROI.js.map → chunk-2MYK53HJ.js.map} +0 -0
- /package/{chunk-PSFY2ETN.js.map → chunk-EWITRIWZ.js.map} +0 -0
- /package/{chunk-R2HX7TVW.js.map → chunk-GBGNRPZ5.js.map} +0 -0
- /package/{chunk-A6UR5VOC.js.map → chunk-LCMCP2WQ.js.map} +0 -0
- /package/{chunk-ZXOCKNRI.js.map → chunk-QE6HJUL2.js.map} +0 -0
- /package/{chunk-KZJ4S6U5.js.map → chunk-RVZTMBZ7.js.map} +0 -0
- /package/{chunk-INN5SRMT.js.map → chunk-WL7EL2UG.js.map} +0 -0
- /package/{computer-use-ZKUBXP6V.js.map → computer-use-AZPPQK7I.js.map} +0 -0
- /package/{connector-ZSGIGADY.js.map → connector-NADUUXPW.js.map} +0 -0
- /package/{credit-VMJYM4DD.js.map → credit-JHOMWMFK.js.map} +0 -0
- /package/{developer-support-EVU3TTCS.js.map → developer-support-U7JULAYC.js.map} +0 -0
- /package/{generate-KNCZMJNB.js.map → generate-2SJTN5W2.js.map} +0 -0
- /package/{github-2MLRXIUS.js.map → github-GRU4EHAJ.js.map} +0 -0
- /package/{goal-JWNBPZMQ.js.map → goal-GURJHZXL.js.map} +0 -0
- /package/{host-XCU3JVEP.js.map → host-GYT2IEH4.js.map} +0 -0
- /package/{logs-VLNWK6EJ.js.map → logs-N3PNIAGS.js.map} +0 -0
- /package/{maps-UUYNXLCH.js.map → maps-D5QH3GHE.js.map} +0 -0
- /package/{model-XQ6PKJLP.js.map → model-MM25EQUD.js.map} +0 -0
- /package/{model-provider-ZDVTD7R5.js.map → model-provider-5OZ222EJ.js.map} +0 -0
- /package/{org-IFSQQBDR.js.map → org-QBMRMNB4.js.map} +0 -0
- /package/{phone-KCBQJ424.js.map → phone-FXXNTGIC.js.map} +0 -0
- /package/{preference-2L2WBMTL.js.map → preference-KHMX4NLR.js.map} +0 -0
- /package/{resource-WLS4LTR3.js.map → resource-EZHY7PAW.js.map} +0 -0
- /package/{search-6NLSGHYB.js.map → search-PXKNMVKT.js.map} +0 -0
- /package/{secret-3ZXJAPVT.js.map → secret-Y32Q5NUL.js.map} +0 -0
- /package/{slack-QIMOKJW4.js.map → slack-DTGXXB4X.js.map} +0 -0
- /package/{telegram-HYFTWR3Y.js.map → telegram-SXAGLUSM.js.map} +0 -0
- /package/{variable-BJEI7JVT.js.map → variable-POHEUC5N.js.map} +0 -0
- /package/{web-T4YMNTPC.js.map → web-NHHGB5F5.js.map} +0 -0
- /package/{whoami-NTKQA7XK.js.map → whoami-QVS4BRD6.js.map} +0 -0
- /package/{workflow-Q6PLLIZ3.js.map → workflow-65JJ6IXI.js.map} +0 -0
|
@@ -4,10 +4,10 @@ const require = __createRequire(import.meta.url);
|
|
|
4
4
|
import {
|
|
5
5
|
loadConnectorPermissionInfos,
|
|
6
6
|
policyIcon
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RVZTMBZ7.js";
|
|
8
8
|
import {
|
|
9
9
|
permissionGrantsToFirewallPolicies
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WL7EL2UG.js";
|
|
11
11
|
import {
|
|
12
12
|
isInteractive,
|
|
13
13
|
promptConfirm
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
listZeroUserPermissionGrants,
|
|
24
24
|
updateZeroAgent,
|
|
25
25
|
updateZeroAgentInstructions
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DMAXHLSM.js";
|
|
27
27
|
import "./chunk-LTDQISD7.js";
|
|
28
28
|
import {
|
|
29
29
|
withErrorHandler
|
|
@@ -595,4 +595,4 @@ Notes:
|
|
|
595
595
|
export {
|
|
596
596
|
zeroAgentCommand
|
|
597
597
|
};
|
|
598
|
-
//# sourceMappingURL=agent-
|
|
598
|
+
//# sourceMappingURL=agent-AZQKRG4B.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
showAutomation,
|
|
24
24
|
updateAutomation,
|
|
25
25
|
updateAutomationTrigger
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DMAXHLSM.js";
|
|
27
27
|
import "./chunk-LTDQISD7.js";
|
|
28
28
|
import {
|
|
29
29
|
withErrorHandler
|
|
@@ -490,4 +490,4 @@ Examples:
|
|
|
490
490
|
export {
|
|
491
491
|
zeroAutomationCommand
|
|
492
492
|
};
|
|
493
|
-
//# sourceMappingURL=automation-
|
|
493
|
+
//# sourceMappingURL=automation-ZIEV4Q72.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
|
callZeroBanking
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DMAXHLSM.js";
|
|
7
7
|
import "./chunk-LTDQISD7.js";
|
|
8
8
|
import {
|
|
9
9
|
withErrorHandler
|
|
@@ -115,4 +115,4 @@ Notes:
|
|
|
115
115
|
export {
|
|
116
116
|
zeroBankingCommand
|
|
117
117
|
};
|
|
118
|
-
//# sourceMappingURL=banking-
|
|
118
|
+
//# sourceMappingURL=banking-2CDU223M.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
CONNECTOR_TYPES,
|
|
6
6
|
CONNECTOR_TYPE_KEYS,
|
|
7
7
|
connectorAuthMethodIdSchema
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DMAXHLSM.js";
|
|
9
9
|
import {
|
|
10
10
|
init_esm_shims
|
|
11
11
|
} from "./chunk-DIRAZ3YX.js";
|
|
@@ -181,4 +181,4 @@ export {
|
|
|
181
181
|
hasRequiredConnectorAuthMethodScopes,
|
|
182
182
|
getConnectorAuthMethodScopeDiff
|
|
183
183
|
};
|
|
184
|
-
//# sourceMappingURL=chunk-
|
|
184
|
+
//# sourceMappingURL=chunk-2MYK53HJ.js.map
|
|
@@ -3787,6 +3787,11 @@ function pathSegmentHasUnsafeSyntax(segment2, rejectPathStructure) {
|
|
|
3787
3787
|
const decoded = percentDecodePathSegment(current, rejectPathStructure);
|
|
3788
3788
|
return decoded === null || decoded !== current;
|
|
3789
3789
|
}
|
|
3790
|
+
function hasUnsafeFirewallPath(path) {
|
|
3791
|
+
return path.split("/").some((segment2) => {
|
|
3792
|
+
return pathSegmentHasUnsafeSyntax(segment2, false);
|
|
3793
|
+
});
|
|
3794
|
+
}
|
|
3790
3795
|
function validateBaseUrlVariablePercentEncoding({
|
|
3791
3796
|
base,
|
|
3792
3797
|
serviceName,
|
|
@@ -6101,6 +6106,9 @@ var chatThreadUnreadsSchema = external_exports.object({
|
|
|
6101
6106
|
})
|
|
6102
6107
|
)
|
|
6103
6108
|
});
|
|
6109
|
+
var chatThreadUnreadAgentsSchema = external_exports.object({
|
|
6110
|
+
agentIds: external_exports.array(external_exports.string())
|
|
6111
|
+
});
|
|
6104
6112
|
var chatThreadListItemSchema = external_exports.object({
|
|
6105
6113
|
id: external_exports.string(),
|
|
6106
6114
|
title: external_exports.string().nullable(),
|
|
@@ -6400,7 +6408,18 @@ var chatThreadsContract = c15.router({
|
|
|
6400
6408
|
200: chatThreadUnreadsSchema,
|
|
6401
6409
|
401: apiErrorSchema
|
|
6402
6410
|
},
|
|
6403
|
-
summary: "List the caller's unread chat threads under an agent, each with the timestamp of the message that made it unread.
|
|
6411
|
+
summary: "List the caller's unread chat threads under an agent, each with the timestamp of the message that made it unread."
|
|
6412
|
+
},
|
|
6413
|
+
unreadAgents: {
|
|
6414
|
+
method: "GET",
|
|
6415
|
+
path: "/api/zero/chat-thread-unread-agents",
|
|
6416
|
+
headers: authHeadersSchema,
|
|
6417
|
+
responses: {
|
|
6418
|
+
200: chatThreadUnreadAgentsSchema,
|
|
6419
|
+
401: apiErrorSchema,
|
|
6420
|
+
403: apiErrorSchema
|
|
6421
|
+
},
|
|
6422
|
+
summary: "List agent IDs with at least one unread chat thread for the caller."
|
|
6404
6423
|
}
|
|
6405
6424
|
});
|
|
6406
6425
|
var chatThreadIdPathParamsSchema = external_exports.object({ id: external_exports.string().uuid() });
|
|
@@ -6466,8 +6485,8 @@ var chatThreadMarkReadContract = c15.router({
|
|
|
6466
6485
|
lastReadMessageId: external_exports.string().nullable(),
|
|
6467
6486
|
/**
|
|
6468
6487
|
* Fresh unread snapshot for the thread's agent (same shape as the
|
|
6469
|
-
* unreads endpoint)
|
|
6470
|
-
*
|
|
6488
|
+
* unreads endpoint). Kept for response compatibility; clients should
|
|
6489
|
+
* treat `chatThreadReadCursorUpdated` as read-state invalidation.
|
|
6471
6490
|
*/
|
|
6472
6491
|
unreads: chatThreadUnreadsSchema.shape.unreads
|
|
6473
6492
|
}),
|
|
@@ -6475,7 +6494,7 @@ var chatThreadMarkReadContract = c15.router({
|
|
|
6475
6494
|
401: apiErrorSchema,
|
|
6476
6495
|
404: apiErrorSchema
|
|
6477
6496
|
},
|
|
6478
|
-
summary: "Mark a chat thread as read up to the latest message
|
|
6497
|
+
summary: "Mark a chat thread as read up to the latest message"
|
|
6479
6498
|
}
|
|
6480
6499
|
});
|
|
6481
6500
|
var chatThreadPinContract = c15.router({
|
|
@@ -27340,6 +27359,7 @@ export {
|
|
|
27340
27359
|
splitPathSegments,
|
|
27341
27360
|
UNKNOWN_PERMISSION_GRANT,
|
|
27342
27361
|
firewallPoliciesSchema,
|
|
27362
|
+
hasUnsafeFirewallPath,
|
|
27343
27363
|
resolveFirewallBaseUrlTemplate,
|
|
27344
27364
|
hasBaseUrlParams,
|
|
27345
27365
|
validateBaseUrl,
|
|
@@ -27502,4 +27522,4 @@ export {
|
|
|
27502
27522
|
completeHostedSite,
|
|
27503
27523
|
getHostedSiteFiles
|
|
27504
27524
|
};
|
|
27505
|
-
//# sourceMappingURL=chunk-
|
|
27525
|
+
//# sourceMappingURL=chunk-DMAXHLSM.js.map
|