opencode-swarm 7.74.2 → 7.74.3

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.
@@ -102,6 +102,21 @@ export declare function applySafeAutoFixes(directory: string, result: ConfigDoct
102
102
  appliedFixes: ConfigFix[];
103
103
  updatedConfigPath: string | null;
104
104
  };
105
+ /** Summary data from a previous config-doctor artifact */
106
+ export interface DoctorArtifactSummary {
107
+ /** ISO 8601 timestamp of the previous run */
108
+ timestamp: string;
109
+ /** Total number of findings in the previous run */
110
+ findingsCount: number;
111
+ /** Number of auto-fixable findings in the previous run */
112
+ autoFixableCount: number;
113
+ }
114
+ /**
115
+ * Read the last-run config-doctor artifact from .swarm/config-doctor.json.
116
+ * Returns a compact summary or null if the artifact does not exist or cannot be parsed.
117
+ * Fail-open: any I/O or parse error silently returns null.
118
+ */
119
+ export declare function readDoctorArtifact(directory: string): DoctorArtifactSummary | null;
105
120
  /**
106
121
  * Write doctor result to .swarm directory for GUI consumption
107
122
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.74.2",
3
+ "version": "7.74.3",
4
4
  "description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",