pinokiod 3.84.0 → 3.86.0

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 (55) hide show
  1. package/kernel/api/index.js +7 -0
  2. package/kernel/bin/caddy.js +10 -4
  3. package/kernel/peer.js +14 -11
  4. package/kernel/prototype.js +1 -0
  5. package/kernel/shell.js +43 -2
  6. package/kernel/util.js +2 -0
  7. package/package.json +1 -1
  8. package/pipe/views/login.ejs +1 -1
  9. package/server/index.js +139 -86
  10. package/server/public/common.js +534 -0
  11. package/server/public/opener.js +12 -11
  12. package/server/public/serve/style.css +1 -1
  13. package/server/public/style.css +25 -24
  14. package/server/public/urldropdown.css +474 -5
  15. package/server/public/urldropdown.js +233 -12
  16. package/server/views/404.ejs +1 -1
  17. package/server/views/500.ejs +1 -1
  18. package/server/views/app.ejs +29 -33
  19. package/server/views/bookmarklet.ejs +197 -0
  20. package/server/views/connect/x.ejs +4 -4
  21. package/server/views/connect.ejs +10 -10
  22. package/server/views/container.ejs +2 -2
  23. package/server/views/d.ejs +3 -3
  24. package/server/views/download.ejs +1 -1
  25. package/server/views/editor.ejs +1 -1
  26. package/server/views/env_editor.ejs +3 -3
  27. package/server/views/explore.ejs +2 -2
  28. package/server/views/file_explorer.ejs +2 -2
  29. package/server/views/git.ejs +7 -7
  30. package/server/views/github.ejs +3 -3
  31. package/server/views/help.ejs +2 -2
  32. package/server/views/index.ejs +5 -5
  33. package/server/views/index2.ejs +3 -3
  34. package/server/views/init/index.ejs +11 -74
  35. package/server/views/install.ejs +3 -3
  36. package/server/views/keys.ejs +2 -2
  37. package/server/views/mini.ejs +2 -2
  38. package/server/views/net.ejs +6 -6
  39. package/server/views/network.ejs +22 -22
  40. package/server/views/network2.ejs +10 -10
  41. package/server/views/old_network.ejs +8 -8
  42. package/server/views/pro.ejs +369 -0
  43. package/server/views/prototype/index.ejs +2 -2
  44. package/server/views/required_env_editor.ejs +2 -2
  45. package/server/views/review.ejs +6 -6
  46. package/server/views/screenshots.ejs +5 -4
  47. package/server/views/settings.ejs +3 -3
  48. package/server/views/setup.ejs +2 -2
  49. package/server/views/setup_home.ejs +2 -2
  50. package/server/views/share_editor.ejs +4 -4
  51. package/server/views/shell.ejs +3 -3
  52. package/server/views/start.ejs +2 -2
  53. package/server/views/task.ejs +2 -2
  54. package/server/views/terminal.ejs +5 -4
  55. package/server/views/tools.ejs +13 -13
@@ -108,12 +108,12 @@ header .runner {
108
108
  margin-top: 5px;
109
109
  }
110
110
  a.badge {
111
- color: royalblue;
111
+ color: rgba(127, 91, 243, 0.9);
112
112
  text-decoration: none;
113
113
  cursor: pointer;
114
114
  }
115
115
  .badge a {
116
- color: royalblue;
116
+ color: rgba(127, 91, 243, 0.9);
117
117
  text-decoration: none;
118
118
  }
