@keystrokehq/cli 0.1.27 → 0.1.29

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.
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { g as emitStoredRouteManifestForProject } from "./dist-C1QOfWMM.mjs";
2
+ import { g as emitStoredRouteManifestForProject } from "./dist-C0_71CpG.mjs";
3
3
  export { emitStoredRouteManifestForProject };
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
- import { $ as GetCustomAppResponseSchema, $n as slugifyAppName, $t as SlugAvailabilityResponseSchema, A as CreateCustomAppRequestSchema, An as WorkflowRunHooksResponseSchema, At as PollRunResponseSchema, B as CredentialConsumerListQuerySchema, Bt as ProjectReachabilityResponseSchema, C as ConnectAuthorizeUrlResponseSchema, Cn as UploadProjectSourceResponseSchema, Ct as ListProjectsResponseSchema, D as CreateCredentialInstanceBodySchema, Dn as UserPreferencesPatchSchema, Dt as OrganizationSidebarBrandingSchema, E as CreateApiKeyResponseSchema, En as UserAvatarSchema, Et as OrganizationSidebarBrandingPatchSchema, F as CreateProjectRequestSchema, Fn as WorkspaceTriggerFileSchema, Ft as PresignProjectSourceRequestSchema, G as DOCS_QUERY_TOOL, Gt as PromptResponseSchema, H as CredentialInstanceListResponseSchema, Hn as detectProjectPackageManagerFromSnapshot, Ht as ProjectSettingsResponseSchema, I as CreateProjectResponseSchema, In as WorkspaceTriggerListResponseSchema, It as PresignProjectSourceResponseSchema, J as DownloadActiveProjectArtifactResponseSchema, Jn as parseErrorResponse, Jt as QueuedRunResponseSchema, K as DOCS_SEARCH_TOOL, L as CredentialAssignmentListQuerySchema, Ln as WorkspaceTriggerOverviewSchema, Lt as PresignUserAvatarRequestSchema, M as CreateOrganizationRequestSchema, Mn as WorkflowSummaryDetailResponseSchema, Mt as PresignChatAttachmentResponseSchema, N as CreateOrganizationResponseSchema, Nn as WorkflowSummaryListResponseSchema, Nt as PresignOrgLogoRequestSchema, O as CreateCredentialsRequestSchema, On as UserPreferencesSchema, Ot as PROJECT_PULL_STATE_RELATIVE_PATH, P as CreateProjectArtifactResponseSchema, Pn as WorkspaceTriggerDetailSchema, Pt as PresignOrgLogoResponseSchema, Q as GetCredentialResponseSchema, Qn as resolvePublicPlatformOrigin, Qt as SkillSummaryListResponseSchema, R as CredentialAssignmentListResponseSchema, Rn as WorkspaceTriggerRunListResponseSchema, Rt as PresignUserAvatarResponseSchema, S as CompleteProjectArtifactResponseSchema, Sn as UploadProjectSourceManifestRequestSchema, St as ListProjectMetricsResponseSchema, T as CreateApiKeyRequestSchema, Tn as UserAvatarPatchSchema, Tt as OpenApiDiscoverResponseSchema, U as CredentialInstanceRecordSchema, Un as isAcceptableInstallExit, Ut as ProjectSlugAvailabilityResponseSchema, V as CredentialConsumerListResponseSchema, Vn as deriveCustomAppDisplay, Vt as ProjectResponseSchema, Wn as listenPortFromPublicUrl, Wt as PromptInputSchema, X as ErrorResponseSchema, Xn as resolveConnectAppSlug, Xt as RecentResourceListResponseSchema, Y as DownloadActiveProjectSourceResponseSchema, Z as GatewayAttachmentRecordSchema, Zn as resolveDocsMcpUrl, Zt as SkillSummaryDetailResponseSchema, _ as ChannelAccountListResponseSchema, _n as UpdateOrganizationRequestSchema, _t as ListOrganizationMembersResponseSchema, a as AgentSessionDetailResponseSchema, an as StartOAuthConnectionResultSchema, at as HistoryRunListResponseSchema, b as ChannelDirectoryListResponseSchema, bn as UpdateProjectRequestSchema, bt as ListProjectFilesResponseSchema, c as AgentSummaryListResponseSchema, cn as TriggerDetailResponseSchema, ct as InviteProjectMembersRequestSchema, d as AssignCredentialBodySchema, dn as TriggerRunListResponseSchema, dt as ListAgentMemoryFilesResponseSchema, en as StartKeystrokeConnectionInputSchema, et as GraphqlDiscoverResponseSchema, f as BindChannelBodySchema, fn as UpdateChannelBindingBodySchema, ft as ListAgentWorkspaceFilesResponseSchema, g as CatalogAppsPageResponseSchema, gn as UpdateOrganizationMemberResponseSchema, gt as ListOrganizationInvitationsResponseSchema, h as CatalogAppDetailResponseSchema, hn as UpdateOrganizationMemberRequestSchema, ht as ListCredentialsResponseSchema, i as AgentSessionChatStateResponseSchema, in as StartOAuthConnectionInputSchema, it as HistoryRunListQuerySchema, j as CreateCustomAppResponseSchema, jn as WorkflowRunListResponseSchema, jt as PresignChatAttachmentRequestSchema, k as CreateCredentialsResponseSchema, kn as WorkflowRunDetailResponseSchema, kt as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, l as AgentTriggerSummaryListResponseSchema, ln as TriggerListResponseSchema, lt as InviteProjectMembersResponseSchema, m as CatalogActionsPageResponseSchema, mn as UpdateCredentialRequestSchema, mt as ListAppsResponseSchema, n as AcceptOrganizationInvitationResponseSchema, nn as StartMcpOAuthConnectionInputSchema, nt as HistoryRunCancelResponseSchema, o as AgentSessionListResponseSchema, on as SubmitMarketingContactRequestSchema, ot as InviteOrganizationMembersRequestSchema, p as CatalogActionDetailResponseSchema, pn as UpdateCredentialInstanceBodySchema, pt as ListApiKeysResponseSchema, q as DeclineOrganizationInvitationResponseSchema, qn as parseAppSlug, qt as QueuedAgentPromptResponseSchema, r as ActiveOrganizationResponseSchema, rn as StartMcpOAuthConnectionResultSchema, rt as HistoryRunDetailResponseSchema, s as AgentSummaryDetailResponseSchema, sn as SubmitTeamRequestRequestSchema, st as InviteOrganizationMembersResponseSchema, t as ACTIVE_ORG_HEADER, tn as StartKeystrokeConnectionResultSchema, tt as HealthResponseSchema, u as AppSlugAvailabilityResponseSchema, un as TriggerRunDetailResponseSchema, v as ChannelConnectionListResponseSchema, vn as UpdateProjectMemberRequestSchema, vt as ListOrganizationsResponseSchema, w as ConnectProvidersResponseSchema, wn as UpsertGatewayAttachmentBodySchema, wt as McpDiscoverResponseSchema, x as ChannelPlatformSchema, xn as UpdateProjectSettingsRequestSchema, xt as ListProjectMembersResponseSchema, y as ChannelConnectionSchema, yn as UpdateProjectMemberResponseSchema, yt as ListProjectDeploymentsResponseSchema, z as CredentialAssignmentRecordSchema, zn as buildConnectDeeplink, zt as ProjectPullStateSchema } from "./dist-BOhrc_Nv.mjs";
3
- import { i as packProjectArtifact, n as withMcpReadClient, r as mergeFilteredArtifact, t as mapInParallelBatches } from "./dist-Re6HHSqz.mjs";
4
- import { a as installPlaygroundDependencies, c as createCliConfig, d as getEffectiveApiTarget, f as getPlatformUrl, g as resolvePlatformUrlForWebUrl, i as installDependencies$1, l as getCliConfigDir, m as DEFAULT_PLATFORM_URL, n as buildPlaygroundWorkspace, o as resolvePackageManager, p as getWebUrl, s as resolveCliRoot, t as readCliVersion, u as getConfigDir } from "./version-pY9N8XlL.mjs";
2
+ import { $ as GetCustomAppResponseSchema, $t as SlugAvailabilityResponseSchema, A as CreateCustomAppRequestSchema, An as WorkflowCanvasRunSchema, At as PollRunResponseSchema, B as CredentialConsumerListQuerySchema, Bn as WorkspaceTriggerDetailSchema, Bt as ProjectReachabilityResponseSchema, C as ConnectAuthorizeUrlResponseSchema, Cn as UploadProjectSourceResponseSchema, Ct as ListProjectsResponseSchema, D as CreateCredentialInstanceBodySchema, Dn as UserPreferencesPatchSchema, Dt as OrganizationSidebarBrandingSchema, E as CreateApiKeyResponseSchema, En as UserAvatarSchema, Et as OrganizationSidebarBrandingPatchSchema, F as CreateProjectRequestSchema, Fn as WorkflowRunInputsSchema, Ft as PresignProjectSourceRequestSchema, G as DOCS_QUERY_TOOL, Gn as WorkspaceWorkflowOverviewSchema, Gt as PromptResponseSchema, H as CredentialInstanceListResponseSchema, Hn as WorkspaceTriggerListResponseSchema, Ht as ProjectSettingsResponseSchema, I as CreateProjectResponseSchema, In as WorkflowRunListResponseSchema, It as PresignProjectSourceResponseSchema, J as DownloadActiveProjectArtifactResponseSchema, Jn as deriveCustomAppDisplay, Jt as QueuedRunResponseSchema, K as DOCS_SEARCH_TOOL, Kn as buildConnectDeeplink, L as CredentialAssignmentListQuerySchema, Ln as WorkflowRunResponseSchema, Lt as PresignUserAvatarRequestSchema, M as CreateOrganizationRequestSchema, Mn as WorkflowRunDetailResponseSchema, Mt as PresignChatAttachmentResponseSchema, N as CreateOrganizationResponseSchema, Nn as WorkflowRunHooksResponseSchema, Nt as PresignOrgLogoRequestSchema, O as CreateCredentialsRequestSchema, On as UserPreferencesSchema, Ot as PROJECT_PULL_STATE_RELATIVE_PATH, P as CreateProjectArtifactResponseSchema, Pn as WorkflowRunInputsPutBodySchema, Pt as PresignOrgLogoResponseSchema, Q as GetCredentialResponseSchema, Qt as SkillSummaryListResponseSchema, R as CredentialAssignmentListResponseSchema, Rn as WorkflowSummaryDetailResponseSchema, Rt as PresignUserAvatarResponseSchema, S as CompleteProjectArtifactResponseSchema, Sn as UploadProjectSourceManifestRequestSchema, St as ListProjectMetricsResponseSchema, T as CreateApiKeyRequestSchema, Tn as UserAvatarPatchSchema, Tt as OpenApiDiscoverResponseSchema, U as CredentialInstanceRecordSchema, Un as WorkspaceTriggerOverviewSchema, Ut as ProjectSlugAvailabilityResponseSchema, V as CredentialConsumerListResponseSchema, Vn as WorkspaceTriggerFileSchema, Vt as ProjectResponseSchema, Wn as WorkspaceTriggerRunListResponseSchema, Wt as PromptInputSchema, X as ErrorResponseSchema, Xn as isAcceptableInstallExit, Xt as RecentResourceListResponseSchema, Y as DownloadActiveProjectSourceResponseSchema, Yn as detectProjectPackageManagerFromSnapshot, Z as GatewayAttachmentRecordSchema, Zn as listenPortFromPublicUrl, Zt as SkillSummaryDetailResponseSchema, _ as ChannelAccountListResponseSchema, _n as UpdateOrganizationRequestSchema, _t as ListOrganizationMembersResponseSchema, a as AgentSessionDetailResponseSchema, an as StartOAuthConnectionResultSchema, ar as resolveDocsMcpUrl, at as HistoryRunListResponseSchema, b as ChannelDirectoryListResponseSchema, bn as UpdateProjectRequestSchema, bt as ListProjectFilesResponseSchema, c as AgentSummaryListResponseSchema, cn as TriggerDetailResponseSchema, ct as InviteProjectMembersRequestSchema, d as AssignCredentialBodySchema, dn as TriggerRunListResponseSchema, dt as ListAgentMemoryFilesResponseSchema, en as StartKeystrokeConnectionInputSchema, er as parseAppSlug, et as GraphqlDiscoverResponseSchema, f as BindChannelBodySchema, fn as UpdateChannelBindingBodySchema, ft as ListAgentWorkspaceFilesResponseSchema, g as CatalogAppsPageResponseSchema, gn as UpdateOrganizationMemberResponseSchema, gt as ListOrganizationInvitationsResponseSchema, h as CatalogAppDetailResponseSchema, hn as UpdateOrganizationMemberRequestSchema, ht as ListCredentialsResponseSchema, i as AgentSessionChatStateResponseSchema, in as StartOAuthConnectionInputSchema, ir as resolveConnectAppSlug, it as HistoryRunListQuerySchema, j as CreateCustomAppResponseSchema, jn as WorkflowCanvasSchema, jt as PresignChatAttachmentRequestSchema, k as CreateCredentialsResponseSchema, kn as WorkflowCanvasCredentialBindingsSchema, kt as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, l as AgentTriggerSummaryListResponseSchema, ln as TriggerListResponseSchema, lt as InviteProjectMembersResponseSchema, m as CatalogActionsPageResponseSchema, mn as UpdateCredentialRequestSchema, mt as ListAppsResponseSchema, n as AcceptOrganizationInvitationResponseSchema, nn as StartMcpOAuthConnectionInputSchema, nt as HistoryRunCancelResponseSchema, o as AgentSessionListResponseSchema, on as SubmitMarketingContactRequestSchema, or as resolvePublicPlatformOrigin, ot as InviteOrganizationMembersRequestSchema, p as CatalogActionDetailResponseSchema, pn as UpdateCredentialInstanceBodySchema, pt as ListApiKeysResponseSchema, q as DeclineOrganizationInvitationResponseSchema, qt as QueuedAgentPromptResponseSchema, r as ActiveOrganizationResponseSchema, rn as StartMcpOAuthConnectionResultSchema, rt as HistoryRunDetailResponseSchema, s as AgentSummaryDetailResponseSchema, sn as SubmitTeamRequestRequestSchema, sr as slugifyAppName, st as InviteOrganizationMembersResponseSchema, t as ACTIVE_ORG_HEADER, tn as StartKeystrokeConnectionResultSchema, tr as parseErrorResponse, tt as HealthResponseSchema, u as AppSlugAvailabilityResponseSchema, un as TriggerRunDetailResponseSchema, v as ChannelConnectionListResponseSchema, vn as UpdateProjectMemberRequestSchema, vt as ListOrganizationsResponseSchema, w as ConnectProvidersResponseSchema, wn as UpsertGatewayAttachmentBodySchema, wt as McpDiscoverResponseSchema, x as ChannelPlatformSchema, xn as UpdateProjectSettingsRequestSchema, xt as ListProjectMembersResponseSchema, y as ChannelConnectionSchema, yn as UpdateProjectMemberResponseSchema, yt as ListProjectDeploymentsResponseSchema, z as CredentialAssignmentRecordSchema, zn as WorkflowSummaryListResponseSchema, zt as ProjectPullStateSchema } from "./dist-COhdZicI.mjs";
3
+ import { i as packProjectArtifact, n as withMcpReadClient, r as mergeFilteredArtifact, t as mapInParallelBatches } from "./dist-9VWONIo1.mjs";
4
+ import { a as installPlaygroundDependencies, c as createCliConfig, d as getEffectiveApiTarget, f as getPlatformUrl, g as resolvePlatformUrlForWebUrl, i as installDependencies$1, l as getCliConfigDir, m as DEFAULT_PLATFORM_URL, n as buildPlaygroundWorkspace, o as resolvePackageManager, p as getWebUrl, s as resolveCliRoot, t as readCliVersion, u as getConfigDir } from "./version-DtFg32hj.mjs";
5
5
  import { createRequire } from "node:module";
