opencode-swarm 7.155.0 → 7.157.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/dist/background/workspace-snapshot.d.ts +28 -0
- package/dist/cli/{coder-settlement-2kdtysrg.js → coder-settlement-dz2x352d.js} +9 -9
- package/dist/cli/{config-doctor-s6p9aqfv.js → config-doctor-4jxf9w9e.js} +3 -3
- package/dist/cli/{core-ev2ebc4v.js → core-xf2f087t.js} +2 -2
- package/dist/cli/{curation-policy-jabphe51.js → curation-policy-72qx868r.js} +4 -4
- package/dist/cli/{curator-llm-factory-kd8v16jj.js → curator-llm-factory-7mfvey3x.js} +31 -31
- package/dist/cli/{curator-adp0dsv4.js → curator-pjjw3ja4.js} +31 -31
- package/dist/cli/{dispatch-w0rzasz3.js → dispatch-7r46tfr9.js} +10 -8
- package/dist/cli/{evidence-summary-service-kpjpd86j.js → evidence-summary-service-5ffkbs50.js} +12 -12
- package/dist/cli/{gate-evidence-etbcms2v.js → gate-evidence-ne9rbdtb.js} +5 -5
- package/dist/cli/guardrail-explain-b9vr4ta3.js +67 -0
- package/dist/cli/{guardrail-log-614g1pta.js → guardrail-log-hrt36jz5.js} +5 -5
- package/dist/cli/{guardrail-reset-0wdj53cp.js → guardrail-reset-pggm9hx4.js} +31 -31
- package/dist/cli/{hashing-mjwn6j4y.js → hashing-r4hbav6j.js} +1 -1
- package/dist/cli/{hive-promoter-b1wv52fs.js → hive-promoter-7vxm11sm.js} +31 -31
- package/dist/cli/{index-caqe8x14.js → index-12e2hztp.js} +1 -1
- package/dist/cli/{index-rb4t72we.js → index-1dzy1j4v.js} +2 -2
- package/dist/cli/{index-79qymsxf.js → index-2e60kmzg.js} +1 -1
- package/dist/cli/{index-vnn7qq8c.js → index-3f7hqtgg.js} +62 -1
- package/dist/cli/{index-qzqpq75z.js → index-3qpr16k2.js} +52 -33
- package/dist/cli/{index-qj9jrjvr.js → index-3vqdt1sx.js} +5 -5
- package/dist/cli/{index-c590qxts.js → index-4kd1nqd2.js} +8 -3
- package/dist/cli/{index-34wn2ztk.js → index-4w20thrc.js} +22 -4
- package/dist/cli/{index-26cvxrym.js → index-61nkp124.js} +2 -2
- package/dist/cli/{index-6bqqzfbe.js → index-6sbx96v6.js} +2 -2
- package/dist/cli/{index-zvp68qx6.js → index-79k7p589.js} +1 -1
- package/dist/cli/{index-ketfp4rv.js → index-8n602qc2.js} +4 -4
- package/dist/cli/{index-fjcm6wwf.js → index-91ybfvy2.js} +1 -1
- package/dist/cli/{index-wwv3cbv1.js → index-93ymj3j5.js} +5 -5
- package/dist/cli/{index-myt57pht.js → index-9r7gp6cp.js} +5 -1
- 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-veajr5x7.js → index-ebratyzr.js} +1 -1
- package/dist/cli/{index-kgdbtwfm.js → index-g0j2hnse.js} +5 -5
- package/dist/cli/{index-2gfe61qp.js → index-gk6wpq41.js} +5259 -1394
- package/dist/cli/{index-aqg7c1z9.js → index-gpf3cjre.js} +1 -1
- package/dist/cli/{index-ctsct3hy.js → index-j3egsxa1.js} +6 -6
- package/dist/cli/{index-xn23xnnk.js → index-n6ayyadp.js} +4 -4
- package/dist/cli/{index-t3xqpece.js → index-n7gv8m7v.js} +4 -4
- package/dist/cli/{index-mm7ase9k.js → index-nd22bsnt.js} +6 -2
- package/dist/cli/{index-c9nabqzd.js → index-ngn6jmad.js} +2 -2
- package/dist/cli/{index-xdy28ngt.js → index-nwkr6tvv.js} +17 -1
- package/dist/cli/{index-spbxf9vn.js → index-p0by16z8.js} +2 -2
- package/dist/cli/{index-dw2q720x.js → index-q94gt4n9.js} +3 -3
- package/dist/cli/{index-kyc2c7hq.js → index-t0kxka8n.js} +2 -2
- package/dist/cli/{index-e90g4dsw.js → index-tvtvhjh0.js} +4 -4
- package/dist/cli/{index-y8552snf.js → index-txdagbh7.js} +6 -1
- package/dist/cli/{index-egnpzfe3.js → index-vbqssmbs.js} +6 -6
- package/dist/cli/{index-ew6fykvv.js → index-xe6zbfps.js} +1 -1
- package/dist/cli/{index-x9tbe9v7.js → index-zq7pw6qg.js} +2 -2
- package/dist/cli/index.js +31 -31
- package/dist/cli/{knowledge-escalator-z09aqvfe.js → knowledge-escalator-d65mctqy.js} +10 -10
- package/dist/cli/{knowledge-events-03f1rwm8.js → knowledge-events-6aet71sp.js} +8 -8
- package/dist/cli/{knowledge-link-4frk38w8.js → knowledge-link-z9cchqdj.js} +3 -3
- package/dist/cli/{knowledge-store-sn28k13f.js → knowledge-store-vvgxbakx.js} +4 -4
- package/dist/cli/{knowledge-validator-rwrt3yja.js → knowledge-validator-4fb6pbpn.js} +6 -6
- package/dist/cli/{model-preflight-b95w8wxy.js → model-preflight-cv9kvw8h.js} +1 -1
- package/dist/cli/{pending-delegations-qe16vfrj.js → pending-delegations-f52jtanf.js} +1 -1
- package/dist/cli/{pr-subscriptions-00evnffe.js → pr-subscriptions-76vg2xya.js} +2 -2
- package/dist/cli/{runner-k1rkbjm8.js → runner-eagt6gf8.js} +5 -5
- package/dist/cli/{scan-cursor-h3mfzjc9.js → scan-cursor-q3530gc8.js} +5 -5
- package/dist/cli/{schema-c37h5xw4.js → schema-5zc62306.js} +6 -2
- package/dist/cli/{scope-persistence-35z42pj5.js → scope-persistence-fzqf115q.js} +7 -7
- package/dist/cli/{skill-generator-60px2mvb.js → skill-generator-kh1z90tm.js} +12 -12
- package/dist/cli/{workspace-snapshot-8269e1p9.js → workspace-snapshot-yq0tc49d.js} +9 -1
- package/dist/cli/{worktree-collision-ownership-2pc20ypq.js → worktree-collision-ownership-2qxjtxt6.js} +3 -3
- package/dist/cli/{worktree-isolation-w4yamc3b.js → worktree-isolation-40v34p0s.js} +31 -31
- package/dist/commands/command-dispatch.d.ts +2 -1
- package/dist/commands/harness.d.ts +14 -0
- package/dist/commands/index.d.ts +3 -1
- package/dist/commands/registry.d.ts +115 -2
- package/dist/config/schema.d.ts +34 -0
- package/dist/harness/contracts.d.ts +492 -0
- package/dist/harness/factory.d.ts +72 -0
- package/dist/harness/hash.d.ts +4 -0
- package/dist/harness/index.d.ts +6 -0
- package/dist/harness/patch.d.ts +3 -0
- package/dist/harness/public-api.d.ts +105 -0
- package/dist/harness/source-candidate.d.ts +45 -0
- package/dist/harness/store.d.ts +256 -0
- package/dist/hooks/pr-workflow-gate.d.ts +291 -3
- package/dist/index.d.ts +2 -0
- package/dist/index.js +320 -296
- package/dist/lang/manifest-files.d.ts +25 -0
- package/dist/security/write-authority.d.ts +2 -1
- 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/tool-metadata.d.ts +4 -0
- package/package.json +1 -1
- package/dist/cli/guardrail-explain-wqb5h7kk.js +0 -67
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/** Manifest names used by language detection and project-context resolution. */
|
|
2
|
+
export declare const MANIFEST_FILES: readonly ["package.json", "tsconfig.json", "pyproject.toml", "setup.py", "setup.cfg", "requirements.txt", "Pipfile", "Cargo.toml", "go.mod", "pom.xml", "build.gradle", "build.gradle.kts", "build.zig", "CMakeLists.txt", "Makefile", "meson.build", "Package.swift", "pubspec.yaml", "Gemfile", "composer.json"];
|
|
3
|
+
/**
|
|
4
|
+
* Cheap, filesystem-only preflight used before loading the language backend
|
|
5
|
+
* graph during plugin init. Project roots passed by OpenCode are checked
|
|
6
|
+
* directly. For nested paths inside a Git repository, the walk is limited to
|
|
7
|
+
* that repository's boundary; non-repository ancestors (which may be large
|
|
8
|
+
* system or temporary directories) are never scanned.
|
|
9
|
+
*/
|
|
10
|
+
export declare function hasManifestAncestor(start: string): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Conservative Git-boundary preflight for startup hygiene.
|
|
13
|
+
*
|
|
14
|
+
* A false result means every ancestor was inspected and no non-symlink `.git`
|
|
15
|
+
* marker exists, so invoking Git cannot protect this directory. Any
|
|
16
|
+
* inaccessible marker, malformed marker, or depth exhaustion returns true so
|
|
17
|
+
* callers fail closed and retain the full Git check. Symlink markers are
|
|
18
|
+
* intentionally ignored: they are not trusted project-root declarations.
|
|
19
|
+
*/
|
|
20
|
+
export declare function hasGitMarkerAncestor(start: string): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Whether `.swarm` exists at the supplied root. Unknown/inaccessible state is
|
|
23
|
+
* treated as present so snapshot rehydration is never skipped accidentally.
|
|
24
|
+
*/
|
|
25
|
+
export declare function hasSwarmState(start: string): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type WriteAuthorityOrigin = 'autonomous' | 'optimizer_proposed' | 'critic_approved' | 'human_approved';
|
|
2
|
-
export type WriteApprovalAction = 'skill_improve';
|
|
2
|
+
export type WriteApprovalAction = 'skill_improve' | 'harness_activate' | 'harness_rollback';
|
|
3
3
|
export interface WriteApprovalRequest {
|
|
4
4
|
targetSessionId: string;
|
|
5
5
|
action: WriteApprovalAction;
|
|
@@ -42,5 +42,6 @@ export declare function consumeWriteApprovalFact(args: {
|
|
|
42
42
|
directory: string;
|
|
43
43
|
request: WriteApprovalRequest;
|
|
44
44
|
consumerSessionId: string;
|
|
45
|
+
expectedFactId?: string;
|
|
45
46
|
now?: Date;
|
|
46
47
|
}): Promise<WriteApprovalFactV1 | null>;
|
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;
|
|
@@ -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.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",
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
handleGuardrailExplain
|
|
4
|
-
} from "./index-x9tbe9v7.js";
|
|
5
|
-
import"./index-2gfe61qp.js";
|
|
6
|
-
import"./index-kyc2c7hq.js";
|
|
7
|
-
import"./index-c590qxts.js";
|
|
8
|
-
import"./index-mm7ase9k.js";
|
|
9
|
-
import"./index-wwv3cbv1.js";
|
|
10
|
-
import"./index-c9nabqzd.js";
|
|
11
|
-
import"./index-134d35c1.js";
|
|
12
|
-
import"./index-nj6rmyeh.js";
|
|
13
|
-
import"./index-y8552snf.js";
|
|
14
|
-
import"./index-kgdbtwfm.js";
|
|
15
|
-
import"./index-rb4t72we.js";
|
|
16
|
-
import"./index-70ha9e09.js";
|
|
17
|
-
import"./index-c8s9a3zh.js";
|
|
18
|
-
import"./index-9ss2m4rs.js";
|
|
19
|
-
import"./index-fjcm6wwf.js";
|
|
20
|
-
import"./index-zsrtt42s.js";
|
|
21
|
-
import"./index-egnpzfe3.js";
|
|
22
|
-
import"./index-0q8kywcf.js";
|
|
23
|
-
import"./index-xn23xnnk.js";
|
|
24
|
-
import"./index-e90g4dsw.js";
|
|
25
|
-
import"./index-aqg7c1z9.js";
|
|
26
|
-
import"./index-rtry5xyf.js";
|
|
27
|
-
import"./index-26cvxrym.js";
|
|
28
|
-
import"./index-spbxf9vn.js";
|
|
29
|
-
import"./index-caqe8x14.js";
|
|
30
|
-
import"./index-ddszzne4.js";
|
|
31
|
-
import"./index-vnn7qq8c.js";
|
|
32
|
-
import"./index-t3xqpece.js";
|
|
33
|
-
import"./index-zvp68qx6.js";
|
|
34
|
-
import"./index-xdy28ngt.js";
|
|
35
|
-
import"./index-556ja8an.js";
|
|
36
|
-
import"./index-4fwbbad3.js";
|
|
37
|
-
import"./index-b43rt5ph.js";
|
|
38
|
-
import"./index-q7sjgr1y.js";
|
|
39
|
-
import"./index-ctsct3hy.js";
|
|
40
|
-
import"./index-qj9jrjvr.js";
|
|
41
|
-
import"./index-dw2q720x.js";
|
|
42
|
-
import"./index-gprxjmm7.js";
|
|
43
|
-
import"./index-n832052r.js";
|
|
44
|
-
import"./index-dtn0pne5.js";
|
|
45
|
-
import"./index-z6xqpmqg.js";
|
|
46
|
-
import"./index-r3mvsbtq.js";
|
|
47
|
-
import"./index-79qymsxf.js";
|
|
48
|
-
import"./index-34wn2ztk.js";
|
|
49
|
-
import"./index-myt57pht.js";
|
|
50
|
-
import"./index-zjygnfay.js";
|
|
51
|
-
import"./index-9e6fdz2h.js";
|
|
52
|
-
import"./index-4rhhvd1a.js";
|
|
53
|
-
import"./index-ae75rja9.js";
|
|
54
|
-
import"./index-85p1850w.js";
|
|
55
|
-
import"./index-ew6fykvv.js";
|
|
56
|
-
import"./index-bk5tah7q.js";
|
|
57
|
-
import"./index-6bqqzfbe.js";
|
|
58
|
-
import"./index-xagq35tf.js";
|
|
59
|
-
import"./index-ed5ykebp.js";
|
|
60
|
-
import"./index-h1g8w4v0.js";
|
|
61
|
-
import"./index-7g4c7s5r.js";
|
|
62
|
-
import"./index-bpmtbmy9.js";
|
|
63
|
-
import"./index-zgwm4ryv.js";
|
|
64
|
-
import"./index-a76rekgs.js";
|
|
65
|
-
export {
|
|
66
|
-
handleGuardrailExplain
|
|
67
|
-
};
|