claude-flow 3.65.1 → 3.66.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/.claude/helpers/hook-handler.cjs +66 -0
- package/.claude/helpers/learning-loop.cjs +594 -0
- package/node_modules/@claude-flow/codex/dist/cli.js +0 -0
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/policy-engine.d.ts.map +1 -1
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/policy-engine.js +31 -0
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/policy-engine.js.map +1 -1
- package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.js +0 -0
- package/node_modules/@claude-flow/plugin-agent-federation/package.json +1 -1
- package/node_modules/@claude-flow/security/dist/input-validator.d.ts +6 -6
- package/package.json +2 -2
- package/v3/@claude-flow/cli/catalog-manifest.json +2 -2
- package/v3/@claude-flow/cli/dist/src/commands/hooks.js +4 -1
- package/v3/@claude-flow/cli/dist/src/init/executor.js +1 -1
- package/v3/@claude-flow/cli/dist/src/init/helper-refresh.js +4 -0
- package/v3/@claude-flow/cli/dist/src/mcp-tools/memory-tools.js +14 -0
- package/v3/@claude-flow/cli/dist/src/memory/memory-bridge.js +21 -1
- package/v3/@claude-flow/cli/dist/src/memory/sona-optimizer.d.ts +7 -0
- package/v3/@claude-flow/cli/dist/src/memory/sona-optimizer.js +36 -6
- package/v3/@claude-flow/cli/dist/src/memory/verified-lessons.d.ts +80 -0
- package/v3/@claude-flow/cli/dist/src/memory/verified-lessons.js +113 -0
- package/v3/@claude-flow/cli/dist/src/memory/verified-outcomes.d.ts +9 -47
- package/v3/@claude-flow/cli/dist/src/memory/verified-outcomes.js +11 -46
- package/v3/@claude-flow/cli/dist/src/missions/schemas.d.ts +122 -122
- package/v3/@claude-flow/cli/dist/src/mods/command-registry/schema.d.ts +189 -189
- package/v3/@claude-flow/cli/dist/src/update/rate-limiter.d.ts +6 -0
- package/v3/@claude-flow/cli/dist/src/update/rate-limiter.js +12 -1
- package/v3/@claude-flow/cli/package.json +4 -4
- package/v3/@claude-flow/shared/dist/core/config/schema.d.ts +96 -96
- package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/agent-card.d.ts +0 -130
- package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/consume.d.ts +0 -34
- package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/planner-descriptor.d.ts +0 -40
- package/node_modules/@claude-flow/plugin-agent-federation/dist/a2a/well-known.d.ts +0 -46
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/claim-checker.d.ts +0 -27
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-breaker-service.d.ts +0 -192
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/federation-coordinator.d.ts +0 -211
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/inbound-dispatcher.d.ts +0 -113
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/policy-engine.d.ts +0 -41
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/spend-reporter.d.ts +0 -150
- package/node_modules/@claude-flow/plugin-agent-federation/dist/application/trust-evaluator.d.ts +0 -74
- package/node_modules/@claude-flow/plugin-agent-federation/dist/bin.d.ts +0 -13
- package/node_modules/@claude-flow/plugin-agent-federation/dist/cli-commands.d.ts +0 -7
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-envelope.d.ts +0 -45
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-node.d.ts +0 -104
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/federation-session.d.ts +0 -55
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/entities/trust-level.d.ts +0 -17
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/audit-service.d.ts +0 -69
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/discovery-service.d.ts +0 -76
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/handshake-service.d.ts +0 -62
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/pii-pipeline-service.d.ts +0 -65
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/routing-service.d.ts +0 -54
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-firewall-service.d.ts +0 -71
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-mesh-service.d.ts +0 -156
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/services/wg-witness-service.d.ts +0 -98
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-budget.d.ts +0 -89
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/federation-node-state.d.ts +0 -92
- package/node_modules/@claude-flow/plugin-agent-federation/dist/domain/value-objects/wg-config.d.ts +0 -70
- package/node_modules/@claude-flow/plugin-agent-federation/dist/index.d.ts +0 -24
- package/node_modules/@claude-flow/plugin-agent-federation/dist/mcp-tools.d.ts +0 -10
- package/node_modules/@claude-flow/plugin-agent-federation/dist/plugin.d.ts +0 -19
- package/node_modules/@claude-flow/plugin-agent-federation/dist/transport/midstream-aware-loader.d.ts +0 -72
- package/node_modules/@claude-flow/plugin-agent-federation/dist/version.d.ts +0 -3
|
@@ -10,6 +10,12 @@ export interface RateLimitState {
|
|
|
10
10
|
}
|
|
11
11
|
export declare function loadState(): RateLimitState;
|
|
12
12
|
export declare function saveState(state: RateLimitState): void;
|
|
13
|
+
/**
|
|
14
|
+
* Whether this is a CI run. CI systems set `CI` to `true`, `1` or other values, so any value
|
|
15
|
+
* except empty, `0` or `false` counts (GitHub Actions sets CI=true). Matching only `true` let CI=1 runs check for updates and
|
|
16
|
+
* install one (`npm install @claude-flow/cli@<latest>`) into the working directory mid-run.
|
|
17
|
+
*/
|
|
18
|
+
export declare function isCI(env?: NodeJS.ProcessEnv): boolean;
|
|
13
19
|
export declare function shouldCheckForUpdates(intervalHours?: number): {
|
|
14
20
|
allowed: boolean;
|
|
15
21
|
reason?: string;
|
|
@@ -45,9 +45,20 @@ export function saveState(state) {
|
|
|
45
45
|
ensureDir();
|
|
46
46
|
fs.writeFileSync(STATE_FILE, JSON.stringify(state, null, 2));
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Whether this is a CI run. CI systems set `CI` to `true`, `1` or other values, so any value
|
|
50
|
+
* except empty, `0` or `false` counts (GitHub Actions sets CI=true). Matching only `true` let CI=1 runs check for updates and
|
|
51
|
+
* install one (`npm install @claude-flow/cli@<latest>`) into the working directory mid-run.
|
|
52
|
+
*/
|
|
53
|
+
export function isCI(env = process.env) {
|
|
54
|
+
return ['CI', 'CONTINUOUS_INTEGRATION'].some((name) => {
|
|
55
|
+
const value = env[name];
|
|
56
|
+
return value !== undefined && value.trim() !== '' && !/^(0|false)$/i.test(value.trim());
|
|
57
|
+
});
|
|
58
|
+
}
|
|
48
59
|
export function shouldCheckForUpdates(intervalHours = DEFAULT_INTERVAL_HOURS) {
|
|
49
60
|
// Skip in CI environments
|
|
50
|
-
if (
|
|
61
|
+
if (isCI()) {
|
|
51
62
|
return { allowed: false, reason: 'CI environment detected' };
|
|
52
63
|
}
|
|
53
64
|
// Skip if explicitly disabled
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@claude-flow/cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.66.1",
|
|
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",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"@claude-flow/codex": "3.0.5",
|
|
106
106
|
"@claude-flow/mcp": "3.1.4",
|
|
107
107
|
"@claude-flow/neural": "3.0.1",
|
|
108
|
-
"@claude-flow/plugin-agent-federation": "1.0.
|
|
108
|
+
"@claude-flow/plugin-agent-federation": "1.0.4",
|
|
109
109
|
"@claude-flow/security": "3.0.5",
|
|
110
110
|
"@claude-flow/shared": "3.0.6",
|
|
111
111
|
"@iarna/toml": "^2.2.5",
|
|
@@ -128,12 +128,12 @@
|
|
|
128
128
|
"ws": "^8.21.0",
|
|
129
129
|
"yaml": "^2.8.0",
|
|
130
130
|
"zod": "^3.22.0",
|
|
131
|
-
"@claude-flow/memory": "3.
|
|
131
|
+
"@claude-flow/memory": "3.2.0"
|
|
132
132
|
},
|
|
133
133
|
"optionalDependencies": {
|
|
134
134
|
"@agntcy/slim-bindings": "2.1.1",
|
|
135
135
|
"@claude-flow/aidefence": "3.0.2",
|
|
136
|
-
"@claude-flow/memory": "3.
|
|
136
|
+
"@claude-flow/memory": "3.2.0",
|
|
137
137
|
"@metaharness/darwin": "~0.12.0",
|
|
138
138
|
"@metaharness/flywheel": "~0.1.10",
|
|
139
139
|
"@metaharness/radio": "~0.1.0",
|
|
@@ -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
|
-
capabilities: string[];
|
|
43
|
-
priority: number;
|
|
44
|
-
name: string;
|
|
45
42
|
type: string;
|
|
46
43
|
id: string;
|
|
44
|
+
name: string;
|
|
45
|
+
capabilities: string[];
|
|
47
46
|
maxConcurrentTasks: number;
|
|
48
|
-
|
|
49
|
-
resources?: {
|
|
50
|
-
maxMemoryMb?: number | undefined;
|
|
51
|
-
maxCpuPercent?: number | undefined;
|
|
52
|
-
} | undefined;
|
|
47
|
+
priority: number;
|
|
53
48
|
timeout?: number | undefined;
|
|
54
49
|
retryPolicy?: {
|
|
55
50
|
maxRetries: number;
|
|
56
51
|
backoffMs: number;
|
|
57
52
|
backoffMultiplier: number;
|
|
58
53
|
} | undefined;
|
|
54
|
+
resources?: {
|
|
55
|
+
maxMemoryMb?: number | undefined;
|
|
56
|
+
maxCpuPercent?: number | undefined;
|
|
57
|
+
} | undefined;
|
|
58
|
+
metadata?: Record<string, unknown> | undefined;
|
|
59
59
|
}, {
|
|
60
|
-
name: string;
|
|
61
60
|
type: string;
|
|
62
61
|
id: string;
|
|
62
|
+
name: string;
|
|
63
63
|
capabilities?: string[] | undefined;
|
|
64
|
+
maxConcurrentTasks?: number | undefined;
|
|
64
65
|
priority?: number | undefined;
|
|
65
|
-
metadata?: Record<string, unknown> | undefined;
|
|
66
|
-
resources?: {
|
|
67
|
-
maxMemoryMb?: number | undefined;
|
|
68
|
-
maxCpuPercent?: number | undefined;
|
|
69
|
-
} | undefined;
|
|
70
66
|
timeout?: number | undefined;
|
|
71
|
-
maxConcurrentTasks?: number | undefined;
|
|
72
67
|
retryPolicy?: {
|
|
73
68
|
maxRetries?: number | undefined;
|
|
74
69
|
backoffMs?: number | undefined;
|
|
75
70
|
backoffMultiplier?: number | undefined;
|
|
76
71
|
} | 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
|
-
critical?: boolean | undefined;
|
|
98
|
-
retryCount?: number | undefined;
|
|
99
|
-
requiredCapabilities?: string[] | undefined;
|
|
100
97
|
maxRetries?: number | undefined;
|
|
98
|
+
requiredCapabilities?: string[] | undefined;
|
|
99
|
+
retryCount?: number | undefined;
|
|
100
|
+
critical?: boolean | undefined;
|
|
101
101
|
parentTaskId?: string | undefined;
|
|
102
102
|
childTaskIds?: string[] | undefined;
|
|
103
103
|
tags?: string[] | undefined;
|
|
104
104
|
}, {
|
|
105
|
-
critical?: boolean | undefined;
|
|
106
|
-
retryCount?: number | undefined;
|
|
107
|
-
requiredCapabilities?: string[] | undefined;
|
|
108
105
|
maxRetries?: number | undefined;
|
|
106
|
+
requiredCapabilities?: string[] | undefined;
|
|
107
|
+
retryCount?: number | undefined;
|
|
108
|
+
critical?: boolean | undefined;
|
|
109
109
|
parentTaskId?: string | undefined;
|
|
110
110
|
childTaskIds?: string[] | undefined;
|
|
111
111
|
tags?: string[] | undefined;
|
|
112
112
|
}>>;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
description: string;
|
|
115
|
-
priority: number;
|
|
116
114
|
type: string;
|
|
115
|
+
priority: number;
|
|
116
|
+
description: string;
|
|
117
|
+
timeout?: number | undefined;
|
|
117
118
|
metadata?: {
|
|
118
|
-
critical?: boolean | undefined;
|
|
119
|
-
retryCount?: number | undefined;
|
|
120
|
-
requiredCapabilities?: string[] | undefined;
|
|
121
119
|
maxRetries?: number | undefined;
|
|
120
|
+
requiredCapabilities?: string[] | undefined;
|
|
121
|
+
retryCount?: number | undefined;
|
|
122
|
+
critical?: boolean | undefined;
|
|
122
123
|
parentTaskId?: string | undefined;
|
|
123
124
|
childTaskIds?: string[] | undefined;
|
|
124
125
|
tags?: string[] | undefined;
|
|
125
126
|
} | undefined;
|
|
126
127
|
assignedAgent?: string | undefined;
|
|
127
|
-
timeout?: number | undefined;
|
|
128
128
|
input?: Record<string, unknown> | undefined;
|
|
129
129
|
}, {
|
|
130
|
-
description: string;
|
|
131
130
|
type: string;
|
|
131
|
+
description: string;
|
|
132
132
|
priority?: number | undefined;
|
|
133
|
+
timeout?: number | undefined;
|
|
133
134
|
metadata?: {
|
|
134
|
-
critical?: boolean | undefined;
|
|
135
|
-
retryCount?: number | undefined;
|
|
136
|
-
requiredCapabilities?: string[] | undefined;
|
|
137
135
|
maxRetries?: number | undefined;
|
|
136
|
+
requiredCapabilities?: string[] | undefined;
|
|
137
|
+
retryCount?: number | undefined;
|
|
138
|
+
critical?: boolean | undefined;
|
|
138
139
|
parentTaskId?: string | undefined;
|
|
139
140
|
childTaskIds?: string[] | undefined;
|
|
140
141
|
tags?: string[] | undefined;
|
|
141
142
|
} | undefined;
|
|
142
143
|
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
|
|
214
|
+
topology: "hierarchical" | "mesh" | "ring" | "star" | "adaptive" | "pheromone-adaptive" | "hierarchical-mesh";
|
|
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
|
|
239
|
-
maxAgents?: number | undefined;
|
|
238
|
+
topology: "hierarchical" | "mesh" | "ring" | "star" | "adaptive" | "pheromone-adaptive" | "hierarchical-mesh";
|
|
240
239
|
metadata?: Record<string, unknown> | undefined;
|
|
240
|
+
maxAgents?: number | undefined;
|
|
241
241
|
autoScale?: {
|
|
242
242
|
maxAgents?: number | undefined;
|
|
243
243
|
enabled?: boolean | undefined;
|
|
@@ -422,8 +422,8 @@ export declare const MCPServerConfigSchema: z.ZodObject<{
|
|
|
422
422
|
experimental?: Record<string, boolean> | undefined;
|
|
423
423
|
}>>;
|
|
424
424
|
}, "strip", z.ZodTypeAny, {
|
|
425
|
-
name: string;
|
|
426
425
|
version: string;
|
|
426
|
+
name: string;
|
|
427
427
|
transport: {
|
|
428
428
|
type: "stdio" | "http" | "websocket";
|
|
429
429
|
path?: string | undefined;
|
|
@@ -444,6 +444,8 @@ export declare const MCPServerConfigSchema: z.ZodObject<{
|
|
|
444
444
|
host?: string | undefined;
|
|
445
445
|
port?: number | undefined;
|
|
446
446
|
};
|
|
447
|
+
version?: string | undefined;
|
|
448
|
+
name?: string | undefined;
|
|
447
449
|
capabilities?: {
|
|
448
450
|
resources?: boolean | undefined;
|
|
449
451
|
tools?: boolean | undefined;
|
|
@@ -451,8 +453,6 @@ export declare const MCPServerConfigSchema: z.ZodObject<{
|
|
|
451
453
|
logging?: boolean | undefined;
|
|
452
454
|
experimental?: Record<string, boolean> | undefined;
|
|
453
455
|
} | undefined;
|
|
454
|
-
name?: string | undefined;
|
|
455
|
-
version?: string | undefined;
|
|
456
456
|
}>;
|
|
457
457
|
/**
|
|
458
458
|
* Orchestrator configuration schema
|
|
@@ -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
|
+
};
|
|
507
512
|
health: {
|
|
508
513
|
checkInterval: number;
|
|
509
514
|
historyLimit: number;
|
|
510
515
|
degradedThreshold: number;
|
|
511
516
|
unhealthyThreshold: number;
|
|
512
517
|
};
|
|
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
|
+
};
|
|
525
530
|
health: {
|
|
526
531
|
checkInterval?: number | undefined;
|
|
527
532
|
historyLimit?: number | undefined;
|
|
528
533
|
degradedThreshold?: number | undefined;
|
|
529
534
|
unhealthyThreshold?: number | undefined;
|
|
530
535
|
};
|
|
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
|
+
};
|
|
596
601
|
health: {
|
|
597
602
|
checkInterval: number;
|
|
598
603
|
historyLimit: number;
|
|
599
604
|
degradedThreshold: number;
|
|
600
605
|
unhealthyThreshold: number;
|
|
601
606
|
};
|
|
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
|
+
};
|
|
614
619
|
health: {
|
|
615
620
|
checkInterval?: number | undefined;
|
|
616
621
|
historyLimit?: number | undefined;
|
|
617
622
|
degradedThreshold?: number | undefined;
|
|
618
623
|
unhealthyThreshold?: number | undefined;
|
|
619
624
|
};
|
|
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;
|
|
@@ -786,8 +786,8 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
786
786
|
experimental?: Record<string, boolean> | undefined;
|
|
787
787
|
}>>;
|
|
788
788
|
}, "strip", z.ZodTypeAny, {
|
|
789
|
-
name: string;
|
|
790
789
|
version: string;
|
|
790
|
+
name: string;
|
|
791
791
|
transport: {
|
|
792
792
|
type: "stdio" | "http" | "websocket";
|
|
793
793
|
path?: string | undefined;
|
|
@@ -808,6 +808,8 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
808
808
|
host?: string | undefined;
|
|
809
809
|
port?: number | undefined;
|
|
810
810
|
};
|
|
811
|
+
version?: string | undefined;
|
|
812
|
+
name?: string | undefined;
|
|
811
813
|
capabilities?: {
|
|
812
814
|
resources?: boolean | undefined;
|
|
813
815
|
tools?: boolean | undefined;
|
|
@@ -815,8 +817,6 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
815
817
|
logging?: boolean | undefined;
|
|
816
818
|
experimental?: Record<string, boolean> | undefined;
|
|
817
819
|
} | undefined;
|
|
818
|
-
name?: string | undefined;
|
|
819
|
-
version?: string | undefined;
|
|
820
820
|
}>>;
|
|
821
821
|
swarm: z.ZodOptional<z.ZodObject<{
|
|
822
822
|
topology: z.ZodEnum<["hierarchical", "mesh", "ring", "star", "adaptive", "pheromone-adaptive", "hierarchical-mesh"]>;
|
|
@@ -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
|
|
886
|
+
topology: "hierarchical" | "mesh" | "ring" | "star" | "adaptive" | "pheromone-adaptive" | "hierarchical-mesh";
|
|
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
|
|
911
|
-
maxAgents?: number | undefined;
|
|
910
|
+
topology: "hierarchical" | "mesh" | "ring" | "star" | "adaptive" | "pheromone-adaptive" | "hierarchical-mesh";
|
|
912
911
|
metadata?: Record<string, unknown> | undefined;
|
|
912
|
+
maxAgents?: number | 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
|
+
};
|
|
982
987
|
health: {
|
|
983
988
|
checkInterval: number;
|
|
984
989
|
historyLimit: number;
|
|
985
990
|
degradedThreshold: number;
|
|
986
991
|
unhealthyThreshold: number;
|
|
987
992
|
};
|
|
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
|
+
};
|
|
1000
1005
|
health: {
|
|
1001
1006
|
checkInterval?: number | undefined;
|
|
1002
1007
|
historyLimit?: number | undefined;
|
|
1003
1008
|
degradedThreshold?: number | undefined;
|
|
1004
1009
|
unhealthyThreshold?: number | undefined;
|
|
1005
1010
|
};
|
|
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;
|
|
@@ -1172,8 +1172,8 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1172
1172
|
experimental?: Record<string, boolean> | undefined;
|
|
1173
1173
|
}>>;
|
|
1174
1174
|
}, "strip", z.ZodTypeAny, {
|
|
1175
|
-
name: string;
|
|
1176
1175
|
version: string;
|
|
1176
|
+
name: string;
|
|
1177
1177
|
transport: {
|
|
1178
1178
|
type: "stdio" | "http" | "websocket";
|
|
1179
1179
|
path?: string | undefined;
|
|
@@ -1194,6 +1194,8 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1194
1194
|
host?: string | undefined;
|
|
1195
1195
|
port?: number | undefined;
|
|
1196
1196
|
};
|
|
1197
|
+
version?: string | undefined;
|
|
1198
|
+
name?: string | undefined;
|
|
1197
1199
|
capabilities?: {
|
|
1198
1200
|
resources?: boolean | undefined;
|
|
1199
1201
|
tools?: boolean | undefined;
|
|
@@ -1201,8 +1203,6 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1201
1203
|
logging?: boolean | undefined;
|
|
1202
1204
|
experimental?: Record<string, boolean> | undefined;
|
|
1203
1205
|
} | undefined;
|
|
1204
|
-
name?: string | undefined;
|
|
1205
|
-
version?: string | undefined;
|
|
1206
1206
|
}>>;
|
|
1207
1207
|
swarm: z.ZodOptional<z.ZodObject<{
|
|
1208
1208
|
topology: z.ZodEnum<["hierarchical", "mesh", "ring", "star", "adaptive", "pheromone-adaptive", "hierarchical-mesh"]>;
|
|
@@ -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
|
|
1272
|
+
topology: "hierarchical" | "mesh" | "ring" | "star" | "adaptive" | "pheromone-adaptive" | "hierarchical-mesh";
|
|
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
|
|
1297
|
-
maxAgents?: number | undefined;
|
|
1296
|
+
topology: "hierarchical" | "mesh" | "ring" | "star" | "adaptive" | "pheromone-adaptive" | "hierarchical-mesh";
|
|
1298
1297
|
metadata?: Record<string, unknown> | undefined;
|
|
1298
|
+
maxAgents?: number | 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
|
+
};
|
|
1368
1373
|
health: {
|
|
1369
1374
|
checkInterval: number;
|
|
1370
1375
|
historyLimit: number;
|
|
1371
1376
|
degradedThreshold: number;
|
|
1372
1377
|
unhealthyThreshold: number;
|
|
1373
1378
|
};
|
|
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
|
+
};
|
|
1386
1391
|
health: {
|
|
1387
1392
|
checkInterval?: number | undefined;
|
|
1388
1393
|
historyLimit?: number | undefined;
|
|
1389
1394
|
degradedThreshold?: number | undefined;
|
|
1390
1395
|
unhealthyThreshold?: number | undefined;
|
|
1391
1396
|
};
|
|
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;
|
|
@@ -1558,8 +1558,8 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1558
1558
|
experimental?: Record<string, boolean> | undefined;
|
|
1559
1559
|
}>>;
|
|
1560
1560
|
}, "strip", z.ZodTypeAny, {
|
|
1561
|
-
name: string;
|
|
1562
1561
|
version: string;
|
|
1562
|
+
name: string;
|
|
1563
1563
|
transport: {
|
|
1564
1564
|
type: "stdio" | "http" | "websocket";
|
|
1565
1565
|
path?: string | undefined;
|
|
@@ -1580,6 +1580,8 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1580
1580
|
host?: string | undefined;
|
|
1581
1581
|
port?: number | undefined;
|
|
1582
1582
|
};
|
|
1583
|
+
version?: string | undefined;
|
|
1584
|
+
name?: string | undefined;
|
|
1583
1585
|
capabilities?: {
|
|
1584
1586
|
resources?: boolean | undefined;
|
|
1585
1587
|
tools?: boolean | undefined;
|
|
@@ -1587,8 +1589,6 @@ export declare const SystemConfigSchema: z.ZodObject<{
|
|
|
1587
1589
|
logging?: boolean | undefined;
|
|
1588
1590
|
experimental?: Record<string, boolean> | undefined;
|
|
1589
1591
|
} | undefined;
|
|
1590
|
-
name?: string | undefined;
|
|
1591
|
-
version?: string | undefined;
|
|
1592
1592
|
}>>;
|
|
1593
1593
|
swarm: z.ZodOptional<z.ZodObject<{
|
|
1594
1594
|
topology: z.ZodEnum<["hierarchical", "mesh", "ring", "star", "adaptive", "pheromone-adaptive", "hierarchical-mesh"]>;
|
|
@@ -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
|
|
1658
|
+
topology: "hierarchical" | "mesh" | "ring" | "star" | "adaptive" | "pheromone-adaptive" | "hierarchical-mesh";
|
|
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
|
|
1683
|
-
maxAgents?: number | undefined;
|
|
1682
|
+
topology: "hierarchical" | "mesh" | "ring" | "star" | "adaptive" | "pheromone-adaptive" | "hierarchical-mesh";
|
|
1684
1683
|
metadata?: Record<string, unknown> | undefined;
|
|
1684
|
+
maxAgents?: number | undefined;
|
|
1685
1685
|
autoScale?: {
|
|
1686
1686
|
maxAgents?: number | undefined;
|
|
1687
1687
|
enabled?: boolean | undefined;
|