heyquilt 0.3.160 → 0.3.162

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,16 @@ 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.162 — 2026-11-12
15
+
16
+ - **Every app has a page on heyquilt.com.** heyquilt.com/integrations lists every app your agents can use, with search and the same tabs as the app. Each app's page lists everything it can do, what agents read on their own apart from what asks someone first. An opened app on the Connections page links to its page instead of a Show more button.
17
+ - **App logos show in dark mode.** Dark logos like GitHub's and Notion's sit on a light tile.
18
+
19
+ ## 0.3.161 — 2026-11-12
20
+
21
+ - **An opened app reads at a glance.** Its actions sit under a green **Reads on its own** badge and a vermilion **Asks someone first** badge. Each action has an icon for what it does: search, create, edit, delete or send. **Show more** opens the rest of each list.
22
+ - **Opening an app low on the page scrolls it into view.** The page follows as the list pours open, so the whole list ends up on screen and the card's top stays in view.
23
+
14
24
  ## 0.3.160 — 2026-11-12
15
25
 
16
26
  - **An app's card pours open.** Click an app on the Connections page and its card flows down into one shape with the list of what it can do, spreading out to the full width as it grows. A second click or Escape draws it back in. The card keeps its name, logo and **Connect**, so the list below shows only the app's actions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heyquilt",
