@keystrokehq/cli 0.1.56 → 0.1.58
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-COJ2wk-j.mjs → dist-B7pa0y2-.mjs} +1 -1
- package/dist/{dist-BOMPr8bd.mjs → dist-BlTFBcc6.mjs} +134 -8
- package/dist/dist-BlTFBcc6.mjs.map +1 -0
- package/dist/{dist-BzB-gu5C.mjs → dist-DJH7K67b.mjs} +2 -2
- package/dist/{dist-BzB-gu5C.mjs.map → dist-DJH7K67b.mjs.map} +1 -1
- package/dist/{dist-DPWhoGsR.mjs → dist-Ddc25Zjn.mjs} +33 -29
- package/dist/dist-Ddc25Zjn.mjs.map +1 -0
- package/dist/{dist-BAEU9vmA.mjs → dist-ID6Kg1Wi.mjs} +3 -3
- package/dist/{dist-BAEU9vmA.mjs.map → dist-ID6Kg1Wi.mjs.map} +1 -1
- package/dist/index.mjs +108 -25
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-BZXzV9hF.mjs → maybe-auto-update-kkHn69Yu.mjs} +2 -2
- package/dist/{maybe-auto-update-BZXzV9hF.mjs.map → maybe-auto-update-kkHn69Yu.mjs.map} +1 -1
- package/dist/{version-Cvojea9B.mjs → version-DHhrzTCa.mjs} +2 -2
- package/dist/{version-Cvojea9B.mjs.map → version-DHhrzTCa.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-BOMPr8bd.mjs.map +0 -1
- package/dist/dist-DPWhoGsR.mjs.map +0 -1
|
@@ -5387,14 +5387,14 @@ const OrganizationUserRoleSchema = _enum([
|
|
|
5387
5387
|
"admin",
|
|
5388
5388
|
"builder"
|
|
5389
5389
|
]);
|
|
5390
|
-
const isoDateTime$
|
|
5390
|
+
const isoDateTime$6 = string().datetime();
|
|
5391
5391
|
const OrganizationSchema = object({
|
|
5392
5392
|
id: string(),
|
|
5393
5393
|
name: string(),
|
|
5394
5394
|
slug: OrganizationSlugSchema,
|
|
5395
5395
|
verified: boolean(),
|
|
5396
|
-
createdAt: isoDateTime$
|
|
5397
|
-
updatedAt: isoDateTime$
|
|
5396
|
+
createdAt: isoDateTime$6,
|
|
5397
|
+
updatedAt: isoDateTime$6
|
|
5398
5398
|
});
|
|
5399
5399
|
const ProjectSchema = object({
|
|
5400
5400
|
id: string(),
|
|
@@ -5406,8 +5406,8 @@ const ProjectSchema = object({
|
|
|
5406
5406
|
baseUrl: string().nullable(),
|
|
5407
5407
|
runtimeId: string().nullable(),
|
|
5408
5408
|
lastError: string().nullable(),
|
|
5409
|
-
createdAt: isoDateTime$
|
|
5410
|
-
updatedAt: isoDateTime$
|
|
5409
|
+
createdAt: isoDateTime$6,
|
|
5410
|
+
updatedAt: isoDateTime$6
|
|
5411
5411
|
});
|
|
5412
5412
|
const UserOrganizationSchema = object({
|
|
5413
5413
|
organization: OrganizationSchema,
|
|
@@ -5431,7 +5431,7 @@ const ProjectListMetricsSchema = object({
|
|
|
5431
5431
|
workflowCount: number$1(),
|
|
5432
5432
|
skillCount: number$1(),
|
|
5433
5433
|
credentialCount: number$1(),
|
|
5434
|
-
lastDeploymentAt: isoDateTime$
|
|
5434
|
+
lastDeploymentAt: isoDateTime$6.nullable()
|
|
5435
5435
|
});
|
|
5436
5436
|
const ListProjectMetricsResponseSchema = record(string(), ProjectListMetricsSchema);
|
|
5437
5437
|
const CreateProjectRequestSchema = object({
|
|
@@ -5857,6 +5857,132 @@ const storedRouteManifestV2Schema = object({
|
|
|
5857
5857
|
function parseStoredRouteManifest(value) {
|
|
5858
5858
|
return storedRouteManifestV2Schema.parse(value);
|
|
5859
5859
|
}
|
|
5860
|
+
const isoDateTime$5 = string().datetime();
|
|
5861
|
+
const subscriptionStatusSchema = _enum([
|
|
5862
|
+
"none",
|
|
5863
|
+
"trialing",
|
|
5864
|
+
"active",
|
|
5865
|
+
"past_due",
|
|
5866
|
+
"canceled"
|
|
5867
|
+
]);
|
|
5868
|
+
const CreditPackSchema = object({
|
|
5869
|
+
id: string(),
|
|
5870
|
+
usd: number$1(),
|
|
5871
|
+
microCredits: number$1(),
|
|
5872
|
+
label: string()
|
|
5873
|
+
});
|
|
5874
|
+
const AutoTopupSummarySchema = object({
|
|
5875
|
+
enabled: boolean(),
|
|
5876
|
+
thresholdMicroCredits: number$1().nullable(),
|
|
5877
|
+
amountMicroCredits: number$1().nullable(),
|
|
5878
|
+
/** A saved payment method exists to charge off-session. */
|
|
5879
|
+
hasPaymentMethod: boolean(),
|
|
5880
|
+
/** A top-up invoice payment is in flight. */
|
|
5881
|
+
pending: boolean()
|
|
5882
|
+
});
|
|
5883
|
+
/**
|
|
5884
|
+
* The plan's resolved limits. Storage overage is billed from the wallet's
|
|
5885
|
+
* pushed-down `includedStorageGb`; concurrency, per-pass run timeouts, and
|
|
5886
|
+
* API/MCP rate limits are enforced from the wallet (timeouts/concurrency) or
|
|
5887
|
+
* plan preset (rate limits). Log retention is configured but not pruned yet.
|
|
5888
|
+
*/
|
|
5889
|
+
const PlanLimitsSchema = object({
|
|
5890
|
+
includedStorageGb: number$1(),
|
|
5891
|
+
concurrencyLimit: number$1(),
|
|
5892
|
+
agentTimeoutMs: number$1(),
|
|
5893
|
+
workflowTimeoutMs: number$1(),
|
|
5894
|
+
pollTimeoutMs: number$1(),
|
|
5895
|
+
/** Configured retention window; pruning not implemented yet. */
|
|
5896
|
+
logRetentionDays: number$1(),
|
|
5897
|
+
apiRateLimitCapacity: number$1(),
|
|
5898
|
+
apiRateLimitRefillPerSec: number$1(),
|
|
5899
|
+
mcpRateLimitCapacity: number$1(),
|
|
5900
|
+
mcpRateLimitRefillPerSec: number$1()
|
|
5901
|
+
});
|
|
5902
|
+
const BillingSummaryResponseSchema = object({
|
|
5903
|
+
planKey: string(),
|
|
5904
|
+
subscriptionStatus: subscriptionStatusSchema,
|
|
5905
|
+
planCreditMicroCredits: number$1(),
|
|
5906
|
+
prepaidCreditMicroCredits: number$1(),
|
|
5907
|
+
periodStart: isoDateTime$5.nullable(),
|
|
5908
|
+
periodEnd: isoDateTime$5.nullable(),
|
|
5909
|
+
autoTopup: AutoTopupSummarySchema,
|
|
5910
|
+
creditPacks: array(CreditPackSchema),
|
|
5911
|
+
limits: PlanLimitsSchema
|
|
5912
|
+
});
|
|
5913
|
+
const BillingUsageMeterSchema = object({
|
|
5914
|
+
/** Meter key (`llm`, `vm_second`, …); null groups uncategorized rows. */
|
|
5915
|
+
meterKey: string().nullable(),
|
|
5916
|
+
/** Charged this period, µc. */
|
|
5917
|
+
microCredits: number$1(),
|
|
5918
|
+
/** Tracked-but-not-charged usage (e.g. BYOK LLM calls), display USD. */
|
|
5919
|
+
unchargedUsd: number$1()
|
|
5920
|
+
});
|
|
5921
|
+
const BillingUsageResponseSchema = object({
|
|
5922
|
+
periodStart: isoDateTime$5.nullable(),
|
|
5923
|
+
periodEnd: isoDateTime$5.nullable(),
|
|
5924
|
+
totalMicroCredits: number$1(),
|
|
5925
|
+
byMeter: array(BillingUsageMeterSchema)
|
|
5926
|
+
});
|
|
5927
|
+
const billingLedgerEntryTypeSchema = _enum([
|
|
5928
|
+
"grant_plan",
|
|
5929
|
+
"grant_prepaid",
|
|
5930
|
+
"expire_plan",
|
|
5931
|
+
"adjustment"
|
|
5932
|
+
]);
|
|
5933
|
+
const BillingActivityResponseSchema = object({
|
|
5934
|
+
entries: array(object({
|
|
5935
|
+
id: string(),
|
|
5936
|
+
entryType: billingLedgerEntryTypeSchema,
|
|
5937
|
+
label: string(),
|
|
5938
|
+
/** Signed: positive grants, negative expirations/adjustments. */
|
|
5939
|
+
microCredits: number$1(),
|
|
5940
|
+
bucket: _enum(["plan", "prepaid"]).nullable(),
|
|
5941
|
+
/** Stripe invoice behind the entry, when there is one — powers "View invoice". */
|
|
5942
|
+
stripeInvoiceId: string().nullable(),
|
|
5943
|
+
createdAt: isoDateTime$5
|
|
5944
|
+
})),
|
|
5945
|
+
/** Set only when the latest payment failure is newer than the latest successful payment. */
|
|
5946
|
+
lastPaymentFailureAt: isoDateTime$5.nullable()
|
|
5947
|
+
});
|
|
5948
|
+
const CreateSubscriptionCheckoutRequestSchema = object({
|
|
5949
|
+
/** Web-app path to land on after Checkout (must be a path, not a URL). */
|
|
5950
|
+
returnPath: string().startsWith("/").max(512).optional() });
|
|
5951
|
+
const CreateCreditsCheckoutRequestSchema = object({
|
|
5952
|
+
packId: string(),
|
|
5953
|
+
returnPath: string().startsWith("/").max(512).optional()
|
|
5954
|
+
});
|
|
5955
|
+
const CreateBillingPortalRequestSchema = object({ returnPath: string().startsWith("/").max(512).optional() });
|
|
5956
|
+
/** Checkout + Portal both respond with a Stripe-hosted URL to redirect to. */
|
|
5957
|
+
const BillingRedirectResponseSchema = object({ url: string().url() });
|
|
5958
|
+
/** Fresh Stripe-hosted links for one invoice, resolved on click (never stored). */
|
|
5959
|
+
const BillingInvoiceUrlResponseSchema = object({
|
|
5960
|
+
/** Hosted invoice page (view, download, receipt). */
|
|
5961
|
+
url: string().url(),
|
|
5962
|
+
/** Direct PDF download when Stripe provides one. */
|
|
5963
|
+
pdf: string().url().nullable()
|
|
5964
|
+
});
|
|
5965
|
+
const ConfirmCheckoutRequestSchema = object({
|
|
5966
|
+
/** Stripe Checkout Session id from the `session_id` success-URL param. */
|
|
5967
|
+
sessionId: string().min(1).max(255) });
|
|
5968
|
+
const ConfirmCheckoutResponseSchema = object({
|
|
5969
|
+
/**
|
|
5970
|
+
* `granted` — credits are in the wallet now; `processing` — payment not
|
|
5971
|
+
* complete yet, the webhook will finish it; `ignored` — not a confirmable
|
|
5972
|
+
* session for this org.
|
|
5973
|
+
*/
|
|
5974
|
+
status: _enum([
|
|
5975
|
+
"granted",
|
|
5976
|
+
"processing",
|
|
5977
|
+
"ignored"
|
|
5978
|
+
]),
|
|
5979
|
+
reason: string().optional()
|
|
5980
|
+
});
|
|
5981
|
+
const UpdateAutoTopupRequestSchema = object({
|
|
5982
|
+
enabled: boolean(),
|
|
5983
|
+
thresholdMicroCredits: number$1().int().positive().optional(),
|
|
5984
|
+
packId: string().optional()
|
|
5985
|
+
});
|
|
5860
5986
|
/** Messaging platforms that support agent gateway bindings. */
|
|
5861
5987
|
const ChannelPlatformKeySchema = _enum(["slack"]);
|
|
5862
5988
|
const ChannelReactionSupportSchema = _enum([
|
|
@@ -8170,6 +8296,6 @@ const WorkflowCanvasCredentialBindingSchema = union([
|
|
|
8170
8296
|
const WorkflowCanvasCredentialBindingsSchema = record(string(), array(WorkflowCanvasCredentialBindingSchema));
|
|
8171
8297
|
const WorkflowRunInputsPutBodySchema = record(string(), unknown());
|
|
8172
8298
|
//#endregion
|
|
8173
|
-
export {
|
|
8299
|
+
export { CredentialInstanceListResponseSchema as $, WorkspaceTriggerDetailSchema as $n, ProjectResponseSchema as $t, ConfirmCheckoutResponseSchema as A, UpdateOrganizationRequestSchema as An, discriminatedUnion as Ar, ListOrganizationsResponseSchema as At, CreateCustomAppRequestSchema as B, UserPreferencesPatchSchema as Bn, union as Br, PROJECT_PULL_STATE_RELATIVE_PATH as Bt, ChannelAccountListResponseSchema as C, TriggerRunListResponseSchema as Cn, _enum as Cr, ListAgentMemoryFilesResponseSchema as Ct, ChannelPlatformSchema as D, UpdateCredentialRequestSchema as Dn, array as Dr, ListCredentialsResponseSchema as Dt, ChannelDirectoryListResponseSchema as E, UpdateCredentialInstanceBodySchema as En, any as Er, ListAppsResponseSchema as Et, CreateBillingPortalRequestSchema as F, UploadProjectSourceManifestRequestSchema as Fn, object as Fr, ListProjectsResponseSchema as Ft, CreateProjectRequestSchema as G, WorkflowRunDetailResponseSchema as Gn, safeParse$1 as Gr, PresignOrgLogoRequestSchema as Gt, CreateOrganizationRequestSchema as H, WorkflowCanvasCredentialBindingsSchema as Hn, url as Hr, PollRunResponseSchema as Ht, CreateCredentialInstanceBodySchema as I, UploadProjectSourceResponseSchema as In, optional as Ir, McpDiscoverResponseSchema as It, CredentialAssignmentListQuerySchema as J, WorkflowRunInputsSchema as Jn, PresignProjectSourceResponseSchema as Jt, CreateProjectResponseSchema as K, WorkflowRunHooksResponseSchema as Kn, NEVER as Kr, PresignOrgLogoResponseSchema as Kt, CreateCredentialsRequestSchema as L, UpsertGatewayAttachmentBodySchema as Ln, preprocess as Lr, OpenApiDiscoverResponseSchema as Lt, ConnectProvidersResponseSchema as M, UpdateProjectMemberResponseSchema as Mn, literal as Mr, ListProjectFilesResponseSchema as Mt, CreateApiKeyRequestSchema as N, UpdateProjectRequestSchema as Nn, looseObject as Nr, ListProjectMembersResponseSchema as Nt, CompleteProjectArtifactResponseSchema as O, UpdateOrganizationMemberRequestSchema as On, boolean as Or, ListOrganizationInvitationsResponseSchema as Ot, CreateApiKeyResponseSchema as P, UpdateProjectSettingsRequestSchema as Pn, number$1 as Pr, ListProjectMetricsResponseSchema as Pt, CredentialConsumerListResponseSchema as Q, WorkflowSummaryListResponseSchema as Qn, ProjectReachabilityResponseSchema as Qt, CreateCredentialsResponseSchema as R, UserAvatarPatchSchema as Rn, record as Rr, OrganizationSidebarBrandingPatchSchema as Rt, CatalogAppsPageResponseSchema as S, TriggerRunDetailResponseSchema as Sn, ZodType as Sr, LOCAL_PLATFORM_ORIGIN as St, ChannelConnectionSchema as T, UpdateChannelBindingBodySchema as Tn, _null as Tr, ListApiKeysResponseSchema as Tt, CreateOrganizationResponseSchema as U, WorkflowCanvasRunSchema as Un, datetime as Ur, PresignChatAttachmentRequestSchema as Ut, CreateCustomAppResponseSchema as V, UserPreferencesSchema as Vn, unknown as Vr, PROJECT_REACHABILITY_REQUEST_TIMEOUT_MS as Vt, CreateProjectArtifactResponseSchema as W, WorkflowCanvasSchema as Wn, toJSONSchema as Wr, PresignChatAttachmentResponseSchema as Wt, CredentialAssignmentRecordSchema as X, WorkflowRunResponseSchema as Xn, PresignUserAvatarResponseSchema as Xt, CredentialAssignmentListResponseSchema as Y, WorkflowRunListResponseSchema as Yn, PresignUserAvatarRequestSchema as Yt, CredentialConsumerListQuerySchema as Z, WorkflowSummaryDetailResponseSchema as Zn, ProjectPullStateSchema as Zt, BillingUsageResponseSchema as _, StartOAuthConnectionResultSchema as _n, resolveConnectAppSlug as _r, HistoryRunListResponseSchema as _t, AgentSessionDetailResponseSchema as a, QueuedAgentPromptResponseSchema as an, buildConnectDeeplink as ar, DownloadActiveProjectArtifactResponseSchema as at, CatalogActionsPageResponseSchema as b, TriggerDetailResponseSchema as bn, slugifyAppName as br, InviteProjectMembersRequestSchema as bt, AgentSummaryListResponseSchema as c, RecentResourceListResponseSchema as cn, detectProjectPackageManagerFromSnapshot as cr, ExecuteKeystrokeToolRequestSchema as ct, AssignCredentialBodySchema as d, SlugAvailabilityResponseSchema as dn, normalizeCredentialList as dr, GetCustomAppResponseSchema as dt, ProjectSettingsResponseSchema as en, WorkspaceTriggerFileSchema as er, CredentialInstanceRecordSchema as et, AutoTopupSummarySchema as f, StartKeystrokeConnectionInputSchema as fn, originFromPublicUrl as fr, GraphqlDiscoverResponseSchema as ft, BillingSummaryResponseSchema as g, StartOAuthConnectionInputSchema as gn, requiredDisplayTextSchema as gr, HistoryRunListQuerySchema as gt, BillingRedirectResponseSchema as h, StartMcpOAuthConnectionResultSchema as hn, parseStoredRouteManifest as hr, HistoryRunDetailResponseSchema as ht, AgentSessionChatStateResponseSchema as i, PublicModelsResponseSchema as in, WorkspaceWorkflowOverviewSchema as ir, DeclineOrganizationInvitationResponseSchema as it, ConnectAuthorizeUrlResponseSchema as j, UpdateProjectMemberRequestSchema as jn, intersection as jr, ListProjectDeploymentsResponseSchema as jt, ConfirmCheckoutRequestSchema as k, UpdateOrganizationMemberResponseSchema as kn, custom as kr, ListOrganizationMembersResponseSchema as kt, AgentTriggerSummaryListResponseSchema as l, SkillSummaryDetailResponseSchema as ln, isAcceptableInstallExit as lr, GatewayAttachmentRecordSchema as lt, BillingInvoiceUrlResponseSchema as m, StartMcpOAuthConnectionInputSchema as mn, parseErrorResponse as mr, HistoryRunCancelResponseSchema as mt, AcceptOrganizationInvitationResponseSchema as n, PromptInputSchema as nn, WorkspaceTriggerOverviewSchema as nr, DOCS_QUERY_TOOL as nt, AgentSessionListResponseSchema as o, QueuedRunResponseSchema as on, credentialInputSchema as or, DownloadActiveProjectSourceResponseSchema as ot, BillingActivityResponseSchema as p, StartKeystrokeConnectionResultSchema as pn, parseAppSlug as pr, HealthResponseSchema as pt, CreateSubscriptionCheckoutRequestSchema as q, WorkflowRunInputsPutBodySchema as qn, PresignProjectSourceRequestSchema as qt, ActiveOrganizationResponseSchema as r, PromptResponseSchema as rn, WorkspaceTriggerRunListResponseSchema as rr, DOCS_SEARCH_TOOL as rt, AgentSummaryDetailResponseSchema as s, ROUTE_MANIFEST_REL_PATH as sn, deriveCustomAppDisplay as sr, ErrorResponseSchema as st, ACTIVE_ORG_HEADER as t, ProjectSlugAvailabilityResponseSchema as tn, WorkspaceTriggerListResponseSchema as tr, DEFAULT_CLOUD_PLATFORM_ORIGIN as tt, AppSlugAvailabilityResponseSchema as u, SkillSummaryListResponseSchema as un, listenPortFromPublicUrl as ur, GetCredentialResponseSchema as ut, BindChannelBodySchema as v, SubmitMarketingContactRequestSchema as vn, resolveDocsMcpUrl as vr, InviteOrganizationMembersRequestSchema as vt, ChannelConnectionListResponseSchema as w, UpdateAutoTopupRequestSchema as wn, _function as wr, ListAgentWorkspaceFilesResponseSchema as wt, CatalogAppDetailResponseSchema as x, TriggerListResponseSchema as xn, number as xr, InviteProjectMembersResponseSchema as xt, CatalogActionDetailResponseSchema as y, SubmitTeamRequestRequestSchema as yn, resolvePublicPlatformOrigin as yr, InviteOrganizationMembersResponseSchema as yt, CreateCreditsCheckoutRequestSchema as z, UserAvatarSchema as zn, string as zr, OrganizationSidebarBrandingSchema as zt };
|
|
8174
8300
|
|
|
8175
|
-
//# sourceMappingURL=dist-
|
|
8301
|
+
//# sourceMappingURL=dist-BlTFBcc6.mjs.map
|