relay-companion 0.1.95 → 0.1.96

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.
Files changed (2) hide show
  1. package/overlay/inbox.html +5 -14
  2. package/package.json +1 -1
@@ -682,8 +682,6 @@
682
682
  /* Conversation messages read like a group chat: each person's own messages
683
683
  sit on one side, and every party's name keeps a stable color so a busy
684
684
  thread is scannable by who-said-what (the WhatsApp convention). */
685
- .th-detail-title { padding:2px 16px 10px; font-family:var(--serif); font-size:15px; line-height:1.3; color:var(--ink); font-weight:600; overflow-wrap:anywhere; }
686
- .th-detail-title:empty { display:none; }
687
685
  .th-msg { position:relative; display:block; width:100%; text-align:left; appearance:none; border:0; cursor:pointer; background:transparent; padding:11px 16px; border-bottom:1px solid var(--hair); font-family:var(--sans); }
688
686
  .th-msg:hover { background:rgba(31,26,23,.035); }
689
687
  .th-msg.expanded { background:rgba(31,26,23,.045); }
@@ -695,16 +693,16 @@
695
693
  overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow-wrap:anywhere; }
696
694
  .th-msg.unread .th-msg-title { color:var(--ink); font-weight:500; }
697
695
  /* Your own messages hang to the right, like your side of a group chat. */
698
- .th-msg.mine { text-align:right; background:rgba(31,26,23,.022); }
696
+ .th-msg.mine { text-align:right; }
699
697
  .th-msg.mine .th-msg-top { flex-direction:row-reverse; }
700
698
  .th-msg.mine .th-party { text-align:right; }
701
699
  .th-msg.mine .th-msg-title { text-align:right; }
702
700
  /* Per-party name colors. Assigned by a stable hash of the party name, so a
703
701
  person keeps the same color across every conversation and every restart. */
704
- .th-party.p0 { color:#1f6f5c; } .th-party.p1 { color:#8a4b2a; } .th-party.p2 { color:#4a4aa8; }
705
- .th-party.p3 { color:#8a2f5e; } .th-party.p4 { color:#2f6f8a; } .th-party.p5 { color:#6b5a1f; }
706
- .th-party.p6 { color:#7a3030; } .th-party.p7 { color:#3f6b2a; }
707
- .th-party.me { color:var(--accent); }
702
+ .th-party.p0 { color:#4a6b5f; } .th-party.p1 { color:#7a5540; } .th-party.p2 { color:#53607d; }
703
+ .th-party.p3 { color:#75485f; } .th-party.p4 { color:#456a76; } .th-party.p5 { color:#6b6142; }
704
+ .th-party.p6 { color:#7a4f4a; } .th-party.p7 { color:#4f6748; }
705
+ .th-party.me { color:var(--muted); }
708
706
 
709
707
  /* Sent-row read receipt chip: "read" sits in a light-green enclosure, "unread" stays quiet. */
710
708
  .sent-chip {
@@ -846,7 +844,6 @@
846
844
  </button>
847
845
  <span class="th-detail-name" id="thDetailName"></span>
848
846
  </div>
849
- <div class="th-detail-title" id="thDetailTitle"></div>
850
847
  <div id="thHistory"></div>
851
848
  </div>
852
849
  </section>
@@ -963,7 +960,6 @@
963
960
  const thDetailEl = document.getElementById("thDetail");
964
961
  const thBackEl = document.getElementById("thBack");
965
962
  const thDetailNameEl = document.getElementById("thDetailName");
966
- const thDetailTitleEl = document.getElementById("thDetailTitle");
967
963
  const thHistoryEl = document.getElementById("thHistory");
968
964
  const settingsViewEl = document.getElementById("settingsView");
969
965
  const signInBannerEl = document.getElementById("signInBanner");
@@ -3109,11 +3105,6 @@
3109
3105
  return;
3110
3106
  }
3111
3107
  thDetailNameEl.textContent = thread.party;
3112
- // The conversation's name sits under the party, the way a chat header shows
3113
- // the subject: an explicit thread title when one was set, else the relay
3114
- // that started the exchange. Hidden when it would only repeat the party.
3115
- const headerTitle = String(thread.title || "").trim();
3116
- thDetailTitleEl.textContent = headerTitle && headerTitle !== thread.party ? headerTitle : "";
3117
3108
  // Thread-level opens act on the newest inbound message (falling back to the
3118
3109
  // newest message overall): "current" injects with the threadId so the agent
3119
3110
  // fetches the whole exchange; "new chat" seeds the full transcript.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "relay-companion",
3
- "version": "0.1.95",
3
+ "version": "0.1.96",
4
4
  "description": "Relay companion for ordinary messages, with dormant coordination features available only by explicit opt-in.",
5
5
  "type": "module",
6
6
  "bin": {