Inbox consideration
This commit is contained in:
Vendored
+4
@@ -5,6 +5,7 @@ import { previewURL } from "./preview.js";
|
||||
import { findingCount, reviewCounts } from "./reviews.js";
|
||||
import { currentSession, findTask, focusTab, focusTask, onEach, pinSnapshot, setFocus, showReview, state } from "./state.js";
|
||||
import { taskStyle } from "./taskcolor.js";
|
||||
import { fillTodoLinks } from "./todolink.js";
|
||||
export const models = [
|
||||
"claude-opus-5-5",
|
||||
"claude-sonnet-5-5",
|
||||
@@ -302,6 +303,7 @@ export function mountChat(root, src, makeHead) {
|
||||
stream.timer = 0;
|
||||
stream.el.hidden = ctx.held !== undefined || quietReply.startsWith(stream.text.trim());
|
||||
replace(stream.el, markdown(stream.text, "text md", { taskId: ctx.taskId }));
|
||||
fillTodoLinks(stream.el, models[0]);
|
||||
pin();
|
||||
}, 100);
|
||||
};
|
||||
@@ -414,6 +416,7 @@ export function mountChat(root, src, makeHead) {
|
||||
renderComposer();
|
||||
}
|
||||
}
|
||||
fillTodoLinks(transcript, models[0]);
|
||||
pin();
|
||||
};
|
||||
const renderAll = () => {
|
||||
@@ -442,6 +445,7 @@ export function mountChat(root, src, makeHead) {
|
||||
}),
|
||||
onEach([src.transcriptTopic], (fresh) => appendEvents(fresh)),
|
||||
onEach([src.streamTopic], (ev) => appendDelta(ev)),
|
||||
onEach(["tasks", "sessions"], () => fillTodoLinks(transcript, models[0])),
|
||||
];
|
||||
replace(root, h("div", { class: "transcript-view" }, head, transcript, composer));
|
||||
renderAll();
|
||||
|
||||
Reference in New Issue
Block a user