@ampcode/plugin 0.0.0-20260826001054-g2427cf3 → 0.0.0-20260828024506-g5d382cb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +7 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -533,7 +533,10 @@ declare module '@ampcode/plugin' {
|
|
|
533
533
|
|
|
534
534
|
/** A plugin-defined agent mode shown by supported Amp clients. */
|
|
535
535
|
export interface PluginAgentModeDefinition {
|
|
536
|
-
/**
|
|
536
|
+
/**
|
|
537
|
+
* Stable identifier within the plugin. Keys are case-insensitive: registering
|
|
538
|
+
* a key that differs from an existing mode's key only by case is an error.
|
|
539
|
+
*/
|
|
537
540
|
key: string
|
|
538
541
|
/**
|
|
539
542
|
* Label shown in compact mode pickers, for example "review" or "architect".
|
|
@@ -602,11 +605,14 @@ declare module '@ampcode/plugin' {
|
|
|
602
605
|
* namespace.
|
|
603
606
|
*/
|
|
604
607
|
export type PluginAIModelProvider =
|
|
608
|
+
| 'alibaba'
|
|
605
609
|
| 'amp'
|
|
606
610
|
| 'anthropic'
|
|
607
611
|
| 'baseten'
|
|
612
|
+
| 'deepseek'
|
|
608
613
|
| 'fireworks-ai'
|
|
609
614
|
| 'google-vertex'
|
|
615
|
+
| 'minimax'
|
|
610
616
|
| 'openai'
|
|
611
617
|
| 'xai'
|
|
612
618
|
| 'zhipuai'
|