@zerwiz/ymir 0.1.18 → 0.1.19
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/bin/ymir-install.sh +1 -6
- package/package.json +1 -1
- package/scripts/start.sh +9 -0
- package/.agents/config/app-repos.yaml +0 -38
package/bin/ymir-install.sh
CHANGED
|
@@ -304,12 +304,7 @@ step_apps() {
|
|
|
304
304
|
esac
|
|
305
305
|
local reg="$HOARD/identity/projects.yaml"
|
|
306
306
|
if [ ! -r "$reg" ]; then
|
|
307
|
-
|
|
308
|
-
# fresh clone still pulls the five surfaces (config/app-repos.yaml).
|
|
309
|
-
reg="$ROOT/config/app-repos.yaml"
|
|
310
|
-
fi
|
|
311
|
-
if [ ! -r "$reg" ]; then
|
|
312
|
-
add apps SKIP "no app registry — neither the hoard's projects.yaml nor config/app-repos.yaml"
|
|
307
|
+
add apps SKIP "no registry — no app repos to pull ($reg)"
|
|
313
308
|
return 0
|
|
314
309
|
fi
|
|
315
310
|
# Parse blocks that carry `repo: apps/<path>` and a `git:` inline dict.
|
package/package.json
CHANGED
package/scripts/start.sh
CHANGED
|
@@ -289,6 +289,15 @@ echo "$PID" > "$PID_FILE"
|
|
|
289
289
|
# Wait for the port to answer (max ~15s), then say what is true.
|
|
290
290
|
for _ in $(seq 1 30); do
|
|
291
291
|
if curl -s -o /dev/null "http://127.0.0.1:${PORT}/"; then
|
|
292
|
+
# The windows — the raise opens all four when a display is present, so
|
|
293
|
+
# 'ymir raise' stands the whole hall: the high seat, the board, the
|
|
294
|
+
# smithy's eye, and the seat-hall.
|
|
295
|
+
if [ -n "${WAYLAND_DISPLAY:-${DISPLAY:-}}" ]; then
|
|
296
|
+
"$SCRIPT_DIR/electron.sh" start --view hlidskjalf >/dev/null 2>&1 &
|
|
297
|
+
"$SCRIPT_DIR/electron.sh" start --view odrerir >/dev/null 2>&1 &
|
|
298
|
+
"$SCRIPT_DIR/electron.sh" start --view smidja >/dev/null 2>&1 &
|
|
299
|
+
"$ROOT/bin/ymir.js" sessrumnir >/dev/null 2>&1 &
|
|
300
|
+
fi
|
|
292
301
|
echo "Hlidskjalf raised (pid $PID) → http://127.0.0.1:${PORT}/"
|
|
293
302
|
echo "Logs: $LOG"
|
|
294
303
|
exit 0
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# App repositories — PUBLIC map (the five surfaces)
|
|
2
|
-
#
|
|
3
|
-
# The fork path: a fresh clone has no private hoard (no
|
|
4
|
-
# `$YMIR_HOME/hodd/identity/projects.yaml`), so bin/ymir-install.sh's `apps`
|
|
5
|
-
# step falls back to THIS file to clone the five app repos. The hoard registry
|
|
6
|
-
# stays authoritative when present; this file is the fork's road.
|
|
7
|
-
#
|
|
8
|
-
# Block shape must match the installer's awk (repo: apps/<path> + git: dict).
|
|
9
|
-
|
|
10
|
-
- id: hlidskjalf
|
|
11
|
-
name: Hlidskjalf
|
|
12
|
-
repo: apps/hlidskjalf
|
|
13
|
-
posture: direct-PR
|
|
14
|
-
git: { host: github.com, owner: zerwiz, repo: hlidskjalf, remote: origin, default_branch: main, auth: gh }
|
|
15
|
-
|
|
16
|
-
- id: hlidskjalf-mobile
|
|
17
|
-
name: Hlidskjalf Mobile
|
|
18
|
-
repo: apps/hlidskjalf-mobile
|
|
19
|
-
posture: direct-PR
|
|
20
|
-
git: { host: github.com, owner: zerwiz, repo: hlidskjalf-mobile, remote: origin, default_branch: main, auth: gh }
|
|
21
|
-
|
|
22
|
-
- id: odrerir
|
|
23
|
-
name: Óðrerir
|
|
24
|
-
repo: apps/odrerir
|
|
25
|
-
posture: direct-PR
|
|
26
|
-
git: { host: github.com, owner: zerwiz, repo: odrerir, remote: origin, default_branch: main, auth: gh }
|
|
27
|
-
|
|
28
|
-
- id: sessrumnir
|
|
29
|
-
name: Sessrúmnir
|
|
30
|
-
repo: apps/sessrumnir
|
|
31
|
-
posture: direct-PR
|
|
32
|
-
git: { host: github.com, owner: zerwiz, repo: sessrumnir, remote: origin, default_branch: main, auth: gh }
|
|
33
|
-
|
|
34
|
-
- id: smidja
|
|
35
|
-
name: Smíðja factory
|
|
36
|
-
repo: apps/smidja-factory
|
|
37
|
-
posture: direct-PR
|
|
38
|
-
git: { host: github.com, owner: zerwiz, repo: smidja, remote: origin, default_branch: main, auth: gh }
|