@knotpad/app 0.1.3 → 0.1.5

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/brief.js +3 -3
  2. package/package.json +4 -2
package/brief.js CHANGED
@@ -57,7 +57,7 @@ async function downloadSource() {
57
57
 
58
58
  try {
59
59
  // Try git clone first (faster and more reliable)
60
- execSync(`git clone --depth 1 https://github.com/knotpad/brief.git "${INSTALL_DIR}"`, {
60
+ execSync(`git clone --depth 1 https://github.com/thillagen/brief.git "${INSTALL_DIR}"`, {
61
61
  stdio: "inherit",
62
62
  cwd: path.dirname(INSTALL_DIR)
63
63
  });
@@ -70,14 +70,14 @@ async function downloadSource() {
70
70
 
71
71
  await new Promise((resolve, reject) => {
72
72
  const file = fs.createWriteStream(zipPath);
73
- https.get("https://github.com/knotpad/brief/archive/refs/heads/main.zip", (response) => {
73
+ https.get("https://github.com/thillagen/brief/archive/refs/heads/main.zip", (response) => {
74
74
  response.pipe(file);
75
75
  file.on("finish", () => {
76
76
  file.close();
77
77
  log("Extracting…");
78
78
  try {
79
79
  if (process.platform === "win32") {
80
- execSync(`tar -xf "${zipPath}" -C "${path.dirname(INSTALL_DIR)}"`, { stdio: "inherit" });
80
+ execSync(`powershell -Command "Expand-Archive -Path '${zipPath}' -DestinationPath '${path.dirname(INSTALL_DIR)}' -Force"`, { stdio: "inherit" });
81
81
  } else {
82
82
  execSync(`unzip -q "${zipPath}" -d "${path.dirname(INSTALL_DIR)}"`, { stdio: "inherit" });
83
83
  }
package/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "@knotpad/app",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Note-first project management with AI agent task routing",
5
- "bin": "./brief.js",
5
+ "bin": {
6
+ "knotpad": "brief.js"
7
+ },
6
8
  "files": [
7
9
  "package.json",
8
10
  "brief.js"