@narumitw/pi-notes 0.2.2 → 0.2.4
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/package.json +2 -2
- package/src/note-picker.ts +1 -0
- package/src/template-editor.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@narumitw/pi-notes",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "Pi extension for managing global Markdown notes with an isolated embedded agent.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"typecheck": "tsc --noEmit"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@narumitw/pi-tui-kit": "^0.
|
|
32
|
+
"@narumitw/pi-tui-kit": "^0.68.1"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"@earendil-works/pi-ai": "*",
|
package/src/note-picker.ts
CHANGED
|
@@ -408,6 +408,7 @@ export class NotePicker implements Component, Focusable {
|
|
|
408
408
|
this.pasteStartBuffer = "";
|
|
409
409
|
if (!this.disposed && !this.completed && pending) this.handleNonPasteInput(pending);
|
|
410
410
|
}, INPUT_PREFIX_TIMEOUT_MS);
|
|
411
|
+
this.pasteStartTimer.unref?.();
|
|
411
412
|
}
|
|
412
413
|
|
|
413
414
|
private flushPasteBuffer(): void {
|
package/src/template-editor.ts
CHANGED
|
@@ -278,6 +278,7 @@ class TemplateEditor implements Component, Focusable {
|
|
|
278
278
|
}
|
|
279
279
|
if (this.pasteTailTimer) clearTimeout(this.pasteTailTimer);
|
|
280
280
|
this.pasteTailTimer = setTimeout(() => this.flushPendingPasteInputs(), PASTE_TAIL_GUARD_MS);
|
|
281
|
+
this.pasteTailTimer.unref?.();
|
|
281
282
|
}
|
|
282
283
|
|
|
283
284
|
private flushPendingPasteInputs(): void {
|