bmad-autopilot-addon 1.0.0 → 1.0.4
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.
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const { execFileSync } = require("child_process");
|
|
3
|
+
const { join } = require("path");
|
|
4
|
+
|
|
5
|
+
const script = join(__dirname, "bmad-autopilot-addon.sh");
|
|
6
|
+
try {
|
|
7
|
+
execFileSync("bash", [script, ...process.argv.slice(2)], {
|
|
8
|
+
stdio: "inherit",
|
|
9
|
+
env: { ...process.env, BMAD_PROJECT_ROOT: process.cwd() },
|
|
10
|
+
});
|
|
11
|
+
} catch (e) {
|
|
12
|
+
process.exit(e.status || 1);
|
|
13
|
+
}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env bash
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
-
PKG_ROOT
|
|
5
|
-
|
|
4
|
+
# Resolve symlinks so PKG_ROOT points to the actual package directory
|
|
5
|
+
SOURCE="$0"
|
|
6
|
+
while [ -L "$SOURCE" ]; do
|
|
7
|
+
DIR="$(cd "$(dirname "$SOURCE")" && pwd)"
|
|
8
|
+
SOURCE="$(readlink "$SOURCE")"
|
|
9
|
+
# Handle relative symlinks
|
|
10
|
+
[[ "$SOURCE" != /* ]] && SOURCE="$DIR/$SOURCE"
|
|
11
|
+
done
|
|
12
|
+
PKG_ROOT="$(cd "$(dirname "$SOURCE")/.." && pwd)"
|
|
13
|
+
export BMAD_PROJECT_ROOT="${BMAD_PROJECT_ROOT:-$(pwd)}"
|
|
6
14
|
|
|
7
15
|
COMMAND="${1:-install}"
|
|
8
16
|
shift 2>/dev/null || true
|
package/package.json
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bmad-autopilot-addon",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Autonomous end-to-end software delivery powered by the BMAD Method — git workflow, multi-agent skills, and autopilot execution",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/ikunin/bmad-autopilot-addon.git"
|
|
8
|
+
"url": "git+https://github.com/ikunin/bmad-autopilot-addon.git"
|
|
9
9
|
},
|
|
10
10
|
"homepage": "https://github.com/ikunin/bmad-autopilot-addon",
|
|
11
11
|
"bin": {
|
|
12
|
-
"bmad-autopilot-addon": "
|
|
12
|
+
"bmad-autopilot-addon": "bin/bmad-autopilot-addon.js"
|
|
13
13
|
},
|
|
14
14
|
"files": [
|
|
15
15
|
"bin/",
|