@keystrokehq/cli 0.1.103 → 0.1.104
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-DNmfPa2T.mjs → dist-BvmFovtv.mjs} +2 -2
- package/dist/{dist-DNmfPa2T.mjs.map → dist-BvmFovtv.mjs.map} +1 -1
- package/dist/{dist-CBmwZ3uz.mjs → dist-C8eO3iET.mjs} +3 -3
- package/dist/{dist-CBmwZ3uz.mjs.map → dist-C8eO3iET.mjs.map} +1 -1
- package/dist/dist-DKVmrzVc.mjs +3 -0
- package/dist/{dist-DBkNXfrt.mjs → dist-odLBD6p1.mjs} +44 -25
- package/dist/dist-odLBD6p1.mjs.map +1 -0
- package/dist/index.mjs +7 -7
- package/package.json +3 -3
- package/dist/dist-CoyYRTnP.mjs +0 -3
- package/dist/dist-DBkNXfrt.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { $ as CredentialInstanceRecordSchema, $n as WorkflowCanvasSchema, $t as PresignProjectSourceRequestSchema, A as ConnectManagedServiceCredentialRequestSchema, An as TriggerRunDetailResponseSchema, At as ListCredentialsPageResponseSchema, B as CreateCustomAppResponseSchema, Bn as UpdateProjectMemberRequestSchema, Bt as ListProjectsResponseSchema, C as ChannelConnectionListResponseSchema, Cn as StartOAuthConnectionResultSchema, Cr as parseErrorResponse, D as ConfirmCheckoutRequestSchema, Dn as TriggerInvokeInputsSchema, Dr as resolveDocsMcpUrl, Dt as ListAppsResponseSchema, E as CompleteProjectArtifactResponseSchema, En as TriggerDetailResponseSchema, Er as resolveConnectAppSlug, Et as ListApiKeysResponseSchema, F as CreateCredentialInstanceBodySchema, Fn as UpdateCredentialRequestSchema, Ft as ListOrganizationsResponseSchema, G as CreateProjectResponseSchema, Gn as UploadProjectSourceResponseSchema, Gt as OrganizationSidebarBrandingPatchSchema, H as CreateOrganizationResponseSchema, Hn as UpdateProjectRequestSchema, Ht as ManagedServiceKindSchema, I as CreateCredentialsRequestSchema, In as UpdateManagedServiceCredentialRequestSchema, It as ListProjectDeploymentsResponseSchema, J as CredentialAssignmentListResponseSchema, Jn as UserAvatarSchema, Jt as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, K as CreateSubscriptionCheckoutRequestSchema, Kn as UpsertGatewayAttachmentBodySchema, Kt as OrganizationSidebarBrandingSchema, L as CreateCredentialsResponseSchema, Ln as UpdateOrganizationMemberRequestSchema, Lt as ListProjectFilesResponseSchema, M as CreateApiKeyRequestSchema, Mn as UpdateAutoTopupRequestSchema, Mt as ListOrganizationInvitationsResponseSchema, N as CreateApiKeyResponseSchema, Nn as UpdateChannelBindingBodySchema, Nt as ListOrganizationMembersPageQuerySchema, O as ConfirmCheckoutResponseSchema, On as TriggerInvokeResponseSchema, Or as resolvePublicPlatformOrigin, Ot as ListChannelPlatformsResponseSchema, P as CreateBillingPortalRequestSchema, Pn as UpdateCredentialInstanceBodySchema, Pt as ListOrganizationMembersPageResponseSchema, Q as CredentialInstanceListResponseSchema, Qn as WorkflowCanvasRunSchema, Qt as PresignOrgLogoResponseSchema, R as CreateCreditsCheckoutRequestSchema, Rn as UpdateOrganizationMemberResponseSchema, Rt as ListProjectMembersResponseSchema, S as ChannelAccountListResponseSchema, Sn as StartOAuthConnectionInputSchema, Sr as parseAppSlug, St as InviteProjectMembersResponseSchema, T as ChannelDirectoryListResponseSchema, Tn as SubmitTeamRequestRequestSchema, Tt as ListAgentWorkspaceFilesResponseSchema, U as CreateProjectArtifactResponseSchema, Un as UpdateProjectSettingsRequestSchema, Ut as McpDiscoverResponseSchema, V as CreateOrganizationRequestSchema, Vn as UpdateProjectMemberResponseSchema, Vt as ManagedServiceCredentialSchema, W as CreateProjectRequestSchema, Wn as UploadProjectSourceManifestRequestSchema, Wt as OpenApiDiscoverResponseSchema, X as CredentialConsumerListQuerySchema, Xn as UserPreferencesSchema, Xt as PresignChatAttachmentResponseSchema, Y as CredentialAssignmentRecordSchema, Yn as UserPreferencesPatchSchema, Yt as PresignChatAttachmentRequestSchema, Z as CredentialConsumerListResponseSchema, Zn as WorkflowCanvasCredentialBindingsSchema, Zt as PresignOrgLogoRequestSchema, _ as BindChannelBodySchema, _n as SlugAvailabilityResponseSchema, _r as detectProjectPackageManagerFromSnapshot, _t as HistoryRunListQuerySchema, a as AgentSessionListResponseSchema, an as ProjectResponseSchema, ar as WorkflowRunResponseSchema, at as DownloadActiveProjectSourceResponseSchema, b as CatalogAppDetailResponseSchema, bn as StartMcpOAuthConnectionInputSchema, bt as InviteOrganizationMembersResponseSchema, c as AgentTriggerSummaryListResponseSchema, cn as PromptInputSchema, cr as WorkspaceTriggerDetailSchema, d as AutoTopupSummarySchema, dn as QueuedAgentPromptResponseSchema, dr as WorkspaceTriggerOverviewSchema, dt as GetCredentialResponseSchema, en as PresignProjectSourceResponseSchema, er as WorkflowRunDetailResponseSchema, f as BillingActivityResponseSchema, fn as QueuedRunResponseSchema, fr as WorkspaceTriggerRunListResponseSchema, ft as GetCustomAppResponseSchema, g as BillingUsageResponseSchema, gn as SkillSummaryListResponseSchema, gr as deriveCustomAppDisplay, gt as HistoryRunDetailResponseSchema, h as BillingSummaryResponseSchema, hn as SkillSummaryDetailResponseSchema, ht as HistoryRunCancelResponseSchema, i as AgentSessionDetailResponseSchema, in as ProjectReachabilityResponseSchema, ir as WorkflowRunListResponseSchema, it as DownloadActiveProjectArtifactResponseSchema, j as ConnectProvidersResponseSchema, jn as TriggerRunListResponseSchema, jt as ListManagedServiceCredentialsResponseSchema, k as ConnectAuthorizeUrlResponseSchema, kn as TriggerListResponseSchema, kr as slugifyAppName, kt as ListCredentialsPageQuerySchema, l as AppSlugAvailabilityResponseSchema, ln as PromptResponseSchema, lr as WorkspaceTriggerFileSchema, lt as GatewayAttachmentRecordSchema, m as BillingRedirectResponseSchema, mn as RecentResourceListResponseSchema, mr as buildConnectDeeplink, mt as HealthResponseSchema, n as AcceptOrganizationInvitationResponseSchema, nn as PresignUserAvatarResponseSchema, nr as WorkflowRunInputsPutBodySchema, nt as DOCS_SEARCH_TOOL, o as AgentSummaryDetailResponseSchema, on as ProjectSettingsResponseSchema, or as WorkflowSummaryDetailResponseSchema, ot as ErrorResponseSchema, p as BillingInvoiceUrlResponseSchema, pr as WorkspaceWorkflowOverviewSchema, pt as GraphqlDiscoverResponseSchema, q as CredentialAssignmentListQuerySchema, qn as UserAvatarPatchSchema, qt as PROJECT_PULL_STATE_RELATIVE_PATH, r as ActiveOrganizationResponseSchema, rn as ProjectPullStateSchema, rr as WorkflowRunInputsSchema, rt as DeclineOrganizationInvitationResponseSchema, s as AgentSummaryListResponseSchema, sn as ProjectSlugAvailabilityResponseSchema, sr as WorkflowSummaryListResponseSchema, st as ExecuteKeystrokeToolRequestSchema, t as ACTIVE_ORG_HEADER, tn as PresignUserAvatarRequestSchema, tr as WorkflowRunHooksResponseSchema, tt as DOCS_QUERY_TOOL, u as AssignCredentialBodySchema, ur as WorkspaceTriggerListResponseSchema, ut as GetAppCatalogEntryResponseSchema, v as CatalogActionDetailResponseSchema, vn as StartKeystrokeConnectionInputSchema, vr as isAcceptableInstallExit, vt as HistoryRunListResponseSchema, w as ChannelConnectionSchema, wn as SubmitMarketingContactRequestSchema, wt as ListAgentMemoryFilesResponseSchema, x as CatalogAppsPageResponseSchema, xn as StartMcpOAuthConnectionResultSchema, xt as InviteProjectMembersRequestSchema, y as CatalogActionsPageResponseSchema, yn as StartKeystrokeConnectionResultSchema, yr as listenPortFromPublicUrl, yt as InviteOrganizationMembersRequestSchema, z as CreateCustomAppRequestSchema, zn as UpdateOrganizationRequestSchema, zt as ListProjectMetricsResponseSchema } from "./dist-ZZlE2vk6.mjs";
|
|
3
|
-
import { i as packProjectArtifact, n as withMcpReadClient, r as mergeFilteredArtifact, t as mapInParallelBatches } from "./dist-
|
|
3
|
+
import { i as packProjectArtifact, n as withMcpReadClient, r as mergeFilteredArtifact, t as mapInParallelBatches } from "./dist-odLBD6p1.mjs";
|
|
4
4
|
import { C as getWebUrl, E as resolvePlatformUrlForWebUrl, S as getPlatformUrl, _ as resolveCliRoot, a as formatReleaseAgeBlockMessage, b as getConfigDir, c as detectManagerFromLockfile, d as installDependencies$1, f as installPlaygroundDependencies, g as readCliVersion, h as isNewerVersion, i as fetchLatestCliRelease, l as buildPlaygroundWorkspace, m as resolvePackageManager, n as computeReleaseAgeRetryAfter, o as isReleaseAgeBlock, p as resolveGithubPackagesToken, r as readPnpmMinimumReleaseAgeMinutes, s as detectCliInstall, t as runPackageManagerUpdate, u as detectPackageManager, v as createCliConfig, w as DEFAULT_PLATFORM_URL, x as getEffectiveApiTarget, y as getCliConfigDir } from "./run-package-manager-update-BVuBh1a2.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import { Command } from "commander";
|
|
@@ -7173,7 +7173,7 @@ function registerBuildCommand(program) {
|
|
|
7173
7173
|
try {
|
|
7174
7174
|
const root = resolveProjectRoot(options.dir);
|
|
7175
7175
|
await ensureSdkCurrent(root);
|
|
7176
|
-
const { buildApp } = await import("./dist-
|
|
7176
|
+
const { buildApp } = await import("./dist-C8eO3iET.mjs");
|
|
7177
7177
|
await buildApp({ root });
|
|
7178
7178
|
process.stdout.write(`Built ${root}\n`);
|
|
7179
7179
|
} catch (error) {
|
|
@@ -7298,7 +7298,7 @@ async function sleep(ms) {
|
|
|
7298
7298
|
}
|
|
7299
7299
|
async function buildDeployArchive(client, root, projectId, filter) {
|
|
7300
7300
|
if (filter?.length) {
|
|
7301
|
-
const { buildFilteredApp } = await import("./dist-
|
|
7301
|
+
const { buildFilteredApp } = await import("./dist-C8eO3iET.mjs");
|
|
7302
7302
|
const filtered = await buildFilteredApp({
|
|
7303
7303
|
root,
|
|
7304
7304
|
filter,
|
|
@@ -7320,7 +7320,7 @@ async function buildDeployArchive(client, root, projectId, filter) {
|
|
|
7320
7320
|
sourceFiles: filtered.sourceFiles
|
|
7321
7321
|
};
|
|
7322
7322
|
}
|
|
7323
|
-
const { buildApp } = await import("./dist-
|
|
7323
|
+
const { buildApp } = await import("./dist-C8eO3iET.mjs");
|
|
7324
7324
|
const { sourceFiles } = await buildApp({
|
|
7325
7325
|
root,
|
|
7326
7326
|
collectSources: true,
|
|
@@ -7447,7 +7447,7 @@ function runtimeChildEnv(parentEnv, overrides) {
|
|
|
7447
7447
|
//#region src/project/bootstrap-run.ts
|
|
7448
7448
|
/** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
|
|
7449
7449
|
async function resolveBootstrapRun(options) {
|
|
7450
|
-
const { resolveRuntimeBuildArtifact } = await import("./dist-
|
|
7450
|
+
const { resolveRuntimeBuildArtifact } = await import("./dist-C8eO3iET.mjs");
|
|
7451
7451
|
const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
|
|
7452
7452
|
const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/standalone-bootstrap.mjs");
|
|
7453
7453
|
const args = [`--import=${loader}`];
|
|
@@ -7596,7 +7596,7 @@ async function runDev(options) {
|
|
|
7596
7596
|
process.on("SIGINT", shutdown);
|
|
7597
7597
|
process.on("SIGTERM", shutdown);
|
|
7598
7598
|
try {
|
|
7599
|
-
const { watchApp } = await import("./dist-
|
|
7599
|
+
const { watchApp } = await import("./dist-C8eO3iET.mjs");
|
|
7600
7600
|
await watchApp({
|
|
7601
7601
|
root,
|
|
7602
7602
|
clean: false,
|
|
@@ -8658,7 +8658,7 @@ async function runStart(options) {
|
|
|
8658
8658
|
const apiPort = Number(new URL(serverUrl).port || 80);
|
|
8659
8659
|
const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
|
|
8660
8660
|
ensureNativeDeps(runtimeNodeModules);
|
|
8661
|
-
const { buildApp } = await import("./dist-
|
|
8661
|
+
const { buildApp } = await import("./dist-C8eO3iET.mjs");
|
|
8662
8662
|
await buildApp({
|
|
8663
8663
|
root,
|
|
8664
8664
|
clean: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.104",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/keystrokehq/keystroke.git",
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"tsdown": "^0.22.0",
|
|
44
44
|
"tsx": "^4.22.3",
|
|
45
45
|
"@keystrokehq/oxlint-config": "0.0.4",
|
|
46
|
+
"@keystrokehq/tsconfig": "0.0.3",
|
|
46
47
|
"@keystrokehq/tsdown-config": "0.0.5",
|
|
47
|
-
"@keystrokehq/vitest-config": "0.0.7"
|
|
48
|
-
"@keystrokehq/tsconfig": "0.0.3"
|
|
48
|
+
"@keystrokehq/vitest-config": "0.0.7"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"build": "tsdown && node scripts/copy-templates.mjs && node scripts/copy-skills-bundle.mjs && node scripts/copy-configs.mjs",
|
package/dist/dist-CoyYRTnP.mjs
DELETED