nothumanallowed 13.5.137 → 13.5.138
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 +1 -1
- package/src/constants.mjs +1 -1
- package/src/services/web-ui.mjs +9 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "13.5.
|
|
3
|
+
"version": "13.5.138",
|
|
4
4
|
"description": "NotHumanAllowed — 38 AI agents, 80 tools, Studio (visual agentic workflows). Email, calendar, browser automation, screen capture, canvas, cron/heartbeat, Alexandria E2E messaging, GitHub, Notion, Slack, voice chat, free AI (Liara), 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 = '13.5.
|
|
8
|
+
export const VERSION = '13.5.138';
|
|
9
9
|
export const BASE_URL = 'https://nothumanallowed.com/cli';
|
|
10
10
|
export const API_BASE = 'https://nothumanallowed.com/api/v1';
|
|
11
11
|
|
package/src/services/web-ui.mjs
CHANGED
|
@@ -7968,16 +7968,16 @@ function wcChatPanelHtml() {
|
|
|
7968
7968
|
var color = isOk ? 'var(--green)' : 'var(--red)';
|
|
7969
7969
|
var label = isParseErr ? ('JSON err: ' + wcEsc(tool.result)) : wcEsc(tool.path);
|
|
7970
7970
|
var title = isOk ? tool.op + ': ' + tool.path : (tool.result || '');
|
|
7971
|
-
// Build inline diff block for successful edits
|
|
7972
|
-
if (isOk && tool.op === 'edit' && tool.oldSnippet) {
|
|
7973
|
-
var oldLines = tool.oldSnippet.split(String.fromCharCode(10)).map(function(l){ return '<div style="background:#3f0f0f;color:#fca5a5;font-family:var(--mono);font-size:9px;padding:
|
|
7974
|
-
var newLines = tool.newSnippet.split(String.fromCharCode(10)).map(function(l){ return '<div style="background:#0f2f0f;color:#86efac;font-family:var(--mono);font-size:9px;padding:
|
|
7975
|
-
diffBlocks += '<
|
|
7976
|
-
'<
|
|
7977
|
-
'<span style="color:var(--green)">✎</span> '+wcEsc(tool.path)
|
|
7978
|
-
'</
|
|
7971
|
+
// Build inline diff block for successful edits/writes — always visible, no collapse
|
|
7972
|
+
if (isOk && (tool.op === 'edit' || tool.op === 'write') && (tool.oldSnippet || tool.newSnippet)) {
|
|
7973
|
+
var oldLines = tool.oldSnippet ? tool.oldSnippet.split(String.fromCharCode(10)).map(function(l){ return '<div style="background:#3f0f0f;color:#fca5a5;font-family:var(--mono);font-size:9px;padding:1px 8px;white-space:pre-wrap;word-break:break-all">- '+wcEsc(l)+'</div>'; }).join('') : '';
|
|
7974
|
+
var newLines = tool.newSnippet ? tool.newSnippet.split(String.fromCharCode(10)).map(function(l){ return '<div style="background:#0f2f0f;color:#86efac;font-family:var(--mono);font-size:9px;padding:1px 8px;white-space:pre-wrap;word-break:break-all">+ '+wcEsc(l)+'</div>'; }).join('') : '';
|
|
7975
|
+
diffBlocks += '<div style="margin:4px 0;border:1px solid rgba(255,255,255,0.1);border-radius:5px;overflow:hidden">' +
|
|
7976
|
+
'<div style="padding:3px 8px;font-size:9px;font-family:var(--mono);color:var(--dim);background:rgba(255,255,255,0.04);display:flex;align-items:center;gap:4px">' +
|
|
7977
|
+
'<span style="color:var(--green)">✎</span> '+wcEsc(tool.path) +
|
|
7978
|
+
'</div>' +
|
|
7979
7979
|
oldLines + newLines +
|
|
7980
|
-
'</
|
|
7980
|
+
'</div>';
|
|
7981
7981
|
}
|
|
7982
7982
|
return '<span title="'+wcEsc(title)+'" style="display:inline-flex;align-items:center;gap:3px;background:var(--bg3);border:1px solid '+(isOk?'var(--green3)':'var(--red)')+';border-radius:4px;padding:2px 6px;font-size:9px;font-family:var(--mono);color:'+color+'">' +
|
|
7983
7983
|
icon + ' ' + label + '</span>';
|