opencode-swarm 6.18.1 → 6.19.2
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/README.md +31 -0
- package/dist/cli/index.js +6644 -6648
- package/dist/commands/index.d.ts +2 -1
- package/dist/commands/knowledge.d.ts +5 -0
- package/dist/commands/promote.d.ts +10 -0
- package/dist/hooks/adversarial-detector.d.ts +19 -0
- package/dist/hooks/delegation-sanitizer.d.ts +24 -0
- package/dist/hooks/hive-promoter.d.ts +15 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/knowledge-reader.d.ts +5 -1
- package/dist/index.js +2730 -3336
- package/dist/types/events.d.ts +55 -0
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* v6.19.0 JSONL Event Types
|
|
3
|
+
* Event interfaces for the prompt-quality and adversarial robustness update
|
|
4
|
+
*/
|
|
5
|
+
export interface SoundingBoardConsultedEvent {
|
|
6
|
+
type: 'sounding_board_consulted';
|
|
7
|
+
timestamp: string;
|
|
8
|
+
architectQuery: string;
|
|
9
|
+
criticVerdict: 'UNNECESSARY' | 'REPHRASE' | 'APPROVED' | 'RESOLVE';
|
|
10
|
+
phase: number;
|
|
11
|
+
taskId?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ArchitectLoopDetectedEvent {
|
|
14
|
+
type: 'architect_loop_detected';
|
|
15
|
+
timestamp: string;
|
|
16
|
+
impasseDescription: string;
|
|
17
|
+
occurrenceCount: number;
|
|
18
|
+
phase: number;
|
|
19
|
+
taskId?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface PrecedentManipulationDetectedEvent {
|
|
22
|
+
type: 'precedent_manipulation_detected';
|
|
23
|
+
timestamp: string;
|
|
24
|
+
pattern: 'PRECEDENT_MANIPULATION';
|
|
25
|
+
severity: 'HIGHEST';
|
|
26
|
+
detectedIn: string;
|
|
27
|
+
phase: number;
|
|
28
|
+
taskId?: string;
|
|
29
|
+
}
|
|
30
|
+
export interface CoderSelfAuditEvent {
|
|
31
|
+
type: 'coder_self_audit';
|
|
32
|
+
timestamp: string;
|
|
33
|
+
taskId: string;
|
|
34
|
+
filesModified: string[];
|
|
35
|
+
checklistResults: {
|
|
36
|
+
filesMatchSpec: boolean;
|
|
37
|
+
noExtraFunctionality: boolean;
|
|
38
|
+
noSkippedAcceptanceCriteria: boolean;
|
|
39
|
+
didNotRunTests: boolean;
|
|
40
|
+
syntaxCheckPassed: boolean;
|
|
41
|
+
};
|
|
42
|
+
meta: {
|
|
43
|
+
summary: string;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
export interface CoderRetryCircuitBreakerEvent {
|
|
47
|
+
type: 'coder_retry_circuit_breaker';
|
|
48
|
+
timestamp: string;
|
|
49
|
+
taskId: string;
|
|
50
|
+
rejectionCount: number;
|
|
51
|
+
rejectionHistory: string[];
|
|
52
|
+
phase: number;
|
|
53
|
+
action: 'sounding_board_consultation' | 'simplification' | 'user_escalation';
|
|
54
|
+
}
|
|
55
|
+
export type V619Event = SoundingBoardConsultedEvent | ArchitectLoopDetectedEvent | PrecedentManipulationDetectedEvent | CoderSelfAuditEvent | CoderRetryCircuitBreakerEvent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.19.2",
|
|
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",
|