ragent-cli 1.11.1 → 1.11.2
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/index.js +8 -2
- package/dist/sbom.json +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ var require_package = __commonJS({
|
|
|
31
31
|
"package.json"(exports2, module2) {
|
|
32
32
|
module2.exports = {
|
|
33
33
|
name: "ragent-cli",
|
|
34
|
-
version: "1.11.
|
|
34
|
+
version: "1.11.2",
|
|
35
35
|
description: "CLI agent for rAgent Live \u2014 browser-first terminal control plane for AI coding agents",
|
|
36
36
|
main: "dist/index.js",
|
|
37
37
|
bin: {
|
|
@@ -5567,14 +5567,20 @@ async function runAgent(rawOptions) {
|
|
|
5567
5567
|
log15.warn("failed to decrypt input \u2014 ignoring");
|
|
5568
5568
|
}
|
|
5569
5569
|
}
|
|
5570
|
-
} else if (typeof payload.data === "string") {
|
|
5570
|
+
} else if (typeof payload.data === "string" && !conn.sessionKey) {
|
|
5571
5571
|
inputData = payload.data;
|
|
5572
|
+
} else if (conn.sessionKey) {
|
|
5573
|
+
log15.warn("rejecting plaintext input frame while encrypted channel is active");
|
|
5572
5574
|
}
|
|
5573
5575
|
if (inputData !== null) {
|
|
5574
5576
|
const sid = typeof payload.sessionId === "string" ? payload.sessionId.trim() : "";
|
|
5575
5577
|
dispatcher.handleInput(inputData, sid);
|
|
5576
5578
|
}
|
|
5577
5579
|
} else if (payload.type === "resize" && Number.isInteger(payload.cols) && Number.isInteger(payload.rows)) {
|
|
5580
|
+
if (conn.sessionKey && !dispatcher.verifyMessageHmac(payload)) {
|
|
5581
|
+
log15.warn("rejecting resize frame \u2014 HMAC verification failed");
|
|
5582
|
+
return;
|
|
5583
|
+
}
|
|
5578
5584
|
const sid = typeof payload.sessionId === "string" ? payload.sessionId.trim() : "";
|
|
5579
5585
|
dispatcher.handleResize(payload.cols, payload.rows, sid);
|
|
5580
5586
|
} else if (payload.type === "control" && typeof payload.action === "string") {
|
package/dist/sbom.json
CHANGED
|
@@ -1166,8 +1166,8 @@
|
|
|
1166
1166
|
{
|
|
1167
1167
|
"type": "library",
|
|
1168
1168
|
"name": "ragent-cli",
|
|
1169
|
-
"version": "1.11.
|
|
1170
|
-
"bom-ref": "ragent-live|ragent-cli@1.11.
|
|
1169
|
+
"version": "1.11.2",
|
|
1170
|
+
"bom-ref": "ragent-live|ragent-cli@1.11.2",
|
|
1171
1171
|
"author": "Intellimetrics",
|
|
1172
1172
|
"description": "CLI agent for rAgent Live — browser-first terminal control plane for AI coding agents",
|
|
1173
1173
|
"licenses": [
|
|
@@ -1178,7 +1178,7 @@
|
|
|
1178
1178
|
}
|
|
1179
1179
|
}
|
|
1180
1180
|
],
|
|
1181
|
-
"purl": "pkg:npm/ragent-cli@1.11.
|
|
1181
|
+
"purl": "pkg:npm/ragent-cli@1.11.2",
|
|
1182
1182
|
"externalReferences": [
|
|
1183
1183
|
{
|
|
1184
1184
|
"url": "https://github.com/chadlindell/ragent-live/issues",
|
|
@@ -1303,7 +1303,7 @@
|
|
|
1303
1303
|
"ragent-live|@emnapi/wasi-threads@1.2.1",
|
|
1304
1304
|
"ragent-live|@pkgjs/parseargs@0.11.0",
|
|
1305
1305
|
"ragent-live|@tybys/wasm-util@0.10.1",
|
|
1306
|
-
"ragent-live|ragent-cli@1.11.
|
|
1306
|
+
"ragent-live|ragent-cli@1.11.2"
|
|
1307
1307
|
]
|
|
1308
1308
|
},
|
|
1309
1309
|
{
|
|
@@ -1436,7 +1436,7 @@
|
|
|
1436
1436
|
]
|
|
1437
1437
|
},
|
|
1438
1438
|
{
|
|
1439
|
-
"ref": "ragent-live|ragent-cli@1.11.
|
|
1439
|
+
"ref": "ragent-live|ragent-cli@1.11.2",
|
|
1440
1440
|
"dependsOn": [
|
|
1441
1441
|
"ragent-live|@azure/web-pubsub-client@1.0.4",
|
|
1442
1442
|
"ragent-live|commander@14.0.3",
|