@olane/o-tools-common 0.2.3 → 0.3.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { oVirtualTool, ToolResult } from '@olane/o-tool';
|
|
2
2
|
import { oRequest } from '@olane/o-core';
|
|
3
3
|
import { oAgentConfig } from './interfaces/agent.config.js';
|
|
4
|
-
export declare abstract class oAgentTool extends
|
|
4
|
+
export declare abstract class oAgentTool extends oVirtualTool {
|
|
5
5
|
protected respond: (intent: string) => Promise<string>;
|
|
6
6
|
protected answer: (intent: string) => Promise<string>;
|
|
7
7
|
constructor(config: oAgentConfig);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-agent.tool.d.ts","sourceRoot":"","sources":["../../src/agent/base-agent.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"base-agent.tool.d.ts","sourceRoot":"","sources":["../../src/agent/base-agent.tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAY,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,8BAAsB,UAAW,SAAQ,YAAY;IACnD,SAAS,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IACvD,SAAS,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;gBAE1C,MAAM,EAAE,YAAY;IAU1B,YAAY,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC;IAWpD,cAAc,CAAC,OAAO,EAAE,QAAQ,GAAG,OAAO,CAAC,UAAU,CAAC;CAU7D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { oVirtualTool } from '@olane/o-tool';
|
|
2
2
|
import { oAddress } from '@olane/o-core';
|
|
3
3
|
import { AGENT_METHODS } from './methods/agent.methods.js';
|
|
4
|
-
export class oAgentTool extends
|
|
4
|
+
export class oAgentTool extends oVirtualTool {
|
|
5
5
|
constructor(config) {
|
|
6
6
|
super({
|
|
7
7
|
...config,
|
package/dist/init.d.ts
CHANGED
|
@@ -4,6 +4,6 @@ import { SearchTool } from './search/search.tool.js';
|
|
|
4
4
|
import { SetupTool } from './setup/setup.tool.js';
|
|
5
5
|
import { EncryptionTool } from './encryption/encryption.tool.js';
|
|
6
6
|
import { EncryptedPlanStorageTool } from './plan/encrypted-plan-storage.tool.js';
|
|
7
|
-
import {
|
|
8
|
-
export declare const initCommonTools: (oNode: oVirtualTool
|
|
7
|
+
import { oVirtualTool } from '@olane/o-tool';
|
|
8
|
+
export declare const initCommonTools: (oNode: oVirtualTool) => (RegistryMemoryTool | StorageTool | SearchTool | SetupTool | EncryptionTool | EncryptedPlanStorageTool)[];
|
|
9
9
|
//# 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":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../src/init.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAExE,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C,eAAO,MAAM,eAAe,UAAW,YAAY,8GAoClD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olane/o-tools-common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "git+https://github.com/olane-labs/
|
|
29
|
+
"url": "git+https://github.com/olane-labs/olane.git"
|
|
30
30
|
},
|
|
31
31
|
"author": "oLane Inc.",
|
|
32
32
|
"license": "ISC",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@eslint/eslintrc": "^3.3.1",
|
|
36
36
|
"@eslint/js": "^9.29.0",
|
|
37
|
-
"@olane/o-config": "^0.
|
|
38
|
-
"@olane/o-core": "^0.
|
|
39
|
-
"@olane/o-protocol": "^0.
|
|
40
|
-
"@olane/o-tool": "^0.
|
|
37
|
+
"@olane/o-config": "^0.3.1",
|
|
38
|
+
"@olane/o-core": "^0.3.1",
|
|
39
|
+
"@olane/o-protocol": "^0.3.1",
|
|
40
|
+
"@olane/o-tool": "^0.3.1",
|
|
41
41
|
"@tsconfig/node20": "^20.1.6",
|
|
42
42
|
"@types/jest": "^30.0.0",
|
|
43
43
|
"@typescript-eslint/eslint-plugin": "^8.34.1",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"typescript": "5.4.5"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@olane/o-config": "^0.
|
|
59
|
-
"@olane/o-core": "^0.
|
|
60
|
-
"@olane/o-protocol": "^0.
|
|
61
|
-
"@olane/o-tool": "^0.
|
|
58
|
+
"@olane/o-config": "^0.3.1",
|
|
59
|
+
"@olane/o-core": "^0.3.1",
|
|
60
|
+
"@olane/o-protocol": "^0.3.1",
|
|
61
|
+
"@olane/o-tool": "^0.3.1"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"debug": "^4.4.1",
|