@vm0/cli 9.107.0 → 9.107.2

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.
@@ -34652,7 +34652,7 @@ if (DSN) {
34652
34652
  Sentry.init({
34653
34653
  dsn: DSN,
34654
34654
  environment: process.env.SENTRY_ENVIRONMENT ?? "production",
34655
- release: "9.107.0",
34655
+ release: "9.107.2",
34656
34656
  sendDefaultPii: false,
34657
34657
  tracesSampleRate: 0,
34658
34658
  shutdownTimeout: 500,
@@ -34671,7 +34671,7 @@ if (DSN) {
34671
34671
  }
34672
34672
  });
34673
34673
  Sentry.setContext("cli", {
34674
- version: "9.107.0",
34674
+ version: "9.107.2",
34675
34675
  command: process.argv.slice(2).join(" ")
34676
34676
  });
34677
34677
  Sentry.setContext("runtime", {
@@ -54987,6 +54987,57 @@ var atlassianFirewall = {
54987
54987
  }
54988
54988
  },
54989
54989
  permissions: [
54990
+ {
54991
+ name: "delete:attachment:confluence",
54992
+ rules: [
54993
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/attachments/{id}"
54994
+ ]
54995
+ },
54996
+ {
54997
+ name: "delete:comment:confluence",
54998
+ description: "Delete comments.",
54999
+ rules: [
55000
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/footer-comments/{comment-id}",
55001
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/inline-comments/{comment-id}"
55002
+ ]
55003
+ },
55004
+ {
55005
+ name: "delete:custom-content:confluence",
55006
+ description: "Delete custom content.",
55007
+ rules: [
55008
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{id}"
55009
+ ]
55010
+ },
55011
+ {
55012
+ name: "delete:database:confluence",
55013
+ description: "Delete databases.",
55014
+ rules: ["DELETE /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}"]
55015
+ },
55016
+ {
55017
+ name: "delete:embed:confluence",
55018
+ description: "Delete Smart Links in the content tree.",
55019
+ rules: ["DELETE /ex/confluence/{cloudId}/wiki/api/v2/embeds/{id}"]
55020
+ },
55021
+ {
55022
+ name: "delete:folder:confluence",
55023
+ description: "Delete folders.",
55024
+ rules: ["DELETE /ex/confluence/{cloudId}/wiki/api/v2/folders/{id}"]
55025
+ },
55026
+ {
55027
+ name: "delete:page:confluence",
55028
+ description: "Delete pages and blog posts.",
55029
+ rules: [
55030
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}",
55031
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}"
55032
+ ]
55033
+ },
55034
+ {
55035
+ name: "delete:whiteboard:confluence",
55036
+ description: "Delete whiteboards.",
55037
+ rules: [
55038
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}"
55039
+ ]
55040
+ },
54990
55041
  {
54991
55042
  name: "manage:confluence-configuration",
54992
55043
  description: "Manage global settings.",
@@ -55344,6 +55395,34 @@ var atlassianFirewall = {
55344
55395
  "PUT /ex/jira/{cloudId}/rest/api/3/webhook/refresh"
55345
55396
  ]
55346
55397
  },
55398
+ {
55399
+ name: "read:app-data:confluence",
55400
+ rules: [
55401
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/app/properties",
55402
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/app/properties/{propertyKey}"
55403
+ ]
55404
+ },
55405
+ {
55406
+ name: "read:attachment:confluence",
55407
+ description: "View attachments and their properties.",
55408
+ rules: [
55409
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/attachments",
55410
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/attachments/{attachment-id}/properties",
55411
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/attachments/{attachment-id}/properties",
55412
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/attachments/{attachment-id}/properties/{property-id}",
55413
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/attachments/{attachment-id}/properties/{property-id}",
55414
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/attachments/{attachment-id}/properties/{property-id}",
55415
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/attachments/{attachment-id}/versions/{version-number}",
55416
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/attachments/{id}",
55417
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/attachments/{id}/labels",
55418
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/attachments/{id}/operations",
55419
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/attachments/{id}/versions",
55420
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/attachments",
55421
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{id}/attachments",
55422
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/labels/{id}/attachments",
55423
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/attachments"
55424
+ ]
55425
+ },
55347
55426
  {
55348
55427
  name: "read:audit-log:confluence",
55349
55428
  description: "View audit records.",
@@ -55355,6 +55434,49 @@ var atlassianFirewall = {
55355
55434
  "GET /ex/confluence/{cloudId}/wiki/rest/api/audit/since"
55356
55435
  ]
55357
55436
  },
