opencode-swarm 7.143.3 → 7.143.4
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-ddbwxt14.js → config-doctor-az6nqawx.js} +2 -2
- package/dist/cli/{core-gfk2tsre.js → core-a6rzajem.js} +1 -1
- package/dist/cli/{curator-llm-factory-z23scnwb.js → curator-llm-factory-j42j5rcr.js} +17 -17
- package/dist/cli/{curator-hkcd03bx.js → curator-tbw9przg.js} +17 -17
- package/dist/cli/{evidence-summary-service-cbhsye6e.js → evidence-summary-service-3f319cst.js} +6 -6
- package/dist/cli/{gate-evidence-5xd9j34y.js → gate-evidence-k2yycngf.js} +2 -2
- package/dist/cli/{guardrail-explain-49vn7rv6.js → guardrail-explain-tsgsw91f.js} +18 -18
- package/dist/cli/{guardrail-log-ghymef5s.js → guardrail-log-70cxb3va.js} +3 -3
- package/dist/cli/{hive-promoter-akf3x240.js → hive-promoter-nksqxfs4.js} +17 -17
- package/dist/cli/{index-9py8e0dk.js → index-19wyta2k.js} +3 -3
- package/dist/cli/{index-etxy4vz9.js → index-5qqyvwqw.js} +4 -4
- package/dist/cli/{index-vdkywste.js → index-6htwcbxh.js} +1 -1
- package/dist/cli/{index-ds7j4hth.js → index-8fq18k02.js} +3 -3
- package/dist/cli/{index-e1feasna.js → index-8qmnqd6g.js} +1 -1
- package/dist/cli/{index-6cgp4ska.js → index-9m5gz9ea.js} +2 -2
- package/dist/cli/{index-xq2effek.js → index-bt47jrhx.js} +2 -2
- package/dist/cli/{index-30yyh3m0.js → index-c9d5y70c.js} +3 -3
- package/dist/cli/{index-64pk7525.js → index-dmtq7tvd.js} +1 -1
- package/dist/cli/{index-1y0rggw0.js → index-f39n8pbr.js} +1 -1
- package/dist/cli/{index-vatqcjnd.js → index-f3xf9dv5.js} +5 -5
- package/dist/cli/{index-3qw0bsgr.js → index-gbr0jbxy.js} +1 -1
- package/dist/cli/{index-m7gss7zy.js → index-gz3z9d64.js} +57 -49
- package/dist/cli/{index-e3g0t29w.js → index-ja15rdzd.js} +1 -1
- package/dist/cli/{index-x90gktjx.js → index-jmgm1npc.js} +1 -1
- package/dist/cli/{index-tj18fe58.js → index-mewk624g.js} +19 -19
- package/dist/cli/{index-qykq6vge.js → index-seedt8m3.js} +3 -3
- package/dist/cli/{index-86tn52b3.js → index-td2ga37v.js} +1 -1
- package/dist/cli/{index-a6rnw33a.js → index-v9qmhrj9.js} +2 -2
- package/dist/cli/{index-4mr3ga48.js → index-z0j133c4.js} +1 -1
- package/dist/cli/{index-1et48zgf.js → index-z4g05zbr.js} +1 -1
- package/dist/cli/index.js +17 -17
- package/dist/cli/{knowledge-escalator-mgg6kvva.js → knowledge-escalator-8akk4n18.js} +6 -6
- package/dist/cli/{knowledge-events-yjmkrrv2.js → knowledge-events-51qk8fq2.js} +4 -4
- package/dist/cli/{knowledge-store-647twyjp.js → knowledge-store-7rsezhav.js} +1 -1
- package/dist/cli/{knowledge-validator-0nsax3n6.js → knowledge-validator-nq75s9et.js} +2 -2
- package/dist/cli/{scan-cursor-vgmzg5ys.js → scan-cursor-em4vrcw6.js} +2 -2
- package/dist/cli/{schema-mzh2tam4.js → schema-1wmfgtm9.js} +1 -1
- package/dist/cli/{scope-persistence-m4ah4fay.js → scope-persistence-8ehnjgsg.js} +4 -4
- package/dist/cli/{skill-generator-eyf32w7h.js → skill-generator-3jstr1sx.js} +7 -7
- package/dist/cli/{worktree-isolation-grxn94v9.js → worktree-isolation-cc3x13ng.js} +17 -17
- package/dist/commands/registry.d.ts +2 -2
- package/dist/hooks/review-receipt-collector.d.ts +1 -0
- package/dist/index.d.ts +6 -1
- package/dist/index.js +12 -12
- package/dist/session/snapshot-reader.d.ts +11 -0
- package/dist/state.d.ts +4 -3
- package/dist/tools/dispatch-lanes.d.ts +1 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -7,44 +7,44 @@ import {
|
|
|
7
7
|
getPluginConfigDir,
|
|
8
8
|
getPluginLockFilePaths,
|
|
9
9
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
10
|
+
} from "./index-gz3z9d64.js";
|
|
11
|
+
import"./index-6htwcbxh.js";
|
|
12
|
+
import"./index-ja15rdzd.js";
|
|
13
|
+
import"./index-c9d5y70c.js";
|
|
14
14
|
import"./index-134d35c1.js";
|
|
15
15
|
import"./index-b6e016tv.js";
|
|
16
16
|
import"./index-4q9vfav6.js";
|
|
17
17
|
import"./index-k92cagmt.js";
|
|
18
18
|
import"./index-y8552snf.js";
|
|
19
|
-
import"./index-
|
|
19
|
+
import"./index-dmtq7tvd.js";
|
|
20
20
|
import"./index-xmzmeknp.js";
|
|
21
21
|
import"./index-c8s9a3zh.js";
|
|
22
22
|
import"./index-9ss2m4rs.js";
|
|
23
|
-
import"./index-
|
|
23
|
+
import"./index-td2ga37v.js";
|
|
24
24
|
import"./index-74hpm6sh.js";
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
25
|
+
import"./index-19wyta2k.js";
|
|
26
|
+
import"./index-f3xf9dv5.js";
|
|
27
|
+
import"./index-v9qmhrj9.js";
|
|
28
|
+
import"./index-8qmnqd6g.js";
|
|
29
29
|
import"./index-556ja8an.js";
|
|
30
30
|
import"./index-gdd4jt6b.js";
|
|
31
31
|
import"./index-zsrtt42s.js";
|
|
32
32
|
import"./index-k3cxyk66.js";
|
|
33
33
|
import"./index-8aabbfhv.js";
|
|
34
|
-
import"./index-
|
|
34
|
+
import"./index-gbr0jbxy.js";
|
|
35
35
|
import"./index-8fwhhayc.js";
|
|
36
36
|
import"./index-q1exe2b3.js";
|
|
37
37
|
import"./index-7sy3aa9m.js";
|
|
38
38
|
import"./index-4905hd2m.js";
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
39
|
+
import"./index-8fq18k02.js";
|
|
40
|
+
import"./index-9m5gz9ea.js";
|
|
41
41
|
import"./index-gprxjmm7.js";
|
|
42
42
|
import"./index-n832052r.js";
|
|
43
|
-
import"./index-
|
|
43
|
+
import"./index-f39n8pbr.js";
|
|
44
44
|
import {
|
|
45
45
|
init_package,
|
|
46
46
|
package_default
|
|
47
|
-
} from "./index-
|
|
47
|
+
} from "./index-z4g05zbr.js";
|
|
48
48
|
import"./index-rn0eq85g.js";
|
|
49
49
|
import"./index-4rhhvd1a.js";
|
|
50
50
|
import {
|
|
@@ -53,10 +53,10 @@ import {
|
|
|
53
53
|
} from "./index-jqsfsqbx.js";
|
|
54
54
|
import"./index-z6xqpmqg.js";
|
|
55
55
|
import"./index-zjygnfay.js";
|
|
56
|
-
import"./index-
|
|
56
|
+
import"./index-z0j133c4.js";
|
|
57
57
|
import"./index-tq5s07ta.js";
|
|
58
58
|
import"./index-rtry5xyf.js";
|
|
59
|
-
import"./index-
|
|
59
|
+
import"./index-5qqyvwqw.js";
|
|
60
60
|
import"./index-ae75rja9.js";
|
|
61
61
|
import"./index-w7x7qxz2.js";
|
|
62
62
|
import"./index-erfnw81g.js";
|
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
maybeEscalateOnViolation,
|
|
10
10
|
maybeQuarantineOnContradiction,
|
|
11
11
|
readRecentEscalations
|
|
12
|
-
} from "./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
12
|
+
} from "./index-f3xf9dv5.js";
|
|
13
|
+
import"./index-8fq18k02.js";
|
|
14
|
+
import"./index-9m5gz9ea.js";
|
|
15
15
|
import"./index-gprxjmm7.js";
|
|
16
16
|
import"./index-n832052r.js";
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
17
|
+
import"./index-f39n8pbr.js";
|
|
18
|
+
import"./index-z4g05zbr.js";
|
|
19
19
|
import"./index-rn0eq85g.js";
|
|
20
20
|
import"./index-4rhhvd1a.js";
|
|
21
21
|
import"./index-jqsfsqbx.js";
|
|
22
22
|
import"./index-z6xqpmqg.js";
|
|
23
23
|
import"./index-zjygnfay.js";
|
|
24
|
-
import"./index-
|
|
24
|
+
import"./index-5qqyvwqw.js";
|
|
25
25
|
import"./index-ae75rja9.js";
|
|
26
26
|
import"./index-w7x7qxz2.js";
|
|
27
27
|
import"./index-erfnw81g.js";
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
resolveKnowledgeCounterBaselinePath,
|
|
30
30
|
resolveKnowledgeEventsPath,
|
|
31
31
|
resolveLegacyApplicationLogPath
|
|
32
|
-
} from "./index-
|
|
33
|
-
import"./index-
|
|
32
|
+
} from "./index-8fq18k02.js";
|
|
33
|
+
import"./index-9m5gz9ea.js";
|
|
34
34
|
import"./index-gprxjmm7.js";
|
|
35
35
|
import"./index-n832052r.js";
|
|
36
|
-
import"./index-
|
|
37
|
-
import"./index-
|
|
36
|
+
import"./index-f39n8pbr.js";
|
|
37
|
+
import"./index-z4g05zbr.js";
|
|
38
38
|
import"./index-rn0eq85g.js";
|
|
39
39
|
import"./index-4rhhvd1a.js";
|
|
40
40
|
import"./index-jqsfsqbx.js";
|
|
@@ -23,10 +23,10 @@ import {
|
|
|
23
23
|
validateLesson,
|
|
24
24
|
validateSkillCandidatePath,
|
|
25
25
|
validateSkillPath
|
|
26
|
-
} from "./index-
|
|
26
|
+
} from "./index-z0j133c4.js";
|
|
27
27
|
import"./index-tq5s07ta.js";
|
|
28
28
|
import"./index-rtry5xyf.js";
|
|
29
|
-
import"./index-
|
|
29
|
+
import"./index-5qqyvwqw.js";
|
|
30
30
|
import"./index-ae75rja9.js";
|
|
31
31
|
import"./index-w7x7qxz2.js";
|
|
32
32
|
import"./index-erfnw81g.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
alreadyCuratedThisGeneration,
|
|
5
5
|
claimNextScanBatch,
|
|
6
6
|
getScanStatus
|
|
7
|
-
} from "./index-
|
|
8
|
-
import"./index-
|
|
7
|
+
} from "./index-dmtq7tvd.js";
|
|
8
|
+
import"./index-5qqyvwqw.js";
|
|
9
9
|
import"./index-ae75rja9.js";
|
|
10
10
|
import"./index-w7x7qxz2.js";
|
|
11
11
|
import"./index-erfnw81g.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
tombstoneScopeBinding,
|
|
24
24
|
writeScopeBindingToDisk,
|
|
25
25
|
writeScopeToDisk
|
|
26
|
-
} from "./index-
|
|
27
|
-
import"./index-
|
|
26
|
+
} from "./index-v9qmhrj9.js";
|
|
27
|
+
import"./index-8qmnqd6g.js";
|
|
28
28
|
import"./index-556ja8an.js";
|
|
29
|
-
import"./index-
|
|
30
|
-
import"./index-
|
|
29
|
+
import"./index-f39n8pbr.js";
|
|
30
|
+
import"./index-z4g05zbr.js";
|
|
31
31
|
import"./index-4rhhvd1a.js";
|
|
32
32
|
import"./index-jqsfsqbx.js";
|
|
33
33
|
import"./index-zjygnfay.js";
|
|
@@ -33,22 +33,22 @@ import {
|
|
|
33
33
|
sanitizeSlug,
|
|
34
34
|
selectCandidateEntries,
|
|
35
35
|
writeEvalStub
|
|
36
|
-
} from "./index-
|
|
37
|
-
import"./index-
|
|
38
|
-
import"./index-
|
|
36
|
+
} from "./index-19wyta2k.js";
|
|
37
|
+
import"./index-8fq18k02.js";
|
|
38
|
+
import"./index-9m5gz9ea.js";
|
|
39
39
|
import"./index-gprxjmm7.js";
|
|
40
40
|
import"./index-n832052r.js";
|
|
41
|
-
import"./index-
|
|
42
|
-
import"./index-
|
|
41
|
+
import"./index-f39n8pbr.js";
|
|
42
|
+
import"./index-z4g05zbr.js";
|
|
43
43
|
import"./index-rn0eq85g.js";
|
|
44
44
|
import"./index-4rhhvd1a.js";
|
|
45
45
|
import"./index-jqsfsqbx.js";
|
|
46
46
|
import"./index-z6xqpmqg.js";
|
|
47
47
|
import"./index-zjygnfay.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-z0j133c4.js";
|
|
49
49
|
import"./index-tq5s07ta.js";
|
|
50
50
|
import"./index-rtry5xyf.js";
|
|
51
|
-
import"./index-
|
|
51
|
+
import"./index-5qqyvwqw.js";
|
|
52
52
|
import"./index-ae75rja9.js";
|
|
53
53
|
import"./index-w7x7qxz2.js";
|
|
54
54
|
import"./index-erfnw81g.js";
|
|
@@ -20,52 +20,52 @@ import {
|
|
|
20
20
|
sanitizeWorktreeTaskId,
|
|
21
21
|
standardWorktreeByCallID,
|
|
22
22
|
standardWorktreeSerializationSessions
|
|
23
|
-
} from "./index-
|
|
24
|
-
import"./index-
|
|
25
|
-
import"./index-
|
|
26
|
-
import"./index-
|
|
23
|
+
} from "./index-gz3z9d64.js";
|
|
24
|
+
import"./index-6htwcbxh.js";
|
|
25
|
+
import"./index-ja15rdzd.js";
|
|
26
|
+
import"./index-c9d5y70c.js";
|
|
27
27
|
import"./index-134d35c1.js";
|
|
28
28
|
import"./index-b6e016tv.js";
|
|
29
29
|
import"./index-4q9vfav6.js";
|
|
30
30
|
import"./index-k92cagmt.js";
|
|
31
31
|
import"./index-y8552snf.js";
|
|
32
|
-
import"./index-
|
|
32
|
+
import"./index-dmtq7tvd.js";
|
|
33
33
|
import"./index-xmzmeknp.js";
|
|
34
34
|
import"./index-c8s9a3zh.js";
|
|
35
35
|
import"./index-9ss2m4rs.js";
|
|
36
|
-
import"./index-
|
|
36
|
+
import"./index-td2ga37v.js";
|
|
37
37
|
import"./index-74hpm6sh.js";
|
|
38
|
-
import"./index-
|
|
39
|
-
import"./index-
|
|
40
|
-
import"./index-
|
|
41
|
-
import"./index-
|
|
38
|
+
import"./index-19wyta2k.js";
|
|
39
|
+
import"./index-f3xf9dv5.js";
|
|
40
|
+
import"./index-v9qmhrj9.js";
|
|
41
|
+
import"./index-8qmnqd6g.js";
|
|
42
42
|
import"./index-556ja8an.js";
|
|
43
43
|
import"./index-gdd4jt6b.js";
|
|
44
44
|
import"./index-zsrtt42s.js";
|
|
45
45
|
import"./index-k3cxyk66.js";
|
|
46
46
|
import"./index-8aabbfhv.js";
|
|
47
|
-
import"./index-
|
|
47
|
+
import"./index-gbr0jbxy.js";
|
|
48
48
|
import"./index-8fwhhayc.js";
|
|
49
49
|
import"./index-q1exe2b3.js";
|
|
50
50
|
import"./index-7sy3aa9m.js";
|
|
51
51
|
import"./index-4905hd2m.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-8fq18k02.js";
|
|
53
53
|
import {
|
|
54
54
|
resolveWorktreeIsolationConfig
|
|
55
|
-
} from "./index-
|
|
55
|
+
} from "./index-9m5gz9ea.js";
|
|
56
56
|
import"./index-gprxjmm7.js";
|
|
57
57
|
import"./index-n832052r.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
58
|
+
import"./index-f39n8pbr.js";
|
|
59
|
+
import"./index-z4g05zbr.js";
|
|
60
60
|
import"./index-rn0eq85g.js";
|
|
61
61
|
import"./index-4rhhvd1a.js";
|
|
62
62
|
import"./index-jqsfsqbx.js";
|
|
63
63
|
import"./index-z6xqpmqg.js";
|
|
64
64
|
import"./index-zjygnfay.js";
|
|
65
|
-
import"./index-
|
|
65
|
+
import"./index-z0j133c4.js";
|
|
66
66
|
import"./index-tq5s07ta.js";
|
|
67
67
|
import"./index-rtry5xyf.js";
|
|
68
|
-
import"./index-
|
|
68
|
+
import"./index-5qqyvwqw.js";
|
|
69
69
|
import"./index-ae75rja9.js";
|
|
70
70
|
import"./index-w7x7qxz2.js";
|
|
71
71
|
import"./index-erfnw81g.js";
|
|
@@ -483,7 +483,7 @@ export declare const COMMAND_REGISTRY: {
|
|
|
483
483
|
readonly finalize: {
|
|
484
484
|
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
485
485
|
readonly description: "Use /swarm finalize to finalize the swarm project and archive evidence";
|
|
486
|
-
readonly details: "Idempotent 4-stage terminal finalization: (1) finalize writes retrospectives for in-progress phases, (2) archive creates timestamped bundle of swarm artifacts and evidence, (3) clean removes active-state files for a clean slate, (4) align performs aggressive git reset --hard to the default remote branch, discarding uncommitted changes and gitignored build artifacts (user-created untracked files are preserved); falls back to a cautious reset that preserves uncommitted changes when the aggressive path cannot proceed. WARNING: alignment discards local changes and gitignored files. Resets agent sessions and
|
|
486
|
+
readonly details: "Idempotent 4-stage terminal finalization: (1) finalize writes retrospectives for in-progress phases, (2) archive creates timestamped bundle of swarm artifacts and evidence, (3) clean removes active-state files for a clean slate, (4) align performs aggressive git reset --hard to the default remote branch, discarding uncommitted changes and gitignored build artifacts (user-created untracked files are preserved); falls back to a cautious reset that preserves uncommitted changes when the aggressive path cannot proceed. WARNING: alignment discards local changes and gitignored files. Resets agent sessions, delegation chains, and active-agent mappings. Reads .swarm/close-lessons.md for explicit lessons and runs curation. Use --skill-review to run the quota-bounded skill_improver in proposal mode. Use --dry-run to preview what finalize would archive, clean, and align without taking the lock or changing anything.";
|
|
487
487
|
readonly args: "--prune-branches, --skill-review, --dry-run";
|
|
488
488
|
readonly category: "core";
|
|
489
489
|
readonly toolPolicy: "none";
|
|
@@ -825,7 +825,7 @@ export declare const COMMAND_REGISTRY: {
|
|
|
825
825
|
readonly 'reset-session': {
|
|
826
826
|
readonly handler: (ctx: CommandContext) => Promise<string>;
|
|
827
827
|
readonly description: "Clear session state while preserving plan, evidence, and knowledge";
|
|
828
|
-
readonly details: "Deletes only .swarm/session/state.json and any other session files. Clears in-memory agent sessions and
|
|
828
|
+
readonly details: "Deletes only .swarm/session/state.json and any other session files. Clears in-memory agent sessions, delegation chains, and active-agent mappings. Preserves plan, evidence, and knowledge for cross-session continuity. Before deleting, auto-backs up the session files it removes to .swarm/reset-backups/<timestamp>/ (newest 5 kept).";
|
|
829
829
|
readonly args: "";
|
|
830
830
|
readonly category: "utility";
|
|
831
831
|
readonly toolPolicy: "restricted";
|
|
@@ -92,6 +92,7 @@ export interface ReviewerReceiptValidationOptions {
|
|
|
92
92
|
}
|
|
93
93
|
/** Test seam for the otherwise process-global telemetry sink. */
|
|
94
94
|
export declare const _internals: {
|
|
95
|
+
delegationBegin: (sessionId: string, agentName: string, taskId: string) => void;
|
|
95
96
|
delegationEnd: (sessionId: string, agentName: string, taskId: string, result: string, costFields?: Partial<import("../services/cost-accounting.js").DelegationCostFields>) => void;
|
|
96
97
|
resolveReviewerTaskScope: typeof resolveReviewerTaskScope;
|
|
97
98
|
buildReviewerTaskScope: typeof buildReviewerTaskScope;
|
package/dist/index.d.ts
CHANGED
|
@@ -8,9 +8,14 @@ import { ensureSwarmGitExcluded } from './utils/gitignore-warning';
|
|
|
8
8
|
* FIFO-cap a session-keyed Map to at most `max` entries, evicting oldest first.
|
|
9
9
|
* Values tracked by these maps are plain data (timestamps/usage snapshots), never
|
|
10
10
|
* timer handles, so eviction requires no clearInterval/clearTimeout. Exported for
|
|
11
|
-
* unit testing of the cap invariant; used by the heartbeat throttle
|
|
11
|
+
* unit testing of the cap invariant; used by the heartbeat throttle and
|
|
12
|
+
* delegation-telemetry pairing paths below.
|
|
12
13
|
*/
|
|
13
14
|
export declare function capSessionMap<K, V>(map: Map<K, V>, max: number): void;
|
|
15
|
+
/** @internal — test-only: clears delegation-telemetry pairing state so one
|
|
16
|
+
* test's unconsumed entries (e.g. a before with no matching after) cannot
|
|
17
|
+
* leak into the next. Mirrors resetTelemetryForTesting / resetSwarmState. */
|
|
18
|
+
export declare function _resetDelegationTelemetryPairingForTesting(): void;
|
|
14
19
|
type PostResolutionTask = () => void | Promise<void>;
|
|
15
20
|
/**
|
|
16
21
|
* Start detached initialization work only after the plugin manifest promise can
|