|
2 | 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
3 | 3 | "description": "Fork-specific features from upstream PRs that must be preserved during merges", |
4 | 4 | "lastUpdated": "2025-12-21", |
| 5 | + "note": "Updated to include Docker self-hosted deployment and PWA service worker features", |
5 | 6 | "apiDependencies": [ |
6 | 7 | { |
7 | 8 | "api": "useDialog", |
|
1005 | 1006 | "markers": ["ideStatus", "Ide.status()"] |
1006 | 1007 | } |
1007 | 1008 | ] |
| 1009 | + }, |
| 1010 | + { |
| 1011 | + "pr": 0, |
| 1012 | + "title": "Docker self-hosted deployment", |
| 1013 | + "author": "fork", |
| 1014 | + "status": "fork-only", |
| 1015 | + "description": "Multi-stage Dockerfile that builds shuvcode from source with ARM64/AMD64 support. Includes docker-compose.yml for easy deployment with workspace volume mounting, API key injection, and git user configuration. Static desktop UI bundled into container for web access.", |
| 1016 | + "files": ["packages/opencode/Dockerfile", "docker/docker-compose.yml"], |
| 1017 | + "criticalCode": [ |
| 1018 | + { |
| 1019 | + "file": "packages/opencode/Dockerfile", |
| 1020 | + "description": "Multi-stage build with builder and runtime stages", |
| 1021 | + "markers": ["FROM oven/bun:1 AS builder", "FROM alpine", "ENTRYPOINT [\"shuvcode\"]"] |
| 1022 | + }, |
| 1023 | + { |
| 1024 | + "file": "packages/opencode/Dockerfile", |
| 1025 | + "description": "Desktop UI copied to static directory for web serving", |
| 1026 | + "markers": [ |
| 1027 | + "cp -r packages/desktop/dist packages/opencode/static", |
| 1028 | + "COPY --from=builder /app/packages/opencode/static" |
| 1029 | + ] |
| 1030 | + }, |
| 1031 | + { |
| 1032 | + "file": "packages/opencode/Dockerfile", |
| 1033 | + "description": "Multi-arch binary selection (ARM64/AMD64)", |
| 1034 | + "markers": ["TARGETARCH=amd64", "shuvcode-linux-x64-baseline-musl", "shuvcode-linux-arm64-musl"] |
| 1035 | + }, |
| 1036 | + { |
| 1037 | + "file": "packages/opencode/Dockerfile", |
| 1038 | + "description": "Git installed and configured in runtime image", |
| 1039 | + "markers": ["apk add --no-cache libgcc libstdc++ ripgrep git", "git config --global init.defaultBranch main"] |
| 1040 | + }, |
| 1041 | + { |
| 1042 | + "file": "docker/docker-compose.yml", |
| 1043 | + "description": "Workspace volume mounting and API key environment variables", |
| 1044 | + "markers": ["./workspace:/workspace", "ANTHROPIC_API_KEY", "OPENAI_API_KEY", "GIT_AUTHOR_NAME"] |
| 1045 | + } |
| 1046 | + ] |
| 1047 | + }, |
| 1048 | + { |
| 1049 | + "pr": 0, |
| 1050 | + "title": "Desktop PWA service worker", |
| 1051 | + "author": "fork", |
| 1052 | + "status": "fork-only", |
| 1053 | + "description": "Progressive Web App support via vite-plugin-pwa with offline caching, auto-update, and runtime caching for Google Fonts and jsDelivr CDN. Enables installable web app experience with proper manifest and iOS meta tags.", |
| 1054 | + "files": [ |
| 1055 | + "packages/desktop/vite.config.ts", |
| 1056 | + "packages/desktop/index.html", |
| 1057 | + "packages/desktop/src/index.css", |
| 1058 | + "packages/desktop/public/site.webmanifest" |
| 1059 | + ], |
| 1060 | + "criticalCode": [ |
| 1061 | + { |
| 1062 | + "file": "packages/desktop/vite.config.ts", |
| 1063 | + "description": "VitePWA plugin configuration with workbox caching", |
| 1064 | + "markers": [ |
| 1065 | + "import { VitePWA }", |
| 1066 | + "VitePWA({", |
| 1067 | + "registerType: \"autoUpdate\"", |
| 1068 | + "workbox:", |
| 1069 | + "maximumFileSizeToCacheInBytes: 5 * 1024 * 1024", |
| 1070 | + "runtimeCaching:" |
| 1071 | + ] |
| 1072 | + }, |
| 1073 | + { |
| 1074 | + "file": "packages/desktop/vite.config.ts", |
| 1075 | + "description": "API route denylist to prevent caching backend calls", |
| 1076 | + "markers": ["navigateFallbackDenylist: apiRoutes.map"] |
| 1077 | + }, |
| 1078 | + { |
| 1079 | + "file": "packages/desktop/index.html", |
| 1080 | + "description": "iOS PWA meta tags and viewport-fit=cover for safe areas", |
| 1081 | + "markers": [ |
| 1082 | + "viewport-fit=cover", |
| 1083 | + "apple-mobile-web-app-capable", |
| 1084 | + "apple-mobile-web-app-status-bar-style", |
| 1085 | + "apple-mobile-web-app-title" |
| 1086 | + ] |
| 1087 | + }, |
| 1088 | + { |
| 1089 | + "file": "packages/desktop/src/index.css", |
| 1090 | + "description": "Safe area CSS variables for notch/home indicator", |
| 1091 | + "markers": [ |
| 1092 | + "--safe-area-inset-top: env(safe-area-inset-top", |
| 1093 | + "--safe-area-inset-bottom: env(safe-area-inset-bottom" |
| 1094 | + ] |
| 1095 | + }, |
| 1096 | + { |
| 1097 | + "file": "packages/desktop/src/index.css", |
| 1098 | + "description": "PWA standalone mode styles for proper viewport sizing", |
| 1099 | + "markers": ["@media (display-mode: standalone)", "--pwa-top-offset", "min-height: 100dvh"] |
| 1100 | + }, |
| 1101 | + { |
| 1102 | + "file": "packages/desktop/public/site.webmanifest", |
| 1103 | + "description": "Web app manifest with shuvcode branding and standalone display", |
| 1104 | + "markers": [ |
| 1105 | + "\"name\": \"shuvcode\"", |
| 1106 | + "\"display\": \"standalone\"", |
| 1107 | + "\"display_override\": [\"standalone\", \"fullscreen\"]" |
| 1108 | + ] |
| 1109 | + } |
| 1110 | + ] |
1008 | 1111 | } |
1009 | 1112 | ] |
1010 | 1113 | } |
0 commit comments