@keystrokehq/cli 0.0.38 → 0.0.40

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 (155) hide show
  1. package/README.md +6 -2
  2. package/dist/{accept.handler-CykuBpt6.mjs → accept.handler-Ca7uzwxi.mjs} +3 -3
  3. package/dist/{admin-gRjPC3eD.mjs → admin-dG6GUb3q.mjs} +11 -11
  4. package/dist/{agents-BpyuvM9p.mjs → agents-sPFPgn4f.mjs} +8 -8
  5. package/dist/{api-sWkB_Wta.mjs → api-b0DzMwXP.mjs} +1 -1
  6. package/dist/{api-keys-BSKhdD_x.mjs → api-keys-4tXQbpkQ.mjs} +6 -6
  7. package/dist/{auth-DCgToFf5.mjs → auth-CWW1yAyX.mjs} +6 -6
  8. package/dist/{auth.handler-QRQAEUJC.mjs → auth.handler-BdIVmlEw.mjs} +4 -4
  9. package/dist/{authored-workflow-ref-BRCQgyWl.mjs → authored-workflow-ref-DpaMDcsV.mjs} +6 -6
  10. package/dist/{build-agents-CUzBnlAG-3ePFZiJ6.mjs → build-agents-CUzBnlAG-BlVdU8WI.mjs} +5 -5
  11. package/dist/{build-metadata-BB_L45ZS-DRQsV6JK.mjs → build-metadata-BB_L45ZS-DF9jjlo7.mjs} +6 -6
  12. package/dist/{build-progress-D_SQqdHA.mjs → build-progress-ClHW7cxW.mjs} +1 -1
  13. package/dist/{build-tasks-5eOvI19S-tbN6CRx9.mjs → build-tasks-5eOvI19S-DOJYTRNL.mjs} +3 -3
  14. package/dist/{build-workflows-C-gQM3l5-_zcBHE3M.mjs → build-workflows-C-gQM3l5-B1By02sw.mjs} +8 -8
  15. package/dist/{build.handler-DGQn_clk.mjs → build.handler-oSb0aOLO.mjs} +6 -6
  16. package/dist/{clear-cache.handler-gJpwslkK.mjs → clear-cache.handler-nH67vXdu.mjs} +1 -1
  17. package/dist/{clear.handler-CuXYvUj2.mjs → clear.handler-b7T3XjAx.mjs} +2 -2
  18. package/dist/{commander-B_8QwPpe.mjs → commander-DIOuj6NJ.mjs} +2 -2
  19. package/dist/{connect-DV9lhP6C.mjs → connect-Cg4oFCFZ.mjs} +3 -3
  20. package/dist/{connect.handler-D6JzuFuT.mjs → connect.handler-BsMTctjd.mjs} +241 -187
  21. package/dist/{context-Brc9VGV9.mjs → context-DaBLwEWi.mjs} +4 -4
  22. package/dist/{create.handler-D_tmjANR.mjs → create.handler-CAj7e5w2.mjs} +2 -2
  23. package/dist/{credential-env-map-5a41jLwM.mjs → credential-env-map-rXDibCDT.mjs} +1 -1
  24. package/dist/{credential-schema-mismatch-CStYUB2h.mjs → credential-schema-mismatch-BvcO7KgE.mjs} +1 -1
  25. package/dist/{credentials-DtwLbee6.mjs → credentials-Bud9r1JE.mjs} +1 -1
  26. package/dist/{credentials-UDrvrKj-.mjs → credentials-CZ7HaiPb.mjs} +11 -11
  27. package/dist/{current.handler-Cy91EeLU.mjs → current.handler-BJvDHSmV.mjs} +3 -3
  28. package/dist/{delete.handler-rUDDUrDQ.mjs → delete.handler-DivhWFrZ.mjs} +1 -1
  29. package/dist/{deploy-DgWPlEKO.mjs → deploy-9ySqfoem.mjs} +2 -2
  30. package/dist/{deploy-BiKBH25R.mjs → deploy-NSrCthrD.mjs} +1 -1
  31. package/dist/{deploy-progress-BDOCSm_U.mjs → deploy-progress-DccPUWfp.mjs} +1 -1
  32. package/dist/{deploy.handler-BDCHCk_A.mjs → deploy.handler-DltgOetG.mjs} +15 -15
  33. package/dist/{detect-env-access-CwkOYeYM-r4aynBU0.mjs → detect-env-access-CwkOYeYM-CetSMqeq.mjs} +1 -1
  34. package/dist/{diff.handler-CGERP-Qn.mjs → diff.handler-OIzXMsHB.mjs} +4 -4
  35. package/dist/{dist-BmbFJq8U.mjs → dist-BpLSQDJX.mjs} +12 -12
  36. package/dist/{env.handler--8FRrSlJ.mjs → env.handler-DdIhJ4mO.mjs} +9 -9
  37. package/dist/{error-boundary-D2DiCLAp.mjs → error-boundary-IUSz7k4x.mjs} +2 -2
  38. package/dist/{file-metadata-DQVDjr7M.mjs → file-metadata-bzAf3GqL.mjs} +1 -1
  39. package/dist/{iam-command-utils-D01Gw8-M.mjs → iam-command-utils-CPkuyDrD.mjs} +1 -1
  40. package/dist/{import-module-y0glInUe-EuAWaw9g.mjs → import-module-y0glInUe-CVKziY2H.mjs} +6 -6
  41. package/dist/{init-Mpe_8lA_.mjs → init-BuVaQkZl.mjs} +2 -2
  42. package/dist/{init.handler-BjLAIAmm.mjs → init.handler-CX3OQdjn.mjs} +3 -3
  43. package/dist/{inspect.handler-CXCi7fhH.mjs → inspect.handler-CgJkF6RH.mjs} +5 -5
  44. package/dist/{integration-catalog-mZs6EAlN.mjs → integration-catalog-DEHwWAO6.mjs} +2 -2
  45. package/dist/{integrations-D_IH5Ud1.mjs → integrations-DdKOCj3U.mjs} +8 -95
  46. package/dist/{invites-CWWz4wmY.mjs → invites-DWE6Zmj1.mjs} +5 -5
  47. package/dist/{invites.list.handler-CQLWSoWo.mjs → invites.list.handler-DO7Wq2u0.mjs} +4 -4
  48. package/dist/{invites.resend.handler-CeIGE_qM.mjs → invites.resend.handler-BcW922nx.mjs} +4 -4
  49. package/dist/{invites.revoke.handler-9K6jkym_.mjs → invites.revoke.handler-BdMoZOqx.mjs} +4 -4
  50. package/dist/keystroke.mjs +38 -42
  51. package/dist/{list-enrichment-dqbkXJzy.mjs → list-enrichment-mOKJXdJW.mjs} +1 -1
  52. package/dist/{list.handler-DUTNS8du.mjs → list.handler-6h-dCWy7.mjs} +3 -3
  53. package/dist/{list.handler-CDWPmiMy.mjs → list.handler-BWEBemPq.mjs} +3 -3
  54. package/dist/{list.handler-Cuw1fWO_.mjs → list.handler-C1Okanaq.mjs} +3 -3
  55. package/dist/{list.handler-D-rSyrX0.mjs → list.handler-CD6T_BXB.mjs} +3 -3
  56. package/dist/{list.handler-BvuxTFLe.mjs → list.handler-CGD1JBJW.mjs} +6 -6
  57. package/dist/{list.handler-Co32_F3n.mjs → list.handler-CXsHFhRg.mjs} +6 -6
  58. package/dist/{list.handler-Dz-Yeijp.mjs → list.handler-DYIKuoAv.mjs} +2 -2
  59. package/dist/{list.handler-DMvq96UA.mjs → list.handler-Dny_G7yA.mjs} +2 -2
  60. package/dist/{list2.handler-BpqKZTZk.mjs → list2.handler-v14fD-Wx.mjs} +3 -3
  61. package/dist/{listen-CeNwufij.mjs → listen-DWLGKM9p.mjs} +3 -3
  62. package/dist/{listen.handler-CfRoaOwu.mjs → listen.handler-BHY0khAc.mjs} +3 -3
  63. package/dist/{logs-B7k2_W1R.mjs → logs-CAgOxZQ1.mjs} +3 -3
  64. package/dist/{logs.handler-CSqOzxCU.mjs → logs.handler-BcGJIjn1.mjs} +5 -5
  65. package/dist/{members.add.handler-CBjoA6vG.mjs → members.add.handler-3y_jsYI5.mjs} +4 -4
  66. package/dist/{members.invite.handler-D8KcKJ9Y.mjs → members.invite.handler-CLbxTp-x.mjs} +4 -4
  67. package/dist/{members.list.handler-CB_qSJK0.mjs → members.list.handler--r0ibk1q.mjs} +4 -4
  68. package/dist/{members.remove.handler-DNhO81mo.mjs → members.remove.handler-DFfOjRmq.mjs} +4 -4
  69. package/dist/{members.update.handler-Bjdk_uz4.mjs → members.update.handler-pY5ZKxyE.mjs} +4 -4
  70. package/dist/{normalize-path-CojS-CgQ-aOM0agxS.mjs → normalize-path-CojS-CgQ-lQUBXXzi.mjs} +1 -1
  71. package/dist/official-providers-DF1Wt_-m.mjs +92 -0
  72. package/dist/{operations-HHwoArwE.mjs → operations-mpOhoA0C.mjs} +5 -5
  73. package/dist/{org-context-CNh2p2DP.mjs → org-context-BAbQ9nhH.mjs} +2 -2
  74. package/dist/{org-output-BcI17Uan.mjs → org-output-Chcob8vH.mjs} +2 -2
  75. package/dist/{org-f-qo68Em.mjs → org-xlZOYXfd.mjs} +17 -17
  76. package/dist/{orgs.create.handler-DOE9ZIed.mjs → orgs.create.handler-C_zVtI05.mjs} +3 -3
  77. package/dist/{orgs.get.handler-sWErVI7r.mjs → orgs.get.handler-CCr0tawz.mjs} +3 -3
  78. package/dist/{orgs.list.handler-Cp-mXsA0.mjs → orgs.list.handler-C6H6LEdf.mjs} +3 -3
  79. package/dist/{paused.handler-DWdoKYY8.mjs → paused.handler-BVrzjvyP.mjs} +4 -4
  80. package/dist/{projects-CCC36zbJ.mjs → projects-CpLiEcTK.mjs} +4 -4
  81. package/dist/{projects-ZNcKwds2.mjs → projects-DOYjjoZ-.mjs} +2 -2
  82. package/dist/{register.handler-Dxae5iq8.mjs → register.handler-CSpRM1p1.mjs} +41 -28
  83. package/dist/{requirements.handler-Bg3mRnER.mjs → requirements.handler-CA4zeT3J.mjs} +6 -6
  84. package/dist/{resolve-cli-credentials-GVOOedoQ.mjs → resolve-cli-credentials-BecTgRE7.mjs} +1 -1
  85. package/dist/{resolve-project-CoCN9xfi.mjs → resolve-project-Cto7y-K3.mjs} +2 -2
  86. package/dist/{run-polling-htHWhG0T.mjs → run-polling-DVis_pob.mjs} +3 -3
  87. package/dist/{run.handler-C-CM-xZG.mjs → run.handler-Dyo7_OIO.mjs} +7 -7
  88. package/dist/{runs-BRJPNq4B.mjs → runs-DFWRUETL.mjs} +3 -3
  89. package/dist/{search-CQMgdp51.mjs → search-ByKPk0l-.mjs} +15 -6
  90. package/dist/search.handler-CE2432ah.mjs +112 -0
  91. package/dist/{show.handler-DUDxnNiZ.mjs → show.handler-BD5i6EV5.mjs} +4 -4
  92. package/dist/{show.handler-D3nDc1MJ.mjs → show.handler-BupYRNqw.mjs} +3 -3
  93. package/dist/{show.handler-CdZF0aao.mjs → show.handler-C_d60AOd.mjs} +2 -2
  94. package/dist/{skills-sync.handler-_LVhIMRH.mjs → skills-sync.handler-CbQQaKv7.mjs} +1 -1
  95. package/dist/{skills.command-DSHGwXPX.mjs → skills.command-D-OoLKTF.mjs} +4 -4
  96. package/dist/{source-analysis-BBg2E_6G-wPP9mjQx.mjs → source-analysis-BBg2E_6G-CS88X3nS.mjs} +3 -3
  97. package/dist/{src-DI-ybNjR.mjs → src-DOCKWJRW.mjs} +59 -13
  98. package/dist/{status.handler-1hEzX5oB.mjs → status.handler-7411LjJt.mjs} +1 -1
  99. package/dist/{switch.handler-D135WwfB.mjs → switch.handler-CfCy8yzX.mjs} +3 -3
  100. package/dist/{sync-CFScllh3.mjs → sync-Dp57sXlR.mjs} +2 -2
  101. package/dist/{sync.handler-x8v53-TT.mjs → sync.handler-B6p_PFqf.mjs} +7 -7
  102. package/dist/{task-DTvLzUkA.mjs → task-DzwZiru5.mjs} +1 -1
  103. package/dist/{task-target-build-CtvRyVjH.mjs → task-target-build-bIN-ngtL.mjs} +5 -5
  104. package/dist/{task-target-deploy-m9LfE488.mjs → task-target-deploy-DhlZNykk.mjs} +1 -1
  105. package/dist/{task-target-deploy-dQYnMO8n-d2vdeqXH.mjs → task-target-deploy-dQYnMO8n-Cx_r9Kzk.mjs} +1 -1
  106. package/dist/task-target-deploy-runner.mjs +8 -8
  107. package/dist/{test-Dx4RXoLZ.mjs → test-BHj1LMHN.mjs} +3 -3
  108. package/dist/{test.handler-Mz_XOnJl.mjs → test.handler-BmrgrK08.mjs} +1 -1
  109. package/dist/{test.handler-BmvL5vF8.mjs → test.handler-mo5agj6w.mjs} +11 -11
  110. package/dist/{tool.handler-DsbpocYI.mjs → tool.handler-wH-lWk7T.mjs} +8 -8
  111. package/dist/{trigger-artifacts-BcRScRSp-BRpU-He5.mjs → trigger-artifacts-BcRScRSp-CbuG4AfM.mjs} +4 -4
  112. package/dist/{trigger-manifest-BVqjDhxU.mjs → trigger-manifest-EaOKzq4D.mjs} +2 -2
  113. package/dist/{upgrade-C9G6HksL.mjs → upgrade-BXgpsNcQ.mjs} +2 -2
  114. package/dist/{upload.handler-DscKDQ63.mjs → upload.handler-Y-yOXVYC.mjs} +9 -9
  115. package/dist/{users.get.handler-CaUv_maM.mjs → users.get.handler-BGOCxdkB.mjs} +3 -3
  116. package/dist/{users.list.handler-DzsOvAtd.mjs → users.list.handler-CeCdVYny.mjs} +3 -3
  117. package/dist/{users.set-role.handler-koRzA0V9.mjs → users.set-role.handler-ChUvfPm9.mjs} +3 -3
  118. package/dist/{utils-BaxDlCsW.mjs → utils-DZkAd_Yh.mjs} +2 -2
  119. package/dist/{validate.handler-BkBsS8BL.mjs → validate.handler-Cf6Hv_La.mjs} +7 -7
  120. package/dist/{workflow-build-Db6at6IA.mjs → workflow-build-BdjQ_VZx.mjs} +21 -21
  121. package/dist/{workflow-build-manifest-CV6bBmDO.mjs → workflow-build-manifest-EnRP3HRK.mjs} +3 -3
  122. package/dist/{workflow-bundler-Bs3zQNQv-Dy7lXxy3.mjs → workflow-bundler-Bs3zQNQv-DeOFaxmV.mjs} +2 -2
  123. package/dist/{workflows-B8VG6nKg.mjs → workflows-CLWyveLm.mjs} +16 -16
  124. package/dist/{writer-BLg0RuZa-Y6ExdYH9.mjs → writer-BLg0RuZa-ynLkRVCU.mjs} +5 -5
  125. package/package.json +7 -7
  126. package/dist/search.handler-Dn5jjyF-.mjs +0 -79
  127. package/dist/{agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs → agent-bundle-package-DWV6B_5q-DyuZcU-M.mjs} +0 -0
  128. package/dist/{agent-manifest-DfWD5tvv.mjs → agent-manifest-IKErxq4q.mjs} +0 -0
  129. package/dist/{browser-Dvv5OQrt.mjs → browser-CvuyMLhI.mjs} +0 -0
  130. package/dist/{clear.handler-DnjvgyMj.mjs → clear.handler-C52FDzQh.mjs} +0 -0
  131. package/dist/{common-AK0q0Oz0.mjs → common-BcLVOrEe.mjs} +0 -0
  132. package/dist/{concurrency-gXn9Rw8x-CnBnF2cg.mjs → concurrency-gXn9Rw8x-DL-HGvhT.mjs} +0 -0
  133. package/dist/{credential-requirements-B5Alhu1v-DanlSKnT.mjs → credential-requirements-B5Alhu1v-C26qMgU_.mjs} +0 -0
  134. package/dist/{declared-credential-requirements-B6h4WRv4.mjs → declared-credential-requirements-D6KT-r-e.mjs} +0 -0
  135. package/dist/{default-urls-BoSm4s9C.mjs → default-urls-jMHepw2q.mjs} +0 -0
  136. package/dist/{dist-B5jy238v.mjs → dist-rsDq3fTk.mjs} +0 -0
  137. package/dist/{layout-B95Tku8F.mjs → layout-CqQq4MmI.mjs} +0 -0
  138. package/dist/{logs.handler-BIqJ0FED.mjs → logs.handler-BvOCKckB.mjs} +0 -0
  139. package/dist/{metadata-layout-Bv-B0nHj-CO8mjjSl.mjs → metadata-layout-Bv-B0nHj-qhsuNON1.mjs} +0 -0
  140. package/dist/{output-BPydP5tG.mjs → output-C0pbsv39.mjs} +0 -0
  141. package/dist/{oxc-B3KI3rf_-B9omBIuN.mjs → oxc-B3KI3rf_-ghZc3xZ5.mjs} +0 -0
  142. package/dist/{project-config-DudGRFPO.mjs → project-config-VloWJirJ.mjs} +1 -1
  143. /package/dist/{read-credential-keys-77a91T8M-I07NYwfH.mjs → read-credential-keys-77a91T8M-C4dOpzvX.mjs} +0 -0
  144. /package/dist/{render-operation-iF7Wblv2.mjs → render-operation-BhivW7cA.mjs} +0 -0
  145. /package/dist/{rolldown-runtime-twds-ZHy-RuJszab7.mjs → rolldown-runtime-twds-ZHy-BvwnxyIt.mjs} +0 -0
  146. /package/dist/{run-polling-1c0ckC1A.mjs → run-polling-CJWe6cxy.mjs} +0 -0
  147. /package/dist/{schema-Lbp5lGJu.mjs → schema-GwRMmuKB.mjs} +0 -0
  148. /package/dist/{schema-DFJiNWyd.mjs → schema-QbiBSbhG.mjs} +0 -0
  149. /package/dist/{schema-display-sZ6ConJd.mjs → schema-display-DKreWhh1.mjs} +0 -0
  150. /package/dist/{schemas-ClAIoIrX.mjs → schemas-COSVuCFH.mjs} +0 -0
  151. /package/dist/{skills.handler-DqLXJepA.mjs → skills.handler-CvXcuOf5.mjs} +0 -0
  152. /package/dist/{source-analysis-z2RSZw6X.mjs → source-analysis-BYwAbHx2.mjs} +0 -0
  153. /package/dist/{spinner-progress-fLaD0sjH.mjs → spinner-progress-QqK2bvTQ.mjs} +0 -0
  154. /package/dist/{upgrade.handler-DsFeAFF4.mjs → upgrade.handler-COptE2fK.mjs} +0 -0
  155. /package/dist/{upload-CE4H5R1h.mjs → upload-XFKnNumW.mjs} +0 -0
