@keystrokehq/cli 0.1.22 → 0.1.25

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.
Files changed (43) hide show
  1. package/dist/{dist-UdbUy9DM.mjs → dist-BOhrc_Nv.mjs} +20 -2
  2. package/dist/{dist-UdbUy9DM.mjs.map → dist-BOhrc_Nv.mjs.map} +1 -1
  3. package/dist/{dist-Bwn5tAiT.mjs → dist-C1QOfWMM.mjs} +206 -8545
  4. package/dist/dist-C1QOfWMM.mjs.map +1 -0
  5. package/dist/{dist-BdewSOMb.mjs → dist-CUEVu120.mjs} +3 -3
  6. package/dist/{dist-BdewSOMb.mjs.map → dist-CUEVu120.mjs.map} +1 -1
  7. package/dist/dist-DsdMtFME.mjs +3 -0
  8. package/dist/dist-Re6HHSqz.mjs +11561 -0
  9. package/dist/dist-Re6HHSqz.mjs.map +1 -0
  10. package/dist/index.mjs +132 -63
  11. package/dist/index.mjs.map +1 -1
  12. package/dist/{maybe-auto-update-BK4A8nTA.mjs → maybe-auto-update-q5MthdI8.mjs} +2 -2
  13. package/dist/{maybe-auto-update-BK4A8nTA.mjs.map → maybe-auto-update-q5MthdI8.mjs.map} +1 -1
  14. package/dist/skills-bundle/_AGENTS.mcp.md +101 -38
  15. package/dist/skills-bundle/_AGENTS.md +128 -49
  16. package/dist/{version-CUTRAMa8.mjs → version-DcR3O1UD.mjs} +2 -2
  17. package/dist/{version-CUTRAMa8.mjs.map → version-DcR3O1UD.mjs.map} +1 -1
  18. package/package.json +3 -3
  19. package/dist/dist-Bwn5tAiT.mjs.map +0 -1
  20. package/dist/dist-D8wvycYm.mjs +0 -127
  21. package/dist/dist-D8wvycYm.mjs.map +0 -1
  22. package/dist/dist-Dms4EW-W.mjs +0 -3
  23. package/dist/skills-bundle/skills/keystroke-actions/SKILL.md +0 -160
  24. package/dist/skills-bundle/skills/keystroke-actions/references/catalog-and-imports.md +0 -71
  25. package/dist/skills-bundle/skills/keystroke-agents/SKILL.md +0 -115
  26. package/dist/skills-bundle/skills/keystroke-agents/references/models.md +0 -23
  27. package/dist/skills-bundle/skills/keystroke-agents/references/tools-mcp-codemode.md +0 -73
  28. package/dist/skills-bundle/skills/keystroke-agents/references/workflows-and-testing.md +0 -26
  29. package/dist/skills-bundle/skills/keystroke-apps/SKILL.md +0 -151
  30. package/dist/skills-bundle/skills/keystroke-apps/references/cli-and-catalog.md +0 -104
  31. package/dist/skills-bundle/skills/keystroke-channels/SKILL.md +0 -66
  32. package/dist/skills-bundle/skills/keystroke-channels/references/slack-setup.md +0 -41
  33. package/dist/skills-bundle/skills/keystroke-cli/SKILL.md +0 -93
  34. package/dist/skills-bundle/skills/keystroke-deploy/SKILL.md +0 -93
  35. package/dist/skills-bundle/skills/keystroke-deploy/references/build-and-full-deploy.md +0 -30
  36. package/dist/skills-bundle/skills/keystroke-deploy/references/filtered-deploy.md +0 -50
  37. package/dist/skills-bundle/skills/keystroke-deploy/references/wip-ignore.md +0 -35
  38. package/dist/skills-bundle/skills/keystroke-files/SKILL.md +0 -43
  39. package/dist/skills-bundle/skills/keystroke-skills/SKILL.md +0 -42
  40. package/dist/skills-bundle/skills/keystroke-triggers/SKILL.md +0 -143
  41. package/dist/skills-bundle/skills/keystroke-workflows/SKILL.md +0 -78
  42. package/dist/skills-bundle/skills/keystroke-workflows/references/authoring.md +0 -168
  43. package/dist/skills-bundle/skills/keystroke-workflows/references/testing.md +0 -138
@@ -5427,6 +5427,24 @@ function slugifyAppName(name) {
5427
5427
  }
