@keystrokehq/cli 0.1.176 → 0.1.178

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.
@@ -15246,7 +15246,7 @@ var PrimaryKey = class {
15246
15246
  }
15247
15247
  };
15248
15248
  //#endregion
15249
- //#region ../../packages/platform-database/dist/mcp-oauth-SRTcHMWZ.mjs
15249
+ //#region ../../packages/platform-database/dist/mcp-oauth-BkKV9WA_.mjs
15250
15250
  const users = pgTable("users", {
15251
15251
  id: text$1("id").primaryKey(),
15252
15252
  name: text$1("name").notNull(),
@@ -15254,6 +15254,10 @@ const users = pgTable("users", {
15254
15254
  emailVerified: boolean("email_verified").notNull(),
15255
15255
  image: text$1("image"),
15256
15256
  preferences: jsonb("preferences"),
15257
+ role: text$1("role"),
15258
+ banned: boolean("banned").notNull().default(false),
15259
+ banReason: text$1("ban_reason"),
15260
+ banExpires: timestamp("ban_expires", { withTimezone: true }),
15257
15261
  createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
15258
15262
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
15259
15263
  });
@@ -15264,6 +15268,10 @@ const usersSqlite = sqliteTable("users", {
15264
15268
  emailVerified: integer("email_verified", { mode: "boolean" }).notNull(),
15265
15269
  image: text("image"),
15266
15270
  preferences: text("preferences", { mode: "json" }),
15271
+ role: text("role"),
15272
+ banned: integer("banned", { mode: "boolean" }).notNull().default(false),
15273
+ banReason: text("ban_reason"),
15274
+ banExpires: integer("ban_expires", { mode: "timestamp_ms" }),
15267
15275
  createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
15268
15276
  updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
15269
15277
  });
@@ -15343,6 +15351,7 @@ const authSessions = pgTable("sessions", {
15343
15351
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
15344
15352
  ipAddress: text$1("ip_address"),
15345
15353
  userAgent: text$1("user_agent"),
15354
+ impersonatedBy: text$1("impersonated_by"),
15346
15355
  userId: text$1("user_id").notNull().references(() => users.id, { onDelete: "cascade" })
15347
15356
  }, (table) => [index$1("session_user_id_idx").on(table.userId)]);
15348
15357
  const authSessionsSqlite = sqliteTable("sessions", {
@@ -15353,6 +15362,7 @@ const authSessionsSqlite = sqliteTable("sessions", {
15353
15362
  updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
15354
15363
  ipAddress: text("ip_address"),
15355
15364
  userAgent: text("user_agent"),
15365
+ impersonatedBy: text("impersonated_by"),
15356
15366
  userId: text("user_id").notNull().references(() => usersSqlite.id, { onDelete: "cascade" })
15357
15367
  }, (table) => [index("session_user_id_idx").on(table.userId)]);
15358
15368
  const authVerifications = pgTable("verification", {
@@ -47726,4 +47736,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
47726
47736
  //#endregion
47727
47737
  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 };
47728
47738
 
47729
- //# sourceMappingURL=dist-aOn-HftZ.mjs.map
47739
+ //# sourceMappingURL=dist-D14gxQto.mjs.map