Skip to content

Commit b093141

Browse files
committed
linting and perf stuff
1 parent 5ce0479 commit b093141

File tree

19 files changed

+2477
-1643
lines changed

19 files changed

+2477
-1643
lines changed

.oxlintrc.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
2-
"rules": {
3-
"sort-imports": "error"
4-
}
2+
"ignorePatterns": ["**/*.gen.ts"],
3+
"overrides": [
4+
{
5+
"files": ["**/*.{ts,tsx}"],
6+
"plugins": ["typescript"]
7+
},
8+
{
9+
"files": ["apps/desktop/src/**/*.{ts,tsx}", "apps/web/src/**/*.{ts,tsx}"],
10+
"plugins": ["react", "react-perf"]
11+
}
12+
]
513
}

apps/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"openai": "^6.10.0",
2525
"posthog-node": "^5.17.2",
2626
"stripe": "^19.3.1",
27-
"zod": "^4.1.13",
27+
"zod": "^4.2.1",
2828
"zod-openapi": "^5.4.5"
2929
},
3030
"devDependencies": {

apps/bot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"dependencies": {
1616
"@t3-oss/env-core": "^0.13.8",
1717
"probot": "^13.4.7",
18-
"zod": "^4.1.13"
18+
"zod": "^4.2.1"
1919
},
2020
"devDependencies": {
2121
"@octokit/plugin-rest-endpoint-methods": "^17.0.0",

apps/desktop/package.json

Lines changed: 34 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
"gen:schema": "tsx src/components/devtool/seed/script.ts"
1616
},
1717
"dependencies": {
18-
"@ai-sdk/amazon-bedrock": "^3.0.67",
19-
"@ai-sdk/anthropic": "^2.0.53",
20-
"@ai-sdk/azure": "^2.0.82",
21-
"@ai-sdk/google": "^2.0.45",
22-
"@ai-sdk/google-vertex": "^3.0.87",
23-
"@ai-sdk/openai": "^2.0.80",
24-
"@ai-sdk/openai-compatible": "^1.0.28",
25-
"@ai-sdk/react": "^2.0.109",
18+
"@ai-sdk/amazon-bedrock": "^3.0.70",
19+
"@ai-sdk/anthropic": "^2.0.56",
20+
"@ai-sdk/azure": "^2.0.89",
21+
"@ai-sdk/google": "^2.0.47",
22+
"@ai-sdk/google-vertex": "^3.0.92",
23+
"@ai-sdk/openai": "^2.0.87",
24+
"@ai-sdk/openai-compatible": "^1.0.29",
25+
"@ai-sdk/react": "^2.0.115",
2626
"@effect/schema": "^0.75.5",
27-
"@electric-sql/client": "^1.2.0",
27+
"@electric-sql/client": "^1.2.2",
2828
"@floating-ui/react": "^0.27.16",
2929
"@huggingface/languages": "^1.0.0",
3030
"@hypr/api-client": "workspace:*",
@@ -58,17 +58,17 @@
5858
"@hypr/utils": "workspace:^",
5959
"@iconify-icon/react": "^3.0.3",
6060
"@lmstudio/sdk": "^1.5.0",
61-
"@lobehub/icons": "^2.44.0",
62-
"@openrouter/ai-sdk-provider": "^1.4.1",
61+
"@lobehub/icons": "^2.48.0",
62+
"@openrouter/ai-sdk-provider": "^1.5.4",
6363
"@orama/highlight": "^0.1.9",
64-
"@orama/orama": "^3.1.16",
65-
"@orama/plugin-qps": "^3.1.16",
64+
"@orama/orama": "^3.1.17",
65+
"@orama/plugin-qps": "^3.1.17",
6666
"@sentry/react": "^8.55.0",
67-
"@supabase/supabase-js": "^2.87.0",
68-
"@t3-oss/env-core": "^0.13.8",
69-
"@tanstack/react-form": "^1.27.1",
67+
"@supabase/supabase-js": "^2.87.3",
68+
"@t3-oss/env-core": "^0.13.10",
69+
"@tanstack/react-form": "^1.27.4",
7070
"@tanstack/react-query": "^5.90.12",
71-
"@tanstack/react-router": "^1.140.0",
71+
"@tanstack/react-router": "^1.141.2",
7272
"@tauri-apps/api": "^2.9.1",
7373
"@tauri-apps/plugin-autostart": "^2.5.1",
7474
"@tauri-apps/plugin-deep-link": "^2.4.5",
@@ -83,13 +83,14 @@
8383
"@uidotdev/usehooks": "^2.4.1",
8484
"@wavesurfer/react": "^1.0.12",
8585
"@xstate/react": "^6.0.0",
86-
"@xstate/store": "^3.13.0",
87-
"ai": "^5.0.108",
86+
"@xstate/store": "^3.14.0",
87+
"ai": "^5.0.113",
88+
"babel-plugin-react-compiler": "^1.0.0",
8889
"chroma-js": "^3.2.0",
8990
"clsx": "^2.1.1",
9091
"date-fns": "^4.1.0",
9192
"dompurify": "^3.3.1",
92-
"effect": "^3.19.10",
93+
"effect": "^3.19.12",
9394
"json5": "^2.2.3",
9495
"jwt-decode": "^4.0.0",
9596
"lucide-react": "^0.544.0",
@@ -98,8 +99,8 @@
9899
"nlcst-to-string": "^4.0.0",
99100
"ollama": "^0.6.3",
100101
"re-resizable": "^6.11.2",
101-
"react": "^19.2.1",
102-
"react-dom": "^19.2.1",
102+
"react": "^19.2.3",
103+
"react-dom": "^19.2.3",
103104
"react-hotkeys-hook": "^4.6.2",
104105
"react-scan": "^0.4.3",
105106
"retext": "^9.0.0",
@@ -114,31 +115,31 @@
114115
"unified": "^11.0.5",
115116
"vfile": "^6.0.3",
116117
"wavesurfer.js": "^7.12.1",
117-
"xstate": "^5.24.0",
118-
"zod": "^4.1.13",
118+
"xstate": "^5.25.0",
119+
"zod": "^4.2.1",
119120
"zustand": "^5.0.9"
120121
},
121122
"devDependencies": {
122-
"@dotenvx/dotenvx": "^1.51.1",
123+
"@dotenvx/dotenvx": "^1.51.2",
123124
"@faker-js/faker": "^10.1.0",
124-
"@tanstack/react-router-devtools": "^1.140.0",
125-
"@tanstack/router-plugin": "^1.140.0",
126-
"@tauri-apps/cli": "^2.9.5",
127-
"@testing-library/react": "^16.3.0",
125+
"@tanstack/react-router-devtools": "^1.141.2",
126+
"@tanstack/router-plugin": "^1.141.2",
127+
"@tauri-apps/cli": "^2.9.6",
128+
"@testing-library/react": "^16.3.1",
128129
"@types/chroma-js": "^3.1.2",
129130
"@types/json5": "^2.2.0",
130-
"@types/node": "^24.10.2",
131+
"@types/node": "^24.10.4",
131132
"@types/react": "^19.2.7",
132133
"@types/react-dom": "^19.2.3",
133134
"@types/stopword": "^2.0.3",
134135
"@vitejs/plugin-react": "^4.7.0",
135-
"autoprefixer": "^10.4.22",
136+
"autoprefixer": "^10.4.23",
136137
"postcss": "^8.5.6",
137138
"stripe": "^19.3.1",
138-
"tailwindcss": "^3.4.18",
139+
"tailwindcss": "^3.4.19",
139140
"tsx": "^4.21.0",
140141
"typescript": "~5.8.3",
141-
"vite": "^7.2.7",
142+
"vite": "^7.3.0",
142143
"vitest": "^3.2.4"
143144
}
144145
}
-5.32 MB
Binary file not shown.

