@keystrokehq/cli 0.0.152 → 0.0.154

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/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { $ as PollRunResponseSchema, A as GetCredentialResponseSchema, At as UpdateOrganizationRequestSchema, B as ListAppsResponseSchema, Bt as UserPreferencesPatchSchema, C as CreateProjectRequestSchema, Ct as TriggerRunDetailResponseSchema, D as DeclineOrganizationInvitationResponseSchema, Dt as UpdateCredentialRequestSchema, E as CredentialInstanceRecordSchema, Et as UpdateCredentialInstanceBodySchema, F as HistoryRunListResponseSchema, Ft as UploadProjectSourceManifestRequestSchema, G as ListProjectDeploymentsResponseSchema, Gt as WorkflowSummaryListResponseSchema, H as ListOrganizationInvitationsResponseSchema, Ht as WorkflowRunDetailResponseSchema, I as InviteOrganizationMembersRequestSchema, It as UploadProjectSourceResponseSchema, J as ListProjectMetricsResponseSchema, Jt as originFromPublicUrl, K as ListProjectFilesResponseSchema, Kt as listenPortFromPublicUrl, L as InviteOrganizationMembersResponseSchema, Lt as UpsertGatewayAttachmentBodySchema, M as HistoryRunCancelResponseSchema, Mt as UpdateProjectMemberResponseSchema, N as HistoryRunDetailResponseSchema, Nt as UpdateProjectRequestSchema, O as ErrorResponseSchema, Ot as UpdateOrganizationMemberRequestSchema, P as HistoryRunListQuerySchema, Pt as UpdateProjectSettingsRequestSchema, Q as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, R as InviteProjectMembersRequestSchema, Rt as UserAvatarPatchSchema, S as CreateProjectArtifactResponseSchema, St as TriggerListResponseSchema, T as CredentialInstanceListResponseSchema, Tt as UpdateChannelBindingBodySchema, U as ListOrganizationMembersResponseSchema, Ut as WorkflowRunListResponseSchema, V as ListCredentialsResponseSchema, Vt as UserPreferencesSchema, W as ListOrganizationsResponseSchema, Wt as WorkflowSummaryDetailResponseSchema, X as OrganizationSidebarBrandingPatchSchema, Y as ListProjectsResponseSchema, Yt as parseErrorResponse, Z as OrganizationSidebarBrandingSchema, _ as CreateCredentialInstanceBodySchema, _t as SkillSummaryListResponseSchema, a as AgentSessionListResponseSchema, at as PresignUserAvatarResponseSchema, b as CreateOrganizationRequestSchema, bt as StartOAuthConnectionResultSchema, c as BindChannelBodySchema, ct as ProjectSettingsResponseSchema, d as ChannelConnectionSchema, dt as PromptResponseSchema, et as PresignOrgLogoRequestSchema, f as ChannelDirectoryListResponseSchema, ft as QueuedAgentPromptResponseSchema, g as ConnectProvidersResponseSchema, gt as SkillSummaryDetailResponseSchema, h as ConnectAuthorizeUrlResponseSchema, ht as RecentResourceListResponseSchema, i as AgentSessionDetailResponseSchema, it as PresignUserAvatarRequestSchema, j as HealthResponseSchema, jt as UpdateProjectMemberRequestSchema, k as GatewayAttachmentRecordSchema, kt as UpdateOrganizationMemberResponseSchema, l as ChannelAccountListResponseSchema, lt as ProjectSlugAvailabilityResponseSchema, m as CompleteProjectArtifactResponseSchema, mt as ROUTE_MANIFEST_REL_PATH, n as AcceptOrganizationInvitationResponseSchema, nt as PresignProjectSourceRequestSchema, o as AgentSummaryDetailResponseSchema, ot as ProjectReachabilityResponseSchema, p as ChannelPlatformSchema, pt as QueuedRunResponseSchema, q as ListProjectMembersResponseSchema, r as ActiveOrganizationResponseSchema, rt as PresignProjectSourceResponseSchema, s as AgentSummaryListResponseSchema, st as ProjectResponseSchema, t as ACTIVE_ORG_HEADER, tt as PresignOrgLogoResponseSchema, u as ChannelConnectionListResponseSchema, ut as PromptInputSchema, v as CreateCredentialsRequestSchema, vt as SlugAvailabilityResponseSchema, w as CreateProjectResponseSchema, wt as TriggerRunListResponseSchema, x as CreateOrganizationResponseSchema, xt as TriggerDetailResponseSchema, y as CreateCredentialsResponseSchema, yt as StartOAuthConnectionInputSchema, z as InviteProjectMembersResponseSchema, zt as UserAvatarSchema } from "./dist-CPNPA1VB.mjs";
2
+ import { $ as OrganizationSidebarBrandingPatchSchema, $t as parseErrorResponse, A as ErrorResponseSchema, At as UpdateCredentialInstanceBodySchema, B as InviteProjectMembersRequestSchema, Bt as UploadProjectSourceResponseSchema, C as CreateOrganizationResponseSchema, Ct as StartOAuthConnectionResultSchema, D as CredentialInstanceListResponseSchema, Dt as TriggerRunDetailResponseSchema, E as CreateProjectResponseSchema, Et as TriggerListResponseSchema, F as HistoryRunDetailResponseSchema, Ft as UpdateProjectMemberRequestSchema, G as ListOrganizationInvitationsResponseSchema, Gt as UserPreferencesSchema, H as ListApiKeysResponseSchema, Ht as UserAvatarPatchSchema, I as HistoryRunListQuerySchema, It as UpdateProjectMemberResponseSchema, J as ListProjectDeploymentsResponseSchema, Jt as WorkflowSummaryDetailResponseSchema, K as ListOrganizationMembersResponseSchema, Kt as WorkflowRunDetailResponseSchema, L as HistoryRunListResponseSchema, Lt as UpdateProjectRequestSchema, M as GetCredentialResponseSchema, Mt as UpdateOrganizationMemberRequestSchema, N as HealthResponseSchema, Nt as UpdateOrganizationMemberResponseSchema, O as CredentialInstanceRecordSchema, Ot as TriggerRunListResponseSchema, P as HistoryRunCancelResponseSchema, Pt as UpdateOrganizationRequestSchema, Q as ListProjectsResponseSchema, Qt as originFromPublicUrl, R as InviteOrganizationMembersRequestSchema, Rt as UpdateProjectSettingsRequestSchema, S as CreateOrganizationRequestSchema, St as StartOAuthConnectionInputSchema, T as CreateProjectRequestSchema, Tt as TriggerDetailResponseSchema, U as ListAppsResponseSchema, Ut as UserAvatarSchema, V as InviteProjectMembersResponseSchema, Vt as UpsertGatewayAttachmentBodySchema, W as ListCredentialsResponseSchema, Wt as UserPreferencesPatchSchema, X as ListProjectMembersResponseSchema, Xt as listenPortFromPublicUrl, Y as ListProjectFilesResponseSchema, Yt as WorkflowSummaryListResponseSchema, Z as ListProjectMetricsResponseSchema, _ as CreateApiKeyRequestSchema, _t as ROUTE_MANIFEST_REL_PATH, a as AgentSessionListResponseSchema, at as PresignProjectSourceRequestSchema, b as CreateCredentialsRequestSchema, bt as SkillSummaryListResponseSchema, c as BindChannelBodySchema, ct as PresignUserAvatarResponseSchema, d as ChannelConnectionSchema, dt as ProjectSettingsResponseSchema, et as OrganizationSidebarBrandingSchema, f as ChannelDirectoryListResponseSchema, ft as ProjectSlugAvailabilityResponseSchema, g as ConnectProvidersResponseSchema, gt as QueuedRunResponseSchema, h as ConnectAuthorizeUrlResponseSchema, ht as QueuedAgentPromptResponseSchema, i as AgentSessionDetailResponseSchema, it as PresignOrgLogoResponseSchema, j as GatewayAttachmentRecordSchema, jt as UpdateCredentialRequestSchema, k as DeclineOrganizationInvitationResponseSchema, kt as UpdateChannelBindingBodySchema, l as ChannelAccountListResponseSchema, lt as ProjectReachabilityResponseSchema, m as CompleteProjectArtifactResponseSchema, mt as PromptResponseSchema, n as AcceptOrganizationInvitationResponseSchema, nt as PollRunResponseSchema, o as AgentSummaryDetailResponseSchema, ot as PresignProjectSourceResponseSchema, p as ChannelPlatformSchema, pt as PromptInputSchema, q as ListOrganizationsResponseSchema, qt as WorkflowRunListResponseSchema, r as ActiveOrganizationResponseSchema, rt as PresignOrgLogoRequestSchema, s as AgentSummaryListResponseSchema, st as PresignUserAvatarRequestSchema, t as ACTIVE_ORG_HEADER, tt as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, u as ChannelConnectionListResponseSchema, ut as ProjectResponseSchema, v as CreateApiKeyResponseSchema, vt as RecentResourceListResponseSchema, w as CreateProjectArtifactResponseSchema, wt as SubmitTeamRequestRequestSchema, x as CreateCredentialsResponseSchema, xt as SlugAvailabilityResponseSchema, y as CreateCredentialInstanceBodySchema, yt as SkillSummaryDetailResponseSchema, z as InviteOrganizationMembersResponseSchema, zt as UploadProjectSourceManifestRequestSchema } from "./dist-BQXd3jdL.mjs";
3
3
  import { t as walkProject } from "./walk-project-171B4cvO-DJy3qZKd.mjs";
