@keystrokehq/cli 0.0.39 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{accept.handler-CykuBpt6.mjs → accept.handler-Ca7uzwxi.mjs} +3 -3
- package/dist/{admin-gRjPC3eD.mjs → admin-dG6GUb3q.mjs} +11 -11
- package/dist/{agents-BpyuvM9p.mjs → agents-sPFPgn4f.mjs} +8 -8
- package/dist/{api-sWkB_Wta.mjs → api-b0DzMwXP.mjs} +1 -1
- package/dist/{api-keys-BSKhdD_x.mjs → api-keys-4tXQbpkQ.mjs} +6 -6
- package/dist/{auth-DCgToFf5.mjs → auth-CWW1yAyX.mjs} +6 -6
- package/dist/{auth.handler-QRQAEUJC.mjs → auth.handler-BdIVmlEw.mjs} +4 -4
- package/dist/{authored-workflow-ref-BRCQgyWl.mjs → authored-workflow-ref-DpaMDcsV.mjs} +6 -6
- package/dist/{build-agents-CUzBnlAG-3ePFZiJ6.mjs → build-agents-CUzBnlAG-BlVdU8WI.mjs} +5 -5
- package/dist/{build-metadata-BB_L45ZS-DRQsV6JK.mjs → build-metadata-BB_L45ZS-DF9jjlo7.mjs} +6 -6
- package/dist/{build-progress-D_SQqdHA.mjs → build-progress-ClHW7cxW.mjs} +1 -1
- package/dist/{build-tasks-5eOvI19S-tbN6CRx9.mjs → build-tasks-5eOvI19S-DOJYTRNL.mjs} +3 -3
- package/dist/{build-workflows-C-gQM3l5-_zcBHE3M.mjs → build-workflows-C-gQM3l5-B1By02sw.mjs} +8 -8
- package/dist/{build.handler-DGQn_clk.mjs → build.handler-oSb0aOLO.mjs} +6 -6
- package/dist/{clear-cache.handler-gJpwslkK.mjs → clear-cache.handler-nH67vXdu.mjs} +1 -1
- package/dist/{clear.handler-CuXYvUj2.mjs → clear.handler-b7T3XjAx.mjs} +2 -2
- package/dist/{commander-B_8QwPpe.mjs → commander-DIOuj6NJ.mjs} +2 -2
- package/dist/{connect-DV9lhP6C.mjs → connect-Cg4oFCFZ.mjs} +3 -3
- package/dist/{connect.handler-D6JzuFuT.mjs → connect.handler-BsMTctjd.mjs} +241 -187
- package/dist/{context-Brc9VGV9.mjs → context-DaBLwEWi.mjs} +4 -4
- package/dist/{create.handler-D_tmjANR.mjs → create.handler-CAj7e5w2.mjs} +2 -2
- package/dist/{credential-env-map-5a41jLwM.mjs → credential-env-map-rXDibCDT.mjs} +1 -1
- package/dist/{credential-schema-mismatch-CStYUB2h.mjs → credential-schema-mismatch-BvcO7KgE.mjs} +1 -1
- package/dist/{credentials-DtwLbee6.mjs → credentials-Bud9r1JE.mjs} +1 -1
- package/dist/{credentials-UDrvrKj-.mjs → credentials-CZ7HaiPb.mjs} +11 -11
- package/dist/{current.handler-Cy91EeLU.mjs → current.handler-BJvDHSmV.mjs} +3 -3
- package/dist/{delete.handler-rUDDUrDQ.mjs → delete.handler-DivhWFrZ.mjs} +1 -1
- package/dist/{deploy-DgWPlEKO.mjs → deploy-9ySqfoem.mjs} +2 -2
- package/dist/{deploy-BiKBH25R.mjs → deploy-NSrCthrD.mjs} +1 -1
- package/dist/{deploy-progress-BDOCSm_U.mjs → deploy-progress-DccPUWfp.mjs} +1 -1
- package/dist/{deploy.handler-BDCHCk_A.mjs → deploy.handler-DltgOetG.mjs} +15 -15
- package/dist/{detect-env-access-CwkOYeYM-r4aynBU0.mjs → detect-env-access-CwkOYeYM-CetSMqeq.mjs} +1 -1
- package/dist/{diff.handler-CGERP-Qn.mjs → diff.handler-OIzXMsHB.mjs} +4 -4
- package/dist/{dist-BmbFJq8U.mjs → dist-BpLSQDJX.mjs} +12 -12
- package/dist/{env.handler--8FRrSlJ.mjs → env.handler-DdIhJ4mO.mjs} +9 -9
- package/dist/{error-boundary-D2DiCLAp.mjs → error-boundary-IUSz7k4x.mjs} +2 -2
- package/dist/{file-metadata-DQVDjr7M.mjs → file-metadata-bzAf3GqL.mjs} +1 -1
- package/dist/{iam-command-utils-D01Gw8-M.mjs → iam-command-utils-CPkuyDrD.mjs} +1 -1
- package/dist/{import-module-y0glInUe-EuAWaw9g.mjs → import-module-y0glInUe-CVKziY2H.mjs} +6 -6
- package/dist/{init-Mpe_8lA_.mjs → init-BuVaQkZl.mjs} +2 -2
- package/dist/{init.handler-BjLAIAmm.mjs → init.handler-CX3OQdjn.mjs} +3 -3
- package/dist/{inspect.handler-CXCi7fhH.mjs → inspect.handler-CgJkF6RH.mjs} +5 -5
- package/dist/{integration-catalog-mZs6EAlN.mjs → integration-catalog-DEHwWAO6.mjs} +2 -2
- package/dist/{integrations-D_IH5Ud1.mjs → integrations-DdKOCj3U.mjs} +8 -95
- package/dist/{invites-CWWz4wmY.mjs → invites-DWE6Zmj1.mjs} +5 -5
- package/dist/{invites.list.handler-CQLWSoWo.mjs → invites.list.handler-DO7Wq2u0.mjs} +4 -4
- package/dist/{invites.resend.handler-CeIGE_qM.mjs → invites.resend.handler-BcW922nx.mjs} +4 -4
- package/dist/{invites.revoke.handler-9K6jkym_.mjs → invites.revoke.handler-BdMoZOqx.mjs} +4 -4
- package/dist/keystroke.mjs +38 -42
- package/dist/{list-enrichment-dqbkXJzy.mjs → list-enrichment-mOKJXdJW.mjs} +1 -1
- package/dist/{list.handler-DUTNS8du.mjs → list.handler-6h-dCWy7.mjs} +3 -3
- package/dist/{list.handler-CDWPmiMy.mjs → list.handler-BWEBemPq.mjs} +3 -3
- package/dist/{list.handler-Cuw1fWO_.mjs → list.handler-C1Okanaq.mjs} +3 -3
- package/dist/{list.handler-D-rSyrX0.mjs → list.handler-CD6T_BXB.mjs} +3 -3
- package/dist/{list.handler-BvuxTFLe.mjs → list.handler-CGD1JBJW.mjs} +6 -6
- package/dist/{list.handler-Co32_F3n.mjs → list.handler-CXsHFhRg.mjs} +6 -6
- package/dist/{list.handler-Dz-Yeijp.mjs → list.handler-DYIKuoAv.mjs} +2 -2
- package/dist/{list.handler-DMvq96UA.mjs → list.handler-Dny_G7yA.mjs} +2 -2
- package/dist/{list2.handler-BpqKZTZk.mjs → list2.handler-v14fD-Wx.mjs} +3 -3
- package/dist/{listen-CeNwufij.mjs → listen-DWLGKM9p.mjs} +3 -3
- package/dist/{listen.handler-CfRoaOwu.mjs → listen.handler-BHY0khAc.mjs} +3 -3
- package/dist/{logs-B7k2_W1R.mjs → logs-CAgOxZQ1.mjs} +3 -3
- package/dist/{logs.handler-CSqOzxCU.mjs → logs.handler-BcGJIjn1.mjs} +5 -5
- package/dist/{members.add.handler-CBjoA6vG.mjs → members.add.handler-3y_jsYI5.mjs} +4 -4
- package/dist/{members.invite.handler-D8KcKJ9Y.mjs → members.invite.handler-CLbxTp-x.mjs} +4 -4
- package/dist/{members.list.handler-CB_qSJK0.mjs → members.list.handler--r0ibk1q.mjs} +4 -4
- package/dist/{members.remove.handler-DNhO81mo.mjs → members.remove.handler-DFfOjRmq.mjs} +4 -4
- package/dist/{members.update.handler-Bjdk_uz4.mjs → members.update.handler-pY5ZKxyE.mjs} +4 -4
- package/dist/{normalize-path-CojS-CgQ-aOM0agxS.mjs → normalize-path-CojS-CgQ-lQUBXXzi.mjs} +1 -1
- package/dist/official-providers-DF1Wt_-m.mjs +92 -0
- package/dist/{operations-HHwoArwE.mjs → operations-mpOhoA0C.mjs} +5 -5
- package/dist/{org-context-CNh2p2DP.mjs → org-context-BAbQ9nhH.mjs} +2 -2
- package/dist/{org-output-BcI17Uan.mjs → org-output-Chcob8vH.mjs} +2 -2
- package/dist/{org-f-qo68Em.mjs → org-xlZOYXfd.mjs} +17 -17
- package/dist/{orgs.create.handler-DOE9ZIed.mjs → orgs.create.handler-C_zVtI05.mjs} +3 -3
- package/dist/{orgs.get.handler-sWErVI7r.mjs → orgs.get.handler-CCr0tawz.mjs} +3 -3
- package/dist/{orgs.list.handler-Cp-mXsA0.mjs → orgs.list.handler-C6H6LEdf.mjs} +3 -3
- package/dist/{paused.handler-DWdoKYY8.mjs → paused.handler-BVrzjvyP.mjs} +4 -4
- package/dist/{projects-CCC36zbJ.mjs → projects-CpLiEcTK.mjs} +4 -4
- package/dist/{projects-ZNcKwds2.mjs → projects-DOYjjoZ-.mjs} +2 -2
- package/dist/{register.handler-Dxae5iq8.mjs → register.handler-CSpRM1p1.mjs} +41 -28
- package/dist/{requirements.handler-Bg3mRnER.mjs → requirements.handler-CA4zeT3J.mjs} +6 -6
- package/dist/{resolve-cli-credentials-GVOOedoQ.mjs → resolve-cli-credentials-BecTgRE7.mjs} +1 -1
- package/dist/{resolve-project-CoCN9xfi.mjs → resolve-project-Cto7y-K3.mjs} +2 -2
- package/dist/{run-polling-htHWhG0T.mjs → run-polling-DVis_pob.mjs} +3 -3
- package/dist/{run.handler-C-CM-xZG.mjs → run.handler-Dyo7_OIO.mjs} +7 -7
- package/dist/{runs-BRJPNq4B.mjs → runs-DFWRUETL.mjs} +3 -3
- package/dist/{search-DdJpxHEs.mjs → search-ByKPk0l-.mjs} +3 -3
- package/dist/{search.handler-dsvkAHFo.mjs → search.handler-CE2432ah.mjs} +3 -3
- package/dist/{show.handler-DUDxnNiZ.mjs → show.handler-BD5i6EV5.mjs} +4 -4
- package/dist/{show.handler-D3nDc1MJ.mjs → show.handler-BupYRNqw.mjs} +3 -3
- package/dist/{show.handler-CdZF0aao.mjs → show.handler-C_d60AOd.mjs} +2 -2
- package/dist/{skills-sync.handler-_LVhIMRH.mjs → skills-sync.handler-CbQQaKv7.mjs} +1 -1
- package/dist/{skills.command-DSHGwXPX.mjs → skills.command-D-OoLKTF.mjs} +4 -4
- package/dist/{source-analysis-BBg2E_6G-wPP9mjQx.mjs → source-analysis-BBg2E_6G-CS88X3nS.mjs} +3 -3
- package/dist/{src-DI-ybNjR.mjs → src-DOCKWJRW.mjs} +59 -13
- package/dist/{status.handler-1hEzX5oB.mjs → status.handler-7411LjJt.mjs} +1 -1
- package/dist/{switch.handler-D135WwfB.mjs → switch.handler-CfCy8yzX.mjs} +3 -3
- package/dist/{sync-CFScllh3.mjs → sync-Dp57sXlR.mjs} +2 -2
- package/dist/{sync.handler-x8v53-TT.mjs → sync.handler-B6p_PFqf.mjs} +7 -7
- package/dist/{task-DTvLzUkA.mjs → task-DzwZiru5.mjs} +1 -1
- package/dist/{task-target-build-CtvRyVjH.mjs → task-target-build-bIN-ngtL.mjs} +5 -5
- package/dist/{task-target-deploy-m9LfE488.mjs → task-target-deploy-DhlZNykk.mjs} +1 -1
- package/dist/{task-target-deploy-dQYnMO8n-d2vdeqXH.mjs → task-target-deploy-dQYnMO8n-Cx_r9Kzk.mjs} +1 -1
- package/dist/task-target-deploy-runner.mjs +8 -8
- package/dist/{test-Dx4RXoLZ.mjs → test-BHj1LMHN.mjs} +3 -3
- package/dist/{test.handler-Mz_XOnJl.mjs → test.handler-BmrgrK08.mjs} +1 -1
- package/dist/{test.handler-BmvL5vF8.mjs → test.handler-mo5agj6w.mjs} +11 -11
- package/dist/{tool.handler-DsbpocYI.mjs → tool.handler-wH-lWk7T.mjs} +8 -8
- package/dist/{trigger-artifacts-BcRScRSp-BRpU-He5.mjs → trigger-artifacts-BcRScRSp-CbuG4AfM.mjs} +4 -4
- package/dist/{trigger-manifest-BVqjDhxU.mjs → trigger-manifest-EaOKzq4D.mjs} +2 -2
- package/dist/{upgrade-C9G6HksL.mjs → upgrade-BXgpsNcQ.mjs} +2 -2
- package/dist/{upload.handler-DscKDQ63.mjs → upload.handler-Y-yOXVYC.mjs} +9 -9
- package/dist/{users.get.handler-CaUv_maM.mjs → users.get.handler-BGOCxdkB.mjs} +3 -3
- package/dist/{users.list.handler-DzsOvAtd.mjs → users.list.handler-CeCdVYny.mjs} +3 -3
- package/dist/{users.set-role.handler-koRzA0V9.mjs → users.set-role.handler-ChUvfPm9.mjs} +3 -3
- package/dist/{utils-BaxDlCsW.mjs → utils-DZkAd_Yh.mjs} +2 -2
- package/dist/{validate.handler-BkBsS8BL.mjs → validate.handler-Cf6Hv_La.mjs} +7 -7
- package/dist/{workflow-build-Db6at6IA.mjs → workflow-build-BdjQ_VZx.mjs} +21 -21
- package/dist/{workflow-build-manifest-CV6bBmDO.mjs → workflow-build-manifest-EnRP3HRK.mjs} +3 -3
- package/dist/{workflow-bundler-Bs3zQNQv-Dy7lXxy3.mjs → workflow-bundler-Bs3zQNQv-DeOFaxmV.mjs} +2 -2
- package/dist/{workflows-B8VG6nKg.mjs → workflows-CLWyveLm.mjs} +16 -16
- package/dist/{writer-BLg0RuZa-Y6ExdYH9.mjs → writer-BLg0RuZa-ynLkRVCU.mjs} +5 -5
- package/package.json +7 -7
- package/dist/{agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs → agent-bundle-package-DWV6B_5q-DyuZcU-M.mjs} +0 -0
- package/dist/{agent-manifest-DfWD5tvv.mjs → agent-manifest-IKErxq4q.mjs} +0 -0
- package/dist/{browser-Dvv5OQrt.mjs → browser-CvuyMLhI.mjs} +0 -0
- package/dist/{clear.handler-DnjvgyMj.mjs → clear.handler-C52FDzQh.mjs} +0 -0
- package/dist/{common-AK0q0Oz0.mjs → common-BcLVOrEe.mjs} +0 -0
- package/dist/{concurrency-gXn9Rw8x-CnBnF2cg.mjs → concurrency-gXn9Rw8x-DL-HGvhT.mjs} +0 -0
- package/dist/{credential-requirements-B5Alhu1v-DanlSKnT.mjs → credential-requirements-B5Alhu1v-C26qMgU_.mjs} +0 -0
- package/dist/{declared-credential-requirements-B6h4WRv4.mjs → declared-credential-requirements-D6KT-r-e.mjs} +0 -0
- package/dist/{default-urls-BoSm4s9C.mjs → default-urls-jMHepw2q.mjs} +0 -0
- package/dist/{dist-B5jy238v.mjs → dist-rsDq3fTk.mjs} +0 -0
- package/dist/{layout-B95Tku8F.mjs → layout-CqQq4MmI.mjs} +0 -0
- package/dist/{logs.handler-BIqJ0FED.mjs → logs.handler-BvOCKckB.mjs} +0 -0
- package/dist/{metadata-layout-Bv-B0nHj-CO8mjjSl.mjs → metadata-layout-Bv-B0nHj-qhsuNON1.mjs} +0 -0
- package/dist/{output-BPydP5tG.mjs → output-C0pbsv39.mjs} +0 -0
- package/dist/{oxc-B3KI3rf_-B9omBIuN.mjs → oxc-B3KI3rf_-ghZc3xZ5.mjs} +0 -0
- package/dist/{project-config-DudGRFPO.mjs → project-config-VloWJirJ.mjs} +1 -1
- /package/dist/{read-credential-keys-77a91T8M-I07NYwfH.mjs → read-credential-keys-77a91T8M-C4dOpzvX.mjs} +0 -0
- /package/dist/{render-operation-iF7Wblv2.mjs → render-operation-BhivW7cA.mjs} +0 -0
- /package/dist/{rolldown-runtime-twds-ZHy-RuJszab7.mjs → rolldown-runtime-twds-ZHy-BvwnxyIt.mjs} +0 -0
- /package/dist/{run-polling-1c0ckC1A.mjs → run-polling-CJWe6cxy.mjs} +0 -0
- /package/dist/{schema-Lbp5lGJu.mjs → schema-GwRMmuKB.mjs} +0 -0
- /package/dist/{schema-DFJiNWyd.mjs → schema-QbiBSbhG.mjs} +0 -0
- /package/dist/{schema-display-sZ6ConJd.mjs → schema-display-DKreWhh1.mjs} +0 -0
- /package/dist/{schemas-ClAIoIrX.mjs → schemas-COSVuCFH.mjs} +0 -0
- /package/dist/{skills.handler-DqLXJepA.mjs → skills.handler-CvXcuOf5.mjs} +0 -0
- /package/dist/{source-analysis-z2RSZw6X.mjs → source-analysis-BYwAbHx2.mjs} +0 -0
- /package/dist/{spinner-progress-fLaD0sjH.mjs → spinner-progress-QqK2bvTQ.mjs} +0 -0
- /package/dist/{upgrade.handler-DsFeAFF4.mjs → upgrade.handler-COptE2fK.mjs} +0 -0
- /package/dist/{upload-CE4H5R1h.mjs → upload-XFKnNumW.mjs} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { P as throwReportedCliExit, S as toErrorMessage, b as isAuthError, p as ui, x as isNetworkError } from "./keystroke.mjs";
|
|
4
|
-
import { a as writeJsonError } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { a as writeJsonError } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
6
|
//#region src/commands/org/org-context.ts
|
|
7
7
|
/** Shown when org context is missing or IAM commands need an org. */
|
|
8
8
|
const ORG_CONTEXT_HINT = "Pass --org <organization-id>, set KEYSTROKE_ORG_ID, or run `keystroke org switch`.";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as formatOrgSourceLabel } from "./org-context-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as formatOrgSourceLabel } from "./org-context-BAbQ9nhH.mjs";
|
|
6
6
|
import Table from "cli-table3";
|
|
7
7
|
//#region src/commands/org/org-output.ts
|
|
8
8
|
function formatOrgStatus(row) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
5
|
-
import { t as OrgRoleSchema } from "./schema-
|
|
3
|
+
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
|
|
5
|
+
import { t as OrgRoleSchema } from "./schema-GwRMmuKB.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-
|
|
39
|
+
loadHandler: async () => (await import("./invites.list.handler-DO7Wq2u0.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-
|
|
46
|
+
loadHandler: async () => (await import("./invites.list.handler-DO7Wq2u0.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-
|
|
58
|
+
loadHandler: async () => (await import("./invites.resend.handler-BcW922nx.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-
|
|
70
|
+
loadHandler: async () => (await import("./invites.revoke.handler-BdMoZOqx.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
|
|
145
|
+
loadHandler: async () => (await import("./members.list.handler--r0ibk1q.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
|
|
152
|
+
loadHandler: async () => (await import("./members.list.handler--r0ibk1q.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-
|
|
159
|
+
loadHandler: async () => (await import("./members.invite.handler-CLbxTp-x.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-
|
|
166
|
+
loadHandler: async () => (await import("./members.add.handler-3y_jsYI5.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-
|
|
178
|
+
loadHandler: async () => (await import("./members.update.handler-pY5ZKxyE.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-
|
|
190
|
+
loadHandler: async () => (await import("./members.remove.handler-DFfOjRmq.mjs")).handleMembersRemove
|
|
191
191
|
})
|
|
192
192
|
]
|
|
193
193
|
});
|
|
@@ -209,28 +209,28 @@ function createOrgCommand() {
|
|
|
209
209
|
description: ORG_COMMAND_DESCRIPTION,
|
|
210
210
|
schema: OrgReadOptionsSchema,
|
|
211
211
|
optionsConfig: ORG_READ_OPTIONS_CONFIG,
|
|
212
|
-
loadHandler: async () => (await import("./list.handler-
|
|
212
|
+
loadHandler: async () => (await import("./list.handler-BWEBemPq.mjs")).handleOrgList,
|
|
213
213
|
subcommands: [
|
|
214
214
|
createTypedCommand({
|
|
215
215
|
name: "list",
|
|
216
216
|
description: "List your organizations",
|
|
217
217
|
schema: OrgReadOptionsSchema,
|
|
218
218
|
optionsConfig: ORG_READ_OPTIONS_CONFIG,
|
|
219
|
-
loadHandler: async () => (await import("./list.handler-
|
|
219
|
+
loadHandler: async () => (await import("./list.handler-BWEBemPq.mjs")).handleOrgList
|
|
220
220
|
}),
|
|
221
221
|
createTypedCommand({
|
|
222
222
|
name: "current",
|
|
223
223
|
description: "Show the current organization",
|
|
224
224
|
schema: OrgReadOptionsSchema,
|
|
225
225
|
optionsConfig: ORG_READ_OPTIONS_CONFIG,
|
|
226
|
-
loadHandler: async () => (await import("./current.handler-
|
|
226
|
+
loadHandler: async () => (await import("./current.handler-BJvDHSmV.mjs")).handleOrgCurrent
|
|
227
227
|
}),
|
|
228
228
|
createTypedCommand({
|
|
229
229
|
name: "switch",
|
|
230
230
|
description: "Switch to a different organization (interactive)",
|
|
231
231
|
schema: OrgSwitchOptionsSchema,
|
|
232
232
|
optionsConfig: ORG_SWITCH_OPTIONS_CONFIG,
|
|
233
|
-
loadHandler: async () => (await import("./switch.handler-
|
|
233
|
+
loadHandler: async () => (await import("./switch.handler-CfCy8yzX.mjs")).handleOrgSwitch
|
|
234
234
|
}),
|
|
235
235
|
createOrgMembersCommand(),
|
|
236
236
|
createOrgInvitesCommand()
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
|
|
7
7
|
//#region src/commands/admin/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
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
|
|
7
7
|
//#region src/commands/admin/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
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-CPkuyDrD.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/admin/orgs.list.handler.ts
|
|
9
9
|
async function handleAdminOrgsList(_options, ctx) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as resolveWorkflowsDir } from "./resolve-project-
|
|
7
|
-
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { n as resolveWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
|
|
7
|
+
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-DpaMDcsV.mjs";
|
|
8
8
|
//#region src/commands/workflows/paused/paused.handler.ts
|
|
9
9
|
async function handleWorkflowsPaused(options, ctx) {
|
|
10
10
|
const client = requireClient(ctx);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/projects/projects.command.ts
|
|
7
|
-
const loadProjectsListHandler = async () => (await import("./list2.handler-
|
|
7
|
+
const loadProjectsListHandler = async () => (await import("./list2.handler-v14fD-Wx.mjs")).handleProjectsList;
|
|
8
8
|
const PROJECTS_LIST_OPTIONS = {
|
|
9
9
|
schema: JsonOptionSchema,
|
|
10
10
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
@@ -24,7 +24,7 @@ function createProjectsCommand() {
|
|
|
24
24
|
description: "Clear the stored projects cache (projects.json)",
|
|
25
25
|
schema: z.object({}),
|
|
26
26
|
optionsConfig: {},
|
|
27
|
-
loadHandler: async () => (await import("./clear-cache.handler-
|
|
27
|
+
loadHandler: async () => (await import("./clear-cache.handler-nH67vXdu.mjs")).handleProjectsClearCache
|
|
28
28
|
})]
|
|
29
29
|
});
|
|
30
30
|
}
|
|
@@ -2206,7 +2206,7 @@ const bundles = (api) => ({
|
|
|
2206
2206
|
})),
|
|
2207
2207
|
purpose
|
|
2208
2208
|
} }).json();
|
|
2209
|
-
const { batchUpload } = await import("./upload-
|
|
2209
|
+
const { batchUpload } = await import("./upload-XFKnNumW.mjs").then((n) => n.n);
|
|
2210
2210
|
return batchUpload(workflows.map((wf) => ({
|
|
2211
2211
|
name: wf.workflowName,
|
|
2212
2212
|
bundle: wf.bundle,
|
|
@@ -2226,4 +2226,4 @@ const auth = (api) => ({
|
|
|
2226
2226
|
//#region ../../packages/workflow-sdk/src/v1/public/projects.ts
|
|
2227
2227
|
const projects = (api) => ({ deploy: (params) => api.post("public/projects/deployments", { json: params }).json() });
|
|
2228
2228
|
//#endregion
|
|
2229
|
-
export { createKyInstance as a, buildSearchParams as i, auth as n,
|
|
2229
|
+
export { createKyInstance as a, buildSearchParams as i, auth as n, getClientEnv as o, bundles as r, projects as t };
|
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, h as AUTH_HINT, p as ui, x as isNetworkError } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
3
|
+
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, h as AUTH_HINT, p as ui, v as getApiErrorMessage, x as isNetworkError, y as getHttpStatus } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { t as OfficialProviderSchema } from "./official-providers-DF1Wt_-m.mjs";
|
|
7
|
+
import { z } from "zod";
|
|
8
|
+
//#region ../../packages/shared-types/src/admin/provider-apps.ts
|
|
9
|
+
const UpsertProviderAppRequestSchema = z.object({
|
|
10
|
+
provider: OfficialProviderSchema,
|
|
11
|
+
appRef: z.string().trim().min(1),
|
|
12
|
+
clientAppCredentialSetId: z.string().trim().min(1),
|
|
13
|
+
displayName: z.string().trim().min(1),
|
|
14
|
+
externalAppId: z.string().trim().min(1),
|
|
15
|
+
metadata: z.record(z.string(), z.unknown()).optional()
|
|
16
|
+
});
|
|
17
|
+
const ProviderAppSummarySchema = z.object({
|
|
18
|
+
id: z.string(),
|
|
19
|
+
appRef: z.string(),
|
|
20
|
+
displayName: z.string()
|
|
21
|
+
});
|
|
22
|
+
const UpsertProviderAppResponseSchema = z.object({
|
|
23
|
+
providerApp: ProviderAppSummarySchema,
|
|
24
|
+
created: z.boolean()
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
5
27
|
//#region src/commands/integrations/register.handler.ts
|
|
6
28
|
function exitWithError(ctx, message, opts) {
|
|
7
29
|
if (ctx.jsonMode) {
|
|
@@ -19,13 +41,13 @@ function exitWithError(ctx, message, opts) {
|
|
|
19
41
|
/**
|
|
20
42
|
* Handle `keystroke integrations register <integrationId>`.
|
|
21
43
|
*
|
|
22
|
-
* Upserts an org-scoped custom `provider_apps` row
|
|
23
|
-
* `POST /api/v1/admin/provider-apps` on the server.
|
|
44
|
+
* Upserts an org-scoped custom `provider_apps` row via the workflow SDK.
|
|
24
45
|
*/
|
|
25
46
|
async function handleIntegrationsRegister(options, ctx) {
|
|
26
47
|
const integrationId = options.integrationId?.trim();
|
|
27
|
-
const { baseUrl
|
|
28
|
-
|
|
48
|
+
const { baseUrl } = ctx;
|
|
49
|
+
const client = requireClient(ctx);
|
|
50
|
+
if (!baseUrl) exitWithError(ctx, "Not authenticated.", {
|
|
29
51
|
code: "AUTH_ERROR",
|
|
30
52
|
hint: AUTH_HINT
|
|
31
53
|
});
|
|
@@ -48,28 +70,13 @@ async function handleIntegrationsRegister(options, ctx) {
|
|
|
48
70
|
const displayName = options.displayName ?? integrationId;
|
|
49
71
|
if (!ctx.jsonMode) ui.text(`Registering provider app "${integrationId}"...`);
|
|
50
72
|
try {
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
appRef: integrationId,
|
|
59
|
-
provider: options.provider,
|
|
60
|
-
externalAppId: options.externalAppId,
|
|
61
|
-
clientAppCredentialSetId: options.clientAppCredentialSetId,
|
|
62
|
-
displayName
|
|
63
|
-
})
|
|
64
|
-
});
|
|
65
|
-
if (!response.ok) {
|
|
66
|
-
if (response.status === 401) exitWithError(ctx, "Not authenticated.", {
|
|
67
|
-
code: "AUTH_ERROR",
|
|
68
|
-
hint: AUTH_HINT
|
|
69
|
-
});
|
|
70
|
-
exitWithError(ctx, `Failed to register workspace integration: ${(await response.json().catch(() => ({}))).error ?? `Server returned HTTP ${response.status}`}`, { code: "REGISTER_FAILED" });
|
|
71
|
-
}
|
|
72
|
-
const data = await response.json();
|
|
73
|
+
const data = UpsertProviderAppResponseSchema.parse(await client.admin.providerApps.upsert(UpsertProviderAppRequestSchema.parse({
|
|
74
|
+
appRef: integrationId,
|
|
75
|
+
provider: options.provider,
|
|
76
|
+
externalAppId: options.externalAppId,
|
|
77
|
+
clientAppCredentialSetId: options.clientAppCredentialSetId,
|
|
78
|
+
displayName
|
|
79
|
+
})));
|
|
73
80
|
if (ctx.jsonMode) {
|
|
74
81
|
writeJson({
|
|
75
82
|
status: data.created ? "created" : "updated",
|
|
@@ -81,6 +88,12 @@ async function handleIntegrationsRegister(options, ctx) {
|
|
|
81
88
|
else ui.success(`Updated provider app for "${integrationId}".`);
|
|
82
89
|
} catch (error) {
|
|
83
90
|
if (error instanceof CliExitError) throw error;
|
|
91
|
+
const status = getHttpStatus(error);
|
|
92
|
+
if (status === 401) exitWithError(ctx, "Not authenticated.", {
|
|
93
|
+
code: "AUTH_ERROR",
|
|
94
|
+
hint: AUTH_HINT
|
|
95
|
+
});
|
|
96
|
+
if (status !== null) exitWithError(ctx, `Failed to register workspace integration: ${await getApiErrorMessage(error) ?? `Server returned HTTP ${status}`}`, { code: "REGISTER_FAILED" });
|
|
84
97
|
if (isNetworkError(error)) exitWithError(ctx, `Could not reach the Keystroke server to register "${integrationId}".`, {
|
|
85
98
|
code: "NETWORK_ERROR",
|
|
86
99
|
hint: `Check that your local services are running and that the CLI is pointed at ${baseUrl}.`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { c as getProcessEnv, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
6
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
7
|
-
import { t as readCredentialEnvMap } from "./credential-env-map-
|
|
8
|
-
import { a as loadProjectDotenvFile, c as getTerminalContentWidth, o as manifestGroupKey, s as normalizeManifestScopeToServer, t as buildCredentialWorkflowConsumersByGroup, u as truncateWithEllipsis } from "./list-enrichment-
|
|
9
|
-
import { t as groupCredentialRequirements } from "./credentials-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { a as readManifestsFromOutDir } from "./dist-BpLSQDJX.mjs";
|
|
6
|
+
import { t as requireWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
|
|
7
|
+
import { t as readCredentialEnvMap } from "./credential-env-map-rXDibCDT.mjs";
|
|
8
|
+
import { a as loadProjectDotenvFile, c as getTerminalContentWidth, o as manifestGroupKey, s as normalizeManifestScopeToServer, t as buildCredentialWorkflowConsumersByGroup, u as truncateWithEllipsis } from "./list-enrichment-mOKJXdJW.mjs";
|
|
9
|
+
import { t as groupCredentialRequirements } from "./credentials-Bud9r1JE.mjs";
|
|
10
10
|
//#region src/commands/credentials/requirements/requirements-display.ts
|
|
11
11
|
function dimLabel(label, width = 10) {
|
|
12
12
|
return style(label.padEnd(width), ANSI.dim);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as credentials } from "./dist-
|
|
3
|
+
import { n as credentials } from "./dist-rsDq3fTk.mjs";
|
|
4
4
|
//#region src/lib/resolve-cli-credentials.ts
|
|
5
5
|
/**
|
|
6
6
|
* Resolves CLI credential inputs using explicit overrides first, then stored
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { M as ProjectNotFoundError, p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
5
|
-
import { n as findProjectRoot, r as getProjectConfigPath } from "./project-config-
|
|
4
|
+
import { i as projects } from "./dist-rsDq3fTk.mjs";
|
|
5
|
+
import { n as findProjectRoot, r as getProjectConfigPath } from "./project-config-VloWJirJ.mjs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { access } from "node:fs/promises";
|
|
8
8
|
//#region src/lib/resolve-project.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { S as toErrorMessage, j as InputValidationError, p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
5
|
-
import { c as validateRequiredFields, n as formatMissingInputError, r as formatValidationError } from "./schema-display-
|
|
6
|
-
import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-
|
|
4
|
+
import { a as readManifestsFromOutDir } from "./dist-BpLSQDJX.mjs";
|
|
5
|
+
import { c as validateRequiredFields, n as formatMissingInputError, r as formatValidationError } from "./schema-display-DKreWhh1.mjs";
|
|
6
|
+
import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-CJWe6cxy.mjs";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
8
8
|
import * as fs from "node:fs/promises";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as projects } from "./dist-
|
|
5
|
-
import { t as assertWorkflowProjectRoot } from "./project-config-
|
|
6
|
-
import { i as writeJson } from "./output-
|
|
7
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
8
|
-
import { n as resolveWorkflowsDir } from "./resolve-project-
|
|
4
|
+
import { i as projects } from "./dist-rsDq3fTk.mjs";
|
|
5
|
+
import { t as assertWorkflowProjectRoot } from "./project-config-VloWJirJ.mjs";
|
|
6
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
7
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DaBLwEWi.mjs";
|
|
8
|
+
import { n as resolveWorkflowsDir } from "./resolve-project-Cto7y-K3.mjs";
|
|
9
9
|
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-CknsHF5T.mjs";
|
|
10
|
-
import { i as resolveWorkflowGlobals, o as validateInputOrExit, r as resolveRunInput, s as validateWorkflowGlobalsOrExit, t as pollForCompletion } from "./run-polling-
|
|
11
|
-
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
10
|
+
import { i as resolveWorkflowGlobals, o as validateInputOrExit, r as resolveRunInput, s as validateWorkflowGlobalsOrExit, t as pollForCompletion } from "./run-polling-DVis_pob.mjs";
|
|
11
|
+
import { n as assertAuthoredWorkflowId, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-DpaMDcsV.mjs";
|
|
12
12
|
//#region src/commands/workflows/run.handler.ts
|
|
13
13
|
async function handleWorkflowsRun(options, ctx) {
|
|
14
14
|
const client = requireClient(ctx);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-
|
|
5
|
-
import { t as createTypedCommand } from "./commander-
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
|
|
6
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/commands/runs/inspect-display.ts
|
|
9
9
|
function renderRunInspect(input) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/search/search.schema.ts
|
|
7
7
|
const SEARCH_INTEGRATION_FILTER_ERROR = "--integration applies to operations and credentials search only.";
|
|
@@ -55,7 +55,7 @@ function createSearchCommand() {
|
|
|
55
55
|
description: "Search query (matches name and related fields per --type)",
|
|
56
56
|
key: "query"
|
|
57
57
|
},
|
|
58
|
-
loadHandler: async () => (await import("./search.handler-
|
|
58
|
+
loadHandler: async () => (await import("./search.handler-CE2432ah.mjs")).handleSearch
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
6
|
import { t as renderCredential } from "./render-credential-D-H1ECDt.mjs";
|
|
7
7
|
import { i as formatPackageInstallCommand, r as detectPackageManager } from "./package-manager-BwJ6muas.mjs";
|
|
8
|
-
import { t as renderOperation } from "./render-operation-
|
|
8
|
+
import { t as renderOperation } from "./render-operation-BhivW7cA.mjs";
|
|
9
9
|
//#region src/lib/render-integration.ts
|
|
10
10
|
function renderIntegration(i, { full = false, packageManager } = {}) {
|
|
11
11
|
ui.br();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { o as renderJsonSchema } from "./schema-display-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { o as renderJsonSchema } from "./schema-display-DKreWhh1.mjs";
|
|
7
7
|
import { r as detectPackageManager } from "./package-manager-BwJ6muas.mjs";
|
|
8
|
-
import { t as renderOperation } from "./render-operation-
|
|
8
|
+
import { t as renderOperation } from "./render-operation-BhivW7cA.mjs";
|
|
9
9
|
//#region src/commands/operations/show.handler.ts
|
|
10
10
|
async function handleOperationShow(options, ctx) {
|
|
11
11
|
const { operation } = await requireClient(ctx).operations.get(options.id);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { o as renderJsonSchema } from "./schema-display-
|
|
4
|
+
import { i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
|
+
import { o as renderJsonSchema } from "./schema-display-DKreWhh1.mjs";
|
|
7
7
|
import { t as renderCredential } from "./render-credential-D-H1ECDt.mjs";
|
|
8
8
|
//#region src/commands/credentials/definitions/show.handler.ts
|
|
9
9
|
async function handleCredentialDefinitionShow(options, ctx) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { P as throwReportedCliExit, S as toErrorMessage, b as isAuthError, g as REAUTH_HINT, p as ui, v as getApiErrorMessage, x as isNetworkError, y as getHttpStatus } from "./keystroke.mjs";
|
|
4
|
-
import { a as writeJsonError, i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { a as writeJsonError, i as writeJson } from "./output-C0pbsv39.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-DaBLwEWi.mjs";
|
|
6
6
|
import { i as formatPackageInstallCommand, r as detectPackageManager } from "./package-manager-BwJ6muas.mjs";
|
|
7
7
|
//#region src/commands/integrations/show.handler.ts
|
|
8
8
|
async function reportIntegrationShowFailure(ctx, integrationId, error) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { A as CliExitError } from "./keystroke.mjs";
|
|
4
|
-
import { a as writeJsonError, i as writeJson, r as isJsonMode } from "./output-
|
|
4
|
+
import { a as writeJsonError, i as writeJson, r as isJsonMode } from "./output-C0pbsv39.mjs";
|
|
5
5
|
import { i as UnknownSkillAgentError, n as resolveSkillInstallChoices, r as installKeystrokeAgentSkills, t as summarizeSkillInstall } from "./skill-installer-DYNH_MJT.mjs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
//#region src/commands/skills/skills-sync.handler.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-C0pbsv39.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-DIOuj6NJ.mjs";
|
|
5
5
|
import { t as SKILL_INSTALL_METHODS } from "./types-Cb0eWmUU.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/skills/skills.command.ts
|
|
@@ -32,13 +32,13 @@ function createSkillsCommand() {
|
|
|
32
32
|
description: "Sync Keystroke agent skills (SKILL.md) from @keystrokehq/skills",
|
|
33
33
|
schema: SkillsCommandOptionsSchema,
|
|
34
34
|
optionsConfig: SKILLS_OPTIONS_CONFIG,
|
|
35
|
-
loadHandler: async () => (await import("./skills.handler-
|
|
35
|
+
loadHandler: async () => (await import("./skills.handler-CvXcuOf5.mjs")).handleSkillsParent,
|
|
36
36
|
subcommands: [createTypedCommand({
|
|
37
37
|
name: "sync",
|
|
38
38
|
description: "Install bundled Keystroke skills into selected agent skill directories",
|
|
39
39
|
schema: SkillsCommandOptionsSchema,
|
|
40
40
|
optionsConfig: SKILLS_OPTIONS_CONFIG,
|
|
41
|
-
loadHandler: async () => (await import("./skills-sync.handler-
|
|
41
|
+
loadHandler: async () => (await import("./skills-sync.handler-CbQQaKv7.mjs")).handleSkillsSync
|
|
42
42
|
})]
|
|
43
43
|
});
|
|
44
44
|
cmd.enablePositionalOptions();
|
package/dist/{source-analysis-BBg2E_6G-wPP9mjQx.mjs → source-analysis-BBg2E_6G-CS88X3nS.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { d as getMetadataRoot } from "./layout-
|
|
4
|
-
import { t as BASE_IGNORE_PATTERNS } from "./metadata-layout-Bv-B0nHj-
|
|
5
|
-
import { a as literalString, l as unwrapExpression, n as identifierName, r as isNode } from "./oxc-B3KI3rf_-
|
|
3
|
+
import { d as getMetadataRoot } from "./layout-CqQq4MmI.mjs";
|
|
4
|
+
import { t as BASE_IGNORE_PATTERNS } from "./metadata-layout-Bv-B0nHj-qhsuNON1.mjs";
|
|
5
|
+
import { a as literalString, l as unwrapExpression, n as identifierName, r as isNode } from "./oxc-B3KI3rf_-ghZc3xZ5.mjs";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { readFile, readdir, rm } from "node:fs/promises";
|
|
8
8
|
//#region ../../packages/workflow-builder/dist/source-analysis-BBg2E_6G.mjs
|