nexus-agents 2.77.12 → 2.78.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/{child-mcp-config-MJMUF7TL.js → child-mcp-config-CTO2MBRM.js} +3 -4
- package/dist/{child-mcp-config-MJMUF7TL.js.map → child-mcp-config-CTO2MBRM.js.map} +1 -1
- package/dist/{chunk-YJ2IGAD2.js → chunk-2UYTFLMO.js} +2 -2
- package/dist/{chunk-6AY5DK4E.js → chunk-2YPG6PDG.js} +3 -3
- package/dist/{chunk-3VWMM6UF.js → chunk-3NIPH6UP.js} +2 -2
- package/dist/{chunk-L3TPDTP3.js → chunk-4N33QZLH.js} +13 -15
- package/dist/{chunk-L3TPDTP3.js.map → chunk-4N33QZLH.js.map} +1 -1
- package/dist/{chunk-JN6UWGHH.js → chunk-5O6XLBPP.js} +2 -2
- package/dist/{chunk-ERWXGXV2.js → chunk-6TFTVW77.js} +3 -3
- package/dist/{chunk-2IAWMNNB.js → chunk-6WBTNZAY.js} +183 -87
- package/dist/chunk-6WBTNZAY.js.map +1 -0
- package/dist/{chunk-GOT7OAL5.js → chunk-7BMOZJYS.js} +29 -5
- package/dist/chunk-7BMOZJYS.js.map +1 -0
- package/dist/{chunk-C2LLQ6TW.js → chunk-7XCUZI4G.js} +4 -4
- package/dist/chunk-7XCUZI4G.js.map +1 -0
- package/dist/{chunk-TDV5ALHY.js → chunk-D6TM2VHX.js} +3 -3
- package/dist/{chunk-PWTJGGKB.js → chunk-DLXT23AC.js} +2 -2
- package/dist/chunk-DNO2INX5.js +276 -0
- package/dist/chunk-DNO2INX5.js.map +1 -0
- package/dist/{chunk-G2CSKBY5.js → chunk-FJWWSVWB.js} +29 -6
- package/dist/chunk-FJWWSVWB.js.map +1 -0
- package/dist/{chunk-DSQ5XM4O.js → chunk-FVPYP5DD.js} +4 -4
- package/dist/{chunk-MGLWPN2I.js → chunk-GONMG4NM.js} +2 -2
- package/dist/{chunk-XYA3DPWJ.js → chunk-GTGDVBLW.js} +5 -5
- package/dist/{chunk-YQMQSJQK.js → chunk-HYU4GZY6.js} +2 -2
- package/dist/{chunk-3DH5SLFH.js → chunk-K2QILJG4.js} +6 -6
- package/dist/{chunk-5WHWKY32.js → chunk-KT5FIBWS.js} +2 -2
- package/dist/{chunk-DIB6V67T.js → chunk-L6SCKLGO.js} +3 -3
- package/dist/{chunk-IPWCD22D.js → chunk-PLX6FCFC.js} +2 -2
- package/dist/chunk-PQHVC4BD.js +639 -0
- package/dist/chunk-PQHVC4BD.js.map +1 -0
- package/dist/chunk-Q5CFPIJ5.js +5581 -0
- package/dist/chunk-Q5CFPIJ5.js.map +1 -0
- package/dist/{chunk-G6ZPVADX.js → chunk-SD76JZBG.js} +2 -2
- package/dist/{chunk-Y2CP4Z5B.js → chunk-SWFJU3W2.js} +220 -4580
- package/dist/chunk-SWFJU3W2.js.map +1 -0
- package/dist/{chunk-3MRM53T4.js → chunk-WDYCIJWN.js} +640 -470
- package/dist/chunk-WDYCIJWN.js.map +1 -0
- package/dist/{chunk-CM3TORGV.js → chunk-YXWGEIQR.js} +2 -2
- package/dist/{chunk-7NK7BTWP.js → chunk-ZVCED4Z4.js} +2 -2
- package/dist/cli-circuit-breaker-I74ZQ44Q.js +13 -0
- package/dist/cli.js +109 -58
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-S6E26BCI.js → composite-router-V3OC57IE.js} +3 -4
- package/dist/consensus-vote-ESFPGEJE.js +30 -0
- package/dist/context-retriever-MB3D7KS6.js +18 -0
- package/dist/dist-NIXVXYIH.js +42 -0
- package/dist/doctor-deep-KQ765XZA.js +12 -0
- package/dist/expert-bridge-JKLC57IC.js +10 -0
- package/dist/factory-BUUXNGIB.js +14 -0
- package/dist/{factory-X3VKIGKP.js → factory-LHHYDVZX.js} +5 -6
- package/dist/index.d.ts +72 -8
- package/dist/index.js +208 -316
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-CFE7M6XA.js → init-opencode-GXZN2W5S.js} +6 -7
- package/dist/{init-opencode-CFE7M6XA.js.map → init-opencode-GXZN2W5S.js.map} +1 -1
- package/dist/issue-triage-RMXPDZ2K.js +15 -0
- package/dist/{learning-persistence-N6ILD2HX.js → learning-persistence-Q3HTOGTU.js} +2 -3
- package/dist/outcome-store-adapter-QRFJJIKB.js +57 -0
- package/dist/outcome-store-adapter-QRFJJIKB.js.map +1 -0
- package/dist/{registry-command-RPPC7N2K.js → registry-command-6E4YKAMT.js} +3 -4
- package/dist/{registry-command-RPPC7N2K.js.map → registry-command-6E4YKAMT.js.map} +1 -1
- package/dist/{repo-security-plan-7ZCDVH5O.js → repo-security-plan-AGRU72DL.js} +4 -5
- package/dist/research-helpers-synthesize-K2UCJQQG.js +13 -0
- package/dist/{routing-memory-5VTX7LQX.js → routing-memory-3B6DDZ76.js} +3 -4
- package/dist/{session-memory-7XBV6BMY.js → session-memory-L7EQIY2O.js} +4 -5
- package/dist/{setup-command-3ZTEPKDA.js → setup-command-VYV4RFWW.js} +11 -12
- package/dist/setup-config-EQT24DD4.js +10 -0
- package/dist/{setup-custom-api-WM5W5AY5.js → setup-custom-api-IBDV654K.js} +5 -6
- package/dist/{setup-custom-api-WM5W5AY5.js.map → setup-custom-api-IBDV654K.js.map} +1 -1
- package/dist/tool-memory-6HCHQLAN.js +19 -0
- package/dist/{weather-report-YJMVKJGA.js → weather-report-ER3WUZ7S.js} +3 -4
- package/package.json +3 -2
- package/dist/adaptive-memory-EI564K4C.js +0 -16
- package/dist/chunk-2IAWMNNB.js.map +0 -1
- package/dist/chunk-3MRM53T4.js.map +0 -1
- package/dist/chunk-BJ2OMC7P.js +0 -944
- package/dist/chunk-BJ2OMC7P.js.map +0 -1
- package/dist/chunk-C2LLQ6TW.js.map +0 -1
- package/dist/chunk-G2CSKBY5.js.map +0 -1
- package/dist/chunk-GOT7OAL5.js.map +0 -1
- package/dist/chunk-I7ORMAO7.js +0 -32
- package/dist/chunk-I7ORMAO7.js.map +0 -1
- package/dist/chunk-Y2CP4Z5B.js.map +0 -1
- package/dist/cli-circuit-breaker-YX4BWZD5.js +0 -14
- package/dist/consensus-vote-MUQ4HPIF.js +0 -30
- package/dist/doctor-deep-BRU5ZUJI.js +0 -13
- package/dist/expert-bridge-ZPNVLJVN.js +0 -11
- package/dist/factory-A7DTCCUY.js +0 -15
- package/dist/issue-triage-6XD6CVPB.js +0 -16
- package/dist/mobimem-CG2MNS7V.js +0 -14
- package/dist/nexus-data-dir-77UO7N6J.js +0 -12
- package/dist/research-helpers-synthesize-36TUTUUA.js +0 -14
- package/dist/setup-config-EI5KROA3.js +0 -11
- /package/dist/{chunk-YJ2IGAD2.js.map → chunk-2UYTFLMO.js.map} +0 -0
- /package/dist/{chunk-6AY5DK4E.js.map → chunk-2YPG6PDG.js.map} +0 -0
- /package/dist/{chunk-3VWMM6UF.js.map → chunk-3NIPH6UP.js.map} +0 -0
- /package/dist/{chunk-JN6UWGHH.js.map → chunk-5O6XLBPP.js.map} +0 -0
- /package/dist/{chunk-ERWXGXV2.js.map → chunk-6TFTVW77.js.map} +0 -0
- /package/dist/{chunk-TDV5ALHY.js.map → chunk-D6TM2VHX.js.map} +0 -0
- /package/dist/{chunk-PWTJGGKB.js.map → chunk-DLXT23AC.js.map} +0 -0
- /package/dist/{chunk-DSQ5XM4O.js.map → chunk-FVPYP5DD.js.map} +0 -0
- /package/dist/{chunk-MGLWPN2I.js.map → chunk-GONMG4NM.js.map} +0 -0
- /package/dist/{chunk-XYA3DPWJ.js.map → chunk-GTGDVBLW.js.map} +0 -0
- /package/dist/{chunk-YQMQSJQK.js.map → chunk-HYU4GZY6.js.map} +0 -0
- /package/dist/{chunk-3DH5SLFH.js.map → chunk-K2QILJG4.js.map} +0 -0
- /package/dist/{chunk-5WHWKY32.js.map → chunk-KT5FIBWS.js.map} +0 -0
- /package/dist/{chunk-DIB6V67T.js.map → chunk-L6SCKLGO.js.map} +0 -0
- /package/dist/{chunk-IPWCD22D.js.map → chunk-PLX6FCFC.js.map} +0 -0
- /package/dist/{chunk-G6ZPVADX.js.map → chunk-SD76JZBG.js.map} +0 -0
- /package/dist/{chunk-CM3TORGV.js.map → chunk-YXWGEIQR.js.map} +0 -0
- /package/dist/{chunk-7NK7BTWP.js.map → chunk-ZVCED4Z4.js.map} +0 -0
- /package/dist/{adaptive-memory-EI564K4C.js.map → cli-circuit-breaker-I74ZQ44Q.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-YX4BWZD5.js.map → composite-router-V3OC57IE.js.map} +0 -0
- /package/dist/{composite-router-S6E26BCI.js.map → consensus-vote-ESFPGEJE.js.map} +0 -0
- /package/dist/{consensus-vote-MUQ4HPIF.js.map → context-retriever-MB3D7KS6.js.map} +0 -0
- /package/dist/{doctor-deep-BRU5ZUJI.js.map → dist-NIXVXYIH.js.map} +0 -0
- /package/dist/{expert-bridge-ZPNVLJVN.js.map → doctor-deep-KQ765XZA.js.map} +0 -0
- /package/dist/{factory-A7DTCCUY.js.map → expert-bridge-JKLC57IC.js.map} +0 -0
- /package/dist/{factory-X3VKIGKP.js.map → factory-BUUXNGIB.js.map} +0 -0
- /package/dist/{issue-triage-6XD6CVPB.js.map → factory-LHHYDVZX.js.map} +0 -0
- /package/dist/{learning-persistence-N6ILD2HX.js.map → issue-triage-RMXPDZ2K.js.map} +0 -0
- /package/dist/{mobimem-CG2MNS7V.js.map → learning-persistence-Q3HTOGTU.js.map} +0 -0
- /package/dist/{nexus-data-dir-77UO7N6J.js.map → repo-security-plan-AGRU72DL.js.map} +0 -0
- /package/dist/{repo-security-plan-7ZCDVH5O.js.map → research-helpers-synthesize-K2UCJQQG.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-36TUTUUA.js.map → routing-memory-3B6DDZ76.js.map} +0 -0
- /package/dist/{routing-memory-5VTX7LQX.js.map → session-memory-L7EQIY2O.js.map} +0 -0
- /package/dist/{session-memory-7XBV6BMY.js.map → setup-command-VYV4RFWW.js.map} +0 -0
- /package/dist/{setup-command-3ZTEPKDA.js.map → setup-config-EQT24DD4.js.map} +0 -0
- /package/dist/{setup-config-EI5KROA3.js.map → tool-memory-6HCHQLAN.js.map} +0 -0
- /package/dist/{weather-report-YJMVKJGA.js.map → weather-report-ER3WUZ7S.js.map} +0 -0
|
@@ -4,9 +4,8 @@ import {
|
|
|
4
4
|
CompositeRoutingError,
|
|
5
5
|
DEFAULT_COMPOSITE_CONFIG,
|
|
6
6
|
createCompositeRouter
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-GOT7OAL5.js";
|
|
7
|
+
} from "./chunk-WDYCIJWN.js";
|
|
8
|
+
import "./chunk-7BMOZJYS.js";
|
|
10
9
|
import "./chunk-UP2VWCW5.js";
|
|
11
10
|
export {
|
|
12
11
|
CompositeRouter,
|
|
@@ -15,4 +14,4 @@ export {
|
|
|
15
14
|
DEFAULT_COMPOSITE_CONFIG,
|
|
16
15
|
createCompositeRouter
|
|
17
16
|
};
|
|
18
|
-
//# sourceMappingURL=composite-router-
|
|
17
|
+
//# sourceMappingURL=composite-router-V3OC57IE.js.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
3
|
+
ConsensusVoteInputSchema,
|
|
4
|
+
VotingStrategySchema,
|
|
5
|
+
executeVoting,
|
|
6
|
+
registerConsensusVoteTool,
|
|
7
|
+
resetCorrelationTracker
|
|
8
|
+
} from "./chunk-SWFJU3W2.js";
|
|
9
|
+
import "./chunk-ZVCED4Z4.js";
|
|
10
|
+
import "./chunk-PLX6FCFC.js";
|
|
11
|
+
import "./chunk-Q5CFPIJ5.js";
|
|
12
|
+
import "./chunk-KT5FIBWS.js";
|
|
13
|
+
import "./chunk-HYU4GZY6.js";
|
|
14
|
+
import "./chunk-633WH2ML.js";
|
|
15
|
+
import "./chunk-D6TM2VHX.js";
|
|
16
|
+
import "./chunk-DLXT23AC.js";
|
|
17
|
+
import "./chunk-PQHVC4BD.js";
|
|
18
|
+
import "./chunk-3NIPH6UP.js";
|
|
19
|
+
import "./chunk-WDYCIJWN.js";
|
|
20
|
+
import "./chunk-7BMOZJYS.js";
|
|
21
|
+
import "./chunk-UP2VWCW5.js";
|
|
22
|
+
export {
|
|
23
|
+
CONSENSUS_VOTE_OUTPUT_SCHEMA,
|
|
24
|
+
ConsensusVoteInputSchema,
|
|
25
|
+
VotingStrategySchema,
|
|
26
|
+
executeVoting,
|
|
27
|
+
registerConsensusVoteTool,
|
|
28
|
+
resetCorrelationTracker
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=consensus-vote-ESFPGEJE.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getContextForTask,
|
|
3
|
+
inferTaskCategory,
|
|
4
|
+
summarizeContextForPrompt
|
|
5
|
+
} from "./chunk-DNO2INX5.js";
|
|
6
|
+
import "./chunk-Q5CFPIJ5.js";
|
|
7
|
+
import "./chunk-633WH2ML.js";
|
|
8
|
+
import "./chunk-PQHVC4BD.js";
|
|
9
|
+
import "./chunk-3NIPH6UP.js";
|
|
10
|
+
import "./chunk-WDYCIJWN.js";
|
|
11
|
+
import "./chunk-7BMOZJYS.js";
|
|
12
|
+
import "./chunk-UP2VWCW5.js";
|
|
13
|
+
export {
|
|
14
|
+
getContextForTask,
|
|
15
|
+
inferTaskCategory,
|
|
16
|
+
summarizeContextForPrompt
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=context-retriever-MB3D7KS6.js.map
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InMemoryBackend,
|
|
3
|
+
MemoryRegistry,
|
|
4
|
+
MemoryValidationError,
|
|
5
|
+
SqliteBackend,
|
|
6
|
+
backupSourceFile,
|
|
7
|
+
closeMemoryRegistry,
|
|
8
|
+
createInMemoryMemoryRegistry,
|
|
9
|
+
createSqliteMemoryRegistry,
|
|
10
|
+
getMemoryEventCounters,
|
|
11
|
+
getMemoryRegistry,
|
|
12
|
+
listImporters,
|
|
13
|
+
recordMemoryEvent,
|
|
14
|
+
registerImporter,
|
|
15
|
+
resetImporters,
|
|
16
|
+
resetMemoryTelemetry,
|
|
17
|
+
runImporters,
|
|
18
|
+
setMemoryRegistry,
|
|
19
|
+
subscribeToMemoryEvents
|
|
20
|
+
} from "./chunk-PQHVC4BD.js";
|
|
21
|
+
import "./chunk-UP2VWCW5.js";
|
|
22
|
+
export {
|
|
23
|
+
InMemoryBackend,
|
|
24
|
+
MemoryRegistry,
|
|
25
|
+
MemoryValidationError,
|
|
26
|
+
SqliteBackend,
|
|
27
|
+
backupSourceFile,
|
|
28
|
+
closeMemoryRegistry,
|
|
29
|
+
createInMemoryMemoryRegistry,
|
|
30
|
+
createSqliteMemoryRegistry,
|
|
31
|
+
getMemoryEventCounters,
|
|
32
|
+
getMemoryRegistry,
|
|
33
|
+
listImporters,
|
|
34
|
+
recordMemoryEvent,
|
|
35
|
+
registerImporter,
|
|
36
|
+
resetImporters,
|
|
37
|
+
resetMemoryTelemetry,
|
|
38
|
+
runImporters,
|
|
39
|
+
setMemoryRegistry,
|
|
40
|
+
subscribeToMemoryEvents
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=dist-NIXVXYIH.js.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
formatDeepDiagnostics,
|
|
3
|
+
runDeepDiagnostics
|
|
4
|
+
} from "./chunk-2UYTFLMO.js";
|
|
5
|
+
import "./chunk-WDYCIJWN.js";
|
|
6
|
+
import "./chunk-7BMOZJYS.js";
|
|
7
|
+
import "./chunk-UP2VWCW5.js";
|
|
8
|
+
export {
|
|
9
|
+
formatDeepDiagnostics,
|
|
10
|
+
runDeepDiagnostics
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=doctor-deep-KQ765XZA.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
createGitHubProvider,
|
|
3
|
+
createScmProvider
|
|
4
|
+
} from "./chunk-FVPYP5DD.js";
|
|
5
|
+
import "./chunk-GONMG4NM.js";
|
|
6
|
+
import "./chunk-SD76JZBG.js";
|
|
7
|
+
import "./chunk-WDYCIJWN.js";
|
|
8
|
+
import "./chunk-7BMOZJYS.js";
|
|
9
|
+
import "./chunk-UP2VWCW5.js";
|
|
10
|
+
export {
|
|
11
|
+
createGitHubProvider,
|
|
12
|
+
createScmProvider
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=factory-BUUXNGIB.js.map
|
|
@@ -3,11 +3,10 @@ import {
|
|
|
3
3
|
createCliAdapter,
|
|
4
4
|
getAvailableClis,
|
|
5
5
|
isCliAvailable
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-GOT7OAL5.js";
|
|
6
|
+
} from "./chunk-D6TM2VHX.js";
|
|
7
|
+
import "./chunk-DLXT23AC.js";
|
|
8
|
+
import "./chunk-WDYCIJWN.js";
|
|
9
|
+
import "./chunk-7BMOZJYS.js";
|
|
11
10
|
import "./chunk-UP2VWCW5.js";
|
|
12
11
|
export {
|
|
13
12
|
createAllAdapters,
|
|
@@ -15,4 +14,4 @@ export {
|
|
|
15
14
|
getAvailableClis,
|
|
16
15
|
isCliAvailable
|
|
17
16
|
};
|
|
18
|
-
//# sourceMappingURL=factory-
|
|
17
|
+
//# sourceMappingURL=factory-LHHYDVZX.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -2544,6 +2544,7 @@ declare const TaskOutcomeSchema$2: z.ZodObject<{
|
|
|
2544
2544
|
vendor: z.ZodOptional<z.ZodString>;
|
|
2545
2545
|
family: z.ZodOptional<z.ZodString>;
|
|
2546
2546
|
voterRole: z.ZodOptional<z.ZodString>;
|
|
2547
|
+
baselineId: z.ZodOptional<z.ZodString>;
|
|
2547
2548
|
}, z.core.$strip>;
|
|
2548
2549
|
/** Schema for filtering outcomes. */
|
|
2549
2550
|
declare const OutcomeQuerySchema: z.ZodObject<{
|
|
@@ -2587,6 +2588,7 @@ declare const OutcomeQuerySchema: z.ZodObject<{
|
|
|
2587
2588
|
since: z.ZodOptional<z.ZodString>;
|
|
2588
2589
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
2589
2590
|
excludeQualitySignals: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2591
|
+
baselineId: z.ZodOptional<z.ZodString>;
|
|
2590
2592
|
}, z.core.$strip>;
|
|
2591
2593
|
/** A single recorded task execution outcome. */
|
|
2592
2594
|
type TaskOutcome$2 = z.infer<typeof TaskOutcomeSchema$2>;
|
|
@@ -3579,6 +3581,15 @@ declare class CompositeRouter implements ICompositeRouter {
|
|
|
3579
3581
|
private linucbBandit?;
|
|
3580
3582
|
private latencyTracker?;
|
|
3581
3583
|
private routingMemory?;
|
|
3584
|
+
/**
|
|
3585
|
+
* Most recently consulted unified memory context (Phase 3 of #2792).
|
|
3586
|
+
* Set on every {@link route} call so tests + telemetry can inspect what
|
|
3587
|
+
* the router saw at decision time. Typed as `unknown` here to avoid
|
|
3588
|
+
* pulling the typed surface into this module's circular-dep zone — the
|
|
3589
|
+
* field is for observability; callers that need typed reads should call
|
|
3590
|
+
* `getContextForTask` directly.
|
|
3591
|
+
*/
|
|
3592
|
+
private lastUnifiedContext?;
|
|
3582
3593
|
/** Metrics collector for routing observability (Issue #559) */
|
|
3583
3594
|
private metricsCollector?;
|
|
3584
3595
|
/** Orchestration observer for routing decision tracking (Issue #587) */
|
|
@@ -3593,7 +3604,7 @@ declare class CompositeRouter implements ICompositeRouter {
|
|
|
3593
3604
|
private resourceStrategyStage?;
|
|
3594
3605
|
/** Distilled rule stage instance (Issue #999) */
|
|
3595
3606
|
private distilledRuleStage?;
|
|
3596
|
-
/** KNN routing stage instance (arXiv:
|
|
3607
|
+
/** KNN routing stage instance (arXiv:2505.12601) */
|
|
3597
3608
|
private knnRoutingStage?;
|
|
3598
3609
|
/** Strategy distiller instance (Issue #999) */
|
|
3599
3610
|
private strategyDistiller?;
|
|
@@ -3622,6 +3633,12 @@ declare class CompositeRouter implements ICompositeRouter {
|
|
|
3622
3633
|
private warmStartBandit;
|
|
3623
3634
|
private logInitialization;
|
|
3624
3635
|
route(task: CliTask): Promise<Result<CompositeRoutingDecision, CompositeRoutingError>>;
|
|
3636
|
+
/**
|
|
3637
|
+
* Read the unified memory context for this task. Best-effort, never
|
|
3638
|
+
* throws. Sets `this.lastUnifiedContext` so external observers (tests,
|
|
3639
|
+
* telemetry) can inspect what the router consulted at decision time.
|
|
3640
|
+
*/
|
|
3641
|
+
private consultUnifiedContext;
|
|
3625
3642
|
/**
|
|
3626
3643
|
* Unified method that routes, executes, and auto-records feedback.
|
|
3627
3644
|
* Use this for most cases; use route() when you need decision details without execution.
|
|
@@ -12791,6 +12808,27 @@ interface InputBinding {
|
|
|
12791
12808
|
/** Literal value (if source is 'literal') */
|
|
12792
12809
|
readonly value?: unknown;
|
|
12793
12810
|
}
|
|
12811
|
+
/**
|
|
12812
|
+
* Promotion bridge from a per-instance skill library to the shared
|
|
12813
|
+
* memory substrate (Phase 6 of #2792). Called when a skill has
|
|
12814
|
+
* accumulated enough successful executions to be considered reliable.
|
|
12815
|
+
* The implementation typically writes a belief of the form
|
|
12816
|
+
* `subject = "skill:{name}"`, `predicate = "is_reliable_for"`,
|
|
12817
|
+
* `object = "{category}"` so future `getContextForTask` calls surface
|
|
12818
|
+
* the learning across all agents — not just the one that ran it.
|
|
12819
|
+
*
|
|
12820
|
+
* Best-effort: promoter implementations MUST NOT throw out of this
|
|
12821
|
+
* callback. SkillLibrary catches errors defensively, but cleaner not
|
|
12822
|
+
* to throw in the first place.
|
|
12823
|
+
*/
|
|
12824
|
+
interface SkillPromotionEvent {
|
|
12825
|
+
readonly skillId: string;
|
|
12826
|
+
readonly name: string;
|
|
12827
|
+
readonly category: string;
|
|
12828
|
+
readonly successRate: number;
|
|
12829
|
+
readonly executionCount: number;
|
|
12830
|
+
}
|
|
12831
|
+
type SkillPromoter = (event: SkillPromotionEvent) => void | Promise<void>;
|
|
12794
12832
|
/**
|
|
12795
12833
|
* Configuration for the skill library.
|
|
12796
12834
|
*/
|
|
@@ -12807,6 +12845,19 @@ interface SkillLibraryConfig {
|
|
|
12807
12845
|
readonly trackExecutionHistory: boolean;
|
|
12808
12846
|
/** Maximum execution history entries per skill */
|
|
12809
12847
|
readonly maxHistoryPerSkill: number;
|
|
12848
|
+
/**
|
|
12849
|
+
* Minimum successful executions before promoting the skill as a
|
|
12850
|
+
* belief into the shared substrate (Phase 6 of #2792). Default 5.
|
|
12851
|
+
* Skills below this threshold are still tracked locally; promotion
|
|
12852
|
+
* only fires once the signal stabilizes.
|
|
12853
|
+
*/
|
|
12854
|
+
readonly minSuccessesForPromotion: number;
|
|
12855
|
+
/**
|
|
12856
|
+
* Optional promotion bridge to the shared belief store. When set,
|
|
12857
|
+
* SkillLibrary fires the callback whenever a skill crosses the
|
|
12858
|
+
* `minSuccessesForPromotion` threshold. Default: undefined (no-op).
|
|
12859
|
+
*/
|
|
12860
|
+
readonly skillPromoter?: SkillPromoter;
|
|
12810
12861
|
}
|
|
12811
12862
|
/**
|
|
12812
12863
|
* Default skill library configuration.
|
|
@@ -12929,6 +12980,19 @@ declare class SkillLibrary {
|
|
|
12929
12980
|
* Updates metrics after an execution.
|
|
12930
12981
|
*/
|
|
12931
12982
|
private updateMetrics;
|
|
12983
|
+
/**
|
|
12984
|
+
* Phase 6 of #2792 — promote a stabilized skill to the shared belief
|
|
12985
|
+
* store so future tasks (executed by other agents) see the signal.
|
|
12986
|
+
*
|
|
12987
|
+
* Fires exactly once per skill, when the successful-execution count
|
|
12988
|
+
* crosses {@link SkillLibraryConfig.minSuccessesForPromotion}. The
|
|
12989
|
+
* `previousMetrics → updatedMetrics` comparison guards against
|
|
12990
|
+
* re-promoting on every subsequent execution.
|
|
12991
|
+
*
|
|
12992
|
+
* Best-effort: a throwing/rejecting promoter is caught here so a
|
|
12993
|
+
* broken promotion bridge never breaks the local skill bookkeeping.
|
|
12994
|
+
*/
|
|
12995
|
+
private maybePromote;
|
|
12932
12996
|
/**
|
|
12933
12997
|
* Evaluates whether a skill should be retained.
|
|
12934
12998
|
*/
|
|
@@ -14377,10 +14441,10 @@ type ActivationStrategy = 'ucb' | 'greedy' | 'diverse' | 'adaptive';
|
|
|
14377
14441
|
* Schema for ActivationStrategy validation.
|
|
14378
14442
|
*/
|
|
14379
14443
|
declare const ActivationStrategySchema: z.ZodEnum<{
|
|
14444
|
+
adaptive: "adaptive";
|
|
14380
14445
|
ucb: "ucb";
|
|
14381
14446
|
greedy: "greedy";
|
|
14382
14447
|
diverse: "diverse";
|
|
14383
|
-
adaptive: "adaptive";
|
|
14384
14448
|
}>;
|
|
14385
14449
|
/**
|
|
14386
14450
|
* Strategy for sharing information across trees.
|
|
@@ -14475,10 +14539,10 @@ declare const ForestConfigSchema: z.ZodObject<{
|
|
|
14475
14539
|
activationBudget: z.ZodDefault<z.ZodNumber>;
|
|
14476
14540
|
sparsityRatio: z.ZodDefault<z.ZodNumber>;
|
|
14477
14541
|
activationStrategy: z.ZodDefault<z.ZodEnum<{
|
|
14542
|
+
adaptive: "adaptive";
|
|
14478
14543
|
ucb: "ucb";
|
|
14479
14544
|
greedy: "greedy";
|
|
14480
14545
|
diverse: "diverse";
|
|
14481
|
-
adaptive: "adaptive";
|
|
14482
14546
|
}>>;
|
|
14483
14547
|
explorationConstant: z.ZodDefault<z.ZodNumber>;
|
|
14484
14548
|
crossTreeStrategy: z.ZodDefault<z.ZodEnum<{
|
|
@@ -23664,10 +23728,10 @@ declare const MemoryQueryInputSchema: z.ZodObject<{
|
|
|
23664
23728
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
23665
23729
|
source: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
23666
23730
|
session: "session";
|
|
23667
|
-
belief: "belief";
|
|
23668
23731
|
all: "all";
|
|
23669
|
-
|
|
23732
|
+
belief: "belief";
|
|
23670
23733
|
agentic: "agentic";
|
|
23734
|
+
adaptive: "adaptive";
|
|
23671
23735
|
typed: "typed";
|
|
23672
23736
|
}>>>;
|
|
23673
23737
|
}, z.core.$strip>;
|
|
@@ -23737,8 +23801,8 @@ declare const MemoryWriteInputSchema: z.ZodObject<{
|
|
|
23737
23801
|
backend: z.ZodEnum<{
|
|
23738
23802
|
session: "session";
|
|
23739
23803
|
belief: "belief";
|
|
23740
|
-
adaptive: "adaptive";
|
|
23741
23804
|
agentic: "agentic";
|
|
23805
|
+
adaptive: "adaptive";
|
|
23742
23806
|
typed: "typed";
|
|
23743
23807
|
}>;
|
|
23744
23808
|
confidence: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
@@ -30489,8 +30553,8 @@ declare const PluginManifestSchema: z.ZodObject<{
|
|
|
30489
30553
|
trustLevel: z.ZodEnum<{
|
|
30490
30554
|
external: "external";
|
|
30491
30555
|
standard: "standard";
|
|
30492
|
-
experimental: "experimental";
|
|
30493
30556
|
core: "core";
|
|
30557
|
+
experimental: "experimental";
|
|
30494
30558
|
}>;
|
|
30495
30559
|
experimental: z.ZodBoolean;
|
|
30496
30560
|
}, z.core.$strip>;
|
|
@@ -31196,7 +31260,7 @@ interface AgentExecutorConfig {
|
|
|
31196
31260
|
readonly issueNumber?: number | undefined;
|
|
31197
31261
|
readonly repo?: string | undefined;
|
|
31198
31262
|
}
|
|
31199
|
-
/** Flush pipeline memory session
|
|
31263
|
+
/** Flush pipeline memory session. */
|
|
31200
31264
|
declare function flushPipelineMemory(): void;
|
|
31201
31265
|
declare function createAgentStages(config?: AgentExecutorConfig): DevPipelineStages;
|
|
31202
31266
|
|