heyquilt 0.3.163 → 0.3.164
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/RELEASES.md +5 -0
- package/package.json +1 -1
- package/src/ui/app.css +9 -0
- package/src/ui/loom.css +3 -2
- package/src/ui/session.js +29 -18
package/RELEASES.md
CHANGED
|
@@ -11,6 +11,11 @@ Format: `## <version> — <YYYY-MM-DD>`, an optional one-line summary, then bull
|
|
|
11
11
|
Lead each bullet with a short bold phrase. Inline `code` and **bold** are rendered;
|
|
12
12
|
nothing else is.
|
|
13
13
|
|
|
14
|
+
## 0.3.164 — 2026-11-12
|
|
15
|
+
|
|
16
|
+
- **Chat is back on the right.** The session's chat is a panel on the right of every tab again, with its messages, files, calls and the composer. The loom keeps only what the AIs are doing, with no messages across it. Fold the chat to a slim rail to give the loom the whole width. The rail shows who wrote to you directly and what is unread; click a face to open your thread with them.
|
|
17
|
+
- **Loom, Tasks, Code, Preview.** The first tab is now called Loom. The Calls tab is gone: start a call with **Call** at the top of the chat.
|
|
18
|
+
|
|
14
19
|
## 0.3.163 — 2026-11-12
|
|
15
20
|
|
|
16
21
|
- **Your face isn't in the top bar twice.** The faces next to "N working" show only the others in the session; yours is on the rail. When you're alone and idle there, the faces are gone.
|
package/package.json
CHANGED
package/src/ui/app.css
CHANGED
|
@@ -3719,3 +3719,12 @@ a.kl-dmore { display: inline-flex; align-items: center; gap: 6px; text-decoratio
|
|
|
3719
3719
|
.kl-card .cn-logo:not(.none) { background: light-dark(transparent, #fff); padding: 3px; box-sizing: border-box; }
|
|
3720
3720
|
.kl-dinner { padding-top: 26px; }
|
|
3721
3721
|
.wb-tools .people-pill[hidden] { display: none; }
|
|
3722
|
+
|
|
3723
|
+
/* The folded chat's rail (Daniel, 2026-11-12): the chat icon and its count, then the faces of who wrote to you
|
|
3724
|
+
directly, each with what is unread; a face opens your thread with them */
|
|
3725
|
+
.chat-rail-faces { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 6px; }
|
|
3726
|
+
.chat-rail-faces:empty { display: none; }
|
|
3727
|
+
.chat-rail-faces .crf { position: relative; display: block; cursor: pointer; }
|
|
3728
|
+
.chat-rail-faces .crf .avatar { width: 30px; height: 30px; font-size: 12px; box-shadow: 0 0 0 2px var(--bg); }
|
|
3729
|
+
.chat-rail-faces .crf:hover .avatar { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }
|
|
3730
|
+
.chat-rail-faces .crf i { position: absolute; right: -5px; top: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 700 10px/16px var(--sans); font-style: normal; text-align: center; box-shadow: 0 0 0 2px var(--bg); }
|
package/src/ui/loom.css
CHANGED
|
@@ -414,7 +414,8 @@
|
|
|
414
414
|
/* The Chat tab: the loom fills the main area and the composer sits under it (the chat pane, without its list) */
|
|
415
415
|
.ws-body.chat-in-main.loom-chat .ws-main > #main { display: flex; flex-direction: column; flex: 1; min-height: 0; }
|
|
416
416
|
.ws-body.loom-chat .ws-main > .ws-chat { flex: none; }
|
|
417
|
-
|
|
417
|
+
/* The chat panel on the right: its messages and head show; who is working is on the loom's lanes already. */
|
|
418
|
+
.ws-body.loom-chat .ws-chat > .work-strip { display: none; }
|
|
418
419
|
/* The composer's "To": a chip (dm06), tinted for a direct message */
|
|
419
420
|
.ws-body.loom-chat .composer .to select { height: 26px; padding: 0 26px 0 11px; border: 0; border-radius: 999px; background-color: var(--panel-2); color: var(--text); font: 600 12.5px var(--sans); appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 13px) 11px, calc(100% - 9px) 11px; background-size: 4px 4px; background-repeat: no-repeat; cursor: pointer; }
|
|
420
421
|
.ws-body.loom-chat .composer .to select:has(option:checked:not([value=""])) { background-color: color-mix(in srgb, var(--accent) 14%, var(--panel)); color: var(--accent); }
|
|
@@ -456,7 +457,7 @@
|
|
|
456
457
|
|
|
457
458
|
/* The composer in the loom, a person's view and a DM thread (dm06): one rounded box with the To chip,
|
|
458
459
|
the text, and a bar with + and @ on the left and send on the right */
|
|
459
|
-
.ws-body.loom-chat .ws-chat > .composer { margin: 8px
|
|
460
|
+
.ws-body.loom-chat .ws-chat > .composer { margin: 8px 12px 12px; padding: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--panel); }
|
|
460
461
|
.ws-body.loom-chat .ws-chat > .composer:focus-within { border-color: var(--border-strong); }
|
|
461
462
|
.ws-body.loom-chat .composer .to { margin: 0; padding: 10px 16px 0; gap: 8px; font-size: 12.5px; color: var(--faint); }
|
|
462
463
|
.ws-body.loom-chat .composer .to .dd-btn { height: 24px; padding: 2px 10px; border: 0; border-radius: 999px; background: var(--panel-2); color: var(--text); font: 600 12.5px var(--sans); }
|
package/src/ui/session.js
CHANGED
|
@@ -220,7 +220,7 @@ export function mountSession (id) {
|
|
|
220
220
|
</main>
|
|
221
221
|
<aside class="ws-chat" id="chat-pane" aria-label="Chat">
|
|
222
222
|
<div class="chat-resize" id="chat-resize" role="separator" aria-orientation="vertical" aria-label="Resize chat" title="Drag to resize · double-click to collapse" tabindex="0"></div>
|
|
223
|
-
<button type="button" class="chat-rail" id="chat-rail" title="Open chat" aria-label="Open chat">${I.chat}<span class="chat-badge" id="chat-rail-badge" hidden></span></button>
|
|
223
|
+
<button type="button" class="chat-rail" id="chat-rail" title="Open chat" aria-label="Open chat">${I.chat}<span class="chat-badge" id="chat-rail-badge" hidden></span><span class="chat-rail-faces" id="chat-rail-faces"></span></button>
|
|
224
224
|
<div class="work-strip" id="work-strip" aria-label="What people are working on"></div>
|
|
225
225
|
<div class="chat-head"><h3>Chat</h3><span class="hint" id="chat-sub"></span>${callButtonMarkup()}<button type="button" class="tree-collapse chat-collapse" id="collapse-chat" title="Collapse chat" aria-label="Collapse chat" aria-controls="chat-pane">${I.arrowRight}</button></div>
|
|
226
226
|
<div class="messages" id="messages"></div>
|
|
@@ -1416,7 +1416,7 @@ function renderSessHead () {
|
|
|
1416
1416
|
const html = `${sc}
|
|
1417
1417
|
${working ? `<span class="sh-live"><span class="pulse"></span>${working} working</span>` : ''}
|
|
1418
1418
|
<span class="sh-sp"></span>
|
|
1419
|
-
<div class="sh-tabs" role="tablist">${tab('chat', '
|
|
1419
|
+
<div class="sh-tabs" role="tablist">${tab('chat', 'Loom')}${tab('tasks', 'Tasks')}${tab('code', 'Code')}${tab('preview', 'Preview')}</div>
|
|
1420
1420
|
<span class="sh-faces" title="${esc([st.me, ...st.peers].map((p) => p.name).join(', '))}">${[st.me, ...st.peers].slice(0, 4).map((p, i) => `<span style="z-index:${10 - i}">${avatar(p.name, personInfo(p.name).color || p.color)}</span>`).join('')}</span>`
|
|
1421
1421
|
if (el.dataset.html === html) return
|
|
1422
1422
|
el.innerHTML = html
|
|
@@ -2730,16 +2730,16 @@ function bindBoard () {
|
|
|
2730
2730
|
// The session's chat sits in the main area where the Loom was, on the Everyone tab; any other tab
|
|
2731
2731
|
// (an AI chat, a file, tasks, search) puts it back on the right. The pane is moved, not redrawn, so
|
|
2732
2732
|
// what's typed and the scroll position stay.
|
|
2733
|
-
|
|
2733
|
+
// The chat is a panel on the right of every session tab (Daniel, 2026-11-12), so the loom shows only the AIs' work;
|
|
2734
|
+
// it folds to a slim rail. The workspace's pages (Home, Files, People, Connections) have none.
|
|
2735
|
+
function placeChat () {
|
|
2734
2736
|
const pane = $('#chat-pane')
|
|
2735
2737
|
const body = $('#ws-body')
|
|
2736
|
-
|
|
2737
|
-
|
|
2738
|
-
body.classList.
|
|
2739
|
-
body.classList.toggle('
|
|
2740
|
-
body.
|
|
2741
|
-
if (inMain && pane.parentElement !== main.parentElement) main.after(pane)
|
|
2742
|
-
if (!inMain && pane.parentElement !== body) body.insertBefore(pane, $('#scrim'))
|
|
2738
|
+
if (!pane || !body || !current) return
|
|
2739
|
+
body.classList.remove('chat-in-main')
|
|
2740
|
+
body.classList.add('loom-chat')
|
|
2741
|
+
body.classList.toggle('chat-off', PAGES.includes(ws(current).mode))
|
|
2742
|
+
if (pane.parentElement !== body) body.insertBefore(pane, $('#scrim'))
|
|
2743
2743
|
}
|
|
2744
2744
|
|
|
2745
2745
|
// The Code tab: the session's repo (a session is one repo) as a file tree, beside the file that's open.
|
|
@@ -2778,7 +2778,7 @@ function renderMain () {
|
|
|
2778
2778
|
const st = sum().status
|
|
2779
2779
|
document.querySelector('.sess-bar')?.classList.toggle('off', PAGES.includes(w.mode) && !!sum().workspace)
|
|
2780
2780
|
// The loom and a person's view keep the composer under them; the other tabs have none.
|
|
2781
|
-
|
|
2781
|
+
placeChat()
|
|
2782
2782
|
if (w.mode === 'tasks') {
|
|
2783
2783
|
// Restoring the last archived task goes back to the board, and stays there.
|
|
2784
2784
|
if (w.archived && !(st.tasks || []).some((t) => t.archived)) w.archived = false
|
|
@@ -2911,7 +2911,7 @@ function renderMain () {
|
|
|
2911
2911
|
}
|
|
2912
2912
|
delete el.dataset.connections
|
|
2913
2913
|
if (w.mode === 'ai' && w.dmWith) {
|
|
2914
|
-
placeChat(
|
|
2914
|
+
placeChat()
|
|
2915
2915
|
const html = dmThreadHtml(w.dmWith)
|
|
2916
2916
|
if (el.dataset.dm !== html) {
|
|
2917
2917
|
const sc = el.querySelector('.dm-scroll')
|
|
@@ -2942,11 +2942,11 @@ function renderMain () {
|
|
|
2942
2942
|
<button class="btn primary" data-copy-invite="edit">${I.copy}<span>Copy invite link</span></button>` : `<p class="hint">${esc(NO_LINK_YET)}</p>`}
|
|
2943
2943
|
<p class="hint small">Once they join, you'll see their AI chat here as it happens.</p>
|
|
2944
2944
|
</div>`
|
|
2945
|
-
placeChat(
|
|
2945
|
+
placeChat()
|
|
2946
2946
|
return
|
|
2947
2947
|
}
|
|
2948
|
-
//
|
|
2949
|
-
placeChat(
|
|
2948
|
+
// The loom: everyone's lanes and what their AIs did; the chat is in its panel on the right.
|
|
2949
|
+
placeChat()
|
|
2950
2950
|
renderLoomView(el)
|
|
2951
2951
|
return
|
|
2952
2952
|
}
|
|
@@ -2955,7 +2955,7 @@ function renderMain () {
|
|
|
2955
2955
|
if (!entries) { el.innerHTML = `<div class="main-empty"><p class="hint">${loadingNote()}</p></div>`; return }
|
|
2956
2956
|
const p = personInfo(w.aiSel)
|
|
2957
2957
|
const convSel = w.convSel && w.convSel[w.aiSel]
|
|
2958
|
-
placeChat(
|
|
2958
|
+
placeChat()
|
|
2959
2959
|
renderFeed(el, { entries, person: w.aiSel, isMe: !!p.isMe, color: p.color, agent: p.agent, online: p.online, convSel, head: true, tool: p.kind === 'agent' ? 'agent' : p.tool || '' })
|
|
2960
2960
|
} else {
|
|
2961
2961
|
const host = codeShell(el)
|
|
@@ -3240,7 +3240,7 @@ function renderLoomView (el) {
|
|
|
3240
3240
|
],
|
|
3241
3241
|
owners: owners(s),
|
|
3242
3242
|
feeds: state.feeds.get(current) || new Map(),
|
|
3243
|
-
messages:
|
|
3243
|
+
messages: [], // chat is in its panel on the right, not across the loom
|
|
3244
3244
|
tasks: st.tasks || [],
|
|
3245
3245
|
claims: st.claims || []
|
|
3246
3246
|
})
|
|
@@ -3741,6 +3741,13 @@ function renderChatBadge () {
|
|
|
3741
3741
|
badge.hidden = !n
|
|
3742
3742
|
badge.textContent = n > 99 ? '99+' : String(n)
|
|
3743
3743
|
rail.title = n ? `Open chat · ${n} new message${n === 1 ? '' : 's'}` : 'Open chat'
|
|
3744
|
+
// Folded, the rail also shows who wrote to you directly, with what is unread: a click opens your thread with them.
|
|
3745
|
+
const faces = $('#chat-rail-faces')
|
|
3746
|
+
if (faces) {
|
|
3747
|
+
const from = s && chatCollapsed() ? (s.status.peers || []).map((p) => ({ p, n: dmUnread(p.name) })).filter((x) => x.n) : []
|
|
3748
|
+
const html = from.map(({ p, n }) => `<span class="crf" data-rail-dm="${esc(p.name)}" title="${esc(`${n} direct message${n === 1 ? '' : 's'} from ${p.name}`)}">${avatar(p.name, personInfo(p.name).color || p.color)}<i>${n > 9 ? '9+' : n}</i></span>`).join('')
|
|
3749
|
+
if (faces.dataset.html !== html) { faces.innerHTML = html; faces.dataset.html = html }
|
|
3750
|
+
}
|
|
3744
3751
|
}
|
|
3745
3752
|
|
|
3746
3753
|
function bindChatPane () {
|
|
@@ -3748,7 +3755,11 @@ function bindChatPane () {
|
|
|
3748
3755
|
const handle = $('#chat-resize')
|
|
3749
3756
|
if (!body || !handle) return
|
|
3750
3757
|
$('#collapse-chat').onclick = () => setChatCollapsed(true)
|
|
3751
|
-
$('#chat-rail').onclick = () =>
|
|
3758
|
+
$('#chat-rail').onclick = (e) => {
|
|
3759
|
+
const dm = e.target.closest('[data-rail-dm]')
|
|
3760
|
+
if (dm) { openDm(dm.dataset.railDm); setChatCollapsed(false); return } // the thread, and the chat open to answer them
|
|
3761
|
+
setChatCollapsed(false)
|
|
3762
|
+
}
|
|
3752
3763
|
handle.ondblclick = () => setChatCollapsed(!chatCollapsed())
|
|
3753
3764
|
handle.onkeydown = (e) => {
|
|
3754
3765
|
if (e.key === 'Enter') { e.preventDefault(); return setChatCollapsed(!chatCollapsed()) }
|