Skip to content

Runnable Plugin Samples

Runnable TypeScript plugin samples are under:

  • examples/plugin-samples/

Included scenarios

  • Sensitive file guard
  • Risky bash guard
  • Task completion notifier
  • Session archive writer
  • Shell env injector

Run locally

bash
cd examples/plugin-samples
npm install
npm run typecheck

基于官方文档与 Schema 编写;示例不包含任何密钥