@mduan/paseo-cli 0.11.0-fork.25 → 0.11.0-fork.27
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/node_modules/@getpaseo/client/package.json +3 -3
- package/node_modules/@getpaseo/highlight/package.json +1 -1
- package/node_modules/@getpaseo/plugin/package.json +3 -3
- package/node_modules/@getpaseo/protocol/package.json +1 -1
- package/node_modules/@getpaseo/relay/package.json +1 -1
- package/node_modules/@getpaseo/server/dist/server/builtin-plugins/package.json +1 -1
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/jsonl-frame-decoder.d.ts +1 -1
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/jsonl-frame-decoder.js +15 -6
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{index-bad395507d396add277fbea7486eee2c.js → index-7e4ab792ea6f53cd25ad3ad933be47d6.js} +11 -11
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-7e4ab792ea6f53cd25ad3ad933be47d6.js.br +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-7e4ab792ea6f53cd25ad3ad933be47d6.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/index.html +1 -1
- package/node_modules/@getpaseo/server/dist/server/web-ui/index.html.br +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/index.html.gz +0 -0
- package/node_modules/@getpaseo/server/package.json +6 -6
- package/package.json +7 -7
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-bad395507d396add277fbea7486eee2c.js.br +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-bad395507d396add277fbea7486eee2c.js.gz +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpaseo/client",
|
|
3
|
-
"version": "0.11.0-fork.
|
|
3
|
+
"version": "0.11.0-fork.27",
|
|
4
4
|
"description": "Paseo client SDK package",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"vitest": "^4.1.6"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@getpaseo/protocol": "0.11.0-fork.
|
|
48
|
-
"@getpaseo/relay": "0.11.0-fork.
|
|
47
|
+
"@getpaseo/protocol": "0.11.0-fork.27",
|
|
48
|
+
"@getpaseo/relay": "0.11.0-fork.27"
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpaseo/plugin",
|
|
3
|
-
"version": "0.11.0-fork.
|
|
3
|
+
"version": "0.11.0-fork.27",
|
|
4
4
|
"description": "Paseo plugin SDK package",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
"test": "vitest run"
|
|
67
67
|
},
|
|
68
68
|
"devDependencies": {
|
|
69
|
-
"@getpaseo/client": "0.11.0-fork.
|
|
70
|
-
"@getpaseo/protocol": "0.11.0-fork.
|
|
69
|
+
"@getpaseo/client": "0.11.0-fork.27",
|
|
70
|
+
"@getpaseo/protocol": "0.11.0-fork.27",
|
|
71
71
|
"@types/node": "^20.9.0",
|
|
72
72
|
"@types/react": "~19.2.0",
|
|
73
73
|
"react": "19.1.0",
|
package/node_modules/@getpaseo/server/dist/server/server/agent/providers/jsonl-frame-decoder.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export type JsonlFrameProblem = "invalid-json" | "invalid-chunk" | "invalid-base
|
|
|
2
2
|
export declare function supportsJsonlRpcProtocolV2(message: Record<string, unknown>): boolean;
|
|
3
3
|
export declare class JsonlFrameDecoder {
|
|
4
4
|
private readonly receiver;
|
|
5
|
-
private
|
|
5
|
+
private lineParts;
|
|
6
6
|
private assembly;
|
|
7
7
|
constructor(receiver: {
|
|
8
8
|
frame(message: Record<string, unknown>): void;
|
package/node_modules/@getpaseo/server/dist/server/server/agent/providers/jsonl-frame-decoder.js
CHANGED
|
@@ -49,19 +49,28 @@ function chunkBytes(data) {
|
|
|
49
49
|
export class JsonlFrameDecoder {
|
|
50
50
|
constructor(receiver) {
|
|
51
51
|
this.receiver = receiver;
|
|
52
|
-
this.
|
|
52
|
+
this.lineParts = [];
|
|
53
53
|
this.assembly = null;
|
|
54
54
|
}
|
|
55
55
|
write(text) {
|
|
56
|
-
|
|
57
|
-
let newline =
|
|
56
|
+
let start = 0;
|
|
57
|
+
let newline = text.indexOf("\n");
|
|
58
58
|
while (newline !== -1) {
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
let line = text.slice(start, newline);
|
|
60
|
+
if (this.lineParts.length) {
|
|
61
|
+
this.lineParts.push(line);
|
|
62
|
+
line = this.lineParts.join("");
|
|
63
|
+
this.lineParts = [];
|
|
64
|
+
}
|
|
65
|
+
line = line.replace(/\r$/, "");
|
|
61
66
|
if (line.trim())
|
|
62
67
|
this.consumeLine(line);
|
|
63
|
-
|
|
68
|
+
start = newline + 1;
|
|
69
|
+
newline = text.indexOf("\n", start);
|
|
64
70
|
}
|
|
71
|
+
// Keep fragments separate so a large incomplete line is never recopied or rescanned.
|
|
72
|
+
if (start < text.length)
|
|
73
|
+
this.lineParts.push(text.slice(start));
|
|
65
74
|
}
|
|
66
75
|
consumeLine(line) {
|
|
67
76
|
let parsed;
|