Forked from OpenCode v1.17.4 with multi-agent system: - 5 agents: aircoding, scheduler, worker, architect, reviewer - Deterministic DAG scheduling engine (coordinator_tick) - Tool whitelists as hard enforcement - AirCoding validation plugin - System prompt injection for routing - V1 requirements: C4 docs, ADR, AGENTS.md, debug-log.md - Design documents in docs/
12 lines
337 B
TypeScript
12 lines
337 B
TypeScript
import { addons, types } from "storybook/manager-api"
|
|
import { ThemeTool } from "./theme-tool"
|
|
|
|
addons.register("opencode/theme-toggle", () => {
|
|
addons.add("opencode/theme-toggle/tool", {
|
|
type: types.TOOL,
|
|
title: "Theme",
|
|
match: ({ viewMode }) => viewMode === "story" || viewMode === "docs",
|
|
render: ThemeTool,
|
|
})
|
|
})
|