@vm0/cli 9.200.2 → 9.200.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.
@@ -80403,7 +80403,7 @@ if (DSN) {
80403
80403
  init2({
80404
80404
  dsn: DSN,
80405
80405
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
80406
- release: "9.200.2",
80406
+ release: "9.200.3",
80407
80407
  sendDefaultPii: false,
80408
80408
  tracesSampleRate: 0,
80409
80409
  shutdownTimeout: 500,
@@ -80422,7 +80422,7 @@ if (DSN) {
80422
80422
  }
80423
80423
  });
80424
80424
  setContext("cli", {
80425
- version: "9.200.2",
80425
+ version: "9.200.3",
80426
80426
  command: process.argv.slice(2).join(" ")
80427
80427
  });
80428
80428
  setContext("runtime", {
@@ -119917,6 +119917,7 @@ var agentIdSchema = external_exports.string().uuid();
119917
119917
  var connectorRefSchema = external_exports.string().min(1).max(64);
119918
119918
  var permissionSchema = external_exports.string().min(1).max(128);
119919
119919
  var userPermissionGrantActionSchema = external_exports.enum(["allow", "deny"]);
119920
+ var userPermissionGrantApplyModeSchema = external_exports.enum(["patch", "replace"]);
119920
119921
  var userPermissionGrantExpiresInSchema = external_exports.enum([
119921
119922
  "1h",
119922
119923
  "24h",
@@ -119935,24 +119936,6 @@ var userPermissionGrantResponseSchema = external_exports.object({
119935
119936
  var listUserPermissionGrantsQuerySchema = external_exports.object({
119936
119937
  agentId: agentIdSchema
119937
119938
  });
119938
- var upsertUserPermissionGrantBaseRequestSchema = external_exports.object({
119939
- agentId: agentIdSchema,
119940
- connectorRef: connectorRefSchema,
119941
- permission: permissionSchema
119942
- });
119943
- var upsertUserPermissionGrantRequestSchema = external_exports.discriminatedUnion(
119944
- "action",
119945
- [
119946
- upsertUserPermissionGrantBaseRequestSchema.extend({
119947
- action: external_exports.literal("allow"),
119948
- expiresIn: userPermissionGrantExpiresInSchema.optional()
119949
- }),
119950
- upsertUserPermissionGrantBaseRequestSchema.extend({
119951
- action: external_exports.literal("deny"),
119952
- expiresIn: external_exports.never().optional()
119953
- })
119954
- ]
119955
- );
119956
119939
  var applyUserPermissionGrantBaseSchema = external_exports.object({
119957
119940
  permission: permissionSchema
119958
119941
  });
@@ -119969,7 +119952,7 @@ var applyUserPermissionGrantSchema = external_exports.discriminatedUnion("action
119969
119952
  var applyUserPermissionGrantsRequestSchema = external_exports.object({
119970
119953
  agentId: agentIdSchema,
119971
119954
  connectorRef: connectorRefSchema,
119972
- reset: external_exports.boolean(),
119955
+ mode: userPermissionGrantApplyModeSchema,
119973
119956
  grants: external_exports.array(applyUserPermissionGrantSchema)
119974
119957
  });
119975
119958
  var zeroUserPermissionGrantsContract = c19.router({
@@ -119987,20 +119970,6 @@ var zeroUserPermissionGrantsContract = c19.router({
119987
119970
  },
119988
119971
  summary: "List current user's active permission grants for an agent"
119989
119972
  },
119990
- upsert: {
119991
- method: "PUT",
119992
- path: "/api/zero/user-permission-grants",
119993
- headers: authHeadersSchema,
119994
- body: upsertUserPermissionGrantRequestSchema,
119995
- responses: {
119996
- 200: userPermissionGrantResponseSchema,
119997
- 400: apiErrorSchema,
119998
- 401: apiErrorSchema,
119999
- 403: apiErrorSchema,
120000
- 404: apiErrorSchema
120001
- },
120002
- summary: "Upsert current user's permission grant for an agent"
120003
- },
120004
119973
  apply: {
120005
119974
  method: "PUT",
120006
119975
  path: "/api/zero/user-permission-grants/apply",
@@ -121808,7 +121777,6 @@ var computerUseCommandKindSchema = external_exports.enum([
121808
121777
  ...computerUseWriteCommandKindSchema.options
121809
121778
  ]);
121810
121779
  var computerUseCommandStatusSchema = external_exports.enum([
121811
- "pending_approval",
121812
121780
  "queued",
121813
121781
  "running",
121814
121782
  "succeeded",
@@ -122059,7 +122027,7 @@ var computerUseHostDeleteResponseSchema = external_exports.object({
122059
122027
  });
122060
122028
  var computerUseCommandCreateResponseSchema = external_exports.object({
122061
122029
  commandId: external_exports.string(),
122062
- status: external_exports.enum(["queued", "pending_approval"])
122030
+ status: external_exports.literal("queued")
122063
122031
  });
122064
122032
  var computerUseCommandResponseSchema = external_exports.object({
122065
122033
  id: external_exports.string(),
@@ -122075,14 +122043,6 @@ var computerUseCommandResponseSchema = external_exports.object({
122075
122043
  claimedAt: external_exports.string().nullable(),
122076
122044
  completedAt: external_exports.string().nullable()
122077
122045
  });
122078
- var computerUseCommandApprovalBodySchema = external_exports.object({
122079
- decision: external_exports.enum(["approve", "deny"]),
122080
- message: external_exports.string().max(512).optional()
122081
- });
122082
- var computerUseCommandApprovalResponseSchema = external_exports.object({
122083
- commandId: external_exports.string(),
122084
- status: external_exports.enum(["queued", "failed"])
122085
- });
122086
122046
  var computerUseHostCommandNextBodySchema = external_exports.object({
122087
122047
  supportedCapabilities: supportedCapabilitiesSchema.default([])
122088
122048
  });
@@ -122119,8 +122079,7 @@ var computerUseAuditEventSchema = external_exports.object({
122119
122079
  hostId: external_exports.string().nullable(),
122120
122080
  kind: computerUseWriteCommandKindSchema,
122121
122081
  app: external_exports.string().nullable(),
122122
- event: external_exports.enum(["created", "approved", "denied", "completed"]),
122123
- approvalOutcome: external_exports.enum(["approved", "denied"]).nullable(),
122082
+ event: external_exports.literal("completed"),
122124
122083
  redactedResult: external_exports.record(external_exports.string(), external_exports.unknown()).nullable(),
122125
122084
  error: external_exports.record(external_exports.string(), external_exports.unknown()).nullable(),
122126
122085
  createdAt: external_exports.string()
@@ -122252,23 +122211,6 @@ var zeroComputerUseWriteCommandContract = c27.router({
122252
122211
  summary: "Create a desktop computer-use write command"
122253
122212
  }
122254
122213
  });
122255
- var zeroComputerUseCommandApprovalContract = c27.router({
122256
- decide: {
122257
- method: "POST",
122258
- path: "/api/zero/computer-use/commands/:commandId/approval",
122259
- headers: authHeadersSchema,
122260
- pathParams: commandIdPathParamsSchema,
122261
- body: computerUseCommandApprovalBodySchema,
122262
- responses: {
122263
- 200: computerUseCommandApprovalResponseSchema,
122264
- 401: apiErrorSchema,
122265
- 403: apiErrorSchema,
122266
- 404: apiErrorSchema,
122267
- 409: apiErrorSchema
122268
- },
122269
- summary: "Approve or deny a pending desktop computer-use write command"
122270
- }
122271
- });
122272
122214
  var zeroComputerUseHostCommandsContract = c27.router({
122273
122215
  next: {
122274
122216
  method: "POST",
@@ -156269,67 +156211,109 @@ var googleMeetFirewall = {
156269
156211
  base: "https://meet.googleapis.com",
156270
156212
  auth: {
156271
156213
  headers: {
156272
- "Authorization": "Bearer ${{ secrets.GOOGLE_MEET_TOKEN }}"
156214
+ Authorization: "Bearer ${{ secrets.GOOGLE_MEET_TOKEN }}"
156273
156215
  }
156274
156216
  },
156275
156217
  permissions: [
156276
156218
  {
156277
- name: "meetings.space.created",
156278
- description: "Create, edit, and see information about your Google Meet conferences created by the app.",
156219
+ name: "conference-records.read",
156220
+ description: "Read Google Meet conference records.",
156279
156221
  rules: [
156280
156222
  "GET /v2/conferenceRecords",
156281
- "GET /v2/conferenceRecords/{conferenceRecordsId}",
156282
- "GET /v2/conferenceRecords/{conferenceRecordsId}/participants",
156283
- "GET /v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}",
156223
+ "GET /v2/conferenceRecords/{conferenceRecordsId}"
156224
+ ]
156225
+ },
156226
+ {
156227
+ name: "participant-sessions.read",
156228
+ description: "Read participant sessions in Google Meet conference records.",
156229
+ rules: [
156284
156230
  "GET /v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}/participantSessions",
156285
- "GET /v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}/participantSessions/{participantSessionsId}",
156286
- "GET /v2/conferenceRecords/{conferenceRecordsId}/recordings",
156287
- "GET /v2/conferenceRecords/{conferenceRecordsId}/recordings/{recordingsId}",
156288
- "GET /v2/conferenceRecords/{conferenceRecordsId}/smartNotes",
156289
- "GET /v2/conferenceRecords/{conferenceRecordsId}/smartNotes/{smartNotesId}",
156290
- "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts",
156291
- "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}",
156292
- "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}/entries",
156293
- "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}/entries/{entriesId}",
156294
- "POST /v2/spaces",
156295
- "GET /v2/spaces/{spacesId}",
156296
- "PATCH /v2/spaces/{spacesId}",
156297
- "POST /v2/spaces/{spacesId}:endActiveConference"
156231
+ "GET /v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}/participantSessions/{participantSessionsId}"
156298
156232
  ]
156299
156233
  },
156300
156234
  {
156301
- name: "meetings.space.readonly",
156302
- description: "Read information about any of your Google Meet conferences",
156235
+ name: "participants.read",
156236
+ description: "Read participants in Google Meet conference records.",
156303
156237
  rules: [
156304
- "GET /v2/conferenceRecords",
156305
- "GET /v2/conferenceRecords/{conferenceRecordsId}",
156306
156238
  "GET /v2/conferenceRecords/{conferenceRecordsId}/participants",
156307
- "GET /v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}",
156308
- "GET /v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}/participantSessions",
156309
- "GET /v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}/participantSessions/{participantSessionsId}",
156239
+ "GET /v2/conferenceRecords/{conferenceRecordsId}/participants/{participantsId}"
156240
+ ]
156241
+ },
156242
+ {
156243
+ name: "recordings.read",
156244
+ description: "Read Google Meet conference recordings.",
156245
+ rules: [
156310
156246
  "GET /v2/conferenceRecords/{conferenceRecordsId}/recordings",
156311
- "GET /v2/conferenceRecords/{conferenceRecordsId}/recordings/{recordingsId}",
156247
+ "GET /v2/conferenceRecords/{conferenceRecordsId}/recordings/{recordingsId}"
156248
+ ]
156249
+ },
156250
+ {
156251
+ name: "smart-notes.read",
156252
+ description: "Read Google Meet smart notes.",
156253
+ rules: [
156312
156254
  "GET /v2/conferenceRecords/{conferenceRecordsId}/smartNotes",
156313
- "GET /v2/conferenceRecords/{conferenceRecordsId}/smartNotes/{smartNotesId}",
156314
- "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts",
156315
- "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}",
156316
- "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}/entries",
156317
- "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}/entries/{entriesId}",
156255
+ "GET /v2/conferenceRecords/{conferenceRecordsId}/smartNotes/{smartNotesId}"
156256
+ ]
156257
+ },
156258
+ {
156259
+ name: "spaces.create",
156260
+ description: "Create Google Meet spaces.",
156261
+ rules: [
156262
+ "POST /v2/spaces"
156263
+ ]
156264
+ },
156265
+ {
156266
+ name: "spaces.end-active-conference",
156267
+ description: "End active conferences in Google Meet spaces.",
156268
+ rules: [
156269
+ "POST /v2/spaces/{spacesId}:endActiveConference"
156270
+ ]
156271
+ },
156272
+ {
156273
+ name: "spaces.read",
156274
+ description: "Read Google Meet spaces.",
156275
+ rules: [
156318
156276
  "GET /v2/spaces/{spacesId}"
156319
156277
  ]
156320
156278
  },
156321
156279
  {
156322
- name: "meetings.space.settings",
156323
- description: "Edit, and see settings for all of your Google Meet calls.",
156280
+ name: "spaces.write",
156281
+ description: "Update Google Meet spaces.",
156324
156282
  rules: [
156325
- "GET /v2/spaces/{spacesId}",
156326
156283
  "PATCH /v2/spaces/{spacesId}"
156327
156284
  ]
156285
+ },
156286
+ {
156287
+ name: "transcript-entries.read",
156288
+ description: "Read Google Meet transcript entries.",
156289
+ rules: [
156290
+ "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}/entries",
156291
+ "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}/entries/{entriesId}"
156292
+ ]
156293
+ },
156294
+ {
156295
+ name: "transcripts.read",
156296
+ description: "Read Google Meet transcripts.",
156297
+ rules: [
156298
+ "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts",
156299
+ "GET /v2/conferenceRecords/{conferenceRecordsId}/transcripts/{transcriptsId}"
156300
+ ]
156328
156301
  }
156329
156302
  ]
156330
156303
  }
156331
156304
  ]
156332
156305
  };
156306
+ var googleMeetDefaultAllowed = [
156307
+ "spaces.read",
156308
+ "conference-records.read",
156309
+ "participants.read",
156310
+ "participant-sessions.read",
156311
+ "recordings.read",
156312
+ "smart-notes.read",
156313
+ "transcripts.read",
156314
+ "transcript-entries.read"
156315
+ ];
156316
+ var googleMeetDefaultUnknownPolicy = "deny";
156333
156317
 
156334
156318
  // ../../packages/connectors/src/firewalls/google-search-console.generated.ts
156335
156319
  init_esm_shims();
@@ -165368,6 +165352,7 @@ var DEFAULT_ALLOWED = {
165368
165352
  "google-cloud": googleCloudDefaultAllowed,
165369
165353
  "google-docs": googleDocsDefaultAllowed,
165370
165354
  "google-drive": googleDriveDefaultAllowed,
165355
+ "google-meet": googleMeetDefaultAllowed,
165371
165356
  gmail: gmailDefaultAllowed,
165372
165357
  maskdb: maskdbDefaultAllowed,
165373
165358
  slack: slackDefaultAllowed,
@@ -165380,6 +165365,7 @@ var DEFAULT_UNKNOWN_POLICY = {
165380
165365
  "google-cloud": googleCloudDefaultUnknownPolicy,
165381
165366
  "google-docs": googleDocsDefaultUnknownPolicy,
165382
165367
  "google-drive": googleDriveDefaultUnknownPolicy,
165368
+ "google-meet": googleMeetDefaultUnknownPolicy,
165383
165369
  gmail: gmailDefaultUnknownPolicy,
165384
165370
  maskdb: maskdbDefaultUnknownPolicy
165385
165371
  };
@@ -166658,6 +166644,18 @@ var VIDEO_TEMPLATE_PREVIEW_VIDEOS = {
166658
166644
  "shortform-viral": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/4bac1319-dba7-47a0-bc1b-4d1e932f71fd/video-4bac1319.mp4",
166659
166645
  "sports-performance-ad": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/104ad36a-4d0c-472b-8416-d04cc2f06e75/video-104ad36a.mp4"
166660
166646
  };
166647
+ var VIDEO_TEMPLATE_PREVIEW_WEBMS = {
166648
+ "chinese-ink-art": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/b18f8d3e-22c9-468f-817e-2046d134fcf6/chinese-ink-art.webm",
166649
+ "cyberpunk-anime": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/cf8ab683-7c7e-4cfd-b9f2-44eec893407e/cyberpunk-anime.webm",
166650
+ "epic-grandeur": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/e8b67299-f944-4942-a727-931026dea2a0/epic-grandeur.webm",
166651
+ "fashion-editorial": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/51e93c96-03be-4d5a-a66c-b90ec6c52111/fashion-editorial.webm",
166652
+ "gourmet-documentary": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/3b39aeed-30be-4e79-8a6a-23ffd76fca86/gourmet-documentary.webm",
166653
+ "hand-drawn-fantasy-anime": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/42f6fb38-6544-4e42-ba4d-5dd352da9051/hand-drawn-fantasy-anime.webm",
166654
+ "japanese-wabi-sabi": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/22d6c8cb-b7f0-40f7-9c5f-022e578a060b/japanese-wabi-sabi.webm",
166655
+ "luxury-product": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/1ad1c730-d146-4bf5-9936-dea198c593ec/luxury-product.webm",
166656
+ "shortform-viral": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/0b1dbbb8-782e-451d-87e9-6652f60116bf/shortform-viral.webm",
166657
+ "sports-performance-ad": "https://cdn.vm0.io/artifacts/user_3EWY21Oe3f15kfs3yYmbGgDb3NV/a6dab950-dddc-4116-9bc3-624265b35c12/sports-performance-ad.webm"
166658
+ };
166661
166659
  function videoTemplateSlug(entry) {
166662
166660
  return entry.id.replace(/^video-template:/u, "");
166663
166661
  }
@@ -166675,6 +166673,10 @@ function toVideoTemplateItem(entry) {
166675
166673
  if (!previewVideo) {
166676
166674
  throw new Error(`Missing video template preview video: ${entry.id}`);
166677
166675
  }
166676
+ const previewWebm = VIDEO_TEMPLATE_PREVIEW_WEBMS[slug];
166677
+ if (!previewWebm) {
166678
+ throw new Error(`Missing video template preview webm: ${entry.id}`);
166679
+ }
166678
166680
  return {
166679
166681
  id: entry.id,
166680
166682
  slug,
@@ -166683,6 +166685,7 @@ function toVideoTemplateItem(entry) {
166683
166685
  previewImage,
166684
166686
  cardPreviewImage,
166685
166687
  previewVideo,
166688
+ previewWebm,
166686
166689
  sourcePath: entry.source.path
166687
166690
  };
166688
166691
  }
@@ -173526,4 +173529,4 @@ undici/lib/web/fetch/body.js:
173526
173529
  undici/lib/web/websocket/frame.js:
173527
173530
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
173528
173531
  */
173529
- //# sourceMappingURL=chunk-AM2KISK6.js.map
173532
+ //# sourceMappingURL=chunk-YXKFVT64.js.map