opencode-swarm 7.121.2 → 7.121.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-1y03193n.js";
4
+ } from "./index-qad0m9bz.js";
5
5
  import {
6
6
  handleGuardrailLog
7
7
  } from "./index-zvae4m8g.js";
@@ -83,7 +83,7 @@ import {
83
83
  handleWriteRetroCommand,
84
84
  normalizeSwarmCommandInput,
85
85
  resolveCommand
86
- } from "./index-y0qa3xf0.js";
86
+ } from "./index-fs2q8jyf.js";
87
87
  import"./index-kyvg2cmp.js";
88
88
  import"./index-vqcgmy4y.js";
89
89
  import"./index-emkb0bbe.js";
@@ -12,7 +12,7 @@ import {
12
12
  detectPosixWrites,
13
13
  detectWindowsWrites,
14
14
  resolveWriteTargets
15
- } from "./index-y0qa3xf0.js";
15
+ } from "./index-fs2q8jyf.js";
16
16
  import {
17
17
  checkFileAuthority,
18
18
  classifyFile,
package/dist/cli/index.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  getPluginLockFilePaths,
8
8
  package_default,
9
9
  resolveCommand
10
- } from "./index-y0qa3xf0.js";
10
+ } from "./index-fs2q8jyf.js";
11
11
  import"./index-kyvg2cmp.js";
12
12
  import"./index-vqcgmy4y.js";
13
13
  import"./index-emkb0bbe.js";
@@ -3,4 +3,8 @@
3
3
  * Sanitizes the description, parses flags, and emits a DESIGN_DOCS mode signal
4
4
  * that routes the architect into the design-doc generation/sync workflow.
5
5
  */
6
+ import { loadPluginConfigWithMeta } from '../config';
7
+ export declare const _internals: {
8
+ loadPluginConfigWithMeta: typeof loadPluginConfigWithMeta;
9
+ };
6
10
  export declare function handleDesignDocsCommand(directory: string, args: string[]): Promise<string>;
@@ -1,22 +1,22 @@
1
1
  /**
2
2
  * Handle /swarm pr-feedback command.
3
3
  *
4
- * Triggers the architect to enter MODE: PR_FEEDBACK — the swarm workflow for
4
+ * Triggers the architect to enter MODE: PR_FEEDBACK the swarm workflow for
5
5
  * ingesting and closing KNOWN pull-request feedback (review comments, requested
6
6
  * changes, CI failures, merge conflicts, stale branches, pasted notes). This is
7
7
  * distinct from /swarm pr-review, which discovers NEW findings.
8
8
  *
9
9
  * Input contract (PR reference is optional):
10
- * /swarm pr-feedback 155 → feedback pass on PR 155
11
- * /swarm pr-feedback 155 also fix the lint errors → PR 155 + extra instructions
10
+ * /swarm pr-feedback 155 feedback pass on PR 155
11
+ * /swarm pr-feedback 155 also fix the lint errors PR 155 + extra instructions
12
12
  * /swarm pr-feedback 155 continue from .swarm/pr-review/<run_id>/feedback-handoff.md
13
13
  * -> PR 155 + handoff path instructions
14
- * /swarm pr-feedback owner/repo#155 → shorthand
14
+ * /swarm pr-feedback owner/repo#155 shorthand
15
15
  * /swarm pr-feedback https://github.com/.../pull/155
16
- * /swarm pr-feedback → bare signal; architect builds
16
+ * /swarm pr-feedback bare signal; architect builds
17
17
  * the ledger from current PR/branch
18
18
  * /swarm pr-feedback address the review notes about error handling
19
- * → no parseable PR ref ⇒ the whole
19
+ * no parseable PR ref the whole
20
20
  * input is forwarded as instructions
21
21
  *
22
22
  * PR-reference parsing and injection-hardening are shared with /swarm pr-review
@@ -55,7 +55,7 @@ export interface EnrichmentQuotaOptions {
55
55
  * One retry on schema failure (with a RETRY message naming the missing
56
56
  * fields). Quota-gated per call via the dedicated knowledge-enrichment quota.
57
57
  * Returns null when
58
- * enrichment is unavailable (quota exhausted) or fails twice — the caller
58
+ * enrichment is unavailable (quota exhausted) or fails twice the caller
59
59
  * quarantines the entry. Never throws.
60
60
  */
61
61
  export declare function enrichLessonToV3(params: {
@@ -106,15 +106,15 @@ export declare function runAutoPromotion(directory: string, config: KnowledgeCon
106
106
  /**
107
107
  * G7 (#1716): Auto-demote swarm entries that have sustained a net-negative
108
108
  * outcome signal over consecutive phase EVALUATIONS (i.e. consecutive
109
- * `runAutoDemotion` invocations with distinct phase numbers — a skipped phase
110
- * in between still counts, matching the issue's "≥3 consecutive" intent as
109
+ * `runAutoDemotion` invocations with distinct phase numbers a skipped phase
110
+ * in between still counts, matching the issue's "3 consecutive" intent as
111
111
  * implemented against evaluation cadence, not wall-clock phase contiguity).
112
112
  *
113
113
  * Companion to {@link runAutoPromotion}. For each `promoted` entry:
114
114
  * 1. Dedupe by phase: if `entry.last_demotion_phase === phaseNumber`, this
115
115
  * entry has already been processed for this phase (handles the case where
116
116
  * `curateAndStoreSwarm` is invoked multiple times in the same logical
117
- * phase — e.g. phase-complete + close). Skip the counter update.
117
+ * phase e.g. phase-complete + close). Skip the counter update.
118
118
  * 2. Otherwise compute the outcome signal. If at/below
119
119
  * `config.promoted_demotion_signal_threshold`, increment
120
120
  * `recent_negative_phase_count`; else reset it to 0.