opencode-swarm 7.54.0 → 7.56.0
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.
- package/dist/background/completion-observer.d.ts +33 -0
- package/dist/background/pending-delegations.d.ts +88 -0
- package/dist/background/task-envelope.d.ts +43 -0
- package/dist/cli/index.js +136 -17
- package/dist/config/schema.d.ts +4 -0
- package/dist/index.js +2280 -1941
- package/dist/services/skill-generator.d.ts +2 -1
- package/dist/services/skill-improver.d.ts +6 -0
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ export declare function selectCandidateEntries(directory: string, opts: Candidat
|
|
|
42
42
|
*/
|
|
43
43
|
declare function jaccardSimilarity(setA: string[], setB: string[]): number;
|
|
44
44
|
export declare function clusterEntries(entries: KnowledgeEntryBase[]): KnowledgeCluster[];
|
|
45
|
-
export declare function renderSkillMarkdown(cluster: KnowledgeCluster, mode?: GenerateMode): string;
|
|
45
|
+
export declare function renderSkillMarkdown(cluster: KnowledgeCluster, mode?: GenerateMode, generatedAt?: string): string;
|
|
46
46
|
export type GenerateMode = 'draft' | 'active';
|
|
47
47
|
export interface GenerateRequest {
|
|
48
48
|
directory: string;
|
|
@@ -84,6 +84,7 @@ declare function stampSourceEntries(directory: string, slug: string, ids: string
|
|
|
84
84
|
export declare function parseDraftFrontmatter(content: string): {
|
|
85
85
|
name?: string;
|
|
86
86
|
status?: string;
|
|
87
|
+
generatedAt?: string;
|
|
87
88
|
sourceKnowledgeIds: string[];
|
|
88
89
|
} | null;
|
|
89
90
|
export declare function activateProposal(directory: string, slug: string, force?: boolean): Promise<{
|
|
@@ -72,9 +72,15 @@ interface InventorySnapshot {
|
|
|
72
72
|
skills: {
|
|
73
73
|
proposals: number;
|
|
74
74
|
active: number;
|
|
75
|
+
stale: number;
|
|
76
|
+
metadataReadable: number;
|
|
75
77
|
};
|
|
76
78
|
highConfidenceClusters: number;
|
|
77
79
|
matureCandidates: SwarmKnowledgeEntry[];
|
|
80
|
+
staleActiveSkills: Array<{
|
|
81
|
+
slug: string;
|
|
82
|
+
reasons: string[];
|
|
83
|
+
}>;
|
|
78
84
|
}
|
|
79
85
|
declare function gatherInventory(directory: string): Promise<InventorySnapshot>;
|
|
80
86
|
declare function buildSystemPrompt(targets: SkillImproverTarget[], cfg: SkillImproverConfigInput): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.56.0",
|
|
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",
|