@nexus-cortex/core 4.117.3 → 4.118.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/.env.defaults +13 -0
- package/dist/config/RuntimeConfigRegistry.d.ts.map +1 -1
- package/dist/config/RuntimeConfigRegistry.js +2 -0
- package/dist/config/RuntimeConfigRegistry.js.map +1 -1
- package/dist/config/SettingsLoader.d.ts.map +1 -1
- package/dist/config/SettingsLoader.js +2 -0
- package/dist/config/SettingsLoader.js.map +1 -1
- package/dist/config/SettingsSchema.d.ts +2 -0
- package/dist/config/SettingsSchema.d.ts.map +1 -1
- package/dist/config/SettingsSchema.js +18 -0
- package/dist/config/SettingsSchema.js.map +1 -1
- package/dist/config/effectiveConfig.d.ts.map +1 -1
- package/dist/config/effectiveConfig.js +2 -0
- package/dist/config/effectiveConfig.js.map +1 -1
- package/dist/middleware/HelperModelMiddleware.d.ts +3 -0
- package/dist/middleware/HelperModelMiddleware.d.ts.map +1 -1
- package/dist/middleware/HelperModelMiddleware.js +7 -4
- package/dist/middleware/HelperModelMiddleware.js.map +1 -1
- package/dist/orchestrator/CortexOrchestrator.d.ts.map +1 -1
- package/dist/orchestrator/CortexOrchestrator.js +63 -9
- package/dist/orchestrator/CortexOrchestrator.js.map +1 -1
- package/dist/training/liftPlanner.d.ts +28 -3
- package/dist/training/liftPlanner.d.ts.map +1 -1
- package/dist/training/liftPlanner.js +61 -7
- package/dist/training/liftPlanner.js.map +1 -1
- package/package.json +3 -3
|
@@ -33,6 +33,13 @@ export interface LiftPlanConfig {
|
|
|
33
33
|
/** Timeout (ms) for the orchestrator-side environment recon that feeds the planner. Bounded so a
|
|
34
34
|
* slow box can't stall the lift; fail-open to an empty report. */
|
|
35
35
|
reconTimeoutMs: number;
|
|
36
|
+
/** R171 HB-LIFT-PLAN-TOOL-LOOP (2026-09-18; the spec's §2.2 v2 "adaptive tool-using planner", built the R170 way — a
|
|
37
|
+
* harness-driven text protocol over the single-shot helper call). With toolRounds > 1 the planner may answer
|
|
38
|
+
* `INVESTIGATE` + `CHECK: <read-only cmd>` / `READ: <path>[:a-b]` lines instead of a plan; the harness runs them,
|
|
39
|
+
* appends an EVIDENCE block and asks again; the last round withdraws the option. Bounded by rounds + toolRoundBudgetMs
|
|
40
|
+
* (aggregate wall clock) — a turn cap, never a token cap (spec §2.4). Default 1 = single-shot, byte-identical. */
|
|
41
|
+
toolRounds: number;
|
|
42
|
+
toolRoundBudgetMs: number;
|
|
36
43
|
}
|
|
37
44
|
export declare function resolveLiftPlanConfig(env?: NodeJS.ProcessEnv): LiftPlanConfig;
|
|
38
45
|
/**
|
|
@@ -59,8 +66,24 @@ export declare const DOCTRINE_V2: string;
|
|
|
59
66
|
export declare const PLANNER_SYSTEM: string;
|
|
60
67
|
/** The 4.107.0 planner system prompt (no v2 doctrine bullets). */
|
|
61
68
|
export declare const PLANNER_SYSTEM_V1: string;
|
|
62
|
-
/**
|
|
63
|
-
export declare
|
|
69
|
+
/** R171: offered while investigation rounds remain — the planner may look before it plans. */
|
|
70
|
+
export declare const PLANNER_INVESTIGATE_CLAUSE: string;
|
|
71
|
+
/** R171: on the last round the option is withdrawn — plan now on what has been gathered. */
|
|
72
|
+
export declare const PLANNER_DECIDE_NOW_CLAUSE = "\n\nNo further investigation is available \u2014 write the plan now on the evidence you have (INVESTIGATE is no longer accepted).";
|
|
73
|
+
/** Select the planner persona by CORTEX_LIFT_PLAN_DOCTRINE ('v2' → bullets on; anything else → v1 baseline); R171 `investigate`
|
|
74
|
+
* = 'offer' while rounds remain, 'withdraw' on the last round of a multi-round plan, undefined for the single-shot default. */
|
|
75
|
+
export declare function plannerSystem(env?: NodeJS.ProcessEnv, investigate?: 'offer' | 'withdraw'): string;
|
|
76
|
+
/** R171: what the planner answered — a plan, or an investigation request (only honored while rounds remain). */
|
|
77
|
+
export interface PlannerResponse {
|
|
78
|
+
investigate: boolean;
|
|
79
|
+
/** `CHECK: <cmd>` lines (deduped, ≤4, backticks stripped). */
|
|
80
|
+
checks: string[];
|
|
81
|
+
/** `READ: <path>[:a-b]` lines (deduped, ≤4). */
|
|
82
|
+
reads: string[];
|
|
83
|
+
/** The plan text when not investigating (the raw response, trimmed). */
|
|
84
|
+
plan: string;
|
|
85
|
+
}
|
|
86
|
+
export declare function parsePlannerResponse(text: string): PlannerResponse;
|
|
64
87
|
export interface LiftPlanContext {
|
|
65
88
|
/** The task statement (the instruction the agent received). */
|
|
66
89
|
task: string;
|
|
@@ -69,9 +92,11 @@ export interface LiftPlanContext {
|
|
|
69
92
|
/** Orchestrator-gathered environment report (ENV_RECON_COMMAND output): tooling present, installed
|
|
70
93
|
* packages, resources, test files. Lets the planner steer installs + timeouts accurately. */
|
|
71
94
|
envReport?: string;
|
|
95
|
+
/** R171: EVIDENCE blocks from earlier investigation rounds of THIS planning call (oldest first). */
|
|
96
|
+
evidenceRounds?: string[];
|
|
72
97
|
}
|
|
73
98
|
/**
|
|
74
99
|
* Build the user prompt sent to the planner. Bounded slices keep the call cheap and cache-stable.
|
|
75
100
|
*/
|
|
76
|
-
export declare function buildPlannerUserPrompt(ctx: LiftPlanContext): string;
|
|
101
|
+
export declare function buildPlannerUserPrompt(ctx: LiftPlanContext, investigate?: 'offer' | 'withdraw'): string;
|
|
77
102
|
//# sourceMappingURL=liftPlanner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liftPlanner.d.ts","sourceRoot":"","sources":["../../src/training/liftPlanner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,MAAM,WAAW,cAAc;IAC7B;;;;;OAKG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;uEACmE;IACnE,cAAc,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"liftPlanner.d.ts","sourceRoot":"","sources":["../../src/training/liftPlanner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;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8F;IAC9F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oGAAoG;IACpG,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,eAAe,EAAE,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,MAAM,CA4BvG"}
|
|
@@ -15,15 +15,19 @@
|
|
|
15
15
|
* call (v1 is single-shot; a token cap would truncate DeepSeek mid-thought, so v1 is bounded by
|
|
16
16
|
* the output budget, not a token/turn cap — see spec §2.4). Sibling of mentorConsult.ts.
|
|
17
17
|
*/
|
|
18
|
-
const DEFAULTS = { outputBudgetTokens: 4000, effort: 'max', reconTimeoutMs: 8000 };
|
|
18
|
+
const DEFAULTS = { outputBudgetTokens: 4000, effort: 'max', reconTimeoutMs: 8000, toolRounds: 1, toolRoundBudgetMs: 240_000 };
|
|
19
19
|
export function resolveLiftPlanConfig(env = process.env) {
|
|
20
20
|
const n = parseInt((env.CORTEX_LIFT_PLAN_BUDGET_TOKENS ?? '').trim(), 10);
|
|
21
21
|
const e = (env.CORTEX_LIFT_PLAN_EFFORT ?? '').trim();
|
|
22
22
|
const r = parseInt((env.CORTEX_LIFT_PLAN_RECON_TIMEOUT_MS ?? '').trim(), 10);
|
|
23
|
+
const tr = parseInt((env.CORTEX_LIFT_PLAN_TOOL_ROUNDS ?? '').trim(), 10);
|
|
24
|
+
const trb = parseInt((env.CORTEX_LIFT_PLAN_TOOL_ROUND_BUDGET_MS ?? '').trim(), 10);
|
|
23
25
|
return {
|
|
24
26
|
outputBudgetTokens: Number.isInteger(n) && n > 0 ? n : DEFAULTS.outputBudgetTokens,
|
|
25
27
|
effort: e || DEFAULTS.effort,
|
|
26
28
|
reconTimeoutMs: Number.isInteger(r) && r > 0 ? r : DEFAULTS.reconTimeoutMs,
|
|
29
|
+
toolRounds: Number.isInteger(tr) && tr >= 1 ? Math.min(5, tr) : DEFAULTS.toolRounds,
|
|
30
|
+
toolRoundBudgetMs: Number.isInteger(trb) && trb >= 10_000 ? Math.min(1_800_000, trb) : DEFAULTS.toolRoundBudgetMs,
|
|
27
31
|
};
|
|
28
32
|
}
|
|
29
33
|
/**
|
|
@@ -99,14 +103,49 @@ export const PLANNER_SYSTEM = 'You are a senior engineer writing a battle-tested
|
|
|
99
103
|
'actions. Be specific and terse. Do not write the full solution or long code blocks.';
|
|
100
104
|
/** The 4.107.0 planner system prompt (no v2 doctrine bullets). */
|
|
101
105
|
export const PLANNER_SYSTEM_V1 = PLANNER_SYSTEM.replace(DOCTRINE_V2, '');
|
|
102
|
-
/**
|
|
103
|
-
export
|
|
104
|
-
|
|
106
|
+
/** R171: offered while investigation rounds remain — the planner may look before it plans. */
|
|
107
|
+
export const PLANNER_INVESTIGATE_CLAUSE = '\n\nYou may INVESTIGATE before planning: if the report and observations do not show what you need — the real test file, the ' +
|
|
108
|
+
'grader\'s entry point, an input format, a config, what a tool actually prints — answer with the first line `INVESTIGATE` ' +
|
|
109
|
+
'followed by up to three `CHECK: <read-only command>` lines (ls / cat / head / grep / a test runner in list mode; the harness ' +
|
|
110
|
+
'runs them from the workspace root) and up to three `READ: <path>[:START-END]` lines (a file, optionally a line range). The ' +
|
|
111
|
+
'harness runs them and shows you an EVIDENCE block, then asks again. Prefer reading the real tests and criteria over guessing them.';
|
|
112
|
+
/** R171: on the last round the option is withdrawn — plan now on what has been gathered. */
|
|
113
|
+
export const PLANNER_DECIDE_NOW_CLAUSE = '\n\nNo further investigation is available — write the plan now on the evidence you have (INVESTIGATE is no longer accepted).';
|
|
114
|
+
/** Select the planner persona by CORTEX_LIFT_PLAN_DOCTRINE ('v2' → bullets on; anything else → v1 baseline); R171 `investigate`
|
|
115
|
+
* = 'offer' while rounds remain, 'withdraw' on the last round of a multi-round plan, undefined for the single-shot default. */
|
|
116
|
+
export function plannerSystem(env = process.env, investigate) {
|
|
117
|
+
const base = (env.CORTEX_LIFT_PLAN_DOCTRINE || '').trim().toLowerCase() === 'v2' ? PLANNER_SYSTEM : PLANNER_SYSTEM_V1;
|
|
118
|
+
return investigate === 'offer' ? base + PLANNER_INVESTIGATE_CLAUSE : investigate === 'withdraw' ? base + PLANNER_DECIDE_NOW_CLAUSE : base;
|
|
119
|
+
}
|
|
120
|
+
export function parsePlannerResponse(text) {
|
|
121
|
+
const t = (text || '').trim();
|
|
122
|
+
const first = t.split('\n').find((l) => l.trim()) ?? '';
|
|
123
|
+
const investigate = /^\s*(?:[-*#>]+\s*)?(?:VERDICT:\s*)?INVESTIGATE\b/i.test(first);
|
|
124
|
+
const checks = [];
|
|
125
|
+
const reads = [];
|
|
126
|
+
if (investigate) {
|
|
127
|
+
for (const line of t.split('\n')) {
|
|
128
|
+
const cl = line.match(/^\s*(?:[-*\d.)]+\s*)?CHECK:\s*(.+?)\s*$/i);
|
|
129
|
+
if (cl) {
|
|
130
|
+
const cmd = cl[1].replace(/^`+|`+$/g, '').trim();
|
|
131
|
+
if (cmd && cmd.length <= 400 && !checks.includes(cmd))
|
|
132
|
+
checks.push(cmd);
|
|
133
|
+
continue;
|
|
134
|
+
}
|
|
135
|
+
const rl = line.match(/^\s*(?:[-*\d.)]+\s*)?READ:\s*(.+?)\s*$/i);
|
|
136
|
+
if (rl) {
|
|
137
|
+
const spec = rl[1].replace(/^`+|`+$/g, '').trim();
|
|
138
|
+
if (spec && spec.length <= 300 && !reads.includes(spec))
|
|
139
|
+
reads.push(spec);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
return { investigate, checks: checks.slice(0, 4), reads: reads.slice(0, 4), plan: investigate ? '' : t };
|
|
105
144
|
}
|
|
106
145
|
/**
|
|
107
146
|
* Build the user prompt sent to the planner. Bounded slices keep the call cheap and cache-stable.
|
|
108
147
|
*/
|
|
109
|
-
export function buildPlannerUserPrompt(ctx) {
|
|
148
|
+
export function buildPlannerUserPrompt(ctx, investigate) {
|
|
110
149
|
const parts = [];
|
|
111
150
|
parts.push(`TASK:\n${(ctx.task || '').trim().slice(0, 2000)}`);
|
|
112
151
|
const env = (ctx.envReport || '').trim();
|
|
@@ -117,8 +156,23 @@ export function buildPlannerUserPrompt(ctx) {
|
|
|
117
156
|
if (obs) {
|
|
118
157
|
parts.push(`WHAT THE AGENT HAS OBSERVED SO FAR (its first action + output):\n${obs.slice(0, 2000)}`);
|
|
119
158
|
}
|
|
120
|
-
|
|
121
|
-
|
|
159
|
+
for (const ev of ctx.evidenceRounds ?? []) {
|
|
160
|
+
const e = (ev || '').trim();
|
|
161
|
+
if (e)
|
|
162
|
+
parts.push(e.slice(0, 6000));
|
|
163
|
+
} // R171
|
|
164
|
+
if (investigate === 'offer') {
|
|
165
|
+
parts.push('Decide whether you can name the REAL criteria and the first steps from what is shown. If not — the real tests, the grader ' +
|
|
166
|
+
'entry point, an input/output format or a tool\'s behavior are still unknown — your first line is `INVESTIGATE`, followed by ' +
|
|
167
|
+
'up to three `CHECK: <read-only command>` lines and up to three `READ: <path>[:START-END]` lines; the harness runs them and asks ' +
|
|
168
|
+
'you again with the results. Otherwise produce the criteria-anchored numbered plan now (or a RETIRE plan if there is no viable ' +
|
|
169
|
+
'path within budget). Steer installs/timeouts from the ENVIRONMENT REPORT. The junior will follow it verbatim.');
|
|
170
|
+
}
|
|
171
|
+
else {
|
|
172
|
+
parts.push((investigate === 'withdraw' ? 'No further investigation is available. ' : '') +
|
|
173
|
+
'Produce the criteria-anchored numbered plan now (or a RETIRE plan if there is no viable path ' +
|
|
174
|
+
'within budget). Steer installs/timeouts from the ENVIRONMENT REPORT. The junior will follow it verbatim.');
|
|
175
|
+
}
|
|
122
176
|
return parts.join('\n\n');
|
|
123
177
|
}
|
|
124
178
|
//# sourceMappingURL=liftPlanner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"liftPlanner.js","sourceRoot":"","sources":["../../src/training/liftPlanner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;
|
|
1
|
+
{"version":3,"file":"li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AC,yCAAyC,CAAC,CAAC,CAAC,EAAE,CAAC;YAC3E,+FAA+F;YAC/F,0GAA0G,CAC7G,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC5B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cortex/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.118.0",
|
|
4
4
|
"description": "Core orchestration library implementing Claude CLI architecture patterns",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@google/generative-ai": "^0.2.1",
|
|
48
48
|
"@gradio/client": "^2.3.1",
|
|
49
49
|
"@modelcontextprotocol/sdk": "^1.20.2",
|
|
50
|
-
"@nexus-cortex/executors": "4.
|
|
51
|
-
"@nexus-cortex/types": "4.
|
|
50
|
+
"@nexus-cortex/executors": "4.118.0",
|
|
51
|
+
"@nexus-cortex/types": "4.118.0",
|
|
52
52
|
"@types/uuid": "^10.0.0",
|
|
53
53
|
"ajv": "^8.12.0",
|
|
54
54
|
"chokidar": "^3.6.0",
|