@nervur.org/genome 0.0.0-stage → 0.37.2
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 +105 -0
- package/README.md +28 -2
- package/SECURITY.md +8 -0
- package/cage/cells/cells.d.ts +25 -0
- package/cage/cells/cells.js +114 -0
- package/cage/cells/index.d.ts +4 -0
- package/cage/cells/index.js +5 -0
- package/cage/cells/over.d.ts +5 -0
- package/cage/cells/over.js +46 -0
- package/cage/cells/range.d.ts +31 -0
- package/cage/cells/range.js +226 -0
- package/cage/cells/reader.d.ts +17 -0
- package/cage/cells/reader.js +20 -0
- package/cage/codec/codec.d.ts +2 -0
- package/cage/codec/codec.js +5 -0
- package/cage/codec/index.d.ts +1 -0
- package/cage/codec/index.js +2 -0
- package/cage/collation/check.d.ts +7 -0
- package/cage/collation/check.js +24 -0
- package/cage/collation/collation.d.ts +9 -0
- package/cage/collation/collation.js +118 -0
- package/cage/collation/index.d.ts +3 -0
- package/cage/collation/index.js +4 -0
- package/cage/collation/order.d.ts +1 -0
- package/cage/collation/order.js +9 -0
- package/cage/fill.d.ts +8 -0
- package/cage/fill.js +30 -0
- package/cage/index.d.ts +6 -0
- package/cage/index.js +78 -0
- package/cage/lobe/apart.d.ts +34 -0
- package/cage/lobe/apart.js +91 -0
- package/cage/lobe/calls.d.ts +8 -0
- package/cage/lobe/calls.js +35 -0
- package/cage/lobe/charges.d.ts +10 -0
- package/cage/lobe/charges.js +42 -0
- package/cage/lobe/decoder.d.ts +15 -0
- package/cage/lobe/decoder.js +159 -0
- package/cage/lobe/host.d.ts +27 -0
- package/cage/lobe/host.js +107 -0
- package/cage/lobe/index.d.ts +7 -0
- package/cage/lobe/index.js +32 -0
- package/cage/lobe/quo.d.ts +3 -0
- package/cage/lobe/quo.js +30 -0
- package/cage/lobe/read.d.ts +11 -0
- package/cage/lobe/read.js +18 -0
- package/cage/lobe/runner.d.ts +45 -0
- package/cage/lobe/runner.js +242 -0
- package/cage/lobe/seams.d.ts +2 -0
- package/cage/lobe/seams.js +124 -0
- package/cage/published.d.ts +1 -0
- package/cage/published.js +27 -0
- package/cage/run/cells.d.ts +9 -0
- package/cage/run/cells.js +80 -0
- package/cage/run/codes.d.ts +19 -0
- package/cage/run/codes.js +101 -0
- package/cage/run/given.d.ts +49 -0
- package/cage/run/given.js +145 -0
- package/cage/run/host.d.ts +13 -0
- package/cage/run/host.js +37 -0
- package/cage/run/index.d.ts +4 -0
- package/cage/run/index.js +5 -0
- package/cage/run/input.d.ts +14 -0
- package/cage/run/input.js +138 -0
- package/cage/run/nest.d.ts +31 -0
- package/cage/run/nest.js +187 -0
- package/cage/run/run.d.ts +12 -0
- package/cage/run/run.js +79 -0
- package/cage/run/suspend.d.ts +14 -0
- package/cage/run/suspend.js +57 -0
- package/contracts/bridge/contract.d.ts +2 -0
- package/contracts/bridge/contract.js +57 -0
- package/contracts/bridge/index.d.ts +1 -0
- package/contracts/bridge/index.js +2 -0
- package/contracts/carriers/contract.d.ts +4 -0
- package/contracts/carriers/contract.js +485 -0
- package/contracts/carriers/index.d.ts +2 -0
- package/contracts/carriers/index.js +3 -0
- package/contracts/carriers/web.d.ts +2 -0
- package/contracts/carriers/web.js +231 -0
- package/contracts/chance/contract.d.ts +2 -0
- package/contracts/chance/contract.js +25 -0
- package/contracts/chance/index.d.ts +1 -0
- package/contracts/chance/index.js +2 -0
- package/contracts/codec/contract.d.ts +2 -0
- package/contracts/codec/contract.js +124 -0
- package/contracts/codec/index.d.ts +1 -0
- package/contracts/codec/index.js +2 -0
- package/contracts/crypto/contract.d.ts +2 -0
- package/contracts/crypto/contract.js +204 -0
- package/contracts/crypto/index.d.ts +1 -0
- package/contracts/crypto/index.js +2 -0
- package/contracts/crypto/mlkem.d.ts +2 -0
- package/contracts/crypto/mlkem.js +21 -0
- package/contracts/crypto/signatures.d.ts +2 -0
- package/contracts/crypto/signatures.js +165 -0
- package/contracts/crypto/vector.d.ts +73 -0
- package/contracts/crypto/vector.js +93 -0
- package/contracts/crypto/vectors.d.ts +2 -0
- package/contracts/crypto/vectors.js +107 -0
- package/contracts/door/contract.d.ts +13 -0
- package/contracts/door/contract.js +94 -0
- package/contracts/door/index.d.ts +1 -0
- package/contracts/door/index.js +2 -0
- package/contracts/engine/contract.d.ts +2 -0
- package/contracts/engine/contract.js +251 -0
- package/contracts/engine/held.d.ts +3 -0
- package/contracts/engine/held.js +52 -0
- package/contracts/engine/index.d.ts +1 -0
- package/contracts/engine/index.js +2 -0
- package/contracts/engine/judge.d.ts +5 -0
- package/contracts/engine/judge.js +28 -0
- package/contracts/engine/sources.d.ts +17 -0
- package/contracts/engine/sources.js +67 -0
- package/contracts/index.d.ts +14 -0
- package/contracts/index.js +15 -0
- package/contracts/lobes/contract.d.ts +8 -0
- package/contracts/lobes/contract.js +186 -0
- package/contracts/lobes/index.d.ts +1 -0
- package/contracts/lobes/index.js +2 -0
- package/contracts/page-layer/contract.d.ts +2 -0
- package/contracts/page-layer/contract.js +218 -0
- package/contracts/page-layer/index.d.ts +1 -0
- package/contracts/page-layer/index.js +2 -0
- package/contracts/queues/contract.d.ts +2 -0
- package/contracts/queues/contract.js +281 -0
- package/contracts/queues/index.d.ts +1 -0
- package/contracts/queues/index.js +2 -0
- package/contracts/queues/steps.d.ts +11 -0
- package/contracts/queues/steps.js +68 -0
- package/contracts/run/contract.d.ts +2 -0
- package/contracts/run/contract.js +151 -0
- package/contracts/run/index.d.ts +1 -0
- package/contracts/run/index.js +2 -0
- package/contracts/run/sources.d.ts +6 -0
- package/contracts/run/sources.js +45 -0
- package/contracts/time/contract.d.ts +2 -0
- package/contracts/time/contract.js +113 -0
- package/contracts/time/index.d.ts +1 -0
- package/contracts/time/index.js +2 -0
- package/contracts/unlocker/contract.d.ts +2 -0
- package/contracts/unlocker/contract.js +25 -0
- package/contracts/unlocker/index.d.ts +1 -0
- package/contracts/unlocker/index.js +2 -0
- package/contracts/vitals/contract.d.ts +2 -0
- package/contracts/vitals/contract.js +50 -0
- package/contracts/vitals/index.d.ts +1 -0
- package/contracts/vitals/index.js +2 -0
- package/docs/authoring.md +1986 -0
- package/docs/changelog.md +17 -0
- package/docs/guide.md +429 -0
- package/engine/bytecode.d.ts +17 -0
- package/engine/bytecode.js +170 -0
- package/engine/context.d.ts +3 -0
- package/engine/context.js +271 -0
- package/engine/decoder.d.ts +10 -0
- package/engine/decoder.js +286 -0
- package/engine/engine.d.ts +21 -0
- package/engine/engine.js +271 -0
- package/engine/heap.d.ts +5 -0
- package/engine/heap.js +47 -0
- package/engine/held.d.ts +8 -0
- package/engine/held.js +32 -0
- package/engine/helpers.d.ts +27 -0
- package/engine/helpers.js +177 -0
- package/engine/host.d.ts +3 -0
- package/engine/host.js +78 -0
- package/engine/index.d.ts +1 -0
- package/engine/index.js +2 -0
- package/engine/loader.d.ts +6 -0
- package/engine/loader.js +72 -0
- package/engine/lock.d.ts +2 -0
- package/engine/lock.js +17 -0
- package/engine/state.d.ts +55 -0
- package/engine/state.js +107 -0
- package/engine/vendor/LICENSE +24 -0
- package/engine/vendor/emscripten-module.d.mts +5 -0
- package/engine/vendor/emscripten-module.mjs +2 -0
- package/engine/vendor/emscripten-module.wasm +0 -0
- package/engine/vendor/index.d.ts +1 -0
- package/engine/vendor/index.js +2 -0
- package/engine/watcher.d.ts +2 -0
- package/engine/watcher.js +4 -0
- package/engine/writer.d.ts +4 -0
- package/engine/writer.js +84 -0
- package/engine/written.d.ts +3 -0
- package/engine/written.js +86 -0
- package/evidence/index.d.ts +2 -0
- package/evidence/index.js +3 -0
- package/evidence/read.d.ts +42 -0
- package/evidence/read.js +210 -0
- package/evidence/replay.d.ts +17 -0
- package/evidence/replay.js +184 -0
- package/faculty/base/faculty.d.ts +24 -0
- package/faculty/base/faculty.js +300 -0
- package/faculty/base/host.d.ts +140 -0
- package/faculty/base/host.js +82 -0
- package/faculty/base/index.d.ts +6 -0
- package/faculty/base/index.js +29 -0
- package/faculty/base/objects.d.ts +82 -0
- package/faculty/base/objects.js +79 -0
- package/faculty/base/run.d.ts +63 -0
- package/faculty/base/run.js +52 -0
- package/faculty/base/source.d.ts +18 -0
- package/faculty/base/source.js +55 -0
- package/faculty/base/text.d.ts +1 -0
- package/faculty/base/text.js +3 -0
- package/faculty/index.d.ts +2 -0
- package/faculty/index.js +52 -0
- package/faculty/nervur-faculty.d.ts +28 -0
- package/faculty/published.d.ts +1 -0
- package/faculty/published.js +34 -0
- package/faculty/read/index.d.ts +1 -0
- package/faculty/read/index.js +15 -0
- package/faculty/read/read.d.ts +32 -0
- package/faculty/read/read.js +109 -0
- package/genome/backup/backup.d.ts +35 -0
- package/genome/backup/backup.js +278 -0
- package/genome/backup/file.d.ts +19 -0
- package/genome/backup/file.js +66 -0
- package/genome/backup/form.d.ts +11 -0
- package/genome/backup/form.js +339 -0
- package/genome/backup/held.d.ts +14 -0
- package/genome/backup/held.js +123 -0
- package/genome/backup/index.d.ts +6 -0
- package/genome/backup/index.js +29 -0
- package/genome/backup/kept.d.ts +117 -0
- package/genome/backup/kept.js +386 -0
- package/genome/backup/named.d.ts +6 -0
- package/genome/backup/named.js +70 -0
- package/genome/boot/anchor.d.ts +4 -0
- package/genome/boot/anchor.js +35 -0
- package/genome/boot/boot.d.ts +33 -0
- package/genome/boot/boot.js +223 -0
- package/genome/boot/channel.d.ts +11 -0
- package/genome/boot/channel.js +32 -0
- package/genome/boot/core.d.ts +17 -0
- package/genome/boot/core.js +80 -0
- package/genome/boot/given.d.ts +15 -0
- package/genome/boot/given.js +59 -0
- package/genome/boot/index.d.ts +5 -0
- package/genome/boot/index.js +6 -0
- package/genome/boot/invitation.d.ts +9 -0
- package/genome/boot/invitation.js +40 -0
- package/genome/boot/moved.d.ts +17 -0
- package/genome/boot/moved.js +133 -0
- package/genome/boot/organs.d.ts +8 -0
- package/genome/boot/organs.js +62 -0
- package/genome/boot/present.d.ts +34 -0
- package/genome/boot/present.js +136 -0
- package/genome/boot/renew.d.ts +13 -0
- package/genome/boot/renew.js +24 -0
- package/genome/boot/shelf.d.ts +16 -0
- package/genome/boot/shelf.js +60 -0
- package/genome/boot/skin.d.ts +14 -0
- package/genome/boot/skin.js +66 -0
- package/genome/brain/accept.d.ts +12 -0
- package/genome/brain/accept.js +120 -0
- package/genome/brain/addresses.d.ts +4 -0
- package/genome/brain/addresses.js +32 -0
- package/genome/brain/anchor.d.ts +22 -0
- package/genome/brain/anchor.js +155 -0
- package/genome/brain/askers.d.ts +5 -0
- package/genome/brain/askers.js +25 -0
- package/genome/brain/assets-method.d.ts +3 -0
- package/genome/brain/assets-method.js +28 -0
- package/genome/brain/assets.d.ts +4 -0
- package/genome/brain/assets.js +61 -0
- package/genome/brain/blueprint.d.ts +5 -0
- package/genome/brain/blueprint.js +528 -0
- package/genome/brain/brain.d.ts +19 -0
- package/genome/brain/brain.js +291 -0
- package/genome/brain/cede.d.ts +7 -0
- package/genome/brain/cede.js +179 -0
- package/genome/brain/changes.d.ts +23 -0
- package/genome/brain/changes.js +91 -0
- package/genome/brain/character.d.ts +8 -0
- package/genome/brain/character.js +55 -0
- package/genome/brain/children.d.ts +7 -0
- package/genome/brain/children.js +37 -0
- package/genome/brain/clock.d.ts +18 -0
- package/genome/brain/clock.js +91 -0
- package/genome/brain/ended.d.ts +3 -0
- package/genome/brain/ended.js +21 -0
- package/genome/brain/ends.d.ts +9 -0
- package/genome/brain/ends.js +109 -0
- package/genome/brain/expiry.d.ts +21 -0
- package/genome/brain/expiry.js +87 -0
- package/genome/brain/faculties.d.ts +16 -0
- package/genome/brain/faculties.js +88 -0
- package/genome/brain/far.d.ts +53 -0
- package/genome/brain/far.js +330 -0
- package/genome/brain/fields.d.ts +1 -0
- package/genome/brain/fields.js +5 -0
- package/genome/brain/genome.d.ts +8 -0
- package/genome/brain/genome.js +46 -0
- package/genome/brain/given.d.ts +4 -0
- package/genome/brain/given.js +15 -0
- package/genome/brain/granting.d.ts +23 -0
- package/genome/brain/granting.js +98 -0
- package/genome/brain/grants.d.ts +20 -0
- package/genome/brain/grants.js +70 -0
- package/genome/brain/guide.d.ts +2 -0
- package/genome/brain/guide.js +5 -0
- package/genome/brain/holds.d.ts +48 -0
- package/genome/brain/holds.js +197 -0
- package/genome/brain/index.d.ts +34 -0
- package/genome/brain/index.js +35 -0
- package/genome/brain/invitations.d.ts +6 -0
- package/genome/brain/invitations.js +80 -0
- package/genome/brain/kept.d.ts +32 -0
- package/genome/brain/kept.js +189 -0
- package/genome/brain/kit.d.ts +85 -0
- package/genome/brain/kit.js +101 -0
- package/genome/brain/landing.d.ts +6 -0
- package/genome/brain/landing.js +45 -0
- package/genome/brain/lapses.d.ts +8 -0
- package/genome/brain/lapses.js +53 -0
- package/genome/brain/letters.d.ts +8 -0
- package/genome/brain/letters.js +67 -0
- package/genome/brain/life.d.ts +24 -0
- package/genome/brain/life.js +205 -0
- package/genome/brain/limits.d.ts +14 -0
- package/genome/brain/limits.js +159 -0
- package/genome/brain/lined.d.ts +23 -0
- package/genome/brain/lined.js +90 -0
- package/genome/brain/marks.d.ts +22 -0
- package/genome/brain/marks.js +47 -0
- package/genome/brain/methods.d.ts +7 -0
- package/genome/brain/methods.js +243 -0
- package/genome/brain/mouth.d.ts +38 -0
- package/genome/brain/mouth.js +302 -0
- package/genome/brain/moves.d.ts +14 -0
- package/genome/brain/moves.js +81 -0
- package/genome/brain/nerves.d.ts +12 -0
- package/genome/brain/nerves.js +267 -0
- package/genome/brain/next.d.ts +6 -0
- package/genome/brain/next.js +25 -0
- package/genome/brain/notes.d.ts +9 -0
- package/genome/brain/notes.js +73 -0
- package/genome/brain/occupants.d.ts +7 -0
- package/genome/brain/occupants.js +79 -0
- package/genome/brain/old.d.ts +4 -0
- package/genome/brain/old.js +44 -0
- package/genome/brain/organ.d.ts +42 -0
- package/genome/brain/organ.js +248 -0
- package/genome/brain/organs.d.ts +28 -0
- package/genome/brain/organs.js +100 -0
- package/genome/brain/owed.d.ts +30 -0
- package/genome/brain/owed.js +58 -0
- package/genome/brain/owners.d.ts +15 -0
- package/genome/brain/owners.js +112 -0
- package/genome/brain/paged.d.ts +10 -0
- package/genome/brain/paged.js +26 -0
- package/genome/brain/pieces.d.ts +15 -0
- package/genome/brain/pieces.js +74 -0
- package/genome/brain/presence.d.ts +14 -0
- package/genome/brain/presence.js +111 -0
- package/genome/brain/reclaim.d.ts +7 -0
- package/genome/brain/reclaim.js +28 -0
- package/genome/brain/recovery.d.ts +34 -0
- package/genome/brain/recovery.js +165 -0
- package/genome/brain/reference-methods.d.ts +4 -0
- package/genome/brain/reference-methods.js +62 -0
- package/genome/brain/references.d.ts +22 -0
- package/genome/brain/references.js +128 -0
- package/genome/brain/reflex.d.ts +19 -0
- package/genome/brain/reflex.js +64 -0
- package/genome/brain/relations.d.ts +61 -0
- package/genome/brain/relations.js +320 -0
- package/genome/brain/road.d.ts +3 -0
- package/genome/brain/road.js +30 -0
- package/genome/brain/roll.d.ts +27 -0
- package/genome/brain/roll.js +144 -0
- package/genome/brain/schemas.d.ts +23 -0
- package/genome/brain/schemas.js +296 -0
- package/genome/brain/silence.d.ts +9 -0
- package/genome/brain/silence.js +30 -0
- package/genome/brain/space.d.ts +17 -0
- package/genome/brain/space.js +70 -0
- package/genome/brain/standing-methods.d.ts +4 -0
- package/genome/brain/standing-methods.js +78 -0
- package/genome/brain/standings.d.ts +57 -0
- package/genome/brain/standings.js +161 -0
- package/genome/brain/state.d.ts +66 -0
- package/genome/brain/state.js +322 -0
- package/genome/brain/still.d.ts +33 -0
- package/genome/brain/still.js +84 -0
- package/genome/brain/switch.d.ts +6 -0
- package/genome/brain/switch.js +24 -0
- package/genome/brain/tear.d.ts +14 -0
- package/genome/brain/tear.js +114 -0
- package/genome/brain/toward.d.ts +3 -0
- package/genome/brain/toward.js +21 -0
- package/genome/brain/upgrade.d.ts +3 -0
- package/genome/brain/upgrade.js +18 -0
- package/genome/brain/uses.d.ts +12 -0
- package/genome/brain/uses.js +62 -0
- package/genome/brain/version.d.ts +33 -0
- package/genome/brain/version.js +405 -0
- package/genome/brain/waiting.d.ts +3 -0
- package/genome/brain/waiting.js +27 -0
- package/genome/brain/wake.d.ts +26 -0
- package/genome/brain/wake.js +112 -0
- package/genome/brain/warded.d.ts +7 -0
- package/genome/brain/warded.js +67 -0
- package/genome/brain/wards.d.ts +14 -0
- package/genome/brain/wards.js +52 -0
- package/genome/brain/whole.d.ts +3 -0
- package/genome/brain/whole.js +136 -0
- package/genome/bridge/again.d.ts +9 -0
- package/genome/bridge/again.js +111 -0
- package/genome/bridge/carried.d.ts +10 -0
- package/genome/bridge/carried.js +165 -0
- package/genome/bridge/frames.d.ts +3 -0
- package/genome/bridge/frames.js +7 -0
- package/genome/bridge/gear.d.ts +19 -0
- package/genome/bridge/gear.js +26 -0
- package/genome/bridge/half.d.ts +12 -0
- package/genome/bridge/half.js +144 -0
- package/genome/bridge/index.d.ts +4 -0
- package/genome/bridge/index.js +5 -0
- package/genome/cache/cache.d.ts +20 -0
- package/genome/cache/cache.js +213 -0
- package/genome/cache/index.d.ts +3 -0
- package/genome/cache/index.js +4 -0
- package/genome/cache/snapshot.d.ts +17 -0
- package/genome/cache/snapshot.js +164 -0
- package/genome/cache/spaces.d.ts +14 -0
- package/genome/cache/spaces.js +91 -0
- package/genome/cage/index.d.ts +2 -0
- package/genome/cage/index.js +3 -0
- package/genome/cage/output.d.ts +3 -0
- package/genome/cage/output.js +75 -0
- package/genome/cage/reader.d.ts +10 -0
- package/genome/cage/reader.js +65 -0
- package/genome/cage/runner.d.ts +5 -0
- package/genome/cage/runner.js +157 -0
- package/genome/carry/apart.d.ts +24 -0
- package/genome/carry/apart.js +170 -0
- package/genome/carry/before.d.ts +22 -0
- package/genome/carry/before.js +86 -0
- package/genome/carry/carry.d.ts +6 -0
- package/genome/carry/carry.js +447 -0
- package/genome/carry/count.d.ts +72 -0
- package/genome/carry/count.js +142 -0
- package/genome/carry/dead.d.ts +17 -0
- package/genome/carry/dead.js +53 -0
- package/genome/carry/disconnect.d.ts +3 -0
- package/genome/carry/disconnect.js +21 -0
- package/genome/carry/durable.d.ts +36 -0
- package/genome/carry/durable.js +148 -0
- package/genome/carry/flight.d.ts +50 -0
- package/genome/carry/flight.js +338 -0
- package/genome/carry/flush.d.ts +12 -0
- package/genome/carry/flush.js +37 -0
- package/genome/carry/gear.d.ts +91 -0
- package/genome/carry/gear.js +164 -0
- package/genome/carry/held.d.ts +66 -0
- package/genome/carry/held.js +174 -0
- package/genome/carry/index.d.ts +15 -0
- package/genome/carry/index.js +38 -0
- package/genome/carry/letters.d.ts +31 -0
- package/genome/carry/letters.js +222 -0
- package/genome/carry/moving.d.ts +21 -0
- package/genome/carry/moving.js +179 -0
- package/genome/carry/organ.d.ts +25 -0
- package/genome/carry/organ.js +97 -0
- package/genome/carry/read.d.ts +4 -0
- package/genome/carry/read.js +24 -0
- package/genome/carry/ready.d.ts +26 -0
- package/genome/carry/ready.js +78 -0
- package/genome/carry/run.d.ts +22 -0
- package/genome/carry/run.js +146 -0
- package/genome/carry/shown.d.ts +4 -0
- package/genome/carry/shown.js +66 -0
- package/genome/carry/sick.d.ts +5 -0
- package/genome/carry/sick.js +37 -0
- package/genome/carry/span.d.ts +1 -0
- package/genome/carry/span.js +3 -0
- package/genome/carry/stamp.d.ts +3 -0
- package/genome/carry/stamp.js +19 -0
- package/genome/carry/standing.d.ts +7 -0
- package/genome/carry/standing.js +37 -0
- package/genome/carry/status.d.ts +12 -0
- package/genome/carry/status.js +36 -0
- package/genome/carry/still.d.ts +29 -0
- package/genome/carry/still.js +76 -0
- package/genome/carry/trace.d.ts +8 -0
- package/genome/carry/trace.js +24 -0
- package/genome/carry/waits.d.ts +20 -0
- package/genome/carry/waits.js +138 -0
- package/genome/carry/wire.d.ts +23 -0
- package/genome/carry/wire.js +47 -0
- package/genome/carry/words.d.ts +1 -0
- package/genome/carry/words.js +3 -0
- package/genome/carry/zero.d.ts +6 -0
- package/genome/carry/zero.js +27 -0
- package/genome/cells/digest.d.ts +8 -0
- package/genome/cells/digest.js +86 -0
- package/genome/cells/index.d.ts +2 -0
- package/genome/cells/index.js +15 -0
- package/genome/cells/rows.d.ts +18 -0
- package/genome/cells/rows.js +63 -0
- package/genome/cells/sum.d.ts +6 -0
- package/genome/cells/sum.js +35 -0
- package/genome/commits/commits.d.ts +20 -0
- package/genome/commits/commits.js +77 -0
- package/genome/commits/index.d.ts +1 -0
- package/genome/commits/index.js +2 -0
- package/genome/configuration/configuration.d.ts +2 -0
- package/genome/configuration/configuration.js +98 -0
- package/genome/configuration/index.d.ts +1 -0
- package/genome/configuration/index.js +2 -0
- package/genome/defaults/index.d.ts +4 -0
- package/genome/defaults/index.js +12 -0
- package/genome/entry/entry.d.ts +4 -0
- package/genome/entry/entry.js +27 -0
- package/genome/entry/halves.d.ts +6 -0
- package/genome/entry/halves.js +52 -0
- package/genome/entry/index.d.ts +2 -0
- package/genome/entry/index.js +3 -0
- package/genome/faculties/defaults/index.d.ts +5 -0
- package/genome/faculties/defaults/index.js +11 -0
- package/genome/faculties/ear/blueprint.d.ts +2 -0
- package/genome/faculties/ear/blueprint.js +254 -0
- package/genome/faculties/ear/ear.d.ts +18 -0
- package/genome/faculties/ear/ear.js +775 -0
- package/genome/faculties/ear/index.d.ts +2 -0
- package/genome/faculties/ear/index.js +3 -0
- package/genome/faculties/ear/source.d.ts +1 -0
- package/genome/faculties/ear/source.js +5 -0
- package/genome/faculties/ear/text.d.ts +1 -0
- package/genome/faculties/ear/text.js +3 -0
- package/genome/faculties/library/blueprint.d.ts +2 -0
- package/genome/faculties/library/blueprint.js +271 -0
- package/genome/faculties/library/index.d.ts +4 -0
- package/genome/faculties/library/index.js +5 -0
- package/genome/faculties/library/library.d.ts +26 -0
- package/genome/faculties/library/library.js +1227 -0
- package/genome/faculties/library/shelf.d.ts +15 -0
- package/genome/faculties/library/shelf.js +20 -0
- package/genome/faculties/library/source.d.ts +1 -0
- package/genome/faculties/library/source.js +5 -0
- package/genome/faculties/library/text.d.ts +1 -0
- package/genome/faculties/library/text.js +3 -0
- package/genome/faculties/mouth/blueprint.d.ts +2 -0
- package/genome/faculties/mouth/blueprint.js +171 -0
- package/genome/faculties/mouth/index.d.ts +2 -0
- package/genome/faculties/mouth/index.js +3 -0
- package/genome/faculties/mouth/mouth.d.ts +16 -0
- package/genome/faculties/mouth/mouth.js +543 -0
- package/genome/faculties/mouth/source.d.ts +1 -0
- package/genome/faculties/mouth/source.js +5 -0
- package/genome/faculties/mouth/text.d.ts +1 -0
- package/genome/faculties/mouth/text.js +3 -0
- package/genome/faculties/scheduler/blueprint.d.ts +2 -0
- package/genome/faculties/scheduler/blueprint.js +92 -0
- package/genome/faculties/scheduler/index.d.ts +2 -0
- package/genome/faculties/scheduler/index.js +3 -0
- package/genome/faculties/scheduler/scheduler.d.ts +13 -0
- package/genome/faculties/scheduler/scheduler.js +253 -0
- package/genome/faculties/scheduler/source.d.ts +1 -0
- package/genome/faculties/scheduler/source.js +5 -0
- package/genome/faculties/scheduler/text.d.ts +1 -0
- package/genome/faculties/scheduler/text.js +3 -0
- package/genome/header/file.d.ts +33 -0
- package/genome/header/file.js +121 -0
- package/genome/header/header.d.ts +11 -0
- package/genome/header/header.js +86 -0
- package/genome/header/index.d.ts +2 -0
- package/genome/header/index.js +19 -0
- package/genome/ids/ids.d.ts +11 -0
- package/genome/ids/ids.js +23 -0
- package/genome/ids/index.d.ts +1 -0
- package/genome/ids/index.js +2 -0
- package/genome/index.d.ts +11 -0
- package/genome/index.js +32 -0
- package/genome/key/arrivals.d.ts +7 -0
- package/genome/key/arrivals.js +148 -0
- package/genome/key/asks.d.ts +7 -0
- package/genome/key/asks.js +92 -0
- package/genome/key/blueprint.d.ts +3 -0
- package/genome/key/blueprint.js +149 -0
- package/genome/key/door.d.ts +12 -0
- package/genome/key/door.js +94 -0
- package/genome/key/forms.d.ts +11 -0
- package/genome/key/forms.js +45 -0
- package/genome/key/handed.d.ts +7 -0
- package/genome/key/handed.js +81 -0
- package/genome/key/index.d.ts +9 -0
- package/genome/key/index.js +18 -0
- package/genome/key/key.d.ts +9 -0
- package/genome/key/key.js +34 -0
- package/genome/key/kit.d.ts +27 -0
- package/genome/key/kit.js +85 -0
- package/genome/key/records.d.ts +12 -0
- package/genome/key/records.js +70 -0
- package/genome/key/row.d.ts +4 -0
- package/genome/key/row.js +22 -0
- package/genome/key/shapes.d.ts +54 -0
- package/genome/key/shapes.js +160 -0
- package/genome/key/standing.d.ts +19 -0
- package/genome/key/standing.js +108 -0
- package/genome/log/frame.d.ts +11 -0
- package/genome/log/frame.js +40 -0
- package/genome/log/index.d.ts +3 -0
- package/genome/log/index.js +12 -0
- package/genome/log/open.d.ts +31 -0
- package/genome/log/open.js +243 -0
- package/genome/log/pairs.d.ts +8 -0
- package/genome/log/pairs.js +187 -0
- package/genome/log/record.d.ts +8 -0
- package/genome/log/record.js +72 -0
- package/genome/log/store.d.ts +31 -0
- package/genome/log/store.js +291 -0
- package/genome/map/declare.d.ts +4 -0
- package/genome/map/declare.js +52 -0
- package/genome/map/handler.d.ts +4 -0
- package/genome/map/handler.js +37 -0
- package/genome/map/index.d.ts +8 -0
- package/genome/map/index.js +9 -0
- package/genome/map/kin.d.ts +12 -0
- package/genome/map/kin.js +63 -0
- package/genome/map/map.d.ts +40 -0
- package/genome/map/map.js +217 -0
- package/genome/map/nodes.d.ts +9 -0
- package/genome/map/nodes.js +35 -0
- package/genome/map/off.d.ts +3 -0
- package/genome/map/off.js +10 -0
- package/genome/map/order.d.ts +9 -0
- package/genome/map/order.js +105 -0
- package/genome/map/read.d.ts +4 -0
- package/genome/map/read.js +32 -0
- package/genome/map/remove.d.ts +3 -0
- package/genome/map/remove.js +30 -0
- package/genome/map/rows.d.ts +48 -0
- package/genome/map/rows.js +146 -0
- package/genome/map/skin.d.ts +10 -0
- package/genome/map/skin.js +35 -0
- package/genome/map/stands.d.ts +5 -0
- package/genome/map/stands.js +17 -0
- package/genome/map/unwired.d.ts +7 -0
- package/genome/map/unwired.js +36 -0
- package/genome/map/wires.d.ts +9 -0
- package/genome/map/wires.js +103 -0
- package/genome/network/blueprint.d.ts +4 -0
- package/genome/network/blueprint.js +111 -0
- package/genome/network/index.d.ts +3 -0
- package/genome/network/index.js +4 -0
- package/genome/network/network.d.ts +18 -0
- package/genome/network/network.js +248 -0
- package/genome/network/sent.d.ts +4 -0
- package/genome/network/sent.js +225 -0
- package/genome/network/served.d.ts +4 -0
- package/genome/network/served.js +162 -0
- package/genome/network/still.d.ts +26 -0
- package/genome/network/still.js +46 -0
- package/genome/network/web.d.ts +59 -0
- package/genome/network/web.js +74 -0
- package/genome/organism/body.d.ts +53 -0
- package/genome/organism/body.js +256 -0
- package/genome/organism/halves.d.ts +22 -0
- package/genome/organism/halves.js +181 -0
- package/genome/organism/index.d.ts +5 -0
- package/genome/organism/index.js +6 -0
- package/genome/organism/made.d.ts +73 -0
- package/genome/organism/made.js +416 -0
- package/genome/organism/organism.d.ts +9 -0
- package/genome/organism/organism.js +203 -0
- package/genome/organism/reclaim.d.ts +10 -0
- package/genome/organism/reclaim.js +41 -0
- package/genome/organism/still.d.ts +12 -0
- package/genome/organism/still.js +38 -0
- package/genome/organism/thaw.d.ts +10 -0
- package/genome/organism/thaw.js +23 -0
- package/genome/organism/told.d.ts +10 -0
- package/genome/organism/told.js +140 -0
- package/genome/pages/codes.d.ts +13 -0
- package/genome/pages/codes.js +16 -0
- package/genome/pages/file.d.ts +23 -0
- package/genome/pages/file.js +174 -0
- package/genome/pages/index.d.ts +2 -0
- package/genome/pages/index.js +3 -0
- package/genome/pages/vfs.d.ts +13 -0
- package/genome/pages/vfs.js +186 -0
- package/genome/presence/index.d.ts +1 -0
- package/genome/presence/index.js +2 -0
- package/genome/presence/organs.d.ts +8 -0
- package/genome/presence/organs.js +13 -0
- package/genome/pure/entry.d.ts +16 -0
- package/genome/pure/entry.js +76 -0
- package/genome/pure/frozen.d.ts +9 -0
- package/genome/pure/frozen.js +273 -0
- package/genome/pure/halves.d.ts +8 -0
- package/genome/pure/halves.js +63 -0
- package/genome/pure/index.d.ts +7 -0
- package/genome/pure/index.js +8 -0
- package/genome/queues/index.d.ts +1 -0
- package/genome/queues/index.js +2 -0
- package/genome/queues/queues.d.ts +2 -0
- package/genome/queues/queues.js +210 -0
- package/genome/self/blueprint.d.ts +5 -0
- package/genome/self/blueprint.js +36 -0
- package/genome/self/index.d.ts +2 -0
- package/genome/self/index.js +3 -0
- package/genome/self/self.d.ts +9 -0
- package/genome/self/self.js +49 -0
- package/genome/sqlite/database.d.ts +24 -0
- package/genome/sqlite/database.js +243 -0
- package/genome/sqlite/decoder.d.ts +10 -0
- package/genome/sqlite/decoder.js +92 -0
- package/genome/sqlite/imports.d.ts +9 -0
- package/genome/sqlite/imports.js +93 -0
- package/genome/sqlite/index.d.ts +6 -0
- package/genome/sqlite/index.js +7 -0
- package/genome/sqlite/memory.d.ts +14 -0
- package/genome/sqlite/memory.js +79 -0
- package/genome/sqlite/sqlite.d.ts +30 -0
- package/genome/sqlite/sqlite.js +77 -0
- package/genome/sqlite/table.d.ts +8 -0
- package/genome/sqlite/table.js +66 -0
- package/genome/sqlite/vendor/LICENSE +21 -0
- package/genome/sqlite/vendor/sqlite3.wasm +0 -0
- package/genome/store/held.d.ts +2 -0
- package/genome/store/held.js +41 -0
- package/genome/store/index.d.ts +6 -0
- package/genome/store/index.js +16 -0
- package/genome/store/landing.d.ts +6 -0
- package/genome/store/landing.js +50 -0
- package/genome/store/open.d.ts +38 -0
- package/genome/store/open.js +308 -0
- package/genome/store/outside.d.ts +30 -0
- package/genome/store/outside.js +165 -0
- package/genome/store/reading.d.ts +2 -0
- package/genome/store/reading.js +121 -0
- package/genome/store/rescue.d.ts +15 -0
- package/genome/store/rescue.js +168 -0
- package/genome/store/salvage.d.ts +18 -0
- package/genome/store/salvage.js +158 -0
- package/genome/store/schema.d.ts +17 -0
- package/genome/store/schema.js +77 -0
- package/genome/store/store.d.ts +54 -0
- package/genome/store/store.js +534 -0
- package/genome/store/unwritten.d.ts +2 -0
- package/genome/store/unwritten.js +57 -0
- package/genome/store/witness.d.ts +18 -0
- package/genome/store/witness.js +87 -0
- package/genome/timer/index.d.ts +1 -0
- package/genome/timer/index.js +2 -0
- package/genome/timer/timer.d.ts +10 -0
- package/genome/timer/timer.js +167 -0
- package/kit/brain/organs.d.ts +6 -0
- package/kit/brain/organs.js +33 -0
- package/kit/brain/rig.d.ts +58 -0
- package/kit/brain/rig.js +259 -0
- package/kit/brain/shelf.d.ts +3 -0
- package/kit/brain/shelf.js +42 -0
- package/kit/core/answers.d.ts +7 -0
- package/kit/core/answers.js +23 -0
- package/kit/core/chance.d.ts +4 -0
- package/kit/core/chance.js +18 -0
- package/kit/core/clock.d.ts +8 -0
- package/kit/core/clock.js +39 -0
- package/kit/core/configuration.d.ts +2 -0
- package/kit/core/configuration.js +17 -0
- package/kit/core/data.d.ts +3 -0
- package/kit/core/data.js +41 -0
- package/kit/core/foundation.d.ts +30 -0
- package/kit/core/foundation.js +139 -0
- package/kit/core/held.d.ts +11 -0
- package/kit/core/held.js +82 -0
- package/kit/core/index.d.ts +10 -0
- package/kit/core/index.js +26 -0
- package/kit/core/puppets.d.ts +8 -0
- package/kit/core/puppets.js +17 -0
- package/kit/core/stamp.d.ts +2 -0
- package/kit/core/stamp.js +10 -0
- package/kit/core/wasm.d.ts +3 -0
- package/kit/core/wasm.js +11 -0
- package/kit/faculty/base/rig.d.ts +22 -0
- package/kit/faculty/base/rig.js +97 -0
- package/kit/index.d.ts +11 -0
- package/kit/index.js +22 -0
- package/kit/organism/bakery.d.ts +31 -0
- package/kit/organism/bakery.js +223 -0
- package/kit/organism/carriers.d.ts +25 -0
- package/kit/organism/carriers.js +93 -0
- package/kit/organism/forms.d.ts +10 -0
- package/kit/organism/forms.js +31 -0
- package/kit/organism/heard.d.ts +4 -0
- package/kit/organism/heard.js +42 -0
- package/kit/organism/laid.d.ts +8 -0
- package/kit/organism/laid.js +32 -0
- package/kit/organism/link.d.ts +14 -0
- package/kit/organism/link.js +130 -0
- package/kit/organism/notes.d.ts +2 -0
- package/kit/organism/notes.js +45 -0
- package/kit/organism/peer.d.ts +7 -0
- package/kit/organism/peer.js +34 -0
- package/kit/organism/rig.d.ts +59 -0
- package/kit/organism/rig.js +252 -0
- package/kit/organism/vitals.d.ts +9 -0
- package/kit/organism/vitals.js +44 -0
- package/kit/pages/index.d.ts +1 -0
- package/kit/pages/index.js +2 -0
- package/kit/pages/memory.d.ts +23 -0
- package/kit/pages/memory.js +264 -0
- package/kit/presence/console-half.d.ts +6 -0
- package/kit/presence/console-half.js +27 -0
- package/kit/presence/home.d.ts +33 -0
- package/kit/presence/home.js +192 -0
- package/kit/presence/pipe.d.ts +15 -0
- package/kit/presence/pipe.js +66 -0
- package/kit/presence/screen-half.d.ts +16 -0
- package/kit/presence/screen-half.js +180 -0
- package/kit/presence/skins.d.ts +17 -0
- package/kit/presence/skins.js +99 -0
- package/kit/puppet/boundary.d.ts +11 -0
- package/kit/puppet/boundary.js +103 -0
- package/kit/puppet/class.d.ts +3 -0
- package/kit/puppet/class.js +56 -0
- package/kit/puppet/defaults.d.ts +2 -0
- package/kit/puppet/defaults.js +14 -0
- package/kit/puppet/engine.d.ts +3 -0
- package/kit/puppet/engine.js +50 -0
- package/kit/puppet/index.d.ts +3 -0
- package/kit/puppet/index.js +4 -0
- package/kit/puppet/puppet.d.ts +41 -0
- package/kit/puppet/puppet.js +229 -0
- package/package.json +114 -4
- package/quo/box/box.d.ts +34 -0
- package/quo/box/box.js +137 -0
- package/quo/box/index.d.ts +4 -0
- package/quo/box/index.js +5 -0
- package/quo/box/reply.d.ts +12 -0
- package/quo/box/reply.js +64 -0
- package/quo/box/room.d.ts +3 -0
- package/quo/box/room.js +27 -0
- package/quo/box/sizes.d.ts +7 -0
- package/quo/box/sizes.js +10 -0
- package/quo/crypto/ed25519.d.ts +1 -0
- package/quo/crypto/ed25519.js +44 -0
- package/quo/crypto/index.d.ts +1 -0
- package/quo/crypto/index.js +2 -0
- package/quo/crypto/noble.d.ts +2 -0
- package/quo/crypto/noble.js +46 -0
- package/quo/door/door.d.ts +36 -0
- package/quo/door/door.js +207 -0
- package/quo/door/index.d.ts +2 -0
- package/quo/door/index.js +3 -0
- package/quo/door/occupant.d.ts +17 -0
- package/quo/door/occupant.js +55 -0
- package/quo/door/payload.d.ts +9 -0
- package/quo/door/payload.js +67 -0
- package/quo/frame/frame.d.ts +23 -0
- package/quo/frame/frame.js +160 -0
- package/quo/frame/index.d.ts +1 -0
- package/quo/frame/index.js +2 -0
- package/quo/index.d.ts +7 -0
- package/quo/index.js +55 -0
- package/quo/published.d.ts +1 -0
- package/quo/published.js +51 -0
- package/quo/standing/index.d.ts +3 -0
- package/quo/standing/index.js +4 -0
- package/quo/standing/once.d.ts +14 -0
- package/quo/standing/once.js +66 -0
- package/quo/standing/reading.d.ts +28 -0
- package/quo/standing/reading.js +99 -0
- package/quo/standing/standing.d.ts +44 -0
- package/quo/standing/standing.js +235 -0
- package/quo/value/address.d.ts +2 -0
- package/quo/value/address.js +89 -0
- package/quo/value/fields.d.ts +2 -0
- package/quo/value/fields.js +14 -0
- package/quo/value/index.d.ts +3 -0
- package/quo/value/index.js +4 -0
- package/quo/value/json.d.ts +16 -0
- package/quo/value/json.js +194 -0
- package/quo/ward/index.d.ts +6 -0
- package/quo/ward/index.js +19 -0
- package/quo/ward/invitation.d.ts +16 -0
- package/quo/ward/invitation.js +100 -0
- package/quo/ward/link.d.ts +38 -0
- package/quo/ward/link.js +94 -0
- package/quo/ward/lock.d.ts +1 -0
- package/quo/ward/lock.js +17 -0
- package/quo/ward/qr.d.ts +5 -0
- package/quo/ward/qr.js +279 -0
- package/quo/ward/vouch.d.ts +5 -0
- package/quo/ward/vouch.js +33 -0
- package/quo/ward/ward.d.ts +19 -0
- package/quo/ward/ward.js +63 -0
- package/screen/access.d.ts +32 -0
- package/screen/access.js +40 -0
- package/screen/compose.d.ts +14 -0
- package/screen/compose.js +137 -0
- package/screen/diff.d.ts +19 -0
- package/screen/diff.js +152 -0
- package/screen/digest.d.ts +1 -0
- package/screen/digest.js +60 -0
- package/screen/drawn.d.ts +35 -0
- package/screen/drawn.js +89 -0
- package/screen/fill.d.ts +12 -0
- package/screen/fill.js +91 -0
- package/screen/hydrate.d.ts +14 -0
- package/screen/hydrate.js +67 -0
- package/screen/index.d.ts +15 -0
- package/screen/index.js +26 -0
- package/screen/laid.d.ts +29 -0
- package/screen/laid.js +157 -0
- package/screen/match.d.ts +13 -0
- package/screen/match.js +63 -0
- package/screen/motion.d.ts +18 -0
- package/screen/motion.js +65 -0
- package/screen/press.d.ts +12 -0
- package/screen/press.js +63 -0
- package/screen/region.d.ts +6 -0
- package/screen/region.js +23 -0
- package/screen/route.d.ts +13 -0
- package/screen/route.js +74 -0
- package/screen/screen.d.ts +15 -0
- package/screen/screen.js +55 -0
- package/screen/sheet.d.ts +20 -0
- package/screen/sheet.js +145 -0
- package/screen/told.d.ts +14 -0
- package/screen/told.js +38 -0
- package/seams/bridge/bridge.d.ts +26 -0
- package/seams/bridge/bridge.js +31 -0
- package/seams/bridge/in-process.d.ts +13 -0
- package/seams/bridge/in-process.js +112 -0
- package/seams/bridge/index.d.ts +2 -0
- package/seams/bridge/index.js +3 -0
- package/seams/carriers/carriers.d.ts +112 -0
- package/seams/carriers/carriers.js +315 -0
- package/seams/carriers/index.d.ts +2 -0
- package/seams/carriers/index.js +29 -0
- package/seams/carriers/proof.d.ts +13 -0
- package/seams/carriers/proof.js +45 -0
- package/seams/chance/chance.d.ts +6 -0
- package/seams/chance/chance.js +8 -0
- package/seams/chance/index.d.ts +1 -0
- package/seams/chance/index.js +2 -0
- package/seams/codec/codec.d.ts +12 -0
- package/seams/codec/codec.js +9 -0
- package/seams/codec/index.d.ts +1 -0
- package/seams/codec/index.js +2 -0
- package/seams/contract/bytes.d.ts +1 -0
- package/seams/contract/bytes.js +4 -0
- package/seams/contract/contract.d.ts +10 -0
- package/seams/contract/contract.js +26 -0
- package/seams/contract/index.d.ts +2 -0
- package/seams/contract/index.js +3 -0
- package/seams/crypto/crypto.d.ts +29 -0
- package/seams/crypto/crypto.js +30 -0
- package/seams/crypto/index.d.ts +1 -0
- package/seams/crypto/index.js +2 -0
- package/seams/engine/engine.d.ts +44 -0
- package/seams/engine/engine.js +55 -0
- package/seams/engine/index.d.ts +1 -0
- package/seams/engine/index.js +2 -0
- package/seams/entry/configuration.d.ts +74 -0
- package/seams/entry/configuration.js +81 -0
- package/seams/entry/entry.d.ts +124 -0
- package/seams/entry/entry.js +144 -0
- package/seams/entry/index.d.ts +2 -0
- package/seams/entry/index.js +24 -0
- package/seams/index.d.ts +16 -0
- package/seams/index.js +86 -0
- package/seams/page-layer/index.d.ts +1 -0
- package/seams/page-layer/index.js +2 -0
- package/seams/page-layer/page-layer.d.ts +32 -0
- package/seams/page-layer/page-layer.js +29 -0
- package/seams/published.d.ts +1 -0
- package/seams/published.js +85 -0
- package/seams/queues/index.d.ts +2 -0
- package/seams/queues/index.js +3 -0
- package/seams/queues/queues.d.ts +36 -0
- package/seams/queues/queues.js +50 -0
- package/seams/run/index.d.ts +1 -0
- package/seams/run/index.js +2 -0
- package/seams/run/run.d.ts +7 -0
- package/seams/run/run.js +8 -0
- package/seams/time/index.d.ts +1 -0
- package/seams/time/index.js +2 -0
- package/seams/time/time.d.ts +10 -0
- package/seams/time/time.js +14 -0
- package/seams/unlocker/index.d.ts +1 -0
- package/seams/unlocker/index.js +2 -0
- package/seams/unlocker/unlocker.d.ts +17 -0
- package/seams/unlocker/unlocker.js +15 -0
- package/seams/vitals/index.d.ts +1 -0
- package/seams/vitals/index.js +2 -0
- package/seams/vitals/vitals.d.ts +24 -0
- package/seams/vitals/vitals.js +19 -0
- package/seams/webassembly.d.ts +36 -0
- package/standard/answer/answer.d.ts +16 -0
- package/standard/answer/answer.js +38 -0
- package/standard/answer/index.d.ts +1 -0
- package/standard/answer/index.js +2 -0
- package/standard/blueprint/blueprint.d.ts +21 -0
- package/standard/blueprint/blueprint.js +123 -0
- package/standard/blueprint/index.d.ts +2 -0
- package/standard/blueprint/index.js +3 -0
- package/standard/blueprint/method.d.ts +21 -0
- package/standard/blueprint/method.js +208 -0
- package/standard/data/base64.d.ts +1 -0
- package/standard/data/base64.js +39 -0
- package/standard/data/data.d.ts +10 -0
- package/standard/data/data.js +147 -0
- package/standard/data/fields.d.ts +16 -0
- package/standard/data/fields.js +68 -0
- package/standard/data/guards.d.ts +9 -0
- package/standard/data/guards.js +12 -0
- package/standard/data/hex.d.ts +12 -0
- package/standard/data/hex.js +74 -0
- package/standard/data/index.d.ts +7 -0
- package/standard/data/index.js +8 -0
- package/standard/data/text.d.ts +19 -0
- package/standard/data/text.js +222 -0
- package/standard/data/utf8.d.ts +2 -0
- package/standard/data/utf8.js +85 -0
- package/standard/half/frames.d.ts +10 -0
- package/standard/half/frames.js +115 -0
- package/standard/half/half.d.ts +23 -0
- package/standard/half/half.js +89 -0
- package/standard/half/index.d.ts +2 -0
- package/standard/half/index.js +14 -0
- package/standard/index.d.ts +9 -0
- package/standard/index.js +93 -0
- package/standard/names/blueprint.d.ts +2 -0
- package/standard/names/blueprint.js +18 -0
- package/standard/names/code.d.ts +5 -0
- package/standard/names/code.js +21 -0
- package/standard/names/id.d.ts +3 -0
- package/standard/names/id.js +11 -0
- package/standard/names/index.d.ts +5 -0
- package/standard/names/index.js +6 -0
- package/standard/names/method.d.ts +2 -0
- package/standard/names/method.js +19 -0
- package/standard/names/version.d.ts +1 -0
- package/standard/names/version.js +5 -0
- package/standard/pattern/compile.d.ts +25 -0
- package/standard/pattern/compile.js +153 -0
- package/standard/pattern/index.d.ts +3 -0
- package/standard/pattern/index.js +4 -0
- package/standard/pattern/match.d.ts +2 -0
- package/standard/pattern/match.js +75 -0
- package/standard/pattern/parse.d.ts +39 -0
- package/standard/pattern/parse.js +259 -0
- package/standard/presence.d.ts +5 -0
- package/standard/presence.js +69 -0
- package/standard/published.d.ts +1 -0
- package/standard/published.js +57 -0
- package/standard/schema/admits.d.ts +10 -0
- package/standard/schema/admits.js +189 -0
- package/standard/schema/index.d.ts +3 -0
- package/standard/schema/index.js +4 -0
- package/standard/schema/known.d.ts +2 -0
- package/standard/schema/known.js +23 -0
- package/standard/schema/subset.d.ts +11 -0
- package/standard/schema/subset.js +140 -0
- package/standard/tree/allow.d.ts +22 -0
- package/standard/tree/allow.js +229 -0
- package/standard/tree/check.d.ts +3 -0
- package/standard/tree/check.js +227 -0
- package/standard/tree/forms.d.ts +9 -0
- package/standard/tree/forms.js +121 -0
- package/standard/tree/html.d.ts +11 -0
- package/standard/tree/html.js +59 -0
- package/standard/tree/index.d.ts +6 -0
- package/standard/tree/index.js +46 -0
- package/standard/tree/model.d.ts +7 -0
- package/standard/tree/model.js +58 -0
- package/standard/tree/tree.d.ts +44 -0
- package/standard/tree/tree.js +58 -0
- package/standard/version.d.ts +1 -0
- package/standard/version.js +2 -0
|
@@ -0,0 +1,528 @@
|
|
|
1
|
+
// SPDX-License-Identifier: FSL-1.1-ALv2
|
|
2
|
+
import { compiledArgs, GENOME_VERSION, } from '#standard';
|
|
3
|
+
import {
|
|
4
|
+
CARD,
|
|
5
|
+
count,
|
|
6
|
+
HALF,
|
|
7
|
+
key,
|
|
8
|
+
nullOr,
|
|
9
|
+
objectOf,
|
|
10
|
+
OCCUPANT,
|
|
11
|
+
ENDS,
|
|
12
|
+
ORDER,
|
|
13
|
+
SAYS,
|
|
14
|
+
STAND,
|
|
15
|
+
STATE,
|
|
16
|
+
text,
|
|
17
|
+
WARD,
|
|
18
|
+
WARD_NAME,
|
|
19
|
+
} from './schemas.js';
|
|
20
|
+
import { CREATE_METHOD, LOBES_METHOD } from './assets-method.js';
|
|
21
|
+
import { NERVUR_GUIDE } from './guide.js';
|
|
22
|
+
import { GIVING_METHODS } from './reference-methods.js';
|
|
23
|
+
import { EAR, LIBRARY, MOUTH, SCHEDULER } from '../ids/index.js';
|
|
24
|
+
|
|
25
|
+
const REFUSED = ['refused'];
|
|
26
|
+
const NAMED_KEY = { type: 'string', pattern: '^[0-9a-f]{2432}$' } ;
|
|
27
|
+
const HANDED = { type: 'string', contentEncoding: 'base16' } ;
|
|
28
|
+
const declared = {
|
|
29
|
+
...GIVING_METHODS,
|
|
30
|
+
uses: {
|
|
31
|
+
askers: [LIBRARY],
|
|
32
|
+
description:
|
|
33
|
+
"The library's alone: whether any lobe stands on a faculty's digest, switched off or not, or moves to it, or any organ's host half is named by it.",
|
|
34
|
+
args: objectOf({ digest: text }, ['digest']),
|
|
35
|
+
result: { type: 'boolean' },
|
|
36
|
+
errors: REFUSED,
|
|
37
|
+
budget: 100,
|
|
38
|
+
},
|
|
39
|
+
create: CREATE_METHOD,
|
|
40
|
+
lobes: LOBES_METHOD,
|
|
41
|
+
version: {
|
|
42
|
+
description:
|
|
43
|
+
"Moves a lobe to another version of a faculty the library keeps, its own or another's, whose `migrate` converts its cells; a present lobe moves on the ask of the person present alone, and no boot moves it from the faculty they chose. It keeps one step back unless `settled`: naming the version it left goes back, its `lost` the writes since. It declares no budget: the new version's `migrate` holds its own, and the move is waited for, or answered `moving` as the longest timeout nears.",
|
|
44
|
+
args: objectOf({ lobe: text, faculty: text, settled: { type: 'boolean' } }, ['lobe', 'faculty']),
|
|
45
|
+
errors: REFUSED,
|
|
46
|
+
},
|
|
47
|
+
settle: {
|
|
48
|
+
irreversible: 'lobe',
|
|
49
|
+
description: "Ends a lobe's step back where it stands: the version it left and the old values go.",
|
|
50
|
+
args: objectOf({ lobe: text }, ['lobe']),
|
|
51
|
+
errors: REFUSED,
|
|
52
|
+
},
|
|
53
|
+
switchOff: {
|
|
54
|
+
description: 'Switches a lobe of the periphery off: it shows unavailable, its wires and cells kept.',
|
|
55
|
+
args: objectOf({ lobe: text }, ['lobe']),
|
|
56
|
+
errors: REFUSED,
|
|
57
|
+
budget: 100,
|
|
58
|
+
},
|
|
59
|
+
switchOn: {
|
|
60
|
+
description: 'Switches a lobe of the periphery on again.',
|
|
61
|
+
args: objectOf({ lobe: text }, ['lobe']),
|
|
62
|
+
errors: REFUSED,
|
|
63
|
+
budget: 100,
|
|
64
|
+
},
|
|
65
|
+
tearDown: {
|
|
66
|
+
irreversible: 'lobe',
|
|
67
|
+
description:
|
|
68
|
+
'Tears a lobe of the periphery down: its relations end, and its node, its wires and its cells go. Each standing it holds sends the inviting side its `#leave` first, and is forgotten whatever answers.',
|
|
69
|
+
args: objectOf({ lobe: text }, ['lobe']),
|
|
70
|
+
errors: REFUSED,
|
|
71
|
+
budget: 500,
|
|
72
|
+
},
|
|
73
|
+
addOrgan: {
|
|
74
|
+
description:
|
|
75
|
+
'Adds an organ under a fixed ID with its blueprint, its reach and its host half, named by its form and its digest, never carried; or releases the organ of that ID. No program crosses as an ask. The owners admit the new fingerprint first. It declares no budget: the admission is waited for.',
|
|
76
|
+
args: objectOf(
|
|
77
|
+
{
|
|
78
|
+
id: text,
|
|
79
|
+
blueprint: { type: 'object' },
|
|
80
|
+
reach: { type: 'object' },
|
|
81
|
+
half: HALF,
|
|
82
|
+
},
|
|
83
|
+
['id', 'blueprint', 'reach', 'half'],
|
|
84
|
+
),
|
|
85
|
+
result: { type: 'null' },
|
|
86
|
+
errors: REFUSED,
|
|
87
|
+
},
|
|
88
|
+
removeOrgan: {
|
|
89
|
+
irreversible: 'id',
|
|
90
|
+
description:
|
|
91
|
+
'Tears an organ an owner added down, with its wires and its durable asks, once the owners admit the fingerprint without it; its code stays in the library. It declares no budget: the admission is waited for.',
|
|
92
|
+
args: objectOf({ id: text }, ['id']),
|
|
93
|
+
result: { type: 'null' },
|
|
94
|
+
errors: REFUSED,
|
|
95
|
+
},
|
|
96
|
+
settleOrgan: {
|
|
97
|
+
irreversible: 'id',
|
|
98
|
+
description:
|
|
99
|
+
"Ends an organ's step back where it stands: the half, the blueprint and the reach its last release left go.",
|
|
100
|
+
args: objectOf({ id: text }, ['id']),
|
|
101
|
+
result: { type: 'null' },
|
|
102
|
+
errors: REFUSED,
|
|
103
|
+
},
|
|
104
|
+
order: {
|
|
105
|
+
description:
|
|
106
|
+
"Wires a node's placeholder to a termination: any node but the core, and the ear's `front` to a lobe of the periphery. Its termination may be a standing the organism holds, which an owner grants to a lobe so: the wire is permanent, one each, and `note` is the lobe's own note on it, free data of at most 4 KiB as its canonical text by default and never a secret, null where none is named. A relation's other wires are not ordered through `brain`.",
|
|
107
|
+
args: objectOf({ node: text, order: ORDER, note: {} }, ['node', 'order']),
|
|
108
|
+
result: objectOf({ placeholder: text }, ['placeholder']),
|
|
109
|
+
errors: REFUSED,
|
|
110
|
+
budget: 100,
|
|
111
|
+
},
|
|
112
|
+
unwire: {
|
|
113
|
+
irreversible: 'node',
|
|
114
|
+
description:
|
|
115
|
+
"Ends the wire of a node's placeholder: any node but the core, and the ear's `front`. Ending the wire of a standing the organism holds takes it from the lobe: its note goes and the lobe is asked `left`; where it was the last wire, the standing ends as an owner's forget ends it, `#leave` sent first, and an anchor's only once the far brain answered its owner's `drop`.",
|
|
116
|
+
args: objectOf({ node: text, placeholder: text }, ['node', 'placeholder']),
|
|
117
|
+
errors: REFUSED,
|
|
118
|
+
budget: 100,
|
|
119
|
+
},
|
|
120
|
+
ask: {
|
|
121
|
+
description:
|
|
122
|
+
"Asks a lobe on behalf of the asker, whom the lobe sees as `brain`. It declares no budget: an organ's budget runs from when its ask goes, and the lobe's answer is waited for.",
|
|
123
|
+
args: objectOf(
|
|
124
|
+
{
|
|
125
|
+
lobe: text,
|
|
126
|
+
method: nullOr(text),
|
|
127
|
+
args: {},
|
|
128
|
+
timeout: { type: 'number', minimum: 0 },
|
|
129
|
+
},
|
|
130
|
+
['lobe', 'method', 'args', 'timeout'],
|
|
131
|
+
),
|
|
132
|
+
errors: REFUSED,
|
|
133
|
+
},
|
|
134
|
+
recoveryKeys: {
|
|
135
|
+
description:
|
|
136
|
+
"Sets the recovery keys' public halves, as one set, each an Ed25519 key as hex whose secret an owner holds off the device, any of which reclaims: where none is set the set holds at once; a set replacing another waits the configuration's delay on the host's own clock, which no owner's `time` moves, `state` showing when it holds, while the set it replaces still reclaims, and replaces one that waits. An empty set, once it holds, leaves no recovery key. A key that is no Ed25519 public key is refused, and nothing moves.",
|
|
137
|
+
args: objectOf({ keys: { type: 'array', items: text } }, ['keys']),
|
|
138
|
+
result: { type: 'null' },
|
|
139
|
+
errors: REFUSED,
|
|
140
|
+
budget: 100,
|
|
141
|
+
},
|
|
142
|
+
rewrap: {
|
|
143
|
+
description:
|
|
144
|
+
'A rewrap: has the door change the boot key to `key`, 32 bytes as hex, which alone opens primordial memory from then on: near or far, where the boot mode needs no human at the device. The data key stays, so what opened it before opens every copy made before: `rekey` changes that. Refused where a human gives the key, who rewraps at the device, and nothing moves.',
|
|
145
|
+
args: objectOf({ key: { type: 'string', pattern: '^[0-9a-f]{64}$' } }, ['key']),
|
|
146
|
+
result: { type: 'null' },
|
|
147
|
+
errors: REFUSED,
|
|
148
|
+
},
|
|
149
|
+
rekey: {
|
|
150
|
+
description:
|
|
151
|
+
'A whole change of key: a rewrap to `key`, 32 bytes as hex, then the organism stops, and its next boot writes it anew under a new data key, a backup and restore onto itself that costs no relation. `cipher`, where named, is the one the store is laid under, and the one that stands where none is; a name this genome does not fill is refused, and nothing moves. `ward` true takes the step of `ward` first. Near or far, where the boot mode needs no human at the device; refused where a human gives the key, who rekeys at the device, and nothing moves.',
|
|
152
|
+
args: objectOf(
|
|
153
|
+
{
|
|
154
|
+
key: { type: 'string', pattern: '^[0-9a-f]{64}$' },
|
|
155
|
+
cipher: text,
|
|
156
|
+
ward: { type: 'boolean' },
|
|
157
|
+
},
|
|
158
|
+
['key'],
|
|
159
|
+
),
|
|
160
|
+
result: { type: 'null' },
|
|
161
|
+
errors: REFUSED,
|
|
162
|
+
},
|
|
163
|
+
time: {
|
|
164
|
+
description:
|
|
165
|
+
"An owner's word over the time, near or far: the organism's time is `at`, in milliseconds since 1970, from now on, earlier or later than it was, the host's clock corrected by it across boots, until the host's clock leaps, which drops the word, `state` saying when (`timeDropped`). It serves a house with no internet and undoes a clock pushed far ahead; what took effect by the time before stays done. Refused, nothing kept, for an `at` that is no count.",
|
|
166
|
+
args: objectOf({ at: count }, ['at']),
|
|
167
|
+
result: { type: 'null' },
|
|
168
|
+
errors: REFUSED,
|
|
169
|
+
},
|
|
170
|
+
backup: {
|
|
171
|
+
description:
|
|
172
|
+
"Backs the organism up, as of one commit: the organism in its lasting form, as of the last commit before it, sealed beside the key block the boot key opens, beside the store, in place of any before it, written on after the answer, which comes at once: that commit's sequence and the backup's `mark`, by which `backupPiece` takes it off the device as it is written, the last piece saying its size and what it left out. Restored, it is a new life. It declares no budget: the store's head is waited for.",
|
|
173
|
+
args: objectOf({ keys: { type: 'array', items: NAMED_KEY } }, []),
|
|
174
|
+
result: objectOf({ sequence: count, mark: text }, ['sequence', 'mark']),
|
|
175
|
+
errors: REFUSED,
|
|
176
|
+
},
|
|
177
|
+
move: {
|
|
178
|
+
description:
|
|
179
|
+
"Moves the organism to another device, near or far: from here it answers `backupPiece` alone, and writes itself beside the store sealed to `to`, the public key that device drew, as hex. Answers at once as `backup` does, and `left`, each organ whose half stays behind on this device. Nothing opens until the ask at its end, `backupPiece` at the `bytes` its last piece said, which answers the last piece and stops this copy, for good until an owner's word at its door; a boot before it goes on as if never asked, and so does a move whose writing failed, once its next piece says why. An update, or a move onto an older genome, on this device, is its door's, never an ask.",
|
|
180
|
+
args: objectOf({ to: NAMED_KEY }, ['to']),
|
|
181
|
+
result: objectOf({ sequence: count, mark: text, left: { type: 'array', items: text } }, [
|
|
182
|
+
'sequence',
|
|
183
|
+
'mark',
|
|
184
|
+
'left',
|
|
185
|
+
]),
|
|
186
|
+
errors: REFUSED,
|
|
187
|
+
},
|
|
188
|
+
addresses: {
|
|
189
|
+
description:
|
|
190
|
+
"Names addresses of the organism's own beyond what `network` reports, in place of those named before, so every reply and invitation carries them, ahead of a move or for a relay of its own. None lets them go.",
|
|
191
|
+
args: objectOf({ at: { type: 'array', items: text } }, ['at']),
|
|
192
|
+
result: { type: 'null' },
|
|
193
|
+
errors: REFUSED,
|
|
194
|
+
},
|
|
195
|
+
hand: {
|
|
196
|
+
description:
|
|
197
|
+
"Hands the standing `far` addresses its far organism may be reached at, tried first from its next ask: write-only, so nothing reads a standing's addresses. `busy` while an ask flies on it.",
|
|
198
|
+
args: objectOf({ far: text, at: { type: 'array', items: text } }, ['far', 'at']),
|
|
199
|
+
result: { type: 'null' },
|
|
200
|
+
errors: REFUSED,
|
|
201
|
+
},
|
|
202
|
+
taking: {
|
|
203
|
+
description:
|
|
204
|
+
"Draws a key a standing is handed to, and answers its public half, `key`, as hex, which the holder's `cede` names, and `until`, the wall time it stands until: its secret is kept sealed beside every key drawn before, none replacing another, for `removedKeysSpan`, the span the organism keeps what ended, an owner's word, and the `take` that names it spends it. Each `taking` and each `take` that keeps a standing drops the keys and the bytes of a `cede` whose span has passed. It declares no budget: the mouth's steps are waited for.",
|
|
205
|
+
args: objectOf({}),
|
|
206
|
+
result: objectOf({ key: NAMED_KEY, until: count }, ['key', 'until']),
|
|
207
|
+
errors: REFUSED,
|
|
208
|
+
},
|
|
209
|
+
cede: {
|
|
210
|
+
irreversible: 'far',
|
|
211
|
+
description:
|
|
212
|
+
"Hands the standing `far` to the organism whose `taking` drew `to`, the far side told nothing: in the batch of its answer the standing is forgotten as one ended is, sending no `#leave`, each lobe wired to it asked `left` and each ask held on it answered `unavailable`, and the answer is `handed`, the standing whole, its keys, its numbers raised to the bound kept, its newest addresses, its note, its spans and times and its anchor's mark, sealed to `to` as a named key's wrap is sealed, so no ward, heir or key of it reads in the clear. A reply lost, the same `cede` answers the same bytes for `removedKeysSpan`, the span the organism keeps what ended, an owner's word, across boots, and one naming another `to` within it is refused. Refused for a `far` that is no standing it holds or not bound, and for a `to` that is no named key; `busy` while an ask is in flight on it or its move is not on disk. It declares no budget: the mouth's steps are waited for.",
|
|
213
|
+
args: objectOf({ far: text, to: NAMED_KEY }, ['far', 'to']),
|
|
214
|
+
result: objectOf({ handed: HANDED }, ['handed']),
|
|
215
|
+
errors: REFUSED,
|
|
216
|
+
},
|
|
217
|
+
take: {
|
|
218
|
+
description:
|
|
219
|
+
"Takes the standing `handed` that a `cede` answered, opened by `key`, the public half of a key `taking` drew, which alone is spent, in the batch that keeps it, so a standing handed is taken once and a key takes one: the brain keeps it as the organism's with the note, spans and times it was handed, `note` in its note's place where named, and grants it under `relation` to `lobe`, a lobe of the periphery, where named, else to the present lobes, as `accept` grants. It is bound already, so nothing crosses, and its numbers go on above those handed. Refused, nothing kept and the key unspent, where a lobe it would be granted to holds `relation` already, where no lobe is named and none is present, where `key` is none `taking` drew or one past its `until`, for bytes not sealed to it, and for a standing this organism holds already. It answers the far organism of the standing. It declares no budget: the mouth's steps are waited for.",
|
|
220
|
+
args: objectOf({ handed: HANDED, key: NAMED_KEY, relation: text, lobe: text, note: {} }, [
|
|
221
|
+
'handed',
|
|
222
|
+
'key',
|
|
223
|
+
'relation',
|
|
224
|
+
]),
|
|
225
|
+
result: objectOf({ far: text }, ['far']),
|
|
226
|
+
errors: REFUSED,
|
|
227
|
+
},
|
|
228
|
+
backupPiece: {
|
|
229
|
+
description:
|
|
230
|
+
"A piece of the backup `backup` answered by `mark`: at most `length` of its sealed bytes from `at`, as long as the asker can hold, once they are written, so an owner or a wired lobe carries it off the device while it is written. The piece that holds its last byte says the backup whole: its size in `bytes`, each cell left out, and in `lost` each node whose rows a page that reads not may have held. The ask at its end, `at` its size, answers none and takes the backup from beside the store. Refused where another backup stands in its place, none does, or its writing failed, saying why. It declares no budget: the piece's own bytes are waited for.",
|
|
231
|
+
args: objectOf({ mark: text, at: count, length: count }, ['mark', 'at', 'length']),
|
|
232
|
+
result: objectOf(
|
|
233
|
+
{
|
|
234
|
+
piece: {},
|
|
235
|
+
bytes: count,
|
|
236
|
+
unread: {
|
|
237
|
+
type: 'array',
|
|
238
|
+
items: objectOf({ lobe: text, key: text }, ['lobe', 'key']),
|
|
239
|
+
},
|
|
240
|
+
lost: { type: 'array', items: text },
|
|
241
|
+
},
|
|
242
|
+
['piece'],
|
|
243
|
+
),
|
|
244
|
+
errors: REFUSED,
|
|
245
|
+
},
|
|
246
|
+
upgrade: {
|
|
247
|
+
description:
|
|
248
|
+
"Moves the organism to the genome of `version`, the package whose SHA-256 is `digest`, from the installer's channel or the `channel` named. The installer finds it, the brain answers its version, and the act starts apart: the old package and the old store laid aside, the new version tried, and kept or gone back by itself. Any other bytes are refused, and the version this genome runs. It declares no budget: the channel is waited for.",
|
|
249
|
+
args: objectOf({ version: text, digest: text, channel: text }, ['version', 'digest']),
|
|
250
|
+
result: objectOf({ version: text }, ['version']),
|
|
251
|
+
errors: REFUSED,
|
|
252
|
+
},
|
|
253
|
+
repost: {
|
|
254
|
+
description:
|
|
255
|
+
"Posts a dead letter again, under its own number, so its lobe takes it in the sequence it was posted, living the letters' span from now or to its own time where later, its attempts counted afresh; one whose lobe is gone is refused.",
|
|
256
|
+
args: objectOf({ lobe: text, number: count }, ['lobe', 'number']),
|
|
257
|
+
result: { type: 'null' },
|
|
258
|
+
errors: REFUSED,
|
|
259
|
+
budget: 100,
|
|
260
|
+
},
|
|
261
|
+
forget: {
|
|
262
|
+
irreversible: 'lobe',
|
|
263
|
+
description:
|
|
264
|
+
'Drops a dead letter, or a letter waiting, by its `number`, which then never takes effect; one its lobe takes now answers `busy`, since it may take effect. Or ends an alarm of the lobe by its ID, `alarm`, as `state` shows it, which then never rings.',
|
|
265
|
+
args: objectOf({ lobe: text, number: count, alarm: count }, ['lobe']),
|
|
266
|
+
result: { type: 'null' },
|
|
267
|
+
errors: REFUSED,
|
|
268
|
+
},
|
|
269
|
+
cancel: {
|
|
270
|
+
description: "Ends the durable ask an asker made of an organ's method, so the organ is never sent it again.",
|
|
271
|
+
args: objectOf({ organ: text, asker: text, method: text }, ['organ', 'asker', 'method']),
|
|
272
|
+
result: { type: 'null' },
|
|
273
|
+
errors: REFUSED,
|
|
274
|
+
budget: 100,
|
|
275
|
+
},
|
|
276
|
+
relate: {
|
|
277
|
+
askers: [EAR],
|
|
278
|
+
description:
|
|
279
|
+
"The ear's alone: makes the far organism of an invitation, wired only to the node that asked, and the relation of a fresh occupant of the heir. The invitation waits `waits` for a knock, null until it is knocked on or ended, and the relation lives `lives` once bound, null for good. With `anchor`, it is the next anchor's, to the brain, for good. With `ward`, the invitation is drawn on that ward, drawn for it alone, which the relation keeps and lets go with it; its `through` is the address of the organism always on it is drawn through, which the brain keeps until the relation ends. With `note`, the inviter's, at most 4 KiB as its canonical text by default, kept beside the standing, null where none is named. With `says`, what the invitation says, at most a quarter of its note's bound, whole number down, 1 KiB by default, and never kept. With `again`, the far organism of an occupant `node` gave, the relation of that occupant is replaced in one change by a fresh occupant of the heir: the old relation, its step and its ward end at once with no keys kept, the far organism, its wires and its note stay, and it waits for its first knock again; refused for an end that is no occupant and for the anchor's and the next anchor's. With `first`, it is the first invitation, to the brain while not owned, and the one waiting: every other relation to the brain not yet bound ends in its change; refused beside `anchor` or `again`, and once owned.",
|
|
280
|
+
args: objectOf(
|
|
281
|
+
{
|
|
282
|
+
node: text,
|
|
283
|
+
heir: key,
|
|
284
|
+
waits: nullOr(count),
|
|
285
|
+
lives: nullOr(count),
|
|
286
|
+
anchor: { type: 'boolean' },
|
|
287
|
+
ward: WARD,
|
|
288
|
+
note: {},
|
|
289
|
+
says: SAYS,
|
|
290
|
+
again: text,
|
|
291
|
+
first: { type: 'boolean' },
|
|
292
|
+
},
|
|
293
|
+
['node', 'heir', 'waits', 'lives'],
|
|
294
|
+
),
|
|
295
|
+
result: objectOf({ far: text }, ['far']),
|
|
296
|
+
errors: REFUSED,
|
|
297
|
+
budget: 100,
|
|
298
|
+
},
|
|
299
|
+
relation: {
|
|
300
|
+
askers: [EAR],
|
|
301
|
+
description:
|
|
302
|
+
"The ear's alone: a relation's far organism and Quo's occupant, for an heir or for the ward drawn for it, and that ward where it has one, `linked` while the reference of a link naming that ward waits. The far organism is null for a relation that ended, and the answer null for an heir or a ward the brain keeps none of.",
|
|
303
|
+
args: {
|
|
304
|
+
anyOf: [objectOf({ heir: key }, ['heir']), objectOf({ ward: WARD_NAME }, ['ward'])],
|
|
305
|
+
},
|
|
306
|
+
result: nullOr(
|
|
307
|
+
objectOf(
|
|
308
|
+
{
|
|
309
|
+
far: nullOr(text),
|
|
310
|
+
occupant: OCCUPANT,
|
|
311
|
+
ward: WARD,
|
|
312
|
+
linked: { type: 'boolean' },
|
|
313
|
+
},
|
|
314
|
+
['far', 'occupant'],
|
|
315
|
+
),
|
|
316
|
+
),
|
|
317
|
+
errors: REFUSED,
|
|
318
|
+
budget: 100,
|
|
319
|
+
},
|
|
320
|
+
lines: {
|
|
321
|
+
askers: [EAR],
|
|
322
|
+
description:
|
|
323
|
+
"The ear's alone: every line with a ward still standing, `[{address, wards}]`, each ward `{name, sealed}`, its record `key` sealed, of which `key` makes its proof on the line, from the brain's own rows, a relation drawn through an address in it until it ends. The brain asks the ear `relisten {}` after each change that moved a line.",
|
|
324
|
+
args: objectOf({}, []),
|
|
325
|
+
result: {
|
|
326
|
+
type: 'array',
|
|
327
|
+
items: objectOf(
|
|
328
|
+
{
|
|
329
|
+
address: text,
|
|
330
|
+
wards: { type: 'array', items: WARD },
|
|
331
|
+
},
|
|
332
|
+
['address', 'wards'],
|
|
333
|
+
),
|
|
334
|
+
},
|
|
335
|
+
errors: REFUSED,
|
|
336
|
+
budget: 100,
|
|
337
|
+
},
|
|
338
|
+
line: {
|
|
339
|
+
askers: [EAR],
|
|
340
|
+
description:
|
|
341
|
+
"The ear's alone: a line naming `wards` came up or went down, `up` telling which, told it by `network` for a line accepted or held. On up, the standings on those wards are bound again, their silence cleared, and once that has landed each lobe granted one is asked `back {placeholder}`; on down, nothing of them, since an ask that fails marks the silence itself. Either way, once the change has landed, the lobe of each occupant drawn through a line on one of those wards is asked `line {far, up}`, `far` the far organism of that occupant. All answers are discarded. A ward no end is on asks nobody.",
|
|
342
|
+
args: objectOf({ wards: { type: 'array', items: WARD_NAME }, up: { type: 'boolean' } }, ['wards', 'up']),
|
|
343
|
+
result: { type: 'null' },
|
|
344
|
+
errors: REFUSED,
|
|
345
|
+
budget: 100,
|
|
346
|
+
},
|
|
347
|
+
pass: {
|
|
348
|
+
askers: [EAR],
|
|
349
|
+
description:
|
|
350
|
+
"The ear's alone: carries the ask of a relation's far organism to the node that holds it, within the longest timeout, and commits the relation's next occupant in the batch of the node's answer. The relation binds where `next` is spent and it was not; on a spent relation, `next` moves past the highest number kept, by a key it holds. With `refused`, why the args Quo opened are no data, the node is never asked: the next occupant commits and the far organism hears `refused`. Answers the answer the far organism heard, and what it saw: the digest of the node's faculty, or the blueprint name of an organ. It declares no budget, since it waits on the node's answer.",
|
|
351
|
+
args: objectOf(
|
|
352
|
+
{
|
|
353
|
+
heir: key,
|
|
354
|
+
method: nullOr(text),
|
|
355
|
+
args: {},
|
|
356
|
+
refused: text,
|
|
357
|
+
next: OCCUPANT,
|
|
358
|
+
},
|
|
359
|
+
['heir', 'method', 'args', 'next'],
|
|
360
|
+
),
|
|
361
|
+
result: objectOf({ answer: {}, seen: text }, ['answer', 'seen']),
|
|
362
|
+
errors: REFUSED,
|
|
363
|
+
},
|
|
364
|
+
end: {
|
|
365
|
+
askers: [EAR],
|
|
366
|
+
description:
|
|
367
|
+
"The ear's alone: ends the relation of a far organism that `node` holds, and tears the far organism down. A standing it holds ends as the mouth's `leave` ends one.",
|
|
368
|
+
args: objectOf({ far: text, node: text }, ['far', 'node']),
|
|
369
|
+
errors: REFUSED,
|
|
370
|
+
budget: 500,
|
|
371
|
+
},
|
|
372
|
+
stand: {
|
|
373
|
+
askers: [MOUTH],
|
|
374
|
+
description:
|
|
375
|
+
"The mouth's alone: makes the far organism of a standing, held by `node`, keeps Quo's standing end beside it with the accepter's `note`, at most 4 KiB as its canonical text by default, null where none is named, and wires the node's placeholder to it. With the spans its invitation carried, null for none: the standing lapses here, by this side's clock, unknocked past `waits` from now and bound past `lives` from its bind, and nothing is left of it.",
|
|
376
|
+
args: objectOf(STAND, ['node', 'placeholder', 'standing']),
|
|
377
|
+
result: objectOf({ far: text }, ['far']),
|
|
378
|
+
errors: REFUSED,
|
|
379
|
+
budget: 100,
|
|
380
|
+
},
|
|
381
|
+
leave: {
|
|
382
|
+
askers: [MOUTH],
|
|
383
|
+
description:
|
|
384
|
+
"The mouth's alone: the accepting side ends the standing of `far` that `node` holds. The brain sends the inviting side one last letter, `#leave`, over it, where it was knocked on, then forgets it whatever answers: its far organism torn down with the wire that reaches it, and its row gone from `ends`.",
|
|
385
|
+
args: objectOf({ node: text, far: text }, ['node', 'far']),
|
|
386
|
+
result: { type: 'null' },
|
|
387
|
+
errors: REFUSED,
|
|
388
|
+
budget: 500,
|
|
389
|
+
},
|
|
390
|
+
keep: {
|
|
391
|
+
askers: [MOUTH],
|
|
392
|
+
description:
|
|
393
|
+
"The mouth's alone: keeps what a box needs kept before it goes, committed alone: on a bound standing, the move it goes under where that is not yet kept, a piece's of a carry in pieces among them, and the bound raised past its number where it does not lie below the one kept, nothing where neither is so; else the standing whole, so no number goes for two asks, no box goes under a move a crash would lose, and Quo's probe resolves a knock after a crash.",
|
|
394
|
+
args: objectOf({ far: text, standing: { type: 'object' } }, ['far', 'standing']),
|
|
395
|
+
result: { type: 'null' },
|
|
396
|
+
errors: REFUSED,
|
|
397
|
+
budget: 100,
|
|
398
|
+
},
|
|
399
|
+
pause: {
|
|
400
|
+
askers: [MOUTH],
|
|
401
|
+
description:
|
|
402
|
+
"The mouth's alone: a door replied the box of `far` nothing `tries` times: the brain answers once the pause before it goes again has passed, with the time the ask has `left`, 0 where it has none to send it in, or `unavailable` where the relation ended or its lobe was cut off in the pause.",
|
|
403
|
+
args: objectOf({ far: text, tries: count }, ['far', 'tries']),
|
|
404
|
+
result: objectOf({ left: { type: 'number' } }, ['left']),
|
|
405
|
+
errors: REFUSED,
|
|
406
|
+
},
|
|
407
|
+
wake: {
|
|
408
|
+
askers: [SCHEDULER],
|
|
409
|
+
description:
|
|
410
|
+
"The scheduler's alone: its one durable wake moves to `at` on the wall clock, or ends where it is null. When it is due the brain asks the scheduler `wake`, again at boot while it stands.",
|
|
411
|
+
args: objectOf({ at: nullOr(count) }, ['at']),
|
|
412
|
+
result: { type: 'null' },
|
|
413
|
+
errors: REFUSED,
|
|
414
|
+
budget: 100,
|
|
415
|
+
},
|
|
416
|
+
state: {
|
|
417
|
+
description:
|
|
418
|
+
"The organism's nodes with their wires and statuses, their queues, and the asks, work, faults and cut offs of each lobe, with the why of its last fault; the latest asks carried, as many as the configuration names, newest first, each with its asker, its node, its method, its answer's kind, when and the work it counted, and the store's size in bytes, in memory alone; each organ added with its reach and host half; the fingerprint; the present lobes and the anchor; whether it is owned, and each relation to the brain, waiting or bound, the next anchor's marked; the genome's version, each letter kept and each durable ask. It shows no cells. It answers page by page: every page holds all but the lists, which run on from `cursor`, the nodes, then the letters, then the durable asks, and its `cursor` is the next page's, null on the last.",
|
|
419
|
+
args: objectOf({ cursor: text }),
|
|
420
|
+
result: STATE,
|
|
421
|
+
errors: REFUSED,
|
|
422
|
+
budget: 100,
|
|
423
|
+
},
|
|
424
|
+
ends: {
|
|
425
|
+
description:
|
|
426
|
+
"Every end the organism's nodes gave or hold, of one node where `lobe` names it, each with its lobe, null for a standing, its far organism, its side, `occupant` or `standing`, its note, whether it is `waiting` for a knock, `bound`, `ungiven`, given by nobody yet, or, held, `silent`, its last ask answered `silent` or `removed`, the wall times it was invited, bound and fell silent, null where none was kept or it is not silent, and the span it lives once bound, null for good, a standing's as its invitation carried it; a standing names too whether its invitation marked it an anchor's, `anchor`, and `lobes`, each lobe it is granted to with its placeholder and its own note. An ended standing is gone. It answers page by page, from `cursor`, and its `cursor` is the next page's, null on the last.",
|
|
427
|
+
args: objectOf({ lobe: text, cursor: text }),
|
|
428
|
+
result: ENDS,
|
|
429
|
+
errors: REFUSED,
|
|
430
|
+
budget: 100,
|
|
431
|
+
},
|
|
432
|
+
character: {
|
|
433
|
+
description:
|
|
434
|
+
"The organism's character, `{name, voice, goals}`, who it is and what it is for, or null where none is set.",
|
|
435
|
+
args: objectOf({}),
|
|
436
|
+
result: {},
|
|
437
|
+
budget: 100,
|
|
438
|
+
},
|
|
439
|
+
setCharacter: {
|
|
440
|
+
description:
|
|
441
|
+
"Keeps the organism's character, `{name, voice, goals}`, each free data, null where none is named, at most 4 KiB as its canonical text by default and never a secret; answers it as kept; the later write stands. Refused past 4 KiB, nothing kept.",
|
|
442
|
+
args: objectOf({ name: {}, voice: {}, goals: {} }),
|
|
443
|
+
result: {},
|
|
444
|
+
errors: REFUSED,
|
|
445
|
+
budget: 100,
|
|
446
|
+
},
|
|
447
|
+
limit: {
|
|
448
|
+
description:
|
|
449
|
+
"An owner's word over a limit, `{name, lobe, value}`: a bound of a lobe, `longestBudget`, `longestTimeout`, `lobeMemory`, `queue.ceiling`, `queue.share`, `readingCeiling`, `letters.attempts`, `letters.span`, `letters.ceiling`, `space`, `invitations`, `note`, the most a note it keeps holds, `still`, the cap of how long a work of pieces may stand still, which the lobe reads in its `nerves`, or `changes`, which null alone moves, lifting for a lobe the default that a run a stranger's ask begins on the zero head changes nothing, for the lobe named or, naming none, every lobe with no word of its own; the organism's `character`, `workers`, `warm`, `grace`, `traced`, `removedKeysSpan` or `diskSickBelowFull`; or its carriers' `connections`, `lines`, `handshakes`, each with its `.share`, `source.v6`, the prefix an IPv6 source is counted by, `flight`, `idle` or `wait`. A count raises or lowers it, null lifts it, and no value takes the word back. It lasts across boots and holds from the next ask, a carrier's from the next connection, `traced` from the next boot. What a lobe hears of its memory never moves. Refused, nothing kept, for a name no limit has, a lobe not known, `space` for a core lobe, a count for `changes`, or a value that is no count.",
|
|
450
|
+
args: objectOf({ name: { type: 'string' }, lobe: { type: 'string' }, value: {} }, ['name']),
|
|
451
|
+
result: {},
|
|
452
|
+
errors: REFUSED,
|
|
453
|
+
budget: 100,
|
|
454
|
+
},
|
|
455
|
+
limits: {
|
|
456
|
+
description: "Every owner's word kept over a limit, `[{name, lobe, value}]`, value null where it lifts it.",
|
|
457
|
+
args: objectOf({}),
|
|
458
|
+
result: {},
|
|
459
|
+
budget: 100,
|
|
460
|
+
},
|
|
461
|
+
portrait: {
|
|
462
|
+
description:
|
|
463
|
+
"What the organism is, at once: Nervur's guide at the genome's version, its character, each lobe with its faculty's name, version and guide and whether it is off, the sources among them, whose `state` names each, and the first page of `state`.",
|
|
464
|
+
args: objectOf({}),
|
|
465
|
+
result: {},
|
|
466
|
+
budget: 100,
|
|
467
|
+
},
|
|
468
|
+
authoring: {
|
|
469
|
+
description:
|
|
470
|
+
"Nervur's authoring at the genome's version, how to install, own and build on Nervur, as the Markdown it is: carried beside Nervur's guide, which `portrait` answers.",
|
|
471
|
+
args: objectOf({}),
|
|
472
|
+
result: { type: 'string' },
|
|
473
|
+
budget: 100,
|
|
474
|
+
},
|
|
475
|
+
ward: {
|
|
476
|
+
description:
|
|
477
|
+
'Draws a new public ward in place of the one that stands, which answers nothing again, near or far: its answer is the new card. Relations on wards of their own go on; a relation drawn on the old public ward stands silent until `reinvite` gives it again.',
|
|
478
|
+
args: objectOf({}),
|
|
479
|
+
result: CARD,
|
|
480
|
+
errors: REFUSED,
|
|
481
|
+
},
|
|
482
|
+
card: {
|
|
483
|
+
description:
|
|
484
|
+
"The organism's card, `{ward, at}`: its public ward, 128 lowercase hex, and the addresses it is reached at, empty where it is reached nowhere yet, the very ward and addresses an invitation drawn with `public` carries, asked of the ear, which draws both. The brain keeps no copy and writes no cell. An owner hands the card to whomever it chooses.",
|
|
485
|
+
args: objectOf({}),
|
|
486
|
+
result: CARD,
|
|
487
|
+
errors: REFUSED,
|
|
488
|
+
budget: 500,
|
|
489
|
+
},
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
const READING = new Set([
|
|
493
|
+
'uses',
|
|
494
|
+
'lobes',
|
|
495
|
+
'relation',
|
|
496
|
+
'lines',
|
|
497
|
+
'state',
|
|
498
|
+
'ends',
|
|
499
|
+
'character',
|
|
500
|
+
'limits',
|
|
501
|
+
'portrait',
|
|
502
|
+
'authoring',
|
|
503
|
+
'card',
|
|
504
|
+
'offer',
|
|
505
|
+
]);
|
|
506
|
+
const methods = Object.fromEntries(
|
|
507
|
+
Object.entries(declared).map(([name, method]) => [
|
|
508
|
+
name,
|
|
509
|
+
{ ...method, kind: READING.has(name) ? 'reading' : 'writing' },
|
|
510
|
+
]),
|
|
511
|
+
);
|
|
512
|
+
|
|
513
|
+
export const BRAIN_BLUEPRINT = {
|
|
514
|
+
name: 'nervur.brain',
|
|
515
|
+
version: GENOME_VERSION,
|
|
516
|
+
description: "The brain: faculties and lobes, wiring, reaching and the organism's state.",
|
|
517
|
+
guide: NERVUR_GUIDE,
|
|
518
|
+
methods,
|
|
519
|
+
placeholders: { store: 'nervur.store', cage: 'nervur.cage' },
|
|
520
|
+
};
|
|
521
|
+
|
|
522
|
+
export const BRAIN_ARGS = compiledArgs(methods);
|
|
523
|
+
|
|
524
|
+
export const askedBy = (node ) =>
|
|
525
|
+
new Set(Object.keys(methods).filter((name) => methods[name]?.askers?.includes(node) === true));
|
|
526
|
+
|
|
527
|
+
export const askersOf = (method ) =>
|
|
528
|
+
Object.hasOwn(methods, method) ? methods[method]?.askers : undefined;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type Data } from '#standard';
|
|
2
|
+
import type { Join, Sent, StandingAsk } from '../carry/index.js';
|
|
3
|
+
import type { Batch } from '#cage';
|
|
4
|
+
import type { BrainGear, Done } from './kit.js';
|
|
5
|
+
import { type Wiring } from './version.js';
|
|
6
|
+
import { type BrainStill, type BrainThawed } from './still.js';
|
|
7
|
+
export type { BrainGear } from './kit.js';
|
|
8
|
+
export type Brain = {
|
|
9
|
+
answer(asker: string, method: string | null, args: Data, done: Done, joined?: Batch): void;
|
|
10
|
+
nerves(lobe: string, method: string, args: Data, done: Done): void;
|
|
11
|
+
standing(ask: StandingAsk): Sent | null;
|
|
12
|
+
ending(far: string): boolean;
|
|
13
|
+
carried(asker: string, placeholder: string, method: string | null, args: Data, done: Done, join?: Join | null, span?: number): void;
|
|
14
|
+
sweep(): void;
|
|
15
|
+
withTheGenome(lobe: string, digest: string, wiring: Wiring, done: Done): void;
|
|
16
|
+
};
|
|
17
|
+
export declare const makeBrain: (gear: BrainGear, thawed?: BrainThawed) => Brain & {
|
|
18
|
+
readonly still: BrainStill;
|
|
19
|
+
};
|