@nervur.org/installer-node 0.0.0-stage → 0.37.1

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 (362) hide show
  1. package/LICENSE +105 -0
  2. package/README.md +158 -2
  3. package/SECURITY.md +8 -0
  4. package/bin/nervur.js +5 -0
  5. package/cargo/emscripten-module.wasm +0 -0
  6. package/cargo/manifest.json +1 -0
  7. package/cargo/sqlite3.wasm +0 -0
  8. package/cargo/table-i-i.wasm +0 -0
  9. package/cargo/table-i-ii.wasm +0 -0
  10. package/cargo/table-i-iii.wasm +0 -0
  11. package/cargo/table-i-iiii.wasm +0 -0
  12. package/cargo/table-i-iiiii.wasm +0 -0
  13. package/cargo/table-i-iiij.wasm +0 -0
  14. package/cargo/table-i-ij.wasm +0 -0
  15. package/cargo/table-v-ii.wasm +0 -0
  16. package/cargo/table-v-iii.wasm +0 -0
  17. package/cargo/worker.js +30756 -0
  18. package/organs/console/node/guard.d.ts +10 -0
  19. package/organs/console/node/guard.js +52 -0
  20. package/organs/console/node/index.d.ts +4 -0
  21. package/organs/console/node/index.js +5 -0
  22. package/organs/console/node/line.d.ts +16 -0
  23. package/organs/console/node/line.js +150 -0
  24. package/organs/console/node/main.js +51 -0
  25. package/organs/console/node/program.d.ts +1 -0
  26. package/organs/console/node/program.js +5 -0
  27. package/organs/console/node/proof.d.ts +15 -0
  28. package/organs/console/node/proof.js +84 -0
  29. package/organs/console/node/socket.d.ts +15 -0
  30. package/organs/console/node/socket.js +99 -0
  31. package/organs/disk/index.d.ts +1 -0
  32. package/organs/disk/index.js +2 -0
  33. package/organs/disk/node/files.js +162 -0
  34. package/organs/disk/node/main.js +20 -0
  35. package/organs/disk/node/program.d.ts +1 -0
  36. package/organs/disk/node/program.js +5 -0
  37. package/organs/disk/organ.d.ts +5 -0
  38. package/organs/disk/organ.js +69 -0
  39. package/organs/network/node/fill.d.ts +21 -0
  40. package/organs/network/node/fill.js +195 -0
  41. package/organs/network/node/flows.js +66 -0
  42. package/organs/network/node/half.js +260 -0
  43. package/organs/network/node/lines.d.ts +29 -0
  44. package/organs/network/node/lines.js +236 -0
  45. package/organs/network/node/link.d.ts +24 -0
  46. package/organs/network/node/link.js +215 -0
  47. package/organs/network/node/main.js +41 -0
  48. package/organs/network/node/moved.d.ts +2 -0
  49. package/organs/network/node/moved.js +20 -0
  50. package/organs/network/node/near.d.ts +63 -0
  51. package/organs/network/node/near.js +263 -0
  52. package/organs/network/node/program.d.ts +1 -0
  53. package/organs/network/node/program.js +5 -0
  54. package/organs/network/node/schemes.d.ts +1 -0
  55. package/organs/network/node/schemes.js +2 -0
  56. package/organs/network/node/sent.d.ts +13 -0
  57. package/organs/network/node/sent.js +101 -0
  58. package/organs/network/node/served.d.ts +19 -0
  59. package/organs/network/node/served.js +237 -0
  60. package/organs/screen/node/client.js +3 -0
  61. package/organs/screen/node/follow.js +266 -0
  62. package/organs/screen/node/frames.js +26 -0
  63. package/organs/screen/node/held.js +27 -0
  64. package/organs/screen/node/http.js +179 -0
  65. package/organs/screen/node/lay.js +116 -0
  66. package/organs/screen/node/leave.js +27 -0
  67. package/organs/screen/node/linked.js +69 -0
  68. package/organs/screen/node/listen.js +61 -0
  69. package/organs/screen/node/look.js +121 -0
  70. package/organs/screen/node/loop.js +154 -0
  71. package/organs/screen/node/main.js +74 -0
  72. package/organs/screen/node/mirror.js +112 -0
  73. package/organs/screen/node/notice.js +44 -0
  74. package/organs/screen/node/presser.js +11 -0
  75. package/organs/screen/node/presses.js +108 -0
  76. package/organs/screen/node/program.d.ts +1 -0
  77. package/organs/screen/node/program.js +5 -0
  78. package/organs/screen/node/shown.js +205 -0
  79. package/organs/screen/node/standing.js +29 -0
  80. package/organs/screen/node/state.js +80 -0
  81. package/organs/screen/node/tell.js +47 -0
  82. package/organs/screen/node/uid.js +65 -0
  83. package/organs/screen/node/worn.js +23 -0
  84. package/organs/shell/index.d.ts +1 -0
  85. package/organs/shell/index.js +2 -0
  86. package/organs/shell/node/main.js +26 -0
  87. package/organs/shell/node/output.js +70 -0
  88. package/organs/shell/node/pressure.js +14 -0
  89. package/organs/shell/node/program.d.ts +1 -0
  90. package/organs/shell/node/program.js +5 -0
  91. package/organs/shell/node/runs.js +220 -0
  92. package/organs/shell/node/told.js +70 -0
  93. package/organs/shell/organ.d.ts +5 -0
  94. package/organs/shell/organ.js +59 -0
  95. package/package.json +43 -4
  96. package/src/command/act.d.ts +31 -0
  97. package/src/command/act.js +256 -0
  98. package/src/command/answers.d.ts +3 -0
  99. package/src/command/answers.js +232 -0
  100. package/src/command/args.d.ts +14 -0
  101. package/src/command/args.js +220 -0
  102. package/src/command/arrive.d.ts +2 -0
  103. package/src/command/arrive.js +21 -0
  104. package/src/command/asked.d.ts +18 -0
  105. package/src/command/asked.js +49 -0
  106. package/src/command/backup.d.ts +18 -0
  107. package/src/command/backup.js +261 -0
  108. package/src/command/before.d.ts +41 -0
  109. package/src/command/before.js +237 -0
  110. package/src/command/born.d.ts +27 -0
  111. package/src/command/born.js +103 -0
  112. package/src/command/bridge.d.ts +19 -0
  113. package/src/command/bridge.js +152 -0
  114. package/src/command/chain.d.ts +9 -0
  115. package/src/command/chain.js +48 -0
  116. package/src/command/channel.d.ts +29 -0
  117. package/src/command/channel.js +263 -0
  118. package/src/command/choices.d.ts +35 -0
  119. package/src/command/choices.js +173 -0
  120. package/src/command/claim.d.ts +12 -0
  121. package/src/command/claim.js +46 -0
  122. package/src/command/commands.d.ts +16 -0
  123. package/src/command/commands.js +257 -0
  124. package/src/command/ends.d.ts +16 -0
  125. package/src/command/ends.js +78 -0
  126. package/src/command/follow.d.ts +12 -0
  127. package/src/command/follow.js +66 -0
  128. package/src/command/given.d.ts +39 -0
  129. package/src/command/given.js +53 -0
  130. package/src/command/held.d.ts +15 -0
  131. package/src/command/held.js +56 -0
  132. package/src/command/index.d.ts +1 -0
  133. package/src/command/index.js +203 -0
  134. package/src/command/jailer.d.ts +28 -0
  135. package/src/command/jailer.js +135 -0
  136. package/src/command/laid.d.ts +6 -0
  137. package/src/command/laid.js +31 -0
  138. package/src/command/left.d.ts +9 -0
  139. package/src/command/left.js +34 -0
  140. package/src/command/line.d.ts +7 -0
  141. package/src/command/line.js +39 -0
  142. package/src/command/link.d.ts +30 -0
  143. package/src/command/link.js +123 -0
  144. package/src/command/lobes.d.ts +1 -0
  145. package/src/command/lobes.js +10 -0
  146. package/src/command/locks.d.ts +17 -0
  147. package/src/command/locks.js +76 -0
  148. package/src/command/mcp/calls.d.ts +27 -0
  149. package/src/command/mcp/calls.js +155 -0
  150. package/src/command/mcp/notices.d.ts +22 -0
  151. package/src/command/mcp/notices.js +203 -0
  152. package/src/command/mcp/resources.d.ts +31 -0
  153. package/src/command/mcp/resources.js +108 -0
  154. package/src/command/mcp/server.d.ts +19 -0
  155. package/src/command/mcp/server.js +149 -0
  156. package/src/command/mcp/tools.d.ts +39 -0
  157. package/src/command/mcp/tools.js +131 -0
  158. package/src/command/mcp.d.ts +8 -0
  159. package/src/command/mcp.js +39 -0
  160. package/src/command/noticed.d.ts +11 -0
  161. package/src/command/noticed.js +55 -0
  162. package/src/command/older.d.ts +11 -0
  163. package/src/command/older.js +45 -0
  164. package/src/command/open.d.ts +24 -0
  165. package/src/command/open.js +107 -0
  166. package/src/command/passphrase.d.ts +6 -0
  167. package/src/command/passphrase.js +82 -0
  168. package/src/command/reclaim.d.ts +7 -0
  169. package/src/command/reclaim.js +47 -0
  170. package/src/command/refused.d.ts +4 -0
  171. package/src/command/refused.js +27 -0
  172. package/src/command/release.d.ts +27 -0
  173. package/src/command/release.js +153 -0
  174. package/src/command/repo.d.ts +31 -0
  175. package/src/command/repo.js +133 -0
  176. package/src/command/rewrap.d.ts +16 -0
  177. package/src/command/rewrap.js +175 -0
  178. package/src/command/runtime.d.ts +25 -0
  179. package/src/command/runtime.js +175 -0
  180. package/src/command/salvage.d.ts +4 -0
  181. package/src/command/salvage.js +42 -0
  182. package/src/command/screen.d.ts +14 -0
  183. package/src/command/screen.js +62 -0
  184. package/src/command/spawn.d.ts +23 -0
  185. package/src/command/spawn.js +213 -0
  186. package/src/command/start.d.ts +34 -0
  187. package/src/command/start.js +246 -0
  188. package/src/command/state.d.ts +5 -0
  189. package/src/command/state.js +39 -0
  190. package/src/command/token.d.ts +1 -0
  191. package/src/command/token.js +9 -0
  192. package/src/command/trial.d.ts +17 -0
  193. package/src/command/trial.js +92 -0
  194. package/src/command/vouch.d.ts +1 -0
  195. package/src/command/vouch.js +15 -0
  196. package/src/command/windows-processes.d.ts +2 -0
  197. package/src/command/windows-processes.js +22 -0
  198. package/src/command/wipe.d.ts +9 -0
  199. package/src/command/wipe.js +105 -0
  200. package/src/command/words.d.ts +5 -0
  201. package/src/command/words.js +53 -0
  202. package/src/door/claim.d.ts +5 -0
  203. package/src/door/claim.js +21 -0
  204. package/src/door/claimed.d.ts +7 -0
  205. package/src/door/claimed.js +110 -0
  206. package/src/door/configuration.d.ts +40 -0
  207. package/src/door/configuration.js +206 -0
  208. package/src/door/design.d.ts +13 -0
  209. package/src/door/design.js +71 -0
  210. package/src/door/digests.d.ts +7 -0
  211. package/src/door/digests.js +36 -0
  212. package/src/door/distribution.d.ts +25 -0
  213. package/src/door/distribution.js +88 -0
  214. package/src/door/door.d.ts +41 -0
  215. package/src/door/door.js +219 -0
  216. package/src/door/dressed.d.ts +34 -0
  217. package/src/door/dressed.js +182 -0
  218. package/src/door/faculties.d.ts +29 -0
  219. package/src/door/faculties.js +88 -0
  220. package/src/door/longest.d.ts +6 -0
  221. package/src/door/longest.js +25 -0
  222. package/src/fills/account-only.d.ts +3 -0
  223. package/src/fills/account-only.js +24 -0
  224. package/src/fills/boot-key.d.ts +21 -0
  225. package/src/fills/boot-key.js +70 -0
  226. package/src/fills/boot-move.d.ts +25 -0
  227. package/src/fills/boot-move.js +86 -0
  228. package/src/fills/bridge.d.ts +13 -0
  229. package/src/fills/bridge.js +86 -0
  230. package/src/fills/chance.d.ts +2 -0
  231. package/src/fills/chance.js +7 -0
  232. package/src/fills/crypto.d.ts +2 -0
  233. package/src/fills/crypto.js +94 -0
  234. package/src/fills/flushed.d.ts +9 -0
  235. package/src/fills/flushed.js +80 -0
  236. package/src/fills/hardware.d.ts +18 -0
  237. package/src/fills/hardware.js +70 -0
  238. package/src/fills/held.d.ts +31 -0
  239. package/src/fills/held.js +171 -0
  240. package/src/fills/keepers.d.ts +23 -0
  241. package/src/fills/keepers.js +151 -0
  242. package/src/fills/keyring.d.ts +19 -0
  243. package/src/fills/keyring.js +131 -0
  244. package/src/fills/pages.d.ts +3 -0
  245. package/src/fills/pages.js +260 -0
  246. package/src/fills/reserve.d.ts +11 -0
  247. package/src/fills/reserve.js +72 -0
  248. package/src/fills/time.d.ts +2 -0
  249. package/src/fills/time.js +29 -0
  250. package/src/fills/unlocker.d.ts +6 -0
  251. package/src/fills/unlocker.js +26 -0
  252. package/src/fills/vitals.d.ts +8 -0
  253. package/src/fills/vitals.js +100 -0
  254. package/src/fills/windows-start.d.ts +2 -0
  255. package/src/fills/windows-start.js +21 -0
  256. package/src/halves/build.d.ts +10 -0
  257. package/src/halves/build.js +219 -0
  258. package/src/halves/end.d.ts +17 -0
  259. package/src/halves/end.js +157 -0
  260. package/src/halves/genome.d.ts +3 -0
  261. package/src/halves/genome.js +21 -0
  262. package/src/halves/handler.d.ts +8 -0
  263. package/src/halves/handler.js +40 -0
  264. package/src/halves/index.d.ts +5 -0
  265. package/src/halves/index.js +6 -0
  266. package/src/halves/laid.d.ts +12 -0
  267. package/src/halves/laid.js +103 -0
  268. package/src/halves/lent.d.ts +6 -0
  269. package/src/halves/lent.js +147 -0
  270. package/src/halves/native.d.ts +12 -0
  271. package/src/halves/native.js +53 -0
  272. package/src/halves/statements.d.ts +23 -0
  273. package/src/halves/statements.js +165 -0
  274. package/src/halves/tokens.d.ts +22 -0
  275. package/src/halves/tokens.js +135 -0
  276. package/src/link/link.d.ts +4 -0
  277. package/src/link/link.js +4 -0
  278. package/src/link/placeholder.d.ts +1 -0
  279. package/src/link/placeholder.js +21 -0
  280. package/src/link/steps.d.ts +52 -0
  281. package/src/link/steps.js +118 -0
  282. package/src/lobes/calls.d.ts +76 -0
  283. package/src/lobes/calls.js +61 -0
  284. package/src/lobes/channel.d.ts +76 -0
  285. package/src/lobes/channel.js +202 -0
  286. package/src/lobes/index.d.ts +1 -0
  287. package/src/lobes/index.js +2 -0
  288. package/src/lobes/lobes.d.ts +15 -0
  289. package/src/lobes/lobes.js +244 -0
  290. package/src/lobes/main.js +107 -0
  291. package/src/lobes/thread.d.ts +22 -0
  292. package/src/lobes/thread.js +270 -0
  293. package/src/organism/act.d.ts +8 -0
  294. package/src/organism/act.js +63 -0
  295. package/src/organism/beat.d.ts +5 -0
  296. package/src/organism/beat.js +45 -0
  297. package/src/organism/compiled.d.ts +2 -0
  298. package/src/organism/compiled.js +24 -0
  299. package/src/organism/folder.d.ts +88 -0
  300. package/src/organism/folder.js +259 -0
  301. package/src/organism/main.d.ts +1 -0
  302. package/src/organism/main.js +11 -0
  303. package/src/organism/organism.d.ts +1 -0
  304. package/src/organism/organism.js +219 -0
  305. package/src/organism/said.d.ts +12 -0
  306. package/src/organism/said.js +30 -0
  307. package/src/organism/told.d.ts +5 -0
  308. package/src/organism/told.js +110 -0
  309. package/src/organism/unlock.d.ts +8 -0
  310. package/src/organism/unlock.js +95 -0
  311. package/src/organism/upgrade.d.ts +24 -0
  312. package/src/organism/upgrade.js +145 -0
  313. package/src/organism/via.d.ts +7 -0
  314. package/src/organism/via.js +20 -0
  315. package/src/service/body.d.ts +8 -0
  316. package/src/service/body.js +34 -0
  317. package/src/service/handler.d.ts +20 -0
  318. package/src/service/handler.js +128 -0
  319. package/src/service/index.d.ts +4 -0
  320. package/src/service/index.js +16 -0
  321. package/src/service/manager.d.ts +18 -0
  322. package/src/service/manager.js +185 -0
  323. package/src/service/service.d.ts +24 -0
  324. package/src/service/service.js +200 -0
  325. package/src/service/swap.d.ts +12 -0
  326. package/src/service/swap.js +74 -0
  327. package/src/service/watchdog.d.ts +6 -0
  328. package/src/service/watchdog.js +31 -0
  329. package/src/tcp/crowd.d.ts +18 -0
  330. package/src/tcp/crowd.js +85 -0
  331. package/src/tcp/dial.d.ts +23 -0
  332. package/src/tcp/dial.js +102 -0
  333. package/src/tcp/frame.d.ts +23 -0
  334. package/src/tcp/frame.js +159 -0
  335. package/src/tcp/listen.d.ts +50 -0
  336. package/src/tcp/listen.js +207 -0
  337. package/src/tcp/source.d.ts +2 -0
  338. package/src/tcp/source.js +26 -0
  339. package/src/version/index.d.ts +1 -0
  340. package/src/version/index.js +2 -0
  341. package/src/version/version.d.ts +1 -0
  342. package/src/version/version.js +2 -0
  343. package/src/work/first.d.ts +11 -0
  344. package/src/work/first.js +91 -0
  345. package/src/work/index.d.ts +2 -0
  346. package/src/work/index.js +15 -0
  347. package/src/work/work.d.ts +20 -0
  348. package/src/work/work.js +136 -0
  349. package/src/ws/dial.d.ts +7 -0
  350. package/src/ws/dial.js +252 -0
  351. package/src/ws/dialing.d.ts +50 -0
  352. package/src/ws/dialing.js +72 -0
  353. package/src/ws/frame.d.ts +32 -0
  354. package/src/ws/frame.js +124 -0
  355. package/src/ws/handshake.d.ts +4 -0
  356. package/src/ws/handshake.js +27 -0
  357. package/src/ws/line.d.ts +45 -0
  358. package/src/ws/line.js +250 -0
  359. package/src/ws/listen.d.ts +42 -0
  360. package/src/ws/listen.js +272 -0
  361. package/src/ws/rfc6455.d.ts +18 -0
  362. package/src/ws/rfc6455.js +187 -0