apps/desktop/src/components/chat/index.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { useCallback } from "react";
22

3-
import { commands as windowsCommands } from "@hypr/plugin-windows";
4-
53
import { useShell } from "../../contexts/shell";
64
import { useAutoCloser } from "../../hooks/useAutoCloser";
75
import { InteractiveContainer } from "./interactive";
@@ -18,10 +16,6 @@ export function ChatFloatingButton() {
1816
});
1917

2018
const handleClickTrigger = useCallback(async () => {
21-
const isExists = await windowsCommands.windowIsExists({ type: "chat" });
22-
if (isExists) {
23-
windowsCommands.windowDestroy({ type: "chat" });
24-
}
2519
chat.sendEvent({ type: "OPEN" });
2620
}, [chat]);
2721

apps/desktop/src/components/chat/input.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ function Container({ children }: { children: React.ReactNode }) {
198198
}
199199

200200
const ChatPlaceholder: PlaceholderFunction = ({ node, pos }) => {
201+
"use no memo";
201202
if (node.type.name === "paragraph" && pos === 0) {
202203
return (
203204
<p className="text-sm text-neutral-400">

apps/desktop/src/components/main/body/sessions/note-input/raw.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export const RawEditor = forwardRef<
108108
});
109109

110110
const Placeholder: PlaceholderFunction = ({ node, pos }) => {
111+
"use no memo";
111112
if (node.type.name === "paragraph" && pos === 0) {
112113
return (
113114
<p className="text-[#e5e5e5]">

apps/desktop/vite.config.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ const host = process.env.TAURI_DEV_HOST;
99
export default defineConfig(() => ({
1010
plugins: [
1111
tanstackRouter({ target: "react", autoCodeSplitting: false }),
12-
react(),
12+
react({
13+
babel: {
14+
plugins: [
15+
// [
16+
// "babel-plugin-react-compiler",
17+
// { compilationMode: "infer", target: "19" },
18+
// ],
19+
],
20+
},
21+
}),
1322
],
1423
resolve: {
1524
alias:

apps/restate/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@openrouter/sdk": "^0.1.27",
2121
"@restatedev/restate-sdk-cloudflare-workers": "^1.9.1",
2222
"@restatedev/restate-sdk-zod": "^1.9.1",
23-
"zod": "^4.1.13"
23+
"zod": "^4.2.1"
2424
},
2525
"devDependencies": {
2626
"@cloudflare/workers-types": "^4.20251209.0",

0 commit comments

Comments
 (0)