nervur 0.22.0 → 0.22.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.
- package/LICENSE +1 -1
- package/NOTICE +6 -2
- package/README.md +22 -10
- package/dist/core/edge/kit.js +1 -1
- package/dist/core/harbor/carrying.d.ts +1 -2
- package/dist/core/harbor/carrying.js +3 -6
- package/dist/core/harbor/harbor.js +14 -4
- package/dist/core/ward/house.d.ts +3 -0
- package/dist/core/ward/house.js +34 -8
- package/dist/core/ward/partition.d.ts +1 -0
- package/dist/core/ward/stance.d.ts +3 -1
- package/dist/core/ward/stance.js +12 -5
- package/package.json +22 -4
- package/src/core/harbor/carrying.ts +4 -7
- package/src/core/harbor/harbor.ts +12 -4
- package/src/core/ward/house.ts +33 -7
- package/src/core/ward/partition.ts +5 -2
- package/src/core/ward/stance.ts +13 -5
package/LICENSE
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
same "printed page" as the copyright notice for easier
|
|
188
188
|
identification within third-party archives.
|
|
189
189
|
|
|
190
|
-
Copyright 2026
|
|
190
|
+
Copyright 2026 Bookarest Digital SRL
|
|
191
191
|
|
|
192
192
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
193
|
you may not use this file except in compliance with the License.
|
package/NOTICE
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
Nervur
|
|
2
|
-
Copyright 2026
|
|
2
|
+
Copyright 2026 Bookarest Digital SRL
|
|
3
3
|
|
|
4
|
-
This product includes software developed by
|
|
4
|
+
This product includes software developed by Bookarest Digital SRL.
|
|
5
|
+
|
|
6
|
+
Nervur is a kit of Quo, the protocol at https://quo.systems, which is
|
|
7
|
+
Razvan Gherghina's and licensed separately under the Apache License,
|
|
8
|
+
Version 2.0. Quo is not this product.
|
|
5
9
|
|
|
6
10
|
Licensed under the Apache License, Version 2.0. See LICENSE for the terms.
|
package/README.md
CHANGED
|
@@ -321,7 +321,7 @@ carries a ward between keepers whole.
|
|
|
321
321
|
law's as scenes, a title and a function each, so a body of your own,
|
|
322
322
|
a memory in a cloud or a secret of your platform's, runs them under
|
|
323
323
|
your own runner: `for (const [title, scene] of memoryScenes('Mine',
|
|
324
|
-
make, expect)) test(title, scene)`.
|
|
324
|
+
make, expect)) test(title, scene)`.
|
|
325
325
|
- **Harbor, Terrain, Catalogue, Registry.** The onion.
|
|
326
326
|
- **World, PointerTerrain** and the pointer bodies. A whole world with
|
|
327
327
|
this package alone.
|
|
@@ -357,6 +357,11 @@ carries a ward between keepers whole.
|
|
|
357
357
|
closes it.
|
|
358
358
|
- **DEFAULTS**: the one list of beings and faculties every ground runs
|
|
359
359
|
where you write none, handed to a terrain as `defaults`.
|
|
360
|
+
- **CarrierFaculty**: a carrier of your own. It says which addresses it
|
|
361
|
+
accepts, dials them, and says the carrier of Quo it `carries`, `tcp`
|
|
362
|
+
or `web`, so the command finds it. One that answers `relay` for a ward
|
|
363
|
+
pk no door holds is handed that pk's boxes, and every carrier hears
|
|
364
|
+
the dock's `heard` when a device hears a push.
|
|
360
365
|
|
|
361
366
|
Quo crosses two carriers, TCP and the web, and no third. MCP, an HTTP API
|
|
362
367
|
and every other outside protocol are gateway faculties: classes that
|
|
@@ -364,7 +369,7 @@ serve their clients, a UI in a browser, an MCP client, a caller holding
|
|
|
364
369
|
a bearer token, on one side, and stand as an ordinary being on the
|
|
365
370
|
other, offering standings, holding occupants and speaking Quo inbound
|
|
366
371
|
and outbound. They and every screen
|
|
367
|
-
are
|
|
372
|
+
are classes written over this package, and none ships in it.
|
|
368
373
|
|
|
369
374
|
## The command
|
|
370
375
|
|
|
@@ -397,9 +402,9 @@ named this way is trusted first.
|
|
|
397
402
|
`--no-tcp`, and prints its pk and an owner invitation. `serve` listens for
|
|
398
403
|
Quo on that carrier and for the root's asks on a local socket, open to
|
|
399
404
|
you alone, and adds nothing to the harbor: one with no TCP carrier is not
|
|
400
|
-
served. Every other command is one root ask,
|
|
401
|
-
harbor, or answered from the folder when none is served.
|
|
402
|
-
JSON line. `--dir` defaults to `$NERVUR_DIR`, then `~/.nervur`.
|
|
405
|
+
served. Every other command is one root ask, `pilot` at most two, sent
|
|
406
|
+
to the served harbor, or answered from the folder when none is served.
|
|
407
|
+
Each prints one JSON line. `--dir` defaults to `$NERVUR_DIR`, then `~/.nervur`.
|
|
403
408
|
`module add` reads the file and commits its text into the harbor's DNA,
|
|
404
409
|
so the harbor holds its own code on any ground. Routes live in the
|
|
405
410
|
harbor like everything else, so a restart finds both. `nervur modules`
|
|
@@ -419,10 +424,12 @@ nervur host shop --via far --dir ./mine
|
|
|
419
424
|
`pilot` is your dock's `hold`: it keeps the invitation under the name
|
|
420
425
|
`far` as an ordinary Quo relation, kept in your harbor's memory, and
|
|
421
426
|
reaches the far harbor where its invitation's `at` says; where it says
|
|
422
|
-
nothing, name the address after the invitation
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
427
|
+
nothing, name the address after the invitation, and the dock routes it
|
|
428
|
+
there. Where that address is on the web, `pilot` opens the web carrier
|
|
429
|
+
first. With `--via far`, any command is asked of the far harbor as its
|
|
430
|
+
owner, sealed over its carrier, except `own` and `disown`, which stay
|
|
431
|
+
the far root's. Every ward holds far beings this way, a ward or any
|
|
432
|
+
other being whose invitation
|
|
426
433
|
carries the notes `{ owner: true }`, each under a name, asked with
|
|
427
434
|
`pilot { name, method, args }` and let go with `drop { name }`.
|
|
428
435
|
|
|
@@ -446,4 +453,9 @@ memory into another.
|
|
|
446
453
|
|
|
447
454
|
## License
|
|
448
455
|
|
|
449
|
-
Apache-2.0.
|
|
456
|
+
Apache-2.0. Copyright 2026 Bookarest Digital SRL. See LICENSE and NOTICE.
|
|
457
|
+
|
|
458
|
+
[Quo](https://quo.systems) is a separate work, Razvan Gherghina's, also
|
|
459
|
+
under Apache-2.0, and its spec names no kit. `nervur` is Quo's first
|
|
460
|
+
implementation and says so gladly: the protocol owes this package
|
|
461
|
+
nothing, and where the two disagree the spec wins.
|