opencode-swarm 7.99.7 → 7.100.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.
Files changed (26) hide show
  1. package/dist/cli/{config-doctor-1j77p1jy.js → config-doctor-g29kxhek.js} +2 -2
  2. package/dist/cli/{guardrail-explain-dkh5f7nf.js → guardrail-explain-q8pj9691.js} +5 -5
  3. package/dist/cli/{guardrail-log-ya49kpwn.js → guardrail-log-ywajkn46.js} +3 -3
  4. package/dist/cli/{index-h9ptj4b1.js → index-5bstvpct.js} +1 -1
  5. package/dist/cli/{index-sz3kw59p.js → index-jg6m72g7.js} +6 -6
  6. package/dist/cli/{index-7hnwnw5g.js → index-m0qshbr6.js} +41 -1
  7. package/dist/cli/{index-xsswhy6k.js → index-pj3a5fbt.js} +1 -1
  8. package/dist/cli/{index-wpnam1jh.js → index-q5cae5d7.js} +1029 -311
  9. package/dist/cli/{index-0d3pmjf9.js → index-rpb763g8.js} +1 -1
  10. package/dist/cli/{index-zyhd4mnn.js → index-tj0jek4p.js} +2 -2
  11. package/dist/cli/index.js +4 -4
  12. package/dist/cli/{schema-nz638xc3.js → schema-n7pd65qq.js} +1 -1
  13. package/dist/config/schema.d.ts +40 -0
  14. package/dist/index.js +2199 -1429
  15. package/dist/memory/config.d.ts +38 -0
  16. package/dist/memory/embeddings/cache.d.ts +25 -0
  17. package/dist/memory/embeddings/fusion.d.ts +56 -0
  18. package/dist/memory/embeddings/local-provider.d.ts +57 -0
  19. package/dist/memory/embeddings/reranker.d.ts +42 -0
  20. package/dist/memory/embeddings/types.d.ts +27 -0
  21. package/dist/memory/scoring.d.ts +1 -0
  22. package/dist/memory/sqlite-provider.d.ts +19 -0
  23. package/package.json +1 -1
  24. package/tests/fixtures/memory-recall/paraphrase-auth.json +64 -0
  25. package/tests/fixtures/memory-recall/paraphrase-concurrency.json +64 -0
  26. package/tests/fixtures/memory-recall/paraphrase-deployment.json +64 -0
@@ -12,8 +12,8 @@ import {
12
12
  shouldRunOnStartup,
13
13
  writeBackupArtifact,
14
14
  writeDoctorArtifact
15
- } from "./index-0d3pmjf9.js";
16
- import"./index-7hnwnw5g.js";
15
+ } from "./index-rpb763g8.js";
16
+ import"./index-m0qshbr6.js";
17
17
  import"./index-5e4e2hvv.js";
18
18
  import"./index-p0arc26j.js";
19
19
  import"./index-zgwm4ryv.js";
@@ -1,14 +1,14 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-zyhd4mnn.js";
5
- import"./index-wpnam1jh.js";
6
- import"./index-xsswhy6k.js";
4
+ } from "./index-tj0jek4p.js";
5
+ import"./index-q5cae5d7.js";
6
+ import"./index-pj3a5fbt.js";
7
7
  import"./index-ydgy7vg5.js";
8
8
  import"./index-vwyjkzgs.js";
9
9
  import"./index-f7nma02k.js";
10
- import"./index-0d3pmjf9.js";
11
- import"./index-7hnwnw5g.js";
10
+ import"./index-rpb763g8.js";
11
+ import"./index-m0qshbr6.js";
12
12
  import"./index-y3x3gvy6.js";
13
13
  import"./index-adz3nk9b.js";
14
14
  import"./index-v4fcn4tr.js";
@@ -1,9 +1,9 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailLog
4
- } from "./index-h9ptj4b1.js";
5
- import"./index-xsswhy6k.js";
6
- import"./index-7hnwnw5g.js";
4
+ } from "./index-5bstvpct.js";
5
+ import"./index-pj3a5fbt.js";
6
+ import"./index-m0qshbr6.js";
7
7
  import"./index-5e4e2hvv.js";
8
8
  import"./index-p0arc26j.js";
9
9
  import"./index-zgwm4ryv.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  redactPath,
4
4
  redactShellCommand
