@keystrokehq/keystroke 0.0.92 → 0.0.93

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.
@@ -13255,7 +13255,7 @@ async function connectMcpServer(name, options) {
13255
13255
  }
13256
13256
  async function createTransport(url, transport, requestInit, fetchImpl) {
13257
13257
  if (transport === "sse") {
13258
- const { SSEClientTransport } = await import("./sse-DQGKIkes.mjs");
13258
+ const { SSEClientTransport } = await import("./sse-Bxvdniu5.mjs");
13259
13259
  return new SSEClientTransport(url, {
13260
13260
  requestInit,
13261
13261
  fetch: fetchImpl
@@ -15705,11 +15705,11 @@ function uniqueIndex$1(name) {
15705
15705
  }
15706
15706
  //#endregion
15707
15707
  //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/primary-keys.js
15708
- function primaryKey$1(...config) {
15709
- if (config[0].columns) return new PrimaryKeyBuilder$1(config[0].columns, config[0].name);
15710
- return new PrimaryKeyBuilder$1(config);
15708
+ function primaryKey(...config) {
15709
+ if (config[0].columns) return new PrimaryKeyBuilder(config[0].columns, config[0].name);
15710
+ return new PrimaryKeyBuilder(config);
15711
15711
  }
15712
- var PrimaryKeyBuilder$1 = class {
15712
+ var PrimaryKeyBuilder = class {
15713
15713
  static [entityKind] = "PgPrimaryKeyBuilder";
15714
15714
  /** @internal */
15715
15715
  columns;
@@ -15721,10 +15721,10 @@ var PrimaryKeyBuilder$1 = class {
15721
15721
  }
15722
15722
  /** @internal */
15723
15723
  build(table) {
15724
- return new PrimaryKey$1(table, this.columns, this.name);
15724
+ return new PrimaryKey(table, this.columns, this.name);
15725
15725
  }
15726
15726
  };
15727
- var PrimaryKey$1 = class {
15727
+ var PrimaryKey = class {
15728
15728
  constructor(table, columns, name) {
15729
15729
  this.table = table;
15730
15730
  this.columns = columns;
@@ -16335,40 +16335,6 @@ function uniqueIndex(name) {
16335
16335
  return new IndexBuilderOn(name, true);
16336
16336
  }
16337
16337
  //#endregion
16338
- //#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/primary-keys.js
16339
- function primaryKey(...config) {
16340
- if (config[0].columns) return new PrimaryKeyBuilder(config[0].columns, config[0].name);
16341
- return new PrimaryKeyBuilder(config);
16342
- }
16343
- var PrimaryKeyBuilder = class {
16344
- static [entityKind] = "SQLitePrimaryKeyBuilder";
16345
- /** @internal */
16346
- columns;
16347
- /** @internal */
16348
- name;
16349
- constructor(columns, name) {
16350
- this.columns = columns;
16351
- this.name = name;
16352
- }
16353
- /** @internal */
16354
- build(table) {
16355
- return new PrimaryKey(table, this.columns, this.name);
16356
- }
16357
- };
16358
- var PrimaryKey = class {
16359
- constructor(table, columns, name) {
16360
- this.table = table;
16361
- this.columns = columns;
16362
- this.name = name;
16363
- }
16364
- static [entityKind] = "SQLitePrimaryKey";
16365
- columns;
16366
- name;
16367
- getName() {
16368
- return this.name ?? `${this.table[SQLiteTable.Symbol.Name]}_${this.columns.map((column) => column.name).join("_")}_pk`;
16369
- }
16370
- };
16371
- //#endregion
16372
16338
  //#region ../database/dist/index.mjs
16373
16339
  const tenantScopeStorage = new AsyncLocalStorage();
16374
16340
  function getServerTenantScopeId() {
@@ -16741,18 +16707,6 @@ const jobsSqlite = sqliteTable("jobs", {
16741
16707
  completedAt: integer("completed_at", { mode: "timestamp_ms" }),
16742
16708
  error: text("error", { mode: "json" })
16743
16709
  });
16744
- const schedulerPolicy = pgTable("scheduler_policy", {
16745
- projectId: text$1("project_id").notNull(),
16746
- id: text$1("id").notNull(),
16747
- globalMaxConcurrent: integer$1("global_max_concurrent"),
16748
- overrides: jsonb("overrides").$type()
16749
- }, (table) => [primaryKey$1({ columns: [table.projectId, table.id] })]);
16750
- const schedulerPolicySqlite = sqliteTable("scheduler_policy", {
16751
- projectId: text("project_id").notNull(),
16752
- id: text("id").notNull(),
16753
- globalMaxConcurrent: integer("global_max_concurrent"),
16754
- overrides: text("overrides", { mode: "json" }).$type()
16755
- }, (table) => [primaryKey({ columns: [table.projectId, table.id] })]);
16756
16710
  const gatewayAttachments = pgTable("gateway_attachments", {
16757
16711
  id: text$1("id").primaryKey(),
16758
16712
  projectId: text$1("project_id").notNull(),
@@ -16931,10 +16885,6 @@ const tableRegistry = {
16931
16885
  pg: jobs,
16932
16886
  sqlite: jobsSqlite
16933
16887
  },
16934
- schedulerPolicy: {
16935
- pg: schedulerPolicy,
16936
- sqlite: schedulerPolicySqlite
16937
- },
16938
16888
  gatewayAttachments: {
16939
16889
  pg: gatewayAttachments,
16940
16890
  sqlite: gatewayAttachmentsSqlite
@@ -17390,7 +17340,7 @@ const organizationUsers = pgTable("organization_users", {
17390
17340
  createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
17391
17341
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
17392
17342
  deletedAt: timestamp("deleted_at", { withTimezone: true })
17393
- }, (table) => [primaryKey$1({ columns: [table.organizationId, table.userId] }), index$1("organization_users_user_id_idx").on(table.userId)]);
17343
+ }, (table) => [primaryKey({ columns: [table.organizationId, table.userId] }), index$1("organization_users_user_id_idx").on(table.userId)]);
17394
17344
  const organizationInvitations = pgTable("organization_invitations", {
17395
17345
  id: text$1("id").primaryKey(),
17396
17346
  organizationId: text$1("organization_id").notNull().references(() => organizations.id, { onDelete: "cascade" }),
@@ -18080,4 +18030,4 @@ async function withSpan(input, fn) {
18080
18030
  //#endregion
18081
18031
  export { JSONRPCMessageSchema as A, createParser as C, createFetchWithInit as D, extractWWWAuthenticateParams as E, normalizeHeaders as O, isMcp as S, auth as T, touchSession as _, buildCredentialRunContext as a, connectMcpStdio as b, isCredentialError as c, MESSAGE_EVENT_TYPE as d, appendEvent as f, listMessageEvents as g, getSession as h, withSpan as i, zodToJsonSchema as k, resolveActionCredentials as l, getAgentByRoute as m, getTraceContext as n, captureCredentialToolErrors as o, createSession as p, logSystem as r, createCredentialResolver as s, captureConsole as t, resolveMcpTools as u, connectMcpDefinition as v, UnauthorizedError as w, defineMcp as x, connectMcpServer as y };
18082
18032
 
18083
- //# sourceMappingURL=dist-Dwe4FmVc.mjs.map
18033
+ //# sourceMappingURL=dist-BML_gJSh.mjs.map