nexus-cortex 4.125.4 → 4.127.0
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 +13 -0
- package/bin/cortex-cli.js +9 -0
- package/bin/cortex-launch.js +9 -0
- package/bin/fuzzycortex-cli.js +9 -0
- package/bin/fuzzycortex.js +9 -0
- package/bin/neoncortex.js +9 -0
- package/package.json +10 -4
package/README.md
CHANGED
|
@@ -19,6 +19,19 @@ Full docs, the REST API, and the embeddable library packages (`@nexus-cortex/cor
|
|
|
19
19
|
|
|
20
20
|
Apache-2.0 © Spitfire-Products.
|
|
21
21
|
|
|
22
|
+
## Terminal UIs
|
|
23
|
+
|
|
24
|
+
The install also carries the terminal UIs (since 4.127.0 — earlier installs needed a separate `npm install -g @nexus-cortex/tui`):
|
|
25
|
+
|
|
26
|
+
| command | what it is |
|
|
27
|
+
|---|---|
|
|
28
|
+
| `neoncortex` | the React/Ink terminal UI |
|
|
29
|
+
| `fuzzycortex`, `cortex-launch` | start the server and the UI together (the server stops when the UI exits) |
|
|
30
|
+
| `cortex-cli` | the minimal Ink UI |
|
|
31
|
+
| `fuzzycortex-cli` | the full interactive CLI (chat REPL + browsers) |
|
|
32
|
+
|
|
33
|
+
`cortex update` keeps them in lockstep with the CLI.
|
|
34
|
+
|
|
22
35
|
## First run
|
|
23
36
|
|
|
24
37
|
```bash
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// nexus-cortex (meta-package) — delegates to the `cortex-cli` bin in @nexus-cortex/tui (the React/Ink terminal UIs),
|
|
3
|
+
// which is installed as a dependency so `npm install -g nexus-cortex` / `cortex update` carry the TUIs too (2026-10-18).
|
|
4
|
+
// Args flow through via the shared process.argv.
|
|
5
|
+
import { createRequire } from 'node:module';
|
|
6
|
+
import { pathToFileURL } from 'node:url';
|
|
7
|
+
|
|
8
|
+
const require = createRequire(import.meta.url);
|
|
9
|
+
await import(pathToFileURL(require.resolve('@nexus-cortex/tui/bin/cortex-ui.js')).href);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// nexus-cortex (meta-package) — delegates to the `cortex-launch` bin in @nexus-cortex/tui (the React/Ink terminal UIs),
|
|
3
|
+
// which is installed as a dependency so `npm install -g nexus-cortex` / `cortex update` carry the TUIs too (2026-10-18).
|
|
4
|
+
// Args flow through via the shared process.argv.
|
|
5
|
+
import { createRequire } from 'node:module';
|
|
6
|
+
import { pathToFileURL } from 'node:url';
|
|
7
|
+
|
|
8
|
+
const require = createRequire(import.meta.url);
|
|
9
|
+
await import(pathToFileURL(require.resolve('@nexus-cortex/tui/bin/launcher.js')).href);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// nexus-cortex (meta-package) — delegates to the `fuzzycortex-cli` bin in @nexus-cortex/tui (the React/Ink terminal UIs),
|
|
3
|
+
// which is installed as a dependency so `npm install -g nexus-cortex` / `cortex update` carry the TUIs too (2026-10-18).
|
|
4
|
+
// Args flow through via the shared process.argv.
|
|
5
|
+
import { createRequire } from 'node:module';
|
|
6
|
+
import { pathToFileURL } from 'node:url';
|
|
7
|
+
|
|
8
|
+
const require = createRequire(import.meta.url);
|
|
9
|
+
await import(pathToFileURL(require.resolve('@nexus-cortex/tui/bin/cli-full.js')).href);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// nexus-cortex (meta-package) — delegates to the `fuzzycortex` bin in @nexus-cortex/tui (the React/Ink terminal UIs),
|
|
3
|
+
// which is installed as a dependency so `npm install -g nexus-cortex` / `cortex update` carry the TUIs too (2026-10-18).
|
|
4
|
+
// Args flow through via the shared process.argv.
|
|
5
|
+
import { createRequire } from 'node:module';
|
|
6
|
+
import { pathToFileURL } from 'node:url';
|
|
7
|
+
|
|
8
|
+
const require = createRequire(import.meta.url);
|
|
9
|
+
await import(pathToFileURL(require.resolve('@nexus-cortex/tui/bin/launcher.js')).href);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// nexus-cortex (meta-package) — delegates to the `neoncortex` bin in @nexus-cortex/tui (the React/Ink terminal UIs),
|
|
3
|
+
// which is installed as a dependency so `npm install -g nexus-cortex` / `cortex update` carry the TUIs too (2026-10-18).
|
|
4
|
+
// Args flow through via the shared process.argv.
|
|
5
|
+
import { createRequire } from 'node:module';
|
|
6
|
+
import { pathToFileURL } from 'node:url';
|
|
7
|
+
|
|
8
|
+
const require = createRequire(import.meta.url);
|
|
9
|
+
await import(pathToFileURL(require.resolve('@nexus-cortex/tui/bin/ink-ui.js')).href);
|
package/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nexus-cortex",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.127.0",
|
|
4
4
|
"description": "A headless, multi-provider AI agent harness. One install gives you the `cortex` CLI and HTTP server: npm i -g nexus-cortex.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"cortex": "bin/cortex.js",
|
|
8
|
-
"cortex-server": "bin/cortex-server.js"
|
|
8
|
+
"cortex-server": "bin/cortex-server.js",
|
|
9
|
+
"neoncortex": "bin/neoncortex.js",
|
|
10
|
+
"fuzzycortex": "bin/fuzzycortex.js",
|
|
11
|
+
"cortex-launch": "bin/cortex-launch.js",
|
|
12
|
+
"cortex-cli": "bin/cortex-cli.js",
|
|
13
|
+
"fuzzycortex-cli": "bin/fuzzycortex-cli.js"
|
|
9
14
|
},
|
|
10
15
|
"files": [
|
|
11
16
|
"bin",
|
|
@@ -14,8 +19,9 @@
|
|
|
14
19
|
"NOTICE"
|
|
15
20
|
],
|
|
16
21
|
"dependencies": {
|
|
17
|
-
"@nexus-cortex/cli": "4.
|
|
18
|
-
"@nexus-cortex/server": "4.
|
|
22
|
+
"@nexus-cortex/cli": "4.127.0",
|
|
23
|
+
"@nexus-cortex/server": "4.127.0",
|
|
24
|
+
"@nexus-cortex/tui": "4.127.0"
|
|
19
25
|
},
|
|
20
26
|
"engines": {
|
|
21
27
|
"node": ">=18.0.0"
|