@keystrokehq/cli 0.0.19 → 0.0.20

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 (143) hide show
  1. package/dist/{accept.handler-BVmNNAgL.mjs → accept.handler-CiqqUxKN.mjs} +1 -1
  2. package/dist/{admin-DQlHFuXn.mjs → admin-B0U2Aghv.mjs} +9 -9
  3. package/dist/{agent-bundle-package-DWV6B_5q-FPT0bJaA.mjs → agent-bundle-package-DWV6B_5q-BsbCEeMw.mjs} +1 -1
  4. package/dist/{agents-Dd7UeQCw.mjs → agents-DBebUEwk.mjs} +6 -6
  5. package/dist/{api-nR61stdq.mjs → api-BjBpWWlm.mjs} +1 -1
  6. package/dist/{api-keys-BsMBFiD_.mjs → api-keys-BHAgmC4E.mjs} +5 -5
  7. package/dist/{auth-ZTuuEoD6.mjs → auth-D-PZAjdd.mjs} +5 -5
  8. package/dist/{auth.handler-C1dZBdaG.mjs → auth.handler-CxTDSO6O.mjs} +1 -1
  9. package/dist/{build-agents-DseUtzd4-CthuIecx.mjs → build-agents-DseUtzd4-BNtZrqoY.mjs} +5 -5
  10. package/dist/{build-metadata-C8Ra_Gi--L3l8w0rh.mjs → build-metadata-BB_L45ZS-d5-QLDZ5.mjs} +10 -10
  11. package/dist/{build-progress-AR8xow4_.mjs → build-progress-BVwDg6lC.mjs} +1 -1
  12. package/dist/{build-tasks-GVuMLS0h-BaPhhGXO.mjs → build-tasks-C09SdfjC-DxKcmENc.mjs} +4 -4
  13. package/dist/{build-workflows-CV4tBo6S-szwrAGWT.mjs → build-workflows-BZ_m97Pr-DwcnRlyh.mjs} +9 -10
  14. package/dist/{build.handler-DJrEMCBw.mjs → build.handler-CTX80S1K.mjs} +4 -4
  15. package/dist/{chunk-CH6r78ws.mjs → chunk-DYxdGL9S.mjs} +2 -1
  16. package/dist/{clear.handler-BgeAg2de.mjs → clear.handler-Bksm2HI4.mjs} +1 -1
  17. package/dist/{commander-C5qcOo8m.mjs → commander-DQLrBSIW.mjs} +1 -1
  18. package/dist/{connect-BtBKoXpi.mjs → connect-DV_EztVs.mjs} +2 -2
  19. package/dist/{connect.handler-E8CmLRSF.mjs → connect.handler-DbuGt3Xb.mjs} +3 -3
  20. package/dist/{context-BydAGTiB.mjs → context-BUzxM3QI.mjs} +2 -2
  21. package/dist/{create.handler-CBxIPC3r.mjs → create.handler-CQCRk-Na.mjs} +1 -1
  22. package/dist/{credentials-BGaRMclS.mjs → credentials-m18a1_hw.mjs} +6 -6
  23. package/dist/{credentials-jRiXEr6P.mjs → credentials-xPtLFTjW.mjs} +2 -2
  24. package/dist/{current-deployment-workflow-BVliROAz.mjs → current-deployment-workflow-pyBoobIm.mjs} +4 -4
  25. package/dist/{current.handler-DBl9S67d.mjs → current.handler-BJGJgdGP.mjs} +1 -1
  26. package/dist/{delete.handler-Buu7Ip0D.mjs → delete.handler-DNoehdOH.mjs} +1 -1
  27. package/dist/{deploy-CzTlgAFj.mjs → deploy-3tHCBGky.mjs} +2 -2
  28. package/dist/{deploy-BPDUTKZD.mjs → deploy-BKjcO_sm.mjs} +1 -1
  29. package/dist/{deploy-progress-DK87VKJ-.mjs → deploy-progress-CyolzjRB.mjs} +1 -1
  30. package/dist/{deploy.handler-CCcJ7y3A.mjs → deploy.handler-TnPNBYXZ.mjs} +27 -15
  31. package/dist/{detect-env-access-CwkOYeYM-CNTyUzme.mjs → detect-env-access-CwkOYeYM-D8-hxij0.mjs} +2 -2
  32. package/dist/{diff.handler-DUVFixeG.mjs → diff.handler-DO2WzdGB.mjs} +3 -3
  33. package/dist/{dist-Cx0RV8s7.mjs → dist-BGrWr5fp.mjs} +32 -37
  34. package/dist/{env.handler-C8kNFz2U.mjs → env.handler-C5GNyiJt.mjs} +6 -6
  35. package/dist/{error-boundary-B8cmSwJH.mjs → error-boundary-GtRvP2oP.mjs} +1 -1
  36. package/dist/{file-metadata-lrX05iRt.mjs → file-metadata-B8c7Y5yg.mjs} +2 -7
  37. package/dist/{import-module--8x5SLum-DjPUZr4i.mjs → import-module-y0glInUe-CfNsQNia.mjs} +48 -840
  38. package/dist/{init-DeeOVc9m.mjs → init-D9RIT2CY.mjs} +3 -3
  39. package/dist/{init.handler-BMdhpusQ.mjs → init.handler-0TJY1YNy.mjs} +2 -2
  40. package/dist/{inspect.handler-QyTo8rWO.mjs → inspect.handler-BrYFfN4H.mjs} +3 -3
  41. package/dist/{integration-catalog-CmvYPvI6.mjs → integration-catalog-BrJsBkfx.mjs} +1 -1
  42. package/dist/{integrations-tXZM-84g.mjs → integrations-vSyAQ6HA.mjs} +5 -5
  43. package/dist/{invites-ClyAatBW.mjs → invites-BASM4PJr.mjs} +4 -4
  44. package/dist/{invites.list.handler-CPkK_tPM.mjs → invites.list.handler-c-aw6g5o.mjs} +1 -1
  45. package/dist/{invites.resend.handler-DIRI7tS2.mjs → invites.resend.handler-MnMEjP_Z.mjs} +1 -1
  46. package/dist/{invites.revoke.handler-CcXcDBlU.mjs → invites.revoke.handler-CHX6Z8kj.mjs} +1 -1
  47. package/dist/keystroke.mjs +21 -21
  48. package/dist/{list-enrichment-B9238wom.mjs → list-enrichment-DcplcioC.mjs} +1 -1
  49. package/dist/{list.handler-Cbc9rlBx.mjs → list.handler-BBzB1_1l.mjs} +1 -1
  50. package/dist/{list.handler-DdFGHkqt.mjs → list.handler-BsgCd1oF.mjs} +5 -5
  51. package/dist/{list.handler-BB-Dcm5B.mjs → list.handler-CDtjm-6d.mjs} +1 -1
  52. package/dist/{list.handler-Xl_F89kq.mjs → list.handler-DJNtXw7C.mjs} +1 -1
  53. package/dist/{list.handler-ClPAPSWm.mjs → list.handler-DXwKdfIv.mjs} +2 -2
  54. package/dist/{list.handler-tnsRn-Rj.mjs → list2.handler-BdE1k2kl.mjs} +3 -3
  55. package/dist/{listen-ksMVpdNa.mjs → listen-Ca9KdiB2.mjs} +2 -2
  56. package/dist/{listen.handler-DEJSBg8y.mjs → listen.handler-KWPN03S8.mjs} +2 -2
  57. package/dist/{logs-C-JxXsgc.mjs → logs-BEDf7hZ0.mjs} +3 -3
  58. package/dist/{logs.handler-BIegqc2p.mjs → logs.handler-mk1lcZbU.mjs} +2 -2
  59. package/dist/{members.add.handler-D4ggN2Xi.mjs → members.add.handler-CTvlxBZU.mjs} +1 -1
  60. package/dist/{members.invite.handler-BYIt6Oib.mjs → members.invite.handler-wFO0r7Pi.mjs} +1 -1
  61. package/dist/{members.list.handler-CvpeYKC4.mjs → members.list.handler-PPdqs4nI.mjs} +1 -1
  62. package/dist/{members.remove.handler-C4GBUVYE.mjs → members.remove.handler-a5WI6zE4.mjs} +1 -1
  63. package/dist/{members.update.handler-TpM1oi0L.mjs → members.update.handler-3xblTzmz.mjs} +1 -1
  64. package/dist/{metadata-layout-Bv-B0nHj-B1c5giJ7.mjs → metadata-layout-Bv-B0nHj-DtMWZ7Cc.mjs} +1 -1
  65. package/dist/{normalize-path-CojS-CgQ-D4wSBHgG.mjs → normalize-path-CojS-CgQ-CRqBc6D6.mjs} +1 -1
  66. package/dist/{org-DIGyb7XZ.mjs → org-CzLw3neZ.mjs} +15 -15
  67. package/dist/{orgs.create.handler-RIYhse_Q.mjs → orgs.create.handler-CcPpDweZ.mjs} +1 -1
  68. package/dist/{orgs.get.handler-BfOpbSom.mjs → orgs.get.handler-BACPg7vR.mjs} +1 -1
  69. package/dist/{orgs.list.handler-BMgj9yTD.mjs → orgs.list.handler-DEF8OyvM.mjs} +1 -1
  70. package/dist/{paused.handler-DAZ1EaLN.mjs → paused.handler-D4j8_Za4.mjs} +1 -1
  71. package/dist/{projects-Cy6CH3fI.mjs → projects-CJCKxG2u.mjs} +4 -4
  72. package/dist/{projects-BndElPAx.mjs → projects-s5ehKLil.mjs} +2 -2
  73. package/dist/{requirements.handler-C5vobjdJ.mjs → requirements.handler-Bk-sAE9C.mjs} +5 -5
  74. package/dist/{run-polling-BhOdFyh3.mjs → run-polling-DKclfet-.mjs} +3 -3
  75. package/dist/{run.handler-BpLmwF_a.mjs → run.handler-x0B-CjNF.mjs} +4 -4
  76. package/dist/{runs-DaSd4eXn.mjs → runs-DoMVOCNj.mjs} +2 -2
  77. package/dist/{skills-sync.handler-DOxudKmV.mjs → skills-sync.handler-CYkCeuQn.mjs} +1 -1
  78. package/dist/{skills.command-DQc_qGAF.mjs → skills.command-DeAgMGGw.mjs} +4 -4
  79. package/dist/{source-analysis-BBg2E_6G-Ut7kYHOz.mjs → source-analysis-BBg2E_6G-BJTRqWrQ.mjs} +3 -3
  80. package/dist/{source-analysis-Cs0CTBQk.mjs → source-analysis-BMMPIHN9.mjs} +1 -1
  81. package/dist/src-BHTjsZ9V.mjs +456 -0
  82. package/dist/{src-0XVwHXNp.mjs → src-BYQwp8Ig.mjs} +1 -1
  83. package/dist/{switch.handler-CCjMrRZN.mjs → switch.handler-CV4ZBXAu.mjs} +1 -1
  84. package/dist/{sync-BdTQDZjP.mjs → sync-KCVM02IY.mjs} +2 -2
  85. package/dist/{sync.handler-DjY8nqbB.mjs → sync.handler-Cuw89341.mjs} +6 -6
  86. package/dist/task-BSCN9cU4.mjs +945 -0
  87. package/dist/{task-target-build-DCV0UDaz.mjs → task-target-build-B0HF2_At.mjs} +41 -55
  88. package/dist/task-target-deploy-ClbwKJ8K.mjs +4 -0
  89. package/dist/{task-target-deploy-CZBGNC0H-I-tvkGCC.mjs → task-target-deploy-dQYnMO8n-CeTmRcDw.mjs} +15 -17
  90. package/dist/task-target-deploy-runner.mjs +4 -4
  91. package/dist/{test-TTQXrhHm.mjs → test-Rm3thni3.mjs} +2 -2
  92. package/dist/{test.handler-B7Ahe9ta.mjs → test.handler-CTd-heRS.mjs} +8 -8
  93. package/dist/{test.handler-CkkplyX6.mjs → test.handler-DhhcsvHN.mjs} +1 -1
  94. package/dist/{tool.handler-DMfFZCRg.mjs → tool.handler-C3LNyQbc.mjs} +9 -63
  95. package/dist/{trigger-artifacts-RizI57RC-DjhOsdOm.mjs → trigger-artifacts-BcRScRSp-DqFgzl_B.mjs} +53 -119
  96. package/dist/trigger-manifest-DTni4NaZ.mjs +42 -0
  97. package/dist/{upgrade-Cx-bUWUc.mjs → upgrade-Cf7y38xR.mjs} +2 -2
  98. package/dist/{upload-BbcMkyVl.mjs → upload-CJWApEgz.mjs} +1 -1
  99. package/dist/{upload.handler-_d2WZwxd.mjs → upload.handler-BHIWYPph.mjs} +7 -7
  100. package/dist/{users.get.handler-DIooG7Wy.mjs → users.get.handler-spWaHG8h.mjs} +1 -1
  101. package/dist/{users.list.handler-DdGW-DSg.mjs → users.list.handler-DLuU7cd_.mjs} +1 -1
  102. package/dist/{users.set-role.handler-Ek-kntLp.mjs → users.set-role.handler-CojFmpcD.mjs} +1 -1
  103. package/dist/{utils-BMUWnz1P.mjs → utils-Ddltm1sR.mjs} +1 -1
  104. package/dist/{validate.handler-Cq2uJjXY.mjs → validate.handler-DIJBuX1P.mjs} +4 -4
  105. package/dist/{workflow-build-C8AiYxqp.mjs → workflow-build-IGYhEC8Y.mjs} +22 -22
  106. package/dist/{workflow-bundler-BzHk73PM-WI31RJjH.mjs → workflow-bundler-BzHk73PM-Cs-4Ml-p.mjs} +2 -2
  107. package/dist/{workflows-K6zetcqI.mjs → workflows-MANdvLft.mjs} +19 -21
  108. package/dist/{writer-B-SpZ0G2-CLh7sXRd.mjs → writer-byNNUjRm-w5O7-VT_.mjs} +24 -33
  109. package/package.json +11 -11
  110. package/dist/common-AK0q0Oz0.mjs +0 -20
  111. package/dist/credential-requirements-Ob-7H-0F.mjs +0 -250
  112. package/dist/cron-parser-Dw_cWzFu.mjs +0 -393
  113. package/dist/declared-credential-requirements-D6KT-r-e.mjs +0 -103
  114. package/dist/task-BRmL2lmw.mjs +0 -486
  115. package/dist/task-target-deploy-DmpCWE3u.mjs +0 -4
  116. package/dist/trigger-manifest-DxdCjGz_.mjs +0 -29
  117. package/dist/workflow-build-manifest-BKKW9D05.mjs +0 -259
  118. /package/dist/{agent-manifest-tIsqF2OP.mjs → agent-manifest-CZ7BeUSG.mjs} +0 -0
  119. /package/dist/{browser-BpJ8ut9z.mjs → browser-Cu4k-wT_.mjs} +0 -0
  120. /package/dist/{clear-cache.handler-CTLQ1PIN.mjs → clear-cache.handler-8RFmjHoo.mjs} +0 -0
  121. /package/dist/{clear.handler-C_pXAeBG.mjs → clear.handler-mfNmIUYP.mjs} +0 -0
  122. /package/dist/{concurrency-gXn9Rw8x-BTlfau8D.mjs → concurrency-gXn9Rw8x-BSBbRfVp.mjs} +0 -0
  123. /package/dist/{credential-env-map-BA4LNI7x.mjs → credential-env-map-qLCR_QbO.mjs} +0 -0
  124. /package/dist/{credential-schema-mismatch-z74ud-YZ.mjs → credential-schema-mismatch-BHI_B-U-.mjs} +0 -0
  125. /package/dist/{diff-utils-B0ED-Igv.mjs → diff-utils-x5pi8SrL.mjs} +0 -0
  126. /package/dist/{layout-P1v-Gssz.mjs → layout-DRf9qUf8.mjs} +0 -0
  127. /package/dist/{list.handler-BLkQKiV1.mjs → list.handler-CynN-ezD.mjs} +0 -0
  128. /package/dist/{logs.handler-DyRoevtO.mjs → logs.handler-CcA1UzJm.mjs} +0 -0
  129. /package/dist/{oxc-B3KI3rf_-Cvx4Z-4H.mjs → oxc-B3KI3rf_-Cnk0L10M.mjs} +0 -0
  130. /package/dist/{read-credential-keys-77a91T8M-B0eiobOd.mjs → read-credential-keys-77a91T8M-CzXPGxdU.mjs} +0 -0
  131. /package/dist/{register.handler-BXeh5mdb.mjs → register.handler-CSvlOMF6.mjs} +0 -0
  132. /package/dist/{resolve-project-CNQtOWE4.mjs → resolve-project-CWP2fji3.mjs} +0 -0
  133. /package/dist/{rolldown-runtime-twds-ZHy-8uqgIurC.mjs → rolldown-runtime-twds-ZHy-BoF7MLzP.mjs} +0 -0
  134. /package/dist/{run-polling-DARidqo-.mjs → run-polling-CzyVv7Ba.mjs} +0 -0
  135. /package/dist/{schema-BjH_e4Fo.mjs → schema-CvSZqa3t.mjs} +0 -0
  136. /package/dist/{schema-display-NVEl_DFY.mjs → schema-display-DxLA3j5H.mjs} +0 -0
  137. /package/dist/{schemas-BxFPUGWT.mjs → schemas-U2OzP9gP.mjs} +0 -0
  138. /package/dist/{skill-installer-BBgN2tzW.mjs → skill-installer-CYFshTBy.mjs} +0 -0
  139. /package/dist/{skills.handler-Do9I3dQS.mjs → skills.handler-Bma-MJX-.mjs} +0 -0
  140. /package/dist/{spinner-progress-Bx-fYItP.mjs → spinner-progress-DV28G4tP.mjs} +0 -0
  141. /package/dist/{status.handler-BsVtDW_V.mjs → status.handler-BOV0eX3J.mjs} +0 -0
  142. /package/dist/{types-BMBuhHhW.mjs → types-DamInJD6.mjs} +0 -0
  143. /package/dist/{upgrade.handler-5qSzPC7D.mjs → upgrade.handler-Bz_oQcAw.mjs} +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { a as ui } from "./keystroke.mjs";
