@mplp/compliance 1.0.0 → 1.0.2

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/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ This package follows the global MPLP Protocol changelog.
4
+
5
+ See: https://github.com/coregentis/MPLP-Protocol/blob/main/CHANGELOG.md
package/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # @mplp/compliance
2
+
3
+ MPLP v1.0 Compliance & Validation - Golden Flow tests and invariant checks
4
+
5
+ ## Installation
6
+
7
+ `npm i @mplp/compliance`
8
+
9
+ ## License
10
+
11
+ Apache-2.0
package/dist/index.d.ts CHANGED
@@ -1,13 +1,18 @@
1
1
  /**
2
- * MPLP Protocol v1.0.0 — Frozen Specification
3
- * Freeze Date: 2025-12-03
4
- * Status: FROZEN (no breaking changes permitted)
5
- * Governance: MPLP Protocol Governance Committee (MPGC)
2
+ * © 2025 邦士(北京)网络科技有限公司
3
+ * Licensed under the Apache License, Version 2.0.
6
4
  *
7
- * © 2025 邦士(北京)网络科技有限公司. All rights reserved.
5
+ * This file is part of the MPLP reference implementation.
6
+ * It is NOT part of the frozen protocol specification.
7
+ */
8
+ /**
9
+ * MPLP v1.0 Compliance & Validation
8
10
  *
9
- * Licensed under the Apache License, Version 2.0 (the "License");
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
+ * This package provides compliance testing and validation for MPLP implementations:
12
+ * - Golden Flow tests (Flow-01 through Flow-05)
13
+ * - Invariant checks
14
+ * - PSG validation
15
+ * - Schema compliance utilities
11
16
  */
