Skip to content

Commit 27974cd

Browse files
authored
Merge branch 'anomalyco:dev' into dev
2 parents 6c5040e + 2f11c9f commit 27974cd

242 files changed

Lines changed: 4783 additions & 9653 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bun.lock

Lines changed: 17 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nix/hashes.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"nodeModules": {
3-
"x86_64-linux": "sha256-ZqTxXSIWZmrNpdIQICbesrMpoL24blahhQzAGTzupAc=",
4-
"aarch64-linux": "sha256-YdZAkfJXBCnqPcYS7VUbQqT9AkYnyu/ONVG5v78Lmdw=",
5-
"aarch64-darwin": "sha256-3Fdu1le89F53UHuaiHanHP0CB4F72fK9p1d9PC47Wsg=",
6-
"x86_64-darwin": "sha256-Tc4WppnKZPzYn/ICIv1vtx+NiNqAHAzd/ogTRUCQK18="
3+
"x86_64-linux": "sha256-LTo0ohJN5hBOubqFLVL45unVEIwBDkACNVv64k2nkq4=",
4+
"aarch64-linux": "sha256-oYKY2UJRWG2fhufW4aGujX/Poou93023ZF2Fu7oyYOw=",
5+
"aarch64-darwin": "sha256-618c9vqKN5I+no1nzylctAiWvqw7Bsa+bzSTNwXmSQA=",
6+
"x86_64-darwin": "sha256-1ro3/gH0FC0TWXwWT+k675xR396GE98HpnBEeuD4t6k="
77
}
88
}

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/app",
3-
"version": "1.14.41",
3+
"version": "1.14.46",
44
"description": "",
55
"type": "module",
66
"exports": {

packages/app/src/pages/session/session-side-panel.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ import { createOpenSessionFileTab, createSessionTabs, getTabReorderIndex, type S
2828
import { setSessionHandoff } from "@/pages/session/handoff"
2929
import { useSessionLayout } from "@/pages/session/session-layout"
3030

31+
type RenderDiff = (SnapshotFileDiff & { file: string }) | VcsFileDiff
32+
33+
function renderDiff(value: SnapshotFileDiff | VcsFileDiff): value is RenderDiff {
34+
return typeof value.file === "string"
35+
}
36+
3137
export function SessionSidePanel(props: {
3238
canReview: () => boolean
3339
diffs: () => (SnapshotFileDiff | VcsFileDiff)[]
@@ -70,7 +76,8 @@ export function SessionSidePanel(props: {
7076
})
7177
const treeWidth = createMemo(() => (fileOpen() ? `${layout.fileTree.width()}px` : "0px"))
7278

73-
const diffFiles = createMemo(() => props.diffs().map((d) => d.file))
79+
const diffs = createMemo(() => props.diffs().filter(renderDiff))
80+
const diffFiles = createMemo(() => diffs().map((d) => d.file))
7481
const kinds = createMemo(() => {
7582
const merge = (a: "add" | "del" | "mix" | undefined, b: "add" | "del" | "mix") => {
7683
if (!a) return b
@@ -81,7 +88,7 @@ export function SessionSidePanel(props: {
8188
const normalize = (p: string) => p.replaceAll("\\\\", "/").replace(/\/+$/, "")
8289

8390
const out = new Map<string, "add" | "del" | "mix">()
84-
for (const diff of props.diffs()) {
91+
for (const diff of diffs()) {
8592
const file = normalize(diff.file)
8693
const kind = diff.status === "added" ? "add" : diff.status === "deleted" ? "del" : "mix"
8794

packages/console/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/console-app",
3-
"version": "1.14.41",
3+
"version": "1.14.46",
44
"type": "module",
55
"license": "MIT",
66
"scripts": {

packages/console/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"name": "@opencode-ai/console-core",
4-
"version": "1.14.41",
4+
"version": "1.14.46",
55
"private": true,
66
"type": "module",
77
"license": "MIT",

packages/console/function/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/console-function",
3-
"version": "1.14.41",
3+
"version": "1.14.46",
44
"$schema": "https://json.schemastore.org/package.json",
55
"private": true,
66
"type": "module",

packages/console/mail/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opencode-ai/console-mail",
3-
"version": "1.14.41",
3+
"version": "1.14.46",
44
"dependencies": {
55
"@jsx-email/all": "2.2.3",
66
"@jsx-email/cli": "1.4.3",

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
3-
"version": "1.14.41",
3+
"version": "1.14.46",
44
"name": "@opencode-ai/core",
55
"type": "module",
66
"license": "MIT",

0 commit comments

Comments
 (0)