@vm0/cli 9.253.0 → 9.254.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.
Files changed (110) hide show
  1. package/{agent-X6O3YR4M.js → agent-CDMQ3BO4.js} +7 -7
  2. package/{banking-NGZXYSVB.js → banking-M5CIVLRH.js} +5 -5
  3. package/chat-TRK5KDSP.js +622 -0
  4. package/chat-TRK5KDSP.js.map +1 -0
  5. package/{chunk-7YTIE7KU.js → chunk-5QLT6M5N.js} +165 -46
  6. package/{chunk-7YTIE7KU.js.map → chunk-5QLT6M5N.js.map} +1 -1
  7. package/{chunk-RMLNBK2X.js → chunk-7NYMO54N.js} +2 -2
  8. package/chunk-B6ELBBRJ.js +83 -0
  9. package/chunk-B6ELBBRJ.js.map +1 -0
  10. package/{chunk-RANJI5FZ.js → chunk-BL37FBZF.js} +2 -2
  11. package/{chunk-XM3WOXFE.js → chunk-BXVXXD3E.js} +4 -4
  12. package/{chunk-KMRZUQHC.js → chunk-D4OTAABD.js} +3 -2
  13. package/{chunk-KMRZUQHC.js.map → chunk-D4OTAABD.js.map} +1 -1
  14. package/{chunk-7JNLGFRW.js → chunk-JLEBJUMI.js} +11 -76
  15. package/chunk-JLEBJUMI.js.map +1 -0
  16. package/{chunk-LIT3JQQR.js → chunk-JXYKIW37.js} +2 -2
  17. package/{chunk-2YJV4T5H.js → chunk-R23NULE7.js} +43 -42
  18. package/chunk-R23NULE7.js.map +1 -0
  19. package/{chunk-2E37DQSD.js → chunk-TBBXBBFT.js} +2 -2
  20. package/{chunk-FJFJLQQW.js → chunk-UUKFGXX5.js} +2 -2
  21. package/{chunk-LO2JYFNP.js → chunk-XBX4JTXR.js} +2 -2
  22. package/{computer-use-C3HZXTKZ.js → computer-use-K7ULCJNC.js} +5 -5
  23. package/{connector-DPZKQG4U.js → connector-JFE4GTW4.js} +8 -8
  24. package/{credit-WY6P3D6B.js → credit-QVY2XIPE.js} +7 -7
  25. package/{developer-support-RYY76Y65.js → developer-support-EJOQWXKB.js} +5 -5
  26. package/{doctor-XZH52P7J.js → doctor-7YEA3BYV.js} +7 -7
  27. package/{esm-GOCEMHJO.js → esm-IFLVLSSI.js} +102 -74
  28. package/esm-IFLVLSSI.js.map +1 -0
  29. package/{feishu-HLSIBEHH.js → feishu-KCN4UME3.js} +5 -5
  30. package/{finance-IWVIYPXL.js → finance-TOKK5DCK.js} +5 -5
  31. package/{generate-IAA656VE.js → generate-6E23MDCE.js} +7 -7
  32. package/{github-MJZJ2VLC.js → github-LJMT5D7D.js} +5 -5
  33. package/{goal-7OCVIFTQ.js → goal-OJ4J7OCD.js} +5 -5
  34. package/{host-KX7NPRZM.js → host-KX5G666N.js} +5 -5
  35. package/{logs-AHOU7TJL.js → logs-IDABHTFA.js} +12 -10
  36. package/{logs-AHOU7TJL.js.map → logs-IDABHTFA.js.map} +1 -1
  37. package/{mail-D3YBSKA6.js → mail-U6JQDKN3.js} +7 -7
  38. package/{maps-AT7I4KK6.js → maps-Y7PIXKLP.js} +5 -5
  39. package/{model-7AEJV5QI.js → model-PXWGKXUA.js} +6 -6
  40. package/{model-provider-CNTRAXGR.js → model-provider-LNVO4LHA.js} +6 -6
  41. package/{org-4EOIMAMU.js → org-G46VCLIF.js} +5 -5
  42. package/package.json +1 -1
  43. package/{people-search-YIPV2HRX.js → people-search-TZBJNLYY.js} +5 -5
  44. package/{phone-RGFGHH4G.js → phone-KEHX5BEJ.js} +5 -5
  45. package/{preference-UIFDOWCE.js → preference-5KLKA6DR.js} +5 -5
  46. package/{resource-UCO5W2EM.js → resource-W2PYM3GG.js} +123 -122
  47. package/resource-W2PYM3GG.js.map +1 -0
  48. package/{scrape-V6KXL77N.js → scrape-27OBJPNR.js} +5 -5
  49. package/{search-FKCTV4PA.js → search-23XNHEE5.js} +11 -9
  50. package/{search-FKCTV4PA.js.map → search-23XNHEE5.js.map} +1 -1
  51. package/{secret-ZOUQEPTX.js → secret-IRLST7ZX.js} +5 -5
  52. package/{slack-4WKWNC54.js → slack-U3YX4HK7.js} +5 -5
  53. package/{teams-MRN5OZEA.js → teams-2BPJ3VT4.js} +5 -5
  54. package/{telegram-DJ6DOWYM.js → telegram-B7JBB6M2.js} +5 -5
  55. package/{upgrade-2VYHUARI.js → upgrade-SFFQF2QF.js} +4 -4
  56. package/{variable-6SNXAUY7.js → variable-ZZ7OX5PU.js} +5 -5
  57. package/{video-DF4MZ6J2.js → video-PEACIVNU.js} +4 -4
  58. package/{weather-PATAREUP.js → weather-4SC7E3OZ.js} +5 -5
  59. package/{web-GMBMMBHY.js → web-2O6V5RRP.js} +5 -5
  60. package/{web-search-SYJ7DI6M.js → web-search-KOU476ZM.js} +5 -5
  61. package/{whoami-KD3QSC6J.js → whoami-VGNKLROW.js} +7 -7
  62. package/{workflow-DATIF2MF.js → workflow-3GXAC4BP.js} +5 -5
  63. package/zero.js +43 -43
  64. package/chat-CRY62LOA.js +0 -246
  65. package/chat-CRY62LOA.js.map +0 -1
  66. package/chunk-2YJV4T5H.js.map +0 -1
  67. package/chunk-7JNLGFRW.js.map +0 -1
  68. package/esm-GOCEMHJO.js.map +0 -1
  69. package/resource-UCO5W2EM.js.map +0 -1
  70. /package/{agent-X6O3YR4M.js.map → agent-CDMQ3BO4.js.map} +0 -0
  71. /package/{banking-NGZXYSVB.js.map → banking-M5CIVLRH.js.map} +0 -0
  72. /package/{chunk-RMLNBK2X.js.map → chunk-7NYMO54N.js.map} +0 -0
  73. /package/{chunk-RANJI5FZ.js.map → chunk-BL37FBZF.js.map} +0 -0
  74. /package/{chunk-XM3WOXFE.js.map → chunk-BXVXXD3E.js.map} +0 -0
  75. /package/{chunk-LIT3JQQR.js.map → chunk-JXYKIW37.js.map} +0 -0
  76. /package/{chunk-2E37DQSD.js.map → chunk-TBBXBBFT.js.map} +0 -0
  77. /package/{chunk-FJFJLQQW.js.map → chunk-UUKFGXX5.js.map} +0 -0
  78. /package/{chunk-LO2JYFNP.js.map → chunk-XBX4JTXR.js.map} +0 -0
  79. /package/{computer-use-C3HZXTKZ.js.map → computer-use-K7ULCJNC.js.map} +0 -0
  80. /package/{connector-DPZKQG4U.js.map → connector-JFE4GTW4.js.map} +0 -0
  81. /package/{credit-WY6P3D6B.js.map → credit-QVY2XIPE.js.map} +0 -0
  82. /package/{developer-support-RYY76Y65.js.map → developer-support-EJOQWXKB.js.map} +0 -0
  83. /package/{doctor-XZH52P7J.js.map → doctor-7YEA3BYV.js.map} +0 -0
  84. /package/{feishu-HLSIBEHH.js.map → feishu-KCN4UME3.js.map} +0 -0
  85. /package/{finance-IWVIYPXL.js.map → finance-TOKK5DCK.js.map} +0 -0
  86. /package/{generate-IAA656VE.js.map → generate-6E23MDCE.js.map} +0 -0
  87. /package/{github-MJZJ2VLC.js.map → github-LJMT5D7D.js.map} +0 -0
  88. /package/{goal-7OCVIFTQ.js.map → goal-OJ4J7OCD.js.map} +0 -0
  89. /package/{host-KX7NPRZM.js.map → host-KX5G666N.js.map} +0 -0
  90. /package/{mail-D3YBSKA6.js.map → mail-U6JQDKN3.js.map} +0 -0
  91. /package/{maps-AT7I4KK6.js.map → maps-Y7PIXKLP.js.map} +0 -0
  92. /package/{model-7AEJV5QI.js.map → model-PXWGKXUA.js.map} +0 -0
  93. /package/{model-provider-CNTRAXGR.js.map → model-provider-LNVO4LHA.js.map} +0 -0
  94. /package/{org-4EOIMAMU.js.map → org-G46VCLIF.js.map} +0 -0
  95. /package/{people-search-YIPV2HRX.js.map → people-search-TZBJNLYY.js.map} +0 -0
  96. /package/{phone-RGFGHH4G.js.map → phone-KEHX5BEJ.js.map} +0 -0
  97. /package/{preference-UIFDOWCE.js.map → preference-5KLKA6DR.js.map} +0 -0
  98. /package/{scrape-V6KXL77N.js.map → scrape-27OBJPNR.js.map} +0 -0
  99. /package/{secret-ZOUQEPTX.js.map → secret-IRLST7ZX.js.map} +0 -0
  100. /package/{slack-4WKWNC54.js.map → slack-U3YX4HK7.js.map} +0 -0
  101. /package/{teams-MRN5OZEA.js.map → teams-2BPJ3VT4.js.map} +0 -0
  102. /package/{telegram-DJ6DOWYM.js.map → telegram-B7JBB6M2.js.map} +0 -0
  103. /package/{upgrade-2VYHUARI.js.map → upgrade-SFFQF2QF.js.map} +0 -0
  104. /package/{variable-6SNXAUY7.js.map → variable-ZZ7OX5PU.js.map} +0 -0
  105. /package/{video-DF4MZ6J2.js.map → video-PEACIVNU.js.map} +0 -0
  106. /package/{weather-PATAREUP.js.map → weather-4SC7E3OZ.js.map} +0 -0
  107. /package/{web-GMBMMBHY.js.map → web-2O6V5RRP.js.map} +0 -0
  108. /package/{web-search-SYJ7DI6M.js.map → web-search-KOU476ZM.js.map} +0 -0
  109. /package/{whoami-KD3QSC6J.js.map → whoami-VGNKLROW.js.map} +0 -0
  110. /package/{workflow-DATIF2MF.js.map → workflow-3GXAC4BP.js.map} +0 -0
