@nexus-cortex/core 4.81.0 → 4.83.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/dist/adapters/GatewayTranslationLayer.d.ts +19 -0
- package/dist/adapters/GatewayTranslationLayer.d.ts.map +1 -1
- package/dist/adapters/GatewayTranslationLayer.js +15 -1
- package/dist/adapters/GatewayTranslationLayer.js.map +1 -1
- package/dist/config/SettingsLoader.d.ts +5 -2
- package/dist/config/SettingsLoader.d.ts.map +1 -1
- package/dist/config/SettingsLoader.js +32 -2
- package/dist/config/SettingsLoader.js.map +1 -1
- package/dist/config/SettingsSchema.js +12 -12
- package/dist/config/SettingsSchema.js.map +1 -1
- package/dist/interfaces/APITransport.d.ts +4 -0
- package/dist/interfaces/APITransport.d.ts.map +1 -1
- package/dist/middleware/HelperModelMiddleware.d.ts +17 -0
- package/dist/middleware/HelperModelMiddleware.d.ts.map +1 -1
- package/dist/middleware/HelperModelMiddleware.js +24 -0
- package/dist/middleware/HelperModelMiddleware.js.map +1 -1
- package/dist/orchestrator/APIClient.d.ts +9 -0
- package/dist/orchestrator/APIClient.d.ts.map +1 -1
- package/dist/orchestrator/APIClient.js +31 -0
- package/dist/orchestrator/APIClient.js.map +1 -1
- package/dist/orchestrator/CortexOrchestrator.d.ts +27 -0
- package/dist/orchestrator/CortexOrchestrator.d.ts.map +1 -1
- package/dist/orchestrator/CortexOrchestrator.js +145 -4
- package/dist/orchestrator/CortexOrchestrator.js.map +1 -1
- package/dist/orchestrator/toolChoiceTranslation.d.ts +32 -0
- package/dist/orchestrator/toolChoiceTranslation.d.ts.map +1 -0
- package/dist/orchestrator/toolChoiceTranslation.js +74 -0
- package/dist/orchestrator/toolChoiceTranslation.js.map +1 -0
- package/dist/tools/registries/BaseToolRegistry.d.ts.map +1 -1
- package/dist/tools/registries/BaseToolRegistry.js +30 -0
- package/dist/tools/registries/BaseToolRegistry.js.map +1 -1
- package/dist/training/DecisionStore.d.ts +14 -1
- package/dist/training/DecisionStore.d.ts.map +1 -1
- package/dist/training/DecisionStore.js +67 -0
- package/dist/training/DecisionStore.js.map +1 -1
- package/dist/training/mentorConsult.d.ts +51 -0
- package/dist/training/mentorConsult.d.ts.map +1 -0
- package/dist/training/mentorConsult.js +73 -0
- package/dist/training/mentorConsult.js.map +1 -0
- package/dist/training/thrashDetector.d.ts +42 -0
- package/dist/training/thrashDetector.d.ts.map +1 -0
- package/dist/training/thrashDetector.js +45 -0
- package/dist/training/thrashDetector.js.map +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mentorConsult — the AskForAdvice mentor logic (MENTORSHIP_ASK_FOR_ADVICE_SPEC §4–§5).
|
|
3
|
+
*
|
|
4
|
+
* Pure core of the AskForAdvice executor: the graduated-escalation RUNG decision, the
|
|
5
|
+
* mentor system prompts (HINT, never the solution), and the context assembled for the
|
|
6
|
+
* mentor. The actual off-main model call (via HelperModelMiddleware / MENTORSHIP_HELPER_MODEL)
|
|
7
|
+
* is the orchestrator's integration; everything here is deterministic + unit-testable.
|
|
8
|
+
*
|
|
9
|
+
* Ladder (§4):
|
|
10
|
+
* rung 0 'bounce' — premature (not thrash-eligible): cheap self-help refuse, no LLM.
|
|
11
|
+
* rung 1 'reframe' — first honored consult: mentor's DIRECTED reframe from the trace.
|
|
12
|
+
* rung 2 'interview' — consult again after following the reframe + still failing:
|
|
13
|
+
* structured diagnostic Q&A (à la AskUserQuestion).
|
|
14
|
+
* 'ratelimited' — beyond the consult cap: execute the guidance you have.
|
|
15
|
+
*/
|
|
16
|
+
const DEFAULTS = { maxConsults: 2 };
|
|
17
|
+
export function resolveMentorConfig(env = process.env) {
|
|
18
|
+
const n = parseInt((env.CORTEX_MENTOR_MAX_CONSULTS ?? '').trim(), 10);
|
|
19
|
+
return { maxConsults: Number.isInteger(n) && n > 0 ? n : DEFAULTS.maxConsults };
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Which rung a given AskForAdvice call lands on.
|
|
23
|
+
* @param honoredCount consults already HONORED this task (mentor actually invoked).
|
|
24
|
+
* @param thrashing is the agent thrash-eligible right now?
|
|
25
|
+
*/
|
|
26
|
+
export function resolveConsultRung(honoredCount, thrashing, cfg = resolveMentorConfig()) {
|
|
27
|
+
if (honoredCount >= cfg.maxConsults)
|
|
28
|
+
return 'ratelimited';
|
|
29
|
+
if (!thrashing)
|
|
30
|
+
return 'bounce'; // premature — send them back to self-work
|
|
31
|
+
return honoredCount === 0 ? 'reframe' : 'interview';
|
|
32
|
+
}
|
|
33
|
+
/** Rung-0 self-help refuse (no LLM). Constructive: reframe + try a distinct approach. */
|
|
34
|
+
export function bounceMessage(attempts) {
|
|
35
|
+
return (`You've made ${attempts} attempt${attempts === 1 ? '' : 's'} — reframe the goal and try a ` +
|
|
36
|
+
`different solution before calling AskForAdvice again. Re-read the task, restate what you're ` +
|
|
37
|
+
`actually trying to achieve, and try a genuinely distinct approach first.`);
|
|
38
|
+
}
|
|
39
|
+
/** Beyond the consult cap. */
|
|
40
|
+
export function rateLimitedMessage(maxConsults) {
|
|
41
|
+
return (`You have already consulted ${maxConsults} time${maxConsults === 1 ? '' : 's'}. ` +
|
|
42
|
+
`Execute the guidance you have — do not consult again for this task.`);
|
|
43
|
+
}
|
|
44
|
+
/** Mentor system prompt for rung 1 (directed reframe). HINT, never the solution. */
|
|
45
|
+
export const MENTOR_REFRAME_SYSTEM = 'You are a senior engineer. A junior agent is stuck on a coding task after several failed ' +
|
|
46
|
+
'attempts. Give a HINT or REDIRECTION — name what they are missing, the wrong assumption ' +
|
|
47
|
+
"they're making, or the direction to try — in 1–3 sentences. NEVER write the solution, the " +
|
|
48
|
+
'code, or the exact commands. They must do the work themselves.';
|
|
49
|
+
/** Mentor system prompt for rung 2 (structured diagnostic interview). */
|
|
50
|
+
export const MENTOR_INTERVIEW_SYSTEM = 'You are a senior engineer. The junior followed your earlier hint and is still stuck. Run a ' +
|
|
51
|
+
'SHORT structured diagnosis: state the 2–3 most likely blockers as concrete options and ask ' +
|
|
52
|
+
'which matches what they see, or pose one focused diagnostic question whose answer isolates ' +
|
|
53
|
+
'the issue. Do NOT provide the solution or the code — isolate the blocker so they can fix it.';
|
|
54
|
+
/**
|
|
55
|
+
* Build the user prompt sent to the mentor. Bounded — most-recent failures only.
|
|
56
|
+
*/
|
|
57
|
+
export function buildMentorUserPrompt(ctx, maxFailed = 6) {
|
|
58
|
+
const parts = [];
|
|
59
|
+
parts.push(`TASK:\n${ctx.task.trim().slice(0, 1500)}`);
|
|
60
|
+
const recent = ctx.failed.slice(-maxFailed);
|
|
61
|
+
if (recent.length) {
|
|
62
|
+
parts.push('RECENT FAILED ATTEMPTS (newest last):\n' +
|
|
63
|
+
recent
|
|
64
|
+
.map((f, i) => `${i + 1}. ${f.call.slice(0, 240)}\n → ${f.error.slice(0, 240)}`)
|
|
65
|
+
.join('\n'));
|
|
66
|
+
}
|
|
67
|
+
if (ctx.question && ctx.question.trim()) {
|
|
68
|
+
parts.push(`THE JUNIOR ASKS:\n${ctx.question.trim().slice(0, 500)}`);
|
|
69
|
+
}
|
|
70
|
+
parts.push('Give your hint (or diagnostic question) now. Be specific. Do not write code.');
|
|
71
|
+
return parts.join('\n\n');
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=mentorConsult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mentorConsult.js","sourceRoot":"","sources":["../../src/training/mentorConsult.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AASH,MAAM,QAAQ,GAAiB,EAAE,WAAW,EAAE,CAAC,EAAE,CAAC;AAElD,MAAM,UAAU,mBAAmB,CAAC,MAAyB,OAAO,CAAC,GAAG;IACtE,MAAM,CAAC,GAAG,QAAQ,CAAC,CAAC,GAAG,CAAC,0BAA0B,IAAI,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,OAAO,EAAE,WAA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AE,CAAC;IAC3B,KAAK,CAAC,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;IACvD,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC;IAC5C,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;QAClB,KAAK,CAAC,IAAI,CACR,yCAAyC;YACvC,MAAM;iBACH,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC;iBACjF,IAAI,CAAC,IAAI,CAAC,CAChB,CAAC;IACJ,CAAC;IACD,IAAI,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC;QACxC,KAAK,CAAC,IAAI,CAAC,qBAAqB,GAAG,CAAC,QAAQ,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC;IACvE,CAAC;IACD,KAAK,CAAC,IAAI,CAAC,8EAA8E,CAAC,CAAC;IAC3F,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC5B,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* thrashDetector — shape-agnostic STRUGGLE signal (MENTORSHIP_ASK_FOR_ADVICE_SPEC §2).
|
|
3
|
+
*
|
|
4
|
+
* The dominant bench failure mode is DIVERSE-exploration thrash: the model makes many
|
|
5
|
+
* DIFFERENT failing attempts (44–105 calls on hard tasks) that the loop/approach
|
|
6
|
+
* detectors miss because it is not a clean repeated loop. This fires on failure
|
|
7
|
+
* DENSITY over a recent window — regardless of shape — once past a turn floor (a few
|
|
8
|
+
* failing probes early are normal debugging; cf. MAX_CONSECUTIVE_ERRORS=6). Pure +
|
|
9
|
+
* env-configurable; the orchestrator feeds it the recent tool outcomes it already
|
|
10
|
+
* tracks (the decision-store success/fail signal). Sterile-bench-safe (hot tier, no key).
|
|
11
|
+
*/
|
|
12
|
+
export interface ThrashConfig {
|
|
13
|
+
/** Failures within the window that trip thrash. Default 4. */
|
|
14
|
+
failThreshold: number;
|
|
15
|
+
/** Size of the recent tool-outcome window examined. Default 6. */
|
|
16
|
+
window: number;
|
|
17
|
+
/** Do not fire before this many tool calls total (early failures are normal). Default 5. */
|
|
18
|
+
minTurns: number;
|
|
19
|
+
}
|
|
20
|
+
export interface ThrashState {
|
|
21
|
+
/** True when the model is thrashing and the mentor path should engage. */
|
|
22
|
+
thrashing: boolean;
|
|
23
|
+
/** Failures counted in the examined window. */
|
|
24
|
+
failures: number;
|
|
25
|
+
/** Outcomes actually examined (== min(window, available)). */
|
|
26
|
+
examined: number;
|
|
27
|
+
}
|
|
28
|
+
export declare const THRASH_DEFAULTS: ThrashConfig;
|
|
29
|
+
export declare function resolveThrashConfig(env?: NodeJS.ProcessEnv): ThrashConfig;
|
|
30
|
+
/**
|
|
31
|
+
* Decide whether the agent is thrashing.
|
|
32
|
+
*
|
|
33
|
+
* @param outcomes success booleans of tool calls, chronological (oldest→newest).
|
|
34
|
+
* @param turnCount total tool calls so far (>= outcomes.length).
|
|
35
|
+
* @param cfg thresholds (defaults from env).
|
|
36
|
+
*
|
|
37
|
+
* Fires only when: past the turn floor, a FULL window is available, the failure
|
|
38
|
+
* count meets the threshold, AND the most-recent outcome is a failure (so it never
|
|
39
|
+
* fires right after the model just made progress).
|
|
40
|
+
*/
|
|
41
|
+
export declare function resolveThrashState(outcomes: boolean[], turnCount: number, cfg?: ThrashConfig): ThrashState;
|
|
42
|
+
//# sourceMappingURL=thrashDetector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"thrashDetector.d.ts","sourceRoot":"","sources":["../../src/training/thrashDetector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,MAAM,WAAW,YAAY;IAC3B,8DAA8D;IAC9D,aAAa,EAAE,MAAM,CAAC;IACtB,kEAAkE;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,4FAA4F;IAC5F,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,0EAA0E;IAC1E,SAAS,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,QAAQ,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,eAAe,EAAE,YAA2D,CAAC;AAO1F,wBAAgB,mBAAmB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,YAAY,CAMtF;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,OAAO,EAAE,EACnB,SAAS,EAAE,MAAM,EACjB,GAAG,GAAE,YAAoC,GACxC,WAAW,CAUb"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* thrashDetector — shape-agnostic STRUGGLE signal (MENTORSHIP_ASK_FOR_ADVICE_SPEC §2).
|
|
3
|
+
*
|
|
4
|
+
* The dominant bench failure mode is DIVERSE-exploration thrash: the model makes many
|
|
5
|
+
* DIFFERENT failing attempts (44–105 calls on hard tasks) that the loop/approach
|
|
6
|
+
* detectors miss because it is not a clean repeated loop. This fires on failure
|
|
7
|
+
* DENSITY over a recent window — regardless of shape — once past a turn floor (a few
|
|
8
|
+
* failing probes early are normal debugging; cf. MAX_CONSECUTIVE_ERRORS=6). Pure +
|
|
9
|
+
* env-configurable; the orchestrator feeds it the recent tool outcomes it already
|
|
10
|
+
* tracks (the decision-store success/fail signal). Sterile-bench-safe (hot tier, no key).
|
|
11
|
+
*/
|
|
12
|
+
export const THRASH_DEFAULTS = { failThreshold: 4, window: 6, minTurns: 5 };
|
|
13
|
+
function posInt(v, d) {
|
|
14
|
+
const n = parseInt((v ?? '').trim(), 10);
|
|
15
|
+
return Number.isInteger(n) && n > 0 ? n : d;
|
|
16
|
+
}
|
|
17
|
+
export function resolveThrashConfig(env = process.env) {
|
|
18
|
+
return {
|
|
19
|
+
failThreshold: posInt(env.CORTEX_THRASH_FAILS, THRASH_DEFAULTS.failThreshold),
|
|
20
|
+
window: posInt(env.CORTEX_THRASH_WINDOW, THRASH_DEFAULTS.window),
|
|
21
|
+
minTurns: posInt(env.CORTEX_THRASH_MIN_TURNS, THRASH_DEFAULTS.minTurns),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Decide whether the agent is thrashing.
|
|
26
|
+
*
|
|
27
|
+
* @param outcomes success booleans of tool calls, chronological (oldest→newest).
|
|
28
|
+
* @param turnCount total tool calls so far (>= outcomes.length).
|
|
29
|
+
* @param cfg thresholds (defaults from env).
|
|
30
|
+
*
|
|
31
|
+
* Fires only when: past the turn floor, a FULL window is available, the failure
|
|
32
|
+
* count meets the threshold, AND the most-recent outcome is a failure (so it never
|
|
33
|
+
* fires right after the model just made progress).
|
|
34
|
+
*/
|
|
35
|
+
export function resolveThrashState(outcomes, turnCount, cfg = resolveThrashConfig()) {
|
|
36
|
+
const win = outcomes.slice(-cfg.window);
|
|
37
|
+
const failures = win.reduce((n, ok) => n + (ok ? 0 : 1), 0);
|
|
38
|
+
const currentlyFailing = win.length > 0 && win[win.length - 1] === false;
|
|
39
|
+
const thrashing = turnCount >= cfg.minTurns &&
|
|
40
|
+
win.length >= cfg.window &&
|
|
41
|
+
failures >= cfg.failThreshold &&
|
|
42
|
+
currentlyFailing;
|
|
43
|
+
return { thrashing, failures, examined: win.length };
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=thrashDetector.js.map
|
|
@@ -0,0 +1 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CAAC,CAAC,CAAC;IAC5D,MAAM,gBAAgB,GAAG,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,KAAK,CAAC;IACzE,MAAM,SAAS,GACb,SAAS,IAAI,GAAG,CAAC,QAAQ;QACzB,GAAG,CAAC,MAAM,IAAI,GAAG,CAAC,MAAM;QACxB,QAAQ,IAAI,GAAG,CAAC,aAAa;QAC7B,gBAAgB,CAAC;IACnB,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC;AACvD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexus-cortex/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.83.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.83.0",
|
|
51
|
+
"@nexus-cortex/types": "4.83.0",
|
|
52
52
|
"@types/uuid": "^10.0.0",
|
|
53
53
|
"ajv": "^8.12.0",
|
|
54
54
|
"chokidar": "^3.6.0",
|