@keystrokehq/cli 0.1.62 → 0.1.64
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-qm-t5iv6.mjs → dist-BWOtba0o.mjs} +2 -2
- package/dist/{dist-qm-t5iv6.mjs.map → dist-BWOtba0o.mjs.map} +1 -1
- package/dist/{dist-DqFY1hVs.mjs → dist-BnlTZTsD.mjs} +3 -3
- package/dist/{dist-DqFY1hVs.mjs.map → dist-BnlTZTsD.mjs.map} +1 -1
- package/dist/{dist-CnAsi0KI.mjs → dist-D2zm0gm3.mjs} +55 -22
- package/dist/{dist-CnAsi0KI.mjs.map → dist-D2zm0gm3.mjs.map} +1 -1
- package/dist/dist-DqgnpWYF.mjs +3 -0
- package/dist/{dist-BS0qm1w4.mjs → dist-aQ56wvGQ.mjs} +29 -3
- package/dist/dist-aQ56wvGQ.mjs.map +1 -0
- package/dist/index.mjs +129 -10
- package/dist/index.mjs.map +1 -1
- package/dist/{maybe-auto-update-gui95aub.mjs → maybe-auto-update-KpKNhzFK.mjs} +2 -2
- package/dist/{maybe-auto-update-gui95aub.mjs.map → maybe-auto-update-KpKNhzFK.mjs.map} +1 -1
- package/dist/{version-DlVvrcdK.mjs → version-DZ9lwyAW.mjs} +2 -2
- package/dist/{version-DlVvrcdK.mjs.map → version-DZ9lwyAW.mjs.map} +1 -1
- package/package.json +3 -3
- package/dist/dist-BS0qm1w4.mjs.map +0 -1
- package/dist/dist-CycZREH6.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 {
|
|
4
|
-
import "./dist-
|
|
3
|
+
import { Br as object, Dr as ZodType, Fr as discriminatedUnion, Gr as union, Hr as preprocess, Lr as literal, Mr as array, Nr as boolean$1, Or as _enum, Pr as custom, Wr as string, Yr as toJSONSchema, br as parseStoredRouteManifest, cn as PublicModelsResponseSchema, dn as ROUTE_MANIFEST_REL_PATH, dr as credentialInputSchema, gr as normalizeCredentialList, kr as _function, nt as DEFAULT_CLOUD_PLATFORM_ORIGIN, sn as PromptResponseSchema, xr as requiredDisplayTextSchema, zr as number } from "./dist-D2zm0gm3.mjs";
|
|
4
|
+
import "./dist-BWOtba0o.mjs";
|
|
5
5
|
import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
|
|
6
6
|
import "./chunk-DLL7UR66-BUYgzxnR.mjs";
|
|
7
7
|
import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
|
|
@@ -14028,6 +14028,28 @@ const billingEventsSqlite = sqliteTable("billing_events", {
|
|
|
14028
14028
|
metadata: text$1("metadata", { mode: "json" }),
|
|
14029
14029
|
createdAt: integer$1("created_at", { mode: "timestamp_ms" }).notNull()
|
|
14030
14030
|
}, (table) => [uniqueIndex$1("billing_events_stripe_event_id_unique").on(table.stripeEventId), index$1("billing_events_organization_id_idx").on(table.organizationId)]);
|
|
14031
|
+
const managedServiceCredentials = pgTable("managed_service_credentials", {
|
|
14032
|
+
id: text("id").primaryKey(),
|
|
14033
|
+
organizationId: text("organization_id").notNull().references(() => organizations.id, { onDelete: "cascade" }),
|
|
14034
|
+
kind: text("kind").$type().notNull(),
|
|
14035
|
+
provider: text("provider").notNull(),
|
|
14036
|
+
valueCiphertext: text("value_ciphertext").notNull(),
|
|
14037
|
+
keyPreview: text("key_preview").notNull(),
|
|
14038
|
+
createdByUserId: text("created_by_user_id").notNull(),
|
|
14039
|
+
createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
|
|
14040
|
+
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull()
|
|
14041
|
+
}, (table) => [uniqueIndex("managed_service_credentials_org_kind_provider_unique").on(table.organizationId, table.kind, table.provider), index("managed_service_credentials_org_kind_idx").on(table.organizationId, table.kind)]);
|
|
14042
|
+
const managedServiceCredentialsSqlite = sqliteTable("managed_service_credentials", {
|
|
14043
|
+
id: text$1("id").primaryKey(),
|
|
14044
|
+
organizationId: text$1("organization_id").notNull().references(() => organizationsSqlite.id, { onDelete: "cascade" }),
|
|
14045
|
+
kind: text$1("kind").$type().notNull(),
|
|
14046
|
+
provider: text$1("provider").notNull(),
|
|
14047
|
+
valueCiphertext: text$1("value_ciphertext").notNull(),
|
|
14048
|
+
keyPreview: text$1("key_preview").notNull(),
|
|
14049
|
+
createdByUserId: text$1("created_by_user_id").notNull(),
|
|
14050
|
+
createdAt: integer$1("created_at", { mode: "timestamp_ms" }).notNull(),
|
|
14051
|
+
updatedAt: integer$1("updated_at", { mode: "timestamp_ms" }).notNull()
|
|
14052
|
+
}, (table) => [uniqueIndex$1("managed_service_credentials_org_kind_provider_unique").on(table.organizationId, table.kind, table.provider), index$1("managed_service_credentials_org_kind_idx").on(table.organizationId, table.kind)]);
|
|
14031
14053
|
/**
|
|
14032
14054
|
* Platform control-plane tables — Postgres (hosted) or SQLite (local dev).
|
|
14033
14055
|
*/
|
|
@@ -14119,6 +14141,10 @@ const tableRegistry = {
|
|
|
14119
14141
|
billingEvents: {
|
|
14120
14142
|
pg: billingEvents,
|
|
14121
14143
|
sqlite: billingEventsSqlite
|
|
14144
|
+
},
|
|
14145
|
+
managedServiceCredentials: {
|
|
14146
|
+
pg: managedServiceCredentials,
|
|
14147
|
+
sqlite: managedServiceCredentialsSqlite
|
|
14122
14148
|
}
|
|
14123
14149
|
};
|
|
14124
14150
|
buildPgSchema(tableRegistry);
|
|
@@ -31021,4 +31047,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
|
|
|
31021
31047
|
//#endregion
|
|
31022
31048
|
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 };
|
|
31023
31049
|
|
|
31024
|
-
//# sourceMappingURL=dist-
|
|
31050
|
+
//# sourceMappingURL=dist-aQ56wvGQ.mjs.map
|