spora 0.2.33 → 0.2.34

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.
@@ -408,35 +408,32 @@
408
408
  flex: 1;
409
409
  margin: 0 12px;
410
410
  display: flex;
411
- align-items: center;
412
- gap: 8px;
411
+ flex-direction: column;
412
+ gap: 3px;
413
+ max-width: 140px;
413
414
  }
414
415
 
415
416
  .intelligence-label {
416
- font-size: 0.5625rem;
417
- color: rgba(255, 255, 255, 0.25);
418
- text-transform: uppercase;
419
- letter-spacing: 0.08em;
417
+ font-size: 0.5rem;
418
+ color: rgba(255, 255, 255, 0.2);
419
+ letter-spacing: 0.03em;
420
420
  white-space: nowrap;
421
- font-weight: 600;
422
421
  }
423
422
 
424
423
  .intelligence-track {
425
- flex: 1;
426
- height: 3px;
424
+ width: 100%;
425
+ height: 2px;
427
426
  background: rgba(255, 255, 255, 0.06);
428
- border-radius: 2px;
427
+ border-radius: 1px;
429
428
  overflow: hidden;
430
- min-width: 60px;
431
429
  }
432
430
 
433
431
  .intelligence-fill {
434
432
  height: 100%;
435
433
  width: 0%;
436
- border-radius: 2px;
434
+ border-radius: 1px;
437
435
  background: linear-gradient(90deg, #389e77 0%, #4fc3a0 50%, #7ee8c7 100%);
438
436
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
439
- box-shadow: 0 0 6px rgba(56, 158, 119, 0.4);
440
437
  }
441
438
 
442
439
  /* Heartbeat config button */
@@ -613,7 +610,7 @@
613
610
  <div class="top-bar">
614
611
  <img class="logo-img" src="/logo.png" alt="Spora" />
615
612
  <div class="intelligence-bar" id="intelligenceBar">
616
- <span class="intelligence-label">Intelligence</span>
613
+ <span class="intelligence-label">intelligence</span>
617
614
  <div class="intelligence-track">
618
615
  <div class="intelligence-fill" id="intelligenceFill"></div>
619
616
  </div>
@@ -1180,12 +1177,12 @@
1180
1177
  const intelligenceFill = document.getElementById('intelligenceFill');
1181
1178
 
1182
1179
  function calculateIntelligence(stats) {
1183
- // Score: learnings are worth the most, then relationships, then raw interactions
1184
- // Uses a logarithmic curve so early growth is visible but it never truly "maxes out"
1185
- const raw = (stats.learnings * 10) + (stats.relationships * 5) + (stats.interactions * 1);
1186
- // Log curve: 0 0%, ~50 raw ~40%, ~200 raw → ~65%, ~1000 raw → ~85%, ~5000+ → ~95%
1180
+ // Weighted raw score learnings matter most, relationships next, interactions least
1181
+ const raw = (stats.learnings * 3) + (stats.relationships * 2) + (stats.interactions * 0.2);
1182
+ // Much slower curve: needs ~50 learnings + relationships to hit ~20%, hundreds to hit 50%
1183
+ // A 1-hour bot with ~10 interactions should be around 3-8%
1187
1184
  if (raw === 0) return 0;
1188
- const pct = Math.min(98, (Math.log(raw + 1) / Math.log(6000)) * 100);
1185
+ const pct = Math.min(95, (Math.log(raw + 1) / Math.log(50000)) * 100);
1189
1186
  return Math.round(pct * 10) / 10;
1190
1187
  }
1191
1188
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spora",
3
- "version": "0.2.33",
3
+ "version": "0.2.34",
4
4
  "description": "AI agents (Spores) that autonomously manage X/Twitter accounts",
5
5
  "type": "module",
6
6
  "author": "Spora",