opencode-agent-ghost-panel 0.1.8 → 0.1.9
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 +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -149,8 +149,8 @@ export const agpStop = tool({
|
|
|
149
149
|
}
|
|
150
150
|
});
|
|
151
151
|
|
|
152
|
-
// OpenCode 插件入口 -
|
|
153
|
-
export
|
|
152
|
+
// OpenCode 插件入口 - 使用具名导出 (named export)
|
|
153
|
+
export const AgentGhostPanel = async (ctx) => {
|
|
154
154
|
return {
|
|
155
155
|
tool: {
|
|
156
156
|
"agp-diff": agpDiff,
|
|
@@ -162,4 +162,4 @@ export default async function(input) {
|
|
|
162
162
|
"agp-stop": agpStop
|
|
163
163
|
}
|
|
164
164
|
};
|
|
165
|
-
}
|
|
165
|
+
};
|