lightman-agent 1.0.4 → 1.0.6

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.
Files changed (115) hide show
  1. package/agent.config.template.json +30 -30
  2. package/package.json +52 -52
  3. package/public/assets/index-CcBNCz6h.css +1 -1
  4. package/public/assets/index-D9QHMG8k.js +1 -0
  5. package/public/assets/index-H-8HDl46.js +1 -1
  6. package/public/assets/index-YodeiCia.css +1 -0
  7. package/public/assets/index-legacy-DWtNM8y7.js +41 -0
  8. package/public/assets/museum-map-CwVDA2z1.svg +4182 -0
  9. package/public/assets/polyfills-legacy-DyVYWHbW.js +4 -0
  10. package/public/index.html +7 -2
  11. package/public/templates/custom08/elements/back-button.svg +20 -0
  12. package/public/templates/custom08/elements/base-map-background.svg +37 -0
  13. package/public/templates/custom08/elements/base-map.svg +1191 -0
  14. package/public/templates/custom08/elements/gallery-1-2-3-info-panel.svg +236 -0
  15. package/public/templates/custom08/elements/gallery-4-5-6-7-info-panel.svg +266 -0
  16. package/public/templates/custom08/elements/gallery-8-9-info-panel.svg +274 -0
  17. package/public/templates/custom08/elements/gallery-labels/_nav-map-styles.css +554 -0
  18. package/public/templates/custom08/elements/gallery-labels/_styles.css +556 -0
  19. package/public/templates/custom08/elements/gallery-labels/gallery-1.svg +35 -0
  20. package/public/templates/custom08/elements/gallery-labels/gallery-2.svg +34 -0
  21. package/public/templates/custom08/elements/gallery-labels/gallery-3.svg +34 -0
  22. package/public/templates/custom08/elements/gallery-labels/gallery-4.svg +37 -0
  23. package/public/templates/custom08/elements/gallery-labels/gallery-5.svg +34 -0
  24. package/public/templates/custom08/elements/gallery-labels/gallery-6.svg +34 -0
  25. package/public/templates/custom08/elements/gallery-labels/gallery-7.svg +34 -0
  26. package/public/templates/custom08/elements/gallery-labels/gallery-8.svg +37 -0
  27. package/public/templates/custom08/elements/gallery-labels/gallery-9.svg +34 -0
  28. package/public/templates/custom08/elements/hand-hint.png +0 -0
  29. package/public/templates/custom08/elements/idle-screen-bg.svg +5 -0
  30. package/public/templates/custom08/elements/idle-screen-map.svg +627 -0
  31. package/public/templates/custom08/elements/idle-screen-text.svg +350 -0
  32. package/public/templates/custom08/elements/key-map-1.svg +986 -0
  33. package/public/templates/custom08/elements/key-map-2.svg +1018 -0
  34. package/public/templates/custom08/elements/key-map-3.svg +1019 -0
  35. package/public/templates/custom08/elements/key-map-combined.svg +1001 -0
  36. package/public/templates/custom08/elements/map-highlight-marker.svg +11 -0
  37. package/public/templates/custom08/elements/map-pin-marker.svg +15 -0
  38. package/public/templates/custom08/elements/map-teardrop-star-marker.svg +13 -0
  39. package/public/templates/custom08/elements/nav-circle-galleries-1-3.svg +21 -0
  40. package/public/templates/custom08/elements/nav-circle-galleries-4-7.svg +24 -0
  41. package/public/templates/custom08/elements/nav-circle-galleries-8-9.svg +20 -0
  42. package/public/templates/custom08/elements/section1-map.svg +1435 -0
  43. package/public/templates/custom08/elements/section2-map.svg +1724 -0
  44. package/public/templates/custom08/elements/section3-map.svg +1295 -0
  45. package/public/templates/custom08/fonts/CabinetGrotesk-Variable.ttf +0 -0
  46. package/public/templates/custom08/images/highlights/Screenshot_2026-03-05_at_7.23.12_PM.png +0 -0
  47. package/public/templates/custom08/images/highlights/Screenshot_2026-03-05_at_7.23.56_PM.png +0 -0
  48. package/public/templates/custom08/images/highlights/Screenshot_2026-03-05_at_7.24.24_PM.png +0 -0
  49. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.31.58_PM.jpg +0 -0
  50. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.11_PM.jpg +0 -0
  51. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.36_PM.jpg +0 -0
  52. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.48_PM.jpg +0 -0
  53. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.32.59_PM.jpg +0 -0
  54. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.15_PM.jpg +0 -0
  55. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.27_PM.jpg +0 -0
  56. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.34_PM.jpg +0 -0
  57. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.42_PM.jpg +0 -0
  58. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.50_PM.jpg +0 -0
  59. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.33.58_PM.jpg +0 -0
  60. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.04_PM.jpg +0 -0
  61. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.11_PM.jpg +0 -0
  62. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.20_PM.jpg +0 -0
  63. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.34.57_PM.jpg +0 -0
  64. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.35.03_PM.jpg +0 -0
  65. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.35.16_PM.jpg +0 -0
  66. package/public/templates/custom08/images/highlights/Screenshot_2026-03-24_at_11.35.23_PM.jpg +0 -0
  67. package/public/templates/custom08/images/highlights/prologue-highlight.png +0 -0
  68. package/scripts/guardian.ps1 +75 -75
  69. package/scripts/install-linux.sh +134 -134
  70. package/scripts/install-rpi.sh +117 -117
  71. package/scripts/install-windows.ps1 +513 -512
  72. package/scripts/launch-kiosk.vbs +101 -101
  73. package/scripts/lightman-agent.logrotate +12 -12
  74. package/scripts/lightman-agent.service +38 -38
  75. package/scripts/lightman-shell.bat +107 -107
  76. package/scripts/reinstall-windows.ps1 +26 -26
  77. package/scripts/restore-desktop.ps1 +32 -32
  78. package/scripts/setup.ps1 +116 -116
  79. package/scripts/setup.sh +115 -115
  80. package/scripts/sync-display.mjs +20 -0
  81. package/scripts/uninstall-linux.sh +50 -50
  82. package/scripts/uninstall-windows.ps1 +54 -54
  83. package/src/commands/display.ts +177 -177
  84. package/src/commands/kiosk.ts +113 -113
  85. package/src/commands/maintenance.ts +106 -106
  86. package/src/commands/network.ts +129 -129
  87. package/src/commands/power.ts +163 -163
  88. package/src/commands/rpi.ts +45 -45
  89. package/src/commands/screenshot.ts +166 -166
  90. package/src/commands/serial.ts +17 -17
  91. package/src/commands/update.ts +124 -124
  92. package/src/index.ts +652 -652
  93. package/src/lib/config.ts +69 -69
  94. package/src/lib/identity.ts +40 -40
  95. package/src/lib/logger.ts +137 -137
  96. package/src/lib/platform.ts +10 -10
  97. package/src/lib/rpi.ts +180 -180
  98. package/src/lib/screens.ts +128 -128
  99. package/src/lib/types.ts +176 -176
  100. package/src/services/commands.ts +107 -107
  101. package/src/services/health.ts +161 -161
  102. package/src/services/kiosk.ts +384 -384
  103. package/src/services/localEvents.ts +60 -60
  104. package/src/services/logForwarder.ts +72 -72
  105. package/src/services/multiScreenKiosk.ts +324 -324
  106. package/src/services/oscBridge.ts +186 -186
  107. package/src/services/powerScheduler.ts +260 -260
  108. package/src/services/provisioning.ts +120 -120
  109. package/src/services/serialBridge.ts +230 -230
  110. package/src/services/serviceLauncher.ts +183 -183
  111. package/src/services/staticServer.ts +226 -226
  112. package/src/services/updater.ts +249 -249
  113. package/src/services/watchdog.ts +310 -310
  114. package/src/services/websocket.ts +152 -152
  115. package/tsconfig.json +28 -28
