opencode-swarm 7.156.0 → 7.157.1
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/background/workspace-snapshot.d.ts +28 -0
- package/dist/cli/{coder-settlement-jm7024zm.js → coder-settlement-tqh28pr3.js} +9 -9
- package/dist/cli/{config-doctor-q9v8yscr.js → config-doctor-9rsk8ags.js} +3 -3
- package/dist/cli/{core-ev3bn503.js → core-7zwdc0sk.js} +2 -2
- package/dist/cli/{curation-policy-jabphe51.js → curation-policy-72qx868r.js} +4 -4
- package/dist/cli/{curator-dnjf9ser.js → curator-fdj5ftfz.js} +30 -30
- package/dist/cli/{curator-llm-factory-cnatbky1.js → curator-llm-factory-rtkeb1y1.js} +30 -30
- package/dist/cli/{evidence-summary-service-5drv65qh.js → evidence-summary-service-bhqvx9qe.js} +11 -11
- package/dist/cli/{gate-evidence-dcyvst7g.js → gate-evidence-rp0r5phx.js} +5 -5
- package/dist/cli/{guardrail-explain-z8f6qhz2.js → guardrail-explain-17me709w.js} +31 -31
- package/dist/cli/{guardrail-log-zwec6ann.js → guardrail-log-te4a5fmn.js} +5 -5
- package/dist/cli/{guardrail-reset-ga6e11r9.js → guardrail-reset-5n76tj7e.js} +30 -30
- package/dist/cli/{hive-promoter-mpez5tqh.js → hive-promoter-e0zrkgns.js} +30 -30
- package/dist/cli/{index-5w87j6j4.js → index-14awxpgt.js} +2 -2
- package/dist/cli/{index-kxk8cnx7.js → index-1gk7ctgp.js} +2 -2
- package/dist/cli/{index-9n555qz4.js → index-1vjjh2gp.js} +4 -4
- package/dist/cli/{index-vnn7qq8c.js → index-3f7hqtgg.js} +62 -1
- package/dist/cli/{index-6bqqzfbe.js → index-6sbx96v6.js} +2 -2
- package/dist/cli/{index-fd7wj6fy.js → index-80qxscrc.js} +4 -4
- package/dist/cli/{index-fjcm6wwf.js → index-91ybfvy2.js} +1 -1
- package/dist/cli/{index-myt57pht.js → index-9r7gp6cp.js} +5 -1
- package/dist/cli/{index-fpg4tzf7.js → index-az2sga91.js} +1 -1
- package/dist/cli/{index-68098cfj.js → index-b3cwazk2.js} +2 -2
- package/dist/cli/{index-85p1850w.js → index-b5xm177r.js} +1 -1
- package/dist/cli/{index-0q8kywcf.js → index-dwkrdpz2.js} +1 -1
- package/dist/cli/{index-za6bb2fd.js → index-e7m7g2f9.js} +2 -2
- package/dist/cli/{index-b91qwpms.js → index-gg70afs7.js} +1 -1
- package/dist/cli/{index-aqg7c1z9.js → index-gpf3cjre.js} +1 -1
- package/dist/cli/{index-sm2t1awr.js → index-hq3m47kh.js} +2 -2
- package/dist/cli/{index-164c64z8.js → index-n3362zjr.js} +3 -3
- package/dist/cli/{index-sfdg1xg5.js → index-n9hecanw.js} +4 -4
- package/dist/cli/{index-gthnsbzf.js → index-ngn6jmad.js} +1 -1
- package/dist/cli/{index-xdy28ngt.js → index-nwkr6tvv.js} +17 -1
- package/dist/cli/{index-q2khkey7.js → index-pbh1rmb9.js} +5 -5
- package/dist/cli/{index-mdypz60w.js → index-pr6a7669.js} +1 -1
- package/dist/cli/{index-dfmr6pj5.js → index-q24ffxx6.js} +6 -6
- package/dist/cli/{index-00hyhg47.js → index-qy6rcnjg.js} +4 -4
- package/dist/cli/{index-zdgdf0e9.js → index-r4qxngnx.js} +6 -6
- package/dist/cli/{index-wn0xm2e8.js → index-r98wqjw4.js} +8 -3
- package/dist/cli/{index-g37454vj.js → index-rgkwg6d7.js} +1 -1
- package/dist/cli/{index-98j6z038.js → index-sdde1nvx.js} +5 -5
- package/dist/cli/{index-4m3j9q9z.js → index-t0kxka8n.js} +1 -1
- package/dist/cli/{index-ppx8bnzd.js → index-tt350s4g.js} +1466 -404
- package/dist/cli/{index-17h6ewqp.js → index-w7s5vgb6.js} +32 -32
- package/dist/cli/{index-ew6fykvv.js → index-xe6zbfps.js} +1 -1
- package/dist/cli/{index-6g6qwr8z.js → index-xttdbb6d.js} +5 -5
- package/dist/cli/{index-5r3zrw81.js → index-ybvtfthv.js} +2 -2
- package/dist/cli/index.js +30 -30
- package/dist/cli/{knowledge-escalator-cq4e6v2j.js → knowledge-escalator-wrpk82b9.js} +10 -10
- package/dist/cli/{knowledge-events-sr5fqqaq.js → knowledge-events-4z6yzntf.js} +8 -8
- package/dist/cli/{knowledge-link-4frk38w8.js → knowledge-link-z9cchqdj.js} +3 -3
- package/dist/cli/{knowledge-store-2dww3dqz.js → knowledge-store-z9686tpv.js} +4 -4
- package/dist/cli/{knowledge-validator-yprsj4ye.js → knowledge-validator-rqb0b436.js} +6 -6
- package/dist/cli/{model-preflight-b95w8wxy.js → model-preflight-cv9kvw8h.js} +1 -1
- package/dist/cli/{pending-delegations-7qvag076.js → pending-delegations-g10v5k22.js} +1 -1
- package/dist/cli/{pr-subscriptions-00evnffe.js → pr-subscriptions-76vg2xya.js} +2 -2
- package/dist/cli/{runner-gheaxd5r.js → runner-eagt6gf8.js} +4 -4
- package/dist/cli/{scan-cursor-6awybk8b.js → scan-cursor-7s1bz7ew.js} +5 -5
- package/dist/cli/{schema-bf3smw7k.js → schema-78pdxc8f.js} +2 -2
- package/dist/cli/{scope-persistence-kc42c6ph.js → scope-persistence-7ad69qmq.js} +7 -7
- package/dist/cli/{skill-generator-9k1ztt7c.js → skill-generator-7cxf53ye.js} +12 -12
- package/dist/cli/{workspace-snapshot-8269e1p9.js → workspace-snapshot-yq0tc49d.js} +9 -1
- package/dist/cli/{worktree-collision-ownership-ej10dhwe.js → worktree-collision-ownership-ry7xnaae.js} +3 -3
- package/dist/cli/{worktree-isolation-r7qqy6ca.js → worktree-isolation-1jcc8ynj.js} +30 -30
- package/dist/commands/registry.d.ts +1 -1
- package/dist/hooks/pr-workflow-gate.d.ts +291 -3
- package/dist/index.js +85 -83
- package/dist/tools/index.d.ts +1 -0
- package/dist/tools/invalidate-pr-feedback-publication.d.ts +20 -0
- package/dist/tools/manifest.d.ts +1 -0
- package/dist/tools/repo-graph/types.d.ts +9 -0
- package/dist/tools/repo-graph.d.ts +1 -1
- package/dist/tools/tool-metadata.d.ts +4 -0
- package/package.json +1 -1
package/dist/tools/index.d.ts
CHANGED
|
@@ -102,6 +102,7 @@ export { epic_plan_waves } from './epic-plan-waves';
|
|
|
102
102
|
export { epic_record_divergence } from './epic-record-divergence';
|
|
103
103
|
export { epic_decide_phase } from './epic-run-phase';
|
|
104
104
|
export { generate_mutants } from './generate-mutants';
|
|
105
|
+
export { executeInvalidatePrFeedbackPublication, invalidate_pr_feedback_publication, } from './invalidate-pr-feedback-publication';
|
|
105
106
|
export { lean_turbo_acquire_locks } from './lean-turbo-acquire-locks';
|
|
106
107
|
export { lean_turbo_plan_lanes } from './lean-turbo-plan-lanes';
|
|
107
108
|
export { lean_turbo_review } from './lean-turbo-review';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* invalidate_pr_feedback_publication — audited invalidation/rework
|
|
3
|
+
* transition for an armed PR_FEEDBACK publication generation (issue #2108).
|
|
4
|
+
*
|
|
5
|
+
* The armed publication window is deliberately immutable: only read-only
|
|
6
|
+
* inspection, the exact approved push, and complete_pr_workflow pass. When
|
|
7
|
+
* approved content MUST change, this tool is the explicit revocation: it
|
|
8
|
+
* marks the current generation `invalidated` with the given reason,
|
|
9
|
+
* supersedes every content-dependent approval of that generation (Stage A
|
|
10
|
+
* result, verification batches, ordered-gate batches, scope declarations —
|
|
11
|
+
* historical records remain readable), and reopens the productive path:
|
|
12
|
+
* scoped rework, Stage A rerun, fresh reviewer/critic dispatch, and a fresh
|
|
13
|
+
* generation armed only after every ordered gate re-passes. It never grants
|
|
14
|
+
* publication authority and never deletes audit evidence.
|
|
15
|
+
*/
|
|
16
|
+
import { createSwarmTool } from './create-tool';
|
|
17
|
+
export declare function executeInvalidatePrFeedbackPublication(args: unknown, directory: string, context?: {
|
|
18
|
+
sessionID?: string;
|
|
19
|
+
}): Promise<string>;
|
|
20
|
+
export declare const invalidate_pr_feedback_publication: ReturnType<typeof createSwarmTool>;
|
package/dist/tools/manifest.d.ts
CHANGED
|
@@ -50,6 +50,7 @@ export declare const TOOL_MANIFEST: {
|
|
|
50
50
|
record_issue_publication: () => ToolDefinition;
|
|
51
51
|
record_issue_reproduction: () => ToolDefinition;
|
|
52
52
|
record_recurrence_sweep: () => ToolDefinition;
|
|
53
|
+
invalidate_pr_feedback_publication: () => ToolDefinition;
|
|
53
54
|
rebind_pr_feedback_head: () => ToolDefinition;
|
|
54
55
|
run_pr_feedback_stage_a: () => ToolDefinition;
|
|
55
56
|
submit_council_verdicts: () => ToolDefinition;
|
|
@@ -49,6 +49,15 @@ export declare const REPO_GRAPH_FILENAME = "repo-graph.json";
|
|
|
49
49
|
* four-coordinate symbol edges remain readable and are normalized in memory.
|
|
50
50
|
*/
|
|
51
51
|
export declare const GRAPH_SCHEMA_VERSION = "1.5.0";
|
|
52
|
+
/**
|
|
53
|
+
* Default per-file source-size ceiling shared by graph construction and
|
|
54
|
+
* query-time source reads. The builder treats this as the default value of
|
|
55
|
+
* its `maxFileSizeBytes` option (which may be raised per build);
|
|
56
|
+
* `getContextPack` always enforces this constant at read time regardless of
|
|
57
|
+
* any build-time override, so a file built into the graph above this size
|
|
58
|
+
* yields a `source too large` span instead of source text.
|
|
59
|
+
*/
|
|
60
|
+
export declare const DEFAULT_MAX_SOURCE_BYTES: number;
|
|
52
61
|
/**
|
|
53
62
|
* Compare dotted numeric version strings (e.g. '1.1.0' >= '1.1.0').
|
|
54
63
|
* Missing/non-numeric segments are treated as 0. Returns true when `version`
|
|
@@ -27,5 +27,5 @@ export type { DeadExportsOptions } from './repo-graph/query';
|
|
|
27
27
|
export { buildOntologyPreflightPacket, getBlastRadius, getCallers, getContextPack, getDeadExports, getDependencies, getFileOntology, getGraphHealth, getGraphNode, getImporters, getKeyFiles, getLocalizationContext, getPackageBoundaries, getSymbolConsumers, isGraphFresh, resetQueryCache, } from './repo-graph/query';
|
|
28
28
|
export { getGraphPath, loadGraph, loadGraphSync, loadOrCreateGraph, saveGraph, saveIfDirty, } from './repo-graph/storage';
|
|
29
29
|
export type { AskHit, AskOptions, AskResult, BlastRadiusResult, BuildWorkspaceGraphOptions, CallerReference, ContextPackCoverage, ContextPackResult, ContextPackSnippet, ContextPackSourceMode, ContextPackSpan, ConventionFact, DataOperationFact, DeadExportCandidate, DeadExportsResult, FileOntology, FileReference, FileRole, FreshnessProbeState, GraphEdge, GraphExtractionFailure, GraphExtractorInputWitness, GraphHealthResult, GraphNode, GraphUnresolvedImport, LocalizationBlock, OntologyFinding, PackageBoundarySummary, RepoGraph, RepoGraphDiagnostics, RouteFact, RouteMethod, SecurityFact, SymbolEdge, SymbolEdgeEvidence, SymbolEdgeKind, SymbolEdgeResolution, SymbolIdentityKind, SymbolReference, } from './repo-graph/types';
|
|
30
|
-
export { createEmptyGraph, GRAPH_SCHEMA_VERSION, inferPackageBoundary, isSchemaVersionAtLeast, normalizeGraphPath, REPO_GRAPH_FILENAME, updateGraphMetadata, } from './repo-graph/types';
|
|
30
|
+
export { createEmptyGraph, DEFAULT_MAX_SOURCE_BYTES, GRAPH_SCHEMA_VERSION, inferPackageBoundary, isSchemaVersionAtLeast, normalizeGraphPath, REPO_GRAPH_FILENAME, updateGraphMetadata, } from './repo-graph/types';
|
|
31
31
|
export { validateGraphEdge, validateGraphNode, validateWorkspace, } from './repo-graph/validation';
|
|
@@ -164,6 +164,10 @@ export declare const TOOL_METADATA: {
|
|
|
164
164
|
description: string;
|
|
165
165
|
agents: "architect"[];
|
|
166
166
|
};
|
|
167
|
+
invalidate_pr_feedback_publication: {
|
|
168
|
+
description: string;
|
|
169
|
+
agents: "architect"[];
|
|
170
|
+
};
|
|
167
171
|
record_implementation_review: {
|
|
168
172
|
description: string;
|
|
169
173
|
agents: "architect"[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.157.1",
|
|
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",
|