heyquilt 0.3.156 → 0.3.157

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 CHANGED
@@ -11,6 +11,10 @@ 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.157 — 2026-11-12
15
+
16
+ - **A new Connections page.** The apps you've connected are cards at the top. Below them, one search box for every app you can connect, a row of categories, and a grid of app icons. Click an app to see what it is and how you sign in, and connect it right there.
17
+
14
18
  ## 0.3.156 — 2026-11-12
15
19
 
16
20
  - **Every app you can connect.** Connections lists all 1,600+ apps Composio can connect for you, most used first, with categories, search, and Load more. Each says how you sign in: one click, or your own API key. **Add a connection** takes you to them.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heyquilt",
3
- "version": "0.3.156",
3
+ "version": "0.3.157",
4
4
  "description": "Real-time, tool-agnostic pair vibe coding: sync a project folder live between collaborators using any AI coding tool.",
5
5
  "author": {
6
6
  "name": "Daniel Carmichael",
package/src/ui/app.css CHANGED
@@ -3592,3 +3592,31 @@ button.sh-repo:hover { color: var(--text); }
3592
3592
  .cn-how { flex: 1; min-width: 0; font-size: 12px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .cn-how.oneclick { color: var(--ok); }
3593
3593
  .cn-af .btn { height: 30px; padding: 0 14px; }
3594
3594
  .cn-ready { font-size: 12px; font-weight: 600; color: var(--ok); }
3595
+
3596
+ /* Connections, layout C (conn-options.html): connected cards, one big search with a row of category tabs, and an
3597
+ icon grid; the open app's details sit under its row */
3598
+ .cn-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 18px 0 4px; }
3599
+ .cn-bigsrc { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 560px; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); color: var(--faint); }
3600
+ .cn-bigsrc:focus-within { border-color: var(--border-strong); }
3601
+ .cn-bigsrc svg { width: 16px; height: 16px; flex: none; }
3602
+ .cn-bigsrc input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 14px var(--sans); color: var(--text); }
3603
+ .cn-tabs { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; }
3604
+ .cn-tab { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 500 12.5px var(--sans); white-space: nowrap; cursor: pointer; }
3605
+ .cn-tab:hover { color: var(--text); } .cn-tab.on { background: var(--panel-2); color: var(--text); }
3606
+ .cn-tab svg { width: 12px; height: 12px; }
3607
+ .cn-tabmore { position: relative; }
3608
+ .cn-tabmenu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 20; min-width: 220px; padding: 6px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); box-shadow: 0 12px 30px light-dark(rgba(29, 27, 46, .12), rgba(0, 0, 0, .45)); display: flex; flex-direction: column; }
3609
+ .cn-tabmenu button { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border: 0; border-radius: 8px; background: none; color: var(--text); font: 13px var(--sans); text-align: left; cursor: pointer; }
3610
+ .cn-tabmenu button:hover { background: var(--panel-2); } .cn-tabmenu i { font-style: normal; color: var(--faint); font-size: 12px; }
3611
+ .cn-found { margin: 0; font-size: 12.5px; color: var(--muted); }
3612
+ .cn-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; margin-top: 6px; }
3613
+ .cn-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; padding: 16px 8px 12px; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--text); font: inherit; cursor: pointer; }
3614
+ .cn-tile:hover, .cn-tile.open { background: var(--panel); border-color: var(--border); }
3615
+ .cn-tile .cn-logo { width: 44px; height: 44px; padding: 6px; box-sizing: border-box; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--border); object-fit: contain; }
3616
+ .cn-tile .cn-logo.none { display: grid; place-items: center; background: var(--panel-2); font-size: 16px; }
3617
+ .cn-tile b { max-width: 100%; font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
3618
+ .cn-detail { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
3619
+ .cn-detail .cn-logo { width: 44px; height: 44px; padding: 6px; box-sizing: border-box; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px var(--border); object-fit: contain; flex: none; }
3620
+ .cn-detail > div { flex: 1; min-width: 0; } .cn-detail b { font-size: 15px; font-weight: 600; } .cn-detail p { margin: 3px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
3621
+ .cn-detail .btn { flex: none; height: 36px; }
3622
+ .cn-page .cn-grid { margin-bottom: 4px; }
@@ -22,7 +22,7 @@ const logoHtml = (a) => a.logo
22
22
  */
23
23
  export function mountConnections (root, { type, id, page = false, sessions = [], callsRoom = null, me = '' }) {
24
24
  // The catalog: `apps` the page shown so far, `total` how many match, `cat` the category picked ('' every app).
25
- const ui = { search: '', apps: null, total: 0, all: 0, categories: [], cat: '', loadingMore: false, busy: '', error: '', calls: null, confirm: null }
25
+ const ui = { search: '', apps: null, total: 0, all: 0, categories: [], cat: '', open: null, moreCats: false, loadingMore: false, busy: '', error: '', calls: null, confirm: null }
26
26
  let view = views.get(`${type}:${id}`) || null
27
27
  let alive = true
28
28
  let poll = null
@@ -52,15 +52,16 @@ export function mountConnections (root, { type, id, page = false, sessions = [],
52
52
  <div class="cn-where">${chips.map((x) => `<span>${esc(x)}</span>`).join('')}</div><div class="cn-by">Connected by ${esc(by)}${page ? pageManage : ` · ${esc(ago(c.createdAt))}${manage}`}</div></div>`
53
53
  }
54
54
 
55
- // An app to add (dm06's catalog): its logo, name and what it is, how you sign in, and Connect.
55
+ // The catalog as an icon grid (Daniel picked layout C, conn-options.html): a tile per app; the open one's
56
+ // details (what it is, how you sign in, Connect) open in a row under its row of tiles.
56
57
  const HOW = { oneclick: 'Sign in with one click', key: 'Uses your own API key', none: 'No sign-in needed' }
57
- function appCardHtml (a, connected) {
58
+ const tileHtml = (a) => `<button type="button" class="cn-tile${ui.open === a.slug ? ' open' : ''}" data-tile="${esc(a.slug)}" aria-expanded="${ui.open === a.slug}" title="${esc(a.name)}">${logoHtml(a)}<b>${esc(a.name)}</b></button>`
59
+ function detailHtml (a, connected) {
58
60
  const busy = ui.busy === a.slug
59
61
  const act = a.how === 'none'
60
- ? '<span class="cn-ready">Agents can use it</span>'
61
- : `<button type="button" class="btn sm" data-connect="${esc(a.slug)}"${busy ? ' disabled' : ''}>${busy ? 'Opening…' : connected ? 'Add another' : 'Connect'}</button>`
62
- return `<div class="cn-app">${logoHtml(a)}<div class="cn-at"><b>${esc(a.name)}</b><small title="${esc(a.description)}">${esc(a.description || (a.categories[0] ? cap(a.categories[0].name) : ''))}</small></div>
63
- <div class="cn-af"><span class="cn-how ${esc(a.how)}">${esc(HOW[a.how] || '')}</span>${act}</div></div>`
62
+ ? '<span class="cn-ready">No sign-in: agents can use it</span>'
63
+ : `<button type="button" class="btn primary" data-connect="${esc(a.slug)}"${busy ? ' disabled' : ''}>${busy ? 'Opening…' : connected ? `Add another ${esc(a.name)}` : `Connect ${esc(a.name)}`}</button>`
64
+ return `<div class="cn-detail" data-detail="${esc(a.slug)}">${logoHtml(a)}<div><b>${esc(a.name)}</b><p>${esc(a.description || '')}${a.description ? ' · ' : ''}<span class="cn-how ${esc(a.how)}">${esc(HOW[a.how] || '')}</span></p></div>${act}</div>`
64
65
  }
65
66
 
66
67
  function callsHtml () {
@@ -85,18 +86,37 @@ export function mountConnections (root, { type, id, page = false, sessions = [],
85
86
  const lead = page
86
87
  ? (type === 'workspace' ? 'Apps your sessions and their AIs can use, connected once for the whole workspace through Composio' : 'Apps this session and its AIs can use, connected through Composio')
87
88
  : `Apps ${esc(LEVEL[type] || type)}’s AIs can use. They read at once and ask a person before they send, change or delete anything; each sign-in stays with Composio, never in Quilt.`
89
+ const TABS = 7
90
+ // Apps already connected here are in the cards above, not in the grid (unless you search for one).
91
+ const shown = ui.search ? apps : apps.filter((a) => !ownApps.has(a.slug))
92
+ const tabs = ui.categories.slice(0, TABS)
93
+ const rest = ui.categories.slice(TABS)
94
+ const inRest = rest.find((c) => c.id === ui.cat)
95
+ const open = ui.open && apps.find((a) => a.slug === ui.open)
88
96
  root.innerHTML = `<div class="cn${page ? ' cn-page' : ''}">
89
- <div class="cn-h"><div>${page ? `<h2>Connections <i>${count}</i></h2>` : `<h3>Connections <i>${count}</i></h3>`}<small>${lead}</small></div>
90
- ${view.canManage ? `<label class="cn-src">${SEARCH_ICON}<input data-search placeholder="Search thousands of apps" value="${esc(ui.search)}" aria-label="Search apps"></label><button type="button" class="btn primary" data-add-focus>${I.plus}<span>Add a connection</span></button>` : ''}</div>
91
- ${own.length || inherited.length ? `<div class="cn-grid">${own.map((c) => cardHtml(c, true)).join('')}${inherited.map((c) => cardHtml(c, false)).join('')}</div>` : '<p class="hint cn-none">Nothing connected yet: pick an app below, and agents can use it once you sign in.</p>'}
97
+ <div class="cn-h"><div>${page ? `<h2>Connections <i>${count}</i></h2>` : `<h3>Connections <i>${count}</i></h3>`}<small>${lead}</small></div></div>
98
+ ${own.length || inherited.length ? `<div class="cn-grid">${own.map((c) => cardHtml(c, true)).join('')}${inherited.map((c) => cardHtml(c, false)).join('')}</div>` : ''}
92
99
  ${view.canManage ? `<section class="cn-cat" id="cn-catalog">
93
- <div class="cn-cath"><h3>${ui.search ? `Apps matching “${esc(ui.search)}”` : catName ? esc(catName) : 'Add an app'}</h3><small>${ui.apps === null ? 'Loading…' : `${ui.total.toLocaleString()} app${ui.total === 1 ? '' : 's'}${ui.search || ui.cat ? ` of ${ui.all.toLocaleString()}` : ' you can connect, most used first'}`}</small></div>
94
- ${ui.categories.length ? `<div class="cn-chips" role="tablist" aria-label="Categories"><button type="button" class="cn-chip${ui.cat ? '' : ' on'}" role="tab" aria-selected="${!ui.cat}" data-cat="">All</button>${ui.categories.map((c) => `<button type="button" class="cn-chip${ui.cat === c.id ? ' on' : ''}" role="tab" aria-selected="${ui.cat === c.id}" data-cat="${esc(c.id)}">${esc(cap(c.name))}<i>${c.n}</i></button>`).join('')}</div>` : ''}
95
- ${ui.apps === null ? '' : apps.length ? `<div class="cn-apps">${apps.map((a) => appCardHtml(a, ownApps.has(a.slug))).join('')}</div>` : `<p class="hint cn-none">No app matches${ui.search ? ` “${esc(ui.search)}”` : ''}${catName ? ` in ${esc(catName)}` : ''}.</p>`}
100
+ <div class="cn-hero">
101
+ <label class="cn-bigsrc">${SEARCH_ICON}<input data-search placeholder="Search ${ui.all ? ui.all.toLocaleString() : 'thousands of'} apps to connect" value="${esc(ui.search)}" aria-label="Search apps to connect"></label>
102
+ ${ui.categories.length && !ui.search ? `<div class="cn-tabs" role="tablist" aria-label="Categories">
103
+ <button type="button" class="cn-tab${ui.cat ? '' : ' on'}" role="tab" aria-selected="${!ui.cat}" data-cat="">Popular</button>
104
+ ${tabs.map((c) => `<button type="button" class="cn-tab${ui.cat === c.id ? ' on' : ''}" role="tab" aria-selected="${ui.cat === c.id}" data-cat="${esc(c.id)}">${esc(cap(c.name))}</button>`).join('')}
105
+ ${rest.length ? `<span class="cn-tabmore"><button type="button" class="cn-tab${inRest ? ' on' : ''}" data-cat-more aria-expanded="${!!ui.moreCats}">${inRest ? esc(cap(inRest.name)) : 'More'} ${I.chevDown || '▾'}</button>${ui.moreCats ? `<span class="cn-tabmenu" role="menu">${rest.map((c) => `<button type="button" role="menuitem" data-cat="${esc(c.id)}">${esc(cap(c.name))}<i>${c.n}</i></button>`).join('')}</span>` : ''}</span>` : ''}
106
+ </div>` : ui.search ? `<p class="cn-found">${ui.apps === null ? 'Looking…' : `${ui.total.toLocaleString()} app${ui.total === 1 ? '' : 's'} match “${esc(ui.search)}”`}</p>` : ''}
107
+ </div>
108
+ ${ui.apps === null ? '<p class="hint cn-none">Loading apps…</p>' : shown.length ? `<div class="cn-tiles">${shown.map(tileHtml).join('')}</div>` : `<p class="hint cn-none">No app matches${ui.search ? ` “${esc(ui.search)}”` : ''}${catName ? ` in ${esc(catName)}` : ''}.</p>`}
96
109
  ${left > 0 ? `<button type="button" class="btn cn-more" data-load-more${ui.loadingMore ? ' disabled' : ''}>${ui.loadingMore ? 'Loading…' : `Load more <i>${left.toLocaleString()} more</i>`}</button>` : ''}
97
110
  </section>` : ''}
98
111
  ${callsHtml()}
99
112
  </div>`
113
+ // The open tile's details go after the last tile of its row, the width of the grid.
114
+ if (open) {
115
+ const t = root.querySelector(`[data-tile="${CSS.escape(open.slug)}"]`)
116
+ let end = t
117
+ while (end && end.nextElementSibling && end.nextElementSibling.offsetTop === t.offsetTop) end = end.nextElementSibling
118
+ end?.insertAdjacentHTML('afterend', detailHtml(open, ownApps.has(open.slug)))
119
+ }
100
120
  if (had) { const s = root.querySelector('[data-search]'); s.focus(); s.setSelectionRange(s.value.length, s.value.length) }
101
121
  }
102
122
 
@@ -137,6 +157,7 @@ export function mountConnections (root, { type, id, page = false, sessions = [],
137
157
  root.addEventListener('input', (e) => {
138
158
  if (!e.target.matches('[data-search]')) return
139
159
  ui.search = e.target.value.trim()
160
+ ui.open = null
140
161
  clearTimeout(searchTimer)
141
162
  searchTimer = setTimeout(loadApps, 250)
142
163
  })
@@ -171,22 +192,25 @@ export function mountConnections (root, { type, id, page = false, sessions = [],
171
192
  load()
172
193
  return
173
194
  }
195
+ const tile = e.target.closest('[data-tile]')
196
+ if (tile) { ui.open = ui.open === tile.dataset.tile ? null : tile.dataset.tile; draw(); return }
197
+ if (e.target.closest('[data-cat-more]')) { ui.moreCats = !ui.moreCats; draw(); return }
174
198
  const cat = e.target.closest('[data-cat]')
175
- if (cat) { ui.cat = cat.dataset.cat; ui.apps = null; draw(); loadApps(); return }
199
+ if (cat) { ui.cat = cat.dataset.cat; ui.moreCats = false; ui.open = null; ui.apps = null; draw(); loadApps(); return }
200
+ if (ui.moreCats && !e.target.closest('.cn-tabmenu')) { ui.moreCats = false; draw() }
176
201
  if (e.target.closest('[data-load-more]')) { loadApps(true); return }
177
- // Add a connection: to the catalog, with the search ready to narrow it.
178
- if (e.target.closest('[data-add-focus]')) {
179
- root.querySelector('#cn-catalog')?.scrollIntoView({ block: 'start', behavior: 'smooth' })
180
- root.querySelector('[data-search]')?.focus()
181
- }
202
+
182
203
  })
183
204
 
205
+ // A resize moves tiles between rows: the open one's details move with it.
206
+ const onResize = () => { if (ui.open) draw() }
207
+ window.addEventListener('resize', onResize)
184
208
  draw()
185
209
  load()
186
210
  loadApps()
187
211
  return {
188
212
  refresh: load,
189
- destroy () { alive = false; clearTimeout(poll); clearTimeout(searchTimer) }
213
+ destroy () { alive = false; clearTimeout(poll); clearTimeout(searchTimer); window.removeEventListener('resize', onResize) }
190
214
  }
191
215
  }
192
216