3
- "version": "0.3.160",
3
+ "version": "0.3.162",
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",
@@ -127,18 +127,29 @@ export function composioClient ({ apiKey = '', base = COMPOSIO_API, fetch: fetch
127
127
  // What an app lets agents do, for its card on the Connections page, cached CATALOG_MS: up to 100 of its actions
128
128
  // (the ones Composio marks important first, none deprecated), and how many it has in all.
129
129
  const actionsCache = new Map()
130
- async function appActions (app) {
131
- const hit = actionsCache.get(app)
130
+ // A description cut to `n` characters at a word, with an ellipsis when it was cut.
131
+ const short = (text, n) => text.length <= n ? text : `${text.slice(0, n).replace(/\s+\S*$/, '')}…`
132
+ async function appActions (app, { all = false } = {}) {
133
+ const key = `${app}|${all ? 'all' : 'top'}`
134
+ const hit = actionsCache.get(key)
132
135
  if (hit && Date.now() - hit.at < CATALOG_MS) return hit.value
133
- const r = await call('GET', `/tools${q({ toolkit_slug: app, limit: 100 })}`)
134
- const total = r.total_items
135
- const live = (r.items || []).filter((t) => !t.is_deprecated && !/deprecated/i.test(`${t.name} ${String(t.description || '').slice(0, 40)}`))
136
+ // The app shows up to 100; its page on the website (all) every one, a page of 500 at a time.
137
+ const items = []
138
+ let cursor = ''
139
+ let total = 0
140
+ do {
141
+ const r = await call('GET', `/tools${q({ toolkit_slug: app, limit: all ? 500 : 100, cursor })}`)
142
+ items.push(...(r.items || []))
143
+ total = r.total_items ?? total
144
+ cursor = all ? (r.next_cursor || '') : ''
145
+ } while (cursor && items.length < 3000)
146
+ const live = items.filter((t) => !t.is_deprecated && !/deprecated/i.test(`${t.name} ${String(t.description || '').slice(0, 40)}`))
136
147
  // The ones Composio marks important first, then the rest as it lists them.
137
148
  const important = (t) => ((t.tags || []).includes('important') ? 0 : 1)
138
149
  const actions = live.map((t, i) => ({ t, i })).sort((x, y) => important(x.t) - important(y.t) || x.i - y.i).map(({ t }) => toolView(t))
139
- .map((t) => ({ slug: t.slug, name: t.name, description: t.description.split(/(?<=\.)\s/)[0].slice(0, 200), readOnly: t.readOnly }))
150
+ .map((t) => ({ slug: t.slug, name: t.name, description: short(t.description.split(/(?<=\.)\s/)[0], 240), readOnly: t.readOnly }))
140
151
  const value = { actions, total: Number(total) || actions.length }
141
- actionsCache.set(app, { at: Date.now(), value })
152
+ actionsCache.set(key, { at: Date.now(), value })
142
153
  return value
143
154
  }
144
155
 
@@ -34,6 +34,8 @@ export const APP_GROUPS = [
34
34
  { id: 'business', name: 'Business Ops', cats: ['crm', 'sales-&-crm', 'ecommerce', 'commerce', 'accounting', 'payment-processing', 'customer-support', 'support', 'contact-management', 'human-resources', 'hr-talent-&-recruitment', 'proposal-&-invoice-management', 'signatures', 'taxes', 'fundraising', 'ai-sales-tools', 'people-&-contact-data', 'company-data', 'legal-&-public-records', 'phone-&-sms', 'communication', 'team-chat', 'notifications'] },
35
35
  { id: 'knowledge', name: 'Knowledge', cats: ['documents', 'productivity', 'team-collaboration', 'notes', 'file-management-&-storage', 'spreadsheets', 'content-&-files', 'documents-&-ocr', 'bookmark-managers', 'web-search-&-research', 'education', 'online-courses', 'transcription', 'ai-document-extraction'] }
36
36
  ]
37
+ /** The names of the tabs an app is under, for its page on the website. */
38
+ export const groupNames = (a) => groupsOf(a).map((id) => (APP_GROUPS.find((g) => g.id === id) || { name: 'Other' }).name)
37
39
  const groupsOf = (a) => {
38
40
  const ids = a.categories.map((c) => c.id)
39
41
  const in_ = APP_GROUPS.filter((g) => g.cats.some((c) => ids.includes(c))).map((g) => g.id)
@@ -227,6 +229,23 @@ export function connectionRoutes (ctx) {
227
229
  })
228
230
  }],
229
231
 
232
+ // The website's integrations pages (heyquilt.com/integrations): the catalog and one app with every action. Public,
233
+ // no sign-in: it is Composio's public catalog, without anyone's connections.
234
+ ['GET', /^\/v1\/integrations$/, async (req, body, params, url) => {
235
+ const u = url || new URL(req.url, 'http://x')
236
+ return pickApps(await composio.catalog(), {
237
+ search: u.searchParams.get('search') || '',
238
+ group: u.searchParams.get('group') || '',
239
+ offset: Number(u.searchParams.get('offset')) || 0,
240
+ limit: Number(u.searchParams.get('limit')) || 48
241
+ })
242
+ }],
243
+ ['GET', /^\/v1\/integrations\/([a-z0-9_-]{1,80})$/, async (req, body, params) => {
244
+ const app = (await composio.catalog()).find((a) => a.slug === params[0])
245
+ if (!app) throw new HttpError(404, 'No such app.')
246
+ return { app, groups: groupNames(app), ...(await composio.appActions(app.slug, { all: true })) }
247
+ }],
248
+
230
249
  // One app's card opened on the Connections page: what it is, how one signs in, and what agents can do with it.
231
250
  ['GET', /^\/v1\/connections\/apps\/([a-z0-9_-]{1,80})$/, async (req, body, params) => {
232
251
  await whoCalls(req)
package/src/ui/app.css CHANGED
@@ -3688,3 +3688,33 @@ button.sh-repo:hover { color: var(--text); }
3688
3688
  .kl-detail { padding: 0; border: 0; border-radius: 0; background: none; animation: none; overflow: hidden; gap: 0; }
3689
3689
  .kl-dinner { padding: 6px 24px 22px; display: flex; flex-direction: column; gap: 14px; }
3690
3690
  .kl-dcols { padding-top: 0; border-top: 0; }
3691
+
3692
+ /* The opened app's actions: a tinted badge heading each column (green for what agents read on their own, vermilion
3693
+ for what asks first), and each action a row with an icon for what it does */
3694
+ .kl-dcols { gap: 32px; }
3695
+ .kl-dch { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
3696
+ .kl-dbadge { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px 0 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
3697
+ .kl-dbadge svg { width: 15px; height: 15px; }
3698
+ .kl-dbadge i { font-style: normal; font-weight: 600; font-size: 11.5px; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 2px; border-radius: 999px; display: inline-grid; place-items: center; background: color-mix(in srgb, currentColor 16%, transparent); }
3699
+ .kl-dcol.reads .kl-dbadge { color: var(--ok); background: color-mix(in srgb, var(--ok) 12%, var(--panel)); }
3700
+ .kl-dcol.asks .kl-dbadge { color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, var(--panel)); }
3701
+ .kl-dch small { font-size: 12.5px; line-height: 1.5; color: var(--faint); }
3702
+ .kl-dcols ul { gap: 2px; margin-top: 12px; }
3703
+ .kl-dcols li { flex-direction: row; align-items: flex-start; gap: 12px; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; transition: background .12s; }
3704
+ .kl-dcols li:hover { background: color-mix(in srgb, var(--text) 4%, var(--panel)); }
3705
+ .kl-dcols li > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
3706
+ .kl-vi { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 8px; background: var(--panel-2); color: var(--muted); }
3707
+ .kl-vi svg { width: 14px; height: 14px; }
3708
+ .kl-dcol.reads .kl-vi { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--panel)); }
3709
+ .kl-dcol.asks .kl-vi { color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--panel)); }
3710
+ .kl-dmore { margin-top: 8px; height: 32px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: none; color: var(--text); font: 600 12.5px var(--sans); cursor: pointer; }
3711
+ .kl-dmore:hover { border-color: var(--border-strong); background: color-mix(in srgb, var(--text) 4%, var(--panel)); }
3712
+ .kl-dnone { margin: 12px 0 0; font-size: 12.5px; color: var(--faint); }
3713
+ .kl-dfoot { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 12.5px; color: var(--faint); }
3714
+ .kl-dfoot svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
3715
+ .kl-dcols li small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
3716
+ a.kl-dmore { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; line-height: 30px; } a.kl-dmore svg { width: 12px; height: 12px; color: var(--faint); }
3717
+ .kl-dfoot a { color: var(--text); font-weight: 600; text-decoration: none; } .kl-dfoot a:hover { color: var(--accent); }
3718
+ /* Dark logos (GitHub, Notion) vanish in dark mode: there each app's logo sits on a light tile. */
3719
+ .kl-card .cn-logo:not(.none) { background: light-dark(transparent, #fff); padding: 3px; box-sizing: border-box; }
3720
+ .kl-dinner { padding-top: 26px; }
@@ -8,6 +8,8 @@ import { SEARCH_ICON } from './quiltview.js'
8
8
  const views = new Map() // `${type}:${id}` -> the last view, so a redraw shows it at once
9
9
  const urlOf = (type, id, rest = '') => `/api/connections/${type}/${encodeURIComponent(id)}${rest}`
10
10
  const PAGE = 48 // apps fetched at a time for the catalog
11
+ // An app's page on the website, with every action it has (web/app/integrations/[slug]).
12
+ const siteUrl = (a) => `https://heyquilt.com/integrations/${encodeURIComponent(a.slug)}`
11
13
  const LEVEL = { session: 'this session', workspace: 'the workspace', org: 'the team' }
12
14
  const STATUS = { active: 'Connected', pending: 'Waiting for sign-in', failed: 'Didn\'t connect' }
13
15
 
@@ -23,6 +25,7 @@ export function mountConnections (root, { type, id, page = false, sessions = [],
23
25
  // The catalog: `apps` the page shown so far, `total` how many match, `cat` the category picked ('' every app).
24
26
  const ui = { search: '', apps: null, total: 0, all: 0, groups: [], group: '', open: null, pour: null, loadingMore: false, busy: '', error: '', calls: null, confirm: null }
25
27
  const details = new Map() // app slug -> { actions, total } or { error }, for its opened card
28
+
26
29
  let view = views.get(`${type}:${id}`) || null
27
30
  let alive = true
28
31
  let poll = null
@@ -57,18 +60,35 @@ export function mountConnections (root, { type, id, page = false, sessions = [],
57
60
 
58
61
  // An opened card's row under it (Daniel, 2026-11-12): all it says about itself, how you sign in, and what agents
59
62
  // can do with it, split the way Quilt runs it: reads at once, anything that changes something asks a person first.
60
- function openRowHtml (a, connected) {
63
+ // What an action does, as a small icon from its name: search and read, create, change, delete, send.
64
+ const SEARCH = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/></svg>'
65
+ const HAND = '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 11V6a2 2 0 0 0-4 0v5M14 10V4a2 2 0 0 0-4 0v6M10 10.5V6a2 2 0 0 0-4 0v8"/><path d="M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-6-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15"/></svg>'
66
+ function verbIcon (t) {
67
+ const words = `${t.slug} ${t.name}`.toUpperCase()
68
+ if (/\b(DELETE|REMOVE|ARCHIVE|CANCEL|TRASH)/.test(words)) return I.trash
69
+ if (/\b(SEND|REPLY|POST_MESSAGE|INVITE|SHARE|FORWARD|NOTIFY|PUBLISH)/.test(words)) return I.send
70
+ if (/\b(CREATE|ADD|NEW|INSERT|UPLOAD|SUBMIT|START)/.test(words)) return I.plus
71
+ if (/\b(UPDATE|EDIT|MODIFY|SET|CONFIGURE|MANAGE|MOVE|RENAME|CHANGE|CLEAN)/.test(words)) return I.pencil
72
+ if (/\b(SEARCH|FIND|QUERY|LOOKUP|AUTOCOMPLETE)/.test(words)) return SEARCH
73
+ return t.readOnly ? I.eye : I.pencil
74
+ }
75
+ // An opened card's row (Daniel, 2026-11-12): only what the app can do, split the way Quilt runs it: what agents read
76
+ // on their own, and what asks a person first. Six of each, the rest a click away.
77
+ function openRowHtml (a) {
61
78
  const d = details.get(a.slug)
62
- const list = (xs) => xs.slice(0, 6).map((t) => `<li><b>${esc(t.name)}</b><small>${esc(t.description)}</small></li>`).join('')
79
+ const SHOWN = 6
80
+ const col = (kind, title, note, icon, xs) => {
81
+ const list = xs.slice(0, SHOWN)
82
+ return `<div class="kl-dcol ${kind}"><div class="kl-dch"><span class="kl-dbadge">${icon}${esc(title)}<i>${xs.length}</i></span><small>${esc(note)}</small></div>
83
+ ${xs.length ? `<ul>${list.map((t) => `<li><span class="kl-vi">${verbIcon(t)}</span><span><b>${esc(t.name)}</b><small>${esc(t.description)}</small></span></li>`).join('')}</ul>` : '<p class="kl-dnone">None among its actions.</p>'}
84
+ ${xs.length > SHOWN ? `<a class="kl-dmore" href="${esc(siteUrl(a))}" target="_blank" rel="noopener">More on heyquilt.com ${I.external}</a>` : ''}</div>`
85
+ }
63
86
  const reads = d && !d.error ? d.actions.filter((t) => t.readOnly) : []
64
87
  const changes = d && !d.error ? d.actions.filter((t) => !t.readOnly) : []
65
88
  const what = !d ? `<p class="hint">${loadingNote()}</p>`
66
89
  : d.error ? `<p class="hint">${esc(d.error)}</p>`
67
- : `<div class="kl-dcols">
68
- <div><h4>Reads on its own <i>${reads.length}</i></h4><p class="kl-dnote">Agents use these at once.</p>${reads.length ? `<ul>${list(reads)}</ul>` : '<p class="hint">None among its main actions.</p>'}${reads.length > 6 ? `<p class="kl-dnote">and ${reads.length - 6} more</p>` : ''}</div>
69
- <div><h4>Asks someone first <i>${changes.length}</i></h4><p class="kl-dnote">Sends, creates, changes or deletes: a card in the session's chat asks a person to approve each one.</p>${changes.length ? `<ul>${list(changes)}</ul>` : '<p class="hint">None among its main actions.</p>'}${changes.length > 6 ? `<p class="kl-dnote">and ${changes.length - 6} more</p>` : ''}</div>
70
- </div>
71
- ${d.total > d.actions.length ? `<p class="kl-dnote">From ${d.actions.length} of its ${d.total.toLocaleString()} actions; agents find the rest when they need them.</p>` : ''}`
90
+ : `<div class="kl-dcols">${col('reads', 'Reads on its own', 'Agents use these right away.', I.eye, reads)}${col('asks', 'Asks someone first', 'Anything that sends, creates, changes or deletes waits for a person to approve it in the session’s chat.', HAND, changes)}</div>
91
+ <p class="kl-dfoot">${I.sparkle}<span>${d.total > d.actions.length ? `Showing ${d.actions.length} of its ${d.total.toLocaleString()} actions.` : `${d.actions.length} actions in all.`} <a href="${esc(siteUrl(a))}" target="_blank" rel="noopener">Every ${esc(a.name)} action on heyquilt.com</a></span></p>`
72
92
  // Only what it can do: its name, logo and Connect are on the card it flows out of.
73
93
  return `<div class="kl-detail" data-detail="${esc(a.slug)}"><div class="kl-dinner">${what}</div></div>`
74
94
  }
@@ -93,6 +113,21 @@ export function mountConnections (root, { type, id, page = false, sessions = [],
93
113
  pour(det, 'out', () => { ui.open = null; draw() })
94
114
  }
95
115
  const reduced = () => window.matchMedia('(prefers-reduced-motion: reduce)').matches
116
+ // An app opened low on the page: the page scrolls along as it pours, so the whole row ends up in view (keeping the
117
+ // card's top in view when the row is taller than the window).
118
+ function bringIntoView (det, full) {
119
+ let sc = det.parentElement
120
+ while (sc && sc !== document.body && !/(auto|scroll)/.test(getComputedStyle(sc).overflowY)) sc = sc.parentElement
121
+ if (!sc || sc === document.body) return
122
+ const card = det.parentElement.querySelector('.kl-card.open')
123
+ const S = sc.getBoundingClientRect()
124
+ const top = (card || det).getBoundingClientRect().top
125
+ const bottom = det.getBoundingClientRect().top + full
126
+ const need = bottom + 16 - S.bottom
127
+ const room = top - 12 - S.top
128
+ const by = Math.min(need, room)
129
+ if (by > 0) sc.scrollBy({ top: by, behavior: reduced() ? 'auto' : 'smooth' })
130
+ }
96
131
 
97
132
  // The open card and its row are one shape, drawn behind them: the card's sides curve out into the row, which pours
98
133
  // down out of the card and spreads to the full width as it grows (liquid), or draws back in.
@@ -141,6 +176,7 @@ export function mountConnections (root, { type, id, page = false, sessions = [],
141
176
  function pour (det, way, done = () => {}) {
142
177
  const inner = det.firstElementChild
143
178
  const full = inner.offsetHeight
179
+ if (way === 'in') bringIntoView(det, full)
144
180
  const from = way === 'in' ? 0 : det.offsetHeight
145
181
  const to = way === 'in' ? full : 0
146
182
  const ms = way === 'in' ? 520 : 300
@@ -202,7 +238,7 @@ export function mountConnections (root, { type, id, page = false, sessions = [],
202
238
  if (opened && openApp_) {
203
239
  let end = opened
204
240
  while (end.nextElementSibling && end.nextElementSibling.offsetTop === opened.offsetTop) end = end.nextElementSibling
205
- end.insertAdjacentHTML('afterend', openRowHtml(openApp_, ownApps.has(openApp_.slug)))
241
+ end.insertAdjacentHTML('afterend', openRowHtml(openApp_))
206
242
  const det = end.nextElementSibling
207
243
  if (ui.pour === 'in' && !reduced()) { det.style.height = '0px'; det.firstElementChild.style.opacity = '0'; pour(det, 'in') } else drawShape(1)
208
244
  ui.pour = null