@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,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 { o as renderJsonSchema } from "./schema-display-sZ6ConJd.mjs";
4
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { o as renderJsonSchema } from "./schema-display-DKreWhh1.mjs";
7
7
  import { t as renderCredential } from "./render-credential-D-H1ECDt.mjs";
8
8
  //#region src/commands/credentials/definitions/show.handler.ts
9
9
  async function handleCredentialDefinitionShow(options, ctx) {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { P as throwReportedCliExit, S as toErrorMessage, b as isAuthError, g as REAUTH_HINT, p as ui, v as getApiErrorMessage, x as isNetworkError, y as getHttpStatus } from "./keystroke.mjs";
4
- import { a as writeJsonError, i as writeJson } from "./output-BPydP5tG.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
4
+ import { a as writeJsonError, i as writeJson } from "./output-C0pbsv39.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
6
  import { i as formatPackageInstallCommand, r as detectPackageManager } from "./package-manager-BwJ6muas.mjs";
7
7
  //#region src/commands/integrations/show.handler.ts
8
8
  async function reportIntegrationShowFailure(ctx, integrationId, error) {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { A as CliExitError } from "./keystroke.mjs";
4
- import { a as writeJsonError, i as writeJson, r as isJsonMode } from "./output-BPydP5tG.mjs";
4
+ import { a as writeJsonError, i as writeJson, r as isJsonMode } from "./output-C0pbsv39.mjs";
5
5
  import { i as UnknownSkillAgentError, n as resolveSkillInstallChoices, r as installKeystrokeAgentSkills, t as summarizeSkillInstall } from "./skill-installer-DYNH_MJT.mjs";
6
6
  import path from "node:path";
7
7
  //#region src/commands/skills/skills-sync.handler.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 { t as SKILL_INSTALL_METHODS } from "./types-Cb0eWmUU.mjs";
6
6
  import { z } from "zod";
7
7
  //#region src/commands/skills/skills.command.ts
@@ -32,13 +32,13 @@ function createSkillsCommand() {
32
32
  description: "Sync Keystroke agent skills (SKILL.md) from @keystrokehq/skills",
33
33
  schema: SkillsCommandOptionsSchema,
34
34
  optionsConfig: SKILLS_OPTIONS_CONFIG,
35
- loadHandler: async () => (await import("./skills.handler-DqLXJepA.mjs")).handleSkillsParent,
35
+ loadHandler: async () => (await import("./skills.handler-CvXcuOf5.mjs")).handleSkillsParent,
36
36
  subcommands: [createTypedCommand({
37
37
  name: "sync",
38
38
  description: "Install bundled Keystroke skills into selected agent skill directories",
39
39
  schema: SkillsCommandOptionsSchema,
40
40
  optionsConfig: SKILLS_OPTIONS_CONFIG,
41
- loadHandler: async () => (await import("./skills-sync.handler-_LVhIMRH.mjs")).handleSkillsSync
41
+ loadHandler: async () => (await import("./skills-sync.handler-CbQQaKv7.mjs")).handleSkillsSync
42
42
  })]
43
43
  });
44
44
  cmd.enablePositionalOptions();
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { d as getMetadataRoot } from "./layout-B95Tku8F.mjs";
4
- import { t as BASE_IGNORE_PATTERNS } from "./metadata-layout-Bv-B0nHj-CO8mjjSl.mjs";
5
- import { a as literalString, l as unwrapExpression, n as identifierName, r as isNode } from "./oxc-B3KI3rf_-B9omBIuN.mjs";
3
+ import { d as getMetadataRoot } from "./layout-CqQq4MmI.mjs";
4
+ import { t as BASE_IGNORE_PATTERNS } from "./metadata-layout-Bv-B0nHj-qhsuNON1.mjs";
5
+ import { a as literalString, l as unwrapExpression, n as identifierName, r as isNode } from "./oxc-B3KI3rf_-ghZc3xZ5.mjs";
6
6
  import path from "node:path";
7
7
  import { readFile, readdir, rm } from "node:fs/promises";
8
8
  //#region ../../packages/workflow-builder/dist/source-analysis-BBg2E_6G.mjs
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { a as createKyInstance, i as buildSearchParams, n as auth, r as bundles, s as getClientEnv, t as projects$1 } from "./projects-ZNcKwds2.mjs";
3
+ import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
4
+ import { a as createKyInstance, i as buildSearchParams, n as auth, o as getClientEnv, r as bundles, t as projects$1 } from "./projects-DOYjjoZ-.mjs";
4
5
  //#region ../../packages/workflow-sdk/src/v1/admin.ts
5
6
  const admin = (api) => ({
6
7
  orgs: {
@@ -21,7 +22,13 @@ const admin = (api) => ({
21
22
  },
22
23
  get: (id) => api.get(`admin/users/${id}`).json(),
23
24
  setRole: (id, params) => api.patch(`admin/users/${id}/system-role`, { json: params }).json()
24
- }
25
+ },
26
+ providerApps: {
27
+ /**
28
+ * Upserts an org-scoped custom provider app registration.
29
+ * Wraps `POST /api/v1/admin/provider-apps`.
30
+ */
31
+ upsert: (params) => api.post("admin/provider-apps", { json: params }).json() }
25
32
  });
26
33
  //#endregion
27
34
  //#region ../../packages/workflow-sdk/src/v1/agents.ts
@@ -40,18 +47,50 @@ const apiKeys = (api) => ({
40
47
  remove: (id) => api.delete(`api-keys/${id}`).json()
41
48
  });
42
49
  //#endregion
43
- //#region ../../packages/workflow-sdk/src/v1/connections.ts
44
- const connections = (api) => ({
50
+ //#region ../../packages/workflow-sdk/src/v1/cli.ts
51
+ const DEFAULT_TELEMETRY_TIMEOUT_MS = 2500;
52
+ const cli = (api) => ({
45
53
  /**
46
- * Returns the caller's configured connections.
47
- *
48
- * @param params Optional filters. See `ListConnectionsQuerySchema` in
49
- * `@keystroke/shared-types/connections` for the authoritative schema.
54
+ * Records a completed CLI command for product telemetry.
55
+ * Wraps `POST /api/v1/cli/telemetry`.
50
56
  */
51
- list: (params) => {
52
- const searchParams = buildSearchParams(params);
53
- return api.get("connections", searchParams ? { searchParams } : {}).json();
54
- } });
57
+ telemetry: { send: (body, options) => api.post("cli/telemetry", {
58
+ json: body,
59
+ timeout: options?.timeoutMs ?? DEFAULT_TELEMETRY_TIMEOUT_MS
60
+ }).json() } });
61
+ //#endregion
62
+ //#region ../../packages/workflow-sdk/src/v1/connections.ts
63
+ const connections = (api) => ({
64
+ /**
65
+ * Returns the caller's configured connections.
66
+ *
67
+ * @param params Optional filters. See `ListConnectionsQuerySchema` in
68
+ * `@keystroke/shared-types/connections` for the authoritative schema.
69
+ */
70
+ list: (params) => {
71
+ const searchParams = buildSearchParams(params);
72
+ return api.get("connections", searchParams ? { searchParams } : {}).json();
73
+ },
74
+ /**
75
+ * Starts a platform OAuth connect flow for an official integration.
76
+ * Wraps `POST /api/v1/connections/:integrationId/initiate`.
77
+ */
78
+ initiate: (integrationId, body) => {
79
+ const hasBody = body !== void 0 && Object.keys(body).length > 0;
80
+ return api.post(`connections/${integrationId}/initiate`, hasBody ? { json: body } : {}).json();
81
+ },
82
+ /**
83
+ * Polls OAuth completion for a connect attempt started with {@link initiate}.
84
+ * Wraps `GET /api/v1/connections/:integrationId/status`.
85
+ */
86
+ getStatus: (integrationId, params) => {
87
+ const searchParams = buildSearchParams({
88
+ since: params.since,
89
+ ...params.credentialConnectionId ? { credentialConnectionId: params.credentialConnectionId } : {}
90
+ });
91
+ return api.get(`connections/${integrationId}/status`, { searchParams }).json();
92
+ }
93
+ });
55
94
  //#endregion
56
95
  //#region ../../packages/workflow-sdk/src/v1/credential-definitions.ts
57
96
  const credentialDefinitions = (api) => {
@@ -533,6 +572,7 @@ function createClient(config = {}) {
533
572
  return {
534
573
  agents: agents(v1),
535
574
  admin: admin(v1),
575
+ cli: cli(v1),
536
576
  apiKeys: apiKeys(v1),
537
577
  public: publicApi(v1),
538
578
  bundles: bundles(v1),
@@ -554,4 +594,10 @@ function createClient(config = {}) {
554
594
  };
555
595
  }
556
596
  //#endregion
557
- export { createClient };
597
+ //#region ../../packages/workflow-sdk/src/index.ts
598
+ var src_exports = /* @__PURE__ */ __exportAll({
599
+ SDK_VERSION: () => SDK_VERSION,
600
+ createClient: () => createClient
601
+ });
602
+ //#endregion
603
+ export { createClient as n, src_exports as t };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { g as REAUTH_HINT, h as AUTH_HINT, p as ui } from "./keystroke.mjs";
4
- import { a as getApiKeyValidationStatus, c as resolveEffectiveOrganization, i as formatOrgSourceLabel, t as ORG_CONTEXT_HINT } from "./org-context-CNh2p2DP.mjs";
4
+ import { a as getApiKeyValidationStatus, c as resolveEffectiveOrganization, i as formatOrgSourceLabel, t as ORG_CONTEXT_HINT } from "./org-context-BAbQ9nhH.mjs";
5
5
  //#region src/commands/auth/status.handler.ts
6
6
  async function getLiveUser(ctx, validation) {
7
7
  if (!ctx.client || validation.kind !== "valid") return;
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { P as throwReportedCliExit, p as ui } from "./keystroke.mjs";
4
- import { n as credentials } from "./dist-B5jy238v.mjs";
5
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { c as resolveEffectiveOrganization, n as ORG_STORED_KEYS_HINT, t as ORG_CONTEXT_HINT } from "./org-context-CNh2p2DP.mjs";
4
+ import { n as credentials } from "./dist-rsDq3fTk.mjs";
5
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { c as resolveEffectiveOrganization, n as ORG_STORED_KEYS_HINT, t as ORG_CONTEXT_HINT } from "./org-context-BAbQ9nhH.mjs";
7
7
  import { select } from "@clack/prompts";
8
8
  //#region src/commands/org/switch.handler.ts
9
9
  async function handleOrgSwitch(_options, ctx) {
@@ -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/sync/sync.command.ts
6
6
  /**
@@ -32,7 +32,7 @@ function createSyncCommand() {
32
32
  description: "Sync local workflows with Keystroke",
33
33
  schema: SyncOptionsSchema,
34
34
  optionsConfig: SYNC_OPTIONS_CONFIG,
35
- loadHandler: async () => (await import("./sync.handler-x8v53-TT.mjs")).handleSync
35
+ loadHandler: async () => (await import("./sync.handler-B6p_PFqf.mjs")).handleSync
36
36
  });
37
37
  }
38
38
  //#endregion
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { L as logger, P as throwReportedCliExit, S as toErrorMessage, l as isLocalMode, p as ui } from "./keystroke.mjs";
4
- import { i as projects } from "./dist-B5jy238v.mjs";
5
- import { a as validateApiKey, i as requireClient } from "./context-Brc9VGV9.mjs";
6
- import { n as deployFromDir } from "./dist-BmbFJq8U.mjs";
7
- import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
8
- import { a as runWorkflowBuild, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-Db6at6IA.mjs";
9
- import { t as createBuildProgress } from "./build-progress-D_SQqdHA.mjs";
10
- import { t as createDeployProgress } from "./deploy-progress-BDOCSm_U.mjs";
4
+ import { i as projects } from "./dist-rsDq3fTk.mjs";
5
+ import { a as validateApiKey, i as requireClient } from "./context-DaBLwEWi.mjs";
6
+ import { n as deployFromDir } from "./dist-BpLSQDJX.mjs";
7
+ import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
8
+ import { a as runWorkflowBuild, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-BdjQ_VZx.mjs";
9
+ import { t as createBuildProgress } from "./build-progress-ClHW7cxW.mjs";
10
+ import { t as createDeployProgress } from "./deploy-progress-DccPUWfp.mjs";
11
11
  //#region src/commands/sync/sync.handler.ts
12
12
  async function handleSync(options, ctx) {
13
13
  try {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
4
- import { a as descriptionString, c as optionalDescriptionString, d as trimmedNonEmptyStringUnbounded, i as createStructuralSchema, n as credentialSetProxyConfigSchema, o as idNoSpacesString, s as jsonSchemaObject, t as CredentialSetManifestSchema, u as trimmedNonEmptyString } from "./schemas-ClAIoIrX.mjs";
4
+ import { a as descriptionString, c as optionalDescriptionString, d as trimmedNonEmptyStringUnbounded, i as createStructuralSchema, n as credentialSetProxyConfigSchema, o as idNoSpacesString, s as jsonSchemaObject, t as CredentialSetManifestSchema, u as trimmedNonEmptyString } from "./schemas-COSVuCFH.mjs";
5
5
  import { z } from "zod";
6
6
  import "node:crypto";
7
7
  const SHA256HashSchema = z.string().length(64, "Must be 64 characters").regex(/^[a-f0-9]{64}$/i, "Must be hexadecimal").transform((value) => value);
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { r as getKeystrokeProjectPath } from "./paths-DpHfoaXN-CdPimpky.mjs";
4
- import "./dist-B5jy238v.mjs";
5
- import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-I07NYwfH.mjs";
4
+ import "./dist-rsDq3fTk.mjs";
5
+ import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-C4dOpzvX.mjs";
6
6
  import path from "node:path";
7
7
  import { mkdir, writeFile } from "node:fs/promises";
8
8
  import { pathToFileURL } from "node:url";
@@ -111,7 +111,7 @@ async function buildTaskTargetFile(options) {
111
111
  return builtTasks;
112
112
  }
113
113
  async function bundleTaskTargetModule(options) {
114
- const [{ rolldown }, { createEnvAccessPlugin, formatEnvAccessError }] = await Promise.all([import("rolldown"), import("./detect-env-access-CwkOYeYM-r4aynBU0.mjs").then((n) => n.n).then((n) => n.n)]);
114
+ const [{ rolldown }, { createEnvAccessPlugin, formatEnvAccessError }] = await Promise.all([import("rolldown"), import("./detect-env-access-CwkOYeYM-CetSMqeq.mjs").then((n) => n.n).then((n) => n.n)]);
115
115
  const entryId = "\0virtual:task-target-entry";
116
116
  const trackedDependencies = /* @__PURE__ */ new Set();
117
117
  const envViolations = [];
@@ -218,7 +218,7 @@ async function attachTaskTargetTriggers(options) {
218
218
  options.artifact.triggers.push(...buildTaskTriggerArtifactsWithoutBundles(options.entry.taskMetadata.triggers, options.artifact.task.taskId, options.artifact.task.taskName));
219
219
  return [];
220
220
  }
221
- const { buildTriggerArtifacts } = await import("./trigger-artifacts-BcRScRSp-BRpU-He5.mjs").then((n) => n.n);
221
+ const { buildTriggerArtifacts } = await import("./trigger-artifacts-BcRScRSp-CbuG4AfM.mjs").then((n) => n.n);
222
222
  const triggerResult = await buildTriggerArtifacts(options.entry.taskMetadata.triggers, options.artifact.task.taskId, options.artifact.task.taskName, options.projectRoot, {
223
223
  workflowExportName: options.entry.source.localExportName,
224
224
  workflowFilePath: options.entry.runtimeBundlePath
@@ -319,7 +319,7 @@ function createPreparedTaskTarget(artifact, triggers) {
319
319
  };
320
320
  }
321
321
  async function tryParseTaskBuildManifest(manifest) {
322
- const { TaskBuildManifestSchema } = await import("./task-DTvLzUkA.mjs").then((n) => n.t);
322
+ const { TaskBuildManifestSchema } = await import("./task-DzwZiru5.mjs").then((n) => n.t);
323
323
  const result = TaskBuildManifestSchema.safeParse(manifest);
324
324
  return result.success ? result.data : null;
325
325
  }
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as deployTaskTargets } from "./task-target-deploy-dQYnMO8n-d2vdeqXH.mjs";
3
+ import { n as deployTaskTargets } from "./task-target-deploy-dQYnMO8n-Cx_r9Kzk.mjs";
4
4
  export { deployTaskTargets };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as SHA256HashSchema } from "./common-AK0q0Oz0.mjs";
3
+ import { n as SHA256HashSchema } from "./common-BcLVOrEe.mjs";
4
4
  import { createHash } from "node:crypto";
5
5
  //#region ../../packages/shared-types/src/deployments/api/snapshot-payload.ts
6
6
  function sortObjectKeysDeep(value) {
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { r as getKeystrokeProjectPath } from "./paths-DpHfoaXN-CdPimpky.mjs";
4
- import "./default-urls-BoSm4s9C.mjs";
5
- import "./dist-B5jy238v.mjs";
6
- import { n as findProjectRoot, t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
7
- import { t as resolveCliCredentials } from "./resolve-cli-credentials-GVOOedoQ.mjs";
4
+ import "./default-urls-jMHepw2q.mjs";
5
+ import "./dist-rsDq3fTk.mjs";
6
+ import { n as findProjectRoot, t as assertWorkflowProjectRoot } from "./project-config-VloWJirJ.mjs";
7
+ import { t as resolveCliCredentials } from "./resolve-cli-credentials-BecTgRE7.mjs";
8
8
  import path from "node:path";
9
9
  import { mkdir, readFile, writeFile } from "node:fs/promises";
10
10
  import { spawnSync } from "node:child_process";
@@ -119,7 +119,7 @@ function restartStage(options, projectRoot, stage) {
119
119
  }
120
120
  async function runBuildPhase(options, projectRoot) {
121
121
  const projectConfig = await assertWorkflowProjectRoot(projectRoot);
122
- const { buildTaskTargetEntries } = await import("./task-target-build-CtvRyVjH.mjs");
122
+ const { buildTaskTargetEntries } = await import("./task-target-build-bIN-ngtL.mjs");
123
123
  await writeBuildDescriptor(projectRoot, {
124
124
  projectRoot,
125
125
  projectConfig,
@@ -132,7 +132,7 @@ async function runBuildPhase(options, projectRoot) {
132
132
  }
133
133
  async function runPreparePhase(projectRoot) {
134
134
  const buildDescriptor = await readBuildDescriptor(projectRoot);
135
- const { prepareTaskTargetBuiltTasks } = await import("./task-target-build-CtvRyVjH.mjs");
135
+ const { prepareTaskTargetBuiltTasks } = await import("./task-target-build-bIN-ngtL.mjs");
136
136
  const prepareResult = await prepareTaskTargetBuiltTasks({
137
137
  builtTasks: buildDescriptor.builtTasks,
138
138
  projectRoot
@@ -163,11 +163,11 @@ async function resolveDeployAuthOptions(options) {
163
163
  }
164
164
  async function runDeployPhase(options, projectRoot) {
165
165
  const descriptor = await readDescriptor(projectRoot);
166
- const { createDeployClient } = await import("./deploy-BiKBH25R.mjs");
166
+ const { createDeployClient } = await import("./deploy-NSrCthrD.mjs");
167
167
  const client = createDeployClient(await resolveDeployAuthOptions(options));
168
168
  const auth = await client.public.auth.validate();
169
169
  if (auth.organizationId !== descriptor.projectConfig.organizationId) throw new Error(`Project organization mismatch: config=${descriptor.projectConfig.organizationId} auth=${auth.organizationId}`);
170
- const { deployTaskTargets } = await import("./task-target-deploy-m9LfE488.mjs");
170
+ const { deployTaskTargets } = await import("./task-target-deploy-DhlZNykk.mjs");
171
171
  const result = await deployTaskTargets({
172
172
  preparedTasks: descriptor.preparedTasks,
173
173
  client,
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BPydP5tG.mjs";
5
- import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
4
+ import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
5
+ import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
6
6
  import { z } from "zod";
7
7
  //#region src/commands/test/test.command.ts
8
8
  const TestOptionsSchema = JsonOptionSchema;
@@ -63,7 +63,7 @@ function createTestCommand() {
63
63
  description: "Agent tool name from the built manifest",
64
64
  key: "toolName"
65
65
  },
66
- loadHandler: async () => (await import("./tool.handler-DsbpocYI.mjs")).handleTestTool
66
+ loadHandler: async () => (await import("./tool.handler-wH-lWk7T.mjs")).handleTestTool
67
67
  })]
68
68
  });
69
69
  cmd.enablePositionalOptions();
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { p as ui } from "./keystroke.mjs";
4
- import { a as validateApiKey, i as requireClient } from "./context-Brc9VGV9.mjs";
4
+ import { a as validateApiKey, i as requireClient } from "./context-DaBLwEWi.mjs";
5
5
  //#region src/commands/auth/test.handler.ts
6
6
  async function handleAuthTest(_options, ctx) {
7
7
  const result = await validateApiKey(requireClient(ctx));
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { A as CliExitError, S as toErrorMessage, l as isLocalMode, p as ui } from "./keystroke.mjs";
4
- import { i as projects } from "./dist-B5jy238v.mjs";
5
- import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
6
- import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-Brc9VGV9.mjs";
7
- import { o as readWorkflowsFromDisk, s as uploadTestBundle } from "./dist-BmbFJq8U.mjs";
8
- import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
9
- import { a as runWorkflowBuild, t as WorkflowNotFoundError } from "./workflow-build-Db6at6IA.mjs";
10
- import { a as isUnknownSchema } from "./schema-display-sZ6ConJd.mjs";
11
- import { t as createBuildProgress } from "./build-progress-D_SQqdHA.mjs";
12
- import { t as withErrorBoundary } from "./error-boundary-D2DiCLAp.mjs";
13
- import { a as tryReadExistingInputSchema, n as resolveInput, o as validateInputOrExit, t as pollForCompletion } from "./run-polling-htHWhG0T.mjs";
14
- import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-BRCQgyWl.mjs";
4
+ import { i as projects } from "./dist-rsDq3fTk.mjs";
5
+ import { t as assertWorkflowProjectRoot } from "./project-config-VloWJirJ.mjs";
6
+ import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DaBLwEWi.mjs";
7
+ import { o as readWorkflowsFromDisk, s as uploadTestBundle } from "./dist-BpLSQDJX.mjs";
8
+ import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
9
+ import { a as runWorkflowBuild, t as WorkflowNotFoundError } from "./workflow-build-BdjQ_VZx.mjs";
10
+ import { a as isUnknownSchema } from "./schema-display-DKreWhh1.mjs";
11
+ import { t as createBuildProgress } from "./build-progress-ClHW7cxW.mjs";
12
+ import { t as withErrorBoundary } from "./error-boundary-IUSz7k4x.mjs";
13
+ import { a as tryReadExistingInputSchema, n as resolveInput, o as validateInputOrExit, t as pollForCompletion } from "./run-polling-DVis_pob.mjs";
14
+ import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-DpaMDcsV.mjs";
15
15
  //#region src/lib/format.ts
16
16
  function formatBytes(bytes) {
17
17
  if (bytes < 1024) return `${bytes} B`;
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, c as getProcessEnv, p as ui } from "./keystroke.mjs";
4
- import { t as Credentials } from "./dist-B5jy238v.mjs";
5
- import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
6
- import { i as writeJson } from "./output-BPydP5tG.mjs";
7
- import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-Brc9VGV9.mjs";
8
- import { a as readManifestsFromOutDir } from "./dist-BmbFJq8U.mjs";
9
- import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
10
- import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Db6at6IA.mjs";
4
+ import { t as Credentials } from "./dist-rsDq3fTk.mjs";
5
+ import { t as assertWorkflowProjectRoot } from "./project-config-VloWJirJ.mjs";
6
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
7
+ import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DaBLwEWi.mjs";
8
+ import { a as readManifestsFromOutDir } from "./dist-BpLSQDJX.mjs";
9
+ import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
10
+ import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-BdjQ_VZx.mjs";
11
11
  import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-CknsHF5T.mjs";
12
- import { n as resolveInput, o as validateInputOrExit, t as pollForCompletion } from "./run-polling-htHWhG0T.mjs";
12
+ import { n as resolveInput, o as validateInputOrExit, t as pollForCompletion } from "./run-polling-DVis_pob.mjs";
13
13
  import * as path$1 from "node:path";
14
14
  import path from "node:path";
15
15
  import * as os from "node:os";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as readOptionalJsonSchemaKeys } from "./declared-credential-requirements-B6h4WRv4.mjs";
4
- import { t as __exportAll } from "./rolldown-runtime-twds-ZHy-RuJszab7.mjs";
5
- import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-I07NYwfH.mjs";
6
- import { r as formatEnvAccessError, t as createEnvAccessPlugin } from "./detect-env-access-CwkOYeYM-r4aynBU0.mjs";
3
+ import { n as readOptionalJsonSchemaKeys } from "./declared-credential-requirements-D6KT-r-e.mjs";
4
+ import { t as __exportAll } from "./rolldown-runtime-twds-ZHy-BvwnxyIt.mjs";
5
+ import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-C4dOpzvX.mjs";
6
+ import { r as formatEnvAccessError, t as createEnvAccessPlugin } from "./detect-env-access-CwkOYeYM-CetSMqeq.mjs";
7
7
  import { createHash } from "node:crypto";
8
8
  import { rolldown } from "rolldown";
9
9
  //#region ../../packages/workflow-builder/dist/trigger-artifacts-BcRScRSp.mjs
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { t as JsonSchemaSchema } from "./common-AK0q0Oz0.mjs";
4
- import { c as TriggerSourceSchema, i as IdempotencyKeyConfigSchema, l as TriggerTypeSchema, s as TriggerCredentialRequirementsSchema } from "./credential-requirements-B5Alhu1v-DanlSKnT.mjs";
3
+ import { t as JsonSchemaSchema } from "./common-BcLVOrEe.mjs";
4
+ import { c as TriggerSourceSchema, i as IdempotencyKeyConfigSchema, l as TriggerTypeSchema, s as TriggerCredentialRequirementsSchema } from "./credential-requirements-B5Alhu1v-C26qMgU_.mjs";
5
5
  import { z } from "zod";
6
6
  //#region ../../packages/shared-types/src/workflows/build-output/trigger-manifest.ts
7
7
  const TriggerBuildFunctionSchema = z.object({
@@ -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 { t as PackageManagerValues } from "./package-manager-BwJ6muas.mjs";
5
5
  import { z } from "zod";
6
6
  //#region src/commands/upgrade/upgrade.command.ts
@@ -30,7 +30,7 @@ function createUpgradeCommand() {
30
30
  description: "Upgrade the Keystroke CLI to the latest published version",
31
31
  schema: UpgradeOptionsSchema,
32
32
  optionsConfig: UPGRADE_OPTIONS_CONFIG,
33
- loadHandler: async () => (await import("./upgrade.handler-DsFeAFF4.mjs")).handleUpgrade
33
+ loadHandler: async () => (await import("./upgrade.handler-COptE2fK.mjs")).handleUpgrade
34
34
  });
35
35
  }
36
36
  //#endregion
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { P as throwReportedCliExit, S as toErrorMessage, c as getProcessEnv, p as ui } from "./keystroke.mjs";
4
- import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
5
- import { a as writeJsonError, i as writeJson } from "./output-BPydP5tG.mjs";
6
- import { i as requireClient } from "./context-Brc9VGV9.mjs";
7
- import { a as readManifestsFromOutDir, t as collectCredentialFingerprintMapFromProjectDist } from "./dist-BmbFJq8U.mjs";
8
- import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
9
- import { t as getIntegrationCatalog } from "./integration-catalog-mZs6EAlN.mjs";
10
- import { t as readCredentialEnvMap } from "./credential-env-map-5a41jLwM.mjs";
11
- import { a as verifyCredentialResolvable, i as validateManualCredentialWithHook, n as resolveCredentialValuesFromEnv, r as uploadCredential, t as groupCredentialRequirements } from "./credentials-DtwLbee6.mjs";
12
- import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-CStYUB2h.mjs";
4
+ import { t as assertWorkflowProjectRoot } from "./project-config-VloWJirJ.mjs";
5
+ import { a as writeJsonError, i as writeJson } from "./output-C0pbsv39.mjs";
6
+ import { i as requireClient } from "./context-DaBLwEWi.mjs";
7
+ import { a as readManifestsFromOutDir, t as collectCredentialFingerprintMapFromProjectDist } from "./dist-BpLSQDJX.mjs";
8
+ import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
9
+ import { t as getIntegrationCatalog } from "./integration-catalog-DEHwWAO6.mjs";
10
+ import { t as readCredentialEnvMap } from "./credential-env-map-rXDibCDT.mjs";
11
+ import { a as verifyCredentialResolvable, i as validateManualCredentialWithHook, n as resolveCredentialValuesFromEnv, r as uploadCredential, t as groupCredentialRequirements } from "./credentials-Bud9r1JE.mjs";
12
+ import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-BvcO7KgE.mjs";
13
13
  import * as path$1 from "node:path";
14
14
  import { confirm, isCancel } from "@clack/prompts";
15
15
  //#region src/commands/credentials/upload/upload.handler.ts
@@ -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
  //#region src/commands/admin/users.get.handler.ts
8
8
  async function handleAdminUsersGet(options, ctx) {
9
9
  const client = requireClient(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 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/admin/users.list.handler.ts
9
9
  async function handleAdminUsersList(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 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";
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
7
  //#region src/commands/admin/users.set-role.handler.ts
8
8
  async function handleAdminUsersSetRole(options, ctx) {
9
9
  const client = requireClient(ctx);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { i as readProjectConfig } from "./project-config-DudGRFPO.mjs";
4
- import { h as resolveBuildOutputDir } from "./layout-B95Tku8F.mjs";
3
+ import { i as readProjectConfig } from "./project-config-VloWJirJ.mjs";
4
+ import { h as resolveBuildOutputDir } from "./layout-CqQq4MmI.mjs";
5
5
  import path from "node:path";
6
6
  //#region ../../packages/project-config/src/utils.ts
7
7
  function resolveConfiguredBuildOutputDir(projectRoot, buildConfig) {
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { P as throwReportedCliExit, S as toErrorMessage, p as ui } from "./keystroke.mjs";
4
- import { i as projects } from "./dist-B5jy238v.mjs";
5
- import { i as writeJson } from "./output-BPydP5tG.mjs";
6
- import { a as readManifestsFromOutDir } from "./dist-BmbFJq8U.mjs";
7
- import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
8
- import { c as build, s as typecheckWorkflows, t as WorkflowNotFoundError } from "./workflow-build-Db6at6IA.mjs";
9
- import { t as createBuildProgress } from "./build-progress-D_SQqdHA.mjs";
10
- import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-BRCQgyWl.mjs";
4
+ import { i as projects } from "./dist-rsDq3fTk.mjs";
5
+ import { i as writeJson } from "./output-C0pbsv39.mjs";
6
+ import { a as readManifestsFromOutDir } from "./dist-BpLSQDJX.mjs";
7
+ import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
8
+ import { c as build, s as typecheckWorkflows, t as WorkflowNotFoundError } from "./workflow-build-BdjQ_VZx.mjs";
9
+ import { t as createBuildProgress } from "./build-progress-ClHW7cxW.mjs";
10
+ import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-DpaMDcsV.mjs";
11
11
  import * as path$1 from "node:path";
12
12
  import * as os from "node:os";
13
13
  import { mkdtemp, readFile, readdir, rm } from "node:fs/promises";