@nexus-cortex/server 4.127.2 → 4.129.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/agents/README.md
CHANGED
|
@@ -13,6 +13,20 @@ This directory contains Task Agent profiles. The orchestrator spawns agents via
|
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
16
|
+
## Agent profile fields (frontmatter) — R266/R267, 2026-10-19
|
|
17
|
+
|
|
18
|
+
| field | meaning |
|
|
19
|
+
|---|---|
|
|
20
|
+
| `name`, `description` | identity; `description` is what the parent reads when choosing a `subagent_type` |
|
|
21
|
+
| `tools` | the delegate's allowlist (`all` = the deferred surface the parent has). SearchTools and EndTurn always survive it. The parent may widen it per call with `Task.tools: [...]` (ignored for `all`). |
|
|
22
|
+
| `model` | `inherit`, an alias, or a full model id |
|
|
23
|
+
| `anchor` | `bash-edit` \| `bash-only` \| `bash-plus` \| `lean` \| `none`. Unset = no turn-0 anchor: a delegate is a role agent and starts with its allowlist. Set it to give the delegate the parent's narrow door (see `action-agent.md`). |
|
|
24
|
+
| `mcp` | comma list of MCP servers to auto-connect for this delegate (e.g. `nexus-browser`); their tools are injected and never stripped by deferred loading. Note: the `Browse` tool itself is refused inside a delegate (recursion guard) — a browsing profile declares `mcp: nexus-browser` and drives `nexus-browser__*` directly, as `web-researcher` does. |
|
|
25
|
+
| body (after the frontmatter) | the delegate's SYSTEM PROMPT, replacing the card prompt. Leave it EMPTY to keep the card's own prompt (the narrow frame) — that is what `action-agent` does. |
|
|
26
|
+
|
|
27
|
+
Two shipped shapes: **role agents** (`web-researcher`, the inline `browse-agent`: own prompt, tailored allowlist, no anchor) and the
|
|
28
|
+
**action agent** (`action-agent`: card prompt + `bash-edit` anchor + `tools: all`, widened per call with `Task.tools`).
|
|
29
|
+
|
|
16
30
|
## Mode 1: Solo Agent
|
|
17
31
|
|
|
18
32
|
A single Task tool call spawns one agent. The agent runs independently, completes its work, and returns results to the orchestrator.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: action-agent
|
|
3
|
+
description: Narrow-frame ACTION delegate for a scoped coding sub-task. Enters through the parent's own Bash+Edit door (turn-0 anchor, orient, lift) with the card prompt — no persona. Use for "do this concrete change/run/measurement and report" work. Widen per call with Task.tools (e.g. ["Write","WebSearch"]) when the sub-task needs more than the narrow frame.
|
|
4
|
+
tools: all
|
|
5
|
+
model: inherit
|
|
6
|
+
anchor: bash-edit
|
|
7
|
+
---
|
|
@@ -9,10 +9,13 @@ tools:
|
|
|
9
9
|
- Write
|
|
10
10
|
- Bash
|
|
11
11
|
model: inherit
|
|
12
|
+
mcp: nexus-browser
|
|
12
13
|
---
|
|
13
14
|
|
|
14
15
|
# Web Research Agent
|
|
15
16
|
|
|
17
|
+
You run as a delegate: the `Browse` tool is NOT available inside a delegate (recursion guard). Drive the browser directly with the `nexus-browser__*` MCP tools (browse, scan, click, type, grab, extract_table, screenshot, close_session) — they are connected for you.
|
|
18
|
+
|
|
16
19
|
You are a research agent specializing in gathering intelligence from live websites. Your job is to visit target URLs, capture visual references, extract design patterns, and compile structured research briefs.
|
|
17
20
|
|
|
18
21
|
## Capabilities
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cortex/server",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.129.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.129.0",
|
|
24
|
+
"@nexus-cortex/executors": "4.129.0",
|
|
25
25
|
"chalk": "^5.3.0",
|
|
26
26
|
"cors": "^2.8.5",
|
|
27
27
|
"dotenv": "^16.4.5",
|