@mandors/cli 0.0.12 → 0.0.14

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
@@ -58,8 +58,9 @@ async function install(options = {}) {
58
58
  function useBundledBinary(platform, arch) {
59
59
  const osArch = `${platform}-${arch}`;
60
60
  const tarball = path.join(BUNDLE_DIR, `${osArch}.tar.gz`);
61
- const cacheDir = path.join(os.homedir(), '.mandor', 'bin');
62
- const dest = path.join(cacheDir, osArch);
61
+ const version = 'latest';
62
+ const cacheDir = path.join(os.homedir(), '.mandor', 'bin', `${version}-${osArch}`);
63
+ const dest = path.join(cacheDir, 'mandor');
63
64
 
64
65
  console.log(`DEBUG: Looking for binary for ${osArch}`);
65
66
  console.log(`DEBUG: BUNDLE_DIR: ${BUNDLE_DIR}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mandors/cli",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "Event-based task manager CLI for AI agent workflows",
5
5
  "main": "npm/lib/index.js",
6
6
  "bin": {