@keystrokehq/cli 1.0.2 → 1.0.8
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/README.md +3 -3
- package/dist/{dist-DEwhZoDf.mjs → dist-BXi7cRDx.mjs} +6 -8
- package/dist/dist-BXi7cRDx.mjs.map +1 -0
- package/dist/{dist-DtUH9rOc.mjs → dist-CaXYCefX.mjs} +6 -8
- package/dist/dist-CaXYCefX.mjs.map +1 -0
- package/dist/{dist-_46DIPBj.mjs → dist-DR0-KRom.mjs} +9 -2
- package/dist/{dist-_46DIPBj.mjs.map → dist-DR0-KRom.mjs.map} +1 -1
- package/dist/dist-MYk9JAIo.mjs +3 -0
- package/dist/index.mjs +11 -10
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-DGBkB562.mjs → maybe-auto-update-DxAS-9S7.mjs} +2 -2
- package/dist/{maybe-auto-update-DGBkB562.mjs.map → maybe-auto-update-DxAS-9S7.mjs.map} +1 -1
- package/dist/skills-bundle/_AGENTS.md +5 -5
- package/dist/skills-bundle/skills/keystroke-actions/SKILL.md +39 -7
- package/dist/skills-bundle/skills/keystroke-actions/references/catalog-and-imports.md +25 -19
- package/dist/skills-bundle/skills/keystroke-agents/SKILL.md +3 -3
- package/dist/skills-bundle/skills/keystroke-apps/SKILL.md +133 -0
- package/dist/skills-bundle/skills/keystroke-apps/references/cli-and-catalog.md +66 -0
- package/dist/skills-bundle/skills/keystroke-cli/SKILL.md +2 -2
- package/dist/skills-bundle/skills/keystroke-cli/references/api-targets.md +2 -2
- package/dist/skills-bundle/skills/keystroke-deploy/SKILL.md +2 -2
- package/dist/skills-bundle/skills/keystroke-gateways/SKILL.md +2 -2
- package/dist/skills-bundle/skills/keystroke-gateways/references/slack-setup.md +1 -1
- package/dist/skills-bundle/skills/keystroke-skills/SKILL.md +1 -1
- package/dist/skills-bundle/skills/keystroke-workflows/SKILL.md +1 -1
- package/dist/skills-bundle/skills/keystroke-workflows/references/authoring.md +2 -2
- package/dist/{version-CKAYz1xm.mjs → version-TtPeAEMz.mjs} +4 -4
- package/dist/version-TtPeAEMz.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/dist-BrhJhyvP.mjs +0 -3
- package/dist/dist-DEwhZoDf.mjs.map +0 -1
- package/dist/dist-DtUH9rOc.mjs.map +0 -1
- package/dist/skills-bundle/skills/keystroke-credentials/SKILL.md +0 -108
- package/dist/skills-bundle/skills/keystroke-credentials/references/cli-and-oauth.md +0 -51
- package/dist/version-CKAYz1xm.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { $ as ListCredentialsResponseSchema, $t as UploadProjectSourceResponseSchema, A as CreateOrganizationResponseSchema, At as SlugAvailabilityResponseSchema, B as GetCredentialResponseSchema, Bt as TriggerRunDetailResponseSchema, C as CreateApiKeyResponseSchema, Ct as PromptResponseSchema, D as CreateCustomAppRequestSchema, Dt as RecentResourceListResponseSchema, E as CreateCredentialsResponseSchema, Et as ROUTE_MANIFEST_REL_PATH, F as CredentialInstanceRecordSchema, Ft as StoredRouteManifestSchema, G as HistoryRunListQuerySchema, Gt as UpdateOrganizationMemberRequestSchema, H as HealthResponseSchema, Ht as UpdateChannelBindingBodySchema, I as DeclineOrganizationInvitationResponseSchema, It as SubmitMarketingContactRequestSchema, J as InviteOrganizationMembersResponseSchema, Jt as UpdateProjectMemberRequestSchema, K as HistoryRunListResponseSchema, Kt as UpdateOrganizationMemberResponseSchema, L as DownloadActiveProjectArtifactResponseSchema, Lt as SubmitTeamRequestRequestSchema, M as CreateProjectRequestSchema, Mt as StartKeystrokeConnectionResultSchema, N as CreateProjectResponseSchema, Nt as StartOAuthConnectionInputSchema, O as CreateCustomAppResponseSchema, Ot as SkillSummaryDetailResponseSchema, P as CredentialInstanceListResponseSchema, Pt as StartOAuthConnectionResultSchema, Q as ListAppsResponseSchema, Qt as UploadProjectSourceManifestRequestSchema, R as ErrorResponseSchema, Rt as TriggerDetailResponseSchema, S as CreateApiKeyRequestSchema, St as PromptInputSchema, T as CreateCredentialsRequestSchema, Tt as QueuedRunResponseSchema, U as HistoryRunCancelResponseSchema, Ut as UpdateCredentialInstanceBodySchema, V as GetCustomAppResponseSchema, Vt as TriggerRunListResponseSchema, W as HistoryRunDetailResponseSchema, Wt as UpdateCredentialRequestSchema, X as InviteProjectMembersResponseSchema, Xt as UpdateProjectRequestSchema, Y as InviteProjectMembersRequestSchema, Yt as UpdateProjectMemberResponseSchema, Z as ListApiKeysResponseSchema, Zt as UpdateProjectSettingsRequestSchema, _ as ChannelDirectoryListResponseSchema, _t as PresignUserAvatarResponseSchema, a as AgentSessionListResponseSchema, an as WorkflowRunDetailResponseSchema, at as ListProjectMembersResponseSchema, b as ConnectAuthorizeUrlResponseSchema, bt as ProjectSettingsResponseSchema, c as AppSlugAvailabilityResponseSchema, cn as WorkflowSummaryListResponseSchema, ct as OrganizationSidebarBrandingPatchSchema, d as CatalogActionsPageResponseSchema, dt as PollRunResponseSchema, en as UpsertGatewayAttachmentBodySchema, et as ListOrganizationInvitationsResponseSchema, f as CatalogAppDetailResponseSchema, fn as parseAppSlug, ft as PresignOrgLogoRequestSchema, g as ChannelConnectionSchema, gt as PresignUserAvatarRequestSchema, h as ChannelConnectionListResponseSchema, ht as PresignProjectSourceResponseSchema, i as AgentSessionDetailResponseSchema, in as UserPreferencesSchema, it as ListProjectFilesResponseSchema, j as CreateProjectArtifactResponseSchema, jt as StartKeystrokeConnectionInputSchema, k as CreateOrganizationRequestSchema, kt as SkillSummaryListResponseSchema, l as BindChannelBodySchema, ln as listenPortFromPublicUrl, lt as OrganizationSidebarBrandingSchema, m as ChannelAccountListResponseSchema, mn as slugifyAppName, mt as PresignProjectSourceRequestSchema, n as AcceptOrganizationInvitationResponseSchema, nn as UserAvatarSchema, nt as ListOrganizationsResponseSchema, o as AgentSummaryDetailResponseSchema, on as WorkflowRunListResponseSchema, ot as ListProjectMetricsResponseSchema, p as CatalogAppsPageResponseSchema, pn as parseErrorResponse, pt as PresignOrgLogoResponseSchema, q as InviteOrganizationMembersRequestSchema, qt as UpdateOrganizationRequestSchema, r as ActiveOrganizationResponseSchema, rn as UserPreferencesPatchSchema, rt as ListProjectDeploymentsResponseSchema, s as AgentSummaryListResponseSchema, sn as WorkflowSummaryDetailResponseSchema, st as ListProjectsResponseSchema, t as ACTIVE_ORG_HEADER, tn as UserAvatarPatchSchema, tt as ListOrganizationMembersResponseSchema, u as CatalogActionDetailResponseSchema, ut as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, v as ChannelPlatformSchema, vt as ProjectReachabilityResponseSchema, w as CreateCredentialInstanceBodySchema, wt as QueuedAgentPromptResponseSchema, x as ConnectProvidersResponseSchema, xt as ProjectSlugAvailabilityResponseSchema, y as CompleteProjectArtifactResponseSchema, yt as ProjectResponseSchema, z as GatewayAttachmentRecordSchema, zt as TriggerListResponseSchema } from "./dist-
|
|
3
|
-
import { _ as resolvePlatformUrlForWebUrl, a as installPlaygroundDependencies, c as createCliConfig, d as getEffectiveApiTarget, f as getPlatformUrl, h as DEFAULT_PLATFORM_URL, i as installDependencies, l as getCliConfigDir, m as getWebUrl, n as buildPlaygroundWorkspace, o as resolvePackageManager, p as getServerUrl, s as resolveCliRoot, t as readCliVersion, u as getConfigDir } from "./version-
|
|
2
|
+
import { $ as ListCredentialsResponseSchema, $t as UploadProjectSourceResponseSchema, A as CreateOrganizationResponseSchema, At as SlugAvailabilityResponseSchema, B as GetCredentialResponseSchema, Bt as TriggerRunDetailResponseSchema, C as CreateApiKeyResponseSchema, Ct as PromptResponseSchema, D as CreateCustomAppRequestSchema, Dt as RecentResourceListResponseSchema, E as CreateCredentialsResponseSchema, Et as ROUTE_MANIFEST_REL_PATH, F as CredentialInstanceRecordSchema, Ft as StoredRouteManifestSchema, G as HistoryRunListQuerySchema, Gt as UpdateOrganizationMemberRequestSchema, H as HealthResponseSchema, Ht as UpdateChannelBindingBodySchema, I as DeclineOrganizationInvitationResponseSchema, It as SubmitMarketingContactRequestSchema, J as InviteOrganizationMembersResponseSchema, Jt as UpdateProjectMemberRequestSchema, K as HistoryRunListResponseSchema, Kt as UpdateOrganizationMemberResponseSchema, L as DownloadActiveProjectArtifactResponseSchema, Lt as SubmitTeamRequestRequestSchema, M as CreateProjectRequestSchema, Mt as StartKeystrokeConnectionResultSchema, N as CreateProjectResponseSchema, Nt as StartOAuthConnectionInputSchema, O as CreateCustomAppResponseSchema, Ot as SkillSummaryDetailResponseSchema, P as CredentialInstanceListResponseSchema, Pt as StartOAuthConnectionResultSchema, Q as ListAppsResponseSchema, Qt as UploadProjectSourceManifestRequestSchema, R as ErrorResponseSchema, Rt as TriggerDetailResponseSchema, S as CreateApiKeyRequestSchema, St as PromptInputSchema, T as CreateCredentialsRequestSchema, Tt as QueuedRunResponseSchema, U as HistoryRunCancelResponseSchema, Ut as UpdateCredentialInstanceBodySchema, V as GetCustomAppResponseSchema, Vt as TriggerRunListResponseSchema, W as HistoryRunDetailResponseSchema, Wt as UpdateCredentialRequestSchema, X as InviteProjectMembersResponseSchema, Xt as UpdateProjectRequestSchema, Y as InviteProjectMembersRequestSchema, Yt as UpdateProjectMemberResponseSchema, Z as ListApiKeysResponseSchema, Zt as UpdateProjectSettingsRequestSchema, _ as ChannelDirectoryListResponseSchema, _t as PresignUserAvatarResponseSchema, a as AgentSessionListResponseSchema, an as WorkflowRunDetailResponseSchema, at as ListProjectMembersResponseSchema, b as ConnectAuthorizeUrlResponseSchema, bt as ProjectSettingsResponseSchema, c as AppSlugAvailabilityResponseSchema, cn as WorkflowSummaryListResponseSchema, ct as OrganizationSidebarBrandingPatchSchema, d as CatalogActionsPageResponseSchema, dt as PollRunResponseSchema, en as UpsertGatewayAttachmentBodySchema, et as ListOrganizationInvitationsResponseSchema, f as CatalogAppDetailResponseSchema, fn as parseAppSlug, ft as PresignOrgLogoRequestSchema, g as ChannelConnectionSchema, gt as PresignUserAvatarRequestSchema, h as ChannelConnectionListResponseSchema, ht as PresignProjectSourceResponseSchema, i as AgentSessionDetailResponseSchema, in as UserPreferencesSchema, it as ListProjectFilesResponseSchema, j as CreateProjectArtifactResponseSchema, jt as StartKeystrokeConnectionInputSchema, k as CreateOrganizationRequestSchema, kt as SkillSummaryListResponseSchema, l as BindChannelBodySchema, ln as listenPortFromPublicUrl, lt as OrganizationSidebarBrandingSchema, m as ChannelAccountListResponseSchema, mn as slugifyAppName, mt as PresignProjectSourceRequestSchema, n as AcceptOrganizationInvitationResponseSchema, nn as UserAvatarSchema, nt as ListOrganizationsResponseSchema, o as AgentSummaryDetailResponseSchema, on as WorkflowRunListResponseSchema, ot as ListProjectMetricsResponseSchema, p as CatalogAppsPageResponseSchema, pn as parseErrorResponse, pt as PresignOrgLogoResponseSchema, q as InviteOrganizationMembersRequestSchema, qt as UpdateOrganizationRequestSchema, r as ActiveOrganizationResponseSchema, rn as UserPreferencesPatchSchema, rt as ListProjectDeploymentsResponseSchema, s as AgentSummaryListResponseSchema, sn as WorkflowSummaryDetailResponseSchema, st as ListProjectsResponseSchema, t as ACTIVE_ORG_HEADER, tn as UserAvatarPatchSchema, tt as ListOrganizationMembersResponseSchema, u as CatalogActionDetailResponseSchema, ut as PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS, v as ChannelPlatformSchema, vt as ProjectReachabilityResponseSchema, w as CreateCredentialInstanceBodySchema, wt as QueuedAgentPromptResponseSchema, x as ConnectProvidersResponseSchema, xt as ProjectSlugAvailabilityResponseSchema, y as CompleteProjectArtifactResponseSchema, yt as ProjectResponseSchema, z as GatewayAttachmentRecordSchema, zt as TriggerListResponseSchema } from "./dist-DR0-KRom.mjs";
|
|
3
|
+
import { _ as resolvePlatformUrlForWebUrl, a as installPlaygroundDependencies, c as createCliConfig, d as getEffectiveApiTarget, f as getPlatformUrl, h as DEFAULT_PLATFORM_URL, i as installDependencies, l as getCliConfigDir, m as getWebUrl, n as buildPlaygroundWorkspace, o as resolvePackageManager, p as getServerUrl, s as resolveCliRoot, t as readCliVersion, u as getConfigDir } from "./version-TtPeAEMz.mjs";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { Command } from "commander";
|
|
6
6
|
import { platform, tmpdir } from "node:os";
|
|
@@ -4256,6 +4256,7 @@ function projectChannelPlatform(app) {
|
|
|
4256
4256
|
resourceNoun: app.gateway.resourceNoun,
|
|
4257
4257
|
webhookPathHint: app.gateway.webhookPathHint,
|
|
4258
4258
|
supportsChannelDirectory: app.gateway.supportsChannelDirectory,
|
|
4259
|
+
...app.gateway.connectAppId ? { connectAppId: app.gateway.connectAppId } : {},
|
|
4259
4260
|
docsUrl: app.gateway.docsUrl
|
|
4260
4261
|
});
|
|
4261
4262
|
}
|
|
@@ -5666,7 +5667,7 @@ function registerCredentialsCommand(program) {
|
|
|
5666
5667
|
//#endregion
|
|
5667
5668
|
//#region src/auth/resolve-login-targets.ts
|
|
5668
5669
|
function resolveAuthLoginTargets(options, config) {
|
|
5669
|
-
const webUrl = options.webUrl ?? "https://
|
|
5670
|
+
const webUrl = options.webUrl ?? "https://keystroke.ai";
|
|
5670
5671
|
return {
|
|
5671
5672
|
webUrl,
|
|
5672
5673
|
platformUrl: resolvePlatformUrlForWebUrl(webUrl, {
|
|
@@ -5773,7 +5774,7 @@ function registerBuildCommand(program) {
|
|
|
5773
5774
|
program.command("build").description("Build the keystroke project for production").option("--dir <path>", "Project directory", process.cwd()).action(async (options) => {
|
|
5774
5775
|
try {
|
|
5775
5776
|
const root = resolveProjectRoot(options.dir);
|
|
5776
|
-
const { buildApp } = await import("./dist-
|
|
5777
|
+
const { buildApp } = await import("./dist-CaXYCefX.mjs");
|
|
5777
5778
|
await buildApp({ root });
|
|
5778
5779
|
process.stdout.write(`Built ${root}\n`);
|
|
5779
5780
|
} catch (error) {
|
|
@@ -5930,7 +5931,7 @@ async function sleep(ms) {
|
|
|
5930
5931
|
}
|
|
5931
5932
|
async function buildDeployArchive(client, root, projectId, filter) {
|
|
5932
5933
|
if (filter?.length) {
|
|
5933
|
-
const { buildFilteredApp } = await import("./dist-
|
|
5934
|
+
const { buildFilteredApp } = await import("./dist-CaXYCefX.mjs");
|
|
5934
5935
|
const filtered = await buildFilteredApp({
|
|
5935
5936
|
root,
|
|
5936
5937
|
filter,
|
|
@@ -5952,7 +5953,7 @@ async function buildDeployArchive(client, root, projectId, filter) {
|
|
|
5952
5953
|
sourceFiles: filtered.sourceFiles
|
|
5953
5954
|
};
|
|
5954
5955
|
}
|
|
5955
|
-
const { buildApp } = await import("./dist-
|
|
5956
|
+
const { buildApp } = await import("./dist-CaXYCefX.mjs");
|
|
5956
5957
|
const { sourceFiles } = await buildApp({
|
|
5957
5958
|
root,
|
|
5958
5959
|
collectSources: true,
|
|
@@ -6064,7 +6065,7 @@ function runtimeChildEnv(parentEnv, overrides) {
|
|
|
6064
6065
|
//#region src/project/bootstrap-run.ts
|
|
6065
6066
|
/** Node args + env for `@keystrokehq/build` bootstrap (shared by start + dev). */
|
|
6066
6067
|
async function resolveBootstrapRun(options) {
|
|
6067
|
-
const { resolveRuntimeBuildArtifact } = await import("./dist-
|
|
6068
|
+
const { resolveRuntimeBuildArtifact } = await import("./dist-CaXYCefX.mjs");
|
|
6068
6069
|
const loader = pathToFileURL(resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/runtime-loader.mjs")).href;
|
|
6069
6070
|
const bootstrap = resolveRuntimeBuildArtifact(options.runtimeNodeModules, "dist/standalone-bootstrap.mjs");
|
|
6070
6071
|
const args = [`--import=${loader}`];
|
|
@@ -6214,7 +6215,7 @@ async function runDev(options) {
|
|
|
6214
6215
|
process.on("SIGINT", shutdown);
|
|
6215
6216
|
process.on("SIGTERM", shutdown);
|
|
6216
6217
|
try {
|
|
6217
|
-
const { watchApp } = await import("./dist-
|
|
6218
|
+
const { watchApp } = await import("./dist-CaXYCefX.mjs");
|
|
6218
6219
|
await watchApp({
|
|
6219
6220
|
root,
|
|
6220
6221
|
clean: false,
|
|
@@ -7040,7 +7041,7 @@ async function runStart(options) {
|
|
|
7040
7041
|
const apiPort = Number(new URL(serverUrl).port || 80);
|
|
7041
7042
|
const runtimeNodeModules = resolveCliRuntimeNodeModules(resolveCliRoot(import.meta.url));
|
|
7042
7043
|
ensureNativeDeps(runtimeNodeModules);
|
|
7043
|
-
const { buildApp } = await import("./dist-
|
|
7044
|
+
const { buildApp } = await import("./dist-CaXYCefX.mjs");
|
|
7044
7045
|
await buildApp({
|
|
7045
7046
|
root,
|
|
7046
7047
|
clean: false
|
|
@@ -7563,7 +7564,7 @@ function createProgram() {
|
|
|
7563
7564
|
return program;
|
|
7564
7565
|
}
|
|
7565
7566
|
async function runCli(argv) {
|
|
7566
|
-
const { maybeAutoUpdate } = await import("./maybe-auto-update-
|
|
7567
|
+
const { maybeAutoUpdate } = await import("./maybe-auto-update-DxAS-9S7.mjs");
|
|
7567
7568
|
await maybeAutoUpdate(argv);
|
|
7568
7569
|
createProgram().parse(argv);
|
|
7569
7570
|
}
|