shadok-ai 0.6.1 → 0.6.2

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": "shadok-ai",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "main": "dist/session.js",
5
5
  "scripts": {
6
6
  "test": "node --import tsx --test test/*.ts .claude/skills/shadok-ai-agents/test/*.test.mjs context/*/test/*.test.mjs",
package/public/index.html CHANGED
@@ -1825,7 +1825,7 @@
1825
1825
  <span class="chan-actions">
1826
1826
  <button id="chanCron" class="icon" title="Scheduled prompts for this agent (monitoring / reporting)">⏰</button>
1827
1827
  <button id="chanStop" class="icon stop" title="End session">⏹️</button>
1828
- <button id="chanTerm" class="icon" title="Terminal — the raw TUI for this agent">⌨️</button>
1828
+ <button id="chanTerm" class="icon" title="Terminal — the raw TUI for this agent" aria-label="Terminal"><svg viewBox="0 0 24 24" width="15" height="15" style="vertical-align:-2px" aria-hidden="true"><rect x="2.5" y="4" width="19" height="16" rx="2.5" fill="none" stroke="currentColor" stroke-width="1.8"/><path d="M6 9.5l3 2.5-3 2.5" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.5 15h5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg></button>
1829
1829
  <!-- The per-agent menu (rename, profile, mirror, report to, close). It's
1830
1830
  the same menu a right-click / long-press on a tab opens — but with the
1831
1831
  sidebar hidden on a phone there was no way to reach it, so it lives
@@ -2445,6 +2445,9 @@
2445
2445
  // The profile is only set here for a launched agent: otherwise the creation
2446
2446
  // box carries it, and there is no session to restart.
2447
2447
  if (tab.sessionId) items.push(["👤 Change profile…", () => openProfileSwitcher(tab)]);
2448
+ // Scheduled prompts (crons) for this agent — the panel targets the active
2449
+ // channel, so switch to it first (this menu can be opened on any tab).
2450
+ if (tab.sessionId) items.push(["⏰ Schedule…", () => { activate(tab); $("cronOverlay").hidden = false; renderCrons(); }]);
2448
2451
  // The Telegram mirror. The label states the action AND its cost: turning it
2449
2452
  // off deletes the topic, hence the conversation on the phone — so we confirm.
2450
2453
  // The main channel (the General) is the board's home base: not un-mirrorable.