@keystrokehq/cli 0.0.6 → 0.0.8

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 (142) hide show
  1. package/dist/{accept.handler-CudtwdDV.mjs → accept.handler-PpOOUemk.mjs} +3 -3
  2. package/dist/{admin-ByNq50FH.mjs → admin-Bhm7VkGG.mjs} +10 -10
  3. package/dist/{agents-DbekD_Vx.mjs → agents-DYP6fmGE.mjs} +8 -8
  4. package/dist/{api-keys-kvwq9Jb4.mjs → api-keys-CC5yevJn.mjs} +6 -6
  5. package/dist/{auth-DS3C07ib.mjs → auth-KRUcoMkk.mjs} +6 -6
  6. package/dist/{auth.handler-CbhiLOG1.mjs → auth.handler-BLU7LnW2.mjs} +3 -4
  7. package/dist/{build-agents-DfbiMZ_e-in-if4_C.mjs → build-agents-DfbiMZ_e-CLHxZKOg.mjs} +5 -5
  8. package/dist/{build-metadata-zidV9Cai-BAS0FMxT.mjs → build-metadata-zidV9Cai-BNC_-zub.mjs} +7 -7
  9. package/dist/{build-progress-Cn2j1LqF.mjs → build-progress-Mzsk4RKr.mjs} +2 -2
  10. package/dist/{build-tasks-O1jYtlv1-B2Dm4hFj.mjs → build-tasks-O1jYtlv1-Cr7vs_B_.mjs} +3 -3
  11. package/dist/{build-workflows-3fdvdHHf-Bg5XV7hM.mjs → build-workflows-3fdvdHHf-DnDmsKuG.mjs} +8 -8
  12. package/dist/{build.handler-BzQRnkC3.mjs → build.handler-CXqfqwho.mjs} +5 -5
  13. package/dist/{clear.handler-U9n_V1IM.mjs → clear.handler-DgIXlYTs.mjs} +2 -2
  14. package/dist/{commander-pxSPDCZ4.mjs → commander-Wr7RrODw.mjs} +3 -3
  15. package/dist/{connect-B_uc0wqI.mjs → connect-CbzAP3Zo.mjs} +3 -3
  16. package/dist/{connect.handler-VJgm2ZQG.mjs → connect.handler-BmOVKYSN.mjs} +5 -5
  17. package/dist/{context-D-YKFNxL.mjs → context-DT06adrn.mjs} +3 -4
  18. package/dist/{create.handler-d9nfcKfp.mjs → create.handler-BWaULspg.mjs} +3 -3
  19. package/dist/{credential-requirements-DjDFthio.mjs → credential-requirements-BCW8aQWS.mjs} +3 -3
  20. package/dist/{credential-schema-mismatch-B-wwbCvw.mjs → credential-schema-mismatch-C-4kBAFw.mjs} +1 -1
  21. package/dist/{credentials-CL_PCuhM.mjs → credentials-BpfWiGuG.mjs} +7 -7
  22. package/dist/{credentials-DHlK_O4L.mjs → credentials-DAQfKqn0.mjs} +7 -7
  23. package/dist/{current-deployment-workflow-BRYuEubW.mjs → current-deployment-workflow-C5oiOVsx.mjs} +6 -6
  24. package/dist/{current.handler-vJG2Dohx.mjs → current.handler-CUVgMZ-O.mjs} +1 -1
  25. package/dist/{declared-credential-requirements-Bwlb-KZE.mjs → declared-credential-requirements-BtlcsEVn.mjs} +1 -1
  26. package/dist/{delete.handler-RsYTkJLV.mjs → delete.handler-CzW7Rm5M.mjs} +2 -2
  27. package/dist/{deploy-BE3F62Mz.mjs → deploy-B7BCgf_y.mjs} +2 -2
  28. package/dist/{deploy-B_bkUlIL.mjs → deploy-CHfWGM32.mjs} +1 -1
  29. package/dist/{deploy-progress-CZ2rPlOj.mjs → deploy-progress-BkpuGfGt.mjs} +1 -1
  30. package/dist/{deploy.handler-Dlyd8Zqs.mjs → deploy.handler-BLp-JNV2.mjs} +17 -18
  31. package/dist/{detect-env-access-CwkOYeYM-CsrSOCcj.mjs → detect-env-access-CwkOYeYM-KtEle6I3.mjs} +1 -1
  32. package/dist/{diff-utils-DWNcRA8g.mjs → diff-utils-D1jYu6ny.mjs} +1 -1
  33. package/dist/{diff.handler-CH0xP8pk.mjs → diff.handler-zVbHzE1Q.mjs} +5 -5
  34. package/dist/{dist-C2Dq_nx3.mjs → dist-DvO0q6Fo.mjs} +12 -12
  35. package/dist/{env.handler-BkCO2vjR.mjs → env.handler-CqfOZEou.mjs} +8 -8
  36. package/dist/{error-boundary-B9PgBkv8.mjs → error-boundary-D6KTx1HL.mjs} +3 -3
  37. package/dist/{file-metadata-CdFXMMIw.mjs → file-metadata-BvGM-B2v.mjs} +1 -1
  38. package/dist/{iam-command-utils-CNC8JfZ5.mjs → iam-command-utils-B5G-N3Hx.mjs} +2 -2
  39. package/dist/{import-module-DDPnzlJ1-CYJD2n2b.mjs → import-module-DDPnzlJ1-BIBSgOhK.mjs} +8 -8
  40. package/dist/{init-BXwx0QA4.mjs → init-DwVARQud.mjs} +2 -2
  41. package/dist/{init.handler-Cs5YXM5Z.mjs → init.handler-HsCte00n.mjs} +5 -5
  42. package/dist/{inspect.handler-DRMKUJsh.mjs → inspect.handler-CcyFNUJP.mjs} +5 -5
  43. package/dist/{integration-catalog-ClP7YGqM.mjs → integration-catalog-4T5Yad-n.mjs} +3 -3
  44. package/dist/{integrations-CoBzLNEe.mjs → integrations-DCMkBcjI.mjs} +5 -5
  45. package/dist/{invites-BmNy1RHp.mjs → invites-DpJjZznC.mjs} +5 -5
  46. package/dist/{invites.list.handler-ICP2V3p4.mjs → invites.list.handler-CBtOq8W4.mjs} +3 -3
  47. package/dist/{invites.resend.handler-BGaTTMka.mjs → invites.resend.handler-D-E2NxY1.mjs} +3 -3
  48. package/dist/{invites.revoke.handler-DBwF5Lxc.mjs → invites.revoke.handler-DFTxBZcm.mjs} +3 -3
  49. package/dist/keystroke.mjs +276 -28
  50. package/dist/{list-enrichment-CTqx0Rk_.mjs → list-enrichment-Bou_BqL0.mjs} +2 -2
  51. package/dist/{list.handler-Vv9KmhB9.mjs → list.handler-BFjtABDv.mjs} +4 -4
  52. package/dist/{list.handler-B2bN8NsQ.mjs → list.handler-BHmG2GY8.mjs} +1 -1
  53. package/dist/{list.handler-DO0PnyWP.mjs → list.handler-BWGnEnM8.mjs} +3 -3
  54. package/dist/{list.handler-b4qYQtwn.mjs → list.handler-CXT-te4G.mjs} +3 -3
  55. package/dist/{list.handler-BXTGPazY.mjs → list.handler-Val6EmGK.mjs} +5 -5
  56. package/dist/{list.handler-BjihvxHn.mjs → list.handler-fGaEAMUZ.mjs} +7 -8
  57. package/dist/{list.handler-rnyzLJDy.mjs → list.handler-gjAg1aM6.mjs} +3 -3
  58. package/dist/{listen-DVV1fp5c.mjs → listen-C_YrC5Go.mjs} +3 -3
  59. package/dist/{listen.handler-CyFpUSOu.mjs → listen.handler-BKfcYsfv.mjs} +4 -4
  60. package/dist/{logs-BRticZ00.mjs → logs-C1f6RjQ7.mjs} +3 -3
  61. package/dist/{logs.handler-CsnG7Bb0.mjs → logs.handler-BNFUmakA.mjs} +4 -4
  62. package/dist/{logs.handler-ddQu_MXN.mjs → logs.handler-CB2FtCvP.mjs} +1 -1
  63. package/dist/{members.add.handler-CH0RhbgE.mjs → members.add.handler-BXldE_ec.mjs} +3 -3
  64. package/dist/{members.invite.handler-CYB7RQ9A.mjs → members.invite.handler-CWFsj5Gz.mjs} +3 -3
  65. package/dist/{members.list.handler-DrDtmMei.mjs → members.list.handler-DFg6VThp.mjs} +3 -3
  66. package/dist/{members.remove.handler-uGoZt2Me.mjs → members.remove.handler-lStbH_4M.mjs} +3 -3
  67. package/dist/{members.update.handler-DXCWkzOc.mjs → members.update.handler-CzcdsbtG.mjs} +3 -3
  68. package/dist/{normalize-path-CojS-CgQ-BKRFUzWW.mjs → normalize-path-CojS-CgQ-D_WTiHKw.mjs} +1 -1
  69. package/dist/{org-GdHhuSNk.mjs → org-8Dsab2dz.mjs} +16 -16
  70. package/dist/{orgs.create.handler-5AaPgTZV.mjs → orgs.create.handler-CiYGUXBZ.mjs} +3 -3
  71. package/dist/{orgs.get.handler-BTfopRVm.mjs → orgs.get.handler-BgFsnpme.mjs} +3 -3
  72. package/dist/{orgs.list.handler-DKJgs6x0.mjs → orgs.list.handler-BuyOTc8K.mjs} +3 -3
  73. package/dist/{output-q4KljAhu.mjs → output-BCDZb3Gy.mjs} +1 -1
  74. package/dist/{paused.handler-BUifVTyQ.mjs → paused.handler-wgaf8sse.mjs} +3 -3
  75. package/dist/{projects-BjnCG-pc.mjs → projects-CZbAqlPQ.mjs} +5 -5
  76. package/dist/{projects-Bdl6-Z8l.mjs → projects-DN7dX6nN.mjs} +2 -2
  77. package/dist/{register.handler-WzpvVXHx.mjs → register.handler-BA6p-TmU.mjs} +2 -2
  78. package/dist/{requirements.handler-coArDE8x.mjs → requirements.handler-DI4mgZ2l.mjs} +7 -8
  79. package/dist/{resolve-project-DgfftdPm.mjs → resolve-project-BREjwFKO.mjs} +2 -2
  80. package/dist/{runs-2BdRfql3.mjs → runs-C7uqumfa.mjs} +4 -4
  81. package/dist/{schemas-DsvCZfF0.mjs → schemas-9FmGqrPT.mjs} +2 -2
  82. package/dist/{skills-sync.handler-CwwnzDiO.mjs → skills-sync.handler-CuuCiUGT.mjs} +3 -3
  83. package/dist/{skills.command-C2NXqc5h.mjs → skills.command-23jSicQp.mjs} +4 -4
  84. package/dist/{source-analysis-DEEChuND-eixwPnPP.mjs → source-analysis-DEEChuND-Csu0oOlw.mjs} +3 -3
  85. package/dist/{spinner-progress-bvKd1jXc.mjs → spinner-progress-BB2EHL-l.mjs} +1 -1
  86. package/dist/{src-CBL7AJ0H.mjs → src--fCtOxNX.mjs} +1 -1
  87. package/dist/{status.handler-D9GBEmao.mjs → status.handler-Bh0MtNu1.mjs} +1 -1
  88. package/dist/{switch.handler-DV0wiJP8.mjs → switch.handler-CSOycIbR.mjs} +2 -2
  89. package/dist/{sync-D098Vbv2.mjs → sync-Pzb3od7n.mjs} +2 -2
  90. package/dist/{sync.handler-BocldSG_.mjs → sync.handler-bEzSgeTW.mjs} +7 -8
  91. package/dist/{task-DsrXI6XH.mjs → task-1qz1XNq7.mjs} +4 -4
  92. package/dist/{task-target-build-Di8gflnj.mjs → task-target-build-BA67W_6d.mjs} +4 -4
  93. package/dist/{task-target-deploy-Bf5i3ox1-BU16VPsE.mjs → task-target-deploy-Bf5i3ox1-2K0hAwzk.mjs} +1 -1
  94. package/dist/{task-target-deploy-BzGRNDiv.mjs → task-target-deploy-DqX7bJ55.mjs} +1 -1
  95. package/dist/task-target-deploy-runner.mjs +5 -5
  96. package/dist/{test-BZt0Duhs.mjs → test-B4uana86.mjs} +13 -14
  97. package/dist/{test.handler-iCUotLes.mjs → test.handler-Duqj67Qi.mjs} +1 -1
  98. package/dist/{trigger-artifacts-B3OCTX9K-Cgt51KLh.mjs → trigger-artifacts-B3OCTX9K-37Ca-ELC.mjs} +4 -4
  99. package/dist/{trigger-manifest-CXD9I7Rb.mjs → trigger-manifest-B3Gq1739.mjs} +1 -1
  100. package/dist/{try-deploy.handler-YDOirkk1.mjs → try-deploy.handler-BCvwi1jc.mjs} +10 -11
  101. package/dist/{upgrade-Bdez-X6_.mjs → upgrade-Bp9gnslY.mjs} +2 -2
  102. package/dist/{upgrade.handler-DhH_Cuza.mjs → upgrade.handler-D82k9CHa.mjs} +1 -1
  103. package/dist/{upload.handler-BmqZAPxZ.mjs → upload.handler-BMJiaCzk.mjs} +10 -11
  104. package/dist/{users.get.handler-uoEgEwI-.mjs → users.get.handler-eJtaB-2G.mjs} +3 -3
  105. package/dist/{users.list.handler-DLWPOIHD.mjs → users.list.handler-DE6s08i0.mjs} +3 -3
  106. package/dist/{users.set-role.handler-BCJhTsyb.mjs → users.set-role.handler-BVNvaKKS.mjs} +3 -3
  107. package/dist/{utils-DlYHjGg9.mjs → utils-C_qCshBA.mjs} +2 -2
  108. package/dist/{validate.handler-ROzzUI85.mjs → validate.handler-BiToUknO.mjs} +5 -5
  109. package/dist/{workflow-build-DD8TLlPu.mjs → workflow-build-KCdasPyU.mjs} +21 -21
  110. package/dist/{workflow-bundler-BzHk73PM-Bt-poFqX.mjs → workflow-bundler-BzHk73PM-C1NWDEju.mjs} +2 -2
  111. package/dist/{workflow-manifest-CAW5FlX0.mjs → workflow-manifest-BfL74mjp.mjs} +4 -4
  112. package/dist/{workflows-DypSJM0t.mjs → workflows-Bhd_vuCI.mjs} +16 -16
  113. package/dist/{writer-CtvttJdP-DrJruQgR.mjs → writer-CtvttJdP-DZJ0mZCm.mjs} +5 -5
  114. package/package.json +4 -4
  115. package/dist/env-YTZGKGIu.mjs +0 -139
  116. package/dist/{agent-bundle-package-DWV6B_5q-FPT0bJaA.mjs → agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs} +0 -0
  117. package/dist/{agent-manifest-Bfa3DBgc.mjs → agent-manifest-sJFbH5H8.mjs} +0 -0
  118. package/dist/{browser-gddMccBQ.mjs → browser-CvuyMLhI.mjs} +0 -0
  119. package/dist/{clear-cache.handler-BDV-a3ku.mjs → clear-cache.handler-BuSx_ZDn.mjs} +0 -0
  120. package/dist/{clear.handler-Dh6QoVO1.mjs → clear.handler-BC6pz0x-.mjs} +0 -0
  121. package/dist/{common-BrVAdUyD.mjs → common-B3bLe3Mk.mjs} +0 -0
  122. package/dist/{concurrency-gXn9Rw8x-BTlfau8D.mjs → concurrency-gXn9Rw8x-CnBnF2cg.mjs} +0 -0
  123. package/dist/{constants-DHdiT5hc.mjs → constants-BUgIAu2a.mjs} +0 -0
  124. package/dist/{credential-env-map-C8P7uTD-.mjs → credential-env-map-C23GV6LN.mjs} +0 -0
  125. package/dist/{get-intrinsic-ZMBBjBEr.mjs → get-intrinsic-BjqiGgLt.mjs} +0 -0
  126. package/dist/{hosted-action-dispatcher-registry-TOVzMhUR.mjs → hosted-action-dispatcher-registry-BWEtn13o.mjs} +0 -0
  127. package/dist/{layout-B95Tku8F.mjs → layout-CXkZEsXI.mjs} +0 -0
  128. package/dist/{metadata-layout-C6ed-9dl-aBmqqvD5.mjs → metadata-layout-C6ed-9dl-C6Bylr_z.mjs} +0 -0
  129. package/dist/{options-BhB9qA5P.mjs → options-CIVqkc8V.mjs} +0 -0
  130. package/dist/{oxc-B3KI3rf_-BeimiQ2U.mjs → oxc-B3KI3rf_-ghZc3xZ5.mjs} +0 -0
  131. package/dist/{project-config-opj6DsPF.mjs → project-config-D9eFU8Jk.mjs} +1 -1
  132. /package/dist/{read-credential-keys-77a91T8M-aLuQvlIq.mjs → read-credential-keys-77a91T8M-DMmY6oDW.mjs} +0 -0
  133. /package/dist/{rolldown-runtime-twds-ZHy-8uqgIurC.mjs → rolldown-runtime-twds-ZHy-RuJszab7.mjs} +0 -0
  134. /package/dist/{run-polling-CF9OeLWl.mjs → run-polling-DDpkIvwy.mjs} +0 -0
  135. /package/dist/{schedule-BRN4hzQM.mjs → schedule-BWAI6qLx.mjs} +0 -0
  136. /package/dist/{schema-kbMHVnhm.mjs → schema-B-Wgo4rJ.mjs} +0 -0
  137. /package/dist/{schema-Di90TXoX.mjs → schema-BgGlAs8a.mjs} +0 -0
  138. /package/dist/{schema-display-D4A1gQEM.mjs → schema-display-DuWBmkwk.mjs} +0 -0
  139. /package/dist/{skills.handler-BTUhxO37.mjs → skills.handler-BQ3Qfej3.mjs} +0 -0
  140. /package/dist/{source-analysis-BspLa3E5.mjs → source-analysis-CHkWMC40.mjs} +0 -0
  141. /package/dist/{sync-keystroke-agent-skills-CBMQ4fh_.mjs → sync-keystroke-agent-skills-D746f2W_.mjs} +0 -0
  142. /package/dist/{upload-B8fiWveA.mjs → upload-C1qFWMm0.mjs} +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  import "./default-urls-BS4twrsS.mjs";
