@keystrokehq/cli 0.1.15 → 0.1.16

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 (31) hide show
  1. package/dist/index.mjs +7 -4
  2. package/dist/index.mjs.map +1 -1
  3. package/dist/skills-bundle/_AGENTS.mcp.md +10 -3
  4. package/dist/skills-bundle/_AGENTS.md +61 -70
  5. package/dist/skills-bundle/skills/keystroke-actions/SKILL.md +60 -12
  6. package/dist/skills-bundle/skills/keystroke-actions/references/catalog-and-imports.md +32 -3
  7. package/dist/skills-bundle/skills/keystroke-agents/SKILL.md +50 -8
  8. package/dist/skills-bundle/skills/keystroke-agents/references/models.md +11 -13
  9. package/dist/skills-bundle/skills/keystroke-agents/references/tools-mcp-codemode.md +45 -3
  10. package/dist/skills-bundle/skills/keystroke-agents/references/workflows-and-testing.md +1 -1
  11. package/dist/skills-bundle/skills/keystroke-apps/SKILL.md +26 -13
  12. package/dist/skills-bundle/skills/keystroke-apps/references/cli-and-catalog.md +47 -16
  13. package/dist/skills-bundle/skills/keystroke-channels/SKILL.md +66 -0
  14. package/dist/skills-bundle/skills/keystroke-channels/references/slack-setup.md +41 -0
  15. package/dist/skills-bundle/skills/keystroke-cli/SKILL.md +41 -93
  16. package/dist/skills-bundle/skills/keystroke-deploy/SKILL.md +10 -9
  17. package/dist/skills-bundle/skills/keystroke-deploy/references/build-and-full-deploy.md +3 -1
  18. package/dist/skills-bundle/skills/keystroke-deploy/references/filtered-deploy.md +3 -2
  19. package/dist/skills-bundle/skills/keystroke-deploy/references/wip-ignore.md +5 -2
  20. package/dist/skills-bundle/skills/keystroke-files/SKILL.md +12 -4
  21. package/dist/skills-bundle/skills/keystroke-skills/SKILL.md +7 -2
  22. package/dist/skills-bundle/skills/keystroke-triggers/SKILL.md +30 -17
  23. package/dist/skills-bundle/skills/keystroke-workflows/SKILL.md +27 -12
  24. package/dist/skills-bundle/skills/keystroke-workflows/references/authoring.md +116 -4
  25. package/dist/skills-bundle/skills/keystroke-workflows/references/testing.md +17 -9
  26. package/dist/templates/hello-world/README.md +19 -8
  27. package/dist/templates/hello-world/src/workflows/greeting.test.ts +1 -1
  28. package/package.json +2 -2
  29. package/dist/skills-bundle/skills/keystroke-cli/references/api-targets.md +0 -87
  30. package/dist/skills-bundle/skills/keystroke-gateways/SKILL.md +0 -43
  31. package/dist/skills-bundle/skills/keystroke-gateways/references/slack-setup.md +0 -27
package/dist/index.mjs CHANGED
@@ -6793,7 +6793,9 @@ async function removeExampleFiles(targetDir) {
6793
6793
  /**
6794
6794
  * Drop the README sections that walk through the example hello agent / greeting
6795
6795
  * workflow — those primitives don't exist in a --no-example scaffold (e.g. MCP
6796
- * sprite bootstrap), so shipping their usage docs is misleading.
6796
+ * sprite bootstrap), so shipping their usage docs is misleading. Example-only
6797
+ * prose is fenced with `<!-- example:start -->` / `<!-- example:end -->` markers
6798
+ * so this stays robust to README wording changes.
6797
6799
  */
6798
6800
  async function stripExampleReadme(targetDir) {
6799
6801
  const readmePath = join(targetDir, "README.md");
@@ -6803,7 +6805,7 @@ async function stripExampleReadme(targetDir) {
6803
6805
  } catch {
6804
6806
  return;
6805
6807
  }
6806
- const next = content.replace(/Prompt the hello agent:\n+```bash\n[\s\S]*?\n```\n+/, "").replace(/Run the greeting workflow:\n+```bash\n[\s\S]*?\n```\n+/, "").replace(/\nExample: `src\/workflows\/greeting\.test\.ts`[^\n]*\n/, "\n");
6808
+ const next = content.replace(/\n?<!-- example:start -->\n[\s\S]*?<!-- example:end -->\n/g, "");
6807
6809
  if (next !== content) await writeFile(readmePath, next);
6808
6810
  }
6809
6811
  async function directoryExists(path) {
@@ -6874,8 +6876,9 @@ function registerInitCommand(program) {
6874
6876
  process.stdout.write(`Created keystroke project "${result.projectName}" at ${result.targetDir}\n`);
6875
6877
  process.stdout.write("\nNext steps:\n");
6876
6878
  process.stdout.write(` cd ${result.targetDir}\n`);
6877
- process.stdout.write(" # set ANTHROPIC_API_KEY and integration keys in .env\n");
6878
- process.stdout.write(" keystroke dev\n");
6879
+ process.stdout.write(" keystroke auth login # once\n");
6880
+ process.stdout.write(" keystroke project list # pick a project (or: project create)\n");
6881
+ process.stdout.write(" keystroke deploy --project <id> # build + ship src/ to the platform\n");
6879
6882
  } catch (error) {
6880
6883
  const message = error instanceof Error ? error.message : "Init failed";
6881
6884
  process.stderr.write(`${message}\n`);