@keystrokehq/cli 0.1.182 → 0.1.184
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-TgqInfge.mjs → dist-BHaxjUlc.mjs} +3 -1
- package/dist/{dist-TgqInfge.mjs.map → dist-BHaxjUlc.mjs.map} +1 -1
- package/dist/dist-CHjhMHpI.mjs +3 -0
- package/dist/dist-Cj1_yP5d.mjs +4 -0
- package/dist/{dist-6_A0oBe6.mjs → dist-YUSum_U6.mjs} +4 -4
- package/dist/{dist-6_A0oBe6.mjs.map → dist-YUSum_U6.mjs.map} +1 -1
- package/dist/{dist-D14gxQto.mjs → dist-aGL2P8SI.mjs} +12 -9
- package/dist/dist-aGL2P8SI.mjs.map +1 -0
- package/dist/index.mjs +1 -1
- package/dist/{maybe-auto-update-Dwn9LbQT.mjs → maybe-auto-update-BWS4e3Fw.mjs} +2 -2
- package/dist/{maybe-auto-update-Dwn9LbQT.mjs.map → maybe-auto-update-BWS4e3Fw.mjs.map} +1 -1
- package/dist/{program-BPVcWxbF.mjs → program-DJPdWAMn.mjs} +7 -7
- package/dist/program-DJPdWAMn.mjs.map +1 -0
- package/dist/{run-package-manager-update-DUTKqYW0.mjs → run-package-manager-update-u6qgm6mh.mjs} +2 -2
- package/dist/{run-package-manager-update-DUTKqYW0.mjs.map → run-package-manager-update-u6qgm6mh.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/dist-D14gxQto.mjs.map +0 -1
- package/dist/dist-DovulqpM.mjs +0 -3
- package/dist/dist-DzkCYKHB.mjs +0 -4
- package/dist/program-BPVcWxbF.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { n as __require, r as __toESM, t as __commonJSMin } from "./chunk-DiodbrVj.mjs";
|
|
3
|
-
import { $a as number, Ba as ZodType, Ga as array, Ha as _function, Ja as discriminatedUnion, Ka as boolean$1, Mn as PROJECT_MANIFEST_REL_PATH, Qa as looseObject, Qt as ListBrainDocumentsQuerySchema, Ra as number$1, Ta as PublicModelsResponseSchema, Ua as _null, Va as _enum, Wa as any, Xa as lazy, Ya as intersection, Za as literal, _a as normalizeCredentialList, ao as union, co as datetime, eo as object, fr as PromptResponseSchema, g as BrainDocumentIdSchema, ga as getOpenApiJsonSchema, ha as credentialInputSchema, io as string, lo as safeParse$1, no as preprocess, nr as ProjectArtifactIndexSchema, oo as unknown, qa as custom, ra as parseStoredRouteManifest, ro as record, sa as zodToStoredJsonSchema, so as url, ta as parseProjectManifest, to as optional, uo as NEVER, va as requiredDisplayTextSchema, ya as DEFAULT_CLOUD_PLATFORM_ORIGIN, za as ZodIssueCode } from "./dist-
|
|
3
|
+
import { $a as number, Ba as ZodType, Ga as array, Ha as _function, Ja as discriminatedUnion, Ka as boolean$1, Mn as PROJECT_MANIFEST_REL_PATH, Qa as looseObject, Qt as ListBrainDocumentsQuerySchema, Ra as number$1, Ta as PublicModelsResponseSchema, Ua as _null, Va as _enum, Wa as any, Xa as lazy, Ya as intersection, Za as literal, _a as normalizeCredentialList, ao as union, co as datetime, eo as object, fr as PromptResponseSchema, g as BrainDocumentIdSchema, ga as getOpenApiJsonSchema, ha as credentialInputSchema, io as string, lo as safeParse$1, no as preprocess, nr as ProjectArtifactIndexSchema, oo as unknown, qa as custom, ra as parseStoredRouteManifest, ro as record, sa as zodToStoredJsonSchema, so as url, ta as parseProjectManifest, to as optional, uo as NEVER, va as requiredDisplayTextSchema, ya as DEFAULT_CLOUD_PLATFORM_ORIGIN, za as ZodIssueCode } from "./dist-BHaxjUlc.mjs";
|
|
4
4
|
import "./chunk-4RUAZWKT-D60fyWAB.mjs";
|
|
5
5
|
import "./chunk-SAI2SPQQ-CVRoDNs9.mjs";
|
|
6
6
|
import "./chunk-WNH3HOQA-BCZUOjCJ.mjs";
|
|
@@ -15246,7 +15246,7 @@ var PrimaryKey = class {
|
|
|
15246
15246
|
}
|
|
15247
15247
|
};
|
|
15248
15248
|
//#endregion
|
|
15249
|
-
//#region ../../packages/platform-database/dist/mcp-oauth-
|
|
15249
|
+
//#region ../../packages/platform-database/dist/mcp-oauth-BRKArKbL.mjs
|
|
15250
15250
|
const users = pgTable("users", {
|
|
15251
15251
|
id: text$1("id").primaryKey(),
|
|
15252
15252
|
name: text$1("name").notNull(),
|
|
@@ -15346,7 +15346,9 @@ const authJwksSqlite = sqliteTable("jwks", {
|
|
|
15346
15346
|
const authSessions = pgTable("sessions", {
|
|
15347
15347
|
id: text$1("id").primaryKey(),
|
|
15348
15348
|
expiresAt: timestamp("expires_at", { withTimezone: true }).notNull(),
|
|
15349
|
-
token: text$1("
|
|
15349
|
+
token: text$1("token_hash").unique(),
|
|
15350
|
+
tokenCiphertext: text$1("token_ciphertext"),
|
|
15351
|
+
legacyToken: text$1("token").unique(),
|
|
15350
15352
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
15351
15353
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
|
|
15352
15354
|
ipAddress: text$1("ip_address"),
|
|
@@ -15357,7 +15359,9 @@ const authSessions = pgTable("sessions", {
|
|
|
15357
15359
|
const authSessionsSqlite = sqliteTable("sessions", {
|
|
15358
15360
|
id: text("id").primaryKey(),
|
|
15359
15361
|
expiresAt: integer("expires_at", { mode: "timestamp_ms" }).notNull(),
|
|
15360
|
-
token: text("
|
|
15362
|
+
token: text("token_hash").unique(),
|
|
15363
|
+
tokenCiphertext: text("token_ciphertext"),
|
|
15364
|
+
legacyToken: text("token").unique(),
|
|
15361
15365
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
15362
15366
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
|
|
15363
15367
|
ipAddress: text("ip_address"),
|
|
@@ -15395,10 +15399,9 @@ const authVerificationsSqlite = sqliteTable("verification", {
|
|
|
15395
15399
|
* `oauthAccessToken`, `oauthConsent`) and by field name (the JS property keys
|
|
15396
15400
|
* below); the physical table/column names are ours to choose.
|
|
15397
15401
|
*
|
|
15398
|
-
*
|
|
15399
|
-
*
|
|
15400
|
-
*
|
|
15401
|
-
* short-lived; rely on DB access controls + at-rest encryption.
|
|
15402
|
+
* Access and refresh tokens are HMAC-SHA-256 hashed by the auth adapter. The
|
|
15403
|
+
* plugin only looks them up, so their plaintext is returned once at issuance
|
|
15404
|
+
* and never needs to be recovered from the database.
|
|
15402
15405
|
*/
|
|
15403
15406
|
const mcpOauthClient = pgTable("mcp_oauth_client", {
|
|
15404
15407
|
id: text$1("id").primaryKey(),
|
|
@@ -47736,4 +47739,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
|
|
|
47736
47739
|
//#endregion
|
|
47737
47740
|
export { withMcpReadClient as $, serializeRouteManifest as A, validatePollGroups as B, isModularManifestEmitCacheHit as C, stopBrowserUseSession as Ct, pollRouteFromSourceSlug as D, event as Dt, pollGroupRouteFromId as E, configureTelemetry as Et, triggerManifestAttachments as F, webhookManifestAttachmentSchemasFromBindings as G, validateTriggerAttachments as H, tryReadProjectManifest as I, workflowKeyForAttachment as J, webhookMatchSchemaForBindings as K, validateAttachmentTargets as L, sha256File as M, splitStoredRouteManifest as N, projectActionsFingerprint as O, flushTelemetry as Ot, toStoredRouteManifest as P, assertPublicHttpUrl as Q, validateImportedTriggerAttachment as R, integrationPackagesFingerprint as S, runAgentBrowser as St, pollGroupId as T, captureException as Tt, validateUniqueAttachmentSlugs as U, validateProjectModules as V, validateUniqueTriggerSourceSlugs as W, attachmentSlugFromRecord as X, workflowRouteFromKey as Y, PublicHttpUrlError as Z, emitStoredRouteManifestForProject as _, defaultBrowserProfilesRoot as _t, buildPollGroups as a, classifyCall as at, importTriggerAttachments as b, resolveBrowserContext as bt, collectAgentAppSlugs as c, locateWorkflow as ct, countAgentCredentials as d, entryIdFromFile as dt, artifactIndexFromModules as et, discoverAgentEntries as f, readKeystrokeIgnoreDirective as ft, discoverWorkflows as g, agentBrowserProfilePath as gt, discoverWorkflowEntries as h, walkTypeScriptFiles as ht, agentRouteFromKey as i, packDirFromDisk as it, sha256Bytes as j, schemaToJson as k, shutdownTelemetry as kt, collectAgentToolSlugs as l, discoverEntries as lt, discoverTriggerAttachments as m, validateUniqueModuleKeys as mt, agentKeyForAttachment as n, moduleBlobRefsFromModules as nt, buildStoredRouteManifestForProject as o, computeCallSiteIds as ot, discoverSkillManifestEntries as p, shouldSkipKeystrokeModuleFile as pt, webhookRouteFromEndpoint as q, agentManifestEntry as r, mapInParallelBatches as rt, buildStoredRouteManifestFromContext as s, diagnoseWorkflowSource as st, actionsCatalogFingerprint as t, collectArtifactModules as tt, contentHashForModule as u, discoverModuleFileEntries as ut, hashDirectoryContents as v, deleteBrowserUseProfile as vt, persistModularRouteManifest as w, alias as wt, importWorkflowDefinition as x, resolveBrowserProvider as xt, importAgentDefinition as y, openCloudBrowserLogin as yt, validateImportedWorkflowDefinition as z };
|
|
47738
47741
|
|
|
47739
|
-
//# sourceMappingURL=dist-
|
|
47742
|
+
//# sourceMappingURL=dist-aGL2P8SI.mjs.map
|