@vm0/cli 9.223.1 → 9.223.4

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 (80) hide show
  1. package/{agent-MUFNLOIU.js → agent-AJQRSCOL.js} +4 -4
  2. package/{banking-EZF4ZO6X.js → banking-E6NYRGK2.js} +2 -2
  3. package/{chat-MW73DFSS.js → chat-GF4YVNQK.js} +2 -2
  4. package/{chunk-EOG3HFWN.js → chunk-EKPA3SKD.js} +2 -2
  5. package/{chunk-C3J4FX5J.js → chunk-FZQMMP6T.js} +2 -2
  6. package/{chunk-5LBOADAS.js → chunk-H7BXXBYM.js} +2 -2
  7. package/{chunk-J3K4NTPI.js → chunk-KBXPTYFT.js} +38 -3
  8. package/{chunk-J3K4NTPI.js.map → chunk-KBXPTYFT.js.map} +1 -1
  9. package/{chunk-GGXVYODK.js → chunk-KHU2GE74.js} +2 -2
  10. package/{chunk-JPR52V7X.js → chunk-MRNGUCGN.js} +2 -2
  11. package/{chunk-VCUM7W4I.js → chunk-S6ROUUDH.js} +3 -3
  12. package/{chunk-OWTSZSIC.js → chunk-TCLP2U7I.js} +3 -3
  13. package/{chunk-BE5LA7LU.js → chunk-VULMZY75.js} +71 -1
  14. package/chunk-VULMZY75.js.map +1 -0
  15. package/{computer-use-ZV6MVHH2.js → computer-use-SFBYCM3Z.js} +2 -2
  16. package/{connector-YCRFUQL3.js → connector-Y7TPHVGG.js} +2 -2
  17. package/{credit-7GNXDI4B.js → credit-OU5TEGDL.js} +2 -2
  18. package/{developer-support-A6HBN4J2.js → developer-support-VODS5PRW.js} +2 -2
  19. package/{doctor-WUWR7I3Y.js → doctor-WVXQNF3N.js} +5 -5
  20. package/{generate-IEIBEL4J.js → generate-XRCIXUUX.js} +2 -2
  21. package/{github-4GZ5G627.js → github-JAYS2N35.js} +2 -2
  22. package/{goal-WCXKLZ2P.js → goal-2DWWXVXH.js} +2 -2
  23. package/{host-PC25B2TW.js → host-QOJT2TYY.js} +2 -2
  24. package/index.js +13 -13
  25. package/{logs-XORAOODW.js → logs-UZ7VFY2C.js} +6 -6
  26. package/{maps-NOSDEG7D.js → maps-HMQS6O6K.js} +2 -2
  27. package/{model-J6VG3A4X.js → model-6AB2MECC.js} +3 -3
  28. package/{model-provider-AF5622CC.js → model-provider-IKNAN7PZ.js} +3 -3
  29. package/{org-Z76MGPCQ.js → org-CGHD67Q6.js} +2 -2
  30. package/package.json +1 -1
  31. package/{phone-AWSDHAC2.js → phone-KM6AP2JS.js} +2 -2
  32. package/{preference-CKFQP3FF.js → preference-MQH73GGG.js} +2 -2
  33. package/{relationship-HICHWF2W.js → relationship-P75YDB36.js} +2 -2
  34. package/{resource-ZLM6MAQD.js → resource-REGQWRVC.js} +2 -2
  35. package/{search-6O6MJTQJ.js → search-ELGQPM56.js} +6 -6
  36. package/{secret-AXLFQMNQ.js → secret-UFFZMA4W.js} +3 -3
  37. package/{slack-OONXFG7X.js → slack-D4QDMZUX.js} +2 -2
  38. package/{telegram-7AW3MQT4.js → telegram-I2MOWYFW.js} +2 -2
  39. package/{variable-E776AHIH.js → variable-3BVCIHEV.js} +2 -2
  40. package/{web-KBGXU6UW.js → web-ZBZVE2DA.js} +2 -2
  41. package/{whoami-K6PR2Y2T.js → whoami-22IZ57XD.js} +4 -4
  42. package/{workflow-4FR3ZQM4.js → workflow-XFCIBLLC.js} +2 -2
  43. package/zero.js +31 -31
  44. package/chunk-BE5LA7LU.js.map +0 -1
  45. /package/{agent-MUFNLOIU.js.map → agent-AJQRSCOL.js.map} +0 -0
  46. /package/{banking-EZF4ZO6X.js.map → banking-E6NYRGK2.js.map} +0 -0
  47. /package/{chat-MW73DFSS.js.map → chat-GF4YVNQK.js.map} +0 -0
  48. /package/{chunk-EOG3HFWN.js.map → chunk-EKPA3SKD.js.map} +0 -0
  49. /package/{chunk-C3J4FX5J.js.map → chunk-FZQMMP6T.js.map} +0 -0
  50. /package/{chunk-5LBOADAS.js.map → chunk-H7BXXBYM.js.map} +0 -0
  51. /package/{chunk-GGXVYODK.js.map → chunk-KHU2GE74.js.map} +0 -0
  52. /package/{chunk-JPR52V7X.js.map → chunk-MRNGUCGN.js.map} +0 -0
  53. /package/{chunk-VCUM7W4I.js.map → chunk-S6ROUUDH.js.map} +0 -0
  54. /package/{chunk-OWTSZSIC.js.map → chunk-TCLP2U7I.js.map} +0 -0
  55. /package/{computer-use-ZV6MVHH2.js.map → computer-use-SFBYCM3Z.js.map} +0 -0
  56. /package/{connector-YCRFUQL3.js.map → connector-Y7TPHVGG.js.map} +0 -0
  57. /package/{credit-7GNXDI4B.js.map → credit-OU5TEGDL.js.map} +0 -0
  58. /package/{developer-support-A6HBN4J2.js.map → developer-support-VODS5PRW.js.map} +0 -0
  59. /package/{doctor-WUWR7I3Y.js.map → doctor-WVXQNF3N.js.map} +0 -0
  60. /package/{generate-IEIBEL4J.js.map → generate-XRCIXUUX.js.map} +0 -0
  61. /package/{github-4GZ5G627.js.map → github-JAYS2N35.js.map} +0 -0
  62. /package/{goal-WCXKLZ2P.js.map → goal-2DWWXVXH.js.map} +0 -0
  63. /package/{host-PC25B2TW.js.map → host-QOJT2TYY.js.map} +0 -0
  64. /package/{logs-XORAOODW.js.map → logs-UZ7VFY2C.js.map} +0 -0
  65. /package/{maps-NOSDEG7D.js.map → maps-HMQS6O6K.js.map} +0 -0
  66. /package/{model-J6VG3A4X.js.map → model-6AB2MECC.js.map} +0 -0
  67. /package/{model-provider-AF5622CC.js.map → model-provider-IKNAN7PZ.js.map} +0 -0
  68. /package/{org-Z76MGPCQ.js.map → org-CGHD67Q6.js.map} +0 -0
  69. /package/{phone-AWSDHAC2.js.map → phone-KM6AP2JS.js.map} +0 -0
  70. /package/{preference-CKFQP3FF.js.map → preference-MQH73GGG.js.map} +0 -0
  71. /package/{relationship-HICHWF2W.js.map → relationship-P75YDB36.js.map} +0 -0
  72. /package/{resource-ZLM6MAQD.js.map → resource-REGQWRVC.js.map} +0 -0
  73. /package/{search-6O6MJTQJ.js.map → search-ELGQPM56.js.map} +0 -0
  74. /package/{secret-AXLFQMNQ.js.map → secret-UFFZMA4W.js.map} +0 -0
  75. /package/{slack-OONXFG7X.js.map → slack-D4QDMZUX.js.map} +0 -0
  76. /package/{telegram-7AW3MQT4.js.map → telegram-I2MOWYFW.js.map} +0 -0
  77. /package/{variable-E776AHIH.js.map → variable-3BVCIHEV.js.map} +0 -0
  78. /package/{web-KBGXU6UW.js.map → web-ZBZVE2DA.js.map} +0 -0
  79. /package/{whoami-K6PR2Y2T.js.map → whoami-22IZ57XD.js.map} +0 -0
  80. /package/{workflow-4FR3ZQM4.js.map → workflow-XFCIBLLC.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  CONNECTOR_TYPES,
6
6
  CONNECTOR_TYPE_KEYS,
7
7
  connectorAuthMethodIdSchema
8
- } from "./chunk-BE5LA7LU.js";
8
+ } from "./chunk-VULMZY75.js";
9
9
  import {
10
10
  init_esm_shims
11
11
  } from "./chunk-DIRAZ3YX.js";
