opencode-subagent-magazine 1.6.0 → 1.6.1
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/dist/_version.d.ts +1 -1
- package/dist/_version.js +1 -1
- package/dist/server.d.ts +3 -1
- package/dist/server.js +8 -0
- package/dist/tui.js +1 -1
- package/dist/v2.js +1 -1
- package/package.json +1 -1
- package/src/_version.ts +1 -1
- package/src/server.ts +10 -1
package/dist/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PLUGIN_VERSION = "1.6.
|
|
1
|
+
export declare const PLUGIN_VERSION = "1.6.1";
|
package/dist/_version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// auto-generated
|
|
2
|
-
export const PLUGIN_VERSION = "1.6.
|
|
2
|
+
export const PLUGIN_VERSION = "1.6.1";
|
package/dist/server.d.ts
CHANGED
package/dist/server.js
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
const server = async () => ({});
|
|
2
|
+
/**
|
|
3
|
+
* V2 (opencode2) requires the default export to expose an `id` plus a
|
|
4
|
+
* `setup` (or `effect`) function. This plugin has no server-side behavior,
|
|
5
|
+
* so an empty setup keeps the module schema-valid and active on V2 while the
|
|
6
|
+
* `server` field stays for V1 detection.
|
|
7
|
+
*/
|
|
8
|
+
const setup = async () => { };
|
|
2
9
|
const mod = {
|
|
3
10
|
id: "opencode-subagent-magazine",
|
|
4
11
|
server,
|
|
12
|
+
setup,
|
|
5
13
|
};
|
|
6
14
|
export default mod;
|
package/dist/tui.js
CHANGED
package/dist/v2.js
CHANGED
package/package.json
CHANGED
package/src/_version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// auto-generated
|
|
2
|
-
export const PLUGIN_VERSION="1.6.
|
|
2
|
+
export const PLUGIN_VERSION="1.6.1";
|
package/src/server.ts
CHANGED
|
@@ -2,9 +2,18 @@ import type { Plugin, PluginModule } from "@opencode-ai/plugin"
|
|
|
2
2
|
|
|
3
3
|
const server: Plugin = async () => ({})
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* V2 (opencode2) requires the default export to expose an `id` plus a
|
|
7
|
+
* `setup` (or `effect`) function. This plugin has no server-side behavior,
|
|
8
|
+
* so an empty setup keeps the module schema-valid and active on V2 while the
|
|
9
|
+
* `server` field stays for V1 detection.
|
|
10
|
+
*/
|
|
11
|
+
const setup = async () => {}
|
|
12
|
+
|
|
13
|
+
const mod: PluginModule & { setup: () => Promise<void> } = {
|
|
6
14
|
id: "opencode-subagent-magazine",
|
|
7
15
|
server,
|
|
16
|
+
setup,
|
|
8
17
|
}
|
|
9
18
|
|
|
10
19
|
export default mod
|