4
4
  import { a as installPlaygroundDependencies, i as installDependencies, n as buildPlaygroundWorkspace, o as resolvePackageManager, s as resolveCliRoot, t as readCliVersion } from "./version-DESgLEkE.mjs";
5
5
  import { createRequire } from "node:module";
@@ -3750,6 +3750,16 @@ function createSkillsResource(http) {
3750
3750
  }
3751
3751
  };
3752
3752
  }
3753
+ function createTeamRequestsResource(http) {
3754
+ return { async submit(input) {
3755
+ const body = SubmitTeamRequestRequestSchema.parse(input);
3756
+ try {
3757
+ await http.post("/api/team-requests", { json: body }).json();
3758
+ } catch (error) {
3759
+ throw await toPlatformError(error);
3760
+ }
3761
+ } };
3762
+ }
3753
3763
  function createRecentsResource(http) {
3754
3764
  return { async list() {
3755
3765
  try {
@@ -3760,6 +3770,84 @@ function createRecentsResource(http) {
3760
3770
  }
3761
3771
  } };
3762
3772
  }
3773
+ function buildOAuthAuthorizeSearchParams(input) {
3774
+ const params = {};
3775
+ const scopes = input.scopes ?? [];
3776
+ if (scopes.length > 0) params.scopes = scopes.join(",");
3777
+ const projectIds = input.projects ?? [];
3778
+ if (projectIds.length > 0) params.projects = projectIds.join(",");
3779
+ if (input.createOrganizationCredential) params.org = "true";
3780
+ if (input.createUserProvidedCredential) params.user = "true";
3781
+ return params;
3782
+ }
3783
+ function createCredentialsResource(http) {
3784
+ return {
3785
+ async list() {
3786
+ try {
3787
+ const data = await http.get("/api/credentials").json();
3788
+ return ListCredentialsResponseSchema.parse(data).credentials;
3789
+ } catch (error) {
3790
+ throw await toPlatformError(error);
3791
+ }
3792
+ },
3793
+ async get(credentialId) {
3794
+ try {
3795
+ const data = await http.get(`/api/credentials/${encodeURIComponent(credentialId)}`).json();
3796
+ return GetCredentialResponseSchema.parse(data).credential;
3797
+ } catch (error) {
3798
+ throw await toPlatformError(error);
3799
+ }
3800
+ },
3801
+ async create(input) {
3802
+ const body = CreateCredentialsRequestSchema.parse(input);
3803
+ try {
3804
+ const data = await http.post("/api/credentials", { json: body }).json();
3805
+ return CreateCredentialsResponseSchema.parse(data).credentials;
3806
+ } catch (error) {
3807
+ throw await toPlatformError(error);
3808
+ }
3809
+ },
3810
+ async update(credentialId, patch) {
3811
+ const body = UpdateCredentialRequestSchema.parse(patch);
3812
+ try {
3813
+ const data = await http.patch(`/api/credentials/${encodeURIComponent(credentialId)}`, { json: body }).json();
3814
+ return GetCredentialResponseSchema.parse(data).credential;
3815
+ } catch (error) {
3816
+ throw await toPlatformError(error);
3817
+ }
3818
+ },
3819
+ async delete(credentialId) {
3820
+ try {
3821
+ await http.delete(`/api/credentials/${encodeURIComponent(credentialId)}`);
3822
+ } catch (error) {
3823
+ throw await toPlatformError(error);
3824
+ }
3825
+ },
3826
+ async startOAuthConnection(input) {
3827
+ const body = StartOAuthConnectionInputSchema.parse(input);
3828
+ try {
3829
+ const data = await http.get(`/api/oauth/${encodeURIComponent(body.appId)}/authorize-url`, { searchParams: buildOAuthAuthorizeSearchParams(body) }).json();
3830
+ const { url } = ConnectAuthorizeUrlResponseSchema.parse(data);
3831
+ return StartOAuthConnectionResultSchema.parse({
3832
+ status: "redirecting",
3833
+ authorizeUrl: url
3834
+ });
3835
+ } catch (error) {
3836
+ throw await toPlatformError(error);
3837
+ }
3838
+ }
3839
+ };
3840
+ }
3841
+ function createAppsResource(http) {
3842
+ return { async listCatalog() {
3843
+ try {
3844
+ const data = await http.get("/api/apps").json();
3845
+ return ListAppsResponseSchema.parse(data).apps;
3846
+ } catch (error) {
3847
+ throw await toPlatformError(error);
3848
+ }
3849
+ } };
3850
+ }
3763
3851
  function createMembersResource(http) {
3764
3852
  return {
3765
3853
  async listOrganizationMembers() {
@@ -3889,198 +3977,34 @@ function createInvitationsResource(http) {
3889
3977
  }
3890
3978
  };
3891
3979
  }
3892
- function buildOAuthAuthorizeSearchParams(input) {
3893
- const params = {};
3894
- const scopes = input.scopes ?? [];
3895
- if (scopes.length > 0) params.scopes = scopes.join(",");
3896
- const projectIds = input.projects ?? [];
3897
- if (projectIds.length > 0) params.projects = projectIds.join(",");
3898
- if (input.createOrganizationCredential) params.org = "true";
3899
- if (input.createUserProvidedCredential) params.user = "true";
3900
- return params;
3901
- }
3902
- function createCredentialsResource(http) {
3980
+ function createApiKeysResource(http) {
3903
3981
  return {
3904
3982
  async list() {
3905
3983
  try {
3906
- const data = await http.get("/api/credentials").json();
3907
- return ListCredentialsResponseSchema.parse(data).credentials;
3908
- } catch (error) {
3909
- throw await toPlatformError(error);
3910
- }
3911
- },
3912
- async get(credentialId) {
3913
- try {
3914
- const data = await http.get(`/api/credentials/${encodeURIComponent(credentialId)}`).json();
3915
- return GetCredentialResponseSchema.parse(data).credential;
3984
+ const data = await http.get("/api/api-keys").json();
3985
+ return ListApiKeysResponseSchema.parse(data).apiKeys;
3916
3986
  } catch (error) {
3917
3987
  throw await toPlatformError(error);
3918
3988
  }
3919
3989
  },
3920
3990
  async create(input) {
3921
- const body = CreateCredentialsRequestSchema.parse(input);
3922
- try {
3923
- const data = await http.post("/api/credentials", { json: body }).json();
3924
- return CreateCredentialsResponseSchema.parse(data).credentials;
3925
- } catch (error) {
3926
- throw await toPlatformError(error);
3927
- }
3928
- },
3929
- async update(credentialId, patch) {
3930
- const body = UpdateCredentialRequestSchema.parse(patch);
3931
- try {
3932
- const data = await http.patch(`/api/credentials/${encodeURIComponent(credentialId)}`, { json: body }).json();
3933
- return GetCredentialResponseSchema.parse(data).credential;
3934
- } catch (error) {
3935
- throw await toPlatformError(error);
3936
- }
3937
- },
3938
- async delete(credentialId) {
3991
+ const body = CreateApiKeyRequestSchema.parse(input);
3939
3992
  try {
3940
- await http.delete(`/api/credentials/${encodeURIComponent(credentialId)}`);
3993
+ const data = await http.post("/api/api-keys", { json: body }).json();
3994
+ return CreateApiKeyResponseSchema.parse(data);
3941
3995
  } catch (error) {
3942
3996
  throw await toPlatformError(error);
3943
3997
  }
3944
3998
  },
3945
- async startOAuthConnection(input) {
3946
- const body = StartOAuthConnectionInputSchema.parse(input);
3999
+ async revoke(apiKeyId) {
3947
4000
  try {
3948
- const data = await http.get(`/api/oauth/${encodeURIComponent(body.appId)}/authorize-url`, { searchParams: buildOAuthAuthorizeSearchParams(body) }).json();
3949
- const { url } = ConnectAuthorizeUrlResponseSchema.parse(data);
3950
- return StartOAuthConnectionResultSchema.parse({
3951
- status: "redirecting",
3952
- authorizeUrl: url
3953
- });
4001
+ await http.delete(`/api/api-keys/${encodeURIComponent(apiKeyId)}`);
3954
4002
  } catch (error) {
3955
4003
  throw await toPlatformError(error);
3956
4004
  }
3957
4005
  }
3958
4006
  };
3959
4007
  }
3960
- function createAppsResource(http) {
3961
- return { async listCatalog() {
3962
- try {
3963
- const data = await http.get("/api/apps").json();
3964
- return ListAppsResponseSchema.parse(data).apps;
3965
- } catch (error) {
3966
- throw await toPlatformError(error);
3967
- }
3968
- } };
3969
- }
3970
- const registry = /* @__PURE__ */ new Map();
3971
- /**
3972
- * Wraps a mock implementation, registering it in the manifest. The returned
3973
- * function is the unchanged implementation — `mock()` only adds bookkeeping.
3974
- */
3975
- function mock(entry, impl) {
3976
- registry.set(`${entry.domain}.${entry.method}`, entry);
3977
- return impl;
3978
- }
3979
- /** Review personas for mocked project members and API key authors (not org membership). */
3980
- const mockPersonaSeed = [
3981
- {
3982
- id: "user_blake_rouse",
3983
- name: "Blake Rouse",
3984
- email: "blake@keystroke.ai",
3985
- avatarUrl: "/icons/avatars/blake-rouse.png",
3986
- joinedAt: "2026-01-12T18:00:00Z",
3987
- lastActiveAt: "2026-05-31T18:00:00Z"
3988
- },
3989
- {
3990
- id: "org-member-nate",
3991
- name: "Nate Wells",
3992
- email: "nate@keystroke.ai",
3993
- avatarUrl: "/icons/avatars/nate-kelley.png",
3994
- joinedAt: "2026-02-03T18:00:00Z",
3995
- lastActiveAt: "2026-05-31T16:00:00Z"
3996
- },
3997
- {
3998
- id: "org-member-dallin",
3999
- name: "Dallin Bentley",
4000
- email: "dallin@keystroke.ai",
4001
- avatarUrl: "/icons/avatars/dallin-bentley.png",
4002
- joinedAt: "2026-03-18T18:00:00Z",
4003
- lastActiveAt: "2026-05-30T16:00:00Z"
4004
- },
4005
- {
4006
- id: "org-member-wells",
4007
- name: "Wells Riley",
4008
- email: "wells@keystroke.ai",
4009
- avatarUrl: "/icons/avatars/wells-bunker.png",
4010
- joinedAt: "2026-04-09T18:00:00Z",
4011
- lastActiveAt: "2026-05-20T16:00:00Z"
4012
- }
4013
- ];
4014
- const apiKeySeed = [
4015
- {
4016
- id: "api-key-local-dev",
4017
- name: "LOCAL_DEV_BLAKE",
4018
- keyPreview: "******J7Pt",
4019
- createdAt: "2026-04-20T15:44:00Z",
4020
- createdBy: mockPersonaSeed[0],
4021
- isCreatedByCurrentUser: true
4022
- },
4023
- {
4024
- id: "api-key-ci-deploy",
4025
- name: "CI deploy",
4026
- keyPreview: "******TJb7",
4027
- createdAt: "2026-03-08T15:44:00Z",
4028
- createdBy: mockPersonaSeed[1],
4029
- isCreatedByCurrentUser: false
4030
- },
4031
- {
4032
- id: "api-key-partner-webhooks",
4033
- name: "partner_webhooks",
4034
- keyPreview: "******9Qzc",
4035
- createdAt: "2026-02-18T15:44:00Z",
4036
- createdBy: mockPersonaSeed[2],
4037
- isCreatedByCurrentUser: false
4038
- }
4039
- ];
4040
- function createMockApiKeySecret() {
4041
- const secret = `sk_${`${Date.now().toString(36)}${Math.random().toString(36).slice(2, 10)}`}`;
4042
- return {
4043
- secret,
4044
- keyPreview: `******${secret.slice(-4)}`
4045
- };
4046
- }
4047
- let apiKeyRecords = [...apiKeySeed];
4048
- function createApiKeysResource() {
4049
- return {
4050
- list: mock({
4051
- domain: "apiKeys",
4052
- method: "list",
4053
- plannedEndpoint: "GET /api/api-keys"
4054
- }, async () => apiKeyRecords),
4055
- create: mock({
4056
- domain: "apiKeys",
4057
- method: "create",
4058
- plannedEndpoint: "POST /api/api-keys"
4059
- }, async (input) => {
4060
- const { secret, keyPreview } = createMockApiKeySecret();
4061
- const created = {
4062
- id: `api-key-${Date.now().toString(36)}`,
4063
- name: input.name,
4064
- keyPreview,
4065
- createdAt: (/* @__PURE__ */ new Date()).toISOString(),
4066
- createdBy: mockPersonaSeed[0],
4067
- isCreatedByCurrentUser: true
4068
- };
4069
- apiKeyRecords = [created, ...apiKeyRecords];
4070
- return {
4071
- ...created,
4072
- secret
4073
- };
4074
- }),
4075
- revoke: mock({
4076
- domain: "apiKeys",
4077
- method: "revoke",
4078
- plannedEndpoint: "DELETE /api/api-keys/:id"
4079
- }, async (apiKeyId) => {
4080
- apiKeyRecords = apiKeyRecords.filter((apiKey) => apiKey.id !== apiKeyId);
4081
- })
4082
- };
4083
- }
4084
4008
  function createHistoryResource(http) {
4085
4009
  return {
4086
4010
  /** Runs across projects the current user can access in the active org. */
@@ -4391,11 +4315,12 @@ function createPlatformClient(options) {
4391
4315
  channels: createChannelsResource(http),
4392
4316
  members: createMembersResource(http),
4393
4317
  invitations: createInvitationsResource(http),
4394
- apiKeys: createApiKeysResource(),
4318
+ apiKeys: createApiKeysResource(http),
4395
4319
  recents: createRecentsResource(http),
4396
4320
  userPreferences: createUserPreferencesResource(http),
4397
4321
  userAvatar: createUserAvatarResource(http),
4398
4322
  organizationSidebarBranding: createOrganizationSidebarBrandingResource(http, { getActiveOrganizationId: () => activeOrganizationId }),
4323
+ teamRequests: createTeamRequestsResource(http),
4399
4324
  getActiveOrganizationId: () => activeOrganizationId,
4400
4325
  setActiveOrganizationId
4401
4326
  };
@@ -5537,7 +5462,7 @@ function registerBuildCommand(program) {
5537
5462
  program.command("build").description("Build the keystroke project for production").option("--dir <path>", "Project directory", process.cwd()).action(async (options) => {
5538
5463
  try {
5539
5464
  const root = resolveProjectRoot(options.dir);
5540
- const { buildApp } = await import("./dist-BYMTBbTD.mjs");
5465
+ const { buildApp } = await import("./dist-BQ0CIkZY.mjs");
5541
5466
  await buildApp({ root });
5542
5467
  process.stdout.write(`Built ${root}\n`);
5543
5468
  } catch (error) {
@@ -5634,7 +5559,7 @@ async function runDeploy(options) {
5634
5559
  const client = createCliPlatformClient(config);
5635
5560
  let source;
5636
5561
  if (!options.skipBuild) {
5637
- const { buildApp } = await import("./dist-BYMTBbTD.mjs");
5562
+ const { buildApp } = await import("./dist-BQ0CIkZY.mjs");
5638
5563
  source = { files: (await buildApp({
5639
5564
  root,
5640
5565
  collectSources: true,
@@ -5734,7 +5659,7 @@ function runtimeChildEnv(parentEnv, overrides) {
5734
5659
  //#region src/project/bootstrap-run.ts
5735
5660
  /** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
5736
5661
  async function resolveBootstrapRun(options) {
5737
- const { resolveRuntimeBuildArtifact } = await import("./dist-BYMTBbTD.mjs");
5662
+ const { resolveRuntimeBuildArtifact } = await import("./dist-BQ0CIkZY.mjs");
5738
5663
  const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
5739
5664
  const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/bootstrap.mjs");
5740
5665
  const args = [`--import=${loader}`];
@@ -5884,7 +5809,7 @@ async function runDev(options) {
5884
5809
  process.on("SIGINT", shutdown);
5885
5810
  process.on("SIGTERM", shutdown);
5886
5811
  try {
5887
- const { watchApp } = await import("./dist-BYMTBbTD.mjs");
5812
+ const { watchApp } = await import("./dist-BQ0CIkZY.mjs");
5888
5813
  await watchApp({
5889
5814
  root,
5890
5815
  clean: false,
@@ -6432,7 +6357,7 @@ async function runStart(options) {
6432
6357
  const apiPort = Number(new URL(serverUrl).port || 80);
6433
6358
  const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
6434
6359
  ensureNativeDeps(runtimeNodeModules);
6435
- const { buildApp } = await import("./dist-BYMTBbTD.mjs");
6360
+ const { buildApp } = await import("./dist-BQ0CIkZY.mjs");
6436
6361
  await buildApp({
6437
6362
  root,
6438
6363
  clean: false