nothumanallowed 13.5.18 → 13.5.19
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 +52 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nothumanallowed",
|
|
3
|
-
"version": "13.5.
|
|
3
|
+
"version": "13.5.19",
|
|
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.19';
|
|
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
|
@@ -3839,6 +3839,58 @@ function agentPalette(lbl) {
|
|
|
3839
3839
|
return {skin: skins[i], shirt: shirts[i], hair: hairs[i]};
|
|
3840
3840
|
}
|
|
3841
3841
|
|
|
3842
|
+
var TOOL_EMOJI_MAP = {
|
|
3843
|
+
websearch: String.fromCodePoint(0x1F50D),
|
|
3844
|
+
search: String.fromCodePoint(0x1F50D),
|
|
3845
|
+
browser: String.fromCodePoint(0x1F310),
|
|
3846
|
+
email: String.fromCodePoint(0x1F4E7),
|
|
3847
|
+
gmail: String.fromCodePoint(0x1F4E7),
|
|
3848
|
+
calendar: String.fromCodePoint(0x1F4C5),
|
|
3849
|
+
github: String.fromCodePoint(0x1F431),
|
|
3850
|
+
notion: String.fromCodePoint(0x1F4D3),
|
|
3851
|
+
slack: String.fromCodePoint(0x1F4AC),
|
|
3852
|
+
data: String.fromCodePoint(0x1F4CA),
|
|
3853
|
+
analyst: String.fromCodePoint(0x1F4CA),
|
|
3854
|
+
writer: String.fromCodePoint(0x270F,0xFE0F),
|
|
3855
|
+
summary: String.fromCodePoint(0x1F4CB),
|
|
3856
|
+
research: String.fromCodePoint(0x1F52C),
|
|
3857
|
+
canvas: String.fromCodePoint(0x1F3A8),
|
|
3858
|
+
security: String.fromCodePoint(0x1F6E1,0xFE0F),
|
|
3859
|
+
devops: String.fromCodePoint(0x2699,0xFE0F),
|
|
3860
|
+
code: String.fromCodePoint(0x1F4BB),
|
|
3861
|
+
file: String.fromCodePoint(0x1F4C2),
|
|
3862
|
+
drive: String.fromCodePoint(0x1F4BE),
|
|
3863
|
+
maps: String.fromCodePoint(0x1F5FA,0xFE0F),
|
|
3864
|
+
voice: String.fromCodePoint(0x1F3A4),
|
|
3865
|
+
pdf: String.fromCodePoint(0x1F4DC),
|
|
3866
|
+
document: String.fromCodePoint(0x1F4DC),
|
|
3867
|
+
task: String.fromCodePoint(0x2705),
|
|
3868
|
+
contacts: String.fromCodePoint(0x1F4F1),
|
|
3869
|
+
reminder: String.fromCodePoint(0x23F0),
|
|
3870
|
+
news: String.fromCodePoint(0x1F4F0),
|
|
3871
|
+
image: String.fromCodePoint(0x1F5BC,0xFE0F),
|
|
3872
|
+
video: String.fromCodePoint(0x1F3AC),
|
|
3873
|
+
music: String.fromCodePoint(0x1F3B5),
|
|
3874
|
+
translate: String.fromCodePoint(0x1F30D),
|
|
3875
|
+
math: String.fromCodePoint(0x1F9EE),
|
|
3876
|
+
sql: String.fromCodePoint(0x1F5C4,0xFE0F),
|
|
3877
|
+
api: String.fromCodePoint(0x1F517),
|
|
3878
|
+
test: String.fromCodePoint(0x1F9EA),
|
|
3879
|
+
monitor: String.fromCodePoint(0x1F4F6),
|
|
3880
|
+
_default: String.fromCodePoint(0x1F527)
|
|
3881
|
+
};
|
|
3882
|
+
|
|
3883
|
+
function getNodeEmoji(n) {
|
|
3884
|
+
var lbl = (n.label || n.agent || '').toLowerCase();
|
|
3885
|
+
var icon = n.icon || '';
|
|
3886
|
+
var keys = Object.keys(TOOL_EMOJI_MAP);
|
|
3887
|
+
for (var ki = 0; ki < keys.length; ki++) {
|
|
3888
|
+
if (keys[ki] !== '_default' && lbl.indexOf(keys[ki]) >= 0) return TOOL_EMOJI_MAP[keys[ki]];
|
|
3889
|
+
}
|
|
3890
|
+
if (icon && icon.length > 0 && icon.charCodeAt(0) > 127) return icon;
|
|
3891
|
+
return TOOL_EMOJI_MAP._default;
|
|
3892
|
+
}
|
|
3893
|
+
|
|
3842
3894
|
function renderStudioNodes() {
|
|
3843
3895
|
var el = document.getElementById('studioNodes');
|
|
3844
3896
|
if (!el) return;
|