From 5469abacb8532817eeef3b80047231973322eb35 Mon Sep 17 00:00:00 2001 From: HiranoMasaaki Date: Wed, 25 Feb 2026 15:14:45 +0000 Subject: [PATCH 1/2] fix: change CLI shebang from bun to node The published CLI bundle works with node. Using #!/usr/bin/env node allows npx perstack@latest to work without bun installed. Co-Authored-By: Claude Opus 4.6 --- .changeset/fix-cli-shebang-node.md | 5 +++++ apps/perstack/bin/cli.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/fix-cli-shebang-node.md diff --git a/.changeset/fix-cli-shebang-node.md b/.changeset/fix-cli-shebang-node.md new file mode 100644 index 00000000..f463894c --- /dev/null +++ b/.changeset/fix-cli-shebang-node.md @@ -0,0 +1,5 @@ +--- +"perstack": patch +--- + +Change CLI shebang from `#!/usr/bin/env bun` to `#!/usr/bin/env node` so `npx perstack` works without bun installed. diff --git a/apps/perstack/bin/cli.ts b/apps/perstack/bin/cli.ts index d5ff86a9..38a34236 100755 --- a/apps/perstack/bin/cli.ts +++ b/apps/perstack/bin/cli.ts @@ -1,4 +1,4 @@ -#!/usr/bin/env bun +#!/usr/bin/env node import { PerstackError } from "@perstack/core" import { installHandler } from "@perstack/installer" From 9edc127badade8affd69f088cc1772a166e9b89c Mon Sep 17 00:00:00 2001 From: HiranoMasaaki Date: Wed, 25 Feb 2026 15:27:25 +0000 Subject: [PATCH 2/2] fix: add skill descriptions to create-expert definition The API requires skill.description but the definition was missing them, causing expert push validation to fail. Co-Authored-By: Claude Opus 4.6 --- definitions/create-expert/perstack.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/definitions/create-expert/perstack.toml b/definitions/create-expert/perstack.toml index 303b95c6..0a374b59 100644 --- a/definitions/create-expert/perstack.toml +++ b/definitions/create-expert/perstack.toml @@ -34,6 +34,7 @@ delegates = ["@create-expert/planner", "@create-expert/skill-finder", "@create-e [experts."create-expert".skills."@perstack/base"] type = "mcpStdioSkill" +description = "File operations and task completion" command = "npx" packageName = "@perstack/base" pick = ["exec", "attemptCompletion"] @@ -128,6 +129,7 @@ After writing the file, attemptCompletion with the file path. [experts."@create-expert/planner".skills."@perstack/base"] type = "mcpStdioSkill" +description = "File operations, command execution, and task management" command = "npx" packageName = "@perstack/base" pick = ["readTextFile", "writeTextFile", "exec", "todo", "attemptCompletion"] @@ -185,12 +187,14 @@ After writing skill-report.md, attemptCompletion with the file path. [experts."@create-expert/skill-finder".skills."@perstack/base"] type = "mcpStdioSkill" +description = "File operations, command execution, and task management" command = "npx" packageName = "@perstack/base" pick = ["readTextFile", "writeTextFile", "exec", "todo", "attemptCompletion"] [experts."@create-expert/skill-finder".skills."@perstack/create-expert-skill"] type = "mcpStdioSkill" +description = "Search and inspect MCP servers from the registry" command = "npx" packageName = "@perstack/create-expert-skill" pick = ["searchMcpRegistry", "getMcpServerDetail"] @@ -289,6 +293,7 @@ To incorporate MCP skills into the expert definition: [experts."@create-expert/definition-writer".skills."@perstack/base"] type = "mcpStdioSkill" +description = "File operations, command execution, and task management" command = "npx" packageName = "@perstack/base" pick = ["readTextFile", "writeTextFile", "exec", "todo", "attemptCompletion"] @@ -344,6 +349,7 @@ If issues found: [experts."@create-expert/expert-tester".skills."@perstack/base"] type = "mcpStdioSkill" +description = "File operations, command execution, delegation management, and task tracking" command = "npx" packageName = "@perstack/base" pick = [