@vm0/cli 9.244.4 → 9.244.6

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 (100) hide show
  1. package/{agent-JSLUNSTT.js → agent-AOWGKKI7.js} +7 -7
  2. package/{banking-6GCF5OYC.js → banking-2ZRGXQJB.js} +3 -3
  3. package/{chat-MLA4L7NU.js → chat-XT3ZFO2U.js} +4 -4
  4. package/{chunk-Q4DTF2TA.js → chunk-2GMLVBYY.js} +4 -4
  5. package/{chunk-QKZ37ZQL.js → chunk-GGJ3V5JF.js} +3 -3
  6. package/{chunk-CK6ATTWW.js → chunk-HEAUPGDO.js} +1 -2
  7. package/{chunk-G7TORBE5.js → chunk-J7NZ4R4R.js} +2 -2
  8. package/{chunk-PTF3UL74.js → chunk-LX7FTB2W.js} +2 -2
  9. package/{chunk-4QZ4HY4E.js → chunk-MBYTQ3JJ.js} +31 -161
  10. package/chunk-MBYTQ3JJ.js.map +1 -0
  11. package/{chunk-JFWUWF3A.js → chunk-MWXV2NJK.js} +2 -2
  12. package/{chunk-JFWUWF3A.js.map → chunk-MWXV2NJK.js.map} +1 -1
  13. package/{chunk-QWRJLFXR.js → chunk-MZUWWKCF.js} +69 -6
  14. package/chunk-MZUWWKCF.js.map +1 -0
  15. package/{chunk-PV4JMZMJ.js → chunk-OPYEYUSY.js} +28 -192
  16. package/chunk-OPYEYUSY.js.map +1 -0
  17. package/chunk-PB66MQ5U.js +55 -0
  18. package/chunk-PB66MQ5U.js.map +1 -0
  19. package/{chunk-KI4MDAT4.js → chunk-RPQMDXP2.js} +2 -2
  20. package/{chunk-PZFMDYSY.js → chunk-V33YE2AE.js} +2 -2
  21. package/{computer-use-N4WNS5N4.js → computer-use-IP4SF35H.js} +3 -3
  22. package/{connector-ZSIAJ6YH.js → connector-XK7EPZWH.js} +9 -21
  23. package/connector-XK7EPZWH.js.map +1 -0
  24. package/{credit-4YFX65IX.js → credit-VPTX7ZTC.js} +4 -4
  25. package/{developer-support-EDEFB7K5.js → developer-support-3ED5W5G3.js} +3 -3
  26. package/{doctor-Q54PUMYI.js → doctor-JZG5ZNW2.js} +3 -3
  27. package/{generate-BHCOSW7B.js → generate-PAMRL3B5.js} +4 -4
  28. package/{github-VEZGHR67.js → github-OUIYACCV.js} +3 -3
  29. package/{goal-WG5KBTXD.js → goal-PXTE4BCJ.js} +3 -3
  30. package/{host-FCYDK4BK.js → host-3KVI5HIB.js} +4 -5
  31. package/{host-FCYDK4BK.js.map → host-3KVI5HIB.js.map} +1 -1
  32. package/index.js +28 -1337
  33. package/index.js.map +1 -1
  34. package/{logs-ALIH26LX.js → logs-LEPXLZOA.js} +8 -8
  35. package/{mail-4GBO6NVZ.js → mail-22YJ3HFW.js} +5 -5
  36. package/{maps-W6U3SU6K.js → maps-GTBQWQOV.js} +3 -3
  37. package/{model-M75D7CBV.js → model-RWQNBS3N.js} +4 -4
  38. package/{model-provider-ZG6A3OMZ.js → model-provider-6B54DC7X.js} +4 -4
  39. package/{org-IWZB3I2J.js → org-JEJIR4XQ.js} +3 -3
  40. package/package.json +1 -1
  41. package/{phone-DGVBYVIJ.js → phone-CI77EG37.js} +3 -3
  42. package/{preference-D2DZJ6MV.js → preference-546TA23L.js} +3 -3
  43. package/{resource-VDFCXFF7.js → resource-HRVLBG7N.js} +4 -4
  44. package/{scrape-BGAOXMIW.js → scrape-VZJ67GNU.js} +3 -3
  45. package/{search-EZJ3WHLL.js → search-L5ICIORF.js} +7 -7
  46. package/{secret-G33GAOLW.js → secret-FKMH53Y4.js} +3 -3
  47. package/{slack-AAWBJANC.js → slack-BQ4KIZPV.js} +3 -3
  48. package/{teams-QR5UMEYH.js → teams-YZSKKRY4.js} +3 -3
  49. package/{telegram-WZWDX6D4.js → telegram-HHGB5PE3.js} +3 -3
  50. package/{variable-WVIKMT67.js → variable-4CIAHKLM.js} +3 -3
  51. package/{video-RNQNZEFT.js → video-54PFQIQD.js} +2 -2
  52. package/{web-ZOX7CFHF.js → web-BOBLQ27H.js} +3 -3
  53. package/{web-search-QS7NNSGR.js → web-search-27452WDH.js} +3 -3
  54. package/{whoami-OT4I5425.js → whoami-5SIOEBZY.js} +5 -5
  55. package/{workflow-K2KOXD3F.js → workflow-62JWPXNK.js} +3 -3
  56. package/zero.js +35 -35
  57. package/chunk-4QZ4HY4E.js.map +0 -1
  58. package/chunk-PV4JMZMJ.js.map +0 -1
  59. package/chunk-QWRJLFXR.js.map +0 -1
  60. package/chunk-T6TZMDU6.js +0 -132
  61. package/chunk-T6TZMDU6.js.map +0 -1
  62. package/connector-ZSIAJ6YH.js.map +0 -1
  63. /package/{agent-JSLUNSTT.js.map → agent-AOWGKKI7.js.map} +0 -0
  64. /package/{banking-6GCF5OYC.js.map → banking-2ZRGXQJB.js.map} +0 -0
  65. /package/{chat-MLA4L7NU.js.map → chat-XT3ZFO2U.js.map} +0 -0
  66. /package/{chunk-Q4DTF2TA.js.map → chunk-2GMLVBYY.js.map} +0 -0
  67. /package/{chunk-QKZ37ZQL.js.map → chunk-GGJ3V5JF.js.map} +0 -0
  68. /package/{chunk-CK6ATTWW.js.map → chunk-HEAUPGDO.js.map} +0 -0
  69. /package/{chunk-G7TORBE5.js.map → chunk-J7NZ4R4R.js.map} +0 -0
  70. /package/{chunk-PTF3UL74.js.map → chunk-LX7FTB2W.js.map} +0 -0
  71. /package/{chunk-KI4MDAT4.js.map → chunk-RPQMDXP2.js.map} +0 -0
  72. /package/{chunk-PZFMDYSY.js.map → chunk-V33YE2AE.js.map} +0 -0
  73. /package/{computer-use-N4WNS5N4.js.map → computer-use-IP4SF35H.js.map} +0 -0
  74. /package/{credit-4YFX65IX.js.map → credit-VPTX7ZTC.js.map} +0 -0
  75. /package/{developer-support-EDEFB7K5.js.map → developer-support-3ED5W5G3.js.map} +0 -0
  76. /package/{doctor-Q54PUMYI.js.map → doctor-JZG5ZNW2.js.map} +0 -0
  77. /package/{generate-BHCOSW7B.js.map → generate-PAMRL3B5.js.map} +0 -0
  78. /package/{github-VEZGHR67.js.map → github-OUIYACCV.js.map} +0 -0
  79. /package/{goal-WG5KBTXD.js.map → goal-PXTE4BCJ.js.map} +0 -0
  80. /package/{logs-ALIH26LX.js.map → logs-LEPXLZOA.js.map} +0 -0
  81. /package/{mail-4GBO6NVZ.js.map → mail-22YJ3HFW.js.map} +0 -0
  82. /package/{maps-W6U3SU6K.js.map → maps-GTBQWQOV.js.map} +0 -0
  83. /package/{model-M75D7CBV.js.map → model-RWQNBS3N.js.map} +0 -0
  84. /package/{model-provider-ZG6A3OMZ.js.map → model-provider-6B54DC7X.js.map} +0 -0
  85. /package/{org-IWZB3I2J.js.map → org-JEJIR4XQ.js.map} +0 -0
  86. /package/{phone-DGVBYVIJ.js.map → phone-CI77EG37.js.map} +0 -0
  87. /package/{preference-D2DZJ6MV.js.map → preference-546TA23L.js.map} +0 -0
  88. /package/{resource-VDFCXFF7.js.map → resource-HRVLBG7N.js.map} +0 -0
  89. /package/{scrape-BGAOXMIW.js.map → scrape-VZJ67GNU.js.map} +0 -0
  90. /package/{search-EZJ3WHLL.js.map → search-L5ICIORF.js.map} +0 -0
  91. /package/{secret-G33GAOLW.js.map → secret-FKMH53Y4.js.map} +0 -0
  92. /package/{slack-AAWBJANC.js.map → slack-BQ4KIZPV.js.map} +0 -0
  93. /package/{teams-QR5UMEYH.js.map → teams-YZSKKRY4.js.map} +0 -0
  94. /package/{telegram-WZWDX6D4.js.map → telegram-HHGB5PE3.js.map} +0 -0
  95. /package/{variable-WVIKMT67.js.map → variable-4CIAHKLM.js.map} +0 -0
  96. /package/{video-RNQNZEFT.js.map → video-54PFQIQD.js.map} +0 -0
  97. /package/{web-ZOX7CFHF.js.map → web-BOBLQ27H.js.map} +0 -0
  98. /package/{web-search-QS7NNSGR.js.map → web-search-27452WDH.js.map} +0 -0
  99. /package/{whoami-OT4I5425.js.map → whoami-5SIOEBZY.js.map} +0 -0
  100. /package/{workflow-K2KOXD3F.js.map → workflow-62JWPXNK.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-Q4DTF2TA.js";
8
- import {
9
- permissionGrantsToFirewallPolicies
10
- } from "./chunk-PZFMDYSY.js";
7
+ } from "./chunk-2GMLVBYY.js";
11
8
  import {
12
9
  isInteractive,
13
10
  promptConfirm
14
11
  } from "./chunk-JFY6GK7Y.js";
