Skip to content

OPE-49: Generic tool cards in Session Chat #563

Closed

Description

@ivanfenenko

Parent

OPE-46 — Assistant Tool Parts

What to build

Wire Tool Call Cards into Session Chat so assistant tool parts render as timeline blocks inside one message row (not flattened emoji lines). Unknown and known tools alike use generic chrome in this ticket. Apply hide rules. Keep text as markdown bubbles.

Agreed shape (grilling)

  • One timeline item per message; ordered blocks: text | tool card.
  • Message.text = TextParts only (adjacent texts merged); tools not joined into text for chat.
  • Hide in Screen Model (domain keeps parts): always hide todowrite; hide question while pending/running; show completed question as generic.
  • Omit messages with no visible blocks after hide rules.
  • Generic chrome for every tool ID: title Called {toolName}; running subtitle = ToolPart.title when present; error uses card error slot; no tap/expand.
  • Assistant only; rebuild blocks on live part updates; markdown only on text blocks.
  • Specialize in OPE-50/51/52 — not here.

Acceptance criteria

  • Assistant turns show interleaved text blocks and tool cards from structured parts (one message row, nested blocks).
  • Pending/running/completed/error statuses are visible on cards.
  • Every tool ID uses generic Called {tool} chrome (no family specialization yet).
  • todowrite hidden; in-flight question hidden; completed question shown as generic.
  • Messages with only hidden tools are omitted from the timeline.
  • Behavior is parity-checked on iOS and Android.

Blocked by

  • OPE-48 — Structured tool parts in the domain (Done)
  • OPE-47 — Design-system Tool Call Card (Done)

Docs: docs/features/assistant-tool-parts/


Imported from Linear OPE-49. Linear status: Done. Priority: High. Created 2026-07-15. Completed 2026-07-15.
Parent: OPE-46.
Related: OPE-48, OPE-47.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    enhancement
    ios
    android
    shared
    priority: high
    ready-for-agent
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidenhancementiospriority: highready-for-agentshared

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions