@mplp/integration-storage-fs 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/integration-storage-fs
2
+
3
+ File system storage integration for MPLP
4
+
5
+ ## Installation
6
+
7
+ `npm i @mplp/integration-storage-fs`
8
+
9
+ ## License
10
+
11
+ Apache-2.0
@@ -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
  }
@@ -1,17 +1,13 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.JsonFsStorage = void 0;
2
4
  /**
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.
5
+ * © 2025 邦士(北京)网络科技有限公司
6
+ * Licensed under the Apache License, Version 2.0.
9
7
  *
10
- * Licensed under the Apache License, Version 2.0 (the "License");
11
- * http://www.apache.org/licenses/LICENSE-2.0
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
- * 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
  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.0",
3
+ "version": "1.0.2",
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.0"
8
+ "@mplp/core": "^1.0.2"
10
9
  },
11
10
  "devDependencies": {
12
11
  "typescript": "^5.0.0",
@@ -17,11 +16,35 @@
17
16
  "access": "public"
18
17
  },
19
18
  "mplp": {
20
- "module": "integration-storage-fs",
21
- "layer": "L3-Integration",
22
- "status": "stable",
23
- "governance": "MPGC"
19
+ "protocolVersion": "1.0.0",
20
+ "frozen": true,
21
+ "governance": "MPGC",
22
+ "layer": "L4"
24
23
  },
24
+ "author": "邦士(北京)网络科技有限公司",
25
+ "copyright": "© 2025 邦士(北京)网络科技有限公司",
26
+ "license": "Apache-2.0",
27
+ "homepage": "https://github.com/coregentis/MPLP-Protocol",
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
+ "directory": "packages/storage-fs"
35
+ },
36
+ "keywords": [
37
+ "MPLP",
38
+ "multi-agent",
39
+ "protocol"
40
+ ],
41
+ "exports": {
42
+ ".": {
43
+ "import": "./dist/index.js",
44
+ "types": "./dist/index.d.ts"
45
+ }
46
+ },
47
+ "sideEffects": false,
25
48
  "scripts": {
26
49
  "build": "tsc -p tsconfig.json",
27
50
  "test": "vitest run"
package/src/fs-storage.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
  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
- * 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
  export * from "./fs-storage";
@@ -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
+ }