4
4
  import { l as resolveAuthOptions } from "./dist-BF6r1hfv.mjs";
5
- import { n as findProjectRoot, t as assertWorkflowProjectRoot } from "./project-config-opj6DsPF.mjs";
5
+ import { n as findProjectRoot, t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
6
6
  import { mkdir, readFile, writeFile } from "node:fs/promises";
7
7
  import path from "node:path";
8
8
  import { spawnSync } from "node:child_process";
@@ -116,7 +116,7 @@ function restartStage(options, projectRoot, stage) {
116
116
  }
117
117
  async function runBuildPhase(options, projectRoot) {
118
118
  const projectConfig = await assertWorkflowProjectRoot(projectRoot);
119
- const { buildTaskTargetEntries } = await import("./task-target-build-Di8gflnj.mjs");
119
+ const { buildTaskTargetEntries } = await import("./task-target-build-BA67W_6d.mjs");
120
120
  await writeBuildDescriptor(projectRoot, {
121
121
  projectRoot,
122
122
  projectConfig,
@@ -129,7 +129,7 @@ async function runBuildPhase(options, projectRoot) {
129
129
  }
130
130
  async function runPreparePhase(projectRoot) {
131
131
  const buildDescriptor = await readBuildDescriptor(projectRoot);
132
- const { prepareTaskTargetBuiltTasks } = await import("./task-target-build-Di8gflnj.mjs");
132
+ const { prepareTaskTargetBuiltTasks } = await import("./task-target-build-BA67W_6d.mjs");
133
133
  const prepareResult = await prepareTaskTargetBuiltTasks({
134
134
  builtTasks: buildDescriptor.builtTasks,
135
135
  projectRoot
@@ -158,11 +158,11 @@ async function resolveDeployAuthOptions(options) {
158
158
  }
159
159
  async function runDeployPhase(options, projectRoot) {
160
160
  const descriptor = await readDescriptor(projectRoot);
161
- const { createDeployClient } = await import("./deploy-B_bkUlIL.mjs");
161
+ const { createDeployClient } = await import("./deploy-CHfWGM32.mjs");
162
162
  const client = createDeployClient(await resolveDeployAuthOptions(options));
163
163
  const auth = await client.public.auth.validate();
164
164
  if (auth.organizationId !== descriptor.projectConfig.organizationId) throw new Error(`Project organization mismatch: config=${descriptor.projectConfig.organizationId} auth=${auth.organizationId}`);
165
- const { deployTaskTargets } = await import("./task-target-deploy-BzGRNDiv.mjs");
165
+ const { deployTaskTargets } = await import("./task-target-deploy-DqX7bJ55.mjs");
166
166
  const result = await deployTaskTargets({
167
167
  preparedTasks: descriptor.preparedTasks,
168
168
  client,
@@ -1,24 +1,23 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { C as CliExitError, D as throwReportedCliExit, h as toErrorMessage, t as ui } from "./keystroke.mjs";
3
+ import { M as throwReportedCliExit, O as CliExitError, b as toErrorMessage, i as getProcessEnv, t as ui } from "./keystroke.mjs";
4
4
  import { l as resolveAuthOptions } from "./dist-BF6r1hfv.mjs";
5
- import { t as assertWorkflowProjectRoot } from "./project-config-opj6DsPF.mjs";
6
- import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-q4KljAhu.mjs";
7
- import { t as createTypedCommand } from "./commander-pxSPDCZ4.mjs";
8
- import { n as getProcessEnv } from "./env-YTZGKGIu.mjs";
9
- import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-D-YKFNxL.mjs";
10
- import { a as readManifestsFromOutDir } from "./dist-C2Dq_nx3.mjs";
11
- import { t as requireWorkflowsDir } from "./resolve-project-DgfftdPm.mjs";
12
- import { a as registerHostedActionDispatcher, c as registerOperationCredentialResolver, f as registerOperationContext, g as getOfficialIntegrationMetadata, h as registerRuntime, n as clearHostedActionExecutionPolicy, o as registerHostedActionExecutionPolicy, p as clearRuntime, s as clearOperationCredentialResolver, t as clearHostedActionDispatcher, u as clearOperationContext } from "./hosted-action-dispatcher-registry-TOVzMhUR.mjs";
13
- import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-DD8TLlPu.mjs";
14
- import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-BRYuEubW.mjs";
15
- import { n as WorkflowsRunOptionsSchema, t as RUN_OPTIONS_CONFIG } from "./options-BhB9qA5P.mjs";
16
- import { a as validateInputOrExit, i as resolveInput, r as pollForCompletion, t as handleWorkflowsTryDeploy } from "./try-deploy.handler-YDOirkk1.mjs";
5
+ import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
6
+ import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BCDZb3Gy.mjs";
7
+ import { t as createTypedCommand } from "./commander-Wr7RrODw.mjs";
8
+ import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DT06adrn.mjs";
9
+ import { a as readManifestsFromOutDir } from "./dist-DvO0q6Fo.mjs";
10
+ import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
11
+ import { a as registerHostedActionDispatcher, c as registerOperationCredentialResolver, f as registerOperationContext, g as getOfficialIntegrationMetadata, h as registerRuntime, n as clearHostedActionExecutionPolicy, o as registerHostedActionExecutionPolicy, p as clearRuntime, s as clearOperationCredentialResolver, t as clearHostedActionDispatcher, u as clearOperationContext } from "./hosted-action-dispatcher-registry-BWEtn13o.mjs";
12
+ import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-KCdasPyU.mjs";
13
+ import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-C5oiOVsx.mjs";
14
+ import { n as WorkflowsRunOptionsSchema, t as RUN_OPTIONS_CONFIG } from "./options-CIVqkc8V.mjs";
15
+ import { a as validateInputOrExit, i as resolveInput, r as pollForCompletion, t as handleWorkflowsTryDeploy } from "./try-deploy.handler-BCvwi1jc.mjs";
17
16
  import { mkdtemp, rm, writeFile } from "node:fs/promises";
18
17
  import { tmpdir } from "node:os";
19
18
  import path from "node:path";
20
- import { z } from "zod";
21
19
  import { pathToFileURL } from "node:url";
20
+ import { z } from "zod";
22
21
  //#region ../../packages/core/src/test-runtime/credentials/env-resolver.ts
23
22
  /**
24
23
  * Computes the env var name for a credential key.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { t as ui } from "./keystroke.mjs";
4
- import { a as validateApiKey, i as requireClient } from "./context-D-YKFNxL.mjs";
4
+ import { a as validateApiKey, i as requireClient } from "./context-DT06adrn.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,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as readOptionalJsonSchemaKeys } from "./declared-credential-requirements-Bwlb-KZE.mjs";
4
- import { t as __exportAll } from "./rolldown-runtime-twds-ZHy-8uqgIurC.mjs";
5
- import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-aLuQvlIq.mjs";
6
- import { r as formatEnvAccessError, t as createEnvAccessPlugin } from "./detect-env-access-CwkOYeYM-CsrSOCcj.mjs";
3
+ import { n as readOptionalJsonSchemaKeys } from "./declared-credential-requirements-BtlcsEVn.mjs";
4
+ import { t as __exportAll } from "./rolldown-runtime-twds-ZHy-RuJszab7.mjs";
5
+ import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-DMmY6oDW.mjs";
6
+ import { r as formatEnvAccessError, t as createEnvAccessPlugin } from "./detect-env-access-CwkOYeYM-KtEle6I3.mjs";
7
7
  import { createHash } from "node:crypto";
8
8
  import { rolldown } from "rolldown";
9
9
  //#region ../../packages/workflow-builder/dist/trigger-artifacts-B3OCTX9K.mjs
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { c as TriggerTypeSchema, o as TriggerCredentialRequirementsSchema, s as TriggerSourceSchema, u as WebhookMethodSchema } from "./credential-requirements-DjDFthio.mjs";
3
+ import { c as TriggerTypeSchema, o as TriggerCredentialRequirementsSchema, s as TriggerSourceSchema, u as WebhookMethodSchema } from "./credential-requirements-BCW8aQWS.mjs";
4
4
  import { z } from "zod";
5
5
  //#region ../../packages/shared-types/src/workflows/build-output/trigger-manifest.ts
6
6
  const TriggerBuildFunctionSchema = z.object({
@@ -1,18 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
4
- import { C as CliExitError, h as toErrorMessage, t as ui, w as InputValidationError } from "./keystroke.mjs";
4
+ import { O as CliExitError, a as isLocalMode, b as toErrorMessage, k as InputValidationError, t as ui } from "./keystroke.mjs";
5
5
  import { d as trackProject } from "./dist-BF6r1hfv.mjs";
6
- import { t as assertWorkflowProjectRoot } from "./project-config-opj6DsPF.mjs";
7
- import { r as isLocalMode } from "./env-YTZGKGIu.mjs";
8
- import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-D-YKFNxL.mjs";
9
- import { a as readManifestsFromOutDir, o as readWorkflowsFromDisk, s as uploadTestBundle } from "./dist-C2Dq_nx3.mjs";
10
- import { t as requireWorkflowsDir } from "./resolve-project-DgfftdPm.mjs";
11
- import { a as runWorkflowBuild, t as WorkflowNotFoundError } from "./workflow-build-DD8TLlPu.mjs";
12
- import { a as validateRequiredFields, n as formatValidationError, r as isUnknownSchema, t as formatMissingInputError } from "./schema-display-D4A1gQEM.mjs";
13
- import { t as createBuildProgress } from "./build-progress-Cn2j1LqF.mjs";
14
- import { t as withErrorBoundary } from "./error-boundary-B9PgBkv8.mjs";
15
- import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-CF9OeLWl.mjs";
6
+ import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
7
+ import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DT06adrn.mjs";
8
+ import { a as readManifestsFromOutDir, o as readWorkflowsFromDisk, s as uploadTestBundle } from "./dist-DvO0q6Fo.mjs";
9
+ import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
10
+ import { a as runWorkflowBuild, t as WorkflowNotFoundError } from "./workflow-build-KCdasPyU.mjs";
11
+ import { a as validateRequiredFields, n as formatValidationError, r as isUnknownSchema, t as formatMissingInputError } from "./schema-display-DuWBmkwk.mjs";
12
+ import { t as createBuildProgress } from "./build-progress-Mzsk4RKr.mjs";
13
+ import { t as withErrorBoundary } from "./error-boundary-D6KTx1HL.mjs";
14
+ import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-DDpkIvwy.mjs";
16
15
  import * as fs from "node:fs/promises";
17
16
  import * as path$1 from "node:path";
18
17
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { t as createTypedCommand } from "./commander-pxSPDCZ4.mjs";
3
+ import { t as createTypedCommand } from "./commander-Wr7RrODw.mjs";
4
4
  import { z } from "zod";
5
5
  //#region src/commands/upgrade/upgrade.command.ts
6
6
  const PackageManagerSchema = z.enum([
@@ -34,7 +34,7 @@ function createUpgradeCommand() {
34
34
  description: "Upgrade the Keystroke CLI to the latest published version",
35
35
  schema: UpgradeOptionsSchema,
36
36
  optionsConfig: UPGRADE_OPTIONS_CONFIG,
37
- loadHandler: async () => (await import("./upgrade.handler-DhH_Cuza.mjs")).handleUpgrade
37
+ loadHandler: async () => (await import("./upgrade.handler-D82k9CHa.mjs")).handleUpgrade
38
38
  });
39
39
  }
40
40
  //#endregion
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { D as throwReportedCliExit, h as toErrorMessage, t as ui } from "./keystroke.mjs";
3
+ import { M as throwReportedCliExit, b as toErrorMessage, t as ui } from "./keystroke.mjs";
4
4
  import { spawn } from "node:child_process";
5
5
  //#region src/commands/upgrade/upgrade.handler.ts
6
6
  const CLI_PACKAGE_NAME = "@keystrokehq/cli";
@@ -1,16 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { D as throwReportedCliExit, h as toErrorMessage, t as ui } from "./keystroke.mjs";
4
- import { t as assertWorkflowProjectRoot } from "./project-config-opj6DsPF.mjs";
5
- import { a as writeJsonError, i as writeJson } from "./output-q4KljAhu.mjs";
6
- import { n as getProcessEnv } from "./env-YTZGKGIu.mjs";
7
- import { i as requireClient } from "./context-D-YKFNxL.mjs";
8
- import { a as readManifestsFromOutDir, t as collectCredentialFingerprintMapFromProjectDist } from "./dist-C2Dq_nx3.mjs";
9
- import { t as requireWorkflowsDir } from "./resolve-project-DgfftdPm.mjs";
10
- import { a as verifyCredentialResolvable, i as validateManualCredentialWithHook, n as resolveCredentialValuesFromEnv, r as uploadCredential, t as groupCredentialRequirements } from "./credentials-DHlK_O4L.mjs";
11
- import { t as getIntegrationCatalog } from "./integration-catalog-ClP7YGqM.mjs";
12
- import { t as readCredentialEnvMap } from "./credential-env-map-C8P7uTD-.mjs";
13
- import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-B-wwbCvw.mjs";
3
+ import { M as throwReportedCliExit, b as toErrorMessage, i as getProcessEnv, t as ui } from "./keystroke.mjs";
4
+ import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
5
+ import { a as writeJsonError, i as writeJson } from "./output-BCDZb3Gy.mjs";
6
+ import { i as requireClient } from "./context-DT06adrn.mjs";
7
+ import { a as readManifestsFromOutDir, t as collectCredentialFingerprintMapFromProjectDist } from "./dist-DvO0q6Fo.mjs";
8
+ import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
9
+ import { a as verifyCredentialResolvable, i as validateManualCredentialWithHook, n as resolveCredentialValuesFromEnv, r as uploadCredential, t as groupCredentialRequirements } from "./credentials-DAQfKqn0.mjs";
10
+ import { t as getIntegrationCatalog } from "./integration-catalog-4T5Yad-n.mjs";
11
+ import { t as readCredentialEnvMap } from "./credential-env-map-C23GV6LN.mjs";
12
+ import { n as renderCredentialSchemaMismatchText, r as writeCredentialSchemaMismatchJson, t as isCredentialSchemaMismatchErrorLike } from "./credential-schema-mismatch-C-4kBAFw.mjs";
14
13
  import * as path$1 from "node:path";
15
14
  import { confirm, isCancel } from "@clack/prompts";
16
15
  //#region src/commands/credentials/upload/upload.handler.ts
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { t as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-q4KljAhu.mjs";
5
- import { i as requireClient } from "./context-D-YKFNxL.mjs";
6
- import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CNC8JfZ5.mjs";
4
+ import { i as writeJson } from "./output-BCDZb3Gy.mjs";
5
+ import { i as requireClient } from "./context-DT06adrn.mjs";
6
+ import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-B5G-N3Hx.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 { t as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-q4KljAhu.mjs";
5
- import { i as requireClient } from "./context-D-YKFNxL.mjs";
6
- import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CNC8JfZ5.mjs";
4
+ import { i as writeJson } from "./output-BCDZb3Gy.mjs";
5
+ import { i as requireClient } from "./context-DT06adrn.mjs";
6
+ import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-B5G-N3Hx.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 { t as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-q4KljAhu.mjs";
5
- import { i as requireClient } from "./context-D-YKFNxL.mjs";
6
- import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CNC8JfZ5.mjs";
4
+ import { i as writeJson } from "./output-BCDZb3Gy.mjs";
5
+ import { i as requireClient } from "./context-DT06adrn.mjs";
6
+ import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-B5G-N3Hx.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-opj6DsPF.mjs";
4
- import { h as resolveBuildOutputDir } from "./layout-B95Tku8F.mjs";
3
+ import { i as readProjectConfig } from "./project-config-D9eFU8Jk.mjs";
4
+ import { h as resolveBuildOutputDir } from "./layout-CXkZEsXI.mjs";
5
5
  import path from "node:path";
6
6
  //#region ../../packages/project-config/src/utils.ts
7
7
  function resolveConfiguredBuildOutputDir(projectRoot, buildConfig) {
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { D as throwReportedCliExit, h as toErrorMessage, t as ui } from "./keystroke.mjs";
3
+ import { M as throwReportedCliExit, b as toErrorMessage, t as ui } from "./keystroke.mjs";
4
4
  import { d as trackProject } from "./dist-BF6r1hfv.mjs";
5
- import { i as writeJson } from "./output-q4KljAhu.mjs";
6
- import { t as requireWorkflowsDir } from "./resolve-project-DgfftdPm.mjs";
7
- import { s as build, t as WorkflowNotFoundError } from "./workflow-build-DD8TLlPu.mjs";
8
- import { t as createBuildProgress } from "./build-progress-Cn2j1LqF.mjs";
5
+ import { i as writeJson } from "./output-BCDZb3Gy.mjs";
6
+ import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
7
+ import { s as build, t as WorkflowNotFoundError } from "./workflow-build-KCdasPyU.mjs";
8
+ import { t as createBuildProgress } from "./build-progress-Mzsk4RKr.mjs";
9
9
  import { mkdtemp, rm } from "node:fs/promises";
10
10
  import * as os from "node:os";
11
11
  import * as path$1 from "node:path";
@@ -1,27 +1,27 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { i as __toESM, n as __exportAll } from "./chunk-CH6r78ws.mjs";
4
- import { a as originalConsole, h as toErrorMessage, i as logger, o as ANSI, s as style, t as ui } from "./keystroke.mjs";
4
+ import { b as toErrorMessage, d as ANSI, f as style, l as logger, t as ui, u as originalConsole } from "./keystroke.mjs";
5
5
  import { a as getKeystrokeTmpDir } from "./dist-BF6r1hfv.mjs";
6
- import { t as assertWorkflowProjectRoot } from "./project-config-opj6DsPF.mjs";
7
- import { a as FlowGraphSchema, i as WorkflowManifestSchema } from "./workflow-manifest-CAW5FlX0.mjs";
8
- import { t as AgentVersionManifestSchema } from "./agent-manifest-Bfa3DBgc.mjs";
9
- import { r as RelativeFilePathSchema } from "./file-metadata-CdFXMMIw.mjs";
10
- import { c as createArtifactOutputFiles, l as createMetadataOutputFile, o as METADATA_ROOT_DIR_NAME, p as getWorkflowArtifactPaths, t as BUILD_DIR_NAME } from "./layout-B95Tku8F.mjs";
11
- import { t as resolveConfiguredBuildOutputDir } from "./utils-DlYHjGg9.mjs";
12
- import { a as readAgentSandboxPackage, r as AGENT_VM_TOOLS_RUNTIME_RELATIVE_PATH } from "./agent-bundle-package-DWV6B_5q-FPT0bJaA.mjs";
13
- import { a as prewarmFileContentCache, c as typedEntries, i as createFileContentCache, l as require_out, n as computeBuilderFingerprint, o as resetFileContentCache, r as computeWorkflowFingerprint, s as sha256String } from "./metadata-layout-C6ed-9dl-aBmqqvD5.mjs";
14
- import { a as getAgentArtifactPaths, c as hashWorkflowManifestForDisk, d as resolveOutputDir, i as createAgentOutputFiles, l as removeAgentArtifacts, n as BUILD_CACHE_FILE_NAME, o as hashAgentManifestForDisk, r as allOutputFilesExist, s as hashWorkflowFlowForDisk, t as AGENT_ARTIFACT_DIR_PREFIX, u as removeWorkflowArtifacts } from "./writer-CtvttJdP-DrJruQgR.mjs";
15
- import { a as createDiscoveryFailure, c as createNamespaceStarExportDiscoveryError, d as isWorkflowLoadResult, f as loadWorkflowMetadataBatch, i as createAmbiguousExportDiscoveryError, l as isAgentLoadResult, o as createDuplicateWorkflowIdFailure, t as DuplicateWorkflowIdError, u as isTaskLoadResult } from "./import-module-DDPnzlJ1-CYJD2n2b.mjs";
16
- import { a as literalString, n as identifierName, o as parseSourceFile, r as isNode } from "./oxc-B3KI3rf_-BeimiQ2U.mjs";
17
- import { a as getLocalModuleSpecifier, c as removeAllMetadataArtifacts, d as resolveDefaultExportAssignment, f as resolveLocalModulePath, i as collectWorkflowImportNames, n as DISCOVERY_IGNORE, o as getVariableDeclarators, r as collectLocalWorkflowBindings, s as isExportedVariableStatement, t as DISCOVERY_GLOB, u as removeMetadataArtifacts } from "./source-analysis-DEEChuND-eixwPnPP.mjs";
18
- import { n as parseRelativeFilePath } from "./normalize-path-CojS-CgQ-BKRFUzWW.mjs";
6
+ import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
7
+ import { a as FlowGraphSchema, i as WorkflowManifestSchema } from "./workflow-manifest-BfL74mjp.mjs";
8
+ import { t as AgentVersionManifestSchema } from "./agent-manifest-sJFbH5H8.mjs";
9
+ import { r as RelativeFilePathSchema } from "./file-metadata-BvGM-B2v.mjs";
10
+ import { c as createArtifactOutputFiles, l as createMetadataOutputFile, o as METADATA_ROOT_DIR_NAME, p as getWorkflowArtifactPaths, t as BUILD_DIR_NAME } from "./layout-CXkZEsXI.mjs";
11
+ import { t as resolveConfiguredBuildOutputDir } from "./utils-C_qCshBA.mjs";
12
+ import { a as readAgentSandboxPackage, r as AGENT_VM_TOOLS_RUNTIME_RELATIVE_PATH } from "./agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs";
13
+ import { a as prewarmFileContentCache, c as typedEntries, i as createFileContentCache, l as require_out, n as computeBuilderFingerprint, o as resetFileContentCache, r as computeWorkflowFingerprint, s as sha256String } from "./metadata-layout-C6ed-9dl-C6Bylr_z.mjs";
14
+ import { a as getAgentArtifactPaths, c as hashWorkflowManifestForDisk, d as resolveOutputDir, i as createAgentOutputFiles, l as removeAgentArtifacts, n as BUILD_CACHE_FILE_NAME, o as hashAgentManifestForDisk, r as allOutputFilesExist, s as hashWorkflowFlowForDisk, t as AGENT_ARTIFACT_DIR_PREFIX, u as removeWorkflowArtifacts } from "./writer-CtvttJdP-DZJ0mZCm.mjs";
15
+ import { a as createDiscoveryFailure, c as createNamespaceStarExportDiscoveryError, d as isWorkflowLoadResult, f as loadWorkflowMetadataBatch, i as createAmbiguousExportDiscoveryError, l as isAgentLoadResult, o as createDuplicateWorkflowIdFailure, t as DuplicateWorkflowIdError, u as isTaskLoadResult } from "./import-module-DDPnzlJ1-BIBSgOhK.mjs";
16
+ import { a as literalString, n as identifierName, o as parseSourceFile, r as isNode } from "./oxc-B3KI3rf_-ghZc3xZ5.mjs";
17
+ import { a as getLocalModuleSpecifier, c as removeAllMetadataArtifacts, d as resolveDefaultExportAssignment, f as resolveLocalModulePath, i as collectWorkflowImportNames, n as DISCOVERY_IGNORE, o as getVariableDeclarators, r as collectLocalWorkflowBindings, s as isExportedVariableStatement, t as DISCOVERY_GLOB, u as removeMetadataArtifacts } from "./source-analysis-DEEChuND-Csu0oOlw.mjs";
18
+ import { n as parseRelativeFilePath } from "./normalize-path-CojS-CgQ-D_WTiHKw.mjs";
19
19
  import * as fs from "node:fs/promises";
20
20
  import { mkdir, readFile, stat, writeFile } from "node:fs/promises";
21
21
  import * as path$1 from "node:path";
22
22
  import path from "node:path";
23
- import { z } from "zod";
24
23
  import { fileURLToPath } from "node:url";
24
+ import { z } from "zod";
25
25
  import { createHash } from "node:crypto";
26
26
  import { performance } from "node:perf_hooks";
27
27
  //#region ../../packages/core/dist/flow-graph-toolkit/index.mjs
@@ -978,7 +978,7 @@ async function buildDiscoveredWorkflows(options) {
978
978
  const failures = [...buildPlan.failures];
979
979
  const warnings = [];
980
980
  if (buildPlan.workflows.length > 0) {
981
- const { buildWorkflowArtifacts } = await import("./build-workflows-3fdvdHHf-Bg5XV7hM.mjs");
981
+ const { buildWorkflowArtifacts } = await import("./build-workflows-3fdvdHHf-DnDmsKuG.mjs");
982
982
  const result = await buildWorkflowArtifacts({
983
983
  entries: buildPlan.workflows,
984
984
  workflowsByKey,
@@ -993,7 +993,7 @@ async function buildDiscoveredWorkflows(options) {
993
993
  warnings.push(...result.warnings);
994
994
  }
995
995
  if (buildPlan.agents.length > 0) {
996
- const { buildAgentArtifacts } = await import("./build-agents-DfbiMZ_e-in-if4_C.mjs");
996
+ const { buildAgentArtifacts } = await import("./build-agents-DfbiMZ_e-CLHxZKOg.mjs");
997
997
  const result = await buildAgentArtifacts({
998
998
  entries: buildPlan.agents,
999
999
  projectRoot: options.projectRoot
@@ -1002,7 +1002,7 @@ async function buildDiscoveredWorkflows(options) {
1002
1002
  failures.push(...result.failures);
1003
1003
  }
1004
1004
  if (buildPlan.tasks.length > 0) {
1005
- const { buildTaskArtifacts } = await import("./build-tasks-O1jYtlv1-B2Dm4hFj.mjs");
1005
+ const { buildTaskArtifacts } = await import("./build-tasks-O1jYtlv1-Cr7vs_B_.mjs");
1006
1006
  const result = await buildTaskArtifacts({
1007
1007
  entries: buildPlan.tasks,
1008
1008
  projectRoot: options.projectRoot,
@@ -1110,7 +1110,7 @@ async function createBuildPlan(options) {
1110
1110
  const currentWorkflowIndex = workflowProgressIndex;
1111
1111
  workflowProgressIndex += 1;
1112
1112
  if (!loadResult?.ok) {
1113
- const { createWorkflowMetadataFailure } = await import("./build-workflows-3fdvdHHf-Bg5XV7hM.mjs");
1113
+ const { createWorkflowMetadataFailure } = await import("./build-workflows-3fdvdHHf-DnDmsKuG.mjs");
1114
1114
  plan.failures.push(createWorkflowMetadataFailure(discoveredWorkflow, loadResult?.error));
1115
1115
  continue;
1116
1116
  }
@@ -1308,7 +1308,7 @@ async function runBuild(config, initialTargetBindingKeys, metadataRebuildDecisio
1308
1308
  cacheResolvedBindingKeys,
1309
1309
  releaseBundleMemory: config.releaseBundleMemory
1310
1310
  };
1311
- const { writeBuildOutput, writeTargetedBuildOutput } = await import("./writer-CtvttJdP-DrJruQgR.mjs").then((n) => n.f).then((n) => n.t);
1311
+ const { writeBuildOutput, writeTargetedBuildOutput } = await import("./writer-CtvttJdP-DZJ0mZCm.mjs").then((n) => n.f).then((n) => n.t);
1312
1312
  const writeResult = targetBindingKeys ? await writeTargetedBuildOutput({
1313
1313
  artifacts: finalizedScopedArtifacts,
1314
1314
  agentArtifacts,
@@ -1333,7 +1333,7 @@ async function runBuild(config, initialTargetBindingKeys, metadataRebuildDecisio
1333
1333
  elapsedMs: performance.now() - writeStartedAt,
1334
1334
  ...writeResult.skippedWriteCount !== void 0 && writeResult.skippedWriteCount > 0 ? { skippedWriteCount: writeResult.skippedWriteCount } : {}
1335
1335
  });
1336
- const { buildMetadataArtifacts } = await import("./build-metadata-zidV9Cai-BAS0FMxT.mjs");
1336
+ const { buildMetadataArtifacts } = await import("./build-metadata-zidV9Cai-BNC_-zub.mjs");
1337
1337
  const metadata = await buildMetadataArtifacts({
1338
1338
  projectRoot: config.projectRoot,
1339
1339
  outputDir,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as identifierName, o as parseSourceFile, r as isNode } from "./oxc-B3KI3rf_-BeimiQ2U.mjs";
4
- import { r as formatEnvAccessError, t as createEnvAccessPlugin } from "./detect-env-access-CwkOYeYM-CsrSOCcj.mjs";
3
+ import { n as identifierName, o as parseSourceFile, r as isNode } from "./oxc-B3KI3rf_-ghZc3xZ5.mjs";
4
+ import { r as formatEnvAccessError, t as createEnvAccessPlugin } from "./detect-env-access-CwkOYeYM-KtEle6I3.mjs";
5
5
  import { existsSync, readFileSync, realpathSync } from "node:fs";
6
6
  import * as path$1 from "node:path";
7
7
  import { createHash } from "node:crypto";
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { r as SHA256HashSchema, t as JsonSchemaSchema } from "./common-BrVAdUyD.mjs";
4
- import { a as ResolvedCredentialSetSchema, c as TriggerTypeSchema, d as WorkflowStepEntrySchema, i as IntegrationScopeSchema, l as TriggerUploadDataSchema, t as CredentialRequirementsSchema } from "./credential-requirements-DjDFthio.mjs";
5
- import { a as SourceLocationSchema, i as ImportSourceSchema, n as CallsiteFingerprintSchema, t as CallKindSchema } from "./source-analysis-BspLa3E5.mjs";
6
- import { t as DurationSchema } from "./schedule-BRN4hzQM.mjs";
3
+ import { r as SHA256HashSchema, t as JsonSchemaSchema } from "./common-B3bLe3Mk.mjs";
4
+ import { a as ResolvedCredentialSetSchema, c as TriggerTypeSchema, d as WorkflowStepEntrySchema, i as IntegrationScopeSchema, l as TriggerUploadDataSchema, t as CredentialRequirementsSchema } from "./credential-requirements-BCW8aQWS.mjs";
5
+ import { a as SourceLocationSchema, i as ImportSourceSchema, n as CallsiteFingerprintSchema, t as CallKindSchema } from "./source-analysis-CHkWMC40.mjs";
6
+ import { t as DurationSchema } from "./schedule-BWAI6qLx.mjs";
7
7
  import { z } from "zod";
8
8
  //#region ../../packages/core/src/artifacts/flow-graph-schema.ts
9
9
  const DecisionKindSchema = z.enum([
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-q4KljAhu.mjs";
4
- import { t as createTypedCommand } from "./commander-pxSPDCZ4.mjs";
5
- import { r as SHA256HashSchema, t as JsonSchemaSchema } from "./common-BrVAdUyD.mjs";
6
- import { l as TriggerUploadDataSchema } from "./credential-requirements-DjDFthio.mjs";
7
- import { a as FlowGraphSchema, i as WorkflowManifestSchema } from "./workflow-manifest-CAW5FlX0.mjs";
8
- import { n as WorkflowsRunOptionsSchema, t as RUN_OPTIONS_CONFIG } from "./options-BhB9qA5P.mjs";
3
+ import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BCDZb3Gy.mjs";
4
+ import { t as createTypedCommand } from "./commander-Wr7RrODw.mjs";
5
+ import { r as SHA256HashSchema, t as JsonSchemaSchema } from "./common-B3bLe3Mk.mjs";
6
+ import { l as TriggerUploadDataSchema } from "./credential-requirements-BCW8aQWS.mjs";
7
+ import { a as FlowGraphSchema, i as WorkflowManifestSchema } from "./workflow-manifest-BfL74mjp.mjs";
8
+ import { n as WorkflowsRunOptionsSchema, t as RUN_OPTIONS_CONFIG } from "./options-CIVqkc8V.mjs";
9
9
  import { z } from "zod";
10
10
  const GitProviderSchema = z.enum(["codestorage", "github"]);
11
11
  const GitTreeEntryTypeSchema = z.enum(["file", "directory"]);
@@ -321,7 +321,7 @@ function createWorkflowsBuildCommand() {
321
321
  description: "Build workflows locally",
322
322
  schema: WorkflowsBuildOptionsSchema,
323
323
  optionsConfig: BUILD_OPTIONS_CONFIG,
324
- loadHandler: async () => (await import("./build.handler-BzQRnkC3.mjs")).handleWorkflowsBuild
324
+ loadHandler: async () => (await import("./build.handler-CXqfqwho.mjs")).handleWorkflowsBuild
325
325
  });
326
326
  }
327
327
  //#endregion
@@ -348,7 +348,7 @@ function createWorkflowsDiffCommand() {
348
348
  description: "Authored workflow id (preferred) or workflow name",
349
349
  key: "workflow"
350
350
  },
351
- loadHandler: async () => (await import("./diff.handler-CH0xP8pk.mjs")).handleWorkflowsDiff
351
+ loadHandler: async () => (await import("./diff.handler-zVbHzE1Q.mjs")).handleWorkflowsDiff
352
352
  });
353
353
  }
354
354
  //#endregion
@@ -381,7 +381,7 @@ function createWorkflowsEnvCommand() {
381
381
  key: "workflow",
382
382
  required: false
383
383
  },
384
- loadHandler: async () => (await import("./env.handler-BkCO2vjR.mjs")).handleWorkflowsEnv
384
+ loadHandler: async () => (await import("./env.handler-CqfOZEou.mjs")).handleWorkflowsEnv
385
385
  });
386
386
  }
387
387
  //#endregion
@@ -413,7 +413,7 @@ function createWorkflowsInspectCommand() {
413
413
  description: "Authored workflow id (preferred) or workflow name",
414
414
  key: "workflow"
415
415
  },
416
- loadHandler: async () => (await import("./inspect.handler-DRMKUJsh.mjs")).handleWorkflowsInspect
416
+ loadHandler: async () => (await import("./inspect.handler-CcyFNUJP.mjs")).handleWorkflowsInspect
417
417
  });
418
418
  }
419
419
  //#endregion
@@ -509,7 +509,7 @@ function createWorkflowsLogsCommand() {
509
509
  key: "workflow",
510
510
  required: false
511
511
  },
512
- loadHandler: async () => (await import("./logs.handler-CsnG7Bb0.mjs")).handleWorkflowsLogs
512
+ loadHandler: async () => (await import("./logs.handler-BNFUmakA.mjs")).handleWorkflowsLogs
513
513
  });
514
514
  }
515
515
  //#endregion
@@ -700,7 +700,7 @@ function createWorkflowsPausedCommand() {
700
700
  key: "workflow",
701
701
  required: false
702
702
  },
703
- loadHandler: async () => (await import("./paused.handler-BUifVTyQ.mjs")).handleWorkflowsPaused
703
+ loadHandler: async () => (await import("./paused.handler-wgaf8sse.mjs")).handleWorkflowsPaused
704
704
  });
705
705
  }
706
706
  //#endregion
@@ -716,7 +716,7 @@ function createWorkflowsTryDeployCommand() {
716
716
  description: "Authored workflow id (preferred) or workflow name. Multiple workflows with the same name run sequentially.",
717
717
  key: "workflow"
718
718
  },
719
- loadHandler: async () => (await import("./try-deploy.handler-YDOirkk1.mjs").then((n) => n.n)).handleWorkflowsTryDeploy
719
+ loadHandler: async () => (await import("./try-deploy.handler-BCvwi1jc.mjs").then((n) => n.n)).handleWorkflowsTryDeploy
720
720
  });
721
721
  }
722
722
  //#endregion
@@ -754,7 +754,7 @@ function createWorkflowsValidateCommand() {
754
754
  key: "workflow",
755
755
  required: false
756
756
  },
757
- loadHandler: async () => (await import("./validate.handler-ROzzUI85.mjs")).handleWorkflowsValidate
757
+ loadHandler: async () => (await import("./validate.handler-BiToUknO.mjs")).handleWorkflowsValidate
758
758
  });
759
759
  }
760
760
  //#endregion
@@ -773,14 +773,14 @@ function createWorkflowsCommand() {
773
773
  description: "Manage, run, inspect, and debug workflows",
774
774
  schema: WorkflowsOptionsSchema,
775
775
  optionsConfig: WORKFLOWS_OPTIONS_CONFIG,
776
- loadHandler: async () => (await import("./list.handler-BXTGPazY.mjs")).handleWorkflowsList,
776
+ loadHandler: async () => (await import("./list.handler-Val6EmGK.mjs")).handleWorkflowsList,
777
777
  subcommands: [
778
778
  createTypedCommand({
779
779
  name: "list",
780
780
  description: "List all workflows in the project",
781
781
  schema: WorkflowsOptionsSchema,
782
782
  optionsConfig: WORKFLOWS_OPTIONS_CONFIG,
783
- loadHandler: async () => (await import("./list.handler-BXTGPazY.mjs")).handleWorkflowsList
783
+ loadHandler: async () => (await import("./list.handler-Val6EmGK.mjs")).handleWorkflowsList
784
784
  }),
785
785
  createWorkflowsBuildCommand(),
786
786
  createWorkflowsTryDeployCommand(),
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
4
- import { f as getTriggersDir, n as BUILD_OUTPUT_DIR_NAME, p as getWorkflowArtifactPaths, t as BUILD_DIR_NAME } from "./layout-B95Tku8F.mjs";
5
- import { t as TriggerBuildManifestSchema } from "./trigger-manifest-CXD9I7Rb.mjs";
6
- import { t as __exportAll$1 } from "./rolldown-runtime-twds-ZHy-8uqgIurC.mjs";
7
- import { s as sha256String } from "./metadata-layout-C6ed-9dl-aBmqqvD5.mjs";
8
- import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-BTlfau8D.mjs";
4
+ import { f as getTriggersDir, n as BUILD_OUTPUT_DIR_NAME, p as getWorkflowArtifactPaths, t as BUILD_DIR_NAME } from "./layout-CXkZEsXI.mjs";
5
+ import { t as TriggerBuildManifestSchema } from "./trigger-manifest-B3Gq1739.mjs";
6
+ import { t as __exportAll$1 } from "./rolldown-runtime-twds-ZHy-RuJszab7.mjs";
7
+ import { s as sha256String } from "./metadata-layout-C6ed-9dl-C6Bylr_z.mjs";
8
+ import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-CnBnF2cg.mjs";
9
9
  import { access, mkdir, readdir, rm, stat, writeFile } from "node:fs/promises";
10
10
  import path from "node:path";
11
11
  import { createHash } from "node:crypto";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/cli",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "private": false,
5
5
  "description": "Command-line interface for creating, managing, and deploying Keystroke automations.",
6
6
  "type": "module",
@@ -41,15 +41,15 @@
41
41
  "vitest": "^4.1.5",
42
42
  "@keystroke/env-utils": "0.0.0",
43
43
  "@keystroke/local-memory": "0.0.0",
44
+ "@keystroke/project-config": "0.0.1",
44
45
  "@keystroke/shared-types": "0.0.1",
45
46
  "@keystroke/test-utils": "0.0.0",
46
47
  "@keystroke/typescript-config": "0.0.0",
47
48
  "@keystroke/utils": "0.0.0",
48
49
  "@keystroke/workflow-builder": "0.0.2",
49
- "@keystrokehq/core": "0.0.3",
50
+ "@keystrokehq/core": "0.0.4",
50
51
  "@keystroke/workflow-deploy": "0.0.1",
51
- "@keystroke/workflow-sdk": "0.0.0",
52
- "@keystroke/project-config": "0.0.1"
52
+ "@keystroke/workflow-sdk": "0.0.0"
53
53
  },
54
54
  "keywords": [
55
55
  "automation",