@vm0/cli 9.215.2 → 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.
Files changed (78) hide show
  1. package/{agent-I5XDT4BR.js → agent-AZQKRG4B.js} +4 -4
  2. package/{automation-OCFD3UHP.js → automation-ZIEV4Q72.js} +2 -2
  3. package/{banking-GJ7PJWRA.js → banking-2CDU223M.js} +2 -2
  4. package/{chunk-JQ33QAPV.js → chunk-2MYK53HJ.js} +2 -2
  5. package/{chunk-KTWAFCGA.js → chunk-DMAXHLSM.js} +19 -5
  6. package/chunk-DMAXHLSM.js.map +1 -0
  7. package/{chunk-EELGDXPI.js → chunk-EWITRIWZ.js} +2 -2
  8. package/{chunk-D3HUX74K.js → chunk-GBGNRPZ5.js} +3 -3
  9. package/{chunk-QHNBJ6YD.js → chunk-LCMCP2WQ.js} +2 -2
  10. package/{chunk-A3KYWJFN.js → chunk-QE6HJUL2.js} +3 -3
  11. package/{chunk-4C5EGGZP.js → chunk-RVZTMBZ7.js} +2 -2
  12. package/{chunk-VFL5FTPP.js → chunk-SS5WCV7W.js} +8 -2
  13. package/{chunk-VFL5FTPP.js.map → chunk-SS5WCV7W.js.map} +1 -1
  14. package/{chunk-24225P73.js → chunk-WL7EL2UG.js} +2 -2
  15. package/{computer-use-NIIAPUWP.js → computer-use-AZPPQK7I.js} +2 -2
  16. package/{connector-C2LYSP43.js → connector-NADUUXPW.js} +3 -3
  17. package/{credit-LR2UIQVD.js → credit-JHOMWMFK.js} +2 -2
  18. package/{developer-support-G7FNC3VV.js → developer-support-U7JULAYC.js} +2 -2
  19. package/{doctor-2DXAPZ6C.js → doctor-A7V3ZJEY.js} +5 -5
  20. package/{generate-PGSN62LR.js → generate-2SJTN5W2.js} +3 -3
  21. package/{github-LO7VM6I5.js → github-GRU4EHAJ.js} +2 -2
  22. package/{goal-JE4K2SFC.js → goal-GURJHZXL.js} +2 -2
  23. package/{host-43YQBGKH.js → host-GYT2IEH4.js} +2 -2
  24. package/index.js +13 -13
  25. package/{logs-S7HGPJ3Y.js → logs-N3PNIAGS.js} +6 -6
  26. package/{maps-Q7CLDPOS.js → maps-D5QH3GHE.js} +2 -2
  27. package/{model-3Z5WFYSC.js → model-MM25EQUD.js} +3 -3
  28. package/{model-provider-5TZFWH76.js → model-provider-5OZ222EJ.js} +3 -3
  29. package/{org-KLKHFLIU.js → org-QBMRMNB4.js} +2 -2
  30. package/package.json +1 -1
  31. package/{phone-ICELBFBI.js → phone-FXXNTGIC.js} +2 -2
  32. package/{preference-6EHXCFNH.js → preference-KHMX4NLR.js} +2 -2
  33. package/{resource-PUNEFNBV.js → resource-EZHY7PAW.js} +2 -2
  34. package/{search-EIBIEVCF.js → search-PXKNMVKT.js} +6 -6
  35. package/{secret-QUT74WL2.js → secret-Y32Q5NUL.js} +3 -3
  36. package/{slack-ZKWFC5N2.js → slack-DTGXXB4X.js} +2 -2
  37. package/{telegram-VFLXXPNV.js → telegram-SXAGLUSM.js} +2 -2
  38. package/{variable-MS2WEADP.js → variable-POHEUC5N.js} +2 -2
  39. package/{web-B2AWEHP7.js → web-NHHGB5F5.js} +2 -2
  40. package/{whoami-BQSFCCDF.js → whoami-QVS4BRD6.js} +4 -4
  41. package/{workflow-2H5KSLJ2.js → workflow-65JJ6IXI.js} +2 -2
  42. package/zero.js +30 -30
  43. package/chunk-KTWAFCGA.js.map +0 -1
  44. /package/{agent-I5XDT4BR.js.map → agent-AZQKRG4B.js.map} +0 -0
  45. /package/{automation-OCFD3UHP.js.map → automation-ZIEV4Q72.js.map} +0 -0
  46. /package/{banking-GJ7PJWRA.js.map → banking-2CDU223M.js.map} +0 -0
  47. /package/{chunk-JQ33QAPV.js.map → chunk-2MYK53HJ.js.map} +0 -0
  48. /package/{chunk-EELGDXPI.js.map → chunk-EWITRIWZ.js.map} +0 -0
  49. /package/{chunk-D3HUX74K.js.map → chunk-GBGNRPZ5.js.map} +0 -0
  50. /package/{chunk-QHNBJ6YD.js.map → chunk-LCMCP2WQ.js.map} +0 -0
  51. /package/{chunk-A3KYWJFN.js.map → chunk-QE6HJUL2.js.map} +0 -0
  52. /package/{chunk-4C5EGGZP.js.map → chunk-RVZTMBZ7.js.map} +0 -0
  53. /package/{chunk-24225P73.js.map → chunk-WL7EL2UG.js.map} +0 -0
  54. /package/{computer-use-NIIAPUWP.js.map → computer-use-AZPPQK7I.js.map} +0 -0
  55. /package/{connector-C2LYSP43.js.map → connector-NADUUXPW.js.map} +0 -0
  56. /package/{credit-LR2UIQVD.js.map → credit-JHOMWMFK.js.map} +0 -0
  57. /package/{developer-support-G7FNC3VV.js.map → developer-support-U7JULAYC.js.map} +0 -0
  58. /package/{doctor-2DXAPZ6C.js.map → doctor-A7V3ZJEY.js.map} +0 -0
  59. /package/{generate-PGSN62LR.js.map → generate-2SJTN5W2.js.map} +0 -0
  60. /package/{github-LO7VM6I5.js.map → github-GRU4EHAJ.js.map} +0 -0
  61. /package/{goal-JE4K2SFC.js.map → goal-GURJHZXL.js.map} +0 -0
  62. /package/{host-43YQBGKH.js.map → host-GYT2IEH4.js.map} +0 -0
  63. /package/{logs-S7HGPJ3Y.js.map → logs-N3PNIAGS.js.map} +0 -0
  64. /package/{maps-Q7CLDPOS.js.map → maps-D5QH3GHE.js.map} +0 -0
  65. /package/{model-3Z5WFYSC.js.map → model-MM25EQUD.js.map} +0 -0
  66. /package/{model-provider-5TZFWH76.js.map → model-provider-5OZ222EJ.js.map} +0 -0
  67. /package/{org-KLKHFLIU.js.map → org-QBMRMNB4.js.map} +0 -0
  68. /package/{phone-ICELBFBI.js.map → phone-FXXNTGIC.js.map} +0 -0
  69. /package/{preference-6EHXCFNH.js.map → preference-KHMX4NLR.js.map} +0 -0
  70. /package/{resource-PUNEFNBV.js.map → resource-EZHY7PAW.js.map} +0 -0
  71. /package/{search-EIBIEVCF.js.map → search-PXKNMVKT.js.map} +0 -0
  72. /package/{secret-QUT74WL2.js.map → secret-Y32Q5NUL.js.map} +0 -0
  73. /package/{slack-ZKWFC5N2.js.map → slack-DTGXXB4X.js.map} +0 -0
  74. /package/{telegram-VFLXXPNV.js.map → telegram-SXAGLUSM.js.map} +0 -0
  75. /package/{variable-MS2WEADP.js.map → variable-POHEUC5N.js.map} +0 -0
  76. /package/{web-B2AWEHP7.js.map → web-NHHGB5F5.js.map} +0 -0
  77. /package/{whoami-BQSFCCDF.js.map → whoami-QVS4BRD6.js.map} +0 -0
  78. /package/{workflow-2H5KSLJ2.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-4C5EGGZP.js";
7
+ } from "./chunk-RVZTMBZ7.js";
8
8
  import {
9
9
  permissionGrantsToFirewallPolicies
10
- } from "./chunk-24225P73.js";
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-KTWAFCGA.js";
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-I5XDT4BR.js.map
598
+ //# sourceMappingURL=agent-AZQKRG4B.js.map
@@ -23,7 +23,7 @@ import {
23
23
  showAutomation,
24
24
  updateAutomation,
25
25
  updateAutomationTrigger
26
- } from "./chunk-KTWAFCGA.js";
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-OCFD3UHP.js.map
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-KTWAFCGA.js";
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-GJ7PJWRA.js.map
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-KTWAFCGA.js";
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-JQ33QAPV.js.map
184
+ //# sourceMappingURL=chunk-2MYK53HJ.js.map
@@ -6106,6 +6106,9 @@ var chatThreadUnreadsSchema = external_exports.object({
6106
6106
  })
