@alasano/pi-panels 0.0.1 → 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/git.ts +1 -1
- package/extensions/index.ts +3 -8
- package/extensions/info.ts +1 -1
- package/extensions/now-playing.ts +1 -1
- package/extensions/utils.ts +1 -1
- package/package.json +7 -5
package/extensions/git.ts
CHANGED
package/extensions/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
|
|
2
2
|
import { dirname, join } from 'node:path';
|
|
3
|
-
import type { ExtensionAPI, ExtensionContext } from '@
|
|
4
|
-
import { getAgentDir, getSettingsListTheme } from '@
|
|
3
|
+
import type { ExtensionAPI, ExtensionContext } from '@earendil-works/pi-coding-agent';
|
|
4
|
+
import { getAgentDir, getSettingsListTheme } from '@earendil-works/pi-coding-agent';
|
|
5
5
|
import {
|
|
6
6
|
decodeKittyPrintable,
|
|
7
7
|
matchesKey,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
type SettingItem,
|
|
10
10
|
SettingsList,
|
|
11
11
|
truncateToWidth,
|
|
12
|
-
} from '@
|
|
12
|
+
} from '@earendil-works/pi-tui';
|
|
13
13
|
import { buildGitPanel, EMPTY_GIT_STATE, type GitInfo } from './git';
|
|
14
14
|
import { buildInfoPanel, type InfoSnapshot } from './info';
|
|
15
15
|
import { framePanelBody } from './panel';
|
|
@@ -642,11 +642,6 @@ end if
|
|
|
642
642
|
applyConfig(ctx);
|
|
643
643
|
});
|
|
644
644
|
|
|
645
|
-
pi.on('session_switch', async (_event, ctx) => {
|
|
646
|
-
config = loadConfig();
|
|
647
|
-
applyConfig(ctx);
|
|
648
|
-
});
|
|
649
|
-
|
|
650
645
|
pi.on('turn_end', async (_event, ctx) => {
|
|
651
646
|
ctxRef = ctx;
|
|
652
647
|
if (!config.enabled) return;
|
package/extensions/info.ts
CHANGED
package/extensions/utils.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alasano/pi-panels",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Responsive status panels for pi - git info, LLM context usage, and Spotify now-playing below the editor",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package"
|
|
@@ -27,9 +27,11 @@
|
|
|
27
27
|
"README.md"
|
|
28
28
|
],
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
32
|
-
|
|
33
|
-
|
|
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"
|
|
34
36
|
}
|
|
35
37
|
}
|