@keystrokehq/cli 0.0.17 → 0.0.19

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 (152) hide show
  1. package/README.md +1 -1
  2. package/dist/{accept.handler-BPwp_UAE.mjs → accept.handler-BVmNNAgL.mjs} +4 -4
  3. package/dist/{admin-Bb9Hx-gO.mjs → admin-DQlHFuXn.mjs} +11 -11
  4. package/dist/{agents-CbmvvOAx.mjs → agents-Dd7UeQCw.mjs} +10 -10
  5. package/dist/{api-keys-DJlyIf10.mjs → api-keys-BsMBFiD_.mjs} +6 -6
  6. package/dist/{api-jkf0TTgD.mjs → api-nR61stdq.mjs} +4 -5
  7. package/dist/{auth-DpDEkJz7.mjs → auth-ZTuuEoD6.mjs} +12 -7
  8. package/dist/{auth.handler-u3qmoUX0.mjs → auth.handler-C1dZBdaG.mjs} +60 -27
  9. package/dist/{build-agents-DseUtzd4-VYWtIZy9.mjs → build-agents-DseUtzd4-CthuIecx.mjs} +6 -6
  10. package/dist/{build-metadata-C8Ra_Gi--BdoyLQMl.mjs → build-metadata-C8Ra_Gi--L3l8w0rh.mjs} +7 -7
  11. package/dist/{build-progress-BZivcVz4.mjs → build-progress-AR8xow4_.mjs} +2 -2
  12. package/dist/{build-tasks-GVuMLS0h-p08mMOyK.mjs → build-tasks-GVuMLS0h-BaPhhGXO.mjs} +3 -3
  13. package/dist/{build-workflows-CV4tBo6S-knCnBKTc.mjs → build-workflows-CV4tBo6S-szwrAGWT.mjs} +10 -10
  14. package/dist/{build.handler-BNSC_zhQ.mjs → build.handler-DJrEMCBw.mjs} +7 -7
  15. package/dist/{clear-cache.handler-gr5VmEYB.mjs → clear-cache.handler-CTLQ1PIN.mjs} +3 -3
  16. package/dist/clear.handler-BgeAg2de.mjs +68 -0
  17. package/dist/{clear.handler-CtOZ4aRn.mjs → clear.handler-C_pXAeBG.mjs} +3 -2
  18. package/dist/{commander-D15UZVjp.mjs → commander-C5qcOo8m.mjs} +4 -4
  19. package/dist/{connect-DzSNDSmI.mjs → connect-BtBKoXpi.mjs} +3 -3
  20. package/dist/{connect.handler-DRO05ak3.mjs → connect.handler-E8CmLRSF.mjs} +5 -5
  21. package/dist/{context-B1L8pZsH.mjs → context-BydAGTiB.mjs} +49 -17
  22. package/dist/{create.handler-DF1Ye4nr.mjs → create.handler-CBxIPC3r.mjs} +3 -3
  23. package/dist/{credential-env-map-B2nVJXPn.mjs → credential-env-map-BA4LNI7x.mjs} +6 -5
  24. package/dist/{credential-requirements-FtBk5JVB.mjs → credential-requirements-Ob-7H-0F.mjs} +3 -3
  25. package/dist/{credential-schema-mismatch-CfyBUMPS.mjs → credential-schema-mismatch-z74ud-YZ.mjs} +1 -1
  26. package/dist/{credentials-VidBoOd7.mjs → credentials-BGaRMclS.mjs} +7 -7
  27. package/dist/{credentials-CiOwDS5y.mjs → credentials-jRiXEr6P.mjs} +1 -1
  28. package/dist/{current-deployment-workflow-BRUEdPrN.mjs → current-deployment-workflow-BVliROAz.mjs} +6 -6
  29. package/dist/{current.handler-QZQ-l84v.mjs → current.handler-DBl9S67d.mjs} +3 -3
  30. package/dist/{default-urls-BS4twrsS.mjs → default-urls-BoSm4s9C.mjs} +1 -1
  31. package/dist/{delete.handler-Bude0SVP.mjs → delete.handler-Buu7Ip0D.mjs} +2 -2
  32. package/dist/{deploy-CJbVB7e2.mjs → deploy-BPDUTKZD.mjs} +1 -1
  33. package/dist/{deploy-eshEEiP-.mjs → deploy-CzTlgAFj.mjs} +2 -2
  34. package/dist/{deploy-progress-DJHph1Fz.mjs → deploy-progress-DK87VKJ-.mjs} +2 -2
  35. package/dist/{deploy.handler-BxxWI7nV.mjs → deploy.handler-CCcJ7y3A.mjs} +20 -20
  36. package/dist/{detect-env-access-CwkOYeYM-CZIixHeR.mjs → detect-env-access-CwkOYeYM-CNTyUzme.mjs} +1 -1
  37. package/dist/{diff-utils-4OQTpP5s.mjs → diff-utils-B0ED-Igv.mjs} +1 -1
  38. package/dist/{diff.handler-CzrKCj7N.mjs → diff.handler-DUVFixeG.mjs} +7 -7
  39. package/dist/dist-CIInPRGh.mjs +1071 -0
  40. package/dist/{dist-FQYQ2FLm.mjs → dist-Cx0RV8s7.mjs} +15 -15
  41. package/dist/{env.handler-B3YDQIVE.mjs → env.handler-C8kNFz2U.mjs} +10 -10
  42. package/dist/{error-boundary-CyLcinp1.mjs → error-boundary-B8cmSwJH.mjs} +3 -3
  43. package/dist/{file-metadata-DaPPpiTh.mjs → file-metadata-lrX05iRt.mjs} +1 -1
  44. package/dist/{iam-command-utils-ByLX0A-V.mjs → iam-command-utils-CSZj4XlH.mjs} +2 -2
  45. package/dist/{import-module--8x5SLum-DaUNACER.mjs → import-module--8x5SLum-DjPUZr4i.mjs} +12 -11
  46. package/dist/{init-CWFJdKNs.mjs → init-DeeOVc9m.mjs} +3 -3
  47. package/dist/{init.handler-BZSoM76V.mjs → init.handler-BMdhpusQ.mjs} +8 -8
  48. package/dist/{inspect.handler-umc7of-r.mjs → inspect.handler-QyTo8rWO.mjs} +8 -8
  49. package/dist/{integration-catalog-BgT4mLzW.mjs → integration-catalog-CmvYPvI6.mjs} +3 -3
  50. package/dist/integrations-tXZM-84g.mjs +185 -0
  51. package/dist/{invites-Cqi7iyIN.mjs → invites-ClyAatBW.mjs} +5 -5
  52. package/dist/{invites.list.handler-CErgY35S.mjs → invites.list.handler-CPkK_tPM.mjs} +4 -4
  53. package/dist/{invites.resend.handler-DRCRIA4F.mjs → invites.resend.handler-DIRI7tS2.mjs} +4 -4
  54. package/dist/{invites.revoke.handler-C0FZdAR0.mjs → invites.revoke.handler-CcXcDBlU.mjs} +4 -4
  55. package/dist/keystroke.mjs +561 -209
  56. package/dist/{list-enrichment-C6u5eI0j.mjs → list-enrichment-B9238wom.mjs} +3 -3
  57. package/dist/{list.handler-CBEXiTAK.mjs → list.handler-BB-Dcm5B.mjs} +3 -3
  58. package/dist/{list.handler-c-8RpgB9.mjs → list.handler-BLkQKiV1.mjs} +17 -16
  59. package/dist/{list.handler-Cr_DFAae.mjs → list.handler-Cbc9rlBx.mjs} +3 -3
  60. package/dist/{list.handler-DYdNWjgk.mjs → list.handler-ClPAPSWm.mjs} +4 -4
  61. package/dist/{list.handler-D-YFoKLU.mjs → list.handler-DdFGHkqt.mjs} +7 -7
  62. package/dist/{list.handler-FlchXrKz.mjs → list.handler-Xl_F89kq.mjs} +4 -4
  63. package/dist/{list2.handler-T5v4EK20.mjs → list.handler-tnsRn-Rj.mjs} +7 -7
  64. package/dist/{listen-rHLiCWbn.mjs → listen-ksMVpdNa.mjs} +3 -3
  65. package/dist/{listen.handler-B9T58yAj.mjs → listen.handler-DEJSBg8y.mjs} +4 -4
  66. package/dist/logs-C-JxXsgc.mjs +58 -0
  67. package/dist/{logs.handler-DGcGN2qb.mjs → logs.handler-BIegqc2p.mjs} +4 -4
  68. package/dist/logs.handler-DyRoevtO.mjs +53 -0
  69. package/dist/{members.add.handler-DmYI43rZ.mjs → members.add.handler-D4ggN2Xi.mjs} +4 -4
  70. package/dist/{members.invite.handler-B_KVxv5m.mjs → members.invite.handler-BYIt6Oib.mjs} +4 -4
  71. package/dist/{members.list.handler-BtuuIgQS.mjs → members.list.handler-CvpeYKC4.mjs} +4 -4
  72. package/dist/{members.remove.handler-Lvg-CqVv.mjs → members.remove.handler-C4GBUVYE.mjs} +4 -4
  73. package/dist/{members.update.handler-D-8izeso.mjs → members.update.handler-TpM1oi0L.mjs} +4 -4
  74. package/dist/{normalize-path-CojS-CgQ-DFTvyA27.mjs → normalize-path-CojS-CgQ-D4wSBHgG.mjs} +1 -1
  75. package/dist/{org-DUCts2MV.mjs → org-DIGyb7XZ.mjs} +17 -17
  76. package/dist/{orgs.create.handler-vXQgDJZ_.mjs → orgs.create.handler-RIYhse_Q.mjs} +4 -4
  77. package/dist/{orgs.get.handler-D_Jfl18x.mjs → orgs.get.handler-BfOpbSom.mjs} +4 -4
  78. package/dist/{orgs.list.handler-BNjoTJvV.mjs → orgs.list.handler-BMgj9yTD.mjs} +4 -4
  79. package/dist/{output-CGdYhH0p.mjs → output-BWcVRt-T.mjs} +1 -1
  80. package/dist/paths-JzzFkXQA-CEipIeVl.mjs +36 -0
  81. package/dist/{paused.handler-ST9dCe8E.mjs → paused.handler-DAZ1EaLN.mjs} +3 -3
  82. package/dist/{projects-DfaG_3WP.mjs → projects-BndElPAx.mjs} +5 -3
  83. package/dist/{projects-CbquwUlm.mjs → projects-Cy6CH3fI.mjs} +5 -5
  84. package/dist/{register.handler-BAx0IC-u.mjs → register.handler-BXeh5mdb.mjs} +20 -11
  85. package/dist/{requirements.handler-D5dFi7XZ.mjs → requirements.handler-C5vobjdJ.mjs} +7 -7
  86. package/dist/resolve-cli-credentials-DytxgMwn.mjs +47 -0
  87. package/dist/{resolve-project-CURYMjex.mjs → resolve-project-CNQtOWE4.mjs} +7 -7
  88. package/dist/{run-polling-BWcLQvm0.mjs → run-polling-BhOdFyh3.mjs} +5 -5
  89. package/dist/{run.handler-BiBDLoeH.mjs → run.handler-BpLmwF_a.mjs} +9 -9
  90. package/dist/{runs-Bc3zjk7V.mjs → runs-DaSd4eXn.mjs} +4 -4
  91. package/dist/{schemas-DodkHgnS.mjs → schemas-BxFPUGWT.mjs} +3 -2
  92. package/dist/{skill-installer-DkRJ6oLi.mjs → skill-installer-BBgN2tzW.mjs} +2 -2
  93. package/dist/{skills-sync.handler-C4ztv1Vu.mjs → skills-sync.handler-DOxudKmV.mjs} +3 -3
  94. package/dist/{skills.command-DuL4kLUi.mjs → skills.command-DQc_qGAF.mjs} +5 -5
  95. package/dist/{skills.handler-R5KAbioE.mjs → skills.handler-Do9I3dQS.mjs} +1 -1
  96. package/dist/{source-analysis-BBg2E_6G-BQqm16RR.mjs → source-analysis-BBg2E_6G-Ut7kYHOz.mjs} +4 -4
  97. package/dist/{spinner-progress-DfkMzwGx.mjs → spinner-progress-Bx-fYItP.mjs} +1 -1
  98. package/dist/{src-BQdOWkyv.mjs → src-0XVwHXNp.mjs} +1 -1
  99. package/dist/{status.handler-DxCJRm1n.mjs → status.handler-BsVtDW_V.mjs} +19 -4
  100. package/dist/{switch.handler-CTwhIcaQ.mjs → switch.handler-CCjMrRZN.mjs} +5 -5
  101. package/dist/{sync-Pssitj6K.mjs → sync-BdTQDZjP.mjs} +2 -2
  102. package/dist/{sync.handler-Be0U3x-n.mjs → sync.handler-DjY8nqbB.mjs} +9 -9
  103. package/dist/{task-BNXDZU71.mjs → task-BRmL2lmw.mjs} +2 -2
  104. package/dist/{task-target-build-BG6cC3bz.mjs → task-target-build-DCV0UDaz.mjs} +8 -7
  105. package/dist/{task-target-deploy-CZBGNC0H-Ck724yF4.mjs → task-target-deploy-CZBGNC0H-I-tvkGCC.mjs} +1 -1
  106. package/dist/{task-target-deploy-gMQC8kXU.mjs → task-target-deploy-DmpCWE3u.mjs} +1 -1
  107. package/dist/task-target-deploy-runner.mjs +22 -17
  108. package/dist/{test-CKBpp1gg.mjs → test-TTQXrhHm.mjs} +4 -4
  109. package/dist/{test.handler-DkizZhVu.mjs → test.handler-B7Ahe9ta.mjs} +12 -12
  110. package/dist/{test.handler-Dk3CmTa7.mjs → test.handler-CkkplyX6.mjs} +2 -2
  111. package/dist/{tool.handler--IzRGelu.mjs → tool.handler-DMfFZCRg.mjs} +34 -14
  112. package/dist/{trigger-artifacts-RizI57RC-CxHwCkQ_.mjs → trigger-artifacts-RizI57RC-DjhOsdOm.mjs} +4 -4
  113. package/dist/{trigger-manifest-PTjVYL1r.mjs → trigger-manifest-DxdCjGz_.mjs} +1 -1
  114. package/dist/{upgrade-cH9I_pZq.mjs → upgrade-Cx-bUWUc.mjs} +2 -2
  115. package/dist/{upgrade.handler-CXEF4ue0.mjs → upgrade.handler-5qSzPC7D.mjs} +1 -1
  116. package/dist/{upload.handler-CpKuAaQ_.mjs → upload.handler-_d2WZwxd.mjs} +10 -10
  117. package/dist/{users.get.handler-D0WO6D1K.mjs → users.get.handler-DIooG7Wy.mjs} +4 -4
  118. package/dist/{users.list.handler-BSTIniF1.mjs → users.list.handler-DdGW-DSg.mjs} +4 -4
  119. package/dist/{users.set-role.handler-DAKdSkbn.mjs → users.set-role.handler-Ek-kntLp.mjs} +4 -4
  120. package/dist/{utils-VC0Vl_pm.mjs → utils-BMUWnz1P.mjs} +2 -2
  121. package/dist/{validate.handler-I8LY-UkG.mjs → validate.handler-Cq2uJjXY.mjs} +8 -8
  122. package/dist/{workflow-build-C9rQQ4qU.mjs → workflow-build-C8AiYxqp.mjs} +23 -23
  123. package/dist/{workflow-build-manifest-OPFqFD6f.mjs → workflow-build-manifest-BKKW9D05.mjs} +3 -3
  124. package/dist/{workflow-bundler-BzHk73PM-AIB4-u4Y.mjs → workflow-bundler-BzHk73PM-WI31RJjH.mjs} +3 -3
  125. package/dist/{workflows-CL1jYSLR.mjs → workflows-K6zetcqI.mjs} +16 -16
  126. package/dist/{writer-B-SpZ0G2-olEAgSLc.mjs → writer-B-SpZ0G2-CLh7sXRd.mjs} +6 -6
  127. package/package.json +5 -5
  128. package/dist/clear.handler-Dpe05eTq.mjs +0 -42
  129. package/dist/dist-BF6r1hfv.mjs +0 -308
  130. package/dist/integrations-DKtl_aES.mjs +0 -85
  131. package/dist/logs-DUwdYZB-.mjs +0 -28
  132. package/dist/logs.handler-dcRq-zoc.mjs +0 -35
  133. package/dist/{agent-bundle-package-DWV6B_5q-rRTPU13L.mjs → agent-bundle-package-DWV6B_5q-FPT0bJaA.mjs} +0 -0
  134. package/dist/{agent-manifest-CZdlCTFs.mjs → agent-manifest-tIsqF2OP.mjs} +0 -0
  135. package/dist/{browser-3cUiPlk2.mjs → browser-BpJ8ut9z.mjs} +0 -0
  136. package/dist/{common-BaGFkj3n.mjs → common-AK0q0Oz0.mjs} +0 -0
  137. package/dist/{concurrency-gXn9Rw8x-BI6HQNfC.mjs → concurrency-gXn9Rw8x-BTlfau8D.mjs} +0 -0
  138. package/dist/{cron-parser-C2eJD0yD.mjs → cron-parser-Dw_cWzFu.mjs} +0 -0
  139. package/dist/{declared-credential-requirements-B6h4WRv4.mjs → declared-credential-requirements-D6KT-r-e.mjs} +0 -0
  140. package/dist/{layout-CXkZEsXI.mjs → layout-P1v-Gssz.mjs} +0 -0
  141. package/dist/{metadata-layout-Bv-B0nHj-CqlcZz_g.mjs → metadata-layout-Bv-B0nHj-B1c5giJ7.mjs} +1 -1
  142. package/dist/{oxc-B3KI3rf_-DdiZWqe2.mjs → oxc-B3KI3rf_-Cvx4Z-4H.mjs} +0 -0
  143. package/dist/{project-config-CsBMT4TL.mjs → project-config-DudGRFPO.mjs} +1 -1
  144. package/dist/{read-credential-keys-77a91T8M-DMmY6oDW.mjs → read-credential-keys-77a91T8M-B0eiobOd.mjs} +0 -0
  145. package/dist/{rolldown-runtime-twds-ZHy-CO5ir_za.mjs → rolldown-runtime-twds-ZHy-8uqgIurC.mjs} +0 -0
  146. package/dist/{run-polling-CwlzB5-9.mjs → run-polling-DARidqo-.mjs} +0 -0
  147. package/dist/{schema-O9xTWad_.mjs → schema-BjH_e4Fo.mjs} +0 -0
  148. package/dist/{schema-_FQrHcIS.mjs → schema-Lbp5lGJu.mjs} +0 -0
  149. package/dist/{schema-display-CNqiYBIb.mjs → schema-display-NVEl_DFY.mjs} +0 -0
  150. package/dist/{source-analysis-CJPymdaA.mjs → source-analysis-Cs0CTBQk.mjs} +0 -0
  151. package/dist/{types-D04ah3uY.mjs → types-BMBuhHhW.mjs} +0 -0
  152. package/dist/{upload-wwSPAC5_.mjs → upload-BbcMkyVl.mjs} +1 -1
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { f as ANSI, n as ui, p as style } from "./keystroke.mjs";
4
- import { n as resolveCredentialValuesFromEnv, t as groupCredentialRequirements } from "./credentials-CiOwDS5y.mjs";
5
- import { readFile } from "node:fs/promises";
3
+ import { a as ui, n as style, t as ANSI } from "./keystroke.mjs";
4
+ import { n as resolveCredentialValuesFromEnv, t as groupCredentialRequirements } from "./credentials-jRiXEr6P.mjs";
6
5
  import path from "node:path";
