opencode-swarm 7.139.0 → 7.139.2
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 +15 -0
- package/README.md +7 -6
- package/dist/cli/{config-doctor-aszp7z1h.js → config-doctor-hrb61yqe.js} +2 -2
- package/dist/cli/{core-3s832mxx.js → core-g2dfh9fq.js} +1 -1
- package/dist/cli/{curation-policy-a3hs73f7.js → curation-policy-4tp0mbcb.js} +7 -7
- package/dist/cli/{curator-drift-jpap6hv4.js → curator-drift-vfh07mqy.js} +5 -2
- package/dist/cli/{curator-llm-factory-e8ngwyjm.js → curator-llm-factory-hvw13hmr.js} +28 -28
- package/dist/cli/{curator-zxjqcc8r.js → curator-vpcs1p1v.js} +28 -28
- package/dist/cli/{evidence-summary-service-qfhjfxdz.js → evidence-summary-service-kzxr71yd.js} +9 -9
- package/dist/cli/{gate-evidence-m2grv70v.js → gate-evidence-z2b1ymnw.js} +5 -5
- package/dist/cli/{guardrail-explain-rqpmzxyy.js → guardrail-explain-k62h3c92.js} +29 -29
- package/dist/cli/{guardrail-log-vd4a0ng5.js → guardrail-log-2ftew0p3.js} +3 -3
- package/dist/cli/{hive-promoter-jc5vym27.js → hive-promoter-mpf0cfkk.js} +28 -28
- package/dist/cli/{index-4ft523nb.js → index-0wp67gqj.js} +143 -89
- package/dist/cli/{index-ymszzvnr.js → index-3eddtgxt.js} +1 -1
- package/dist/cli/{index-67yqywan.js → index-3radty3f.js} +2 -2
- package/dist/cli/{index-p2dz85tv.js → index-4xbyy6aw.js} +2 -2
- package/dist/cli/{index-a614s16f.js → index-5j6chvj8.js} +1 -1
- package/dist/cli/{index-tcdcj1g2.js → index-5w7ekpy3.js} +2 -2
- package/dist/cli/{index-nbgw5dxa.js → index-5zyk8qgv.js} +2 -2
- package/dist/cli/{index-tyh0p5e8.js → index-668dpw5e.js} +1 -1
- package/dist/cli/{index-6q240xgm.js → index-6c5f309q.js} +2 -2
- package/dist/cli/{index-s428dmy6.js → index-6w1re1qn.js} +2 -2
- package/dist/cli/{index-nsnfvckc.js → index-8gftfvpp.js} +1 -1
- package/dist/cli/{index-rtetrxxq.js → index-8p9pasnp.js} +8 -3
- package/dist/cli/{index-85hstja2.js → index-a12906mj.js} +1 -1
- package/dist/cli/{index-chvqee1j.js → index-a5eba0t8.js} +2 -2
- package/dist/cli/{index-r3pth9a7.js → index-a7nh382r.js} +508 -441
- package/dist/cli/{index-t31cc7kv.js → index-cyw81ngh.js} +7 -7
- package/dist/cli/{index-kv36s0x0.js → index-e9tx99ds.js} +6 -3
- package/dist/cli/{index-fsrp8wp3.js → index-ed5ykebp.js} +25 -2
- package/dist/cli/{index-0tsetsxs.js → index-ffpmqx30.js} +4 -4
- package/dist/cli/{index-nc544sfw.js → index-gvhvz176.js} +2 -2
- package/dist/cli/{index-3nr2sn32.js → index-ktagrqxw.js} +3 -3
- package/dist/cli/{index-t26nfmcs.js → index-prmb5qfp.js} +2 -2
- package/dist/cli/{index-q3qtgtd0.js → index-q11t5erh.js} +1 -1
- package/dist/cli/{index-x20cgr2q.js → index-q7ezzgwq.js} +16 -2
- package/dist/cli/{index-z1tkxzq4.js → index-s608d3hw.js} +2 -2
- package/dist/cli/{index-y46anh5e.js → index-se8xc78k.js} +30 -30
- package/dist/cli/{index-84s6x604.js → index-w71cq27a.js} +5 -5
- package/dist/cli/{index-ddmnhv4h.js → index-wrt6m5ze.js} +1 -1
- package/dist/cli/{index-4qzeef9h.js → index-x9q4bbhd.js} +1 -1
- package/dist/cli/{index-zd15ya1w.js → index-y47dwge1.js} +1 -1
- package/dist/cli/{index-5bkpyvdf.js → index-y64jv2pe.js} +1 -1
- package/dist/cli/{index-gytyqv1d.js → index-yr6x707c.js} +2 -2
- package/dist/cli/index.js +28 -28
- package/dist/cli/{knowledge-escalator-6473ey4c.js → knowledge-escalator-n9pmx4qr.js} +8 -8
- package/dist/cli/{knowledge-events-wwzpz8m4.js → knowledge-events-raevm18w.js} +6 -6
- package/dist/cli/{knowledge-link-trfydkzm.js → knowledge-link-3tq8w6gs.js} +5 -5
- package/dist/cli/{knowledge-store-99gd42jy.js → knowledge-store-bcfqz8fr.js} +6 -6
- package/dist/cli/{knowledge-validator-v2eevvdg.js → knowledge-validator-jxqj96cx.js} +9 -9
- package/dist/cli/{pending-delegations-p6n83x67.js → pending-delegations-tmyf18p4.js} +5 -5
- package/dist/cli/{pr-subscriptions-xbrfr51c.js → pr-subscriptions-hhx6yk24.js} +5 -5
- package/dist/cli/{runner-9an52tmz.js → runner-w30gazew.js} +6 -6
- package/dist/cli/{scan-cursor-39zxpw34.js → scan-cursor-ah5swtyh.js} +7 -7
- package/dist/cli/{schema-xhfwr6b2.js → schema-f7jgrtxj.js} +3 -1
- package/dist/cli/{scope-persistence-nsa6ra9s.js → scope-persistence-3f0d4fwv.js} +4 -4
- package/dist/cli/{skill-generator-5px81476.js → skill-generator-hp7as46c.js} +10 -10
- package/dist/cli/{telemetry-7nt7zhyp.js → telemetry-4tgrfhaz.js} +1 -1
- package/dist/cli/{worktree-collision-ownership-9x4s4890.js → worktree-collision-ownership-vexb0b6r.js} +38 -8
- package/dist/config/context-window.d.ts +210 -0
- package/dist/config/schema.d.ts +18 -0
- package/dist/evaluation/ephemeral-agent-dispatcher.d.ts +18 -0
- package/dist/evaluation/model-dispatcher.d.ts +1 -0
- package/dist/hooks/delegate-ack-collector.d.ts +1 -1
- package/dist/hooks/delegation-gate/worktree-collision-ownership.d.ts +7 -0
- package/dist/hooks/delegation-gate/worktree-isolation.d.ts +2 -1
- package/dist/hooks/delegation-gate/worktree-provisioning-owner.d.ts +6 -0
- package/dist/hooks/index.d.ts +2 -2
- package/dist/hooks/init-orphan-recovery.d.ts +4 -1
- package/dist/hooks/knowledge-application-gate.d.ts +2 -1
- package/dist/hooks/knowledge-application.d.ts +5 -4
- package/dist/hooks/knowledge-injector.d.ts +16 -0
- package/dist/hooks/knowledge-types.d.ts +1 -1
- package/dist/hooks/messages-transform.d.ts +18 -0
- package/dist/hooks/model-limits.d.ts +88 -30
- package/dist/hooks/pr-workflow-gate.d.ts +8 -1
- package/dist/index.js +455 -452
- package/dist/memory/injector.d.ts +2 -0
- package/dist/services/context-budget-service.d.ts +6 -1
- package/dist/services/status-service.d.ts +14 -0
- package/dist/state.d.ts +37 -0
- package/dist/tools/context-status.d.ts +3 -1
- package/dist/turbo/lean/runner.d.ts +10 -0
- package/dist/utils/ephemeral-session-teardown.d.ts +98 -0
- package/dist/utils/path-security.d.ts +75 -5
- package/dist/utils/swarm-artifact-cache.d.ts +13 -0
- package/dist/worktree/index.d.ts +1 -1
- package/dist/worktree/merge.d.ts +36 -3
- package/package.json +1 -1
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
} from "./index-ae75rja9.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveKnowledgeStoreDir
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-668dpw5e.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-gvhvz176.js";
|
|
13
13
|
import {
|
|
14
14
|
init_knowledge_types,
|
|
15
15
|
isActiveStatus
|
|
16
16
|
} from "./index-bk5tah7q.js";
|
|
17
17
|
import {
|
|
18
18
|
readCachedParsedFile
|
|
19
|
-
} from "./index-
|
|
19
|
+
} from "./index-ed5ykebp.js";
|
|
20
20
|
import {
|
|
21
21
|
require_proper_lockfile
|
|
22
22
|
} from "./index-7g4c7s5r.js";
|
|
@@ -702,7 +702,7 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
702
702
|
const recovered = touched.filter((e) => e.confidence > CONFIDENCE_FLOOR + FLOOR_EPSILON && e.confidence_floor_demoted);
|
|
703
703
|
if (atFloor.length === 0 && recovered.length === 0)
|
|
704
704
|
return;
|
|
705
|
-
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-
|
|
705
|
+
const { readKnowledgeCounterRollups, effectiveRetrievalOutcomes } = await import("./knowledge-events-raevm18w.js");
|
|
706
706
|
const rollups = await readKnowledgeCounterRollups(directory);
|
|
707
707
|
const flagIds = new Set;
|
|
708
708
|
for (const e of atFloor) {
|
|
@@ -769,11 +769,11 @@ async function applyConfidenceFloorAction(directory, touched, options) {
|
|
|
769
769
|
});
|
|
770
770
|
}
|
|
771
771
|
if (action === "quarantine" && toQuarantine.length > 0) {
|
|
772
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
773
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
772
|
+
const { quarantineEntry } = await import("./knowledge-validator-jxqj96cx.js");
|
|
773
|
+
const { KnowledgeConfigSchema } = await import("./schema-f7jgrtxj.js");
|
|
774
774
|
let config;
|
|
775
775
|
try {
|
|
776
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
776
|
+
const { loadPluginConfigWithMeta } = await import("./index-yr6x707c.js");
|
|
777
777
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
778
778
|
config = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
779
779
|
} catch {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./index-ae75rja9.js";
|
|
5
5
|
import {
|
|
6
6
|
resolveKnowledgeStoreDir
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-668dpw5e.js";
|
|
8
8
|
import {
|
|
9
9
|
atomicWriteFile
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-gvhvz176.js";
|
|
11
11
|
import {
|
|
12
12
|
require_proper_lockfile
|
|
13
13
|
} from "./index-7g4c7s5r.js";
|
|
@@ -457,6 +457,9 @@ function recomputeCounters(events, legacyRecords = [], baseline = new Map) {
|
|
|
457
457
|
case "ignored":
|
|
458
458
|
r.ignored_count += 1;
|
|
459
459
|
break;
|
|
460
|
+
case "contradicted":
|
|
461
|
+
r.contradicted_count += 1;
|
|
462
|
+
break;
|
|
460
463
|
case "violated":
|
|
461
464
|
r.violated_count += 1;
|
|
462
465
|
r.violation_timestamps.push(rec.timestamp);
|
|
@@ -625,7 +628,7 @@ async function applyKnowledgeVerdictFeedback(directory, options) {
|
|
|
625
628
|
deltas.push({ id, delta });
|
|
626
629
|
}
|
|
627
630
|
if (deltas.length > 0) {
|
|
628
|
-
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-
|
|
631
|
+
const { bumpKnowledgeConfidenceBatch } = await import("./knowledge-store-bcfqz8fr.js");
|
|
629
632
|
await bumpKnowledgeConfidenceBatch(directory, deltas, options?.floorOptions);
|
|
630
633
|
}
|
|
631
634
|
return {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/utils/swarm-artifact-cache.ts
|
|
3
|
+
import * as fsSync from "fs";
|
|
3
4
|
import * as fs from "fs/promises";
|
|
4
5
|
import * as path from "path";
|
|
5
6
|
var MAX_CACHE_ENTRIES = 128;
|
|
@@ -24,9 +25,13 @@ var stats = {
|
|
|
24
25
|
function sameStamp(a, b) {
|
|
25
26
|
return a.mtimeMs === b.mtimeMs && a.ctimeMs === b.ctimeMs && a.size === b.size;
|
|
26
27
|
}
|
|
28
|
+
var _internals = {
|
|
29
|
+
stat: fs.stat,
|
|
30
|
+
statSync: fsSync.statSync
|
|
31
|
+
};
|
|
27
32
|
async function getStamp(filePath) {
|
|
28
33
|
try {
|
|
29
|
-
const stat2 = await
|
|
34
|
+
const stat2 = await _internals.stat(filePath);
|
|
30
35
|
if (!stat2.isFile())
|
|
31
36
|
return null;
|
|
32
37
|
return { mtimeMs: stat2.mtimeMs, ctimeMs: stat2.ctimeMs, size: stat2.size };
|
|
@@ -124,5 +129,23 @@ function invalidateCachedArtifact(filePath) {
|
|
|
124
129
|
parsedCache.delete(key);
|
|
125
130
|
}
|
|
126
131
|
}
|
|
132
|
+
function resetSwarmArtifactCache() {
|
|
133
|
+
textCache.clear();
|
|
134
|
+
parsedCache.clear();
|
|
135
|
+
stats.textReadCount = 0;
|
|
136
|
+
stats.textCacheHitCount = 0;
|
|
137
|
+
stats.textCacheMissCount = 0;
|
|
138
|
+
stats.parsedReadCount = 0;
|
|
139
|
+
stats.parseCount = 0;
|
|
140
|
+
stats.parsedCacheHitCount = 0;
|
|
141
|
+
stats.parsedCacheMissCount = 0;
|
|
142
|
+
stats.statFailureCount = 0;
|
|
143
|
+
stats.evictionCount = 0;
|
|
144
|
+
stats.textEvictionCount = 0;
|
|
145
|
+
stats.parsedEvictionCount = 0;
|
|
146
|
+
stats.cloneFallbackCount = 0;
|
|
147
|
+
stats.textEntryCount = 0;
|
|
148
|
+
stats.parsedEntryCount = 0;
|
|
149
|
+
}
|
|
127
150
|
|
|
128
|
-
export { readCachedTextFile, readCachedParsedFile, invalidateCachedArtifact };
|
|
151
|
+
export { readCachedTextFile, readCachedParsedFile, invalidateCachedArtifact, resetSwarmArtifactCache };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
authorizeCuration
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-3radty3f.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-cyw81ngh.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveKnowledgeStoreDir
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-668dpw5e.js";
|
|
16
16
|
import {
|
|
17
17
|
atomicWriteFile
|
|
18
|
-
} from "./index-
|
|
18
|
+
} from "./index-gvhvz176.js";
|
|
19
19
|
import {
|
|
20
20
|
require_proper_lockfile
|
|
21
21
|
} from "./index-7g4c7s5r.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
invalidateCachedArtifact
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-ed5ykebp.js";
|
|
5
5
|
import {
|
|
6
6
|
withEvidenceLock
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-5j6chvj8.js";
|
|
8
8
|
import {
|
|
9
9
|
bunWrite
|
|
10
10
|
} from "./index-y111zefa.js";
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ALLOWED_SKILL_PATH_PREFIXES,
|
|
4
4
|
validateSkillPath
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-ffpmqx30.js";
|
|
6
6
|
import {
|
|
7
7
|
computeOutcomeSignal,
|
|
8
8
|
readKnowledge,
|
|
9
9
|
resolveHiveKnowledgePath,
|
|
10
10
|
resolveSwarmKnowledgePath,
|
|
11
11
|
transactKnowledge
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-cyw81ngh.js";
|
|
13
13
|
import {
|
|
14
14
|
effectiveRetrievalOutcomes,
|
|
15
15
|
readKnowledgeCounterRollups
|
|
16
|
-
} from "./index-
|
|
16
|
+
} from "./index-e9tx99ds.js";
|
|
17
17
|
import {
|
|
18
18
|
init_knowledge_types,
|
|
19
19
|
isActiveStatus
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
validateSwarmPath
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-x9q4bbhd.js";
|
|
5
5
|
|
|
6
6
|
// src/hooks/delegation-gate/worktree-provisioning-owner.ts
|
|
7
|
+
import { createHash, randomBytes } from "crypto";
|
|
7
8
|
import * as fs from "fs";
|
|
8
9
|
import * as path from "path";
|
|
9
10
|
var PROVISIONING_OWNER_DIR = "worktree-provisioning-owners";
|
|
10
11
|
var MAX_PROVISIONING_OWNERS = 512;
|
|
11
12
|
var MAX_PROVISIONING_OWNER_BYTES = 16 * 1024;
|
|
13
|
+
var WORKTREE_PROVISIONING_OWNER_LEASE_MS = 5 * 60 * 1000;
|
|
12
14
|
function ownerDirectory(directory) {
|
|
13
15
|
return path.dirname(validateSwarmPath(directory, path.join(PROVISIONING_OWNER_DIR, ".containment-anchor")));
|
|
14
16
|
}
|
|
17
|
+
function ownerPath(directory, callID) {
|
|
18
|
+
const digest = createHash("sha256").update(callID).digest("hex");
|
|
19
|
+
return validateSwarmPath(directory, path.join(PROVISIONING_OWNER_DIR, `${digest}.json`));
|
|
20
|
+
}
|
|
15
21
|
function isOwner(value) {
|
|
16
22
|
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
17
23
|
return false;
|
|
@@ -20,6 +26,14 @@ function isOwner(value) {
|
|
|
20
26
|
const validTaskIdentity = schemaVersion === 1 ? candidate.taskId === undefined : schemaVersion === 2 && typeof candidate.taskId === "string" && candidate.taskId.length > 0 && candidate.taskId.length <= 512;
|
|
21
27
|
return (schemaVersion === 1 || schemaVersion === 2) && validTaskIdentity && typeof candidate.callID === "string" && candidate.callID.length > 0 && candidate.callID.length <= 512 && typeof candidate.parentSessionId === "string" && candidate.parentSessionId.length > 0 && candidate.parentSessionId.length <= 512 && typeof candidate.worktreeSessionId === "string" && candidate.worktreeSessionId.length > 0 && candidate.worktreeSessionId.length <= 512 && typeof candidate.createdAt === "number" && Number.isFinite(candidate.createdAt) && candidate.createdAt >= 0;
|
|
22
28
|
}
|
|
29
|
+
function removeWorktreeProvisioningOwner(directory, callID) {
|
|
30
|
+
try {
|
|
31
|
+
fs.unlinkSync(ownerPath(directory, callID));
|
|
32
|
+
return true;
|
|
33
|
+
} catch (error) {
|
|
34
|
+
return error.code === "ENOENT";
|
|
35
|
+
}
|
|
36
|
+
}
|
|
23
37
|
function scanWorktreeProvisioningOwnersForRecovery(directory) {
|
|
24
38
|
let directoryPath;
|
|
25
39
|
let entries;
|
|
@@ -77,4 +91,4 @@ function scanWorktreeProvisioningOwnersForRecovery(directory) {
|
|
|
77
91
|
return { status: "ok", owners };
|
|
78
92
|
}
|
|
79
93
|
|
|
80
|
-
export { scanWorktreeProvisioningOwnersForRecovery };
|
|
94
|
+
export { WORKTREE_PROVISIONING_OWNER_LEASE_MS, removeWorktreeProvisioningOwner, scanWorktreeProvisioningOwnersForRecovery };
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./index-y8552snf.js";
|
|
10
10
|
import {
|
|
11
11
|
atomicWriteFile
|
|
12
|
-
} from "./index-
|
|
12
|
+
} from "./index-gvhvz176.js";
|
|
13
13
|
import {
|
|
14
14
|
withEvidenceLock
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-5j6chvj8.js";
|
|
16
16
|
import {
|
|
17
17
|
exports_external,
|
|
18
18
|
init_zod
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
handleGuardrailExplain
|
|
4
|
-
} from "./index-
|
|
4
|
+
} from "./index-6c5f309q.js";
|
|
5
5
|
import {
|
|
6
6
|
handleGuardrailLog
|
|
7
|
-
} from "./index-
|
|
7
|
+
} from "./index-8gftfvpp.js";
|
|
8
8
|
import {
|
|
9
9
|
COMMAND_REGISTRY,
|
|
10
10
|
SWARM_COMMAND_TOOL_ALLOWLIST,
|
|
@@ -84,62 +84,62 @@ import {
|
|
|
84
84
|
handleWriteRetroCommand,
|
|
85
85
|
normalizeSwarmCommandInput,
|
|
86
86
|
resolveCommand
|
|
87
|
-
} from "./index-
|
|
87
|
+
} from "./index-a7nh382r.js";
|
|
88
88
|
import"./index-vm4xw9z3.js";
|
|
89
|
-
import"./index-
|
|
90
|
-
import"./index-
|
|
91
|
-
import"./index-
|
|
92
|
-
import"./index-
|
|
93
|
-
import"./index-
|
|
89
|
+
import"./index-wrt6m5ze.js";
|
|
90
|
+
import"./index-y64jv2pe.js";
|
|
91
|
+
import"./index-y47dwge1.js";
|
|
92
|
+
import"./index-0wp67gqj.js";
|
|
93
|
+
import"./index-s608d3hw.js";
|
|
94
94
|
import"./index-y8552snf.js";
|
|
95
95
|
import"./index-4905hd2m.js";
|
|
96
96
|
import"./index-134d35c1.js";
|
|
97
|
-
import"./index-
|
|
98
|
-
import"./index-
|
|
99
|
-
import"./index-
|
|
97
|
+
import"./index-ktagrqxw.js";
|
|
98
|
+
import"./index-w71cq27a.js";
|
|
99
|
+
import"./index-6w1re1qn.js";
|
|
100
100
|
import"./index-6mjf4vr1.js";
|
|
101
101
|
import"./index-c8s9a3zh.js";
|
|
102
102
|
import"./index-9ss2m4rs.js";
|
|
103
103
|
import"./index-wsdnttf4.js";
|
|
104
|
-
import"./index-
|
|
105
|
-
import"./index-
|
|
106
|
-
import"./index-
|
|
104
|
+
import"./index-5w7ekpy3.js";
|
|
105
|
+
import"./index-ffpmqx30.js";
|
|
106
|
+
import"./index-3radty3f.js";
|
|
107
107
|
import"./index-rtry5xyf.js";
|
|
108
|
-
import"./index-
|
|
109
|
-
import"./index-
|
|
108
|
+
import"./index-cyw81ngh.js";
|
|
109
|
+
import"./index-e9tx99ds.js";
|
|
110
110
|
import"./index-ae75rja9.js";
|
|
111
|
-
import"./index-
|
|
112
|
-
import"./index-
|
|
113
|
-
import"./index-
|
|
111
|
+
import"./index-668dpw5e.js";
|
|
112
|
+
import"./index-gvhvz176.js";
|
|
113
|
+
import"./index-q11t5erh.js";
|
|
114
114
|
import"./index-gprxjmm7.js";
|
|
115
115
|
import"./index-n832052r.js";
|
|
116
116
|
import {
|
|
117
117
|
init_schema,
|
|
118
118
|
stripKnownSwarmPrefix
|
|
119
|
-
} from "./index-
|
|
119
|
+
} from "./index-8p9pasnp.js";
|
|
120
120
|
import"./index-bk5tah7q.js";
|
|
121
121
|
import"./index-8fwhhayc.js";
|
|
122
122
|
import"./index-q1exe2b3.js";
|
|
123
|
-
import"./index-
|
|
124
|
-
import"./index-
|
|
123
|
+
import"./index-5zyk8qgv.js";
|
|
124
|
+
import"./index-3eddtgxt.js";
|
|
125
125
|
import"./index-556ja8an.js";
|
|
126
|
-
import"./index-
|
|
126
|
+
import"./index-4xbyy6aw.js";
|
|
127
127
|
import"./index-1kz6da87.js";
|
|
128
|
-
import"./index-
|
|
128
|
+
import"./index-q7ezzgwq.js";
|
|
129
129
|
import"./index-b8zgtz81.js";
|
|
130
|
-
import"./index-
|
|
130
|
+
import"./index-a12906mj.js";
|
|
131
131
|
import"./index-4rhhvd1a.js";
|
|
132
132
|
import {
|
|
133
133
|
AGENT_TOOL_MAP,
|
|
134
134
|
ORCHESTRATOR_NAME,
|
|
135
135
|
init_constants
|
|
136
136
|
} from "./index-3jcyn8g6.js";
|
|
137
|
-
import"./index-
|
|
138
|
-
import"./index-
|
|
139
|
-
import"./index-
|
|
140
|
-
import"./index-
|
|
137
|
+
import"./index-prmb5qfp.js";
|
|
138
|
+
import"./index-x9q4bbhd.js";
|
|
139
|
+
import"./index-ed5ykebp.js";
|
|
140
|
+
import"./index-5j6chvj8.js";
|
|
141
141
|
import"./index-7g4c7s5r.js";
|
|
142
|
-
import"./index-
|
|
142
|
+
import"./index-a5eba0t8.js";
|
|
143
143
|
import"./index-bpmtbmy9.js";
|
|
144
144
|
import"./index-z6xqpmqg.js";
|
|
145
145
|
import"./index-zjygnfay.js";
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
resolveSwarmKnowledgePath,
|
|
7
7
|
transactKnowledge,
|
|
8
8
|
wordBigrams
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-cyw81ngh.js";
|
|
10
10
|
import {
|
|
11
11
|
countEntryContradictionsInWindow,
|
|
12
12
|
countEntryViolationsInWindow,
|
|
13
13
|
readKnowledgeEvents,
|
|
14
14
|
recordKnowledgeEvent
|
|
15
|
-
} from "./index-
|
|
15
|
+
} from "./index-e9tx99ds.js";
|
|
16
16
|
import {
|
|
17
17
|
init_knowledge_types,
|
|
18
18
|
isActiveStatus
|
|
@@ -190,11 +190,11 @@ async function maybeQuarantineOnContradiction(directory, entryId, threshold, win
|
|
|
190
190
|
alreadyInactive: true
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
const { quarantineEntry } = await import("./knowledge-validator-
|
|
193
|
+
const { quarantineEntry } = await import("./knowledge-validator-jxqj96cx.js");
|
|
194
194
|
let policyConfig;
|
|
195
195
|
try {
|
|
196
|
-
const { KnowledgeConfigSchema } = await import("./schema-
|
|
197
|
-
const { loadPluginConfigWithMeta } = await import("./index-
|
|
196
|
+
const { KnowledgeConfigSchema } = await import("./schema-f7jgrtxj.js");
|
|
197
|
+
const { loadPluginConfigWithMeta } = await import("./index-yr6x707c.js");
|
|
198
198
|
const { config: loadedConfig } = loadPluginConfigWithMeta(directory);
|
|
199
199
|
policyConfig = KnowledgeConfigSchema.parse(loadedConfig.knowledge ?? {});
|
|
200
200
|
} catch {
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
loadPluginConfigWithMeta,
|
|
8
8
|
loadPluginConfigWithMetaAsync,
|
|
9
9
|
resolveWorktreeIsolationConfig
|
|
10
|
-
} from "./index-
|
|
10
|
+
} from "./index-q11t5erh.js";
|
|
11
11
|
import {
|
|
12
12
|
ApprovalEvidenceSchema,
|
|
13
13
|
BaseEvidenceSchema,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
TurboConfigSchema,
|
|
55
55
|
WorktreeIsolationConfigSchema,
|
|
56
56
|
resolveAutoReviewConfig
|
|
57
|
-
} from "./index-
|
|
57
|
+
} from "./index-8p9pasnp.js";
|
|
58
58
|
import"./index-bk5tah7q.js";
|
|
59
59
|
import {
|
|
60
60
|
MigrationStatusSchema,
|
package/dist/cli/index.js
CHANGED
|
@@ -6,61 +6,61 @@ import {
|
|
|
6
6
|
getPluginConfigDir,
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
resolveCommand
|
|
9
|
-
} from "./index-
|
|
9
|
+
} from "./index-a7nh382r.js";
|
|
10
10
|
import"./index-vm4xw9z3.js";
|
|
11
|
-
import"./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
14
|
-
import"./index-
|
|
15
|
-
import"./index-
|
|
11
|
+
import"./index-wrt6m5ze.js";
|
|
12
|
+
import"./index-y64jv2pe.js";
|
|
13
|
+
import"./index-y47dwge1.js";
|
|
14
|
+
import"./index-0wp67gqj.js";
|
|
15
|
+
import"./index-s608d3hw.js";
|
|
16
16
|
import"./index-y8552snf.js";
|
|
17
17
|
import"./index-4905hd2m.js";
|
|
18
18
|
import"./index-134d35c1.js";
|
|
19
|
-
import"./index-
|
|
20
|
-
import"./index-
|
|
21
|
-
import"./index-
|
|
19
|
+
import"./index-ktagrqxw.js";
|
|
20
|
+
import"./index-w71cq27a.js";
|
|
21
|
+
import"./index-6w1re1qn.js";
|
|
22
22
|
import"./index-6mjf4vr1.js";
|
|
23
23
|
import"./index-c8s9a3zh.js";
|
|
24
24
|
import"./index-9ss2m4rs.js";
|
|
25
25
|
import"./index-wsdnttf4.js";
|
|
26
|
-
import"./index-
|
|
27
|
-
import"./index-
|
|
28
|
-
import"./index-
|
|
26
|
+
import"./index-5w7ekpy3.js";
|
|
27
|
+
import"./index-ffpmqx30.js";
|
|
28
|
+
import"./index-3radty3f.js";
|
|
29
29
|
import"./index-rtry5xyf.js";
|
|
30
|
-
import"./index-
|
|
31
|
-
import"./index-
|
|
30
|
+
import"./index-cyw81ngh.js";
|
|
31
|
+
import"./index-e9tx99ds.js";
|
|
32
32
|
import"./index-ae75rja9.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
33
|
+
import"./index-668dpw5e.js";
|
|
34
|
+
import"./index-gvhvz176.js";
|
|
35
|
+
import"./index-q11t5erh.js";
|
|
36
36
|
import"./index-gprxjmm7.js";
|
|
37
37
|
import"./index-n832052r.js";
|
|
38
38
|
import {
|
|
39
39
|
init_package,
|
|
40
40
|
package_default
|
|
41
|
-
} from "./index-
|
|
41
|
+
} from "./index-8p9pasnp.js";
|
|
42
42
|
import"./index-bk5tah7q.js";
|
|
43
43
|
import"./index-8fwhhayc.js";
|
|
44
44
|
import"./index-q1exe2b3.js";
|
|
45
|
-
import"./index-
|
|
46
|
-
import"./index-
|
|
45
|
+
import"./index-5zyk8qgv.js";
|
|
46
|
+
import"./index-3eddtgxt.js";
|
|
47
47
|
import"./index-556ja8an.js";
|
|
48
|
-
import"./index-
|
|
48
|
+
import"./index-4xbyy6aw.js";
|
|
49
49
|
import"./index-1kz6da87.js";
|
|
50
|
-
import"./index-
|
|
50
|
+
import"./index-q7ezzgwq.js";
|
|
51
51
|
import"./index-b8zgtz81.js";
|
|
52
|
-
import"./index-
|
|
52
|
+
import"./index-a12906mj.js";
|
|
53
53
|
import"./index-4rhhvd1a.js";
|
|
54
54
|
import {
|
|
55
55
|
DEFAULT_AGENT_CONFIGS,
|
|
56
56
|
init_constants
|
|
57
57
|
} from "./index-3jcyn8g6.js";
|
|
58
|
-
import"./index-
|
|
59
|
-
import"./index-
|
|
60
|
-
import"./index-
|
|
61
|
-
import"./index-
|
|
58
|
+
import"./index-prmb5qfp.js";
|
|
59
|
+
import"./index-x9q4bbhd.js";
|
|
60
|
+
import"./index-ed5ykebp.js";
|
|
61
|
+
import"./index-5j6chvj8.js";
|
|
62
62
|
import"./index-7g4c7s5r.js";
|
|
63
|
-
import"./index-
|
|
63
|
+
import"./index-a5eba0t8.js";
|
|
64
64
|
import"./index-bpmtbmy9.js";
|
|
65
65
|
import"./index-z6xqpmqg.js";
|
|
66
66
|
import"./index-zjygnfay.js";
|
|
@@ -8,17 +8,17 @@ import {
|
|
|
8
8
|
maybeEscalateOnViolation,
|
|
9
9
|
maybeQuarantineOnContradiction,
|
|
10
10
|
readRecentEscalations
|
|
11
|
-
} from "./index-
|
|
12
|
-
import"./index-
|
|
13
|
-
import"./index-
|
|
11
|
+
} from "./index-w71cq27a.js";
|
|
12
|
+
import"./index-cyw81ngh.js";
|
|
13
|
+
import"./index-e9tx99ds.js";
|
|
14
14
|
import"./index-ae75rja9.js";
|
|
15
|
-
import"./index-
|
|
16
|
-
import"./index-
|
|
15
|
+
import"./index-668dpw5e.js";
|
|
16
|
+
import"./index-gvhvz176.js";
|
|
17
17
|
import"./index-bk5tah7q.js";
|
|
18
|
-
import"./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
import"./index-ed5ykebp.js";
|
|
19
|
+
import"./index-5j6chvj8.js";
|
|
20
20
|
import"./index-7g4c7s5r.js";
|
|
21
|
-
import"./index-
|
|
21
|
+
import"./index-a5eba0t8.js";
|
|
22
22
|
import"./index-bpmtbmy9.js";
|
|
23
23
|
import"./index-y111zefa.js";
|
|
24
24
|
import"./index-zgwm4ryv.js";
|
|
@@ -28,14 +28,14 @@ import {
|
|
|
28
28
|
resolveKnowledgeCounterBaselinePath,
|
|
29
29
|
resolveKnowledgeEventsPath,
|
|
30
30
|
resolveLegacyApplicationLogPath
|
|
31
|
-
} from "./index-
|
|
31
|
+
} from "./index-e9tx99ds.js";
|
|
32
32
|
import"./index-ae75rja9.js";
|
|
33
|
-
import"./index-
|
|
34
|
-
import"./index-
|
|
35
|
-
import"./index-
|
|
36
|
-
import"./index-
|
|
33
|
+
import"./index-668dpw5e.js";
|
|
34
|
+
import"./index-gvhvz176.js";
|
|
35
|
+
import"./index-ed5ykebp.js";
|
|
36
|
+
import"./index-5j6chvj8.js";
|
|
37
37
|
import"./index-7g4c7s5r.js";
|
|
38
|
-
import"./index-
|
|
38
|
+
import"./index-a5eba0t8.js";
|
|
39
39
|
import"./index-bpmtbmy9.js";
|
|
40
40
|
import"./index-y111zefa.js";
|
|
41
41
|
import"./index-zgwm4ryv.js";
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolveLinkDir,
|
|
13
13
|
sanitizeLinkId,
|
|
14
14
|
writeLinkPointer
|
|
15
|
-
} from "./index-
|
|
16
|
-
import"./index-
|
|
17
|
-
import"./index-
|
|
18
|
-
import"./index-
|
|
15
|
+
} from "./index-668dpw5e.js";
|
|
16
|
+
import"./index-gvhvz176.js";
|
|
17
|
+
import"./index-ed5ykebp.js";
|
|
18
|
+
import"./index-5j6chvj8.js";
|
|
19
19
|
import"./index-7g4c7s5r.js";
|
|
20
|
-
import"./index-
|
|
20
|
+
import"./index-a5eba0t8.js";
|
|
21
21
|
import"./index-bpmtbmy9.js";
|
|
22
22
|
import"./index-y111zefa.js";
|
|
23
23
|
import"./index-zgwm4ryv.js";
|
|
@@ -41,17 +41,17 @@ import {
|
|
|
41
41
|
transactKnowledge,
|
|
42
42
|
transactKnowledgeWithCas,
|
|
43
43
|
wordBigrams
|
|
44
|
-
} from "./index-
|
|
44
|
+
} from "./index-cyw81ngh.js";
|
|
45
45
|
import {
|
|
46
46
|
resolveHiveDataDir
|
|
47
47
|
} from "./index-ae75rja9.js";
|
|
48
|
-
import"./index-
|
|
49
|
-
import"./index-
|
|
48
|
+
import"./index-668dpw5e.js";
|
|
49
|
+
import"./index-gvhvz176.js";
|
|
50
50
|
import"./index-bk5tah7q.js";
|
|
51
|
-
import"./index-
|
|
52
|
-
import"./index-
|
|
51
|
+
import"./index-ed5ykebp.js";
|
|
52
|
+
import"./index-5j6chvj8.js";
|
|
53
53
|
import"./index-7g4c7s5r.js";
|
|
54
|
-
import"./index-
|
|
54
|
+
import"./index-a5eba0t8.js";
|
|
55
55
|
import"./index-bpmtbmy9.js";
|
|
56
56
|
import"./index-y111zefa.js";
|
|
57
57
|
import"./index-zgwm4ryv.js";
|