monomind 1.18.8 → 1.18.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monomind",
3
- "version": "1.18.8",
3
+ "version": "1.18.9",
4
4
  "description": "Monomind - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -12,6 +12,7 @@ export declare function checkMcpServers(): Promise<HealthCheck>;
12
12
  export declare function checkMonograph(): Promise<HealthCheck>;
13
13
  export declare function checkMonographFreshness(): Promise<HealthCheck>;
14
14
  export declare function checkMonoesMemory(): Promise<HealthCheck>;
15
+ export declare function fixStaleHelpers(): Promise<boolean>;
15
16
  export declare function checkHelpersFresh(): Promise<HealthCheck>;
16
17
  export declare function checkMonoesIntegration(): Promise<HealthCheck>;
17
18
  export declare function checkGitignoreCoverage(): Promise<HealthCheck>;
@@ -2,7 +2,7 @@
2
2
  * Doctor — project/monomind health checks
3
3
  * Config, daemon, memory, API keys, MCP, monograph, helpers, routing, gates, gitignore
4
4
  */
5
- import { existsSync, readFileSync, statSync, mkdirSync } from 'fs';
5
+ import { existsSync, readFileSync, statSync, mkdirSync, copyFileSync } from 'fs';
6
6
  import { join, dirname } from 'path';
7
7
  import { fileURLToPath } from 'url';
8
8
  import { execSync } from 'child_process';
@@ -279,6 +279,22 @@ async function _detectStaleHelpers() {
279
279
  }
280
280
  return { stale, missing };
281
281
  }