55437
+ {
55438
+ name: "read:comment:confluence",
55439
+ description: "View comments and their properties.",
55440
+ rules: [
55441
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/attachments/{id}/footer-comments",
55442
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/footer-comments",
55443
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/inline-comments",
55444
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/comments/{comment-id}/properties",
55445
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/comments/{comment-id}/properties",
55446
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/comments/{comment-id}/properties/{property-id}",
55447
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/comments/{comment-id}/properties/{property-id}",
55448
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/comments/{comment-id}/properties/{property-id}",
55449
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{id}/footer-comments",
55450
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/footer-comments",
55451
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/footer-comments/{comment-id}",
55452
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/footer-comments/{id}/children",
55453
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/footer-comments/{id}/likes/count",
55454
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/footer-comments/{id}/likes/users",
55455
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/footer-comments/{id}/operations",
55456
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/footer-comments/{id}/versions",
55457
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/footer-comments/{id}/versions/{version-number}",
55458
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/inline-comments",
55459
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/inline-comments/{comment-id}",
55460
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/inline-comments/{id}/children",
55461
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/inline-comments/{id}/likes/count",
55462
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/inline-comments/{id}/likes/users",
55463
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/inline-comments/{id}/operations",
55464
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/inline-comments/{id}/versions",
55465
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/inline-comments/{id}/versions/{version-number}",
55466
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/footer-comments",
55467
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/inline-comments"
55468
+ ]
55469
+ },
55470
+ {
55471
+ name: "read:configuration:confluence",
55472
+ rules: [
55473
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/classification-levels",
55474
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/data-policies/metadata",
55475
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/space-role-mode",
55476
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/user/access/check-access-by-email",
55477
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/user/access/invite-by-email"
55478
+ ]
55479
+ },
55358
55480
  {
55359
55481
  name: "read:confluence-content.all",
55360
55482
  description: "Read all content, including content body (expansions permitted). Note, APIs using this scope may also return data allowed by read:confluence-space.summary. However, this scope is not a substitute for read:confluence-space.summary.",
@@ -55445,7 +55567,92 @@ var atlassianFirewall = {
55445
55567
  {
55446
55568
  name: "read:content.metadata:confluence",
55447
55569
  description: "View content summaries.",
55448
- rules: ["GET /ex/confluence/{cloudId}/wiki/rest/api/longtask"]
55570
+ rules: [
55571
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/content/convert-ids-to-types",
55572
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/ancestors",
55573
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/embeds/{id}/ancestors",
55574
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/folders/{id}/ancestors",
55575
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/ancestors",
55576
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/ancestors",
55577
+ "GET /ex/confluence/{cloudId}/wiki/rest/api/longtask"
55578
+ ]
55579
+ },
55580
+ {
55581
+ name: "read:custom-content:confluence",
55582
+ description: "View custom content and their properties.",
55583
+ rules: [
55584
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/custom-content",
55585
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content",
55586
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/properties",
55587
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/properties",
55588
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/properties/{property-id}",
55589
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/properties/{property-id}",
55590
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/properties/{property-id}",
55591
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/versions",
55592
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/versions/{version-number}",
55593
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{id}",
55594
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{id}/children",
55595
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{id}/labels",
55596
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{id}/operations",
55597
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/custom-content",
55598
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/custom-content"
55599
+ ]
55600
+ },
55601
+ {
55602
+ name: "read:database:confluence",
55603
+ description: "View databases and their properties.",
55604
+ rules: [
55605
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/databases/{database-id}/properties/{property-id}",
55606
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/databases/{database-id}/properties/{property-id}",
55607
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/databases/{database-id}/properties/{property-id}",
55608
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}",
55609
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/classification-level",
55610
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/operations",
55611
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/properties",
55612
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/properties"
55613
+ ]
55614
+ },
55615
+ {
55616
+ name: "read:embed:confluence",
55617
+ description: "View Smart Links in the content tree and their properties.",
55618
+ rules: [
55619
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/embeds/{embed-id}/properties/{property-id}",
55620
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/embeds/{embed-id}/properties/{property-id}",
55621
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/embeds/{embed-id}/properties/{property-id}",
55622
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/embeds/{id}",
55623
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/embeds/{id}/operations",
55624
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/embeds/{id}/properties",
55625
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/embeds/{id}/properties"
55626
+ ]
55627
+ },
55628
+ {
55629
+ name: "read:folder:confluence",
55630
+ description: "View folders and their properties.",
55631
+ rules: [
55632
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/folders/{folder-id}/properties/{property-id}",
55633
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/folders/{folder-id}/properties/{property-id}",
55634
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/folders/{folder-id}/properties/{property-id}",
55635
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/folders/{id}",
55636
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/folders/{id}/operations",
55637
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/folders/{id}/properties",
55638
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/folders/{id}/properties"
55639
+ ]
55640
+ },
55641
+ {
55642
+ name: "read:hierarchical-content:confluence",
55643
+ description: "View children and descendants in the content tree.",
55644
+ rules: [
55645
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/descendants",
55646
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/direct-children",
55647
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/embeds/{id}/descendants",
55648
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/embeds/{id}/direct-children",
55649
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/folders/{id}/descendants",
55650
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/folders/{id}/direct-children",
55651
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/descendants",
55652
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/direct-children",
55653
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/descendants",
55654
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/direct-children"
55655
+ ]
55449
55656
  },
55450
55657
  {
55451
55658
  name: "read:jira-user",
@@ -55648,18 +55855,95 @@ var atlassianFirewall = {
55648
55855
  "GET /ex/jira/{cloudId}/rest/api/3/worklog/updated"
55649
55856
  ]
55650
55857
  },
55858
+ {
55859
+ name: "read:label:confluence",
55860
+ rules: ["GET /ex/confluence/{cloudId}/wiki/api/v2/labels"]
55861
+ },
55862
+ {
55863
+ name: "read:page:confluence",
55864
+ description: "View pages and blogposts and their properties.",
55865
+ rules: [
55866
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts",
55867
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{blogpost-id}/properties",
55868
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{blogpost-id}/properties",
55869
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{blogpost-id}/properties/{property-id}",
55870
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{blogpost-id}/properties/{property-id}",
55871
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{blogpost-id}/properties/{property-id}",
55872
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{blogpost-id}/versions/{version-number}",
55873
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}",
55874
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/classification-level",
55875
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/labels",
55876
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/likes/count",
55877
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/likes/users",
55878
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/operations",
55879
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/versions",
55880
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/labels/{id}/blogposts",
55881
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/labels/{id}/pages",
55882
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages",
55883
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}",
55884
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/children",
55885
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/classification-level",
55886
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/labels",
55887
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/likes/count",
55888
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/likes/users",
55889
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/operations",
55890
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/versions",
55891
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{page-id}/properties",
55892
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/pages/{page-id}/properties",
55893
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{page-id}/properties/{property-id}",
55894
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/pages/{page-id}/properties/{property-id}",
55895
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/pages/{page-id}/properties/{property-id}",
55896
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{page-id}/versions/{version-number}",
55897
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/blogposts",
55898
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/pages"
55899
+ ]
55900
+ },
55901
+ {
55902
+ name: "read:space:confluence",
55903
+ description: "View spaces and their properties.",
55904
+ rules: [
55905
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/data-policies/spaces",
55906
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces",
55907
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}",
55908
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/classification-level/default",
55909
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/classification-level/default",
55910
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/classification-level/default",
55911
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/content/labels",
55912
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/labels",
55913
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/operations",
55914
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/permissions",
55915
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{space-id}/properties",
55916
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/spaces/{space-id}/properties",
55917
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{space-id}/properties/{property-id}",
55918
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/spaces/{space-id}/properties/{property-id}",
55919
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/spaces/{space-id}/properties/{property-id}"
55920
+ ]
55921
+ },
55651
55922
  {
55652
55923
  name: "read:space.permission:confluence",
55653
55924
  description: "View space permissions.",
55654
55925
  rules: [
55926
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/space-permissions",
55927
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/space-roles",
55928
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/space-roles/{id}",
55929
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/role-assignments",
55655
55930
  "POST /ex/confluence/{cloudId}/wiki/rest/api/space/{spaceKey}/permission",
55656
55931
  "POST /ex/confluence/{cloudId}/wiki/rest/api/space/{spaceKey}/permission/custom-content"
55657
55932
  ]
55658
55933
  },