@@ -1,7 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as getKeystrokeBaseDir } from "./paths-DpHfoaXN-CdPimpky.mjs";
4
- import { n as DEFAULT_CLI_WEB_URL, t as DEFAULT_CLI_SERVER_URL } from "./default-urls-BoSm4s9C.mjs";
4
+ import { n as createClient } from "./src-DOCKWJRW.mjs";
5
+ import { n as DEFAULT_CLI_WEB_URL, t as DEFAULT_CLI_SERVER_URL } from "./default-urls-jMHepw2q.mjs";
5
6
  import * as path$1 from "node:path";
6
7
  import path from "node:path";
7
8
  import * as os from "node:os";
@@ -9,10 +10,10 @@ import * as fsPromises from "node:fs/promises";
9
10
  import * as fs from "node:fs";
10
11
  import { existsSync, writeFileSync } from "node:fs";
11
12
  import { Command, CommanderError, Option } from "commander";
13
+ import { z } from "zod";
12
14
  import { log } from "@clack/prompts";
13
15
  import { fileURLToPath } from "node:url";
14
16
  import { config } from "dotenv";
15
- import { z } from "zod";
16
17
  //#region ../../packages/local-memory/dist/logger/index.mjs
17
18
  const LOGS_DIR = "logs";
18
19
  const LOG_FILE = "cli.jsonl";
