@easynet/agent-tool-hub 1.0.6
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/README.md +132 -0
- package/dist/N8nLocalAdapter-6RKQJXJP.js +4 -0
- package/dist/N8nLocalAdapter-6RKQJXJP.js.map +1 -0
- package/dist/N8nLocalAdapter-MDWME5ZG.cjs +13 -0
- package/dist/N8nLocalAdapter-MDWME5ZG.cjs.map +1 -0
- package/dist/chunk-57LVNNHL.js +19 -0
- package/dist/chunk-57LVNNHL.js.map +1 -0
- package/dist/chunk-6QTWECRD.cjs +23 -0
- package/dist/chunk-6QTWECRD.cjs.map +1 -0
- package/dist/chunk-HPDQEW2P.js +5251 -0
- package/dist/chunk-HPDQEW2P.js.map +1 -0
- package/dist/chunk-MHEFFZBB.js +134 -0
- package/dist/chunk-MHEFFZBB.js.map +1 -0
- package/dist/chunk-NTTBDQUF.cjs +118 -0
- package/dist/chunk-NTTBDQUF.cjs.map +1 -0
- package/dist/chunk-TIKHPRMB.cjs +5313 -0
- package/dist/chunk-TIKHPRMB.cjs.map +1 -0
- package/dist/chunk-X53WXBKX.cjs +136 -0
- package/dist/chunk-X53WXBKX.cjs.map +1 -0
- package/dist/chunk-YSYEED4K.js +114 -0
- package/dist/chunk-YSYEED4K.js.map +1 -0
- package/dist/cli.cjs +194 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.cts +10 -0
- package/dist/cli.d.ts +10 -0
- package/dist/cli.js +186 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.cjs +592 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +552 -0
- package/dist/index.d.ts +552 -0
- package/dist/index.js +358 -0
- package/dist/index.js.map +1 -0
- package/dist/toolhub-runtime-CQkP4QVW.d.cts +1564 -0
- package/dist/toolhub-runtime-CQkP4QVW.d.ts +1564 -0
- package/dist/toolhub-runtime.cjs +30 -0
- package/dist/toolhub-runtime.cjs.map +1 -0
- package/dist/toolhub-runtime.d.cts +4 -0
- package/dist/toolhub-runtime.d.ts +4 -0
- package/dist/toolhub-runtime.js +5 -0
- package/dist/toolhub-runtime.js.map +1 -0
- package/package.json +77 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6QTWECRD_cjs = require('./chunk-6QTWECRD.cjs');
|
|
4
|
+
var chunkTIKHPRMB_cjs = require('./chunk-TIKHPRMB.cjs');
|
|
5
|
+
require('./chunk-NTTBDQUF.cjs');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "createAgentToolHub", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunk6QTWECRD_cjs.createAgentToolHub; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "createToolHubAndInit", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunk6QTWECRD_cjs.createToolHubAndInit; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "createToolHubAndInitFromConfig", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunk6QTWECRD_cjs.createToolHubAndInitFromConfig; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "ToolHub", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkTIKHPRMB_cjs.ToolHub; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "createToolHub", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkTIKHPRMB_cjs.createToolHub; }
|
|
28
|
+
});
|
|
29
|
+
//# sourceMappingURL=toolhub-runtime.cjs.map
|
|
30
|
+
//# 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,5 @@
|
|
|
1
|
+
export { createAgentToolHub, createToolHubAndInit, createToolHubAndInitFromConfig } from './chunk-57LVNNHL.js';
|
|
2
|
+
export { ToolHub, createToolHub } from './chunk-HPDQEW2P.js';
|
|
3
|
+
import './chunk-YSYEED4K.js';
|
|
4
|
+
//# sourceMappingURL=toolhub-runtime.js.map
|
|
5
|
+
//# 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,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@easynet/agent-tool-hub",
|
|
3
|
+
"version": "1.0.6",
|
|
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
|
+
"bin": {
|
|
10
|
+
"agent-tool-hub": "dist/cli.js"
|
|
11
|
+
},
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"import": "./dist/index.js",
|
|
16
|
+
"require": "./dist/index.cjs"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"dist"
|
|
21
|
+
],
|
|
22
|
+
"publishConfig": {
|
|
23
|
+
"access": "public"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "tsup",
|
|
27
|
+
"dev": "tsup --watch",
|
|
28
|
+
"test": "vitest run",
|
|
29
|
+
"test:watch": "vitest",
|
|
30
|
+
"typecheck": "tsc --noEmit",
|
|
31
|
+
"clean": "rm -rf dist",
|
|
32
|
+
"dump:tools": "npm run build && node scripts/dump-tools.mjs",
|
|
33
|
+
"lint:lines": "./scripts/check-line-count.sh",
|
|
34
|
+
"lint:functions": "python3 scripts/check-function-length.py"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@easynet/n8n-local": "^0.0.37",
|
|
38
|
+
"ajv": "^8.17.1",
|
|
39
|
+
"ajv-formats": "^3.0.1",
|
|
40
|
+
"cockatiel": "^3.2.1",
|
|
41
|
+
"eventemitter3": "^5.0.1",
|
|
42
|
+
"jmespath": "^0.16.0",
|
|
43
|
+
"js-yaml": "^4.1.1",
|
|
44
|
+
"mustache": "^4.2.0",
|
|
45
|
+
"p-retry": "^6.2.1",
|
|
46
|
+
"p-timeout": "^6.1.4",
|
|
47
|
+
"uuid": "^11.0.5"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@semantic-release/git": "^10.0.1",
|
|
51
|
+
"@types/jmespath": "^0.15.2",
|
|
52
|
+
"@types/js-yaml": "^4.0.9",
|
|
53
|
+
"@types/mustache": "^4.2.5",
|
|
54
|
+
"@types/node": "^22.10.0",
|
|
55
|
+
"@types/uuid": "^10.0.0",
|
|
56
|
+
"semantic-release": "^24.2.0",
|
|
57
|
+
"tsup": "^8.3.5",
|
|
58
|
+
"typescript": "^5.7.2",
|
|
59
|
+
"vitest": "^2.1.8"
|
|
60
|
+
},
|
|
61
|
+
"peerDependencies": {
|
|
62
|
+
"@langchain/core": ">=0.3.0",
|
|
63
|
+
"@modelcontextprotocol/sdk": ">=1.0.0"
|
|
64
|
+
},
|
|
65
|
+
"peerDependenciesMeta": {
|
|
66
|
+
"@modelcontextprotocol/sdk": {
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
69
|
+
"@langchain/core": {
|
|
70
|
+
"optional": true
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"engines": {
|
|
74
|
+
"node": ">=18.0.0"
|
|
75
|
+
},
|
|
76
|
+
"license": "MIT"
|
|
77
|
+
}
|