pi-tty7-tab-namer 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 +3 -3
- package/README.zh-CN.md +3 -3
- package/package.json +22 -6
package/README.md
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
12
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="MIT License"></a>
|
|
13
|
-
<img src="https://img.shields.io/badge/pi-package-5fd0a0" alt="pi package">
|
|
14
|
-
<img src="https://img.shields.io/
|
|
13
|
+
<a href="https://pi.dev/packages/pi-tty7-tab-namer"><img src="https://img.shields.io/badge/pi-package-5fd0a0" alt="pi package"></a>
|
|
14
|
+
<a href="https://www.npmjs.com/package/pi-tty7-tab-namer"><img src="https://img.shields.io/npm/v/pi-tty7-tab-namer?color=blue" alt="npm version"></a>
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
Prerequisite: run pi inside the [tty7](https://github.com/l0ng-ai/tty7) terminal (this extension only activates in a tty7 environment).
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
pi install
|
|
26
|
+
pi install npm:pi-tty7-tab-namer
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
That's it — nothing else to do. Names are also written to session metadata, so they show up readable in the `/resume` session list.
|
package/README.zh-CN.md
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
|
|
11
11
|
<p align="center">
|
|
12
12
|
<a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="MIT License"></a>
|
|
13
|
-
<img src="https://img.shields.io/badge/pi-package-5fd0a0" alt="pi package">
|
|
14
|
-
<img src="https://img.shields.io/
|
|
13
|
+
<a href="https://pi.dev/packages/pi-tty7-tab-namer"><img src="https://img.shields.io/badge/pi-package-5fd0a0" alt="pi package"></a>
|
|
14
|
+
<a href="https://www.npmjs.com/package/pi-tty7-tab-namer"><img src="https://img.shields.io/npm/v/pi-tty7-tab-namer?color=blue" alt="npm version"></a>
|
|
15
15
|
</p>
|
|
16
16
|
|
|
17
17
|
<p align="center">
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
前提:在 [tty7](https://github.com/l0ng-ai/tty7) 终端内运行 pi(本扩展只在 tty7 环境下激活)。
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
|
-
pi install
|
|
26
|
+
pi install npm:pi-tty7-tab-namer
|
|
27
27
|
```
|
|
28
28
|
|
|
29
29
|
装好即可,无需任何操作。名字会同步写入会话元数据,`/resume` 会话列表里也直接可读。
|
package/package.json
CHANGED
|
@@ -1,25 +1,41 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-tty7-tab-namer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Auto-name pi sessions with an LLM and sync the name to the tty7 tab title. Manual /name always wins.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"files": [
|
|
7
|
-
|
|
6
|
+
"files": [
|
|
7
|
+
"extensions",
|
|
8
|
+
"README.md"
|
|
9
|
+
],
|
|
10
|
+
"keywords": [
|
|
11
|
+
"pi-package",
|
|
12
|
+
"pi",
|
|
13
|
+
"tty7",
|
|
14
|
+
"terminal",
|
|
15
|
+
"tab-title",
|
|
16
|
+
"session-name"
|
|
17
|
+
],
|
|
8
18
|
"license": "MIT",
|
|
9
19
|
"repository": {
|
|
10
20
|
"type": "git",
|
|
11
21
|
"url": "git+https://github.com/ifyour/pi-tty7-tab-namer.git"
|
|
12
22
|
},
|
|
13
23
|
"pi": {
|
|
14
|
-
"extensions": [
|
|
24
|
+
"extensions": [
|
|
25
|
+
"extensions/*.ts"
|
|
26
|
+
]
|
|
15
27
|
},
|
|
16
28
|
"peerDependencies": {
|
|
17
29
|
"@earendil-works/pi-agent-core": "*",
|
|
18
30
|
"@earendil-works/pi-coding-agent": "*"
|
|
19
31
|
},
|
|
20
32
|
"peerDependenciesMeta": {
|
|
21
|
-
"@earendil-works/pi-agent-core": {
|
|
22
|
-
|
|
33
|
+
"@earendil-works/pi-agent-core": {
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
"@earendil-works/pi-coding-agent": {
|
|
37
|
+
"optional": true
|
|
38
|
+
}
|
|
23
39
|
},
|
|
24
40
|
"scripts": {
|
|
25
41
|
"test": "node --experimental-strip-types test/sanitize.test.ts && node test/e2e.mjs"
|