6
6
  import { Command } from "commander";
7
7
  import { basename, dirname, isAbsolute, join, relative, resolve } from "node:path";
@@ -3805,11 +3805,18 @@ function createProjectMetricsResource(http) {
3805
3805
  }
3806
3806
  } };
3807
3807
  }
3808
+ /**
3809
+ * `platform.workflows` resource.
3810
+ *
3811
+ * Every method calls a real platform route: list/detail, file, run history,
3812
+ * run-inputs, canvas, overview, the canvas run overlay (`getCanvasRun`), the
3813
+ * credential overlay (`getCanvasCredentialBindings`), and manual `run`.
3814
+ */
3808
3815
  function createWorkflowsResource(http) {
3809
3816
  return {
3810
3817
  async list(options) {
3811
3818
  try {
3812
- const data = await http.get("/api/workflows", { searchParams: listSearchParams(options) }).json();
3819
+ const data = await http.get("api/workflows", { searchParams: listSearchParams(options) }).json();
3813
3820
  return WorkflowSummaryListResponseSchema.parse(data);
3814
3821
  } catch (error) {
3815
3822
  throw await toPlatformError(error);
@@ -3817,12 +3824,120 @@ function createWorkflowsResource(http) {
3817
3824
  },
3818
3825
  async get(workflowId) {
3819
3826
  try {
3820
- const data = await http.get(`/api/workflows/${encodeURIComponent(workflowId)}`).json();
3827
+ const data = await http.get(`api/workflows/${encodeURIComponent(workflowId)}`).json();
3821
3828
  return WorkflowSummaryDetailResponseSchema.parse(data);
3822
3829
  } catch (error) {
3823
3830
  throw await toPlatformError(error);
3824
3831
  }
3825
3832
  },
3833
+ /**
3834
+ * LLM-generated overview (summary + guided-tour phases), content-hash cached
3835
+ * and served stale-while-revalidating; poll while `status` is "generating".
3836
+ */
3837
+ async getOverview(workflowId) {
3838
+ try {
3839
+ const data = await http.get(`api/workflows/${encodeURIComponent(workflowId)}/overview`).json();
3840
+ return WorkspaceWorkflowOverviewSchema.parse(data);
3841
+ } catch (error) {
3842
+ throw await toPlatformError(error);
3843
+ }
3844
+ },
3845
+ /**
3846
+ * The workflow source file from the active deploy source snapshot. Takes the
3847
+ * workflow's `projectId`/`slug`/`sourcePath` (already on `WorkflowSummary`) so
3848
+ * it resolves the file in two calls (project files + content) instead of
3849
+ * re-fetching the workflow detail the caller already holds.
3850
+ */
3851
+ async getFile(input) {
3852
+ try {
3853
+ const filesData = await http.get(`api/projects/${encodeURIComponent(input.projectId)}/files`).json();
3854
+ const files = ListProjectFilesResponseSchema.parse(filesData);
3855
+ if (!files.artifactId) return null;
3856
+ const path = files.resources.workflows.find((entry) => entry.slug === input.slug)?.path ?? input.sourcePath;
3857
+ if (!path) return null;
3858
+ return {
3859
+ path,
3860
+ contents: await http.get(`api/projects/${encodeURIComponent(input.projectId)}/artifacts/${encodeURIComponent(files.artifactId)}/files/content`, { searchParams: { path } }).text()
3861
+ };
3862
+ } catch (error) {
3863
+ throw await toPlatformError(error);
3864
+ }
3865
+ },
3866
+ /**
3867
+ * Read-only canvas graph (deterministic AST skeleton + manifest trigger
3868
+ * nodes) plus the gated code-block annotation layer. Returns null when the
3869
+ * active deploy has no flow graph for the workflow (404).
3870
+ */
3871
+ async getCanvas(workflowId) {
3872
+ try {
3873
+ const response = await http.get(`api/workflows/${encodeURIComponent(workflowId)}/canvas`);
3874
+ if (response.status === 404) return null;
3875
+ return WorkflowCanvasSchema.parse(await response.json());
3876
+ } catch (error) {
3877
+ throw await toPlatformError(error);
3878
+ }
3879
+ },
3880
+ /**
3881
+ * Live credential overlay: canvas node id → how each of its step's credential
3882
+ * requirements currently resolves (bound instance + policy). Resolved per view
3883
+ * (not cached) since credential state changes without a redeploy.
3884
+ */
3885
+ async getCanvasCredentialBindings(workflowId) {
3886
+ try {
3887
+ const data = await http.get(`api/workflows/${encodeURIComponent(workflowId)}/canvas/credentials`).json();
3888
+ return WorkflowCanvasCredentialBindingsSchema.parse(data);
3889
+ } catch (error) {
3890
+ throw await toPlatformError(error);
3891
+ }
3892
+ },
3893
+ /** Per-node run state for a finished/live run, projected onto the canvas skeleton. */
3894
+ async getCanvasRun(workflowId, runId) {
3895
+ try {
3896
+ const response = await http.get(`api/workflows/${encodeURIComponent(workflowId)}/canvas/runs/${encodeURIComponent(runId)}`);
3897
+ if (response.status === 404) return null;
3898
+ return WorkflowCanvasRunSchema.parse(await response.json());
3899
+ } catch (error) {
3900
+ throw await toPlatformError(error);
3901
+ }
3902
+ },
3903
+ async listCanvasRuns(workflowId) {
3904
+ try {
3905
+ const data = await http.get(`api/workflows/${encodeURIComponent(workflowId)}/runs`).json();
3906
+ return HistoryRunListResponseSchema.parse(data);
3907
+ } catch (error) {
3908
+ throw await toPlatformError(error);
3909
+ }
3910
+ },
3911
+ async getRunInputs(workflowId) {
3912
+ try {
3913
+ const data = await http.get(`api/workflows/${encodeURIComponent(workflowId)}/run-inputs`).json();
3914
+ return WorkflowRunInputsSchema.parse(data);
3915
+ } catch (error) {
3916
+ throw await toPlatformError(error);
3917
+ }
3918
+ },
3919
+ async saveRunInputs(workflowId, values) {
3920
+ try {
3921
+ const body = WorkflowRunInputsPutBodySchema.parse(values);
3922
+ const data = await http.put(`api/workflows/${encodeURIComponent(workflowId)}/run-inputs`, { json: body }).json();
3923
+ return WorkflowRunInputsSchema.parse(data);
3924
+ } catch (error) {
3925
+ throw await toPlatformError(error);
3926
+ }
3927
+ },
3928
+ /**
3929
+ * Manually start a workflow run from the dashboard. Validates the input
3930
+ * against the active deploy's request schema, enqueues the run, and returns
3931
+ * its id (surface the new run by refetching {@link listCanvasRuns}).
3932
+ */
3933
+ async run(workflowId, input = {}) {
3934
+ try {
3935
+ const data = await http.post(`api/workflows/${encodeURIComponent(workflowId)}/run`, { json: input }).json();
3936
+ return WorkflowRunResponseSchema.parse(data);
3937
+ } catch (error) {
3938
+ throw await toPlatformError(error);
3939
+ }
3940
+ },
3826
3941
  async cancelRun(runId) {
3827
3942
  try {
3828
3943
  const response = await http.post(`api/workflows/runs/${encodeURIComponent(runId)}/cancel`);
@@ -6262,7 +6377,7 @@ function registerBuildCommand(program) {
6262
6377
  program.command("build").description("Build the keystroke project for production").option("--dir <path>", "Project directory", process.cwd()).action(async (options) => {
6263
6378
  try {
6264
6379
  const root = resolveProjectRoot(options.dir);
6265
- const { buildApp } = await import("./dist-CUEVu120.mjs");
6380
+ const { buildApp } = await import("./dist-BGJ-Gw_w.mjs");
6266
6381
  await buildApp({ root });
6267
6382
  process.stdout.write(`Built ${root}\n`);
6268
6383
  } catch (error) {
@@ -6316,7 +6431,7 @@ async function sleep(ms) {
6316
6431
  }
6317
6432
  async function buildDeployArchive(client, root, projectId, filter) {
6318
6433
  if (filter?.length) {
6319
- const { buildFilteredApp } = await import("./dist-CUEVu120.mjs");
6434
+ const { buildFilteredApp } = await import("./dist-BGJ-Gw_w.mjs");
6320
6435
  const filtered = await buildFilteredApp({
6321
6436
  root,
6322
6437
  filter,
@@ -6338,7 +6453,7 @@ async function buildDeployArchive(client, root, projectId, filter) {
6338
6453
  sourceFiles: filtered.sourceFiles
6339
6454
  };
6340
6455
  }
6341
- const { buildApp } = await import("./dist-CUEVu120.mjs");
6456
+ const { buildApp } = await import("./dist-BGJ-Gw_w.mjs");
6342
6457
  const { sourceFiles } = await buildApp({
6343
6458
  root,
6344
6459
  collectSources: true,
@@ -6457,7 +6572,7 @@ function runtimeChildEnv(parentEnv, overrides) {
6457
6572
  //#region src/project/bootstrap-run.ts
6458
6573
  /** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
6459
6574
  async function resolveBootstrapRun(options) {
6460
- const { resolveRuntimeBuildArtifact } = await import("./dist-CUEVu120.mjs");
6575
+ const { resolveRuntimeBuildArtifact } = await import("./dist-BGJ-Gw_w.mjs");
6461
6576
  const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
6462
6577
  const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/standalone-bootstrap.mjs");
6463
6578
  const args = [`--import=${loader}`];
@@ -6606,7 +6721,7 @@ async function runDev(options) {
6606
6721
  process.on("SIGINT", shutdown);
6607
6722
  process.on("SIGTERM", shutdown);
6608
6723
  try {
6609
- const { watchApp } = await import("./dist-CUEVu120.mjs");
6724
+ const { watchApp } = await import("./dist-BGJ-Gw_w.mjs");
6610
6725
  await watchApp({
6611
6726
  root,
6612
6727
  clean: false,
@@ -6813,7 +6928,7 @@ const INIT_CATALOG_VERSIONS = {
6813
6928
  vitest: "^4.1.7",
6814
6929
  "@types/node": "^25.9.1"
6815
6930
  };
6816
- const INIT_KEYSTROKE_VERSION = "^0.1.23";
6931
+ const INIT_KEYSTROKE_VERSION = "^0.1.24";
6817
6932
  //#endregion
6818
6933
  //#region src/init/copy-template.ts
6819
6934
  function renderTemplate(content, variables) {
@@ -7645,7 +7760,7 @@ async function runStart(options) {
7645
7760
  const apiPort = Number(new URL(serverUrl).port || 80);
7646
7761
  const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
7647
7762
  ensureNativeDeps(runtimeNodeModules);
7648
- const { buildApp } = await import("./dist-CUEVu120.mjs");
7763
+ const { buildApp } = await import("./dist-BGJ-Gw_w.mjs");
7649
7764
  await buildApp({
7650
7765
  root,
7651
7766
  clean: false
@@ -8207,7 +8322,7 @@ function createProgram() {
8207
8322
  return program;
8208
8323
  }
8209
8324
  async function runCli(argv) {
8210
- const { maybeAutoUpdate } = await import("./maybe-auto-update-BDvSKDZp.mjs");
8325
+ const { maybeAutoUpdate } = await import("./maybe-auto-update--WoIaE-P.mjs");
8211
8326
  await maybeAutoUpdate(argv);
8212
8327
  createProgram().parse(argv);
8213
8328
  }