4
4
  import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
- import { i as requireClient } from "./context-BydAGTiB.mjs";
5
+ import { i as requireClient } from "./context-BUzxM3QI.mjs";
6
6
  import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  //#region src/commands/invites/accept.handler.ts
8
8
  async function handleInvitesAccept(options, ctx) {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
4
- import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
4
+ import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
5
5
  import { t as OrgRoleSchema } from "./schema-Lbp5lGJu.mjs";
6
6
  import { z } from "zod";
7
7
  //#region src/commands/admin/orgs.command.ts
@@ -28,21 +28,21 @@ function createAdminOrgsCommand() {
28
28
  description: "Manage organizations as a platform admin",
29
29
  schema: AdminOrgsListOptionsSchema,
30
30
  optionsConfig: { ...JSON_OPTION_CONFIG },
31
- loadHandler: async () => (await import("./orgs.list.handler-BMgj9yTD.mjs")).handleAdminOrgsList,
31
+ loadHandler: async () => (await import("./orgs.list.handler-DEF8OyvM.mjs")).handleAdminOrgsList,
32
32
  subcommands: [
33
33
  createTypedCommand({
34
34
  name: "create",
35
35
  description: "Create an organization (requires system.create_org)",
36
36
  schema: AdminOrgsCreateOptionsSchema,
37
37
  optionsConfig: CREATE_OPTIONS_CONFIG,
38
- loadHandler: async () => (await import("./orgs.create.handler-RIYhse_Q.mjs")).handleAdminOrgsCreate
38
+ loadHandler: async () => (await import("./orgs.create.handler-CcPpDweZ.mjs")).handleAdminOrgsCreate
39
39
  }),
40
40
  createTypedCommand({
41
41
  name: "list",
42
42
  description: "List organizations (requires system.view_orgs)",
43
43
  schema: AdminOrgsListOptionsSchema,
44
44
  optionsConfig: { ...JSON_OPTION_CONFIG },
45
- loadHandler: async () => (await import("./orgs.list.handler-BMgj9yTD.mjs")).handleAdminOrgsList
45
+ loadHandler: async () => (await import("./orgs.list.handler-DEF8OyvM.mjs")).handleAdminOrgsList
46
46
  }),
47
47
  createTypedCommand({
48
48
  name: "get",
@@ -54,7 +54,7 @@ function createAdminOrgsCommand() {
54
54
  description: "Organization ID",
55
55
  key: "orgId"
56
56
  },
57
- loadHandler: async () => (await import("./orgs.get.handler-BfOpbSom.mjs")).handleAdminOrgsGet
57
+ loadHandler: async () => (await import("./orgs.get.handler-BACPg7vR.mjs")).handleAdminOrgsGet
58
58
  })
59
59
  ]
60
60
  });
