nothumanallowed 10.7.0 → 10.8.0

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": "nothumanallowed",
3
- "version": "10.7.0",
3
+ "version": "10.8.0",
4
4
  "description": "NotHumanAllowed — 38 AI agents, 53 tools. Email, calendar, browser automation, screen capture, canvas, cron/heartbeat, GitHub, Notion, Slack, voice chat, 28 languages. Zero-dependency CLI.",
5
5
  "type": "module",
6
6
  "bin": {
package/src/constants.mjs CHANGED
@@ -5,7 +5,7 @@ import { fileURLToPath } from 'url';
5
5
  const __filename = fileURLToPath(import.meta.url);
6
6
  const __dirname = path.dirname(__filename);
7
7
 
8
- export const VERSION = '10.7.0';
8
+ export const VERSION = '10.8.0';
9
9
  export const BASE_URL = 'https://nothumanallowed.com/cli';
10
10
  export const API_BASE = 'https://nothumanallowed.com/api/v1';
11
11
 
@@ -1720,12 +1720,10 @@ function collabJoinChannel(){
1720
1720
 
1721
1721
  function collabDeleteChannel(id){
1722
1722
  if(!confirm('Delete this channel? Messages will be lost.'))return;
1723
- // Remove from local file
1724
1723
  collabChannels=collabChannels.filter(function(c){return c.id!==id});
1725
- apiPost('/api/collab/channels',{id:'__delete__'+id}).catch(function(){});
1726
- // Delete from server
1727
- fetch(API+'/api/collab/delete',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({channelId:id})}).catch(function(){});
1728
- if(collabActiveChannel===id)collabActiveChannel=null;
1724
+ // Call delete endpoint on local server
1725
+ apiPost('/api/collab/delete',{channelId:id}).catch(function(){});
1726
+ if(collabActiveChannel===id){collabActiveChannel=null;if(collabPolling)clearInterval(collabPolling);}
1729
1727
  renderCollabChannelList();
1730
1728
  var msgEl=document.getElementById('collabMessages');
1731
1729
  if(msgEl)msgEl.innerHTML='<div style="text-align:center;color:var(--dim);padding:40px;font-size:12px">Channel deleted</div>';