This commit is contained in:
Timothy Jaeryang Baek
2026-07-15 00:14:01 -04:00
parent 254888cf15
commit 63ada24706
31 changed files with 2560 additions and 2754 deletions
@@ -116,6 +116,7 @@
export let stopResponse: Function;
export let compactHandler: Function = () => {};
export let statusHandler: Function = () => {};
export let forkHandler: Function = () => {};
export let chatId = '';
export let contextUsage = null;
@@ -1086,9 +1087,12 @@
canCompact: () => !!history?.currentId,
compactDisabled: () => isActive,
canStatus: () => !!history?.currentId,
canFork: () => !!history?.currentId,
forkDisabled: () => isActive,
contextUsage: () => contextUsage,
onCompact: compactHandler,
onStatus: statusHandler,
onFork: forkHandler,
onSelect: (e) => {
const { type, data } = e;