5428
5428
  /** Browser→platform request budget (ping + small platform overhead). */
5429
5429
  const PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS = 17e3;
5430
+ /** Path of the public Mintlify-hosted docs search MCP server, relative to the web origin. */
5431
+ const DOCS_MCP_PATH = "/docs/mcp";
5432
+ /**
5433
+ * Tool names exposed by the public Mintlify-hosted docs MCP server. These are the
5434
+ * upstream tool identifiers we proxy to; our CLI and MCP server present stable
5435
+ * `docs search`/`query` and `search_docs`/`query_docs` surfaces on top of them.
5436
+ */
5437
+ const DOCS_SEARCH_TOOL = "search_keystroke";
5438
+ const DOCS_QUERY_TOOL = "query_docs_filesystem_keystroke";
5439
+ /**
5440
+ * Resolve the public Keystroke docs MCP URL. Defaults to `{webUrl}/docs/mcp`;
5441
+ * an explicit `override` (e.g. `KEYSTROKE_DOCS_MCP_URL`) wins for dev/testing.
5442
+ */
5443
+ function resolveDocsMcpUrl(options) {
5444
+ const override = options.override?.trim();
5445
+ if (override) return override.replace(/\/+$/, "");
5446
+ return `${options.webUrl.replace(/\/+$/, "")}${DOCS_MCP_PATH}`;
5447
+ }
5430
5448
  /** Normalize a public origin URL (no trailing slash). */