6107
6107
  )
6108
6108
  });
6109
+ var chatThreadUnreadAgentsSchema = external_exports.object({
6110
+ agentIds: external_exports.array(external_exports.string())
6111
+ });
6109
6112
  var chatThreadListItemSchema = external_exports.object({
6110
6113
  id: external_exports.string(),
6111
6114
  title: external_exports.string().nullable(),
@@ -6405,7 +6408,18 @@ var chatThreadsContract = c15.router({
6405
6408
  200: chatThreadUnreadsSchema,
6406
6409
  401: apiErrorSchema
6407
6410
  },
6408
- summary: "List the caller's unread chat threads under an agent, each with the timestamp of the message that made it unread. Fetched separately from the thread list; mark-read returns the same snapshot so read state needs no broadcast."
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."
6409
6423
  }
6410
6424
  });
6411
6425
  var chatThreadIdPathParamsSchema = external_exports.object({ id: external_exports.string().uuid() });
@@ -6471,8 +6485,8 @@ var chatThreadMarkReadContract = c15.router({
6471
6485
  lastReadMessageId: external_exports.string().nullable(),
6472
6486
  /**
6473
6487
  * Fresh unread snapshot for the thread's agent (same shape as the
6474
- * unreads endpoint), so the caller syncs read state from the response
6475
- * instead of a broadcast-triggered refetch.
6488
+ * unreads endpoint). Kept for response compatibility; clients should
6489
+ * treat `chatThreadReadCursorUpdated` as read-state invalidation.
6476
6490
  */
6477
6491
  unreads: chatThreadUnreadsSchema.shape.unreads
6478
6492
  }),
@@ -6480,7 +6494,7 @@ var chatThreadMarkReadContract = c15.router({
6480
6494
  401: apiErrorSchema,
6481
6495
  404: apiErrorSchema
6482
6496
  },
6483
- summary: "Mark a chat thread as read up to the latest message and return the agent's unread snapshot"
6497
+ summary: "Mark a chat thread as read up to the latest message"
6484
6498
  }
6485
6499
  });
6486
6500
  var chatThreadPinContract = c15.router({
@@ -27508,4 +27522,4 @@ export {
27508
27522
  completeHostedSite,
27509
27523
  getHostedSiteFiles
27510
27524
  };
27511
- //# sourceMappingURL=chunk-KTWAFCGA.js.map
27525
+ //# sourceMappingURL=chunk-DMAXHLSM.js.map