@kenhkl/agent-moss 0.11.5 → 0.12.1
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/cli.js +321 -385
- package/dist/cli.js.map +1 -1
- package/dist/engine/coordinator.d.ts +9 -0
- package/dist/engine/coordinator.js +280 -349
- package/dist/engine/coordinator.js.map +1 -1
- package/dist/rules/l1_rules.json +821 -0
- package/dist/rules/l2_rules.json +82 -0
- package/dist/rules/l3_rules.json +245 -0
- package/dist/server.js +307 -371
- package/dist/server.js.map +1 -1
- package/dist/templates/security_judge_template.txt +7 -1
- package/package.json +1 -1
|
@@ -17,6 +17,15 @@ interface AnalysisInput {
|
|
|
17
17
|
actionType: string;
|
|
18
18
|
actionDetail: string;
|
|
19
19
|
}[];
|
|
20
|
+
/** 完整的交错历史 prompt(可选),每轮 {text, actions},按时间序。
|
|
21
|
+
* 供 L2 意图一致性与 L3 语义分析使用;空则回退单条 promptSession。 */
|
|
22
|
+
promptHistory?: {
|
|
23
|
+
text: string;
|
|
24
|
+
actions: {
|
|
25
|
+
actionType: string;
|
|
26
|
+
actionDetail: string;
|
|
27
|
+
}[];
|
|
28
|
+
}[];
|
|
20
29
|
aNext: {
|
|
21
30
|
actionType: string;
|
|
22
31
|
actionDetail: string;
|