@clawos-dev/clawd 0.2.91 → 0.2.92-beta.172.142961c
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/cli.cjs +4 -9
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -22455,7 +22455,6 @@ function probePtyDataThrottled(tsid, len, tail) {
|
|
|
22455
22455
|
}
|
|
22456
22456
|
|
|
22457
22457
|
// src/session/manager.ts
|
|
22458
|
-
var SCREEN_PRELUDE = "\x1B[?1049h\x1B[2J\x1B[H";
|
|
22459
22458
|
function compressFrameForWire(frame) {
|
|
22460
22459
|
if (frame.type !== "session:status") return frame;
|
|
22461
22460
|
const raw = frame;
|
|
@@ -23824,22 +23823,18 @@ var SessionManager = class {
|
|
|
23824
23823
|
return null;
|
|
23825
23824
|
}
|
|
23826
23825
|
const snap = replay();
|
|
23827
|
-
const
|
|
23828
|
-
const dumpFile = probeDumpReplay(sessionId, data);
|
|
23826
|
+
const dumpFile = probeDumpReplay(sessionId, snap.data);
|
|
23829
23827
|
probeEvent("replay.dump", {
|
|
23830
23828
|
sid: sessionId,
|
|
23831
23829
|
tsid,
|
|
23832
|
-
|
|
23833
|
-
bytes: data.length,
|
|
23834
|
-
preludeBytes: SCREEN_PRELUDE.length,
|
|
23835
|
-
withPrelude: true,
|
|
23830
|
+
bytes: snap.data.length,
|
|
23836
23831
|
popupKind: snap.popupKind,
|
|
23837
|
-
headHex: Buffer.from(data, "utf8").subarray(0, 32).toString("hex"),
|
|
23832
|
+
headHex: Buffer.from(snap.data, "utf8").subarray(0, 32).toString("hex"),
|
|
23838
23833
|
dumpFile,
|
|
23839
23834
|
runnerKeys: Array.from(this.runners.keys()),
|
|
23840
23835
|
replayMapKeys: Array.from(this.ptyReplaysByToolSid.keys())
|
|
23841
23836
|
});
|
|
23842
|
-
return
|
|
23837
|
+
return snap;
|
|
23843
23838
|
}
|
|
23844
23839
|
/**
|
|
23845
23840
|
* handler tui:pty:input / tui:pty:resize 入口:传 wire 层 sessionId(16 字符),
|
package/package.json
CHANGED