Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions web/bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"test": "NODE_OPTIONS=\"--max-old-space-size=4096\" vitest run --pool=forks --poolOptions.forks.singleFork=true"
},
"dependencies": {
"@codeoid/protocol": "file:../packages/protocol",
"@floating-ui/dom": "^1.7.6",
"@tanstack/solid-virtual": "^3.13.24",
"@types/diff": "^8.0.0",
Expand Down
1 change: 0 additions & 1 deletion web/src/components/SessionListPane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ const SessionRow: Component<{ session: SessionInfo }> = (props) => {
const StatusDot: Component<{ status: SessionStatus }> = (props) => {
const cls = () => {
switch (props.status) {
case "working":
case "thinking":
case "tool_running":
return "bg-warn animate-pulse";
Expand Down
1 change: 0 additions & 1 deletion web/src/components/transcript/Transcript.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ const Transcript: Component = () => {
const streamingMessageId = createMemo<string | null>(() => {
const status = focusedSession()?.status;
if (
status !== "working" &&
status !== "thinking" &&
status !== "tool_running"
)
Expand Down
1 change: 0 additions & 1 deletion web/src/components/transcript/WorkerIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const WorkerIndicator: Component = () => {

const status = () => focusedSession()?.status;
const visible = () =>
status() === "working" ||
status() === "thinking" ||
status() === "tool_running";

Expand Down
4 changes: 2 additions & 2 deletions web/src/lib/approvals.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe("findPendingApproval", () => {

it("finds a pending approval for every active status", () => {
const arr = [msg("u1", "user"), waiting("m1", "ap-1")];
const active: SessionStatus[] = ["waiting_approval", "working", "thinking", "tool_running"];
const active: SessionStatus[] = ["waiting_approval", "thinking", "tool_running"];
for (const status of active) {
expect(findPendingApproval(arr, status)?.messageId).toBe("m1");
}
Expand All @@ -72,7 +72,7 @@ describe("findPendingApproval", () => {

it("returns null when nothing is waiting", () => {
const arr = [msg("u1", "user"), completedTool("m2"), msg("a1", "assistant")];
expect(findPendingApproval(arr, "working")).toBeNull();
expect(findPendingApproval(arr, "tool_running")).toBeNull();
expect(findPendingApproval([], "waiting_approval")).toBeNull();
});

Expand Down
1 change: 0 additions & 1 deletion web/src/lib/approvals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import type { SessionMessage, SessionStatus } from "../protocol/types";

const APPROVAL_POSSIBLE: ReadonlySet<SessionStatus> = new Set<SessionStatus>([
"waiting_approval",
"working",
"thinking",
"tool_running",
]);
Expand Down
Loading
Loading