@ampcode/plugin 0.0.0-20260525003549-g19be900 → 0.0.0-20260527003623-g8232386
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 +2 -2
- package/package.json +6 -2
package/index.d.ts
CHANGED
|
@@ -666,9 +666,9 @@ declare module '@ampcode/plugin' {
|
|
|
666
666
|
export interface AgentStartResult {
|
|
667
667
|
/**
|
|
668
668
|
* A message to append after the user's content in the user message.
|
|
669
|
-
* If display is true, the message is shown in the UI.
|
|
669
|
+
* If display is true, the message is shown in the UI. Defaults to false.
|
|
670
670
|
*/
|
|
671
|
-
message?: { content: string; display
|
|
671
|
+
message?: { content: string; display?: boolean }
|
|
672
672
|
}
|
|
673
673
|
|
|
674
674
|
/**
|
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-20260527003623-g8232386",
|
|
4
4
|
"description": "Amp Plugin API",
|
|
5
5
|
"homepage": "https://ampcode.com/manual/plugin-api",
|
|
6
6
|
"author": {
|
|
@@ -28,7 +28,11 @@
|
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
30
30
|
"scripts": {
|
|
31
|
-
"
|
|
31
|
+
"build": "tsgo -b",
|
|
32
|
+
"format:check": "biome format --config-path=../.. index.d.ts",
|
|
33
|
+
"test": "echo 'No tests'",
|
|
34
|
+
"lint": "biome check --config-path=../.. index.d.ts",
|
|
35
|
+
"typecheck": "tsgo -b"
|
|
32
36
|
},
|
|
33
37
|
"devDependencies": {
|
|
34
38
|
"@types/node": "catalog:"
|