inillucent 1.0.31 → 1.0.32
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/inillucent-mcp.mjs +33 -33
- package/bin/inillucent-migrate.mjs +33 -33
- package/bin/inillucent-shell.mjs +33 -33
- package/bin/inillucent.mjs +33 -33
- package/package.json +6 -6
package/bin/inillucent-mcp.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// The `inillucent-mcp` shim: resolve the platform binary and become it.
|
|
3
|
-
//
|
|
4
|
-
// `spawn` with `stdio: 'inherit'` rather than an exec, because Node has no
|
|
5
|
-
// execve and this has to work on Windows. The child's exit code and its signal
|
|
6
|
-
// are both passed back up: a wrapper that always exited 0 would break every
|
|
7
|
-
// script that branches on the exit code, and inillucent's exit codes carry
|
|
8
|
-
// meaning - 3 is "the engine has not built that".
|
|
9
|
-
import { spawn } from 'node:child_process';
|
|
10
|
-
import { resolveBinary } from '../resolve.mjs';
|
|
11
|
-
|
|
12
|
-
let binary;
|
|
13
|
-
try {
|
|
14
|
-
binary = resolveBinary('inillucent-mcp');
|
|
15
|
-
} catch (why) {
|
|
16
|
-
process.stderr.write(String(why.message ?? why) + '\n');
|
|
17
|
-
process.exit(1);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
|
|
21
|
-
child.on('error', (why) => {
|
|
22
|
-
process.stderr.write(`inillucent: could not run ${binary}: ${why.message}\n`);
|
|
23
|
-
process.exit(1);
|
|
24
|
-
});
|
|
25
|
-
child.on('exit', (code, signal) => {
|
|
26
|
-
if (signal) {
|
|
27
|
-
// Re-raise it on ourselves so a shell sees the same thing it would have
|
|
28
|
-
// seen from the real program, rather than a plain exit.
|
|
29
|
-
process.kill(process.pid, signal);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
process.exit(code ?? 0);
|
|
33
|
-
});
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// The `inillucent-mcp` shim: resolve the platform binary and become it.
|
|
3
|
+
//
|
|
4
|
+
// `spawn` with `stdio: 'inherit'` rather than an exec, because Node has no
|
|
5
|
+
// execve and this has to work on Windows. The child's exit code and its signal
|
|
6
|
+
// are both passed back up: a wrapper that always exited 0 would break every
|
|
7
|
+
// script that branches on the exit code, and inillucent's exit codes carry
|
|
8
|
+
// meaning - 3 is "the engine has not built that".
|
|
9
|
+
import { spawn } from 'node:child_process';
|
|
10
|
+
import { resolveBinary } from '../resolve.mjs';
|
|
11
|
+
|
|
12
|
+
let binary;
|
|
13
|
+
try {
|
|
14
|
+
binary = resolveBinary('inillucent-mcp');
|
|
15
|
+
} catch (why) {
|
|
16
|
+
process.stderr.write(String(why.message ?? why) + '\n');
|
|
17
|
+
process.exit(1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
|
|
21
|
+
child.on('error', (why) => {
|
|
22
|
+
process.stderr.write(`inillucent: could not run ${binary}: ${why.message}\n`);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
});
|
|
25
|
+
child.on('exit', (code, signal) => {
|
|
26
|
+
if (signal) {
|
|
27
|
+
// Re-raise it on ourselves so a shell sees the same thing it would have
|
|
28
|
+
// seen from the real program, rather than a plain exit.
|
|
29
|
+
process.kill(process.pid, signal);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
process.exit(code ?? 0);
|
|
33
|
+
});
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// The `inillucent-migrate` shim: resolve the platform binary and become it.
|
|
3
|
-
//
|
|
4
|
-
// `spawn` with `stdio: 'inherit'` rather than an exec, because Node has no
|
|
5
|
-
// execve and this has to work on Windows. The child's exit code and its signal
|
|
6
|
-
// are both passed back up: a wrapper that always exited 0 would break every
|
|
7
|
-
// script that branches on the exit code, and inillucent's exit codes carry
|
|
8
|
-
// meaning - 3 is "the engine has not built that".
|
|
9
|
-
import { spawn } from 'node:child_process';
|
|
10
|
-
import { resolveBinary } from '../resolve.mjs';
|
|
11
|
-
|
|
12
|
-
let binary;
|
|
13
|
-
try {
|
|
14
|
-
binary = resolveBinary('inillucent-migrate');
|
|
15
|
-
} catch (why) {
|
|
16
|
-
process.stderr.write(String(why.message ?? why) + '\n');
|
|
17
|
-
process.exit(1);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
|
|
21
|
-
child.on('error', (why) => {
|
|
22
|
-
process.stderr.write(`inillucent: could not run ${binary}: ${why.message}\n`);
|
|
23
|
-
process.exit(1);
|
|
24
|
-
});
|
|
25
|
-
child.on('exit', (code, signal) => {
|
|
26
|
-
if (signal) {
|
|
27
|
-
// Re-raise it on ourselves so a shell sees the same thing it would have
|
|
28
|
-
// seen from the real program, rather than a plain exit.
|
|
29
|
-
process.kill(process.pid, signal);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
process.exit(code ?? 0);
|
|
33
|
-
});
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// The `inillucent-migrate` shim: resolve the platform binary and become it.
|
|
3
|
+
//
|
|
4
|
+
// `spawn` with `stdio: 'inherit'` rather than an exec, because Node has no
|
|
5
|
+
// execve and this has to work on Windows. The child's exit code and its signal
|
|
6
|
+
// are both passed back up: a wrapper that always exited 0 would break every
|
|
7
|
+
// script that branches on the exit code, and inillucent's exit codes carry
|
|
8
|
+
// meaning - 3 is "the engine has not built that".
|
|
9
|
+
import { spawn } from 'node:child_process';
|
|
10
|
+
import { resolveBinary } from '../resolve.mjs';
|
|
11
|
+
|
|
12
|
+
let binary;
|
|
13
|
+
try {
|
|
14
|
+
binary = resolveBinary('inillucent-migrate');
|
|
15
|
+
} catch (why) {
|
|
16
|
+
process.stderr.write(String(why.message ?? why) + '\n');
|
|
17
|
+
process.exit(1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
|
|
21
|
+
child.on('error', (why) => {
|
|
22
|
+
process.stderr.write(`inillucent: could not run ${binary}: ${why.message}\n`);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
});
|
|
25
|
+
child.on('exit', (code, signal) => {
|
|
26
|
+
if (signal) {
|
|
27
|
+
// Re-raise it on ourselves so a shell sees the same thing it would have
|
|
28
|
+
// seen from the real program, rather than a plain exit.
|
|
29
|
+
process.kill(process.pid, signal);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
process.exit(code ?? 0);
|
|
33
|
+
});
|
package/bin/inillucent-shell.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// The `inillucent-shell` shim: resolve the platform binary and become it.
|
|
3
|
-
//
|
|
4
|
-
// `spawn` with `stdio: 'inherit'` rather than an exec, because Node has no
|
|
5
|
-
// execve and this has to work on Windows. The child's exit code and its signal
|
|
6
|
-
// are both passed back up: a wrapper that always exited 0 would break every
|
|
7
|
-
// script that branches on the exit code, and inillucent's exit codes carry
|
|
8
|
-
// meaning - 3 is "the engine has not built that".
|
|
9
|
-
import { spawn } from 'node:child_process';
|
|
10
|
-
import { resolveBinary } from '../resolve.mjs';
|
|
11
|
-
|
|
12
|
-
let binary;
|
|
13
|
-
try {
|
|
14
|
-
binary = resolveBinary('inillucent-shell');
|
|
15
|
-
} catch (why) {
|
|
16
|
-
process.stderr.write(String(why.message ?? why) + '\n');
|
|
17
|
-
process.exit(1);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
|
|
21
|
-
child.on('error', (why) => {
|
|
22
|
-
process.stderr.write(`inillucent: could not run ${binary}: ${why.message}\n`);
|
|
23
|
-
process.exit(1);
|
|
24
|
-
});
|
|
25
|
-
child.on('exit', (code, signal) => {
|
|
26
|
-
if (signal) {
|
|
27
|
-
// Re-raise it on ourselves so a shell sees the same thing it would have
|
|
28
|
-
// seen from the real program, rather than a plain exit.
|
|
29
|
-
process.kill(process.pid, signal);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
process.exit(code ?? 0);
|
|
33
|
-
});
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// The `inillucent-shell` shim: resolve the platform binary and become it.
|
|
3
|
+
//
|
|
4
|
+
// `spawn` with `stdio: 'inherit'` rather than an exec, because Node has no
|
|
5
|
+
// execve and this has to work on Windows. The child's exit code and its signal
|
|
6
|
+
// are both passed back up: a wrapper that always exited 0 would break every
|
|
7
|
+
// script that branches on the exit code, and inillucent's exit codes carry
|
|
8
|
+
// meaning - 3 is "the engine has not built that".
|
|
9
|
+
import { spawn } from 'node:child_process';
|
|
10
|
+
import { resolveBinary } from '../resolve.mjs';
|
|
11
|
+
|
|
12
|
+
let binary;
|
|
13
|
+
try {
|
|
14
|
+
binary = resolveBinary('inillucent-shell');
|
|
15
|
+
} catch (why) {
|
|
16
|
+
process.stderr.write(String(why.message ?? why) + '\n');
|
|
17
|
+
process.exit(1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
|
|
21
|
+
child.on('error', (why) => {
|
|
22
|
+
process.stderr.write(`inillucent: could not run ${binary}: ${why.message}\n`);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
});
|
|
25
|
+
child.on('exit', (code, signal) => {
|
|
26
|
+
if (signal) {
|
|
27
|
+
// Re-raise it on ourselves so a shell sees the same thing it would have
|
|
28
|
+
// seen from the real program, rather than a plain exit.
|
|
29
|
+
process.kill(process.pid, signal);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
process.exit(code ?? 0);
|
|
33
|
+
});
|
package/bin/inillucent.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
// The `inillucent` shim: resolve the platform binary and become it.
|
|
3
|
-
//
|
|
4
|
-
// `spawn` with `stdio: 'inherit'` rather than an exec, because Node has no
|
|
5
|
-
// execve and this has to work on Windows. The child's exit code and its signal
|
|
6
|
-
// are both passed back up: a wrapper that always exited 0 would break every
|
|
7
|
-
// script that branches on the exit code, and inillucent's exit codes carry
|
|
8
|
-
// meaning - 3 is "the engine has not built that".
|
|
9
|
-
import { spawn } from 'node:child_process';
|
|
10
|
-
import { resolveBinary } from '../resolve.mjs';
|
|
11
|
-
|
|
12
|
-
let binary;
|
|
13
|
-
try {
|
|
14
|
-
binary = resolveBinary('inillucent');
|
|
15
|
-
} catch (why) {
|
|
16
|
-
process.stderr.write(String(why.message ?? why) + '\n');
|
|
17
|
-
process.exit(1);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
|
|
21
|
-
child.on('error', (why) => {
|
|
22
|
-
process.stderr.write(`inillucent: could not run ${binary}: ${why.message}\n`);
|
|
23
|
-
process.exit(1);
|
|
24
|
-
});
|
|
25
|
-
child.on('exit', (code, signal) => {
|
|
26
|
-
if (signal) {
|
|
27
|
-
// Re-raise it on ourselves so a shell sees the same thing it would have
|
|
28
|
-
// seen from the real program, rather than a plain exit.
|
|
29
|
-
process.kill(process.pid, signal);
|
|
30
|
-
return;
|
|
31
|
-
}
|
|
32
|
-
process.exit(code ?? 0);
|
|
33
|
-
});
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// The `inillucent` shim: resolve the platform binary and become it.
|
|
3
|
+
//
|
|
4
|
+
// `spawn` with `stdio: 'inherit'` rather than an exec, because Node has no
|
|
5
|
+
// execve and this has to work on Windows. The child's exit code and its signal
|
|
6
|
+
// are both passed back up: a wrapper that always exited 0 would break every
|
|
7
|
+
// script that branches on the exit code, and inillucent's exit codes carry
|
|
8
|
+
// meaning - 3 is "the engine has not built that".
|
|
9
|
+
import { spawn } from 'node:child_process';
|
|
10
|
+
import { resolveBinary } from '../resolve.mjs';
|
|
11
|
+
|
|
12
|
+
let binary;
|
|
13
|
+
try {
|
|
14
|
+
binary = resolveBinary('inillucent');
|
|
15
|
+
} catch (why) {
|
|
16
|
+
process.stderr.write(String(why.message ?? why) + '\n');
|
|
17
|
+
process.exit(1);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const child = spawn(binary, process.argv.slice(2), { stdio: 'inherit' });
|
|
21
|
+
child.on('error', (why) => {
|
|
22
|
+
process.stderr.write(`inillucent: could not run ${binary}: ${why.message}\n`);
|
|
23
|
+
process.exit(1);
|
|
24
|
+
});
|
|
25
|
+
child.on('exit', (code, signal) => {
|
|
26
|
+
if (signal) {
|
|
27
|
+
// Re-raise it on ourselves so a shell sees the same thing it would have
|
|
28
|
+
// seen from the real program, rather than a plain exit.
|
|
29
|
+
process.kill(process.pid, signal);
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
process.exit(code ?? 0);
|
|
33
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "inillucent",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"description": "Embedded SQL database with full-text and vector search, an MCP server, and a sqlite3-shaped shell. No native build step: the binaries ship as platform packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"database",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"README.md"
|
|
44
44
|
],
|
|
45
45
|
"optionalDependencies": {
|
|
46
|
-
"@blackrainbowlabs/cli-win32-x64": "1.0.
|
|
47
|
-
"@blackrainbowlabs/cli-darwin-arm64": "1.0.
|
|
48
|
-
"@blackrainbowlabs/cli-darwin-x64": "1.0.
|
|
49
|
-
"@blackrainbowlabs/cli-linux-x64": "1.0.
|
|
50
|
-
"@blackrainbowlabs/cli-linux-arm64": "1.0.
|
|
46
|
+
"@blackrainbowlabs/cli-win32-x64": "1.0.32",
|
|
47
|
+
"@blackrainbowlabs/cli-darwin-arm64": "1.0.32",
|
|
48
|
+
"@blackrainbowlabs/cli-darwin-x64": "1.0.32",
|
|
49
|
+
"@blackrainbowlabs/cli-linux-x64": "1.0.32",
|
|
50
|
+
"@blackrainbowlabs/cli-linux-arm64": "1.0.32"
|
|
51
51
|
}
|
|
52
52
|
}
|