claude-ws 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/next.config.ts CHANGED
@@ -2,15 +2,14 @@ import type { NextConfig } from "next";
2
2
  import path from "path";
3
3
 
4
4
  const nextConfig: NextConfig = {
5
- // Fix for npx execution: ensure Next.js uses correct root directory
6
- // This prevents "Missing module type" errors when building from node_modules
7
5
  outputFileTracingRoot: path.join(__dirname),
8
-
9
- // Explicitly set src directory to prevent Next.js from looking in node_modules
10
6
  outputFileTracingIncludes: {
11
7
  '/': ['./src/**/*'],
12
8
  },
13
-
9
+ experimental: {
10
+ optimizePackageImports: ['lucide-react'],
11
+ },
12
+ staticPageGenerationTimeout: 120,
14
13
  images: {
15
14
  remotePatterns: [
16
15
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-ws",
3
- "version": "0.1.5",
3
+ "version": "0.1.7",
4
4
  "private": false,
5
5
  "description": "A beautifully crafted workspace interface for Claude Code with real-time streaming and local SQLite database",
6
6
  "keywords": [
@@ -113,7 +113,7 @@
113
113
  "highlight.js": "^11.11.1",
114
114
  "lucide-react": "^0.562.0",
115
115
  "nanoid": "^5.1.6",
116
- "next": "16.1.1",
116
+ "next": "^16.1.3",
117
117
  "next-themes": "^0.4.6",
118
118
  "react": "19.2.3",
119
119
  "react-dom": "19.2.3",
@@ -138,7 +138,7 @@
138
138
  "@types/react-dom": "^19",
139
139
  "drizzle-kit": "^0.31.8",
140
140
  "eslint": "^9",
141
- "eslint-config-next": "16.1.1",
141
+ "eslint-config-next": "^16.1.3",
142
142
  "tailwindcss": "^4",
143
143
  "tw-animate-css": "^1.4.0",
144
144
  "typescript": "^5"
@@ -0,0 +1,37 @@
1
+ 'use client';
2
+
3
+ /**
4
+ * Global error boundary - handles errors that occur in root layout
5
+ * This file is required to fix Next.js 16 Turbopack build bug with _global-error
6
+ */
7
+ export default function GlobalError({
8
+ error,
9
+ reset,
10
+ }: {
11
+ error: Error & { digest?: string };
12
+ reset: () => void;
13
+ }) {
14
+ return (
15
+ <html lang="en">
16
+ <body style={{ fontFamily: 'system-ui', padding: '2rem', textAlign: 'center' }}>
17
+ <h1>Something went wrong!</h1>
18
+ <p style={{ color: '#666', marginBottom: '1rem' }}>
19
+ {error.message || 'An unexpected error occurred'}
20
+ </p>
21
+ <button
22
+ onClick={() => reset()}
23
+ style={{
24
+ padding: '0.5rem 1rem',
25
+ background: '#0070f3',
26
+ color: 'white',
27
+ border: 'none',
28
+ borderRadius: '4px',
29
+ cursor: 'pointer',
30
+ }}
31
+ >
32
+ Try again
33
+ </button>
34
+ </body>
35
+ </html>
36
+ );
37
+ }