@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.
@@ -13262,7 +13262,7 @@ async function connectMcpServer(name, options) {
13262
13262
  }
13263
13263
  async function createTransport(url, transport, requestInit, fetchImpl) {
13264
13264
  if (transport === "sse") {
13265
- const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-B2c4ob-L.cjs"));
13265
+ const { SSEClientTransport } = await Promise.resolve().then(() => require("./sse-DGaTY14k.cjs"));
13266
13266
  return new SSEClientTransport(url, {
13267
13267
  requestInit,
13268
13268
  fetch: fetchImpl
@@ -15712,11 +15712,11 @@ function uniqueIndex$1(name) {
15712
15712
  }
15713
15713
  //#endregion
15714
15714
  //#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
15715
- function primaryKey$1(...config) {
15716
- if (config[0].columns) return new PrimaryKeyBuilder$1(config[0].columns, config[0].name);
15717
- return new PrimaryKeyBuilder$1(config);
15715
+ function primaryKey(...config) {
15716
+ if (config[0].columns) return new PrimaryKeyBuilder(config[0].columns, config[0].name);
15717
+ return new PrimaryKeyBuilder(config);
15718
15718
  }
15719
- var PrimaryKeyBuilder$1 = class {
15719
+ var PrimaryKeyBuilder = class {
15720
15720
  static [entityKind] = "PgPrimaryKeyBuilder";
15721
15721
  /** @internal */
15722
15722
  columns;
@@ -15728,10 +15728,10 @@ var PrimaryKeyBuilder$1 = class {
15728
15728
  }
15729
15729
  /** @internal */
15730
15730
  build(table) {
15731
- return new PrimaryKey$1(table, this.columns, this.name);
15731
+ return new PrimaryKey(table, this.columns, this.name);
15732
15732
  }
15733
15733
  };
15734
- var PrimaryKey$1 = class {
15734
+ var PrimaryKey = class {
15735
15735
  constructor(table, columns, name) {
15736
15736
  this.table = table;
15737
15737
  this.columns = columns;
@@ -16342,40 +16342,6 @@ function uniqueIndex(name) {
16342
16342
  return new IndexBuilderOn(name, true);
16343
16343
  }
16344
16344
  //#endregion
16345
- //#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
16346
- function primaryKey(...config) {
16347
- if (config[0].columns) return new PrimaryKeyBuilder(config[0].columns, config[0].name);
16348
- return new PrimaryKeyBuilder(config);
16349
- }
16350
- var PrimaryKeyBuilder = class {
16351
- static [entityKind] = "SQLitePrimaryKeyBuilder";
16352
- /** @internal */
16353
- columns;
16354
- /** @internal */
16355
- name;
16356
- constructor(columns, name) {
16357
- this.columns = columns;
16358
- this.name = name;
16359
- }
16360
- /** @internal */
16361
- build(table) {
16362
- return new PrimaryKey(table, this.columns, this.name);
16363
- }
16364
- };
16365
- var PrimaryKey = class {
16366
- constructor(table, columns, name) {
16367
- this.table = table;
16368
- this.columns = columns;
16369
- this.name = name;
16370
- }
16371
- static [entityKind] = "SQLitePrimaryKey";
16372
- columns;
16373
- name;
16374
- getName() {
16375
- return this.name ?? `${this.table[SQLiteTable.Symbol.Name]}_${this.columns.map((column) => column.name).join("_")}_pk`;
16376
- }
16377
- };
16378
- //#endregion
16379
16345
  //#region ../database/dist/index.mjs
16380
16346
  const tenantScopeStorage = new node_async_hooks.AsyncLocalStorage();
16381
16347
  function getServerTenantScopeId() {
@@ -16748,18 +16714,6 @@ const jobsSqlite = sqliteTable("jobs", {
16748
16714
  completedAt: integer("completed_at", { mode: "timestamp_ms" }),
16749
16715
  error: text("error", { mode: "json" })
16750
16716
  });
16751
- const schedulerPolicy = pgTable("scheduler_policy", {
16752
- projectId: text$1("project_id").notNull(),
16753
- id: text$1("id").notNull(),
16754
- globalMaxConcurrent: integer$1("global_max_concurrent"),
16755
- overrides: jsonb("overrides").$type()
16756
- }, (table) => [primaryKey$1({ columns: [table.projectId, table.id] })]);
16757
- const schedulerPolicySqlite = sqliteTable("scheduler_policy", {
16758
- projectId: text("project_id").notNull(),
16759
- id: text("id").notNull(),
16760
- globalMaxConcurrent: integer("global_max_concurrent"),
16761
- overrides: text("overrides", { mode: "json" }).$type()
16762
- }, (table) => [primaryKey({ columns: [table.projectId, table.id] })]);
16763
16717
  const gatewayAttachments = pgTable("gateway_attachments", {
16764
16718
  id: text$1("id").primaryKey(),
16765
16719
  projectId: text$1("project_id").notNull(),
@@ -16938,10 +16892,6 @@ const tableRegistry = {
16938
16892
  pg: jobs,
16939
16893
  sqlite: jobsSqlite
16940
16894
  },
16941
- schedulerPolicy: {
16942
- pg: schedulerPolicy,
16943
- sqlite: schedulerPolicySqlite
16944
- },
16945
16895
  gatewayAttachments: {
16946
16896
  pg: gatewayAttachments,
16947
16897
  sqlite: gatewayAttachmentsSqlite
@@ -17397,7 +17347,7 @@ const organizationUsers = pgTable("organization_users", {
17397
17347
  createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
17398
17348
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
17399
17349
  deletedAt: timestamp("deleted_at", { withTimezone: true })
17400
- }, (table) => [primaryKey$1({ columns: [table.organizationId, table.userId] }), index$1("organization_users_user_id_idx").on(table.userId)]);
17350
+ }, (table) => [primaryKey({ columns: [table.organizationId, table.userId] }), index$1("organization_users_user_id_idx").on(table.userId)]);
17401
17351
  const organizationInvitations = pgTable("organization_invitations", {
17402
17352
  id: text$1("id").primaryKey(),
17403
17353
  organizationId: text$1("organization_id").notNull().references(() => organizations.id, { onDelete: "cascade" }),
@@ -18266,4 +18216,4 @@ Object.defineProperty(exports, "zodToJsonSchema", {
18266
18216
  }
18267
18217
  });
18268
18218
 
18269
- //# sourceMappingURL=dist-ybPZXgxs.cjs.map
18219
+ //# sourceMappingURL=dist-ByV6mHKd.cjs.map