@opencode_weave/weave
Advanced tools
| import type { ConfigLoadResult } from "../config/loader"; | ||
| /** | ||
| * Generate a human-readable health report from the config load result. | ||
| * Surfaced via the /weave-health command so the user can diagnose | ||
| * config issues directly in the TUI. | ||
| */ | ||
| export declare function generateHealthReport(loadResult: ConfigLoadResult | null, agents: Record<string, unknown>): string; |
| import { type WeaveConfig } from "./schema"; | ||
| export interface ConfigDiagnostic { | ||
| level: "warn" | "error"; | ||
| section: string; | ||
| message: string; | ||
| /** Individual field-level issues within the section */ | ||
| fields?: Array<{ | ||
| path: string; | ||
| message: string; | ||
| }>; | ||
| } | ||
| export interface ConfigLoadResult { | ||
| config: WeaveConfig; | ||
| /** Config files that were found and loaded (may be empty) */ | ||
| loadedFiles: string[]; | ||
| /** Validation diagnostics — empty when config is fully valid */ | ||
| diagnostics: ConfigDiagnostic[]; | ||
| } | ||
| /** Retrieve the most recent config load result (for /weave-health command). */ | ||
| export declare function getLastConfigLoadResult(): ConfigLoadResult | null; | ||
| export declare function loadWeaveConfig(directory: string, _ctx?: unknown, _homeDir?: string): WeaveConfig; |
@@ -16,2 +16,2 @@ /** | ||
| } | ||
| export type BuiltinCommandName = "start-work" | "token-report" | "metrics" | "run-workflow"; | ||
| export type BuiltinCommandName = "start-work" | "token-report" | "metrics" | "run-workflow" | "weave-health"; |
+1
-1
| { | ||
| "name": "@opencode_weave/weave", | ||
| "version": "0.7.4", | ||
| "version": "0.7.5", | ||
| "description": "Weave — lean OpenCode plugin with multi-agent orchestration", | ||
@@ -5,0 +5,0 @@ "author": "Weave", |
Sorry, the diff of this file is too big to display
408874
1.73%129
0.78%10417
1.78%