@@ -120,4 +120,4 @@ export {
120
120
  getConnectorStoredSecretDisplayInfo,
121
121
  getDiagnosticConnectorTypeForRuntimeEnvName
122
122
  };
123
- //# sourceMappingURL=chunk-GGXVYODK.js.map
123
+ //# sourceMappingURL=chunk-KHU2GE74.js.map
@@ -10,7 +10,7 @@ import {
10
10
  splitPathSegments,
11
11
  validateAuthBaseUrl,
12
12
  validateBaseUrl
13
- } from "./chunk-BE5LA7LU.js";
13
+ } from "./chunk-VULMZY75.js";
14
14
  import {
15
15
  init_esm_shims
16
16
  } from "./chunk-DIRAZ3YX.js";
@@ -1175,4 +1175,4 @@ export {
1175
1175
  matchFirewallBaseUrl,
1176
1176
  matchFirewallRequestDecision
1177
1177
  };
1178
- //# sourceMappingURL=chunk-JPR52V7X.js.map
1178
+ //# sourceMappingURL=chunk-MRNGUCGN.js.map
@@ -10,10 +10,10 @@ import {
10
10
  parseBoundedLogCount,
11
11
  parseSearchQuery,
12
12
  parseTime
13
- } from "./chunk-J3K4NTPI.js";
13
+ } from "./chunk-KBXPTYFT.js";
14
14
  import {
15
15
  searchZeroLogs
16
- } from "./chunk-BE5LA7LU.js";
16
+ } from "./chunk-VULMZY75.js";
17
17
  import {
18
18
  withErrorHandler
19
19
  } from "./chunk-3F4RFLPX.js";
