@olane/o-lane 0.7.34 → 0.7.35
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-lane.mixin.d.ts","sourceRoot":"","sources":["../../src/o-lane.mixin.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,SAAS,EAClE,IAAI,EAAE,CAAC,GACN,CAAC,
|
|
1
|
+
{"version":3,"file":"o-lane.mixin.d.ts","sourceRoot":"","sources":["../../src/o-lane.mixin.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,QAAQ,CAAC,CAAC,SAAS,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,SAAS,EAClE,IAAI,EAAE,CAAC,GACN,CAAC,CAyJH"}
|
package/dist/src/o-lane.mixin.js
CHANGED
|
@@ -52,7 +52,7 @@ export function withLane(Base) {
|
|
|
52
52
|
*/
|
|
53
53
|
async _tool_intent(request) {
|
|
54
54
|
this.logger.debug('Intent resolution called: ', request.params);
|
|
55
|
-
const { intent, context, chatHistory, streamTo, _isStreaming = false } = request.params;
|
|
55
|
+
const { intent, context, chatHistory, streamTo, _isStreaming = false, } = request.params;
|
|
56
56
|
const pc = await this.manager.createLane({
|
|
57
57
|
intent: new oIntent({ intent: intent }),
|
|
58
58
|
currentNode: this,
|
|
@@ -70,12 +70,10 @@ export function withLane(Base) {
|
|
|
70
70
|
this.logger.error('UNEXPECTED LAST CHUNK RECEIVED', JSON.stringify(chunk, null, 2));
|
|
71
71
|
throw new oError(oErrorCodes.INVALID_ACTION, 'Misbehaving client sent unexpected last chunk');
|
|
72
72
|
}
|
|
73
|
-
await CoreUtils.
|
|
73
|
+
await CoreUtils.sendResponse(oResponse.fromJSON(chunk), request.stream);
|
|
74
74
|
}
|
|
75
75
|
: undefined,
|
|
76
|
-
context: context
|
|
77
|
-
? new oLaneContext([])
|
|
78
|
-
: undefined,
|
|
76
|
+
context: context ? new oLaneContext([]) : undefined,
|
|
79
77
|
});
|
|
80
78
|
// TODO: brendon experiment review
|
|
81
79
|
// stream.addEventListener('close', () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@olane/o-lane",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.35",
|
|
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.35",
|
|
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.35",
|
|
61
|
+
"@olane/o-core": "0.7.35",
|
|
62
|
+
"@olane/o-node": "0.7.35",
|
|
63
|
+
"@olane/o-protocol": "0.7.35",
|
|
64
|
+
"@olane/o-storage": "0.7.35",
|
|
65
|
+
"@olane/o-tool": "0.7.35",
|
|
66
66
|
"debug": "^4.4.1",
|
|
67
67
|
"dotenv": "^16.5.0",
|
|
68
68
|
"handlebars": "^4.7.8"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "4969788a907bb3a8705c84d42f461403a0194283"
|
|
71
71
|
}
|