@keystrokehq/cli 1.0.23 → 1.0.25
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-BE84On70.mjs +3 -0
- package/dist/{dist-D1TiM2IB.mjs → dist-BYEZ5-PQ.mjs} +11 -8
- package/dist/dist-BYEZ5-PQ.mjs.map +1 -0
- package/dist/{dist-CZRI7PWQ.mjs → dist-CBr6Vyut.mjs} +47 -11
- package/dist/{dist-CZRI7PWQ.mjs.map → dist-CBr6Vyut.mjs.map} +1 -1
- package/dist/{dist-olmg2TBz.mjs → dist-CgCbpYcH.mjs} +3 -3
- package/dist/{dist-olmg2TBz.mjs.map → dist-CgCbpYcH.mjs.map} +1 -1
- package/dist/index.mjs +25 -22
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-JREZXMGG.mjs → maybe-auto-update-BD2JOXRV.mjs} +2 -2
- package/dist/{maybe-auto-update-JREZXMGG.mjs.map → maybe-auto-update-BD2JOXRV.mjs.map} +1 -1
- package/dist/{pack-artifact-NGxvGcXq-DZAPPWSA.mjs → pack-artifact-NGxvGcXq-D2YwPA8E.mjs} +2 -2
- package/dist/{pack-artifact-NGxvGcXq-DZAPPWSA.mjs.map → pack-artifact-NGxvGcXq-D2YwPA8E.mjs.map} +1 -1
- package/dist/skills-bundle/skills/keystroke-agents/SKILL.md +4 -2
- package/dist/skills-bundle/skills/keystroke-files/SKILL.md +6 -5
- package/dist/{version-D7gucZjM.mjs → version-CAakjwNm.mjs} +2 -2
- package/dist/{version-D7gucZjM.mjs.map → version-CAakjwNm.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/dist-D06CXZgU.mjs +0 -3
- package/dist/dist-D1TiM2IB.mjs.map +0 -1
|
@@ -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 { An as
|
|
4
|
-
import "./pack-artifact-NGxvGcXq-
|
|
3
|
+
import { $n as NEVER, An as ZodType, Bn as literal, Cn as normalizeCredentialList, Fn as array, Gn as preprocess, Hn as number, In as boolean$1, Jn as union, Kn as record, Ln as custom, Lt as ROUTE_MANIFEST_REL_PATH, Mn as _function, Nn as _null, Pn as any, Pt as PromptResponseSchema, Qn as toJSONSchema, Rn as discriminatedUnion, Un as object, Vn as looseObject, Wn as optional, Xn as url, Yn as unknown, Zn as datetime, jn as _enum, kn as number$1, qn as string, xn as credentialInputSchema, zn as intersection } from "./dist-CBr6Vyut.mjs";
|
|
4
|
+
import "./pack-artifact-NGxvGcXq-D2YwPA8E.mjs";
|
|
5
5
|
import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
|
|
6
6
|
import "./chunk-DLL7UR66-BUYgzxnR.mjs";
|
|
7
7
|
import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
|
|
@@ -25,7 +25,6 @@ import "node:child_process";
|
|
|
25
25
|
import { pathToFileURL } from "node:url";
|
|
26
26
|
import "node:crypto";
|
|
27
27
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
28
|
-
import "pg";
|
|
29
28
|
import { sql } from "drizzle-orm";
|
|
30
29
|
import "better-sqlite3";
|
|
31
30
|
import "@aws-sdk/client-s3";
|
|
@@ -6895,6 +6894,7 @@ var PrimaryKey = class {
|
|
|
6895
6894
|
new AsyncLocalStorage();
|
|
6896
6895
|
new AsyncLocalStorage();
|
|
6897
6896
|
new AsyncLocalStorage();
|
|
6897
|
+
createRequire(import.meta.url);
|
|
6898
6898
|
function buildPgSchema$1(registry) {
|
|
6899
6899
|
return Object.fromEntries(Object.entries(registry).map(([name, { pg }]) => [name, pg]));
|
|
6900
6900
|
}
|
|
@@ -7216,7 +7216,8 @@ const credentialInstances = pgTable("credential_instances", {
|
|
|
7216
7216
|
sharedConnectionId: text$1("shared_connection_id"),
|
|
7217
7217
|
grantedScopes: jsonb("granted_scopes").$type(),
|
|
7218
7218
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
7219
|
-
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
7219
|
+
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
|
|
7220
|
+
lastUsedAt: timestamp("last_used_at", { withTimezone: true })
|
|
7220
7221
|
}, (table) => [uniqueIndex$1("credential_instances_project_scope_slug_unique").on(table.projectId, table.scopeType, table.scopeId, table.slug), index$1("credential_instances_project_app_slug_scope_idx").on(table.projectId, table.appSlug, table.scopeType, table.scopeId)]);
|
|
7221
7222
|
const credentialInstancesSqlite = sqliteTable("credential_instances", {
|
|
7222
7223
|
id: text("id").primaryKey(),
|
|
@@ -7235,7 +7236,8 @@ const credentialInstancesSqlite = sqliteTable("credential_instances", {
|
|
|
7235
7236
|
sharedConnectionId: text("shared_connection_id"),
|
|
7236
7237
|
grantedScopes: text("granted_scopes", { mode: "json" }).$type(),
|
|
7237
7238
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
7238
|
-
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
7239
|
+
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
|
|
7240
|
+
lastUsedAt: integer("last_used_at", { mode: "timestamp_ms" })
|
|
7239
7241
|
}, (table) => [uniqueIndex("credential_instances_project_scope_slug_unique").on(table.projectId, table.scopeType, table.scopeId, table.slug), index("credential_instances_project_app_slug_scope_idx").on(table.projectId, table.appSlug, table.scopeType, table.scopeId)]);
|
|
7240
7242
|
const credentialAssignments = pgTable("credential_assignments", {
|
|
7241
7243
|
id: text$1("id").primaryKey(),
|
|
@@ -7665,8 +7667,7 @@ const authVerificationsSqlite = sqliteTable("verification", {
|
|
|
7665
7667
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
7666
7668
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
7667
7669
|
}, (table) => [index("verification_identifier_idx").on(table.identifier)]);
|
|
7668
|
-
|
|
7669
|
-
//#region ../../packages/platform-database/dist/index.mjs
|
|
7670
|
+
createRequire(import.meta.url);
|
|
7670
7671
|
function buildPgSchema(registry) {
|
|
7671
7672
|
return Object.fromEntries(Object.entries(registry).map(([name, { pg }]) => [name, pg]));
|
|
7672
7673
|
}
|
|
@@ -7797,6 +7798,7 @@ const apps = pgTable("apps", {
|
|
|
7797
7798
|
authKind: text$1("auth_kind").$type().notNull(),
|
|
7798
7799
|
oauthScopes: jsonb("oauth_scopes").$type().notNull(),
|
|
7799
7800
|
credentialFields: jsonb("credential_fields").$type().notNull().default({}),
|
|
7801
|
+
credentialScheme: text$1("credential_scheme").$type(),
|
|
7800
7802
|
source: text$1("source").$type().notNull(),
|
|
7801
7803
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
7802
7804
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
@@ -7812,6 +7814,7 @@ const appsSqlite = sqliteTable("apps", {
|
|
|
7812
7814
|
authKind: text("auth_kind").$type().notNull(),
|
|
7813
7815
|
oauthScopes: text("oauth_scopes", { mode: "json" }).$type().notNull(),
|
|
7814
7816
|
credentialFields: text("credential_fields", { mode: "json" }).$type().notNull().default({}),
|
|
7817
|
+
credentialScheme: text("credential_scheme").$type(),
|
|
7815
7818
|
source: text("source").$type().notNull(),
|
|
7816
7819
|
createdAt: integer("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
7817
7820
|
updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
@@ -15464,4 +15467,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
|
|
|
15464
15467
|
//#endregion
|
|
15465
15468
|
export { packAssetDirs as A, toStoredRouteManifest as C, webhookMatchSchemaForBindings as D, webhookManifestAttachmentSchemasFromBindings as E, shouldSkipKeystrokeModuleFile as F, walkTypeScriptFiles as I, discoverModuleFileEntries as M, entryIdFromFile as N, webhookRouteFromEndpoint as O, readKeystrokeIgnoreDirective as P, serializeRouteManifest as S, validateImportedWorkflowDefinition as T, importTriggerAttachment as _, buildStoredRouteManifestFromContext as a, pollGroupId as b, collectAgentToolSlugs as c, discoverSkillManifestEntries as d, discoverTriggerAttachments as f, importAgentDefinition as g, emitStoredRouteManifestForProject as h, buildStoredRouteManifestForProject as i, discoverEntries as j, workflowRouteFromKey as k, countAgentCredentials as l, discoverWorkflows as m, agentRouteFromKey as n, buildWebhookBindingsByRoute as o, discoverWorkflowEntries as p, buildPollGroups as r, collectAgentAppSlugs as s, agentManifestEntry as t, discoverAgentEntries as u, importWorkflowDefinition as v, validateImportedTriggerAttachment as w, schemaToJson as x, persistStoredRouteManifest as y };
|
|
15466
15469
|
|
|
15467
|
-
//# sourceMappingURL=dist-
|
|
15470
|
+
//# sourceMappingURL=dist-BYEZ5-PQ.mjs.map
|