5431
5449
  function originFromPublicUrl(value, fallback) {
5432
5450
  const trimmed = value?.trim();
@@ -7769,6 +7787,6 @@ const ListAgentWorkspaceFilesResponseSchema = object({ files: array(object({
7769
7787
  path: string().min(1)
7770
7788
  })) });
7771
7789
  //#endregion
7772
- export { HealthResponseSchema as $, _enum as $n, StartKeystrokeConnectionResultSchema as $t, CreateCustomAppRequestSchema as A, WorkflowSummaryDetailResponseSchema as An, PresignChatAttachmentResponseSchema as At, CredentialConsumerListQuerySchema as B, detectProjectPackageManagerFromSnapshot as Bn, ProjectSettingsResponseSchema as Bt, ConnectAuthorizeUrlResponseSchema as C, UserAvatarPatchSchema as Cn, OpenApiDiscoverResponseSchema as Ct, CreateCredentialInstanceBodySchema as D, WorkflowRunDetailResponseSchema as Dn, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as Dt, CreateApiKeyResponseSchema as E, UserPreferencesSchema as En, PROJECT_PULL_STATE_RELATIVE_PATH as Et, CreateProjectRequestSchema as F, WorkspaceTriggerOverviewSchema as Fn, PresignUserAvatarRequestSchema as Ft, DeclineOrganizationInvitationResponseSchema as G, parseAppSlug as Gn, QueuedAgentPromptResponseSchema as Gt, CredentialInstanceListResponseSchema as H, listenPortFromPublicUrl as Hn, PromptInputSchema as Ht, CreateProjectResponseSchema as I, WorkspaceTriggerRunListResponseSchema as In, PresignUserAvatarResponseSchema as It, ErrorResponseSchema as J, resolveConnectAppSlug as Jn, RecentResourceListResponseSchema as Jt, DownloadActiveProjectArtifactResponseSchema as K, parseErrorResponse as Kn, QueuedRunResponseSchema as Kt, CredentialAssignmentListQuerySchema as L, buildConnectDeeplink as Ln, ProjectPullStateSchema as Lt, CreateOrganizationRequestSchema as M, WorkspaceTriggerDetailSchema as Mn, PresignOrgLogoResponseSchema as Mt, CreateOrganizationResponseSchema as N, WorkspaceTriggerFileSchema as Nn, PresignProjectSourceRequestSchema as Nt, CreateCredentialsRequestSchema as O, WorkflowRunHooksResponseSchema as On, PollRunResponseSchema as Ot, CreateProjectArtifactResponseSchema as P, WorkspaceTriggerListResponseSchema as Pn, PresignProjectSourceResponseSchema as Pt, GraphqlDiscoverResponseSchema as Q, ZodType as Qn, StartKeystrokeConnectionInputSchema as Qt, CredentialAssignmentListResponseSchema as R, credentialInputSchema as Rn, ProjectReachabilityResponseSchema as Rt, CompleteProjectArtifactResponseSchema as S, UpsertGatewayAttachmentBodySchema as Sn, McpDiscoverResponseSchema as St, CreateApiKeyRequestSchema as T, UserPreferencesPatchSchema as Tn, OrganizationSidebarBrandingSchema as Tt, CredentialInstanceRecordSchema as U, normalizeCredentialList as Un, PromptResponseSchema as Ut, CredentialConsumerListResponseSchema as V, isAcceptableInstallExit as Vn, ProjectSlugAvailabilityResponseSchema as Vt, DEFAULT_CLOUD_PLATFORM_ORIGIN as W, originFromPublicUrl as Wn, PublicModelsResponseSchema as Wt, GetCredentialResponseSchema as X, slugifyAppName as Xn, SkillSummaryListResponseSchema as Xt, GatewayAttachmentRecordSchema as Y, resolvePublicPlatformOrigin as Yn, SkillSummaryDetailResponseSchema as Yt, GetCustomAppResponseSchema as Z, number as Zn, SlugAvailabilityResponseSchema as Zt, ChannelAccountListResponseSchema as _, UpdateProjectMemberResponseSchema as _n, unknown as _r, ListProjectDeploymentsResponseSchema as _t, AgentSessionDetailResponseSchema as a, SubmitTeamRequestRequestSchema as an, custom as ar, InviteOrganizationMembersResponseSchema as at, ChannelDirectoryListResponseSchema as b, UploadProjectSourceManifestRequestSchema as bn, toJSONSchema as br, ListProjectMetricsResponseSchema as bt, AgentSummaryListResponseSchema as c, TriggerRunDetailResponseSchema as cn, literal as cr, LOCAL_PLATFORM_ORIGIN as ct, AssignCredentialBodySchema as d, UpdateCredentialInstanceBodySchema as dn, object as dr, ListApiKeysResponseSchema as dt, StartMcpOAuthConnectionInputSchema as en, _function as er, HistoryRunCancelResponseSchema as et, BindChannelBodySchema as f, UpdateCredentialRequestSchema as fn, optional as fr, ListAppsResponseSchema as ft, CatalogAppsPageResponseSchema as g, UpdateProjectMemberRequestSchema as gn, union as gr, ListOrganizationsResponseSchema as gt, CatalogAppDetailResponseSchema as h, UpdateOrganizationRequestSchema as hn, string as hr, ListOrganizationMembersResponseSchema as ht, AgentSessionChatStateResponseSchema as i, SubmitMarketingContactRequestSchema as in, boolean as ir, InviteOrganizationMembersRequestSchema as it, CreateCustomAppResponseSchema as j, WorkflowSummaryListResponseSchema as jn, PresignOrgLogoRequestSchema as jt, CreateCredentialsResponseSchema as k, WorkflowRunListResponseSchema as kn, PresignChatAttachmentRequestSchema as kt, AgentTriggerSummaryListResponseSchema as l, TriggerRunListResponseSchema as ln, looseObject as lr, ListAgentMemoryFilesResponseSchema as lt, CatalogActionsPageResponseSchema as m, UpdateOrganizationMemberResponseSchema as mn, record as mr, ListOrganizationInvitationsResponseSchema as mt, AcceptOrganizationInvitationResponseSchema as n, StartOAuthConnectionInputSchema as nn, any as nr, HistoryRunListQuerySchema as nt, AgentSessionListResponseSchema as o, TriggerDetailResponseSchema as on, discriminatedUnion as or, InviteProjectMembersRequestSchema as ot, CatalogActionDetailResponseSchema as p, UpdateOrganizationMemberRequestSchema as pn, preprocess as pr, ListCredentialsResponseSchema as pt, DownloadActiveProjectSourceResponseSchema as q, parseStoredRouteManifest as qn, ROUTE_MANIFEST_REL_PATH as qt, ActiveOrganizationResponseSchema as r, StartOAuthConnectionResultSchema as rn, array as rr, HistoryRunListResponseSchema as rt, AgentSummaryDetailResponseSchema as s, TriggerListResponseSchema as sn, intersection as sr, InviteProjectMembersResponseSchema as st, ACTIVE_ORG_HEADER as t, StartMcpOAuthConnectionResultSchema as tn, _null as tr, HistoryRunDetailResponseSchema as tt, AppSlugAvailabilityResponseSchema as u, UpdateChannelBindingBodySchema as un, number$1 as ur, ListAgentWorkspaceFilesResponseSchema as ut, ChannelConnectionListResponseSchema as v, UpdateProjectRequestSchema as vn, url as vr, ListProjectFilesResponseSchema as vt, ConnectProvidersResponseSchema as w, UserAvatarSchema as wn, OrganizationSidebarBrandingPatchSchema as wt, ChannelPlatformSchema as x, UploadProjectSourceResponseSchema as xn, NEVER as xr, ListProjectsResponseSchema as xt, ChannelConnectionSchema as y, UpdateProjectSettingsRequestSchema as yn, datetime as yr, ListProjectMembersResponseSchema as yt, CredentialAssignmentRecordSchema as z, deriveCustomAppDisplay as zn, ProjectResponseSchema as zt };
7790
+ export { GetCustomAppResponseSchema as $, slugifyAppName as $n, SlugAvailabilityResponseSchema as $t, CreateCustomAppRequestSchema as A, WorkflowRunHooksResponseSchema as An, PollRunResponseSchema as At, CredentialConsumerListQuerySchema as B, credentialInputSchema as Bn, ProjectReachabilityResponseSchema as Bt, ConnectAuthorizeUrlResponseSchema as C, UploadProjectSourceResponseSchema as Cn, toJSONSchema as Cr, ListProjectsResponseSchema as Ct, CreateCredentialInstanceBodySchema as D, UserPreferencesPatchSchema as Dn, OrganizationSidebarBrandingSchema as Dt, CreateApiKeyResponseSchema as E, UserAvatarSchema as En, OrganizationSidebarBrandingPatchSchema as Et, CreateProjectRequestSchema as F, WorkspaceTriggerFileSchema as Fn, PresignProjectSourceRequestSchema as Ft, DOCS_QUERY_TOOL as G, normalizeCredentialList as Gn, PromptResponseSchema as Gt, CredentialInstanceListResponseSchema as H, detectProjectPackageManagerFromSnapshot as Hn, ProjectSettingsResponseSchema as Ht, CreateProjectResponseSchema as I, WorkspaceTriggerListResponseSchema as In, PresignProjectSourceResponseSchema as It, DownloadActiveProjectArtifactResponseSchema as J, parseErrorResponse as Jn, QueuedRunResponseSchema as Jt, DOCS_SEARCH_TOOL as K, originFromPublicUrl as Kn, PublicModelsResponseSchema as Kt, CredentialAssignmentListQuerySchema as L, WorkspaceTriggerOverviewSchema as Ln, PresignUserAvatarRequestSchema as Lt, CreateOrganizationRequestSchema as M, WorkflowSummaryDetailResponseSchema as Mn, PresignChatAttachmentResponseSchema as Mt, CreateOrganizationResponseSchema as N, WorkflowSummaryListResponseSchema as Nn, PresignOrgLogoRequestSchema as Nt, CreateCredentialsRequestSchema as O, UserPreferencesSchema as On, PROJECT_PULL_STATE_RELATIVE_PATH as Ot, CreateProjectArtifactResponseSchema as P, WorkspaceTriggerDetailSchema as Pn, PresignOrgLogoResponseSchema as Pt, GetCredentialResponseSchema as Q, resolvePublicPlatformOrigin as Qn, SkillSummaryListResponseSchema as Qt, CredentialAssignmentListResponseSchema as R, WorkspaceTriggerRunListResponseSchema as Rn, PresignUserAvatarResponseSchema as Rt, CompleteProjectArtifactResponseSchema as S, UploadProjectSourceManifestRequestSchema as Sn, datetime as Sr, ListProjectMetricsResponseSchema as St, CreateApiKeyRequestSchema as T, UserAvatarPatchSchema as Tn, NEVER as Tr, OpenApiDiscoverResponseSchema as Tt, CredentialInstanceRecordSchema as U, isAcceptableInstallExit as Un, ProjectSlugAvailabilityResponseSchema as Ut, CredentialConsumerListResponseSchema as V, deriveCustomAppDisplay as Vn, ProjectResponseSchema as Vt, DEFAULT_CLOUD_PLATFORM_ORIGIN as W, listenPortFromPublicUrl as Wn, PromptInputSchema as Wt, ErrorResponseSchema as X, resolveConnectAppSlug as Xn, RecentResourceListResponseSchema as Xt, DownloadActiveProjectSourceResponseSchema as Y, parseStoredRouteManifest as Yn, ROUTE_MANIFEST_REL_PATH as Yt, GatewayAttachmentRecordSchema as Z, resolveDocsMcpUrl as Zn, SkillSummaryDetailResponseSchema as Zt, ChannelAccountListResponseSchema as _, UpdateOrganizationRequestSchema as _n, record as _r, ListOrganizationMembersResponseSchema as _t, AgentSessionDetailResponseSchema as a, StartOAuthConnectionResultSchema as an, any as ar, HistoryRunListResponseSchema as at, ChannelDirectoryListResponseSchema as b, UpdateProjectRequestSchema as bn, unknown as br, ListProjectFilesResponseSchema as bt, AgentSummaryListResponseSchema as c, TriggerDetailResponseSchema as cn, custom as cr, InviteProjectMembersRequestSchema as ct, AssignCredentialBodySchema as d, TriggerRunListResponseSchema as dn, literal as dr, ListAgentMemoryFilesResponseSchema as dt, StartKeystrokeConnectionInputSchema as en, number as er, GraphqlDiscoverResponseSchema as et, BindChannelBodySchema as f, UpdateChannelBindingBodySchema as fn, looseObject as fr, ListAgentWorkspaceFilesResponseSchema as ft, CatalogAppsPageResponseSchema as g, UpdateOrganizationMemberResponseSchema as gn, preprocess as gr, ListOrganizationInvitationsResponseSchema as gt, CatalogAppDetailResponseSchema as h, UpdateOrganizationMemberRequestSchema as hn, optional as hr, ListCredentialsResponseSchema as ht, AgentSessionChatStateResponseSchema as i, StartOAuthConnectionInputSchema as in, _null as ir, HistoryRunListQuerySchema as it, CreateCustomAppResponseSchema as j, WorkflowRunListResponseSchema as jn, PresignChatAttachmentRequestSchema as jt, CreateCredentialsResponseSchema as k, WorkflowRunDetailResponseSchema as kn, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as kt, AgentTriggerSummaryListResponseSchema as l, TriggerListResponseSchema as ln, discriminatedUnion as lr, InviteProjectMembersResponseSchema as lt, CatalogActionsPageResponseSchema as m, UpdateCredentialRequestSchema as mn, object as mr, ListAppsResponseSchema as mt, AcceptOrganizationInvitationResponseSchema as n, StartMcpOAuthConnectionInputSchema as nn, _enum as nr, HistoryRunCancelResponseSchema as nt, AgentSessionListResponseSchema as o, SubmitMarketingContactRequestSchema as on, array as or, InviteOrganizationMembersRequestSchema as ot, CatalogActionDetailResponseSchema as p, UpdateCredentialInstanceBodySchema as pn, number$1 as pr, ListApiKeysResponseSchema as pt, DeclineOrganizationInvitationResponseSchema as q, parseAppSlug as qn, QueuedAgentPromptResponseSchema as qt, ActiveOrganizationResponseSchema as r, StartMcpOAuthConnectionResultSchema as rn, _function as rr, HistoryRunDetailResponseSchema as rt, AgentSummaryDetailResponseSchema as s, SubmitTeamRequestRequestSchema as sn, boolean as sr, InviteOrganizationMembersResponseSchema as st, ACTIVE_ORG_HEADER as t, StartKeystrokeConnectionResultSchema as tn, ZodType as tr, HealthResponseSchema as tt, AppSlugAvailabilityResponseSchema as u, TriggerRunDetailResponseSchema as un, intersection as ur, LOCAL_PLATFORM_ORIGIN as ut, ChannelConnectionListResponseSchema as v, UpdateProjectMemberRequestSchema as vn, string as vr, ListOrganizationsResponseSchema as vt, ConnectProvidersResponseSchema as w, UpsertGatewayAttachmentBodySchema as wn, safeParse$1 as wr, McpDiscoverResponseSchema as wt, ChannelPlatformSchema as x, UpdateProjectSettingsRequestSchema as xn, url as xr, ListProjectMembersResponseSchema as xt, ChannelConnectionSchema as y, UpdateProjectMemberResponseSchema as yn, union as yr, ListProjectDeploymentsResponseSchema as yt, CredentialAssignmentRecordSchema as z, buildConnectDeeplink as zn, ProjectPullStateSchema as zt };
7773
7791
 
7774
- //# sourceMappingURL=dist-UdbUy9DM.mjs.map
7792
+ //# sourceMappingURL=dist-BOhrc_Nv.mjs.map