@atolis-hq/wake 0.4.31 → 0.4.33
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/dist/src/bootstrap/initialise.js +2 -2
- package/dist/src/bootstrap/surface-api-applications.d.ts +3 -1
- package/dist/src/bootstrap/surface-api-applications.js +29 -0
- package/dist/src/bootstrap/surface-cli-applications.js +30 -2
- package/dist/src/bootstrap/update-maintenance-lease.d.ts +1 -0
- package/dist/src/bootstrap/update-maintenance-lease.js +9 -0
- package/dist/src/bootstrap/version.js +1 -1
- package/dist/src/surfaces/api/contracts/control-plane.d.ts +1 -0
- package/dist/src/surfaces/api/routes/applications.d.ts +4 -0
- package/dist/src/surfaces/api/routes/commands.js +32 -1
- package/dist/src/surfaces/api/routes/control-plane.d.ts +1 -1
- package/dist/src/surfaces/api/routes/control-plane.js +1 -0
- package/dist/src/surfaces/api/routes/index.d.ts +1 -1
- package/dist/src/surfaces/cli/infrastructure/sandbox-startup-failure.d.ts +7 -0
- package/dist/src/surfaces/cli/infrastructure/sandbox-startup-failure.js +33 -0
- package/dist/src/surfaces/cli/main.d.ts +5 -1
- package/dist/src/surfaces/cli/main.js +8 -0
- package/dist/src/surfaces/cli/usage.js +2 -0
- package/dist/src/surfaces/index.d.ts +1 -0
- package/dist/src/surfaces/index.js +1 -0
- package/dist/src/surfaces/web-assets/assets/{index-qai1Ymhv.js → index-Cs3ckFXD.js} +2 -2
- package/dist/src/surfaces/web-assets/index.html +1 -1
- package/docker/Dockerfile.runtime +1 -1
- package/docker/Dockerfile.runtime.packaged +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Wake</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-Cs3ckFXD.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-D9xGa5tD.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
@@ -84,4 +84,4 @@ ENV WAKE_MAIN_JS=/app/dist/src/main.js
|
|
|
84
84
|
# Startup ownership repair is best effort because bind-mounted paths or host
|
|
85
85
|
# permissions may prevent chown. The bounded direct-child pass avoids traversing
|
|
86
86
|
# accumulated runtime data.
|
|
87
|
-
ENTRYPOINT ["sh", "-c", "set -eu; mkdir -p /wake/.wake /wake/workspaces /wake/.wake/auth; chown wake:wake /wake/.wake /wake/workspaces /wake/.wake/auth || true; find /wake/.wake -mindepth 1 -maxdepth 1 -type d -exec chown wake:wake {} + || true; find /wake/.wake/auth -mindepth 1 -maxdepth 1 -type f -exec chown wake:wake {} + || true; if [ -n \"$WAKE_HOME_INIT_DIRS\" ]; then printf '%s\\n' \"$WAKE_HOME_INIT_DIRS\" | while IFS= read -r directory; do case \"$directory\" in \"$WAKE_HOME_INIT_ROOT\"/*) mkdir -p \"$directory\"; chown wake:wake \"$directory\" ;; *) exit 1 ;; esac; done; fi; exec su wake -s /bin/sh -c 'HOME=/home/wake exec node \"$WAKE_MAIN_JS\" sandbox-entrypoint --wake-root /wake'"]
|
|
87
|
+
ENTRYPOINT ["sh", "-c", "set -eu; mkdir -p /wake/.wake /wake/workspaces /wake/.wake/auth; chown wake:wake /wake/.wake /wake/workspaces /wake/.wake/auth || true; find /wake/.wake -mindepth 1 -maxdepth 1 -type d -exec chown wake:wake {} + || true; find /wake/.wake/auth -mindepth 1 -maxdepth 1 -type f -exec chown wake:wake {} + || true; if [ -n \"${WAKE_HOME_INIT_DIRS:-}\" ]; then printf '%s\\n' \"$WAKE_HOME_INIT_DIRS\" | while IFS= read -r directory; do case \"$directory\" in \"${WAKE_HOME_INIT_ROOT:-}\"/*) mkdir -p \"$directory\"; chown wake:wake \"$directory\" ;; *) exit 1 ;; esac; done; fi; exec su wake -s /bin/sh -c 'HOME=/home/wake exec node \"$WAKE_MAIN_JS\" sandbox-entrypoint --wake-root /wake'"]
|
|
@@ -65,4 +65,4 @@ EXPOSE 4317
|
|
|
65
65
|
# Startup ownership repair is best effort because bind-mounted paths or host
|
|
66
66
|
# permissions may prevent chown. The bounded direct-child pass avoids traversing
|
|
67
67
|
# accumulated runtime data.
|
|
68
|
-
ENTRYPOINT ["sh", "-c", "set -eu; mkdir -p /wake/.wake /wake/workspaces /wake/.wake/auth; chown wake:wake /wake/.wake /wake/workspaces /wake/.wake/auth || true; find /wake/.wake -mindepth 1 -maxdepth 1 -type d -exec chown wake:wake {} + || true; find /wake/.wake/auth -mindepth 1 -maxdepth 1 -type f -exec chown wake:wake {} + || true; if [ -n \"$WAKE_HOME_INIT_DIRS\" ]; then printf '%s\\n' \"$WAKE_HOME_INIT_DIRS\" | while IFS= read -r directory; do case \"$directory\" in \"$WAKE_HOME_INIT_ROOT\"/*) mkdir -p \"$directory\"; chown wake:wake \"$directory\" ;; *) exit 1 ;; esac; done; fi; exec su wake -s /bin/sh -c 'HOME=/home/wake exec wake sandbox-entrypoint --wake-root /wake'"]
|
|
68
|
+
ENTRYPOINT ["sh", "-c", "set -eu; mkdir -p /wake/.wake /wake/workspaces /wake/.wake/auth; chown wake:wake /wake/.wake /wake/workspaces /wake/.wake/auth || true; find /wake/.wake -mindepth 1 -maxdepth 1 -type d -exec chown wake:wake {} + || true; find /wake/.wake/auth -mindepth 1 -maxdepth 1 -type f -exec chown wake:wake {} + || true; if [ -n \"${WAKE_HOME_INIT_DIRS:-}\" ]; then printf '%s\\n' \"$WAKE_HOME_INIT_DIRS\" | while IFS= read -r directory; do case \"$directory\" in \"${WAKE_HOME_INIT_ROOT:-}\"/*) mkdir -p \"$directory\"; chown wake:wake \"$directory\" ;; *) exit 1 ;; esac; done; fi; exec su wake -s /bin/sh -c 'HOME=/home/wake exec wake sandbox-entrypoint --wake-root /wake'"]
|