agent-tool-hub 1.0.1

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.
@@ -0,0 +1,29 @@
1
+ 'use strict';
2
+
3
+ var chunkGD4JXJHB_cjs = require('./chunk-GD4JXJHB.cjs');
4
+ require('./chunk-NTTBDQUF.cjs');
5
+
6
+
7
+
8
+ Object.defineProperty(exports, "ToolHub", {
9
+ enumerable: true,
10
+ get: function () { return chunkGD4JXJHB_cjs.ToolHub; }
11
+ });
12
+ Object.defineProperty(exports, "createAgentToolHub", {
13
+ enumerable: true,
14
+ get: function () { return chunkGD4JXJHB_cjs.createAgentToolHub; }
15
+ });
16
+ Object.defineProperty(exports, "createToolHub", {
17
+ enumerable: true,
18
+ get: function () { return chunkGD4JXJHB_cjs.createToolHub; }
19
+ });
20
+ Object.defineProperty(exports, "createToolHubAndInit", {
21
+ enumerable: true,
22
+ get: function () { return chunkGD4JXJHB_cjs.createToolHubAndInit; }
23
+ });
24
+ Object.defineProperty(exports, "createToolHubAndInitFromConfig", {
25
+ enumerable: true,
26
+ get: function () { return chunkGD4JXJHB_cjs.createToolHubAndInitFromConfig; }
27
+ });
28
+ //# sourceMappingURL=toolhub-runtime.cjs.map
29
+ //# sourceMappingURL=toolhub-runtime.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"toolhub-runtime.cjs"}
@@ -0,0 +1,4 @@
1
+ export { I as InvokeOptions, ar as ToolHub, h as ToolHubInitOptions, az as createAgentToolHub, aB as createToolHub, aH as createToolHubAndInit, aC as createToolHubAndInitFromConfig } from './toolhub-runtime-CQkP4QVW.cjs';
2
+ import '@easynet/n8n-local';
3
+ import 'ajv';
4
+ import 'cockatiel';
@@ -0,0 +1,4 @@
1
+ export { I as InvokeOptions, ar as ToolHub, h as ToolHubInitOptions, az as createAgentToolHub, aB as createToolHub, aH as createToolHubAndInit, aC as createToolHubAndInitFromConfig } from './toolhub-runtime-CQkP4QVW.js';
2
+ import '@easynet/n8n-local';
3
+ import 'ajv';
4
+ import 'cockatiel';
@@ -0,0 +1,4 @@
1
+ export { ToolHub, createAgentToolHub, createToolHub, createToolHubAndInit, createToolHubAndInitFromConfig } from './chunk-2CEY2WAM.js';
2
+ import './chunk-YSYEED4K.js';
3
+ //# sourceMappingURL=toolhub-runtime.js.map
4
+ //# sourceMappingURL=toolhub-runtime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"toolhub-runtime.js"}
package/package.json ADDED
@@ -0,0 +1,71 @@
1
+ {
2
+ "name": "agent-tool-hub",
3
+ "version": "1.0.1",
4
+ "description": "Agent Tool Hub: multi-protocol tool registry, PTC runtime, and adapter layer for MCP/LangChain/n8n/ComfyUI/SKILL",
5
+ "type": "module",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "require": "./dist/index.cjs"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "scripts": {
20
+ "build": "tsup",
21
+ "dev": "tsup --watch",
22
+ "test": "vitest run",
23
+ "test:watch": "vitest",
24
+ "typecheck": "tsc --noEmit",
25
+ "clean": "rm -rf dist",
26
+ "dump:tools": "npm run build && node scripts/dump-tools.mjs",
27
+ "lint:lines": "./scripts/check-line-count.sh",
28
+ "lint:functions": "python3 scripts/check-function-length.py"
29
+ },
30
+ "dependencies": {
31
+ "@easynet/n8n-local": "^0.0.37",
32
+ "ajv": "^8.17.1",
33
+ "ajv-formats": "^3.0.1",
34
+ "cockatiel": "^3.2.1",
35
+ "eventemitter3": "^5.0.1",
36
+ "jmespath": "^0.16.0",
37
+ "js-yaml": "^4.1.1",
38
+ "mustache": "^4.2.0",
39
+ "p-retry": "^6.2.1",
40
+ "p-timeout": "^6.1.4",
41
+ "uuid": "^11.0.5"
42
+ },
43
+ "devDependencies": {
44
+ "@semantic-release/git": "^10.0.1",
45
+ "@types/jmespath": "^0.15.2",
46
+ "@types/js-yaml": "^4.0.9",
47
+ "@types/mustache": "^4.2.5",
48
+ "@types/node": "^22.10.0",
49
+ "@types/uuid": "^10.0.0",
50
+ "semantic-release": "^24.2.0",
51
+ "tsup": "^8.3.5",
52
+ "typescript": "^5.7.2",
53
+ "vitest": "^2.1.8"
54
+ },
55
+ "peerDependencies": {
56
+ "@langchain/core": ">=0.3.0",
57
+ "@modelcontextprotocol/sdk": ">=1.0.0"
58
+ },
59
+ "peerDependenciesMeta": {
60
+ "@modelcontextprotocol/sdk": {
61
+ "optional": true
62
+ },
63
+ "@langchain/core": {
64
+ "optional": true
65
+ }
66
+ },
67
+ "engines": {
68
+ "node": ">=18.0.0"
69
+ },
70
+ "license": "MIT"
71
+ }