@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.
@@ -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 optional, Bn as _enum, Gn as boolean$1, Hn as _null, It as PromptResponseSchema, Jn as intersection, Kn as custom, Qn as object, Rn as number$1, Un as any, Vn as _function, Wn as array, Xn as looseObject, Yn as literal, Zn as number, ar as url, cr as NEVER, er as preprocess, ir as unknown, jn as normalizeCredentialList, kn as credentialInputSchema, nr as string, or as datetime, qn as discriminatedUnion, rr as union, sr as toJSONSchema, tr as record, zn as ZodType, zt as ROUTE_MANIFEST_REL_PATH } from "./dist-H53GUsol.mjs";
4
- import "./pack-artifact-DVnIKrsg-CETr40a-.mjs";
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), index("credential_assignments_project_target_idx").on(table.projectId, table.targetType, table.targetKey)]);
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), index$1("credential_assignments_project_target_idx").on(table.projectId, table.targetType, table.targetKey)]);
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
- mcpUrl: text("mcp_url"),
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
- mcpUrl: text$1("mcp_url"),
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), index("secret_values_ref_idx").on(table.organizationId, table.refKind, table.refId)]);
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), index$1("secret_values_ref_idx").on(table.organizationId, table.refKind, table.refId)]);
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-CWgqwAeq.mjs.map
19268
+ //# sourceMappingURL=dist-BZ7i1Hoi.mjs.map