@keystrokehq/cli 0.0.37 → 0.0.38
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/dist/{accept.handler-DCsud1s5.mjs → accept.handler-CykuBpt6.mjs} +3 -3
- package/dist/{admin-BaOtHeZ2.mjs → admin-gRjPC3eD.mjs} +10 -10
- package/dist/{agents-BVAVfMR_.mjs → agents-BpyuvM9p.mjs} +6 -6
- package/dist/{api-keys-BhEEsHUh.mjs → api-keys-BSKhdD_x.mjs} +6 -6
- package/dist/{auth-BnsitjzT.mjs → auth-DCgToFf5.mjs} +6 -6
- package/dist/{auth.handler-W_xk14TL.mjs → auth.handler-QRQAEUJC.mjs} +1 -1
- package/dist/{authored-workflow-ref-fkHEEVnd.mjs → authored-workflow-ref-BRCQgyWl.mjs} +4 -4
- package/dist/{build-progress-CM-b6Bby.mjs → build-progress-D_SQqdHA.mjs} +2 -2
- package/dist/{build.handler-CpAsAsBc.mjs → build.handler-DGQn_clk.mjs} +6 -6
- package/dist/{clear.handler-_sR33Hp8.mjs → clear.handler-CuXYvUj2.mjs} +1 -1
- package/dist/{clear.handler-CDyG6-dk.mjs → clear.handler-DnjvgyMj.mjs} +1 -1
- package/dist/{commander-C6SSTQJ2.mjs → commander-B_8QwPpe.mjs} +3 -3
- package/dist/{connect-27EgnljZ.mjs → connect-DV9lhP6C.mjs} +3 -3
- package/dist/{connect.handler-COM1LnNg.mjs → connect.handler-D6JzuFuT.mjs} +4 -4
- package/dist/{context-ebZssGCY.mjs → context-Brc9VGV9.mjs} +2 -2
- package/dist/{create.handler-CAWJAGzQ.mjs → create.handler-D_tmjANR.mjs} +3 -3
- package/dist/{credential-schema-mismatch-c17ktoNU.mjs → credential-schema-mismatch-CStYUB2h.mjs} +1 -1
- package/dist/{credentials-C0ssbMlp.mjs → credentials-UDrvrKj-.mjs} +9 -9
- package/dist/{current-deployment-workflow-C6x65imE.mjs → current-deployment-workflow-CknsHF5T.mjs} +1 -1
- package/dist/{current.handler-DP1L_hm3.mjs → current.handler-Cy91EeLU.mjs} +3 -3
- package/dist/{delete.handler-C-5XFkgN.mjs → delete.handler-rUDDUrDQ.mjs} +2 -2
- package/dist/{deploy-BcVQJza8.mjs → deploy-DgWPlEKO.mjs} +2 -2
- package/dist/{deploy-progress-Bt86Yc1r.mjs → deploy-progress-BDOCSm_U.mjs} +1 -1
- package/dist/{deploy.handler-GPS9lxGk.mjs → deploy.handler-BDCHCk_A.mjs} +9 -9
- package/dist/{diff.handler-DkM5dhaN.mjs → diff.handler-CGERP-Qn.mjs} +5 -5
- package/dist/{env.handler-V_isbSi2.mjs → env.handler--8FRrSlJ.mjs} +6 -6
- package/dist/{error-boundary-BRxUsPi7.mjs → error-boundary-D2DiCLAp.mjs} +3 -3
- package/dist/{iam-command-utils-DNDN0wT6.mjs → iam-command-utils-D01Gw8-M.mjs} +2 -2
- package/dist/{init-D1OmmclX.mjs → init-Mpe_8lA_.mjs} +2 -2
- package/dist/{init.handler-CUbYlUgP.mjs → init.handler-BjLAIAmm.mjs} +4 -4
- package/dist/{inspect.handler-BE6coOuW.mjs → inspect.handler-CXCi7fhH.mjs} +5 -5
- package/dist/{integration-catalog-pSmWHFLQ.mjs → integration-catalog-mZs6EAlN.mjs} +3 -3
- package/dist/{integrations-DZD5t8n2.mjs → integrations-D_IH5Ud1.mjs} +6 -6
- package/dist/{invites-BuR1H-tA.mjs → invites-CWWz4wmY.mjs} +5 -5
- package/dist/{invites.list.handler-Dj4a6XOg.mjs → invites.list.handler-CQLWSoWo.mjs} +4 -4
- package/dist/{invites.resend.handler-DEGF4vlB.mjs → invites.resend.handler-CeIGE_qM.mjs} +4 -4
- package/dist/{invites.revoke.handler-Dg4ZvlFS.mjs → invites.revoke.handler-9K6jkym_.mjs} +4 -4
- package/dist/keystroke.mjs +41 -29
- package/dist/{list.handler-Choc4SZz.mjs → list.handler-BvuxTFLe.mjs} +5 -5
- package/dist/{list.handler-BTYVIn6z.mjs → list.handler-CDWPmiMy.mjs} +3 -3
- package/dist/{list.handler-DYE48apa.mjs → list.handler-Co32_F3n.mjs} +4 -4
- package/dist/{list.handler-D47C1z3m.mjs → list.handler-Cuw1fWO_.mjs} +41 -12
- package/dist/{list.handler-7MkJfkak.mjs → list.handler-D-rSyrX0.mjs} +4 -4
- package/dist/{list.handler-KcCaG3PZ.mjs → list.handler-DMvq96UA.mjs} +2 -2
- package/dist/{list.handler-2g1CZAvB.mjs → list.handler-DUTNS8du.mjs} +3 -3
- package/dist/{list.handler-Bchcr3-e.mjs → list.handler-Dz-Yeijp.mjs} +3 -3
- package/dist/{list2.handler-BIaIyrQf.mjs → list2.handler-BpqKZTZk.mjs} +1 -1
- package/dist/{listen-CVY-_F29.mjs → listen-CeNwufij.mjs} +3 -3
- package/dist/{listen.handler-D_nEvXRn.mjs → listen.handler-CfRoaOwu.mjs} +3 -3
- package/dist/{logs-CZ2qnsSH.mjs → logs-B7k2_W1R.mjs} +3 -3
- package/dist/{logs.handler-Wk6mYyAZ.mjs → logs.handler-BIqJ0FED.mjs} +1 -1
- package/dist/{logs.handler-BRUzZC9Z.mjs → logs.handler-CSqOzxCU.mjs} +5 -5
- package/dist/{members.add.handler-BJ0wr6rP.mjs → members.add.handler-CBjoA6vG.mjs} +4 -4
- package/dist/{members.invite.handler-DyveDMuq.mjs → members.invite.handler-D8KcKJ9Y.mjs} +4 -4
- package/dist/{members.list.handler-CyQxH_zS.mjs → members.list.handler-CB_qSJK0.mjs} +4 -4
- package/dist/{members.remove.handler-Dtv9PooY.mjs → members.remove.handler-DNhO81mo.mjs} +4 -4
- package/dist/{members.update.handler-CeK-tCjT.mjs → members.update.handler-Bjdk_uz4.mjs} +4 -4
- package/dist/{operations-CxQlt0S0.mjs → operations-HHwoArwE.mjs} +5 -5
- package/dist/{org-context-BI9OSpbb.mjs → org-context-CNh2p2DP.mjs} +3 -3
- package/dist/{org-B8MPHJJu.mjs → org-f-qo68Em.mjs} +16 -16
- package/dist/{org-output-DffU7DKn.mjs → org-output-BcI17Uan.mjs} +2 -2
- package/dist/{orgs.create.handler-BKvSmkU3.mjs → orgs.create.handler-DOE9ZIed.mjs} +3 -3
- package/dist/{orgs.get.handler-BA-CexIY.mjs → orgs.get.handler-sWErVI7r.mjs} +3 -3
- package/dist/{orgs.list.handler-eCEg5kC1.mjs → orgs.list.handler-Cp-mXsA0.mjs} +3 -3
- package/dist/{output-DnIFEmi5.mjs → output-BPydP5tG.mjs} +1 -1
- package/dist/{package-manager-BP3-q8hh.mjs → package-manager-BwJ6muas.mjs} +1 -1
- package/dist/{paused.handler-4wKMTKZ-.mjs → paused.handler-DWdoKYY8.mjs} +5 -5
- package/dist/{projects-Wu_2fB_x.mjs → projects-CCC36zbJ.mjs} +3 -3
- package/dist/{register.handler-BvAkXCwE.mjs → register.handler-Dxae5iq8.mjs} +3 -3
- package/dist/{render-operation-VdEPhoII.mjs → render-operation-iF7Wblv2.mjs} +1 -1
- package/dist/{requirements.handler-Bab4kBtw.mjs → requirements.handler-Bg3mRnER.mjs} +2 -2
- package/dist/{resolve-project-DLKlAy0z.mjs → resolve-project-CoCN9xfi.mjs} +1 -1
- package/dist/{run-polling-C5fI7xTp.mjs → run-polling-htHWhG0T.mjs} +1 -1
- package/dist/{run.handler-BKD5Xu0A.mjs → run.handler-C-CM-xZG.mjs} +7 -7
- package/dist/{runs-CT31dczt.mjs → runs-BRJPNq4B.mjs} +4 -4
- package/dist/{search-BeQW_pf4.mjs → search-CQMgdp51.mjs} +3 -3
- package/dist/{search.handler-BJ-ZlDL4.mjs → search.handler-Dn5jjyF-.mjs} +4 -4
- package/dist/show.handler-CdZF0aao.mjs +79 -0
- package/dist/{show.handler-Cqe_hCqU.mjs → show.handler-D3nDc1MJ.mjs} +2 -2
- package/dist/{show.handler-DB8xl5FU.mjs → show.handler-DUDxnNiZ.mjs} +4 -4
- package/dist/{skill-installer-DuMhavmM.mjs → skill-installer-DYNH_MJT.mjs} +1 -1
- package/dist/{skills-sync.handler-BGs-_YD9.mjs → skills-sync.handler-_LVhIMRH.mjs} +3 -3
- package/dist/{skills.command-DUWn6FbL.mjs → skills.command-DSHGwXPX.mjs} +3 -3
- package/dist/{spinner-progress-BYxlr3lY.mjs → spinner-progress-fLaD0sjH.mjs} +1 -1
- package/dist/{status.handler-DAId4bVU.mjs → status.handler-1hEzX5oB.mjs} +1 -1
- package/dist/{switch.handler-Cd4Yg2n8.mjs → switch.handler-D135WwfB.mjs} +3 -3
- package/dist/{sync-DgC4lcxh.mjs → sync-CFScllh3.mjs} +2 -2
- package/dist/{sync.handler-Cm_WtGmH.mjs → sync.handler-x8v53-TT.mjs} +6 -6
- package/dist/{test-4V7nh67i.mjs → test-Dx4RXoLZ.mjs} +3 -3
- package/dist/{test.handler-Bo4YTs2Z.mjs → test.handler-BmvL5vF8.mjs} +8 -8
- package/dist/{test.handler-BdCYcwR4.mjs → test.handler-Mz_XOnJl.mjs} +1 -1
- package/dist/{tool.handler-CPCrSDq2.mjs → tool.handler-DsbpocYI.mjs} +7 -7
- package/dist/{upgrade-2qUOcjxb.mjs → upgrade-C9G6HksL.mjs} +3 -3
- package/dist/{upgrade.handler-PqlKSuUE.mjs → upgrade.handler-DsFeAFF4.mjs} +2 -2
- package/dist/{upload.handler-CS-vLpzC.mjs → upload.handler-DscKDQ63.mjs} +6 -6
- package/dist/{users.get.handler-CH1c6Lnj.mjs → users.get.handler-CaUv_maM.mjs} +3 -3
- package/dist/{users.list.handler-CxbZFgjO.mjs → users.list.handler-DzsOvAtd.mjs} +3 -3
- package/dist/{users.set-role.handler-CBRE-Ws6.mjs → users.set-role.handler-koRzA0V9.mjs} +3 -3
- package/dist/{validate.handler-1d-UmtXB.mjs → validate.handler-BkBsS8BL.mjs} +6 -6
- package/dist/{workflow-build-Bm8JoVv4.mjs → workflow-build-Db6at6IA.mjs} +1 -1
- package/dist/{workflows-ny7rOdeH.mjs → workflows-B8VG6nKg.mjs} +13 -13
- package/package.json +5 -5
- package/dist/show.handler-BrIHUH28.mjs +0 -31
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
|
|
4
4
|
import { t as SKILL_INSTALL_METHODS } from "./types-Cb0eWmUU.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/init/init.command.ts
|
|
@@ -50,7 +50,7 @@ function createInitCommand() {
|
|
|
50
50
|
description: "Initialize a Keystroke project (creates keystroke.config.ts)",
|
|
51
51
|
schema: InitOptionsSchema,
|
|
52
52
|
optionsConfig: INIT_OPTIONS_CONFIG,
|
|
53
|
-
loadHandler: async () => (await import("./init.handler-
|
|
53
|
+
loadHandler: async () => (await import("./init.handler-BjLAIAmm.mjs")).handleInit
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { A as CliExitError, P as throwReportedCliExit, i as fetchLatestNpmPackageVersion, p as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-B5jy238v.mjs";
|
|
5
5
|
import { a as writeProjectConfig, i as readProjectConfig, r as getProjectConfigPath } from "./project-config-DudGRFPO.mjs";
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
7
|
-
import { n as buildProjectInstallCommand, o as resolvePackageManagerResolution, s as runProjectInstall } from "./package-manager-
|
|
8
|
-
import { i as UnknownSkillAgentError, n as resolveSkillInstallChoices, r as installKeystrokeAgentSkills, t as summarizeSkillInstall } from "./skill-installer-
|
|
6
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
7
|
+
import { n as buildProjectInstallCommand, o as resolvePackageManagerResolution, s as runProjectInstall } from "./package-manager-BwJ6muas.mjs";
|
|
8
|
+
import { i as UnknownSkillAgentError, n as resolveSkillInstallChoices, r as installKeystrokeAgentSkills, t as summarizeSkillInstall } from "./skill-installer-DYNH_MJT.mjs";
|
|
9
9
|
import { createRequire } from "node:module";
|
|
10
10
|
import path from "node:path";
|
|
11
11
|
import { access, mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-B5jy238v.mjs";
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
5
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-Brc9VGV9.mjs";
|
|
7
7
|
import { s as resolveTypeHint } from "./schema-display-sZ6ConJd.mjs";
|
|
8
|
-
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
9
|
-
import { r as requireLocalWorkflowManifest, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-
|
|
8
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-CknsHF5T.mjs";
|
|
9
|
+
import { r as requireLocalWorkflowManifest, t as WORKFLOW_ID_COMMANDS } from "./authored-workflow-ref-BRCQgyWl.mjs";
|
|
10
10
|
import dayjs from "dayjs";
|
|
11
11
|
//#region src/commands/workflows/inspect/inspect-display.ts
|
|
12
12
|
function formatBuildTimestamp(iso) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { a as writeJsonError } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
3
|
+
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, b as isAuthError, g as REAUTH_HINT, p as ui, x as isNetworkError } from "./keystroke.mjs";
|
|
4
|
+
import { a as writeJsonError } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
6
|
//#region src/lib/integration-catalog.ts
|
|
7
7
|
const catalogCache = /* @__PURE__ */ new WeakMap();
|
|
8
8
|
function buildView(entries) {
|
|
@@ -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-BPydP5tG.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
|
|
5
5
|
import { t as ConnectionKindValues } from "./api-sWkB_Wta.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region ../../packages/shared-types/src/official-providers/index.ts
|
|
@@ -158,14 +158,14 @@ function createIntegrationsCommand() {
|
|
|
158
158
|
description: "List Keystroke integrations available to your organization",
|
|
159
159
|
schema: IntegrationsListOptionsSchema,
|
|
160
160
|
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
161
|
-
loadHandler: async () => (await import("./list.handler-
|
|
161
|
+
loadHandler: async () => (await import("./list.handler-Cuw1fWO_.mjs")).handleIntegrationsList,
|
|
162
162
|
subcommands: [
|
|
163
163
|
createTypedCommand({
|
|
164
164
|
name: "list",
|
|
165
165
|
description: "List Keystroke integrations available to your organization",
|
|
166
166
|
schema: IntegrationsListOptionsSchema,
|
|
167
167
|
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
168
|
-
loadHandler: async () => (await import("./list.handler-
|
|
168
|
+
loadHandler: async () => (await import("./list.handler-Cuw1fWO_.mjs")).handleIntegrationsList
|
|
169
169
|
}),
|
|
170
170
|
createTypedCommand({
|
|
171
171
|
name: "show",
|
|
@@ -177,7 +177,7 @@ function createIntegrationsCommand() {
|
|
|
177
177
|
description: "Integration id, e.g. aws-s3",
|
|
178
178
|
key: "id"
|
|
179
179
|
},
|
|
180
|
-
loadHandler: async () => (await import("./show.handler-
|
|
180
|
+
loadHandler: async () => (await import("./show.handler-CdZF0aao.mjs")).handleIntegrationShow
|
|
181
181
|
}),
|
|
182
182
|
createTypedCommand({
|
|
183
183
|
name: "register",
|
|
@@ -185,7 +185,7 @@ function createIntegrationsCommand() {
|
|
|
185
185
|
schema: IntegrationsRegisterOptionsSchema,
|
|
186
186
|
optionsConfig: INTEGRATIONS_REGISTER_OPTIONS_CONFIG,
|
|
187
187
|
handler: async (opts, ctx) => {
|
|
188
|
-
const { handleIntegrationsRegister } = await import("./register.handler-
|
|
188
|
+
const { handleIntegrationsRegister } = await import("./register.handler-Dxae5iq8.mjs");
|
|
189
189
|
await handleIntegrationsRegister({
|
|
190
190
|
integrationId: opts.integrationId,
|
|
191
191
|
clientAppCredentialSetId: opts.clientApp,
|
|
@@ -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-BPydP5tG.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/invites/invites.command.ts
|
|
7
7
|
const InvitesListOptionsSchema = JsonOptionSchema;
|
|
@@ -19,13 +19,13 @@ function createInvitesCommand() {
|
|
|
19
19
|
description: "Manage invitations for the current user",
|
|
20
20
|
schema: InvitesListOptionsSchema,
|
|
21
21
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
22
|
-
loadHandler: async () => (await import("./list.handler-
|
|
22
|
+
loadHandler: async () => (await import("./list.handler-DUTNS8du.mjs")).handleInvitesList,
|
|
23
23
|
subcommands: [createTypedCommand({
|
|
24
24
|
name: "list",
|
|
25
25
|
description: "List pending invites for the current user",
|
|
26
26
|
schema: InvitesListOptionsSchema,
|
|
27
27
|
optionsConfig: { ...JSON_OPTION_CONFIG },
|
|
28
|
-
loadHandler: async () => (await import("./list.handler-
|
|
28
|
+
loadHandler: async () => (await import("./list.handler-DUTNS8du.mjs")).handleInvitesList
|
|
29
29
|
}), createTypedCommand({
|
|
30
30
|
name: "accept",
|
|
31
31
|
description: "Accept a pending invite",
|
|
@@ -36,7 +36,7 @@ function createInvitesCommand() {
|
|
|
36
36
|
description: "Invite ID to accept",
|
|
37
37
|
key: "inviteId"
|
|
38
38
|
},
|
|
39
|
-
loadHandler: async () => (await import("./accept.handler-
|
|
39
|
+
loadHandler: async () => (await import("./accept.handler-CykuBpt6.mjs")).handleInvitesAccept
|
|
40
40
|
})]
|
|
41
41
|
});
|
|
42
42
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
7
|
-
import { s as requireOrganizationId } from "./org-context-
|
|
4
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
|
|
7
|
+
import { s as requireOrganizationId } from "./org-context-CNh2p2DP.mjs";
|
|
8
8
|
import Table from "cli-table3";
|
|
9
9
|
//#region src/commands/org/invites.list.handler.ts
|
|
10
10
|
async function handleOrgInvitesList(_options, ctx) {
|
|
@@ -1,10 +1,10 @@
|
|
|
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-
|
|
7
|
-
import { s as requireOrganizationId } from "./org-context-
|
|
4
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
|
|
7
|
+
import { s as requireOrganizationId } from "./org-context-CNh2p2DP.mjs";
|
|
8
8
|
//#region src/commands/org/invites.resend.handler.ts
|
|
9
9
|
async function handleOrgInvitesResend(options, ctx) {
|
|
10
10
|
const client = requireClient(ctx);
|
|
@@ -1,10 +1,10 @@
|
|
|
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, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-
|
|
7
|
-
import { s as requireOrganizationId } from "./org-context-
|
|
4
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
|
+
import { n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
|
|
7
|
+
import { s as requireOrganizationId } from "./org-context-CNh2p2DP.mjs";
|
|
8
8
|
//#region src/commands/org/invites.revoke.handler.ts
|
|
9
9
|
async function handleOrgInvitesRevoke(options, ctx) {
|
|
10
10
|
const client = requireClient(ctx);
|
package/dist/keystroke.mjs
CHANGED
|
@@ -521,7 +521,7 @@ const logger = {
|
|
|
521
521
|
};
|
|
522
522
|
//#endregion
|
|
523
523
|
//#region package.json
|
|
524
|
-
var version = "0.0.
|
|
524
|
+
var version = "0.0.38";
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region src/command-registry.ts
|
|
527
527
|
const ROOT_OPTIONS_WITH_VALUES$1 = new Set([
|
|
@@ -533,92 +533,92 @@ const ROOT_VERSION_FLAGS = new Set(["-V", "--version"]);
|
|
|
533
533
|
const lazyCommandDefinitions = [
|
|
534
534
|
{
|
|
535
535
|
name: "agents",
|
|
536
|
-
loadCommand: async () => (await import("./agents-
|
|
536
|
+
loadCommand: async () => (await import("./agents-BpyuvM9p.mjs")).createAgentsCommand()
|
|
537
537
|
},
|
|
538
538
|
{
|
|
539
539
|
name: "admin",
|
|
540
|
-
loadCommand: async () => (await import("./admin-
|
|
540
|
+
loadCommand: async () => (await import("./admin-gRjPC3eD.mjs")).createAdminCommand()
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
543
|
name: "api-keys",
|
|
544
|
-
loadCommand: async () => (await import("./api-keys-
|
|
544
|
+
loadCommand: async () => (await import("./api-keys-BSKhdD_x.mjs")).createApiKeysCommand()
|
|
545
545
|
},
|
|
546
546
|
{
|
|
547
547
|
name: "auth",
|
|
548
|
-
loadCommand: async () => (await import("./auth-
|
|
548
|
+
loadCommand: async () => (await import("./auth-DCgToFf5.mjs")).createAuthCommand()
|
|
549
549
|
},
|
|
550
550
|
{
|
|
551
551
|
name: "connect",
|
|
552
|
-
loadCommand: async () => (await import("./connect-
|
|
552
|
+
loadCommand: async () => (await import("./connect-DV9lhP6C.mjs")).createConnectCommand()
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
name: "credentials",
|
|
556
|
-
loadCommand: async () => (await import("./credentials-
|
|
556
|
+
loadCommand: async () => (await import("./credentials-UDrvrKj-.mjs")).createCredentialsCommand(),
|
|
557
557
|
copyInheritedSettings: true
|
|
558
558
|
},
|
|
559
559
|
{
|
|
560
560
|
name: "org",
|
|
561
|
-
loadCommand: async () => (await import("./org-
|
|
561
|
+
loadCommand: async () => (await import("./org-f-qo68Em.mjs")).createOrgCommand()
|
|
562
562
|
},
|
|
563
563
|
{
|
|
564
564
|
name: "deploy",
|
|
565
|
-
loadCommand: async () => (await import("./deploy-
|
|
565
|
+
loadCommand: async () => (await import("./deploy-DgWPlEKO.mjs")).createDeployCommand()
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
568
|
name: "init",
|
|
569
|
-
loadCommand: async () => (await import("./init-
|
|
569
|
+
loadCommand: async () => (await import("./init-Mpe_8lA_.mjs")).createInitCommand()
|
|
570
570
|
},
|
|
571
571
|
{
|
|
572
572
|
name: "integrations",
|
|
573
|
-
loadCommand: async () => (await import("./integrations-
|
|
573
|
+
loadCommand: async () => (await import("./integrations-D_IH5Ud1.mjs")).createIntegrationsCommand()
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
576
|
name: "invites",
|
|
577
|
-
loadCommand: async () => (await import("./invites-
|
|
577
|
+
loadCommand: async () => (await import("./invites-CWWz4wmY.mjs")).createInvitesCommand()
|
|
578
578
|
},
|
|
579
579
|
{
|
|
580
580
|
name: "logs",
|
|
581
|
-
loadCommand: async () => (await import("./logs-
|
|
581
|
+
loadCommand: async () => (await import("./logs-B7k2_W1R.mjs")).createLogsCommand()
|
|
582
582
|
},
|
|
583
583
|
{
|
|
584
584
|
name: "listen",
|
|
585
|
-
loadCommand: async () => (await import("./listen-
|
|
585
|
+
loadCommand: async () => (await import("./listen-CeNwufij.mjs")).createListenCommand()
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
name: "operations",
|
|
589
|
-
loadCommand: async () => (await import("./operations-
|
|
589
|
+
loadCommand: async () => (await import("./operations-HHwoArwE.mjs")).createOperationsCommand()
|
|
590
590
|
},
|
|
591
591
|
{
|
|
592
592
|
name: "projects",
|
|
593
|
-
loadCommand: async () => (await import("./projects-
|
|
593
|
+
loadCommand: async () => (await import("./projects-CCC36zbJ.mjs")).createProjectsCommand()
|
|
594
594
|
},
|
|
595
595
|
{
|
|
596
596
|
name: "runs",
|
|
597
|
-
loadCommand: async () => (await import("./runs-
|
|
597
|
+
loadCommand: async () => (await import("./runs-BRJPNq4B.mjs")).createRunsCommand()
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
600
|
name: "search",
|
|
601
|
-
loadCommand: async () => (await import("./search-
|
|
601
|
+
loadCommand: async () => (await import("./search-CQMgdp51.mjs")).createSearchCommand()
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
name: "skills",
|
|
605
|
-
loadCommand: async () => (await import("./skills.command-
|
|
605
|
+
loadCommand: async () => (await import("./skills.command-DSHGwXPX.mjs")).createSkillsCommand()
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
608
|
name: "sync",
|
|
609
|
-
loadCommand: async () => (await import("./sync-
|
|
609
|
+
loadCommand: async () => (await import("./sync-CFScllh3.mjs")).createSyncCommand()
|
|
610
610
|
},
|
|
611
611
|
{
|
|
612
612
|
name: "test",
|
|
613
|
-
loadCommand: async () => (await import("./test-
|
|
613
|
+
loadCommand: async () => (await import("./test-Dx4RXoLZ.mjs")).createTestCommand()
|
|
614
614
|
},
|
|
615
615
|
{
|
|
616
616
|
name: "upgrade",
|
|
617
|
-
loadCommand: async () => (await import("./upgrade-
|
|
617
|
+
loadCommand: async () => (await import("./upgrade-C9G6HksL.mjs")).createUpgradeCommand()
|
|
618
618
|
},
|
|
619
619
|
{
|
|
620
620
|
name: "workflows",
|
|
621
|
-
loadCommand: async () => (await import("./workflows-
|
|
621
|
+
loadCommand: async () => (await import("./workflows-B8VG6nKg.mjs")).createWorkflowsCommand()
|
|
622
622
|
}
|
|
623
623
|
];
|
|
624
624
|
function selectCommandRegistration(argv, commandNames = new Set(lazyCommandDefinitions.map((definition) => definition.name))) {
|
|
@@ -800,15 +800,27 @@ function getHttpStatus(error) {
|
|
|
800
800
|
if (!isHttpError(error)) return null;
|
|
801
801
|
return error.response.status;
|
|
802
802
|
}
|
|
803
|
-
async function
|
|
804
|
-
if (!isHttpError(error)) return null;
|
|
805
|
-
if (typeof error.response.clone !== "function") return null;
|
|
803
|
+
async function readHttpErrorJson(error) {
|
|
806
804
|
try {
|
|
807
|
-
|
|
808
|
-
|
|
805
|
+
if (typeof error.response.json === "function") return await error.response.json();
|
|
806
|
+
if (typeof error.response.clone === "function") return await error.response.clone().json();
|
|
809
807
|
} catch {
|
|
810
808
|
return null;
|
|
811
809
|
}
|
|
810
|
+
return null;
|
|
811
|
+
}
|
|
812
|
+
async function getApiErrorCode(error) {
|
|
813
|
+
if (!isHttpError(error)) return null;
|
|
814
|
+
const body = await readHttpErrorJson(error);
|
|
815
|
+
return typeof body?.errorCode === "string" ? body.errorCode : null;
|
|
816
|
+
}
|
|
817
|
+
/** Parses a server JSON error body (`message` preferred, then `error`). */
|
|
818
|
+
async function getApiErrorMessage(error) {
|
|
819
|
+
if (!isHttpError(error)) return null;
|
|
820
|
+
const body = await readHttpErrorJson(error);
|
|
821
|
+
if (typeof body?.message === "string" && body.message.length > 0) return body.message;
|
|
822
|
+
if (typeof body?.error === "string" && body.error.length > 0) return body.error;
|
|
823
|
+
return null;
|
|
812
824
|
}
|
|
813
825
|
//#endregion
|
|
814
826
|
//#region src/lib/cli-telemetry.ts
|
|
@@ -1378,4 +1390,4 @@ async function main() {
|
|
|
1378
1390
|
}
|
|
1379
1391
|
main();
|
|
1380
1392
|
//#endregion
|
|
1381
|
-
export {
|
|
1393
|
+
export { CliExitError as A, setDebug as B, AUTH_TIMEOUT_SECONDS as C, CALLBACK_PATH as D, CALLBACK_LOOPBACK_ORIGIN as E, clearLog as F, closeLogger as I, logger as L, ProjectNotFoundError as M, WorkflowResolutionError as N, CLI_AUTH_COMMAND as O, throwReportedCliExit as P, originalConsole as R, toErrorMessage as S, CALLBACK_LOOPBACK_HOST as T, getApiErrorCode as _, CLI_PACKAGE_NAME as a, isAuthError as b, getProcessEnv as c, resolveCliWebUrl as d, applyCommanderOutput as f, REAUTH_HINT as g, AUTH_HINT as h, fetchLatestNpmPackageVersion as i, InputValidationError as j, AuthenticationError as k, isLocalMode as l, captureCliTelemetryResolvedContext as m, style as n, createHiddenGlobalOptions as o, ui as p, isTTY as r, getEnv as s, ANSI as t, resolveCliServerUrl as u, getApiErrorMessage as v, AUTH_URL_PATH as w, isNetworkError as x, getHttpStatus as y, readLogEntries as z };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { P as throwReportedCliExit, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-B5jy238v.mjs";
|
|
5
|
-
import { i as writeJson } from "./output-
|
|
6
|
-
import { t as requireWorkflowsDir } from "./resolve-project-
|
|
7
|
-
import { t as createSpinnerProgress } from "./spinner-progress-
|
|
8
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
5
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
6
|
+
import { t as requireWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
|
|
7
|
+
import { t as createSpinnerProgress } from "./spinner-progress-fLaD0sjH.mjs";
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Db6at6IA.mjs";
|
|
9
9
|
import { i as formatWorkflowInputFlag, t as formatExampleInputJson } from "./schema-display-sZ6ConJd.mjs";
|
|
10
10
|
//#region src/commands/workflows/list.handler.ts
|
|
11
11
|
function workflowListJsonEntry(artifact) {
|
|
@@ -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 requireClient } from "./context-
|
|
5
|
-
import { c as resolveEffectiveOrganization, l as resolveListActiveOrganizationId, o as requireEffectiveOrganization, r as buildOrgListRows, u as warnUnknownOrganizationOverride } from "./org-context-
|
|
6
|
-
import { i as renderOrgListJson, r as renderOrgListHuman } from "./org-output-
|
|
4
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
5
|
+
import { c as resolveEffectiveOrganization, l as resolveListActiveOrganizationId, o as requireEffectiveOrganization, r as buildOrgListRows, u as warnUnknownOrganizationOverride } from "./org-context-CNh2p2DP.mjs";
|
|
6
|
+
import { i as renderOrgListJson, r as renderOrgListHuman } from "./org-output-BcI17Uan.mjs";
|
|
7
7
|
//#region src/commands/org/list.handler.ts
|
|
8
8
|
async function handleOrgList(_options, ctx) {
|
|
9
9
|
const { user } = await requireClient(ctx).users.getMe();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
3
|
+
import { P as throwReportedCliExit, c as getProcessEnv, p as ui } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
6
|
import { a as readManifestsFromOutDir } from "./dist-BmbFJq8U.mjs";
|
|
7
|
-
import { n as resolveWorkflowsDir } from "./resolve-project-
|
|
7
|
+
import { n as resolveWorkflowsDir } from "./resolve-project-CoCN9xfi.mjs";
|
|
8
8
|
import { t as readCredentialEnvMap } from "./credential-env-map-5a41jLwM.mjs";
|
|
9
9
|
import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-dqbkXJzy.mjs";
|
|
10
10
|
import dayjs from "dayjs";
|
|
@@ -1,13 +1,45 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
3
|
+
import { S as toErrorMessage, n as style, p as ui, t as ANSI, x as isNetworkError } from "./keystroke.mjs";
|
|
4
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-mZs6EAlN.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
|
+
//#region ../../packages/shared-types/src/connections/integration-id.ts
|
|
9
|
+
/** Official catalog namespace prefix for integration and connection credential ids. */
|
|
10
|
+
const KEYSTROKE_OFFICIAL_INTEGRATION_PREFIX = "keystroke:";
|
|
11
|
+
/** Legacy bare vendor slugs on operation rows (no `:` or `-` segments). */
|
|
12
|
+
const LEGACY_BARE_INTEGRATION_ID = /^[a-z0-9]+$/;
|
|
13
|
+
/**
|
|
14
|
+
* Returns equivalent integration ids for lookup (catalog `publicId` vs legacy operation rows).
|
|
15
|
+
* Example: `twilio` ↔ `keystroke:twilio`.
|
|
16
|
+
*/
|
|
17
|
+
function expandIntegrationIdVariants(id) {
|
|
18
|
+
const trimmed = id.trim();
|
|
19
|
+
if (!trimmed) return [];
|
|
20
|
+
const variants = new Set([trimmed]);
|
|
21
|
+
if (trimmed.startsWith("keystroke:")) {
|
|
22
|
+
const bare = trimmed.slice(10);
|
|
23
|
+
if (bare) variants.add(bare);
|
|
24
|
+
} else if (LEGACY_BARE_INTEGRATION_ID.test(trimmed)) variants.add(`${KEYSTROKE_OFFICIAL_INTEGRATION_PREFIX}${trimmed}`);
|
|
25
|
+
return [...variants];
|
|
26
|
+
}
|
|
27
|
+
function integrationIdsMatch(left, right) {
|
|
28
|
+
const leftVariants = new Set(expandIntegrationIdVariants(left));
|
|
29
|
+
return expandIntegrationIdVariants(right).some((variant) => leftVariants.has(variant));
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
8
32
|
//#region src/commands/integrations/list.handler.ts
|
|
33
|
+
function connectionBelongsToEntry(connection, entry) {
|
|
34
|
+
const integrationId = connection.integrationPublicId;
|
|
35
|
+
if (integrationId === null) return false;
|
|
36
|
+
return integrationIdsMatch(integrationId, entry.publicId);
|
|
37
|
+
}
|
|
38
|
+
function connectionsForEntry(entry, connections) {
|
|
39
|
+
return connections.filter((connection) => connectionBelongsToEntry(connection, entry));
|
|
40
|
+
}
|
|
9
41
|
function summarizeConnections(entry, connections) {
|
|
10
|
-
const matches =
|
|
42
|
+
const matches = connectionsForEntry(entry, connections);
|
|
11
43
|
if (matches.length === 0) return {
|
|
12
44
|
total: 0,
|
|
13
45
|
defaultStatus: null,
|
|
@@ -23,7 +55,7 @@ function summarizeConnections(entry, connections) {
|
|
|
23
55
|
};
|
|
24
56
|
}
|
|
25
57
|
function formatConnectionStatus(status) {
|
|
26
|
-
return status === "connected" ? style("connected", ANSI.green) : status === "broken" ? style("broken", ANSI.red) : status === "needs_reconnect" ? style("needs reconnect", ANSI.yellow) : status === "disconnected" ? style("disconnected", ANSI.dim) : status
|
|
58
|
+
return status === "connected" ? style("connected", ANSI.green) : status === "broken" ? style("broken", ANSI.red) : status === "needs_reconnect" ? style("needs reconnect", ANSI.yellow) : status === "disconnected" ? style("disconnected", ANSI.dim) : status ?? style("(unknown)", ANSI.dim);
|
|
27
59
|
}
|
|
28
60
|
function pluralizeConnection(count) {
|
|
29
61
|
return `${count} connection${count === 1 ? "" : "s"}`;
|
|
@@ -50,7 +82,7 @@ function formatConnectionLine(connection) {
|
|
|
50
82
|
function renderConnectionDetails(entries, connections) {
|
|
51
83
|
const connectedEntries = entries.map((entry) => ({
|
|
52
84
|
entry,
|
|
53
|
-
connections:
|
|
85
|
+
connections: connectionsForEntry(entry, connections)
|
|
54
86
|
})).filter(({ connections: entryConnections }) => entryConnections.length > 0);
|
|
55
87
|
if (connectedEntries.length === 0) return;
|
|
56
88
|
ui.br();
|
|
@@ -99,14 +131,11 @@ async function handleIntegrationsList(options, ctx) {
|
|
|
99
131
|
});
|
|
100
132
|
}
|
|
101
133
|
const connections = await loadConnectionsOrEmpty(ctx);
|
|
102
|
-
if (options.connected)
|
|
103
|
-
const connectedIds = new Set(connections.map((c) => c.integrationPublicId).filter((id) => id !== null));
|
|
104
|
-
entries = entries.filter((entry) => connectedIds.has(entry.publicId));
|
|
105
|
-
}
|
|
134
|
+
if (options.connected) entries = entries.filter((entry) => connections.some((connection) => connectionBelongsToEntry(connection, entry)));
|
|
106
135
|
if (ctx.jsonMode) {
|
|
107
136
|
writeJson(entries.map((entry) => ({
|
|
108
137
|
...entry,
|
|
109
|
-
orgConnections:
|
|
138
|
+
orgConnections: connectionsForEntry(entry, connections)
|
|
110
139
|
})));
|
|
111
140
|
return;
|
|
112
141
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { r as detectPackageManager } from "./package-manager-
|
|
7
|
-
import { t as renderOperation } from "./render-operation-
|
|
4
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
|
+
import { r as detectPackageManager } from "./package-manager-BwJ6muas.mjs";
|
|
7
|
+
import { t as renderOperation } from "./render-operation-iF7Wblv2.mjs";
|
|
8
8
|
//#region src/commands/operations/list.handler.ts
|
|
9
9
|
async function handleOperationsList(options, ctx) {
|
|
10
10
|
const result = await requireClient(ctx).operations.list({
|
|
@@ -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 requireClient } from "./context-
|
|
4
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
6
|
import { t as renderCredential } from "./render-credential-D-H1ECDt.mjs";
|
|
7
7
|
//#region src/commands/credentials/definitions/list.handler.ts
|
|
8
8
|
async function handleCredentialDefinitionsList(options, ctx) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { p as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
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-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
|
+
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-D01Gw8-M.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/invites/list.handler.ts
|
|
9
9
|
async function handleInvitesList(_options, ctx) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
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 } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.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) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-B5jy238v.mjs";
|
|
5
5
|
import { i as readProjectConfig } from "./project-config-DudGRFPO.mjs";
|
|
6
|
-
import { i as writeJson } from "./output-
|
|
6
|
+
import { i as writeJson } from "./output-BPydP5tG.mjs";
|
|
7
7
|
import { access } from "node:fs/promises";
|
|
8
8
|
import Table from "cli-table3";
|
|
9
9
|
//#region src/commands/projects/projects-list.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-BPydP5tG.mjs";
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.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-
|
|
21
|
+
loadHandler: async () => (await import("./listen.handler-CfRoaOwu.mjs")).handleListen
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
import { a as writeJsonError, i as writeJson } from "./output-
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
3
|
+
import { A as CliExitError, P as throwReportedCliExit, S as toErrorMessage, n as style, p as ui, t as ANSI } from "./keystroke.mjs";
|
|
4
|
+
import { a as writeJsonError, i as writeJson } from "./output-BPydP5tG.mjs";
|
|
5
|
+
import { i as requireClient } from "./context-Brc9VGV9.mjs";
|
|
6
6
|
import { n as sleep } from "./run-polling-1c0ckC1A.mjs";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
//#region src/lib/clipboard.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { t as createTypedCommand } from "./commander-
|
|
3
|
+
import { t as createTypedCommand } from "./commander-B_8QwPpe.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/logs/logs.command.ts
|
|
6
6
|
const LogsOptionsSchema = z.object({
|
|
@@ -44,13 +44,13 @@ function createLogsCommand() {
|
|
|
44
44
|
description: "Display recent CLI log entries",
|
|
45
45
|
schema: LogsOptionsSchema,
|
|
46
46
|
optionsConfig: LOGS_OPTIONS_CONFIG,
|
|
47
|
-
loadHandler: async () => (await import("./logs.handler-
|
|
47
|
+
loadHandler: async () => (await import("./logs.handler-BIqJ0FED.mjs")).handleLogs,
|
|
48
48
|
subcommands: [createTypedCommand({
|
|
49
49
|
name: "clear",
|
|
50
50
|
description: "Clear the CLI log file",
|
|
51
51
|
schema: z.object({}),
|
|
52
52
|
optionsConfig: {},
|
|
53
|
-
loadHandler: async () => (await import("./clear.handler-
|
|
53
|
+
loadHandler: async () => (await import("./clear.handler-DnjvgyMj.mjs")).handleLogsClear
|
|
54
54
|
})]
|
|
55
55
|
});
|
|
56
56
|
}
|