12
+ import {
13
+ permissionGrantsToFirewallPolicies
14
+ } from "./chunk-V33YE2AE.js";
15
15
  import {
16
16
  createZeroAgent,
17
17
  deleteZeroAgent,
@@ -23,12 +23,12 @@ import {
23
23
  listZeroUserPermissionGrants,
24
24
  updateZeroAgent,
25
25
  updateZeroAgentInstructions
26
- } from "./chunk-PV4JMZMJ.js";
26
+ } from "./chunk-OPYEYUSY.js";
27
27
  import "./chunk-LTDQISD7.js";
28
28
  import {
29
29
  source_default,
30
30
  withErrorHandler
31
- } from "./chunk-JFWUWF3A.js";
31
+ } from "./chunk-MWXV2NJK.js";
32
32
  import "./chunk-LRHXR7JT.js";
33
33
  import {
34
34
  Command
@@ -593,4 +593,4 @@ Notes:
593
593
  export {
594
594
  zeroAgentCommand
595
595
  };
596
- //# sourceMappingURL=agent-JSLUNSTT.js.map
596
+ //# sourceMappingURL=agent-AOWGKKI7.js.map
@@ -3,12 +3,12 @@ import { createRequire as __createRequire } from "node:module";
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  callZeroBanking
6
- } from "./chunk-PV4JMZMJ.js";
6
+ } from "./chunk-OPYEYUSY.js";
7
7
  import "./chunk-LTDQISD7.js";
