@olane/o-lane 0.7.27 → 0.7.28
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/src/capabilities-execute/execute.capability.js +1 -1
- package/dist/src/capabilities-execute/interfaces/o-capability.configure-config.d.ts +10 -10
- package/dist/src/capabilities-execute/interfaces/o-capability.configure-config.d.ts.map +1 -1
- package/dist/src/storage/o-lane.storage-manager.d.ts.map +1 -1
- package/dist/src/storage/o-lane.storage-manager.js +5 -1
- package/package.json +9 -9
|
@@ -37,7 +37,7 @@ export class oCapabilityExecute extends oCapabilityIntelligence {
|
|
|
37
37
|
if (this.config.isReplay) {
|
|
38
38
|
this.logger.debug('Execute capability is being replayed - using stored execution data');
|
|
39
39
|
// Extract stored execution data
|
|
40
|
-
const storedExecution = this.config.storedExecution;
|
|
40
|
+
const storedExecution = this.config.params.storedExecution;
|
|
41
41
|
// Validate stored data exists (strict mode - fail if missing)
|
|
42
42
|
if (!storedExecution) {
|
|
43
43
|
throw new oError(oErrorCodes.INVALID_RESPONSE, 'Replay mode enabled but no stored execution data found');
|
|
@@ -4,17 +4,17 @@ export interface oCapabilityExecuteConfig extends oCapabilityConfig {
|
|
|
4
4
|
params: {
|
|
5
5
|
address: string;
|
|
6
6
|
intent: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
storedExecution?: {
|
|
8
|
+
handshakeResult: {
|
|
9
|
+
tools: string[];
|
|
10
|
+
methods: {
|
|
11
|
+
[key: string]: oMethod;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
taskConfig: {
|
|
15
|
+
method: string;
|
|
16
|
+
params: any;
|
|
13
17
|
};
|
|
14
|
-
};
|
|
15
|
-
taskConfig: {
|
|
16
|
-
method: string;
|
|
17
|
-
params: any;
|
|
18
18
|
};
|
|
19
19
|
};
|
|
20
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-capability.configure-config.d.ts","sourceRoot":"","sources":["../../../../src/capabilities-execute/interfaces/o-capability.configure-config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"o-capability.configure-config.d.ts","sourceRoot":"","sources":["../../../../src/capabilities-execute/interfaces/o-capability.configure-config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAC9E,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,WAAW,wBAAyB,SAAQ,iBAAiB;IACjE,MAAM,EAAE;QACN,OAAO,EAAE,MAAM,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,eAAe,CAAC,EAAE;YAChB,eAAe,EAAE;gBACf,KAAK,EAAE,MAAM,EAAE,CAAC;gBAChB,OAAO,EAAE;oBAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;iBAAE,CAAC;aACrC,CAAC;YACF,UAAU,EAAE;gBACV,MAAM,EAAE,MAAM,CAAC;gBACf,MAAM,EAAE,GAAG,CAAC;aACb,CAAC;SACH,CAAC;KACH,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"o-lane.storage-manager.d.ts","sourceRoot":"","sources":["../../../src/storage/o-lane.storage-manager.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,cAAc,CAAC;AAGnC,OAAO,EACL,iBAAiB,EACjB,eAAe,EAEhB,MAAM,0BAA0B,CAAC;AAGlC,KAAK,KAAK,GA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IA2C5E;;;;;OAKG;IACG,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,GAAG,SAAS,CAAC;IAqFjE;;;;;;OAMG;IACH,sBAAsB,CAAC,cAAc,EAAE,eAAe,GAAG,OAAO;IAShE;;;OAGG;IACH,YAAY,IAAI,GAAG,GAAG,SAAS;IAI/B;;OAEG;IACH,UAAU,IAAI,IAAI;CAGnB"}
|
|
@@ -153,7 +153,11 @@ export class oLaneStorageManager {
|
|
|
153
153
|
// For EXECUTE capabilities, add stored execution data to skip handshake and intelligence
|
|
154
154
|
if (capabilityType === oCapabilityType.EXECUTE &&
|
|
155
155
|
sequenceItem.result) {
|
|
156
|
-
|
|
156
|
+
// Ensure params object exists
|
|
157
|
+
if (!replayConfig.params) {
|
|
158
|
+
replayConfig.params = {};
|
|
159
|
+
}
|
|
160
|
+
replayConfig.params.storedExecution = {
|
|
157
161
|
handshakeResult: sequenceItem?.result?.handshakeResult,
|
|
158
162
|
taskConfig: sequenceItem?.result?.taskConfig,
|
|
159
163
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olane/o-lane",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.28",
|
|
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.28",
|
|
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.28",
|
|
61
|
+
"@olane/o-core": "0.7.28",
|
|
62
|
+
"@olane/o-node": "0.7.28",
|
|
63
|
+
"@olane/o-protocol": "0.7.28",
|
|
64
|
+
"@olane/o-storage": "0.7.28",
|
|
65
|
+
"@olane/o-tool": "0.7.28",
|
|
66
66
|
"debug": "^4.4.1",
|
|
67
67
|
"dotenv": "^16.5.0",
|
|
68
68
|
"handlebars": "^4.7.8"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "7f24180d2cf06c11195033ae6567aa291c70c90d"
|
|
71
71
|
}
|