@keystrokehq/cli 0.1.6 → 0.1.10
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-CWgqwAeq.mjs → dist-BZ7i1Hoi.mjs} +11 -11
- package/dist/dist-BZ7i1Hoi.mjs.map +1 -0
- package/dist/dist-BkRNDWxd.mjs +3 -0
- package/dist/{dist-jchdNGBU.mjs → dist-HoBmjMMW.mjs} +3 -3
- package/dist/{dist-jchdNGBU.mjs.map → dist-HoBmjMMW.mjs.map} +1 -1
- package/dist/{dist-H53GUsol.mjs → dist-YV-kApfg.mjs} +28 -13
- package/dist/{dist-H53GUsol.mjs.map → dist-YV-kApfg.mjs.map} +1 -1
- package/dist/index.mjs +19 -11
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-ClXO7U-6.mjs → maybe-auto-update-BiR_kXZX.mjs} +2 -2
- package/dist/{maybe-auto-update-ClXO7U-6.mjs.map → maybe-auto-update-BiR_kXZX.mjs.map} +1 -1
- package/dist/{pack-artifact-DVnIKrsg-CETr40a-.mjs → pack-artifact-DVnIKrsg-BtNTTQcz.mjs} +2 -2
- package/dist/{pack-artifact-DVnIKrsg-CETr40a-.mjs.map → pack-artifact-DVnIKrsg-BtNTTQcz.mjs.map} +1 -1
- package/dist/{version-CiPDVUdk.mjs → version-BGuC7Cpu.mjs} +2 -2
- package/dist/{version-CiPDVUdk.mjs.map → version-BGuC7Cpu.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/dist-CWgqwAeq.mjs.map +0 -1
- package/dist/dist-DohqaxIM.mjs +0 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { n as __require, t as __commonJSMin } from "./chunk-DiodbrVj.mjs";
|
|
3
|
-
import { $n as
|
|
4
|
-
import "./pack-artifact-DVnIKrsg-
|
|
3
|
+
import { $n as object, An as credentialInputSchema, Bn as ZodType, Bt as ROUTE_MANIFEST_REL_PATH, Gn as array, Hn as _function, Jn as discriminatedUnion, Kn as boolean$1, Lt as PromptResponseSchema, Mn as normalizeCredentialList, Qn as number, Un as _null, Vn as _enum, Wn as any, Xn as literal, Yn as intersection, Zn as looseObject, ar as unknown, cr as toJSONSchema, er as optional, ir as union, lr as NEVER, nr as record, or as url, qn as custom, rr as string, sr as datetime, tr as preprocess, zn as number$1 } from "./dist-YV-kApfg.mjs";
|
|
4
|
+
import "./pack-artifact-DVnIKrsg-BtNTTQcz.mjs";
|
|
5
5
|
import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
|
|
6
6
|
import "./chunk-DLL7UR66-BUYgzxnR.mjs";
|
|
7
7
|
import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
|
|
@@ -3975,7 +3975,7 @@ const agentEvents = pgTable("agent_events", {
|
|
|
3975
3975
|
payload: jsonb("payload").notNull(),
|
|
3976
3976
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
3977
3977
|
deletedAt: timestamp("deleted_at", { withTimezone: true })
|
|
3978
|
-
});
|
|
3978
|
+
}, (table) => [index("agent_events_session_event_seq_idx").on(table.sessionId, table.eventType, table.seq)]);
|
|
3979
3979
|
const agentEventsSqlite = sqliteTable("agent_events", {
|
|
3980
3980
|
id: text$1("id").primaryKey(),
|
|
3981
3981
|
sessionId: text$1("session_id").notNull().references(() => agentSessionsSqlite.id),
|
|
@@ -3984,7 +3984,7 @@ const agentEventsSqlite = sqliteTable("agent_events", {
|
|
|
3984
3984
|
payload: text$1("payload", { mode: "json" }).notNull(),
|
|
3985
3985
|
createdAt: integer$1("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
3986
3986
|
deletedAt: integer$1("deleted_at", { mode: "timestamp_ms" })
|
|
3987
|
-
});
|
|
3987
|
+
}, (table) => [index$1("agent_events_session_event_seq_idx").on(table.sessionId, table.eventType, table.seq)]);
|
|
3988
3988
|
const usageRecords = pgTable("usage_records", {
|
|
3989
3989
|
id: text("id").primaryKey(),
|
|
3990
3990
|
runId: text("run_id").notNull(),
|
|
@@ -4276,7 +4276,7 @@ const credentialAssignments = pgTable("credential_assignments", {
|
|
|
4276
4276
|
instanceId: text("instance_id").notNull(),
|
|
4277
4277
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
4278
4278
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
4279
|
-
}, (table) => [uniqueIndex("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)
|
|
4279
|
+
}, (table) => [uniqueIndex("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)]);
|
|
4280
4280
|
const credentialAssignmentsSqlite = sqliteTable("credential_assignments", {
|
|
4281
4281
|
id: text$1("id").primaryKey(),
|
|
4282
4282
|
projectId: text$1("project_id").notNull(),
|
|
@@ -4287,7 +4287,7 @@ const credentialAssignmentsSqlite = sqliteTable("credential_assignments", {
|
|
|
4287
4287
|
instanceId: text$1("instance_id").notNull(),
|
|
4288
4288
|
createdAt: integer$1("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
4289
4289
|
updatedAt: integer$1("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
4290
|
-
}, (table) => [uniqueIndex$1("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)
|
|
4290
|
+
}, (table) => [uniqueIndex$1("credential_assignments_project_target_consumer_slug").on(table.projectId, table.targetType, table.targetKey, table.consumerId, table.credentialSlug)]);
|
|
4291
4291
|
const jobs = pgTable("jobs", {
|
|
4292
4292
|
id: text("id").primaryKey(),
|
|
4293
4293
|
projectId: text("project_id").notNull(),
|
|
@@ -4914,7 +4914,7 @@ const apps = pgTable("apps", {
|
|
|
4914
4914
|
oauthScopes: jsonb("oauth_scopes").$type().notNull(),
|
|
4915
4915
|
credentialFields: jsonb("credential_fields").$type().notNull().default({}),
|
|
4916
4916
|
credentialScheme: text("credential_scheme").$type(),
|
|
4917
|
-
|
|
4917
|
+
url: text("url"),
|
|
4918
4918
|
source: text("source").$type().notNull(),
|
|
4919
4919
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
4920
4920
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
@@ -4931,7 +4931,7 @@ const appsSqlite = sqliteTable("apps", {
|
|
|
4931
4931
|
oauthScopes: text$1("oauth_scopes", { mode: "json" }).$type().notNull(),
|
|
4932
4932
|
credentialFields: text$1("credential_fields", { mode: "json" }).$type().notNull().default({}),
|
|
4933
4933
|
credentialScheme: text$1("credential_scheme").$type(),
|
|
4934
|
-
|
|
4934
|
+
url: text$1("url"),
|
|
4935
4935
|
source: text$1("source").$type().notNull(),
|
|
4936
4936
|
createdAt: integer$1("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
4937
4937
|
updatedAt: integer$1("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
@@ -5134,7 +5134,7 @@ const secretValues = pgTable("secret_values", {
|
|
|
5134
5134
|
ciphertext: text("ciphertext").notNull(),
|
|
5135
5135
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
5136
5136
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
5137
|
-
}, (table) => [uniqueIndex("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)
|
|
5137
|
+
}, (table) => [uniqueIndex("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)]);
|
|
5138
5138
|
const secretValuesSqlite = sqliteTable("secret_values", {
|
|
5139
5139
|
id: text$1("id").primaryKey(),
|
|
5140
5140
|
organizationId: text$1("organization_id").notNull().references(() => organizationsSqlite.id, { onDelete: "cascade" }),
|
|
@@ -5144,7 +5144,7 @@ const secretValuesSqlite = sqliteTable("secret_values", {
|
|
|
5144
5144
|
ciphertext: text$1("ciphertext").notNull(),
|
|
5145
5145
|
createdAt: integer$1("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
5146
5146
|
updatedAt: integer$1("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
5147
|
-
}, (table) => [uniqueIndex$1("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)
|
|
5147
|
+
}, (table) => [uniqueIndex$1("secret_values_ref_unique").on(table.organizationId, table.refKind, table.refId, table.field)]);
|
|
5148
5148
|
/**
|
|
5149
5149
|
* Platform control-plane tables — Postgres (hosted) or SQLite (local dev).
|
|
5150
5150
|
*/
|
|
@@ -19265,4 +19265,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
|
|
|
19265
19265
|
//#endregion
|
|
19266
19266
|
export { discoverEntries as A, validateImportedTriggerAttachment as C, webhookRouteFromEndpoint as D, webhookMatchSchemaForBindings as E, walkTypeScriptFiles as F, entryIdFromFile as M, readKeystrokeIgnoreDirective as N, workflowRouteFromKey as O, shouldSkipKeystrokeModuleFile as P, toStoredRouteManifest as S, webhookManifestAttachmentSchemasFromBindings as T, importWorkflowDefinition as _, buildWebhookBindingsByRoute as a, schemaToJson as b, countAgentCredentials as c, discoverTriggerAttachments as d, discoverWorkflowEntries as f, importTriggerAttachments as g, importAgentDefinition as h, buildStoredRouteManifestFromContext as i, discoverModuleFileEntries as j, packAssetDirs as k, discoverAgentEntries as l, emitStoredRouteManifestForProject as m, agentRouteFromKey as n, collectAgentAppSlugs as o, discoverWorkflows as p, buildStoredRouteManifestForProject as r, collectAgentToolSlugs as s, agentManifestEntry as t, discoverSkillManifestEntries as u, persistStoredRouteManifest as v, validateImportedWorkflowDefinition as w, serializeRouteManifest as x, pollGroupId as y };
|
|
19267
19267
|
|
|
19268
|
-
//# sourceMappingURL=dist-
|
|
19268
|
+
//# sourceMappingURL=dist-BZ7i1Hoi.mjs.map
|