@cybermem/dashboard 0.9.0 → 0.9.4

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/Dockerfile CHANGED
@@ -39,6 +39,12 @@ COPY --from=builder /app/public ./public
39
39
  COPY --from=builder /app/.next/standalone ./
40
40
  COPY --from=builder /app/.next/static ./.next/static
41
41
 
42
+ # Copy package files for native build support
43
+ COPY package.json pnpm-lock.yaml* ./
44
+
45
+ # Fix sqlite3 bindings by installing it explicitly in the production image
46
+ RUN npm install sqlite3@5.1.7 --no-save
47
+
42
48
  # Expose port
43
49
  EXPOSE 3000
44
50
 
@@ -16,7 +16,7 @@ export async function GET(request: Request) {
16
16
  const tailscaleHostname = process.env.TAILSCALE_HOSTNAME;
17
17
  if (tailscaleHostname) {
18
18
  return NextResponse.json({
19
- url: `https://${tailscaleHostname}/cybermem`,
19
+ url: `https://${tailscaleHostname}`,
20
20
  type: "tailscale",
21
21
  editable: false,
22
22
  hint: "Using Tailscale Funnel for secure remote access",
@@ -30,7 +30,7 @@ export async function GET(request: Request) {
30
30
  ? publicUrl.slice(0, -1)
31
31
  : publicUrl;
32
32
  return NextResponse.json({
33
- url: `${formattedUrl}/cybermem`,
33
+ url: formattedUrl,
34
34
  type: "vps",
35
35
  editable: true,
36
36
  hint: "Configure CYBERMEM_PUBLIC_URL to change this URL",
@@ -44,7 +44,7 @@ export async function GET(request: Request) {
44
44
  if (host.includes(".local")) {
45
45
  const hostname = host.split(":")[0];
46
46
  return NextResponse.json({
47
- url: `http://${hostname}:${MCP_PORT}/cybermem`,
47
+ url: `http://${hostname}:${MCP_PORT}`,
48
48
  type: "lan",
49
49
  editable: false,
50
50
  hint: "Detected LAN access via mDNS (.local)",
@@ -56,7 +56,7 @@ export async function GET(request: Request) {
56
56
  if (ipMatch) {
57
57
  const protocol = request.headers.get("x-forwarded-proto") || "http";
58
58
  return NextResponse.json({
59
- url: `${protocol}://${ipMatch[1]}:${MCP_PORT}/cybermem`,
59
+ url: `${protocol}://${ipMatch[1]}:${MCP_PORT}`,
60
60
  type: "ip",
61
61
  editable: true,
62
62
  hint: "Detected IP-based access",
@@ -65,7 +65,7 @@ export async function GET(request: Request) {
65
65
 
66
66
  // Default to localhost
67
67
  return NextResponse.json({
68
- url: `http://localhost:${MCP_PORT}/cybermem`,
68
+ url: `http://localhost:${MCP_PORT}`,
69
69
  type: "local",
70
70
  editable: false,
71
71
  hint: "Running locally",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cybermem/dashboard",
3
- "version": "0.9.0",
3
+ "version": "0.9.4",
4
4
  "description": "CyberMem Monitoring Dashboard",
5
5
  "homepage": "https://cybermem.dev",
6
6
  "repository": {