8
8
  import {
9
9
  source_default,
10
10
  withErrorHandler
11
- } from "./chunk-JFWUWF3A.js";
11
+ } from "./chunk-MWXV2NJK.js";
12
12
  import "./chunk-LRHXR7JT.js";
13
13
  import {
14
14
  Command,
@@ -113,4 +113,4 @@ Notes:
113
113
  export {
114
114
  zeroBankingCommand
115
115
  };
116
- //# sourceMappingURL=banking-6GCF5OYC.js.map
116
+ //# sourceMappingURL=banking-2ZRGXQJB.js.map
@@ -3,18 +3,18 @@ import { createRequire as __createRequire } from "node:module";
3
3
  const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  formatModelProviderRoute
6
- } from "./chunk-KI4MDAT4.js";
6
+ } from "./chunk-RPQMDXP2.js";
7
7
  import {
8
8
  getZeroChatThread,
9
9
  listZeroModelPolicies,
10
10
  renameZeroChatThread,
11
11
  updateZeroChatThreadModelSelection
12
- } from "./chunk-PV4JMZMJ.js";
12
+ } from "./chunk-OPYEYUSY.js";
13
13
  import "./chunk-LTDQISD7.js";
14
14
  import {
15
15
  source_default,
16
16
  withErrorHandler
17
- } from "./chunk-JFWUWF3A.js";
17
+ } from "./chunk-MWXV2NJK.js";
18
18
  import "./chunk-LRHXR7JT.js";
