opencode-swarm 7.139.6 → 7.139.8

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.
Files changed (41) hide show
  1. package/.opencode/skills/swarm-pr-review/SKILL.md +62 -6
  2. package/.opencode/skills/swarm-pr-review/references/prompt-templates.md +44 -6
  3. package/dist/agents/explorer.d.ts +1 -1
  4. package/dist/cli/{config-doctor-7v9at76j.js → config-doctor-9p18410e.js} +2 -2
  5. package/dist/cli/{curation-policy-rbrx3kd2.js → curation-policy-csqy6sxv.js} +2 -2
  6. package/dist/cli/{curator-llm-factory-305cfcxz.js → curator-llm-factory-9jx0967z.js} +13 -13
  7. package/dist/cli/{curator-bdc5hssa.js → curator-nm119d34.js} +13 -13
  8. package/dist/cli/{explorer-swjc297z.js → explorer-e9h66egs.js} +1 -1
  9. package/dist/cli/{guardrail-explain-w9rwgz4c.js → guardrail-explain-jcw3c310.js} +14 -14
  10. package/dist/cli/{guardrail-log-4805jgj5.js → guardrail-log-kezxpmcr.js} +3 -3
  11. package/dist/cli/{hive-promoter-jrd4pjb6.js → hive-promoter-pjyx3wy7.js} +13 -13
  12. package/dist/cli/{index-a6v3kzyc.js → index-0gre0ke3.js} +5 -5
  13. package/dist/cli/{index-wv89xmbe.js → index-2y3kqsrj.js} +1 -1
  14. package/dist/cli/{index-8d2d7c6k.js → index-61hxp7jc.js} +2 -2
  15. package/dist/cli/{index-ev72jrxc.js → index-82q5cn2m.js} +1 -1
  16. package/dist/cli/{index-b6k9z88b.js → index-8rzgy9eq.js} +1 -1
  17. package/dist/cli/{index-n3ppm2gt.js → index-bdvbjh9n.js} +1 -1
  18. package/dist/cli/{index-sfbwze80.js → index-c5t1dz4k.js} +15 -15
  19. package/dist/cli/{index-m7xks4r4.js → index-cdkp8p0d.js} +4 -4
  20. package/dist/cli/{index-68gh7p3t.js → index-fsrsvn0j.js} +1 -1
  21. package/dist/cli/{index-t94f72tb.js → index-fzf15czt.js} +2 -2
  22. package/dist/cli/{index-h7ht03c4.js → index-g5dfrs6s.js} +39 -39
  23. package/dist/cli/{index-7qx874pn.js → index-j358ngpt.js} +1 -1
  24. package/dist/cli/{index-fjrt81db.js → index-mejjza6g.js} +1 -1
  25. package/dist/cli/{index-1tw24kcp.js → index-nxfwwsdh.js} +1 -1
  26. package/dist/cli/{index-3fscvmfw.js → index-t3wschfh.js} +3 -3
  27. package/dist/cli/{index-6mjf4vr1.js → index-v2xrer41.js} +16 -29
  28. package/dist/cli/{index-k5z14rb1.js → index-z6je7zhk.js} +2 -2
  29. package/dist/cli/index.js +13 -13
  30. package/dist/cli/{knowledge-escalator-7z9vwqrk.js → knowledge-escalator-tzv6e9cb.js} +3 -3
  31. package/dist/cli/{knowledge-events-vw2cdtnp.js → knowledge-events-g5t9m5y3.js} +1 -1
  32. package/dist/cli/{knowledge-store-ecv0qs7r.js → knowledge-store-azpephvt.js} +1 -1
  33. package/dist/cli/{knowledge-validator-arppnzpb.js → knowledge-validator-eqd7kywp.js} +4 -4
  34. package/dist/cli/{scan-cursor-7740wg6r.js → scan-cursor-mq7g3a95.js} +2 -2
  35. package/dist/cli/{schema-sajt4mcv.js → schema-dcjtwyvf.js} +1 -1
  36. package/dist/cli/{skill-generator-k8qz8ja5.js → skill-generator-npzqnyac.js} +5 -5
  37. package/dist/hooks/compaction-customizer.d.ts +11 -0
  38. package/dist/hooks/pr-workflow-gate.d.ts +2 -2
  39. package/dist/index.js +66 -61
  40. package/dist/tools/dispatch-lanes.d.ts +3 -6
  41. package/package.json +1 -1
@@ -41,7 +41,7 @@ import {
41
41
  transactKnowledge,
42
42
  transactKnowledgeWithCas,
43
43
  wordBigrams
44
- } from "./index-m7xks4r4.js";
44
+ } from "./index-cdkp8p0d.js";
45
45
  import {
46
46
  resolveHiveDataDir
47
47
  } from "./index-ae75rja9.js";
@@ -23,11 +23,11 @@ import {
23
23
  validateLesson,
24
24
  validateSkillCandidatePath,
25
25
  validateSkillPath
26
- } from "./index-8d2d7c6k.js";
27
- import"./index-1tw24kcp.js";
26
+ } from "./index-61hxp7jc.js";
27
+ import"./index-nxfwwsdh.js";
28
28
  import"./index-rtry5xyf.js";