6
+ import { readFile } from "node:fs/promises";
7
7
  import { parse } from "dotenv";
8
8
  //#region src/commands/credentials/list/list-display.ts
9
9
  /** Visible width for layout; avoids unusably narrow or absurdly wide lines. */
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { N as throwReportedCliExit, f as ANSI, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
3
+ import { a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
6
  import Table from "cli-table3";
7
7
  //#region src/commands/api-keys/list.handler.ts
8
8
  async function handleApiKeysList(_options, ctx) {
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { f as ANSI, n as ui, p as style } from "./keystroke.mjs";
4
- import { s as readStoredProjects } from "./dist-BF6r1hfv.mjs";
5
- import { i as readProjectConfig } from "./project-config-CsBMT4TL.mjs";
6
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
3
+ import { a as ui, n as style, t as ANSI } from "./keystroke.mjs";
4
+ import { i as projects } from "./dist-CIInPRGh.mjs";
5
+ import { i as readProjectConfig } from "./project-config-DudGRFPO.mjs";
6
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
7
7
  import { access } from "node:fs/promises";
8
8
  import Table from "cli-table3";
9
9
  //#region src/commands/projects/list.handler.ts
@@ -29,8 +29,8 @@ async function pathExists(p) {
29
29
  }
30
30
  }
31
31
  async function handleProjectsList(_options, ctx) {
32
- const stored = await readStoredProjects();
33
- if (!stored || Object.keys(stored.projects).length === 0) {
32
+ const tracked = await projects.list();
33
+ if (tracked.length === 0) {
34
34
  if (ctx.jsonMode) {
35
35
  writeJson([]);
36
36
  return;
@@ -38,13 +38,14 @@ async function handleProjectsList(_options, ctx) {
38
38
  ui.hint("No tracked projects. Run `keystroke init` to get started.");
39
39
  return;
40
40
  }
41
- const entries = Object.entries(stored.projects).sort(([, a], [, b]) => new Date(b.lastAccessed).getTime() - new Date(a.lastAccessed).getTime());
41
+ const lastProject = await projects.getLast();
42
+ const sorted = [...tracked].sort((a, b) => new Date(b.lastAccessed).getTime() - new Date(a.lastAccessed).getTime());
42
43
  if (ctx.jsonMode) {
43
- writeJson(entries.map(([projectPath, entry]) => ({
44
+ writeJson(sorted.map((entry) => ({
44
45
  name: entry.name ?? null,
45
- path: projectPath,
46
+ path: entry.path,
46
47
  lastAccessed: entry.lastAccessed,
47
- isRecent: stored.lastProject === projectPath
48
+ isRecent: lastProject === entry.path
48
49
  })));
49
50
  return;
50
51
  }
@@ -56,12 +57,12 @@ async function handleProjectsList(_options, ctx) {
56
57
  ],
57
58
  style: { head: [] }
58
59
  });
59
- for (const [projectPath, entry] of entries) {
60
- const exists = await pathExists(projectPath);
61
- const nameCol = entry.name ?? (exists ? await getProjectNameFromConfig(projectPath) : void 0) ?? style("(unnamed)", ANSI.dim);
62
- const pathCol = exists ? projectPath : `${projectPath} ${style("(missing)", ANSI.yellow)}`;
60
+ for (const entry of sorted) {
61
+ const exists = await pathExists(entry.path);
62
+ const nameCol = entry.name ?? (exists ? await getProjectNameFromConfig(entry.path) : void 0) ?? style("(unnamed)", ANSI.dim);
63
+ const pathCol = exists ? entry.path : `${entry.path} ${style("(missing)", ANSI.yellow)}`;
63
64
  const timeCol = relativeTime(entry.lastAccessed);
64
- const indicator = stored.lastProject === projectPath ? ` ${style("(recent)", ANSI.cyan)}` : "";
65
+ const indicator = lastProject === entry.path ? ` ${style("(recent)", ANSI.cyan)}` : "";
65
66
  table.push([
66
67
  nameCol,
67
68
  `${pathCol}${indicator}`,
@@ -69,7 +70,7 @@ async function handleProjectsList(_options, ctx) {
69
70
  ]);
70
71
  }
71
72
  ui.text(table.toString());
72
- ui.hint(`\n${entries.length} project(s) tracked`);
73
+ ui.hint(`\n${sorted.length} project(s) tracked`);
73
74
  }
74
75
  //#endregion
75
76
  export { handleProjectsList };
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
5
5
  //#region src/commands/org/list.handler.ts
6
6
  async function handleOrgList(_options, ctx) {
7
7
  const { user } = await requireClient(ctx).users.getMe();
8
8
  const orgs = user.organizations ?? [];
9
9
  const currentOrgId = ctx.organizationId;
10
- const storedOrgIds = new Set(ctx.storedCredentials?.orgs.map((o) => o.organizationId) ?? []);
10
+ const storedOrgIds = new Set(ctx.storedOrgs.map((o) => o.organizationId));
11
11
  if (orgs.length === 0) {
12
12
  ui.warn("You do not belong to any organization.");
13
13
  return;
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { b as isNetworkError, f as ANSI, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { t as getIntegrationCatalog } from "./integration-catalog-BgT4mLzW.mjs";
3
+ import { a as ui, n as style, t as ANSI, v as isNetworkError, y as toErrorMessage } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { t as getIntegrationCatalog } from "./integration-catalog-CmvYPvI6.mjs";
7
7
  import Table from "cli-table3";
8
8
  //#region src/commands/integrations/list.handler.ts
9
9
  function summarizeConnections(entry, connections) {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { N as throwReportedCliExit, a as getProcessEnv, n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { a as readManifestsFromOutDir } from "./dist-FQYQ2FLm.mjs";
7
- import { n as resolveWorkflowsDir } from "./resolve-project-CURYMjex.mjs";
8
- import { t as readCredentialEnvMap } from "./credential-env-map-B2nVJXPn.mjs";
9
- import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-C6u5eI0j.mjs";
3
+ import { a as ui, c as getProcessEnv, j as throwReportedCliExit } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { a as readManifestsFromOutDir } from "./dist-Cx0RV8s7.mjs";
7
+ import { n as resolveWorkflowsDir } from "./resolve-project-CNQtOWE4.mjs";
8
+ import { t as readCredentialEnvMap } from "./credential-env-map-BA4LNI7x.mjs";
9
+ import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-B9238wom.mjs";
10
10
  import dayjs from "dayjs";
11
11
  //#region src/commands/credentials/list/fetch-all-credential-sets.ts
12
12
  /**
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  import Table from "cli-table3";
8
8
  //#region src/commands/invites/list.handler.ts
9
9
  async function handleInvitesList(_options, ctx) {
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { N as throwReportedCliExit, f as ANSI, n as ui, p as style } from "./keystroke.mjs";
4
- import { d as trackProject } from "./dist-BF6r1hfv.mjs";
5
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
6
- import { t as requireWorkflowsDir } from "./resolve-project-CURYMjex.mjs";
7
- import { t as createSpinnerProgress } from "./spinner-progress-DfkMzwGx.mjs";
8
- import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-C9rQQ4qU.mjs";
3
+ import { a as ui, j as throwReportedCliExit, n as style, t as ANSI } from "./keystroke.mjs";
4
+ import { i as projects } from "./dist-CIInPRGh.mjs";
5
+ import { i as writeJson } from "./output-BWcVRt-T.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";
9
9
  //#region src/commands/workflows/list.handler.ts
10
10
  function formatWorkflow(artifact) {
11
11
  const name = style(artifact.manifest.name, `${ANSI.bold}${ANSI.cyan}`);
@@ -17,7 +17,7 @@ function formatWorkflow(artifact) {
17
17
  }
18
18
  async function handleWorkflowsList(options, ctx) {
19
19
  const workflowsDir = await requireWorkflowsDir(options.path);
20
- await trackProject(workflowsDir);
20
+ await projects.track(workflowsDir);
21
21
  const spinner = !ctx.jsonMode ? createSpinnerProgress("[list]") : void 0;
22
22
  spinner?.start("Loading workflows...");
23
23
  try {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-CGdYhH0p.mjs";
4
- import { t as createTypedCommand } from "./commander-D15UZVjp.mjs";
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
5
  import { z } from "zod";
6
6
  //#region src/commands/listen/listen.command.ts
7
7
  const ListenOptionsSchema = JsonOptionSchema.extend({ timeout: z.coerce.number().int().min(1).default(300) });
@@ -18,7 +18,7 @@ function createListenCommand() {
18
18
  description: "Listen for one incoming request and print its body",
19
19
  schema: ListenOptionsSchema,
20
20
  optionsConfig: LISTEN_OPTIONS_CONFIG,
21
- loadHandler: async () => (await import("./listen.handler-B9T58yAj.mjs")).handleListen
21
+ loadHandler: async () => (await import("./listen.handler-DEJSBg8y.mjs")).handleListen
22
22
  });
23
23
  }
24
24
  //#endregion
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { N as throwReportedCliExit, f as ANSI, k as CliExitError, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
4
- import { a as writeJsonError, i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { n as sleep } from "./run-polling-CwlzB5-9.mjs";
3
+ import { D as CliExitError, a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
4
+ import { a as writeJsonError, i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { n as sleep } from "./run-polling-DARidqo-.mjs";
7
7
  import { spawn } from "node:child_process";
8
8
  //#region src/lib/clipboard.ts
9
9
  function getClipboardCommands() {
@@ -0,0 +1,58 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { t as createTypedCommand } from "./commander-C5qcOo8m.mjs";
4
+ import { z } from "zod";
5
+ //#region src/commands/logs/logs.command.ts
6
+ const LogsOptionsSchema = z.object({
7
+ count: z.coerce.number().int().min(1).max(1e3).default(100).describe("Number of log entries to display"),
8
+ level: z.enum([
9
+ "debug",
10
+ "info",
11
+ "warn",
12
+ "error"
13
+ ]).optional().describe("Filter by log level"),
14
+ grep: z.string().min(1).optional().describe("Filter by message substring"),
15
+ meta: z.array(z.string().min(1)).default([]).describe("Filter by metadata key=value pairs"),
16
+ json: z.boolean().default(false).describe("Emit raw JSON log entries")
17
+ });
18
+ const LOGS_OPTIONS_CONFIG = {
19
+ count: {
20
+ flag: "--count <n>",
21
+ description: "Number of log entries to display (default: 100)"
22
+ },
23
+ level: {
24
+ flag: "--level <level>",
25
+ description: "Filter by log level (debug, info, warn, error)"
26
+ },
27
+ grep: {
28
+ flag: "--grep <text>",
29
+ description: "Filter by message substring"
30
+ },
31
+ meta: {
32
+ flag: "--meta <key=value>",
33
+ description: "Filter by metadata field equality. Repeat for multiple filters.",
34
+ collect: true
35
+ },
36
+ json: {
37
+ flag: "--json",
38
+ description: "Emit raw JSON log entries"
39
+ }
40
+ };
41
+ function createLogsCommand() {
42
+ return createTypedCommand({
43
+ name: "logs",
44
+ description: "Display recent CLI log entries",
45
+ schema: LogsOptionsSchema,
46
+ optionsConfig: LOGS_OPTIONS_CONFIG,
47
+ loadHandler: async () => (await import("./logs.handler-DyRoevtO.mjs")).handleLogs,
48
+ subcommands: [createTypedCommand({
49
+ name: "clear",
50
+ description: "Clear the CLI log file",
51
+ schema: z.object({}),
52
+ optionsConfig: {},
53
+ loadHandler: async () => (await import("./clear.handler-C_pXAeBG.mjs")).handleLogsClear
54
+ })]
55
+ });
56
+ }
57
+ //#endregion
58
+ export { createLogsCommand };
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { N as throwReportedCliExit, f as ANSI, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-CwlzB5-9.mjs";
3
+ import { a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toErrorMessage } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-DARidqo-.mjs";
7
7
  import Table from "cli-table3";
8
8
  //#region src/commands/workflows/_shared/run-query.ts
9
9
  async function listRunsByWorkflowRef(client, options) {
@@ -0,0 +1,53 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { F as originalConsole, I as readLogEntries, O as InputValidationError, a as ui, n as style, t as ANSI } from "./keystroke.mjs";
4
+ //#region src/commands/logs/logs.handler.ts
5
+ const LEVEL_STYLES = {
6
+ debug: ANSI.dim,
7
+ info: ANSI.cyan,
8
+ warn: ANSI.yellow,
9
+ error: ANSI.red
10
+ };
11
+ function formatEntry(entry) {
12
+ const ts = style(entry.timestamp, ANSI.dim);
13
+ const levelStyled = style(`[${entry.level.toUpperCase()}]`, LEVEL_STYLES[entry.level] ?? "");
14
+ const meta = entry.meta !== void 0 ? ` ${style(JSON.stringify(entry.meta), ANSI.dim)}` : "";
15
+ return `${ts} ${levelStyled} ${entry.message}${meta}`;
16
+ }
17
+ async function handleLogs(options, _ctx) {
18
+ const entries = await readLogEntries({
19
+ count: options.count,
20
+ level: options.level,
21
+ messageIncludes: options.grep,
22
+ meta: parseMetaFilters(options.meta)
23
+ });
24
+ if (entries.length === 0) {
25
+ if (!options.json) ui.hint("No log entries found.");
26
+ return;
27
+ }
28
+ for (const entry of entries) originalConsole.info(options.json ? JSON.stringify(entry) : formatEntry(entry));
29
+ if (!options.json) {
30
+ ui.br();
31
+ ui.hint(`Showing ${entries.length} log ${entries.length === 1 ? "entry" : "entries"}.`);
32
+ }
33
+ }
34
+ function parseMetaFilters(filters) {
35
+ if (filters.length === 0) return void 0;
36
+ const meta = {};
37
+ for (const filter of filters) {
38
+ const equalsIndex = filter.indexOf("=");
39
+ if (equalsIndex <= 0) throw new InputValidationError("Expected --meta filters to use key=value format.");
40
+ const key = filter.slice(0, equalsIndex);
41
+ meta[key] = parseMetaValue(filter.slice(equalsIndex + 1));
42
+ }
43
+ return meta;
44
+ }
45
+ function parseMetaValue(value) {
46
+ try {
47
+ const parsed = JSON.parse(value);
48
+ if (typeof parsed === "string" || typeof parsed === "number" || typeof parsed === "boolean") return parsed;
49
+ } catch {}
50
+ return value;
51
+ }
52
+ //#endregion
53
+ export { handleLogs };
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  //#region src/commands/org/members.add.handler.ts
8
8
  async function handleMembersAdd(options, ctx) {
9
9
  const client = requireClient(ctx);
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  //#region src/commands/org/members.invite.handler.ts
8
8
  async function handleMembersInvite(options, ctx) {
9
9
  const client = requireClient(ctx);
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  import Table from "cli-table3";
8
8
  //#region src/commands/org/members.list.handler.ts
9
9
  async function handleMembersList(_options, ctx) {
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  //#region src/commands/org/members.remove.handler.ts
8
8
  async function handleMembersRemove(options, ctx) {
9
9
  const client = requireClient(ctx);
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  //#region src/commands/org/members.update.handler.ts
8
8
  async function handleMembersUpdate(options, ctx) {
9
9
  const client = requireClient(ctx);
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { r as RelativeFilePathSchema } from "./file-metadata-DaPPpiTh.mjs";
3
+ import { r as RelativeFilePathSchema } from "./file-metadata-lrX05iRt.mjs";
4
4
  import path from "node:path";
5
5
  //#region ../../packages/workflow-builder/dist/normalize-path-CojS-CgQ.mjs
6
6
  function normalizeRelativeFilePath(relativePath) {
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-CGdYhH0p.mjs";
4
- import { t as createTypedCommand } from "./commander-D15UZVjp.mjs";
5
- import { t as OrgRoleSchema } from "./schema-_FQrHcIS.mjs";
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 { t as OrgRoleSchema } from "./schema-Lbp5lGJu.mjs";
6
6
  import { z } from "zod";
7
7
  //#region src/commands/org/invites.command.ts
8
8
  const ConfirmJsonSchema$1 = JsonOptionSchema.extend({ confirm: z.boolean().optional() });
@@ -36,14 +36,14 @@ function createOrgInvitesCommand() {
36
36
  description: "Manage organization invitations",
37
37
  schema: OrgInvitesListOptionsSchema,
38
38
  optionsConfig: { ...JSON_OPTION_CONFIG },
39
- loadHandler: async () => (await import("./invites.list.handler-CErgY35S.mjs")).handleOrgInvitesList,
39
+ loadHandler: async () => (await import("./invites.list.handler-CPkK_tPM.mjs")).handleOrgInvitesList,
40
40
  subcommands: [
41
41
  createTypedCommand({
42
42
  name: "list",
43
43
  description: "List organization invites",
44
44
  schema: OrgInvitesListOptionsSchema,
45
45
  optionsConfig: { ...JSON_OPTION_CONFIG },
46
- loadHandler: async () => (await import("./invites.list.handler-CErgY35S.mjs")).handleOrgInvitesList
46
+ loadHandler: async () => (await import("./invites.list.handler-CPkK_tPM.mjs")).handleOrgInvitesList
47
47
  }),
48
48
  createTypedCommand({
49
49
  name: "resend",
@@ -55,7 +55,7 @@ function createOrgInvitesCommand() {
55
55
  description: "Invite ID to resend",
56
56
  key: "inviteId"
57
57
  },
58
- loadHandler: async () => (await import("./invites.resend.handler-DRCRIA4F.mjs")).handleOrgInvitesResend
58
+ loadHandler: async () => (await import("./invites.resend.handler-DIRI7tS2.mjs")).handleOrgInvitesResend
59
59
  }),
60
60
  createTypedCommand({
61
61
  name: "revoke",
@@ -67,7 +67,7 @@ function createOrgInvitesCommand() {
67
67
  description: "Invite ID to revoke",
68
68
  key: "inviteId"
69
69
  },
70
- loadHandler: async () => (await import("./invites.revoke.handler-C0FZdAR0.mjs")).handleOrgInvitesRevoke
70
+ loadHandler: async () => (await import("./invites.revoke.handler-CcXcDBlU.mjs")).handleOrgInvitesRevoke
71
71
  })
72
72
  ]
73
73
  });
@@ -142,28 +142,28 @@ function createOrgMembersCommand() {
142
142
  description: "Manage organization members",
143
143
  schema: MembersListOptionsSchema,
144
144
  optionsConfig: { ...JSON_OPTION_CONFIG },
145
- loadHandler: async () => (await import("./members.list.handler-BtuuIgQS.mjs")).handleMembersList,
145
+ loadHandler: async () => (await import("./members.list.handler-CvpeYKC4.mjs")).handleMembersList,
146
146
  subcommands: [
147
147
  createTypedCommand({
148
148
  name: "list",
149
149
  description: "List organization members",
150
150
  schema: MembersListOptionsSchema,
151
151
  optionsConfig: { ...JSON_OPTION_CONFIG },
152
- loadHandler: async () => (await import("./members.list.handler-BtuuIgQS.mjs")).handleMembersList
152
+ loadHandler: async () => (await import("./members.list.handler-CvpeYKC4.mjs")).handleMembersList
153
153
  }),
154
154
  createTypedCommand({
155
155
  name: "invite",
156
156
  description: "Invite a user to the current organization",
157
157
  schema: MembersInviteOptionsSchema,
158
158
  optionsConfig: INVITE_OPTIONS_CONFIG,
159
- loadHandler: async () => (await import("./members.invite.handler-B_KVxv5m.mjs")).handleMembersInvite
159
+ loadHandler: async () => (await import("./members.invite.handler-BYIt6Oib.mjs")).handleMembersInvite
160
160
  }),
161
161
  createTypedCommand({
162
162
  name: "add",
163
163
  description: "Add an existing user to the current organization",
164
164
  schema: MembersAddOptionsSchema,
165
165
  optionsConfig: ADD_OPTIONS_CONFIG,
166
- loadHandler: async () => (await import("./members.add.handler-DmYI43rZ.mjs")).handleMembersAdd
166
+ loadHandler: async () => (await import("./members.add.handler-D4ggN2Xi.mjs")).handleMembersAdd
167
167
  }),
168
168
  createTypedCommand({
169
169
  name: "update",
@@ -175,7 +175,7 @@ function createOrgMembersCommand() {
175
175
  description: "User ID to update",
176
176
  key: "userId"
177
177
  },
178
- loadHandler: async () => (await import("./members.update.handler-D-8izeso.mjs")).handleMembersUpdate
178
+ loadHandler: async () => (await import("./members.update.handler-TpM1oi0L.mjs")).handleMembersUpdate
179
179
  }),
180
180
  createTypedCommand({
181
181
  name: "remove",
@@ -187,7 +187,7 @@ function createOrgMembersCommand() {
187
187
  description: "User ID to remove",
188
188
  key: "userId"
189
189
  },
190
- loadHandler: async () => (await import("./members.remove.handler-Lvg-CqVv.mjs")).handleMembersRemove
190
+ loadHandler: async () => (await import("./members.remove.handler-C4GBUVYE.mjs")).handleMembersRemove
191
191
  })
192
192
  ]
193
193
  });
@@ -202,28 +202,28 @@ function createOrgCommand() {
202
202
  description: "Manage organization context",
203
203
  schema: OrgOptionsSchema,
204
204
  optionsConfig: ORG_OPTIONS_CONFIG,
205
- loadHandler: async () => (await import("./list.handler-Cr_DFAae.mjs")).handleOrgList,
205
+ loadHandler: async () => (await import("./list.handler-Cbc9rlBx.mjs")).handleOrgList,
206
206
  subcommands: [
207
207
  createTypedCommand({
208
208
  name: "list",
209
209
  description: "List your organizations",
210
210
  schema: OrgOptionsSchema,
211
211
  optionsConfig: ORG_OPTIONS_CONFIG,
212
- loadHandler: async () => (await import("./list.handler-Cr_DFAae.mjs")).handleOrgList
212
+ loadHandler: async () => (await import("./list.handler-Cbc9rlBx.mjs")).handleOrgList
213
213
  }),
214
214
  createTypedCommand({
215
215
  name: "current",
216
216
  description: "Show the current organization",
217
217
  schema: OrgOptionsSchema,
218
218
  optionsConfig: ORG_OPTIONS_CONFIG,
219
- loadHandler: async () => (await import("./current.handler-QZQ-l84v.mjs")).handleOrgCurrent
219
+ loadHandler: async () => (await import("./current.handler-DBl9S67d.mjs")).handleOrgCurrent
220
220
  }),
221
221
  createTypedCommand({
222
222
  name: "switch",
223
223
  description: "Switch to a different organization",
224
224
  schema: OrgOptionsSchema,
225
225
  optionsConfig: ORG_OPTIONS_CONFIG,
226
- loadHandler: async () => (await import("./switch.handler-CTwhIcaQ.mjs")).handleOrgSwitch
226
+ loadHandler: async () => (await import("./switch.handler-CCjMrRZN.mjs")).handleOrgSwitch
227
227
  }),
228
228
  createOrgMembersCommand(),
229
229
  createOrgInvitesCommand()
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  //#region src/commands/admin/orgs.create.handler.ts
8
8
  async function handleAdminOrgsCreate(options, ctx) {
9
9
  const client = requireClient(ctx);
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  //#region src/commands/admin/orgs.get.handler.ts
8
8
  async function handleAdminOrgsGet(options, ctx) {
9
9
  const client = requireClient(ctx);
@@ -1,9 +1,9 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { n as ui } from "./keystroke.mjs";
4
- import { i as writeJson } from "./output-CGdYhH0p.mjs";
5
- import { i as requireClient } from "./context-B1L8pZsH.mjs";
6
- import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
3
+ import { a as ui } from "./keystroke.mjs";
4
+ import { i as writeJson } from "./output-BWcVRt-T.mjs";
5
+ import { i as requireClient } from "./context-BydAGTiB.mjs";
6
+ import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CSZj4XlH.mjs";
7
7
  import Table from "cli-table3";
8
8
  //#region src/commands/admin/orgs.list.handler.ts
9
9
  async function handleAdminOrgsList(_options, ctx) {
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { N as throwReportedCliExit } from "./keystroke.mjs";
3
+ import { j as throwReportedCliExit } from "./keystroke.mjs";
4
4
  import { z } from "zod";
5
5
  //#region src/lib/output.ts
6
6
  /**