@keystrokehq/cli 1.0.11 → 1.0.13
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-CtHP_Lct.mjs → dist-BCJ2M6AP.mjs} +58 -5
- package/dist/{dist-CtHP_Lct.mjs.map → dist-BCJ2M6AP.mjs.map} +1 -1
- package/dist/dist-CB-gBQLB.mjs +3 -0
- package/dist/{dist-BBwM8ovO.mjs → dist-CkZVZjrB.mjs} +25 -11
- package/dist/{dist-BBwM8ovO.mjs.map → dist-CkZVZjrB.mjs.map} +1 -1
- package/dist/{dist-Dq8E-oHm.mjs → dist-D3CcImHe.mjs} +3 -3
- package/dist/{dist-Dq8E-oHm.mjs.map → dist-D3CcImHe.mjs.map} +1 -1
- package/dist/index.mjs +172 -35
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-BO0T4n4K.mjs → maybe-auto-update-Cir__-VX.mjs} +2 -2
- package/dist/{maybe-auto-update-BO0T4n4K.mjs.map → maybe-auto-update-Cir__-VX.mjs.map} +1 -1
- package/dist/{version-DCrWhVju.mjs → version-BCmCJixt.mjs} +2 -2
- package/dist/{version-DCrWhVju.mjs.map → version-BCmCJixt.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-DAk65OyX.mjs +0 -3
|
@@ -5406,7 +5406,8 @@ const storedRouteManifestEntryV2Schema = discriminatedUnion("kind", [
|
|
|
5406
5406
|
systemPrompt: string(),
|
|
5407
5407
|
toolCount: number$1().int().nonnegative(),
|
|
5408
5408
|
credentialCount: number$1().int().nonnegative(),
|
|
5409
|
-
|
|
5409
|
+
appSlugs: array(string()).default([]),
|
|
5410
|
+
toolSlugs: array(string()).default([])
|
|
5410
5411
|
}),
|
|
5411
5412
|
object({
|
|
5412
5413
|
kind: literal("workflow"),
|
|
@@ -5868,6 +5869,44 @@ const UpdateCredentialRequestSchema = object({
|
|
|
5868
5869
|
const ListCredentialsResponseSchema = array(AppCredentialSummarySchema);
|
|
5869
5870
|
const GetCredentialResponseSchema = AppCredentialSummarySchema;
|
|
5870
5871
|
const CreateCredentialsResponseSchema = array(AppCredentialSummarySchema);
|
|
5872
|
+
const CredentialAssignmentTargetTypeSchema = _enum(["workflow", "agent"]);
|
|
5873
|
+
const CredentialAssignmentRecordSchema = object({
|
|
5874
|
+
id: string(),
|
|
5875
|
+
targetType: CredentialAssignmentTargetTypeSchema,
|
|
5876
|
+
targetKey: string(),
|
|
5877
|
+
consumerId: string(),
|
|
5878
|
+
credentialSlug: string(),
|
|
5879
|
+
instanceId: string(),
|
|
5880
|
+
credential: string().optional(),
|
|
5881
|
+
scopeType: _enum([
|
|
5882
|
+
"organization",
|
|
5883
|
+
"project",
|
|
5884
|
+
"user"
|
|
5885
|
+
]).optional(),
|
|
5886
|
+
createdAt: string(),
|
|
5887
|
+
updatedAt: string()
|
|
5888
|
+
});
|
|
5889
|
+
const CredentialAssignmentListResponseSchema = object({ assignments: array(CredentialAssignmentRecordSchema) });
|
|
5890
|
+
const AssignCredentialBodySchema = object({
|
|
5891
|
+
targetType: CredentialAssignmentTargetTypeSchema,
|
|
5892
|
+
targetKey: string().min(1),
|
|
5893
|
+
/** Omit or '*' for wildcard assignment. */
|
|
5894
|
+
consumerId: string().optional(),
|
|
5895
|
+
credential: string().min(1)
|
|
5896
|
+
});
|
|
5897
|
+
const CredentialAssignmentListQuerySchema = object({
|
|
5898
|
+
targetType: CredentialAssignmentTargetTypeSchema,
|
|
5899
|
+
targetKey: string().min(1)
|
|
5900
|
+
});
|
|
5901
|
+
const CredentialConsumerListQuerySchema = object({
|
|
5902
|
+
targetType: CredentialAssignmentTargetTypeSchema,
|
|
5903
|
+
targetKey: string().min(1)
|
|
5904
|
+
});
|
|
5905
|
+
const CredentialConsumerListResponseSchema = object({ consumers: array(object({
|
|
5906
|
+
consumerId: string(),
|
|
5907
|
+
label: string(),
|
|
5908
|
+
appSlugs: array(string())
|
|
5909
|
+
})) });
|
|
5871
5910
|
const McpConnectionStatusSchema = _enum([
|
|
5872
5911
|
"INITIATED",
|
|
5873
5912
|
"ACTIVE",
|
|
@@ -5888,12 +5927,20 @@ object({
|
|
|
5888
5927
|
entityId: string(),
|
|
5889
5928
|
instanceId: string()
|
|
5890
5929
|
});
|
|
5930
|
+
const McpCredentialAssignmentTargetSchema = object({
|
|
5931
|
+
type: CredentialAssignmentTargetTypeSchema,
|
|
5932
|
+
key: string().trim().min(1)
|
|
5933
|
+
});
|
|
5891
5934
|
object({
|
|
5892
5935
|
app: string().trim().min(1),
|
|
5893
5936
|
tool: string().trim().min(1),
|
|
5894
5937
|
arguments: record(string(), unknown()).default({}),
|
|
5895
5938
|
/** Pinned provider toolkit version, sourced from the app definition; forwarded to the provider. */
|
|
5896
|
-
version: string().trim().min(1)
|
|
5939
|
+
version: string().trim().min(1),
|
|
5940
|
+
/** When set, platform MCP resolve checks credential assignments before scope defaults. */
|
|
5941
|
+
assignmentTarget: McpCredentialAssignmentTargetSchema.optional(),
|
|
5942
|
+
/** Tool/step consumer id for assignment lookup (action slug or workflow step correlation id). */
|
|
5943
|
+
consumerId: string().trim().min(1).optional()
|
|
5897
5944
|
});
|
|
5898
5945
|
const SubmitTeamRequestRequestSchema = object({
|
|
5899
5946
|
type: _enum([
|
|
@@ -6493,7 +6540,9 @@ object({
|
|
|
6493
6540
|
});
|
|
6494
6541
|
const CredentialInstanceRecordSchema = object({
|
|
6495
6542
|
id: string(),
|
|
6496
|
-
|
|
6543
|
+
appSlug: string(),
|
|
6544
|
+
slug: string(),
|
|
6545
|
+
name: string().nullable(),
|
|
6497
6546
|
scopeType: CredentialScopeTypeSchema,
|
|
6498
6547
|
scopeId: string().nullable(),
|
|
6499
6548
|
label: string().nullable(),
|
|
@@ -6503,6 +6552,8 @@ const CredentialInstanceRecordSchema = object({
|
|
|
6503
6552
|
const CredentialInstanceListResponseSchema = object({ instances: array(CredentialInstanceRecordSchema) });
|
|
6504
6553
|
const CreateCredentialInstanceBodySchema = object({
|
|
6505
6554
|
key: string().min(1),
|
|
6555
|
+
slug: string().min(1).optional(),
|
|
6556
|
+
name: string().nullable().optional(),
|
|
6506
6557
|
scopeType: CredentialScopeTypeSchema,
|
|
6507
6558
|
scopeId: string().nullable().optional(),
|
|
6508
6559
|
label: string().nullable().optional(),
|
|
@@ -6510,6 +6561,8 @@ const CreateCredentialInstanceBodySchema = object({
|
|
|
6510
6561
|
value: record(string(), unknown()).refine((value) => Object.keys(value).length > 0, { message: "value must be a non-empty object" })
|
|
6511
6562
|
});
|
|
6512
6563
|
const UpdateCredentialInstanceBodySchema = object({
|
|
6564
|
+
slug: string().min(1).optional(),
|
|
6565
|
+
name: string().nullable().optional(),
|
|
6513
6566
|
label: string().nullable().optional(),
|
|
6514
6567
|
isDefault: boolean().optional(),
|
|
6515
6568
|
value: record(string(), unknown()).refine((value) => Object.keys(value).length > 0, { message: "value must be a non-empty object" }).optional()
|
|
@@ -6958,6 +7011,6 @@ const ListAgentMemoryFilesResponseSchema = object({ files: array(object({
|
|
|
6958
7011
|
path: string().min(1)
|
|
6959
7012
|
})) });
|
|
6960
7013
|
//#endregion
|
|
6961
|
-
export {
|
|
7014
|
+
export { HistoryRunListQuerySchema as $, UpdateCredentialRequestSchema as $t, CreateCustomAppRequestSchema as A, literal as An, ProjectSlugAvailabilityResponseSchema as At, CredentialConsumerListQuerySchema as B, StartKeystrokeConnectionInputSchema as Bt, ConnectAuthorizeUrlResponseSchema as C, slugifyAppName as Cn, PresignProjectSourceRequestSchema as Ct, CreateCredentialInstanceBodySchema as D, array as Dn, ProjectReachabilityResponseSchema as Dt, CreateApiKeyResponseSchema as E, _function as En, PresignUserAvatarResponseSchema as Et, CreateProjectRequestSchema as F, ROUTE_MANIFEST_REL_PATH as Ft, DownloadActiveProjectArtifactResponseSchema as G, SubmitMarketingContactRequestSchema as Gt, CredentialInstanceListResponseSchema as H, StartOAuthConnectionInputSchema as Ht, CreateProjectResponseSchema as I, RecentResourceListResponseSchema as It, GetCredentialResponseSchema as J, TriggerListResponseSchema as Jt, ErrorResponseSchema as K, SubmitTeamRequestRequestSchema as Kt, CredentialAssignmentListQuerySchema as L, SkillSummaryDetailResponseSchema as Lt, CreateOrganizationRequestSchema as M, string as Mn, PromptResponseSchema as Mt, CreateOrganizationResponseSchema as N, union as Nn, QueuedAgentPromptResponseSchema as Nt, CreateCredentialsRequestSchema as O, custom as On, ProjectResponseSchema as Ot, CreateProjectArtifactResponseSchema as P, toJSONSchema as Pn, QueuedRunResponseSchema as Pt, HistoryRunDetailResponseSchema as Q, UpdateCredentialInstanceBodySchema as Qt, CredentialAssignmentListResponseSchema as R, SkillSummaryListResponseSchema as Rt, CompleteProjectArtifactResponseSchema as S, parseErrorResponse as Sn, PresignOrgLogoResponseSchema as St, CreateApiKeyRequestSchema as T, _enum as Tn, PresignUserAvatarRequestSchema as Tt, CredentialInstanceRecordSchema as U, StartOAuthConnectionResultSchema as Ut, CredentialConsumerListResponseSchema as V, StartKeystrokeConnectionResultSchema as Vt, DeclineOrganizationInvitationResponseSchema as W, StoredRouteManifestSchema as Wt, HealthResponseSchema as X, TriggerRunListResponseSchema as Xt, GetCustomAppResponseSchema as Y, TriggerRunDetailResponseSchema as Yt, HistoryRunCancelResponseSchema as Z, UpdateChannelBindingBodySchema as Zt, ChannelAccountListResponseSchema as _, WorkflowSummaryListResponseSchema as _n, OrganizationSidebarBrandingPatchSchema as _t, AgentSessionDetailResponseSchema as a, UpdateProjectRequestSchema as an, ListAgentMemoryFilesResponseSchema as at, ChannelDirectoryListResponseSchema as b, originFromPublicUrl as bn, PollRunResponseSchema as bt, AgentSummaryListResponseSchema as c, UploadProjectSourceResponseSchema as cn, ListCredentialsResponseSchema as ct, AssignCredentialBodySchema as d, UserAvatarSchema as dn, ListOrganizationsResponseSchema as dt, UpdateOrganizationMemberRequestSchema as en, HistoryRunListResponseSchema as et, BindChannelBodySchema as f, UserPreferencesPatchSchema as fn, ListProjectDeploymentsResponseSchema as ft, CatalogAppsPageResponseSchema as g, WorkflowSummaryDetailResponseSchema as gn, ListProjectsResponseSchema as gt, CatalogAppDetailResponseSchema as h, WorkflowRunListResponseSchema as hn, ListProjectMetricsResponseSchema as ht, AgentSessionChatStateResponseSchema as i, UpdateProjectMemberResponseSchema as in, InviteProjectMembersResponseSchema as it, CreateCustomAppResponseSchema as j, object as jn, PromptInputSchema as jt, CreateCredentialsResponseSchema as k, discriminatedUnion as kn, ProjectSettingsResponseSchema as kt, AgentTriggerSummaryListResponseSchema as l, UpsertGatewayAttachmentBodySchema as ln, ListOrganizationInvitationsResponseSchema as lt, CatalogActionsPageResponseSchema as m, WorkflowRunDetailResponseSchema as mn, ListProjectMembersResponseSchema as mt, AcceptOrganizationInvitationResponseSchema as n, UpdateOrganizationRequestSchema as nn, InviteOrganizationMembersResponseSchema as nt, AgentSessionListResponseSchema as o, UpdateProjectSettingsRequestSchema as on, ListApiKeysResponseSchema as ot, CatalogActionDetailResponseSchema as p, UserPreferencesSchema as pn, ListProjectFilesResponseSchema as pt, GatewayAttachmentRecordSchema as q, TriggerDetailResponseSchema as qt, ActiveOrganizationResponseSchema as r, UpdateProjectMemberRequestSchema as rn, InviteProjectMembersRequestSchema as rt, AgentSummaryDetailResponseSchema as s, UploadProjectSourceManifestRequestSchema as sn, ListAppsResponseSchema as st, ACTIVE_ORG_HEADER as t, UpdateOrganizationMemberResponseSchema as tn, InviteOrganizationMembersRequestSchema as tt, AppSlugAvailabilityResponseSchema as u, UserAvatarPatchSchema as un, ListOrganizationMembersResponseSchema as ut, ChannelConnectionListResponseSchema as v, listenPortFromPublicUrl as vn, OrganizationSidebarBrandingSchema as vt, ConnectProvidersResponseSchema as w, ZodType as wn, PresignProjectSourceResponseSchema as wt, ChannelPlatformSchema as x, parseAppSlug as xn, PresignOrgLogoRequestSchema as xt, ChannelConnectionSchema as y, normalizeCredentialList as yn, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as yt, CredentialAssignmentRecordSchema as z, SlugAvailabilityResponseSchema as zt };
|
|
6962
7015
|
|
|
6963
|
-
//# sourceMappingURL=dist-
|
|
7016
|
+
//# sourceMappingURL=dist-BCJ2M6AP.mjs.map
|