fix deps warning
Browse files- .agent/memory/session.json +2 -2
- Dockerfile +4 -2
- package.json +0 -2
.agent/memory/session.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0.0",
|
| 3 |
-
"session_id": "
|
| 4 |
-
"started_at": "2026-04-
|
| 5 |
"workspace": "D:\\Code\\codeverse",
|
| 6 |
"active_task_id": null,
|
| 7 |
"active_agent": null,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0.0",
|
| 3 |
+
"session_id": "f4524b24",
|
| 4 |
+
"started_at": "2026-04-04T23:05:13.479862+05:30",
|
| 5 |
"workspace": "D:\\Code\\codeverse",
|
| 6 |
"active_task_id": null,
|
| 7 |
"active_agent": null,
|
Dockerfile
CHANGED
|
@@ -38,10 +38,12 @@ RUN apk add --no-cache libc6-compat python3 make g++ git
|
|
| 38 |
ENV NODE_ENV production
|
| 39 |
ENV NEXT_TELEMETRY_DISABLED 1
|
| 40 |
|
| 41 |
-
# HF Spaces run with UID 1000
|
|
|
|
|
|
|
| 42 |
USER node
|
| 43 |
|
| 44 |
-
# Copy needed files and re-install production dependencies
|
| 45 |
COPY --from=builder /app/package.json /app/package-lock.json* ./
|
| 46 |
RUN npm ci --omit=dev
|
| 47 |
|
|
|
|
| 38 |
ENV NODE_ENV production
|
| 39 |
ENV NEXT_TELEMETRY_DISABLED 1
|
| 40 |
|
| 41 |
+
# HF Spaces run with UID 1000. Ensure /app belongs to 'node' BEFORE switching users.
|
| 42 |
+
# WORKDIR was called as root earlier, so /app is currently root-owned.
|
| 43 |
+
RUN chown -R node:node /app
|
| 44 |
USER node
|
| 45 |
|
| 46 |
+
# Copy needed files and re-install production dependencies
|
| 47 |
COPY --from=builder /app/package.json /app/package-lock.json* ./
|
| 48 |
RUN npm ci --omit=dev
|
| 49 |
|
package.json
CHANGED
|
@@ -57,8 +57,6 @@
|
|
| 57 |
"tar-fs": "^3.1.2",
|
| 58 |
"uuid": "^13.0.0",
|
| 59 |
"ws": "^8.19.0",
|
| 60 |
-
"xterm": "^5.3.0",
|
| 61 |
-
"xterm-addon-fit": "^0.8.0",
|
| 62 |
"y-protocols": "^1.0.7",
|
| 63 |
"yjs": "^13.6.29",
|
| 64 |
"zod": "^4.3.6",
|
|
|
|
| 57 |
"tar-fs": "^3.1.2",
|
| 58 |
"uuid": "^13.0.0",
|
| 59 |
"ws": "^8.19.0",
|
|
|
|
|
|
|
| 60 |
"y-protocols": "^1.0.7",
|
| 61 |
"yjs": "^13.6.29",
|
| 62 |
"zod": "^4.3.6",
|