@@ -0,0 +1,274 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" width="330" height="260" viewBox="2265 305 330 260">
3
+ <defs>
4
+ <style>
5
+ .cls-1, .cls-2, .cls-3, .cls-4, .cls-5, .cls-6, .cls-7, .cls-8 {
6
+ fill: none;
7
+ }
8
+ .cls-10 {
9
+ letter-spacing: 0em;
10
+ }
11
+ .cls-11, .cls-18, .cls-19, .cls-20, .cls-21, .cls-22, .cls-23 {
12
+ opacity: .8;
13
+ }
14
+ .cls-11, .cls-2, .cls-3, .cls-13, .cls-24, .cls-15, .cls-16, .cls-25, .cls-8, .cls-17 {
15
+ stroke-miterlimit: 10;
16
+ }
17
+ .cls-26, .cls-27, .cls-28, .cls-29, .cls-30, .cls-31 {
18
+ fill: #494949;
19
+ }
20
+ .cls-26, .cls-28, .cls-32, .cls-33 {
21
+ font-family: CabinetGroteskVariable-Regular, 'Cabinet Grotesk Variable';
22
+ font-variation-settings: 'wght' 400;
23
+ }
24
+ .cls-26, .cls-30, .cls-33 {
25
+ font-size: 50px;
26
+ }
27
+ .cls-45, .cls-21 {
28
+ fill: #0c4c2b;
29
+ }
30
+ .cls-55 {
31
+ letter-spacing: -.02em;
32
+ }
33
+ .cls-59 {
34
+ letter-spacing: .01em;
35
+ }
36
+ .cls-61 {
37
+ letter-spacing: -.01em;
38
+ }
39
+ .cls-66 {
40
+ letter-spacing: -.05em;
41
+ }
42
+ .cls-28 {
43
+ font-size: 25px;
44
+ }
45
+ .cls-78 {
46
+ letter-spacing: .14em;
47
+ }
48
+ .cls-78, .cls-29, .cls-30, .cls-79, .cls-80, .cls-81, .cls-82, .cls-83 {
49
+ font-family: CabinetGroteskVariable-Light, 'Cabinet Grotesk Variable';
50
+ font-variation-settings: 'wght' 300;
51
+ font-weight: 300;
52
+ }
53
+ .cls-78, .cls-84, .cls-85, .cls-86 {
54
+ font-size: 20.48px;
55
+ }
56
+ .cls-29 {
57
+ font-size: 35px;
58
+ }
59
+ .cls-31, .cls-91, .cls-92, .cls-93, .cls-94, .cls-95, .cls-96, .cls-84, .cls-97, .cls-98, .cls-99, .cls-85, .cls-86, .cls-100, .cls-101, .cls-102, .cls-103 {
60
+ font-family: CabinetGroteskVariable-Medium, 'Cabinet Grotesk Variable';
61
+ font-variation-settings: 'wght' 500;
62
+ font-weight: 500;
63
+ }
64
+ .cls-31, .cls-79, .cls-80, .cls-81, .cls-82, .cls-83 {
65
+ font-size: 27.74px;
66
+ }
67
+ .cls-91, .cls-92, .cls-93, .cls-94, .cls-95, .cls-96, .cls-97, .cls-98, .cls-99, .cls-100, .cls-101, .cls-102, .cls-103 {
68
+ font-size: 40px;
69
+ }
70
+ .cls-91, .cls-92, .cls-93, .cls-94, .cls-98, .cls-99, .cls-102, .cls-103 {
71
+ fill: #0f6866;
72
+ }
73
+ .cls-91, .cls-101 {
74
+ letter-spacing: -.01em;
75
+ }
76
+ .cls-104 {
77
+ opacity: .53;
78
+ }
79
+ .cls-18, .cls-105 {
80
+ fill: #f4f4f4;
81
+ }
82
+ .cls-106 {
83
+ fill: #094c4c;
84
+ font-size: 55.89px;
85
+ }
86
+ .cls-106, .cls-107, .cls-108, .cls-13, .cls-109, .cls-110, .cls-70, .cls-22 {
87
+ font-family: CabinetGroteskVariable-Bold, 'Cabinet Grotesk Variable';
88
+ font-variation-settings: 'wght' 700;
89
+ font-weight: 700;
90
+ }
91
+ .cls-2 {
92
+ stroke: #494949;
93
+ stroke-width: .69px;
94
+ }
95
+ .cls-107 {
96
+ font-size: 28.8px;
97
+ }
98
+ .cls-107, .cls-108, .cls-112 {
99
+ fill: #0c4728;
100
+ }
101
+ .cls-92 {
102
+ letter-spacing: -.02em;
103
+ }
104
+ .cls-108 {
105
+ font-size: 55.89px;
106
+ }
107
+ .cls-48, .cls-124, .cls-20 {
108
+ fill: #063f21;
109
+ }
110
+ .cls-32, .cls-33 {
111
+ fill: #231f20;
112
+ }
113
+ .cls-134 {
114
+ letter-spacing: .16em;
115
+ }
116
+ .cls-109 {
117
+ fill: #727272;
118
+ }
119
+ .cls-109, .cls-110, .cls-22 {
120
+ font-size: 9px;
121
+ }
122
+ .cls-124, .cls-25 {
123
+ opacity: .57;
124
+ }
125
+ .cls-79 {
126
+ letter-spacing: .02em;
127
+ }
128
+ .cls-148 {
129
+ letter-spacing: .14em;
130
+ }
131
+ .cls-94 {
132
+ letter-spacing: -.01em;
133
+ }
134
+ .cls-80 {
135
+ letter-spacing: .04em;
136
+ }
137
+ .cls-159 {
138
+ letter-spacing: 0em;
139
+ }
140
+ .cls-95 {
141
+ letter-spacing: 0em;
142
+ }
143
+ .cls-95, .cls-96, .cls-97, .cls-100, .cls-101 {
144
+ opacity: .8;
145
+ }
146
+ .cls-95, .cls-96, .cls-97, .cls-100, .cls-101, .cls-23 {
147
+ fill: #049e54;
148
+ }
149
+ .cls-96 {
150
+ letter-spacing: 0em;
151
+ }
152
+ .cls-165 {
153
+ letter-spacing: -.02em;
154
+ }
155
+ .cls-24 {
156
+ fill: url(#linear-gradient-4);
157
+ opacity: .9;
158
+ stroke-width: 3px;
159
+ }
160
+ .cls-24, .cls-25 {
161
+ stroke: #7c7c7c;
162
+ }
163
+ .cls-84 {
164
+ letter-spacing: .13em;
165
+ }
166
+ .cls-97, .cls-98 {
167
+ letter-spacing: 0em;
168
+ }
169
+ .cls-99 {
170
+ letter-spacing: .01em;
171
+ }
172
+ .cls-22 {
173
+ fill: #014925;
174
+ }
175
+ .cls-181 {
176
+ letter-spacing: 0em;
177
+ }
178
+ .cls-183 {
179
+ letter-spacing: -.02em;
180
+ }
181
+ .cls-85 {
182
+ letter-spacing: .14em;
183
+ }
184
+ .cls-81 {
185
+ letter-spacing: .04em;
186
+ }
187
+ .cls-86 {
188
+ letter-spacing: .14em;
189
+ }
190
+ .cls-200 {
191
+ letter-spacing: -.02em;
192
+ }
193
+ .cls-25 {
194
+ fill: url(#linear-gradient-8);
195
+ mix-blend-mode: screen;
196
+ stroke-width: .95px;
197
+ }
198
+ .cls-201 {
199
+ letter-spacing: -.03em;
200
+ }
201
+ .cls-202 {
202
+ letter-spacing: -.04em;
203
+ }
204
+ .cls-203 {
205
+ fill: url(#linear-gradient);
206
+ }
207
+ .cls-204 {
208
+ letter-spacing: -.01em;
209
+ }
210
+ .cls-205 {
211
+ letter-spacing: 0em;
212
+ }
213
+ .cls-206 {
214
+ letter-spacing: 0em;
215
+ }
216
+ .cls-207 {
217
+ letter-spacing: .02em;
218
+ }
219
+ .cls-208 {
220
+ letter-spacing: -.05em;
221
+ }
222
+ .cls-82 {
223
+ letter-spacing: .04em;
224
+ }
225
+ .cls-209 {
226
+ clip-path: url(#clippath);
227
+ }
228
+ .cls-210 {
229
+ letter-spacing: -.03em;
230
+ }
231
+ .cls-211 {
232
+ letter-spacing: -.01em;
233
+ }
234
+ .cls-212 {
235
+ letter-spacing: -.02em;
236
+ }
237
+ .cls-102 {
238
+ letter-spacing: -.05em;
239
+ }
240
+ .cls-213 {
241
+ letter-spacing: 0em;
242
+ }
243
+ .cls-103 {
244
+ letter-spacing: -.01em;
245
+ }
246
+ .cls-214 {
247
+ fill: #fffdfd;
248
+ }
249
+ .cls-83 {
250
+ letter-spacing: .04em;
251
+ }
252
+ .cls-215 {
253
+ letter-spacing: -.02em;
254
+ }
255
+ </style>
256
+ </defs>
257
+ <g>
258
+ <text class="cls-30" transform="translate(2282.33 404.61) scale(.7)"><tspan class="cls-183" x="0" y="0">G</tspan><tspan class="cls-165" x="33.05" y="0">A</tspan><tspan class="cls-208" x="62.05" y="0">LL</tspan><tspan class="cls-200" x="109.75" y="0">E</tspan><tspan class="cls-66" x="137" y="0">R</tspan><tspan class="cls-181" x="165.5" y="0">Y</tspan></text>
259
+ <text transform="translate(2418.34 404.61)"><tspan><tspan class="cls-30" x="0" y="0"> </tspan><tspan class="cls-29" x="11" y="0">8</tspan><tspan class="cls-30" x="32.14" y="0">:</tspan><tspan class="cls-26" x="39.84" y="0"> </tspan><tspan class="cls-100" x="50.84" y="0">Spiri</tspan><tspan class="cls-95" x="131.32" y="0">t</tspan><tspan class="cls-100" x="146.32" y="0"> </tspan><tspan class="cls-96" x="155.12" y="0">o</tspan><tspan class="cls-100" x="176.08" y="0">f Wi</tspan><tspan class="cls-97" x="244.87" y="0">p</tspan><tspan class="cls-101" x="266.63" y="0">r</tspan><tspan class="cls-100" x="282.95" y="0">o</tspan></tspan></text>
260
+ <text class="cls-30" transform="translate(2282.33 464.61) scale(.7)"><tspan class="cls-183" x="0" y="0">G</tspan><tspan class="cls-165" x="33.05" y="0">A</tspan><tspan class="cls-208" x="62.05" y="0">LL</tspan><tspan class="cls-200" x="109.75" y="0">E</tspan><tspan class="cls-66" x="137" y="0">R</tspan><tspan class="cls-181" x="165.5" y="0">Y</tspan></text>
261
+ <text transform="translate(2418.34 464.61)"><tspan><tspan class="cls-30" x="0" y="0"> </tspan><tspan class="cls-29" x="11" y="0">9</tspan><tspan class="cls-30" x="31.4" y="0">:</tspan><tspan class="cls-33" x="39.1" y="0"> </tspan><tspan class="cls-92" x="50.1" y="0">A</tspan><tspan class="cls-93" x="74.9" y="0">zim </tspan><tspan class="cls-94" x="144.5" y="0">P</tspan><tspan class="cls-91" x="168.1" y="0">r</tspan><tspan class="cls-98" x="184.42" y="0">e</tspan><tspan class="cls-99" x="205.66" y="0">m</tspan><tspan class="cls-93" x="238.9" y="0">ji </tspan><tspan class="cls-102" x="265.18" y="0">F</tspan><tspan class="cls-98" x="285.42" y="0">o</tspan><tspan class="cls-93" x="306.7" y="0">u</tspan><tspan class="cls-98" x="328.14" y="0">n</tspan><tspan class="cls-93" x="349.5" y="0">d</tspan><tspan class="cls-103" x="371.34" y="0">A</tspan><tspan class="cls-93" x="391.22" y="0">ti</tspan><tspan class="cls-98" x="415.22" y="0">o</tspan><tspan class="cls-93" x="436.5" y="0">n</tspan></tspan></text>
262
+ <g>
263
+ <text class="cls-28" transform="translate(2284.42 533.81)"><tspan class="cls-59" x="0" y="0">G</tspan><tspan x="17.57" y="0">all</tspan><tspan class="cls-10" x="40.35" y="0">e</tspan><tspan class="cls-159" x="53.37" y="0">r</tspan><tspan x="63.42" y="0">y Highlig</tspan><tspan class="cls-61" x="151.2" y="0">h</tspan><tspan class="cls-55" x="164.04" y="0">t</tspan><tspan x="172.89" y="0">s</tspan></text>
264
+ <g>
265
+ <circle class="cls-2" cx="2491.57" cy="528.09" r="15.36"/>
266
+ <polygon class="cls-2" points="2481.06 524.81 2488.83 524.2 2491.57 517.02 2494.64 524.11 2502.47 524.5 2496.52 529.63 2498.56 537.19 2491.85 533.13 2485.35 537.24 2487.12 529.76 2481.06 524.81"/>
267
+ </g>
268
+ </g>
269
+ <g>
270
+ <text class="cls-27" transform="translate(2284.11 327.61)"><tspan class="cls-82" x="0" y="0">Vi</tspan><tspan class="cls-79" x="24.3" y="0">e</tspan><tspan class="cls-81" x="39.14" y="0">wi</tspan><tspan class="cls-83" x="66.77" y="0">n</tspan><tspan class="cls-82" x="82.28" y="0">g Ti</tspan><tspan class="cls-80" x="127.41" y="0">m</tspan><tspan class="cls-81" x="150.77" y="0">e:</tspan><tspan class="cls-78" x="171.55" y="0"> </tspan><tspan class="cls-84" x="178.92" y="0">3</tspan><tspan class="cls-86" x="193.96" y="0">0 - </tspan><tspan class="cls-85" x="234.23" y="0">3</tspan><tspan class="cls-86" x="249.46" y="0">5 </tspan></text>
271
+ <text class="cls-31" transform="translate(2556.52 327.61) scale(.7)"><tspan class="cls-134" x="0" y="0">MI</tspan><tspan class="cls-148" x="38.28" y="0">N</tspan></text>
272
+ </g>
273
+ </g>
274
+ </svg>