@keystrokehq/cli 0.0.11 → 0.0.13
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-DWuxmMuY.mjs → accept.handler-BU6kg8ET.mjs} +1 -1
- package/dist/{admin-BK4bFTTd.mjs → admin-B4GNbCl5.mjs} +9 -9
- package/dist/{agent-manifest-sJFbH5H8.mjs → agent-manifest-CZdlCTFs.mjs} +5 -5
- package/dist/{agents-DYnw2VPX.mjs → agents-LtoIcJGY.mjs} +6 -6
- package/dist/api-DuKKdCpF.mjs +246 -0
- package/dist/{api-keys-Dizx3YqE.mjs → api-keys-BE_hLonn.mjs} +5 -5
- package/dist/{auth-BqsKd4IA.mjs → auth-DNK5MYm4.mjs} +5 -5
- package/dist/{auth.handler-BsoWeCFD.mjs → auth.handler-DrjDODhZ.mjs} +1 -1
- package/dist/{build-agents-DfbiMZ_e-CgnKa9A6.mjs → build-agents-DseUtzd4-DIDGsZWL.mjs} +12 -13
- package/dist/{build-metadata-zidV9Cai-Bq37kBOM.mjs → build-metadata-qebrtraZ-D4SQNsBw.mjs} +19 -35
- package/dist/{build-progress-DigAP-BN.mjs → build-progress-CITED2tv.mjs} +1 -1
- package/dist/{build-tasks-O1jYtlv1-Bkw0w1r3.mjs → build-tasks-GVuMLS0h-DnS9QWzf.mjs} +4 -4
- package/dist/{build-workflows-3fdvdHHf-BDTy9QgT.mjs → build-workflows-Dmzay1vP-DKVuBAjD.mjs} +17 -18
- package/dist/{build.handler-B2UDhh72.mjs → build.handler-BZnLQt0_.mjs} +4 -4
- package/dist/{clear.handler-BR97yudD.mjs → clear.handler-B1c17nAi.mjs} +1 -1
- package/dist/{commander-DcftG6dX.mjs → commander-BwtBoukr.mjs} +2 -2
- package/dist/{common-B3bLe3Mk.mjs → common-BaGFkj3n.mjs} +2 -2
- package/dist/{connect-DQ4xIcyE.mjs → connect-IPcL37np.mjs} +12 -6
- package/dist/{connect.handler-CWSLgf87.mjs → connect.handler-ToY6qmMz.mjs} +74 -224
- package/dist/{context-1VgRbzr-.mjs → context-DQ4IA0yO.mjs} +1 -1
- package/dist/{create.handler-C2CkPWsy.mjs → create.handler-BAyG0PmG.mjs} +1 -1
- package/dist/credential-requirements-FtBk5JVB.mjs +250 -0
- package/dist/credentials-Bu1MBiCL.mjs +182 -0
- package/dist/{credentials-D8_AwH9o.mjs → credentials-CZiu-534.mjs} +12 -7
- package/dist/{current-deployment-workflow-B05z0EQa.mjs → current-deployment-workflow-zTmYbUjh.mjs} +5 -5
- package/dist/{current.handler-CuAtMZmm.mjs → current.handler-DA4FGfUP.mjs} +1 -1
- package/dist/{declared-credential-requirements-BtlcsEVn.mjs → declared-credential-requirements-B6h4WRv4.mjs} +5 -34
- package/dist/{delete.handler-DDY3X1Zm.mjs → delete.handler-CJcyvnUF.mjs} +1 -1
- package/dist/{deploy-B8TYutOi.mjs → deploy-BvaFgVvf.mjs} +1 -1
- package/dist/{deploy-Cn6FFnOM.mjs → deploy-DdMP-YaQ.mjs} +2 -2
- package/dist/{deploy-progress-XAfautnA.mjs → deploy-progress-CLO-yidq.mjs} +1 -1
- package/dist/{deploy.handler-D1DcAe-h.mjs → deploy.handler-Bag7rBG-.mjs} +16 -16
- package/dist/{detect-env-access-CwkOYeYM-D4o8gRZs.mjs → detect-env-access-CwkOYeYM-EmkYvbfJ.mjs} +1 -1
- package/dist/{diff.handler-BU6IewNG.mjs → diff.handler-Brgc-Ccl.mjs} +3 -3
- package/dist/{dist-DvO0q6Fo.mjs → dist-BMkNN03r.mjs} +16 -16
- package/dist/{env.handler-C6YAmHLi.mjs → env.handler-DFKzjIQT.mjs} +10 -7
- package/dist/{error-boundary-CpaVvFXk.mjs → error-boundary-B2ZKRkZI.mjs} +1 -1
- package/dist/{file-metadata-BvGM-B2v.mjs → file-metadata-Dwy9KKq_.mjs} +2 -2
- package/dist/{import-module-DDPnzlJ1-BIBSgOhK.mjs → import-module-DEI7R8Yh-Xz-KAPvB.mjs} +248 -246
- package/dist/{init-Da6_obl0.mjs → init-DhnABm3J.mjs} +2 -2
- package/dist/{init.handler-Cq2nk8DO.mjs → init.handler-QgehN8B4.mjs} +4 -4
- package/dist/{inspect.handler-D4YGryQB.mjs → inspect.handler-CMOFOb4G.mjs} +3 -3
- package/dist/{integration-catalog-DtNWaMvh.mjs → integration-catalog-BRrJIAVz.mjs} +5 -5
- package/dist/{integrations-CB_Ukq2g.mjs → integrations-7-U7nmkh.mjs} +7 -6
- package/dist/{invites-BOhuBtoq.mjs → invites-CmGmnUla.mjs} +4 -4
- package/dist/{invites.list.handler-C-Wv6E1g.mjs → invites.list.handler-CmkIf-uW.mjs} +1 -1
- package/dist/{invites.resend.handler-CI78XlQS.mjs → invites.resend.handler-FZl20yat.mjs} +1 -1
- package/dist/{invites.revoke.handler-DigAgNwB.mjs → invites.revoke.handler-D95mrfmB.mjs} +1 -1
- package/dist/keystroke.mjs +21 -21
- package/dist/{list-enrichment-Cxlq6BB9.mjs → list-enrichment-I4XQaMg0.mjs} +5 -1
- package/dist/{list.handler-OiLEylzS.mjs → list.handler-BrTW2viq.mjs} +1 -1
- package/dist/{list.handler-CsODcH6e.mjs → list.handler-Cp767f5l.mjs} +1 -1
- package/dist/{list.handler-BsyGhXns.mjs → list.handler-DRnHsEa0.mjs} +1 -1
- package/dist/{list.handler-B6IByHHB.mjs → list.handler-DXl8igi2.mjs} +13 -5
- package/dist/{list.handler-BpVNYShU.mjs → list.handler-DsYyTUhA.mjs} +1 -1
- package/dist/{list.handler--a1JEGSD.mjs → list.handler-H8aQSsFM.mjs} +3 -3
- package/dist/{list.handler-Dr9Ti-dt.mjs → list.handler-uzC77oIy.mjs} +3 -3
- package/dist/{listen-DUPk6cZC.mjs → listen-DckJq0y0.mjs} +2 -2
- package/dist/{listen.handler-B5WimrfF.mjs → listen.handler-Bf5MXKPO.mjs} +2 -2
- package/dist/{logs-C5_4lh3p.mjs → logs-D_l5BIn2.mjs} +3 -3
- package/dist/{logs.handler-CBHPwDuC.mjs → logs.handler-kYO3Uv9t.mjs} +2 -2
- package/dist/{members.add.handler-LcQJYBsu.mjs → members.add.handler-C2cppd-9.mjs} +1 -1
- package/dist/{members.invite.handler-p279O2aC.mjs → members.invite.handler-DY6kS4LN.mjs} +1 -1
- package/dist/{members.list.handler-Cjukjuot.mjs → members.list.handler-CFBG3SBw.mjs} +1 -1
- package/dist/{members.remove.handler-CzxPiQFv.mjs → members.remove.handler-LQ61_qip.mjs} +1 -1
- package/dist/{members.update.handler-CX5q86e3.mjs → members.update.handler-CqISA1mf.mjs} +1 -1
- package/dist/{normalize-path-CojS-CgQ-D_WTiHKw.mjs → normalize-path-CojS-CgQ-D5D0AIHR.mjs} +1 -1
- package/dist/{org-CnlKW-Hl.mjs → org-KQ2nD0yN.mjs} +15 -15
- package/dist/{orgs.create.handler-DRILhxdn.mjs → orgs.create.handler-Mv5CTGcG.mjs} +1 -1
- package/dist/{orgs.get.handler-Cue6stoX.mjs → orgs.get.handler-DvvOhshX.mjs} +1 -1
- package/dist/{orgs.list.handler-fuDLNI5X.mjs → orgs.list.handler-wWAg6cKg.mjs} +1 -1
- package/dist/{paused.handler-CuOVH4DZ.mjs → paused.handler-CbMkPD9e.mjs} +1 -1
- package/dist/{project-config-D9eFU8Jk.mjs → project-config-CJGSh2RQ.mjs} +4 -7
- package/dist/{projects-DN7dX6nN.mjs → projects-CWLOF5x4.mjs} +656 -3
- package/dist/{projects-DdgHbUpR.mjs → projects-CYqeKQGT.mjs} +4 -4
- package/dist/{requirements.handler-CX13XiXT.mjs → requirements.handler-CnDTBcH5.mjs} +5 -5
- package/dist/{resolve-project-C6UAOfAG.mjs → resolve-project-bVPMcs-y.mjs} +1 -1
- package/dist/{run-polling-1CTIeDea.mjs → run-polling-49w3PYAv.mjs} +3 -3
- package/dist/{run.handler-BxLH75WW.mjs → run.handler-Bma88649.mjs} +5 -5
- package/dist/{runs-lfE7r6i2.mjs → runs-HJejvQnQ.mjs} +2 -2
- package/dist/{schema-BgGlAs8a.mjs → schema-DFJiNWyd.mjs} +2 -1
- package/dist/schemas-DodkHgnS.mjs +280 -0
- package/dist/{skills-sync.handler-CntKndFm.mjs → skills-sync.handler-Cf74vKJA.mjs} +1 -1
- package/dist/{skills.command-X5zZwz2d.mjs → skills.command-KyAwBeST.mjs} +3 -3
- package/dist/{source-analysis-CHkWMC40.mjs → source-analysis-CJPymdaA.mjs} +1 -1
- package/dist/{source-analysis-DEEChuND-Csu0oOlw.mjs → source-analysis-DTnwNwKq-DoBxUDCg.mjs} +5 -5
- package/dist/{src--fCtOxNX.mjs → src-D-dFmoAF.mjs} +1 -1
- package/dist/{switch.handler-RaeKZ3ZB.mjs → switch.handler-DfsKVtR6.mjs} +1 -1
- package/dist/{sync-C89mJp7Y.mjs → sync-Bi2M_TUK.mjs} +2 -2
- package/dist/{sync.handler-BoAHHUQs.mjs → sync.handler-D6YFuVlq.mjs} +6 -6
- package/dist/{schedule-BWAI6qLx.mjs → task-BBgEvdG1.mjs} +395 -25
- package/dist/{task-target-build-D5IrHqSl.mjs → task-target-build-atWwwnSF.mjs} +8 -8
- package/dist/task-target-deploy-CRsrQTOy.mjs +4 -0
- package/dist/{task-target-deploy-Bf5i3ox1-2K0hAwzk.mjs → task-target-deploy-CZBGNC0H-BwPSfaJQ.mjs} +2 -2
- package/dist/task-target-deploy-runner.mjs +5 -5
- package/dist/{test-gPQJRkqa.mjs → test-Ctjy8mwC.mjs} +32 -144
- package/dist/{test.handler-B5GF5txS.mjs → test.handler-St9sBXyH.mjs} +1 -1
- package/dist/{trigger-artifacts-B3OCTX9K-ME6IVdUB.mjs → trigger-artifacts-RizI57RC-C-yCtEi-.mjs} +9 -9
- package/dist/{trigger-manifest-B3Gq1739.mjs → trigger-manifest-D5rnpPkA.mjs} +1 -1
- package/dist/{try-deploy.handler-dA_YGWRq.mjs → try-deploy.handler-BMcWQVST.mjs} +9 -9
- package/dist/{upgrade-xByIxaYu.mjs → upgrade-YavAf8AC.mjs} +2 -2
- package/dist/{upload.handler-BFDM6n_6.mjs → upload.handler-DemogvI1.mjs} +129 -18
- package/dist/{users.get.handler-CzaYM2bi.mjs → users.get.handler-B20PMSbl.mjs} +1 -1
- package/dist/{users.list.handler-CpOWwzBb.mjs → users.list.handler-BplFTjv3.mjs} +1 -1
- package/dist/{users.set-role.handler-BjiSNP2d.mjs → users.set-role.handler-wdmI6o3G.mjs} +1 -1
- package/dist/{utils-C_qCshBA.mjs → utils-DpEtybzI.mjs} +2 -2
- package/dist/{validate.handler-BtDSKAFY.mjs → validate.handler-DSAvNgns.mjs} +3 -3
- package/dist/{workflow-build-Z2_jkOsZ.mjs → workflow-build-Cmu1TOFu.mjs} +32 -32
- package/dist/{workflow-manifest-BfL74mjp.mjs → workflow-build-manifest-OPFqFD6f.mjs} +26 -28
- package/dist/{workflow-bundler-BzHk73PM-tt09RbIA.mjs → workflow-bundler-BzHk73PM-UJQa7Ubk.mjs} +2 -2
- package/dist/{workflows-V09d2r2H.mjs → workflows-DTlypo2t.mjs} +26 -27
- package/dist/{writer-CtvttJdP-DZJ0mZCm.mjs → writer-CtvttJdP-BfNsrheU.mjs} +5 -5
- package/package.json +11 -9
- package/dist/constants-BUgIAu2a.mjs +0 -8
- package/dist/credential-requirements-BCW8aQWS.mjs +0 -480
- package/dist/credentials-DAQfKqn0.mjs +0 -152025
- package/dist/get-intrinsic-BjqiGgLt.mjs +0 -658
- package/dist/hosted-action-dispatcher-registry-BWEtn13o.mjs +0 -126
- package/dist/schema-B-Wgo4rJ.mjs +0 -81
- package/dist/schemas-9FmGqrPT.mjs +0 -42
- package/dist/task-1qz1XNq7.mjs +0 -96
- package/dist/task-target-deploy-Bzfftyru.mjs +0 -4
- /package/dist/{agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs → agent-bundle-package-DWV6B_5q-cB76j6UL.mjs} +0 -0
- /package/dist/{browser-CvuyMLhI.mjs → browser-B4K0VW8p.mjs} +0 -0
- /package/dist/{clear-cache.handler-D-wboLB6.mjs → clear-cache.handler-Dywqc7TG.mjs} +0 -0
- /package/dist/{clear.handler-BC6pz0x-.mjs → clear.handler-ui4e1CnJ.mjs} +0 -0
- /package/dist/{concurrency-gXn9Rw8x-CnBnF2cg.mjs → concurrency-gXn9Rw8x-CaI6Vtbu.mjs} +0 -0
- /package/dist/{credential-env-map-C23GV6LN.mjs → credential-env-map-D0zgoUl0.mjs} +0 -0
- /package/dist/{credential-schema-mismatch-DM9Y91jL.mjs → credential-schema-mismatch-8pqwvswO.mjs} +0 -0
- /package/dist/{diff-utils-AATn2n56.mjs → diff-utils-BoXI705D.mjs} +0 -0
- /package/dist/{layout-CXkZEsXI.mjs → layout-DRf9qUf8.mjs} +0 -0
- /package/dist/{logs.handler-ClIIOeQB.mjs → logs.handler-DxSKmDCq.mjs} +0 -0
- /package/dist/{metadata-layout-C6ed-9dl-C6Bylr_z.mjs → metadata-layout-C6ed-9dl-EF5pCtIH.mjs} +0 -0
- /package/dist/{options-CIVqkc8V.mjs → options-DFPs-tAB.mjs} +0 -0
- /package/dist/{oxc-B3KI3rf_-ghZc3xZ5.mjs → oxc-B3KI3rf_-CHDUXsus.mjs} +0 -0
- /package/dist/{read-credential-keys-77a91T8M-B0eiobOd.mjs → read-credential-keys-77a91T8M-CzXPGxdU.mjs} +0 -0
- /package/dist/{register.handler-CpP_KB2u.mjs → register.handler-D7ZZAnGP.mjs} +0 -0
- /package/dist/{rolldown-runtime-twds-ZHy-RuJszab7.mjs → rolldown-runtime-twds-ZHy-3DMm_Sby.mjs} +0 -0
- /package/dist/{run-polling-DDpkIvwy.mjs → run-polling-Cb4ssXIE.mjs} +0 -0
- /package/dist/{schema-display-DuWBmkwk.mjs → schema-display-CyCWSgfY.mjs} +0 -0
- /package/dist/{skills.handler-CofL4oKs.mjs → skills.handler-C_4VzVmc.mjs} +0 -0
- /package/dist/{spinner-progress-Bt8zXPOc.mjs → spinner-progress-CS1BEdNB.mjs} +0 -0
- /package/dist/{status.handler-6cuHa0R0.mjs → status.handler-Cm9aNUBn.mjs} +0 -0
- /package/dist/{sync-keystroke-agent-skills-D746f2W_.mjs → sync-keystroke-agent-skills-CX9fS5nQ.mjs} +0 -0
- /package/dist/{upgrade.handler-DhKeyCy5.mjs → upgrade.handler-C2eZ_tg3.mjs} +0 -0
- /package/dist/{upload-C1qFWMm0.mjs → upload-C0kaZu08.mjs} +0 -0
|
@@ -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-BwtBoukr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/init/init.command.ts
|
|
6
6
|
const InitOptionsSchema = z.object({
|
|
@@ -33,7 +33,7 @@ function createInitCommand() {
|
|
|
33
33
|
description: "Initialize a Keystroke project (creates keystroke.config.ts)",
|
|
34
34
|
schema: InitOptionsSchema,
|
|
35
35
|
optionsConfig: INIT_OPTIONS_CONFIG,
|
|
36
|
-
loadHandler: async () => (await import("./init.handler-
|
|
36
|
+
loadHandler: async () => (await import("./init.handler-QgehN8B4.mjs")).handleInit
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
//#endregion
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
import { k as CliExitError, n as ui, t as fetchLatestNpmPackageVersion } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
|
-
import { a as writeProjectConfig, i as readProjectConfig, r as getProjectConfigPath } from "./project-config-
|
|
6
|
-
import { i as requireClient } from "./context-
|
|
7
|
-
import { t as syncKeystrokeAgentSkills } from "./sync-keystroke-agent-skills-
|
|
5
|
+
import { a as writeProjectConfig, i as readProjectConfig, r as getProjectConfigPath } from "./project-config-CJGSh2RQ.mjs";
|
|
6
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
7
|
+
import { t as syncKeystrokeAgentSkills } from "./sync-keystroke-agent-skills-CX9fS5nQ.mjs";
|
|
8
8
|
import { createRequire } from "node:module";
|
|
9
9
|
import { readFileSync } from "node:fs";
|
|
10
10
|
import { access, mkdir, readFile, writeFile } from "node:fs/promises";
|
|
@@ -273,7 +273,7 @@ function createTsconfigContent() {
|
|
|
273
273
|
*/
|
|
274
274
|
function createVitestConfigContent() {
|
|
275
275
|
return `import { defineConfig } from 'vitest/config';
|
|
276
|
-
import { keystrokeTestPlugin } from '@keystrokehq/
|
|
276
|
+
import { keystrokeTestPlugin } from '@keystrokehq/testing/vitest';
|
|
277
277
|
|
|
278
278
|
export default defineConfig({
|
|
279
279
|
plugins: [keystrokeTestPlugin()],
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { N as throwReportedCliExit, f as ANSI, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
6
|
-
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-
|
|
7
|
-
import { i as resolveTypeHint } from "./schema-display-
|
|
8
|
-
import { n as resolveLocalWorkflowManifest, r as resolveProjectContext, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
6
|
+
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DQ4IA0yO.mjs";
|
|
7
|
+
import { i as resolveTypeHint } from "./schema-display-CyCWSgfY.mjs";
|
|
8
|
+
import { n as resolveLocalWorkflowManifest, r as resolveProjectContext, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-zTmYbUjh.mjs";
|
|
9
9
|
import dayjs from "dayjs";
|
|
10
10
|
//#region src/commands/workflows/inspect/inspect-display.ts
|
|
11
11
|
function formatBuildTimestamp(iso) {
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
import { N as throwReportedCliExit, b as isNetworkError, g as REAUTH_HINT, k as CliExitError, n as ui, x as toErrorMessage, y as isAuthError } from "./keystroke.mjs";
|
|
4
4
|
import { a as writeJsonError } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
//#region src/lib/integration-catalog.ts
|
|
7
7
|
const catalogCache = /* @__PURE__ */ new WeakMap();
|
|
8
8
|
function buildView(entries) {
|
|
9
9
|
const byPublicId = /* @__PURE__ */ new Map();
|
|
10
|
-
const
|
|
10
|
+
const byCredentialDefinitionId = /* @__PURE__ */ new Map();
|
|
11
11
|
const oauthPublicIds = [];
|
|
12
12
|
for (const entry of entries) {
|
|
13
13
|
for (const alias of entry.aliases) byPublicId.set(alias.toLowerCase(), entry);
|
|
14
14
|
byPublicId.set(entry.publicId.toLowerCase(), entry);
|
|
15
|
-
|
|
15
|
+
byCredentialDefinitionId.set(entry.credentialSet.credentialDefinitionId, {
|
|
16
16
|
label: entry.name,
|
|
17
17
|
integrationPublicId: entry.publicId,
|
|
18
18
|
role: "connection",
|
|
19
19
|
connectionKind: entry.connectionKind
|
|
20
20
|
});
|
|
21
|
-
for (const internal of entry.internalCredentialSets)
|
|
21
|
+
for (const internal of entry.internalCredentialSets) byCredentialDefinitionId.set(internal.credentialDefinitionId, {
|
|
22
22
|
label: internal.displayName,
|
|
23
23
|
integrationPublicId: entry.publicId,
|
|
24
24
|
role: internal.role
|
|
@@ -32,7 +32,7 @@ function buildView(entries) {
|
|
|
32
32
|
return {
|
|
33
33
|
integrations: entries,
|
|
34
34
|
byPublicId,
|
|
35
|
-
|
|
35
|
+
byCredentialDefinitionId,
|
|
36
36
|
oauthPublicIds,
|
|
37
37
|
lookupByPublicId
|
|
38
38
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-CGdYhH0p.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-BwtBoukr.mjs";
|
|
5
|
+
import { t as ConnectionKindValues } from "./api-DuKKdCpF.mjs";
|
|
5
6
|
import { z } from "zod";
|
|
6
7
|
//#region src/commands/integrations/integrations.command.ts
|
|
7
8
|
const IntegrationsListOptionsSchema = JsonOptionSchema.extend({
|
|
8
|
-
kind: z.enum(
|
|
9
|
+
kind: z.enum(ConnectionKindValues).optional(),
|
|
9
10
|
search: z.string().optional(),
|
|
10
11
|
connected: z.boolean().optional()
|
|
11
12
|
});
|
|
@@ -13,7 +14,7 @@ const INTEGRATIONS_LIST_OPTIONS_CONFIG = {
|
|
|
13
14
|
...JSON_OPTION_CONFIG,
|
|
14
15
|
kind: {
|
|
15
16
|
flag: "--kind <kind>",
|
|
16
|
-
description:
|
|
17
|
+
description: `Filter by connection kind: ${ConnectionKindValues.join(" | ")}`
|
|
17
18
|
},
|
|
18
19
|
search: {
|
|
19
20
|
flag: "--search <query>",
|
|
@@ -46,20 +47,20 @@ function createIntegrationsCommand() {
|
|
|
46
47
|
description: "List Keystroke integrations available to your organization",
|
|
47
48
|
schema: IntegrationsListOptionsSchema,
|
|
48
49
|
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
49
|
-
loadHandler: async () => (await import("./list.handler
|
|
50
|
+
loadHandler: async () => (await import("./list.handler-H8aQSsFM.mjs")).handleIntegrationsList,
|
|
50
51
|
subcommands: [createTypedCommand({
|
|
51
52
|
name: "list",
|
|
52
53
|
description: "List Keystroke integrations available to your organization",
|
|
53
54
|
schema: IntegrationsListOptionsSchema,
|
|
54
55
|
optionsConfig: INTEGRATIONS_LIST_OPTIONS_CONFIG,
|
|
55
|
-
loadHandler: async () => (await import("./list.handler
|
|
56
|
+
loadHandler: async () => (await import("./list.handler-H8aQSsFM.mjs")).handleIntegrationsList
|
|
56
57
|
}), createTypedCommand({
|
|
57
58
|
name: "register",
|
|
58
59
|
description: "Register a workspace provider app for future workspace-authored OAuth support",
|
|
59
60
|
schema: IntegrationsRegisterOptionsSchema,
|
|
60
61
|
optionsConfig: INTEGRATIONS_REGISTER_OPTIONS_CONFIG,
|
|
61
62
|
handler: async (opts, ctx) => {
|
|
62
|
-
const { handleIntegrationsRegister } = await import("./register.handler-
|
|
63
|
+
const { handleIntegrationsRegister } = await import("./register.handler-D7ZZAnGP.mjs");
|
|
63
64
|
await handleIntegrationsRegister({
|
|
64
65
|
integrationId: opts.integrationId,
|
|
65
66
|
clientAppCredentialSetId: opts.clientApp,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-CGdYhH0p.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-BwtBoukr.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-DRnHsEa0.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-DRnHsEa0.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-BU6kg8ET.mjs")).handleInvitesAccept
|
|
40
40
|
})]
|
|
41
41
|
});
|
|
42
42
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/org/invites.list.handler.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
//#region src/commands/org/invites.resend.handler.ts
|
|
8
8
|
async function handleOrgInvitesResend(options, ctx) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
//#region src/commands/org/invites.revoke.handler.ts
|
|
8
8
|
async function handleOrgInvitesRevoke(options, ctx) {
|
package/dist/keystroke.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import { config } from "dotenv";
|
|
|
13
13
|
import { z } from "zod";
|
|
14
14
|
import { log } from "@clack/prompts";
|
|
15
15
|
//#region package.json
|
|
16
|
-
var version = "0.0.
|
|
16
|
+
var version = "0.0.13";
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/command-registry.ts
|
|
19
19
|
const ROOT_OPTIONS_WITH_VALUES$1 = new Set([
|
|
@@ -25,84 +25,84 @@ const ROOT_VERSION_FLAGS = new Set(["-V", "--version"]);
|
|
|
25
25
|
const lazyCommandDefinitions = [
|
|
26
26
|
{
|
|
27
27
|
name: "agents",
|
|
28
|
-
loadCommand: async () => (await import("./agents-
|
|
28
|
+
loadCommand: async () => (await import("./agents-LtoIcJGY.mjs")).createAgentsCommand()
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
name: "admin",
|
|
32
|
-
loadCommand: async () => (await import("./admin-
|
|
32
|
+
loadCommand: async () => (await import("./admin-B4GNbCl5.mjs")).createAdminCommand()
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
name: "api-keys",
|
|
36
|
-
loadCommand: async () => (await import("./api-keys-
|
|
36
|
+
loadCommand: async () => (await import("./api-keys-BE_hLonn.mjs")).createApiKeysCommand()
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
name: "auth",
|
|
40
|
-
loadCommand: async () => (await import("./auth-
|
|
40
|
+
loadCommand: async () => (await import("./auth-DNK5MYm4.mjs")).createAuthCommand()
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
name: "connect",
|
|
44
|
-
loadCommand: async () => (await import("./connect-
|
|
44
|
+
loadCommand: async () => (await import("./connect-IPcL37np.mjs")).createConnectCommand()
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
name: "credentials",
|
|
48
|
-
loadCommand: async () => (await import("./credentials-
|
|
48
|
+
loadCommand: async () => (await import("./credentials-CZiu-534.mjs")).createCredentialsCommand(),
|
|
49
49
|
copyInheritedSettings: true
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
name: "org",
|
|
53
|
-
loadCommand: async () => (await import("./org-
|
|
53
|
+
loadCommand: async () => (await import("./org-KQ2nD0yN.mjs")).createOrgCommand()
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
name: "deploy",
|
|
57
|
-
loadCommand: async () => (await import("./deploy-
|
|
57
|
+
loadCommand: async () => (await import("./deploy-DdMP-YaQ.mjs")).createDeployCommand()
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
name: "init",
|
|
61
|
-
loadCommand: async () => (await import("./init-
|
|
61
|
+
loadCommand: async () => (await import("./init-DhnABm3J.mjs")).createInitCommand()
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
name: "integrations",
|
|
65
|
-
loadCommand: async () => (await import("./integrations-
|
|
65
|
+
loadCommand: async () => (await import("./integrations-7-U7nmkh.mjs")).createIntegrationsCommand()
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
name: "invites",
|
|
69
|
-
loadCommand: async () => (await import("./invites-
|
|
69
|
+
loadCommand: async () => (await import("./invites-CmGmnUla.mjs")).createInvitesCommand()
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
name: "logs",
|
|
73
|
-
loadCommand: async () => (await import("./logs-
|
|
73
|
+
loadCommand: async () => (await import("./logs-D_l5BIn2.mjs")).createLogsCommand()
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
name: "listen",
|
|
77
|
-
loadCommand: async () => (await import("./listen-
|
|
77
|
+
loadCommand: async () => (await import("./listen-DckJq0y0.mjs")).createListenCommand()
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
name: "projects",
|
|
81
|
-
loadCommand: async () => (await import("./projects-
|
|
81
|
+
loadCommand: async () => (await import("./projects-CYqeKQGT.mjs")).createProjectsCommand()
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
name: "runs",
|
|
85
|
-
loadCommand: async () => (await import("./runs-
|
|
85
|
+
loadCommand: async () => (await import("./runs-HJejvQnQ.mjs")).createRunsCommand()
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
name: "skills",
|
|
89
|
-
loadCommand: async () => (await import("./skills.command-
|
|
89
|
+
loadCommand: async () => (await import("./skills.command-KyAwBeST.mjs")).createSkillsCommand()
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
name: "sync",
|
|
93
|
-
loadCommand: async () => (await import("./sync-
|
|
93
|
+
loadCommand: async () => (await import("./sync-Bi2M_TUK.mjs")).createSyncCommand()
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
name: "test",
|
|
97
|
-
loadCommand: async () => (await import("./test-
|
|
97
|
+
loadCommand: async () => (await import("./test-Ctjy8mwC.mjs")).createTestCommand()
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
name: "upgrade",
|
|
101
|
-
loadCommand: async () => (await import("./upgrade-
|
|
101
|
+
loadCommand: async () => (await import("./upgrade-YavAf8AC.mjs")).createUpgradeCommand()
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
name: "workflows",
|
|
105
|
-
loadCommand: async () => (await import("./workflows-
|
|
105
|
+
loadCommand: async () => (await import("./workflows-DTlypo2t.mjs")).createWorkflowsCommand()
|
|
106
106
|
}
|
|
107
107
|
];
|
|
108
108
|
function selectCommandRegistration(argv, commandNames = new Set(lazyCommandDefinitions.map((definition) => definition.name))) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { f as ANSI, n as ui, p as style } from "./keystroke.mjs";
|
|
4
|
-
import { n as resolveCredentialValuesFromEnv, t as groupCredentialRequirements } from "./credentials-
|
|
4
|
+
import { n as resolveCredentialValuesFromEnv, t as groupCredentialRequirements } from "./credentials-Bu1MBiCL.mjs";
|
|
5
5
|
import { readFile } from "node:fs/promises";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { parse } from "dotenv";
|
|
@@ -47,6 +47,10 @@ function renderCredentialListBlocks(rows, formatCreated, footer) {
|
|
|
47
47
|
if (r.isDefault === true) parts.push(style("default", ANSI.green));
|
|
48
48
|
ui.text(parts.join(` ${style("·", ANSI.dim)} `));
|
|
49
49
|
if (r.name !== "—") ui.text(`${indent}${dimLabel("Name")}${r.name}`);
|
|
50
|
+
if (r.credentialConnectionId) {
|
|
51
|
+
const status = r.connectionStatus ? ` ${style("·", ANSI.dim)} ${r.connectionStatus}` : "";
|
|
52
|
+
ui.text(`${indent}${dimLabel("Connection")}${r.credentialConnectionId}${status}`);
|
|
53
|
+
}
|
|
50
54
|
const proj = shortCredProjectLabel(r.projectId);
|
|
51
55
|
const scopeRest = proj === "—" ? "" : ` ${style("·", ANSI.dim)} Cred project ${proj}`;
|
|
52
56
|
ui.text(`${indent}${dimLabel("Scope")}${r.scope}${scopeRest}`);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { f as ANSI, n as ui, p as style } from "./keystroke.mjs";
|
|
4
4
|
import { s as readStoredProjects } from "./dist-BF6r1hfv.mjs";
|
|
5
|
-
import { i as readProjectConfig } from "./project-config-
|
|
5
|
+
import { i as readProjectConfig } from "./project-config-CJGSh2RQ.mjs";
|
|
6
6
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
7
7
|
import { access } from "node:fs/promises";
|
|
8
8
|
import Table from "cli-table3";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { N as throwReportedCliExit, f as ANSI, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.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) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
import { n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/invites/list.handler.ts
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
import { N as throwReportedCliExit, a as getProcessEnv, n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
7
|
-
import { n as resolveWorkflowsDir } from "./resolve-project-
|
|
8
|
-
import { t as readCredentialEnvMap } from "./credential-env-map-
|
|
9
|
-
import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
|
+
import { a as readManifestsFromOutDir } from "./dist-BMkNN03r.mjs";
|
|
7
|
+
import { n as resolveWorkflowsDir } from "./resolve-project-bVPMcs-y.mjs";
|
|
8
|
+
import { t as readCredentialEnvMap } from "./credential-env-map-D0zgoUl0.mjs";
|
|
9
|
+
import { a as loadProjectDotenvFile, i as enrichServerCredentialRow, l as renderCredentialListBlocks, n as buildSyntheticNotOnServerRows, r as collectMergedManifestGroups, t as buildCredentialWorkflowConsumersByGroup } from "./list-enrichment-I4XQaMg0.mjs";
|
|
10
10
|
import dayjs from "dayjs";
|
|
11
11
|
//#region src/commands/credentials/list/fetch-all-credential-sets.ts
|
|
12
12
|
/**
|
|
@@ -90,10 +90,12 @@ async function handleCredentialsList(options, ctx) {
|
|
|
90
90
|
source: "server",
|
|
91
91
|
id: cs.id,
|
|
92
92
|
credentialSetId: cs.credentialSetId,
|
|
93
|
+
credentialConnectionId: cs.credentialConnectionId,
|
|
93
94
|
name: cs.name,
|
|
94
95
|
scope: cs.scope,
|
|
95
96
|
projectId: cs.projectId,
|
|
96
97
|
isDefault: cs.isDefault,
|
|
98
|
+
connectionStatus: cs.connectionStatus,
|
|
97
99
|
createdAt: cs.createdAt,
|
|
98
100
|
updatedAt: cs.updatedAt,
|
|
99
101
|
workflows,
|
|
@@ -110,10 +112,12 @@ async function handleCredentialsList(options, ctx) {
|
|
|
110
112
|
source: "manifest",
|
|
111
113
|
id: null,
|
|
112
114
|
credentialSetId: row.credentialSetId,
|
|
115
|
+
credentialConnectionId: null,
|
|
113
116
|
name: null,
|
|
114
117
|
scope: row.scope,
|
|
115
118
|
projectId: null,
|
|
116
119
|
isDefault: null,
|
|
120
|
+
connectionStatus: null,
|
|
117
121
|
createdAt: null,
|
|
118
122
|
updatedAt: null,
|
|
119
123
|
workflows: row.workflows,
|
|
@@ -139,12 +143,14 @@ async function handleCredentialsList(options, ctx) {
|
|
|
139
143
|
if (where === "unknown") hasUnknownWhere = true;
|
|
140
144
|
displayRows.push({
|
|
141
145
|
credentialSetId: cs.credentialSetId,
|
|
146
|
+
credentialConnectionId: cs.credentialConnectionId,
|
|
142
147
|
name: cs.name,
|
|
143
148
|
scope: cs.scope,
|
|
144
149
|
projectId: cs.projectId ?? "—",
|
|
145
150
|
workflows,
|
|
146
151
|
where,
|
|
147
152
|
isDefault: cs.isDefault,
|
|
153
|
+
connectionStatus: cs.connectionStatus,
|
|
148
154
|
createdAt: cs.createdAt
|
|
149
155
|
});
|
|
150
156
|
}
|
|
@@ -159,12 +165,14 @@ async function handleCredentialsList(options, ctx) {
|
|
|
159
165
|
if (row.where === "unknown") hasUnknownWhere = true;
|
|
160
166
|
displayRows.push({
|
|
161
167
|
credentialSetId: row.credentialSetId,
|
|
168
|
+
credentialConnectionId: null,
|
|
162
169
|
name: "—",
|
|
163
170
|
scope: row.scope,
|
|
164
171
|
projectId: "—",
|
|
165
172
|
workflows: row.workflows,
|
|
166
173
|
where: row.where,
|
|
167
174
|
isDefault: null,
|
|
175
|
+
connectionStatus: null,
|
|
168
176
|
createdAt: null
|
|
169
177
|
});
|
|
170
178
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
|
-
import { i as requireClient } from "./context-
|
|
4
|
+
import { i as requireClient } from "./context-DQ4IA0yO.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();
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { b as isNetworkError, f as ANSI, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { t as getIntegrationCatalog } from "./integration-catalog-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
|
+
import { t as getIntegrationCatalog } from "./integration-catalog-BRrJIAVz.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/integrations/list.handler.ts
|
|
9
9
|
function summarizeConnections(entry, connections) {
|
|
@@ -61,7 +61,7 @@ async function handleIntegrationsList(options, ctx) {
|
|
|
61
61
|
if (ctx.jsonMode) {
|
|
62
62
|
writeJson(entries.map((entry) => ({
|
|
63
63
|
...entry,
|
|
64
|
-
|
|
64
|
+
orgConnections: connections.filter((c) => c.integrationPublicId === entry.publicId)
|
|
65
65
|
})));
|
|
66
66
|
return;
|
|
67
67
|
}
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { N as throwReportedCliExit, f as ANSI, n as ui, p as style } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
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-
|
|
6
|
+
import { t as requireWorkflowsDir } from "./resolve-project-bVPMcs-y.mjs";
|
|
7
|
+
import { t as createSpinnerProgress } from "./spinner-progress-CS1BEdNB.mjs";
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Cmu1TOFu.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}`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-CGdYhH0p.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-BwtBoukr.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-Bf5MXKPO.mjs")).handleListen
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { N as throwReportedCliExit, f as ANSI, k as CliExitError, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { a as writeJsonError, i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as sleep } from "./run-polling-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
|
+
import { n as sleep } from "./run-polling-Cb4ssXIE.mjs";
|
|
7
7
|
import { spawn } from "node:child_process";
|
|
8
8
|
//#region src/lib/clipboard.ts
|
|
9
9
|
function getClipboardCommands() {
|
|
@@ -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-BwtBoukr.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/logs/logs.command.ts
|
|
6
6
|
const LogsOptionsSchema = z.object({ count: z.coerce.number().int().min(1).max(1e3).default(100).describe("Number of log entries to display") });
|
|
@@ -14,13 +14,13 @@ function createLogsCommand() {
|
|
|
14
14
|
description: "Display recent CLI log entries",
|
|
15
15
|
schema: LogsOptionsSchema,
|
|
16
16
|
optionsConfig: LOGS_OPTIONS_CONFIG,
|
|
17
|
-
loadHandler: async () => (await import("./logs.handler-
|
|
17
|
+
loadHandler: async () => (await import("./logs.handler-DxSKmDCq.mjs")).handleLogs,
|
|
18
18
|
subcommands: [createTypedCommand({
|
|
19
19
|
name: "clear",
|
|
20
20
|
description: "Delete the CLI log file",
|
|
21
21
|
schema: z.object({}),
|
|
22
22
|
optionsConfig: {},
|
|
23
|
-
loadHandler: async () => (await import("./clear.handler-
|
|
23
|
+
loadHandler: async () => (await import("./clear.handler-ui4e1CnJ.mjs")).handleLogsClear
|
|
24
24
|
})]
|
|
25
25
|
});
|
|
26
26
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
import { N as throwReportedCliExit, f as ANSI, n as ui, p as style, x as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
6
|
-
import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
|
+
import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-Cb4ssXIE.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) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
//#region src/commands/org/members.add.handler.ts
|
|
8
8
|
async function handleMembersAdd(options, ctx) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
//#region src/commands/org/members.invite.handler.ts
|
|
8
8
|
async function handleMembersInvite(options, ctx) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
import Table from "cli-table3";
|
|
8
8
|
//#region src/commands/org/members.list.handler.ts
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
//#region src/commands/org/members.remove.handler.ts
|
|
8
8
|
async function handleMembersRemove(options, ctx) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as ui } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-CGdYhH0p.mjs";
|
|
5
|
-
import { i as requireClient } from "./context-
|
|
5
|
+
import { i as requireClient } from "./context-DQ4IA0yO.mjs";
|
|
6
6
|
import { i as requireOrganizationId, n as isIamJsonMode, r as requireConfirmation, t as handleIamError } from "./iam-command-utils-ByLX0A-V.mjs";
|
|
7
7
|
//#region src/commands/org/members.update.handler.ts
|
|
8
8
|
async function handleMembersUpdate(options, ctx) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { r as RelativeFilePathSchema } from "./file-metadata-
|
|
3
|
+
import { r as RelativeFilePathSchema } from "./file-metadata-Dwy9KKq_.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) {
|