@@ -157,14 +157,14 @@ function createAdminUsersCommand() {
157
157
  description: "Manage platform users",
158
158
  schema: AdminUsersListOptionsSchema,
159
159
  optionsConfig: { ...JSON_OPTION_CONFIG },
160
- loadHandler: async () => (await import("./users.list.handler-DdGW-DSg.mjs")).handleAdminUsersList,
160
+ loadHandler: async () => (await import("./users.list.handler-DLuU7cd_.mjs")).handleAdminUsersList,
161
161
  subcommands: [
162
162
  createTypedCommand({
163
163
  name: "list",
164
164
  description: "List platform users",
165
165
  schema: AdminUsersListOptionsSchema,
166
166
  optionsConfig: { ...JSON_OPTION_CONFIG },
167
- loadHandler: async () => (await import("./users.list.handler-DdGW-DSg.mjs")).handleAdminUsersList
167
+ loadHandler: async () => (await import("./users.list.handler-DLuU7cd_.mjs")).handleAdminUsersList
168
168
  }),
169
169
  createTypedCommand({
170
170
  name: "get",
@@ -176,7 +176,7 @@ function createAdminUsersCommand() {
176
176
  description: "User ID",
177
177
  key: "userId"
178
178
  },
179
- loadHandler: async () => (await import("./users.get.handler-DIooG7Wy.mjs")).handleAdminUsersGet
179
+ loadHandler: async () => (await import("./users.get.handler-spWaHG8h.mjs")).handleAdminUsersGet
180
180
  }),
181
181
  createTypedCommand({
182
182
  name: "set-role",
@@ -188,7 +188,7 @@ function createAdminUsersCommand() {
188
188
  description: "User ID",
189
189
  key: "userId"
190
190
  },
191
- loadHandler: async () => (await import("./users.set-role.handler-Ek-kntLp.mjs")).handleAdminUsersSetRole
191
+ loadHandler: async () => (await import("./users.set-role.handler-CojFmpcD.mjs")).handleAdminUsersSetRole
192
192
  })
193
193
  ]
194
194
  });
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-CH6r78ws.mjs";
3
+ import { a as __toESM, i as __require, t as __commonJSMin } from "./chunk-DYxdGL9S.mjs";
4
4
  import { z } from "zod";
