opencode-swarm 7.105.0 → 7.106.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/cli/{config-doctor-4dhkq5qe.js → config-doctor-cntnpyvj.js} +2 -2
- package/dist/cli/{guardrail-explain-9br76zh5.js → guardrail-explain-fvjc90wa.js} +5 -5
- package/dist/cli/{guardrail-log-peftzya3.js → guardrail-log-fsc85hwa.js} +3 -3
- package/dist/cli/{index-5qzchq7p.js → index-2560cctg.js} +27 -0
- package/dist/cli/{index-wg8ars51.js → index-7dtekwvd.js} +2 -2
- package/dist/cli/{index-hxnnp4qj.js → index-esg1554h.js} +1 -1
- package/dist/cli/{index-qnapygnz.js → index-f4yjypa4.js} +21193 -21085
- package/dist/cli/{index-50qqqbrb.js → index-fxtrk7y8.js} +1 -1
- package/dist/cli/{index-25bc7j87.js → index-w8dzxnx4.js} +1 -1
- package/dist/cli/{index-8mj10cds.js → index-z4t3w4xf.js} +6 -6
- package/dist/cli/index.js +4 -4
- package/dist/cli/{schema-3a02876y.js → schema-vw2ffhe9.js} +1 -1
- package/dist/commands/close.d.ts +2 -0
- package/dist/config/schema.d.ts +28 -0
- package/dist/index.js +532 -504
- package/dist/memory/config.d.ts +48 -0
- package/dist/memory/finalize-reward-sweep.d.ts +132 -0
- package/dist/memory/gateway.d.ts +0 -1
- package/dist/memory/index.d.ts +1 -2
- package/dist/memory/injector.d.ts +11 -0
- package/dist/memory/local-jsonl-provider.d.ts +3 -1
- package/dist/memory/maintenance.d.ts +16 -4
- package/dist/memory/provider.d.ts +42 -47
- package/dist/memory/q-learning.d.ts +62 -0
- package/dist/memory/reward-capture.d.ts +119 -0
- package/dist/memory/schema.d.ts +9 -9
- package/dist/memory/scoring.d.ts +60 -5
- package/dist/memory/sqlite-provider.d.ts +5 -53
- package/dist/memory/types.d.ts +25 -5
- package/dist/state.d.ts +9 -2
- package/dist/tools/convene-council.d.ts +0 -2
- package/dist/tools/submit-phase-council-verdicts.d.ts +0 -1
- package/dist/tools/swarm-memory-recall.d.ts +2 -0
- package/dist/tools/write-final-council-evidence.d.ts +2 -2
- package/package.json +1 -1
- package/dist/memory/reward.d.ts +0 -39
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-7dtekwvd.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-w8dzxnx4.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -80,17 +80,17 @@ import {
|
|
|
80
80
|
handleWriteRetroCommand,
|
|
81
81
|
normalizeSwarmCommandInput,
|
|
82
82
|
resolveCommand
|
|
83
|
-
} from "./index-
|
|
84
|
-
import"./index-
|
|
83
|
+
} from "./index-f4yjypa4.js";
|
|
84
|
+
import"./index-fxtrk7y8.js";
|
|
85
85
|
import"./index-ydgy7vg5.js";
|
|
86
86
|
import"./index-vwyjkzgs.js";
|
|
87
87
|
import"./index-f7nma02k.js";
|
|
88
|
-
import"./index-
|
|
88
|
+
import"./index-esg1554h.js";
|
|
89
89
|
import {
|
|
90
90
|
AGENT_TOOL_MAP,
|
|
91
91
|
ORCHESTRATOR_NAME,
|
|
92
92
|
stripKnownSwarmPrefix
|
|
93
|
-
} from "./index-
|
|
93
|
+
} from "./index-2560cctg.js";
|
|
94
94
|
import"./index-k2rmw9sz.js";
|
|
95
95
|
import"./index-8w4d325g.js";
|
|
96
96
|
import"./index-v4fcn4tr.js";
|
package/dist/cli/index.js
CHANGED
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
package_default,
|
|
9
9
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-f4yjypa4.js";
|
|
11
|
+
import"./index-fxtrk7y8.js";
|
|
12
12
|
import"./index-ydgy7vg5.js";
|
|
13
13
|
import"./index-vwyjkzgs.js";
|
|
14
14
|
import"./index-f7nma02k.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-esg1554h.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_AGENT_CONFIGS
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-2560cctg.js";
|
|
19
19
|
import"./index-k2rmw9sz.js";
|
|
20
20
|
import"./index-8w4d325g.js";
|
|
21
21
|
import"./index-v4fcn4tr.js";
|
package/dist/commands/close.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { createCuratorLLMDelegate } from '../hooks/curator-llm-factory';
|
|
|
6
6
|
import { runCuratorPostMortem } from '../hooks/curator-postmortem';
|
|
7
7
|
import { checkHivePromotions } from '../hooks/hive-promoter';
|
|
8
8
|
import { curateAndStoreSwarm } from '../hooks/knowledge-curator';
|
|
9
|
+
import { runFinalizeRewardSweep } from '../memory/finalize-reward-sweep';
|
|
9
10
|
import { closePlanTerminalState } from '../plan/manager';
|
|
10
11
|
import { type SessionReflectionResult } from '../services/session-reflection';
|
|
11
12
|
import { endAgentSession, resetSwarmStatePreservingSingletons } from '../state';
|
|
@@ -190,6 +191,7 @@ export declare const _internals: {
|
|
|
190
191
|
createCuratorLLMDelegate: typeof createCuratorLLMDelegate;
|
|
191
192
|
resetSwarmStatePreservingSingletons: typeof resetSwarmStatePreservingSingletons;
|
|
192
193
|
runFinalizeStage: typeof runFinalizeStage;
|
|
194
|
+
runFinalizeRewardSweep: typeof runFinalizeRewardSweep;
|
|
193
195
|
acquireFinalizeLock: typeof acquireFinalizeLock;
|
|
194
196
|
runArchiveStage: typeof runArchiveStage;
|
|
195
197
|
runArchiveEvidenceRetention: typeof runArchiveEvidenceRetention;
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -676,6 +676,20 @@ export declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
676
676
|
threshold: z.ZodDefault<z.ZodNumber>;
|
|
677
677
|
}, z.core.$strip>>;
|
|
678
678
|
}, z.core.$strip>>;
|
|
679
|
+
qLearning: z.ZodDefault<z.ZodObject<{
|
|
680
|
+
learningRate: z.ZodDefault<z.ZodNumber>;
|
|
681
|
+
qValueBoostWeight: z.ZodDefault<z.ZodNumber>;
|
|
682
|
+
suppressionThreshold: z.ZodDefault<z.ZodNumber>;
|
|
683
|
+
promotionThreshold: z.ZodDefault<z.ZodNumber>;
|
|
684
|
+
promotionMinRetrievals: z.ZodDefault<z.ZodNumber>;
|
|
685
|
+
propagationFraction: z.ZodDefault<z.ZodNumber>;
|
|
686
|
+
propagationFanoutCap: z.ZodDefault<z.ZodNumber>;
|
|
687
|
+
propagationWindowDays: z.ZodDefault<z.ZodNumber>;
|
|
688
|
+
propagationRelatednessThreshold: z.ZodDefault<z.ZodNumber>;
|
|
689
|
+
explorationRate: z.ZodDefault<z.ZodNumber>;
|
|
690
|
+
verdictPayloadCapBytes: z.ZodDefault<z.ZodNumber>;
|
|
691
|
+
initialQValue: z.ZodDefault<z.ZodNumber>;
|
|
692
|
+
}, z.core.$strip>>;
|
|
679
693
|
consolidation: z.ZodDefault<z.ZodObject<{
|
|
680
694
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
681
695
|
maxClustersPerPass: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1881,6 +1895,20 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1881
1895
|
threshold: z.ZodDefault<z.ZodNumber>;
|
|
1882
1896
|
}, z.core.$strip>>;
|
|
1883
1897
|
}, z.core.$strip>>;
|
|
1898
|
+
qLearning: z.ZodDefault<z.ZodObject<{
|
|
1899
|
+
learningRate: z.ZodDefault<z.ZodNumber>;
|
|
1900
|
+
qValueBoostWeight: z.ZodDefault<z.ZodNumber>;
|
|
1901
|
+
suppressionThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1902
|
+
promotionThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1903
|
+
promotionMinRetrievals: z.ZodDefault<z.ZodNumber>;
|
|
1904
|
+
propagationFraction: z.ZodDefault<z.ZodNumber>;
|
|
1905
|
+
propagationFanoutCap: z.ZodDefault<z.ZodNumber>;
|
|
1906
|
+
propagationWindowDays: z.ZodDefault<z.ZodNumber>;
|
|
1907
|
+
propagationRelatednessThreshold: z.ZodDefault<z.ZodNumber>;
|
|
1908
|
+
explorationRate: z.ZodDefault<z.ZodNumber>;
|
|
1909
|
+
verdictPayloadCapBytes: z.ZodDefault<z.ZodNumber>;
|
|
1910
|
+
initialQValue: z.ZodDefault<z.ZodNumber>;
|
|
1911
|
+
}, z.core.$strip>>;
|
|
1884
1912
|
consolidation: z.ZodDefault<z.ZodObject<{
|
|
1885
1913
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1886
1914
|
maxClustersPerPass: z.ZodDefault<z.ZodNumber>;
|