pi-ui-extension 1.1.3 → 1.1.5

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 1993yihuan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,6 +6,9 @@
6
6
 
7
7
  The package can be installed from npm or Git, and uses GitHub Actions for type checking, automated tests, and npm Trusted Publishing via OIDC.
8
8
 
9
+ > [!IMPORTANT]
10
+ > `pi-ui-extension` is designed for **Pi fullscreen mode**. Please run Pi in fullscreen mode when using this extension. In non-fullscreen mode, sidebar panels, layout sizing, and related UI behavior may be unavailable or displayed incorrectly.
11
+
9
12
  ## Preview
10
13
 
11
14
  <img width="1377" height="671" alt="pi-ui-extension preview" src="https://github.com/user-attachments/assets/ddea5dc9-8796-433a-abfc-c7ea2adec089" />
@@ -22,7 +25,7 @@ The extension mounts a right-side sidebar in Pi's fullscreen TUI. It contains th
22
25
 
23
26
  The sidebar supports mouse interaction, wheel scrolling, and terminal resize handling. Panels shrink or become scrollable when vertical space is limited.
24
27
 
25
- > The sidebar depends on Pi fullscreen TUI mode. In non-fullscreen mode, the extension degrades safely and does not force layout replacement.
28
+ > The sidebar depends on **Pi fullscreen mode**. Non-fullscreen mode is not a supported display mode for this extension; sidebar panels, layout sizing, and related UI behavior may be unavailable or displayed incorrectly.
26
29
 
27
30
  ### 2. Session management
28
31
 
@@ -383,4 +386,4 @@ npm publishing uses GitHub Actions OIDC Trusted Publishing, so no long-lived `NP
383
386
 
384
387
  ## License
385
388
 
386
- This repository does not currently declare a dedicated LICENSE. If the project is intended for long-term public open-source use, adding an explicit license is recommended.
389
+ This project is licensed under the [MIT License](LICENSE).
package/README.zh-CN.md CHANGED
@@ -6,6 +6,9 @@
6
6
 
7
7
  当前包同时支持通过 npm 或 Git 安装,并使用 GitHub Actions 完成类型检查、自动化测试和 npm Trusted Publishing(OIDC)发布。
8
8
 
9
+ > [!IMPORTANT]
10
+ > `pi-ui-extension` **需要在 Pi 的 fullscreen 模式下使用**。请在 fullscreen 模式下运行 Pi;非 fullscreen 模式不属于本扩展的支持范围,Sidebar、面板尺寸计算及相关布局可能无法正常显示。
11
+
9
12
  ## 界面预览
10
13
 
11
14
  <img width="1377" height="671" alt="pi-ui-extension 界面预览" src="https://github.com/user-attachments/assets/ddea5dc9-8796-433a-abfc-c7ea2adec089" />
@@ -22,7 +25,7 @@
22
25
 
23
26
  Sidebar 支持鼠标交互、滚轮滚动和终端尺寸变化。终端高度不足时,各区域会根据可用空间自动收缩或出现滚动区域。
24
27
 
25
- > 右侧 Sidebar 依赖 Pi fullscreen TUI。非 fullscreen 场景下不会强行替换布局。
28
+ > 右侧 Sidebar 依赖 **Pi fullscreen 模式**。非 fullscreen 模式不属于本扩展的支持范围,Sidebar、面板尺寸计算及相关布局可能无法正常显示。
26
29
 
27
30
  ### 2. Sessions 会话管理
28
31
 
@@ -383,4 +386,4 @@ npm 发布使用 GitHub Actions OIDC Trusted Publishing,不需要在 GitHub Re
383
386
 
384
387
  ## License
385
388
 
386
- 当前仓库尚未声明独立 LICENSE。如准备将项目作为正式开源项目长期维护,建议补充明确的开源许可证。
389
+ 本项目采用 [MIT License](LICENSE) 开源许可证。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-ui-extension",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "type": "module",
5
5
  "description": "Pi terminal UI extension with session management, context inspection, Tool/MCP usage tracking, sidebar panels, and a compact footer",
6
6
  "keywords": [
@@ -60,5 +60,6 @@
60
60
  },
61
61
  "engines": {
62
62
  "node": ">=22.19.0"
63
- }
63
+ },
64
+ "license": "MIT"
64
65
  }