@mplp/integration-tools-generic 1.0.1 → 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-tools-generic
2
+
3
+ Generic tool integration for MPLP
4
+
5
+ ## Installation
6
+
7
+ `npm i @mplp/integration-tools-generic`
8
+
9
+ ## License
10
+
11
+ Apache-2.0
@@ -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
  import type { ToolExecutor, ToolInvocation, ToolInvocationResult } from "./types";
13
9
  export type ToolHandler = (payload: unknown) => Promise<unknown> | unknown;
package/dist/executor.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
  Object.defineProperty(exports, "__esModule", { value: true });
14
3
  exports.InMemoryToolExecutor = void 0;
15
4
  class InMemoryToolExecutor {
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
  export * from "./types";
13
9
  export * from "./executor";
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,5 +14,12 @@ 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("./types"), exports);
29
25
  __exportStar(require("./executor"), exports);
package/dist/types.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
  export interface ToolInvocation {
13
9
  toolName: string;
package/dist/types.js CHANGED
@@ -1,13 +1,2 @@
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
  Object.defineProperty(exports, "__esModule", { value: true });
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-tools-generic",
4
- "version": "1.0.1",
3
+ "version": "1.0.2",
5
4
  "description": "Generic tool integration for MPLP",
6
5
  "main": "dist/index.js",
7
6
  "types": "dist/index.d.ts",
8
7
  "dependencies": {
9
- "@mplp/core": "1.0.1"
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-tools-generic",
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/tools-generic"
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/executor.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 type {
14
9
  ToolExecutor,
15
10
  ToolInvocation,
package/src/index.ts CHANGED
@@ -1,14 +1,9 @@
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 "./types";
14
9
  export * from "./executor";
package/src/types.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
  export interface ToolInvocation {
14
9
  toolName: string;
15
10
  payload: unknown;
@@ -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 } from "vitest";
14
14
  import { InMemoryToolExecutor } from "../src/executor";
15
15
 
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
+ }