Skip to content

Commit 2dd2b12

Browse files
committed
chore: update everything
1 parent de2f179 commit 2dd2b12

Some content is hidden

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

41 files changed

+3681
-2635
lines changed

apps/daemon/src/help-message.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
if (
2-
process.argv.includes("--help") ||
3-
process.argv.includes("-h") ||
4-
process.argv.includes("help")
5-
) {
1+
if (process.argv.includes("--help") || process.argv.includes("-h") || process.argv.includes("help")) {
62
console.log(`
73
✨ Stardust daemon by aetherra
84
Options

apps/daemon/src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ export const app = new Elysia()
3333
mem: (((os.totalmem() - os.freemem()) / os.totalmem()) * 100).toFixed(2),
3434
os: `${os.type()} ${os.release()}`,
3535
version: pkgJson.version,
36-
sessions: (await docker.listContainers()).filter(
37-
(s) => s.HostConfig.NetworkMode === config.docker.network,
38-
).length,
36+
sessions: (await docker.listContainers()).filter((s) => s.HostConfig.NetworkMode === config.docker.network).length,
3937
}))
4038
.use(sessionHandler)
4139
.use(workspaceHandler)

apps/daemon/src/session/add-screen.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { getConfig } from "~/lib/config";
21
import { docker } from "~/lib/docker";
32
import { vncBaseFlags } from "./create";
4-
3+
// todo
54
export default async function addScreen(id: string) {
65
const container = docker.getContainer(id);
76
console.log(`hi${id}`);

apps/web/next.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ const nextConfig: NextConfig = {
1919
BUILD_DATE: Date.now().toString(),
2020
},
2121
experimental: {
22-
typedRoutes: true,
22+
// typedRoutes: true,
2323
reactCompiler: true,
2424
authInterrupts: true,
25-
nodeMiddleware: true,
2625
serverActions: {
2726
allowedOrigins: ["localhost:3000", "*.use.devtunnels.ms"],
2827
},

apps/web/package.json

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,22 @@
1515
"@marsidev/react-turnstile": "^1.1.0",
1616
"@monaco-editor/react": "^4.6.0",
1717
"@novnc/novnc": "1.5.0",
18-
"@radix-ui/react-accordion": "^1.2.2",
19-
"@radix-ui/react-alert-dialog": "^1.1.4",
20-
"@radix-ui/react-aspect-ratio": "^1.1.1",
21-
"@radix-ui/react-avatar": "^1.1.2",
22-
"@radix-ui/react-checkbox": "^1.1.3",
23-
"@radix-ui/react-dialog": "^1.1.4",
24-
"@radix-ui/react-dropdown-menu": "^2.1.4",
25-
"@radix-ui/react-label": "^2.1.1",
26-
"@radix-ui/react-navigation-menu": "^1.2.3",
27-
"@radix-ui/react-popover": "^1.1.5",
28-
"@radix-ui/react-select": "^2.1.4",
29-
"@radix-ui/react-separator": "^1.1.1",
30-
"@radix-ui/react-slider": "^1.2.2",
31-
"@radix-ui/react-slot": "^1.1.1",
32-
"@radix-ui/react-switch": "^1.1.2",
33-
"@radix-ui/react-tooltip": "^1.1.6",
18+
"@radix-ui/react-accordion": "^1.2.11",
19+
"@radix-ui/react-alert-dialog": "^1.1.14",
20+
"@radix-ui/react-aspect-ratio": "^1.1.7",
21+
"@radix-ui/react-avatar": "^1.1.10",
22+
"@radix-ui/react-checkbox": "^1.3.2",
23+
"@radix-ui/react-dialog": "^1.1.14",
24+
"@radix-ui/react-dropdown-menu": "^2.1.15",
25+
"@radix-ui/react-label": "^2.1.7",
26+
"@radix-ui/react-navigation-menu": "^1.2.13",
27+
"@radix-ui/react-popover": "^1.1.14",
28+
"@radix-ui/react-select": "^2.2.5",
29+
"@radix-ui/react-separator": "^1.1.7",
30+
"@radix-ui/react-slider": "^1.3.5",
31+
"@radix-ui/react-slot": "^1.2.3",
32+
"@radix-ui/react-switch": "^1.2.5",
33+
"@radix-ui/react-tooltip": "^1.2.7",
3434
"@scalar/nextjs-api-reference": "^0.5.4",
3535
"@stardust/common": "workspace:*",
3636
"@stardust/config": "workspace:*",
@@ -39,31 +39,33 @@
3939
"@stardust/tsconfig": "workspace:*",
4040
"@tanstack/react-table": "^8.20.6",
4141
"autoprefixer": "^10.4.20",
42-
"class-variance-authority": "^0.7.0",
42+
"class-variance-authority": "^0.7.1",
4343
"clsx": "^2.1.1",
4444
"geist": "^1.3.1",
45+
"i": "^0.3.7",
4546
"lucide-react": "^0.460.0",
46-
"next": "15.3.1-canary.7",
47-
"next-themes": "^0.4.4",
48-
"postcss": "^8.4.49",
49-
"react": "19.1.0",
50-
"react-dom": "19.1.0",
51-
"sonner": "^1.7.1",
47+
"next": "15.4.2-canary.20",
48+
"next-themes": "^0.4.6",
49+
"postcss": "^8.5.6",
50+
"react": "19.1.1",
51+
"react-dom": "19.1.1",
52+
"sonner": "^1.7.4",
5253
"swr": "^2.3.0",
53-
"tailwind-merge": "^2.5.4",
54-
"tailwindcss": "^3.4.17",
55-
"tailwindcss-animate": "^1.0.7",
54+
"tailwind-merge": "^3.3.1",
55+
"tailwindcss": "^4",
56+
"tw-animate-css": "^1.3.4",
5657
"use-local-storage": "^3.0.0"
5758
},
5859
"devDependencies": {
5960
"@next/bundle-analyzer": "15.2.0-canary.63",
61+
"@tailwindcss/postcss": "^4",
6062
"@types/node": "^20",
6163
"@types/novnc__novnc": "^1.5.0",
6264
"@types/react": "19.1.0",
6365
"@types/react-dom": "19.1.0",
6466
"babel-plugin-react-compiler": "19.0.0-beta-e993439-20250405",
6567
"node-loader": "^2.1.0",
66-
"shadcn": "2.1.9-canary.0",
68+
"shadcn": "2.9.3",
6769
"typescript": "5.5.4"
6870
}
6971
}

apps/web/postcss.config.cjs

Lines changed: 0 additions & 6 deletions
This file was deleted.

apps/web/postcss.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const config = {
2+
plugins: ["@tailwindcss/postcss"],
3+
};
4+
5+
export default config;

apps/web/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const app = next({
1919
port,
2020
httpServer,
2121
hostname: process.env.HOSTNAME,
22-
// turbopack: true,
22+
turbo: true,
2323
customServer: true,
2424
});
2525
await app.prepare();

apps/web/src/app/globals.css

Lines changed: 141 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -1,75 +1,148 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import "tailwindcss";
2+
@import "tw-animate-css";
43

5-
@layer base {
6-
:root {
7-
--background: 220 23.077% 94.902%;
8-
--foreground: 233.793 16.022% 35.49%;
9-
--muted: 222.857 15.909% 82.745%;
10-
--muted-foreground: 233.333 12.796% 41.373%;
11-
--popover: 220 23.077% 94.902%;
12-
--popover-foreground: 233.793 16.022% 35.49%;
13-
--card: 220 23.077% 94.902%;
14-
--card-foreground: 233.793 16.022% 35.49%;
15-
--border: 225 13.559% 76.863%;
16-
--input: 225 13.559% 76.863%;
17-
--primary: 266.044 85.047% 58.039%;
18-
--primary-foreground: 220 23.077% 94.902%;
19-
--secondary: 222.857 15.909% 82.745%;
20-
--secondary-foreground: 233.793 16.022% 35.49%;
21-
--accent: 222.857 15.909% 82.745%;
22-
--accent-foreground: 233.793 16.022% 35.49%;
23-
--destructive: 347.077 86.667% 44.118%;
24-
--destructive-foreground: 220 21.951% 91.961%;
25-
--ring: 233.793 16.022% 35.49%;
4+
@custom-variant dark (&:is(.dark *));
265

27-
--radius: 1.5rem;
28-
}
6+
@theme inline {
7+
--color-background: var(--background);
8+
--color-foreground: var(--foreground);
9+
--font-sans: var(--font-sans);
10+
--font-mono: var(--font-mono);
11+
--color-sidebar-ring: var(--sidebar-ring);
12+
--color-sidebar-border: var(--sidebar-border);
13+
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
14+
--color-sidebar-accent: var(--sidebar-accent);
15+
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
16+
--color-sidebar-primary: var(--sidebar-primary);
17+
--color-sidebar-foreground: var(--sidebar-foreground);
18+
--color-sidebar: var(--sidebar);
19+
--color-chart-5: var(--chart-5);
20+
--color-chart-4: var(--chart-4);
21+
--color-chart-3: var(--chart-3);
22+
--color-chart-2: var(--chart-2);
23+
--color-chart-1: var(--chart-1);
24+
--color-ring: var(--ring);
25+
--color-input: var(--input);
26+
--color-border: var(--border);
27+
--color-destructive: var(--destructive);
28+
--color-accent-foreground: var(--accent-foreground);
29+
--color-accent: var(--accent);
30+
--color-muted-foreground: var(--muted-foreground);
31+
--color-muted: var(--muted);
32+
--color-secondary-foreground: var(--secondary-foreground);
33+
--color-secondary: var(--secondary);
34+
--color-primary-foreground: var(--primary-foreground);
35+
--color-primary: var(--primary);
36+
--color-popover-foreground: var(--popover-foreground);
37+
--color-popover: var(--popover);
38+
--color-card-foreground: var(--card-foreground);
39+
--color-card: var(--card);
40+
--radius-sm: calc(var(--radius) - 4px);
41+
--radius-md: calc(var(--radius) - 2px);
42+
--radius-lg: var(--radius);
43+
--radius-xl: calc(var(--radius) + 4px);
44+
}
2945

30-
.dark {
31-
--background: 240 21.053% 14.902%;
32-
--foreground: 226.154 63.934% 88.039%;
33-
--muted: 236.842 16.239% 22.941%;
34-
--muted-foreground: 226.667 35.294% 80%;
35-
--popover: 240 21.053% 14.902%;
36-
--popover-foreground: 226.154 63.934% 88.039%;
37-
--card: 240 21.053% 14.902%;
38-
--card-foreground: 226.154 63.934% 88.039%;
39-
--border: 234.286 13.208% 31.176%;
40-
--input: 234.286 13.208% 31.176%;
41-
--primary: 267.407 83.505% 80.98%;
42-
--primary-foreground: 240 21.053% 14.902%;
43-
--secondary: 236.842 16.239% 22.941%;
44-
--secondary-foreground: 226.154 63.934% 88.039%;
45-
--accent: 236.842 16.239% 22.941%;
46-
--accent-foreground: 226.154 63.934% 88.039%;
47-
--destructive: 343.269 81.25% 74.902%;
48-
--destructive-foreground: 240 21.311% 11.961%;
49-
--ring: 226.154 63.934% 88.039%;
50-
}
46+
:root {
47+
--radius: 1.5rem;
48+
--background: oklch(0.95776 0.00577 264.53);
49+
--foreground: oklch(0.43524 0.04316 279.5);
50+
--card: oklch(0.95776 0.00577 264.53);
51+
--card-foreground: oklch(0.43524 0.04316 279.5);
52+
--popover: oklch(0.95776 0.00577 264.53);
53+
--popover-foreground: oklch(0.43524 0.04316 279.5);
54+
--primary: oklch(0.55453 0.25033 296.97);
55+
--primary-foreground: oklch(0.95776 0.00577 264.53);
56+
--secondary: oklch(0.85741 0.01451 268.67);
57+
--secondary-foreground: oklch(0.43524 0.04316 279.5);
58+
--muted: oklch(0.85741 0.01451 268.67);
59+
--muted-foreground: oklch(0.49234 0.03827 279);
60+
--accent: oklch(0.85741 0.01451 268.67);
61+
--accent-foreground: oklch(0.43524 0.04316 279.5);
62+
--destructive: oklch(0.55051 0.21551 19.73);
63+
--border: oklch(0.80831 0.01739 271.2);
64+
--input: oklch(0.80831 0.01739 271.2);
65+
--ring: oklch(0.43524 0.04316 279.5);
66+
--chart-1: oklch(0.55051 0.21551 19.73);
67+
--chart-2: oklch(0.60356 0.09834 200.64);
68+
--chart-3: oklch(0.55798 0.22589 262.14);
69+
--chart-4: oklch(0.71429 0.14941 67.88);
70+
--chart-5: oklch(0.6252 0.17697 140.38);
71+
--sidebar: oklch(0.93346 0.00871 264.52);
72+
--sidebar-foreground: oklch(0.43524 0.04316 279.5);
73+
--sidebar-primary: oklch(0.55453 0.25033 296.97);
74+
--sidebar-primary-foreground: oklch(0.95776 0.00577 264.53);
75+
--sidebar-accent: oklch(0.85741 0.01451 268.67);
76+
--sidebar-accent-foreground: oklch(0.43524 0.04316 279.5);
77+
--sidebar-border: oklch(0.80831 0.01739 271.2);
78+
--sidebar-ring: oklch(0.80831 0.01739 271.2);
79+
}
5180

52-
.zinc {
53-
--background: 240 10% 3.9%;
54-
--foreground: 0 0% 98%;
55-
--card: 240 10% 3.9%;
56-
--card-foreground: 0 0% 98%;
57-
--popover: 240 10% 3.9%;
58-
--popover-foreground: 0 0% 98%;
59-
--primary: 0 0% 98%;
60-
--primary-foreground: 240 5.9% 10%;
61-
--secondary: 240 3.7% 15.9%;
62-
--secondary-foreground: 0 0% 98%;
63-
--muted: 240 3.7% 15.9%;
64-
--muted-foreground: 240 5% 64.9%;
65-
--accent: 240 3.7% 15.9%;
66-
--accent-foreground: 0 0% 98%;
67-
--destructive: 0 62.8% 30.6%;
68-
--destructive-foreground: 0 0% 98%;
69-
--border: 240 3.7% 15.9%;
70-
--input: 240 3.7% 15.9%;
71-
--ring: 240 4.9% 83.9%;
72-
}
81+
.dark {
82+
--background: oklch(0.24287 0.03036 283.91);
83+
--foreground: oklch(0.87886 0.04244 272.1);
84+
--card: oklch(0.24287 0.03036 283.91);
85+
--card-foreground: oklch(0.87886 0.04244 272.1);
86+
--popover: oklch(0.24287 0.03036 283.91);
87+
--popover-foreground: oklch(0.87886 0.04244 272.1);
88+
--primary: oklch(0.78665 0.11852 304.46);
89+
--primary-foreground: oklch(0.24287 0.03036 283.91);
90+
--secondary: oklch(0.3239 0.03197 282.1);
91+
--secondary-foreground: oklch(0.87886 0.04244 272.1);
92+
--muted: oklch(0.3239 0.03197 282.1);
93+
--muted-foreground: oklch(0.81642 0.04057 273.24);
94+
--accent: oklch(0.3239 0.03197 282.1);
95+
--accent-foreground: oklch(0.87886 0.04244 272.1);
96+
--destructive: oklch(0.75573 0.12984 2.48);
97+
--border: oklch(0.40393 0.0318 279.9);
98+
--input: oklch(0.40393 0.0318 279.9);
99+
--ring: oklch(0.87886 0.04244 272.1);
100+
--chart-1: oklch(0.75573 0.12984 2.48);
101+
--chart-2: oklch(0.85849 0.07921 182.75);
102+
--chart-3: oklch(0.76708 0.11104 259.66);
103+
--chart-4: oklch(0.91845 0.0701 85.99);
104+
--chart-5: oklch(0.858 0.10893 142.53);
105+
--sidebar: oklch(0.21552 0.02542 284.06);
106+
--sidebar-foreground: oklch(0.87886 0.04244 272.1);
107+
--sidebar-primary: oklch(0.78665 0.11852 304.46);
108+
--sidebar-primary-foreground: oklch(0.24287 0.03036 283.91);
109+
--sidebar-accent: oklch(0.3239 0.03197 282.1);
110+
--sidebar-accent-foreground: oklch(0.87886 0.04244 272.1);
111+
--sidebar-border: oklch(0.40393 0.0318 279.9);
112+
--sidebar-ring: oklch(0.40393 0.0318 279.9);
113+
}
114+
.zinc {
115+
--background: oklch(0.145 0 0);
116+
--foreground: oklch(0.985 0 0);
117+
--card: oklch(0.205 0 0);
118+
--card-foreground: oklch(0.985 0 0);
119+
--popover: oklch(0.205 0 0);
120+
--popover-foreground: oklch(0.985 0 0);
121+
--primary: oklch(0.922 0 0);
122+
--primary-foreground: oklch(0.205 0 0);
123+
--secondary: oklch(0.269 0 0);
124+
--secondary-foreground: oklch(0.985 0 0);
125+
--muted: oklch(0.269 0 0);
126+
--muted-foreground: oklch(0.708 0 0);
127+
--accent: oklch(0.269 0 0);
128+
--accent-foreground: oklch(0.985 0 0);
129+
--destructive: oklch(0.704 0.191 22.216);
130+
--border: oklch(1 0 0 / 10%);
131+
--input: oklch(1 0 0 / 15%);
132+
--ring: oklch(0.556 0 0);
133+
--chart-1: oklch(0.488 0.243 264.376);
134+
--chart-2: oklch(0.696 0.17 162.48);
135+
--chart-3: oklch(0.769 0.188 70.08);
136+
--chart-4: oklch(0.627 0.265 303.9);
137+
--chart-5: oklch(0.645 0.246 16.439);
138+
--sidebar: oklch(0.205 0 0);
139+
--sidebar-foreground: oklch(0.985 0 0);
140+
--sidebar-primary: oklch(0.488 0.243 264.376);
141+
--sidebar-primary-foreground: oklch(0.985 0 0);
142+
--sidebar-accent: oklch(0.269 0 0);
143+
--sidebar-accent-foreground: oklch(0.985 0 0);
144+
--sidebar-border: oklch(1 0 0 / 10%);
145+
--sidebar-ring: oklch(0.556 0 0);
73146
}
74147

75148
@layer base {

apps/web/src/app/layout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1+
import "./globals.css";
2+
13
import { Toaster } from "@/components/ui/sonner";
24
import { TooltipProvider } from "@/components/ui/tooltip";
35
import { getConfig } from "@stardust/config";
46
import type { Metadata } from "next";
57
import { ThemeProvider } from "next-themes";
68
import { Inter, JetBrains_Mono } from "next/font/google";
79
import { headers } from "next/headers";
8-
import "./globals.css";
910
const inter = Inter({ subsets: ["latin"], variable: "--sans" });
1011
const jetbrains = JetBrains_Mono({ subsets: ["latin"], variable: "--mono" });
1112
export async function generateMetadata(): Promise<Metadata> {

0 commit comments

Comments
 (0)