package/LICENSE ADDED
@@ -0,0 +1,105 @@
1
+ # Functional Source License, Version 1.1, ALv2 Future License
2
+
3
+ ## Abbreviation
4
+
5
+ FSL-1.1-ALv2
6
+
7
+ ## Notice
8
+
9
+ Copyright 2026 Bookarest Digital SRL, Romania
10
+
11
+ ## Terms and Conditions
12
+
13
+ ### Licensor ("We")
14
+
15
+ The party offering the Software under these Terms and Conditions.
16
+
17
+ ### The Software
18
+
19
+ The "Software" is each version of the software that we make available under
20
+ these Terms and Conditions, as indicated by our inclusion of these Terms and
21
+ Conditions with the Software.
22
+
23
+ ### License Grant
24
+
25
+ Subject to your compliance with this License Grant and the Patents,
26
+ Redistribution and Trademark clauses below, we hereby grant you the right to
27
+ use, copy, modify, create derivative works, publicly perform, publicly display
28
+ and redistribute the Software for any Permitted Purpose identified below.
29
+
30
+ ### Permitted Purpose
31
+
32
+ A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
33
+ means making the Software available to others in a commercial product or
34
+ service that:
35
+
36
+ 1. substitutes for the Software;
37
+
38
+ 2. substitutes for any other product or service we offer using the Software
39
+ that exists as of the date we make the Software available; or
40
+
41
+ 3. offers the same or substantially similar functionality as the Software.
42
+
43
+ Permitted Purposes specifically include using the Software:
44
+
45
+ 1. for your internal use and access;
46
+
47
+ 2. for non-commercial education;
48
+
49
+ 3. for non-commercial research; and
50
+
51
+ 4. in connection with professional services that you provide to a licensee
52
+ using the Software in accordance with these Terms and Conditions.
53
+
54
+ ### Patents
55
+
56
+ To the extent your use for a Permitted Purpose would necessarily infringe our
57
+ patents, the license grant above includes a license under our patents. If you
58
+ make a claim against any party that the Software infringes or contributes to
59
+ the infringement of any patent, then your patent license to the Software ends
60
+ immediately.
61
+
62
+ ### Redistribution
63
+
64
+ The Terms and Conditions apply to all copies, modifications and derivatives of
65
+ the Software.
66
+
67
+ If you redistribute any copies, modifications or derivatives of the Software,
68
+ you must include a copy of or a link to these Terms and Conditions and not
69
+ remove any copyright notices provided in or with the Software.
70
+
71
+ ### Disclaimer
72
+
73
+ THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
74
+ IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
75
+ PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
76
+
77
+ IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
78
+ SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
79
+ EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
80
+
81
+ ### Trademarks
82
+
83
+ Except for displaying the License Details and identifying us as the origin of
84
+ the Software, you have no right under these Terms and Conditions to use our
85
+ trademarks, trade names, service marks or product names.
86
+
87
+ ## Grant of Future License
88
+
89
+ We hereby irrevocably grant you an additional license to use the Software under
90
+ the Apache License, Version 2.0 that is effective on the second anniversary of
91
+ the date we make the Software available. On or after that date, you may use the
92
+ Software under the Apache License, Version 2.0, in which case the following
93
+ will apply:
94
+
95
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
96
+ this file except in compliance with the License.
97
+
98
+ You may obtain a copy of the License at
99
+
100
+ http://www.apache.org/licenses/LICENSE-2.0
101
+
102
+ Unless required by applicable law or agreed to in writing, software distributed
103
+ under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
104
+ CONDITIONS OF ANY KIND, either express or implied. See the License for the
105
+ specific language governing permissions and limitations under the License.
package/README.md CHANGED
@@ -1,3 +1,159 @@
1
- # Temporary Holding Version
1
+ # @nervur.org/installer-node
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Nervur's installer for Node: the `nervur` command, the door, and the host halves of a server, a desktop and a Pi, the
4
+ console, the screen where a person sits, `shell`, `disk` and `network` among them.
5
+
6
+ **0.x is unstable.** Every version before 1.0.0 may change its command and what it exports, and every release raises the
7
+ patch, whatever it changes, until 1.0.0.
8
+
9
+ A person installs it by Nervur's one name, which depends on it, and lays their account's organism:
10
+
11
+ ```bash
12
+ npm install -g nervur
13
+ ```
14
+
15
+ ```bash
16
+ nervur install
17
+ ```
18
+
19
+ `nervur install` lays the organism in `~/.nervur/organism/`, listening on port 9110 on the machine's own loopback, and
20
+ lays its service under the account, a launchd agent on a Mac and a systemd user unit on Linux, so it runs at once and at
21
+ every boot. Its library keeps the installer's default faculties from its channel and lays no jailer and no repo lobe:
22
+ when its owner first wants a repo, `nervur repos` lays `repos`, the jailer that keeps its repos' bytes, set up at the
23
+ disk's folder, and `nervur repo <name> [--starter]` makes the repo whole: that jailer, a repo lobe on it granted the
24
+ folder `<name>`, and its `init`. Whoever is present at the account owns it, and `nervur state` asks it through its
25
+ console. On a server, it is made public at its host:
26
+
27
+ ```bash
28
+ nervur install --public quo.nervur.org
29
+ ```
30
+
31
+ A server reached by browsers names the address its held lines are reached at: `--ws
32
+ ws://<host>:<port+2>/quo` is the plain one, with that port open, `--ws wss://<host>/quo` one behind a TLS proxy of the
33
+ machine forwarding to `ws://127.0.0.1:<port+2>/quo`. A `wss` may be added beside a plain `ws` by a later install, and
34
+ both are then reported (the card's `at` lists `tcp`, the plain `ws`, the `wss`), the plain one staying reachable; a
35
+ second, different `wss` is refused.
36
+
37
+ On a server whose Node belongs to root, the account makes `npm install -g` its own first, with `~/.nervur/installer/bin`
38
+ on its `PATH`:
39
+
40
+ ```bash
41
+ npm config set prefix ~/.nervur/installer
42
+ ```
43
+
44
+ `nervur install` and `nervur update [<version> [<digest>]] [--channel <url>] [--package <folder>]`
45
+ are
46
+ one act, idempotent: it lays an
47
+ organism where none stands, or moves the one standing to the version asked, the newest the channel holds by default, and
48
+ changes nothing where that version runs. It takes `nervur@<version>` itself from the installer's channel, the
49
+ registry the account's npm names, npm's own by default, the token in `~/.npmrc` never printed, and hands over to the
50
+ command it installed, since the code running is the old one. It refuses a running organism's channel that does not
51
+ answer or refuses
52
+ the token, a version the channel holds not, a digest that is not the package's, a disk with no room for the way back,
53
+ and
54
+ a second update while one runs; with the channel silent and none running, the installer at hand lays or starts it. A
55
+ version older than the one running, named, is a move onto it, the old genome sealing the organism in the public form
56
+ at a socket of the organism's own in its folder. An update asks the organism nothing but its stop, so it moves one no
57
+ one is present at, laid with `--claim`, as one owned at its console. Until 1.0.0 it is abrupt: a run going is lost to
58
+ it as to a crash, and the jailer ends it so once the shell is back. It keeps the old package, stops the organism, lays
59
+ its store aside untouched and a copy of it beside, a clone where the disk gives one, and boots the new version on the
60
+ copy as a trial with the world held: passed, the old store goes and the organism starts whole; failed or cut, the old
61
+ comes back by itself. After the
62
+ restart it reads the version the organism runs and says it, refusing where it is not the one
63
+ asked.
64
+
65
+ The first boot of the new version moves the installer's organs to the halves it builds, and the jailer, every repo lobe
66
+ and every lobe on a faculty this installer ships where it stands on an older version, to what this installer ships,
67
+ keeping their cells, each migrated by its own `migrate`, and says what moved; one refused leaves the update unfinished,
68
+ and running it again moves it again. It lays no jailer where none stands. The person present may move the console's or
69
+ the screen's present lobe to any faculty, by `version`, as any lobe moves, and an update keeps that choice. The way
70
+ back always stands:
71
+ `nervur stop`, then `nervur start --floor`, lays the console and the window this installer ships under them again, so a
72
+ console of one's own that answers nothing holds no one. A first install may name a distribution's own floor,
73
+ `nervur install --faculties <package>`, a package on the channel exporting any of `TERMINAL`, `WINDOW`, `REPOS` and
74
+ `REPO`: those parts stand in the installer's place, on that package's road, kept in the organism's folder for every boot
75
+ and update, the way back among them. A first install may also name the design the organism is born in,
76
+ `nervur install --design <quo.json>`: the file a site writes, whose `organism.design` names the design, its parts
77
+ (`design.json`, `design/`) beside it, read and checked as a site's are (`dressed` of the browser port) and kept in the
78
+ folder; the first screen wears it, the floor's design where none is named, a design that fails the check is refused and
79
+ nothing is laid, and an owner's `wear` moves it later. Handed over an organism already laid, the folder takes it and
80
+ the organism starts again wearing it, unless an owner's `wear` chose another. The same file may name the class of the
81
+ screen's size, `size`, one of `compact`, `medium` and `expanded`, read by the same reader and kept in the folder: the
82
+ screen's reach names it at every boot, and the screen is drawn and told in it whatever the window's width; with none
83
+ named, or anything else, the class is the width's. A `way` it holds is not read: where the way out stands is the
84
+ window's own. It may say how the screen is met, `met`, by the word `app`, read and kept alike: the screen is then
85
+ drawn and told as met so, and with none said, or any other word, as `window`. A lobe on a faculty a repo holds is that
86
+ repo's, and moves by the library, `version`; `nervur update` touches no lobe on them. `nervur` alone prints every
87
+ command. It takes Node 24 or any newer and nothing beyond the genome and the organs.
88
+ `@nervur.org/installer-node/command` gives the command itself, `nervur(argv)`, to the package `nervur`.
89
+
90
+ ## What a relation carries
91
+
92
+ One relation carries one ask at a time, so its rate is one over what an ask takes. Measured between real
93
+ organisms over TCP on loopback, Quo sealed and every flush true, on an Apple M1 Max with Node 24: about 30 asks a second
94
+ on one relation, 33 ms an ask, a writing ask costing what a reading one does; 21 asks a second with 64 KiB of args. On a
95
+ real line each ask adds its round trip, so a relation carries 1 / (33 ms + round trip), which is arithmetic and no
96
+ measure. Several standings are a road past it, and it flattens: 58 asks a second on two, 82 on four, 82 on eight, all
97
+ to one far organism. A slower machine, or a slower flush, asks less.
98
+
99
+ ## What one organism holds
100
+
101
+ Measures, and no limits: nothing stops an organism at them. Each stands at 0.30.49 on an Apple M1 Max with 64
102
+ GiB, macOS 26.7.1 and Node 24.21.0, beside other work, at a load of 8 to 12: an organism and a far one on the real door,
103
+ store and `network` over TCP on loopback, Quo sealed and every flush true.
104
+
105
+ | What | Measured |
106
+ | ------------------ | --------------------------------------------------------------------------------------- |
107
+ | Relations | 1,000 relations, each knocked and asked, and no ask slower for them |
108
+ | Cells | 100,000 cells of some 70 bytes, beside those relations |
109
+ | Store at that load | 21 MiB, 25 MiB before a boot compacted it |
110
+ | Rate at that load | 30 to 33 asks a second on one relation, of 8 to 12 ms of CPU here and 15 ms far |
111
+ | Memory | 450 MiB resident at rest, nothing laid on it; 600 MiB with a lobe; 890 MiB at that load |
112
+ | Time to boot | 1400 ms at that load; 1100 ms with 100,000 cells alone; a first install 1800 to 2000 ms |
113
+
114
+ Resident memory is the sum over its processes, the door and each half, so what they share counts more than once; what
115
+ a device must give is read from a Linux container with 2 CPUs and no swap. In 2 GiB two organisms stood and asked each
116
+ other, in 1 GiB one stood and answered with 10,000 cells, and in 768 MiB one died at its first lobe.
117
+
118
+ The smallest device this port promises holds 2 GiB of memory, with room for its work.
119
+
120
+ A browser and an edge are not measured: no number stands for them yet.
121
+
122
+ ## The organs and the default faculties
123
+
124
+ The package holds its own code, `src/`; its organs, `organs/`, the host's
125
+ own, which it carries as part of itself and which travel by no library; and it takes the default
126
+ faculties from the floor, by name; each with its `README.md` beside it:
127
+
128
+ - **`organs/console/`**, the console's Node half: a local socket, `0600` in a `0700` folder, its one method `line`,
129
+ whoever reaches it present. Its blueprint is the genome's, its skin lobe the floor's terminal.
130
+ - **`organs/screen/`**, the screen's Node half, where a person sits, a Mac or a Windows machine: a web page on
131
+ `127.0.0.1`, at the organism's port and three, which only the organism's own account can open, by the operating
132
+ system's word on who connects; `nervur screen` prints its address. The client it serves is
133
+ written once, for every host (a Mac organism installed before gains the screen at `nervur update`).
134
+ Its blueprint is the genome's, its skin lobe the floor's window.
135
+ - **`organs/shell/`**, `shell` whole: its blueprint, given as `@nervur.org/installer-node/shell`, and its
136
+ Node half, which runs a program as the work account, `stop` ending the run's whole process group, each end told once.
137
+ - **`organs/disk/`**, `disk` whole (its blueprint), given as `@nervur.org/installer-node/disk`: whole files
138
+ under one folder, the empty path naming the folder itself.
139
+ - **`organs/network/`**, `network`'s Node half, with **`src/tcp/`**: listens and replies for Quo over `tcp`, sends, and
140
+ serves and requests the web. Its blueprint is the genome's.
141
+ - **The floor's faculties**, from `@nervur.org/floor`: the console's skin, `nervur.terminal`, and the screen's,
142
+ `nervur.window`, named beside their organs, and the jailer and every repo lobe's faculty, `nervur.repos` and
143
+ `nervur.repo` (`src/door/faculties.ts`).
144
+
145
+ Every road the installer hands the library for these is `installers@<version>`, this package's version; each faculty's
146
+ own version is a literal of its class.
147
+
148
+ ## The parts
149
+
150
+ Every folder of `src/` is a part of the package, with a `README.md`: **`door/`**, what the installer hands the genome;
151
+ **`command/`**, the `nervur` command; **`link/`**, the steps a link takes, the screens' and the console's alike;
152
+ **`service/`**, the host's service manager; **`fills/`**, Node's fills of the seams; **`halves/`**, the native halves
153
+ built and laid; **`organism/`**, the organism's own process and folder; **`tcp/`**, Quo over TCP; **`ws/`**, Quo's held
154
+ line over `ws` and `wss`; **`work/`**, the work account; **`version/`**, the installer's version.
155
+
156
+ ## Licence
157
+
158
+ FSL-1.1-ALv2 (the Functional Source License), Bookarest Digital SRL. Nervur takes no contributions, merge requests or
159
+ issues; a flaw of security goes to <security@nervur.org>, privately.
package/SECURITY.md ADDED
@@ -0,0 +1,8 @@
1
+ # Security of @nervur.org/installer-node
2
+
3
+ **Reporting a flaw:** write to <security@nervur.org>, privately, never in a public place, with what you found, how it is
4
+ reached, and the version. You hear back within a week. A fix is released as a patch, and its notes name the flaw once
5
+ the fix is out.
6
+
7
+ **What is supported:** the latest 0.x version alone, until 1.0.0. Nervur is unstable before then, and an organism that
8
+ holds what matters waits for it.
package/bin/nervur.js ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+ // SPDX-License-Identifier: FSL-1.1-ALv2
3
+ import { nervur } from '../src/command/index.js';
4
+
5
+ process.exitCode = await nervur(process.argv.slice(2));
Binary file
@@ -0,0 +1 @@
1
+ {"main":"worker.js","files":["worker.js","sqlite3.wasm","emscripten-module.wasm","table-i-i.wasm","table-i-ii.wasm","table-i-iii.wasm","table-i-iiii.wasm","table-i-iiiii.wasm","table-i-iiij.wasm","table-i-ij.wasm","table-v-ii.wasm","table-v-iii.wasm"]}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file