@alasano/pi-mouse 0.1.0 → 0.1.1
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/extensions/index.ts +1 -2
- package/package.json +7 -3
package/extensions/index.ts
CHANGED
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
CustomEditor,
|
|
3
3
|
type ExtensionAPI,
|
|
4
4
|
type ExtensionContext,
|
|
5
|
-
} from '@
|
|
5
|
+
} from '@earendil-works/pi-coding-agent';
|
|
6
6
|
|
|
7
7
|
const DEBOUNCE_MS = 420;
|
|
8
8
|
const TICK_MS = 65;
|
|
@@ -164,7 +164,6 @@ export default function cursorMouseExtension(pi: ExtensionAPI) {
|
|
|
164
164
|
});
|
|
165
165
|
|
|
166
166
|
pi.on('session_start', async (_event, ctx) => applyEditor(ctx));
|
|
167
|
-
pi.on('session_switch', async (_event, ctx) => applyEditor(ctx));
|
|
168
167
|
pi.on('session_shutdown', async (_event, ctx) => {
|
|
169
168
|
ctx.ui.setEditorComponent(undefined);
|
|
170
169
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alasano/pi-mouse",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "ASCII mouse that follows your cursor above the editor in pi",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -27,7 +27,11 @@
|
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
30
|
+
"@earendil-works/pi-coding-agent": ">=0.79.9",
|
|
31
|
+
"@earendil-works/pi-tui": ">=0.79.9"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@earendil-works/pi-coding-agent": "^0.79.9",
|
|
35
|
+
"@earendil-works/pi-tui": "^0.79.9"
|
|
32
36
|
}
|
|
33
37
|
}
|