claude-flow 3.39.2 → 3.39.3
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/node_modules/@claude-flow/codex/dist/cli.js +0 -0
- package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js +0 -0
- package/package.json +1 -1
- package/v3/@claude-flow/cli/catalog-manifest.json +2 -2
- package/v3/@claude-flow/cli/dist/src/log-filters.d.ts +3 -3
- package/v3/@claude-flow/cli/dist/src/mcp-tools/agentbbs-tools.d.ts +11 -0
- package/v3/@claude-flow/cli/dist/src/mcp-tools/agentbbs-tools.js +52 -29
- package/v3/@claude-flow/cli/package.json +1 -1
- package/v3/@claude-flow/shared/dist/core/config/schema.d.ts +96 -96
- package/.claude/.proven-config-version +0 -1
- package/.claude/helpers/.helpers-version +0 -1
- package/.claude/helpers/helpers.manifest.json +0 -13
- package/.claude/proven-config.json +0 -42
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@ declare const STDERR_REDIRECT_PREFIXES: string[];
|
|
|
40
40
|
declare const AGENTDB_MOCK_FALLBACK_DROP_PREFIXES: string[];
|
|
41
41
|
declare const shouldRedirectToStderr: (msg: unknown) => boolean;
|
|
42
42
|
declare const isAgentdbMockFallbackNoise: (msg: unknown) => boolean;
|
|
43
|
-
declare const origWarn: (...
|
|
44
|
-
declare const origLog: (...
|
|
45
|
-
declare const origError: (...
|
|
43
|
+
declare const origWarn: (message?: any, ...optionalParams: any[]) => void;
|
|
44
|
+
declare const origLog: (message?: any, ...optionalParams: any[]) => void;
|
|
45
|
+
declare const origError: (message?: any, ...optionalParams: any[]) => void;
|
|
46
46
|
//# sourceMappingURL=log-filters.d.ts.map
|
|
@@ -21,6 +21,17 @@
|
|
|
21
21
|
* so callers see one contract regardless of install state
|
|
22
22
|
* - Phase 1: polling-based watch (streaming subscriptions are Phase 4)
|
|
23
23
|
*
|
|
24
|
+
* Presence check: the published `agentbbs` package (as of 0.2.1) is a CLI-only
|
|
25
|
+
* launcher — a `bin` script with no importable JS entry point (no `main` /
|
|
26
|
+
* `exports` field) — that downloads/builds a Rust binary and shells out to it.
|
|
27
|
+
* `await import('agentbbs')` can therefore never resolve, even when the CLI is
|
|
28
|
+
* correctly installed and on PATH: there is no module for Node to find. This
|
|
29
|
+
* previously made every tool report `degraded: true` unconditionally,
|
|
30
|
+
* regardless of install state. Detect real availability instead by probing the
|
|
31
|
+
* CLI itself, matching how the rest of this codebase treats optional
|
|
32
|
+
* command-line tools (`shutil.which()`-style guards) rather than assuming a
|
|
33
|
+
* package shape the dependency doesn't have.
|
|
34
|
+
*
|
|
24
35
|
* @module @claude-flow/cli/mcp-tools/agentbbs
|
|
25
36
|
*/
|
|
26
37
|
import type { MCPTool } from './types.js';
|
|
@@ -21,33 +21,50 @@
|
|
|
21
21
|
* so callers see one contract regardless of install state
|
|
22
22
|
* - Phase 1: polling-based watch (streaming subscriptions are Phase 4)
|
|
23
23
|
*
|
|
24
|
+
* Presence check: the published `agentbbs` package (as of 0.2.1) is a CLI-only
|
|
25
|
+
* launcher — a `bin` script with no importable JS entry point (no `main` /
|
|
26
|
+
* `exports` field) — that downloads/builds a Rust binary and shells out to it.
|
|
27
|
+
* `await import('agentbbs')` can therefore never resolve, even when the CLI is
|
|
28
|
+
* correctly installed and on PATH: there is no module for Node to find. This
|
|
29
|
+
* previously made every tool report `degraded: true` unconditionally,
|
|
30
|
+
* regardless of install state. Detect real availability instead by probing the
|
|
31
|
+
* CLI itself, matching how the rest of this codebase treats optional
|
|
32
|
+
* command-line tools (`shutil.which()`-style guards) rather than assuming a
|
|
33
|
+
* package shape the dependency doesn't have.
|
|
34
|
+
*
|
|
24
35
|
* @module @claude-flow/cli/mcp-tools/agentbbs
|
|
25
36
|
*/
|
|
26
37
|
import { existsSync, mkdirSync, readFileSync, writeFileSync, appendFileSync } from 'node:fs';
|
|
27
38
|
import { resolve, isAbsolute, join } from 'node:path';
|
|
28
39
|
import { randomBytes, createHash } from 'node:crypto';
|
|
40
|
+
import { execFileSync } from 'node:child_process';
|
|
29
41
|
import { getProjectCwd } from './types.js';
|
|
30
|
-
const
|
|
31
|
-
// Cache: amortize
|
|
32
|
-
// null = not yet
|
|
33
|
-
let
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
_loadAttempted = true;
|
|
42
|
+
const CLI_NAME = 'agentbbs';
|
|
43
|
+
// Cache: amortize the subprocess probe cost across handler calls within a
|
|
44
|
+
// process. null = not yet probed; boolean = probe result.
|
|
45
|
+
let _cliAvailable = null;
|
|
46
|
+
function agentbbsCliAvailable() {
|
|
47
|
+
if (_cliAvailable !== null)
|
|
48
|
+
return _cliAvailable;
|
|
49
|
+
const bin = process.env.AGENTBBS_BIN || CLI_NAME;
|
|
39
50
|
try {
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
// On Windows npm's global-install shim is `agentbbs.cmd`, and
|
|
52
|
+
// child_process cannot spawn a .cmd without going through cmd.exe, which
|
|
53
|
+
// is what resolves the PATHEXT extension. POSIX keeps shell:false so the
|
|
54
|
+
// AGENTBBS_BIN override is never shell-interpreted — same convention as
|
|
55
|
+
// browser-tools.ts and commands/init.ts.
|
|
56
|
+
execFileSync(bin, ['--version'], {
|
|
57
|
+
stdio: 'ignore',
|
|
58
|
+
timeout: 5000,
|
|
59
|
+
shell: process.platform === 'win32',
|
|
60
|
+
windowsHide: true,
|
|
61
|
+
});
|
|
62
|
+
_cliAvailable = true;
|
|
42
63
|
}
|
|
43
|
-
catch
|
|
44
|
-
|
|
45
|
-
/Cannot find (module|package)/i.test(String(err?.message)))) {
|
|
46
|
-
_agentbbsMod = false;
|
|
47
|
-
return null;
|
|
48
|
-
}
|
|
49
|
-
throw err;
|
|
64
|
+
catch {
|
|
65
|
+
_cliAvailable = false;
|
|
50
66
|
}
|
|
67
|
+
return _cliAvailable;
|
|
51
68
|
}
|
|
52
69
|
function degradedResult(reason) {
|
|
53
70
|
return { success: true, degraded: true, reason };
|
|
@@ -128,12 +145,22 @@ function nextSeq(path) {
|
|
|
128
145
|
* agentbbs server's responsibility (nonce JTI tracking, per ADR-164 §3.2.4).
|
|
129
146
|
* Phase 2+ will wire this to the existing federation Ed25519 keypair.
|
|
130
147
|
*/
|
|
148
|
+
// Use @noble/ed25519 (already a hard dep of @claude-flow/cli for IPFS
|
|
149
|
+
// signing). Memoized behind one loader — two separate dynamic `import()`
|
|
150
|
+
// call sites for the same bare specifier in this module tripped up the
|
|
151
|
+
// test runner's dependency pre-bundling (surfaced once federation_bbs_
|
|
152
|
+
// human_join actually ran instead of always short-circuiting to degraded).
|
|
153
|
+
let _edMod = null;
|
|
154
|
+
async function loadEd25519() {
|
|
155
|
+
if (!_edMod)
|
|
156
|
+
_edMod = await import('@noble/ed25519');
|
|
157
|
+
return _edMod;
|
|
158
|
+
}
|
|
131
159
|
let _signingKey = null;
|
|
132
160
|
async function getSigningKey() {
|
|
133
161
|
if (_signingKey)
|
|
134
162
|
return _signingKey;
|
|
135
|
-
|
|
136
|
-
const ed = await import('@noble/ed25519');
|
|
163
|
+
const ed = await loadEd25519();
|
|
137
164
|
const priv = ed.utils.randomPrivateKey
|
|
138
165
|
? ed.utils.randomPrivateKey()
|
|
139
166
|
: randomBytes(32);
|
|
@@ -177,8 +204,7 @@ export const agentbbsTools = [
|
|
|
177
204
|
// to mask malformed requests.
|
|
178
205
|
const roomLabel = validateRoomLabel(String(input.roomLabel));
|
|
179
206
|
const basePath = resolveBasePath(input.basePath);
|
|
180
|
-
|
|
181
|
-
if (!api)
|
|
207
|
+
if (!agentbbsCliAvailable())
|
|
182
208
|
return degradedResult('agentbbs-not-found');
|
|
183
209
|
ensureDir(basePath);
|
|
184
210
|
const roomId = roomIdFromLabel(roomLabel);
|
|
@@ -260,8 +286,7 @@ export const agentbbsTools = [
|
|
|
260
286
|
if (typeof input.payload !== 'object' || input.payload === null) {
|
|
261
287
|
throw new Error('payload must be a JSON object');
|
|
262
288
|
}
|
|
263
|
-
|
|
264
|
-
if (!api)
|
|
289
|
+
if (!agentbbsCliAvailable())
|
|
265
290
|
return degradedResult('agentbbs-not-found');
|
|
266
291
|
ensureDir(basePath);
|
|
267
292
|
const logPath = roomLogPath(basePath, roomId);
|
|
@@ -314,8 +339,7 @@ export const agentbbsTools = [
|
|
|
314
339
|
handler: async (input) => {
|
|
315
340
|
const basePath = resolveBasePath(input.basePath);
|
|
316
341
|
const roomId = validateRoomId(String(input.roomId));
|
|
317
|
-
|
|
318
|
-
if (!api)
|
|
342
|
+
if (!agentbbsCliAvailable())
|
|
319
343
|
return degradedResult('agentbbs-not-found');
|
|
320
344
|
const limitRaw = typeof input.limit === 'number' ? input.limit : 50;
|
|
321
345
|
const limit = Math.max(1, Math.min(500, Math.trunc(limitRaw)));
|
|
@@ -358,8 +382,7 @@ export const agentbbsTools = [
|
|
|
358
382
|
},
|
|
359
383
|
handler: async (input) => {
|
|
360
384
|
const roomId = validateRoomId(String(input.roomId));
|
|
361
|
-
|
|
362
|
-
if (!api)
|
|
385
|
+
if (!agentbbsCliAvailable())
|
|
363
386
|
return degradedResult('agentbbs-not-found');
|
|
364
387
|
const ttlRaw = typeof input.ttlSeconds === 'number' ? input.ttlSeconds : 300;
|
|
365
388
|
const ttlSeconds = Math.max(30, Math.min(900, Math.trunc(ttlRaw)));
|
|
@@ -368,7 +391,7 @@ export const agentbbsTools = [
|
|
|
368
391
|
const nonce = base64url(randomBytes(16));
|
|
369
392
|
const payload = { roomId, nonce, expiresAt };
|
|
370
393
|
const canonical = JSON.stringify(payload);
|
|
371
|
-
const ed = await
|
|
394
|
+
const ed = await loadEd25519();
|
|
372
395
|
const { priv, pub } = await getSigningKey();
|
|
373
396
|
const sigBytes = await (ed.signAsync ?? ed.sign)(new TextEncoder().encode(canonical), priv);
|
|
374
397
|
// Token format: base64url(JSON{payload, sig, pub}). Single string, easy
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.39.
|
|
3
|
+
"version": "3.39.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
|
6
6
|
"main": "dist/src/index.js",
|
|
@@ -39,41 +39,41 @@ export declare const AgentConfigSchema: z.ZodObject<{
|
|
|
39
39
|
}>>;
|
|
40
40
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
|
|
42
|
+
capabilities: string[];
|
|
43
|
+
priority: number;
|
|
43
44
|
name: string;
|
|
44
45
|
type: string;
|
|
45
|
-
|
|
46
|
+
id: string;
|
|
46
47
|
maxConcurrentTasks: number;
|
|
47
|
-
|
|
48
|
+
metadata?: Record<string, unknown> | undefined;
|
|
49
|
+
resources?: {
|
|
50
|
+
maxMemoryMb?: number | undefined;
|
|
51
|
+
maxCpuPercent?: number | undefined;
|
|
52
|
+
} | undefined;
|
|
48
53
|
timeout?: number | undefined;
|
|
49
54
|
retryPolicy?: {
|
|
50
55
|
maxRetries: number;
|
|
51
56
|
backoffMs: number;
|
|
52
57
|
backoffMultiplier: number;
|
|
53
58
|
} | undefined;
|
|
54
|
-
resources?: {
|
|
55
|
-
maxMemoryMb?: number | undefined;
|
|
56
|
-
maxCpuPercent?: number | undefined;
|
|
57
|
-
} | undefined;
|
|
58
|
-
metadata?: Record<string, unknown> | undefined;
|
|
59
59
|
}, {
|
|
60
|
-
id: string;
|
|
61
60
|
name: string;
|
|
62
61
|
type: string;
|
|
62
|
+
id: string;
|
|
63
63
|
capabilities?: string[] | undefined;
|
|
64
|
-
maxConcurrentTasks?: number | undefined;
|
|
65
64
|
priority?: number | undefined;
|
|
65
|
+
metadata?: Record<string, unknown> | undefined;
|
|
66
|
+
resources?: {
|
|
67
|
+
maxMemoryMb?: number | undefined;
|
|
68
|
+
maxCpuPercent?: number | undefined;
|
|
69
|
+
} | undefined;
|
|
66
70
|
timeout?: number | undefined;
|
|
71
|
+
maxConcurrentTasks?: number | undefined;
|
|
67
72
|
retryPolicy?: {
|
|
68
73
|
maxRetries?: number | undefined;
|
|
69
74
|
backoffMs?: number | undefined;
|
|
70
75
|
backoffMultiplier?: number | undefined;
|
|
71
76
|
} | undefined;
|
|
72
|
-
resources?: {
|
|
73
|
-
maxMemoryMb?: number | undefined;
|
|
74
|
-
maxCpuPercent?: number | undefined;
|
|
75
|
-
} | undefined;
|
|
76
|
-
metadata?: Record<string, unknown> | undefined;
|
|
77
77
|
}>;
|
|
78
78
|
/**
|
|
79
79
|
* Task configuration schema
|
|
@@ -94,53 +94,53 @@ export declare const TaskConfigSchema: z.ZodObject<{
|
|
|
94
94
|
childTaskIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
95
95
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
96
96
|
}, "strip", z.ZodTypeAny, {
|
|
97
|
-
maxRetries?: number | undefined;
|
|
98
|
-
requiredCapabilities?: string[] | undefined;
|
|
99
|
-
retryCount?: number | undefined;
|
|
100
97
|
critical?: boolean | undefined;
|
|
98
|
+
retryCount?: number | undefined;
|
|
99
|
+
requiredCapabilities?: string[] | undefined;
|
|
100
|
+
maxRetries?: number | undefined;
|
|
101
101
|
parentTaskId?: string | undefined;
|
|
102
102
|
childTaskIds?: string[] | undefined;
|
|
103
103
|
tags?: string[] | undefined;
|
|
104
104
|
}, {
|
|
105
|
-
maxRetries?: number | undefined;
|
|
106
|
-
requiredCapabilities?: string[] | undefined;
|
|
107
|
-
retryCount?: number | undefined;
|
|
108
105
|
critical?: boolean | undefined;
|
|
106
|
+
retryCount?: number | undefined;
|
|
107
|
+
requiredCapabilities?: string[] | undefined;
|
|
108
|
+
maxRetries?: number | undefined;
|
|
109
109
|
parentTaskId?: string | undefined;
|
|
110
110
|
childTaskIds?: string[] | undefined;
|
|
111
111
|
tags?: string[] | undefined;
|
|
112
112
|
}>>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
type: string;
|
|
115
|
-
priority: number;
|
|
116
114
|
description: string;
|
|
117
|
-
|
|
115
|
+
priority: number;
|
|
116
|
+
type: string;
|
|
118
117
|
metadata?: {
|
|
119
|
-
maxRetries?: number | undefined;
|
|
120
|
-
requiredCapabilities?: string[] | undefined;
|
|
121
|
-
retryCount?: number | undefined;
|
|
122
118
|
critical?: boolean | undefined;
|
|
119
|
+
retryCount?: number | undefined;
|
|
120
|
+
requiredCapabilities?: string[] | undefined;
|
|
121
|
+
maxRetries?: number | undefined;
|
|
123
122
|
parentTaskId?: string | undefined;
|
|
124
123
|
childTaskIds?: string[] | undefined;
|
|
125
124
|
tags?: string[] | undefined;
|
|
126
125
|
} | undefined;
|
|
127
126
|
assignedAgent?: string | undefined;
|
|
127
|
+
timeout?: number | undefined;
|
|
128
128
|
input?: Record<string, unknown> | undefined;
|
|
129
129
|
}, {
|
|
130
|
-
type: string;
|
|
131
130
|
description: string;
|
|
131
|
+
type: string;
|
|
132
132
|
priority?: number | undefined;
|
|
133
|
-
timeout?: number | undefined;
|
|
134
133
|
metadata?: {
|
|
135
|
-
maxRetries?: number | undefined;
|
|
136
|
-
requiredCapabilities?: string[] | undefined;
|
|
137
|
-
retryCount?: number | undefined;
|
|
138
134
|
critical?: boolean | undefined;
|
|
135
|
+
retryCount?: number | undefined;
|
|
136
|
+
requiredCapabilities?: string[] | undefined;
|
|
137
|
+
maxRetries?: number | undefined;
|
|
139
138
|
parentTaskId?: string | undefined;
|
|
140
139
|
childTaskIds?: string[] | undefined;
|
|
141
140
|
tags?: string[] | undefined;
|
|
142
141
|
} | undefined;
|
|
143
142
|
assignedAgent?: string | undefined;
|
|
143
|
+
timeout?: number | undefined;
|
|
144
144
|
input?: Record<string, unknown> | undefined;
|
|
145
145
|
}>;
|
|
146
146
|
/**
|
|
@@ -211,7 +211,7 @@ export declare const SwarmConfigSchema: z.ZodObject<{
|
|
|
211
211
|
}>>;
|
|
212
212
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
213
213
|
}, "strip", z.ZodTypeAny, {
|
|
214
|
-
topology: "hierarchical" | "mesh" | "
|
|
214
|
+
topology: "hierarchical-mesh" | "mesh" | "hierarchical" | "ring" | "star" | "adaptive" | "pheromone-adaptive";
|
|
215
215
|
maxAgents: number;
|
|
216
216
|
metadata?: Record<string, unknown> | undefined;
|
|
217
217
|
autoScale?: {
|
|
@@ -235,9 +235,9 @@ export declare const SwarmConfigSchema: z.ZodObject<{
|
|
|
235
235
|
flushIntervalMs: number;
|
|
236
236
|
} | undefined;
|
|
237
237
|
}, {
|
|
238
|
-
topology: "hierarchical" | "mesh" | "
|
|
239
|
-
metadata?: Record<string, unknown> | undefined;
|
|
238
|
+
topology: "hierarchical-mesh" | "mesh" | "hierarchical" | "ring" | "star" | "adaptive" | "pheromone-adaptive";
|
|
240
239
|
maxAgents?: number | undefined;
|
|
240
|
+
metadata?: Record<string, unknown> | undefined;
|
|
241
241
|
autoScale?: {
|
|
242
242
|
maxAgents?: number | undefined;
|
|
243
243
|
enabled?: boolean | undefined;
|
|
@@ -326,7 +326,7 @@ export declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
326
326
|
vectorThreshold?: number | undefined;
|
|
327
327
|
}>>;
|
|
328
328
|
}, "strip", z.ZodTypeAny, {
|
|
329
|
-
type: "
|
|
329
|
+
type: "memory" | "sqlite" | "agentdb" | "hybrid" | "redis";
|
|
330
330
|
path?: string | undefined;
|
|
331
331
|
sqlite?: {
|
|
332
332
|
inMemory: boolean;
|
|
@@ -353,7 +353,7 @@ export declare const MemoryConfigSchema: z.ZodObject<{
|
|
|
353
353
|
maxSize?: number | undefined;
|
|
354
354
|
ttlMs?: number | undefined;
|
|
355
355
|
}, {
|
|
356
|
-
type?: "
|
|
356
|
+
type?: "memory" | "sqlite" | "agentdb" | "hybrid" | "redis" | undefined;
|
|
357
357
|
path?: string | undefined;
|
|
358
358
|
sqlite?: {
|
|
359
359
|
filename?: string | undefined;
|
|
@@ -444,7 +444,6 @@ export declare const MCPServerConfigSchema: z.ZodObject<{
|
|
|
444
444
|
host?: string | undefined;
|
|
445
445
|
port?: number | undefined;
|
|
446
446
|
};
|
|
447
|
-
name?: string | undefined;
|
|
448
447
|
capabilities?: {
|
|
449
448
|
resources?: boolean | undefined;
|
|
450
449
|
tools?: boolean | undefined;
|
|
@@ -452,6 +451,7 @@ export declare const MCPServerConfigSchema: z.ZodObject<{
|
|
|
452
451
|
logging?: boolean | undefined;
|
|
453
452
|
experimental?: Record<string, boolean> | undefined;
|
|
454
453
|
} | undefined;
|
|
454
|
+
name?: string | undefined;
|
|
455
455
|
version?: string | undefined;
|
|
456
456
|
}>;
|
|
457
457
|
/**
|
|
@@ -504,17 +504,17 @@ export declare const OrchestratorConfigSchema: z.ZodObject<{
|
|
|
504
504
|
maxSpawnRetries?: number | undefined;
|
|
505
505
|
}>;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
session: {
|
|
508
|
-
persistSessions: boolean;
|
|
509
|
-
dataDir: string;
|
|
510
|
-
sessionRetentionMs: number;
|
|
511
|
-
};
|
|
512
507
|
health: {
|
|
513
508
|
checkInterval: number;
|
|
514
509
|
historyLimit: number;
|
|
515
510
|
degradedThreshold: number;
|
|
516
511
|
unhealthyThreshold: number;
|
|
517
512
|
};
|
|
513
|
+
session: {
|
|
514
|
+
persistSessions: boolean;
|
|
515
|
+
dataDir: string;
|
|
516
|
+
sessionRetentionMs: number;
|
|
517
|
+
};
|
|
518
518
|
lifecycle: {
|
|
519
519
|
maxConcurrentAgents: number;
|
|
520
520
|
spawnTimeout: number;
|
|
@@ -522,17 +522,17 @@ export declare const OrchestratorConfigSchema: z.ZodObject<{
|
|
|
522
522
|
maxSpawnRetries: number;
|
|
523
523
|
};
|
|
524
524
|
}, {
|
|
525
|
-
session: {
|
|
526
|
-
persistSessions?: boolean | undefined;
|
|
527
|
-
dataDir?: string | undefined;
|
|
528
|
-
sessionRetentionMs?: number | undefined;
|
|
529
|
-
};
|
|
530
525
|
health: {
|
|
531
526
|
checkInterval?: number | undefined;
|
|
532
527
|
historyLimit?: number | undefined;
|
|
533
528
|
degradedThreshold?: number | undefined;
|
|
534
529
|
unhealthyThreshold?: number | undefined;
|
|
535
530
|
};
|
|
531
|
+
session: {
|
|
532
|
+
persistSessions?: boolean | undefined;
|
|
533
|
+
dataDir?: string | undefined;
|
|
534
|
+
sessionRetentionMs?: number | undefined;
|
|
535
|
+
};
|
|
536
536
|
lifecycle: {
|
|
537
537
|
maxConcurrentAgents?: number | undefined;
|
|
538
538
|
spawnTimeout?: number | undefined;
|
|
@@ -593,17 +593,17 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
593
593
|
maxSpawnRetries?: number | undefined;
|
|
594
594
|
}>;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
596
|
-
session: {
|
|
597
|
-
persistSessions: boolean;
|
|
598
|
-
dataDir: string;
|
|
599
|
-
sessionRetentionMs: number;
|
|
600
|
-
};
|
|
601
596
|
health: {
|
|
602
597
|
checkInterval: number;
|
|
603
598
|
historyLimit: number;
|
|
604
599
|
degradedThreshold: number;
|
|
605
600
|
unhealthyThreshold: number;
|
|
606
601
|
};
|
|
602
|
+
session: {
|
|
603
|
+
persistSessions: boolean;
|
|
604
|
+
dataDir: string;
|
|
605
|
+
sessionRetentionMs: number;
|
|
606
|
+
};
|
|
607
607
|
lifecycle: {
|
|
608
608
|
maxConcurrentAgents: number;
|
|
609
609
|
spawnTimeout: number;
|
|
@@ -611,17 +611,17 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
611
611
|
maxSpawnRetries: number;
|
|
612
612
|
};
|
|
613
613
|
}, {
|
|
614
|
-
session: {
|
|
615
|
-
persistSessions?: boolean | undefined;
|
|
616
|
-
dataDir?: string | undefined;
|
|
617
|
-
sessionRetentionMs?: number | undefined;
|
|
618
|
-
};
|
|
619
614
|
health: {
|
|
620
615
|
checkInterval?: number | undefined;
|
|
621
616
|
historyLimit?: number | undefined;
|
|
622
617
|
degradedThreshold?: number | undefined;
|
|
623
618
|
unhealthyThreshold?: number | undefined;
|
|
624
619
|
};
|
|
620
|
+
session: {
|
|
621
|
+
persistSessions?: boolean | undefined;
|
|
622
|
+
dataDir?: string | undefined;
|
|
623
|
+
sessionRetentionMs?: number | undefined;
|
|
624
|
+
};
|
|
625
625
|
lifecycle: {
|
|
626
626
|
maxConcurrentAgents?: number | undefined;
|
|
627
627
|
spawnTimeout?: number | undefined;
|
|
@@ -693,7 +693,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
693
693
|
vectorThreshold?: number | undefined;
|
|
694
694
|
}>>;
|
|
695
695
|
}, "strip", z.ZodTypeAny, {
|
|
696
|
-
type: "
|
|
696
|
+
type: "memory" | "sqlite" | "agentdb" | "hybrid" | "redis";
|
|
697
697
|
path?: string | undefined;
|
|
698
698
|
sqlite?: {
|
|
699
699
|
inMemory: boolean;
|
|
@@ -720,7 +720,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
720
720
|
maxSize?: number | undefined;
|
|
721
721
|
ttlMs?: number | undefined;
|
|
722
722
|
}, {
|
|
723
|
-
type?: "
|
|
723
|
+
type?: "memory" | "sqlite" | "agentdb" | "hybrid" | "redis" | undefined;
|
|
724
724
|
path?: string | undefined;
|
|
725
725
|
sqlite?: {
|
|
726
726
|
filename?: string | undefined;
|
|
@@ -808,7 +808,6 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
808
808
|
host?: string | undefined;
|
|
809
809
|
port?: number | undefined;
|
|
810
810
|
};
|
|
811
|
-
name?: string | undefined;
|
|
812
811
|
capabilities?: {
|
|
813
812
|
resources?: boolean | undefined;
|
|
814
813
|
tools?: boolean | undefined;
|
|
@@ -816,6 +815,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
816
815
|
logging?: boolean | undefined;
|
|
817
816
|
experimental?: Record<string, boolean> | undefined;
|
|
818
817
|
} | undefined;
|
|
818
|
+
name?: string | undefined;
|
|
819
819
|
version?: string | undefined;
|
|
820
820
|
}>>;
|
|
821
821
|
swarm: z.ZodOptional<z.ZodObject<{
|
|
@@ -883,7 +883,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
883
883
|
}>>;
|
|
884
884
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
885
885
|
}, "strip", z.ZodTypeAny, {
|
|
886
|
-
topology: "hierarchical" | "mesh" | "
|
|
886
|
+
topology: "hierarchical-mesh" | "mesh" | "hierarchical" | "ring" | "star" | "adaptive" | "pheromone-adaptive";
|
|
887
887
|
maxAgents: number;
|
|
888
888
|
metadata?: Record<string, unknown> | undefined;
|
|
889
889
|
autoScale?: {
|
|
@@ -907,9 +907,9 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
907
907
|
flushIntervalMs: number;
|
|
908
908
|
} | undefined;
|
|
909
909
|
}, {
|
|
910
|
-
topology: "hierarchical" | "mesh" | "
|
|
911
|
-
metadata?: Record<string, unknown> | undefined;
|
|
910
|
+
topology: "hierarchical-mesh" | "mesh" | "hierarchical" | "ring" | "star" | "adaptive" | "pheromone-adaptive";
|
|
912
911
|
maxAgents?: number | undefined;
|
|
912
|
+
metadata?: Record<string, unknown> | undefined;
|
|
913
913
|
autoScale?: {
|
|
914
914
|
maxAgents?: number | undefined;
|
|
915
915
|
enabled?: boolean | undefined;
|
|
@@ -979,17 +979,17 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
979
979
|
maxSpawnRetries?: number | undefined;
|
|
980
980
|
}>;
|
|
981
981
|
}, "strip", z.ZodTypeAny, {
|
|
982
|
-
session: {
|
|
983
|
-
persistSessions: boolean;
|
|
984
|
-
dataDir: string;
|
|
985
|
-
sessionRetentionMs: number;
|
|
986
|
-
};
|
|
987
982
|
health: {
|
|
988
983
|
checkInterval: number;
|
|
989
984
|
historyLimit: number;
|
|
990
985
|
degradedThreshold: number;
|
|
991
986
|
unhealthyThreshold: number;
|
|
992
987
|
};
|
|
988
|
+
session: {
|
|
989
|
+
persistSessions: boolean;
|
|
990
|
+
dataDir: string;
|
|
991
|
+
sessionRetentionMs: number;
|
|
992
|
+
};
|
|
993
993
|
lifecycle: {
|
|
994
994
|
maxConcurrentAgents: number;
|
|
995
995
|
spawnTimeout: number;
|
|
@@ -997,17 +997,17 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
997
997
|
maxSpawnRetries: number;
|
|
998
998
|
};
|
|
999
999
|
}, {
|
|
1000
|
-
session: {
|
|
1001
|
-
persistSessions?: boolean | undefined;
|
|
1002
|
-
dataDir?: string | undefined;
|
|
1003
|
-
sessionRetentionMs?: number | undefined;
|
|
1004
|
-
};
|
|
1005
1000
|
health: {
|
|
1006
1001
|
checkInterval?: number | undefined;
|
|
1007
1002
|
historyLimit?: number | undefined;
|
|
1008
1003
|
degradedThreshold?: number | undefined;
|
|
1009
1004
|
unhealthyThreshold?: number | undefined;
|
|
1010
1005
|
};
|
|
1006
|
+
session: {
|
|
1007
|
+
persistSessions?: boolean | undefined;
|
|
1008
|
+
dataDir?: string | undefined;
|
|
1009
|
+
sessionRetentionMs?: number | undefined;
|
|
1010
|
+
};
|
|
1011
1011
|
lifecycle: {
|
|
1012
1012
|
maxConcurrentAgents?: number | undefined;
|
|
1013
1013
|
spawnTimeout?: number | undefined;
|
|
@@ -1079,7 +1079,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1079
1079
|
vectorThreshold?: number | undefined;
|
|
1080
1080
|
}>>;
|
|
1081
1081
|
}, "strip", z.ZodTypeAny, {
|
|
1082
|
-
type: "
|
|
1082
|
+
type: "memory" | "sqlite" | "agentdb" | "hybrid" | "redis";
|
|
1083
1083
|
path?: string | undefined;
|
|
1084
1084
|
sqlite?: {
|
|
1085
1085
|
inMemory: boolean;
|
|
@@ -1106,7 +1106,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1106
1106
|
maxSize?: number | undefined;
|
|
1107
1107
|
ttlMs?: number | undefined;
|
|
1108
1108
|
}, {
|
|
1109
|
-
type?: "
|
|
1109
|
+
type?: "memory" | "sqlite" | "agentdb" | "hybrid" | "redis" | undefined;
|
|
1110
1110
|
path?: string | undefined;
|
|
1111
1111
|
sqlite?: {
|
|
1112
1112
|
filename?: string | undefined;
|
|
@@ -1194,7 +1194,6 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1194
1194
|
host?: string | undefined;
|
|
1195
1195
|
port?: number | undefined;
|
|
1196
1196
|
};
|
|
1197
|
-
name?: string | undefined;
|
|
1198
1197
|
capabilities?: {
|
|
1199
1198
|
resources?: boolean | undefined;
|
|
1200
1199
|
tools?: boolean | undefined;
|
|
@@ -1202,6 +1201,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1202
1201
|
logging?: boolean | undefined;
|
|
1203
1202
|
experimental?: Record<string, boolean> | undefined;
|
|
1204
1203
|
} | undefined;
|
|
1204
|
+
name?: string | undefined;
|
|
1205
1205
|
version?: string | undefined;
|
|
1206
1206
|
}>>;
|
|
1207
1207
|
swarm: z.ZodOptional<z.ZodObject<{
|
|
@@ -1269,7 +1269,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1269
1269
|
}>>;
|
|
1270
1270
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1271
1271
|
}, "strip", z.ZodTypeAny, {
|
|
1272
|
-
topology: "hierarchical" | "mesh" | "
|
|
1272
|
+
topology: "hierarchical-mesh" | "mesh" | "hierarchical" | "ring" | "star" | "adaptive" | "pheromone-adaptive";
|
|
1273
1273
|
maxAgents: number;
|
|
1274
1274
|
metadata?: Record<string, unknown> | undefined;
|
|
1275
1275
|
autoScale?: {
|
|
@@ -1293,9 +1293,9 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1293
1293
|
flushIntervalMs: number;
|
|
1294
1294
|
} | undefined;
|
|
1295
1295
|
}, {
|
|
1296
|
-
topology: "hierarchical" | "mesh" | "
|
|
1297
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1296
|
+
topology: "hierarchical-mesh" | "mesh" | "hierarchical" | "ring" | "star" | "adaptive" | "pheromone-adaptive";
|
|
1298
1297
|
maxAgents?: number | undefined;
|
|
1298
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1299
1299
|
autoScale?: {
|
|
1300
1300
|
maxAgents?: number | undefined;
|
|
1301
1301
|
enabled?: boolean | undefined;
|
|
@@ -1365,17 +1365,17 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1365
1365
|
maxSpawnRetries?: number | undefined;
|
|
1366
1366
|
}>;
|
|
1367
1367
|
}, "strip", z.ZodTypeAny, {
|
|
1368
|
-
session: {
|
|
1369
|
-
persistSessions: boolean;
|
|
1370
|
-
dataDir: string;
|
|
1371
|
-
sessionRetentionMs: number;
|
|
1372
|
-
};
|
|
1373
1368
|
health: {
|
|
1374
1369
|
checkInterval: number;
|
|
1375
1370
|
historyLimit: number;
|
|
1376
1371
|
degradedThreshold: number;
|
|
1377
1372
|
unhealthyThreshold: number;
|
|
1378
1373
|
};
|
|
1374
|
+
session: {
|
|
1375
|
+
persistSessions: boolean;
|
|
1376
|
+
dataDir: string;
|
|
1377
|
+
sessionRetentionMs: number;
|
|
1378
|
+
};
|
|
1379
1379
|
lifecycle: {
|
|
1380
1380
|
maxConcurrentAgents: number;
|
|
1381
1381
|
spawnTimeout: number;
|
|
@@ -1383,17 +1383,17 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1383
1383
|
maxSpawnRetries: number;
|
|
1384
1384
|
};
|
|
1385
1385
|
}, {
|
|
1386
|
-
session: {
|
|
1387
|
-
persistSessions?: boolean | undefined;
|
|
1388
|
-
dataDir?: string | undefined;
|
|
1389
|
-
sessionRetentionMs?: number | undefined;
|
|
1390
|
-
};
|
|
1391
1386
|
health: {
|
|
1392
1387
|
checkInterval?: number | undefined;
|
|
1393
1388
|
historyLimit?: number | undefined;
|
|
1394
1389
|
degradedThreshold?: number | undefined;
|
|
1395
1390
|
unhealthyThreshold?: number | undefined;
|
|
1396
1391
|
};
|
|
1392
|
+
session: {
|
|
1393
|
+
persistSessions?: boolean | undefined;
|
|
1394
|
+
dataDir?: string | undefined;
|
|
1395
|
+
sessionRetentionMs?: number | undefined;
|
|
1396
|
+
};
|
|
1397
1397
|
lifecycle: {
|
|
1398
1398
|
maxConcurrentAgents?: number | undefined;
|
|
1399
1399
|
spawnTimeout?: number | undefined;
|
|
@@ -1465,7 +1465,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1465
1465
|
vectorThreshold?: number | undefined;
|
|
1466
1466
|
}>>;
|
|
1467
1467
|
}, "strip", z.ZodTypeAny, {
|
|
1468
|
-
type: "
|
|
1468
|
+
type: "memory" | "sqlite" | "agentdb" | "hybrid" | "redis";
|
|
1469
1469
|
path?: string | undefined;
|
|
1470
1470
|
sqlite?: {
|
|
1471
1471
|
inMemory: boolean;
|
|
@@ -1492,7 +1492,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1492
1492
|
maxSize?: number | undefined;
|
|
1493
1493
|
ttlMs?: number | undefined;
|
|
1494
1494
|
}, {
|
|
1495
|
-
type?: "
|
|
1495
|
+
type?: "memory" | "sqlite" | "agentdb" | "hybrid" | "redis" | undefined;
|
|
1496
1496
|
path?: string | undefined;
|
|
1497
1497
|
sqlite?: {
|
|
1498
1498
|
filename?: string | undefined;
|
|
@@ -1580,7 +1580,6 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1580
1580
|
host?: string | undefined;
|
|
1581
1581
|
port?: number | undefined;
|
|
1582
1582
|
};
|
|
1583
|
-
name?: string | undefined;
|
|
1584
1583
|
capabilities?: {
|
|
1585
1584
|
resources?: boolean | undefined;
|
|
1586
1585
|
tools?: boolean | undefined;
|
|
@@ -1588,6 +1587,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1588
1587
|
logging?: boolean | undefined;
|
|
1589
1588
|
experimental?: Record<string, boolean> | undefined;
|
|
1590
1589
|
} | undefined;
|
|
1590
|
+
name?: string | undefined;
|
|
1591
1591
|
version?: string | undefined;
|
|
1592
1592
|
}>>;
|
|
1593
1593
|
swarm: z.ZodOptional<z.ZodObject<{
|
|
@@ -1655,7 +1655,7 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1655
1655
|
}>>;
|
|
1656
1656
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1657
1657
|
}, "strip", z.ZodTypeAny, {
|
|
1658
|
-
topology: "hierarchical" | "mesh" | "
|
|
1658
|
+
topology: "hierarchical-mesh" | "mesh" | "hierarchical" | "ring" | "star" | "adaptive" | "pheromone-adaptive";
|
|
1659
1659
|
maxAgents: number;
|
|
1660
1660
|
metadata?: Record<string, unknown> | undefined;
|
|
1661
1661
|
autoScale?: {
|
|
@@ -1679,9 +1679,9 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1679
1679
|
flushIntervalMs: number;
|
|
1680
1680
|
} | undefined;
|
|
1681
1681
|
}, {
|
|
1682
|
-
topology: "hierarchical" | "mesh" | "
|
|
1683
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1682
|
+
topology: "hierarchical-mesh" | "mesh" | "hierarchical" | "ring" | "star" | "adaptive" | "pheromone-adaptive";
|
|
1684
1683
|
maxAgents?: number | undefined;
|
|
1684
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1685
1685
|
autoScale?: {
|
|
1686
1686
|
maxAgents?: number | undefined;
|
|
1687
1687
|
enabled?: boolean | undefined;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3.32.24
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"manifest": {
|
|
3
|
-
"version": "3.32.24",
|
|
4
|
-
"files": {
|
|
5
|
-
"auto-memory-hook.mjs": "68be7e9a9eba7bf9c4e8a230db7bf61a243b965639f8504842799d6c6ca28762",
|
|
6
|
-
"hook-handler.cjs": "50ea92a72651bdc95634f7588d56a5870963168eef5226f66ed14af3b47c8d9a",
|
|
7
|
-
"intelligence.cjs": "bd1f8e4b034944aee1df0391dc47ac2e8cc4b3aa542c65407a59d49620bbf76b",
|
|
8
|
-
"statusline.cjs": "d2a0eac56d1267d8dbed2d70b09feb592299469196ec4b215909f2b052144882"
|
|
9
|
-
}
|
|
10
|
-
},
|
|
11
|
-
"signature": "Vi6dza9CfZgo25+eTMJ81fUjsNtQQfUZUZS61MxpBTlilSBTo88cNCCy4ZNC7OfH2r2JOYS7HqqYotf0/AJ9DA==",
|
|
12
|
-
"algorithm": "ed25519"
|
|
13
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"adoptedAt": 1783689629580,
|
|
3
|
-
"championId": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
|
|
4
|
-
"manifest": {
|
|
5
|
-
"schema": "ruflo.proven-config/v1",
|
|
6
|
-
"policy": {
|
|
7
|
-
"ref": "sha256:6141a8ea990c5063b77e090ae8f37f9c539d8aa8f58dcceb30f3a82f97e57319",
|
|
8
|
-
"value": {
|
|
9
|
-
"alpha": 0.3,
|
|
10
|
-
"subjectWeight": 1,
|
|
11
|
-
"mmrLambda": 0.5,
|
|
12
|
-
"bodyWeight": 1.5,
|
|
13
|
-
"typePenaltyFactor": 0.5
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"layer": "framework/node-cli",
|
|
17
|
-
"compatibility": {
|
|
18
|
-
"ruflo": ">=3.24.0"
|
|
19
|
-
},
|
|
20
|
-
"benchmark": {
|
|
21
|
-
"corpus": "ADR-081-labelled-v1",
|
|
22
|
-
"corpusHash": "sha256:2f700b5c363e20a3bd88ce2bc9b87bbbbaa61732c6177894c6ec37890f888982"
|
|
23
|
-
},
|
|
24
|
-
"receipt": {
|
|
25
|
-
"heldOutDelta": 0.07381404928570845,
|
|
26
|
-
"redblue": "PASS",
|
|
27
|
-
"drift": 0,
|
|
28
|
-
"canary": {
|
|
29
|
-
"rollbackRate": 0,
|
|
30
|
-
"latencyP95": 244.612458000076,
|
|
31
|
-
"costPerTask": 0
|
|
32
|
-
},
|
|
33
|
-
"receiptCoverage": 1
|
|
34
|
-
},
|
|
35
|
-
"platform": [
|
|
36
|
-
"linux",
|
|
37
|
-
"macOS",
|
|
38
|
-
"windows"
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"previous": ""
|
|
42
|
-
}
|