mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 07:03:25 +00:00
Add table of contents to extensions.md
This commit is contained in:
parent
3e38fce541
commit
e4f8215f97
1 changed files with 18 additions and 0 deletions
|
|
@ -25,6 +25,24 @@ Extensions are TypeScript modules that extend pi's behavior. They can subscribe
|
||||||
|
|
||||||
See [examples/extensions/](../examples/extensions/) for working implementations.
|
See [examples/extensions/](../examples/extensions/) for working implementations.
|
||||||
|
|
||||||
|
## Table of Contents
|
||||||
|
|
||||||
|
- [Quick Start](#quick-start)
|
||||||
|
- [Extension Locations](#extension-locations)
|
||||||
|
- [Available Imports](#available-imports)
|
||||||
|
- [Writing an Extension](#writing-an-extension)
|
||||||
|
- [Events](#events)
|
||||||
|
- [Lifecycle Overview](#lifecycle-overview)
|
||||||
|
- [Session Events](#session-events)
|
||||||
|
- [Agent Events](#agent-events)
|
||||||
|
- [Tool Events](#tool-events)
|
||||||
|
- [ExtensionContext](#extensioncontext)
|
||||||
|
- [ExtensionCommandContext](#extensioncommandcontext)
|
||||||
|
- [ExtensionAPI Methods](#extensionapi-methods)
|
||||||
|
- [State Management](#state-management)
|
||||||
|
- [Error Handling](#error-handling)
|
||||||
|
- [Mode Behavior](#mode-behavior)
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
Create `~/.pi/agent/extensions/my-extension.ts`:
|
Create `~/.pi/agent/extensions/my-extension.ts`:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue