Repository navigation
Totem 1.1: the chats panel is one T3 Code-style list (+12 more) - #65
Conversation
Published from the private repository by oss-sync. - iPhone: the drawer's Tasks face, task chats and a chat's task strip - iPhone: the chat list never rolls back to the phone's stored copy - iPhone: cached folders and drawer keyboard (#297) - Chat drafts (#296) - Composer: inline attachment chips (#295) - iPhone drafts (#299) - Composer: list formatting (#298) - Chats: writing in a settled or snoozed chat brings it back, however the words arrive - Chat: stop Claude leaving its answer in its thinking - Tasks panel: a task with no chats starts a chat on click - Project page: centred composer, first five chats - Chat: pictures a tool returns stay on its step card, not in the reply - Totem 1.1: the chats panel is one T3 Code-style list 179 files changed, 14580 insertions(+), 2917 deletions(-)
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 532ad84e33
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // A task done or reopened here: the list reads again, so its chats settle or come back | ||
| // (each chat's `taskDoneAt` is the bridge's reading of its task; settle.ts taskDoneSince). | ||
| onTaskStatus(() => { void syncThreads() }) |
There was a problem hiding this comment.
Refresh mobile tasks after an agent changes them
When a chat agent completes, reopens, or edits a task, this callback never fires because onTaskStatus is only triggered by task mutations made through the mobile API wrappers. The chat end handler reloads only the current thread, so the newly added mobile task strip, badges, and task page continue showing the stale task state—potentially offering Done for an already completed task—until some unrelated screen explicitly reloads the board. The web handles this by announcing task changes when a chat run ends; invalidate/reload the mobile board and sheet at the same point.
AGENTS.md reference: mobile/AGENTS.md:L150-L152
Useful? React with 👍 / 👎.
| const isImage = /^image\//.test(file.type) | ||
| const draft: DraftAttachment & { progress?: number } = { | ||
| const chip = !chipsOff.current && (!isImage || !!valueRef.current.trim()) | ||
| const capture = chip && live.current ? ed.current?.capture() : undefined |
There was a problem hiding this comment.
Preserve inline file chips during editor loading
When a user attaches a file while the lazy TipTap chunk is still loading and the plain textarea is visible, chip is true for the file but this live.current gate leaves capture undefined. Upload completion only calls capture?.insert(...), so the file remains in the tray without the inline chip that preserves its position in the message. Capture the plain textarea selection or queue the insertion through the editor handover instead.
AGENTS.md reference: AGENTS.md:L94-L94
Useful? React with 👍 / 👎.
| for (const c of content) { | ||
| if (c?.type === 'image' && c.source?.type === 'base64' && c.source.data) { | ||
| emitSafe(onImage, { buffer: Buffer.from(c.source.data, 'base64'), mime: c.source.media_type || 'image/png' }, 'image') | ||
| emitSafe(onImage, { buffer: Buffer.from(c.source.data, 'base64'), mime: c.source.media_type || 'image/png', toolId: block.tool_use_id, path: readPaths.get(block.tool_use_id) || '' }, 'image') |
There was a problem hiding this comment.
Await tool images before embedding the final answer
When Claude reads an image outside the chat outputs or temp directories and then includes that path in its final reply, this fire-and-forget callback can still be saving the tool image when finalization calls embedLocalImages. Because seenImages is populated only after that save and the embedder snapshots the map immediately, the path is rejected as unapproved and remains plain text instead of becoming the promised inline image. Track and await these image callbacks before embedding and saving the final reply.
AGENTS.md reference: AGENTS.md:L94-L94
Useful? React with 👍 / 👎.
Published from the private repository by oss-sync.
179 files changed, 14580 insertions(+), 2917 deletions(-)