tabby
tabby copied to clipboard
feat(client): update chat-pannel and switch to threads
Notable changes
- Using @quilted/threads to replace remote-ui/rpc
- Change FileContext
export interface LineRange {
start: number
end?: number
}
export interface FileContext {
kind: 'file'
range?: LineRange
language?: string
path: string
}
- Add
sendMessageto the interfaceApi, the sendMessage is used for scenarios likeexplain it. - In the
src/reactupdate methoduseClientanduseServer(make sure the iframe is rendering)