@keystrokehq/cli 0.1.115 → 0.1.117

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 { $r as union, Br as boolean$1, Cr as normalizeCredentialList, Dr as parseStoredRouteManifest, Fr as _enum, Gr as literal, Hr as discriminatedUnion, Ir as _function, Jr as object, Lr as _null, Or as requiredDisplayTextSchema, Pr as ZodType, Qr as string, Vr as custom, Wr as lazy, Xr as preprocess, Zr as record, dt as FilePartSchema, fn as PromptResponseSchema, gn as ROUTE_MANIFEST_REL_PATH, pn as PublicModelsResponseSchema, qr as number, ri as toJSONSchema, tt as DEFAULT_CLOUD_PLATFORM_ORIGIN, vr as credentialInputSchema, zr as array } from "./dist-D9wyqCGM.mjs";
4
- import "./dist-gIiA66FZ.mjs";
3
+ import { $r as union, Br as boolean$1, Cr as normalizeCredentialList, Dr as parseStoredRouteManifest, Fr as _enum, Gr as literal, Hr as discriminatedUnion, Ir as _function, Jr as object, Lr as _null, Or as requiredDisplayTextSchema, Pr as ZodType, Qr as string, Vr as custom, Wr as lazy, Xr as preprocess, Zr as record, dt as FilePartSchema, fn as PromptResponseSchema, gn as ROUTE_MANIFEST_REL_PATH, pn as PublicModelsResponseSchema, qr as number, ri as toJSONSchema, tt as DEFAULT_CLOUD_PLATFORM_ORIGIN, vr as credentialInputSchema, zr as array } from "./dist-lKb-tXJz.mjs";
4
+ import "./dist-BcYM6U5P.mjs";
5
5
  import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
6
6
  import "./chunk-DLL7UR66-BUYgzxnR.mjs";
7
7
  import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
@@ -3433,7 +3433,12 @@ object({
3433
3433
  * `model`. When omitted, Keystroke uses {@link DEFAULT_COMPACTION_MODEL_ID}.
3434
3434
  */
3435
3435
  compactionModel: AgentModelIdSchema.optional(),
3436
- thinkingLevel: ThinkingLevelSchema.optional()
3436
+ thinkingLevel: ThinkingLevelSchema.optional(),
3437
+ /**
3438
+ * Maximum tool-loop steps per prompt. When omitted, Keystroke uses
3439
+ * {@link DEFAULT_MAX_STEPS}.
3440
+ */
3441
+ maxSteps: number().int().positive().optional()
3437
3442
  });
3438
3443
  [
3439
3444
  "You compress long agent conversation history into a compact context summary.",
@@ -30334,6 +30339,7 @@ function serializeRouteManifest(manifest) {
30334
30339
  moduleFile: entry.moduleFile,
30335
30340
  ...entry.sourceHash ? { sourceHash: entry.sourceHash } : {},
30336
30341
  schedule: entry.schedule,
30342
+ ...entry.timezone ? { timezone: entry.timezone } : {},
30337
30343
  name: entry.name,
30338
30344
  description: entry.description
30339
30345
  });
@@ -30344,7 +30350,8 @@ function serializeRouteManifest(manifest) {
30344
30350
  pollId: entry.pollId,
30345
30351
  attachmentIds: entry.attachmentIds,
30346
30352
  moduleFile: entry.moduleFile,
30347
- schedule: entry.schedule
30353
+ schedule: entry.schedule,
30354
+ ...entry.timezone ? { timezone: entry.timezone } : {}
30348
30355
  });
30349
30356
  break;
30350
30357
  case "cron-schedule":
@@ -30427,6 +30434,7 @@ const triggerSourceSchema = preprocess(normalizeLegacySlugFields, discriminatedU
30427
30434
  kind: literal("cron"),
30428
30435
  ...baseSourceShape,
30429
30436
  schedule: cronScheduleSchema,
30437
+ timezone: string().trim().min(1).optional(),
30430
30438
  payload: cronPayloadSchema.optional()
30431
30439
  }),
30432
30440
  object({
@@ -30434,6 +30442,7 @@ const triggerSourceSchema = preprocess(normalizeLegacySlugFields, discriminatedU
30434
30442
  ...baseSourceShape,
30435
30443
  id: string().optional(),
30436
30444
  schedule: cronScheduleSchema,
30445
+ timezone: string().trim().min(1).optional(),
30437
30446
  run: _function(),
30438
30447
  filters: array(_function()),
30439
30448
  passes: _function()
@@ -30972,6 +30981,7 @@ async function buildStoredRouteManifestForProject(projectRoot, options) {
30972
30981
  moduleFile,
30973
30982
  ...sourceHash ? { sourceHash } : {},
30974
30983
  schedule: source.schedule,
30984
+ ...source.timezone ? { timezone: source.timezone } : {},
30975
30985
  ...source.payload !== void 0 ? { payload: source.payload } : {},
30976
30986
  ...meta
30977
30987
  });
@@ -30989,6 +30999,7 @@ async function buildStoredRouteManifestForProject(projectRoot, options) {
30989
30999
  moduleFile,
30990
31000
  ...sourceHash ? { sourceHash } : {},
30991
31001
  schedule: source.schedule,
31002
+ ...source.timezone ? { timezone: source.timezone } : {},
30992
31003
  ...meta,
30993
31004
  response: PromptResponseSchema
30994
31005
  });
@@ -31039,4 +31050,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
31039
31050
  //#endregion
31040
31051
  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 };
31041
31052
 
31042
- //# sourceMappingURL=dist-fDqIX4ii.mjs.map
31053
+ //# sourceMappingURL=dist-Bqwb8ruo.mjs.map