@@ -176,4 +176,4 @@ export {
176
176
  runLogsSearch,
177
177
  searchCommand
178
178
  };
179
- //# sourceMappingURL=chunk-VCUM7W4I.js.map
179
+ //# sourceMappingURL=chunk-S6ROUUDH.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.223.1",
53
+ release: "9.223.4",
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.223.1",
72
+ version: "9.223.4",
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-OWTSZSIC.js.map
149
+ //# sourceMappingURL=chunk-TCLP2U7I.js.map
@@ -896,6 +896,7 @@ var modelProviderResponseSchema = external_exports.object({
896
896
  updatedAt: external_exports.string(),
897
897
  // OAuth account metadata populated by provider-specific connect flows. Other
898
898
  // provider types omit these.
899
+ accountEmail: external_exports.string().nullable().optional(),
899
900
  workspaceName: external_exports.string().nullable().optional(),
900
901
  planType: external_exports.string().nullable().optional(),
901
902
  // Subscription quota metadata. Providers omit these until an upstream source
@@ -903,6 +904,7 @@ var modelProviderResponseSchema = external_exports.object({
903
904
  subscriptionResetPeriod: external_exports.string().nullable().optional(),
904
905
  subscriptionNextResetAt: external_exports.string().nullable().optional(),
905
906
  subscriptionUsage: modelProviderSubscriptionUsageSchema.nullable().optional(),
907
+ subscriptionResetCredits: external_exports.number().int().nonnegative().nullable().optional(),
906
908
  // OAuth refresh state. `needsReconnect` flips to true when the firewall's
907
909
  // refresh attempt fails (#11921 writes this on the model_providers row).
908
910
  // `lastRefreshErrorCode` carries the typed code from `ChatgptRefreshError`
@@ -27976,6 +27978,35 @@ var relationshipResolveResponseSchema = external_exports.object({
27976
27978
  var relationshipSearchResponseSchema = external_exports.object({
27977
27979
  relationships: external_exports.array(relationshipRecordSchema)
27978
27980
  });
27981
+ var gmailRelationshipBackfillStatusSchema = external_exports.enum([
27982
+ "idle",
27983
+ "pending",
27984
+ "running",
27985
+ "done",
27986
+ "failed"
27987
+ ]);
27988
+ var gmailRelationshipBackfillSchema = external_exports.object({
27989
+ status: gmailRelationshipBackfillStatusSchema,
27990
+ estimatedTotal: external_exports.number().int().nonnegative().nullable(),
27991
+ scannedCount: external_exports.number().int().nonnegative(),
27992
+ enqueuedCount: external_exports.number().int().nonnegative(),
27993
+ pendingSyncJobs: external_exports.number().int().nonnegative(),
27994
+ lastError: external_exports.string().nullable(),
27995
+ updatedAt: external_exports.string().nullable(),
27996
+ completedAt: external_exports.string().nullable()
27997
+ });
27998
+ var gmailRelationshipStatusResponseSchema = external_exports.object({
27999
+ provider: external_exports.literal("gmail"),
28000
+ connectorConnected: external_exports.boolean(),
28001
+ enabled: external_exports.boolean(),
28002
+ watchEnabled: external_exports.boolean(),
28003
+ backfill: gmailRelationshipBackfillSchema
28004
+ });
28005
+ var gmailRelationshipBackfillRequestSchema = external_exports.object({
28006
+ days: external_exports.union([external_exports.literal(30), external_exports.literal(90), external_exports.literal(180), external_exports.literal(365)]),
28007
+ includeArchived: external_exports.boolean(),
28008
+ includeSent: external_exports.boolean()
28009
+ });
27979
28010
  var resolveQuerySchema = external_exports.object({
27980
28011
  id: external_exports.string().uuid().optional(),
27981
28012
  email: external_exports.string().email().optional(),
@@ -27990,6 +28021,45 @@ var resolveQuerySchema = external_exports.object({
27990
28021
  }
27991
28022
  );
27992
28023
  var zeroRelationshipsContract = c35.router({
28024
+ gmailStatus: {
28025
+ method: "GET",
28026
+ path: "/api/zero/relationships/gmail/status",
28027
+ headers: authHeadersSchema,
28028
+ responses: {
28029
+ 200: gmailRelationshipStatusResponseSchema,
28030
+ 401: apiErrorSchema,
28031
+ 403: apiErrorSchema,
28032
+ 500: apiErrorSchema
28033
+ },
28034
+ summary: "Read Gmail relationship memory enable and backfill status"
28035
+ },
28036
+ gmailEnable: {
28037
+ method: "POST",
28038
+ path: "/api/zero/relationships/gmail/enable",
28039
+ headers: authHeadersSchema,
28040
+ responses: {
28041
+ 200: gmailRelationshipStatusResponseSchema,
28042
+ 400: apiErrorSchema,
28043
+ 401: apiErrorSchema,
28044
+ 403: apiErrorSchema,
28045
+ 500: apiErrorSchema
28046
+ },
28047
+ summary: "Enable Gmail relationship memory and start backfill"
28048
+ },
28049
+ gmailBackfill: {
28050
+ method: "POST",
28051
+ path: "/api/zero/relationships/gmail/backfill",
28052
+ headers: authHeadersSchema,
28053
+ body: gmailRelationshipBackfillRequestSchema,
28054
+ responses: {
28055
+ 200: gmailRelationshipStatusResponseSchema,
28056
+ 400: apiErrorSchema,
28057
+ 401: apiErrorSchema,
28058
+ 403: apiErrorSchema,
28059
+ 500: apiErrorSchema
28060
+ },
28061
+ summary: "Start or restart Gmail relationship memory backfill"
28062
+ },
27993
28063
  resolve: {
27994
28064
  method: "GET",
27995
28065
  path: "/api/zero/relationships/resolve",
@@ -28408,4 +28478,4 @@ export {
28408
28478
  completeHostedSite,
28409
28479
  getHostedSiteFiles
28410
28480
  };
28411
- //# sourceMappingURL=chunk-BE5LA7LU.js.map
28481
+ //# sourceMappingURL=chunk-VULMZY75.js.map