5
- } from "./index-xsswhy6k.js";
5
+ } from "./index-pj3a5fbt.js";
6
6
 
7
7
  // src/services/guardrail-log-service.ts
8
8
  import * as fs from "fs/promises";
@@ -1,10 +1,10 @@
1
1
  // @bun
2
2
  import {
3
3
  handleGuardrailExplain
4
- } from "./index-zyhd4mnn.js";
4
+ } from "./index-tj0jek4p.js";
5
5
  import {
6
6
  handleGuardrailLog
7
- } from "./index-h9ptj4b1.js";
7
+ } from "./index-5bstvpct.js";
8
8
  import {
9
9
  COMMAND_REGISTRY,
10
10
  SWARM_COMMAND_TOOL_ALLOWLIST,
@@ -79,17 +79,17 @@ import {
79
79
  handleWriteRetroCommand,
80
80
  normalizeSwarmCommandInput,
81
81
  resolveCommand
82
- } from "./index-wpnam1jh.js";
83
- import"./index-xsswhy6k.js";
82
+ } from "./index-q5cae5d7.js";
83
+ import"./index-pj3a5fbt.js";
84
84
  import"./index-ydgy7vg5.js";
85
85
  import"./index-vwyjkzgs.js";
86
86
  import"./index-f7nma02k.js";
87
- import"./index-0d3pmjf9.js";
87
+ import"./index-rpb763g8.js";
88
88
  import {
89
89
  AGENT_TOOL_MAP,
90
90
  ORCHESTRATOR_NAME,
91
91
  stripKnownSwarmPrefix
92
- } from "./index-7hnwnw5g.js";
92
+ } from "./index-m0qshbr6.js";
93
93
  import"./index-y3x3gvy6.js";
94
94
  import"./index-adz3nk9b.js";
95
95
  import"./index-v4fcn4tr.js";
@@ -1653,7 +1653,47 @@ var MemoryConfigSchema = exports_external.object({
1653
1653
  scratch: 7
1654
1654
  }
1655
1655
  }),
1656
- hardDelete: exports_external.boolean().default(false)
1656
+ hardDelete: exports_external.boolean().default(false),
1657
+ embeddings: exports_external.object({
1658
+ enabled: exports_external.boolean().default(false),
1659
+ model: exports_external.string().default("Xenova/all-MiniLM-L6-v2"),
1660
+ dimension: exports_external.number().int().min(1).default(384),
1661
+ version: exports_external.string().optional(),
1662
+ cacheSize: exports_external.number().int().min(1).default(256)
1663
+ }).default({
1664
+ enabled: false,
1665
+ model: "Xenova/all-MiniLM-L6-v2",
1666
+ dimension: 384,
1667
+ cacheSize: 256
1668
+ }),
1669
+ retrieval: exports_external.object({
1670
+ rrfK: exports_external.number().int().min(1).default(60),
1671
+ weights: exports_external.object({
1672
+ lexical: exports_external.number().min(0).max(1).default(0.5),
1673
+ dense: exports_external.number().min(0).max(1).default(0.4),
1674
+ metadata: exports_external.number().min(0).max(1).default(0.1)
1675
+ }).default({
1676
+ lexical: 0.5,
1677
+ dense: 0.4,
1678
+ metadata: 0.1
1679
+ }),
1680
+ rerank: exports_external.object({
1681
+ enabled: exports_external.boolean().default(false),
1682
+ model: exports_external.string().optional()
1683
+ }).default({ enabled: false }),
1684
+ latencyBudgetMs: exports_external.number().int().min(0).default(250)
1685
+ }).default({
1686
+ rrfK: 60,
1687
+ weights: {
1688
+ lexical: 0.5,
1689
+ dense: 0.4,
1690
+ metadata: 0.1
1691
+ },
1692
+ rerank: {
1693
+ enabled: false
1694
+ },
1695
+ latencyBudgetMs: 250
1696
+ })
1657
1697
  });
1658
1698
  var CuratorConfigSchema = exports_external.object({
1659
1699
  enabled: exports_external.boolean().default(true),
@@ -1,7 +1,7 @@
1
1
  // @bun
2
2
  import {
3
3
  stripKnownSwarmPrefix
4
- } from "./index-7hnwnw5g.js";
4
+ } from "./index-m0qshbr6.js";
5
5
  import {
6
6
  init_logger,
7
7
  warn