55934
+ {
55935
+ name: "read:task:confluence",
55936
+ description: "View tasks.",
55937
+ rules: [
55938
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/tasks",
55939
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/tasks/{id}"
55940
+ ]
55941
+ },
55659
55942
  {
55660
55943
  name: "read:user:confluence",
55661
55944
  description: "View user details.",
55662
55945
  rules: [
55946
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/users-bulk",
55663
55947
  "GET /ex/confluence/{cloudId}/wiki/rest/api/space/{spaceKey}/watch"
55664
55948
  ]
55665
55949
  },
@@ -55679,6 +55963,20 @@ var atlassianFirewall = {
55679
55963
  "GET /ex/confluence/{cloudId}/wiki/rest/api/space/{spaceKey}/watch"
55680
55964
  ]
55681
55965
  },
55966
+ {
55967
+ name: "read:whiteboard:confluence",
55968
+ description: "View whiteboards and their properties.",
55969
+ rules: [
55970
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}",
55971
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/classification-level",
55972
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/operations",
55973
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/properties",
55974
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/properties",
55975
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{whiteboard-id}/properties/{property-id}",
55976
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{whiteboard-id}/properties/{property-id}",
55977
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{whiteboard-id}/properties/{property-id}"
55978
+ ]
55979
+ },
55682
55980
  {
55683
55981
  name: "readonly:content.attachment:confluence",
55684
55982
  description: "Download attachments of a Confluence page or blogpost that you have access to.",
@@ -55694,6 +55992,22 @@ var atlassianFirewall = {
55694
55992
  "GET /ex/confluence/{cloudId}/wiki/rest/api/search"
55695
55993
  ]
55696
55994
  },
55995
+ {
55996
+ name: "write:app-data:confluence",
55997
+ description: "Create, update and delete app properties.",
55998
+ rules: [
55999
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/app/properties/{propertyKey}",
56000
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/app/properties/{propertyKey}"
56001
+ ]
56002
+ },
56003
+ {
56004
+ name: "write:attachment:confluence",
56005
+ rules: [
56006
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/attachments/{attachment-id}/properties",
56007
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/attachments/{attachment-id}/properties/{property-id}",
56008
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/attachments/{attachment-id}/properties/{property-id}"
56009
+ ]
56010
+ },
55697
56011
  {
55698
56012
  name: "write:audit-log:confluence",
55699
56013
  description: "Create audit records.",
@@ -55702,6 +56016,27 @@ var atlassianFirewall = {
55702
56016
  "PUT /ex/confluence/{cloudId}/wiki/rest/api/audit/retention"
55703
56017
  ]
55704
56018
  },