@@ -3,7 +3,7 @@ import { createRequire as __createRequire } from "node:module";
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  MODEL_PROVIDER_TYPES
6
- } from "./chunk-7YTIE7KU.js";
6
+ } from "./chunk-5QLT6M5N.js";
7
7
  import {
8
8
  init_esm_shims
9
9
  } from "./chunk-3VVCUQPB.js";
@@ -40,4 +40,4 @@ export {
40
40
  formatModelProviderRoute,
41
41
  formatModelPolicyStatus
42
42
  };
43
- //# sourceMappingURL=chunk-LIT3JQQR.js.map
43
+ //# sourceMappingURL=chunk-JXYKIW37.js.map
@@ -21,7 +21,7 @@ import {
21
21
  updateOrgModelPoliciesRequestSchema,
22
22
  upsertModelProviderRequestSchema,
23
23
  upsertModelProviderResponseSchema
24
- } from "./chunk-7YTIE7KU.js";
24
+ } from "./chunk-5QLT6M5N.js";
25
25
  import {
26
26
  __commonJS,
27
27
  __esm,
@@ -3660,6 +3660,7 @@ var pagedChatMessageBaseSchema = external_exports.object({
3660
3660
  runGroupId: external_exports.string().optional(),
3661
3661
  triggerSource: triggerSourceSchema.optional(),
3662
3662
  slackMessagePermalink: external_exports.string().url().optional(),
3663
+ feishuChatOpenUrl: external_exports.string().url().optional(),
3663
3664
  isGoalRun: external_exports.boolean().optional(),
3664
3665
  runEventId: external_exports.string().optional(),
3665
3666
  goalEvent: zeroGoalEventSchema.optional(),
@@ -3709,9 +3710,7 @@ var chatThreadDetailSchema = external_exports.object({
3709
3710
  * Read-state watermark. A thread is unread when its latest run-finish marker
3710
3711
  * is newer than this timestamp.
3711
3712
  */
3712
- lastReadAt: external_exports.string().nullable(),
3713
- computerUseHostId: external_exports.string().uuid().nullable(),
3714
- codexServiceTier: codexServiceTierSchema.nullable()
3713
+ lastReadAt: external_exports.string().nullable()
3715
3714
  });
3716
3715
  var chatThreadMetadataSchema = external_exports.object({
3717
3716
  id: external_exports.string(),
@@ -3828,7 +3827,8 @@ var chatThreadsContract = c14.router({
3828
3827
  chatThreads: external_exports.array(chatThreadSnapshotProjectionSchema),
3829
3828
  latestEventId: chatThreadEventIdSchema.nullable()
3830
3829
  }),
3831
- 401: apiErrorSchema
3830
+ 401: apiErrorSchema,
3831
+ 403: apiErrorSchema
3832
3832
  },
3833
3833
  summary: "Get the compacted chat thread snapshot for the caller's current organization."
3834
3834
  },
@@ -3845,6 +3845,7 @@ var chatThreadsContract = c14.router({
3845
3845
  hasMore: external_exports.boolean()
3846
3846
  }),
3847
3847
  401: apiErrorSchema,
3848
+ 403: apiErrorSchema,
3848
3849
  410: apiErrorSchema
3849
3850
  },
3850
3851
  summary: "List chat thread lifecycle events after an optional event id cursor."
@@ -3943,7 +3944,7 @@ var chatThreadByIdContract = c14.router({
3943
3944
  401: apiErrorSchema,
3944
3945
  404: apiErrorSchema
3945
3946
  },
3946
- summary: "Get chat thread detail"
3947
+ summary: "Get chat thread read state"
3947
3948
  },
3948
3949
  patch: {
3949
3950
  method: "PATCH",
@@ -7590,39 +7591,6 @@ var webhookUsageEventContract = c25.router({
7590
7591
  summary: "Receive billing usage event data from sandbox"
7591
7592
  }
7592
7593
  });
7593
- var modelUsageObservationCategorySchema = external_exports.enum([
7594
- "tokens.input",
7595
- "tokens.output",
7596
- "tokens.cache_read",
7597
- "tokens.cache_creation"
7598
- ]);
7599
- var webhookModelUsageObservationItemSchema = external_exports.object({
7600
- idempotencyKey: external_exports.uuid(),
7601
- model: external_exports.string().min(1).max(255),
7602
- category: modelUsageObservationCategorySchema,
7603
- quantity: external_exports.number().int().min(1)
7604
- }).strict();
7605
- var webhookModelUsageObservationContract = c25.router({
7606
- send: {
7607
- method: "POST",
7608
- path: "/api/webhooks/agent/model-usage-observation",
7609
- headers: authHeadersSchema,
7610
- body: external_exports.object({
7611
- runId: external_exports.string().min(1, "runId is required"),
7612
- events: external_exports.array(webhookModelUsageObservationItemSchema).min(1).max(100)
7613
- }).strict(),
7614
- responses: {
7615
- 200: external_exports.object({
7616
- success: external_exports.boolean()
7617
- }),
7618
- 400: apiErrorSchema,
7619
- 401: apiErrorSchema,
7620
- 404: apiErrorSchema,
7621
- 500: apiErrorSchema
7622
- },
7623
- summary: "Receive model usage observation data from sandbox"
7624
- }
7625
- });
7626
7594
  var webhookModelUsageObservationV2ItemSchema = external_exports.object({
7627
7595
  idempotencyKey: external_exports.uuid(),
7628
7596
  model: external_exports.string().min(1).max(255),
@@ -7940,6 +7908,33 @@ async function searchZeroChat(options) {
7940
7908
  if (result.status === 200) return result.body;
7941
7909
  handleError(result, "Failed to search chat messages");
7942
7910
  }
7911
+ async function getZeroChatThreadSnapshot() {
7912
+ const config = await getClientConfig();
7913
+ const client = initClient(chatThreadsContract, config);
7914
+ const result = await client.snapshot();
7915
+ if (result.status === 200) {
7916
+ return result.body;
7917
+ }
7918
+ handleError(result, "Failed to get chat thread snapshot");
7919
+ }
7920
+ async function listZeroChatThreadEvents(options) {
7921
+ const config = await getClientConfig();
7922
+ const client = initClient(chatThreadsContract, config);
7923
+ const result = await client.events({
7924
+ query: options.sinceEventId ? { sinceEventId: options.sinceEventId } : {}
7925
+ });
7926
+ if (result.status === 200) {
7927
+ return {
7928
+ kind: "page",
7929
+ events: result.body.events,
7930
+ hasMore: result.body.hasMore
7931
+ };
7932
+ }
7933
+ if (result.status === 410) {
7934
+ return { kind: "expired" };
7935
+ }
7936
+ handleError(result, "Failed to list chat thread events");
7937
+ }
7943
7938
  async function renameZeroChatThread(options) {
7944
7939
  const config = await getClientConfig();
7945
7940
  const client = initClient(chatThreadRenameContract, config);
@@ -10763,7 +10758,9 @@ var zeroWorkflowCopyRequestSchema = external_exports.object({
10763
10758
  });
10764
10759
  var zeroWorkflowRunResponseSchema = external_exports.object({
10765
10760
  chatThreadId: external_exports.string().uuid(),
10766
- runId: external_exports.string()
10761
+ // Null means the manual invocation is waiting in the chat thread queue and
10762
+ // no run has been created for it yet.
10763
+ runId: external_exports.string().nullable()
10767
10764
  });
10768
10765
  var zeroWorkflowChatThreadResponseSchema = external_exports.object({
10769
10766
  chatThreadId: external_exports.string().uuid(),
@@ -11109,7 +11106,7 @@ var zeroWorkflowAutomationsContract = c35.router({
11109
11106
  404: apiErrorSchema,
11110
11107
  409: apiErrorSchema
11111
11108
  },
11112
- summary: "Run a workflow automation immediately in its bound chat thread"
11109
+ summary: "Submit a workflow automation run in its bound chat thread"
11113
11110
  },
11114
11111
  revealWebhookSecret: {
11115
11112
  method: "POST",
@@ -12814,6 +12811,8 @@ export {
12814
12811
  hostedArtifactKindSchema,
12815
12812
  firewallsSchema,
12816
12813
  UNKNOWN_PERMISSION_GRANT,
12814
+ chatThreadSnapshotProjectionSchema,
12815
+ chatThreadEventSchema,
12817
12816
  zeroAgentVisibilitySchema,
12818
12817
  connectorRefSchema,
12819
12818
  connectorAuthMethodIdSchema,
@@ -12890,6 +12889,8 @@ export {
12890
12889
  listZeroLogs,
12891
12890
  searchZeroLogs,
12892
12891
  searchZeroChat,
12892
+ getZeroChatThreadSnapshot,
12893
+ listZeroChatThreadEvents,
12893
12894
  renameZeroChatThread,
12894
12895
  getZeroChatThread,
12895
12896
  updateZeroChatThreadModelSelection,
@@ -12940,4 +12941,4 @@ export {
12940
12941
  getHostedSiteFiles,
12941
12942
  getHostedSiteDeployments
12942
12943
  };
12943
- //# sourceMappingURL=chunk-2YJV4T5H.js.map
12944
+ //# sourceMappingURL=chunk-R23NULE7.js.map