@keystrokehq/cli 0.0.152 → 0.0.153
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/{dist-CPNPA1VB.mjs → dist-DqwV88tz.mjs} +31 -11
- package/dist/dist-DqwV88tz.mjs.map +1 -0
- package/dist/{dist-B_UmzjJI.mjs → dist-Dtg0FGNT.mjs} +2 -2
- package/dist/{dist-B_UmzjJI.mjs.map → dist-Dtg0FGNT.mjs.map} +1 -1
- package/dist/{dist-BYMTBbTD.mjs → dist-SAPlw0EN.mjs} +2 -2
- package/dist/{dist-BYMTBbTD.mjs.map → dist-SAPlw0EN.mjs.map} +1 -1
- package/dist/index.mjs +93 -179
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/dist-CPNPA1VB.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as OrganizationSidebarBrandingPatchSchema, A as ErrorResponseSchema, At as UpdateCredentialRequestSchema, B as InviteProjectMembersRequestSchema, Bt as UpsertGatewayAttachmentBodySchema, C as CreateOrganizationResponseSchema, Ct as StartOAuthConnectionResultSchema, D as CredentialInstanceListResponseSchema, Dt as TriggerRunListResponseSchema, E as CreateProjectResponseSchema, Et as TriggerRunDetailResponseSchema, F as HistoryRunDetailResponseSchema, Ft as UpdateProjectMemberResponseSchema, G as ListOrganizationInvitationsResponseSchema, Gt as WorkflowRunDetailResponseSchema, H as ListApiKeysResponseSchema, Ht as UserAvatarSchema, I as HistoryRunListQuerySchema, It as UpdateProjectRequestSchema, J as ListProjectDeploymentsResponseSchema, Jt as WorkflowSummaryListResponseSchema, K as ListOrganizationMembersResponseSchema, Kt as WorkflowRunListResponseSchema, L as HistoryRunListResponseSchema, Lt as UpdateProjectSettingsRequestSchema, M as GetCredentialResponseSchema, Mt as UpdateOrganizationMemberResponseSchema, N as HealthResponseSchema, Nt as UpdateOrganizationRequestSchema, O as CredentialInstanceRecordSchema, Ot as UpdateChannelBindingBodySchema, P as HistoryRunCancelResponseSchema, Pt as UpdateProjectMemberRequestSchema, Q as ListProjectsResponseSchema, Qt as parseErrorResponse, R as InviteOrganizationMembersRequestSchema, Rt as UploadProjectSourceManifestRequestSchema, S as CreateOrganizationRequestSchema, St as StartOAuthConnectionInputSchema, T as CreateProjectRequestSchema, Tt as TriggerListResponseSchema, U as ListAppsResponseSchema, Ut as UserPreferencesPatchSchema, V as InviteProjectMembersResponseSchema, Vt as UserAvatarPatchSchema, W as ListCredentialsResponseSchema, Wt as UserPreferencesSchema, X as ListProjectMembersResponseSchema, Y as ListProjectFilesResponseSchema, Yt as listenPortFromPublicUrl, Z as ListProjectMetricsResponseSchema, Zt as originFromPublicUrl, _ 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 UpdateOrganizationMemberRequestSchema, k as DeclineOrganizationInvitationResponseSchema, kt as UpdateCredentialInstanceBodySchema, 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 WorkflowSummaryDetailResponseSchema, 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 TriggerDetailResponseSchema, x as CreateCredentialsResponseSchema, xt as SlugAvailabilityResponseSchema, y as CreateCredentialInstanceBodySchema, yt as SkillSummaryDetailResponseSchema, z as InviteOrganizationMembersResponseSchema, zt as UploadProjectSourceResponseSchema } from "./dist-DqwV88tz.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";
|
|
@@ -3760,6 +3760,84 @@ function createRecentsResource(http) {
|
|
|
3760
3760
|
}
|
|
3761
3761
|
} };
|
|
3762
3762
|
}
|
|
3763
|
+
function buildOAuthAuthorizeSearchParams(input) {
|
|
3764
|
+
const params = {};
|
|
3765
|
+
const scopes = input.scopes ?? [];
|
|
3766
|
+
if (scopes.length > 0) params.scopes = scopes.join(",");
|
|
3767
|
+
const projectIds = input.projects ?? [];
|
|
3768
|
+
if (projectIds.length > 0) params.projects = projectIds.join(",");
|
|
3769
|
+
if (input.createOrganizationCredential) params.org = "true";
|
|
3770
|
+
if (input.createUserProvidedCredential) params.user = "true";
|
|
3771
|
+
return params;
|
|
3772
|
+
}
|
|
3773
|
+
function createCredentialsResource(http) {
|
|
3774
|
+
return {
|
|
3775
|
+
async list() {
|
|
3776
|
+
try {
|
|
3777
|
+
const data = await http.get("/api/credentials").json();
|
|
3778
|
+
return ListCredentialsResponseSchema.parse(data).credentials;
|
|
3779
|
+
} catch (error) {
|
|
3780
|
+
throw await toPlatformError(error);
|
|
3781
|
+
}
|
|
3782
|
+
},
|
|
3783
|
+
async get(credentialId) {
|
|
3784
|
+
try {
|
|
3785
|
+
const data = await http.get(`/api/credentials/${encodeURIComponent(credentialId)}`).json();
|
|
3786
|
+
return GetCredentialResponseSchema.parse(data).credential;
|
|
3787
|
+
} catch (error) {
|
|
3788
|
+
throw await toPlatformError(error);
|
|
3789
|
+
}
|
|
3790
|
+
},
|
|
3791
|
+
async create(input) {
|
|
3792
|
+
const body = CreateCredentialsRequestSchema.parse(input);
|
|
3793
|
+
try {
|
|
3794
|
+
const data = await http.post("/api/credentials", { json: body }).json();
|
|
3795
|
+
return CreateCredentialsResponseSchema.parse(data).credentials;
|
|
3796
|
+
} catch (error) {
|
|
3797
|
+
throw await toPlatformError(error);
|
|
3798
|
+
}
|
|
3799
|
+
},
|
|
3800
|
+
async update(credentialId, patch) {
|
|
3801
|
+
const body = UpdateCredentialRequestSchema.parse(patch);
|
|
3802
|
+
try {
|
|
3803
|
+
const data = await http.patch(`/api/credentials/${encodeURIComponent(credentialId)}`, { json: body }).json();
|
|
3804
|
+
return GetCredentialResponseSchema.parse(data).credential;
|
|
3805
|
+
} catch (error) {
|
|
3806
|
+
throw await toPlatformError(error);
|
|
3807
|
+
}
|
|
3808
|
+
},
|
|
3809
|
+
async delete(credentialId) {
|
|
3810
|
+
try {
|
|
3811
|
+
await http.delete(`/api/credentials/${encodeURIComponent(credentialId)}`);
|
|
3812
|
+
} catch (error) {
|
|
3813
|
+
throw await toPlatformError(error);
|
|
3814
|
+
}
|
|
3815
|
+
},
|
|
3816
|
+
async startOAuthConnection(input) {
|
|
3817
|
+
const body = StartOAuthConnectionInputSchema.parse(input);
|
|
3818
|
+
try {
|
|
3819
|
+
const data = await http.get(`/api/oauth/${encodeURIComponent(body.appId)}/authorize-url`, { searchParams: buildOAuthAuthorizeSearchParams(body) }).json();
|
|
3820
|
+
const { url } = ConnectAuthorizeUrlResponseSchema.parse(data);
|
|
3821
|
+
return StartOAuthConnectionResultSchema.parse({
|
|
3822
|
+
status: "redirecting",
|
|
3823
|
+
authorizeUrl: url
|
|
3824
|
+
});
|
|
3825
|
+
} catch (error) {
|
|
3826
|
+
throw await toPlatformError(error);
|
|
3827
|
+
}
|
|
3828
|
+
}
|
|
3829
|
+
};
|
|
3830
|
+
}
|
|
3831
|
+
function createAppsResource(http) {
|
|
3832
|
+
return { async listCatalog() {
|
|
3833
|
+
try {
|
|
3834
|
+
const data = await http.get("/api/apps").json();
|
|
3835
|
+
return ListAppsResponseSchema.parse(data).apps;
|
|
3836
|
+
} catch (error) {
|
|
3837
|
+
throw await toPlatformError(error);
|
|
3838
|
+
}
|
|
3839
|
+
} };
|
|
3840
|
+
}
|
|
3763
3841
|
function createMembersResource(http) {
|
|
3764
3842
|
return {
|
|
3765
3843
|
async listOrganizationMembers() {
|
|
@@ -3889,196 +3967,32 @@ function createInvitationsResource(http) {
|
|
|
3889
3967
|
}
|
|
3890
3968
|
};
|
|
3891
3969
|
}
|
|
3892
|
-
function
|
|
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) {
|
|
3970
|
+
function createApiKeysResource(http) {
|
|
3903
3971
|
return {
|
|
3904
3972
|
async list() {
|
|
3905
3973
|
try {
|
|
3906
|
-
const data = await http.get("/api/
|
|
3907
|
-
return
|
|
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;
|
|
3974
|
+
const data = await http.get("/api/api-keys").json();
|
|
3975
|
+
return ListApiKeysResponseSchema.parse(data).apiKeys;
|
|
3916
3976
|
} catch (error) {
|
|
3917
3977
|
throw await toPlatformError(error);
|
|
3918
3978
|
}
|
|
3919
3979
|
},
|
|
3920
3980
|
async create(input) {
|
|
3921
|
-
const body =
|
|
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);
|
|
3981
|
+
const body = CreateApiKeyRequestSchema.parse(input);
|
|
3931
3982
|
try {
|
|
3932
|
-
const data = await http.
|
|
3933
|
-
return
|
|
3983
|
+
const data = await http.post("/api/api-keys", { json: body }).json();
|
|
3984
|
+
return CreateApiKeyResponseSchema.parse(data);
|
|
3934
3985
|
} catch (error) {
|
|
3935
3986
|
throw await toPlatformError(error);
|
|
3936
3987
|
}
|
|
3937
3988
|
},
|
|
3938
|
-
async
|
|
3989
|
+
async revoke(apiKeyId) {
|
|
3939
3990
|
try {
|
|
3940
|
-
await http.delete(`/api/
|
|
3991
|
+
await http.delete(`/api/api-keys/${encodeURIComponent(apiKeyId)}`);
|
|
3941
3992
|
} catch (error) {
|
|
3942
3993
|
throw await toPlatformError(error);
|
|
3943
3994
|
}
|
|
3944
|
-
},
|
|
3945
|
-
async startOAuthConnection(input) {
|
|
3946
|
-
const body = StartOAuthConnectionInputSchema.parse(input);
|
|
3947
|
-
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
|
-
});
|
|
3954
|
-
} catch (error) {
|
|
3955
|
-
throw await toPlatformError(error);
|
|
3956
|
-
}
|
|
3957
|
-
}
|
|
3958
|
-
};
|
|
3959
|
-
}
|
|
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
3995
|
}
|
|
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
3996
|
};
|
|
4083
3997
|
}
|
|
4084
3998
|
function createHistoryResource(http) {
|
|
@@ -4391,7 +4305,7 @@ function createPlatformClient(options) {
|
|
|
4391
4305
|
channels: createChannelsResource(http),
|
|
4392
4306
|
members: createMembersResource(http),
|
|
4393
4307
|
invitations: createInvitationsResource(http),
|
|
4394
|
-
apiKeys: createApiKeysResource(),
|
|
4308
|
+
apiKeys: createApiKeysResource(http),
|
|
4395
4309
|
recents: createRecentsResource(http),
|
|
4396
4310
|
userPreferences: createUserPreferencesResource(http),
|
|
4397
4311
|
userAvatar: createUserAvatarResource(http),
|
|
@@ -5537,7 +5451,7 @@ function registerBuildCommand(program) {
|
|
|
5537
5451
|
program.command("build").description("Build the keystroke project for production").option("--dir <path>", "Project directory", process.cwd()).action(async (options) => {
|
|
5538
5452
|
try {
|
|
5539
5453
|
const root = resolveProjectRoot(options.dir);
|
|
5540
|
-
const { buildApp } = await import("./dist-
|
|
5454
|
+
const { buildApp } = await import("./dist-SAPlw0EN.mjs");
|
|
5541
5455
|
await buildApp({ root });
|
|
5542
5456
|
process.stdout.write(`Built ${root}\n`);
|
|
5543
5457
|
} catch (error) {
|
|
@@ -5634,7 +5548,7 @@ async function runDeploy(options) {
|
|
|
5634
5548
|
const client = createCliPlatformClient(config);
|
|
5635
5549
|
let source;
|
|
5636
5550
|
if (!options.skipBuild) {
|
|
5637
|
-
const { buildApp } = await import("./dist-
|
|
5551
|
+
const { buildApp } = await import("./dist-SAPlw0EN.mjs");
|
|
5638
5552
|
source = { files: (await buildApp({
|
|
5639
5553
|
root,
|
|
5640
5554
|
collectSources: true,
|
|
@@ -5734,7 +5648,7 @@ function runtimeChildEnv(parentEnv, overrides) {
|
|
|
5734
5648
|
//#region src/project/bootstrap-run.ts
|
|
5735
5649
|
/** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
|
|
5736
5650
|
async function resolveBootstrapRun(options) {
|
|
5737
|
-
const { resolveRuntimeBuildArtifact } = await import("./dist-
|
|
5651
|
+
const { resolveRuntimeBuildArtifact } = await import("./dist-SAPlw0EN.mjs");
|
|
5738
5652
|
const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
|
|
5739
5653
|
const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/bootstrap.mjs");
|
|
5740
5654
|
const args = [`--import=${loader}`];
|
|
@@ -5884,7 +5798,7 @@ async function runDev(options) {
|
|
|
5884
5798
|
process.on("SIGINT", shutdown);
|
|
5885
5799
|
process.on("SIGTERM", shutdown);
|
|
5886
5800
|
try {
|
|
5887
|
-
const { watchApp } = await import("./dist-
|
|
5801
|
+
const { watchApp } = await import("./dist-SAPlw0EN.mjs");
|
|
5888
5802
|
await watchApp({
|
|
5889
5803
|
root,
|
|
5890
5804
|
clean: false,
|
|
@@ -6432,7 +6346,7 @@ async function runStart(options) {
|
|
|
6432
6346
|
const apiPort = Number(new URL(serverUrl).port || 80);
|
|
6433
6347
|
const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
|
|
6434
6348
|
ensureNativeDeps(runtimeNodeModules);
|
|
6435
|
-
const { buildApp } = await import("./dist-
|
|
6349
|
+
const { buildApp } = await import("./dist-SAPlw0EN.mjs");
|
|
6436
6350
|
await buildApp({
|
|
6437
6351
|
root,
|
|
6438
6352
|
clean: false
|