Examples
Complete walkthroughs for common plugin patterns:
- Request logger — main-only plugin that logs HTTP traffic to the terminal
- Baseline tests — inject shared post-request assertions into every send
- Trace correlation — seed a trace id via scripts, stamp a header, persist after send
- Production guard — skip sends to production hosts via injected
hc.execution.skipRequest() - Request audit tab — read-only request editor tab
- Solarized theme — theme plugin via
registerThemeor JSONimport(no JavaScript) - Import handler — File → Import handler with preview UI
- MCP client server — register a remote MCP endpoint for Harbor's chat agent
- Chat pointers — register
@plugin…badges and copy context into the AI sidebar - AI instructions and turn hooks — append agent instructions and observe chat turns
- Sidebar replacement tree — replace Collections with a custom tree, host context menus, and reorder/move
See harborclient-plugin-skeleton for a starter project with renderer and main entries.
