heyquilt 0.3.143 → 0.3.144

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.144 — 2026-11-02
15
+
16
+ - **Agents in a call wake only when you say their name.** An agent read what was said for a minute and a half after it was named or spoke, and every line in that time woke it. Now only a line that says its name wakes it, with what was said just before; its face shows unmuted while it answers, then it mutes again.
17
+
14
18
  ## 0.3.143 — 2026-11-02
15
19
 
16
20
  - **`git push` works again in folders git mode set up.** Quilt's old pre-push hook and credential helper stayed in folders after git mode went (0.3.140), and their commands were gone, so every push from such a folder was refused and git stopped asking your own keychain for that remote. The hook now lets the push go, the helper hands git your own saved credentials, and both take themselves out of the folder the first time git runs them. Your own hooks and helpers are never touched.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heyquilt",
3
- "version": "0.3.143",
3
+ "version": "0.3.144",
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/inbox.js CHANGED
@@ -196,7 +196,7 @@ export function describeEvent (e) {
196
196
  if (e.kind === 'mention') return `${who} ${e.follows ? 'wrote again in chat after mentioning you' : 'mentioned you in chat'}${idOf(e)}: ${e.text}`
197
197
  if (e.kind === 'voice') {
198
198
  const before = Array.isArray(e.said) && e.said.length ? ` Just before, in the call: ${e.said.map((l) => `${l.by}: "${clip(l.text, 300)}"`).join(' / ')}.` : ''
199
- return `${who} said in the voice call${e.named ? ', naming you (you are unmuted now)' : ''}: "${e.text}".${before} Answer out loud with quilt_voice_say if it is for you (no reply in chat needed); stay quiet if it is not.`
199
+ return `${who} said in the voice call, naming you (you are unmuted now): "${e.text}".${before} Answer out loud with quilt_voice_say if it is for you (no reply in chat needed); stay quiet if it is not.`
200
200
  }
201
201
  if (e.kind === 'email') return `New email for the session (no reply needed in chat)${idOf(e)}: ${e.text}${e.mail ? ` Read it with quilt_mail (read: "${e.mail}"); answer by email with quilt_mail_send (reply_to: "${e.mail}") if it needs one.` : ''}`
202
202
  if (e.kind === 'task') {
@@ -62,7 +62,7 @@ export function agentGuide ({ apiUrl = 'https://api.heyquilt.com', via = 'both'
62
62
  `- Read: \`quilt_read_messages\`${cli ? ` (CLI: \`quilt messages\`, or \`--all\` for history). With the CLI, every quilt answer also starts with anything new for you` : ''}.`,
63
63
  `- What wakes you (a direct message, a mention, a task) comes with the conversation before it: what you and its sender said to each other, directly or in the room, oldest first, and the message a reply answers (in \`quilt_inbox\`, in the webhook's "context", in a channel event, in your tool's hooks). "That", "it", "again" and "retry" mean the latest thing there. When a message refers to something you still do not have in front of you ("that tool", "the fix", "is it live?"), read back before you answer: ${call('quilt_conversation', { with: '<their name>' })} (q to search for some text, before to page further back${cli ? '; CLI: `quilt messages --with <name>`, `--grep <text>`, `--before <id>`' : ''}). Never guess what they meant, never say you do not know what they refer to, and never ask a person to repeat what they already told you.`,
64
64
  `- People also talk in voice calls in the Quilt app. \`quilt_status\` says who is in a call and whether it is transcribed. When it is, read what was said before acting on it: ${call('quilt_voice_transcript', {})}. When it is not, ask in chat what was decided.`,
65
- `- While a call is transcribed, every agent of the session is in it, like a person but muted. When someone says your name you are unmuted and woken with what they said: answer out loud with ${call('quilt_voice_say', { text: '...' })}, in one to three short spoken sentences (lists, code and links go in chat). What is said in the next minute and a half wakes you too; then you mute again. Stay quiet when a line is not for you. ${call('quilt_voice_join', { leave: true })} leaves the call.`,
65
+ `- While a call is transcribed, every agent of the session is in it, like a person but muted. Only a line that says your name wakes you, with what was said just before it: answer out loud with ${call('quilt_voice_say', { text: '...' })}, in one to three short spoken sentences (lists, code and links go in chat). Nothing else said in the call wakes you; read the rest with \`quilt_voice_transcript\` when you need it. ${call('quilt_voice_join', { leave: true })} leaves the call.`,
66
66
  '- A person and their AI share the person\'s name. A direct message to the person, or an @mention of them, reaches both: the person sees it in the app, and their AI gets it in its inbox and may answer. To give their AI work, assign a task to the person with to_ai: true. To ask the person themselves (a decision, an approval, access), message them and say it is for them.',
67
67
  '- Other agents are reached the same way, by their own name: an @mention or a direct message wakes them (through their inbox, their webhook or their next tool call). They answer you like they answer a person.',
68
68
  '- When to talk: when you start something, when you need something from someone, when you are blocked, and when you finish. Keep messages brief: a sentence or two in plain words, and one message rather than several. No play-by-play, recaps, logs or pasted code.',
package/src/voice.js CHANGED
@@ -116,12 +116,11 @@ export function readLines (doc, { call = '', since = 0, limit = 200 } = {}) {
116
116
  }
117
117
 
118
118
  // ------------------------------------------------------------ agents in a call --
119
- // Every agent in the session is in a transcribed call, like a person, but muted: saying its name
120
- // unmutes it. It hears the call through the transcript, and while unmuted what is said wakes it
121
- // and it answers out loud; it mutes again once the conversation with it has gone quiet.
119
+ // Every agent in the session is in a transcribed call, like a person, but muted. Only a line that
120
+ // says its name wakes it: it reads the transcript just before, answers out loud, and mutes again.
122
121
 
123
- // After an agent speaks, or is named, it stays unmuted this long: a conversation going on.
124
- export const AGENT_FOLLOW_MS = 90 * 1000
122
+ // An agent shows unmuted this long after it is named or speaks: while it answers.
123
+ export const AGENT_OPEN_MS = 30 * 1000
125
124
  // Lines of the call before one that wakes an agent, shown with it.
126
125
  export const AGENT_CONTEXT = 8
127
126
  export const AGENT_NEEDS_TRANSCRIPTS = 'Agents hear a call through its transcript, and this one is not transcribed: the session owner turns transcripts on.'
@@ -135,11 +134,11 @@ const leftCall = (doc, call, name) => {
135
134
  /** Lines of call `call`, oldest first. */
136
135
  const callLines = (doc, call) => doc.getArray('voiceLines').toArray().filter((l) => l && l.call === call && typeof l.text === 'string')
137
136
 
138
- /** Until when an agent (`names`) is unmuted, from a call's lines (0: muted): AGENT_FOLLOW_MS after the latest line it said or that named it. */
137
+ /** Until when an agent (`names`) is unmuted, from a call's lines (0: muted): AGENT_OPEN_MS after the latest line it said or that named it. */
139
138
  export function agentOpenUntil (lines, names) {
140
139
  let until = 0
141
140
  for (const l of lines) {
142
- if (names.includes(l.by) || names.some((n) => saysName(l.text, n))) until = Math.max(until, (l.ts || 0) + AGENT_FOLLOW_MS)
141
+ if (names.includes(l.by) || names.some((n) => saysName(l.text, n))) until = Math.max(until, (l.ts || 0) + AGENT_OPEN_MS)
143
142
  }
144
143
  return until
145
144
  }
@@ -184,21 +183,17 @@ export function saysName (text, name) {
184
183
 
185
184
  /**
186
185
  * What reaches agent `names[0]` from call `call` (the one going on), as inbox entries (inbox.js
187
- * scanInbox `voice`): each line by someone else that names it, or comes while it is unmuted
188
- * (AGENT_FOLLOW_MS after it spoke or was named). Each line carries the lines just before it.
186
+ * scanInbox `voice`): only each line by someone else that says its name, with the lines just
187
+ * before it. Nothing else said in the call wakes it.
189
188
  */
190
189
  export function callEntries (doc, { names, call, members = [] }) {
191
190
  const me = names && names[0]
192
191
  if (!me || notInCall(doc, { call, name: me, members })) return []
193
192
  const lines = callLines(doc, call)
194
193
  const out = []
195
- let open = 0 // until when what is said is for us
196
194
  lines.forEach((l, i) => {
197
- if (names.includes(l.by)) { open = l.ts + AGENT_FOLLOW_MS; return }
198
- const named = names.some((n) => saysName(l.text, n))
199
- if (named) open = l.ts + AGENT_FOLLOW_MS
200
- else if (l.ts > open) return
201
- out.push({ id: `v-${l.id}`, kind: 'voice', by: l.by, text: l.text, ts: l.ts, call, ...(named ? { named: true } : {}), said: lines.slice(Math.max(0, i - AGENT_CONTEXT), i).map((x) => ({ by: x.by, text: x.text, ts: x.ts })) })
195
+ if (names.includes(l.by) || !names.some((n) => saysName(l.text, n))) return
196
+ out.push({ id: `v-${l.id}`, kind: 'voice', by: l.by, text: l.text, ts: l.ts, call, named: true, said: lines.slice(Math.max(0, i - AGENT_CONTEXT), i).map((x) => ({ by: x.by, text: x.text, ts: x.ts })) })
202
197
  })
203
198
  return out
204
199
  }
@@ -293,7 +288,7 @@ export function inVoice (awareness, clientID) {
293
288
  }
294
289
 
295
290
  export const JOIN_DESCRIPTION = 'Leave the session\'s voice call, or come back to it. While the owner has transcripts on, you are in every call, like a person but muted: ' +
296
- 'when someone says your name you are unmuted, woken with what they said, and answer out loud with quilt_voice_say; you mute again a minute and a half after the conversation with you goes quiet. ' +
291
+ 'only a line that says your name wakes you (with what was said just before it): answer it out loud with quilt_voice_say, and you mute again. ' +
297
292
  'leave: true to stop hearing the call until it ends.'
298
293
 
299
294
  export const SAY_DESCRIPTION = 'Say something out loud in the voice call: everyone in it hears it in your voice, and it goes in the transcript. ' +