@keystrokehq/cli 1.0.8 → 1.0.9
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-BXi7cRDx.mjs → dist-BBwM8ovO.mjs} +27 -17
- package/dist/{dist-BXi7cRDx.mjs.map → dist-BBwM8ovO.mjs.map} +1 -1
- package/dist/{dist-DR0-KRom.mjs → dist-CtHP_Lct.mjs} +54 -17
- package/dist/{dist-DR0-KRom.mjs.map → dist-CtHP_Lct.mjs.map} +1 -1
- package/dist/dist-DAk65OyX.mjs +3 -0
- package/dist/{dist-CaXYCefX.mjs → dist-Dq8E-oHm.mjs} +3 -3
- package/dist/{dist-CaXYCefX.mjs.map → dist-Dq8E-oHm.mjs.map} +1 -1
- package/dist/index.mjs +66 -9
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-DxAS-9S7.mjs → maybe-auto-update-BO0T4n4K.mjs} +2 -2
- package/dist/{maybe-auto-update-DxAS-9S7.mjs.map → maybe-auto-update-BO0T4n4K.mjs.map} +1 -1
- package/dist/{version-TtPeAEMz.mjs → version-DCrWhVju.mjs} +2 -2
- package/dist/{version-TtPeAEMz.mjs.map → version-DCrWhVju.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-MYk9JAIo.mjs +0 -3
|
@@ -5405,7 +5405,8 @@ const storedRouteManifestEntryV2Schema = discriminatedUnion("kind", [
|
|
|
5405
5405
|
model: string(),
|
|
5406
5406
|
systemPrompt: string(),
|
|
5407
5407
|
toolCount: number$1().int().nonnegative(),
|
|
5408
|
-
credentialCount: number$1().int().nonnegative()
|
|
5408
|
+
credentialCount: number$1().int().nonnegative(),
|
|
5409
|
+
credentialKeys: array(string()).default([])
|
|
5409
5410
|
}),
|
|
5410
5411
|
object({
|
|
5411
5412
|
kind: literal("workflow"),
|
|
@@ -5829,20 +5830,11 @@ const StartOAuthConnectionResultSchema = object({
|
|
|
5829
5830
|
status: _enum(["connected", "redirecting"]),
|
|
5830
5831
|
authorizeUrl: string().url().nullable()
|
|
5831
5832
|
});
|
|
5832
|
-
/** Input for starting a
|
|
5833
|
-
const StartKeystrokeConnectionInputSchema =
|
|
5834
|
-
|
|
5835
|
-
scopeType: AppCredentialScopeSchema,
|
|
5836
|
-
projectSlug: string().trim().min(1).optional(),
|
|
5837
|
-
label: string().trim().min(1).optional()
|
|
5838
|
-
}).superRefine((input, ctx) => {
|
|
5839
|
-
if (input.scopeType === "project" && !input.projectSlug?.trim()) ctx.addIssue({
|
|
5840
|
-
code: "custom",
|
|
5841
|
-
message: "projectSlug is required for project scope",
|
|
5842
|
-
path: ["projectSlug"]
|
|
5843
|
-
});
|
|
5833
|
+
/** Input for starting a keystroke connection (connect dialog). */
|
|
5834
|
+
const StartKeystrokeConnectionInputSchema = CredentialTargetsFieldsSchema.extend({ app: string().trim().min(1) }).superRefine((input, ctx) => {
|
|
5835
|
+
if (!hasCredentialTarget(input)) addMissingCredentialTargetIssue(ctx);
|
|
5844
5836
|
});
|
|
5845
|
-
/** Result of starting a
|
|
5837
|
+
/** Result of starting a keystroke connection. */
|
|
5846
5838
|
const StartKeystrokeConnectionResultSchema = object({
|
|
5847
5839
|
status: _enum(["redirecting"]),
|
|
5848
5840
|
authorizeUrl: string().url(),
|
|
@@ -6008,7 +6000,10 @@ const ConnectProvidersResponseSchema = object({ providers: array(object({
|
|
|
6008
6000
|
})) });
|
|
6009
6001
|
const ConnectAuthorizeUrlResponseSchema = object({ url: string() });
|
|
6010
6002
|
const QueuedRunResponseSchema = object({ runId: string() });
|
|
6011
|
-
const QueuedAgentPromptResponseSchema = object({
|
|
6003
|
+
const QueuedAgentPromptResponseSchema = object({
|
|
6004
|
+
sessionId: string(),
|
|
6005
|
+
runId: string()
|
|
6006
|
+
});
|
|
6012
6007
|
object({
|
|
6013
6008
|
workflows: array(string().min(1)).optional(),
|
|
6014
6009
|
attachments: array(string().min(1)).optional()
|
|
@@ -6038,6 +6033,29 @@ object({
|
|
|
6038
6033
|
kind: RunSourceKindSchema,
|
|
6039
6034
|
id: string().nullable()
|
|
6040
6035
|
});
|
|
6036
|
+
const AgentTriggerOriginSchema = _enum(["project", "ephemeral"]);
|
|
6037
|
+
const AgentTriggerStatusSchema = _enum([
|
|
6038
|
+
"active",
|
|
6039
|
+
"disabled",
|
|
6040
|
+
"completed"
|
|
6041
|
+
]);
|
|
6042
|
+
const AgentTriggerTypeSchema = _enum([
|
|
6043
|
+
"webhook",
|
|
6044
|
+
"cron",
|
|
6045
|
+
"poll"
|
|
6046
|
+
]);
|
|
6047
|
+
const AgentTriggerSummaryListResponseSchema = array(object({
|
|
6048
|
+
id: string(),
|
|
6049
|
+
label: string(),
|
|
6050
|
+
type: AgentTriggerTypeSchema,
|
|
6051
|
+
schedule: string().nullable(),
|
|
6052
|
+
endpoint: string().nullable(),
|
|
6053
|
+
origin: AgentTriggerOriginSchema,
|
|
6054
|
+
prompt: string().nullable(),
|
|
6055
|
+
status: AgentTriggerStatusSchema,
|
|
6056
|
+
executionCount: number$1().int().nonnegative(),
|
|
6057
|
+
until: string().nullable()
|
|
6058
|
+
}));
|
|
6041
6059
|
const WorkflowRunStatusSchema = _enum([
|
|
6042
6060
|
"pending",
|
|
6043
6061
|
"running",
|
|
@@ -6197,6 +6215,10 @@ const AgentSessionSummarySchema = object({
|
|
|
6197
6215
|
status: AgentSessionStatusSchema,
|
|
6198
6216
|
source: RunSourceKindSchema,
|
|
6199
6217
|
sourceId: string().nullable(),
|
|
6218
|
+
title: string().nullable(),
|
|
6219
|
+
ranByUserName: string().nullable(),
|
|
6220
|
+
gatewayPlatform: string().nullable(),
|
|
6221
|
+
triggerType: AgentTriggerTypeSchema.nullable(),
|
|
6200
6222
|
createdAt: string(),
|
|
6201
6223
|
updatedAt: string(),
|
|
6202
6224
|
messageCount: number$1()
|
|
@@ -6250,6 +6272,12 @@ const AgentSessionDetailResponseSchema = object({
|
|
|
6250
6272
|
events: array(AgentEventSchema),
|
|
6251
6273
|
trace: TraceResponseSchema.nullable()
|
|
6252
6274
|
});
|
|
6275
|
+
object({ sinceSeq: number().int().min(0).optional() });
|
|
6276
|
+
const AgentSessionChatStateResponseSchema = object({
|
|
6277
|
+
status: AgentSessionStatusSchema,
|
|
6278
|
+
messages: array(record(string(), unknown())),
|
|
6279
|
+
live: record(string(), unknown()).nullable()
|
|
6280
|
+
});
|
|
6253
6281
|
const SlackGatewayModeSchema = _enum([
|
|
6254
6282
|
"mention",
|
|
6255
6283
|
"channel",
|
|
@@ -6806,8 +6834,13 @@ const AgentSummarySchema = object({
|
|
|
6806
6834
|
description: string().optional(),
|
|
6807
6835
|
sourcePath: string().min(1).optional(),
|
|
6808
6836
|
model: string().optional(),
|
|
6837
|
+
systemPrompt: string().optional(),
|
|
6809
6838
|
toolCount: optionalCount,
|
|
6810
6839
|
credentialCount: optionalCount,
|
|
6840
|
+
apps: array(object({
|
|
6841
|
+
id: string(),
|
|
6842
|
+
label: string()
|
|
6843
|
+
})).optional(),
|
|
6811
6844
|
lastRunAt: optionalTimestamp
|
|
6812
6845
|
});
|
|
6813
6846
|
const WorkflowSummarySchema = object({
|
|
@@ -6920,7 +6953,11 @@ object({
|
|
|
6920
6953
|
})),
|
|
6921
6954
|
generatedAt: isoDateTime
|
|
6922
6955
|
});
|
|
6956
|
+
const ListAgentMemoryFilesResponseSchema = object({ files: array(object({
|
|
6957
|
+
id: string(),
|
|
6958
|
+
path: string().min(1)
|
|
6959
|
+
})) });
|
|
6923
6960
|
//#endregion
|
|
6924
|
-
export {
|
|
6961
|
+
export { ListAgentMemoryFilesResponseSchema as $, UpdateProjectRequestSchema as $t, CreateCustomAppResponseSchema as A, RecentResourceListResponseSchema as At, ErrorResponseSchema as B, SubmitTeamRequestRequestSchema as Bt, ConnectProvidersResponseSchema as C, discriminatedUnion as Cn, ProjectSettingsResponseSchema as Ct, CreateCredentialsRequestSchema as D, union as Dn, QueuedAgentPromptResponseSchema as Dt, CreateCredentialInstanceBodySchema as E, string as En, PromptResponseSchema as Et, CreateProjectResponseSchema as F, StartKeystrokeConnectionResultSchema as Ft, HistoryRunCancelResponseSchema as G, UpdateChannelBindingBodySchema as Gt, GetCredentialResponseSchema as H, TriggerListResponseSchema as Ht, CredentialInstanceListResponseSchema as I, StartOAuthConnectionInputSchema as It, HistoryRunListResponseSchema as J, UpdateOrganizationMemberRequestSchema as Jt, HistoryRunDetailResponseSchema as K, UpdateCredentialInstanceBodySchema as Kt, CredentialInstanceRecordSchema as L, StartOAuthConnectionResultSchema as Lt, CreateOrganizationResponseSchema as M, SkillSummaryListResponseSchema as Mt, CreateProjectArtifactResponseSchema as N, SlugAvailabilityResponseSchema as Nt, CreateCredentialsResponseSchema as O, toJSONSchema as On, QueuedRunResponseSchema as Ot, CreateProjectRequestSchema as P, StartKeystrokeConnectionInputSchema as Pt, InviteProjectMembersResponseSchema as Q, UpdateProjectMemberResponseSchema as Qt, DeclineOrganizationInvitationResponseSchema as R, StoredRouteManifestSchema as Rt, ConnectAuthorizeUrlResponseSchema as S, custom as Sn, ProjectResponseSchema as St, CreateApiKeyResponseSchema as T, object as Tn, PromptInputSchema as Tt, GetCustomAppResponseSchema as U, TriggerRunDetailResponseSchema as Ut, GatewayAttachmentRecordSchema as V, TriggerDetailResponseSchema as Vt, HealthResponseSchema as W, TriggerRunListResponseSchema as Wt, InviteOrganizationMembersResponseSchema as X, UpdateOrganizationRequestSchema as Xt, InviteOrganizationMembersRequestSchema as Y, UpdateOrganizationMemberResponseSchema as Yt, InviteProjectMembersRequestSchema as Z, UpdateProjectMemberRequestSchema as Zt, ChannelConnectionListResponseSchema as _, slugifyAppName as _n, PresignProjectSourceRequestSchema as _t, AgentSessionDetailResponseSchema as a, UserAvatarSchema as an, ListOrganizationsResponseSchema as at, ChannelPlatformSchema as b, _function as bn, PresignUserAvatarResponseSchema as bt, AgentSummaryListResponseSchema as c, WorkflowRunDetailResponseSchema as cn, ListProjectMembersResponseSchema as ct, BindChannelBodySchema as d, WorkflowSummaryListResponseSchema as dn, OrganizationSidebarBrandingPatchSchema as dt, UpdateProjectSettingsRequestSchema as en, ListApiKeysResponseSchema as et, CatalogActionDetailResponseSchema as f, listenPortFromPublicUrl as fn, OrganizationSidebarBrandingSchema as ft, ChannelAccountListResponseSchema as g, parseErrorResponse as gn, PresignOrgLogoResponseSchema as gt, CatalogAppsPageResponseSchema as h, parseAppSlug as hn, PresignOrgLogoRequestSchema as ht, AgentSessionChatStateResponseSchema as i, UserAvatarPatchSchema as in, ListOrganizationMembersResponseSchema as it, CreateOrganizationRequestSchema as j, SkillSummaryDetailResponseSchema as jt, CreateCustomAppRequestSchema as k, ROUTE_MANIFEST_REL_PATH as kt, AgentTriggerSummaryListResponseSchema as l, WorkflowRunListResponseSchema as ln, ListProjectMetricsResponseSchema as lt, CatalogAppDetailResponseSchema as m, originFromPublicUrl as mn, PollRunResponseSchema as mt, AcceptOrganizationInvitationResponseSchema as n, UploadProjectSourceResponseSchema as nn, ListCredentialsResponseSchema as nt, AgentSessionListResponseSchema as o, UserPreferencesPatchSchema as on, ListProjectDeploymentsResponseSchema as ot, CatalogActionsPageResponseSchema as p, normalizeCredentialList as pn, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as pt, HistoryRunListQuerySchema as q, UpdateCredentialRequestSchema as qt, ActiveOrganizationResponseSchema as r, UpsertGatewayAttachmentBodySchema as rn, ListOrganizationInvitationsResponseSchema as rt, AgentSummaryDetailResponseSchema as s, UserPreferencesSchema as sn, ListProjectFilesResponseSchema as st, ACTIVE_ORG_HEADER as t, UploadProjectSourceManifestRequestSchema as tn, ListAppsResponseSchema as tt, AppSlugAvailabilityResponseSchema as u, WorkflowSummaryDetailResponseSchema as un, ListProjectsResponseSchema as ut, ChannelConnectionSchema as v, ZodType as vn, PresignProjectSourceResponseSchema as vt, CreateApiKeyRequestSchema as w, literal as wn, ProjectSlugAvailabilityResponseSchema as wt, CompleteProjectArtifactResponseSchema as x, array as xn, ProjectReachabilityResponseSchema as xt, ChannelDirectoryListResponseSchema as y, _enum as yn, PresignUserAvatarRequestSchema as yt, DownloadActiveProjectArtifactResponseSchema as z, SubmitMarketingContactRequestSchema as zt };
|
|
6925
6962
|
|
|
6926
|
-
//# sourceMappingURL=dist-
|
|
6963
|
+
//# sourceMappingURL=dist-CtHP_Lct.mjs.map
|