@keystrokehq/cli 1.0.2 → 1.0.8

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.
Files changed (35) hide show
  1. package/README.md +3 -3
  2. package/dist/{dist-DEwhZoDf.mjs → dist-BXi7cRDx.mjs} +6 -8
  3. package/dist/dist-BXi7cRDx.mjs.map +1 -0
  4. package/dist/{dist-DtUH9rOc.mjs → dist-CaXYCefX.mjs} +6 -8
  5. package/dist/dist-CaXYCefX.mjs.map +1 -0
  6. package/dist/{dist-_46DIPBj.mjs → dist-DR0-KRom.mjs} +9 -2
  7. package/dist/{dist-_46DIPBj.mjs.map → dist-DR0-KRom.mjs.map} +1 -1
  8. package/dist/dist-MYk9JAIo.mjs +3 -0
  9. package/dist/index.mjs +11 -10
  10. package/dist/index.mjs.map +1 -1
  11. package/dist/{maybe-auto-update-DGBkB562.mjs → maybe-auto-update-DxAS-9S7.mjs} +2 -2
  12. package/dist/{maybe-auto-update-DGBkB562.mjs.map → maybe-auto-update-DxAS-9S7.mjs.map} +1 -1
  13. package/dist/skills-bundle/_AGENTS.md +5 -5
  14. package/dist/skills-bundle/skills/keystroke-actions/SKILL.md +39 -7
  15. package/dist/skills-bundle/skills/keystroke-actions/references/catalog-and-imports.md +25 -19
  16. package/dist/skills-bundle/skills/keystroke-agents/SKILL.md +3 -3
  17. package/dist/skills-bundle/skills/keystroke-apps/SKILL.md +133 -0
  18. package/dist/skills-bundle/skills/keystroke-apps/references/cli-and-catalog.md +66 -0
  19. package/dist/skills-bundle/skills/keystroke-cli/SKILL.md +2 -2
  20. package/dist/skills-bundle/skills/keystroke-cli/references/api-targets.md +2 -2
  21. package/dist/skills-bundle/skills/keystroke-deploy/SKILL.md +2 -2
  22. package/dist/skills-bundle/skills/keystroke-gateways/SKILL.md +2 -2
  23. package/dist/skills-bundle/skills/keystroke-gateways/references/slack-setup.md +1 -1
  24. package/dist/skills-bundle/skills/keystroke-skills/SKILL.md +1 -1
  25. package/dist/skills-bundle/skills/keystroke-workflows/SKILL.md +1 -1
  26. package/dist/skills-bundle/skills/keystroke-workflows/references/authoring.md +2 -2
  27. package/dist/{version-CKAYz1xm.mjs → version-TtPeAEMz.mjs} +4 -4
  28. package/dist/version-TtPeAEMz.mjs.map +1 -0
  29. package/package.json +1 -1
  30. package/dist/dist-BrhJhyvP.mjs +0 -3
  31. package/dist/dist-DEwhZoDf.mjs.map +0 -1
  32. package/dist/dist-DtUH9rOc.mjs.map +0 -1
  33. package/dist/skills-bundle/skills/keystroke-credentials/SKILL.md +0 -108
  34. package/dist/skills-bundle/skills/keystroke-credentials/references/cli-and-oauth.md +0 -51
  35. package/dist/version-CKAYz1xm.mjs.map +0 -1
package/README.md CHANGED
@@ -24,18 +24,18 @@ Authenticate with Keystroke via Better Auth device flow. Config lives in `~/.key
24
24
  ```bash
25
25
  keystroke auth login
26
26
  keystroke auth login --web-url http://localhost:3000
27
- keystroke auth login --web-url https://app.keystroke.ai --platform-url https://api.keystroke.ai
27
+ keystroke auth login --web-url https://keystroke.ai --platform-url https://api.keystroke.ai
28
28
  keystroke auth status
29
29
  keystroke auth logout
30
30
  ```
31
31
 
32
32
  | Setting | Default | Purpose |
33
33
  | ------------- | -------------------------- | ---------------------------------------------------------------- |
34
- | `webUrl` | `https://app.keystroke.ai` | Web dashboard; device login and session checks |
34
+ | `webUrl` | `https://keystroke.ai` | Web dashboard; device login and session checks |
35
35
  | `platformUrl` | `https://api.keystroke.ai` | Platform API (direct; used by CLI platform commands) |
36
36
  | `serverUrl` | `http://localhost:3001` | Local keystroke server API (`keystroke dev` / `keystroke start`) |
37
37
 
38
- `auth login` persists both `webUrl` and `platformUrl`. Omit `--web-url` to always reset to production defaults (`https://app.keystroke.ai` / `https://api.keystroke.ai`), even if a previous login pointed at localhost. Local dev: `--web-url http://localhost:3000` (platform URL resolves to `http://localhost:3002`). Cloud auth does not change `serverUrl` — local project commands still hit your dev server.
38
+ `auth login` persists both `webUrl` and `platformUrl`. Omit `--web-url` to always reset to production defaults (`https://keystroke.ai` / `https://api.keystroke.ai`), even if a previous login pointed at localhost. Local dev: `--web-url http://localhost:3000` (platform URL resolves to `http://localhost:3002`). Cloud auth does not change `serverUrl` — local project commands still hit your dev server.
39
39
 
