Skip to content

feat(design): resume conversations and repair document tool schema - #178

Merged
filipeforattini merged 3 commits into
mainfrom
design-tool-schema
Sep 9, 2026
Merged

feat(design): resume conversations and repair document tool schema#178
filipeforattini merged 3 commits into
mainfrom
design-tool-schema

Conversation

@filipeforattini

@filipeforattini filipeforattini commented Sep 8, 2026

Copy link
Copy Markdown

Add /design-open to resume an existing Design conversation through the same searchable modal pattern as /sessions. The picker shows prototype names, conversation titles and state, groups prototypes owned by the same conversation, and preserves its history and current agent. Design conversations that have not created a document yet remain discoverable. The modal explains that /design-review opens the preview after resuming.

The authenticated Design list is scoped to the current workspace and excludes archived or deleted sessions. Empty, loading, search-empty and HTTP error states stay inside the modal.

Also repair design_document's provider schema: advertise an object with a required action and explicit invocation guidance, then decode into the discriminated union before executing. TUI and Core share the contract. An HTTP regression through the actual OpenRouter SDK fails on the previous root anyOf schema and passes on this implementation. The exact cause of the reported GLM session's repeated {} calls remains unconfirmed without its trace.

Validation:

  • Rendered TUI test covers command registration, search by conversation name, keyboard selection, resumption, draft/not-started labels and empty/error states.
  • HTTP tests cover creation/review/approval, grouping, conversations without documents, workspace isolation and deleted sessions.
  • 65 focused schema/tool tests passed for the document fix.
  • bun typecheck passes in TUI, Schema, Core and Redcode.
  • Includes patch changesets; release versions are unchanged.

The README now walks through the app-admin dark-mode example from prototype to browser feedback, approval, planning and implementation. It includes a workflow diagram, current command behavior and release availability, and separates regular TUI instructions from the optional Design terminal, where /resume has a different meaning.

@filipeforattini filipeforattini changed the title fix(design): expose document actions in provider tool schema feat(design): resume conversations and repair document tool schema Sep 8, 2026
@filipeforattini
filipeforattini enabled auto-merge (squash) September 9, 2026 00:05
@filipeforattini
filipeforattini merged commit 0643f90 into main Sep 9, 2026
23 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant