@keystrokehq/keystroke 0.0.88 → 0.0.90
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.d.cts +2 -2
- package/dist/action.d.mts +2 -2
- package/dist/action.mjs +1 -1
- package/dist/agent.cjs +3 -3
- package/dist/agent.d.cts +3 -3
- package/dist/agent.d.mts +3 -3
- package/dist/agent.mjs +3 -3
- package/dist/config.d.cts +1 -1
- package/dist/config.d.cts.map +1 -1
- package/dist/config.d.mts +1 -1
- package/dist/config.d.mts.map +1 -1
- package/dist/credentials.cjs +1 -1
- package/dist/credentials.d.cts +1 -1
- package/dist/credentials.d.mts +1 -1
- package/dist/credentials.mjs +1 -1
- package/dist/{dist-DgIJtGrg.mjs → dist-BFyot0Xl.mjs} +27 -41
- package/dist/{dist-DgIJtGrg.mjs.map → dist-BFyot0Xl.mjs.map} +1 -1
- package/dist/{dist-B1Dy8DVb.cjs → dist-CIwENY01.cjs} +27 -41
- package/dist/{dist-B1Dy8DVb.cjs.map → dist-CIwENY01.cjs.map} +1 -1
- package/dist/{dist-DYbhRy-F.mjs → dist-CnS5tygi.mjs} +13 -1
- package/dist/dist-CnS5tygi.mjs.map +1 -0
- package/dist/{dist-BdtvGgfO.mjs → dist-DL6FMwfb.mjs} +200 -122
- package/dist/dist-DL6FMwfb.mjs.map +1 -0
- package/dist/{dist-BM_f7hFN.cjs → dist-DLFFj5pe.cjs} +13 -1
- package/dist/dist-DLFFj5pe.cjs.map +1 -0
- package/dist/{dist-CZZMGcuu.cjs → dist-iCJ9uxzf.cjs} +211 -127
- package/dist/dist-iCJ9uxzf.cjs.map +1 -0
- package/dist/{index-Bv6uZ8Xd.d.mts → index-C6_DVB_V.d.cts} +14 -17
- package/dist/index-C6_DVB_V.d.cts.map +1 -0
- package/dist/{index-avLUReqf.d.cts → index-CfK7yBQI.d.cts} +2 -2
- package/dist/{index-CvXJv3hY.d.mts.map → index-CfK7yBQI.d.cts.map} +1 -1
- package/dist/{index-BeEymXir.d.cts → index-CiuCYKLw.d.cts} +22 -2
- package/dist/index-CiuCYKLw.d.cts.map +1 -0
- package/dist/{index-BeEymXir.d.mts → index-CiuCYKLw.d.mts} +22 -2
- package/dist/index-CiuCYKLw.d.mts.map +1 -0
- package/dist/{index-CpJJgeJ2.d.cts → index-DwZkaYLS.d.mts} +14 -17
- package/dist/index-DwZkaYLS.d.mts.map +1 -0
- package/dist/{index-BwRlj7pv.d.cts → index-MfPRY7cK.d.cts} +2 -2
- package/dist/{index-BspW44XX.d.mts.map → index-MfPRY7cK.d.cts.map} +1 -1
- package/dist/{index-CvXJv3hY.d.mts → index-by6PXA-8.d.mts} +2 -2
- package/dist/{index-avLUReqf.d.cts.map → index-by6PXA-8.d.mts.map} +1 -1
- package/dist/{index-BspW44XX.d.mts → index-ptRM3z9H.d.mts} +2 -2
- package/dist/{index-BwRlj7pv.d.cts.map → index-ptRM3z9H.d.mts.map} +1 -1
- package/dist/{mistral-Deqt4GvJ.cjs → mistral-BPMTd7Oz.cjs} +2 -2
- package/dist/{mistral-Deqt4GvJ.cjs.map → mistral-BPMTd7Oz.cjs.map} +1 -1
- package/dist/{mistral-wT_K1dZn.mjs → mistral-DoHWkziU.mjs} +2 -2
- package/dist/{mistral-wT_K1dZn.mjs.map → mistral-DoHWkziU.mjs.map} +1 -1
- package/dist/{sse-D12n5Ckf.mjs → sse-CWAja0ZC.mjs} +2 -2
- package/dist/{sse-D12n5Ckf.mjs.map → sse-CWAja0ZC.mjs.map} +1 -1
- package/dist/{sse-DvOq9Ntd.cjs → sse-D-SrPUr3.cjs} +2 -2
- package/dist/{sse-DvOq9Ntd.cjs.map → sse-D-SrPUr3.cjs.map} +1 -1
- package/dist/trigger.cjs +1 -1
- package/dist/trigger.d.cts +2 -2
- package/dist/trigger.d.mts +2 -2
- package/dist/trigger.mjs +1 -1
- package/dist/workflow.cjs +3 -2
- package/dist/workflow.d.cts +2 -2
- package/dist/workflow.d.mts +2 -2
- package/dist/workflow.mjs +2 -2
- package/package.json +1 -1
- package/dist/dist-BM_f7hFN.cjs.map +0 -1
- package/dist/dist-BdtvGgfO.mjs.map +0 -1
- package/dist/dist-CZZMGcuu.cjs.map +0 -1
- package/dist/dist-DYbhRy-F.mjs.map +0 -1
- package/dist/index-BeEymXir.d.cts.map +0 -1
- package/dist/index-BeEymXir.d.mts.map +0 -1
- package/dist/index-Bv6uZ8Xd.d.mts.map +0 -1
- package/dist/index-CpJJgeJ2.d.cts.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-DLFFj5pe.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-D-SrPUr3.cjs"));
|
|
13266
13266
|
return new SSEClientTransport(url, {
|
|
13267
13267
|
requestInit,
|
|
13268
13268
|
fetch: fetchImpl
|
|
@@ -16488,6 +16488,26 @@ const triggerAttachmentsSqlite = sqliteTable("trigger_attachments", {
|
|
|
16488
16488
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
|
|
16489
16489
|
deletedAt: integer("deleted_at", { mode: "timestamp_ms" })
|
|
16490
16490
|
}, (table) => [uniqueIndex("trigger_attachments_project_id_key_idx").on(table.projectId, table.key)]);
|
|
16491
|
+
const triggerSchedules = pgTable("trigger_schedules", {
|
|
16492
|
+
id: text$1("id").primaryKey(),
|
|
16493
|
+
projectId: text$1("project_id").notNull(),
|
|
16494
|
+
attachmentKey: text$1("attachment_key").notNull(),
|
|
16495
|
+
kind: text$1("kind").$type().notNull(),
|
|
16496
|
+
schedule: text$1("schedule").notNull(),
|
|
16497
|
+
nextRunAt: timestamp("next_run_at", { withTimezone: true }).notNull(),
|
|
16498
|
+
enabled: integer$1("enabled").notNull(),
|
|
16499
|
+
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
16500
|
+
}, (table) => [uniqueIndex$1("trigger_schedules_project_id_attachment_key_idx").on(table.projectId, table.attachmentKey), index$1("trigger_schedules_next_run_at_idx").on(table.nextRunAt, table.enabled)]);
|
|
16501
|
+
const triggerSchedulesSqlite = sqliteTable("trigger_schedules", {
|
|
16502
|
+
id: text("id").primaryKey(),
|
|
16503
|
+
projectId: text("project_id").notNull(),
|
|
16504
|
+
attachmentKey: text("attachment_key").notNull(),
|
|
16505
|
+
kind: text("kind").$type().notNull(),
|
|
16506
|
+
schedule: text("schedule").notNull(),
|
|
16507
|
+
nextRunAt: integer("next_run_at", { mode: "timestamp_ms" }).notNull(),
|
|
16508
|
+
enabled: integer("enabled").notNull(),
|
|
16509
|
+
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
16510
|
+
}, (table) => [uniqueIndex("trigger_schedules_project_id_attachment_key_idx").on(table.projectId, table.attachmentKey), index("trigger_schedules_next_run_at_idx").on(table.nextRunAt, table.enabled)]);
|
|
16491
16511
|
const triggerRuns = pgTable("trigger_runs", {
|
|
16492
16512
|
id: text$1("id").primaryKey(),
|
|
16493
16513
|
projectId: text$1("project_id").notNull(),
|
|
@@ -16560,40 +16580,10 @@ const workflowRunsSqlite = sqliteTable("workflow_runs", {
|
|
|
16560
16580
|
output: text("output", { mode: "json" }),
|
|
16561
16581
|
error: text("error", { mode: "json" })
|
|
16562
16582
|
});
|
|
16563
|
-
|
|
16564
|
-
|
|
16565
|
-
|
|
16566
|
-
|
|
16567
|
-
output: jsonb("output").notNull(),
|
|
16568
|
-
completedAt: timestamp("completed_at", { withTimezone: true }).notNull()
|
|
16569
|
-
}, (table) => [uniqueIndex$1("step_runs_run_id_step_id_unique").on(table.runId, table.actionKey)]);
|
|
16570
|
-
const actionRunsSqlite = sqliteTable("step_runs", {
|
|
16571
|
-
id: text("id").primaryKey(),
|
|
16572
|
-
runId: text("run_id").notNull().references(() => workflowRunsSqlite.id),
|
|
16573
|
-
actionKey: text("step_id").notNull(),
|
|
16574
|
-
output: text("output", { mode: "json" }).notNull(),
|
|
16575
|
-
completedAt: integer("completed_at", { mode: "timestamp_ms" }).notNull()
|
|
16576
|
-
}, (table) => [uniqueIndex("step_runs_run_id_step_id_unique").on(table.runId, table.actionKey)]);
|
|
16577
|
-
const triggerSchedules = pgTable("trigger_schedules", {
|
|
16578
|
-
id: text$1("id").primaryKey(),
|
|
16579
|
-
projectId: text$1("project_id").notNull(),
|
|
16580
|
-
attachmentKey: text$1("attachment_key").notNull(),
|
|
16581
|
-
kind: text$1("kind").$type().notNull(),
|
|
16582
|
-
schedule: text$1("schedule").notNull(),
|
|
16583
|
-
nextRunAt: timestamp("next_run_at", { withTimezone: true }).notNull(),
|
|
16584
|
-
enabled: integer$1("enabled").notNull(),
|
|
16585
|
-
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
16586
|
-
}, (table) => [uniqueIndex$1("trigger_schedules_project_id_attachment_key_idx").on(table.projectId, table.attachmentKey), index$1("trigger_schedules_next_run_at_idx").on(table.nextRunAt, table.enabled)]);
|
|
16587
|
-
const triggerSchedulesSqlite = sqliteTable("trigger_schedules", {
|
|
16588
|
-
id: text("id").primaryKey(),
|
|
16589
|
-
projectId: text("project_id").notNull(),
|
|
16590
|
-
attachmentKey: text("attachment_key").notNull(),
|
|
16591
|
-
kind: text("kind").$type().notNull(),
|
|
16592
|
-
schedule: text("schedule").notNull(),
|
|
16593
|
-
nextRunAt: integer("next_run_at", { mode: "timestamp_ms" }).notNull(),
|
|
16594
|
-
enabled: integer("enabled").notNull(),
|
|
16595
|
-
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
16596
|
-
}, (table) => [uniqueIndex("trigger_schedules_project_id_attachment_key_idx").on(table.projectId, table.attachmentKey), index("trigger_schedules_next_run_at_idx").on(table.nextRunAt, table.enabled)]);
|
|
16583
|
+
/**
|
|
16584
|
+
* Append-only durable execution log. One row per workflow lifecycle transition.
|
|
16585
|
+
* Replay reads these in `seq` order and short-circuits already-completed primitives.
|
|
16586
|
+
*/
|
|
16597
16587
|
const workflowEvents = pgTable("workflow_events", {
|
|
16598
16588
|
id: text$1("id").primaryKey(),
|
|
16599
16589
|
runId: text$1("run_id").notNull().references(() => workflowRuns.id),
|
|
@@ -16924,10 +16914,6 @@ const tableRegistry = {
|
|
|
16924
16914
|
pg: triggerSchedules,
|
|
16925
16915
|
sqlite: triggerSchedulesSqlite
|
|
16926
16916
|
},
|
|
16927
|
-
actionRuns: {
|
|
16928
|
-
pg: actionRuns,
|
|
16929
|
-
sqlite: actionRunsSqlite
|
|
16930
|
-
},
|
|
16931
16917
|
triggerRuns: {
|
|
16932
16918
|
pg: triggerRuns,
|
|
16933
16919
|
sqlite: triggerRunsSqlite
|
|
@@ -18280,4 +18266,4 @@ Object.defineProperty(exports, "zodToJsonSchema", {
|
|
|
18280
18266
|
}
|
|
18281
18267
|
});
|
|
18282
18268
|
|
|
18283
|
-
//# sourceMappingURL=dist-
|
|
18269
|
+
//# sourceMappingURL=dist-CIwENY01.cjs.map
|