@agent-link/server 0.1.8 → 0.1.9

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/package.json +1 -1
  2. package/web/style.css +76 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agent-link/server",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "AgentLink relay server",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/web/style.css CHANGED
@@ -1715,6 +1715,16 @@ body {
1715
1715
  Mobile responsive — max-width: 768px
1716
1716
  ══════════════════════════════════════════ */
1717
1717
  @media (max-width: 768px) {
1718
+ /* Prevent page-level horizontal scroll */
1719
+ html, body {
1720
+ overflow-x: hidden;
1721
+ }
1722
+
1723
+ .layout, .main-body, .chat-area {
1724
+ overflow-x: hidden;
1725
+ max-width: 100vw;
1726
+ }
1727
+
1718
1728
  /* Sidebar as fixed overlay */
1719
1729
  .sidebar {
1720
1730
  position: fixed;
@@ -1751,6 +1761,58 @@ body {
1751
1761
 
1752
1762
  .message-list-inner {
1753
1763
  max-width: 100%;
1764
+ min-width: 0;
1765
+ }
1766
+
1767
+ /* Constrain message rows and bubbles */
1768
+ .message-row {
1769
+ min-width: 0;
1770
+ max-width: 100%;
1771
+ }
1772
+
1773
+ .message-bubble {
1774
+ min-width: 0;
1775
+ max-width: 100%;
1776
+ overflow: hidden;
1777
+ overflow-wrap: anywhere;
1778
+ word-break: break-word;
1779
+ }
1780
+
1781
+ /* Message content: contain all overflow within the bubble */
1782
+ .message-content {
1783
+ min-width: 0;
1784
+ max-width: 100%;
1785
+ overflow-wrap: anywhere;
1786
+ word-break: break-word;
1787
+ }
1788
+
1789
+ .message-content pre {
1790
+ max-width: 100%;
1791
+ overflow-x: auto;
1792
+ }
1793
+
1794
+ /* Code block wrappers */
1795
+ .code-block-wrapper {
1796
+ max-width: 100%;
1797
+ }
1798
+
1799
+ .code-block-wrapper pre {
1800
+ max-width: 100%;
1801
+ overflow-x: auto;
1802
+ }
1803
+
1804
+ .markdown-body code {
1805
+ word-break: break-all;
1806
+ }
1807
+
1808
+ .markdown-body pre {
1809
+ max-width: 100%;
1810
+ }
1811
+
1812
+ .markdown-body table {
1813
+ display: block;
1814
+ max-width: 100%;
1815
+ overflow-x: auto;
1754
1816
  }
1755
1817
 
1756
1818
  /* Input area */
@@ -1778,25 +1840,30 @@ body {
1778
1840
  /* Tool blocks */
1779
1841
  .tool-expand {
1780
1842
  margin-left: 0;
1843
+ min-width: 0;
1844
+ max-width: 100%;
1845
+ overflow: hidden;
1846
+ }
1847
+
1848
+ .tool-block {
1849
+ max-width: 100%;
1850
+ overflow-x: auto;
1781
1851
  }
1782
1852
 
1783
1853
  .tool-output-content pre {
1784
1854
  font-size: 0.8rem;
1855
+ max-width: 100%;
1856
+ }
1857
+
1858
+ .tool-input-formatted {
1859
+ max-width: 100%;
1860
+ overflow-wrap: anywhere;
1785
1861
  }
1786
1862
 
1787
1863
  /* AskUserQuestion — larger tap targets */
1788
1864
  .ask-question-option {
1789
1865
  min-height: 44px;
1790
1866
  }
1791
-
1792
- /* Message content overflow */
1793
- .message-content {
1794
- overflow-x: auto;
1795
- }
1796
-
1797
- .message-content pre {
1798
- max-width: calc(100vw - 3rem);
1799
- }
1800
1867
  }
1801
1868
 
1802
1869
  /* ══════════════════════════════════════════