shadok-ai 0.19.29 → 0.19.30
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/README.md +2 -1
- package/package.json +1 -1
- package/public/index.html +10 -1
- package/public/tour-steps.js +9 -7
package/README.md
CHANGED
|
@@ -86,7 +86,8 @@ Enter to skip; you can add it later from the web UI).
|
|
|
86
86
|
with a speech bubble (and no presence dot).
|
|
87
87
|
- **Groups** — on a desktop the groups live in their own **left column**: pick
|
|
88
88
|
one to narrow the agents pane to it, and the global tools (Profiles, Ledger,
|
|
89
|
-
Secrets, Users, Security
|
|
89
|
+
Secrets, Users, Security) stay in the header at the top; Telegram and the
|
|
90
|
+
notification **Sound** live under the header **⋯** to keep the bar compact. Each
|
|
90
91
|
agent is a round avatar with a presence dot (green ready, red working, hollow
|
|
91
92
|
offline). A group's icon opens the icon picker: choose from the grid, type any
|
|
92
93
|
emoji, or **type a word** (`rocket`, `bug`, `money`…) to search for one; its
|
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -12302,7 +12302,10 @@
|
|
|
12302
12302
|
// SINGLE row (brand + dials + ⋯) by moving EVERY tool icon into the ⋯ menu —
|
|
12303
12303
|
// the real button elements, so their click handlers travel with them.
|
|
12304
12304
|
// Recomputed on load, on resize, and when the instance name changes.
|
|
12305
|
-
const OVERFLOW_TOOLS = ["secretsBtn", "ledgerBtn", "factoryBtn", "profilesBtn"
|
|
12305
|
+
const OVERFLOW_TOOLS = ["secretsBtn", "ledgerBtn", "factoryBtn", "profilesBtn"];
|
|
12306
|
+
// Always in the ⋯ menu, at EVERY width (not only on a phone): Telegram and the
|
|
12307
|
+
// notification bell were moved off the header row to keep the top bar compact.
|
|
12308
|
+
const PINNED_OVERFLOW_TOOLS = ["telegramBtn", "muteNotif"];
|
|
12306
12309
|
function reflowHeaderTools() {
|
|
12307
12310
|
const hdrTools = document.querySelector(".hdr-tools");
|
|
12308
12311
|
const moreWrap = document.querySelector(".more-wrap");
|
|
@@ -12315,6 +12318,12 @@
|
|
|
12315
12318
|
if (mobile) overflow.appendChild(el); // all into the ⋯ menu
|
|
12316
12319
|
else hdrTools.insertBefore(el, moreWrap); // back in the header, in order
|
|
12317
12320
|
}
|
|
12321
|
+
// These stay under ⋯ regardless of width, appended after the width-driven
|
|
12322
|
+
// ones so the phone menu keeps the header's left-to-right order.
|
|
12323
|
+
for (const id of PINNED_OVERFLOW_TOOLS) {
|
|
12324
|
+
const el = $(id);
|
|
12325
|
+
if (el) overflow.appendChild(el);
|
|
12326
|
+
}
|
|
12318
12327
|
}
|
|
12319
12328
|
let reflowPending = false;
|
|
12320
12329
|
function scheduleReflow() {
|
package/public/tour-steps.js
CHANGED
|
@@ -145,19 +145,21 @@ export const TOUR_STEPS = [
|
|
|
145
145
|
body:
|
|
146
146
|
"The secret vault injected into agents that need it, the shared ledger of what your " +
|
|
147
147
|
"agents have already resolved, the Skill Factory where skills are written, released " +
|
|
148
|
-
"and shared, profiles (role, guardrails, model)
|
|
149
|
-
"
|
|
150
|
-
"
|
|
148
|
+
"and shared, and profiles (role, guardrails, model). Telegram and the notification " +
|
|
149
|
+
"sound live under the ⋯ — which also holds the diff of an agent's work, the whole " +
|
|
150
|
+
"instance's stats, light or dark mode, the palette, and this tour. On a narrow screen " +
|
|
151
|
+
"the rest fold in there too.",
|
|
151
152
|
// NOT `.hdr-tools`, which is `display: contents` on desktop and therefore
|
|
152
153
|
// generates no box at all — its rect is all zeros, so the step would have
|
|
153
154
|
// been dropped as "not visible" on the very layout where the toolbar is
|
|
154
155
|
// most obvious. Framing the buttons themselves works on both layouts.
|
|
155
156
|
//
|
|
156
157
|
// Every tool is listed, including the ones `reflowHeaderTools` parks inside
|
|
157
|
-
// the closed ⋯ menu on a phone
|
|
158
|
-
//
|
|
159
|
-
//
|
|
160
|
-
//
|
|
158
|
+
// the closed ⋯ menu — the width-driven ones on a phone, and `#telegramBtn` /
|
|
159
|
+
// `#muteNotif` at every width: those measure {0,0,0,0} and `unionRect` drops
|
|
160
|
+
// them, so the group frames exactly what is on screen. Listing only some of
|
|
161
|
+
// them was the older bug in the other direction — `#usersBtn` sits left of
|
|
162
|
+
// `#secretsBtn` and stayed outside the spotlight.
|
|
161
163
|
target: [
|
|
162
164
|
"#usersBtn",
|
|
163
165
|
"#secretsBtn",
|