Install
Install with PiG
pig install npm:@brightmeows/pi-aliasesInstall with Pi
pi install npm:@brightmeows/pi-aliasesReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.
@brightmeows/pi-aliases
斜杠命令别名:把顺手的名字映射到 Pi 内置命令。
功能
/clear映射到/new:清空会话走新建语义/exit映射到/quit
实现在 command-aliases.ts,注册表形态,加别名就是加一行映射。
安装
pi install npm:@brightmeows/pi-aliases
或在 ~/.pi/agent/settings.json 的 packages 数组加 "npm:@brightmeows/pi-aliases"。
适配版本
实测 pi 1.5.2。
License
MIT