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
5 changes: 5 additions & 0 deletions .changeset/console-diff-refresh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kilocode/cli": patch
---

Keep Kilo Console terminals and worktree changes visible while refreshing diffs.
5 changes: 5 additions & 0 deletions .changeset/console-favicon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kilocode/cli": patch
---

Use the updated favicon in Kilo Console.
2 changes: 2 additions & 0 deletions packages/kilo-console/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<title>Kilo Console</title>
</head>
<body>
Expand Down
Binary file added packages/kilo-console/public/favicon.ico
Binary file not shown.
13 changes: 13 additions & 0 deletions packages/kilo-console/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,12 @@ function eventSession(event: ProjectConsoleEvent) {
}

function eventType(event: ProjectConsoleEvent) {
const payload = event.payload
const payload = event.payload as { type?: string; name?: unknown; syncEvent?: { type?: unknown } }
if (!payload.type) return ""
if (payload.type !== "sync") return payload.type
return payload.name
if (typeof payload.name === "string") return payload.name
if (typeof payload.syncEvent?.type === "string") return payload.syncEvent.type
return ""
}

function messageEvent(event: ProjectConsoleEvent) {
Expand Down Expand Up @@ -699,7 +702,7 @@ export function ProjectConsoleRoute() {
return { url: base.url, dir: item.directory, scope: "project" }
})
return (
<Show keyed when={input()}>
<Show when={input()}>
{(target) => {
const item = pty()
if (!item) return null
Expand All @@ -710,7 +713,7 @@ export function ProjectConsoleRoute() {
aria-hidden={terminal() !== key}
>
<GhosttyTerminal
query={target}
query={target()}
pty={item.id}
active={terminal() === key}
onExit={() => {
Expand Down Expand Up @@ -751,7 +754,7 @@ export function ProjectConsoleRoute() {
</div>
<div class="project-info-card grow">
<div class="project-panel-heading">Changes</div>
<Show when={diffs.loading}>
<Show when={diffs.loading && !diffs()}>
<p class="empty">Loading diff...</p>
</Show>
<Show when={diffs.error}>
Expand Down
Loading