pty-manager 1.7.2 → 1.7.3
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.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +1 -1
- package/dist/pty-worker.js +20 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2594,6 +2594,14 @@ var BunCompatiblePTYManager = class extends EventEmitter3 {
|
|
|
2594
2594
|
this.sendCommand({ cmd: "sendKeys", id, keys });
|
|
2595
2595
|
await this.createPending(`sendKeys:${id}`);
|
|
2596
2596
|
}
|
|
2597
|
+
/**
|
|
2598
|
+
* Write raw data to a session (bypasses adapter formatting)
|
|
2599
|
+
*/
|
|
2600
|
+
async writeRaw(id, data) {
|
|
2601
|
+
await this.waitForReady();
|
|
2602
|
+
this.sendCommand({ cmd: "writeRaw", id, data });
|
|
2603
|
+
await this.createPending(`writeRaw:${id}`);
|
|
2604
|
+
}
|
|
2597
2605
|
/**
|
|
2598
2606
|
* Paste text to a session
|
|
2599
2607
|
*/
|