opencode-swarm 7.99.7 → 7.100.1
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/cli/{config-doctor-1j77p1jy.js → config-doctor-g29kxhek.js} +2 -2
- package/dist/cli/{evidence-summary-service-ch74hb16.js → evidence-summary-service-vgw9vw3n.js} +1 -1
- package/dist/cli/{guardrail-explain-dkh5f7nf.js → guardrail-explain-z37rtfz4.js} +6 -6
- package/dist/cli/{guardrail-log-ya49kpwn.js → guardrail-log-ywajkn46.js} +3 -3
- package/dist/cli/{index-y3x3gvy6.js → index-3emh7rny.js} +3 -2
- package/dist/cli/{index-zyhd4mnn.js → index-4xqnktvr.js} +2 -2
- package/dist/cli/{index-h9ptj4b1.js → index-5bstvpct.js} +1 -1
- package/dist/cli/{index-sz3kw59p.js → index-bcr2a549.js} +7 -7
- package/dist/cli/{index-7hnwnw5g.js → index-m0qshbr6.js} +41 -1
- package/dist/cli/{index-xsswhy6k.js → index-pj3a5fbt.js} +1 -1
- package/dist/cli/{index-wpnam1jh.js → index-qvdxzjqt.js} +1069 -316
- package/dist/cli/{index-0d3pmjf9.js → index-rpb763g8.js} +1 -1
- package/dist/cli/index.js +5 -5
- package/dist/cli/{schema-nz638xc3.js → schema-n7pd65qq.js} +1 -1
- package/dist/config/schema.d.ts +40 -0
- package/dist/git/branch.d.ts +16 -0
- package/dist/index.js +2253 -1440
- package/dist/lang/runtime.d.ts +3 -0
- package/dist/memory/config.d.ts +38 -0
- package/dist/memory/embeddings/cache.d.ts +25 -0
- package/dist/memory/embeddings/fusion.d.ts +56 -0
- package/dist/memory/embeddings/local-provider.d.ts +57 -0
- package/dist/memory/embeddings/reranker.d.ts +42 -0
- package/dist/memory/embeddings/types.d.ts +27 -0
- package/dist/memory/scoring.d.ts +1 -0
- package/dist/memory/sqlite-provider.d.ts +19 -0
- package/package.json +1 -1
- package/tests/fixtures/memory-recall/paraphrase-auth.json +64 -0
- package/tests/fixtures/memory-recall/paraphrase-concurrency.json +64 -0
- package/tests/fixtures/memory-recall/paraphrase-deployment.json +64 -0
package/dist/cli/index.js
CHANGED
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
getPluginLockFilePaths,
|
|
8
8
|
package_default,
|
|
9
9
|
resolveCommand
|
|
10
|
-
} from "./index-
|
|
11
|
-
import"./index-
|
|
10
|
+
} from "./index-qvdxzjqt.js";
|
|
11
|
+
import"./index-pj3a5fbt.js";
|
|
12
12
|
import"./index-ydgy7vg5.js";
|
|
13
13
|
import"./index-vwyjkzgs.js";
|
|
14
14
|
import"./index-f7nma02k.js";
|
|
15
|
-
import"./index-
|
|
15
|
+
import"./index-rpb763g8.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_AGENT_CONFIGS
|
|
18
|
-
} from "./index-
|
|
19
|
-
import"./index-
|
|
18
|
+
} from "./index-m0qshbr6.js";
|
|
19
|
+
import"./index-3emh7rny.js";
|
|
20
20
|
import"./index-adz3nk9b.js";
|
|
21
21
|
import"./index-v4fcn4tr.js";
|
|
22
22
|
import"./index-r8f89sm9.js";
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -681,6 +681,26 @@ export declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
681
681
|
}, z.core.$strip>>;
|
|
682
682
|
}, z.core.$strip>>;
|
|
683
683
|
hardDelete: z.ZodDefault<z.ZodBoolean>;
|
|
684
|
+
embeddings: z.ZodDefault<z.ZodObject<{
|
|
685
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
686
|
+
model: z.ZodDefault<z.ZodString>;
|
|
687
|
+
dimension: z.ZodDefault<z.ZodNumber>;
|
|
688
|
+
version: z.ZodOptional<z.ZodString>;
|
|
689
|
+
cacheSize: z.ZodDefault<z.ZodNumber>;
|
|
690
|
+
}, z.core.$strip>>;
|
|
691
|
+
retrieval: z.ZodDefault<z.ZodObject<{
|
|
692
|
+
rrfK: z.ZodDefault<z.ZodNumber>;
|
|
693
|
+
weights: z.ZodDefault<z.ZodObject<{
|
|
694
|
+
lexical: z.ZodDefault<z.ZodNumber>;
|
|
695
|
+
dense: z.ZodDefault<z.ZodNumber>;
|
|
696
|
+
metadata: z.ZodDefault<z.ZodNumber>;
|
|
697
|
+
}, z.core.$strip>>;
|
|
698
|
+
rerank: z.ZodDefault<z.ZodObject<{
|
|
699
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
700
|
+
model: z.ZodOptional<z.ZodString>;
|
|
701
|
+
}, z.core.$strip>>;
|
|
702
|
+
latencyBudgetMs: z.ZodDefault<z.ZodNumber>;
|
|
703
|
+
}, z.core.$strip>>;
|
|
684
704
|
}, z.core.$strip>;
|
|
685
705
|
export type MemoryConfig = z.infer<typeof MemoryConfigSchema>;
|
|
686
706
|
export declare const CuratorConfigSchema: z.ZodObject<{
|
|
@@ -1841,6 +1861,26 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1841
1861
|
}, z.core.$strip>>;
|
|
1842
1862
|
}, z.core.$strip>>;
|
|
1843
1863
|
hardDelete: z.ZodDefault<z.ZodBoolean>;
|
|
1864
|
+
embeddings: z.ZodDefault<z.ZodObject<{
|
|
1865
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1866
|
+
model: z.ZodDefault<z.ZodString>;
|
|
1867
|
+
dimension: z.ZodDefault<z.ZodNumber>;
|
|
1868
|
+
version: z.ZodOptional<z.ZodString>;
|
|
1869
|
+
cacheSize: z.ZodDefault<z.ZodNumber>;
|
|
1870
|
+
}, z.core.$strip>>;
|
|
1871
|
+
retrieval: z.ZodDefault<z.ZodObject<{
|
|
1872
|
+
rrfK: z.ZodDefault<z.ZodNumber>;
|
|
1873
|
+
weights: z.ZodDefault<z.ZodObject<{
|
|
1874
|
+
lexical: z.ZodDefault<z.ZodNumber>;
|
|
1875
|
+
dense: z.ZodDefault<z.ZodNumber>;
|
|
1876
|
+
metadata: z.ZodDefault<z.ZodNumber>;
|
|
1877
|
+
}, z.core.$strip>>;
|
|
1878
|
+
rerank: z.ZodDefault<z.ZodObject<{
|
|
1879
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1880
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1881
|
+
}, z.core.$strip>>;
|
|
1882
|
+
latencyBudgetMs: z.ZodDefault<z.ZodNumber>;
|
|
1883
|
+
}, z.core.$strip>>;
|
|
1844
1884
|
}, z.core.$strip>>;
|
|
1845
1885
|
curator: z.ZodOptional<z.ZodObject<{
|
|
1846
1886
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
package/dist/git/branch.d.ts
CHANGED
|
@@ -119,6 +119,22 @@ export interface ResetToMainAfterMergeResult {
|
|
|
119
119
|
changesDiscarded: boolean;
|
|
120
120
|
warnings: string[];
|
|
121
121
|
}
|
|
122
|
+
/**
|
|
123
|
+
* Gitignored build-artifact paths the post-merge alignment (`/swarm finalize`) is
|
|
124
|
+
* allowed to delete. Scoped to an explicit allowlist on purpose: `git clean -fdX`
|
|
125
|
+
* removes EVERY gitignored path under cwd — which in this repo also includes
|
|
126
|
+
* `.swarm/` (the cumulative runtime knowledge store), the gitignored
|
|
127
|
+
* `.claude/issue-traces/` directory (investigation traces), the gitignored files
|
|
128
|
+
* inside `.opencode/` (its `node_modules/`, `package.json`, lockfiles — via a
|
|
129
|
+
* nested `.opencode/.gitignore`), and root `node_modules/` (dependencies). A
|
|
130
|
+
* blanket `git clean -fdX` therefore silently destroyed `.swarm/knowledge.jsonl` —
|
|
131
|
+
* the exact file the finalize clean stage (`runCleanStage`) deliberately preserves.
|
|
132
|
+
* Restricting removal to this allowlist clears stale build output across the
|
|
133
|
+
* reset while leaving runtime/durable state and dependencies untouched.
|
|
134
|
+
* `dist/` is the repo's only committed build output (see the `clean`/`build`
|
|
135
|
+
* scripts in package.json); extend this list only with regenerable build output.
|
|
136
|
+
*/
|
|
137
|
+
export declare const GITIGNORED_BUILD_ARTIFACTS: readonly string[];
|
|
122
138
|
/**
|
|
123
139
|
* Aggressive git reset for post-merge cleanup.
|
|
124
140
|
* Handles the common scenario: feature branch PR merged, local has uncommitted artifacts.
|