@metago-ai/engine 2.1.2 → 2.1.3

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/INDEX/tools.json CHANGED
@@ -1,64 +1,64 @@
1
- {
2
- "total": 55,
3
- "version": "1.3.2",
4
- "package": "@metago-ai/mcp-server",
5
- "families": {
6
- "core_tools": {
7
- "name": "核心工具族",
8
- "count": 22,
9
- "tools": [
10
- "code_review",
11
- "architecture_review",
12
- "tech_decision",
13
- "test_generation",
14
- "refactoring_plan",
15
- "root_cause_analysis",
16
- "parse_requirement",
17
- "design_capability",
18
- "assemble_agent",
19
- "inspect_quality",
20
- "explain_code",
21
- "refactor_code",
22
- "document_code",
23
- "debug_code",
24
- "generate_code",
25
- "complete_code",
26
- "generate_unit_test",
27
- "generate_integration_test",
28
- "build_web",
29
- "build_docker_image",
30
- "generate_dockerfile",
31
- "scan_image_vulnerabilities"
32
- ]
33
- },
34
- "thinking_tools": {
35
- "name": "思维工具族",
36
- "count": 22,
37
- "tools": [
38
- "metago_holistic_scan",
39
- "metago_integrity_checklist",
40
- "metago_partner_status",
41
- "metago_confidence_label",
42
- "metago_one_shot_delivery",
43
- "metago_problem_trace",
44
- "metago_value_29d_assess",
45
- "metago_scene_term_replace",
46
- "metago_ethics_assess",
47
- "metago_coupling_calculate",
48
- "metago_analyze_visual_feedback",
49
- "metago_design_satisfaction",
50
- "metago_improvement_suggestions",
51
- "metago_document_lookup",
52
- "metago_critique",
53
- "metago_whatif",
54
- "metago_emotion",
55
- "metago_objectivity",
56
- "metago_action_plan",
57
- "metago_decision_eval",
58
- "metago_first_principles",
59
- "metago_adversarial_review"
60
- ]
61
- }
62
- },
63
- "prompts": 8
64
- }
1
+ {
2
+ "total": 55,
3
+ "version": "1.3.2",
4
+ "package": "@metago-ai/mcp-server",
5
+ "families": {
6
+ "core_tools": {
7
+ "name": "核心工具族",
8
+ "count": 22,
9
+ "tools": [
10
+ "code_review",
11
+ "architecture_review",
12
+ "tech_decision",
13
+ "test_generation",
14
+ "refactoring_plan",
15
+ "root_cause_analysis",
16
+ "parse_requirement",
17
+ "design_capability",
18
+ "assemble_agent",
19
+ "inspect_quality",
20
+ "explain_code",
21
+ "refactor_code",
22
+ "document_code",
23
+ "debug_code",
24
+ "generate_code",
25
+ "complete_code",
26
+ "generate_unit_test",
27
+ "generate_integration_test",
28
+ "build_web",
29
+ "build_docker_image",
30
+ "generate_dockerfile",
31
+ "scan_image_vulnerabilities"
32
+ ]
33
+ },
34
+ "thinking_tools": {
35
+ "name": "思维工具族",
36
+ "count": 22,
37
+ "tools": [
38
+ "metago_holistic_scan",
39
+ "metago_integrity_checklist",
40
+ "metago_partner_status",
41
+ "metago_confidence_label",
42
+ "metago_one_shot_delivery",
43
+ "metago_problem_trace",
44
+ "metago_value_29d_assess",
45
+ "metago_scene_term_replace",
46
+ "metago_ethics_assess",
47
+ "metago_coupling_calculate",
48
+ "metago_analyze_visual_feedback",
49
+ "metago_design_satisfaction",
50
+ "metago_improvement_suggestions",
51
+ "metago_document_lookup",
52
+ "metago_critique",
53
+ "metago_whatif",
54
+ "metago_emotion",
55
+ "metago_objectivity",
56
+ "metago_action_plan",
57
+ "metago_decision_eval",
58
+ "metago_first_principles",
59
+ "metago_adversarial_review"
60
+ ]
61
+ }
62
+ },
63
+ "prompts": 8
64
+ }
@@ -85,12 +85,12 @@ export declare class AxiomValidator {
85
85
  */
86
86
  static checkDataTraceability(output: string): ValidationResult;
87
87
  /**
88
- * A37 / D44 第一性原理:任务执行前强制 F0 拆解(V36.9.4 追加)
88
+ * A37 / D44 第一性原理:任务执行前强制 F0 拆解(V36.9.4 追加)
89
89
  * 未发现 F0 痕迹 → warning(强提示,不阻断);发现 → pass。
90
90
  */
91
91
  static checkFirstPrinciples(task?: string): ValidationResult;
92
92
  /**
93
- * A38 / D45 对抗式审查:审计/验证类任务强制攻击者视角(V36.9.4 追加)
93
+ * A38 / D45 对抗式审查:审计/验证类任务强制攻击者视角(V36.9.4 追加)
94
94
  * 未发现对抗式痕迹 → warning(强提示,不阻断);发现 → pass。
95
95
  */
96
96
  static checkAdversarialReview(report?: string): ValidationResult;
@@ -216,7 +216,7 @@ class AxiomValidator {
216
216
  return this.checkProvenance(output);
217
217
  }
218
218
  /**
219
- * A37 / D44 第一性原理:任务执行前强制 F0 拆解(V36.9.4 追加)
219
+ * A37 / D44 第一性原理:任务执行前强制 F0 拆解(V36.9.4 追加)
220
220
  * 未发现 F0 痕迹 → warning(强提示,不阻断);发现 → pass。
221
221
  */
222
222
  static checkFirstPrinciples(task) {
@@ -231,7 +231,7 @@ class AxiomValidator {
231
231
  };
232
232
  }
233
233
  /**
234
- * A38 / D45 对抗式审查:审计/验证类任务强制攻击者视角(V36.9.4 追加)
234
+ * A38 / D45 对抗式审查:审计/验证类任务强制攻击者视角(V36.9.4 追加)
235
235
  * 未发现对抗式痕迹 → warning(强提示,不阻断);发现 → pass。
236
236
  */
237
237
  static checkAdversarialReview(report) {
@@ -270,7 +270,7 @@ class AxiomValidator {
270
270
  */
271
271
  static validateAll(output, context) {
272
272
  const results = [];
273
- // 10 条关键公理(V36.9.4:补 A37/A38)
273
+ // 10 条关键公理(V36.9.6:补 A37/A38)
274
274
  results.push(this.checkProvenance(output, context?.input));
275
275
  if (context?.capability)
276
276
  results.push(this.checkClosure(context.capability));
@@ -281,16 +281,16 @@ class AxiomValidator {
281
281
  results.push(this.checkCreationEvolution());
282
282
  if (context?.decision)
283
283
  results.push(this.checkCompliance(context.decision));
284
- results.push(this.checkFirstPrinciples(context?.task)); // A37(V36.9.4)
285
- results.push(this.checkAdversarialReview(context?.report)); // A38(V36.9.4)
286
- // 9 条关键属性(V36.9.4:补 D44/D45)
284
+ results.push(this.checkFirstPrinciples(context?.task)); // A37(V36.9.6)
285
+ results.push(this.checkAdversarialReview(context?.report)); // A38(V36.9.6)
286
+ // 9 条关键属性(V36.9.6:补 D44/D45)
287
287
  results.push(this.checkObjectivity(output));
288
288
  results.push(this.checkCriticality(output));
289
289
  if (context?.decision)
290
290
  results.push(this.checkComplianceProactive(context.decision));
291
291
  results.push(this.checkDataTraceability(output));
292
- results.push(this.checkFirstPrinciples(context?.task)); // D44 与 A37 同源(V36.9.4)
293
- results.push(this.checkAdversarialReview(context?.report)); // D45 与 A38 同源(V36.9.4)
292
+ results.push(this.checkFirstPrinciples(context?.task)); // D44 与 A37 同源(V36.9.6)
293
+ results.push(this.checkAdversarialReview(context?.report)); // D45 与 A38 同源(V36.9.6)
294
294
  // 输出完整性协议
295
295
  results.push(this.checkOutputIntegrity(output));
296
296
  return results;
package/package.json CHANGED
@@ -1,91 +1,91 @@
1
- {
2
- "name": "@metago-ai/engine",
3
- "version": "2.1.2",
4
- "description": "MetaGO Agent Harness(智能体运行时控制层套件 · 驭智层)Engine V2.1.1 — 硬驱动核心。让法律从建议变为可执行:KMWI 四层记忆(知识→记忆→智慧→直觉,持久化 JSON)+ 元进化五阶段循环(边界感知→差距分析→自生成→验证→递归,含时间预算和耦生度阈值)+ 技能智能生成(元创造五阶段,写入真实 SKILL.md 文件)+ 决策锁四道关卡 + 全链路溯源 + 927 算法驱动(57 工具 / 14 触发大类)。8 公理 + 7 属性 + 6 协议 CONSTITUTION 驱动。",
5
- "main": "RUNTIME/dist/index.js",
6
- "types": "RUNTIME/dist/index.d.ts",
7
- "bin": {
8
- "metago-engine": "RUNTIME/dist/cli.js"
9
- },
10
- "scripts": {
11
- "build": "tsc -p RUNTIME/tsconfig.json",
12
- "test": "vitest run",
13
- "test:watch": "vitest",
14
- "verify": "node RUNTIME/dist/cli.js verify",
15
- "status": "node RUNTIME/dist/cli.js status",
16
- "metrics": "node RUNTIME/dist/cli.js metrics",
17
- "lock": "node RUNTIME/dist/cli.js lock",
18
- "evolve": "node RUNTIME/dist/cli.js evolve",
19
- "prepublishOnly": "node scripts/verify-dist.cjs"
20
- },
21
- "keywords": [
22
- "metago",
23
- "engine",
24
- "ai",
25
- "lifeform",
26
- "holistic",
27
- "intelligence",
28
- "axiom",
29
- "evolution",
30
- "meta-evolution",
31
- "decision-lock",
32
- "ai-governance",
33
- "ai-evolution",
34
- "opc",
35
- "ai-native",
36
- "anti-hallucination",
37
- "kmwi-memory",
38
- "927-algorithms"
39
- ],
40
- "author": "易霄 / 元构光年(成都)人工智能科技有限公司",
41
- "license": "MIT",
42
- "repository": {
43
- "type": "git",
44
- "url": "https://github.com/metago-ai/metagolifeform.git",
45
- "directory": "packages/engine"
46
- },
47
- "homepage": "https://metago.life",
48
- "bugs": {
49
- "url": "https://github.com/metago-ai/metagolifeform/issues",
50
- "email": "researcher.yi@youfer.cn"
51
- },
52
- "dependencies": {
53
- "metago-lifeform": ">=36.8.0"
54
- },
55
- "devDependencies": {
56
- "@types/node": "^20.0.0",
57
- "ts-node": "^10.0.0",
58
- "typescript": "^5.0.0",
59
- "vitest": "^4.1.9"
60
- },
61
- "engines": {
62
- "node": ">=16.0.0"
63
- },
64
- "files": [
65
- "RUNTIME/dist/",
66
- "SDK/",
67
- "ADAPTERS/",
68
- "CONSTITUTION/",
69
- "CORE/",
70
- "INDEX/",
71
- "EVOLUTION/",
72
- "EVOLUTION.md",
73
- "ENGINE.md",
74
- "CHANGES.md",
75
- "GENOME.json",
76
- "PATENTS.md",
77
- "README.md",
78
- "LICENSE",
79
- "package.json"
80
- ],
81
- "metago": {
82
- "engine_version": "2.1.1",
83
- "metago_version": "V36.9.4",
84
- "parentPackage": "metago-lifeform@>=36.8.0",
85
- "algorithms": {
86
- "tools": 57,
87
- "count": 927,
88
- "trigger_categories": 14
89
- }
90
- }
91
- }
1
+ {
2
+ "name": "@metago-ai/engine",
3
+ "version": "2.1.3",
4
+ "description": "MetaGO Agent Harness(智能体运行时控制层套件 · 驭智层)Engine V2.1.3 — 硬驱动核心。让法律从建议变为可执行:KMWI 四层记忆(知识→记忆→智慧→直觉,持久化 JSON)+ 元进化五阶段循环(边界感知→差距分析→自生成→验证→递归,含时间预算和耦生度阈值)+ 技能智能生成(元创造五阶段,写入真实 SKILL.md 文件)+ 决策锁四道关卡 + 全链路溯源 + 927 算法驱动(57 工具 / 14 触发大类)。10 公理 + 9 属性 + 6 协议 CONSTITUTION 驱动。",
5
+ "main": "RUNTIME/dist/index.js",
6
+ "types": "RUNTIME/dist/index.d.ts",
7
+ "bin": {
8
+ "metago-engine": "RUNTIME/dist/cli.js"
9
+ },
10
+ "scripts": {
11
+ "build": "tsc -p RUNTIME/tsconfig.json",
12
+ "test": "vitest run",
13
+ "test:watch": "vitest",
14
+ "verify": "node RUNTIME/dist/cli.js verify",
15
+ "status": "node RUNTIME/dist/cli.js status",
16
+ "metrics": "node RUNTIME/dist/cli.js metrics",
17
+ "lock": "node RUNTIME/dist/cli.js lock",
18
+ "evolve": "node RUNTIME/dist/cli.js evolve",
19
+ "prepublishOnly": "node scripts/verify-dist.cjs"
20
+ },
21
+ "keywords": [
22
+ "metago",
23
+ "engine",
24
+ "ai",
25
+ "lifeform",
26
+ "holistic",
27
+ "intelligence",
28
+ "axiom",
29
+ "evolution",
30
+ "meta-evolution",
31
+ "decision-lock",
32
+ "ai-governance",
33
+ "ai-evolution",
34
+ "opc",
35
+ "ai-native",
36
+ "anti-hallucination",
37
+ "kmwi-memory",
38
+ "927-algorithms"
39
+ ],
40
+ "author": "易霄 / 元构光年(成都)人工智能科技有限公司",
41
+ "license": "MIT",
42
+ "repository": {
43
+ "type": "git",
44
+ "url": "https://github.com/metago-ai/metagolifeform.git",
45
+ "directory": "packages/engine"
46
+ },
47
+ "homepage": "https://metago.life",
48
+ "bugs": {
49
+ "url": "https://github.com/metago-ai/metagolifeform/issues",
50
+ "email": "researcher.yi@youfer.cn"
51
+ },
52
+ "dependencies": {
53
+ "metago-lifeform": ">=36.8.0"
54
+ },
55
+ "devDependencies": {
56
+ "@types/node": "^20.0.0",
57
+ "ts-node": "^10.0.0",
58
+ "typescript": "^5.0.0",
59
+ "vitest": "^4.1.9"
60
+ },
61
+ "engines": {
62
+ "node": ">=16.0.0"
63
+ },
64
+ "files": [
65
+ "RUNTIME/dist/",
66
+ "SDK/",
67
+ "ADAPTERS/",
68
+ "CONSTITUTION/",
69
+ "CORE/",
70
+ "INDEX/",
71
+ "EVOLUTION/",
72
+ "EVOLUTION.md",
73
+ "ENGINE.md",
74
+ "CHANGES.md",
75
+ "GENOME.json",
76
+ "PATENTS.md",
77
+ "README.md",
78
+ "LICENSE",
79
+ "package.json"
80
+ ],
81
+ "metago": {
82
+ "engine_version": "2.1.3",
83
+ "metago_version": "V36.9.6",
84
+ "parentPackage": "metago-lifeform@>=36.8.0",
85
+ "algorithms": {
86
+ "tools": 57,
87
+ "count": 927,
88
+ "trigger_categories": 14
89
+ }
90
+ }
91
+ }