diff --git a/.changeset/console-diff-refresh.md b/.changeset/console-diff-refresh.md new file mode 100644 index 00000000000..55389527fd9 --- /dev/null +++ b/.changeset/console-diff-refresh.md @@ -0,0 +1,5 @@ +--- +"@kilocode/cli": patch +--- + +Keep Kilo Console terminals and worktree changes visible while refreshing diffs. diff --git a/.changeset/console-favicon.md b/.changeset/console-favicon.md new file mode 100644 index 00000000000..6b02af98f89 --- /dev/null +++ b/.changeset/console-favicon.md @@ -0,0 +1,5 @@ +--- +"@kilocode/cli": patch +--- + +Use the updated favicon in Kilo Console. diff --git a/packages/kilo-console/index.html b/packages/kilo-console/index.html index 361504e1631..d984e41f4d7 100644 --- a/packages/kilo-console/index.html +++ b/packages/kilo-console/index.html @@ -3,6 +3,8 @@ + + Kilo Console diff --git a/packages/kilo-console/public/favicon.ico b/packages/kilo-console/public/favicon.ico new file mode 100644 index 00000000000..777c633b0b5 Binary files /dev/null and b/packages/kilo-console/public/favicon.ico differ diff --git a/packages/kilo-console/public/favicon.svg b/packages/kilo-console/public/favicon.svg new file mode 100644 index 00000000000..c4b6bb8ba46 --- /dev/null +++ b/packages/kilo-console/public/favicon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/kilo-console/src/routes/projects/ProjectConsoleRoute.tsx b/packages/kilo-console/src/routes/projects/ProjectConsoleRoute.tsx index b7aae4eb411..294b1ca2e07 100644 --- a/packages/kilo-console/src/routes/projects/ProjectConsoleRoute.tsx +++ b/packages/kilo-console/src/routes/projects/ProjectConsoleRoute.tsx @@ -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) { @@ -699,7 +702,7 @@ export function ProjectConsoleRoute() { return { url: base.url, dir: item.directory, scope: "project" } }) return ( - + {(target) => { const item = pty() if (!item) return null @@ -710,7 +713,7 @@ export function ProjectConsoleRoute() { aria-hidden={terminal() !== key} > { @@ -751,7 +754,7 @@ export function ProjectConsoleRoute() {
Changes
- +

Loading diff...