119
119
  body.dark .btn {
@@ -228,7 +228,7 @@ body.dark .open-menu, body.dark .browse {
228
228
  color: white !important;
229
229
  }
230
230
  .open-menu:hover, .browse:hover, body.dark .open-menu:hover, body.dark .browse:hover {
231
- color: royalblue !important;
231
+ color: rgba(127, 91, 243, 0.9) !important;
232
232
  }
233
233
  .open-menu, .browse {
234
234
  width: 80px;
@@ -333,7 +333,7 @@ body.dark aside .tab {
333
333
  color: white;
334
334
  }
335
335
  body.dark aside .tab:hover, aside .tab:hover {
336
- color: royalblue !important;
336
+ color: rgba(127, 91, 243, 0.9) !important;
337
337
  opacity: 1;
338
338
  }
339
339
  aside .tab {
@@ -368,7 +368,7 @@ aside .selected {
368
368
  padding: 0;
369
369
  }
370
370
  body.dark .net:hover, .net:hover {
371
- color: royalblue;
371
+ color: rgba(127, 91, 243, 0.9);
372
372
  }
373
373
  body.dark .net {
374
374
  /*
@@ -777,7 +777,7 @@ document.addEventListener('DOMContentLoaded', function() {
777
777
  </div>
778
778
  <aside>
779
779
  <div class='btn-tab'>
780
- <a href="/init" class='btn'><i class="fa-solid fa-plus"></i><div class='caption'>Create</div></a>
780
+ <button type='button' class='btn' id='create-launcher-button'><i class="fa-solid fa-plus"></i><div class='caption'>Create</div></button>
781
781
  <a class='btn' id='explore' href="/?mode=explore"><i class="fa-solid fa-globe"></i><div class='caption'>Discover</div></a>
782
782
  </div>
783
783
  <a href="/" class='tab'><i class='fas fa-laptop-code'></i><div class='caption'>This machine</div></a>
@@ -35,7 +35,7 @@ ol {
35
35
  padding-inline-start: 15px;
36
36
  }
37
37
  a.explain {
38
- color: royalblue;
38
+ color: rgba(127, 91, 243, 0.9);
39
39
  text-decoration: underline;
40
40
  cursor: pointer;
41
41
  }
@@ -126,12 +126,12 @@ header .runner {
126
126
  margin-top: 5px;
127
127
  }
128
128
  a.badge {
129
- color: royalblue;
129
+ color: rgba(127, 91, 243, 0.9);
130
130
  text-decoration: none;
131
131
  cursor: pointer;
132
132
  }
133
133
  .badge a {
134
- color: royalblue;
134
+ color: rgba(127, 91, 243, 0.9);
135
135
  text-decoration: none;
136
136
  }
137
137
  /*
@@ -147,7 +147,7 @@ body.dark .browser-options-row {
147
147
  border-bottom: 1px solid rgba(255,255,255,0.05);
148
148
  }
149
149
  .description a {
150
- color: royalblue;
150
+ color: rgba(127, 91, 243, 0.9);
151
151
  text-decoration: none;
152
152
  }
153
153
  a.ln[href^=https] {
@@ -215,11 +215,11 @@ a.ln:hover {
215
215
  box-sizing: border-box;
216
216
  }
217
217
  .container-row.current .header-label-sub {
218
- color: royalblue;
218
+ color: rgba(127, 91, 243, 0.9);
219
219
  }
220
220
  /*
221
221
  .container-row.current .header-label-sub {
222
- color: royalblue;
222
+ color: rgba(127, 91, 243, 0.9);
223
223
  }
224
224
  */
225
225
  .desc {
@@ -241,7 +241,7 @@ a.ln:hover {
241
241
  padding-top: 5px;
242
242
  padding-bottom: 0 !important;
243
243
  text-decoration: none;
244
- color: royalblue;
244
+ color: rgba(127, 91, 243, 0.9);
245
245
  cursor: pointer;
246
246
  }
247
247
  .container-row table {
@@ -250,7 +250,7 @@ a.ln:hover {
250
250
  }
251
251
  table a {
252
252
  text-decoration: none;
253
- color: royalblue;
253
+ color: rgba(127, 91, 243, 0.9);
254
254
  }
255
255
  td:first-child, th:first-child {
256
256
  max-width: 100px;
@@ -295,7 +295,7 @@ body.dark .config {
295
295
  align-items: stretch;
296
296
  }
297
297
  body.dark .config .btn {
298
- background: royalblue;
298
+ background: rgba(127, 91, 243, 0.9);
299
299
  }
300
300
  .config .btn {
301
301
  font-size: 16px;
@@ -303,7 +303,7 @@ body.dark .config .btn {
303
303
  width: 100px;
304
304
  /*
305
305
  */
306
- background: royalblue;
306
+ background: rgba(127, 91, 243, 0.9);
307
307
  flex-shrink: 0;
308
308
  }
309
309
  .config-row {
@@ -380,7 +380,7 @@ input:checked + .slider {
380
380
  background-color: #2196F3;
381
381
  background: black;
382
382
  */
383
- background-color: royalblue;
383
+ background-color: rgba(127, 91, 243, 0.9);
384
384
  }
385
385
 
386
386
  input:focus + .slider {
@@ -468,7 +468,7 @@ body.dark aside .tab {
468
468
  color: white;
469
469
  }
470
470
  body.dark aside .tab:hover, aside .tab:hover {
471
- color: royalblue !important;
471
+ color: rgba(127, 91, 243, 0.9) !important;
472
472
  opacity: 1;
473
473
  }
474
474
  aside .tab {
@@ -515,8 +515,8 @@ aside .current.selected {
515
515
  border-left: 10px solid transparent;
516
516
  }
517
517
  body.dark .net:hover, .net:hover {
518
- color: royalblue;
519
- border-left: 4px solid royalblue;
518
+ color: rgba(127, 91, 243, 0.9);
519
+ border-left: 4px solid rgba(127, 91, 243, 0.9);
520
520
  }
521
521
  body.dark .net {
522
522
  border-left: 3px solid white;
@@ -630,12 +630,12 @@ header .runner {
630
630
  margin-top: 5px;
631
631
  }
632
632
  a.badge {
633
- color: royalblue;
633
+ color: rgba(127, 91, 243, 0.9);
634
634
  text-decoration: none;
635
635
  cursor: pointer;
636
636
  }
637
637
  .badge a {
638
- color: royalblue;
638
+ color: rgba(127, 91, 243, 0.9);
639
639
  text-decoration: none;
640
640
  }
641
641
  body.dark .btn {
@@ -766,7 +766,7 @@ body.dark .open-menu, body.dark .browse {
766
766
  color: white !important;
767
767
  }
768
768
  .open-menu:hover, .browse:hover, body.dark .open-menu:hover, body.dark .browse:hover {
769
- color: royalblue !important;
769
+ color: rgba(127, 91, 243, 0.9) !important;
770
770
  }
771
771
  .open-menu, .browse {
772
772
  width: 80px;
@@ -866,7 +866,7 @@ body.dark aside .tab {
866
866
  color: white;
867
867
  }
868
868
  body.dark aside .tab:hover, aside .tab:hover {
869
- color: royalblue !important;
869
+ color: rgba(127, 91, 243, 0.9) !important;
870
870
  opacity: 1;
871
871
  }
872
872
  aside .tab {
@@ -906,8 +906,8 @@ aside .selected {
906
906
  padding: 0;
907
907
  }
908
908
  body.dark .net:hover, .net:hover {
909
- color: royalblue;
910
- border-left: 4px solid royalblue;
909
+ color: rgba(127, 91, 243, 0.9);
910
+ border-left: 4px solid rgba(127, 91, 243, 0.9);
911
911
  }
912
912
  body.dark .net {
913
913
  border-left: 3px solid white;
@@ -936,6 +936,7 @@ body.dark .troubleshoot {
936
936
  color: rgba(255,255,255,0.5);
937
937
  }
938
938
  .troubleshoot {
939
+ padding-top: 15px;
939
940
  color: rgba(0,0,0,0.5);
940
941
  }
941
942
  .network-name.expanded .btn {
@@ -1126,7 +1127,6 @@ document.addEventListener('DOMContentLoaded', function() {
1126
1127
  </div>
1127
1128
  </div>
1128
1129
  <div class='advanced'>
1129
- <br>
1130
1130
  <!--
1131
1131
  <div id='advanced-label' class='link-label label'>Advanced</div>
1132
1132
  <div id='reset-label' class='btn'>Reset</div>
@@ -1187,7 +1187,7 @@ document.addEventListener('DOMContentLoaded', function() {
1187
1187
  </div>
1188
1188
  <aside>
1189
1189
  <div class='btn-tab'>
1190
- <a href="/init" class='btn'><i class="fa-solid fa-plus"></i><div class='caption'>Create</div></a>
1190
+ <button type='button' class='btn' id='create-launcher-button'><i class="fa-solid fa-plus"></i><div class='caption'>Create</div></button>
1191
1191
  <a class='btn' id='explore' href="/?mode=explore"><i class="fa-solid fa-globe"></i><div class='caption'>Discover</div></a>
1192
1192
  </div>
1193
1193
  <a href="/" class='tab'><i class='fas fa-laptop-code'></i><div class='caption'>This machine</div></a>
@@ -31,7 +31,7 @@ ol {
31
31
  padding-inline-start: 15px;
32
32
  }
33
33
  a.explain {
34
- color: royalblue;
34
+ color: rgba(127, 91, 243, 0.9);
35
35
  text-decoration: underline;
36
36
  cursor: pointer;
37
37
  }
@@ -122,12 +122,12 @@ header .runner {
122
122
  margin-top: 5px;
123
123
  }
124
124
  a.badge {
125
- color: royalblue;
125
+ color: rgba(127, 91, 243, 0.9);
126
126
  text-decoration: none;
127
127
  cursor: pointer;
128
128
  }
129
129
  .badge a {
130
- color: royalblue;
130
+ color: rgba(127, 91, 243, 0.9);
131
131
  text-decoration: none;
132
132
  }
133
133
  body.dark .btn {
@@ -142,7 +142,7 @@ body.dark .browser-options-row {
142
142
  border-bottom: 1px solid rgba(255,255,255,0.05);
143
143
  }
144
144
  .description a {
145
- color: royalblue;
145
+ color: rgba(127, 91, 243, 0.9);
146
146
  text-decoration: none;
147
147
  }
148
148
  a.ln[href^=https] {
@@ -210,11 +210,11 @@ a.ln:hover {
210
210
  box-sizing: border-box;
211
211
  }
212
212
  .container-row.current .header-label-sub {
213
- color: royalblue;
213
+ color: rgba(127, 91, 243, 0.9);
214
214
  }
215
215
  /*
216
216
  .container-row.current .header-label-sub {
217
- color: royalblue;
217
+ color: rgba(127, 91, 243, 0.9);
218
218
  }
219
219
  */
220
220
  .desc {
@@ -229,7 +229,7 @@ a.ln:hover {
229
229
  .link-label {
230
230
  margin-right: 10px;
231
231
  text-decoration: underline;
232
- color: royalblue;
232
+ color: rgba(127, 91, 243, 0.9);
233
233
  cursor: pointer;
234
234
  }
235
235
  .container-row table {
@@ -238,7 +238,7 @@ a.ln:hover {
238
238
  }
239
239
  table a {
240
240
  text-decoration: none;
241
- color: royalblue;
241
+ color: rgba(127, 91, 243, 0.9);
242
242
  }
243
243
  td:first-child, th:first-child {
244
244
  max-width: 100px;
@@ -289,7 +289,7 @@ body.dark .config {
289
289
  font-size: 16px;
290
290
  font-weight: bold;
291
291
  width: 100px;
292
- background: royalblue;
292
+ background: rgba(127, 91, 243, 0.9);
293
293
  flex-shrink: 0;
294
294
  }
295
295
  .config-row {
@@ -351,7 +351,7 @@ input:checked + .slider {
351
351
  /*
352
352
  background-color: #2196F3;
353
353
  */
354
- background-color: royalblue;
354
+ background-color: rgba(127, 91, 243, 0.9);
355
355
  }
356
356
 
357
357
  input:focus + .slider {
@@ -114,12 +114,12 @@ header .runner {
114
114
  margin-top: 5px;
115
115
  }
116
116
  a.badge {
117
- color: royalblue;
117
+ color: rgba(127, 91, 243, 0.9);
118
118
  text-decoration: none;
119
119
  cursor: pointer;
120
120
  }
121
121
  .badge a {
122
- color: royalblue;
122
+ color: rgba(127, 91, 243, 0.9);
123
123
  text-decoration: none;
124
124
  }
125
125
  body.dark .btn {
@@ -134,7 +134,7 @@ body.dark .browser-options-row {
134
134
  border-bottom: 1px solid rgba(255,255,255,0.05);
135
135
  }
136
136
  .description a {
137
- color: royalblue;
137
+ color: rgba(127, 91, 243, 0.9);
138
138
  text-decoration: none;
139
139
  }
140
140
  a.ln[href^=https] {
@@ -202,7 +202,7 @@ a.ln:hover {
202
202
  box-sizing: border-box;
203
203
  }
204
204
  .container-row.current .header-label-sub {
205
- color: royalblue;
205
+ color: rgba(127, 91, 243, 0.9);
206
206
  }
207
207
  /*
208
208
  .container-row.current .header-label-sub {
@@ -221,7 +221,7 @@ a.ln:hover {
221
221
  .link-label {
222
222
  margin-right: 10px;
223
223
  text-decoration: underline;
224
- color: royalblue;
224
+ color: rgba(127, 91, 243, 0.9);
225
225
  cursor: pointer;
226
226
  }
227
227
  .container-row table {
@@ -230,7 +230,7 @@ a.ln:hover {
230
230
  }
231
231
  table a {
232
232
  text-decoration: none;
233
- color: royalblue;
233
+ color: rgba(127, 91, 243, 0.9);
234
234
  }
235
235
  td:first-child, th:first-child {
236
236
  max-width: 100px;
@@ -281,7 +281,7 @@ body.dark .config {
281
281
  font-size: 16px;
282
282
  font-weight: bold;
283
283
  width: 100px;
284
- background: royalblue;
284
+ background: rgba(127, 91, 243, 0.9);
285
285
  flex-shrink: 0;
286
286
  }
287
287
  .config-row {
@@ -338,7 +338,7 @@ input:checked + .slider {
338
338
  /*
339
339
  background-color: #2196F3;
340
340
  */
341
- background-color: royalblue;
341
+ background-color: rgba(127, 91, 243, 0.9);
342
342
  }
343
343
 
344
344
  input:focus + .slider {