2026-05-08 12:22:59 +03:00
|
|
|
import React from 'react';
|
|
|
|
|
|
2026-08-23 03:10:06 +05:30
|
|
|
/**
|
|
|
|
|
* 'mini-chat' is the browser-panel side chat (compact, no fork/plan actions).
|
|
|
|
|
* 'peek' is a read-only glance surface (the /btw panel): messages render with
|
|
|
|
|
* no per-message controls at all — no user action row, no assistant action
|
|
|
|
|
* buttons, no turn footer.
|
|
|
|
|
*/
|
|
|
|
|
export type ChatSurfaceMode = 'default' | 'mini-chat' | 'peek';
|
2026-05-08 12:22:59 +03:00
|
|
|
|
|
|
|
|
export const ChatSurfaceContext = React.createContext<ChatSurfaceMode>('default');
|