@keystrokehq/cli 0.1.113 → 0.1.115
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-CFjgxhYX.mjs +3 -0
- package/dist/{dist-BoZPZ9Sz.mjs → dist-D9wyqCGM.mjs} +28 -4
- package/dist/{dist-BoZPZ9Sz.mjs.map → dist-D9wyqCGM.mjs.map} +1 -1
- package/dist/{dist-yDNd8kGO.mjs → dist-GJJ5OG1V.mjs} +3 -3
- package/dist/{dist-yDNd8kGO.mjs.map → dist-GJJ5OG1V.mjs.map} +1 -1
- package/dist/{dist-BFOvwXwm.mjs → dist-fDqIX4ii.mjs} +3 -3
- package/dist/{dist-BFOvwXwm.mjs.map → dist-fDqIX4ii.mjs.map} +1 -1
- package/dist/{dist-De18Uq1U.mjs → dist-gIiA66FZ.mjs} +2 -2
- package/dist/{dist-De18Uq1U.mjs.map → dist-gIiA66FZ.mjs.map} +1 -1
- package/dist/index.mjs +97 -39
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-C-HUlgKp.mjs → maybe-auto-update-DHXEHwKF.mjs} +2 -2
- package/dist/{maybe-auto-update-C-HUlgKp.mjs.map → maybe-auto-update-DHXEHwKF.mjs.map} +1 -1
- package/dist/{run-package-manager-update-D_jU5wZe.mjs → run-package-manager-update-BvOJBqBB.mjs} +2 -2
- package/dist/{run-package-manager-update-D_jU5wZe.mjs.map → run-package-manager-update-BvOJBqBB.mjs.map} +1 -1
- package/dist/skills-bundle/_AGENTS.mcp.md +3 -0
- package/dist/skills-bundle/_AGENTS.md +14 -1
- package/package.json +1 -1
- package/dist/dist-D9y3OVoD.mjs +0 -3
|
@@ -6719,8 +6719,31 @@ const CreateCredentialsRequestSchema = CredentialTargetsFieldsSchema.extend({
|
|
|
6719
6719
|
const UpdateCredentialRequestSchema = object({
|
|
6720
6720
|
label: string().trim().min(1).optional(),
|
|
6721
6721
|
isDefault: boolean().optional(),
|
|
6722
|
-
value: credentialSecretValueSchema.optional()
|
|
6723
|
-
|
|
6722
|
+
value: credentialSecretValueSchema.optional(),
|
|
6723
|
+
/** Move this credential to a different scope in place. */
|
|
6724
|
+
scope: AppCredentialScopeSchema.optional(),
|
|
6725
|
+
/** Required when `scope` is `project`. */
|
|
6726
|
+
projectSlug: string().trim().min(1).optional()
|
|
6727
|
+
}).superRefine((input, ctx) => {
|
|
6728
|
+
if (!(input.label !== void 0 || input.isDefault !== void 0 || input.value !== void 0 || input.scope !== void 0)) ctx.addIssue({
|
|
6729
|
+
code: "custom",
|
|
6730
|
+
message: "At least one field is required"
|
|
6731
|
+
});
|
|
6732
|
+
if (input.scope === "project" && !input.projectSlug) ctx.addIssue({
|
|
6733
|
+
code: "custom",
|
|
6734
|
+
message: "projectSlug is required when scope is project",
|
|
6735
|
+
path: ["projectSlug"]
|
|
6736
|
+
});
|
|
6737
|
+
if (input.scope !== "project" && input.projectSlug !== void 0) ctx.addIssue({
|
|
6738
|
+
code: "custom",
|
|
6739
|
+
message: "projectSlug is only valid when scope is project",
|
|
6740
|
+
path: ["projectSlug"]
|
|
6741
|
+
});
|
|
6742
|
+
});
|
|
6743
|
+
/** Request body for `POST /api/credentials/:id/duplicate`. */
|
|
6744
|
+
const DuplicateCredentialRequestSchema = CredentialTargetsFieldsSchema.omit({ credentialInstanceId: true }).superRefine((input, ctx) => {
|
|
6745
|
+
if (!hasCredentialTarget(input)) addMissingCredentialTargetIssue(ctx);
|
|
6746
|
+
});
|
|
6724
6747
|
const ListCredentialsPageQuerySchema = object({
|
|
6725
6748
|
limit: number().int().min(1).max(200).optional(),
|
|
6726
6749
|
cursor: string().min(1).optional()
|
|
@@ -6731,6 +6754,7 @@ const ListCredentialsPageResponseSchema = object({
|
|
|
6731
6754
|
});
|
|
6732
6755
|
const GetCredentialResponseSchema = AppCredentialSummarySchema;
|
|
6733
6756
|
const CreateCredentialsResponseSchema = array(AppCredentialSummarySchema);
|
|
6757
|
+
const DuplicateCredentialsResponseSchema = CreateCredentialsResponseSchema;
|
|
6734
6758
|
const CredentialAssignmentTargetTypeSchema = _enum([
|
|
6735
6759
|
"workflow",
|
|
6736
6760
|
"agent",
|
|
@@ -8493,6 +8517,6 @@ const WorkflowCanvasCredentialBindingSchema = union([
|
|
|
8493
8517
|
const WorkflowCanvasCredentialBindingsSchema = record(string(), array(WorkflowCanvasCredentialBindingSchema));
|
|
8494
8518
|
const WorkflowRunInputsPutBodySchema = record(string(), unknown());
|
|
8495
8519
|
//#endregion
|
|
8496
|
-
export { CredentialInstanceListResponseSchema as $,
|
|
8520
|
+
export { CredentialInstanceListResponseSchema as $, UserPreferencesSchema as $n, union as $r, PresignChatAttachmentResponseSchema as $t, ConnectAuthorizeUrlResponseSchema as A, TriggerInvokeInputsSchema as An, resolveDocsMcpUrl as Ar, ListAppsResponseSchema as At, CreateCustomAppRequestSchema as B, UpdateOrganizationMemberRequestSchema as Bn, boolean as Br, ListProjectFilesResponseSchema as Bt, ChannelAccountListResponseSchema as C, StartMcpOAuthConnectionInputSchema as Cn, normalizeCredentialList as Cr, InviteOrganizationMembersResponseSchema as Ct, CompleteProjectArtifactResponseSchema as D, SubmitMarketingContactRequestSchema as Dn, parseStoredRouteManifest as Dr, ListAgentMemoryFilesResponseSchema as Dt, ChannelDirectoryListResponseSchema as E, StartOAuthConnectionResultSchema as En, parseErrorResponse as Er, LOCAL_PLATFORM_ORIGIN as Et, CreateBillingPortalRequestSchema as F, UpdateAutoTopupRequestSchema as Fn, _enum as Fr, ListOrganizationInvitationsResponseSchema as Ft, CreateProjectRequestSchema as G, UpdateProjectRequestSchema as Gn, literal as Gr, ManagedServiceKindSchema as Gt, CreateOrganizationRequestSchema as H, UpdateOrganizationRequestSchema as Hn, discriminatedUnion as Hr, ListProjectMetricsResponseSchema as Ht, CreateCredentialInstanceBodySchema as I, UpdateChannelBindingBodySchema as In, _function as Ir, ListOrganizationMembersPageQuerySchema as It, CredentialAssignmentListQuerySchema as J, UploadProjectSourceResponseSchema as Jn, object as Jr, OrganizationSidebarBrandingPatchSchema as Jt, CreateProjectResponseSchema as K, UpdateProjectSettingsRequestSchema as Kn, looseObject as Kr, McpDiscoverResponseSchema as Kt, CreateCredentialsRequestSchema as L, UpdateCredentialInstanceBodySchema as Ln, _null as Lr, ListOrganizationMembersPageResponseSchema as Lt, ConnectProvidersResponseSchema as M, TriggerListResponseSchema as Mn, slugifyAppName as Mr, ListCredentialsPageQuerySchema as Mt, CreateApiKeyRequestSchema as N, TriggerRunDetailResponseSchema as Nn, number as Nr, ListCredentialsPageResponseSchema as Nt, ConfirmCheckoutRequestSchema as O, SubmitTeamRequestRequestSchema as On, requiredDisplayTextSchema as Or, ListAgentWorkspaceFilesResponseSchema as Ot, CreateApiKeyResponseSchema as P, TriggerRunListResponseSchema as Pn, ZodType as Pr, ListManagedServiceCredentialsResponseSchema as Pt, CredentialConsumerListResponseSchema as Q, UserPreferencesPatchSchema as Qn, string as Qr, PresignChatAttachmentRequestSchema as Qt, CreateCredentialsResponseSchema as R, UpdateCredentialRequestSchema as Rn, any as Rr, ListOrganizationsResponseSchema as Rt, CatalogAppsPageResponseSchema as S, StartKeystrokeConnectionResultSchema as Sn, listenPortFromPublicUrl as Sr, InviteOrganizationMembersRequestSchema as St, ChannelConnectionSchema as T, StartOAuthConnectionInputSchema as Tn, parseAppSlug as Tr, InviteProjectMembersResponseSchema as Tt, CreateOrganizationResponseSchema as U, UpdateProjectMemberRequestSchema as Un, intersection as Ur, ListProjectsResponseSchema as Ut, CreateCustomAppResponseSchema as V, UpdateOrganizationMemberResponseSchema as Vn, custom as Vr, ListProjectMembersResponseSchema as Vt, CreateProjectArtifactResponseSchema as W, UpdateProjectMemberResponseSchema as Wn, lazy as Wr, ManagedServiceCredentialSchema as Wt, CredentialAssignmentRecordSchema as X, UserAvatarPatchSchema as Xn, preprocess as Xr, PROJECT_PULL_STATE_RELATIVE_PATH as Xt, CredentialAssignmentListResponseSchema as Y, UpsertGatewayAttachmentBodySchema as Yn, optional as Yr, OrganizationSidebarBrandingSchema as Yt, CredentialConsumerListQuerySchema as Z, UserAvatarSchema as Zn, record as Zr, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as Zt, BindChannelBodySchema as _, RecentResourceListResponseSchema as _n, buildConnectDeeplink as _r, HealthResponseSchema as _t, AgentSessionListResponseSchema as a, NEVER as ai, PresignUserAvatarResponseSchema as an, WorkflowRunInputsPutBodySchema as ar, DownloadActiveProjectArtifactResponseSchema as at, CatalogActionsPageResponseSchema as b, SlugAvailabilityResponseSchema as bn, detectProjectPackageManagerFromSnapshot as br, HistoryRunListQuerySchema as bt, AgentTriggerSummaryListResponseSchema as c, ProjectResponseSchema as cn, WorkflowRunResponseSchema as cr, DuplicateCredentialsResponseSchema as ct, AutoTopupSummarySchema as d, PromptInputSchema as dn, WorkspaceTriggerDetailSchema as dr, FilePartSchema as dt, unknown as ei, PresignOrgLogoRequestSchema as en, WorkflowCanvasCredentialBindingsSchema as er, CredentialInstanceRecordSchema as et, BillingActivityResponseSchema as f, PromptResponseSchema as fn, WorkspaceTriggerFileSchema as fr, GatewayAttachmentRecordSchema as ft, BillingUsageResponseSchema as g, ROUTE_MANIFEST_REL_PATH as gn, WorkspaceWorkflowOverviewSchema as gr, GraphqlDiscoverResponseSchema as gt, BillingSummaryResponseSchema as h, QueuedRunResponseSchema as hn, WorkspaceTriggerRunListResponseSchema as hr, GetCustomAppResponseSchema as ht, AgentSessionDetailResponseSchema as i, safeParse$1 as ii, PresignUserAvatarRequestSchema as in, WorkflowRunHooksResponseSchema as ir, DeclineOrganizationInvitationResponseSchema as it, ConnectManagedServiceCredentialRequestSchema as j, TriggerInvokeResponseSchema as jn, resolvePublicPlatformOrigin as jr, ListChannelPlatformsResponseSchema as jt, ConfirmCheckoutResponseSchema as k, TriggerDetailResponseSchema as kn, resolveConnectAppSlug as kr, ListApiKeysResponseSchema as kt, AppSlugAvailabilityResponseSchema as l, ProjectSettingsResponseSchema as ln, WorkflowSummaryDetailResponseSchema as lr, ErrorResponseSchema as lt, BillingRedirectResponseSchema as m, QueuedAgentPromptResponseSchema as mn, WorkspaceTriggerOverviewSchema as mr, GetCredentialResponseSchema as mt, AcceptOrganizationInvitationResponseSchema as n, datetime as ni, PresignProjectSourceRequestSchema as nn, WorkflowCanvasSchema as nr, DOCS_QUERY_TOOL as nt, AgentSummaryDetailResponseSchema as o, ProjectPullStateSchema as on, WorkflowRunInputsSchema as or, DownloadActiveProjectSourceResponseSchema as ot, BillingInvoiceUrlResponseSchema as p, PublicModelsResponseSchema as pn, WorkspaceTriggerListResponseSchema as pr, GetAppCatalogEntryResponseSchema as pt, CreateSubscriptionCheckoutRequestSchema as q, UploadProjectSourceManifestRequestSchema as qn, number$1 as qr, OpenApiDiscoverResponseSchema as qt, ActiveOrganizationResponseSchema as r, toJSONSchema as ri, PresignProjectSourceResponseSchema as rn, WorkflowRunDetailResponseSchema as rr, DOCS_SEARCH_TOOL as rt, AgentSummaryListResponseSchema as s, ProjectReachabilityResponseSchema as sn, WorkflowRunListResponseSchema as sr, DuplicateCredentialRequestSchema as st, ACTIVE_ORG_HEADER as t, url as ti, PresignOrgLogoResponseSchema as tn, WorkflowCanvasRunSchema as tr, DEFAULT_CLOUD_PLATFORM_ORIGIN as tt, AssignCredentialBodySchema as u, ProjectSlugAvailabilityResponseSchema as un, WorkflowSummaryListResponseSchema as ur, ExecuteKeystrokeToolRequestSchema as ut, CLIENT_CHANNEL_HEADER as v, SkillSummaryDetailResponseSchema as vn, credentialInputSchema as vr, HistoryRunCancelResponseSchema as vt, ChannelConnectionListResponseSchema as w, StartMcpOAuthConnectionResultSchema as wn, originFromPublicUrl as wr, InviteProjectMembersRequestSchema as wt, CatalogAppDetailResponseSchema as x, StartKeystrokeConnectionInputSchema as xn, isAcceptableInstallExit as xr, HistoryRunListResponseSchema as xt, CatalogActionDetailResponseSchema as y, SkillSummaryListResponseSchema as yn, deriveCustomAppDisplay as yr, HistoryRunDetailResponseSchema as yt, CreateCreditsCheckoutRequestSchema as z, UpdateManagedServiceCredentialRequestSchema as zn, array as zr, ListProjectDeploymentsResponseSchema as zt };
|
|
8497
8521
|
|
|
8498
|
-
//# sourceMappingURL=dist-
|
|
8522
|
+
//# sourceMappingURL=dist-D9wyqCGM.mjs.map
|