@mplp/integration-storage-fs 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 +5 -0
- package/README.md +61 -0
- package/dist/fs-storage.d.ts +0 -11
- package/dist/fs-storage.js +6 -10
- package/dist/index.d.ts +4 -8
- package/dist/index.js +7 -11
- package/package.json +31 -7
- package/src/fs-storage.ts +7 -12
- package/src/index.ts +7 -12
- package/tests/fs-storage.test.ts +12 -12
- package/tsconfig.json +11 -11
package/CHANGELOG.md
ADDED
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# @mplp/integration-storage-fs
|
|
2
|
+
|
|
3
|
+
**Protocol:** MPLP v1.0.0 (Frozen)
|
|
4
|
+
**License:** Apache-2.0
|
|
5
|
+
|
|
6
|
+
The **@mplp/integration-storage-fs** package provides **Filesystem storage integration** 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/integration-storage-fs
|
|
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/fs-storage.d.ts
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
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
|
export interface FsStorageConfig {
|
|
13
2
|
baseDir: string;
|
|
14
3
|
}
|
package/dist/fs-storage.js
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JsonFsStorage = void 0;
|
|
2
4
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* Status: FROZEN (no breaking changes permitted)
|
|
6
|
-
* Governance: MPLP Protocol Governance Committee (MPGC)
|
|
7
|
-
*
|
|
8
|
-
* © 2025 邦士(北京)网络科技有限公司. All rights reserved.
|
|
5
|
+
* © 2025 邦士(北京)网络科技有限公司
|
|
6
|
+
* Licensed under the Apache License, Version 2.0.
|
|
9
7
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
8
|
+
* This file is part of the MPLP reference implementation.
|
|
9
|
+
* It is NOT part of the frozen protocol specification.
|
|
12
10
|
*/
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.JsonFsStorage = void 0;
|
|
15
11
|
const fs_1 = require("fs");
|
|
16
12
|
const path_1 = require("path");
|
|
17
13
|
class JsonFsStorage {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
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
|
-
*
|
|
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
|
export * from "./fs-storage";
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
"use strict";
|
|
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)
|
|
7
|
-
*
|
|
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
|
|
12
|
-
*/
|
|
13
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
3
|
if (k2 === undefined) k2 = k;
|
|
15
4
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -25,4 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
25
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
26
15
|
};
|
|
27
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/**
|
|
18
|
+
* © 2025 邦士(北京)网络科技有限公司
|
|
19
|
+
* Licensed under the Apache License, Version 2.0.
|
|
20
|
+
*
|
|
21
|
+
* This file is part of the MPLP reference implementation.
|
|
22
|
+
* It is NOT part of the frozen protocol specification.
|
|
23
|
+
*/
|
|
28
24
|
__exportStar(require("./fs-storage"), exports);
|
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/integration-storage-fs",
|
|
4
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
5
4
|
"description": "File system storage integration for MPLP",
|
|
6
5
|
"main": "dist/index.js",
|
|
7
6
|
"types": "dist/index.d.ts",
|
|
8
7
|
"dependencies": {
|
|
9
|
-
"@mplp/core": "1.0.
|
|
8
|
+
"@mplp/core": "^1.0.2"
|
|
10
9
|
},
|
|
11
10
|
"devDependencies": {
|
|
12
11
|
"typescript": "^5.0.0",
|
|
@@ -17,11 +16,36 @@
|
|
|
17
16
|
"access": "public"
|
|
18
17
|
},
|
|
19
18
|
"mplp": {
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
19
|
+
"protocolVersion": "1.0.0",
|
|
20
|
+
"frozen": true,
|
|
21
|
+
"governance": "MPGC",
|
|
22
|
+
"layer": "L4"
|
|
24
23
|
},
|
|
24
|
+
"author": "Coregentis AI",
|
|
25
|
+
"copyright": "© 2025 邦士(北京)网络科技有限公司",
|
|
26
|
+
"license": "Apache-2.0",
|
|
27
|
+
"homepage": "https://mplp.io",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/Coregentis/MPLP-Protocol/issues"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "https://github.com/Coregentis/MPLP-Protocol.git"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"mplp",
|
|
37
|
+
"multi-agent",
|
|
38
|
+
"protocol",
|
|
39
|
+
"lifecycle",
|
|
40
|
+
"agent-os"
|
|
41
|
+
],
|
|
42
|
+
"exports": {
|
|
43
|
+
".": {
|
|
44
|
+
"import": "./dist/index.js",
|
|
45
|
+
"types": "./dist/index.d.ts"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"sideEffects": false,
|
|
25
49
|
"scripts": {
|
|
26
50
|
"build": "tsc -p tsconfig.json",
|
|
27
51
|
"test": "vitest run"
|
package/src/fs-storage.ts
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
|
|
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
|
import { promises as fs } from "fs";
|
|
14
9
|
import { join } from "path";
|
|
15
10
|
|
package/src/index.ts
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
|
|
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
|
export * from "./fs-storage";
|
package/tests/fs-storage.test.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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
|
+
* 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
|
+
|
|
13
13
|
import { describe, it, expect, afterEach } from "vitest";
|
|
14
14
|
import { JsonFsStorage } from "../src/fs-storage";
|
|
15
15
|
import { promises as fs } from "fs";
|
package/tsconfig.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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
|
-
"extends": "../../../tsconfig.base.json",
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"outDir": "dist",
|
|
6
|
-
"rootDir": "src"
|
|
7
|
-
},
|
|
8
|
-
"include": [
|
|
9
|
-
"src"
|
|
10
|
-
]
|
|
11
|
-
}
|
|
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
|
+
"extends": "../../../tsconfig.base.json",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"outDir": "dist",
|
|
6
|
+
"rootDir": "src"
|
|
7
|
+
},
|
|
8
|
+
"include": [
|
|
9
|
+
"src"
|
|
10
|
+
]
|
|
11
|
+
}
|