pi-lazy-panel 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/README.md +6 -1
- package/README.zh.md +6 -1
- package/index.ts +10 -0
- package/package.json +14 -3
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ The everyday session operations (new / resume / fork / clone / rename / delete /
|
|
|
12
12
|
|
|
13
13
|
## Preview
|
|
14
14
|
|
|
15
|
-

|
|
15
|
+

|
|
16
16
|
|
|
17
17
|
## Features
|
|
18
18
|
|
|
@@ -95,6 +95,11 @@ The config file lives at `~/.pi/agent/lazy-panel.json`. Every field is optional
|
|
|
95
95
|
|
|
96
96
|
`keymap` is grouped by `scope` (`global` / `sessions` / `tree` / `content` / `tree-dialog`); the key is an action id and the value is one or more chords (e.g. `"ctrl+d"`, `["A", "ctrl+space"]`). A user-provided binding **replaces the action's default entirely**, and `null` unbinds it. See [docs/keybindings.md](./docs/keybindings.md) for the full list of action ids and keybindings.
|
|
97
97
|
|
|
98
|
+
## Next steps
|
|
99
|
+
|
|
100
|
+
- Add a settings panel
|
|
101
|
+
- Add multiple themes / custom themes
|
|
102
|
+
|
|
98
103
|
## Contributing
|
|
99
104
|
|
|
100
105
|
Contributions are welcome — see [CONTRIBUTING.md](./CONTRIBUTING.md) for the local setup, coding conventions and commit/PR flow.
|
package/README.zh.md
CHANGED
|
@@ -12,7 +12,7 @@ pi-lazy-panel 是 [pi](https://pi.dev) 会话和会话树管理的面板,提
|
|
|
12
12
|
|
|
13
13
|
## 界面预览
|
|
14
14
|
|
|
15
|
-

|
|
15
|
+

|
|
16
16
|
|
|
17
17
|
## 特点
|
|
18
18
|
|
|
@@ -95,6 +95,11 @@ npm run i18n:check # 中英文案对齐
|
|
|
95
95
|
|
|
96
96
|
`keymap` 按 `scope`(`global` / `sessions` / `tree` / `content` / `tree-dialog`)分组,键为动作 id、值为一个或多个 chord(如 `"ctrl+d"`、`["A", "ctrl+space"]`);用户提供的键位**整体替换**该动作的默认值,`null` 表示解绑。完整的动作 id 与键位说明见 [docs/keybindings.zh.md](./docs/keybindings.zh.md)。
|
|
97
97
|
|
|
98
|
+
## 下一步计划
|
|
99
|
+
|
|
100
|
+
- 添加设置面板
|
|
101
|
+
- 添加多主题 / 自定义主题
|
|
102
|
+
|
|
98
103
|
## 贡献
|
|
99
104
|
|
|
100
105
|
欢迎贡献代码——本地环境、代码规范与提交 / PR 流程见 [CONTRIBUTING.zh.md](./CONTRIBUTING.zh.md)。
|
package/index.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 包根入口 shim —— pi 加载扩展时用它当入口。
|
|
3
|
+
*
|
|
4
|
+
* pi 用「扩展文件相对包根的路径」生成展示名:名为 index 且位于包根(目录为空)时
|
|
5
|
+
* 只显示包名 `pi-lazy-panel`;若直接指向 `src/index.ts`,目录段 `src` 会被拼成后缀,
|
|
6
|
+
* 展示成 `pi-lazy-panel:src`。真正的实现仍在 ./src/index.ts,这里只把默认导出透出去,
|
|
7
|
+
* 保持 src 分层结构不变。
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export { default } from "./src/index.ts";
|
package/package.json
CHANGED
|
@@ -1,17 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-lazy-panel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "A lazygit-style TUI for browsing, resuming and managing pi sessions (/lazy-panel)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"pi-package",
|
|
8
|
+
"pi-extension",
|
|
9
|
+
"pi-coding-agent",
|
|
8
10
|
"pi",
|
|
9
11
|
"tui",
|
|
10
12
|
"sessions",
|
|
11
13
|
"lazygit"
|
|
12
14
|
],
|
|
13
15
|
"license": "MIT",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/JessieChan0730/pi-lazy-panel.git"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/JessieChan0730/pi-lazy-panel#readme",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/JessieChan0730/pi-lazy-panel/issues"
|
|
23
|
+
},
|
|
14
24
|
"files": [
|
|
25
|
+
"index.ts",
|
|
15
26
|
"src",
|
|
16
27
|
"docs/design.md",
|
|
17
28
|
"docs/keybindings.md",
|
|
@@ -20,13 +31,13 @@
|
|
|
20
31
|
],
|
|
21
32
|
"pi": {
|
|
22
33
|
"extensions": [
|
|
23
|
-
"./
|
|
34
|
+
"./index.ts"
|
|
24
35
|
]
|
|
25
36
|
},
|
|
26
37
|
"scripts": {
|
|
27
38
|
"check": "tsc --noEmit",
|
|
28
39
|
"test": "node --import tsx --test \"test/**/*.test.ts\"",
|
|
29
|
-
"dev": "pi -e ./
|
|
40
|
+
"dev": "pi -e ./index.ts",
|
|
30
41
|
"install:pi": "pi install .",
|
|
31
42
|
"uninstall:pi": "pi remove .",
|
|
32
43
|
"i18n:scan": "node scripts/i18n-scan.mjs",
|