@keystrokehq/cli 0.1.57 → 0.1.59

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 { Ar as discriminatedUnion, Br as union, Cr as _enum, Dr as array, Fr as object, Lr as preprocess, Mr as literal, Or as boolean$1, Pr as number, Sr as ZodType, Wr as toJSONSchema, dr as normalizeCredentialList, gr as requiredDisplayTextSchema, hr as parseStoredRouteManifest, in as PublicModelsResponseSchema, kr as custom, or as credentialInputSchema, rn as PromptResponseSchema, sn as ROUTE_MANIFEST_REL_PATH, tt as DEFAULT_CLOUD_PLATFORM_ORIGIN, wr as _function, zr as string } from "./dist-BmKyXz37.mjs";
4
- import "./dist-9l627wBh.mjs";
3
+ import { Ar as discriminatedUnion, Br as union, Cr as _enum, Dr as array, Fr as object, Lr as preprocess, Mr as literal, Or as boolean$1, Pr as number, Sr as ZodType, Wr as toJSONSchema, dr as normalizeCredentialList, gr as requiredDisplayTextSchema, hr as parseStoredRouteManifest, in as PublicModelsResponseSchema, kr as custom, or as credentialInputSchema, rn as PromptResponseSchema, sn as ROUTE_MANIFEST_REL_PATH, tt as DEFAULT_CLOUD_PLATFORM_ORIGIN, wr as _function, zr as string } from "./dist-BlTFBcc6.mjs";
4
+ import "./dist-DJH7K67b.mjs";
5
5
  import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
6
6
  import "./chunk-DLL7UR66-BUYgzxnR.mjs";
7
7
  import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
@@ -20735,32 +20735,6 @@ var require_public_api = /* @__PURE__ */ __commonJSMin(((exports) => {
20735
20735
  exports.visitAsync = visit.visitAsync;
20736
20736
  })))();
20737
20737
  //#endregion
20738
- //#region ../../packages/memory/dist/index.mjs
20739
- const memoryPathSchema = string().describe("Relative path under the memory dir (e.g. MEMORY.md, USER.md, archive/note.md).");
20740
- const searchScopeSchema = _enum([
20741
- "archive",
20742
- "sessions",
20743
- "all"
20744
- ]).describe("Where to look: all (default) = archive/*.md plus every saved session transcript across all past chats; archive = long-form notes only; sessions = all past session transcripts only. USER.md and MEMORY.md are in the system snapshot — use read for those.");
20745
- const searchQuerySchema = string().describe("Keywords to find across archive notes and/or all past session transcripts. Plain words, case-insensitive; multiple words match if ANY word appears. Use when the user references an earlier chat or prior decision. Returns ranked snippets — use read on a hit path for the full file.");
20746
- object({
20747
- action: _enum([
20748
- "list",
20749
- "read",
20750
- "write",
20751
- "edit",
20752
- "search"
20753
- ]).describe("list: archive/*.md filenames; read: { path }; write: { path, content }; edit: { path, oldText, newText }; search: { query, scope?, limit?, full? }."),
20754
- path: memoryPathSchema.optional(),
20755
- content: string().describe("Full file content (write).").optional(),
20756
- oldText: string().describe("Exact text to replace, first match (edit).").optional(),
20757
- newText: string().describe("Replacement text; empty string deletes oldText (edit).").optional(),
20758
- query: searchQuerySchema.optional(),
20759
- scope: searchScopeSchema.optional(),
20760
- limit: number().int().min(1).max(50).optional(),
20761
- full: boolean$1().describe("When true, return complete archive note files for archive hits, ignored for session hits (search).").optional()
20762
- });
20763
- //#endregion
20764
20738
  //#region ../../packages/workflow/dist/index.mjs
20765
20739
  const zodSchema$2 = custom((v) => v instanceof ZodType, "must be a Zod schema");
20766
20740
  /** Runtime validation for an unbranded workflow definition. */
@@ -20795,6 +20769,32 @@ registerWorkflowRunGetter(() => {
20795
20769
  workflowRunner: store.workflowRunner
20796
20770
  };
20797
20771
  });
20772
+ //#endregion
20773
+ //#region ../../packages/memory/dist/index.mjs
20774
+ const memoryPathSchema = string().describe("Relative path under the memory dir (e.g. MEMORY.md, USER.md, archive/note.md).");
20775
+ const searchScopeSchema = _enum([
20776
+ "archive",
20777
+ "sessions",
20778
+ "all"
20779
+ ]).describe("Where to look: all (default) = archive/*.md plus every saved session transcript across all past chats; archive = long-form notes only; sessions = all past session transcripts only. USER.md and MEMORY.md are in the system snapshot — use read for those.");
20780
+ const searchQuerySchema = string().describe("Keywords to find across archive notes and/or all past session transcripts. Plain words, case-insensitive; multiple words match if ANY word appears. Use when the user references an earlier chat or prior decision. Returns ranked snippets — use read on a hit path for the full file.");
20781
+ object({
20782
+ action: _enum([
20783
+ "list",
20784
+ "read",
20785
+ "write",
20786
+ "edit",
20787
+ "search"
20788
+ ]).describe("list: archive/*.md filenames; read: { path }; write: { path, content }; edit: { path, oldText, newText }; search: { query, scope?, limit?, full? }."),
20789
+ path: memoryPathSchema.optional(),
20790
+ content: string().describe("Full file content (write).").optional(),
20791
+ oldText: string().describe("Exact text to replace, first match (edit).").optional(),
20792
+ newText: string().describe("Replacement text; empty string deletes oldText (edit).").optional(),
20793
+ query: searchQuerySchema.optional(),
20794
+ scope: searchScopeSchema.optional(),
20795
+ limit: number().int().min(1).max(50).optional(),
20796
+ full: boolean$1().describe("When true, return complete archive note files for archive hits, ignored for session hits (search).").optional()
20797
+ });
20798
20798
  new AsyncLocalStorage();
20799
20799
  [
20800
20800
  "You are an expert chat title generator.",
@@ -31019,4 +31019,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
31019
31019
  //#endregion
31020
31020
  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 };
31021
31021
 
31022
- //# sourceMappingURL=dist-D-HLTE5g.mjs.map
31022
+ //# sourceMappingURL=dist-Ddc25Zjn.mjs.map