@ampcode/plugin 0.0.0-20261001002205-g9c84ae8 → 0.0.0-20261003001754-g8b95194
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 +6 -2
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -370,7 +370,9 @@ declare module '@ampcode/plugin' {
|
|
|
370
370
|
* Built-in agent mode this agent extends. Threads render that mode's system
|
|
371
371
|
* prompt with `instructions` appended as agent instructions, and `tools`
|
|
372
372
|
* defaults to the mode's tool list. When `model` is omitted, the agent uses
|
|
373
|
-
* the mode's preferred model and reasoning effort.
|
|
373
|
+
* the mode's preferred model and reasoning effort. The agent is a separate
|
|
374
|
+
* mode: the user's Tune Modes pins for the built-in mode do not change its
|
|
375
|
+
* model. Deprecated modes
|
|
374
376
|
* (`smart`, `deep`, `rush`) resolve to their replacement mode.
|
|
375
377
|
*/
|
|
376
378
|
extends?: BuiltinAgentMode
|
|
@@ -690,6 +692,7 @@ declare module '@ampcode/plugin' {
|
|
|
690
692
|
| 'meta'
|
|
691
693
|
| 'minimax'
|
|
692
694
|
| 'moonshotai'
|
|
695
|
+
| 'ollama-cloud'
|
|
693
696
|
| 'openai'
|
|
694
697
|
| 'thinkingmachines'
|
|
695
698
|
| 'xai'
|
|
@@ -2042,7 +2045,8 @@ declare module '@ampcode/plugin' {
|
|
|
2042
2045
|
* Built-in agent mode this agent extends. Threads render that mode's system prompt with
|
|
2043
2046
|
* the agent's `instructions.md` appended as agent instructions, and `tools` defaults to
|
|
2044
2047
|
* the mode's tool list. When `model` is omitted, the agent uses the mode's preferred
|
|
2045
|
-
* model and reasoning effort.
|
|
2048
|
+
* model and reasoning effort. The agent is a separate mode: the user's Tune Modes pins
|
|
2049
|
+
* for the built-in mode do not change its model.
|
|
2046
2050
|
*/
|
|
2047
2051
|
extends?: 'low' | 'medium' | 'high' | 'ultra'
|
|
2048
2052
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ampcode/plugin",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-20261003001754-g8b95194",
|
|
4
4
|
"description": "Amp Plugin API",
|
|
5
5
|
"homepage": "https://ampcode.com/docs/plugin-api",
|
|
6
6
|
"author": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"scripts": {
|
|
31
31
|
"build": "tsgo -b",
|
|
32
|
-
"format:check": "
|
|
32
|
+
"format:check": "oxfmt --check index.d.ts",
|
|
33
33
|
"test": "echo 'No tests'",
|
|
34
34
|
"lint": "biome check --config-path=../.. index.d.ts",
|
|
35
35
|
"typecheck": "tsgo -b"
|