refactor: rename custom provider examples

- custom-provider -> custom-provider-anthropic
- gitlab-duo -> custom-provider-gitlab-duo
- Update READMEs with custom provider section
This commit is contained in:
Mario Zechner 2026-01-25 00:18:13 +01:00
parent 7caa08999e
commit 758baa9fec
12 changed files with 32 additions and 11 deletions

View file

@ -16,6 +16,7 @@ Example extensions demonstrating:
- Git integration (checkpoints, auto-commit)
- System prompt modifications and custom compaction
- External integrations (SSH, file watchers, system theme sync)
- Custom providers (Anthropic with custom streaming, GitLab Duo)
## Documentation

View file

@ -88,6 +88,13 @@ cp permission-gate.ts ~/.pi/agent/extensions/
|-----------|-------------|
| `mac-system-theme.ts` | Syncs pi theme with macOS dark/light mode |
### Custom Providers
| Extension | Description |
|-----------|-------------|
| `custom-provider-anthropic/` | Custom Anthropic provider with OAuth support and custom streaming implementation |
| `custom-provider-gitlab-duo/` | GitLab Duo provider using pi-ai's built-in Anthropic/OpenAI streaming via proxy |
### External Dependencies
| Extension | Description |

View file

@ -1,5 +1,5 @@
{
"name": "pi-extension-custom-provider",
"name": "pi-extension-custom-provider-anthropic",
"private": true,
"version": "1.0.0",
"type": "module",

View file

@ -1,5 +1,5 @@
{
"name": "pi-extension-gitlab-duo",
"name": "pi-extension-custom-provider-gitlab-duo",
"private": true,
"version": "1.0.0",
"type": "module",