opencode-swarm 7.143.5 → 7.144.0
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/.opencode/skills/swarm-pr-review/SKILL.md +5 -5
- package/.opencode/skills/swarm-pr-review/references/lane-output-recoverability.md +129 -0
- package/dist/background/delegation-health.d.ts +213 -0
- package/dist/background/pending-delegations.d.ts +164 -16
- package/dist/background/pr-review-trigger-contract.d.ts +17 -0
- package/dist/cli/{config-doctor-y8wfw196.js → config-doctor-7gy47evn.js} +2 -2
- package/dist/cli/{core-zszmexgm.js → core-cpcspaw5.js} +1 -1
- package/dist/cli/{curator-llm-factory-xsg7wesn.js → curator-llm-factory-fyjmgxyp.js} +18 -18
- package/dist/cli/{curator-e2sp925h.js → curator-v97jnwn2.js} +18 -18
- package/dist/cli/{evidence-summary-service-pfppq7mv.js → evidence-summary-service-79mtxzhd.js} +6 -6
- package/dist/cli/{gate-evidence-23jnh3mb.js → gate-evidence-kgyqz1g1.js} +2 -2
- package/dist/cli/{guardrail-explain-byzmrgg1.js → guardrail-explain-9ry66z5g.js} +19 -19
- package/dist/cli/{guardrail-log-nr2g7hbw.js → guardrail-log-fe6smme1.js} +3 -3
- package/dist/cli/{hive-promoter-cw08380z.js → hive-promoter-vwq1dbh1.js} +18 -18
- package/dist/cli/{index-qdarzed6.js → index-0ck3e366.js} +1 -1
- package/dist/cli/{index-xmje20we.js → index-1pr8x10a.js} +2 -2
- package/dist/cli/{index-p844tcrm.js → index-269b52r3.js} +3 -3
- package/dist/cli/{index-04x9wx7d.js → index-3q9w6e6v.js} +1 -1
- package/dist/cli/{index-5866smj5.js → index-3v3dxf75.js} +3 -3
- package/dist/cli/{index-8aabbfhv.js → index-4fda8kkw.js} +1057 -92
- package/dist/cli/{index-jqxgdvr9.js → index-6p09gyra.js} +1 -1
- package/dist/cli/{index-mnj0ter5.js → index-8xertnqz.js} +3 -3
- package/dist/cli/{index-a1p87gew.js → index-d45d4zyq.js} +1 -1
- package/dist/cli/{index-y8r7z30j.js → index-d45yrzkg.js} +1 -1
- package/dist/cli/{index-1kr1vey5.js → index-e70d3xr7.js} +20 -20
- package/dist/cli/{index-a4dkd7m7.js → index-evvbmbbv.js} +1 -1
- package/dist/cli/{index-dg1v2gnh.js → index-ewzmjm7m.js} +1 -1
- package/dist/cli/{index-47z3jbxk.js → index-ez18gjk2.js} +3 -3
- package/dist/cli/{index-51axj9vd.js → index-j1scj25g.js} +481 -80
- package/dist/cli/{index-m7v7gggs.js → index-jqabjy7t.js} +4 -4
- package/dist/cli/{index-7en3eq3k.js → index-jvbfrwt2.js} +1 -1
- package/dist/cli/{index-tmc43mkc.js → index-mw6p3nt6.js} +1 -1
- package/dist/cli/{index-x64vt6sc.js → index-rd2082y4.js} +2 -2
- package/dist/cli/{index-q2nd6q9e.js → index-tfkfyshg.js} +1 -1
- package/dist/cli/{index-mbczeqs3.js → index-vb9cpaz4.js} +5 -5
- package/dist/cli/{index-at0h6cd6.js → index-zv4pwyas.js} +2 -2
- package/dist/cli/index.js +18 -18
- package/dist/cli/{knowledge-escalator-1g4p844a.js → knowledge-escalator-rmy3jcx4.js} +6 -6
- package/dist/cli/{knowledge-events-5699zzw0.js → knowledge-events-1tqpbwvj.js} +4 -4
- package/dist/cli/{knowledge-store-m5qjn5kd.js → knowledge-store-389ck792.js} +1 -1
- package/dist/cli/{knowledge-validator-xxnp8ear.js → knowledge-validator-kvtk6633.js} +2 -2
- package/dist/cli/{pending-delegations-b3pt3w5w.js → pending-delegations-thy8g30k.js} +27 -1
- package/dist/cli/{scan-cursor-qvky2yem.js → scan-cursor-ahgm4f5p.js} +2 -2
- package/dist/cli/{schema-wgb37f83.js → schema-epdq7ykx.js} +1 -1
- package/dist/cli/{scope-persistence-0wrb7ptt.js → scope-persistence-37s9n40v.js} +4 -4
- package/dist/cli/{skill-generator-khaw3jjw.js → skill-generator-4d2t5gem.js} +7 -7
- package/dist/cli/{worktree-collision-ownership-bfz3drxm.js → worktree-collision-ownership-j6d33p49.js} +1 -1
- package/dist/cli/{worktree-isolation-bv41gn3k.js → worktree-isolation-4628yaka.js} +18 -18
- package/dist/evaluation/contracts.d.ts +4 -4
- package/dist/evaluation/gate-ground-truth.d.ts +1 -1
- package/dist/hooks/init-orphan-recovery.d.ts +2 -0
- package/dist/hooks/pr-workflow-gate.d.ts +135 -1
- package/dist/index.js +446 -441
- package/dist/services/status-service.d.ts +9 -0
- package/dist/tools/complete-pr-workflow.d.ts +3 -1
- package/dist/tools/pr-workflow-status.d.ts +2 -2
- package/dist/tools/write-pr-review-trigger-eval.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { AgentDefinition } from '../agents';
|
|
2
|
+
import { type DelegationLedgerHealth } from '../background/delegation-health';
|
|
2
3
|
import { loadFullAutoRunState } from '../full-auto/state';
|
|
3
4
|
import { type RecentEscalation } from '../hooks/knowledge-escalator';
|
|
4
5
|
import { getActiveFullAutoSessionID, hasActiveFullAuto, hasActiveLeanTurbo } from '../state';
|
|
@@ -158,6 +159,14 @@ export interface StatusData {
|
|
|
158
159
|
provider?: string;
|
|
159
160
|
configFingerprintMatch?: boolean;
|
|
160
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* #2034 / #1659: background-delegation ledger health — tail bytes vs the
|
|
164
|
+
* 4 MiB recovery bound, checkpoint state, the most recent durable
|
|
165
|
+
* uncertainty, and live-set counts. Populated fold-free from the durable
|
|
166
|
+
* health artifact + statSync; `undefined` when no ledger and no artifact
|
|
167
|
+
* exist (clean repos keep their previous byte-identical output).
|
|
168
|
+
*/
|
|
169
|
+
delegationLedgerHealth?: DelegationLedgerHealth;
|
|
161
170
|
}
|
|
162
171
|
/**
|
|
163
172
|
* Get status data from the swarm directory.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { completePrWorkflow } from '../hooks/pr-workflow-gate.js';
|
|
1
|
+
import { completePrWorkflow, readPrWorkflowGateState, settlePresumedStalePrWorkflowLanes } from '../hooks/pr-workflow-gate.js';
|
|
2
2
|
import { createSwarmTool } from './create-tool.js';
|
|
3
3
|
import { listPendingPrWorkflowCheckoutRestores } from './prepare-pr-workflow-checkout.js';
|
|
4
4
|
export declare function executeCompletePrWorkflow(args: unknown, directory: string, context?: {
|
|
@@ -8,4 +8,6 @@ export declare const complete_pr_workflow: ReturnType<typeof createSwarmTool>;
|
|
|
8
8
|
export declare const _internals: {
|
|
9
9
|
completePrWorkflow: typeof completePrWorkflow;
|
|
10
10
|
listPendingPrWorkflowCheckoutRestores: typeof listPendingPrWorkflowCheckoutRestores;
|
|
11
|
+
readPrWorkflowGateState: typeof readPrWorkflowGateState;
|
|
12
|
+
settlePresumedStalePrWorkflowLanes: typeof settlePresumedStalePrWorkflowLanes;
|
|
11
13
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { resolveCurrentGitHeadAsync, resolveIsWorkingTreeCleanAsync } from '../background/workspace-snapshot';
|
|
2
2
|
import { classifyPrWorkflowGitState } from '../git/pr-workflow-state';
|
|
3
|
-
import {
|
|
3
|
+
import { readPrWorkflowGateStateForRecovery } from '../hooks/pr-workflow-gate';
|
|
4
4
|
import { createSwarmTool } from './create-tool';
|
|
5
5
|
/**
|
|
6
6
|
* Truncate to an exact UTF-8 byte budget. `String.prototype.length`/`.slice`
|
|
@@ -20,7 +20,7 @@ declare function runGitCapture(directory: string, args: string[]): Promise<strin
|
|
|
20
20
|
export declare const pr_workflow_status: ReturnType<typeof createSwarmTool>;
|
|
21
21
|
/** Test seam mirroring gh-evidence's `_internals` (issue #507 DI convention). */
|
|
22
22
|
export declare const _internals: {
|
|
23
|
-
|
|
23
|
+
readPrWorkflowGateStateForRecovery: typeof readPrWorkflowGateStateForRecovery;
|
|
24
24
|
resolveCurrentGitHeadAsync: typeof resolveCurrentGitHeadAsync;
|
|
25
25
|
resolveIsWorkingTreeCleanAsync: typeof resolveIsWorkingTreeCleanAsync;
|
|
26
26
|
runGitCapture: typeof runGitCapture;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { resolveExactMergeBase, resolvePrWorkflowRevisionDigest, resolvePrWorkflowRevisionDigestAsync } from '../background/workspace-snapshot.js';
|
|
2
|
+
import { resolveExactMergeBase, resolveExactMergeBaseAsync, resolvePrWorkflowRevisionDigest, resolvePrWorkflowRevisionDigestAsync } from '../background/workspace-snapshot.js';
|
|
3
3
|
import { createSwarmTool } from './create-tool';
|
|
4
4
|
export { PR_REVIEW_TRIGGER_DEFINITIONS } from '../background/pr-review-trigger-contract.js';
|
|
5
5
|
export declare const _internals: {
|
|
6
6
|
resolvePrWorkflowRevisionDigest: typeof resolvePrWorkflowRevisionDigest;
|
|
7
7
|
resolvePrWorkflowRevisionDigestAsync: typeof resolvePrWorkflowRevisionDigestAsync;
|
|
8
8
|
resolveMergeBase: typeof resolveExactMergeBase;
|
|
9
|
+
resolveMergeBaseAsync: typeof resolveExactMergeBaseAsync;
|
|
9
10
|
};
|
|
10
11
|
declare const WritePrReviewTriggerEvalArgsSchema: z.ZodObject<{
|
|
11
12
|
run_id: z.ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.144.0",
|
|
4
4
|
"description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|