peertable 0.8.44 → 0.8.45
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/room/client.mjs +1 -1
- package/room/server.mjs +6 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "peertable",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.45",
|
|
4
4
|
"description": "A round table of peer agents. No orchestrator at the head. Turn Claude Code, Codex, and Grok sessions into a team of equal, long-lived peers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
package/room/client.mjs
CHANGED
|
@@ -14,7 +14,7 @@ import { boundedRecent, boundedUnread } from './message-bounds.mjs'
|
|
|
14
14
|
|
|
15
15
|
// client.mjs 側のハードコード版数。package.json の version と一致していることを
|
|
16
16
|
// diagnostics の version_consistency が見る(2 つの版数源の drift 検出。決定45)
|
|
17
|
-
const MCP_VERSION = '0.8.
|
|
17
|
+
const MCP_VERSION = '0.8.45'
|
|
18
18
|
const PKG_ROOT = join(dirname(fileURLToPath(import.meta.url)), '..')
|
|
19
19
|
|
|
20
20
|
const USAGE = `usage:
|
package/room/server.mjs
CHANGED
|
@@ -598,9 +598,9 @@ const UI = room => `<!doctype html><html lang="ja"><head><meta charset="utf-8"><
|
|
|
598
598
|
.bridgewarn:empty{display:none}
|
|
599
599
|
.chip.has-meta{cursor:pointer}
|
|
600
600
|
/* 稼働状態の点。報告が途絶えたら unknown(中空)へ落として、古い状態を出し続けない */
|
|
601
|
-
.chip .
|
|
602
|
-
.chip .
|
|
603
|
-
.chip .activity{display:block;
|
|
601
|
+
.chip .id{display:inline-grid;grid-template-columns:min-content}
|
|
602
|
+
.chip .nm{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
|
|
603
|
+
.chip .activity{display:block;width:0;min-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--dim);font-size:10px;font-weight:500}
|
|
604
604
|
.chip .st{flex:none;display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--dim)}
|
|
605
605
|
.chip .st.busy{background:var(--busy)}
|
|
606
606
|
.chip .st.idle{background:var(--idle)}
|
|
@@ -610,7 +610,7 @@ const UI = room => `<!doctype html><html lang="ja"><head><meta charset="utf-8"><
|
|
|
610
610
|
.metapop{position:fixed;z-index:20;background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:12px;box-shadow:0 6px 20px rgba(0,0,0,.18);max-width:70vw}
|
|
611
611
|
.metapop .metaname{font-weight:600;margin-bottom:2px}
|
|
612
612
|
.metapop .metaline{color:var(--dim)}
|
|
613
|
-
.chip{position:relative;flex:none;display:flex;align-items:center;gap:7px;
|
|
613
|
+
.chip{position:relative;flex:none;display:flex;align-items:center;gap:7px;padding:6px 11px 6px 6px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font-size:12px;font-weight:600}
|
|
614
614
|
.chip .av{width:22px;height:22px;font-size:11px;flex:none}
|
|
615
615
|
.chip .id{display:flex;flex-direction:column;gap:1px;min-width:0;line-height:1.25}
|
|
616
616
|
.chip.recent{border-color:hsl(var(--h) var(--sat) var(--edge))}
|
|
@@ -840,11 +840,10 @@ async function refreshMembers(){
|
|
|
840
840
|
const id=el('span','id')
|
|
841
841
|
const nameRow=el('span','nm',m.name)
|
|
842
842
|
nameRow.appendChild(el('span','st '+(st??'unknown')))
|
|
843
|
-
nameRow.appendChild(el('span','state-label',stateText))
|
|
844
843
|
id.appendChild(nameRow)
|
|
845
|
-
id.appendChild(el('span','activity',
|
|
844
|
+
id.appendChild(el('span','activity',rolesText||'役割未設定'))
|
|
846
845
|
c.appendChild(id)
|
|
847
|
-
c.setAttribute('aria-label',m.name+'、'+stateText+'、'+(
|
|
846
|
+
c.setAttribute('aria-label',m.name+'、'+stateText+'、'+(rolesText||'役割未設定'))
|
|
848
847
|
// タップ環境には hover が無いので、押した時に同じ内容を出す(ホバーは title が担う)
|
|
849
848
|
if(meta.length){c.classList.add('has-meta');c.addEventListener('click',ev=>{ev.stopPropagation();showMeta(c,m,meta)})}
|
|
850
849
|
membersEl.appendChild(c)
|