56019
+ {
56020
+ name: "write:comment:confluence",
56021
+ description: "Create and update comments and their properties.",
56022
+ rules: [
56023
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/comments/{comment-id}/properties",
56024
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/comments/{comment-id}/properties/{property-id}",
56025
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/comments/{comment-id}/properties/{property-id}",
56026
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/footer-comments",
56027
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/footer-comments/{comment-id}",
56028
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/inline-comments",
56029
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/inline-comments/{comment-id}"
56030
+ ]
56031
+ },
56032
+ {
56033
+ name: "write:configuration:confluence",
56034
+ rules: [
56035
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/space-roles",
56036
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/space-roles/{id}",
56037
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/space-roles/{id}"
56038
+ ]
56039
+ },
55705
56040
  {
55706
56041
  name: "write:confluence-content",
55707
56042
  description: "Permits the creation of pages, blogs, comments and questions.",
@@ -55783,6 +56118,49 @@ var atlassianFirewall = {
55783
56118
  "DELETE /ex/confluence/{cloudId}/wiki/rest/api/space/{spaceKey}/theme"
55784
56119
  ]
55785
56120
  },
56121
+ {
56122
+ name: "write:custom-content:confluence",
56123
+ description: "Create and update custom content and their properties.",
56124
+ rules: [
56125
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/custom-content",
56126
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/properties",
56127
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/properties/{property-id}",
56128
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{custom-content-id}/properties/{property-id}",
56129
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/custom-content/{id}"
56130
+ ]
56131
+ },
56132
+ {
56133
+ name: "write:database:confluence",
56134
+ description: "Create and update databases and their properties.",
56135
+ rules: [
56136
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/databases",
56137
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/databases/{database-id}/properties/{property-id}",
56138
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/databases/{database-id}/properties/{property-id}",
56139
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/classification-level",
56140
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/classification-level/reset",
56141
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/databases/{id}/properties"
56142
+ ]
56143
+ },
56144
+ {
56145
+ name: "write:embed:confluence",
56146
+ description: "Create and update Smart Links in the content tree and their properties.",
56147
+ rules: [
56148
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/embeds",
56149
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/embeds/{embed-id}/properties/{property-id}",
56150
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/embeds/{embed-id}/properties/{property-id}",
56151
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/embeds/{id}/properties"
56152
+ ]
56153
+ },
56154
+ {
56155
+ name: "write:folder:confluence",
56156
+ description: "Create and update folders and their properties.",
56157
+ rules: [
56158
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/folders",
56159
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/folders/{folder-id}/properties/{property-id}",
56160
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/folders/{folder-id}/properties/{property-id}",
56161
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/folders/{id}/properties"
56162
+ ]
56163
+ },
55786
56164
  {
55787
56165
  name: "write:jira-work",
55788
56166
  description: "Create and edit issues in Jira, post comments, create worklogs, and delete issues.",
@@ -55873,15 +56251,57 @@ var atlassianFirewall = {
55873
56251
  "DELETE /ex/jira/{cloudId}/rest/api/3/version/{versionId}/relatedwork/{relatedWorkId}"
55874
56252
  ]
55875
56253
  },
56254
+ {
56255
+ name: "write:page:confluence",
56256
+ description: "Create and update pages and blog posts and their properties.",
56257
+ rules: [
56258
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/blogposts",
56259
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{blogpost-id}/properties",
56260
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{blogpost-id}/properties/{property-id}",
56261
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{blogpost-id}/properties/{property-id}",
56262
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}",
56263
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/classification-level",
56264
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/classification-level",
56265
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/classification-level/reset",
56266
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/blogposts/{id}/redact",
56267
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/pages",
56268
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}",
56269
+ "GET /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/classification-level",
56270
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/classification-level",
56271
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/classification-level/reset",
56272
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/redact",
56273
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/pages/{id}/title",
56274
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/pages/{page-id}/properties",
56275
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/pages/{page-id}/properties/{property-id}",
56276
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/pages/{page-id}/properties/{property-id}"
56277
+ ]
56278
+ },
56279
+ {
56280
+ name: "write:space:confluence",
56281
+ description: "Create and update spaces and their properties.",
56282
+ rules: [
56283
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/spaces",
56284
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/classification-level/default",
56285
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/classification-level/default",
56286
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/spaces/{space-id}/properties",
56287
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/spaces/{space-id}/properties/{property-id}",
56288
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/spaces/{space-id}/properties/{property-id}"
56289
+ ]
56290
+ },
55876
56291
  {
55877
56292
  name: "write:space.permission:confluence",
55878
56293
  description: "Update space permissions.",
55879
56294
  rules: [
56295
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/spaces/{id}/role-assignments",
55880
56296
  "POST /ex/confluence/{cloudId}/wiki/rest/api/space/{spaceKey}/permission",
55881
56297
  "POST /ex/confluence/{cloudId}/wiki/rest/api/space/{spaceKey}/permission/custom-content",
55882
56298
  "DELETE /ex/confluence/{cloudId}/wiki/rest/api/space/{spaceKey}/permission/{id}"
55883
56299
  ]
55884
56300
  },
