@olane/o-lane 0.7.21 → 0.7.23
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-capability.config.d.ts","sourceRoot":"","sources":["../../../src/capabilities/o-capability.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,IAAI,KAAK,EAAE,MAAM,+CAA+C,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,qBAAa,iBAAkB,YAAW,KAAK;IAC7C,IAAI,EAAG,SAAS,CAAC;IACjB,MAAM,EAAG,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;gBAEnB,MAAM,EAAE,KAAK;
|
|
1
|
+
{"version":3,"file":"o-capability.config.d.ts","sourceRoot":"","sources":["../../../src/capabilities/o-capability.config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,IAAI,KAAK,EAAE,MAAM,+CAA+C,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,qBAAa,iBAAkB,YAAW,KAAK;IAC7C,IAAI,EAAG,SAAS,CAAC;IACjB,MAAM,EAAG,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;gBAEnB,MAAM,EAAE,KAAK;IAYzB,MAAM;;;;;IAQN,QAAQ;IAIR,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,KAAK,GAAG,iBAAiB;CAIhD"}
|
|
@@ -19,7 +19,7 @@ export class oCapabilityExecute extends oCapabilityIntelligence {
|
|
|
19
19
|
chat_history: '',
|
|
20
20
|
past_cycles: '',
|
|
21
21
|
address: this.config.params.address,
|
|
22
|
-
methods: methods
|
|
22
|
+
methods: methods ? JSON.stringify(methods) : ''
|
|
23
23
|
});
|
|
24
24
|
return prompt.render();
|
|
25
25
|
}
|
|
@@ -41,7 +41,6 @@ export class oCapabilityExecute extends oCapabilityIntelligence {
|
|
|
41
41
|
if (!handshake.result) {
|
|
42
42
|
throw new oError(oErrorCodes.INVALID_RESPONSE, 'Handshake failed');
|
|
43
43
|
}
|
|
44
|
-
// this.logger.debug('Handshake: ', handshake.result);
|
|
45
44
|
const { tools, methods } = handshake.result;
|
|
46
45
|
const prompt = await this.loadPrompt({ tools, methods });
|
|
47
46
|
const aiResponse = await this.intelligence(prompt);
|
package/dist/test/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olane/o-lane",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@eslint/eslintrc": "^3.3.1",
|
|
38
38
|
"@eslint/js": "^9.29.0",
|
|
39
|
-
"@olane/o-test": "0.7.
|
|
39
|
+
"@olane/o-test": "0.7.23",
|
|
40
40
|
"@tsconfig/node20": "^20.1.6",
|
|
41
41
|
"@types/handlebars": "^4.1.0",
|
|
42
42
|
"@types/jest": "^30.0.0",
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
"typescript": "5.4.5"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@olane/o-config": "0.7.
|
|
61
|
-
"@olane/o-core": "0.7.
|
|
62
|
-
"@olane/o-node": "0.7.
|
|
63
|
-
"@olane/o-protocol": "0.7.
|
|
64
|
-
"@olane/o-storage": "0.7.
|
|
65
|
-
"@olane/o-tool": "0.7.
|
|
60
|
+
"@olane/o-config": "0.7.23",
|
|
61
|
+
"@olane/o-core": "0.7.23",
|
|
62
|
+
"@olane/o-node": "0.7.23",
|
|
63
|
+
"@olane/o-protocol": "0.7.23",
|
|
64
|
+
"@olane/o-storage": "0.7.23",
|
|
65
|
+
"@olane/o-tool": "0.7.23",
|
|
66
66
|
"debug": "^4.4.1",
|
|
67
67
|
"dotenv": "^16.5.0",
|
|
68
68
|
"handlebars": "^4.7.8"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "a0c9876902285eb3fbb455fcd555796b2958cbd5"
|
|
71
71
|
}
|