@ctxthuta/cxops 1.0.4 → 1.0.5

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.
Files changed (3) hide show
  1. package/README.md +5 -6
  2. package/bin/cxops.js +32 -21
  3. package/package.json +2 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # CortexOps Multi-Agent Framework
2
2
 
3
- An autonomous, multi-agent engineering and scientific research operating system built for high-throughput software delivery and academic research, operating both as **Native Google Antigravity Subagents** and as a **Standalone Python Multi-Agent Framework** (`google-antigravity` SDK).
3
+ An autonomous, multi-agent engineering and scientific research operating system built for high-throughput software delivery and academic research, operating as **Native Google Antigravity Subagents**.
4
4
 
5
5
  Integrated with the [ThutaCortex](file:///home/lenovo/Documents/ThutaCortex) second brain for institutional memory, architectural pattern retrieval, and automated knowledge ingestion.
6
6
 
@@ -82,10 +82,10 @@ When working inside Google Antigravity (IDE or CLI):
82
82
  - Subagents execute directly through Antigravity's authenticated session.
83
83
  - Mention individual specialists directly (`@backend_engineer`, `@system_architect`, `@code_reviewer`), or mention `@cxagents` to mobilize the entire relevant team concurrently.
84
84
 
85
+ <!--
85
86
  ### Mode B: Standalone Multi-Engine Framework (Terminal / CI / Headless)
86
87
  When running outside Antigravity as an automated background process:
87
- - Configure your preferred engine (default: `antigravity`):
88
- ```bash
88
+ - Configure your preferred engine (default: antigravity):
89
89
  # Antigravity (Google DeepMind SDK, default)
90
90
  export GEMINI_API_KEY="your-gemini-api-key"
91
91
 
@@ -94,9 +94,8 @@ When running outside Antigravity as an automated background process:
94
94
 
95
95
  # Codex (OpenAI)
96
96
  export OPENAI_API_KEY="your-openai-api-key"
97
- ```
97
+
98
98
  - Run tasks with your preferred execution harness:
99
- ```bash
100
99
  # Default Antigravity engine (Gemini 3.8 models)
101
100
  cxops run "Research streaming anomaly detection and implement an in-memory detector with unit tests."
102
101
 
@@ -105,7 +104,7 @@ When running outside Antigravity as an automated background process:
105
104
 
106
105
  # OpenAI Codex engine (GPT-4o / o3-mini)
107
106
  cxops run -e codex "Generate relational PostgreSQL DDL with composite indexes."
108
- ```
107
+ -->
109
108
 
110
109
  ---
111
110
 
package/bin/cxops.js CHANGED
@@ -265,6 +265,8 @@ async function runSetup() {
265
265
  console.log(' Warning: Python 3.10+ is required for subagents and telemetry.');
266
266
  }
267
267
 
268
+ /*
269
+ // Standalone execution engine and authentication setup (temporarily inactive)
268
270
  console.log('\n[2] Execution Engine & Platform Selection:');
269
271
  const defaultEngine = (process.env.CORTEXOPS_ENGINE || 'antigravity').toLowerCase();
270
272
  console.log(' Available Execution Harnesses:');
@@ -326,14 +328,15 @@ async function runSetup() {
326
328
  }
327
329
  }
328
330
  }
331
+ */
329
332
 
330
- console.log('\n[4] Antigravity Global Plugin Registration:');
333
+ console.log('\n[2] Antigravity Global Plugin Registration:');
331
334
  const linkChoice = await rl.question(' Register CortexOps global plugin for Antigravity sessions? (y/n) [y]: ');
332
335
  if (linkChoice.trim().toLowerCase() !== 'n') {
333
336
  linkPlugin();
334
337
  }
335
338
 
336
- console.log('\n[5] Second Brain Integration (ThutaCortex):');
339
+ console.log('\n[3] Second Brain Integration (ThutaCortex):');
337
340
  const defaultVault = path.join(os.homedir(), 'Documents', 'ThutaCortex');
338
341
  const vaultChoice = await rl.question(` ThutaCortex vault path [${defaultVault}]: `);
339
342
  const resolvedVault = vaultChoice.trim() || defaultVault;
@@ -345,7 +348,7 @@ async function runSetup() {
345
348
  console.log(' The framework will operate in local-only mode until the vault is initialized.');
346
349
  }
347
350
 
348
- console.log('\n[6] Python Virtual Environment & Dependencies:');
351
+ console.log('\n[4] Python Virtual Environment & Dependencies:');
349
352
  const venvDir = path.join(ROOT_DIR, '.venv');
350
353
  if (fs.existsSync(venvDir)) {
351
354
  console.log(' * Virtual environment already exists at .venv/');
@@ -372,20 +375,26 @@ async function runSetup() {
372
375
  }
373
376
  }
374
377
 
375
- console.log('\n[7] Subagent Definition Verification:');
378
+ console.log('\n[5] Subagent Definition Verification:');
376
379
  const py = getVenvPython();
377
380
  if (py && fs.existsSync(VERIFY_SCRIPT)) {
378
381
  spawnSync(py, [VERIFY_SCRIPT], { stdio: 'inherit', env: { ...process.env, PYTHONPATH: ROOT_DIR } });
379
382
  }
380
383
 
381
384
  console.log('\n' + '='.repeat(70));
382
- console.log('Setup complete. You can now use:');
383
- console.log(' cxops status Display operational & token telemetry dashboard');
384
- console.log(' cxops watch Continuously monitor the live dashboard');
385
- console.log(' cxops verify Verify all 12 subagent definitions');
385
+ console.log('Setup complete. CortexOps subagents are active in Antigravity.');
386
+ console.log('You can now:');
387
+ console.log(' - Type @<agent> or @cxagents in Antigravity chat');
388
+ console.log(' - cxops status Display operational & token telemetry dashboard');
389
+ console.log(' - cxops watch Continuously monitor the live dashboard');
390
+ console.log(' - cxops verify Verify all 12 subagent definitions');
391
+ console.log(' - cxops doctor Run diagnostic health check');
392
+ /*
393
+ // Standalone task runner commands (temporarily inactive)
386
394
  console.log(' cxops run "<goal>" Dispatch autonomous tasks (Default: antigravity)');
387
395
  console.log(' cxops run -e claude "<goal>" Dispatch tasks using Claude');
388
396
  console.log(' cxops run -e codex "<goal>" Dispatch tasks using Codex');
397
+ */
389
398
  console.log('='.repeat(70));
390
399
  } finally {
391
400
  rl.close();
@@ -420,12 +429,12 @@ function runDoctor() {
420
429
  console.log('[WARN] Virtual Environment: .venv not found. Run "cxops setup" to create.');
421
430
  }
422
431
 
423
- // Execution engine configuration
432
+ /*
433
+ // Standalone execution engine and API key diagnostics (temporarily inactive)
424
434
  const activeEngine = (process.env.CORTEXOPS_ENGINE || 'antigravity').toLowerCase();
425
435
  const isDefaultEngine = !process.env.CORTEXOPS_ENGINE || activeEngine === 'antigravity';
426
436
  console.log(`[PASS] Execution Engine: ${activeEngine} ${isDefaultEngine ? '(Default)' : ''}`);
427
437
 
428
- // Engine-specific authentication diagnostics
429
438
  const geminiKey = process.env.GEMINI_API_KEY;
430
439
  const anthropicKey = process.env.ANTHROPIC_API_KEY;
431
440
  const openaiKey = process.env.OPENAI_API_KEY;
@@ -457,6 +466,7 @@ function runDoctor() {
457
466
  if (secondaryKeys.length > 0) {
458
467
  console.log(`[PASS] Additional Keys Configured: ${secondaryKeys.join(', ')}`);
459
468
  }
469
+ */
460
470
 
461
471
  // Antigravity global plugin link status
462
472
  const { targets } = getPluginTargets();
@@ -548,15 +558,19 @@ async function runVersion(detailed = false) {
548
558
  return;
549
559
  }
550
560
 
561
+ /*
551
562
  const activeEngine = (process.env.CORTEXOPS_ENGINE || 'antigravity').toLowerCase();
552
563
  const isDefaultEngine = !process.env.CORTEXOPS_ENGINE || activeEngine === 'antigravity';
564
+ */
553
565
 
554
566
  console.log('='.repeat(70));
555
567
  console.log(`CORTEXOPS FRAMEWORK VERSION: v${currentVer}`);
556
568
  console.log('='.repeat(70));
557
569
  console.log(`Package Name: @ctxthuta/cxops`);
558
570
  console.log(`Current Version: v${currentVer}`);
571
+ /*
559
572
  console.log(`Active Engine: ${activeEngine} ${isDefaultEngine ? '(Default)' : ''}`);
573
+ */
560
574
  console.log(`Node.js Runtime: ${process.version}`);
561
575
  console.log(`Platform: ${process.platform} (${process.arch})`);
562
576
 
@@ -593,21 +607,16 @@ Commands:
593
607
  status, dashboard Display operational & token telemetry dashboard
594
608
  watch Continuously monitor the dashboard (auto-refresh)
595
609
  verify Verify all 12 declarative subagent definitions
596
- run [options] "<prompt>" Dispatch an autonomous multi-agent task via Python SDK
597
610
  version, -v, --version Display framework version and check for updates
598
611
  link Link Antigravity global plugin symlink/junction
599
612
  unlink Remove Antigravity global plugin symlink/junction
600
613
  help, --help, -h Display this command reference
601
-
602
- Run Options:
603
- -e, --engine <engine> Select execution harness: antigravity (default), claude, codex
604
- -m, --model <model> Override model identifier for the selected engine
605
-
606
- Supported Engines:
607
- antigravity Google Antigravity SDK with Gemini 3.8 models (Default)
608
- claude Anthropic Claude models (Claude 3.7 / 3.5 Sonnet)
609
- codex OpenAI Codex / GPT-4o / o3-mini models
610
- `);
614
+ ` + /*
615
+ ` run [options] "<prompt>" Dispatch an autonomous multi-agent task via Python SDK
616
+ Options:
617
+ -e, --engine <engine> Select execution harness: antigravity (default), claude, codex
618
+ -m, --model <model> Override model identifier for the selected engine
619
+ ` + */ '');
611
620
  }
612
621
 
613
622
  async function main() {
@@ -645,6 +654,7 @@ async function main() {
645
654
  const isDetailed = command === 'version' || args.includes('--check') || args.includes('-c');
646
655
  await runVersion(isDetailed);
647
656
  break;
657
+ /*
648
658
  case 'run':
649
659
  if (args.length < 2) {
650
660
  console.error('[ERROR] Task prompt required.');
@@ -653,6 +663,7 @@ async function main() {
653
663
  }
654
664
  executePythonScript(MAIN_SCRIPT, args.slice(1));
655
665
  break;
666
+ */
656
667
  case 'help':
657
668
  case '--help':
658
669
  case '-h':
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ctxthuta/cxops",
3
- "version": "1.0.4",
4
- "description": "CortexOps Multi-Agent Framework: Autonomous engineering and research operating system for Google Antigravity, Claude, and Codex with Python SDK.",
3
+ "version": "1.0.5",
4
+ "description": "CortexOps Multi-Agent Framework: Autonomous engineering and research operating system for Google Antigravity.",
5
5
  "main": "bin/cxops.js",
6
6
  "bin": {
7
7
  "cxops": "bin/cxops.js",