opencode-swarm 7.32.3 → 7.33.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/dist/cli/index.js +6 -2
- package/dist/config/schema.d.ts +16 -2
- package/dist/index.js +777 -391
- package/dist/memory/config.d.ts +5 -1
- package/dist/memory/gateway.d.ts +2 -0
- package/dist/memory/index.d.ts +2 -1
- package/dist/memory/provider.d.ts +1 -0
- package/dist/memory/sqlite-provider.d.ts +39 -0
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -34,7 +34,7 @@ var package_default;
|
|
|
34
34
|
var init_package = __esm(() => {
|
|
35
35
|
package_default = {
|
|
36
36
|
name: "opencode-swarm",
|
|
37
|
-
version: "7.
|
|
37
|
+
version: "7.33.0",
|
|
38
38
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
39
39
|
main: "dist/index.js",
|
|
40
40
|
types: "dist/index.d.ts",
|
|
@@ -17326,8 +17326,12 @@ var init_schema = __esm(() => {
|
|
|
17326
17326
|
});
|
|
17327
17327
|
MemoryConfigSchema = exports_external.object({
|
|
17328
17328
|
enabled: exports_external.boolean().default(false),
|
|
17329
|
-
provider: exports_external.
|
|
17329
|
+
provider: exports_external.enum(["local-jsonl", "sqlite"]).default("local-jsonl"),
|
|
17330
17330
|
storageDir: exports_external.string().default(".swarm/memory"),
|
|
17331
|
+
sqlite: exports_external.object({
|
|
17332
|
+
path: exports_external.string().default(".swarm/memory/memory.db"),
|
|
17333
|
+
busyTimeoutMs: exports_external.number().int().min(0).max(60000).default(5000)
|
|
17334
|
+
}).default({ path: ".swarm/memory/memory.db", busyTimeoutMs: 5000 }),
|
|
17331
17335
|
recall: exports_external.object({
|
|
17332
17336
|
defaultMaxItems: exports_external.number().int().min(1).max(20).default(8),
|
|
17333
17337
|
defaultTokenBudget: exports_external.number().int().min(100).max(5000).default(1200),
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -504,8 +504,15 @@ export declare const KnowledgeConfigSchema: z.ZodObject<{
|
|
|
504
504
|
export type KnowledgeConfig = z.infer<typeof KnowledgeConfigSchema>;
|
|
505
505
|
export declare const MemoryConfigSchema: z.ZodObject<{
|
|
506
506
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
507
|
-
provider: z.ZodDefault<z.
|
|
507
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
508
|
+
"local-jsonl": "local-jsonl";
|
|
509
|
+
sqlite: "sqlite";
|
|
510
|
+
}>>;
|
|
508
511
|
storageDir: z.ZodDefault<z.ZodString>;
|
|
512
|
+
sqlite: z.ZodDefault<z.ZodObject<{
|
|
513
|
+
path: z.ZodDefault<z.ZodString>;
|
|
514
|
+
busyTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
515
|
+
}, z.core.$strip>>;
|
|
509
516
|
recall: z.ZodDefault<z.ZodObject<{
|
|
510
517
|
defaultMaxItems: z.ZodDefault<z.ZodNumber>;
|
|
511
518
|
defaultTokenBudget: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1162,8 +1169,15 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
1162
1169
|
}, z.core.$strip>>;
|
|
1163
1170
|
memory: z.ZodOptional<z.ZodObject<{
|
|
1164
1171
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
1165
|
-
provider: z.ZodDefault<z.
|
|
1172
|
+
provider: z.ZodDefault<z.ZodEnum<{
|
|
1173
|
+
"local-jsonl": "local-jsonl";
|
|
1174
|
+
sqlite: "sqlite";
|
|
1175
|
+
}>>;
|
|
1166
1176
|
storageDir: z.ZodDefault<z.ZodString>;
|
|
1177
|
+
sqlite: z.ZodDefault<z.ZodObject<{
|
|
1178
|
+
path: z.ZodDefault<z.ZodString>;
|
|
1179
|
+
busyTimeoutMs: z.ZodDefault<z.ZodNumber>;
|
|
1180
|
+
}, z.core.$strip>>;
|
|
1167
1181
|
recall: z.ZodDefault<z.ZodObject<{
|
|
1168
1182
|
defaultMaxItems: z.ZodDefault<z.ZodNumber>;
|
|
1169
1183
|
defaultTokenBudget: z.ZodDefault<z.ZodNumber>;
|