56301
+ {
56302
+ name: "write:task:confluence",
56303
+ rules: ["PUT /ex/confluence/{cloudId}/wiki/api/v2/tasks/{id}"]
56304
+ },
55885
56305
  {
55886
56306
  name: "write:user.property:confluence",
55887
56307
  description: "Create, update and delete user properties.",
@@ -55890,6 +56310,18 @@ var atlassianFirewall = {
55890
56310
  "PUT /ex/confluence/{cloudId}/wiki/rest/api/user/{userId}/property/{key}",
55891
56311
  "DELETE /ex/confluence/{cloudId}/wiki/rest/api/user/{userId}/property/{key}"
55892
56312
  ]
56313
+ },
56314
+ {
56315
+ name: "write:whiteboard:confluence",
56316
+ description: "Create and update whiteboards and their properties.",
56317
+ rules: [
56318
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/whiteboards",
56319
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/classification-level",
56320
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/classification-level/reset",
56321
+ "POST /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{id}/properties",
56322
+ "PUT /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{whiteboard-id}/properties/{property-id}",
56323
+ "DELETE /ex/confluence/{cloudId}/wiki/api/v2/whiteboards/{whiteboard-id}/properties/{property-id}"
56324
+ ]
55893
56325
  }
55894
56326
  ]
55895
56327
  }
@@ -68034,7 +68466,7 @@ var sentryFirewall = {
68034
68466
  },
