opencode-swarm 7.87.2 → 7.87.3

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.
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-f41fa3f0.js";
4
+ } from "./index-amwa268r.js";
5
5
  import {
6
6
  handleGuardrailLog
7
7
  } from "./index-5vpe6vq9.js";
@@ -76,10 +76,10 @@ import {
76
76
  handleWriteRetroCommand,
77
77
  normalizeSwarmCommandInput,
78
78
  resolveCommand
79
- } from "./index-6qkwgdsg.js";
79
+ } from "./index-kz1bmebr.js";
80
80
  import"./index-5hvbw5xh.js";
81
81
  import"./index-yhsmmv2z.js";
82
- import"./index-s8bj492g.js";
82
+ import"./index-32axfg6h.js";
83
83
  import"./index-e8pk68cc.js";
84
84
  import"./index-1cb4wxnm.js";
85
85
  import {
package/dist/cli/index.js CHANGED
@@ -7,10 +7,10 @@ import {
7
7
  getPluginLockFilePaths,
8
8
  package_default,
9
9
  resolveCommand
10
- } from "./index-6qkwgdsg.js";
10
+ } from "./index-kz1bmebr.js";
11
11
  import"./index-5hvbw5xh.js";
12
12
  import"./index-yhsmmv2z.js";
13
- import"./index-s8bj492g.js";
13
+ import"./index-32axfg6h.js";
14
14
  import"./index-e8pk68cc.js";
15
15
  import"./index-1cb4wxnm.js";
16
16
  import {
@@ -2,6 +2,7 @@
2
2
  import {
3
3
  DEFAULT_SKILL_MIN_CONFIDENCE,
4
4
  DEFAULT_SKILL_MIN_CONFIRMATIONS,
5
+ HIGH_PRIORITY_SKILL_MIN_CONFIDENCE,
5
6
  STRONG_SKILL_OUTCOME_COUNT,
6
7
  _internals,
7
8
  activateProposal,
@@ -21,7 +22,7 @@ import {
21
22
  retireSkill,
22
23
  sanitizeSlug,
23
24
  selectCandidateEntries
24
- } from "./index-s8bj492g.js";
25
+ } from "./index-32axfg6h.js";
25
26
  import"./index-e8pk68cc.js";
26
27
  import"./index-fjwwrwr5.js";
27
28
  import"./index-jtqkh8jf.js";
@@ -50,6 +51,7 @@ export {
50
51
  activateProposal,
51
52
  _internals,
52
53
  STRONG_SKILL_OUTCOME_COUNT,
54
+ HIGH_PRIORITY_SKILL_MIN_CONFIDENCE,
53
55
  DEFAULT_SKILL_MIN_CONFIRMATIONS,
54
56
  DEFAULT_SKILL_MIN_CONFIDENCE
55
57
  };
@@ -2,6 +2,7 @@
2
2
  * Merges swarm + hive knowledge, deduplicates (hive wins), ranks by composite score,
3
3
  * and provides utility tracking.
4
4
  */
5
+ import { recordKnowledgeEvent } from './knowledge-events.js';
5
6
  import type { KnowledgeConfig, KnowledgeEntryBase, KnowledgeRetrievalContext } from './knowledge-types.js';
6
7
  export interface ProjectContext {
7
8
  projectName: string;
@@ -36,5 +37,6 @@ export declare const _internals: {
36
37
  updateRetrievalOutcome: typeof updateRetrievalOutcome;
37
38
  scoreDirectiveAgainstContext: typeof scoreDirectiveAgainstContext;
38
39
  transactShownFile: typeof transactShownFile;
40
+ recordKnowledgeEvent: typeof recordKnowledgeEvent;
39
41
  };
40
42
  export {};
@@ -43,6 +43,9 @@ export interface RetrievalOutcome {
43
43
  succeeded_after_shown_count?: number;
44
44
  /** v2: phase-failure count after a "shown" (replaces failed_after_count). */
45
45
  failed_after_shown_count?: number;
46
+ /** v3: partial-success count after a "shown" (outcome: 'partial'). Event-only
47
+ * field — never written to the entry, folded from the event log rollup. */
48
+ partial_after_shown_count?: number;
46
49
  /** v3: recent violation timestamps (newest-first, capped) folded from the
47
50
  * event-derived rollup. Surfaced for the repeat-mistake escalator. */
48
51
  violation_timestamps?: string[];