mumpix 1.0.14 → 1.0.17

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/README.md CHANGED
@@ -385,8 +385,9 @@ By default, auth state is stored at `~/.config/mumpix/auth.json` (or `%APPDATA%/
385
385
 
386
386
  On `npm install mumpix`, the package runs an install-time auth prompt in interactive terminals:
387
387
 
388
- - Interactive terminals: install automatically opens browser auth and saves local signed license on success.
389
- - If browser auth is cancelled/fails, install continues in `eventual` mode only.
388
+ - Press **Enter**: opens Mumpix in your browser and links account access for paid modes.
389
+ - Press any other key: install continues in `eventual` mode only.
390
+ - If browser auth is cancelled/fails, install continues in `eventual` mode.
390
391
 
391
392
  Non-interactive installs (CI/containers) skip this prompt automatically and default to `eventual`.
392
393
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mumpix",
3
- "version": "1.0.14",
3
+ "version": "1.0.17",
4
4
  "description": "SQLite for AI — embedded, zero-config memory database for AI agents and LLM applications",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -34,8 +34,9 @@
34
34
  "engines": {
35
35
  "node": ">=18.0.0"
36
36
  },
37
- "dependencies": {},
38
- "devDependencies": {},
37
+ "dependencies": {
38
+ "mumpix": "^1.0.14"
39
+ },
39
40
  "files": [
40
41
  "src/",
41
42
  "bin/",
@@ -43,7 +43,7 @@ function ask(question) {
43
43
  const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
44
44
  rl.question(question, (answer) => {
45
45
  rl.close();
46
- resolve(String(answer || '').trim());
46
+ resolve(String(answer || ''));
47
47
  });
48
48
  });
49
49
  }
@@ -65,8 +65,13 @@ async function run() {
65
65
  return;
66
66
  }
67
67
 
68
- console.log('\n[mumpix] attempting automatic account link (interactive install).');
69
- console.log('[mumpix] if you close/cancel browser auth, install continues in eventual mode.');
68
+ console.log('\n[mumpix] press Enter to login and link your account.');
69
+ const answer = await ask('[mumpix] press Enter to continue, or press any other key to install free (eventual mode): ');
70
+ if (String(answer).trim().length > 0) {
71
+ console.log('[mumpix] auth skipped. default mode is eventual.');
72
+ return;
73
+ }
74
+ console.log('[mumpix] opening Mumpix in your browser to verify account access...');
70
75
 
71
76
  const state = await loginWithDeviceFlow({
72
77
  onPrompt: ({ userCode, verifyUrl, expiresInSec, intervalSec }) => {
@@ -76,7 +81,7 @@ async function run() {
76
81
  } else {
77
82
  console.log(`[mumpix] open this URL in your browser: ${verifyUrl}`);
78
83
  }
79
- console.log(`[mumpix] enter code: ${userCode}`);
84
+ console.log('[mumpix] browser approval will run automatically when signed in.');
80
85
  console.log(`[mumpix] waiting for approval (expires in ${expiresInSec}s, polling ${intervalSec}s)...`);
81
86
  }
82
87
  });