282
+ export async function fixStaleHelpers() {
283
+ const { stale } = await _detectStaleHelpers();
284
+ let fixed = 0;
285
+ for (const name of stale) {
286
+ const local = join(process.cwd(), '.claude', 'helpers', name);
287
+ const bundled = _resolveBundledHelper(join('.claude', 'helpers', name));
288
+ if (bundled) {
289
+ try {
290
+ copyFileSync(bundled, local);
291
+ fixed++;
292
+ }
293
+ catch { /* skip */ }
294
+ }
295
+ }
296
+ return fixed > 0;
297
+ }
282
298
  export async function checkHelpersFresh() {
283
299
  try {
284
300
  const { stale, missing } = await _detectStaleHelpers();
@@ -7,7 +7,7 @@
7
7
  import * as path from 'path';
8
8
  import { output } from '../output.js';
9
9
  import { checkNodeVersion, checkNpmVersion, checkGit, checkGitRepo, checkDiskSpace, checkBuildTools, checkVersionFreshness, checkClaudeCode, installClaudeCode, } from './doctor-env-checks.js';
10
- import { checkConfigFile, checkDaemonStatus, checkMemoryDatabase, checkApiKeys, checkMcpServers, checkMonograph, checkMonographFreshness, checkMonoesMemory, checkHelpersFresh, checkMonoesIntegration, checkGuidanceGates, checkGitignoreCoverage, checkAgentRegistry, checkMemoryProficiency, } from './doctor-project-checks.js';
10
+ import { checkConfigFile, checkDaemonStatus, checkMemoryDatabase, checkApiKeys, checkMcpServers, checkMonograph, checkMonographFreshness, checkMonoesMemory, checkHelpersFresh, fixStaleHelpers, checkMonoesIntegration, checkGuidanceGates, checkGitignoreCoverage, checkAgentRegistry, checkMemoryProficiency, } from './doctor-project-checks.js';
11
11
  import { checkMonoesTools, fixMonoesTools } from './doctor-monoes-checks.js';
12
12
  function formatCheck(check) {
13
13
  const icon = check.status === 'pass' ? output.success('✓') :
@@ -145,6 +145,20 @@ export const doctorCommand = {
145
145
  output.writeln(formatCheck(newCheck));
146
146
  }
147
147
  }
148
+ const helpersResult = results.find(r => r.name === 'Helper Files');
149
+ if (helpersResult && helpersResult.status !== 'pass') {
150
+ if (await fixStaleHelpers()) {
151
+ const newCheck = await checkHelpersFresh();
152
+ const idx = results.findIndex(r => r.name === 'Helper Files');
153
+ if (idx !== -1) {
154
+ results[idx] = newCheck;
155
+ const fixIdx = fixes.findIndex(f => f.startsWith('Helper Files:'));
156
+ if (fixIdx !== -1 && newCheck.status === 'pass')
157
+ fixes.splice(fixIdx, 1);
158
+ }
159
+ output.writeln(formatCheck(newCheck));
160
+ }
161
+ }
148
162
  }
149
163
  const passed = results.filter(r => r.status === 'pass').length;
150
164
  const warnings = results.filter(r => r.status === 'warn').length;
@@ -24,7 +24,6 @@ export { doctorCommand } from './doctor.js';
24
24
  export { neuralCommand } from './neural.js';
25
25
  export { performanceCommand } from './performance.js';
26
26
  export { securityCommand } from './security.js';
27
- export { monovectorCommand } from './monovector/index.js';
28
27
  export { hiveMindCommand } from './hive-mind.js';
29
28
  export { guidanceCommand } from './guidance.js';
30
29
  export { cleanupCommand } from './cleanup.js';
@@ -39,7 +38,6 @@ export { reportCrashCommand } from './report-crash.js';
39
38
  export { crashReportingCommand } from './crash-reporting.js';
40
39
  export { docCommand } from './doc.js';
41
40
  export declare function getConfigCommand(): Promise<Command | undefined>;
42
- export declare function getMigrateCommand(): Promise<Command | undefined>;
43
41
  export declare function getWorkflowCommand(): Promise<Command | undefined>;
44
42
  export declare function getHiveMindCommand(): Promise<Command | undefined>;
45
43
  export declare function getProcessCommand(): Promise<Command | undefined>;
@@ -54,7 +52,6 @@ export declare function getClaimsCommand(): Promise<Command | undefined>;
54
52
  export declare function getCompletionsCommand(): Promise<Command | undefined>;
55
53
  export declare function getAnalyzeCommand(): Promise<Command | undefined>;
56
54
  export declare function getRouteCommand(): Promise<Command | undefined>;
57
- export declare function getProgressCommand(): Promise<Command | undefined>;
58
55
  export declare function getIssuesCommand(): Promise<Command | undefined>;
59
56
  export declare function getMonovectorCommand(): Promise<Command | undefined>;
60
57
  export declare function getGuidanceCommand(): Promise<Command | undefined>;
@@ -25,7 +25,6 @@ const commandLoaders = {
25
25
  memory: () => import('./memory.js'),
26
26
  mcp: () => import('./mcp.js'),
27
27
  config: () => import('./config.js'),
28
- migrate: () => import('./migrate.js'),
29
28
  hooks: () => import('./hooks.js'),
30
29
  workflow: () => import('./workflow.js'),
31
30
  'hive-mind': () => import('./hive-mind.js'),
@@ -45,16 +44,10 @@ const commandLoaders = {
45
44
  analyze: () => import('./analyze.js'),
46
45
  // Q-Learning Routing Commands
47
46
  route: () => import('./route.js'),
48
- // Progress Commands
49
- progress: () => import('./progress.js'),
50
47
  // Issue Claims Commands (ADR-016)
51
48
  issues: () => import('./issues.js'),
52
49
  // Auto-update System (ADR-025)
53
50
  update: () => import('./update.js'),
54
- // MonoVector PostgreSQL Bridge
55
- monovector: () => import('./monovector/index.js'),
56
- // Benchmark Suite (Pre-training, Neural, Memory)
57
- benchmark: () => import('./benchmark.js'),
58
51
  // Guidance Control Plane
59
52
  guidance: () => import('./guidance.js'),
60
53
  'transfer-store': () => import('./transfer-store.js'),
@@ -130,17 +123,14 @@ import { doctorCommand } from './doctor.js';
130
123
  import { neuralCommand } from './neural.js';
131
124
  import { performanceCommand } from './performance.js';
132
125
  import { securityCommand } from './security.js';
133
- import { monovectorCommand } from './monovector/index.js';
134
126
  import { hiveMindCommand } from './hive-mind.js';
135
127
  import browseCommand from './browse.js';
136
128
  // Additional commands for categorized help display
137
129
  import { configCommand } from './config.js';
138
130
  import { completionsCommand } from './completions.js';
139
- import { migrateCommand } from './migrate.js';
140
131
  import { workflowCommand } from './workflow.js';
141
132
  import { analyzeCommand } from './analyze.js';
142
133
  import { routeCommand } from './route.js';
143
- import { progressCommand } from './progress.js';
144
134
  import { providersCommand } from './providers.js';
145
135
  import { deploymentCommand } from './deployment.js';
146
136
  import { claimsCommand } from './claims.js';
@@ -152,7 +142,6 @@ import { cleanupCommand } from './cleanup.js';
152
142
  import { autopilotCommand } from './autopilot.js';
153
143
  import { monographCommand } from './monograph.js';
154
144
  import replayCommand from './replay.js';
155
- import { benchmarkCommand } from './benchmark.js';
156
145
  import storeCommand from './transfer-store.js';
157
146
  import tokensCommand from './tokens.js';
158
147
  import { platformsCommand } from './platforms.js';
@@ -179,14 +168,12 @@ loadedCommands.set('doctor', doctorCommand);
179
168
  loadedCommands.set('neural', neuralCommand);
180
169
  loadedCommands.set('performance', performanceCommand);
181
170
  loadedCommands.set('security', securityCommand);
182
- loadedCommands.set('monovector', monovectorCommand);
183
171
  loadedCommands.set('hive-mind', hiveMindCommand);
184
172
  loadedCommands.set('guidance', guidanceCommand);
185
173
  loadedCommands.set('cleanup', cleanupCommand);
186
174
  loadedCommands.set('autopilot', autopilotCommand);
187
175
  loadedCommands.set('monograph', monographCommand);
188
176
  loadedCommands.set('replay', replayCommand);
189
- loadedCommands.set('benchmark', benchmarkCommand);
190
177
  loadedCommands.set('transfer-store', storeCommand);
191
178
  loadedCommands.set('tokens', tokensCommand);
192
179
  loadedCommands.set('platforms', platformsCommand);
@@ -217,7 +204,6 @@ export { doctorCommand } from './doctor.js';
217
204
  export { neuralCommand } from './neural.js';
218
205
  export { performanceCommand } from './performance.js';
219
206
  export { securityCommand } from './security.js';
220
- export { monovectorCommand } from './monovector/index.js';
221
207
  export { hiveMindCommand } from './hive-mind.js';
222
208
  export { guidanceCommand } from './guidance.js';
223
209
  export { cleanupCommand } from './cleanup.js';
@@ -233,7 +219,6 @@ export { crashReportingCommand } from './crash-reporting.js';
233
219
  export { docCommand } from './doc.js';
234
220
  // Lazy-loaded command re-exports (for backwards compatibility, but async-only)
235
221
  export async function getConfigCommand() { return loadCommand('config'); }
236
- export async function getMigrateCommand() { return loadCommand('migrate'); }
237
222
  export async function getWorkflowCommand() { return loadCommand('workflow'); }
238
223
  export async function getHiveMindCommand() { return loadCommand('hive-mind'); }
239
224
  export async function getProcessCommand() { return loadCommand('process'); }
@@ -248,7 +233,6 @@ export async function getClaimsCommand() { return loadCommand('claims'); }
248
233
  export async function getCompletionsCommand() { return loadCommand('completions'); }
249
234
  export async function getAnalyzeCommand() { return loadCommand('analyze'); }
250
235
  export async function getRouteCommand() { return loadCommand('route'); }
251
- export async function getProgressCommand() { return loadCommand('progress'); }
252
236
  export async function getIssuesCommand() { return loadCommand('issues'); }
253
237
  export async function getMonovectorCommand() { return loadCommand('monovector'); }
254
238
  export async function getGuidanceCommand() { return loadCommand('guidance'); }
@@ -276,7 +260,6 @@ export const commands = [
276
260
  neuralCommand,
277
261
  performanceCommand,
278
262
  securityCommand,
279
- monovectorCommand,
280
263
  hiveMindCommand,
281
264
  guidanceCommand,
282
265
  cleanupCommand,
@@ -312,23 +295,19 @@ export const commandsByCategory = {
312
295
  securityCommand,
313
296
  performanceCommand,
314
297
  hiveMindCommand,
315
- monovectorCommand,
316
298
  guidanceCommand,
317
299
  autopilotCommand,
318
- benchmarkCommand,
319
300
  ],
320
301
  utility: [
321
302
  configCommand,
322
303
  doctorCommand,
323
304
  daemonCommand,
324
305
  completionsCommand,
325
- migrateCommand,
326
306
  workflowCommand,
327
307
  ],
328
308
  analysis: [
329
309
  analyzeCommand,
330
310
  routeCommand,
331
- progressCommand,
332
311
  monographCommand,
333
312
  replayCommand,
334
313
  tokensCommand,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monoes/monomindcli",
3
- "version": "1.18.8",
3
+ "version": "1.18.9",
4
4
  "type": "module",
5
5
  "description": "Monomind 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",