@olane/o-lane 0.8.12 → 0.8.13

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":"execute.capability.d.ts","sourceRoot":"","sources":["../../../src/capabilities-execute/execute.capability.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAEvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF,qBAAa,kBAAmB,SAAQ,uBAAuB;IACtD,MAAM,EAAG,wBAAwB,CAAC;IAEzC,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,MAAM,KAAK,IAAI,oBAEd;IAED,OAAO,CAAC,cAAc;IAWhB,UAAU,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IAepD,SAAS,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAatC,GAAG,IAAI,OAAO,CAAC,iBAAiB,CAAC;CAoOxC"}
1
+ {"version":3,"file":"execute.capability.d.ts","sourceRoot":"","sources":["../../../src/capabilities-execute/execute.capability.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAEvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AAEzF,qBAAa,kBAAmB,SAAQ,uBAAuB;IACtD,MAAM,EAAG,wBAAwB,CAAC;IAEzC,IAAI,IAAI,IAAI,eAAe,CAE1B;IAED,MAAM,KAAK,IAAI,oBAEd;IAED,OAAO,CAAC,cAAc;IAYhB,UAAU,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,GAAG,GAAG,OAAO,CAAC,MAAM,CAAC;IAepD,SAAS,IAAI,OAAO,CAAC,gBAAgB,CAAC;IAUtC,GAAG,IAAI,OAAO,CAAC,iBAAiB,CAAC;CA8OxC"}
@@ -116,7 +116,19 @@ export class oCapabilityExecute extends oCapabilityIntelligence {
116
116
  this.logger.warn('AI did not return a valid task to execute', {
117
117
  aiResponse,
118
118
  });
119
- return aiResponse; // Return AI response as-is if no task to execute
119
+ return new oCapabilityResult({
120
+ type: oCapabilityType.EVALUATE,
121
+ config: this.config,
122
+ result: {
123
+ handshakeResult: {
124
+ tools: tools,
125
+ methods: methods,
126
+ },
127
+ address: this.resolveAddress(),
128
+ response: aiResponse.result,
129
+ },
130
+ shouldPersist: false,
131
+ });
120
132
  }
121
133
  const method = task.method;
122
134
  const params = task.params || {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olane/o-lane",
3
- "version": "0.8.12",
3
+ "version": "0.8.13",
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.8.12",
39
+ "@olane/o-test": "0.8.13",
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.8.12",
61
- "@olane/o-core": "0.8.12",
62
- "@olane/o-node": "0.8.12",
63
- "@olane/o-protocol": "0.8.12",
64
- "@olane/o-storage": "0.8.12",
65
- "@olane/o-tool": "0.8.12",
60
+ "@olane/o-config": "0.8.13",
61
+ "@olane/o-core": "0.8.13",
62
+ "@olane/o-node": "0.8.13",
63
+ "@olane/o-protocol": "0.8.13",
64
+ "@olane/o-storage": "0.8.13",
65
+ "@olane/o-tool": "0.8.13",
66
66
  "debug": "^4.4.1",
67
67
  "dotenv": "^16.5.0",
68
68
  "handlebars": "^4.7.8"
69
69
  },
70
- "gitHead": "97a0630c05c48f4eddee4c9149f0d7d0e23196da"
70
+ "gitHead": "23c3e99e1dfe069697b4df483ef93c3e0b2902f7"
71
71
  }