@nexus-cortex/server 4.91.0 → 4.92.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/.cortex/orient +9 -6
- package/package.json +3 -3
package/.cortex/orient
CHANGED
|
@@ -38,12 +38,15 @@ for b in file xxd strings ps pgrep free pdftotext tesseract gcc make git curl; d
|
|
|
38
38
|
if command -v "$b" >/dev/null 2>&1; then HAVE="$HAVE $b"; else MISS="$MISS $b"; fi
|
|
39
39
|
done
|
|
40
40
|
echo "-- tooling:${TI:- (no python/node on PATH)} | have:${HAVE:- none} | missing:${MISS:- none}"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
# Bare-box hint (2026-09-03, operator-simplified): a task container may ship WITHOUT the language, compiler,
|
|
42
|
+
# package or library the objective needs — on purpose (the agent phase is bare; internet is usually allowed).
|
|
43
|
+
# State the FACTS (package manager present, whether we are root) and ONE principled directive — no command
|
|
44
|
+
# cookbook: the model bootstraps correctly on its own (pro solved a bare-box torch task with only this line).
|
|
45
|
+
# Prescribing exact incantations is prompt mass that misdirects; observation + intent is enough.
|
|
46
|
+
if [ "${CORTEX_ORIENT_BOOTSTRAP:-0}" = "1" ] && { ! command -v python3 >/dev/null 2>&1 && ! command -v python >/dev/null 2>&1 || ! command -v cc >/dev/null 2>&1; }; then
|
|
47
|
+
PM=""; for m in apt-get apk dnf yum pacman zypper brew; do command -v "$m" >/dev/null 2>&1 && { PM="$m"; break; }; done
|
|
48
|
+
ROOT=$([ "$(id -u 2>/dev/null)" = "0" ] && echo yes || echo no)
|
|
49
|
+
echo "-- setup: this box may be missing a tool/language/library the task needs (pkg-mgr=${PM:-none}, root=$ROOT). If so, INSTALL what you need yourself following standard practice (the system package manager, or the language's own installer); install ONCE and reuse it, and prefer a fast cached installer for the language (uv for Python, bun for JS) — do not re-download a large dependency twice. Pin versions, then verify with a real run before finishing. An empty box is part of the task, not an error."
|
|
47
50
|
fi
|
|
48
51
|
if [ -f README.md ]; then
|
|
49
52
|
echo "-- README head --"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cortex/server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.92.0",
|
|
4
4
|
"description": "Thin Express server wrapper for Nexus Cortex core library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"prepack": "node ../../scripts/copy-pkg-cortex-scaffold.mjs"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@nexus-cortex/core": "4.
|
|
24
|
-
"@nexus-cortex/executors": "4.
|
|
23
|
+
"@nexus-cortex/core": "4.92.0",
|
|
24
|
+
"@nexus-cortex/executors": "4.92.0",
|
|
25
25
|
"chalk": "^5.3.0",
|
|
26
26
|
"cors": "^2.8.5",
|
|
27
27
|
"dotenv": "^16.4.5",
|