@keystrokehq/cli 0.1.143 → 0.1.144
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-DcNWYQFI.mjs → dist-B3Tr74Uv.mjs} +23 -2
- package/dist/dist-B3Tr74Uv.mjs.map +1 -0
- package/dist/{dist-DPSu3rOg.mjs → dist-D_xlxdl2.mjs} +3 -3
- package/dist/{dist-DPSu3rOg.mjs.map → dist-D_xlxdl2.mjs.map} +1 -1
- package/dist/{dist-D7mPzqIx.mjs → dist-DwD4VJLx.mjs} +2 -2
- package/dist/{dist-D7mPzqIx.mjs.map → dist-DwD4VJLx.mjs.map} +1 -1
- package/dist/dist-RnvQQpQe.mjs +4 -0
- package/dist/{dist-BUwglLzQ.mjs → dist-YtNRS_BV.mjs} +8 -9
- package/dist/dist-YtNRS_BV.mjs.map +1 -0
- package/dist/index.mjs +1 -1
- package/dist/{maybe-auto-update-BjcJ9ZBa.mjs → maybe-auto-update-CQt3Ienz.mjs} +2 -2
- package/dist/{maybe-auto-update-BjcJ9ZBa.mjs.map → maybe-auto-update-CQt3Ienz.mjs.map} +1 -1
- package/dist/{program-DNUY6tFy.mjs → program-DgUV3vFS.mjs} +11 -11
- package/dist/{program-DNUY6tFy.mjs.map → program-DgUV3vFS.mjs.map} +1 -1
- package/dist/{run-package-manager-update-DobERrXN.mjs → run-package-manager-update-BF5rz2Rt.mjs} +2 -2
- package/dist/{run-package-manager-update-DobERrXN.mjs.map → run-package-manager-update-BF5rz2Rt.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-BUwglLzQ.mjs.map +0 -1
- package/dist/dist-DS0YMaCi.mjs +0 -3
- package/dist/dist-DcNWYQFI.mjs.map +0 -1
|
@@ -5554,6 +5554,27 @@ function resolveExplicitPublicPlatformOrigin(env = process.env) {
|
|
|
5554
5554
|
function resolvePublicPlatformOrigin(env = process.env) {
|
|
5555
5555
|
return resolveExplicitPublicPlatformOrigin(env) ?? "http://localhost:3002";
|
|
5556
5556
|
}
|
|
5557
|
+
/**
|
|
5558
|
+
* Target for Zod ↔ JSON Schema round-trips of persisted Keystroke schemas
|
|
5559
|
+
* (workflow inputs, webhook payloads, hook resume schemas, agent output schemas).
|
|
5560
|
+
*
|
|
5561
|
+
* OpenAPI 3.0 emits `#/definitions/...` refs without a `$schema` field. Zod's
|
|
5562
|
+
* `fromJSONSchema` defaults to draft-2020-12 (`#/$defs/...`) when `$schema` is
|
|
5563
|
+
* absent, so callers must pass this same target on the way back.
|
|
5564
|
+
*
|
|
5565
|
+
* LLM tool parameters use draft-2020-12 via {@link toolParameters} instead —
|
|
5566
|
+
* those are not round-tripped through `jsonSchemaToZod`.
|
|
5567
|
+
*/
|
|
5568
|
+
const STORED_JSON_SCHEMA_TARGET = "openapi-3.0";
|
|
5569
|
+
/** Serialize a Zod schema for persistence / later {@link jsonSchemaToZod}. */
|
|
5570
|
+
function zodToStoredJsonSchema(schema, options = {}) {
|
|
5571
|
+
return toJSONSchema(schema, {
|
|
5572
|
+
target: STORED_JSON_SCHEMA_TARGET,
|
|
5573
|
+
...options.allowAdditionalProperties ? { override(ctx) {
|
|
5574
|
+
if (ctx.jsonSchema.type === "object") ctx.jsonSchema.additionalProperties = true;
|
|
5575
|
+
} } : {}
|
|
5576
|
+
});
|
|
5577
|
+
}
|
|
5557
5578
|
function isValidIanaTimezone(value) {
|
|
5558
5579
|
try {
|
|
5559
5580
|
Intl.DateTimeFormat(void 0, { timeZone: value });
|
|
@@ -8803,6 +8824,6 @@ const ListAgentWorkspaceFilesResponseSchema = object({ files: array(object({
|
|
|
8803
8824
|
})) });
|
|
8804
8825
|
const WorkflowRunInputsPutBodySchema = record(string(), unknown());
|
|
8805
8826
|
//#endregion
|
|
8806
|
-
export { CredentialInstanceListResponseSchema as $,
|
|
8827
|
+
export { CredentialInstanceListResponseSchema as $, UpdateManagedServiceCredentialRequestSchema as $n, ZodType as $r, OrganizationSidebarBrandingSchema as $t, ConnectAuthorizeUrlResponseSchema as A, SkillSummaryDetailResponseSchema as An, WorkspaceTriggerOverviewSchema as Ar, ListAgentMemoryFilesResponseSchema as At, CreateCustomAppRequestSchema as B, SubmitMarketingContactRequestSchema as Bn, normalizeDocsSearchPaths as Br, ListOrganizationMembersPageResponseSchema as Bt, ChannelAccountListResponseSchema as C, NEVER as Ci, PublishedFormListResponseSchema as Cn, WorkflowRunListResponseSchema as Cr, HistoryRunListQuerySchema as Ct, CompleteProjectArtifactResponseSchema as D, ROUTE_MANIFEST_REL_PATH as Dn, WorkspaceTriggerDetailSchema as Dr, InviteProjectMembersRequestSchema as Dt, ChannelDirectoryListResponseSchema as E, QueuedRunResponseSchema as En, WorkflowSummaryListResponseSchema as Er, InviteOrganizationMembersResponseSchema as Et, CreateBillingPortalRequestSchema as F, StartMcpOAuthConnectionInputSchema as Fn, deriveCustomAppDisplay as Fr, ListCredentialsPageQuerySchema as Ft, CreateProjectRequestSchema as G, TriggerInvokeResponseSchema as Gn, requiredDisplayTextSchema as Gr, ListProjectMetricsResponseSchema as Gt, CreateOrganizationRequestSchema as H, TemplateFilesResponseSchema as Hn, parseAppSlug as Hr, ListProjectDeploymentsResponseSchema as Ht, CreateCredentialInstanceBodySchema as I, StartMcpOAuthConnectionResultSchema as In, detectProjectPackageManagerFromSnapshot as Ir, ListCredentialsPageResponseSchema as It, CredentialAssignmentListQuerySchema as J, TriggerRunListResponseSchema as Jn, resolvePublicPlatformOrigin as Jr, ManagedServiceCredentialSchema as Jt, CreateProjectResponseSchema as K, TriggerListResponseSchema as Kn, resolveConnectAppSlug as Kr, ListProjectsResponseSchema as Kt, CreateCredentialsRequestSchema as L, StartOAuthConnectionInputSchema as Ln, isAcceptableInstallExit as Lr, ListManagedServiceCredentialsResponseSchema as Lt, ConnectProvidersResponseSchema as M, SlugAvailabilityResponseSchema as Mn, WorkspaceWorkflowOverviewSchema as Mr, ListApiKeysResponseSchema as Mt, CreateApiKeyRequestSchema as N, StartKeystrokeConnectionInputSchema as Nn, buildConnectDeeplink as Nr, ListAppsResponseSchema as Nt, ConfirmCheckoutRequestSchema as O, RecentResourceListResponseSchema as On, WorkspaceTriggerFileSchema as Or, InviteProjectMembersResponseSchema as Ot, CreateApiKeyResponseSchema as P, StartKeystrokeConnectionResultSchema as Pn, credentialInputSchema as Pr, ListChannelPlatformsResponseSchema as Pt, CredentialConsumerListResponseSchema as Q, UpdateCredentialRequestSchema as Qn, ZodIssueCode as Qr, OrganizationSidebarBrandingPatchSchema as Qt, CreateCredentialsResponseSchema as R, StartOAuthConnectionResultSchema as Rn, listenPortFromPublicUrl as Rr, ListOrganizationInvitationsResponseSchema as Rt, CatalogAppsPageResponseSchema as S, safeParse$1 as Si, PublicModelsResponseSchema as Sn, WorkflowRunInputsSchema as Sr, HistoryRunDetailResponseSchema as St, ChannelConnectionSchema as T, QueuedAgentPromptResponseSchema as Tn, WorkflowSummaryDetailResponseSchema as Tr, InviteOrganizationMembersRequestSchema as Tt, CreateOrganizationResponseSchema as U, TriggerDetailResponseSchema as Un, parseErrorResponse as Ur, ListProjectFilesResponseSchema as Ut, CreateCustomAppResponseSchema as V, SubmitTeamRequestRequestSchema as Vn, originFromPublicUrl as Vr, ListOrganizationsResponseSchema as Vt, CreateProjectArtifactResponseSchema as W, TriggerInvokeInputsSchema as Wn, parseStoredRouteManifest as Wr, ListProjectMembersResponseSchema as Wt, CredentialAssignmentRecordSchema as X, UpdateChannelBindingBodySchema as Xn, zodToStoredJsonSchema as Xr, McpDiscoverResponseSchema as Xt, CredentialAssignmentListResponseSchema as Y, UpdateAutoTopupRequestSchema as Yn, slugifyAppName as Yr, ManagedServiceKindSchema as Yt, CredentialConsumerListQuerySchema as Z, UpdateCredentialInstanceBodySchema as Zn, number as Zr, OpenApiDiscoverResponseSchema as Zt, BindChannelBodySchema as _, string as _i, PromptInputSchema as _n, WorkflowFormResponseSchema as _r, GetCustomAppResponseSchema as _t, AgentSessionListResponseSchema as a, boolean as ai, PresignCustomAppLogoResponseSchema as an, UpdateProjectRequestSchema as ar, DownloadActiveProjectArtifactResponseSchema as at, CatalogActionsPageResponseSchema as b, url as bi, PublicFormSubmitBodySchema as bn, WorkflowRunHooksResponseSchema as br, HealthResponseSchema as bt, AgentTriggerSummaryListResponseSchema as c, intersection as ci, PresignProjectSourceRequestSchema as cn, UploadProjectSourceResponseSchema as cr, DuplicateCredentialsResponseSchema as ct, AutoTopupSummarySchema as d, looseObject as di, PresignUserAvatarResponseSchema as dn, UserAvatarSchema as dr, FinalizeCustomAppLogoRequestSchema as dt, _enum as ei, PROJECT_PULL_STATE_RELATIVE_PATH as en, UpdateOrganizationMemberRequestSchema as er, CredentialInstanceRecordSchema as et, BillingActivityResponseSchema as f, number$1 as fi, ProjectPullStateSchema as fn, UserPreferencesPatchSchema as fr, FinalizeCustomAppLogoResponseSchema as ft, BillingUsageResponseSchema as g, record as gi, ProjectSlugAvailabilityResponseSchema as gn, WorkflowCanvasSchema as gr, GetCredentialResponseSchema as gt, BillingSummaryResponseSchema as h, preprocess as hi, ProjectSettingsResponseSchema as hn, WorkflowCanvasRunSchema as hr, GetAppCatalogEntryResponseSchema as ht, AgentSessionDetailResponseSchema as i, array as ii, PresignCustomAppLogoRequestSchema as in, UpdateProjectMemberResponseSchema as ir, DeclineOrganizationInvitationResponseSchema as it, ConnectManagedServiceCredentialRequestSchema as j, SkillSummaryListResponseSchema as jn, WorkspaceTriggerRunListResponseSchema as jr, ListAgentWorkspaceFilesResponseSchema as jt, ConfirmCheckoutResponseSchema as k, STORED_JSON_SCHEMA_TARGET as kn, WorkspaceTriggerListResponseSchema as kr, LOCAL_PLATFORM_ORIGIN as kt, AppSlugAvailabilityResponseSchema as l, lazy as li, PresignProjectSourceResponseSchema as ln, UpsertGatewayAttachmentBodySchema as lr, ExecuteKeystrokeToolRequestSchema as lt, BillingRedirectResponseSchema as m, optional as mi, ProjectResponseSchema as mn, WorkflowCanvasCredentialBindingsSchema as mr, GatewayAttachmentRecordSchema as mt, AcceptOrganizationInvitationResponseSchema as n, _null as ni, PresignChatAttachmentRequestSchema as nn, UpdateOrganizationRequestSchema as nr, DOCS_QUERY_TOOL as nt, AgentSummaryDetailResponseSchema as o, custom as oi, PresignOrgLogoRequestSchema as on, UpdateProjectSettingsRequestSchema as or, DownloadActiveProjectSourceResponseSchema as ot, BillingInvoiceUrlResponseSchema as p, object as pi, ProjectReachabilityResponseSchema as pn, UserPreferencesSchema as pr, FormFieldConfigSchema as pt, CreateSubscriptionCheckoutRequestSchema as q, TriggerRunDetailResponseSchema as qn, resolveDocsMcpUrl as qr, ListTemplatesResponseSchema as qt, ActiveOrganizationResponseSchema as r, any as ri, PresignChatAttachmentResponseSchema as rn, UpdateProjectMemberRequestSchema as rr, DOCS_SEARCH_TOOL as rt, AgentSummaryListResponseSchema as s, discriminatedUnion as si, PresignOrgLogoResponseSchema as sn, UploadProjectSourceManifestRequestSchema as sr, DuplicateCredentialRequestSchema as st, ACTIVE_ORG_HEADER as t, _function as ti, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as tn, UpdateOrganizationMemberResponseSchema as tr, DEFAULT_CLOUD_PLATFORM_ORIGIN as tt, AssignCredentialBodySchema as u, literal as ui, PresignUserAvatarRequestSchema as un, UserAvatarPatchSchema as ur, FilePartSchema as ut, CLIENT_CHANNEL_HEADER as v, union as vi, PromptResponseSchema as vn, WorkflowFormUpsertBodySchema as vr, GetTemplateResponseSchema as vt, ChannelConnectionListResponseSchema as w, PublishedFormSchema as wn, WorkflowRunResponseSchema as wr, HistoryRunListResponseSchema as wt, CatalogAppDetailResponseSchema as x, datetime as xi, PublicFormSubmitResponseSchema as xn, WorkflowRunInputsPutBodySchema as xr, HistoryRunCancelResponseSchema as xt, CatalogActionDetailResponseSchema as y, unknown as yi, PublicFormMetadataSchema as yn, WorkflowRunDetailResponseSchema as yr, GraphqlDiscoverResponseSchema as yt, CreateCreditsCheckoutRequestSchema as z, SubmitAgentFeedbackRequestSchema as zn, normalizeCredentialList as zr, ListOrganizationMembersPageQuerySchema as zt };
|
|
8807
8828
|
|
|
8808
|
-
//# sourceMappingURL=dist-
|
|
8829
|
+
//# sourceMappingURL=dist-B3Tr74Uv.mjs.map
|