40
40
  Existing commands do not require auth yet. Use `resolveCliAuth()` when adding protected commands.
41
41
 
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { Cn as string, Ct as PromptResponseSchema, Et as ROUTE_MANIFEST_REL_PATH, Sn as object, Tn as toJSONSchema, _n as _function, bn as discriminatedUnion, gn as _enum, hn as ZodType, un as normalizeCredentialList, vn as array, wn as union, xn as literal, yn as custom } from "./dist-_46DIPBj.mjs";
2
+ import { Cn as string, Ct as PromptResponseSchema, Et as ROUTE_MANIFEST_REL_PATH, Sn as object, Tn as toJSONSchema, _n as _function, bn as discriminatedUnion, gn as _enum, hn as ZodType, un as normalizeCredentialList, vn as array, wn as union, xn as literal, yn as custom } from "./dist-DR0-KRom.mjs";
3
3
  import "./chunk-BZUGFHVS-CPWRFwK8.mjs";
4
4
  import "./chunk-DLL7UR66-BUYgzxnR.mjs";
5
5
  import "./chunk-TN7HHBQW-CSB_R-XD.mjs";
@@ -204,7 +204,7 @@ function isCommentLine(line) {
204
204
  return line.startsWith("//") || line.startsWith("/*") || line.startsWith("*");
205
205
  }
206
206
  //#endregion
207
- //#region ../../packages/sandbox/dist/files-psA6qjtf.mjs
207
+ //#region ../../packages/sandbox/dist/files-BOUCjfCQ.mjs
208
208
  const SandboxModeSchema = _enum(["in-process", "vm"]);
209
209
  const SandboxFileContentSchema = object({
210
210
  path: string(),
@@ -547,23 +547,21 @@ const Digit = ["0", ...Range(49, 57)];
547
547
  ], ...Digit];
548
548
  [...Digit];
549
549
  new RegExp(IntegerKey);
550
- //#endregion
551
- //#region ../../packages/sandbox/dist/create-coding-tools-5--zCsRF.mjs
552
550
  const replaceEditSchema = _Object_({
553
551
  oldText: String$1({ description: "Exact text to replace. Must be unique in the file and must not overlap other edits in this call." }),
554
552
  newText: String$1({ description: "Replacement text" })
555
553
  }, { additionalProperties: false });
556
554
  _Object_({
557
- path: String$1({ description: "Path to the file to edit (under /workspace)" }),
555
+ path: String$1({ description: "Path under /workspace (e.g. session/out.txt or agent/data.json)" }),
558
556
  edits: _Array_(replaceEditSchema, { description: "Replacements applied against the original file (not chained). Each oldText must be unique and non-overlapping." })
559
557
  }, { additionalProperties: false });
560
558
  _Object_({
561
- path: String$1({ description: "Path to the file to read (under /workspace)" }),
559
+ path: String$1({ description: "Path under /workspace (e.g. session/out.txt or agent/data.json)" }),
562
560
  offset: Optional(Number$1({ description: "Line number to start reading from (1-indexed)" })),
563
561
  limit: Optional(Number$1({ description: "Maximum number of lines to read" }))
564
562
  });
565
563
  _Object_({
566
- path: String$1({ description: "Path to the file to write (under /workspace)" }),
564
+ path: String$1({ description: "Path under /workspace (e.g. session/out.txt or agent/data.json)" }),
567
565
  content: String$1({ description: "Content to write to the file" })
568
566
  });
569
567
  //#endregion
@@ -1896,4 +1894,4 @@ async function emitStoredRouteManifestForProject(projectRoot) {
1896
1894
  //#endregion
1897
1895
  export { entryIdFromFile as A, webhookManifestAttachmentSchemasFromBindings as C, packAssetDirs as D, workflowRouteFromKey as E, shouldSkipKeystrokeModuleFile as M, walkTypeScriptFiles as N, discoverEntries as O, validateImportedWorkflowDefinition as S, webhookRouteFromEndpoint as T, pollGroupId as _, buildWebhookBindingsByRoute as a, toStoredRouteManifest as b, discoverSkillManifestEntries as c, discoverWorkflows as d, emitStoredRouteManifestForProject as f, persistStoredRouteManifest as g, importWorkflowDefinition as h, buildStoredRouteManifestFromContext as i, readKeystrokeIgnoreDirective as j, discoverModuleFileEntries as k, discoverTriggerAttachments as l, importTriggerAttachment as m, buildPollGroups as n, countAgentCredentials as o, importAgentDefinition as p, buildStoredRouteManifestForProject as r, discoverAgentEntries as s, agentRouteFromKey as t, discoverWorkflowEntries as u, schemaToJson as v, webhookMatchSchemaForBindings as w, validateImportedTriggerAttachment as x, serializeRouteManifest as y };
1898
1896
 
1899
- //# sourceMappingURL=dist-DEwhZoDf.mjs.map
1897
+ //# sourceMappingURL=dist-BXi7cRDx.mjs.map