@keystrokehq/cli 0.1.142 → 0.1.144
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-BcY5XTlp.mjs → dist-B3Tr74Uv.mjs} +38 -2
- package/dist/dist-B3Tr74Uv.mjs.map +1 -0
- package/dist/{dist-BCbmN5Di.mjs → dist-D_xlxdl2.mjs} +3 -3
- package/dist/{dist-BCbmN5Di.mjs.map → dist-D_xlxdl2.mjs.map} +1 -1
- package/dist/{dist-DaDxDpeX.mjs → dist-DwD4VJLx.mjs} +2 -2
- package/dist/{dist-DaDxDpeX.mjs.map → dist-DwD4VJLx.mjs.map} +1 -1
- package/dist/dist-RnvQQpQe.mjs +4 -0
- package/dist/{dist-D95-g2ba.mjs → dist-YtNRS_BV.mjs} +8 -9
- package/dist/dist-YtNRS_BV.mjs.map +1 -0
- package/dist/index.mjs +1 -1
- package/dist/{maybe-auto-update-D8VbU88T.mjs → maybe-auto-update-CQt3Ienz.mjs} +2 -2
- package/dist/{maybe-auto-update-D8VbU88T.mjs.map → maybe-auto-update-CQt3Ienz.mjs.map} +1 -1
- package/dist/{program-5IMLXBit.mjs → program-DgUV3vFS.mjs} +12 -12
- package/dist/{program-5IMLXBit.mjs.map → program-DgUV3vFS.mjs.map} +1 -1
- package/dist/{run-package-manager-update-DS5Xr8oA.mjs → run-package-manager-update-BF5rz2Rt.mjs} +2 -2
- package/dist/{run-package-manager-update-DS5Xr8oA.mjs.map → run-package-manager-update-BF5rz2Rt.mjs.map} +1 -1
- package/dist/skills-bundle/_AGENTS.md +1 -1
- package/package.json +1 -1
- package/dist/dist-BcY5XTlp.mjs.map +0 -1
- package/dist/dist-D95-g2ba.mjs.map +0 -1
- package/dist/dist-Dw1cWy89.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 { $r as
|
|
4
|
-
import "./dist-
|
|
3
|
+
import { $r as ZodType, Dn as ROUTE_MANIFEST_REL_PATH, Gr as requiredDisplayTextSchema, Pr as credentialInputSchema, Sn as PublicModelsResponseSchema, Wr as parseStoredRouteManifest, Xr as zodToStoredJsonSchema, _i as string, ai as boolean$1, ei as _enum, fi as number, gi as record, hi as preprocess, ii as array, li as lazy, ni as _null, oi as custom, pi as object, si as discriminatedUnion, ti as _function, tt as DEFAULT_CLOUD_PLATFORM_ORIGIN, ui as literal, ut as FilePartSchema, vi as union, vn as PromptResponseSchema, zr as normalizeCredentialList } from "./dist-B3Tr74Uv.mjs";
|
|
4
|
+
import "./dist-DwD4VJLx.mjs";
|
|
5
5
|
import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
|
|
6
6
|
import "./chunk-DLL7UR66-BUYgzxnR.mjs";
|
|
7
7
|
import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
|
|
@@ -30573,16 +30573,15 @@ function findNonExportableSchemaNode(schema, path = "schema") {
|
|
|
30573
30573
|
function formatSchemaExportError(cause) {
|
|
30574
30574
|
return /* @__PURE__ */ new Error(`Cannot export schema to JSON Schema: ${cause}. ${EXPORT_FIX}`);
|
|
30575
30575
|
}
|
|
30576
|
+
/**
|
|
30577
|
+
* Export a Zod schema to the stored OpenAPI 3.0 JSON Schema wire format.
|
|
30578
|
+
* Inverse: `jsonSchemaToZod` from `@keystrokehq/shared`.
|
|
30579
|
+
*/
|
|
30576
30580
|
function schemaToJson(schema, options = {}) {
|
|
30577
30581
|
const issue = findNonExportableSchemaNode(schema);
|
|
30578
30582
|
if (issue) throw formatSchemaExportError(issue);
|
|
30579
30583
|
try {
|
|
30580
|
-
return
|
|
30581
|
-
target: "openapi-3.0",
|
|
30582
|
-
...options.allowAdditionalProperties ? { override(ctx) {
|
|
30583
|
-
if (ctx.jsonSchema.type === "object") ctx.jsonSchema.additionalProperties = true;
|
|
30584
|
-
} } : {}
|
|
30585
|
-
});
|
|
30584
|
+
return zodToStoredJsonSchema(schema, options);
|
|
30586
30585
|
} catch (error) {
|
|
30587
30586
|
throw formatSchemaExportError(error instanceof Error ? error.message : String(error));
|
|
30588
30587
|
}
|
|
@@ -31374,4 +31373,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
|
|
|
31374
31373
|
//#endregion
|
|
31375
31374
|
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 };
|
|
31376
31375
|
|
|
31377
|
-
//# sourceMappingURL=dist-
|
|
31376
|
+
//# sourceMappingURL=dist-YtNRS_BV.mjs.map
|