@@ -521,7 +522,7 @@ const logger = {
521
522
  };
522
523
  //#endregion
523
524
  //#region package.json
524
- var version = "0.0.38";
525
+ var version = "0.0.40";
525
526
  //#endregion
526
527
  //#region src/command-registry.ts
527
528
  const ROOT_OPTIONS_WITH_VALUES$1 = new Set([
@@ -533,92 +534,92 @@ const ROOT_VERSION_FLAGS = new Set(["-V", "--version"]);
533
534
  const lazyCommandDefinitions = [
534
535
  {
535
536
  name: "agents",
536
- loadCommand: async () => (await import("./agents-BpyuvM9p.mjs")).createAgentsCommand()
537
+ loadCommand: async () => (await import("./agents-sPFPgn4f.mjs")).createAgentsCommand()
537
538
  },
538
539
  {
539
540
  name: "admin",
540
- loadCommand: async () => (await import("./admin-gRjPC3eD.mjs")).createAdminCommand()
541
+ loadCommand: async () => (await import("./admin-dG6GUb3q.mjs")).createAdminCommand()
541
542
  },
542
543
  {
543
544
  name: "api-keys",
544
- loadCommand: async () => (await import("./api-keys-BSKhdD_x.mjs")).createApiKeysCommand()
545
+ loadCommand: async () => (await import("./api-keys-4tXQbpkQ.mjs")).createApiKeysCommand()
545
546
  },
546
547
  {
547
548
  name: "auth",
548
- loadCommand: async () => (await import("./auth-DCgToFf5.mjs")).createAuthCommand()
549
+ loadCommand: async () => (await import("./auth-CWW1yAyX.mjs")).createAuthCommand()
549
550
  },
550
551
  {
551
552
  name: "connect",
552
- loadCommand: async () => (await import("./connect-DV9lhP6C.mjs")).createConnectCommand()
553
+ loadCommand: async () => (await import("./connect-Cg4oFCFZ.mjs")).createConnectCommand()
553
554
  },
554
555
  {
555
556
  name: "credentials",
556
- loadCommand: async () => (await import("./credentials-UDrvrKj-.mjs")).createCredentialsCommand(),
557
+ loadCommand: async () => (await import("./credentials-CZ7HaiPb.mjs")).createCredentialsCommand(),
557
558
  copyInheritedSettings: true
558
559
  },
559
560
  {
560
561
  name: "org",
561
- loadCommand: async () => (await import("./org-f-qo68Em.mjs")).createOrgCommand()
562
+ loadCommand: async () => (await import("./org-xlZOYXfd.mjs")).createOrgCommand()
562
563
  },
563
564
  {
564
565
  name: "deploy",
565
- loadCommand: async () => (await import("./deploy-DgWPlEKO.mjs")).createDeployCommand()
566
+ loadCommand: async () => (await import("./deploy-9ySqfoem.mjs")).createDeployCommand()
566
567
  },
567
568
  {
568
569
  name: "init",
569
- loadCommand: async () => (await import("./init-Mpe_8lA_.mjs")).createInitCommand()
570
+ loadCommand: async () => (await import("./init-BuVaQkZl.mjs")).createInitCommand()
570
571
  },
571
572
  {
572
573
  name: "integrations",
573
- loadCommand: async () => (await import("./integrations-D_IH5Ud1.mjs")).createIntegrationsCommand()
574
+ loadCommand: async () => (await import("./integrations-DdKOCj3U.mjs")).createIntegrationsCommand()
574
575
  },
575
576
  {
576
577
  name: "invites",
577
- loadCommand: async () => (await import("./invites-CWWz4wmY.mjs")).createInvitesCommand()
578
+ loadCommand: async () => (await import("./invites-DWE6Zmj1.mjs")).createInvitesCommand()
578
579
  },
579
580
  {
580
581
  name: "logs",
581
- loadCommand: async () => (await import("./logs-B7k2_W1R.mjs")).createLogsCommand()
582
+ loadCommand: async () => (await import("./logs-CAgOxZQ1.mjs")).createLogsCommand()
582
583
  },
583
584
  {
584
585
  name: "listen",
585
- loadCommand: async () => (await import("./listen-CeNwufij.mjs")).createListenCommand()
586
+ loadCommand: async () => (await import("./listen-DWLGKM9p.mjs")).createListenCommand()
586
587
  },
587
588
  {
588
589
  name: "operations",
589
- loadCommand: async () => (await import("./operations-HHwoArwE.mjs")).createOperationsCommand()
590
+ loadCommand: async () => (await import("./operations-mpOhoA0C.mjs")).createOperationsCommand()
590
591
  },
591
592
  {
592
593
  name: "projects",
593
- loadCommand: async () => (await import("./projects-CCC36zbJ.mjs")).createProjectsCommand()
594
+ loadCommand: async () => (await import("./projects-CpLiEcTK.mjs")).createProjectsCommand()
594
595
  },
595
596
  {
596
597
  name: "runs",
597
- loadCommand: async () => (await import("./runs-BRJPNq4B.mjs")).createRunsCommand()
598
+ loadCommand: async () => (await import("./runs-DFWRUETL.mjs")).createRunsCommand()
598
599
  },
599
600
  {
600
601
  name: "search",
601
- loadCommand: async () => (await import("./search-CQMgdp51.mjs")).createSearchCommand()
602
+ loadCommand: async () => (await import("./search-ByKPk0l-.mjs")).createSearchCommand()
602
603
  },
603
604
  {
604
605
  name: "skills",
605
- loadCommand: async () => (await import("./skills.command-DSHGwXPX.mjs")).createSkillsCommand()
606
+ loadCommand: async () => (await import("./skills.command-D-OoLKTF.mjs")).createSkillsCommand()
606
607
  },
607
608
  {
608
609
  name: "sync",
609
- loadCommand: async () => (await import("./sync-CFScllh3.mjs")).createSyncCommand()
610
+ loadCommand: async () => (await import("./sync-Dp57sXlR.mjs")).createSyncCommand()
610
611
  },
611
612
  {
612
613
  name: "test",
613
- loadCommand: async () => (await import("./test-Dx4RXoLZ.mjs")).createTestCommand()
614
+ loadCommand: async () => (await import("./test-BHj1LMHN.mjs")).createTestCommand()
614
615
  },
615
616
  {
616
617
  name: "upgrade",
617
- loadCommand: async () => (await import("./upgrade-C9G6HksL.mjs")).createUpgradeCommand()
618
+ loadCommand: async () => (await import("./upgrade-BXgpsNcQ.mjs")).createUpgradeCommand()
618
619
  },
619
620
  {
620
621
  name: "workflows",
621
- loadCommand: async () => (await import("./workflows-B8VG6nKg.mjs")).createWorkflowsCommand()
622
+ loadCommand: async () => (await import("./workflows-CLWyveLm.mjs")).createWorkflowsCommand()
622
623
  }
623
624
  ];
624
625
  function selectCommandRegistration(argv, commandNames = new Set(lazyCommandDefinitions.map((definition) => definition.name))) {
@@ -891,26 +892,21 @@ function cliTelemetryErrorFamilyFromError(error) {
891
892
  if (candidate !== void 0) return "unknown";
892
893
  }
893
894
  async function sendTelemetryEvent(body, ctx) {
894
- const url = `${ctx.baseUrl.replace(/\/$/, "")}/api/v1/cli/telemetry`;
895
- const headers = {
896
- "Content-Type": "application/json",
897
- Authorization: `Bearer ${ctx.apiKey}`
898
- };
899
- if (ctx.organizationId && /^[0-9a-f-]{36}$/i.test(ctx.organizationId)) headers["X-Organization-Id"] = ctx.organizationId;
900
- const controller = new AbortController();
901
- const timeout = setTimeout(() => controller.abort(), TELEMETRY_TIMEOUT_MS);
895
+ const organizationId = ctx.organizationId && /^[0-9a-f-]{36}$/i.test(ctx.organizationId) ? ctx.organizationId : void 0;
896
+ const client = createClient({
897
+ apiKey: ctx.apiKey,
898
+ baseUrl: ctx.baseUrl.replace(/\/$/, ""),
899
+ ...organizationId ? { organizationId } : {}
900
+ });
902
901
  try {
903
- const res = await fetch(url, {
904
- method: "POST",
905
- headers,
906
- body: JSON.stringify(body),
907
- signal: controller.signal
908
- });
909
- if (!res.ok) logger.debug("CLI telemetry request failed", { status: res.status });
902
+ await client.cli.telemetry.send(body, { timeoutMs: TELEMETRY_TIMEOUT_MS });
910
903
  } catch (error) {
904
+ const status = getHttpStatus(error);
905
+ if (status !== null) {
906
+ logger.debug("CLI telemetry request failed", { status });
907
+ return;
908
+ }
911
909
  logger.debug("CLI telemetry send error", { error: toErrorMessage(error) });
912
- } finally {
913
- clearTimeout(timeout);
914
910
  }
915
911
  }
916
912
  async function flushCliTelemetryForExit(exitCode) {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as style, p as ui, t as ANSI } from "./keystroke.mjs";
4
- import { n as resolveCredentialValuesFromEnv, t as groupCredentialRequirements } from "./credentials-DtwLbee6.mjs";
4
+ import { n as resolveCredentialValuesFromEnv, t as groupCredentialRequirements } from "./credentials-Bud9r1JE.mjs";
5
5
  import path from "node:path";
6
6
  import { readFile } from "node:fs/promises";
7
7
  import { parse } from "dotenv";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
7
7
  import Table from "cli-table3";
8
8
  //#region src/commands/invites/list.handler.ts
9
9
  async function handleInvitesList(_options, ctx) {
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
5
- import { c as resolveEffectiveOrganization, l as resolveListActiveOrganizationId, o as requireEffectiveOrganization, r as buildOrgListRows, u as warnUnknownOrganizationOverride } from "./org-context-CNh2p2DP.mjs";
6
- import { i as renderOrgListJson, r as renderOrgListHuman } from "./org-output-BcI17Uan.mjs";
4
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
5
+ import { c as resolveEffectiveOrganization, l as resolveListActiveOrganizationId, o as requireEffectiveOrganization, r as buildOrgListRows, u as warnUnknownOrganizationOverride } from "./org-context-BAbQ9nhH.mjs";
6
+ import { i as renderOrgListJson, r as renderOrgListHuman } from "./org-output-Chcob8vH.mjs";
7
7
  //#region src/commands/org/list.handler.ts
8
8
  async function handleOrgList(_options, ctx) {
9
9
  const { user } = await requireClient(ctx).users.getMe();
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { S as toErrorMessage, n as style, p as ui, t as ANSI, x as isNetworkError } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { t as getIntegrationCatalog } from "./integration-catalog-mZs6EAlN.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { t as getIntegrationCatalog } from "./integration-catalog-DEHwWAO6.mjs";
7
7
  import Table from "cli-table3";
8
8
  //#region ../../packages/shared-types/src/connections/integration-id.ts
9
9
  /** Official catalog namespace prefix for integration and connection credential ids. */
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
6
  import { r as detectPackageManager } from "./package-manager-BwJ6muas.mjs";
7
- import { t as renderOperation } from "./render-operation-iF7Wblv2.mjs";
7
+ import { t as renderOperation } from "./render-operation-BhivW7cA.mjs";
8
8
  //#region src/commands/operations/list.handler.ts
9
9
  async function handleOperationsList(options, ctx) {
10
10
  const result = await requireClient(ctx).operations.list({
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { P as throwReportedCliExit, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
4
- import { i as projects } from "./dist-B5jy238v.mjs";
5
- import { i as writeJson } from "./output-BPydP5tG.mjs";
6
- import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
7
- import { t as createSpinnerProgress } from "./spinner-progress-fLaD0sjH.mjs";
8
- import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Db6at6IA.mjs";
9
- import { i as formatWorkflowInputFlag, t as formatExampleInputJson } from "./schema-display-sZ6ConJd.mjs";
4
+ import { i as projects } from "./dist-rsDq3fTk.mjs";
5
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
6
+ import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
7
+ import { t as createSpinnerProgress } from "./spinner-progress-QqK2bvTQ.mjs";
8
+ import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-BdjQ_VZx.mjs";
9
+ import { i as formatWorkflowInputFlag, t as formatExampleInputJson } from "./schema-display-DKreWhh1.mjs";
10
10
  //#region src/commands/workflows/list.handler.ts
11
11
  function workflowListJsonEntry(artifact) {
12
12
  const authoredWorkflowId = artifact.manifest.id;
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { P as throwReportedCliExit, c as getProcessEnv, p as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { a as readManifestsFromOutDir } from "./dist-BmbFJq8U.mjs";
7
- import { n as resolveWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
8
- import { t as readCredentialEnvMap } from "./credential-env-map-5a41jLwM.mjs";
9
- import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-dqbkXJzy.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { a as readManifestsFromOutDir } from "./dist-BpLSQDJX.mjs";
7
+ import { n as resolveWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
8
+ import { t as readCredentialEnvMap } from "./credential-env-map-rXDibCDT.mjs";
9
+ import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-mOKJXdJW.mjs";
10
10
  import dayjs from "dayjs";
11
11
  //#region src/commands/credentials/list/fetch-all-credential-sets.ts
12
12
  /**
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
6
  import Table from "cli-table3";
7
7
  //#region src/commands/api-keys/list.handler.ts
8
8
  async function handleApiKeysList(_options, ctx) {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
6
  import { t as renderCredential } from "./render-credential-D-H1ECDt.mjs";
7
7
  //#region src/commands/credentials/definitions/list.handler.ts
8
8
  async function handleCredentialDefinitionsList(options, ctx) {
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as style, p as ui, t as ANSI } from "./keystroke.mjs";
4
- import { i as projects } from "./dist-B5jy238v.mjs";
5
- import { i as readProjectConfig } from "./project-config-DudGRFPO.mjs";
6
- import { i as writeJson } from "./output-BPydP5tG.mjs";
4
+ import { i as projects } from "./dist-rsDq3fTk.mjs";
5
+ import { i as readProjectConfig } from "./project-config-VloWJirJ.mjs";
6
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
7
7
  import { access } from "node:fs/promises";
8
8
  import Table from "cli-table3";
9
9
  //#region src/commands/projects/projects-list.ts
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BPydP5tG.mjs";
4
- import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
3
+ import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
4
+ import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
5
5
  import { z } from "zod";
6
6
  //#region src/commands/listen/listen.command.ts
7
7
  const ListenOptionsSchema = JsonOptionSchema.extend({ timeout: z.coerce.number().int().min(1).default(300) });
@@ -18,7 +18,7 @@ function createListenCommand() {
18
18
  description: "Listen for one incoming request and print its body",
19
19
  schema: ListenOptionsSchema,
20
20
  optionsConfig: LISTEN_OPTIONS_CONFIG,
21
- loadHandler: async () => (await import("./listen.handler-CfRoaOwu.mjs")).handleListen
21
+ loadHandler: async () => (await import("./listen.handler-BHY0khAc.mjs")).handleListen
22
22
  });
23
23
  }
24
24
  //#endregion
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
4
- import { a as writeJsonError, i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { n as sleep } from "./run-polling-1c0ckC1A.mjs";
4
+ import { a as writeJsonError, i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { n as sleep } from "./run-polling-CJWe6cxy.mjs";
7
7
  import { spawn } from "node:child_process";
8
8
  //#region src/lib/clipboard.ts
9
9
  function getClipboardCommands() {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
3
+ import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
4
4
  import { z } from "zod";
5
5
  //#region src/commands/logs/logs.command.ts
6
6
  const LogsOptionsSchema = z.object({
@@ -44,13 +44,13 @@ function createLogsCommand() {
44
44
  description: "Display recent CLI log entries",
45
45
  schema: LogsOptionsSchema,
46
46
  optionsConfig: LOGS_OPTIONS_CONFIG,
47
- loadHandler: async () => (await import("./logs.handler-BIqJ0FED.mjs")).handleLogs,
47
+ loadHandler: async () => (await import("./logs.handler-BvOCKckB.mjs")).handleLogs,
48
48
  subcommands: [createTypedCommand({
49
49
  name: "clear",
50
50
  description: "Clear the CLI log file",
51
51
  schema: z.object({}),
52
52
  optionsConfig: {},
53
- loadHandler: async () => (await import("./clear.handler-DnjvgyMj.mjs")).handleLogsClear
53
+ loadHandler: async () => (await import("./clear.handler-C52FDzQh.mjs")).handleLogsClear
54
54
  })]
55
55
  });
56
56
  }
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { n as resolveWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
7
- import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-1c0ckC1A.mjs";
8
- import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-BRCQgyWl.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { n as resolveWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
7
+ import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-CJWe6cxy.mjs";
8
+ import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-DpaMDcsV.mjs";
9
9
  import Table from "cli-table3";
10
10
  //#region src/commands/workflows/_shared/run-query.ts
11
11
  async function listRunsByAuthoredWorkflowId(client, options) {
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
7
- import { s as requireOrganizationId } from "./org-context-CNh2p2DP.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
7
+ import { s as requireOrganizationId } from "./org-context-BAbQ9nhH.mjs";
8
8
  //#region src/commands/org/members.add.handler.ts
9
9
  async function handleMembersAdd(options, ctx) {
10
10
  const client = requireClient(ctx);
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
7
- import { s as requireOrganizationId } from "./org-context-CNh2p2DP.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
7
+ import { s as requireOrganizationId } from "./org-context-BAbQ9nhH.mjs";
8
8
  //#region src/commands/org/members.invite.handler.ts
9
9
  async function handleMembersInvite(options, ctx) {
10
10
  const client = requireClient(ctx);
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
7
- import { s as requireOrganizationId } from "./org-context-CNh2p2DP.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
7
+ import { s as requireOrganizationId } from "./org-context-BAbQ9nhH.mjs";
8
8
  import Table from "cli-table3";
9
9
  //#region src/commands/org/members.list.handler.ts
10
10
  async function handleMembersList(_options, ctx) {
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
7
- import { s as requireOrganizationId } from "./org-context-CNh2p2DP.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
7
+ import { s as requireOrganizationId } from "./org-context-BAbQ9nhH.mjs";
8
8
  //#region src/commands/org/members.remove.handler.ts
9
9
  async function handleMembersRemove(options, ctx) {
10
10
  const client = requireClient(ctx);
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
7
- import { s as requireOrganizationId } from "./org-context-CNh2p2DP.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
7
+ import { s as requireOrganizationId } from "./org-context-BAbQ9nhH.mjs";
8
8
  //#region src/commands/org/members.update.handler.ts
9
9
  async function handleMembersUpdate(options, ctx) {
10
10
  const client = requireClient(ctx);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { r as RelativeFilePathSchema } from "./file-metadata-DQVDjr7M.mjs";
3
+ import { r as RelativeFilePathSchema } from "./file-metadata-bzAf3GqL.mjs";
4
4
  import path from "node:path";
5
5
  //#region ../../packages/workflow-builder/dist/normalize-path-CojS-CgQ.mjs
6
6
  function normalizeRelativeFilePath(relativePath) {
@@ -0,0 +1,92 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { z } from "zod";
4
+ //#region ../../packages/shared-types/src/official-providers/index.ts
5
+ const officialProviderRegistry = {
6
+ airtable: {
7
+ supportsMessagingGateway: false,
8
+ messagingAdapterType: null
9
+ },
10
+ slack: {
11
+ supportsMessagingGateway: true,
12
+ messagingAdapterType: "slack"
13
+ },
14
+ linear: {
15
+ supportsMessagingGateway: true,
16
+ messagingAdapterType: "linear"
17
+ },
18
+ github: {
19
+ supportsMessagingGateway: true,
20
+ messagingAdapterType: "github"
21
+ },
22
+ google: {
23
+ supportsMessagingGateway: true,
24
+ messagingAdapterType: null
25
+ },
26
+ notion: {
27
+ supportsMessagingGateway: false,
28
+ messagingAdapterType: null
29
+ },
30
+ salesforce: {
31
+ supportsMessagingGateway: false,
32
+ messagingAdapterType: null
33
+ },
34
+ shopify: {
35
+ supportsMessagingGateway: false,
36
+ messagingAdapterType: null
37
+ },
38
+ spotify: {
39
+ supportsMessagingGateway: false,
40
+ messagingAdapterType: null
41
+ },
42
+ strava: {
43
+ supportsMessagingGateway: false,
44
+ messagingAdapterType: null
45
+ },
46
+ zoom: {
47
+ supportsMessagingGateway: false,
48
+ messagingAdapterType: null
49
+ },
50
+ calendly: {
51
+ supportsMessagingGateway: false,
52
+ messagingAdapterType: null
53
+ },
54
+ docusign: {
55
+ supportsMessagingGateway: false,
56
+ messagingAdapterType: null
57
+ },
58
+ ramp: {
59
+ supportsMessagingGateway: false,
60
+ messagingAdapterType: null
61
+ },
62
+ zendesk: {
63
+ supportsMessagingGateway: false,
64
+ messagingAdapterType: null
65
+ },
66
+ supabase: {
67
+ supportsMessagingGateway: false,
68
+ messagingAdapterType: null
69
+ },
70
+ gusto: {
71
+ supportsMessagingGateway: false,
72
+ messagingAdapterType: null
73
+ },
74
+ sentry: {
75
+ supportsMessagingGateway: false,
76
+ messagingAdapterType: null
77
+ },
78
+ typeform: {
79
+ supportsMessagingGateway: false,
80
+ messagingAdapterType: null
81
+ }
82
+ };
83
+ function toNonEmptyTuple(values) {
84
+ if (values.length === 0) throw new Error("Expected at least one provider value");
85
+ return values;
86
+ }
87
+ const OfficialProviderValues = toNonEmptyTuple(Object.freeze(Object.keys(officialProviderRegistry)));
88
+ const MessagingGatewayProviderValues = toNonEmptyTuple(Object.freeze(OfficialProviderValues.filter((provider) => officialProviderRegistry[provider].supportsMessagingGateway)));
89
+ const OfficialProviderSchema = z.enum(OfficialProviderValues);
90
+ z.enum(MessagingGatewayProviderValues);
91
+ //#endregion
92
+ export { OfficialProviderValues as n, OfficialProviderSchema as t };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BPydP5tG.mjs";
4
- import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
3
+ import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
4
+ import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
5
5
  import { z } from "zod";
6
6
  //#region src/commands/operations/operations.command.ts
7
7
  const OperationsListOptionsSchema = JsonOptionSchema.extend({
@@ -56,13 +56,13 @@ function createOperationsCommand() {
56
56
  description: "Browse and inspect operations across all integrations",
57
57
  schema: OperationsListOptionsSchema,
58
58
  optionsConfig: OPERATIONS_LIST_OPTIONS_CONFIG,
59
- loadHandler: async () => (await import("./list.handler-D-rSyrX0.mjs")).handleOperationsList,
59
+ loadHandler: async () => (await import("./list.handler-CD6T_BXB.mjs")).handleOperationsList,
60
60
  subcommands: [createTypedCommand({
61
61
  name: "list",
62
62
  description: "List operations, optionally scoped to one integration",
63
63
  schema: OperationsListOptionsSchema,
64
64
  optionsConfig: OPERATIONS_LIST_OPTIONS_CONFIG,
65
- loadHandler: async () => (await import("./list.handler-D-rSyrX0.mjs")).handleOperationsList
65
+ loadHandler: async () => (await import("./list.handler-CD6T_BXB.mjs")).handleOperationsList
66
66
  }), createTypedCommand({
67
67
  name: "show",
68
68
  description: "Show full details for one operation, including input/output schemas",
@@ -73,7 +73,7 @@ function createOperationsCommand() {
73
73
  description: "Operation id, e.g. aws-s3.put-object",
74
74
  key: "id"
75
75
  },
76
- loadHandler: async () => (await import("./show.handler-DUDxnNiZ.mjs")).handleOperationShow
76
+ loadHandler: async () => (await import("./show.handler-BD5i6EV5.mjs")).handleOperationShow
77
77
  })]
78
78
  });
79
79
  }