Skip to content

jackeydou/test-hooks-plugin

v0.1.0

Local test plugin for validating Codex-compatible hook behavior in Pichu.

What this package declares

The file a client reads when it loads this plugin, exactly as this revision carries it.

plugin.json
{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "test-hooks-plugin",
  "version": "0.1.0",
  "description": "Local test plugin for validating Codex-compatible hook behavior in Pichu.",
  "author": {
    "name": "Pichu"
  },
  "keywords": ["hooks", "codex", "testing"],
  "extensions": {
    "com.pichu.app": {
      "interface": {
        "displayName": "Test Hooks Plugin",
        "shortDescription": "Exercise UserPromptSubmit, PreToolUse, PermissionRequest, PostToolUse, and Stop hooks.",
        "developerName": "Pichu",
        "category": "Developer Tools",
        "capabilities": ["Hooks", "Testing"],
        "defaultPrompt": [
          "Run this shell command: echo hook-rewrite",
          "Run this shell command: echo hook-deny"
        ]
      }
    }
  }
}

What else this package ships

These files come with the package and this site does not publish them. They are listed so you know what is there before you install it.

  • hooks.json
View on GitHub

Client extensions

Data this package carries for particular clients. The directory lists the clients named and never reads what is addressed to them.

  • com.pichu.appships a directory of files