@keystrokehq/cli 0.1.60 → 0.1.62

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
@@ -75,7 +75,7 @@ Existing commands do not require auth yet. Use `resolveCliAuth()` when adding pr
75
75
 
76
76
  ### Platform commands
77
77
 
78
- Org-scoped platform commands use `createCliPlatformClient()` and require `keystroke auth login` plus an active organization (`keystroke config use org <slug>` when you belong to more than one).
78
+ Org-scoped platform commands require `keystroke auth login` plus an organization target: pass `--organization <slug>` or set `organization` in `keystroke.config.ts` (via `keystroke projects link --project <slug>`). Project-scoped commands also accept `--project <slug>` or the `project` field in `keystroke.config.ts`.
79
79
 
80
80
  ```bash
81
81
  keystroke org update --name "Acme Inc"
@@ -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-BlTFBcc6.mjs";
4
- import "./dist-DJH7K67b.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-CnAsi0KI.mjs";
4
+ import "./dist-qm-t5iv6.mjs";
5
5
  import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
6
6
  import "./chunk-DLL7UR66-BUYgzxnR.mjs";
7
7
  import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
@@ -2769,6 +2769,7 @@ const agentSessions = pgTable("agent_sessions", {
2769
2769
  ranByUserId: text("ran_by_user_id"),
2770
2770
  title: text("title"),
2771
2771
  canceledAt: timestamp("canceled_at", { withTimezone: true }),
2772
+ status: text("status").$type(),
2772
2773
  totalDurationMs: integer("total_duration_ms").notNull().default(0),
2773
2774
  liveMessage: jsonb("live_message"),
2774
2775
  createdAt: timestamp("created_at", { withTimezone: true }).notNull(),
@@ -2785,6 +2786,7 @@ const agentSessionsSqlite = sqliteTable("agent_sessions", {
2785
2786
  ranByUserId: text$1("ran_by_user_id"),
2786
2787
  title: text$1("title"),
2787
2788
  canceledAt: integer$1("canceled_at", { mode: "timestamp_ms" }),
2789
+ status: text$1("status").$type(),
2788
2790
  totalDurationMs: integer$1("total_duration_ms").notNull().default(0),
2789
2791
  liveMessage: text$1("live_message", { mode: "json" }),
2790
2792
  createdAt: integer$1("created_at", { mode: "timestamp_ms" }).notNull(),
@@ -31019,4 +31021,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
31019
31021
  //#endregion
31020
31022
  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
31023
 
31022
- //# sourceMappingURL=dist-Ddc25Zjn.mjs.map
31024
+ //# sourceMappingURL=dist-BS0qm1w4.mjs.map