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.
@@ -1 +1 @@
1
- export declare const PLUGIN_VERSION = "1.6.0";
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.0";
2
+ export const PLUGIN_VERSION = "1.6.1";
package/dist/server.d.ts CHANGED
@@ -1,3 +1,5 @@
1
1
  import type { PluginModule } from "@opencode-ai/plugin";
2
- declare const mod: PluginModule;
2
+ declare const mod: PluginModule & {
3
+ setup: () => Promise<void>;
4
+ };
3
5
  export default mod;
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
@@ -6,7 +6,7 @@ import { createComponent as _$createComponent2 } from "@opentui/solid";
6
6
  import { createSignal as createSignal3 } from "solid-js";
7
7
 
8
8
  // src/_version.ts
9
- var PLUGIN_VERSION = "1.6.0";
9
+ var PLUGIN_VERSION = "1.6.1";
10
10
 
11
11
  // src/i18n.ts
12
12
  var ZH_T = {
package/dist/v2.js CHANGED
@@ -330,7 +330,7 @@ function readTTLDays(kv) {
330
330
  }
331
331
 
332
332
  // src/_version.ts
333
- var PLUGIN_VERSION = "1.6.0";
333
+ var PLUGIN_VERSION = "1.6.1";
334
334
 
335
335
  // src/i18n.ts
336
336
  var ZH_T = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-subagent-magazine",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "OpenCode TUI plugin monitoring sub-agent invocation status in real time",
5
5
  "type": "module",
6
6
  "types": "dist/index.d.ts",
package/src/_version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // auto-generated
2
- export const PLUGIN_VERSION="1.6.0";
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
- const mod: PluginModule = {
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