@keystrokehq/cli 0.1.131 → 0.1.133

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { n as __require, t as __commonJSMin } from "./chunk-DiodbrVj.mjs";
3
- import { $r as array, Dn as ROUTE_MANIFEST_REL_PATH, Hr as requiredDisplayTextSchema, Jr as ZodType, Lr as normalizeCredentialList, Mr as credentialInputSchema, Sn as PublicModelsResponseSchema, Vr as parseStoredRouteManifest, Xr as _function, Yr as _enum, Zr as _null, _i as toJSONSchema, ai as literal, ci as object, di as record, ei as boolean$1, fi as string, ii as lazy, ni as discriminatedUnion, pi as union, si as number, ti as custom, tt as DEFAULT_CLOUD_PLATFORM_ORIGIN, ui as preprocess, ut as FilePartSchema, vn as PromptResponseSchema } from "./dist-ByG--yKA.mjs";
4
- import "./dist-BamKVXHp.mjs";
3
+ import { $r as array, Dn as ROUTE_MANIFEST_REL_PATH, Hr as requiredDisplayTextSchema, Jr as ZodType, Lr as normalizeCredentialList, Mr as credentialInputSchema, Sn as PublicModelsResponseSchema, Vr as parseStoredRouteManifest, Xr as _function, Yr as _enum, Zr as _null, _i as toJSONSchema, ai as literal, ci as object, di as record, ei as boolean$1, fi as string, ii as lazy, ni as discriminatedUnion, pi as union, si as number, ti as custom, tt as DEFAULT_CLOUD_PLATFORM_ORIGIN, ui as preprocess, ut as FilePartSchema, vn as PromptResponseSchema } from "./dist-Df6dR-oX.mjs";
4
+ import "./dist-DR0jFfjU.mjs";
5
5
  import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
6
6
  import "./chunk-DLL7UR66-BUYgzxnR.mjs";
7
7
  import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
@@ -12904,6 +12904,18 @@ const oauthConnectionsSqlite = sqliteTable("oauth_connections", {
12904
12904
  connectedAt: integer$1("connected_at", { mode: "timestamp_ms" }).notNull(),
12905
12905
  updatedAt: integer$1("updated_at", { mode: "timestamp_ms" }).notNull()
12906
12906
  }, (table) => [uniqueIndex$1("oauth_connections_app_external_unique").on(table.appId, table.externalId), index$1("oauth_connections_external_id_idx").on(table.externalId)]);
12907
+ const oauthPendingStates = pgTable("oauth_pending_states", {
12908
+ id: text("id").primaryKey(),
12909
+ payloadCiphertext: text("payload_ciphertext").notNull(),
12910
+ expiresAt: timestamp("expires_at", { withTimezone: true }).notNull(),
12911
+ createdAt: timestamp("created_at", { withTimezone: true }).notNull()
12912
+ }, (table) => [index("oauth_pending_states_expires_at_idx").on(table.expiresAt)]);
12913
+ const oauthPendingStatesSqlite = sqliteTable("oauth_pending_states", {
12914
+ id: text$1("id").primaryKey(),
12915
+ payloadCiphertext: text$1("payload_ciphertext").notNull(),
12916
+ expiresAt: integer$1("expires_at", { mode: "timestamp_ms" }).notNull(),
12917
+ createdAt: integer$1("created_at", { mode: "timestamp_ms" }).notNull()
12918
+ }, (table) => [index$1("oauth_pending_states_expires_at_idx").on(table.expiresAt)]);
12907
12919
  const organizationUsers = pgTable("organization_users", {
12908
12920
  organizationId: text("organization_id").notNull().references(() => organizations.id, { onDelete: "cascade" }),
12909
12921
  userId: text("user_id").notNull().references(() => users.id, { onDelete: "cascade" }),
@@ -14118,6 +14130,10 @@ const tableRegistry = {
14118
14130
  pg: oauthConnections,
14119
14131
  sqlite: oauthConnectionsSqlite
14120
14132
  },
14133
+ oauthPendingStates: {
14134
+ pg: oauthPendingStates,
14135
+ sqlite: oauthPendingStatesSqlite
14136
+ },
14121
14137
  mcpOauthClient: {
14122
14138
  pg: mcpOauthClient,
14123
14139
  sqlite: mcpOauthClientSqlite
@@ -31281,4 +31297,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
31281
31297
  //#endregion
31282
31298
  export { validatePollGroups as A, attachmentSlugFromRecord as B, pollRouteFromSourceSlug as C, validateAttachmentTargets as D, toStoredRouteManifest as E, webhookManifestAttachmentSchemasFromBindings as F, packAssetDirs as G, computeCallSiteIds as H, webhookMatchSchemaForBindings as I, entryIdFromFile as J, discoverEntries as K, webhookRouteFromEndpoint as L, validateTriggerAttachments as M, validateUniqueAttachmentSlugs as N, validateImportedTriggerAttachment as O, validateUniqueTriggerSourceSlugs as P, walkTypeScriptFiles as Q, workflowKeyForAttachment as R, pollGroupRouteFromId as S, serializeRouteManifest as T, diagnoseWorkflowSource as U, classifyCall as V, locateWorkflow as W, shouldSkipKeystrokeModuleFile as X, readKeystrokeIgnoreDirective as Y, validateUniqueModuleKeys as Z, importAgentDefinition as _, buildStoredRouteManifestForProject as a, persistStoredRouteManifest as b, collectAgentAppSlugs as c, discoverAgentEntries as d, discoverSkillManifestEntries as f, emitStoredRouteManifestForProject as g, discoverWorkflows as h, buildPollGroups as i, validateProjectModules as j, validateImportedWorkflowDefinition as k, collectAgentToolSlugs as l, discoverWorkflowEntries as m, agentManifestEntry as n, buildStoredRouteManifestFromContext as o, discoverTriggerAttachments as p, discoverModuleFileEntries as q, agentRouteFromKey as r, buildWebhookBindingsByRoute as s, agentKeyForAttachment as t, countAgentCredentials as u, importTriggerAttachments as v, schemaToJson as w, pollGroupId as x, importWorkflowDefinition as y, workflowRouteFromKey as z };
31283
31299
 
31284
- //# sourceMappingURL=dist-CGVR9s8M.mjs.map
31300
+ //# sourceMappingURL=dist-BPfI27v8.mjs.map