mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 21:03:19 +00:00
refactor: convert custom-provider example to package with deps
- Move custom-provider.ts to custom-provider/index.ts - Add package.json with @anthropic-ai/sdk dependency - Extension now requires npm install before use
This commit is contained in:
parent
d4bd1a956b
commit
6aad6e30ce
4 changed files with 49 additions and 2 deletions
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
"name": "pi-extension-custom-provider",
|
||||
"private": true,
|
||||
"version": "1.0.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"clean": "echo 'nothing to clean'",
|
||||
"build": "echo 'nothing to build'",
|
||||
"check": "echo 'nothing to check'"
|
||||
},
|
||||
"pi": {
|
||||
"extensions": [
|
||||
"./index.ts"
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@anthropic-ai/sdk": "^0.52.0"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue