opencode-swarm 7.69.1 → 7.71.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/agents/curator-agent.d.ts +1 -1
- package/dist/agents/explorer.d.ts +1 -0
- package/dist/cli/index.js +1675 -734
- package/dist/commands/post-mortem.d.ts +3 -0
- package/dist/commands/registry.d.ts +7 -0
- package/dist/config/agent-names.d.ts +2 -2
- package/dist/config/schema.d.ts +79 -0
- package/dist/hooks/curator-llm-factory.d.ts +4 -3
- package/dist/hooks/curator-postmortem.d.ts +61 -0
- package/dist/hooks/knowledge-events.d.ts +18 -0
- package/dist/index.js +2820 -1940
- package/dist/state.d.ts +4 -3
- package/package.json +1 -1
package/dist/state.d.ts
CHANGED
|
@@ -310,6 +310,7 @@ export declare const swarmState: {
|
|
|
310
310
|
* name at call time by matching the active session's agent prefix. */
|
|
311
311
|
curatorInitAgentNames: string[];
|
|
312
312
|
curatorPhaseAgentNames: string[];
|
|
313
|
+
curatorPostmortemAgentNames: string[];
|
|
313
314
|
/** All registered skill_improver / spec_writer agent names across swarms,
|
|
314
315
|
* mirroring curatorInitAgentNames so the LLM delegate factory can resolve
|
|
315
316
|
* the correct prefixed agent under multi-swarm configs. */
|
|
@@ -356,18 +357,18 @@ export declare const swarmState: {
|
|
|
356
357
|
*/
|
|
357
358
|
export declare function resetSwarmState(): void;
|
|
358
359
|
/**
|
|
359
|
-
* Reset swarm state while preserving the
|
|
360
|
+
* Reset swarm state while preserving the 8 module-scoped singletons that are
|
|
360
361
|
* populated once at plugin init and must survive a /swarm close + re-init
|
|
361
362
|
* within the same process lifetime.
|
|
362
363
|
*
|
|
363
364
|
* The preserved fields are:
|
|
364
365
|
* - opencodeClient (SDK client for curator/full-auto delegation)
|
|
365
366
|
* - fullAutoEnabledInConfig (config flag read at init)
|
|
366
|
-
* - curatorInitAgentNames, curatorPhaseAgentNames (curator registry)
|
|
367
|
+
* - curatorInitAgentNames, curatorPhaseAgentNames, curatorPostmortemAgentNames (curator registry)
|
|
367
368
|
* - skillImproverAgentNames, specWriterAgentNames (skill/spec registry)
|
|
368
369
|
* - generatedAgentNames (full-auto delegation guard registry)
|
|
369
370
|
*
|
|
370
|
-
* Implementation: save all
|
|
371
|
+
* Implementation: save all 8 to locals, call resetSwarmState(), restore all 8.
|
|
371
372
|
* Synchronous (matches resetSwarmState contract). Errors from resetSwarmState
|
|
372
373
|
* propagate to caller (no try/catch wrapper).
|
|
373
374
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.71.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",
|