nothumanallowed 8.3.1 → 8.3.2

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/bin/nha.mjs CHANGED
@@ -14,7 +14,7 @@
14
14
  * npx nha update
15
15
  */
16
16
 
17
- import { fileURLToPath } from 'url';
17
+ import { fileURLToPath, pathToFileURL } from 'url';
18
18
  import path from 'path';
19
19
 
20
20
  const __filename = fileURLToPath(import.meta.url);
@@ -29,6 +29,8 @@ if (major < 20) {
29
29
  }
30
30
 
31
31
  // ── Launch CLI ──────────────────────────────────────────────────────────────
32
- const cli = path.join(__dirname, '..', 'src', 'cli.mjs');
33
- const { main } = await import(cli);
32
+ // On Windows, dynamic import() requires file:// URLs, not raw paths like C:\...
33
+ const cliPath = path.join(__dirname, '..', 'src', 'cli.mjs');
34
+ const cliUrl = pathToFileURL(cliPath).href;
35
+ const { main } = await import(cliUrl);
34
36
  await main(process.argv.slice(2));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nothumanallowed",
3
- "version": "8.3.1",
3
+ "version": "8.3.2",
4
4
  "description": "NotHumanAllowed — 38 AI agents + unified productivity suite. Gmail, Calendar, Drive, Contacts, Tasks, GitHub, Notion, Slack, voice chat, smart scheduler. Zero-dependency CLI.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/constants.mjs CHANGED
@@ -5,7 +5,7 @@ import { fileURLToPath } from 'url';
5
5
  const __filename = fileURLToPath(import.meta.url);
6
6
  const __dirname = path.dirname(__filename);
7
7
 
8
- export const VERSION = '8.3.1';
8
+ export const VERSION = '8.3.2';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11