nothumanallowed 13.2.62 → 13.2.63
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": "13.2.
|
|
3
|
+
"version": "13.2.63",
|
|
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.2.
|
|
8
|
+
export const VERSION = '13.2.63';
|
|
9
9
|
export const BASE_URL = 'https://nothumanallowed.com/cli';
|
|
10
10
|
export const API_BASE = 'https://nothumanallowed.com/api/v1';
|
|
11
11
|
|
|
@@ -103,7 +103,8 @@ export async function getTodayEvents(config) {
|
|
|
103
103
|
const events = await listEvents(config, cal.id, startOfDay, endOfDay);
|
|
104
104
|
for (const e of events) {
|
|
105
105
|
e.calendarName = cal.summary;
|
|
106
|
-
e.calendarId = cal.id;
|
|
106
|
+
e.calendarId = cal.id;
|
|
107
|
+
e.readOnly = cal.accessRole === 'reader' || cal.accessRole === 'freeBusyReader';
|
|
107
108
|
allEvents.push(e);
|
|
108
109
|
}
|
|
109
110
|
} catch { /* skip failed calendars */ }
|
|
@@ -132,6 +133,7 @@ export async function getEventsForDate(config, date) {
|
|
|
132
133
|
for (const e of events) {
|
|
133
134
|
e.calendarName = cal.summary;
|
|
134
135
|
e.calendarId = cal.id;
|
|
136
|
+
e.readOnly = cal.accessRole === 'reader' || cal.accessRole === 'freeBusyReader';
|
|
135
137
|
allEvents.push(e);
|
|
136
138
|
}
|
|
137
139
|
} catch { /* skip */ }
|
package/src/services/web-ui.mjs
CHANGED
|
@@ -1204,12 +1204,15 @@ function openDayDetail(dateStr){
|
|
|
1204
1204
|
h+='<div style="display:flex;align-items:flex-start;gap:6px;margin-bottom:4px">';
|
|
1205
1205
|
h+='<div style="flex:1"><div style="color:var(--amber);font-weight:700;font-size:13px;margin-bottom:4px">'+esc(timeStr)+'</div>';
|
|
1206
1206
|
h+='<div style="color:var(--bright);font-size:15px;font-weight:700;margin-bottom:6px">'+esc(x.summary)+'</div></div>';
|
|
1207
|
-
if(x.id){
|
|
1207
|
+
if(x.id&&!x.readOnly){
|
|
1208
1208
|
h+='<div style="display:flex;gap:4px;flex-shrink:0">';
|
|
1209
1209
|
h+='<button onclick="openEventFormByIdx('+idx+')" style="background:var(--bg2);border:1px solid var(--border);color:var(--text);padding:3px 8px;border-radius:4px;font-size:11px">Edit</button>';
|
|
1210
1210
|
h+='<button onclick="deleteCalEventByIdx('+idx+')" style="background:var(--bg2);border:1px solid var(--red);color:var(--red);padding:3px 8px;border-radius:4px;font-size:11px">Delete</button>';
|
|
1211
1211
|
h+='</div>';
|
|
1212
1212
|
}
|
|
1213
|
+
if(x.readOnly){
|
|
1214
|
+
h+='<span style="font-size:9px;color:var(--dim);flex-shrink:0;padding-top:2px">read-only</span>';
|
|
1215
|
+
}
|
|
1213
1216
|
h+='</div>';
|
|
1214
1217
|
if(x.location)h+='<div style="color:var(--cyan);font-size:12px;margin-bottom:4px">Location: '+esc(x.location)+'</div>';
|
|
1215
1218
|
if(x.organizer)h+='<div style="color:var(--dim);font-size:11px;margin-bottom:4px">Organizer: '+esc(x.organizer)+'</div>';
|