@keystrokehq/cli 0.0.26 → 0.0.28
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/{agent-manifest-UbtgIIhN.mjs → agent-manifest-De5TCxZq.mjs} +1 -1
- package/dist/{agents-B57hZo0M.mjs → agents-Bc3B9_ms.mjs} +2 -2
- package/dist/{build-agents-DseUtzd4-C6S-h9Gi.mjs → build-agents-DseUtzd4-Cmd-kNNO.mjs} +1 -1
- package/dist/{build-workflows-BZ_m97Pr-DKANy85L.mjs → build-workflows-BZ_m97Pr-HQZY4xBV.mjs} +1 -1
- package/dist/{build.handler-Bd2x92wh.mjs → build.handler-5CpbMuHx.mjs} +1 -1
- package/dist/{credentials-CJpJ5qmL.mjs → credentials-C-MN9q-b.mjs} +4 -4
- package/dist/{current-deployment-workflow-DupXGMGV.mjs → current-deployment-workflow-Cm_aU9rQ.mjs} +2 -2
- package/dist/{deploy-CPhSW3cB.mjs → deploy-CDY7Qo5L.mjs} +1 -1
- package/dist/{deploy.handler-C_Wc90KP.mjs → deploy.handler-CLoYxHOr.mjs} +5 -5
- package/dist/{diff.handler-jJEIJq41.mjs → diff.handler-Dcli35A1.mjs} +1 -1
- package/dist/{dist-BGYSbs2V.mjs → dist-CTEtWDW4.mjs} +1 -1
- package/dist/{env.handler-BbH44f51.mjs → env.handler-DzDtYyqj.mjs} +1 -1
- package/dist/{import-module-y0glInUe-DxX0-BRO.mjs → import-module-y0glInUe-BwuOxEY3.mjs} +1 -1
- package/dist/{inspect.handler-jtSz17z5.mjs → inspect.handler-Bd4imZI8.mjs} +1 -1
- package/dist/{integrations-BRMzYHz1.mjs → integrations-BfeKNPg6.mjs} +7 -7
- package/dist/keystroke.mjs +8 -8
- package/dist/{list.handler-BapLGgXO.mjs → list.handler-C78XjR-o.mjs} +1 -1
- package/dist/{list.handler-ClrceojF.mjs → list.handler-DxT7YHW7.mjs} +1 -1
- package/dist/{requirements.handler-BXFoxG3f.mjs → requirements.handler-Cje-GJ8H.mjs} +1 -1
- package/dist/{run-polling-DEO0A7ec.mjs → run-polling-cylAR4FL.mjs} +1 -1
- package/dist/{run.handler-itMzf36_.mjs → run.handler-CUgLQrsQ.mjs} +2 -2
- package/dist/{sync-B1hBmhJM.mjs → sync-BssJv3Fd.mjs} +1 -1
- package/dist/{sync.handler-B9Q_6jI8.mjs → sync.handler-Ia7cO3xj.mjs} +2 -2
- package/dist/{test-BeSgMl0z.mjs → test-RFvyK7rK.mjs} +1 -1
- package/dist/{test.handler-DxEIHSy2.mjs → test.handler-DBXBhJ59.mjs} +3 -3
- package/dist/{tool.handler-CjjbaZJB.mjs → tool.handler-BzyxzKK8.mjs} +4 -4
- package/dist/{upload.handler-ZSOVDEdc.mjs → upload.handler-B2vPQp8w.mjs} +1 -1
- package/dist/{validate.handler-zJIDu4gG.mjs → validate.handler-DmiJmNA0.mjs} +1 -1
- package/dist/{workflow-build-BIRjDduX.mjs → workflow-build-DPqt_edf.mjs} +5 -5
- package/dist/{workflows--ulcsX9G.mjs → workflows-DYwiYttT.mjs} +9 -9
- package/package.json +13 -13
|
@@ -230,7 +230,7 @@ const AgentVersionManifestSchema = z.object({
|
|
|
230
230
|
id: z.string(),
|
|
231
231
|
name: z.string(),
|
|
232
232
|
provider: z.string(),
|
|
233
|
-
mode: z.enum(["
|
|
233
|
+
mode: z.enum(["official", "custom"]),
|
|
234
234
|
credentialSet: z.object({
|
|
235
235
|
resolvedId: CredentialDefinitionIdSchema,
|
|
236
236
|
credentialKeys: z.array(z.string()),
|
|
@@ -4,10 +4,10 @@ import { a as ui, j as throwReportedCliExit, n as style, t as ANSI, y as toError
|
|
|
4
4
|
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { i as writeJson, n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-T.mjs";
|
|
6
6
|
import { t as createTypedCommand } from "./commander-BTMzBiLq.mjs";
|
|
7
|
-
import { i as readAgentManifestsFromOutDir } from "./dist-
|
|
7
|
+
import { i as readAgentManifestsFromOutDir } from "./dist-CTEtWDW4.mjs";
|
|
8
8
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
9
9
|
import { t as createSpinnerProgress } from "./spinner-progress-lrKDs4YF.mjs";
|
|
10
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
10
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-DPqt_edf.mjs";
|
|
11
11
|
import { i as resolveTypeHint } from "./schema-display-XrRCdFL0.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 readOptionalJsonSchemaKeys, t as manifestToDeclaredCredentialRequirement } from "./declared-credential-requirements-B6h4WRv4.mjs";
|
|
4
|
-
import { t as AgentVersionManifestSchema } from "./agent-manifest-
|
|
4
|
+
import { t as AgentVersionManifestSchema } from "./agent-manifest-De5TCxZq.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
6
|
import { t as readCredentialKeysFromSchemaObject } from "./read-credential-keys-77a91T8M-aLuQvlIq.mjs";
|
|
7
7
|
import { t as bundleSandboxAgentTarget } from "./workflow-bundler-BzHk73PM-xQwAF08W.mjs";
|
package/dist/{build-workflows-BZ_m97Pr-DKANy85L.mjs → build-workflows-BZ_m97Pr-HQZY4xBV.mjs}
RENAMED
|
@@ -4,7 +4,7 @@ import { p as deduplicateCredentialRequirementEntries } from "./credential-requi
|
|
|
4
4
|
import { r as WorkflowBuildManifestSchema, t as WORKFLOW_MANIFEST_GENERATOR } from "./workflow-build-manifest-1sC52TIG.mjs";
|
|
5
5
|
import { a as MANIFEST_FILE_NAME, i as FLOW_FILE_NAME, r as BUNDLE_FILE_NAME, s as SOURCE_MAP_FILE_NAME, t as BUILD_DIR_NAME } from "./layout-B95Tku8F.mjs";
|
|
6
6
|
import { t as runWithConcurrency } from "./concurrency-gXn9Rw8x-CnBnF2cg.mjs";
|
|
7
|
-
import { n as WorkflowLoaderProtocolError, r as WorkflowMetadataLoadError, s as createLoaderProtocolFailure } from "./import-module-y0glInUe-
|
|
7
|
+
import { n as WorkflowLoaderProtocolError, r as WorkflowMetadataLoadError, s as createLoaderProtocolFailure } from "./import-module-y0glInUe-BwuOxEY3.mjs";
|
|
8
8
|
import { r as toRelativeFilePath } from "./normalize-path-CojS-CgQ-aOM0agxS.mjs";
|
|
9
9
|
import { n as bundleWorkflowTarget } from "./workflow-bundler-BzHk73PM-xQwAF08W.mjs";
|
|
10
10
|
import { t as buildTriggerArtifacts } from "./trigger-artifacts-BcRScRSp-C-JBJ6y8.mjs";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { D as CliExitError } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.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-DPqt_edf.mjs";
|
|
7
7
|
import { t as createBuildProgress } from "./build-progress-O9f-4Z4D.mjs";
|
|
8
8
|
import { t as withErrorBoundary } from "./error-boundary-DVZipk-A.mjs";
|
|
9
9
|
//#region src/commands/workflows/build.handler.ts
|
|
@@ -46,7 +46,7 @@ function createCredentialsListCommand() {
|
|
|
46
46
|
description: "List credential sets on the server",
|
|
47
47
|
schema: ListOptionsSchema,
|
|
48
48
|
optionsConfig: LIST_OPTIONS_CONFIG,
|
|
49
|
-
loadHandler: async () => (await import("./list.handler-
|
|
49
|
+
loadHandler: async () => (await import("./list.handler-DxT7YHW7.mjs")).handleCredentialsList
|
|
50
50
|
});
|
|
51
51
|
}
|
|
52
52
|
//#endregion
|
|
@@ -65,7 +65,7 @@ function createCredentialsRequirementsCommand() {
|
|
|
65
65
|
description: "Show what credentials built workflows need (keys, KEYSTROKE_* env names, workflows) — from dist manifests, no API call",
|
|
66
66
|
schema: RequirementsOptionsSchema,
|
|
67
67
|
optionsConfig: REQUIREMENTS_OPTIONS_CONFIG,
|
|
68
|
-
loadHandler: async () => (await import("./requirements.handler-
|
|
68
|
+
loadHandler: async () => (await import("./requirements.handler-Cje-GJ8H.mjs")).handleCredentialsRequirements
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
//#endregion
|
|
@@ -126,7 +126,7 @@ function createCredentialsUploadCommand() {
|
|
|
126
126
|
description: "Upload credentials from env vars to the server. Default: reads requirements from built workflow manifests. Use --integration for an official integration or --credential-set + --keys for a custom explicit upload.",
|
|
127
127
|
schema: UploadOptionsSchema,
|
|
128
128
|
optionsConfig: UPLOAD_OPTIONS_CONFIG,
|
|
129
|
-
loadHandler: async () => (await import("./upload.handler-
|
|
129
|
+
loadHandler: async () => (await import("./upload.handler-B2vPQp8w.mjs")).handleCredentialsUpload
|
|
130
130
|
});
|
|
131
131
|
}
|
|
132
132
|
//#endregion
|
|
@@ -157,7 +157,7 @@ function createCredentialsCommand() {
|
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
handler: async (opts, ctx) => {
|
|
160
|
-
const { handleCredentialsList } = await import("./list.handler-
|
|
160
|
+
const { handleCredentialsList } = await import("./list.handler-DxT7YHW7.mjs");
|
|
161
161
|
await handleCredentialsList({
|
|
162
162
|
...opts,
|
|
163
163
|
scope: void 0,
|
package/dist/{current-deployment-workflow-DupXGMGV.mjs → current-deployment-workflow-Cm_aU9rQ.mjs}
RENAMED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import { A as WorkflowResolutionError, a as ui, g as getHttpStatus, h as getApiErrorCode } from "./keystroke.mjs";
|
|
4
4
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
5
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
5
|
+
import { a as readManifestsFromOutDir } from "./dist-CTEtWDW4.mjs";
|
|
6
6
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
7
7
|
import { t as createSpinnerProgress } from "./spinner-progress-lrKDs4YF.mjs";
|
|
8
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-DPqt_edf.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
|
|
@@ -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-CLoYxHOr.mjs")).handleDeploy
|
|
68
68
|
});
|
|
69
69
|
cmd.enablePositionalOptions();
|
|
70
70
|
cmd.passThroughOptions();
|
|
@@ -4,13 +4,13 @@ import { D as CliExitError, P as logger, a as ui, l as isLocalMode, n as style,
|
|
|
4
4
|
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
6
6
|
import { r as requireAuthOptions, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DHOTSgPb.mjs";
|
|
7
|
-
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-
|
|
7
|
+
import { i as readAgentManifestsFromOutDir, o as readWorkflowsFromDisk } from "./dist-CTEtWDW4.mjs";
|
|
8
8
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
9
|
-
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
9
|
+
import { n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-DPqt_edf.mjs";
|
|
10
10
|
import { t as createBuildProgress } from "./build-progress-O9f-4Z4D.mjs";
|
|
11
11
|
import { t as createDeployProgress } from "./deploy-progress-C1Y73QVM.mjs";
|
|
12
12
|
import { t as withErrorBoundary } from "./error-boundary-DVZipk-A.mjs";
|
|
13
|
-
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
13
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-Cm_aU9rQ.mjs";
|
|
14
14
|
import { t as computeWorkflowDiff } from "./diff-utils-CXKNQUXO.mjs";
|
|
15
15
|
import path from "node:path";
|
|
16
16
|
import { access } from "node:fs/promises";
|
|
@@ -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-DPqt_edf.mjs").then((n) => n.o);
|
|
202
202
|
const buildOutcome = await runWorkflowBuild({
|
|
203
203
|
workflowsDir,
|
|
204
204
|
verbose: options.verbose,
|
|
@@ -233,7 +233,7 @@ async function handleDeploy(options, ctx) {
|
|
|
233
233
|
const progress = createDeployProgress();
|
|
234
234
|
let result;
|
|
235
235
|
try {
|
|
236
|
-
result = await (deployHandlerDependencies.deployFromDir ?? (await import("./dist-
|
|
236
|
+
result = await (deployHandlerDependencies.deployFromDir ?? (await import("./dist-CTEtWDW4.mjs").then((n) => n.r)).deployFromDir)({
|
|
237
237
|
outDir,
|
|
238
238
|
workflowsDir,
|
|
239
239
|
client,
|
|
@@ -4,7 +4,7 @@ import { D as CliExitError, a as ui, j as throwReportedCliExit, y as toErrorMess
|
|
|
4
4
|
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
6
|
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DHOTSgPb.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-Cm_aU9rQ.mjs";
|
|
8
8
|
import { n as renderDiff, t as computeWorkflowDiff } from "./diff-utils-CXKNQUXO.mjs";
|
|
9
9
|
//#region src/commands/workflows/diff/diff.handler.ts
|
|
10
10
|
async function handleWorkflowsDiff(options, ctx) {
|
|
@@ -5,7 +5,7 @@ import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
|
5
5
|
import { n as SHA256HashSchema } from "./common-AK0q0Oz0.mjs";
|
|
6
6
|
import { f as collectCredentialRequirementEntries, u as TriggerUploadDataSchema } from "./credential-requirements-D0mavK8j-CFMf0Xwu.mjs";
|
|
7
7
|
import { a as FlowGraphSchema, r as WorkflowBuildManifestSchema } from "./workflow-build-manifest-1sC52TIG.mjs";
|
|
8
|
-
import { t as AgentVersionManifestSchema } from "./agent-manifest-
|
|
8
|
+
import { t as AgentVersionManifestSchema } from "./agent-manifest-De5TCxZq.mjs";
|
|
9
9
|
import { n as TaskBuildManifestSchema } from "./task-BWuIKWh4.mjs";
|
|
10
10
|
import { n as FileMetadataSchema } from "./file-metadata-DQVDjr7M.mjs";
|
|
11
11
|
import { t as computeProjectSnapshotHash } from "./task-target-deploy-dQYnMO8n-d2vdeqXH.mjs";
|
|
@@ -5,7 +5,7 @@ import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
6
|
import { i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
7
7
|
import { n as CredentialConnectionIdSchema, r as CredentialScopeSchema, t as ConnectionStatusSchema } from "./schema-DFJiNWyd.mjs";
|
|
8
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
8
|
+
import { a as readManifestsFromOutDir } from "./dist-CTEtWDW4.mjs";
|
|
9
9
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
10
10
|
import { t as getIntegrationCatalog } from "./integration-catalog-Cub_7xCw.mjs";
|
|
11
11
|
import { t as groupCredentialRequirements } from "./credentials-DQW8xxof.mjs";
|
|
@@ -71,7 +71,7 @@ const credentialSetInstanceSchema$1 = createStructuralSchema$1([
|
|
|
71
71
|
"auth",
|
|
72
72
|
"connections"
|
|
73
73
|
], "a CredentialSet instance");
|
|
74
|
-
const MessagingGatewayModeSchema = z.enum(["
|
|
74
|
+
const MessagingGatewayModeSchema = z.enum(["official", "custom"]);
|
|
75
75
|
const MessagingGatewayCredentialScopeSchema = z.enum(["organization", "project"]);
|
|
76
76
|
z.object({
|
|
77
77
|
id: idNoSpacesString("MessagingGateway id"),
|
|
@@ -5,7 +5,7 @@ import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
6
|
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DHOTSgPb.mjs";
|
|
7
7
|
import { i as resolveTypeHint } from "./schema-display-XrRCdFL0.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-Cm_aU9rQ.mjs";
|
|
9
9
|
import dayjs from "dayjs";
|
|
10
10
|
//#region src/commands/workflows/inspect/inspect-display.ts
|
|
11
11
|
function formatBuildTimestamp(iso) {
|
|
@@ -4,8 +4,8 @@ import { n as JsonOptionSchema, t as JSON_OPTION_CONFIG } from "./output-BWcVRt-
|
|
|
4
4
|
import { t as createTypedCommand } from "./commander-BTMzBiLq.mjs";
|
|
5
5
|
import { t as ConnectionKindValues } from "./api-O5tdGdzc.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
|
-
//#region ../../packages/shared-types/src/
|
|
8
|
-
const
|
|
7
|
+
//#region ../../packages/shared-types/src/official-providers/index.ts
|
|
8
|
+
const officialProviderRegistry = {
|
|
9
9
|
airtable: {
|
|
10
10
|
supportsMessagingGateway: false,
|
|
11
11
|
messagingAdapterType: null
|
|
@@ -87,9 +87,9 @@ function toNonEmptyTuple(values) {
|
|
|
87
87
|
if (values.length === 0) throw new Error("Expected at least one provider value");
|
|
88
88
|
return values;
|
|
89
89
|
}
|
|
90
|
-
const
|
|
91
|
-
const MessagingGatewayProviderValues = toNonEmptyTuple(Object.freeze(
|
|
92
|
-
const
|
|
90
|
+
const OfficialProviderValues = toNonEmptyTuple(Object.freeze(Object.keys(officialProviderRegistry)));
|
|
91
|
+
const MessagingGatewayProviderValues = toNonEmptyTuple(Object.freeze(OfficialProviderValues.filter((provider) => officialProviderRegistry[provider].supportsMessagingGateway)));
|
|
92
|
+
const OfficialProviderSchema = z.enum(OfficialProviderValues);
|
|
93
93
|
z.enum(MessagingGatewayProviderValues);
|
|
94
94
|
//#endregion
|
|
95
95
|
//#region src/commands/integrations/integrations.command.ts
|
|
@@ -121,7 +121,7 @@ const INTEGRATIONS_LIST_OPTIONS_CONFIG = {
|
|
|
121
121
|
const IntegrationsRegisterOptionsSchema = JsonOptionSchema.extend({
|
|
122
122
|
integrationId: z.string().optional(),
|
|
123
123
|
clientApp: z.string().optional().describe("Internal credential set id holding clientId + clientSecret"),
|
|
124
|
-
provider:
|
|
124
|
+
provider: OfficialProviderSchema.optional().describe("Provider id for the provider app"),
|
|
125
125
|
externalAppId: z.string().optional().describe("External provider app id"),
|
|
126
126
|
displayName: z.string().optional().describe("Human-readable display name for the workspace integration")
|
|
127
127
|
});
|
|
@@ -133,7 +133,7 @@ const INTEGRATIONS_REGISTER_OPTIONS_CONFIG = {
|
|
|
133
133
|
},
|
|
134
134
|
provider: {
|
|
135
135
|
flag: "--provider <provider>",
|
|
136
|
-
description: `Provider app provider: ${
|
|
136
|
+
description: `Provider app provider: ${OfficialProviderValues.join(" | ")} (required)`
|
|
137
137
|
},
|
|
138
138
|
externalAppId: {
|
|
139
139
|
flag: "--external-app-id <id>",
|
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.28";
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region src/command-registry.ts
|
|
527
527
|
const ROOT_OPTIONS_WITH_VALUES$1 = new Set([
|
|
@@ -533,7 +533,7 @@ 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-Bc3B9_ms.mjs")).createAgentsCommand()
|
|
537
537
|
},
|
|
538
538
|
{
|
|
539
539
|
name: "admin",
|
|
@@ -553,7 +553,7 @@ const lazyCommandDefinitions = [
|
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
name: "credentials",
|
|
556
|
-
loadCommand: async () => (await import("./credentials-
|
|
556
|
+
loadCommand: async () => (await import("./credentials-C-MN9q-b.mjs")).createCredentialsCommand(),
|
|
557
557
|
copyInheritedSettings: true
|
|
558
558
|
},
|
|
559
559
|
{
|
|
@@ -562,7 +562,7 @@ const lazyCommandDefinitions = [
|
|
|
562
562
|
},
|
|
563
563
|
{
|
|
564
564
|
name: "deploy",
|
|
565
|
-
loadCommand: async () => (await import("./deploy-
|
|
565
|
+
loadCommand: async () => (await import("./deploy-CDY7Qo5L.mjs")).createDeployCommand()
|
|
566
566
|
},
|
|
567
567
|
{
|
|
568
568
|
name: "init",
|
|
@@ -570,7 +570,7 @@ const lazyCommandDefinitions = [
|
|
|
570
570
|
},
|
|
571
571
|
{
|
|
572
572
|
name: "integrations",
|
|
573
|
-
loadCommand: async () => (await import("./integrations-
|
|
573
|
+
loadCommand: async () => (await import("./integrations-BfeKNPg6.mjs")).createIntegrationsCommand()
|
|
574
574
|
},
|
|
575
575
|
{
|
|
576
576
|
name: "invites",
|
|
@@ -598,11 +598,11 @@ const lazyCommandDefinitions = [
|
|
|
598
598
|
},
|
|
599
599
|
{
|
|
600
600
|
name: "sync",
|
|
601
|
-
loadCommand: async () => (await import("./sync-
|
|
601
|
+
loadCommand: async () => (await import("./sync-BssJv3Fd.mjs")).createSyncCommand()
|
|
602
602
|
},
|
|
603
603
|
{
|
|
604
604
|
name: "test",
|
|
605
|
-
loadCommand: async () => (await import("./test-
|
|
605
|
+
loadCommand: async () => (await import("./test-RFvyK7rK.mjs")).createTestCommand()
|
|
606
606
|
},
|
|
607
607
|
{
|
|
608
608
|
name: "upgrade",
|
|
@@ -610,7 +610,7 @@ const lazyCommandDefinitions = [
|
|
|
610
610
|
},
|
|
611
611
|
{
|
|
612
612
|
name: "workflows",
|
|
613
|
-
loadCommand: async () => (await import("./workflows
|
|
613
|
+
loadCommand: async () => (await import("./workflows-DYwiYttT.mjs")).createWorkflowsCommand()
|
|
614
614
|
}
|
|
615
615
|
];
|
|
616
616
|
function selectCommandRegistration(argv, commandNames = new Set(lazyCommandDefinitions.map((definition) => definition.name))) {
|
|
@@ -5,7 +5,7 @@ import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
6
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
7
7
|
import { t as createSpinnerProgress } from "./spinner-progress-lrKDs4YF.mjs";
|
|
8
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-DPqt_edf.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}`);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { a as ui, c as getProcessEnv, j as throwReportedCliExit } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
5
|
import { i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
6
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
6
|
+
import { a as readManifestsFromOutDir } from "./dist-CTEtWDW4.mjs";
|
|
7
7
|
import { n as resolveWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
8
8
|
import { t as readCredentialEnvMap } from "./credential-env-map-CtmzNkwU.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-CCRHYslm.mjs";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { a as ui, c as getProcessEnv, n as style, t as ANSI } from "./keystroke.mjs";
|
|
4
4
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
5
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
5
|
+
import { a as readManifestsFromOutDir } from "./dist-CTEtWDW4.mjs";
|
|
6
6
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
7
7
|
import { t as readCredentialEnvMap } from "./credential-env-map-CtmzNkwU.mjs";
|
|
8
8
|
import { a as loadProjectDotenvFile, c as getTerminalContentWidth, o as manifestGroupKey, s as normalizeManifestScopeToServer, t as buildCredentialWorkflowConsumersByGroup, u as truncateWithEllipsis } from "./list-enrichment-CCRHYslm.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { O as InputValidationError, a as ui, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
4
|
+
import { a as readManifestsFromOutDir } from "./dist-CTEtWDW4.mjs";
|
|
5
5
|
import { a as validateRequiredFields, n as formatValidationError, t as formatMissingInputError } from "./schema-display-XrRCdFL0.mjs";
|
|
6
6
|
import { n as sleep, t as TERMINAL_STATUSES } from "./run-polling-DKWPGLyF.mjs";
|
|
7
7
|
import * as path$1 from "node:path";
|
|
@@ -6,8 +6,8 @@ import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
|
6
6
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
7
7
|
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DHOTSgPb.mjs";
|
|
8
8
|
import { n as resolveWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
9
|
-
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
10
|
-
import { i as resolveWorkflowGlobals, o as validateInputOrExit, r as resolveRunInput, s as validateWorkflowGlobalsOrExit, t as pollForCompletion } from "./run-polling-
|
|
9
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-Cm_aU9rQ.mjs";
|
|
10
|
+
import { i as resolveWorkflowGlobals, o as validateInputOrExit, r as resolveRunInput, s as validateWorkflowGlobalsOrExit, t as pollForCompletion } from "./run-polling-cylAR4FL.mjs";
|
|
11
11
|
//#region src/commands/workflows/run.handler.ts
|
|
12
12
|
async function handleWorkflowsRun(options, ctx) {
|
|
13
13
|
const client = requireClient(ctx);
|
|
@@ -32,7 +32,7 @@ function createSyncCommand() {
|
|
|
32
32
|
description: "Sync local workflows with Keystroke",
|
|
33
33
|
schema: SyncOptionsSchema,
|
|
34
34
|
optionsConfig: SYNC_OPTIONS_CONFIG,
|
|
35
|
-
loadHandler: async () => (await import("./sync.handler-
|
|
35
|
+
loadHandler: async () => (await import("./sync.handler-Ia7cO3xj.mjs")).handleSync
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
//#endregion
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { P as logger, a as ui, j as throwReportedCliExit, l as isLocalMode, y as toErrorMessage } from "./keystroke.mjs";
|
|
4
4
|
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { a as validateApiKey, i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
6
|
-
import { n as deployFromDir } from "./dist-
|
|
6
|
+
import { n as deployFromDir } from "./dist-CTEtWDW4.mjs";
|
|
7
7
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
8
|
-
import { a as runWorkflowBuild, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-
|
|
8
|
+
import { a as runWorkflowBuild, n as renderBuildFailure, r as renderBuildHeader } from "./workflow-build-DPqt_edf.mjs";
|
|
9
9
|
import { t as createBuildProgress } from "./build-progress-O9f-4Z4D.mjs";
|
|
10
10
|
import { t as createDeployProgress } from "./deploy-progress-C1Y73QVM.mjs";
|
|
11
11
|
//#region src/commands/sync/sync.handler.ts
|
|
@@ -63,7 +63,7 @@ function createTestCommand() {
|
|
|
63
63
|
description: "Agent tool name from the built manifest",
|
|
64
64
|
key: "toolName"
|
|
65
65
|
},
|
|
66
|
-
loadHandler: async () => (await import("./tool.handler-
|
|
66
|
+
loadHandler: async () => (await import("./tool.handler-BzyxzKK8.mjs")).handleTestTool
|
|
67
67
|
})]
|
|
68
68
|
});
|
|
69
69
|
cmd.enablePositionalOptions();
|
|
@@ -4,13 +4,13 @@ import { D as CliExitError, a as ui, l as isLocalMode, y as toErrorMessage } fro
|
|
|
4
4
|
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
6
6
|
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DHOTSgPb.mjs";
|
|
7
|
-
import { o as readWorkflowsFromDisk, s as uploadTestBundle } from "./dist-
|
|
7
|
+
import { o as readWorkflowsFromDisk, s as uploadTestBundle } from "./dist-CTEtWDW4.mjs";
|
|
8
8
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
9
|
-
import { a as runWorkflowBuild, t as WorkflowNotFoundError } from "./workflow-build-
|
|
9
|
+
import { a as runWorkflowBuild, t as WorkflowNotFoundError } from "./workflow-build-DPqt_edf.mjs";
|
|
10
10
|
import { r as isUnknownSchema } from "./schema-display-XrRCdFL0.mjs";
|
|
11
11
|
import { t as createBuildProgress } from "./build-progress-O9f-4Z4D.mjs";
|
|
12
12
|
import { t as withErrorBoundary } from "./error-boundary-DVZipk-A.mjs";
|
|
13
|
-
import { a as tryReadExistingInputSchema, n as resolveInput, o as validateInputOrExit, t as pollForCompletion } from "./run-polling-
|
|
13
|
+
import { a as tryReadExistingInputSchema, n as resolveInput, o as validateInputOrExit, t as pollForCompletion } from "./run-polling-cylAR4FL.mjs";
|
|
14
14
|
//#region src/lib/format.ts
|
|
15
15
|
function formatBytes(bytes) {
|
|
16
16
|
if (bytes < 1024) return `${bytes} B`;
|
|
@@ -5,11 +5,11 @@ import { t as Credentials } from "./dist-D_KgdxW5.mjs";
|
|
|
5
5
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
6
6
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
7
7
|
import { i as requireClient, t as assertProjectConfigMatchesAuthenticatedOrg } from "./context-DHOTSgPb.mjs";
|
|
8
|
-
import { a as readManifestsFromOutDir } from "./dist-
|
|
8
|
+
import { a as readManifestsFromOutDir } from "./dist-CTEtWDW4.mjs";
|
|
9
9
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
10
|
-
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-
|
|
11
|
-
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-
|
|
12
|
-
import { n as resolveInput, o as validateInputOrExit, t as pollForCompletion } from "./run-polling-
|
|
10
|
+
import { a as runWorkflowBuild, n as renderBuildFailure } from "./workflow-build-DPqt_edf.mjs";
|
|
11
|
+
import { t as lookupCurrentDeploymentWorkflow } from "./current-deployment-workflow-Cm_aU9rQ.mjs";
|
|
12
|
+
import { n as resolveInput, o as validateInputOrExit, t as pollForCompletion } from "./run-polling-cylAR4FL.mjs";
|
|
13
13
|
import * as os from "node:os";
|
|
14
14
|
import { tmpdir } from "node:os";
|
|
15
15
|
import * as path$1 from "node:path";
|
|
@@ -4,7 +4,7 @@ import { a as ui, c as getProcessEnv, j as throwReportedCliExit, y as toErrorMes
|
|
|
4
4
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
5
5
|
import { a as writeJsonError, i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
6
|
import { i as requireClient } from "./context-DHOTSgPb.mjs";
|
|
7
|
-
import { a as readManifestsFromOutDir, t as collectCredentialFingerprintMapFromProjectDist } from "./dist-
|
|
7
|
+
import { a as readManifestsFromOutDir, t as collectCredentialFingerprintMapFromProjectDist } from "./dist-CTEtWDW4.mjs";
|
|
8
8
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
9
9
|
import { t as getIntegrationCatalog } from "./integration-catalog-Cub_7xCw.mjs";
|
|
10
10
|
import { t as readCredentialEnvMap } from "./credential-env-map-CtmzNkwU.mjs";
|
|
@@ -4,7 +4,7 @@ import { a as ui, j as throwReportedCliExit, y as toErrorMessage } from "./keyst
|
|
|
4
4
|
import { i as projects } from "./dist-D_KgdxW5.mjs";
|
|
5
5
|
import { i as writeJson } from "./output-BWcVRt-T.mjs";
|
|
6
6
|
import { t as requireWorkflowsDir } from "./resolve-project-DJJZIOmu.mjs";
|
|
7
|
-
import { s as build, t as WorkflowNotFoundError } from "./workflow-build-
|
|
7
|
+
import { s as build, t as WorkflowNotFoundError } from "./workflow-build-DPqt_edf.mjs";
|
|
8
8
|
import { t as createBuildProgress } from "./build-progress-O9f-4Z4D.mjs";
|
|
9
9
|
import * as os from "node:os";
|
|
10
10
|
import * as path$1 from "node:path";
|
|
@@ -5,14 +5,14 @@ import { F as originalConsole, P as logger, a as ui, n as style, t as ANSI, y as
|
|
|
5
5
|
import { r as getKeystrokeTmpDir } from "./dist-D_KgdxW5.mjs";
|
|
6
6
|
import { t as assertWorkflowProjectRoot } from "./project-config-DudGRFPO.mjs";
|
|
7
7
|
import { a as FlowGraphSchema, r as WorkflowBuildManifestSchema } from "./workflow-build-manifest-1sC52TIG.mjs";
|
|
8
|
-
import { t as AgentVersionManifestSchema } from "./agent-manifest-
|
|
8
|
+
import { t as AgentVersionManifestSchema } from "./agent-manifest-De5TCxZq.mjs";
|
|
9
9
|
import { r as RelativeFilePathSchema } from "./file-metadata-DQVDjr7M.mjs";
|
|
10
10
|
import { c as createArtifactOutputFiles, l as createMetadataOutputFile, o as METADATA_ROOT_DIR_NAME, p as getWorkflowArtifactPaths, t as BUILD_DIR_NAME } from "./layout-B95Tku8F.mjs";
|
|
11
11
|
import { t as resolveConfiguredBuildOutputDir } from "./utils-BaxDlCsW.mjs";
|
|
12
12
|
import { a as readAgentSandboxPackage, r as AGENT_VM_TOOLS_RUNTIME_RELATIVE_PATH } from "./agent-bundle-package-DWV6B_5q-B-qzc3zC.mjs";
|
|
13
13
|
import { a as prewarmFileContentCache, c as typedEntries, i as createFileContentCache, l as require_out, n as computeBuilderFingerprint, o as resetFileContentCache, r as computeWorkflowFingerprint, s as sha256String } from "./metadata-layout-Bv-B0nHj-CO8mjjSl.mjs";
|
|
14
14
|
import { a as getAgentArtifactPaths, c as hashWorkflowManifestForDisk, d as resolveOutputDir, i as createAgentOutputFiles, l as removeAgentArtifacts, n as BUILD_CACHE_FILE_NAME, o as hashAgentManifestForDisk, r as allOutputFilesExist, s as hashWorkflowFlowForDisk, t as AGENT_ARTIFACT_DIR_PREFIX, u as removeWorkflowArtifacts } from "./writer-byNNUjRm-B-on1n6c.mjs";
|
|
15
|
-
import { a as createDiscoveryFailure, c as createNamespaceStarExportDiscoveryError, d as isWorkflowLoadResult, f as loadWorkflowMetadataBatch, i as createAmbiguousExportDiscoveryError, l as isAgentLoadResult, o as createDuplicateWorkflowIdFailure, t as DuplicateWorkflowIdError, u as isTaskLoadResult } from "./import-module-y0glInUe-
|
|
15
|
+
import { a as createDiscoveryFailure, c as createNamespaceStarExportDiscoveryError, d as isWorkflowLoadResult, f as loadWorkflowMetadataBatch, i as createAmbiguousExportDiscoveryError, l as isAgentLoadResult, o as createDuplicateWorkflowIdFailure, t as DuplicateWorkflowIdError, u as isTaskLoadResult } from "./import-module-y0glInUe-BwuOxEY3.mjs";
|
|
16
16
|
import { a as literalString, n as identifierName, o as parseSourceFile, r as isNode } from "./oxc-B3KI3rf_-B9omBIuN.mjs";
|
|
17
17
|
import { a as getLocalModuleSpecifier, c as removeAllMetadataArtifacts, d as resolveDefaultExportAssignment, f as resolveLocalModulePath, i as collectWorkflowImportNames, n as DISCOVERY_IGNORE, o as getVariableDeclarators, r as collectLocalWorkflowBindings, s as isExportedVariableStatement, t as DISCOVERY_GLOB, u as removeMetadataArtifacts } from "./source-analysis-BBg2E_6G-wPP9mjQx.mjs";
|
|
18
18
|
import { n as parseRelativeFilePath } from "./normalize-path-CojS-CgQ-aOM0agxS.mjs";
|
|
@@ -978,7 +978,7 @@ async function buildDiscoveredWorkflows(options) {
|
|
|
978
978
|
const failures = [...buildPlan.failures];
|
|
979
979
|
const warnings = [];
|
|
980
980
|
if (buildPlan.workflows.length > 0) {
|
|
981
|
-
const { buildWorkflowArtifacts } = await import("./build-workflows-BZ_m97Pr-
|
|
981
|
+
const { buildWorkflowArtifacts } = await import("./build-workflows-BZ_m97Pr-HQZY4xBV.mjs");
|
|
982
982
|
const result = await buildWorkflowArtifacts({
|
|
983
983
|
entries: buildPlan.workflows,
|
|
984
984
|
workflowsByKey,
|
|
@@ -993,7 +993,7 @@ async function buildDiscoveredWorkflows(options) {
|
|
|
993
993
|
warnings.push(...result.warnings);
|
|
994
994
|
}
|
|
995
995
|
if (buildPlan.agents.length > 0) {
|
|
996
|
-
const { buildAgentArtifacts } = await import("./build-agents-DseUtzd4-
|
|
996
|
+
const { buildAgentArtifacts } = await import("./build-agents-DseUtzd4-Cmd-kNNO.mjs");
|
|
997
997
|
const result = await buildAgentArtifacts({
|
|
998
998
|
entries: buildPlan.agents,
|
|
999
999
|
projectRoot: options.projectRoot
|
|
@@ -1110,7 +1110,7 @@ async function createBuildPlan(options) {
|
|
|
1110
1110
|
const currentWorkflowIndex = workflowProgressIndex;
|
|
1111
1111
|
workflowProgressIndex += 1;
|
|
1112
1112
|
if (!loadResult?.ok) {
|
|
1113
|
-
const { createWorkflowMetadataFailure } = await import("./build-workflows-BZ_m97Pr-
|
|
1113
|
+
const { createWorkflowMetadataFailure } = await import("./build-workflows-BZ_m97Pr-HQZY4xBV.mjs");
|
|
1114
1114
|
plan.failures.push(createWorkflowMetadataFailure(discoveredWorkflow, loadResult?.error));
|
|
1115
1115
|
continue;
|
|
1116
1116
|
}
|
|
@@ -320,7 +320,7 @@ function createWorkflowsBuildCommand() {
|
|
|
320
320
|
description: "Build workflows locally",
|
|
321
321
|
schema: WorkflowsBuildOptionsSchema,
|
|
322
322
|
optionsConfig: BUILD_OPTIONS_CONFIG,
|
|
323
|
-
loadHandler: async () => (await import("./build.handler-
|
|
323
|
+
loadHandler: async () => (await import("./build.handler-5CpbMuHx.mjs")).handleWorkflowsBuild
|
|
324
324
|
});
|
|
325
325
|
}
|
|
326
326
|
//#endregion
|
|
@@ -347,7 +347,7 @@ function createWorkflowsDiffCommand() {
|
|
|
347
347
|
description: "Authored workflow id (preferred) or workflow name",
|
|
348
348
|
key: "workflow"
|
|
349
349
|
},
|
|
350
|
-
loadHandler: async () => (await import("./diff.handler-
|
|
350
|
+
loadHandler: async () => (await import("./diff.handler-Dcli35A1.mjs")).handleWorkflowsDiff
|
|
351
351
|
});
|
|
352
352
|
}
|
|
353
353
|
//#endregion
|
|
@@ -380,7 +380,7 @@ function createWorkflowsEnvCommand() {
|
|
|
380
380
|
key: "workflow",
|
|
381
381
|
required: false
|
|
382
382
|
},
|
|
383
|
-
loadHandler: async () => (await import("./env.handler-
|
|
383
|
+
loadHandler: async () => (await import("./env.handler-DzDtYyqj.mjs")).handleWorkflowsEnv
|
|
384
384
|
});
|
|
385
385
|
}
|
|
386
386
|
//#endregion
|
|
@@ -412,7 +412,7 @@ function createWorkflowsInspectCommand() {
|
|
|
412
412
|
description: "Authored workflow id (preferred) or workflow name",
|
|
413
413
|
key: "workflow"
|
|
414
414
|
},
|
|
415
|
-
loadHandler: async () => (await import("./inspect.handler-
|
|
415
|
+
loadHandler: async () => (await import("./inspect.handler-Bd4imZI8.mjs")).handleWorkflowsInspect
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
//#endregion
|
|
@@ -792,7 +792,7 @@ function createWorkflowsRunCommand() {
|
|
|
792
792
|
key: "payload",
|
|
793
793
|
required: false
|
|
794
794
|
}],
|
|
795
|
-
loadHandler: async () => (await import("./run.handler-
|
|
795
|
+
loadHandler: async () => (await import("./run.handler-CUgLQrsQ.mjs")).handleWorkflowsRun
|
|
796
796
|
});
|
|
797
797
|
}
|
|
798
798
|
//#endregion
|
|
@@ -847,7 +847,7 @@ function createWorkflowsTestCommand() {
|
|
|
847
847
|
description: "Authored workflow id (preferred) or workflow name. Multiple workflows with the same name run sequentially.",
|
|
848
848
|
key: "workflow"
|
|
849
849
|
},
|
|
850
|
-
loadHandler: async () => (await import("./test.handler-
|
|
850
|
+
loadHandler: async () => (await import("./test.handler-DBXBhJ59.mjs")).handleWorkflowsTest
|
|
851
851
|
});
|
|
852
852
|
}
|
|
853
853
|
//#endregion
|
|
@@ -885,7 +885,7 @@ function createWorkflowsValidateCommand() {
|
|
|
885
885
|
key: "workflow",
|
|
886
886
|
required: false
|
|
887
887
|
},
|
|
888
|
-
loadHandler: async () => (await import("./validate.handler-
|
|
888
|
+
loadHandler: async () => (await import("./validate.handler-DmiJmNA0.mjs")).handleWorkflowsValidate
|
|
889
889
|
});
|
|
890
890
|
}
|
|
891
891
|
//#endregion
|
|
@@ -904,14 +904,14 @@ function createWorkflowsCommand() {
|
|
|
904
904
|
description: "Manage, run, inspect, and debug workflows",
|
|
905
905
|
schema: WorkflowsOptionsSchema,
|
|
906
906
|
optionsConfig: WORKFLOWS_OPTIONS_CONFIG,
|
|
907
|
-
loadHandler: async () => (await import("./list.handler-
|
|
907
|
+
loadHandler: async () => (await import("./list.handler-C78XjR-o.mjs")).handleWorkflowsList,
|
|
908
908
|
subcommands: [
|
|
909
909
|
createTypedCommand({
|
|
910
910
|
name: "list",
|
|
911
911
|
description: "List all workflows in the project",
|
|
912
912
|
schema: WorkflowsOptionsSchema,
|
|
913
913
|
optionsConfig: WORKFLOWS_OPTIONS_CONFIG,
|
|
914
|
-
loadHandler: async () => (await import("./list.handler-
|
|
914
|
+
loadHandler: async () => (await import("./list.handler-C78XjR-o.mjs")).handleWorkflowsList
|
|
915
915
|
}),
|
|
916
916
|
createWorkflowsBuildCommand(),
|
|
917
917
|
createWorkflowsTestCommand(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.28",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Command-line interface for creating, managing, and deploying Keystroke automations.",
|
|
6
6
|
"type": "module",
|
|
@@ -32,26 +32,26 @@
|
|
|
32
32
|
"rolldown": "1.0.0",
|
|
33
33
|
"tsx": "^4.21.0",
|
|
34
34
|
"zod": "4.4.3",
|
|
35
|
-
"@keystrokehq/skills": "0.0.
|
|
35
|
+
"@keystrokehq/skills": "0.0.8"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"tsdown": "0.21.10",
|
|
39
39
|
"typescript": "^5.9.3",
|
|
40
40
|
"vitest": "^4.1.5",
|
|
41
|
-
"@keystroke/env-utils": "0.0.0",
|
|
42
|
-
"@keystroke/local-memory": "0.0.1",
|
|
43
|
-
"@keystroke/shared-types": "0.0.5",
|
|
44
41
|
"@keystrokehq/config": "0.0.2",
|
|
45
|
-
"@keystroke/test-utils": "0.0.
|
|
42
|
+
"@keystroke/test-utils": "0.0.4",
|
|
46
43
|
"@keystroke/typescript-config": "0.0.0",
|
|
44
|
+
"@keystroke/shared-types": "0.0.8",
|
|
47
45
|
"@keystroke/utils": "0.0.0",
|
|
48
|
-
"@
|
|
49
|
-
"@keystrokehq/runtime": "0.0.
|
|
50
|
-
"@keystrokehq/
|
|
51
|
-
"@keystrokehq/
|
|
52
|
-
"@
|
|
53
|
-
"@keystroke/workflow-
|
|
54
|
-
"@keystroke/workflow-
|
|
46
|
+
"@keystroke/workflow-builder": "0.0.10",
|
|
47
|
+
"@keystrokehq/runtime": "0.0.5",
|
|
48
|
+
"@keystrokehq/core": "0.0.8",
|
|
49
|
+
"@keystrokehq/workflow-build-contracts": "0.0.4",
|
|
50
|
+
"@keystrokehq/testing": "0.2.3",
|
|
51
|
+
"@keystroke/workflow-deploy": "0.0.9",
|
|
52
|
+
"@keystroke/workflow-sdk": "0.0.7",
|
|
53
|
+
"@keystroke/env-utils": "0.0.0",
|
|
54
|
+
"@keystroke/local-memory": "0.0.1"
|
|
55
55
|
},
|
|
56
56
|
"keywords": [
|
|
57
57
|
"automation",
|