68035
68467
  apis: [
68036
68468
  {
68037
- base: "https://sentry.io/api",
68469
+ base: "https://sentry.io",
68038
68470
  auth: {
68039
68471
  headers: {
68040
68472
  Authorization: "Bearer ${{ secrets.SENTRY_TOKEN }}"
@@ -76750,8 +77182,8 @@ var unifiedRunRequestSchema = external_exports.object({
76750
77182
  settings: external_exports.string().optional(),
76751
77183
  // How the run was triggered (defaults to "cli" on the server if not provided)
76752
77184
  triggerSource: triggerSourceSchema.optional(),
76753
- // Per-permission firewall policies (e.g., { "github": { "actions:read": "allow" } })
76754
- firewallPolicies: firewallPoliciesSchema.optional()
77185
+ // Per-permission policies (e.g., { "github": { "actions:read": "allow" } })
77186
+ permissionPolicies: firewallPoliciesSchema.optional()
76755
77187
  });
76756
77188
  var createRunResponseSchema = external_exports.object({
76757
77189
  runId: external_exports.string(),
@@ -76993,10 +77425,11 @@ var networkLogEntrySchema = external_exports.object({
76993
77425
  // Capture-only fields (opt-in via captureNetworkBodies)
76994
77426
  request_headers: external_exports.record(external_exports.string(), external_exports.string()).optional(),
76995
77427
  request_body: external_exports.string().optional(),
76996
- request_body_encoding: external_exports.enum(["utf-8", "base64"]).optional(),
77428
+ request_body_encoding: external_exports.enum(["utf-8", "base64", "binary"]).optional(),
76997
77429
  request_body_truncated: external_exports.boolean().optional(),
77430
+ response_headers: external_exports.record(external_exports.string(), external_exports.string()).optional(),
76998
77431
  response_body: external_exports.string().optional(),
76999
- response_body_encoding: external_exports.enum(["utf-8", "base64"]).optional(),
77432
+ response_body_encoding: external_exports.enum(["utf-8", "base64", "binary"]).optional(),
77000
77433
  response_body_truncated: external_exports.boolean().optional()
77001
77434
  });
77002
77435
  var networkLogsResponseSchema = external_exports.object({
@@ -77966,11 +78399,11 @@ var setVariableRequestSchema = external_exports.object({
77966
78399
  // ../../packages/core/src/contracts/model-providers.ts
77967
78400
  init_esm_shims();
77968
78401
  var VM0_MODEL_TO_PROVIDER = {
77969
- "claude-sonnet-4.6": {
78402
+ "claude-sonnet-4-6": {
77970
78403
  concreteType: "anthropic-api-key",
77971
78404
  vendor: "anthropic"
77972
78405
  },
77973
- "claude-opus-4.6": {
78406
+ "claude-opus-4-6": {
77974
78407
  concreteType: "anthropic-api-key",
77975
78408
  vendor: "anthropic"
77976
78409
  }
@@ -77981,14 +78414,26 @@ var MODEL_PROVIDER_TYPES = {
77981
78414
  secretName: "CLAUDE_CODE_OAUTH_TOKEN",
77982
78415
  label: "Claude Code (OAuth Token)",
77983
78416
  secretLabel: "OAuth token",
77984
- helpText: "To get your OAuth token, run: claude setup-token\n(Requires Claude Pro or Max subscription)"
78417
+ helpText: "To get your OAuth token, run: claude setup-token\n(Requires Claude Pro or Max subscription)",
78418
+ environmentMapping: {
78419
+ CLAUDE_CODE_OAUTH_TOKEN: "$secret",
78420
+ ANTHROPIC_MODEL: "$model"
78421
+ },
78422
+ models: ["claude-sonnet-4-6", "claude-opus-4-6"],
78423
+ defaultModel: "claude-sonnet-4-6"
77985
78424
  },
77986
78425
  "anthropic-api-key": {
77987
78426
  framework: "claude-code",
77988
78427
  secretName: "ANTHROPIC_API_KEY",
77989
78428
  label: "Anthropic API Key",
77990
78429
  secretLabel: "API key",
77991
- helpText: "Get your API key at: https://console.anthropic.com/settings/keys"
78430
+ helpText: "Get your API key at: https://console.anthropic.com/settings/keys",
78431
+ environmentMapping: {
78432
+ ANTHROPIC_API_KEY: "$secret",
78433
+ ANTHROPIC_MODEL: "$model"
78434
+ },
78435
+ models: ["claude-sonnet-4-6", "claude-opus-4-6"],
78436
+ defaultModel: "claude-sonnet-4-6"
77992
78437
  },
77993
78438
  "openrouter-api-key": {
77994
78439
  framework: "claude-code",
@@ -78228,7 +78673,7 @@ var MODEL_PROVIDER_TYPES = {
78228
78673
  framework: "claude-code",
78229
78674
  label: "VM0 Managed",
78230
78675
  models: Object.keys(VM0_MODEL_TO_PROVIDER),
78231
- defaultModel: "claude-sonnet-4.6"
78676
+ defaultModel: "claude-sonnet-4-6"
78232
78677
  }
78233
78678
  };
78234
78679
  var HIDDEN_PROVIDER_LIST = ["aws-bedrock", "azure-foundry"];
@@ -78693,7 +79138,8 @@ var runnersPollContract = c12.router({
78693
79138
  headers: authHeadersSchema,
78694
79139
  body: external_exports.object({
78695
79140
  group: runnerGroupSchema,
78696
- profiles: external_exports.array(external_exports.string()).optional()
79141
+ profiles: external_exports.array(external_exports.string()).optional(),
79142
+ heldSessions: external_exports.array(external_exports.string()).max(100).optional()
78697
79143
  }),
78698
79144
  responses: {
78699
79145
  200: external_exports.object({
@@ -78983,17 +79429,26 @@ function parseGraphQLRule(rest) {
78983
79429
  const suffixParts = rest.slice(gqlIdx + 1).split(/\s+/);
78984
79430
  let typeFilter = null;
78985
79431
  let opFilter = null;
79432
+ let fieldFilter = null;
78986
79433
  for (let i = 1; i < suffixParts.length; i++) {
78987
79434
  const part = suffixParts[i];
78988
79435
  if (part.startsWith("type:")) {
78989
79436
  typeFilter = part.slice(5);
78990
79437
  } else if (part.startsWith("operationName:")) {
78991
79438
  opFilter = part.slice(14);
79439
+ } else if (part.startsWith("field:")) {
79440
+ fieldFilter = part.slice(6);
78992
79441
  }
78993
79442
  }
78994
- return { path: path2, typeFilter, opFilter };
79443
+ return { path: path2, typeFilter, opFilter, fieldFilter };
79444
+ }
79445
+ function matchWildcard(value, pattern) {
79446
+ if (pattern.endsWith("*")) {
79447
+ return value.startsWith(pattern.slice(0, -1));
79448
+ }
79449
+ return value === pattern;
78995
79450
  }
78996
- function matchGraphQLBody(body, typeFilter, opFilter) {
79451
+ function matchGraphQLBody(body, typeFilter, opFilter, fieldFilter) {
78997
79452
  if (!body) return false;
78998
79453
  if (typeFilter !== null && body.type !== typeFilter) {
78999
79454
  return false;
@@ -79001,11 +79456,15 @@ function matchGraphQLBody(body, typeFilter, opFilter) {
79001
79456
  if (opFilter !== null) {
79002
79457
  const opName = body.operationName;
79003
79458
  if (!opName) return false;
79004
- if (opFilter.endsWith("*")) {
79005
- if (!opName.startsWith(opFilter.slice(0, -1))) return false;
79006
- } else if (opName !== opFilter) {
79459
+ if (!matchWildcard(opName, opFilter)) return false;
79460
+ }
79461
+ if (fieldFilter !== null) {
79462
+ const fields = body.fields;
79463
+ if (!fields || fields.length === 0) return false;
79464
+ if (!fields.some((f) => {
79465
+ return matchWildcard(f, fieldFilter);
79466
+ }))
79007
79467
  return false;
79008
- }
79009
79468
  }
79010
79469
  return true;
79011
79470
  }
@@ -79025,7 +79484,12 @@ function findMatchingPermissions(method, path2, config2, graphqlBody) {
79025
79484
  const gql = parseGraphQLRule(rest);
79026
79485
  const rulePath = gql ? gql.path : rest;
79027
79486
  if (matchFirewallPath(path2, rulePath) !== null) {
79028
- if (gql && (gql.typeFilter !== null || gql.opFilter !== null) && !matchGraphQLBody(graphqlBody, gql.typeFilter, gql.opFilter)) {
79487
+ if (gql && (gql.typeFilter !== null || gql.opFilter !== null || gql.fieldFilter !== null) && !matchGraphQLBody(
79488
+ graphqlBody,
79489
+ gql.typeFilter,
79490
+ gql.opFilter,
79491
+ gql.fieldFilter
79492
+ )) {
79029
79493
  continue;
79030
79494
  }
79031
79495
  matched.add(perm.name);
@@ -79205,7 +79669,7 @@ var zeroAgentResponseSchema = external_exports.object({
79205
79669
  displayName: external_exports.string().nullable(),
79206
79670
  sound: external_exports.string().nullable(),
79207
79671
  avatarUrl: external_exports.string().nullable(),
79208
- firewallPolicies: firewallPoliciesSchema.nullable(),
79672
+ permissionPolicies: firewallPoliciesSchema.nullable(),
79209
79673
  customSkills: external_exports.array(external_exports.string()).default([])
79210
79674
  });
79211
79675
  var zeroAgentRequestSchema = external_exports.object({
@@ -79315,16 +79779,16 @@ var zeroAgentsByIdContract = c17.router({
79315
79779
  summary: "Delete zero agent by id"
79316
79780
  }
79317
79781
  });
79318
- var zeroAgentFirewallPoliciesRequestSchema = external_exports.object({
79782
+ var zeroAgentPermissionPoliciesRequestSchema = external_exports.object({
79319
79783
  agentId: external_exports.string().uuid(),
79320
79784
  policies: firewallPoliciesSchema
79321
79785
  });
79322
- var zeroAgentFirewallPoliciesContract = c17.router({
79786
+ var zeroAgentPermissionPoliciesContract = c17.router({
79323
79787
  update: {
79324
79788
  method: "PUT",
79325
- path: "/api/zero/firewall-policies",
79789
+ path: "/api/zero/permission-policies",
79326
79790
  headers: authHeadersSchema,
79327
- body: zeroAgentFirewallPoliciesRequestSchema,
79791
+ body: zeroAgentPermissionPoliciesRequestSchema,
79328
79792
  responses: {
79329
79793
  200: zeroAgentResponseSchema,
79330
79794
  400: apiErrorSchema,
@@ -79332,7 +79796,7 @@ var zeroAgentFirewallPoliciesContract = c17.router({
79332
79796
  403: apiErrorSchema,
79333
79797
  404: apiErrorSchema
79334
79798
  },
79335
- summary: "Update zero agent firewall policies (owner only)"
79799
+ summary: "Update zero agent permission policies (owner only)"
79336
79800
  }
79337
79801
  });
79338
79802
  var zeroAgentInstructionsContract = c17.router({
@@ -79499,91 +79963,91 @@ var zeroSkillsDetailContract = c17.router({
79499
79963
  summary: "Delete custom skill from the organization"
79500
79964
  }
79501
79965
  });
79502
- var firewallAccessRequestStatusSchema = external_exports.enum([
79966
+ var permissionAccessRequestStatusSchema = external_exports.enum([
79503
79967
  "pending",
79504
79968
  "approved",
79505
79969
  "rejected"
79506
79970
  ]);
79507
- var firewallAccessRequestActionSchema = external_exports.enum(["allow", "deny"]);
79508
- var firewallAccessRequestResponseSchema = external_exports.object({
79971
+ var permissionAccessRequestActionSchema = external_exports.enum(["allow", "deny"]);
79972
+ var permissionAccessRequestResponseSchema = external_exports.object({
79509
79973
  id: external_exports.string().uuid(),
79510
79974
  agentId: external_exports.string().uuid(),
79511
- firewallRef: external_exports.string(),
79975
+ connectorRef: external_exports.string(),
79512
79976
  permission: external_exports.string(),
79513
- action: firewallAccessRequestActionSchema,
79977
+ action: permissionAccessRequestActionSchema,
79514
79978
  method: external_exports.string().nullable(),
79515
79979
  path: external_exports.string().nullable(),
79516
79980
  reason: external_exports.string().nullable(),
79517
- status: firewallAccessRequestStatusSchema,
79981
+ status: permissionAccessRequestStatusSchema,
79518
79982
  requesterUserId: external_exports.string(),
79519
79983
  requesterName: external_exports.string().nullable(),
79520
79984
  resolvedBy: external_exports.string().nullable(),
79521
79985
  resolvedAt: external_exports.string().nullable(),
79522
79986
  createdAt: external_exports.string()
79523
79987
  });
79524
- var createFirewallAccessRequestSchema = external_exports.object({
79988
+ var createPermissionAccessRequestSchema = external_exports.object({
79525
79989
  agentId: external_exports.string().uuid(),
79526
- firewallRef: external_exports.string(),
79990
+ connectorRef: external_exports.string(),
79527
79991
  permission: external_exports.string(),
79528
- action: firewallAccessRequestActionSchema.optional().default("allow"),
79992
+ action: permissionAccessRequestActionSchema.optional().default("allow"),
79529
79993
  method: external_exports.string().optional(),
79530
79994
  path: external_exports.string().optional(),
79531
79995
  reason: external_exports.string().optional()
79532
79996
  });
79533
- var resolveFirewallAccessRequestSchema = external_exports.object({
79997
+ var resolvePermissionAccessRequestSchema = external_exports.object({
79534
79998
  requestId: external_exports.string().uuid(),
79535
79999
  action: external_exports.enum(["approve", "reject"])
79536
80000
  });
79537
- var firewallAccessRequestsCreateContract = c17.router({
80001
+ var permissionAccessRequestsCreateContract = c17.router({
79538
80002
  create: {
79539
80003
  method: "POST",
79540
- path: "/api/zero/firewall-access-requests",
80004
+ path: "/api/zero/permission-access-requests",
79541
80005
  headers: authHeadersSchema,
79542
- body: createFirewallAccessRequestSchema,
80006
+ body: createPermissionAccessRequestSchema,
79543
80007
  responses: {
79544
- 201: firewallAccessRequestResponseSchema,
80008
+ 201: permissionAccessRequestResponseSchema,
79545
80009
  400: apiErrorSchema,
79546
80010
  401: apiErrorSchema,
79547
80011
  403: apiErrorSchema,
79548
80012
  404: apiErrorSchema
79549
80013
  },
79550
- summary: "Create firewall access request"
80014
+ summary: "Create permission access request"
79551
80015
  }
79552
80016
  });
79553
- var firewallAccessRequestsListQuerySchema = external_exports.object({
80017
+ var permissionAccessRequestsListQuerySchema = external_exports.object({
79554
80018
  agentId: external_exports.string().optional(),
79555
80019
  requestId: external_exports.string().optional(),
79556
80020
  status: external_exports.string().optional()
79557
80021
  });
79558
- var firewallAccessRequestsListContract = c17.router({
80022
+ var permissionAccessRequestsListContract = c17.router({
79559
80023
  list: {
79560
80024
  method: "GET",
79561
- path: "/api/zero/firewall-access-requests",
80025
+ path: "/api/zero/permission-access-requests",
79562
80026
  headers: authHeadersSchema,
79563
- query: firewallAccessRequestsListQuerySchema,
80027
+ query: permissionAccessRequestsListQuerySchema,
79564
80028
  responses: {
79565
- 200: external_exports.array(firewallAccessRequestResponseSchema),
80029
+ 200: external_exports.array(permissionAccessRequestResponseSchema),
79566
80030
  400: apiErrorSchema,
79567
80031
  401: apiErrorSchema,
79568
80032
  403: apiErrorSchema
79569
80033
  },
79570
- summary: "List firewall access requests for an agent"
80034
+ summary: "List permission access requests for an agent"
79571
80035
  }
79572
80036
  });
79573
- var firewallAccessRequestsResolveContract = c17.router({
80037
+ var permissionAccessRequestsResolveContract = c17.router({
79574
80038
  resolve: {
79575
80039
  method: "PUT",
79576
- path: "/api/zero/firewall-access-requests",
80040
+ path: "/api/zero/permission-access-requests",
79577
80041
  headers: authHeadersSchema,
79578
- body: resolveFirewallAccessRequestSchema,
80042
+ body: resolvePermissionAccessRequestSchema,
79579
80043
  responses: {
79580
- 200: firewallAccessRequestResponseSchema,
80044
+ 200: permissionAccessRequestResponseSchema,
79581
80045
  400: apiErrorSchema,
79582
80046
  401: apiErrorSchema,
79583
80047
  403: apiErrorSchema,
79584
80048
  404: apiErrorSchema
79585
80049
  },
79586
- summary: "Resolve (approve/reject) a firewall access request (owner only)"
80050
+ summary: "Resolve (approve/reject) a permission access request (owner only)"
79587
80051
  }
79588
80052
  });
79589
80053
 
@@ -83550,21 +84014,21 @@ function collectVolumeVersions(value, previous) {
83550
84014
  }
83551
84015
  return { ...previous, [volumeName]: version2 };
83552
84016
  }
83553
- function parseFirewallPolicies(json2) {
84017
+ function parsePermissionPolicies(json2) {
83554
84018
  if (!json2) return void 0;
83555
84019
  let parsed;
83556
84020
  try {
83557
84021
  parsed = JSON.parse(json2);
83558
84022
  } catch {
83559
84023
  throw new Error(
83560
- `Invalid --firewall-policies JSON: ${json2}
84024
+ `Invalid --permission-policies JSON: ${json2}
83561
84025
  Expected format: '{"ref": {"permission": "allow|deny|ask"}}'`
83562
84026
  );
83563
84027
  }
83564
84028
  const result = firewallPoliciesSchema.safeParse(parsed);
83565
84029
  if (!result.success) {
83566
84030
  throw new Error(
83567
- `Invalid --firewall-policies: ${result.error.issues.map((i) => {
84031
+ `Invalid --permission-policies: ${result.error.issues.map((i) => {
83568
84032
  return i.message;
83569
84033
  }).join(", ")}`
83570
84034
  );
@@ -83942,7 +84406,7 @@ export {
83942
84406
  EventRenderer,
83943
84407
  collectKeyValue,
83944
84408
  collectVolumeVersions,
83945
- parseFirewallPolicies,
84409
+ parsePermissionPolicies,
83946
84410
  isUUID,
83947
84411
  extractVarNames,
83948
84412
  extractSecretNames,
@@ -83962,4 +84426,4 @@ undici/lib/web/fetch/body.js:
83962
84426
  undici/lib/web/websocket/frame.js:
83963
84427
  (*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
83964
84428
  */
83965
- //# sourceMappingURL=chunk-DCKQ3GVE.js.map
84429
+ //# sourceMappingURL=chunk-AJN5ZMHZ.js.map