@keystrokehq/keystroke 0.0.91 → 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.
- package/dist/action.cjs +1 -1
- package/dist/action.mjs +1 -1
- package/dist/agent.cjs +3 -3
- package/dist/agent.mjs +3 -3
- package/dist/config.d.cts +21 -28
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +21 -28
- package/dist/config.d.mts.map +1 -1
- package/dist/credentials.cjs +1 -1
- package/dist/credentials.mjs +1 -1
- package/dist/{dist-CnS5tygi.mjs → dist-B1fqDXYa.mjs} +5 -1
- package/dist/dist-B1fqDXYa.mjs.map +1 -0
- package/dist/{dist-BFyot0Xl.mjs → dist-BML_gJSh.mjs} +10 -60
- package/dist/dist-BML_gJSh.mjs.map +1 -0
- package/dist/{dist-CIwENY01.cjs → dist-ByV6mHKd.cjs} +10 -60
- package/dist/dist-ByV6mHKd.cjs.map +1 -0
- package/dist/{dist-DL6FMwfb.mjs → dist-CiaGdqFg.mjs} +3 -3
- package/dist/{dist-DL6FMwfb.mjs.map → dist-CiaGdqFg.mjs.map} +1 -1
- package/dist/{dist-iCJ9uxzf.cjs → dist-CxaI84Ch.cjs} +3 -3
- package/dist/{dist-iCJ9uxzf.cjs.map → dist-CxaI84Ch.cjs.map} +1 -1
- package/dist/{dist-DLFFj5pe.cjs → dist-T7a5DjzV.cjs} +5 -1
- package/dist/dist-T7a5DjzV.cjs.map +1 -0
- package/dist/index-CiuCYKLw.d.cts.map +1 -1
- package/dist/index-CiuCYKLw.d.mts.map +1 -1
- package/dist/{mistral-BPMTd7Oz.cjs → mistral-BLRy436m.cjs} +2 -2
- package/dist/{mistral-BPMTd7Oz.cjs.map → mistral-BLRy436m.cjs.map} +1 -1
- package/dist/{mistral-DoHWkziU.mjs → mistral-CI7CQc_C.mjs} +2 -2
- package/dist/{mistral-DoHWkziU.mjs.map → mistral-CI7CQc_C.mjs.map} +1 -1
- package/dist/{sse-CWAja0ZC.mjs → sse-Bxvdniu5.mjs} +2 -2
- package/dist/{sse-CWAja0ZC.mjs.map → sse-Bxvdniu5.mjs.map} +1 -1
- package/dist/{sse-D-SrPUr3.cjs → sse-DGaTY14k.cjs} +2 -2
- package/dist/{sse-D-SrPUr3.cjs.map → sse-DGaTY14k.cjs.map} +1 -1
- package/dist/trigger.cjs +50 -20
- package/dist/trigger.cjs.map +1 -1
- package/dist/trigger.d.cts +25 -16
- package/dist/trigger.d.cts.map +1 -1
- package/dist/trigger.d.mts +25 -16
- package/dist/trigger.d.mts.map +1 -1
- package/dist/trigger.mjs +49 -21
- package/dist/trigger.mjs.map +1 -1
- package/dist/workflow.cjs +1 -1
- package/dist/workflow.mjs +1 -1
- package/package.json +1 -1
- package/dist/dist-BFyot0Xl.mjs.map +0 -1
- package/dist/dist-CIwENY01.cjs.map +0 -1
- package/dist/dist-CnS5tygi.mjs.map +0 -1
- package/dist/dist-DLFFj5pe.cjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_dist$1 = require("./dist-CLqJza2Y.cjs");
|
|
2
|
-
const require_dist$2 = require("./dist-
|
|
2
|
+
const require_dist$2 = require("./dist-T7a5DjzV.cjs");
|
|
3
3
|
let node_async_hooks = require("node:async_hooks");
|
|
4
4
|
require("node:fs");
|
|
5
5
|
let zod_v3 = require("zod/v3");
|
|
@@ -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-
|
|
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
|
|
15716
|
-
if (config[0].columns) return new PrimaryKeyBuilder
|
|
15717
|
-
return new PrimaryKeyBuilder
|
|
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
|
|
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
|
|
15731
|
+
return new PrimaryKey(table, this.columns, this.name);
|
|
15732
15732
|
}
|
|
15733
15733
|
};
|
|
15734
|
-
var PrimaryKey
|
|
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
|
|
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-
|
|
18219
|
+
//# sourceMappingURL=dist-ByV6mHKd.cjs.map
|