opencode-swarm 7.164.6 → 7.164.8
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/README.md +1 -1
- package/dist/background/pending-delegations.d.ts +3 -0
- package/dist/background/pr-subscriptions.d.ts +1 -8
- package/dist/cli/{coder-settlement-6qgvzx40.js → coder-settlement-qrtjv4jk.js} +14 -14
- package/dist/cli/{config-doctor-d1cbh67h.js → config-doctor-hp9dj0fg.js} +5 -3
- package/dist/cli/{core-g0cvvj3b.js → core-bmmrm36k.js} +2 -2
- package/dist/cli/{curation-policy-7f8x9yg6.js → curation-policy-de7emfqc.js} +7 -6
- package/dist/cli/{curator-drift-0r0scc8r.js → curator-drift-5sykmtf5.js} +8 -6
- package/dist/cli/{curator-q3qn89wn.js → curator-k8xdr1mn.js} +40 -38
- package/dist/cli/curator-llm-factory-pe61p0r6.js +68 -0
- package/dist/cli/{dispatch-q4v8x2pk.js → dispatch-dqybvj8v.js} +10 -6
- package/dist/cli/{evidence-summary-service-3meyb8rc.js → evidence-summary-service-qzpkdv7a.js} +20 -17
- package/dist/cli/{gate-evidence-mhc0w7vp.js → gate-evidence-jmns4e76.js} +14 -8
- package/dist/cli/guardrail-explain-vzwbmvyf.js +69 -0
- package/dist/cli/{guardrail-log-0nd1eqvz.js → guardrail-log-kckc7cg4.js} +9 -8
- package/dist/cli/{guardrail-reset-mzeyd6jh.js → guardrail-reset-acndbsv9.js} +40 -38
- package/dist/cli/hive-promoter-wvt5kk99.js +83 -0
- package/dist/cli/{index-x6zyc38w.js → index-0zjwnbze.js} +1 -1
- package/dist/cli/{index-x76mprg2.js → index-29w778rw.js} +185 -376
- package/dist/cli/{index-fxxja498.js → index-2czt53wz.js} +1 -1
- package/dist/cli/{index-pvp5tnn2.js → index-3sv8t7ca.js} +2 -2
- package/dist/cli/{index-kvb4dwgf.js → index-4pm3v7yc.js} +12 -6
- package/dist/cli/{index-jzvrvdmr.js → index-4v28t7jh.js} +4 -4
- package/dist/cli/{index-935ww10s.js → index-52m9kter.js} +1236 -1193
- package/dist/cli/index-7qefgq4j.js +71 -0
- package/dist/cli/{index-zfwd65c2.js → index-8ntf8jnj.js} +19 -18
- package/dist/cli/{index-m1nrd3yd.js → index-8psybzzf.js} +1 -1
- package/dist/cli/{index-2c3np82d.js → index-8tqqmsav.js} +1 -1
- package/dist/cli/{index-tegp2mny.js → index-93znbdam.js} +9 -5
- package/dist/cli/{index-hdapetg1.js → index-9ek9d96g.js} +3 -3
- package/dist/cli/{index-p56xc59p.js → index-9ydhzegh.js} +28 -17
- package/dist/cli/{index-ew99d4y6.js → index-apdp9bc1.js} +1 -1
- package/dist/cli/{index-12xzj0hm.js → index-b10yvv6h.js} +4 -4
- package/dist/cli/{index-zjg5ajf5.js → index-bv90qkyw.js} +72 -48
- package/dist/cli/{index-zypacgjc.js → index-bz8vsc8r.js} +5 -5
- package/dist/cli/{index-4k16cz8r.js → index-bzesypf5.js} +36 -27
- package/dist/cli/{index-ay9cr8tr.js → index-chcv8c7n.js} +1 -1
- package/dist/cli/index-cw912re7.js +200 -0
- package/dist/cli/{index-ty3vtqe2.js → index-espcjyrx.js} +4 -4
- package/dist/cli/{index-gwg7a00b.js → index-g2e8b3wm.js} +20 -15
- package/dist/cli/{index-rysxqae0.js → index-ghnbpez3.js} +7 -7
- package/dist/cli/{index-t1nkr7cz.js → index-gkqrk8dd.js} +2 -2
- package/dist/cli/{index-1dz8hv7p.js → index-kvq1e82k.js} +3 -3
- package/dist/cli/{index-ze5zyv28.js → index-mr3h3sm5.js} +2 -2
- package/dist/cli/{index-zaab1wz9.js → index-n4fzmqz8.js} +3 -1
- package/dist/cli/{index-g5714mpv.js → index-px4a2ve0.js} +17 -8
- package/dist/cli/index-ry16d01s.js +107 -0
- package/dist/cli/{index-j3hsjynw.js → index-s3z936wh.js} +100 -97
- package/dist/cli/{index-yh8wxegw.js → index-s6ejwhew.js} +21 -11
- package/dist/cli/{index-b0m3efpf.js → index-sxxh4ams.js} +2 -2
- package/dist/cli/{index-cyhw0der.js → index-t1qzjhnj.js} +13 -13
- package/dist/cli/{index-3f7hqtgg.js → index-w3gtqey0.js} +4 -1
- package/dist/cli/{index-9qvmsyab.js → index-wgqeqy68.js} +2 -2
- package/dist/cli/{index-y4z0rhsa.js → index-whz6am0v.js} +42 -40
- package/dist/cli/{index-g94qqwnz.js → index-wtnx33hz.js} +2 -2
- package/dist/cli/{index-j645xpsm.js → index-y6s0gpn3.js} +12 -5
- package/dist/cli/{index-6f9yvd67.js → index-ya4ta1pd.js} +2 -2
- package/dist/cli/{index-5p1tzpwh.js → index-ypjffdrg.js} +3 -2
- package/dist/cli/{index-59hvr3f4.js → index-yscwyq3t.js} +9 -6
- package/dist/cli/{index-7v3bb0h3.js → index-yzn1fm9a.js} +1 -1
- package/dist/cli/{index-qdbgc16x.js → index-z39vxvdx.js} +20 -12
- package/dist/cli/index.js +40 -38
- package/dist/cli/{knowledge-escalator-aca0nhqg.js → knowledge-escalator-h9834mrp.js} +15 -14
- package/dist/cli/{knowledge-events-n5t313ht.js → knowledge-events-e8hrmjf0.js} +13 -12
- package/dist/cli/{knowledge-link-8ea4ksda.js → knowledge-link-hhnmc4g1.js} +6 -5
- package/dist/cli/{knowledge-store-j97ejf6a.js → knowledge-store-w3w9gchr.js} +7 -6
- package/dist/cli/{knowledge-validator-01evhydg.js → knowledge-validator-exd900vc.js} +9 -8
- package/dist/cli/{model-preflight-pmnbfzjv.js → model-preflight-bq035tfh.js} +1 -1
- package/dist/cli/{pending-delegations-w73abdk3.js → pending-delegations-p4ak2e86.js} +7 -7
- package/dist/cli/{pr-subscriptions-05dzvavk.js → pr-subscriptions-73fs8y3n.js} +7 -6
- package/dist/cli/{pr-workflow-gate-t0tnkx5f.js → pr-workflow-gate-pvt2ra6e.js} +40 -38
- package/dist/cli/{runner-fh7t0mn9.js → runner-5qqh83e2.js} +6 -6
- package/dist/cli/{scan-cursor-63zx2qd8.js → scan-cursor-ysd8b563.js} +8 -7
- package/dist/cli/{schema-t1scx08g.js → schema-mbb9g4w4.js} +2 -2
- package/dist/cli/{scope-persistence-1a5qmchf.js → scope-persistence-jrbnhxvx.js} +12 -10
- package/dist/cli/{skill-generator-7werbwgv.js → skill-generator-b4ng5xky.js} +17 -16
- package/dist/cli/{sqlite-loader-8zefc142.js → sqlite-loader-xrnf6bq8.js} +1 -1
- package/dist/cli/{telemetry-j14cj552.js → telemetry-85gxedng.js} +1 -1
- package/dist/cli/{workspace-snapshot-yq0tc49d.js → workspace-snapshot-eh18vgkn.js} +2 -1
- package/dist/cli/{worktree-collision-ownership-wzdzky33.js → worktree-collision-ownership-ns8p2fks.js} +12 -15
- package/dist/cli/{worktree-isolation-m02ay3kg.js → worktree-isolation-j6zxhjab.js} +40 -38
- package/dist/db/canonical-project.d.ts +10 -3
- package/dist/db/driver-parity.d.ts +12 -0
- package/dist/db/project-db.d.ts +4 -0
- package/dist/evidence/task-gate-repair.d.ts +1 -1
- package/dist/gate-evidence.d.ts +19 -1
- package/dist/index.js +581 -581
- package/dist/plan/ledger.d.ts +2 -0
- package/dist/tools/pre-check-batch.d.ts +1 -1
- package/dist/utils/canonical-root.d.ts +21 -1
- package/dist/utils/filesystem-identity.d.ts +59 -0
- package/package.json +2 -1
- package/dist/cli/curator-llm-factory-dw7md4nr.js +0 -66
- package/dist/cli/guardrail-explain-6cbszhw1.js +0 -67
- package/dist/cli/hive-promoter-w7g879cm.js +0 -81
- package/dist/cli/index-ddszzne4.js +0 -42
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
|
+
import {
|
|
3
|
+
isCanonicalPathWithinRoot
|
|
4
|
+
} from "./index-cw912re7.js";
|
|
5
|
+
import {
|
|
6
|
+
sameExistingFilesystemPath
|
|
7
|
+
} from "./index-ry16d01s.js";
|
|
2
8
|
import {
|
|
3
9
|
FALLBACK_MODELS_MAX,
|
|
4
10
|
GATE_CONFIG_KNOWN_SECTION_KEYS,
|
|
@@ -6,11 +12,11 @@ import {
|
|
|
6
12
|
PluginConfigSchema,
|
|
7
13
|
init_schema,
|
|
8
14
|
stripKnownSwarmPrefix
|
|
9
|
-
} from "./index-
|
|
15
|
+
} from "./index-ypjffdrg.js";
|
|
10
16
|
import {
|
|
11
17
|
ALL_AGENT_NAMES,
|
|
12
18
|
init_constants
|
|
13
|
-
} from "./index-
|
|
19
|
+
} from "./index-8psybzzf.js";
|
|
14
20
|
import {
|
|
15
21
|
log
|
|
16
22
|
} from "./index-zgwm4ryv.js";
|
|
@@ -499,9 +505,9 @@ function restoreFromBackup(backupPath, directory) {
|
|
|
499
505
|
if (!fs.existsSync(backupPath)) {
|
|
500
506
|
return null;
|
|
501
507
|
}
|
|
502
|
-
const swarmDir = path.resolve(
|
|
508
|
+
const swarmDir = path.resolve(directory, ".swarm");
|
|
503
509
|
const resolvedBackup = path.resolve(backupPath);
|
|
504
|
-
if (!
|
|
510
|
+
if (!isCanonicalPathWithinRoot(resolvedBackup, swarmDir)) {
|
|
505
511
|
return null;
|
|
506
512
|
}
|
|
507
513
|
try {
|
|
@@ -1725,13 +1731,13 @@ function removeStraySwarmDir(projectRoot, strayPath) {
|
|
|
1725
1731
|
};
|
|
1726
1732
|
}
|
|
1727
1733
|
const rootSwarm = path.join(canonicalRoot, ".swarm");
|
|
1728
|
-
if (canonicalStray
|
|
1734
|
+
if (sameExistingFilesystemPath(canonicalStray, rootSwarm) || sameExistingFilesystemPath(canonicalStray, canonicalRoot)) {
|
|
1729
1735
|
return {
|
|
1730
1736
|
success: false,
|
|
1731
1737
|
message: "Refusing to remove root .swarm/ directory"
|
|
1732
1738
|
};
|
|
1733
1739
|
}
|
|
1734
|
-
if (!canonicalStray
|
|
1740
|
+
if (!isCanonicalPathWithinRoot(canonicalStray, canonicalRoot)) {
|
|
1735
1741
|
return {
|
|
1736
1742
|
success: false,
|
|
1737
1743
|
message: "Path is outside project root \u2014 refusing to remove"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-0zjwnbze.js";
|
|
5
5
|
import {
|
|
6
6
|
findNearDuplicate,
|
|
7
7
|
inferTags,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
resolveSwarmKnowledgePath,
|
|
10
10
|
resolveSwarmRejectedPath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-ghnbpez3.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-93znbdam.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-mr3h3sm5.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|