@olane/o-tool-registry 0.1.6 → 0.2.0
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/dist/init.d.ts +2 -2
- package/dist/init.d.ts.map +1 -1
- package/dist/mcp/mcp-bridge.tool.d.ts.map +1 -1
- package/dist/mcp/mcp-bridge.tool.js +0 -2
- package/dist/mcp/mcp.tool.d.ts +1 -7
- package/dist/mcp/mcp.tool.d.ts.map +1 -1
- package/dist/vector-store/langchain-memory.vector-store.tool.d.ts.map +1 -1
- package/dist/vector-store/langchain-memory.vector-store.tool.js +0 -4
- package/package.json +12 -22
package/dist/init.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const initRegistryTools: (oNode:
|
|
1
|
+
import { oHostNodeTool, oVirtualTool } from '@olane/o-tool';
|
|
2
|
+
export declare const initRegistryTools: (oNode: oVirtualTool | oHostNodeTool) => void;
|
|
3
3
|
//# sourceMappingURL=init.d.ts.map
|
package/dist/init.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE5D,eAAO,MAAM,iBAAiB,UACrB,YAAY,GAAG,aAAa,KAClC,IA8BF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-bridge.tool.d.ts","sourceRoot":"","sources":["../../src/mcp/mcp-bridge.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACtE,OAAO,EAAY,QAAQ,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,MAAM,E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|
@@ -8,13 +8,7 @@ export declare class McpTool extends oVirtualTool {
|
|
|
8
8
|
mcpClient: Client;
|
|
9
9
|
});
|
|
10
10
|
setupTools(mcpClient: Client): Promise<void>;
|
|
11
|
-
index(): Promise<
|
|
12
|
-
provider: string;
|
|
13
|
-
summary: string;
|
|
14
|
-
} | {
|
|
15
|
-
summary: string | null;
|
|
16
|
-
provider?: undefined;
|
|
17
|
-
}>;
|
|
11
|
+
index(): Promise<any>;
|
|
18
12
|
whoami(): Promise<any>;
|
|
19
13
|
}
|
|
20
14
|
//# sourceMappingURL=mcp.tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp.tool.d.ts","sourceRoot":"","sources":["../../src/mcp/mcp.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAY,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAGnE,qBAAa,OAAQ,SAAQ,YAAY;IACvC,OAAO,CAAC,SAAS,CAAS;gBAEd,MAAM,EAAE,WAAW,GAAG;QAAE,OAAO,EAAE,QAAQ,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;IAepE,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA2B5C,KAAK
|
|
1
|
+
{"version":3,"file":"mcp.tool.d.ts","sourceRoot":"","sources":["../../src/mcp/mcp.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAY,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AAGnE,qBAAa,OAAQ,SAAQ,YAAY;IACvC,OAAO,CAAC,SAAS,CAAS;gBAEd,MAAM,EAAE,WAAW,GAAG;QAAE,OAAO,EAAE,QAAQ,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE;IAepE,UAAU,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA2B5C,KAAK;IA2BL,MAAM,IAAI,OAAO,CAAC,GAAG,CAAC;CAe7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"langchain-memory.vector-store.tool.d.ts","sourceRoot":"","sources":["../../src/vector-store/langchain-memory.vector-store.tool.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,QAAQ,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAIlE,qBAAa,8BAA+B,SAAQ,uBAAuB;IACzE,OAAO,CAAC,WAAW,CAAqB;gBAE5B,MAAM,EAAE,WAAW;IAM/B,OAAO,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"langchain-memory.vector-store.tool.d.ts","sourceRoot":"","sources":["../../src/vector-store/langchain-memory.vector-store.tool.ts"],"names":[],"mappings":"AACA,OAAO,EAAY,QAAQ,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAIlE,qBAAa,8BAA+B,SAAQ,uBAAuB;IACzE,OAAO,CAAC,WAAW,CAAqB;gBAE5B,MAAM,EAAE,WAAW;IAM/B,OAAO,CAAC,cAAc;IAwBhB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAK3B,mBAAmB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IAOpD,sBAAsB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IAIvD,sBAAsB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;IAIvD,oBAAoB,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC;CAQ5D"}
|
|
@@ -16,8 +16,6 @@ export class LangchainMemoryVectorStoreTool extends VectorMemoryStorageTool {
|
|
|
16
16
|
params: {
|
|
17
17
|
documents,
|
|
18
18
|
},
|
|
19
|
-
}, {
|
|
20
|
-
noIndex: true,
|
|
21
19
|
});
|
|
22
20
|
return response.result.data;
|
|
23
21
|
},
|
|
@@ -28,8 +26,6 @@ export class LangchainMemoryVectorStoreTool extends VectorMemoryStorageTool {
|
|
|
28
26
|
params: {
|
|
29
27
|
query: document,
|
|
30
28
|
},
|
|
31
|
-
}, {
|
|
32
|
-
noIndex: true,
|
|
33
29
|
});
|
|
34
30
|
return response.result.data;
|
|
35
31
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olane/o-tool-registry",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -32,45 +32,35 @@
|
|
|
32
32
|
"license": "ISC",
|
|
33
33
|
"description": "oLane Core",
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@babel/core": "^7.27.4",
|
|
36
|
-
"@babel/preset-env": "^7.27.2",
|
|
37
|
-
"@babel/preset-react": "^7.27.1",
|
|
38
|
-
"@babel/preset-typescript": "^7.27.1",
|
|
39
35
|
"@eslint/eslintrc": "^3.3.1",
|
|
40
36
|
"@eslint/js": "^9.29.0",
|
|
41
|
-
"@olane/o-config": "^0.
|
|
42
|
-
"@olane/o-core": "^0.
|
|
43
|
-
"@olane/o-protocol": "^0.
|
|
44
|
-
"@olane/o-tool": "^0.
|
|
45
|
-
"@olane/o-tools-common": "^0.
|
|
37
|
+
"@olane/o-config": "^0.2.0",
|
|
38
|
+
"@olane/o-core": "^0.2.0",
|
|
39
|
+
"@olane/o-protocol": "^0.2.0",
|
|
40
|
+
"@olane/o-tool": "^0.2.0",
|
|
41
|
+
"@olane/o-tools-common": "^0.2.0",
|
|
46
42
|
"@tsconfig/node20": "^20.1.6",
|
|
47
43
|
"@types/jest": "^30.0.0",
|
|
48
44
|
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
49
45
|
"@typescript-eslint/parser": "^8.34.1",
|
|
50
|
-
"babel-loader": "^10.0.0",
|
|
51
46
|
"eslint": "^9.29.0",
|
|
52
47
|
"eslint-config-prettier": "^10.1.6",
|
|
53
48
|
"eslint-plugin-prettier": "^5.5.0",
|
|
54
49
|
"globals": "^16.2.0",
|
|
55
50
|
"jest": "^30.0.0",
|
|
56
|
-
"nodemon": "^3.1.10",
|
|
57
51
|
"prettier": "^3.5.3",
|
|
58
52
|
"ts-jest": "^29.4.0",
|
|
59
|
-
"ts-loader": "^9.5.2",
|
|
60
53
|
"ts-node": "^10.9.2",
|
|
61
54
|
"tsconfig-paths": "^4.2.0",
|
|
62
55
|
"tsx": "^4.20.3",
|
|
63
|
-
"typescript": "5.4.5"
|
|
64
|
-
"webpack": "^5.99.9",
|
|
65
|
-
"webpack-cli": "^6.0.1",
|
|
66
|
-
"webpack-dev-server": "^5.2.2"
|
|
56
|
+
"typescript": "5.4.5"
|
|
67
57
|
},
|
|
68
58
|
"peerDependencies": {
|
|
69
|
-
"@olane/o-config": "^0.
|
|
70
|
-
"@olane/o-core": "^0.
|
|
71
|
-
"@olane/o-protocol": "^0.
|
|
72
|
-
"@olane/o-tool": "^0.
|
|
73
|
-
"@olane/o-tools-common": "^0.
|
|
59
|
+
"@olane/o-config": "^0.2.0",
|
|
60
|
+
"@olane/o-core": "^0.2.0",
|
|
61
|
+
"@olane/o-protocol": "^0.2.0",
|
|
62
|
+
"@olane/o-tool": "^0.2.0",
|
|
63
|
+
"@olane/o-tools-common": "^0.2.0"
|
|
74
64
|
},
|
|
75
65
|
"dependencies": {
|
|
76
66
|
"@huggingface/transformers": "^3.5.2",
|