19
19
  import {
20
20
  Command
@@ -242,4 +242,4 @@ Examples:
242
242
  export {
243
243
  zeroChatCommand
244
244
  };
245
- //# sourceMappingURL=chat-MLA4L7NU.js.map
245
+ //# sourceMappingURL=chat-XT3ZFO2U.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-PZFMDYSY.js";
6
+ } from "./chunk-V33YE2AE.js";
7
7
  import {
8
8
  getZeroConnectorCatalogPermissions
9
- } from "./chunk-PV4JMZMJ.js";
9
+ } from "./chunk-OPYEYUSY.js";
10
10
  import {
11
11
  source_default
12
- } from "./chunk-JFWUWF3A.js";
12
+ } from "./chunk-MWXV2NJK.js";
13
13
  import {
14
14
  init_esm_shims
15
15
  } from "./chunk-DIRAZ3YX.js";
@@ -89,4 +89,4 @@ export {
89
89
  policyIcon,
90
90
  loadConnectorPermissionInfos
91
91
  };
92
- //# sourceMappingURL=chunk-Q4DTF2TA.js.map
92
+ //# sourceMappingURL=chunk-2GMLVBYY.js.map
@@ -50,7 +50,7 @@ if (DSN) {
50
50
  Sentry.init({
51
51
  dsn: DSN,
52
52
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
53
- release: "9.244.4",
53
+ release: "9.244.6",
54
54
  sendDefaultPii: false,
55
55
  tracesSampleRate: 0,
56
56
  shutdownTimeout: 500,
@@ -69,7 +69,7 @@ if (DSN) {
69
69
  }
70
70
  });
71
71
  Sentry.setContext("cli", {
72
- version: "9.244.4",
72
+ version: "9.244.6",
73
73
  command: process.argv.slice(2).join(" ")
74
74
  });
75
75
  Sentry.setContext("runtime", {
@@ -146,4 +146,4 @@ async function configureGlobalProxyFromEnv() {
146
146
  export {
147
147
  configureGlobalProxyFromEnv
148
148
  };
149
- //# sourceMappingURL=chunk-QKZ37ZQL.js.map
149
+ //# sourceMappingURL=chunk-GGJ3V5JF.js.map
@@ -2975,8 +2975,7 @@ var To = (s3) => {
2975
2975
  };
2976
2976
 
2977
2977
  export {
2978
- Ct,
2979
2978
  Qn,
2980
2979
  So
2981
2980
  };
2982
- //# sourceMappingURL=chunk-CK6ATTWW.js.map
2981
+ //# sourceMappingURL=chunk-HEAUPGDO.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-JFWUWF3A.js";
6
+ } from "./chunk-MWXV2NJK.js";
7
7
  import {
8
8
  init_esm_shims
9
9
  } from "./chunk-DIRAZ3YX.js";
@@ -39,4 +39,4 @@ export {
39
39
  toPlatformUrl,
40
40
  getPlatformOrigin
41
41
  };
42
- //# sourceMappingURL=chunk-G7TORBE5.js.map
42
+ //# sourceMappingURL=chunk-J7NZ4R4R.js.map
@@ -4,7 +4,7 @@ const require = __createRequire(import.meta.url);
4
4
  import {
5
5
  getZeroAgent,
6
6
  getZeroAgentUserConnectors
7
- } from "./chunk-PV4JMZMJ.js";
7
+ } from "./chunk-OPYEYUSY.js";
8
8
  import {
9
9
  init_esm_shims
10
10
  } from "./chunk-DIRAZ3YX.js";
@@ -265,4 +265,4 @@ export {
265
265
  resolveManualGrantAuthMethod,
266
266
  resolveAgentContext
267
267
  };
268
- //# sourceMappingURL=chunk-PTF3UL74.js.map
268
+ //# sourceMappingURL=chunk-LX7FTB2W.js.map
@@ -12,7 +12,7 @@ import {
12
12
  getEvents,
13
13
  runnerGroupSchema,
14
14
  zeroAgentVisibilitySchema
15
- } from "./chunk-PV4JMZMJ.js";
15
+ } from "./chunk-OPYEYUSY.js";
16
16
  import {
17
17
  apiErrorSchema,
18
18
  external_exports,
@@ -24,7 +24,7 @@ import {
24
24
  supportedRunModelSchema,
25
25
  upsertModelProviderRequestSchema,
26
26
  upsertModelProviderResponseSchema
27
- } from "./chunk-JFWUWF3A.js";
27
+ } from "./chunk-MWXV2NJK.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __require,
@@ -12735,6 +12735,10 @@ var cronCompactChatThreadSnapshotsResponseSchema = external_exports.object({
12735
12735
  removedDeletedAgentThreads: external_exports.number(),
12736
12736
  eventsPruned: external_exports.number()
12737
12737
  });
12738
+ var cronMonitorChatMessageQueueResponseSchema = external_exports.object({
12739
+ success: external_exports.literal(true),
12740
+ orphanedMessages: external_exports.number().int().nonnegative()
12741
+ });
12738
12742
  var cronReconcileBillingEntitlementsResponseSchema = external_exports.object({
12739
12743
  success: external_exports.literal(true),
12740
12744
  downgraded: external_exports.number()
@@ -12874,47 +12878,6 @@ var cronRefreshStoragePresignedUrlsResponseSchema = external_exports.object({
12874
12878
  system: storagePresignedUrlRefreshResultSchema,
12875
12879
  workflowSkill: storagePresignedUrlRefreshResultSchema
12876
12880
  });
12877
- var storageArchiveSizeBackfillRetiredResponseSchema = external_exports.object({
12878
- state: external_exports.literal("retired")
12879
- });
12880
- var storageArchiveSizeBackfillCountsSchema = external_exports.object({
12881
- selected: external_exports.number().int().nonnegative(),
12882
- positive: external_exports.number().int().nonnegative(),
12883
- intentionalEmpty: external_exports.number().int().nonnegative(),
12884
- alreadyCompleted: external_exports.number().int().nonnegative(),
12885
- superseded: external_exports.number().int().nonnegative(),
12886
- missing: external_exports.number().int().nonnegative(),
12887
- invalid: external_exports.number().int().nonnegative(),
12888
- failed: external_exports.number().int().nonnegative()
12889
- });
12890
- var storageArchiveSizeBackfillActiveResponseSchema = storageArchiveSizeBackfillCountsSchema.extend({
12891
- state: external_exports.literal("active"),
12892
- batchToken: external_exports.string().uuid()
12893
- });
12894
- var storageArchiveSizeBackfillResponseSchema = external_exports.union([
12895
- storageArchiveSizeBackfillRetiredResponseSchema,
12896
- storageArchiveSizeBackfillActiveResponseSchema
12897
- ]);
12898
- var storageArchiveSizeBackfillStatusActiveResponseSchema = external_exports.object({
12899
- state: external_exports.literal("active"),
12900
- totalVersions: external_exports.number().int().nonnegative(),
12901
- positiveArchives: external_exports.number().int().nonnegative(),
12902
- intentionalEmptyArchives: external_exports.number().int().nonnegative(),
12903
- remaining: external_exports.number().int().nonnegative(),
12904
- negativeArchives: external_exports.number().int().nonnegative(),
12905
- nonEmptyZeroArchives: external_exports.number().int().nonnegative(),
12906
- unresolved: external_exports.object({
12907
- missing: external_exports.number().int().nonnegative(),
12908
- invalid: external_exports.number().int().nonnegative(),
12909
- failed: external_exports.number().int().nonnegative()
12910
- }),
12911
- unattemptedOrInFlight: external_exports.number().int().nonnegative(),
12912
- complete: external_exports.boolean()
12913
- });
12914
- var storageArchiveSizeBackfillStatusResponseSchema = external_exports.union([
12915
- storageArchiveSizeBackfillRetiredResponseSchema,
12916
- storageArchiveSizeBackfillStatusActiveResponseSchema
12917
- ]);
12918
12881
  var CRON_AGGREGATE_MODEL_STATS_MAX_HOURS = 24 * 32;
12919
12882
  var cronAggregateModelStatsResponseSchema = external_exports.object({
12920
12883
  success: external_exports.literal(true),
@@ -12958,6 +12921,19 @@ var cronCompactChatThreadSnapshotsContract = c32.router({
12958
12921
  summary: "Compact chat thread snapshots from lifecycle events"
12959
12922
  }
12960
12923
  });
12924
+ var cronMonitorChatMessageQueueContract = c32.router({
12925
+ monitor: {
12926
+ method: "GET",
12927
+ path: "/api/cron/monitor-chat-message-queue",
12928
+ headers: authHeadersSchema,
12929
+ responses: {
12930
+ 200: cronMonitorChatMessageQueueResponseSchema,
12931
+ 401: apiErrorSchema,
12932
+ 500: external_exports.object({ error: external_exports.string() })
12933
+ },
12934
+ summary: "Monitor for orphaned queued chat messages"
12935
+ }
12936
+ });
12961
12937
  var cronReconcileBillingEntitlementsContract = c32.router({
12962
12938
  reconcile: {
12963
12939
  method: "GET",
@@ -13151,28 +13127,6 @@ var cronRefreshStoragePresignedUrlsContract = c32.router({
13151
13127
  summary: "Refresh cached storage presigned URLs"
13152
13128
  }
13153
13129
  });
13154
- var cronStorageArchiveSizeBackfillContract = c32.router({
13155
- backfill: {
13156
- method: "GET",
13157
- path: "/api/cron/backfill-storage-archive-sizes",
13158
- headers: authHeadersSchema,
13159
- responses: {
13160
- 200: storageArchiveSizeBackfillResponseSchema,
13161
- 401: apiErrorSchema
13162
- },
13163
- summary: "Backfill encoded archive sizes for historical storage versions"
13164
- },
13165
- status: {
13166
- method: "GET",
13167
- path: "/api/cron/storage-archive-size-backfill-status",
13168
- headers: authHeadersSchema,
13169
- responses: {
13170
- 200: storageArchiveSizeBackfillStatusResponseSchema,
13171
- 401: apiErrorSchema
13172
- },
13173
- summary: "Read historical storage archive size backfill status"
13174
- }
13175
- });
13176
13130
 
13177
13131
  // ../../packages/api-contracts/src/contracts/chat-threads-v1.ts
13178
13132
  init_esm_shims();
@@ -32003,11 +31957,6 @@ var FEATURE_SWITCHES = {
32003
31957
  enabled: false,
32004
31958
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
32005
31959
  },
32006
- ["mobileUnreadChatThreadShortcuts" /* MobileUnreadChatThreadShortcuts */]: {
32007
- maintainer: "ethan@vm0.ai",
32008
- description: "Show unread chat thread shortcuts between the mobile agent chat composer and suggested prompt cards.",
32009
- enabled: false
32010
- },
32011
31960
  ["chatThreadUnifiedSearch" /* ChatThreadUnifiedSearch */]: {
32012
31961
  maintainer: "ethan@vm0.ai",
32013
31962
  description: "Show chat thread title results from the local event-driven thread cache in the command-shift-a conversation picker.",
@@ -32077,11 +32026,6 @@ var FEATURE_SWITCHES = {
32077
32026
  enabled: false,
32078
32027
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES
32079
32028
  },
32080
- ["artifactPreviewImage" /* ArtifactPreviewImage */]: {
32081
- maintainer: "bingjie@vm0.ai",
32082
- description: "Render a static preview image (screenshot) for HTML/website artifacts on deploy so the artifacts grid shows an image instead of a live iframe.",
32083
- enabled: true
32084
- },
32085
32029
  ["websiteTemplateV2" /* WebsiteTemplateV2 */]: {
32086
32030
  maintainer: "bingjie@vm0.ai",
32087
32031
  description: "Generate websites from refreshed self-contained template packages. When off, website generation uses the existing package versions.",
@@ -32102,11 +32046,6 @@ var FEATURE_SWITCHES = {
32102
32046
  enabledOrgIdHashes: STAFF_ORG_ID_HASHES,
32103
32047
  userOverridable: false
32104
32048
  },
32105
- ["connectorActionCallback" /* ConnectorActionCallback */]: {
32106
- maintainer: "ethan@vm0.ai",
32107
- description: "Resume a web chat with a callback prompt after a connector or permission action succeeds.",
32108
- enabled: true
32109
- },
32110
32049
  ["zeroMail" /* ZeroMail */]: {
32111
32050
  maintainer: "yuma@vm0.ai",
32112
32051
  description: "Enable persistent Gmail and Outlook draft cards created through the Zero Mail CLI.",
@@ -33360,7 +33299,7 @@ function formatToolResult(toolUse, result, verbose) {
33360
33299
  const remaining = resultLines.length - previewCount;
33361
33300
  if (remaining > 0) {
33362
33301
  lines.push(
33363
- ` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (vm0 logs <runId> to see all)`)}`
33302
+ ` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (zero logs <runId> to see all)`)}`
33364
33303
  );
33365
33304
  }
33366
33305
  }
@@ -33424,7 +33363,7 @@ function formatReadContent(resultText, verbose) {
33424
33363
  const remaining = totalLines - previewCount;
33425
33364
  if (remaining > 0) {
33426
33365
  lines.push(
33427
- ` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (vm0 logs <runId> to see all)`)}`
33366
+ ` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (zero logs <runId> to see all)`)}`
33428
33367
  );
33429
33368
  }
33430
33369
  }
@@ -33449,7 +33388,7 @@ function formatWritePreview(input, verbose) {
33449
33388
  const remaining = totalLines - previewCount;
33450
33389
  if (remaining > 0) {
33451
33390
  lines.push(
33452
- ` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (vm0 logs <runId> to see all)`)}`
33391
+ ` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "line", "lines")} (zero logs <runId> to see all)`)}`
33453
33392
  );
33454
33393
  }
33455
33394
  }
@@ -33482,7 +33421,7 @@ function formatEditDiff(input, verbose) {
33482
33421
  const remainingOld = oldLines.length - previewLimit;
33483
33422
  if (remainingOld > 0) {
33484
33423
  lines.push(
33485
- ` ${source_default.dim(`\u2026 +${remainingOld} ${pluralize(remainingOld, "line", "lines")} (vm0 logs <runId> to see all)`)}`
33424
+ ` ${source_default.dim(`\u2026 +${remainingOld} ${pluralize(remainingOld, "line", "lines")} (zero logs <runId> to see all)`)}`
33486
33425
  );
33487
33426
  }
33488
33427
  for (let i = 0; i < showNew; i++) {
@@ -33491,7 +33430,7 @@ function formatEditDiff(input, verbose) {
33491
33430
  const remainingNew = newLines.length - previewLimit;
33492
33431
  if (remainingNew > 0) {
33493
33432
  lines.push(
33494
- ` ${source_default.dim(`\u2026 +${remainingNew} ${pluralize(remainingNew, "line", "lines")} (vm0 logs <runId> to see all)`)}`
33433
+ ` ${source_default.dim(`\u2026 +${remainingNew} ${pluralize(remainingNew, "line", "lines")} (zero logs <runId> to see all)`)}`
33495
33434
  );
33496
33435
  }
33497
33436
  }
@@ -33521,7 +33460,7 @@ function formatTodoList(input) {
33521
33460
  const remaining = todos.length - MAX_FORMATTED_TODOS;
33522
33461
  if (remaining > 0) {
33523
33462
  lines.push(
33524
- ` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "task", "tasks")} (vm0 logs <runId> to see all)`)}`
33463
+ ` ${source_default.dim(`\u2026 +${remaining} ${pluralize(remaining, "task", "tasks")} (zero logs <runId> to see all)`)}`
33525
33464
  );
33526
33465
  }
33527
33466
  return lines;
@@ -33583,7 +33522,7 @@ var EventRenderer = class _EventRenderer {
33583
33522
  if (info.sandboxId) {
33584
33523
  console.log(` Sandbox: ${source_default.dim(info.sandboxId)}`);
33585
33524
  }
33586
- console.log(source_default.dim(` (use "vm0 logs ${info.runId}" to view logs)`));
33525
+ console.log(source_default.dim(` (use "zero logs ${info.runId}" to view logs)`));
33587
33526
  console.log();
33588
33527
  }
33589
33528
  /**
@@ -33682,9 +33621,7 @@ var EventRenderer = class _EventRenderer {
33682
33621
  } else {
33683
33622
  console.error(` Error: ${source_default.red(errorText)}`);
33684
33623
  }
33685
- console.error(
33686
- source_default.dim(` (use "vm0 logs ${runId} --system" to view system logs)`)
33687
- );
33624
+ console.error(source_default.dim(` (use "zero logs ${runId}" to view agent logs)`));
33688
33625
  }
33689
33626
  /**
33690
33627
  * Handle tool_use event - buffer it for later grouping with result (when buffered)
@@ -34171,9 +34108,7 @@ function renderTerminalRunResult(runId, run) {
34171
34108
  }
34172
34109
  if (run.status === "timeout") {
34173
34110
  console.error(source_default.red("\n\u2717 Run timed out"));
34174
- console.error(
34175
- source_default.dim(` (use "vm0 logs ${runId} --system" to view system logs)`)
34176
- );
34111
+ console.error(source_default.dim(` (use "zero logs ${runId}" to view logs)`));
34177
34112
  return { succeeded: false, runId };
34178
34113
  }
34179
34114
  console.error(source_default.yellow("\n\u2717 Run cancelled"));
@@ -34260,7 +34195,7 @@ function showNextSteps(result) {
34260
34195
  const { runId, sessionId, checkpointId } = result;
34261
34196
  console.log();
34262
34197
  console.log(" View agent logs:");
34263
- console.log(source_default.cyan(` vm0 logs ${runId}`));
34198
+ console.log(source_default.cyan(` zero logs ${runId}`));
34264
34199
  if (sessionId) {
34265
34200
  console.log(" Continue with session (latest conversation and artifact):");
34266
34201
  console.log(
@@ -34361,67 +34296,6 @@ function isValidTimestamp(timestamp) {
34361
34296
  return Number.isSafeInteger(timestamp) && Math.abs(timestamp) <= MAX_DATE_TIMESTAMP_MS;
34362
34297
  }
34363
34298
 
34364
- // src/lib/utils/log-pagination.ts
34365
- init_esm_shims();
34366
- function parsePositiveLogCount(value, optionName) {
34367
- const trimmed = value.trim();
34368
- if (!/^0*[1-9]\d*$/.test(trimmed)) {
34369
- throw new Error(`Option ${optionName} must be a positive integer`);
34370
- }
34371
- const count = Number(trimmed);
34372
- if (!Number.isSafeInteger(count)) {
34373
- throw new Error(`Option ${optionName} must be a positive integer`);
34374
- }
34375
- return count;
34376
- }
34377
- function parseBoundedLogCount(value, optionName, min, max) {
34378
- const trimmed = value.trim();
34379
- if (!/^\d+$/.test(trimmed)) {
34380
- throw new Error(`${optionName} must be between ${min} and ${max}`);
34381
- }
34382
- const count = Number(trimmed);
34383
- if (!Number.isSafeInteger(count) || count < min || count > max) {
34384
- throw new Error(`${optionName} must be between ${min} and ${max}`);
34385
- }
34386
- return count;
34387
- }
34388
- async function collectLogItems(options) {
34389
- const collected = [];
34390
- const seenCursors = /* @__PURE__ */ new Set();
34391
- let cursor2;
34392
- while (true) {
34393
- const requestLimit = options.targetCount === "all" ? options.pageLimit : Math.min(options.pageLimit, options.targetCount - collected.length);
34394
- const page = await options.fetchPage({
34395
- sinceTime: options.sinceTime,
34396
- cursor: cursor2,
34397
- limit: requestLimit,
34398
- order: options.order
34399
- });
34400
- collected.push(...page.items);
34401
- if (options.targetCount !== "all" && collected.length >= options.targetCount) {
34402
- break;
34403
- }
34404
- const nextCursor = page.nextCursor ?? null;
34405
- if (!page.hasMore || !nextCursor || seenCursors.has(nextCursor)) {
34406
- break;
34407
- }
34408
- seenCursors.add(nextCursor);
34409
- cursor2 = nextCursor;
34410
- }
34411
- const entries = options.targetCount === "all" ? collected : collected.slice(0, options.targetCount);
34412
- return options.order === "desc" ? entries.reverse() : entries;
34413
- }
34414
-
34415
- // src/lib/utils/search-query.ts
34416
- init_esm_shims();
34417
- function parseSearchQuery(value, label) {
34418
- const trimmed = value.trim();
34419
- if (!trimmed) {
34420
- throw new Error(`${label} cannot be empty.`);
34421
- }
34422
- return trimmed;
34423
- }
34424
-
34425
34299
  export {
34426
34300
  require_dist,
34427
34301
  extractAndGroupVariables,
@@ -34444,10 +34318,6 @@ export {
34444
34318
  renderRunCreated,
34445
34319
  pollEvents,
34446
34320
  showNextSteps,
34447
- parseTime,
34448
- parsePositiveLogCount,
34449
- parseBoundedLogCount,
34450
- collectLogItems,
34451
- parseSearchQuery
34321
+ parseTime
34452
34322
  };
34453
- //# sourceMappingURL=chunk-4QZ4HY4E.js.map
34323
+ //# sourceMappingURL=chunk-MBYTQ3JJ.js.map