@gobing-ai/superskill 0.2.7 → 0.2.9

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 (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -97551,7 +97551,7 @@ var RED_FLAG_PATTERNS = [
97551
97551
  function buildStopOutput(result) {
97552
97552
  if (result.ok) {
97553
97553
  return JSON.stringify({
97554
- hookSpecificOutput: { hookEventName: "Stop", additionalContext: result.reason }
97554
+ hookSpecificOutput: { hookEventName: "Stop" }
97555
97555
  });
97556
97556
  }
97557
97557
  return JSON.stringify({
@@ -97696,7 +97696,11 @@ function preToolUseDecision(decision, reason) {
97696
97696
  return { output: JSON.stringify(out), exitCode: 0 };
97697
97697
  }
97698
97698
  function resolveSpurTaskOwnership(filePath, cwd5) {
97699
- const res = spawnSync2("spur", ["task", "resolve", filePath, "--strict", "--json"], {
97699
+ const spurBin = process.env.SPUR_BIN || "spur";
97700
+ const parts = spurBin.split(" ");
97701
+ const cmd = parts[0] ?? "spur";
97702
+ const args = [...parts.slice(1), "task", "resolve", filePath, "--strict", "--json"];
97703
+ const res = spawnSync2(cmd, args, {
97700
97704
  cwd: cwd5,
97701
97705
  encoding: "utf-8",
97702
97706
  timeout: 8000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gobing-ai/superskill",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "A manager for multi-agent skill, slash command, subagent, hook, MCP and etc.",
5
5
  "keywords": [
6
6
  "cli",