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.
- package/dist/cli/{curator-mwvrryf3.js → curator-ed91r7rw.js} +1 -1
- package/dist/cli/{curator-llm-factory-vcyvbny0.js → curator-llm-factory-q9veqj3h.js} +1 -1
- package/dist/cli/{guardrail-explain-tgkk87z5.js → guardrail-explain-0vcaa7hj.js} +2 -2
- package/dist/cli/{hive-promoter-z4tw1gfv.js → hive-promoter-dg6fk563.js} +1 -1
- package/dist/cli/{index-y0qa3xf0.js → index-fs2q8jyf.js} +207 -207
- package/dist/cli/{index-2ygp3qq4.js → index-g9eg7z93.js} +2 -2
- package/dist/cli/{index-1y03193n.js → index-qad0m9bz.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/commands/design-docs.d.ts +4 -0
- package/dist/commands/pr-feedback.d.ts +6 -6
- package/dist/hooks/knowledge-curator.d.ts +4 -4
- package/dist/index.js +148 -148
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
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-
|
|
86
|
+
} from "./index-fs2q8jyf.js";
|
|
87
87
|
import"./index-kyvg2cmp.js";
|
|
88
88
|
import"./index-vqcgmy4y.js";
|
|
89
89
|
import"./index-emkb0bbe.js";
|
package/dist/cli/index.js
CHANGED
|
@@ -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
|
|
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
|
|
11
|
-
* /swarm pr-feedback 155 also fix the lint errors
|
|
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
|
|
14
|
+
* /swarm pr-feedback owner/repo#155 → shorthand
|
|
15
15
|
* /swarm pr-feedback https://github.com/.../pull/155
|
|
16
|
-
* /swarm pr-feedback
|
|
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
|
-
*
|
|
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
|
|
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
|
|
110
|
-
* in between still counts, matching the issue's "
|
|
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
|
|
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.
|