12
17
  export interface ComplianceReport {
13
18
  passed: boolean;
package/dist/index.js CHANGED
@@ -1,21 +1,11 @@
1
1
  "use strict";
2
2
  /**
3
- * MPLP Protocol v1.0.0 — Frozen Specification
4
- * Freeze Date: 2025-12-03
5
- * Status: FROZEN (no breaking changes permitted)
6
- * Governance: MPLP Protocol Governance Committee (MPGC)
3
+ * © 2025 邦士(北京)网络科技有限公司
4
+ * Licensed under the Apache License, Version 2.0.
7
5
  *
8
- * © 2025 邦士(北京)网络科技有限公司. All rights reserved.
9
- *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * http://www.apache.org/licenses/LICENSE-2.0
6
+ * This file is part of the MPLP reference implementation.
7
+ * It is NOT part of the frozen protocol specification.
12
8
  */
13
- Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.GOLDEN_FLOWS = void 0;
15
- exports.runGoldenFlow01 = runGoldenFlow01;
16
- exports.validatePSG = validatePSG;
17
- exports.validateSchema = validateSchema;
18
- exports.checkInvariants = checkInvariants;
19
9
  /**
20
10
  * MPLP v1.0 Compliance & Validation
21
11
  *
@@ -25,6 +15,12 @@ exports.checkInvariants = checkInvariants;
25
15
  * - PSG validation
26
16
  * - Schema compliance utilities
27
17
  */
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ exports.GOLDEN_FLOWS = void 0;
20
+ exports.runGoldenFlow01 = runGoldenFlow01;
21
+ exports.validatePSG = validatePSG;
22
+ exports.validateSchema = validateSchema;
23
+ exports.checkInvariants = checkInvariants;
28
24
  const schema_1 = require("@mplp/schema");
29
25
  /**
30
26
  * Run Golden Flow 01: Single-Agent Basic
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
- "$comment": "MPLP Protocol v1.0.0 — Frozen Specification\nFreeze Date: 2025-12-03\nStatus: FROZEN (no breaking changes permitted)\nGovernance: MPLP Protocol Governance Committee (MPGC)\nCopyright: © 2025 邦士(北京)网络科技有限公司\nLicense: Apache-2.0\nAny normative change requires a new protocol version.",
3
2
  "name": "@mplp/compliance",
4
- "version": "1.0.0",
3
+ "version": "1.0.2",
5
4
  "description": "MPLP v1.0 Compliance & Validation - Golden Flow tests and invariant checks",
6
5
  "license": "Apache-2.0",
7
6
  "repository": {
8
7
  "type": "git",
9
- "url": "https://github.com/Coregentis/MPLP-Protocol.git",
8
+ "url": "https://github.com/coregentis/MPLP-Protocol.git",
10
9
  "directory": "packages/compliance"
11
10
  },
12
11
  "keywords": [
@@ -14,7 +13,10 @@
14
13
  "compliance",
15
14
  "validation",
16
15
  "testing",
17
- "golden-flows"
16
+ "golden-flows",
17
+ "MPLP",
18
+ "multi-agent",
19
+ "protocol"
18
20
  ],
19
21
  "publishConfig": {
20
22
  "access": "public"
@@ -22,16 +24,34 @@
22
24
  "main": "dist/index.js",
23
25
  "types": "dist/index.d.ts",
24
26
  "dependencies": {
25
- "@mplp/core": "1.0.0",
26
- "@mplp/schema": "1.0.0",
27
- "@mplp/modules": "1.0.0",
28
- "@mplp/coordination": "1.0.0"
27
+ "@mplp/core": "^1.0.2",
28
+ "@mplp/schema": "^1.0.2",
29
+ "@mplp/modules": "^1.0.2",
30
+ "@mplp/coordination": "^1.0.2"
29
31
  },
30
32
  "devDependencies": {
31
33
  "typescript": "^5.0.0",
32
34
  "ts-node": "^10.9.1",
33
35
  "@types/node": "^20.0.0"
34
36
  },
37
+ "author": "邦士(北京)网络科技有限公司",
38
+ "copyright": "© 2025 邦士(北京)网络科技有限公司",
39
+ "mplp": {
40
+ "protocolVersion": "1.0.0",
41
+ "frozen": true,
42
+ "governance": "MPGC"
43
+ },
44
+ "homepage": "https://github.com/coregentis/MPLP-Protocol",
45
+ "bugs": {
46
+ "url": "https://github.com/coregentis/MPLP-Protocol/issues"
47
+ },
48
+ "exports": {
49
+ ".": {
50
+ "import": "./dist/index.js",
51
+ "types": "./dist/index.d.ts"
52
+ }
53
+ },
54
+ "sideEffects": false,
35
55
  "scripts": {
36
56
  "build": "tsc -p tsconfig.json",
37
57
  "test": "npx ts-node ../../tests/golden/harness/ts/golden-runner.ts"
package/src/index.ts CHANGED
@@ -1,15 +1,10 @@
1
- /**
2
- * MPLP Protocol v1.0.0 — Frozen Specification
3
- * Freeze Date: 2025-12-03
4
- * Status: FROZEN (no breaking changes permitted)
5
- * Governance: MPLP Protocol Governance Committee (MPGC)
6
- *
7
- * © 2025 邦士(北京)网络科技有限公司. All rights reserved.
8
- *
9
- * Licensed under the Apache License, Version 2.0 (the "License");
10
- * http://www.apache.org/licenses/LICENSE-2.0
11
- */
12
-
1
+ /**
2
+ * © 2025 邦士(北京)网络科技有限公司
3
+ * Licensed under the Apache License, Version 2.0.
4
+ *
5
+ * This file is part of the MPLP reference implementation.
6
+ * It is NOT part of the frozen protocol specification.
7
+ */
13
8
  /**
14
9
  * MPLP v1.0 Compliance & Validation
15
10
  *
package/tsconfig.json CHANGED
@@ -1,23 +1,23 @@
1
- {
2
- "$comment": "MPLP Protocol v1.0.0 — Frozen Specification\nFreeze Date: 2025-12-03\nStatus: FROZEN (no breaking changes permitted)\nGovernance: MPLP Protocol Governance Committee (MPGC)\nCopyright: © 2025 邦士(北京)网络科技有限公司\nLicense: Apache-2.0\nAny normative change requires a new protocol version.",
3
- "compilerOptions": {
4
- "target": "ES2020",
5
- "module": "commonjs",
6
- "lib": [
7
- "ES2020"
8
- ],
9
- "strict": true,
10
- "esModuleInterop": true,
11
- "skipLibCheck": true,
12
- "forceConsistentCasingInFileNames": true,
13
- "resolveJsonModule": true,
14
- "declaration": true,
15
- "moduleResolution": "node",
16
- "downlevelIteration": true,
17
- "outDir": "dist",
18
- "rootDir": "src"
19
- },
20
- "include": [
21
- "src"
22
- ]
23
- }
1
+ {
2
+ "$comment": "MPLP Protocol v1.0.0 — Frozen Specification\nFreeze Date: 2025-12-03\nStatus: FROZEN (no breaking changes permitted)\nGovernance: MPLP Protocol Governance Committee (MPGC)\nCopyright: © 2025 邦士(北京)网络科技有限公司\nLicense: Apache-2.0\nAny normative change requires a new protocol version.",
3
+ "compilerOptions": {
4
+ "target": "ES2020",
5
+ "module": "commonjs",
6
+ "lib": [
7
+ "ES2020"
8
+ ],
9
+ "strict": true,
10
+ "esModuleInterop": true,
11
+ "skipLibCheck": true,
12
+ "forceConsistentCasingInFileNames": true,
13
+ "resolveJsonModule": true,
14
+ "declaration": true,
15
+ "moduleResolution": "node",
16
+ "downlevelIteration": true,
17
+ "outDir": "dist",
18
+ "rootDir": "src"
19
+ },
20
+ "include": [
21
+ "src"
22
+ ]
23
+ }