@mplp/modules 1.0.1 → 1.0.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/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,61 @@
1
+ # @mplp/modules
2
+
3
+ **Protocol:** MPLP v1.0.0 (Frozen)
4
+ **License:** Apache-2.0
5
+
6
+ The **@mplp/modules** package provides **L2 Module definitions and interfaces** for the
7
+ **Multi-Agent Lifecycle Protocol (MPLP)** — the Agent OS–level lifecycle specification for AI agent systems.
8
+
9
+ ---
10
+
11
+ ## Scope & Guarantees (Important)
12
+
13
+ ### ✅ What this package provides
14
+
15
+ * **Protocol-compliant interfaces** aligned with MPLP v1.0.0
16
+ * **Strict version alignment** with the frozen MPLP protocol specification
17
+ * **Type-safe integration surface** for higher-level runtimes and tools
18
+
19
+ ### ❌ What this package does NOT provide
20
+
21
+ * ❌ Full execution runtime (LLM orchestration, tool execution)
22
+ * ❌ Golden Flow execution engines (Flow-01 ~ Flow-05)
23
+ * ❌ Observability pipelines or distributed tracing backends
24
+ * ❌ Production agent orchestration
25
+
26
+ > These capabilities belong to **reference runtimes and products built *on top of* MPLP**,
27
+ > not to the protocol SDK itself.
28
+
29
+ ---
30
+
31
+ ## Installation
32
+
33
+ ```bash
34
+ npm install @mplp/modules
35
+ ```
36
+
37
+ ---
38
+
39
+ ## Protocol Documentation (Authoritative)
40
+
41
+ * **Homepage:** [https://mplp.io](https://mplp.io)
42
+ * **Specification & Docs:** [https://docs.mplp.io](https://docs.mplp.io)
43
+ * **Source Repository:** [https://github.com/Coregentis/MPLP-Protocol](https://github.com/Coregentis/MPLP-Protocol)
44
+ * **Issues:** [https://github.com/Coregentis/MPLP-Protocol/issues](https://github.com/Coregentis/MPLP-Protocol/issues)
45
+
46
+ ---
47
+
48
+ ## Versioning & Compatibility
49
+
50
+ * **Protocol version:** MPLP v1.0.0 (Frozen)
51
+ * **SDK compatibility:** Guaranteed for v1.0.0 only
52
+ * Breaking changes require a new protocol version.
53
+
54
+ ---
55
+
56
+ ## License
57
+
58
+ Apache License, Version 2.0
59
+
60
+ © 2025 **Bangshi Beijing Network Technology Limited Company**
61
+ Coregentis AI
package/dist/index.d.ts CHANGED
@@ -1,13 +1,9 @@
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.
8
- *
9
- * Licensed under the Apache License, Version 2.0 (the "License");
10
- * http://www.apache.org/licenses/LICENSE-2.0
5
+ * This file is part of the MPLP reference implementation.
6
+ * It is NOT part of the frozen protocol specification.
11
7
  */
12
8
  /**
13
9
  * MPLP v1.0 Module Interfaces & Helpers
package/dist/index.js CHANGED
@@ -1,14 +1,19 @@
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.
6
+ * This file is part of the MPLP reference implementation.
7
+ * It is NOT part of the frozen protocol specification.
8
+ */
9
+ /**
10
+ * MPLP v1.0 Module Interfaces & Helpers
11
+ *
12
+ * This package contains the 10 core module interfaces:
13
+ * - Context, Plan, Confirm, Trace (L1)
14
+ * - Role, Dialog, Collab, Extension, Core, Network (L2)
9
15
  *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * http://www.apache.org/licenses/LICENSE-2.0
16
+ * Plus execution profiles (SA/MAP) and module dependency matrix.
12
17
  */
13
18
  Object.defineProperty(exports, "__esModule", { value: true });
14
19
  exports.PROFILES = exports.MODULE_DEPENDENCIES = void 0;
package/package.json CHANGED
@@ -1,19 +1,21 @@
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/modules",
4
- "version": "1.0.1",
3
+ "version": "1.0.3",
5
4
  "description": "MPLP v1.0 Module Interfaces & Helpers - 10 core modules and profile structures",
6
5
  "license": "Apache-2.0",
7
6
  "repository": {
8
7
  "type": "git",
9
- "url": "https://github.com/Coregentis/MPLP-Protocol.git",
10
- "directory": "packages/modules"
8
+ "url": "https://github.com/Coregentis/MPLP-Protocol.git"
11
9
  },
12
10
  "keywords": [
13
11
  "mplp",
14
12
  "modules",
15
13
  "interfaces",
16
- "profiles"
14
+ "profiles",
15
+ "multi-agent",
16
+ "protocol",
17
+ "lifecycle",
18
+ "agent-os"
17
19
  ],
18
20
  "publishConfig": {
19
21
  "access": "public"
@@ -21,11 +23,30 @@
21
23
  "main": "dist/index.js",
22
24
  "types": "dist/index.d.ts",
23
25
  "dependencies": {
24
- "@mplp/core": "1.0.1"
26
+ "@mplp/core": "^1.0.2"
25
27
  },
26
28
  "devDependencies": {
27
29
  "typescript": "^5.0.0"
28
30
  },
31
+ "author": "Coregentis AI",
32
+ "copyright": "© 2025 邦士(北京)网络科技有限公司",
33
+ "mplp": {
34
+ "protocolVersion": "1.0.0",
35
+ "frozen": true,
36
+ "governance": "MPGC",
37
+ "layer": "L2"
38
+ },
39
+ "homepage": "https://mplp.io",
40
+ "bugs": {
41
+ "url": "https://github.com/Coregentis/MPLP-Protocol/issues"
42
+ },
43
+ "exports": {
44
+ ".": {
45
+ "import": "./dist/index.js",
46
+ "types": "./dist/index.d.ts"
47
+ }
48
+ },
49
+ "sideEffects": false,
29
50
  "scripts": {
30
51
  "build": "tsc -p tsconfig.json"
31
52
  }
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 Module Interfaces & Helpers
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
+ }