opencode-agent-ghost-panel 0.1.5 → 0.1.6
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.js +6 -2
- package/package.json +5 -2
package/index.js
CHANGED
|
@@ -2,16 +2,20 @@
|
|
|
2
2
|
* Agent Ghost Panel Plugin for OpenCode
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import { tool } from "@opencode-ai/plugin";
|
|
6
|
+
|
|
7
|
+
const z = tool.schema;
|
|
8
|
+
|
|
5
9
|
export default async function(input) {
|
|
6
10
|
return {
|
|
7
11
|
tool: {
|
|
8
|
-
"agp-status": {
|
|
12
|
+
"agp-status": tool({
|
|
9
13
|
description: "Check AGP daemon status",
|
|
10
14
|
args: {},
|
|
11
15
|
execute: async (args, ctx) => {
|
|
12
16
|
return "AGP plugin is loaded successfully!";
|
|
13
17
|
}
|
|
14
|
-
}
|
|
18
|
+
})
|
|
15
19
|
}
|
|
16
20
|
};
|
|
17
21
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-agent-ghost-panel",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Agent Ghost Panel Plugin for OpenCode",
|
|
5
5
|
"main": "index.js",
|
|
6
|
-
"type": "module"
|
|
6
|
+
"type": "module",
|
|
7
|
+
"dependencies": {
|
|
8
|
+
"@opencode-ai/plugin": "^1.0.0"
|
|
9
|
+
}
|
|
7
10
|
}
|