29
- import"./index-m7xks4r4.js";
30
- import"./index-68gh7p3t.js";
29
+ import"./index-cdkp8p0d.js";
30
+ import"./index-fsrsvn0j.js";
31
31
  import"./index-ae75rja9.js";
32
32
  import"./index-rs1f1bh0.js";
33
33
  import"./index-h2waehqq.js";
@@ -4,8 +4,8 @@ import {
4
4
  alreadyCuratedThisGeneration,
5
5
  claimNextScanBatch,
6
6
  getScanStatus
7
- } from "./index-wv89xmbe.js";
8
- import"./index-m7xks4r4.js";
7
+ } from "./index-2y3kqsrj.js";
8
+ import"./index-cdkp8p0d.js";
9
9
  import"./index-ae75rja9.js";
10
10
  import"./index-rs1f1bh0.js";
11
11
  import"./index-h2waehqq.js";
@@ -96,7 +96,7 @@ import {
96
96
  resolveGeneratedAgentRole,
97
97
  resolveGuardrailsConfig,
98
98
  stripKnownSwarmPrefix
99
- } from "./index-n3ppm2gt.js";
99
+ } from "./index-bdvbjh9n.js";
100
100
  import"./index-r4t92q32.js";
101
101
  import"./index-zjygnfay.js";
102
102
  import"./index-bk5tah7q.js";
@@ -33,12 +33,12 @@ import {
33
33
  sanitizeSlug,
34
34
  selectCandidateEntries,
35
35
  writeEvalStub
36
- } from "./index-3fscvmfw.js";
37
- import"./index-8d2d7c6k.js";
38
- import"./index-1tw24kcp.js";
36
+ } from "./index-t3wschfh.js";
37
+ import"./index-61hxp7jc.js";
38
+ import"./index-nxfwwsdh.js";
39
39
  import"./index-rtry5xyf.js";
40
- import"./index-m7xks4r4.js";
41
- import"./index-68gh7p3t.js";
40
+ import"./index-cdkp8p0d.js";
41
+ import"./index-fsrsvn0j.js";
42
42
  import"./index-ae75rja9.js";
43
43
  import"./index-rs1f1bh0.js";
44
44
  import"./index-h2waehqq.js";
@@ -5,6 +5,16 @@
5
5
  */
6
6
  import * as fs from 'node:fs';
7
7
  import type { PluginConfig } from '../config';
8
+ /**
9
+ * The summary-generation turn is tool-disabled, so an action affordance like
10
+ * ` ← CURRENT` ("do this next") would instruct the model to act where acting is
11
+ * forbidden. Strip it from on-disk task rendering while keeping the factual
12
+ * pending-task line. The marker is emitted by `extractIncompleteTasksFromPlan`
13
+ * (`- [ ] <id>: ... ← CURRENT`), and the legacy `extractIncompleteTasks` path
14
+ * relays it verbatim whenever plan.md was derived from or hand-written in the
15
+ * canonical ` ← CURRENT` format, so the strip is applied to both paths.
16
+ */
17
+ declare function stripTaskActionMarkers(value: string): string;
8
18
  interface CompactionFact {
9
19
  label: string;
10
20
  value: string;
@@ -30,6 +40,7 @@ export declare const _test_exports: {
30
40
  opendir: typeof fs.promises.opendir;
31
41
  };
32
42
  countStoredOutputs: typeof countStoredOutputs;
43
+ stripTaskActionMarkers: typeof stripTaskActionMarkers;
33
44
  MAX_COMPACTION_FACT_CHARS: number;
34
45
  MAX_COMPACTION_CONTEXT_CHARS: number;
35
46
  MAX_STORED_OUTPUTS_TO_COUNT: number;
@@ -1,5 +1,5 @@
1
1
  import * as fsp from 'node:fs/promises';
2
- import { type RowFormatFamily } from '../background/candidate-contract.js';
2
+ import { type CandidateSeverity, type RowFormatFamily } from '../background/candidate-contract.js';
3
3
  import { type LaneOutputArtifact } from '../background/lane-output-store.js';
4
4
  import { type BackgroundDelegationRecord, type BackgroundDelegationResult, findByBatchId } from '../background/pending-delegations.js';
5
5
  import { type PrReviewInlineTriggerRow } from '../background/pr-review-trigger-contract.js';
@@ -208,7 +208,7 @@ type PrReviewArtifactRecord = {
208
208
  finding_id: string;
209
209
  status: 'PENDING' | 'CONFIRMED' | 'DISPROVED' | 'PRE_EXISTING';
210
210
  next_action: 'route_to_reviewer' | 'route_to_critic' | 'report' | 'suppress_with_reason' | 'handoff_to_feedback';
211
- severity?: 'CRITICAL' | 'HIGH' | 'MEDIUM' | 'LOW';
211
+ severity?: CandidateSeverity;
212
212
  };
213
213
  interface PrFeedbackScopeDeclarationRecord {
214
214
  taskId: string;