smallbatchcode-pi-slash-command-guard

内容来源:README.md(说明文档) · 原始地址 · 查看安装指南

原始内容

Travis Pi Extensions

Small pi extensions that I use that don't deserve their own git repository.

Each extension is kept in its own directory and can be installed individually.

Extensions

  • slash-command-guard prevents mistyped or unknown slash commands from being sent as regular user messages. If there is a close known command, it includes a “Did you mean ...?” hint; otherwise it shows an unknown-command error.
  • system-prompt-display records the initial system prompt and later changes.

Usage

Install all extensions:

pi install /path/to/pi-extensions

Install one extension:

pi install /path/to/pi-extensions/extensions/slash-command-guard
pi install /path/to/pi-extensions/extensions/system-prompt-display