@yemi33/minions 0.1.1951 → 0.1.1952

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.
@@ -615,8 +615,10 @@ function ccAddMessage(role, html, skipSave, targetTabId, meta) {
615
615
  if (messageId) msg._messageId = messageId;
616
616
  if (meta && meta.retryId) msg._retryId = meta.retryId;
617
617
  tab.messages.push(msg);
618
- // Auto-title from first user message
619
- if (role === 'user' && tab.title === 'New chat') {
618
+ // Re-title from latest user message (W-mp7g3z5j000if078):
619
+ // every user send updates the chip so long-running tabs reflect the
620
+ // current topic, not whatever the user happened to type first.
621
+ if (role === 'user') {
620
622
  var tmp = document.createElement('div');
621
623
  tmp.innerHTML = html;
622
624
  var txt = (tmp.textContent || tmp.innerText || '').trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yemi33/minions",
3
- "version": "0.1.1951",
3
+ "version": "0.1.1952",
4
4
  "description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
5
5
  "bin": {
6
6
  "minions": "bin/minions.js"