opencode-swarm 7.123.0 → 7.124.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/README.md +3 -0
- package/dist/cli/{config-doctor-3ksh1534.js → config-doctor-53mnpeke.js} +6 -6
- package/dist/cli/{core-cwgb7ev8.js → core-d38hc85b.js} +4 -4
- package/dist/cli/{curation-policy-4j4qce5a.js → curation-policy-ny033330.js} +2 -2
- package/dist/cli/{curator-drift-6b2fjsgr.js → curator-drift-h9a2sjvf.js} +7 -7
- package/dist/cli/curator-llm-factory-e0tjz8qq.js +53 -0
- package/dist/cli/{curator-tkyn9bzz.js → curator-nvn1pdq6.js} +30 -29
- package/dist/cli/{dispatch-07jgc3hn.js → dispatch-f4hj1cj7.js} +3 -3
- package/dist/cli/{evidence-summary-service-96ndczbk.js → evidence-summary-service-9hq7n9k9.js} +12 -12
- package/dist/cli/{gate-evidence-xqks3kk2.js → gate-evidence-cy2te3x8.js} +2 -2
- package/dist/cli/guardrail-explain-d3dd57nf.js +54 -0
- package/dist/cli/guardrail-log-3q2z9axs.js +16 -0
- package/dist/cli/{hive-promoter-y5wsztkc.js → hive-promoter-9gbpepgm.js} +30 -29
- package/dist/cli/index-134d35c1.js +116 -0
- package/dist/cli/{index-cqsak7bf.js → index-13d2g7k9.js} +1 -1
- package/dist/cli/{index-m1abzg93.js → index-1kz6da87.js} +4 -2
- package/dist/cli/{index-22e127jw.js → index-23zsx7dm.js} +5 -3
- package/dist/cli/{index-kzj3fp7c.js → index-2445sx3d.js} +1 -1
- package/dist/cli/{index-ctpgsj84.js → index-2tn5h2zp.js} +1 -1
- package/dist/cli/{index-n2712byd.js → index-2x4maxte.js} +8 -5
- package/dist/cli/{index-6xnxz6z0.js → index-3x761jqv.js} +4 -2
- package/dist/cli/{index-3rr0ese8.js → index-3yyr4ynk.js} +41 -9
- package/dist/cli/{index-7cspygmb.js → index-4rzzzjtg.js} +11 -8
- package/dist/cli/{index-nprawcc0.js → index-6n2jpz7x.js} +1 -1
- package/dist/cli/{index-7g91saha.js → index-8pz0ypxz.js} +38 -31
- package/dist/cli/index-bk5tah7q.js +19 -0
- package/dist/cli/{index-293f68mj.js → index-bpmtbmy9.js} +4680 -4342
- package/dist/cli/index-c6crt5rs.js +2494 -0
- package/dist/cli/{index-19zn67q6.js → index-e19mxn9f.js} +5 -1
- package/dist/cli/{index-hns7xjm7.js → index-eeg04r0x.js} +4 -2
- package/dist/cli/{index-ye3fndsw.js → index-gacm5s2n.js} +9 -5
- package/dist/cli/{index-d6h5hq91.js → index-gnvg72y1.js} +2 -2
- package/dist/cli/{index-17eybc3z.js → index-htbjqftb.js} +1 -1
- package/dist/cli/{index-vcgfqd8f.js → index-k5jrywpr.js} +4 -2
- package/dist/cli/{index-jyrhy4ww.js → index-mkkx1a4f.js} +2435 -1435
- package/dist/cli/{index-gnp9x6se.js → index-n832052r.js} +4 -2
- package/dist/cli/{index-6sgqnvpw.js → index-qd77aft9.js} +2 -2
- package/dist/cli/{index-816rkp4y.js → index-s9mj4rb9.js} +5 -3
- package/dist/cli/{index-q00e4s1s.js → index-tyg0zezw.js} +11 -7
- package/dist/cli/{index-gw3m5fw0.js → index-v2rdhwx8.js} +5 -3
- package/dist/cli/{index-det5jwfk.js → index-v5ecczts.js} +5 -1
- package/dist/cli/{index-2j25br0p.js → index-wqwpzhv1.js} +9 -9
- package/dist/cli/{index-dywekeen.js → index-x2mmnrnx.js} +1 -1
- package/dist/cli/{index-j9kxwshw.js → index-z0m4angq.js} +8 -6
- package/dist/cli/{index-5e4e2hvv.js → index-z6xqpmqg.js} +4 -0
- package/dist/cli/{index-m0bmh3w0.js → index-zjedv2bd.js} +2 -2
- package/dist/cli/{index-p0arc26j.js → index-zjygnfay.js} +7 -2
- package/dist/cli/index.js +33 -30
- package/dist/cli/{knowledge-escalator-dyxsm78k.js → knowledge-escalator-r1s01m3z.js} +4 -4
- package/dist/cli/{knowledge-events-36q6nvae.js → knowledge-events-a9hmxvke.js} +1 -1
- package/dist/cli/{knowledge-store-e07b4s54.js → knowledge-store-jt31br5k.js} +2 -2
- package/dist/cli/{knowledge-validator-sfyf7wn2.js → knowledge-validator-9vrwxr3z.js} +5 -5
- package/dist/cli/{pending-delegations-68cbaqv2.js → pending-delegations-e3bcqj77.js} +7 -5
- package/dist/cli/{pr-subscriptions-x653151h.js → pr-subscriptions-bxpqde8w.js} +5 -5
- package/dist/cli/{scan-cursor-hm0aqqae.js → scan-cursor-bkjtsawg.js} +3 -3
- package/dist/cli/{schema-13bnng2n.js → schema-y3z416z7.js} +7 -4
- package/dist/cli/{scope-persistence-d9erwnvb.js → scope-persistence-habn4q8a.js} +4 -4
- package/dist/cli/{skill-generator-63r20a9k.js → skill-generator-794hyndw.js} +7 -7
- package/dist/cli/sqlite-loader-r1kgt2pq.js +12 -0
- package/dist/commands/memory-link.d.ts +28 -0
- package/dist/commands/registry.d.ts +25 -0
- package/dist/config/schema.d.ts +6 -0
- package/dist/index.js +330 -317
- package/dist/knowledge/family-migration-shared.d.ts +24 -0
- package/dist/knowledge/family-migration.d.ts +5 -0
- package/dist/memory/config.d.ts +11 -0
- package/dist/memory/consolidation-log.d.ts +8 -2
- package/dist/memory/finalize-reward-sweep.d.ts +2 -1
- package/dist/memory/gateway.d.ts +13 -0
- package/dist/memory/index.d.ts +4 -2
- package/dist/memory/local-jsonl-provider.d.ts +25 -1
- package/dist/memory/memory-family-manifest.d.ts +52 -0
- package/dist/memory/memory-family-migration.d.ts +94 -0
- package/dist/memory/memory-link.d.ts +103 -0
- package/dist/memory/provider-pool.d.ts +35 -0
- package/dist/memory/redaction.d.ts +31 -0
- package/dist/memory/schema.d.ts +21 -0
- package/dist/memory/sqlite-provider.d.ts +58 -1
- package/dist/memory/storage-root.d.ts +93 -0
- package/dist/memory/types.d.ts +20 -1
- package/dist/services/knowledge-diagnostics.d.ts +25 -0
- package/dist/services/status-service.d.ts +16 -0
- package/package.json +1 -1
- package/dist/cli/curator-llm-factory-mfvd4sqx.js +0 -52
- package/dist/cli/guardrail-explain-4vytbchb.js +0 -53
- package/dist/cli/guardrail-log-z291m4gw.js +0 -16
- package/dist/cli/index-4rhcth7a.js +0 -14
- package/dist/cli/index-wr8qgpz5.js +0 -2463
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
+
init_constants,
|
|
4
|
+
init_schema,
|
|
3
5
|
stripKnownSwarmPrefix
|
|
4
|
-
} from "./index-
|
|
6
|
+
} from "./index-c6crt5rs.js";
|
|
5
7
|
import {
|
|
6
8
|
init_logger,
|
|
7
9
|
warn
|
|
@@ -2027,6 +2029,7 @@ class QuickLRU extends Map {
|
|
|
2027
2029
|
}
|
|
2028
2030
|
|
|
2029
2031
|
// src/hooks/guardrails/file-authority.ts
|
|
2032
|
+
init_schema();
|
|
2030
2033
|
var pathNormalizationCache = new QuickLRU({
|
|
2031
2034
|
maxSize: 500
|
|
2032
2035
|
});
|
|
@@ -2335,6 +2338,7 @@ function checkFileAuthority(agentName, filePath, cwd, authorityConfig, options)
|
|
|
2335
2338
|
}
|
|
2336
2339
|
|
|
2337
2340
|
// src/hooks/guardrails/helpers.ts
|
|
2341
|
+
init_constants();
|
|
2338
2342
|
import * as path2 from "path";
|
|
2339
2343
|
function isInDeclaredScope2(filePath, scopeEntries, cwd) {
|
|
2340
2344
|
const dir = cwd ?? process.cwd();
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
readKnowledge,
|
|
4
4
|
transactKnowledge
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-2x4maxte.js";
|
|
6
6
|
import {
|
|
7
7
|
resolveKnowledgeStoreDir
|
|
8
8
|
} from "./index-q27bajqb.js";
|
|
9
9
|
import {
|
|
10
|
+
init_knowledge_types,
|
|
10
11
|
isActiveStatus
|
|
11
|
-
} from "./index-
|
|
12
|
+
} from "./index-bk5tah7q.js";
|
|
12
13
|
import {
|
|
13
14
|
init_logger,
|
|
14
15
|
log
|
|
@@ -22,6 +23,7 @@ import {
|
|
|
22
23
|
import { existsSync } from "fs";
|
|
23
24
|
import { mkdir, readFile, writeFile } from "fs/promises";
|
|
24
25
|
import * as path2 from "path";
|
|
26
|
+
init_knowledge_types();
|
|
25
27
|
init_logger();
|
|
26
28
|
|
|
27
29
|
// src/knowledge/cohort-identity.ts
|
|
@@ -3,12 +3,11 @@ import {
|
|
|
3
3
|
init_logger,
|
|
4
4
|
log
|
|
5
5
|
} from "./index-zgwm4ryv.js";
|
|
6
|
+
import {
|
|
7
|
+
__esm
|
|
8
|
+
} from "./index-a76rekgs.js";
|
|
6
9
|
|
|
7
10
|
// src/services/warning-buffer.ts
|
|
8
|
-
init_logger();
|
|
9
|
-
var deferredWarnings = [];
|
|
10
|
-
var MAX_DEFERRED_WARNINGS = 50;
|
|
11
|
-
var deferredWarningsTruncated = false;
|
|
12
11
|
function addDeferredWarning(warning) {
|
|
13
12
|
if (deferredWarnings.length < MAX_DEFERRED_WARNINGS - 1) {
|
|
14
13
|
deferredWarnings.push(warning);
|
|
@@ -26,5 +25,10 @@ function advisoryWarn(message, data) {
|
|
|
26
25
|
function getDeferredWarnings() {
|
|
27
26
|
return [...deferredWarnings];
|
|
28
27
|
}
|
|
28
|
+
var deferredWarnings, MAX_DEFERRED_WARNINGS = 50, deferredWarningsTruncated = false;
|
|
29
|
+
var init_warning_buffer = __esm(() => {
|
|
30
|
+
init_logger();
|
|
31
|
+
deferredWarnings = [];
|
|
32
|
+
});
|
|
29
33
|
|
|
30
|
-
export { advisoryWarn, getDeferredWarnings };
|
|
34
|
+
export { advisoryWarn, getDeferredWarnings, init_warning_buffer };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
computePlanStructureHash,
|
|
4
4
|
derivePlanId
|
|
5
|
-
} from "./index-
|
|
5
|
+
} from "./index-2tn5h2zp.js";
|
|
6
6
|
import {
|
|
7
7
|
PlanSchema
|
|
8
|
-
} from "./index-
|
|
8
|
+
} from "./index-1kz6da87.js";
|
|
9
9
|
import {
|
|
10
10
|
require_proper_lockfile
|
|
11
11
|
} from "./index-7g4c7s5r.js";
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
|
-
exports_external
|
|
4
|
-
|
|
3
|
+
exports_external,
|
|
4
|
+
init_zod
|
|
5
|
+
} from "./index-bpmtbmy9.js";
|
|
5
6
|
|
|
6
7
|
// src/config/evidence-schema.ts
|
|
8
|
+
init_zod();
|
|
7
9
|
var EVIDENCE_MAX_JSON_BYTES = 500 * 1024;
|
|
8
10
|
var EVIDENCE_MAX_PATCH_BYTES = 5 * 1024 * 1024;
|
|
9
11
|
var EVIDENCE_MAX_TASK_BYTES = 20 * 1024 * 1024;
|