@timmeck/brain-core 2.36.81 → 2.36.82

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.
@@ -567,6 +567,19 @@ canvas{display:block;width:100%;height:100%}
567
567
 
568
568
  <!-- ════ Page 5: Intelligence ═══════════════════════ -->
569
569
  <div class="page" id="page-intelligence">
570
+ <!-- Autonomous Research -->
571
+ <div class="section">
572
+ <div class="section-title"><span class="icon">&#x1F50D;</span> Autonomous Research — <span data-t="Selbstgesteuerte Forschung">Selbstgesteuerte Forschung</span></div>
573
+ <p style="font-size:12px;color:var(--text-dim);margin-bottom:12px" data-t="Brain gibt sich selbst Forschungsauftr&auml;ge: Wissensl&uuml;cken &rarr; Missionen &rarr; Web-Recherche &rarr; Insights.">Brain gibt sich selbst Forschungsauftr&auml;ge: Wissensl&uuml;cken &rarr; Missionen &rarr; Web-Recherche &rarr; Insights.</p>
574
+ <div class="grid grid-4">
575
+ <div class="card" style="text-align:center"><div class="card-value" id="auto-enabled" style="color:var(--text-dim)">&#x2014;</div><div class="card-sub">Status</div></div>
576
+ <div class="card" style="text-align:center"><div class="card-value" id="auto-cycles" style="color:var(--cyan)">0</div><div class="card-sub">Cycles</div></div>
577
+ <div class="card" style="text-align:center"><div class="card-value" id="auto-missions" style="color:var(--green)">0/5</div><div class="card-sub" data-t="Missionen heute">Missionen heute</div></div>
578
+ <div class="card" style="text-align:center"><div class="card-value" id="auto-next" style="color:var(--yellow);font-size:14px">&#x2014;</div><div class="card-sub" data-t="N&auml;chster Cycle">N&auml;chster Cycle</div></div>
579
+ </div>
580
+ <div id="autoRecentTopics" style="margin-top:12px"></div>
581
+ </div>
582
+
570
583
  <!-- RAG Pipeline -->
571
584
  <div class="section">
572
585
  <div class="section-title"><span class="icon">&#x1F50D;</span> RAG Pipeline — <span data-t="Vektor-Suche">Vektor-Suche</span></div>
@@ -1331,6 +1344,28 @@ function renderIntelligence() {
1331
1344
  const d = state.intelligence;
1332
1345
  if (!d) return;
1333
1346
 
1347
+ // Autonomous Research
1348
+ if (d.autonomousResearch) {
1349
+ const a = d.autonomousResearch;
1350
+ setText('auto-enabled', a.enabled ? (a.running ? '&#x1F7E2; Active' : '&#x1F7E1; Enabled') : '&#x26AB; Off');
1351
+ document.getElementById('auto-enabled').style.color = a.enabled ? (a.running ? 'var(--green)' : 'var(--yellow)') : 'var(--text-dim)';
1352
+ setText('auto-cycles', a.cyclesCompleted || 0);
1353
+ setText('auto-missions', `${a.missionsLaunchedToday || 0}/${a.maxMissionsPerDay || 5}`);
1354
+ if (a.nextCycleAt) {
1355
+ const mins = Math.max(0, Math.round((a.nextCycleAt - Date.now()) / 60000));
1356
+ setText('auto-next', `${mins}min`);
1357
+ } else {
1358
+ setText('auto-next', '—');
1359
+ }
1360
+ const topicEl = document.getElementById('autoRecentTopics');
1361
+ if (topicEl && a.recentTopics && a.recentTopics.length) {
1362
+ topicEl.innerHTML = '<div style="font-size:12px;color:var(--text-dim);margin-bottom:4px">' + t('Letzte Themen') + ':</div>' +
1363
+ a.recentTopics.slice(0, 5).map(topic => `<div class="card" style="padding:4px 12px;margin-bottom:2px;font-size:12px">${escHtml(topic)}</div>`).join('');
1364
+ } else if (topicEl) {
1365
+ topicEl.innerHTML = '<div class="empty" style="font-size:12px">' + t('Noch keine autonomen Forschungen') + '</div>';
1366
+ }
1367
+ }
1368
+
1334
1369
  // RAG
1335
1370
  if (d.rag) {
1336
1371
  setText('int-rag-total', (d.rag.totalVectors || 0).toLocaleString());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timmeck/brain-core",
3
- "version": "2.36.81",
3
+ "version": "2.36.82",
4
4
  "description": "Shared core infrastructure for the Brain ecosystem — IPC, MCP, CLI, DB connection, and utilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",