@keystrokehq/cli 0.0.8 → 0.0.9
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/{admin-Bhm7VkGG.mjs → admin-Dga-_lDF.mjs} +1 -1
- package/dist/{agents-DYP6fmGE.mjs → agents-DII_JbCa.mjs} +2 -2
- package/dist/{api-keys-CC5yevJn.mjs → api-keys-DeTqHzI4.mjs} +1 -1
- package/dist/{auth-KRUcoMkk.mjs → auth-C0fuZ0_P.mjs} +1 -1
- package/dist/{build-agents-DfbiMZ_e-CLHxZKOg.mjs → build-agents-DfbiMZ_e-CgnKa9A6.mjs} +2 -2
- package/dist/{build-tasks-O1jYtlv1-Cr7vs_B_.mjs → build-tasks-O1jYtlv1-Bkw0w1r3.mjs} +2 -2
- package/dist/{build-workflows-3fdvdHHf-DnDmsKuG.mjs → build-workflows-3fdvdHHf-BDTy9QgT.mjs} +2 -2
- package/dist/{build.handler-CXqfqwho.mjs → build.handler-D15NjKkT.mjs} +1 -1
- package/dist/{commander-Wr7RrODw.mjs → commander-B6_tg5_w.mjs} +9 -9
- package/dist/{connect-CbzAP3Zo.mjs → connect-D9PVABIW.mjs} +1 -1
- package/dist/{credentials-BpfWiGuG.mjs → credentials-BW-v9xVQ.mjs} +1 -1
- package/dist/{current-deployment-workflow-C5oiOVsx.mjs → current-deployment-workflow-j5DlVkb2.mjs} +1 -1
- package/dist/{deploy-B7BCgf_y.mjs → deploy-BU04ehfM.mjs} +2 -2
- package/dist/{deploy.handler-BLp-JNV2.mjs → deploy.handler-CbYYyVOg.mjs} +6 -6
- package/dist/{diff.handler-zVbHzE1Q.mjs → diff.handler-Dtjc7Y4O.mjs} +1 -1
- package/dist/{init-DwVARQud.mjs → init-BITuemMR.mjs} +1 -1
- package/dist/{inspect.handler-CcyFNUJP.mjs → inspect.handler-Buv68Vm9.mjs} +1 -1
- package/dist/{integrations-DCMkBcjI.mjs → integrations-Dib-OfdN.mjs} +1 -1
- package/dist/{invites-DpJjZznC.mjs → invites-CJtInw9Q.mjs} +1 -1
- package/dist/keystroke.mjs +21 -21
- package/dist/{list.handler-Val6EmGK.mjs → list.handler-Bi28Gsee.mjs} +1 -1
- package/dist/{listen-C_YrC5Go.mjs → listen-_GvXm7iI.mjs} +1 -1
- package/dist/{logs-C1f6RjQ7.mjs → logs-De7ITMv1.mjs} +1 -1
- package/dist/{org-8Dsab2dz.mjs → org-DLY5V_Uw.mjs} +1 -1
- package/dist/{projects-CZbAqlPQ.mjs → projects-lN-4ZR9Q.mjs} +1 -1
- package/dist/{try-deploy.handler-BCvwi1jc.mjs → run-polling-BLT-uS2e.mjs} +86 -185
- package/dist/run.handler-B5NodlNi.mjs +136 -0
- package/dist/{runs-C7uqumfa.mjs → runs-BfgL8BR_.mjs} +1 -1
- package/dist/{skills.command-23jSicQp.mjs → skills.command-z-sOQpkN.mjs} +1 -1
- package/dist/{sync-Pzb3od7n.mjs → sync-CIibxcUe.mjs} +2 -2
- package/dist/{sync.handler-bEzSgeTW.mjs → sync.handler-D2cY3bia.mjs} +1 -1
- package/dist/{task-target-build-BA67W_6d.mjs → task-target-build-D5IrHqSl.mjs} +3 -3
- package/dist/task-target-deploy-runner.mjs +4 -4
- package/dist/{test-B4uana86.mjs → test-Dsx4cRnE.mjs} +5 -4
- package/dist/{trigger-artifacts-B3OCTX9K-37Ca-ELC.mjs → trigger-artifacts-B3OCTX9K-ME6IVdUB.mjs} +2 -2
- package/dist/try-deploy.handler-Lq69ON02.mjs +169 -0
- package/dist/{upgrade-Bp9gnslY.mjs → upgrade-DQrHCNR8.mjs} +2 -2
- package/dist/{validate.handler-BiToUknO.mjs → validate.handler-BUga7Umz.mjs} +1 -1
- package/dist/{workflow-build-KCdasPyU.mjs → workflow-build-Be6RMTb2.mjs} +5 -5
- package/dist/{workflow-bundler-BzHk73PM-C1NWDEju.mjs → workflow-bundler-BzHk73PM-tt09RbIA.mjs} +1 -1
- package/dist/{workflows-Bhd_vuCI.mjs → workflows-Cdo-AgjV.mjs} +106 -11
- package/package.json +4 -4
- /package/dist/{build-metadata-zidV9Cai-BNC_-zub.mjs → build-metadata-zidV9Cai-Bq37kBOM.mjs} +0 -0
- /package/dist/{deploy-CHfWGM32.mjs → deploy-B8TYutOi.mjs} +0 -0
- /package/dist/{detect-env-access-CwkOYeYM-KtEle6I3.mjs → detect-env-access-CwkOYeYM-D4o8gRZs.mjs} +0 -0
- /package/dist/{env.handler-CqfOZEou.mjs → env.handler-DbxnyBYf.mjs} +0 -0
- /package/dist/{logs.handler-BNFUmakA.mjs → logs.handler-COtiXeqn.mjs} +0 -0
- /package/dist/{paused.handler-wgaf8sse.mjs → paused.handler-BX_71fzx.mjs} +0 -0
- /package/dist/{read-credential-keys-77a91T8M-DMmY6oDW.mjs → read-credential-keys-77a91T8M-B0eiobOd.mjs} +0 -0
- /package/dist/{task-target-deploy-DqX7bJ55.mjs → task-target-deploy-Bzfftyru.mjs} +0 -0
- /package/dist/{upgrade.handler-D82k9CHa.mjs → upgrade.handler-B0NxKINA.mjs} +0 -0
|
@@ -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-BCDZb3Gy.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
5
5
|
import { t as OrgRoleSchema } from "./schema-_FQrHcIS.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/admin/orgs.command.ts
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
import { M as throwReportedCliExit, b as toErrorMessage, d as ANSI, f as style, t as ui } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
5
|
import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BCDZb3Gy.mjs";
|
|
6
|
-
import { t as createTypedCommand } from "./commander-
|
|
6
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
7
7
|
import { i as readAgentManifestsFromOutDir } from "./dist-DvO0q6Fo.mjs";
|
|
8
8
|
import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
|
|
9
9
|
import { t as createSpinnerProgress } from "./spinner-progress-BB2EHL-l.mjs";
|
|
10
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
10
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Be6RMTb2.mjs";
|
|
11
11
|
import { i as resolveTypeHint } from "./schema-display-DuWBmkwk.mjs";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
//#region src/commands/agents/inspect-display.ts
|
|
@@ -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-BCDZb3Gy.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/api-keys/api-keys.command.ts
|
|
7
7
|
const ApiKeysCreateOptionsSchema = JsonOptionSchema.extend({ name: z.string().optional() });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { n as DEFAULT_CLI_WEB_URL } from "./default-urls-BS4twrsS.mjs";
|
|
4
4
|
import { x as AUTH_TIMEOUT_SECONDS } from "./keystroke.mjs";
|
|
5
|
-
import { t as createTypedCommand } from "./commander-
|
|
5
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/auth/auth.command.ts
|
|
8
8
|
const AuthOptionsSchema = z.object({
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import { n as readOptionalJsonSchemaKeys, t as manifestToDeclaredCredentialRequirement } from "./declared-credential-requirements-BtlcsEVn.mjs";
|
|
4
4
|
import { t as AgentVersionManifestSchema } from "./agent-manifest-sJFbH5H8.mjs";
|
|
5
5
|
import { i as createAgentSandboxPackage, n as AGENT_VM_PI_SKILLS_ROOT, r as AGENT_VM_TOOLS_RUNTIME_RELATIVE_PATH, t as AGENT_VM_HOST_CALL_RELATIVE_PATH } from "./agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs";
|
|
6
|
-
import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-
|
|
7
|
-
import { t as bundleSandboxAgentTarget } from "./workflow-bundler-BzHk73PM-
|
|
6
|
+
import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-B0eiobOd.mjs";
|
|
7
|
+
import { t as bundleSandboxAgentTarget } from "./workflow-bundler-BzHk73PM-tt09RbIA.mjs";
|
|
8
8
|
import { builtinModules } from "node:module";
|
|
9
9
|
import { lstat, readFile, readdir, realpath } from "node:fs/promises";
|
|
10
10
|
import path from "node:path";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { n as TaskBuildManifestSchema } from "./task-1qz1XNq7.mjs";
|
|
4
|
-
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-
|
|
5
|
-
import { t as buildTriggerArtifacts } from "./trigger-artifacts-B3OCTX9K-
|
|
4
|
+
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-tt09RbIA.mjs";
|
|
5
|
+
import { t as buildTriggerArtifacts } from "./trigger-artifacts-B3OCTX9K-ME6IVdUB.mjs";
|
|
6
6
|
import { performance } from "node:perf_hooks";
|
|
7
7
|
//#region ../../packages/workflow-builder/dist/build-tasks-O1jYtlv1.mjs
|
|
8
8
|
async function buildTaskArtifact(options) {
|
package/dist/{build-workflows-3fdvdHHf-DnDmsKuG.mjs → build-workflows-3fdvdHHf-BDTy9QgT.mjs}
RENAMED
|
@@ -6,8 +6,8 @@ import { a as MANIFEST_FILE_NAME, i as FLOW_FILE_NAME, r as BUNDLE_FILE_NAME, s
|
|
|
6
6
|
import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-CnBnF2cg.mjs";
|
|
7
7
|
import { n as WorkflowLoaderProtocolError, r as WorkflowMetadataLoadError, s as createLoaderProtocolFailure } from "./import-module-DDPnzlJ1-BIBSgOhK.mjs";
|
|
8
8
|
import { r as toRelativeFilePath } from "./normalize-path-CojS-CgQ-D_WTiHKw.mjs";
|
|
9
|
-
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-
|
|
10
|
-
import { t as buildTriggerArtifacts } from "./trigger-artifacts-B3OCTX9K-
|
|
9
|
+
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-tt09RbIA.mjs";
|
|
10
|
+
import { t as buildTriggerArtifacts } from "./trigger-artifacts-B3OCTX9K-ME6IVdUB.mjs";
|
|
11
11
|
import { realpathSync } from "node:fs";
|
|
12
12
|
import { readFile } from "node:fs/promises";
|
|
13
13
|
import * as path$1 from "node:path";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { O as CliExitError } from "./keystroke.mjs";
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
5
|
import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
|
|
6
|
-
import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
6
|
+
import { a as runWorkflowBuild, i as renderBuildSummary, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-Be6RMTb2.mjs";
|
|
7
7
|
import { t as createBuildProgress } from "./build-progress-Mzsk4RKr.mjs";
|
|
8
8
|
import { t as withErrorBoundary } from "./error-boundary-D6KTx1HL.mjs";
|
|
9
9
|
//#region src/commands/workflows/build.handler.ts
|
|
@@ -47,21 +47,21 @@ function createTypedCommand(params) {
|
|
|
47
47
|
const { name, description, schema, optionsConfig, resolve, subcommands } = params;
|
|
48
48
|
const command = new Command(name).description(description);
|
|
49
49
|
for (const opt of createHiddenGlobalOptions()) command.addOption(opt);
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
const positionalArguments = params.arguments ?? (params.argument ? [params.argument] : []);
|
|
51
|
+
for (const arg of positionalArguments) {
|
|
52
|
+
const bracket = arg.required === false ? ["[", "]"] : ["<", ">"];
|
|
53
|
+
command.argument(`${bracket[0]}${arg.name}${bracket[1]}`, arg.description);
|
|
53
54
|
}
|
|
54
|
-
applyTypedOptionsToCommand(command, schema, optionsConfig,
|
|
55
|
+
applyTypedOptionsToCommand(command, schema, optionsConfig, positionalArguments.length > 0 ? new Set(positionalArguments.map((arg) => arg.key)) : void 0);
|
|
55
56
|
command.action(async (...args) => {
|
|
56
57
|
let jsonMode = false;
|
|
57
58
|
try {
|
|
58
59
|
let rawOptions;
|
|
59
60
|
let cmd;
|
|
60
|
-
if (
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
rawOptions[params.argument.key] = argValue;
|
|
61
|
+
if (positionalArguments.length > 0) {
|
|
62
|
+
rawOptions = args[positionalArguments.length];
|
|
63
|
+
cmd = args[positionalArguments.length + 1];
|
|
64
|
+
for (const [index, arg] of positionalArguments.entries()) rawOptions[arg.key] = args[index];
|
|
65
65
|
} else {
|
|
66
66
|
rawOptions = args[0];
|
|
67
67
|
cmd = args[1];
|
|
@@ -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-BCDZb3Gy.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/connect/connect.command.ts
|
|
7
7
|
const ConnectOptionsSchema = JsonOptionSchema.extend({
|
|
@@ -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-BCDZb3Gy.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
5
5
|
import { n as CredentialScopeSchema, r as CredentialScopeValues } from "./schema-BgGlAs8a.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/credentials/list/list.command.ts
|
package/dist/{current-deployment-workflow-C5oiOVsx.mjs → current-deployment-workflow-j5DlVkb2.mjs}
RENAMED
|
@@ -5,7 +5,7 @@ import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
|
|
|
5
5
|
import { a as readManifestsFromOutDir } from "./dist-DvO0q6Fo.mjs";
|
|
6
6
|
import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
|
|
7
7
|
import { t as createSpinnerProgress } from "./spinner-progress-BB2EHL-l.mjs";
|
|
8
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Be6RMTb2.mjs";
|
|
9
9
|
//#region src/commands/workflows/_shared/current-deployment-workflow.ts
|
|
10
10
|
/**
|
|
11
11
|
* Lightweight resolution: gets projectId from keystroke.config.ts and authoredWorkflowId
|
|
@@ -1,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-B6_tg5_w.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/deploy/deploy.command.ts
|
|
6
6
|
/**
|
|
@@ -64,7 +64,7 @@ function createDeployCommand() {
|
|
|
64
64
|
schema: DeployOptionsSchema,
|
|
65
65
|
optionsConfig: DEPLOY_OPTIONS_CONFIG,
|
|
66
66
|
contextMode: "auth",
|
|
67
|
-
loadHandler: async () => (await import("./deploy.handler-
|
|
67
|
+
loadHandler: async () => (await import("./deploy.handler-CbYYyVOg.mjs")).handleDeploy
|
|
68
68
|
});
|
|
69
69
|
cmd.enablePositionalOptions();
|
|
70
70
|
cmd.passThroughOptions();
|
|
@@ -6,11 +6,11 @@ import { t as assertWorkflowProjectRoot } from "./project-config-D9eFU8Jk.mjs";
|
|
|
6
6
|
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DT06adrn.mjs";
|
|
7
7
|
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-DvO0q6Fo.mjs";
|
|
8
8
|
import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
|
|
9
|
-
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
9
|
+
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-Be6RMTb2.mjs";
|
|
10
10
|
import { t as createBuildProgress } from "./build-progress-Mzsk4RKr.mjs";
|
|
11
11
|
import { t as createDeployProgress } from "./deploy-progress-BkpuGfGt.mjs";
|
|
12
12
|
import { t as withErrorBoundary } from "./error-boundary-D6KTx1HL.mjs";
|
|
13
|
-
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
13
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-j5DlVkb2.mjs";
|
|
14
14
|
import { t as computeWorkflowDiff } from "./diff-utils-D1jYu6ny.mjs";
|
|
15
15
|
import { access } from "node:fs/promises";
|
|
16
16
|
import path from "node:path";
|
|
@@ -198,7 +198,7 @@ async function handleDeploy(options, ctx) {
|
|
|
198
198
|
let outDir;
|
|
199
199
|
let artifactFilter;
|
|
200
200
|
try {
|
|
201
|
-
const { runWorkflowBuild } = await import("./workflow-build-
|
|
201
|
+
const { runWorkflowBuild } = await import("./workflow-build-Be6RMTb2.mjs").then((n) => n.o);
|
|
202
202
|
const buildOutcome = await runWorkflowBuild({
|
|
203
203
|
workflowsDir,
|
|
204
204
|
verbose: options.verbose,
|
|
@@ -260,7 +260,7 @@ async function handleDeploy(options, ctx) {
|
|
|
260
260
|
}
|
|
261
261
|
async function handleTaskTargetDeploy(options) {
|
|
262
262
|
renderBuildHeader(void 0);
|
|
263
|
-
const buildResult = await (deployHandlerDependencies.buildTaskTargets ?? (await import("./task-target-build-
|
|
263
|
+
const buildResult = await (deployHandlerDependencies.buildTaskTargets ?? (await import("./task-target-build-D5IrHqSl.mjs")).buildTaskTargets)({
|
|
264
264
|
projectRoot: options.workflowsDir,
|
|
265
265
|
targetFiles: options.targetFiles,
|
|
266
266
|
disableSourcemaps: options.options.disableSourcemaps
|
|
@@ -278,7 +278,7 @@ async function handleTaskTargetDeploy(options) {
|
|
|
278
278
|
const progress = createDeployProgress();
|
|
279
279
|
let result;
|
|
280
280
|
try {
|
|
281
|
-
result = await (deployHandlerDependencies.deployTaskTargets ?? (await import("./task-target-deploy-
|
|
281
|
+
result = await (deployHandlerDependencies.deployTaskTargets ?? (await import("./task-target-deploy-Bzfftyru.mjs")).deployTaskTargets)({
|
|
282
282
|
preparedTasks: buildResult.preparedTasks,
|
|
283
283
|
client,
|
|
284
284
|
organizationId: options.projectConfig.organizationId,
|
|
@@ -315,7 +315,7 @@ async function createFullDeployClient(ctx) {
|
|
|
315
315
|
}
|
|
316
316
|
async function createTaskDeployClient(ctx) {
|
|
317
317
|
const authOptions = requireAuthOptions(ctx);
|
|
318
|
-
return (deployHandlerDependencies.createDeployClient ?? (await import("./deploy-
|
|
318
|
+
return (deployHandlerDependencies.createDeployClient ?? (await import("./deploy-B8TYutOi.mjs")).createDeployClient)(authOptions);
|
|
319
319
|
}
|
|
320
320
|
function renderSuccessSummary(result) {
|
|
321
321
|
const tasks = result.tasks || [];
|
|
@@ -4,7 +4,7 @@ import { M as throwReportedCliExit, O as CliExitError, b as toErrorMessage, t as
|
|
|
4
4
|
import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-BCDZb3Gy.mjs";
|
|
6
6
|
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DT06adrn.mjs";
|
|
7
|
-
import { n as resolveLocalWorkflowManifest, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
7
|
+
import { n as resolveLocalWorkflowManifest, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-j5DlVkb2.mjs";
|
|
8
8
|
import { n as renderDiff, t as computeWorkflowDiff } from "./diff-utils-D1jYu6ny.mjs";
|
|
9
9
|
//#region src/commands/workflows/diff/diff.handler.ts
|
|
10
10
|
async function handleWorkflowsDiff(options, ctx) {
|
|
@@ -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-B6_tg5_w.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/init/init.command.ts
|
|
6
6
|
const InitOptionsSchema = z.object({
|
|
@@ -5,7 +5,7 @@ import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
|
5
5
|
import { i as writeJson } from "./output-BCDZb3Gy.mjs";
|
|
6
6
|
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DT06adrn.mjs";
|
|
7
7
|
import { i as resolveTypeHint } from "./schema-display-DuWBmkwk.mjs";
|
|
8
|
-
import { n as resolveLocalWorkflowManifest, r as resolveProjectContext, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
8
|
+
import { n as resolveLocalWorkflowManifest, r as resolveProjectContext, t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-j5DlVkb2.mjs";
|
|
9
9
|
import dayjs from "dayjs";
|
|
10
10
|
//#region src/commands/workflows/inspect/inspect-display.ts
|
|
11
11
|
function formatBuildTimestamp(iso) {
|
|
@@ -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-BCDZb3Gy.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/integrations/integrations.command.ts
|
|
7
7
|
const IntegrationsListOptionsSchema = JsonOptionSchema.extend({
|
|
@@ -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-BCDZb3Gy.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/invites/invites.command.ts
|
|
7
7
|
const InvitesListOptionsSchema = JsonOptionSchema;
|
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.9";
|
|
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-DII_JbCa.mjs")).createAgentsCommand()
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
name: "admin",
|
|
32
|
-
loadCommand: async () => (await import("./admin-
|
|
32
|
+
loadCommand: async () => (await import("./admin-Dga-_lDF.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-DeTqHzI4.mjs")).createApiKeysCommand()
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
name: "auth",
|
|
40
|
-
loadCommand: async () => (await import("./auth-
|
|
40
|
+
loadCommand: async () => (await import("./auth-C0fuZ0_P.mjs")).createAuthCommand()
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
name: "connect",
|
|
44
|
-
loadCommand: async () => (await import("./connect-
|
|
44
|
+
loadCommand: async () => (await import("./connect-D9PVABIW.mjs")).createConnectCommand()
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
name: "credentials",
|
|
48
|
-
loadCommand: async () => (await import("./credentials-
|
|
48
|
+
loadCommand: async () => (await import("./credentials-BW-v9xVQ.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-DLY5V_Uw.mjs")).createOrgCommand()
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
name: "deploy",
|
|
57
|
-
loadCommand: async () => (await import("./deploy-
|
|
57
|
+
loadCommand: async () => (await import("./deploy-BU04ehfM.mjs")).createDeployCommand()
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
60
|
name: "init",
|
|
61
|
-
loadCommand: async () => (await import("./init-
|
|
61
|
+
loadCommand: async () => (await import("./init-BITuemMR.mjs")).createInitCommand()
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
name: "integrations",
|
|
65
|
-
loadCommand: async () => (await import("./integrations-
|
|
65
|
+
loadCommand: async () => (await import("./integrations-Dib-OfdN.mjs")).createIntegrationsCommand()
|
|
66
66
|
},
|
|
67
67
|
{
|
|
68
68
|
name: "invites",
|
|
69
|
-
loadCommand: async () => (await import("./invites-
|
|
69
|
+
loadCommand: async () => (await import("./invites-CJtInw9Q.mjs")).createInvitesCommand()
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
name: "logs",
|
|
73
|
-
loadCommand: async () => (await import("./logs-
|
|
73
|
+
loadCommand: async () => (await import("./logs-De7ITMv1.mjs")).createLogsCommand()
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
name: "listen",
|
|
77
|
-
loadCommand: async () => (await import("./listen-
|
|
77
|
+
loadCommand: async () => (await import("./listen-_GvXm7iI.mjs")).createListenCommand()
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
name: "projects",
|
|
81
|
-
loadCommand: async () => (await import("./projects-
|
|
81
|
+
loadCommand: async () => (await import("./projects-lN-4ZR9Q.mjs")).createProjectsCommand()
|
|
82
82
|
},
|
|
83
83
|
{
|
|
84
84
|
name: "runs",
|
|
85
|
-
loadCommand: async () => (await import("./runs-
|
|
85
|
+
loadCommand: async () => (await import("./runs-BfgL8BR_.mjs")).createRunsCommand()
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
name: "skills",
|
|
89
|
-
loadCommand: async () => (await import("./skills.command-
|
|
89
|
+
loadCommand: async () => (await import("./skills.command-z-sOQpkN.mjs")).createSkillsCommand()
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
92
|
name: "sync",
|
|
93
|
-
loadCommand: async () => (await import("./sync-
|
|
93
|
+
loadCommand: async () => (await import("./sync-CIibxcUe.mjs")).createSyncCommand()
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
name: "test",
|
|
97
|
-
loadCommand: async () => (await import("./test-
|
|
97
|
+
loadCommand: async () => (await import("./test-Dsx4cRnE.mjs")).createTestCommand()
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
name: "upgrade",
|
|
101
|
-
loadCommand: async () => (await import("./upgrade-
|
|
101
|
+
loadCommand: async () => (await import("./upgrade-DQrHCNR8.mjs")).createUpgradeCommand()
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
name: "workflows",
|
|
105
|
-
loadCommand: async () => (await import("./workflows-
|
|
105
|
+
loadCommand: async () => (await import("./workflows-Cdo-AgjV.mjs")).createWorkflowsCommand()
|
|
106
106
|
}
|
|
107
107
|
];
|
|
108
108
|
function selectCommandRegistration(argv, commandNames = new Set(lazyCommandDefinitions.map((definition) => definition.name))) {
|
|
@@ -5,7 +5,7 @@ import { d as trackProject } from "./dist-BF6r1hfv.mjs";
|
|
|
5
5
|
import { i as writeJson } from "./output-BCDZb3Gy.mjs";
|
|
6
6
|
import { t as requireWorkflowsDir } from "./resolve-project-BREjwFKO.mjs";
|
|
7
7
|
import { t as createSpinnerProgress } from "./spinner-progress-BB2EHL-l.mjs";
|
|
8
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-Be6RMTb2.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-BCDZb3Gy.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.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) });
|
|
@@ -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-B6_tg5_w.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") });
|
|
@@ -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-BCDZb3Gy.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
5
5
|
import { t as OrgRoleSchema } from "./schema-_FQrHcIS.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/org/invites.command.ts
|
|
@@ -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-BCDZb3Gy.mjs";
|
|
4
|
-
import { t as createTypedCommand } from "./commander-
|
|
4
|
+
import { t as createTypedCommand } from "./commander-B6_tg5_w.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/projects/projects.command.ts
|
|
7
7
|
function createProjectsCommand() {
|