5
5
  import { Readable } from "node:stream";
6
6
  import { createGunzip, createGzip } from "node:zlib";
@@ -3,12 +3,12 @@
3
3
  import { a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
4
4
  import { i as projects } from "./dist-CIInPRGh.mjs";
5
5
  import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
6
- import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
7
- import { i as readAgentManifestsFromOutDir } from "./dist-Cx0RV8s7.mjs";
8
- import { t as requireWorkflowsDir } from "./resolve-project-CNQtOWE4.mjs";
9
- import { t as createSpinnerProgress } from "./spinner-progress-Bx-fYItP.mjs";
10
- import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-C8AiYxqp.mjs";
11
- import { i as resolveTypeHint } from "./schema-display-NVEl_DFY.mjs";
6
+ import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
7
+ import { i as readAgentManifestsFromOutDir } from "./dist-BGrWr5fp.mjs";
8
+ import { t as requireWorkflowsDir } from "./resolve-project-CWP2fji3.mjs";
9
+ import { t as createSpinnerProgress } from "./spinner-progress-DV28G4tP.mjs";
10
+ import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-IGYhEC8Y.mjs";
11
+ import { i as resolveTypeHint } from "./schema-display-DxLA3j5H.mjs";
12
12
  import { z } from "zod";
13
13
  //#region src/commands/agents/inspect-display.ts
14
14
  function renderAgentManifestInspect(manifest, options = {}) {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as CredentialConnectionIdSchema, r as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-BjH_e4Fo.mjs";
3
+ import { n as CredentialConnectionIdSchema, r as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-CvSZqa3t.mjs";
4
4
  import { z } from "zod";
5
5
  //#region ../../packages/shared-types/src/connections/api.ts
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
4
- import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
4
+ import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
5
5
  import { z } from "zod";
6
6
  //#region src/commands/api-keys/api-keys.command.ts
7
7
  const ApiKeysCreateOptionsSchema = JsonOptionSchema.extend({ name: z.string().optional() });
@@ -23,21 +23,21 @@ function createApiKeysCommand() {
23
23
  description: "Manage API keys for your organization",
24
24
  schema: JsonOptionSchema,
25
25
  optionsConfig: { ...JSON_OPTION_CONFIG },
26
- loadHandler: async () => (await import("./list.handler-BB-Dcm5B.mjs")).handleApiKeysList,
26
+ loadHandler: async () => (await import("./list.handler-CDtjm-6d.mjs")).handleApiKeysList,
27
27
  subcommands: [
28
28
  createTypedCommand({
29
29
  name: "list",
30
30
  description: "List all API keys for your organization",
31
31
  schema: JsonOptionSchema,
32
32
  optionsConfig: { ...JSON_OPTION_CONFIG },
33
- loadHandler: async () => (await import("./list.handler-BB-Dcm5B.mjs")).handleApiKeysList
33
+ loadHandler: async () => (await import("./list.handler-CDtjm-6d.mjs")).handleApiKeysList
34
34
  }),
35
35
  createTypedCommand({
36
36
  name: "create",
37
37
  description: "Create a new API key (raw key shown once)",
38
38
  schema: ApiKeysCreateOptionsSchema,
39
39
  optionsConfig: CREATE_OPTIONS_CONFIG,
40
- loadHandler: async () => (await import("./create.handler-CBxIPC3r.mjs")).handleApiKeysCreate
40
+ loadHandler: async () => (await import("./create.handler-CQCRk-Na.mjs")).handleApiKeysCreate
41
41
  }),
42
42
  createTypedCommand({
43
43
  name: "delete",
@@ -49,7 +49,7 @@ function createApiKeysCommand() {
49
49
  description: "API key ID to delete",
50
50
  key: "apiKeyId"
51
51
  },
52
- loadHandler: async () => (await import("./delete.handler-Buu7Ip0D.mjs")).handleApiKeysDelete
52
+ loadHandler: async () => (await import("./delete.handler-DNoehdOH.mjs")).handleApiKeysDelete
53
53
  })
54
54
  ]
55
55
  });
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { n as DEFAULT_CLI_WEB_URL } from "./default-urls-BoSm4s9C.mjs";
4
4
  import { b as AUTH_TIMEOUT_SECONDS } from "./keystroke.mjs";
5
- import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
5
+ import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
6
6
  import { z } from "zod";
7
7
  //#region src/commands/auth/auth.command.ts
8
8
  const AuthOptionsSchema = z.object({
@@ -30,28 +30,28 @@ function createAuthCommand() {
30
30
  description: "Authenticate Keystroke CLI via device flow",
31
31
  schema: AuthOptionsSchema,
32
32
  optionsConfig: AUTH_OPTIONS_CONFIG,
33
- loadHandler: async () => (await import("./auth.handler-C1dZBdaG.mjs")).handleAuth,
33
+ loadHandler: async () => (await import("./auth.handler-CxTDSO6O.mjs")).handleAuth,
34
34
  subcommands: [
35
35
  createTypedCommand({
36
36
  name: "clear",
37
37
  description: "Revoke the saved API key and remove local credentials",
38
38
  schema: z.object({}),
39
39
  optionsConfig: {},
40
- loadHandler: async () => (await import("./clear.handler-BgeAg2de.mjs")).handleAuthClear
40
+ loadHandler: async () => (await import("./clear.handler-Bksm2HI4.mjs")).handleAuthClear
41
41
  }),
42
42
  createTypedCommand({
43
43
  name: "test",
44
44
  description: "Verify that the saved API key is valid",
45
45
  schema: z.object({}),
46
46
  optionsConfig: {},
47
- loadHandler: async () => (await import("./test.handler-CkkplyX6.mjs")).handleAuthTest
47
+ loadHandler: async () => (await import("./test.handler-DhhcsvHN.mjs")).handleAuthTest
48
48
  }),
49
49
  createTypedCommand({
50
50
  name: "status",
51
51
  description: "Show the current signed-in identity and organization context",
52
52
  schema: z.object({}),
53
53
  optionsConfig: {},
54
- loadHandler: async () => (await import("./status.handler-BsVtDW_V.mjs")).handleAuthStatus
54
+ loadHandler: async () => (await import("./status.handler-BOV0eX3J.mjs")).handleAuthStatus
55
55
  })
56
56
  ]
57
57
  });
@@ -3,7 +3,7 @@
3
3
  import { n as DEFAULT_CLI_WEB_URL, t as DEFAULT_CLI_SERVER_URL } from "./default-urls-BoSm4s9C.mjs";
4
4
  import { C as CALLBACK_LOOPBACK_ORIGIN, D as CliExitError, P as logger, S as CALLBACK_LOOPBACK_HOST, T as CLI_AUTH_COMMAND, a as ui, d as resolveCliWebUrl, u as resolveCliServerUrl, w as CALLBACK_PATH, x as AUTH_URL_PATH, y as toErrorMessage } from "./keystroke.mjs";
5
5
  import { n as credentials } from "./dist-CIInPRGh.mjs";
6
- import { t as openBrowser } from "./browser-BpJ8ut9z.mjs";
6
+ import { t as openBrowser } from "./browser-Cu4k-wT_.mjs";
7
7
  import { hostname } from "node:os";
8
8
  import { z } from "zod";
9
9
  import { confirm, isCancel } from "@clack/prompts";
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as readOptionalJsonSchemaKeys, t as manifestToDeclaredCredentialRequirement } from "./declared-credential-requirements-D6KT-r-e.mjs";
4
- import { t as AgentVersionManifestSchema } from "./agent-manifest-tIsqF2OP.mjs";
5
- import { i as createAgentSandboxPackage, n as AGENT_VM_PI_SKILLS_ROOT, r as AGENT_VM_TOOLS_RUNTIME_RELATIVE_PATH, t as AGENT_VM_HOST_CALL_RELATIVE_PATH } from "./agent-bundle-package-DWV6B_5q-FPT0bJaA.mjs";
6
- import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-B0eiobOd.mjs";
7
- import { t as bundleSandboxAgentTarget } from "./workflow-bundler-BzHk73PM-WI31RJjH.mjs";
3
+ import { c as readOptionalJsonSchemaKeys, s as manifestToDeclaredCredentialRequirement } from "./src-BHTjsZ9V.mjs";
4
+ import { t as AgentVersionManifestSchema } from "./agent-manifest-CZ7BeUSG.mjs";
5
+ import { i as createAgentSandboxPackage, n as AGENT_VM_PI_SKILLS_ROOT, r as AGENT_VM_TOOLS_RUNTIME_RELATIVE_PATH, t as AGENT_VM_HOST_CALL_RELATIVE_PATH } from "./agent-bundle-package-DWV6B_5q-BsbCEeMw.mjs";
6
+ import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-CzXPGxdU.mjs";
7
+ import { t as bundleSandboxAgentTarget } from "./workflow-bundler-BzHk73PM-Cs-4Ml-p.mjs";
8
8
  import { builtinModules } from "node:module";
9
9
  import path from "node:path";
10
10
  import { lstat, readFile, readdir, realpath } from "node:fs/promises";
@@ -1,16 +1,16 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { i as __toESM } from "./chunk-CH6r78ws.mjs";
4
- import { n as FileMetadataSchema, t as FILE_METADATA_SCHEMA_VERSION } from "./file-metadata-lrX05iRt.mjs";
5
- import { d as getMetadataRoot, l as createMetadataOutputFile, n as BUILD_OUTPUT_DIR_NAME, u as getFileMetadataPath } from "./layout-P1v-Gssz.mjs";
6
- import { l as require_out, s as sha256String, t as BASE_IGNORE_PATTERNS } from "./metadata-layout-Bv-B0nHj-B1c5giJ7.mjs";
7
- import { a as literalString, c as readStringProperty, i as literalNumber, l as unwrapExpression, n as identifierName, o as parseSourceFile, r as isNode, s as readPropertyValue, t as getFirstObjectArgument, u as visitNode } from "./oxc-B3KI3rf_-Cvx4Z-4H.mjs";
8
- import { a as getLocalModuleSpecifier, f as resolveLocalModulePath, l as removeEmptyMetadataDirectories, o as getVariableDeclarators, s as isExportedVariableStatement } from "./source-analysis-BBg2E_6G-Ut7kYHOz.mjs";
9
- import { n as parseRelativeFilePath, r as toRelativeFilePath, t as normalizeRelativeFilePath } from "./normalize-path-CojS-CgQ-D4wSBHgG.mjs";
3
+ import { a as __toESM } from "./chunk-DYxdGL9S.mjs";
4
+ import { n as FileMetadataSchema, t as FILE_METADATA_SCHEMA_VERSION } from "./file-metadata-B8c7Y5yg.mjs";
5
+ import { d as getMetadataRoot, l as createMetadataOutputFile, n as BUILD_OUTPUT_DIR_NAME, u as getFileMetadataPath } from "./layout-DRf9qUf8.mjs";
6
+ import { l as require_out, s as sha256String, t as BASE_IGNORE_PATTERNS } from "./metadata-layout-Bv-B0nHj-DtMWZ7Cc.mjs";
7
+ import { a as literalString, c as readStringProperty, i as literalNumber, l as unwrapExpression, n as identifierName, o as parseSourceFile, r as isNode, s as readPropertyValue, t as getFirstObjectArgument, u as visitNode } from "./oxc-B3KI3rf_-Cnk0L10M.mjs";
8
+ import { a as getLocalModuleSpecifier, f as resolveLocalModulePath, l as removeEmptyMetadataDirectories, o as getVariableDeclarators, s as isExportedVariableStatement } from "./source-analysis-BBg2E_6G-BJTRqWrQ.mjs";
9
+ import { n as parseRelativeFilePath, r as toRelativeFilePath, t as normalizeRelativeFilePath } from "./normalize-path-CojS-CgQ-CRqBc6D6.mjs";
10
10
  import path from "node:path";
11
11
  import { mkdir, readFile, rm, stat, writeFile } from "node:fs/promises";
12
12
  import { performance } from "node:perf_hooks";
13
- //#region ../../packages/workflow-builder/dist/build-metadata-C8Ra_Gi-.mjs
13
+ //#region ../../packages/workflow-builder/dist/build-metadata-BB_L45ZS.mjs
14
14
  var import_out = /* @__PURE__ */ __toESM(require_out(), 1);
15
15
  const IGNORED_IDENTIFIERS = new Set([
16
16
  "undefined",
@@ -523,7 +523,7 @@ function getRecognizedDefinition(expression, importedCoreSymbols, importedTrigge
523
523
  if (callee && (importedSymbol === "cronTrigger" || importedSymbol === "webhookTrigger" || importedSymbol === "pollingTrigger")) return {
524
524
  exportEntryKind: "trigger",
525
525
  kind: "trigger",
526
- name: readStringProperty(getFirstObjectArgument(unwrappedExpression), "name"),
526
+ name: readStringProperty(getFirstObjectArgument(unwrappedExpression), "id"),
527
527
  triggerType: importedSymbol === "cronTrigger" ? "cron" : importedSymbol === "webhookTrigger" ? "webhook" : "polling",
528
528
  sourceNode: callee
529
529
  };
@@ -532,7 +532,7 @@ function getRecognizedDefinition(expression, importedCoreSymbols, importedTrigge
532
532
  if (importedTriggerCall) return {
533
533
  exportEntryKind: "trigger",
534
534
  kind: "trigger",
535
- name: readStringProperty(getFirstObjectArgument(unwrappedExpression), "name"),
535
+ name: readStringProperty(getFirstObjectArgument(unwrappedExpression), "id"),
536
536
  triggerType: inferImportedTriggerType(importedTriggerCall),
537
537
  sourceNode: callee
538
538
  };
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { P as logger } from "./keystroke.mjs";
4
- import { n as formatProgressDuration, t as createSpinnerProgress } from "./spinner-progress-Bx-fYItP.mjs";
4
+ import { n as formatProgressDuration, t as createSpinnerProgress } from "./spinner-progress-DV28G4tP.mjs";
5
5
  //#region src/lib/build-progress.ts
6
6
  const NEW_STAGE_LABELS = {
7
7
  start: "Starting build",
@@ -1,10 +1,10 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as TaskBuildManifestSchema } from "./task-BRmL2lmw.mjs";
4
- import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-WI31RJjH.mjs";
5
- import { t as buildTriggerArtifacts } from "./trigger-artifacts-RizI57RC-DjhOsdOm.mjs";
3
+ import { n as TaskBuildManifestSchema } from "./task-BSCN9cU4.mjs";
4
+ import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-Cs-4Ml-p.mjs";
5
+ import { t as buildTriggerArtifacts } from "./trigger-artifacts-BcRScRSp-DqFgzl_B.mjs";
6
6
  import { performance } from "node:perf_hooks";
7
- //#region ../../packages/workflow-builder/dist/build-tasks-GVuMLS0h.mjs
7
+ //#region ../../packages/workflow-builder/dist/build-tasks-C09SdfjC.mjs
8
8
  async function buildTaskArtifact(options) {
9
9
  const { discoveredWorkflow, taskMetadata, projectRoot } = options;
10
10
  const totalStartedAt = performance.now();
@@ -1,19 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { f as deduplicateCredentialRequirementEntries } from "./credential-requirements-Ob-7H-0F.mjs";
4
- import { r as WorkflowBuildManifestSchema, t as WORKFLOW_MANIFEST_GENERATOR } from "./workflow-build-manifest-BKKW9D05.mjs";
5
- import { a as MANIFEST_FILE_NAME, i as FLOW_FILE_NAME, r as BUNDLE_FILE_NAME, s as SOURCE_MAP_FILE_NAME, t as BUILD_DIR_NAME } from "./layout-P1v-Gssz.mjs";
6
- import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-BTlfau8D.mjs";
7
- import { n as WorkflowLoaderProtocolError, r as WorkflowMetadataLoadError, s as createLoaderProtocolFailure } from "./import-module--8x5SLum-DjPUZr4i.mjs";
8
- import { r as toRelativeFilePath } from "./normalize-path-CojS-CgQ-D4wSBHgG.mjs";
9
- import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-WI31RJjH.mjs";
10
- import { t as buildTriggerArtifacts } from "./trigger-artifacts-RizI57RC-DjhOsdOm.mjs";
3
+ import { i as WorkflowBuildManifestSchema, n as WORKFLOW_MANIFEST_GENERATOR, t as src_exports } from "./src-BHTjsZ9V.mjs";
4
+ import { a as MANIFEST_FILE_NAME, i as FLOW_FILE_NAME, r as BUNDLE_FILE_NAME, s as SOURCE_MAP_FILE_NAME, t as BUILD_DIR_NAME } from "./layout-DRf9qUf8.mjs";
5
+ import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-BSBbRfVp.mjs";
6
+ import { n as WorkflowLoaderProtocolError, r as WorkflowMetadataLoadError, s as createLoaderProtocolFailure } from "./import-module-y0glInUe-CfNsQNia.mjs";
7
+ import { r as toRelativeFilePath } from "./normalize-path-CojS-CgQ-CRqBc6D6.mjs";
8
+ import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-Cs-4Ml-p.mjs";
9
+ import { t as buildTriggerArtifacts } from "./trigger-artifacts-BcRScRSp-DqFgzl_B.mjs";
11
10
  import * as path$1 from "node:path";
12
11
  import { readFile } from "node:fs/promises";
13
12
  import { realpathSync } from "node:fs";
14
13
  import { createHash } from "node:crypto";
15
14
  import { performance } from "node:perf_hooks";
16
- //#region ../../packages/workflow-builder/dist/build-workflows-CV4tBo6S.mjs
15
+ //#region ../../packages/workflow-builder/dist/build-workflows-BZ_m97Pr.mjs
17
16
  /**
18
17
  * Resolves and categorizes all dependencies for a workflow manifest.
19
18
  * - Local files: relative paths with SHA256 content hashes
@@ -265,7 +264,7 @@ function buildCredentialRequirements(flowGraph, credentialsByCallsiteFingerprint
265
264
  ...operationScopes ? { requiredOAuthScopes: [...operationScopes] } : {}
266
265
  })) ?? [];
267
266
  const callsiteEntries = node.data.callsiteFingerprint ? toCredentialRequirementEntries(credentialsByCallsiteFingerprint[node.data.callsiteFingerprint] ?? []) : [];
268
- const entries = deduplicateCredentialRequirementEntries([...nodeEntries, ...callsiteEntries]);
267
+ const entries = (0, src_exports.deduplicateCredentialRequirementEntries)([...nodeEntries, ...callsiteEntries]);
269
268
  if (entries.length === 0) continue;
270
269
  byStep[node.id] = entries;
271
270
  for (const entry of entries) allCredentialSetIds.add(entry.credentialSetId);
@@ -2,10 +2,10 @@
2
2
 
3
3
  import { D as CliExitError } from "./keystroke.mjs";
4
4
  import { i as projects } from "./dist-CIInPRGh.mjs";
5
- import { t as requireWorkflowsDir } from "./resolve-project-CNQtOWE4.mjs";
6
- import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-C8AiYxqp.mjs";
7
- import { t as createBuildProgress } from "./build-progress-AR8xow4_.mjs";
8
- import { t as withErrorBoundary } from "./error-boundary-B8cmSwJH.mjs";
5
+ import { t as requireWorkflowsDir } from "./resolve-project-CWP2fji3.mjs";
6
+ import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-IGYhEC8Y.mjs";
7
+ import { t as createBuildProgress } from "./build-progress-BVwDg6lC.mjs";
8
+ import { t as withErrorBoundary } from "./error-boundary-GtRvP2oP.mjs";
9
9
  //#region src/commands/workflows/build.handler.ts
10
10
  async function handleWorkflowsBuild(options, _ctx) {
11
11
  return withErrorBoundary("Build", async () => {
@@ -28,10 +28,11 @@ var __copyProps = (to, from, except, desc) => {
28
28
  }
29
29
  return to;
30
30
  };
31
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
31
32
  var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
32
33
  value: mod,
33
34
  enumerable: true
34
35
  }) : target, mod));
35
36
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
36
37
  //#endregion
37
- export { __toESM as i, __exportAll as n, __require as r, __commonJSMin as t };
38
+ export { __toESM as a, __require as i, __exportAll as n, __reExport as r, __commonJSMin as t };
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { P as logger, a as ui, p as AUTH_HINT, y as toErrorMessage } from "./keystroke.mjs";
4
4
  import { n as credentials } from "./dist-CIInPRGh.mjs";
5
- import { createClient } from "./src-0XVwHXNp.mjs";
5
+ import { createClient } from "./src-BYQwp8Ig.mjs";
6
6
  //#region src/commands/auth/clear.handler.ts
7
7
  async function tryRevokeKey(apiKey, apiKeyId, baseUrl, organizationId) {
8
8
  try {
@@ -78,7 +78,7 @@ function createTypedCommand(params) {
78
78
  const globalOpts = cmd.optsWithGlobals();
79
79
  if (globalOpts.debug) setDebug(true);
80
80
  const contextMode = params.contextMode ?? "full";
81
- const contextModule = await import("./context-BydAGTiB.mjs").then((n) => n.n);
81
+ const contextModule = await import("./context-BUzxM3QI.mjs").then((n) => n.n);
82
82
  const base = contextMode === "auth" ? await contextModule.resolveAuthContext({
83
83
  apiKey: globalOpts.apiKey,
84
84
  serverUrl: globalOpts.serverUrl,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
4
- import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
4
+ import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
5
5
  import { z } from "zod";
6
6
  //#region src/commands/connect/connect.command.ts
7
7
  const ConnectOptionsSchema = JsonOptionSchema.extend({
@@ -37,7 +37,7 @@ function createConnectCommand() {
37
37
  description: "Connect an official integration via OAuth (e.g., keystroke connect slack)",
38
38
  schema: ConnectOptionsSchema,
39
39
  optionsConfig: CONNECT_OPTIONS_CONFIG,
40
- loadHandler: async () => (await import("./connect.handler-E8CmLRSF.mjs")).handleConnect,
40
+ loadHandler: async () => (await import("./connect.handler-DbuGt3Xb.mjs")).handleConnect,
41
41
  argument: {
42
42
  name: "integrationId",
43
43
  description: "Integration to connect (e.g., slack, linear)",
@@ -2,9 +2,9 @@
2
2
 
3
3
  import { a as ui, j as throwReportedCliExit, p as AUTH_HINT, v as isNetworkError, y as toErrorMessage } from "./keystroke.mjs";
4
4
  import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
- import { t as openBrowser } from "./browser-BpJ8ut9z.mjs";
6
- import { i as InitiateConnectionResponseSchema, n as ConnectionStatusResponseSchema, r as InitiateConnectionRequestSchema } from "./api-nR61stdq.mjs";
7
- import { t as getIntegrationCatalog } from "./integration-catalog-CmvYPvI6.mjs";
5
+ import { t as openBrowser } from "./browser-Cu4k-wT_.mjs";
6
+ import { i as InitiateConnectionResponseSchema, n as ConnectionStatusResponseSchema, r as InitiateConnectionRequestSchema } from "./api-BjBpWWlm.mjs";
7
+ import { t as getIntegrationCatalog } from "./integration-catalog-BrJsBkfx.mjs";
8
8
  //#region src/commands/connect/connect.handler.ts
9
9
  function formatIntegrationLabel(catalog, integrationId) {
10
10
  return catalog.lookupByPublicId(integrationId)?.name ?? integrationId;
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as __exportAll } from "./chunk-CH6r78ws.mjs";
3
+ import { n as __exportAll } from "./chunk-DYxdGL9S.mjs";
4
4
  import { D as CliExitError, E as AuthenticationError, P as logger, _ as isAuthError, a as ui, c as getProcessEnv, m as REAUTH_HINT, p as AUTH_HINT, s as getEnv, y as toErrorMessage } from "./keystroke.mjs";
5
5
  import { n as credentials } from "./dist-CIInPRGh.mjs";
6
6
  import { t as resolveCliCredentials } from "./resolve-cli-credentials-DytxgMwn.mjs";
@@ -37,7 +37,7 @@ async function resolveBaseContext(overrides = {}) {
37
37
  const authContext = await resolveAuthContext(overrides);
38
38
  let client = null;
39
39
  if (authContext.apiKey && authContext.baseUrl) try {
40
- const { createClient } = await import("./src-0XVwHXNp.mjs");
40
+ const { createClient } = await import("./src-BYQwp8Ig.mjs");
41
41
  client = createClient({
42
42
  apiKey: authContext.apiKey,
43
43
  baseUrl: authContext.baseUrl,
@@ -2,7 +2,7 @@
2
2
 
3
3
  import { a as ui, j as throwReportedCliExit, y as toErrorMessage } from "./keystroke.mjs";
4
4
  import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
- import { i as requireClient } from "./context-BydAGTiB.mjs";
5
+ import { i as requireClient } from "./context-BUzxM3QI.mjs";
6
6
  //#region src/commands/api-keys/create.handler.ts
7
7
  async function handleApiKeysCreate(options, ctx) {
8
8
  const client = requireClient(ctx);
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
4
- import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
5
- import { i as CredentialScopeValues, r as CredentialScopeSchema } from "./schema-BjH_e4Fo.mjs";
4
+ import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
5
+ import { i as CredentialScopeValues, r as CredentialScopeSchema } from "./schema-CvSZqa3t.mjs";
6
6
  import { z } from "zod";
7
7
  //#region src/commands/credentials/list/list.command.ts
8
8
  const ListOptionsSchema = JsonOptionSchema.extend({
@@ -46,7 +46,7 @@ function createCredentialsListCommand() {
46
46
  description: "List credential sets on the server",
47
47
  schema: ListOptionsSchema,
48
48
  optionsConfig: LIST_OPTIONS_CONFIG,
49
- loadHandler: async () => (await import("./list.handler-DdFGHkqt.mjs")).handleCredentialsList
49
+ loadHandler: async () => (await import("./list.handler-BsgCd1oF.mjs")).handleCredentialsList
50
50
  });
51
51
  }
52
52
  //#endregion
@@ -65,7 +65,7 @@ function createCredentialsRequirementsCommand() {
65
65
  description: "Show what credentials built workflows need (keys, KEYSTROKE_* env names, workflows) — from dist manifests, no API call",
66
66
  schema: RequirementsOptionsSchema,
67
67
  optionsConfig: REQUIREMENTS_OPTIONS_CONFIG,
68
- loadHandler: async () => (await import("./requirements.handler-C5vobjdJ.mjs")).handleCredentialsRequirements
68
+ loadHandler: async () => (await import("./requirements.handler-Bk-sAE9C.mjs")).handleCredentialsRequirements
69
69
  });
70
70
  }
71
71
  //#endregion
@@ -126,7 +126,7 @@ function createCredentialsUploadCommand() {
126
126
  description: "Upload credentials from env vars to the server. Default: reads requirements from built workflow manifests. Use --integration for an official integration or --credential-set + --keys for a custom explicit upload.",
127
127
  schema: UploadOptionsSchema,
128
128
  optionsConfig: UPLOAD_OPTIONS_CONFIG,
129
- loadHandler: async () => (await import("./upload.handler-_d2WZwxd.mjs")).handleCredentialsUpload
129
+ loadHandler: async () => (await import("./upload.handler-BHIWYPph.mjs")).handleCredentialsUpload
130
130
  });
131
131
  }
132
132
  //#endregion
@@ -157,7 +157,7 @@ function createCredentialsCommand() {
157
157
  }
158
158
  },
159
159
  handler: async (opts, ctx) => {
160
- const { handleCredentialsList } = await import("./list.handler-DdFGHkqt.mjs");
160
+ const { handleCredentialsList } = await import("./list.handler-BsgCd1oF.mjs");
161
161
  await handleCredentialsList({
162
162
  ...opts,
163
163
  scope: void 0,
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { d as collectCredentialRequirementEntries } from "./credential-requirements-Ob-7H-0F.mjs";
3
+ import { t as src_exports } from "./src-BHTjsZ9V.mjs";
4
4
  //#region ../../packages/workflow-deploy/dist/credentials/index.mjs
5
5
  /**
6
6
  * Resolves credential values from environment using KEYSTROKE_<KEY> convention.
@@ -39,7 +39,7 @@ function addEntriesToGroups(groups, entries) {
39
39
  }
40
40
  function groupCredentialRequirements(manifest) {
41
41
  const groups = /* @__PURE__ */ new Map();
42
- addEntriesToGroups(groups, collectCredentialRequirementEntries(manifest.credentials));
42
+ addEntriesToGroups(groups, (0, src_exports.collectCredentialRequirementEntries)(manifest.credentials));
43
43
  return [...groups.values()];
44
44
  }
45
45
  function buildScopes(params) {
@@ -2,10 +2,10 @@
2
2
 
3
3
  import { A as WorkflowResolutionError, a as ui, g as getHttpStatus, h as getApiErrorCode } from "./keystroke.mjs";
4
4
  import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
5
- import { a as readManifestsFromOutDir } from "./dist-Cx0RV8s7.mjs";
6
- import { t as requireWorkflowsDir } from "./resolve-project-CNQtOWE4.mjs";
7
- import { t as createSpinnerProgress } from "./spinner-progress-Bx-fYItP.mjs";
8
- import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-C8AiYxqp.mjs";
5
+ import { a as readManifestsFromOutDir } from "./dist-BGrWr5fp.mjs";
6
+ import { t as requireWorkflowsDir } from "./resolve-project-CWP2fji3.mjs";
7
+ import { t as createSpinnerProgress } from "./spinner-progress-DV28G4tP.mjs";
8
+ import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-IGYhEC8Y.mjs";
9
9
  //#region src/commands/workflows/_shared/current-deployment-workflow.ts
10
10
  /**
11
11
  * Lightweight resolution: gets projectId from keystroke.config.ts and authoredWorkflowId
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { a as ui } from "./keystroke.mjs";
4
- import { i as requireClient } from "./context-BydAGTiB.mjs";
4
+ import { i as requireClient } from "./context-BUzxM3QI.mjs";
5
5
  //#region src/commands/org/current.handler.ts
6
6
  async function handleOrgCurrent(_options, ctx) {
7
7
  if (!ctx.organizationId) {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { a as ui, j as throwReportedCliExit, y as toErrorMessage } from "./keystroke.mjs";
4
- import { i as requireClient } from "./context-BydAGTiB.mjs";
4
+ import { i as requireClient } from "./context-BUzxM3QI.mjs";
5
5
  //#region src/commands/api-keys/delete.handler.ts
6
6
  async function handleApiKeysDelete(options, ctx) {
7
7
  const client = requireClient(ctx);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
3
+ import { t as createTypedCommand } from "./commander-DQLrBSIW.mjs";
4
4
  import { z } from "zod";
5
5
  //#region src/commands/deploy/deploy.command.ts
6
6
  /**
@@ -64,7 +64,7 @@ function createDeployCommand() {
64
64
  schema: DeployOptionsSchema,
65
65
  optionsConfig: DEPLOY_OPTIONS_CONFIG,
66
66
  contextMode: "auth",
67
- loadHandler: async () => (await import("./deploy.handler-CCcJ7y3A.mjs")).handleDeploy
67
+ loadHandler: async () => (await import("./deploy.handler-TnPNBYXZ.mjs")).handleDeploy
68
68
  });
69
69
  cmd.enablePositionalOptions();
70
70
  cmd.passThroughOptions();
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { a as createKyInstance, n as auth, r as bundles, s as getClientEnv, t as projects } from "./projects-BndElPAx.mjs";
3
+ import { a as createKyInstance, n as auth, r as bundles, s as getClientEnv, t as projects } from "./projects-s5ehKLil.mjs";
4
4
  //#region ../../packages/workflow-sdk/src/deploy.ts
5
5
  function createDeployClient(config = {}) {
6
6
  const env = getClientEnv();
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { a as ui } from "./keystroke.mjs";
4
- import { t as createSpinnerProgress } from "./spinner-progress-Bx-fYItP.mjs";
4
+ import { t as createSpinnerProgress } from "./spinner-progress-DV28G4tP.mjs";
5
5
  //#region src/lib/deploy-progress.ts
6
6
  function renderItemFailure(event, kind, spinner) {
7
7
  if (event.result === "failure") spinner.fail(`${kind} failed (${event.name})`, void 0, event.error);