@keystrokehq/cli 0.1.135 → 0.1.136
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-Df6dR-oX.mjs → dist-C4j9muEB.mjs} +85 -7
- package/dist/dist-C4j9muEB.mjs.map +1 -0
- package/dist/{dist-DR0jFfjU.mjs → dist-CS_UEP2o.mjs} +2 -21
- package/dist/dist-CS_UEP2o.mjs.map +1 -0
- package/dist/{dist-CKoP7vd1.mjs → dist-CTxk-b3w.mjs} +3 -3
- package/dist/{dist-CKoP7vd1.mjs.map → dist-CTxk-b3w.mjs.map} +1 -1
- package/dist/dist-J67lGXHj.mjs +3 -0
- package/dist/{dist-BPfI27v8.mjs → dist-uDYI43cW.mjs} +137 -60
- package/dist/dist-uDYI43cW.mjs.map +1 -0
- package/dist/index.mjs +1 -1
- package/dist/{maybe-auto-update-BhqEC4Jc.mjs → maybe-auto-update-lF-vd1vx.mjs} +2 -2
- package/dist/{maybe-auto-update-BhqEC4Jc.mjs.map → maybe-auto-update-lF-vd1vx.mjs.map} +1 -1
- package/dist/{program-iqGXieZx.mjs → program-xJZurQ2n.mjs} +11 -11
- package/dist/{program-iqGXieZx.mjs.map → program-xJZurQ2n.mjs.map} +1 -1
- package/dist/{run-package-manager-update-CNqKe2c2.mjs → run-package-manager-update-Dn1AxPrJ.mjs} +2 -2
- package/dist/{run-package-manager-update-CNqKe2c2.mjs.map → run-package-manager-update-Dn1AxPrJ.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-BPfI27v8.mjs.map +0 -1
- package/dist/dist-DR0jFfjU.mjs.map +0 -1
- package/dist/dist-Df6dR-oX.mjs.map +0 -1
- package/dist/dist-DpzPOV7H.mjs +0 -3
|
@@ -4770,6 +4770,25 @@ function preprocess(fn, schema) {
|
|
|
4770
4770
|
});
|
|
4771
4771
|
}
|
|
4772
4772
|
//#endregion
|
|
4773
|
+
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/compat.js
|
|
4774
|
+
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
4775
|
+
const ZodIssueCode = {
|
|
4776
|
+
invalid_type: "invalid_type",
|
|
4777
|
+
too_big: "too_big",
|
|
4778
|
+
too_small: "too_small",
|
|
4779
|
+
invalid_format: "invalid_format",
|
|
4780
|
+
not_multiple_of: "not_multiple_of",
|
|
4781
|
+
unrecognized_keys: "unrecognized_keys",
|
|
4782
|
+
invalid_union: "invalid_union",
|
|
4783
|
+
invalid_key: "invalid_key",
|
|
4784
|
+
invalid_element: "invalid_element",
|
|
4785
|
+
invalid_value: "invalid_value",
|
|
4786
|
+
custom: "custom"
|
|
4787
|
+
};
|
|
4788
|
+
/** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */
|
|
4789
|
+
var ZodFirstPartyTypeKind;
|
|
4790
|
+
(function(ZodFirstPartyTypeKind) {})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));
|
|
4791
|
+
//#endregion
|
|
4773
4792
|
//#region ../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/coerce.js
|
|
4774
4793
|
function number(params) {
|
|
4775
4794
|
return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
|
|
@@ -5794,7 +5813,9 @@ const storedRouteManifestEntryV2Schema = discriminatedUnion("kind", [
|
|
|
5794
5813
|
appSlugs: array(string()).default([]),
|
|
5795
5814
|
toolSlugs: array(string()).default([]),
|
|
5796
5815
|
/** Credential requirements per tool slug (the agent's credential consumer key). */
|
|
5797
|
-
toolRequirements: record(string(), array(CredentialRequirementSummarySchema)).optional()
|
|
5816
|
+
toolRequirements: record(string(), array(CredentialRequirementSummarySchema)).optional(),
|
|
5817
|
+
/** Credential requirements for the agent's VM sandbox env / git bootstrap. */
|
|
5818
|
+
sandboxRequirements: array(CredentialRequirementSummarySchema).optional()
|
|
5798
5819
|
}),
|
|
5799
5820
|
object({
|
|
5800
5821
|
kind: literal("action"),
|
|
@@ -6883,9 +6904,18 @@ const SubmitTeamRequestRequestSchema = object({
|
|
|
6883
6904
|
"contact",
|
|
6884
6905
|
"enterprise-upgrade",
|
|
6885
6906
|
"verification",
|
|
6886
|
-
"slack-connect"
|
|
6907
|
+
"slack-connect",
|
|
6908
|
+
"connector-access"
|
|
6887
6909
|
]),
|
|
6888
|
-
message: string().trim().max(5e3).optional()
|
|
6910
|
+
message: string().trim().max(5e3).optional(),
|
|
6911
|
+
/** Required for connector-access requests (sandbox VM secret exposure). */
|
|
6912
|
+
appSlug: string().trim().min(1).optional()
|
|
6913
|
+
}).superRefine((value, ctx) => {
|
|
6914
|
+
if (value.type === "connector-access" && !value.appSlug) ctx.addIssue({
|
|
6915
|
+
code: ZodIssueCode.custom,
|
|
6916
|
+
path: ["appSlug"],
|
|
6917
|
+
message: "appSlug is required for connector-access requests"
|
|
6918
|
+
});
|
|
6889
6919
|
});
|
|
6890
6920
|
object({ ok: literal(true) });
|
|
6891
6921
|
const TemplateKindSchema = _enum([
|
|
@@ -6943,10 +6973,11 @@ const SubmitMarketingContactRequestSchema = object({
|
|
|
6943
6973
|
companyWebsite: string().optional()
|
|
6944
6974
|
});
|
|
6945
6975
|
const PublicModelsResponseSchema = object({ models: array(string()) });
|
|
6976
|
+
object({ accessToken: string() });
|
|
6946
6977
|
function isCredentialInput(value) {
|
|
6947
6978
|
if (typeof value !== "object" || value === null) return false;
|
|
6948
6979
|
const candidate = value;
|
|
6949
|
-
return typeof candidate.key === "string" && CredentialAuthKindSchema.safeParse(candidate.kind).success && candidate.schema instanceof ZodType;
|
|
6980
|
+
return typeof candidate.key === "string" && CredentialAuthKindSchema.safeParse(candidate.kind).success && candidate.schema instanceof ZodType && (candidate.materializedSchema === void 0 || candidate.materializedSchema instanceof ZodType);
|
|
6950
6981
|
}
|
|
6951
6982
|
const credentialInputSchema = custom((value) => isCredentialInput(value), "must be a credential requirement");
|
|
6952
6983
|
function normalizeCredentialList(list) {
|
|
@@ -6956,14 +6987,61 @@ function isCredentialRequirement(item) {
|
|
|
6956
6987
|
return typeof item.scope !== "function";
|
|
6957
6988
|
}
|
|
6958
6989
|
function toCredentialRequirement(item) {
|
|
6959
|
-
if (isCredentialRequirement(item)) return
|
|
6990
|
+
if (isCredentialRequirement(item)) return {
|
|
6991
|
+
key: item.key,
|
|
6992
|
+
kind: item.kind,
|
|
6993
|
+
schema: item.schema,
|
|
6994
|
+
materializedSchema: item.materializedSchema ?? item.schema,
|
|
6995
|
+
...item.scope !== void 0 ? { scope: item.scope } : {},
|
|
6996
|
+
...item.tokenField !== void 0 ? { tokenField: item.tokenField } : {}
|
|
6997
|
+
};
|
|
6960
6998
|
return {
|
|
6961
6999
|
key: item.key,
|
|
6962
7000
|
kind: item.kind,
|
|
6963
7001
|
schema: item.schema,
|
|
7002
|
+
materializedSchema: item.materializedSchema,
|
|
6964
7003
|
...item.tokenField !== void 0 ? { tokenField: item.tokenField } : {}
|
|
6965
7004
|
};
|
|
6966
7005
|
}
|
|
7006
|
+
const CredentialAccessUnavailableReasonSchema = _enum(["request_access", "reconnect_required"]);
|
|
7007
|
+
object({
|
|
7008
|
+
error: literal("credential_access_unavailable"),
|
|
7009
|
+
code: literal("credential_access_unavailable"),
|
|
7010
|
+
appSlug: string().min(1),
|
|
7011
|
+
reason: CredentialAccessUnavailableReasonSchema,
|
|
7012
|
+
requestAccessUrl: string().url().optional(),
|
|
7013
|
+
message: string().optional()
|
|
7014
|
+
});
|
|
7015
|
+
discriminatedUnion("kind", [
|
|
7016
|
+
object({
|
|
7017
|
+
kind: literal("api_key"),
|
|
7018
|
+
instanceId: string().min(1)
|
|
7019
|
+
}),
|
|
7020
|
+
object({
|
|
7021
|
+
kind: literal("oauth"),
|
|
7022
|
+
connectionId: string().min(1)
|
|
7023
|
+
}),
|
|
7024
|
+
object({
|
|
7025
|
+
kind: literal("keystroke"),
|
|
7026
|
+
instanceId: string().min(1),
|
|
7027
|
+
connectionId: string().min(1),
|
|
7028
|
+
appSlug: string().min(1)
|
|
7029
|
+
})
|
|
7030
|
+
]);
|
|
7031
|
+
discriminatedUnion("kind", [
|
|
7032
|
+
object({
|
|
7033
|
+
kind: literal("api_key"),
|
|
7034
|
+
value: unknown()
|
|
7035
|
+
}),
|
|
7036
|
+
object({
|
|
7037
|
+
kind: literal("oauth"),
|
|
7038
|
+
accessToken: string().min(1)
|
|
7039
|
+
}),
|
|
7040
|
+
object({
|
|
7041
|
+
kind: literal("keystroke"),
|
|
7042
|
+
value: unknown()
|
|
7043
|
+
})
|
|
7044
|
+
]);
|
|
6967
7045
|
const ValidationErrorDetailSchema = object({
|
|
6968
7046
|
path: string(),
|
|
6969
7047
|
message: string()
|
|
@@ -8704,6 +8782,6 @@ const ListAgentWorkspaceFilesResponseSchema = object({ files: array(object({
|
|
|
8704
8782
|
})) });
|
|
8705
8783
|
const WorkflowRunInputsPutBodySchema = record(string(), unknown());
|
|
8706
8784
|
//#endregion
|
|
8707
|
-
export { CredentialInstanceListResponseSchema as $, UpdateOrganizationMemberResponseSchema as $n,
|
|
8785
|
+
export { CredentialInstanceListResponseSchema as $, UpdateOrganizationMemberResponseSchema as $n, any as $r, OrganizationSidebarBrandingSchema as $t, ConnectAuthorizeUrlResponseSchema as A, SkillSummaryListResponseSchema as An, WorkspaceWorkflowOverviewSchema as Ar, ListAgentMemoryFilesResponseSchema as At, CreateCustomAppRequestSchema as B, TemplateFilesResponseSchema as Bn, parseErrorResponse as Br, ListOrganizationMembersPageResponseSchema as Bt, ChannelAccountListResponseSchema as C, PublishedFormListResponseSchema as Cn, WorkflowSummaryDetailResponseSchema as Cr, HistoryRunListQuerySchema as Ct, CompleteProjectArtifactResponseSchema as D, ROUTE_MANIFEST_REL_PATH as Dn, WorkspaceTriggerListResponseSchema as Dr, InviteProjectMembersRequestSchema as Dt, ChannelDirectoryListResponseSchema as E, QueuedRunResponseSchema as En, WorkspaceTriggerFileSchema as Er, InviteOrganizationMembersResponseSchema as Et, CreateBillingPortalRequestSchema as F, StartMcpOAuthConnectionResultSchema as Fn, isAcceptableInstallExit as Fr, ListCredentialsPageQuerySchema as Ft, CreateProjectRequestSchema as G, TriggerRunDetailResponseSchema as Gn, resolvePublicPlatformOrigin as Gr, ListProjectMetricsResponseSchema as Gt, CreateOrganizationRequestSchema as H, TriggerInvokeInputsSchema as Hn, requiredDisplayTextSchema as Hr, ListProjectDeploymentsResponseSchema as Ht, CreateCredentialInstanceBodySchema as I, StartOAuthConnectionInputSchema as In, listenPortFromPublicUrl as Ir, ListCredentialsPageResponseSchema as It, CredentialAssignmentListQuerySchema as J, UpdateChannelBindingBodySchema as Jn, ZodIssueCode as Jr, ManagedServiceCredentialSchema as Jt, CreateProjectResponseSchema as K, TriggerRunListResponseSchema as Kn, slugifyAppName as Kr, ListProjectsResponseSchema as Kt, CreateCredentialsRequestSchema as L, StartOAuthConnectionResultSchema as Ln, normalizeCredentialList as Lr, ListManagedServiceCredentialsResponseSchema as Lt, ConnectProvidersResponseSchema as M, StartKeystrokeConnectionInputSchema as Mn, credentialInputSchema as Mr, ListApiKeysResponseSchema as Mt, CreateApiKeyRequestSchema as N, StartKeystrokeConnectionResultSchema as Nn, deriveCustomAppDisplay as Nr, ListAppsResponseSchema as Nt, ConfirmCheckoutRequestSchema as O, RecentResourceListResponseSchema as On, WorkspaceTriggerOverviewSchema as Or, InviteProjectMembersResponseSchema as Ot, CreateApiKeyResponseSchema as P, StartMcpOAuthConnectionInputSchema as Pn, detectProjectPackageManagerFromSnapshot as Pr, ListChannelPlatformsResponseSchema as Pt, CredentialConsumerListResponseSchema as Q, UpdateOrganizationMemberRequestSchema as Qn, _null as Qr, OrganizationSidebarBrandingPatchSchema as Qt, CreateCredentialsResponseSchema as R, SubmitMarketingContactRequestSchema as Rn, originFromPublicUrl as Rr, ListOrganizationInvitationsResponseSchema as Rt, CatalogAppsPageResponseSchema as S, PublicModelsResponseSchema as Sn, WorkflowRunResponseSchema as Sr, HistoryRunDetailResponseSchema as St, ChannelConnectionSchema as T, QueuedAgentPromptResponseSchema as Tn, WorkspaceTriggerDetailSchema as Tr, InviteOrganizationMembersRequestSchema as Tt, CreateOrganizationResponseSchema as U, TriggerInvokeResponseSchema as Un, resolveConnectAppSlug as Ur, ListProjectFilesResponseSchema as Ut, CreateCustomAppResponseSchema as V, TriggerDetailResponseSchema as Vn, parseStoredRouteManifest as Vr, ListOrganizationsResponseSchema as Vt, CreateProjectArtifactResponseSchema as W, TriggerListResponseSchema as Wn, resolveDocsMcpUrl as Wr, ListProjectMembersResponseSchema as Wt, CredentialAssignmentRecordSchema as X, UpdateCredentialRequestSchema as Xn, _enum as Xr, McpDiscoverResponseSchema as Xt, CredentialAssignmentListResponseSchema as Y, UpdateCredentialInstanceBodySchema as Yn, ZodType as Yr, ManagedServiceKindSchema as Yt, CredentialConsumerListQuerySchema as Z, UpdateManagedServiceCredentialRequestSchema as Zn, _function as Zr, OpenApiDiscoverResponseSchema as Zt, BindChannelBodySchema as _, datetime as _i, PromptInputSchema as _n, WorkflowRunDetailResponseSchema as _r, GetCustomAppResponseSchema as _t, AgentSessionListResponseSchema as a, lazy as ai, PresignCustomAppLogoResponseSchema as an, UploadProjectSourceManifestRequestSchema as ar, DownloadActiveProjectArtifactResponseSchema as at, CatalogActionsPageResponseSchema as b, NEVER as bi, PublicFormSubmitBodySchema as bn, WorkflowRunInputsSchema as br, HealthResponseSchema as bt, AgentTriggerSummaryListResponseSchema as c, number$1 as ci, PresignProjectSourceRequestSchema as cn, UserAvatarPatchSchema as cr, DuplicateCredentialsResponseSchema as ct, AutoTopupSummarySchema as d, preprocess as di, PresignUserAvatarResponseSchema as dn, UserPreferencesSchema as dr, FinalizeCustomAppLogoRequestSchema as dt, array as ei, PROJECT_PULL_STATE_RELATIVE_PATH as en, UpdateOrganizationRequestSchema as er, CredentialInstanceRecordSchema as et, BillingActivityResponseSchema as f, record as fi, ProjectPullStateSchema as fn, WorkflowCanvasCredentialBindingsSchema as fr, FinalizeCustomAppLogoResponseSchema as ft, BillingUsageResponseSchema as g, url as gi, ProjectSlugAvailabilityResponseSchema as gn, WorkflowFormUpsertBodySchema as gr, GetCredentialResponseSchema as gt, BillingSummaryResponseSchema as h, unknown as hi, ProjectSettingsResponseSchema as hn, WorkflowFormResponseSchema as hr, GetAppCatalogEntryResponseSchema as ht, AgentSessionDetailResponseSchema as i, intersection as ii, PresignCustomAppLogoRequestSchema as in, UpdateProjectSettingsRequestSchema as ir, DeclineOrganizationInvitationResponseSchema as it, ConnectManagedServiceCredentialRequestSchema as j, SlugAvailabilityResponseSchema as jn, buildConnectDeeplink as jr, ListAgentWorkspaceFilesResponseSchema as jt, ConfirmCheckoutResponseSchema as k, SkillSummaryDetailResponseSchema as kn, WorkspaceTriggerRunListResponseSchema as kr, LOCAL_PLATFORM_ORIGIN as kt, AppSlugAvailabilityResponseSchema as l, object as li, PresignProjectSourceResponseSchema as ln, UserAvatarSchema as lr, ExecuteKeystrokeToolRequestSchema as lt, BillingRedirectResponseSchema as m, union as mi, ProjectResponseSchema as mn, WorkflowCanvasSchema as mr, GatewayAttachmentRecordSchema as mt, AcceptOrganizationInvitationResponseSchema as n, custom as ni, PresignChatAttachmentRequestSchema as nn, UpdateProjectMemberResponseSchema as nr, DOCS_QUERY_TOOL as nt, AgentSummaryDetailResponseSchema as o, literal as oi, PresignOrgLogoRequestSchema as on, UploadProjectSourceResponseSchema as or, DownloadActiveProjectSourceResponseSchema as ot, BillingInvoiceUrlResponseSchema as p, string as pi, ProjectReachabilityResponseSchema as pn, WorkflowCanvasRunSchema as pr, FormFieldConfigSchema as pt, CreateSubscriptionCheckoutRequestSchema as q, UpdateAutoTopupRequestSchema as qn, number as qr, ListTemplatesResponseSchema as qt, ActiveOrganizationResponseSchema as r, discriminatedUnion as ri, PresignChatAttachmentResponseSchema as rn, UpdateProjectRequestSchema as rr, DOCS_SEARCH_TOOL as rt, AgentSummaryListResponseSchema as s, looseObject as si, PresignOrgLogoResponseSchema as sn, UpsertGatewayAttachmentBodySchema as sr, DuplicateCredentialRequestSchema as st, ACTIVE_ORG_HEADER as t, boolean as ti, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as tn, UpdateProjectMemberRequestSchema as tr, DEFAULT_CLOUD_PLATFORM_ORIGIN as tt, AssignCredentialBodySchema as u, optional as ui, PresignUserAvatarRequestSchema as un, UserPreferencesPatchSchema as ur, FilePartSchema as ut, CLIENT_CHANNEL_HEADER as v, toJSONSchema as vi, PromptResponseSchema as vn, WorkflowRunHooksResponseSchema as vr, GetTemplateResponseSchema as vt, ChannelConnectionListResponseSchema as w, PublishedFormSchema as wn, WorkflowSummaryListResponseSchema as wr, HistoryRunListResponseSchema as wt, CatalogAppDetailResponseSchema as x, PublicFormSubmitResponseSchema as xn, WorkflowRunListResponseSchema as xr, HistoryRunCancelResponseSchema as xt, CatalogActionDetailResponseSchema as y, safeParse$1 as yi, PublicFormMetadataSchema as yn, WorkflowRunInputsPutBodySchema as yr, GraphqlDiscoverResponseSchema as yt, CreateCreditsCheckoutRequestSchema as z, SubmitTeamRequestRequestSchema as zn, parseAppSlug as zr, ListOrganizationMembersPageQuerySchema as zt };
|
|
8708
8786
|
|
|
8709
|
-
//# sourceMappingURL=dist-
|
|
8787
|
+
//# sourceMappingURL=dist-C4j9muEB.mjs.map
|