@keystrokehq/cli 0.1.52 → 0.1.53
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/dist-Bqv3zRml.mjs +3 -0
- package/dist/{dist-GOTKB94Y.mjs → dist-CrDC9sEI.mjs} +4 -1
- package/dist/dist-CrDC9sEI.mjs.map +1 -0
- package/dist/{dist-BVw5-nbD.mjs → dist-kXwDjLoy.mjs} +3 -3
- package/dist/{dist-BVw5-nbD.mjs.map → dist-kXwDjLoy.mjs.map} +1 -1
- package/dist/index.mjs +6 -6
- package/package.json +1 -1
- package/dist/dist-DGiFjeeF.mjs +0 -3
- package/dist/dist-GOTKB94Y.mjs.map +0 -1
|
@@ -2863,6 +2863,7 @@ const triggers = pgTable("triggers", {
|
|
|
2863
2863
|
moduleFile: text("module_file").notNull(),
|
|
2864
2864
|
origin: text("origin").$type().notNull().default("project"),
|
|
2865
2865
|
config: jsonb("config").$type(),
|
|
2866
|
+
state: jsonb("state").$type(),
|
|
2866
2867
|
schedule: text("schedule"),
|
|
2867
2868
|
nextRunAt: timestamp("next_run_at", { withTimezone: true }),
|
|
2868
2869
|
enabled: integer("enabled").notNull().default(1),
|
|
@@ -2888,6 +2889,7 @@ const triggersSqlite = sqliteTable("triggers", {
|
|
|
2888
2889
|
moduleFile: text$1("module_file").notNull(),
|
|
2889
2890
|
origin: text$1("origin").$type().notNull().default("project"),
|
|
2890
2891
|
config: text$1("config", { mode: "json" }).$type(),
|
|
2892
|
+
state: text$1("state", { mode: "json" }).$type(),
|
|
2891
2893
|
schedule: text$1("schedule"),
|
|
2892
2894
|
nextRunAt: integer$1("next_run_at", { mode: "timestamp_ms" }),
|
|
2893
2895
|
enabled: integer$1("enabled").notNull().default(1),
|
|
@@ -29713,6 +29715,7 @@ const triggerSourceSchema$1 = preprocess(normalizeLegacySlugFields$1, discrimina
|
|
|
29713
29715
|
id: string().optional(),
|
|
29714
29716
|
schedule: cronScheduleSchema$1,
|
|
29715
29717
|
run: _function(),
|
|
29718
|
+
stateSchema: zodSchema$1.optional(),
|
|
29716
29719
|
filters: array(_function()),
|
|
29717
29720
|
passes: _function()
|
|
29718
29721
|
})
|
|
@@ -31011,4 +31014,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
|
|
|
31011
31014
|
//#endregion
|
|
31012
31015
|
export { validatePollGroups as A, attachmentSlugFromRecord as B, pollRouteFromSourceSlug as C, validateAttachmentTargets as D, toStoredRouteManifest as E, webhookManifestAttachmentSchemasFromBindings as F, packAssetDirs as G, computeCallSiteIds as H, webhookMatchSchemaForBindings as I, entryIdFromFile as J, discoverEntries as K, webhookRouteFromEndpoint as L, validateTriggerAttachments as M, validateUniqueAttachmentSlugs as N, validateImportedTriggerAttachment as O, validateUniqueTriggerSourceSlugs as P, walkTypeScriptFiles as Q, workflowKeyForAttachment as R, pollGroupRouteFromId as S, serializeRouteManifest as T, diagnoseWorkflowSource as U, classifyCall as V, locateWorkflow as W, shouldSkipKeystrokeModuleFile as X, readKeystrokeIgnoreDirective as Y, validateUniqueModuleKeys as Z, importAgentDefinition as _, buildStoredRouteManifestForProject as a, persistStoredRouteManifest as b, collectAgentAppSlugs as c, discoverAgentEntries as d, discoverSkillManifestEntries as f, emitStoredRouteManifestForProject as g, discoverWorkflows as h, buildPollGroups as i, validateProjectModules as j, validateImportedWorkflowDefinition as k, collectAgentToolSlugs as l, discoverWorkflowEntries as m, agentManifestEntry as n, buildStoredRouteManifestFromContext as o, discoverTriggerAttachments as p, discoverModuleFileEntries as q, agentRouteFromKey as r, buildWebhookBindingsByRoute as s, agentKeyForAttachment as t, countAgentCredentials as u, importTriggerAttachments as v, schemaToJson as w, pollGroupId as x, importWorkflowDefinition as y, workflowRouteFromKey as z };
|
|
31013
31016
|
|
|
31014
|
-
//# sourceMappingURL=dist-
|
|
31017
|
+
//# sourceMappingURL=dist-CrDC9sEI.mjs.map
|