opencode-swarm 7.16.0 → 7.17.1
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 +1 -1
- package/dist/agents/index.d.ts +3 -2
- package/dist/agents/project-context.d.ts +58 -0
- package/dist/agents/template.d.ts +85 -0
- package/dist/build/discovery.d.ts +2 -4
- package/dist/cli/index.js +1768 -345
- package/dist/hooks/knowledge-injector.d.ts +2 -1
- package/dist/hooks/knowledge-types.d.ts +1 -1
- package/dist/hooks/knowledge-validator.d.ts +1 -0
- package/dist/index.js +2982 -1380
- package/dist/lang/backend.d.ts +199 -0
- package/dist/lang/backends/go.d.ts +21 -0
- package/dist/lang/backends/index.d.ts +27 -0
- package/dist/lang/backends/python.d.ts +25 -0
- package/dist/lang/backends/typescript.d.ts +56 -0
- package/dist/lang/default-backend.d.ts +105 -0
- package/dist/lang/dispatch.d.ts +52 -0
- package/dist/lang/profiles.d.ts +28 -0
- package/dist/lang/registry-backend.d.ts +35 -0
- package/dist/test-impact/analyzer.d.ts +7 -0
- package/dist/tools/test-runner.d.ts +22 -0
- package/package.json +1 -1
|
@@ -9,7 +9,8 @@ import type { KnowledgeConfig, MessageWithParts } from './knowledge-types.js';
|
|
|
9
9
|
/**
|
|
10
10
|
* Creates a knowledge injection hook that injects relevant knowledge into the
|
|
11
11
|
* architect's message context at phase start. Supports caching for re-injection
|
|
12
|
-
* after compaction.
|
|
12
|
+
* after compaction. Cache is per-instance (bound to the returned hook closure),
|
|
13
|
+
* ensuring no cross-test pollution in Bun's shared test-runner process.
|
|
13
14
|
*
|
|
14
15
|
* @param directory - The project directory containing .swarm/
|
|
15
16
|
* @param config - Knowledge system configuration
|
|
@@ -81,7 +81,7 @@ export interface KnowledgeEntryBase extends ActionableDirectiveFields {
|
|
|
81
81
|
tags: string[];
|
|
82
82
|
scope: string;
|
|
83
83
|
confidence: number;
|
|
84
|
-
status: 'candidate' | 'established' | 'promoted' | 'archived';
|
|
84
|
+
status: 'candidate' | 'established' | 'promoted' | 'archived' | 'quarantined';
|
|
85
85
|
confirmed_by: PhaseConfirmationRecord[] | ProjectConfirmationRecord[];
|
|
86
86
|
retrieval_outcomes: RetrievalOutcome;
|
|
87
87
|
schema_version: number;
|
|
@@ -31,6 +31,7 @@ export declare function validateSkillPath(p: unknown): boolean;
|
|
|
31
31
|
export declare function validateActionableFields(fields: ActionableDirectiveFields | undefined): ActionableValidationResult;
|
|
32
32
|
export type { ActionableDirectiveFields, DirectivePriority };
|
|
33
33
|
export interface QuarantinedEntry extends KnowledgeEntryBase {
|
|
34
|
+
original_status: string;
|
|
34
35
|
quarantine_reason: string;
|
|
35
36
|
quarantined_at: string;
|
|
36
37
|
reported_by: 'architect' | 'user' | 'auto';
|