@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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import { GREEN_DARK_FG, GREEN_FG } from './utils';
2
- import { truncateToWidth } from '@mariozechner/pi-tui';
2
+ import { truncateToWidth } from '@earendil-works/pi-tui';
3
3
  import {
4
4
  computePanelWidths,
5
5
  framePanelBody,
@@ -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 '@mariozechner/pi-coding-agent';
4
- import { getAgentDir, getSettingsListTheme } from '@mariozechner/pi-coding-agent';
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 '@mariozechner/pi-tui';
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;
@@ -1,4 +1,4 @@
1
- import { truncateToWidth } from '@mariozechner/pi-tui';
1
+ import { truncateToWidth } from '@earendil-works/pi-tui';
2
2
  import {
3
3
  GREEN_DARK_FG,
4
4
  GREEN_FG,
@@ -1,4 +1,4 @@
1
- import { truncateToWidth } from '@mariozechner/pi-tui';
1
+ import { truncateToWidth } from '@earendil-works/pi-tui';
2
2
  import { clamp, GREEN_DARK_FG, GREEN_FG, visibleWidth } from './utils';
3
3
  import {
4
4
  computePanelWidths,
@@ -1,4 +1,4 @@
1
- import { visibleWidth } from '@mariozechner/pi-tui';
1
+ import { visibleWidth } from '@earendil-works/pi-tui';
2
2
 
3
3
  export { visibleWidth };
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alasano/pi-panels",
3
- "version": "0.0.1",
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
- "@mariozechner/pi-coding-agent": "*",
31
- "@mariozechner/pi-tui": "*",
32
- "@mariozechner/pi-ai": "*",
33
- "@sinclair/typebox": "*"
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
  }