opencode-swarm 7.78.3 → 7.78.4

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.
@@ -0,0 +1,23 @@
1
+ export interface SwarmArtifactCacheStats {
2
+ textReadCount: number;
3
+ textCacheHitCount: number;
4
+ textCacheMissCount: number;
5
+ parsedReadCount: number;
6
+ parseCount: number;
7
+ parsedCacheHitCount: number;
8
+ parsedCacheMissCount: number;
9
+ statFailureCount: number;
10
+ evictionCount: number;
11
+ textEvictionCount: number;
12
+ parsedEvictionCount: number;
13
+ cloneFallbackCount: number;
14
+ textEntryCount: number;
15
+ parsedEntryCount: number;
16
+ }
17
+ export declare function cloneCachedValue<T>(value: T): T;
18
+ export declare function readCachedTextFileSync(filePath: string, directRead: () => string | null): string | null;
19
+ export declare function readCachedTextFile(filePath: string, directRead: () => Promise<string | null>): Promise<string | null>;
20
+ export declare function readCachedParsedFileSync<T>(filePath: string, namespace: string, readText: () => string | null, parse: (content: string) => T): T | null;
21
+ export declare function readCachedParsedFile<T>(filePath: string, namespace: string, readText: () => Promise<string | null>, parse: (content: string) => T): Promise<T | null>;
22
+ export declare function resetSwarmArtifactCache(): void;
23
+ export declare function getSwarmArtifactCacheStats(): SwarmArtifactCacheStats;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.78.3",
3
+ "version": "7.78.4",
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",