@mandors/cli 0.0.11 → 0.0.13

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/npm/bin/mandor CHANGED
@@ -6,7 +6,7 @@
6
6
  * @version 0.0.1
7
7
  */
8
8
 
9
- const { resolve } = require('./lib/resolve');
9
+ const { resolve } = require('../lib/resolve');
10
10
  const { spawn } = require('child_process');
11
11
  const path = require('path');
12
12
 
Binary file
Binary file
Binary file
Binary file
@@ -56,12 +56,12 @@ async function install(options = {}) {
56
56
  * @returns {string|null} Path to binary or null if not bundled
57
57
  */
58
58
  function useBundledBinary(platform, arch) {
59
- const filename = `mandor-${platform}-${arch}`;
60
- const tarball = path.join(BUNDLE_DIR, `${filename}.tar.gz`);
59
+ const osArch = `${platform}-${arch}`;
60
+ const tarball = path.join(BUNDLE_DIR, `${osArch}.tar.gz`);
61
61
  const cacheDir = path.join(os.homedir(), '.mandor', 'bin');
62
- const dest = path.join(cacheDir, filename);
62
+ const dest = path.join(cacheDir, osArch);
63
63
 
64
- console.log(`DEBUG: Looking for binary for ${platform}-${arch}`);
64
+ console.log(`DEBUG: Looking for binary for ${osArch}`);
65
65
  console.log(`DEBUG: BUNDLE_DIR: ${BUNDLE_DIR}`);
66
66
  console.log(`DEBUG: Files in BUNDLE_DIR: ${fs.readdirSync(BUNDLE_DIR).join(', ')}`);
67
67
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mandors/cli",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "Event-based task manager CLI for AI agent workflows",
5
5
  "main": "npm/lib/index.js",
6
6
  "bin": {