@keystrokehq/cli 0.1.164 → 0.1.166

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/README.md CHANGED
@@ -60,6 +60,7 @@ keystroke apps execute <app> <tool> --input '{...}' # catalog or custom MCP
60
60
  keystroke apps create|delete [<slug>]
61
61
  keystroke templates list|show|apply <slug>
62
62
  keystroke credentials create|get|rotate|delete <key>
63
+ keystroke credentials reconnect <credential-id> [--print-url]
63
64
  keystroke feedback create --message "…"
64
65
  keystroke pull
65
66
  ```
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import { a as buildApp } from "./dist-DoHPZzrH.mjs";
3
+ export { buildApp };
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import { n as __require, r as __toESM, t as __commonJSMin } from "./chunk-DiodbrVj.mjs";
3
- import { Aa as NEVER, Ca as record, Ci as parseStoredRouteManifest, Da as url, Di as zodToStoredJsonSchema, Ea as unknown, Fi as credentialInputSchema, Gi as PublicModelsResponseSchema, Ii as getOpenApiJsonSchema, Li as normalizeCredentialList, Oa as datetime, On as ProjectArtifactIndexSchema, Ri as requiredDisplayTextSchema, Rn as PromptResponseSchema, Sa as preprocess, Ta as union, _a as literal, aa as ZodIssueCode, ba as object, ca as _function, da as array, fa as boolean$1, ga as lazy, ha as intersection, ia as number$1, ka as safeParse$1, la as _null, ma as discriminatedUnion, oa as ZodType, on as PROJECT_MANIFEST_REL_PATH, pa as custom, sa as _enum, ua as any, va as looseObject, wa as string, xa as optional, xi as parseProjectManifest, ya as number, zi as DEFAULT_CLOUD_PLATFORM_ORIGIN } from "./dist-neAmdOvZ.mjs";
3
+ import { Aa as NEVER, Ca as record, Ci as parseStoredRouteManifest, Da as url, Di as zodToStoredJsonSchema, Ea as unknown, Fi as credentialInputSchema, Gi as PublicModelsResponseSchema, Ii as getOpenApiJsonSchema, Li as normalizeCredentialList, Oa as datetime, On as ProjectArtifactIndexSchema, Ri as requiredDisplayTextSchema, Rn as PromptResponseSchema, Sa as preprocess, Ta as union, _a as literal, aa as ZodIssueCode, ba as object, ca as _function, da as array, fa as boolean$1, ga as lazy, ha as intersection, ia as number$1, ka as safeParse$1, la as _null, ma as discriminatedUnion, oa as ZodType, on as PROJECT_MANIFEST_REL_PATH, pa as custom, sa as _enum, ua as any, va as looseObject, wa as string, xa as optional, xi as parseProjectManifest, ya as number, zi as DEFAULT_CLOUD_PLATFORM_ORIGIN } from "./dist-DeuNAZM1.mjs";
4
4
  import "./chunk-4RUAZWKT-D60fyWAB.mjs";
5
5
  import "./chunk-SAI2SPQQ-CVRoDNs9.mjs";
6
6
  import "./chunk-WNH3HOQA-BCZUOjCJ.mjs";
@@ -2898,7 +2898,7 @@ JSON.stringify({
2898
2898
  }
2899
2899
  });
2900
2900
  //#endregion
2901
- //#region ../../packages/action/dist/define-action-CsOgvOmf.mjs
2901
+ //#region ../../packages/action/dist/define-action-CrYCWt9v.mjs
2902
2902
  const zodSchema$3 = custom((v) => v instanceof ZodType, "must be a Zod schema");
2903
2903
  /** Runtime validation for an unbranded action definition. */
2904
2904
  const actionCoreSchema = object({
@@ -25770,6 +25770,7 @@ const agents = pgTable("agents", {
25770
25770
  systemPrompt: text$1("system_prompt").notNull(),
25771
25771
  toolCount: integer$1("tool_count"),
25772
25772
  credentialCount: integer$1("credential_count"),
25773
+ sandboxMode: text$1("sandbox_mode").$type(),
25773
25774
  appSlugs: jsonb("app_slugs").$type(),
25774
25775
  registeredAt: timestamp("registered_at", { withTimezone: true }).notNull(),
25775
25776
  updatedAt: timestamp("updated_at", { withTimezone: true }).notNull(),
@@ -25793,6 +25794,7 @@ const agentsSqlite = sqliteTable("agents", {
25793
25794
  systemPrompt: text("system_prompt").notNull(),
25794
25795
  toolCount: integer("tool_count"),
25795
25796
  credentialCount: integer("credential_count"),
25797
+ sandboxMode: text("sandbox_mode").$type(),
25796
25798
  appSlugs: text("app_slugs", { mode: "json" }).$type(),
25797
25799
  registeredAt: integer("registered_at", { mode: "timestamp_ms" }).notNull(),
25798
25800
  updatedAt: integer("updated_at", { mode: "timestamp_ms" }).notNull(),
@@ -45282,6 +45284,7 @@ function agentManifestEntry(agent, options) {
45282
45284
  systemPrompt: agent.systemPrompt,
45283
45285
  toolCount: agent.tools?.length ?? 0,
45284
45286
  credentialCount: countAgentCredentials(agent),
45287
+ sandboxMode: agent.sandbox?.mode ?? "in-process",
45285
45288
  appSlugs: collectAgentAppSlugs(agent),
45286
45289
  toolSlugs: collectAgentToolSlugs(agent),
45287
45290
  ...Object.keys(toolRequirements).length ? { toolRequirements } : {},
@@ -45625,6 +45628,7 @@ function serializeRouteManifest(manifest) {
45625
45628
  systemPrompt: entry.systemPrompt,
45626
45629
  toolCount: entry.toolCount,
45627
45630
  credentialCount: entry.credentialCount,
45631
+ ...entry.sandboxMode ? { sandboxMode: entry.sandboxMode } : {},
45628
45632
  appSlugs: entry.appSlugs,
45629
45633
  toolSlugs: entry.toolSlugs,
45630
45634
  ...entry.toolRequirements ? { toolRequirements: entry.toolRequirements } : {},
@@ -46783,4 +46787,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
46783
46787
  //#endregion
46784
46788
  export { artifactIndexFromModules as $, serializeRouteManifest as A, validateProjectModules as B, isModularManifestEmitCacheHit as C, pollRouteFromSourceSlug as D, pollGroupRouteFromId as E, tryReadProjectManifest as F, webhookMatchSchemaForBindings as G, validateUniqueAttachmentSlugs as H, validateAttachmentTargets as I, workflowRouteFromKey as J, webhookRouteFromEndpoint as K, validateImportedTriggerAttachment as L, sha256File as M, splitStoredRouteManifest as N, projectActionsFingerprint as O, toStoredRouteManifest as P, withMcpReadClient as Q, validateImportedWorkflowDefinition as R, integrationPackagesFingerprint as S, pollGroupId as T, validateUniqueTriggerSourceSlugs as U, validateTriggerAttachments as V, webhookManifestAttachmentSchemasFromBindings as W, PublicHttpUrlError as X, attachmentSlugFromRecord as Y, assertPublicHttpUrl as Z, emitStoredRouteManifestForProject as _, configureTelemetry as _t, buildPollGroups as a, computeCallSiteIds as at, importTriggerAttachments as b, shutdownTelemetry as bt, collectAgentAppSlugs as c, discoverEntries as ct, countAgentCredentials as d, readKeystrokeIgnoreDirective as dt, collectArtifactModules as et, discoverAgentEntries as f, shouldSkipKeystrokeModuleFile as ft, discoverWorkflows as g, captureException as gt, discoverWorkflowEntries as h, alias as ht, agentRouteFromKey as i, classifyCall as it, sha256Bytes as j, schemaToJson as k, collectAgentToolSlugs as l, discoverModuleFileEntries as lt, discoverTriggerAttachments as m, walkTypeScriptFiles as mt, agentKeyForAttachment as n, moduleBlobRefsFromModules as nt, buildStoredRouteManifestForProject as o, diagnoseWorkflowSource as ot, discoverSkillManifestEntries as p, validateUniqueModuleKeys as pt, workflowKeyForAttachment as q, agentManifestEntry as r, packDirFromDisk as rt, buildStoredRouteManifestFromContext as s, locateWorkflow as st, actionsCatalogFingerprint as t, mapInParallelBatches as tt, contentHashForModule as u, entryIdFromFile as ut, hashDirectoryContents as v, event as vt, persistModularRouteManifest as w, importWorkflowDefinition as x, importAgentDefinition as y, flushTelemetry as yt, validatePollGroups as z };
46785
46789
 
46786
- //# sourceMappingURL=dist-CGeyFdzI.mjs.map
46790
+ //# sourceMappingURL=dist-DS8gbyzx.mjs.map