@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.
- package/dist/index.mjs +7 -4
- package/dist/index.mjs.map +1 -1
- package/dist/skills-bundle/_AGENTS.mcp.md +10 -3
- package/dist/skills-bundle/_AGENTS.md +61 -70
- package/dist/skills-bundle/skills/keystroke-actions/SKILL.md +60 -12
- package/dist/skills-bundle/skills/keystroke-actions/references/catalog-and-imports.md +32 -3
- package/dist/skills-bundle/skills/keystroke-agents/SKILL.md +50 -8
- package/dist/skills-bundle/skills/keystroke-agents/references/models.md +11 -13
- package/dist/skills-bundle/skills/keystroke-agents/references/tools-mcp-codemode.md +45 -3
- package/dist/skills-bundle/skills/keystroke-agents/references/workflows-and-testing.md +1 -1
- package/dist/skills-bundle/skills/keystroke-apps/SKILL.md +26 -13
- package/dist/skills-bundle/skills/keystroke-apps/references/cli-and-catalog.md +47 -16
- package/dist/skills-bundle/skills/keystroke-channels/SKILL.md +66 -0
- package/dist/skills-bundle/skills/keystroke-channels/references/slack-setup.md +41 -0
- package/dist/skills-bundle/skills/keystroke-cli/SKILL.md +41 -93
- package/dist/skills-bundle/skills/keystroke-deploy/SKILL.md +10 -9
- package/dist/skills-bundle/skills/keystroke-deploy/references/build-and-full-deploy.md +3 -1
- package/dist/skills-bundle/skills/keystroke-deploy/references/filtered-deploy.md +3 -2
- package/dist/skills-bundle/skills/keystroke-deploy/references/wip-ignore.md +5 -2
- package/dist/skills-bundle/skills/keystroke-files/SKILL.md +12 -4
- package/dist/skills-bundle/skills/keystroke-skills/SKILL.md +7 -2
- package/dist/skills-bundle/skills/keystroke-triggers/SKILL.md +30 -17
- package/dist/skills-bundle/skills/keystroke-workflows/SKILL.md +27 -12
- package/dist/skills-bundle/skills/keystroke-workflows/references/authoring.md +116 -4
- package/dist/skills-bundle/skills/keystroke-workflows/references/testing.md +17 -9
- package/dist/templates/hello-world/README.md +19 -8
- package/dist/templates/hello-world/src/workflows/greeting.test.ts +1 -1
- package/package.json +2 -2
- package/dist/skills-bundle/skills/keystroke-cli/references/api-targets.md +0 -87
- package/dist/skills-bundle/skills/keystroke-gateways/SKILL.md +0 -43
- 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(
|
|
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("
|
|
6878
|
-
process.stdout.write(" keystroke
|
|
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`);
|