@amalgm/shell 0.1.164-preview.41762776698 → 0.1.164-preview.44386772850
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/PURPOSE.md +359 -235
- package/README.md +18 -0
- package/dist/accepted-fold.d.ts +51 -0
- package/dist/accepted-fold.js +106 -0
- package/dist/accepted-fold.js.map +1 -0
- package/dist/accepted-tail.d.ts +19 -9
- package/dist/accepted-tail.js +28 -11
- package/dist/accepted-tail.js.map +1 -1
- package/dist/accepted-view.d.ts +27 -0
- package/dist/accepted-view.js +8 -0
- package/dist/accepted-view.js.map +1 -0
- package/dist/apply-attempt-memory.d.ts +13 -0
- package/dist/apply-attempt-memory.js +26 -0
- package/dist/apply-attempt-memory.js.map +1 -0
- package/dist/apply-control.d.ts +85 -0
- package/dist/apply-control.js +131 -0
- package/dist/apply-control.js.map +1 -0
- package/dist/apply-displaced-tree.d.ts +63 -0
- package/dist/apply-displaced-tree.js +148 -0
- package/dist/apply-displaced-tree.js.map +1 -0
- package/dist/apply-durability.d.ts +33 -0
- package/dist/apply-durability.js +72 -0
- package/dist/apply-durability.js.map +1 -0
- package/dist/apply-enter-build.d.ts +91 -0
- package/dist/apply-enter-build.js +145 -0
- package/dist/apply-enter-build.js.map +1 -0
- package/dist/apply-enter-plan.d.ts +79 -0
- package/dist/apply-enter-plan.js +148 -0
- package/dist/apply-enter-plan.js.map +1 -0
- package/dist/apply-fingerprint.d.ts +39 -0
- package/dist/apply-fingerprint.js +84 -0
- package/dist/apply-fingerprint.js.map +1 -0
- package/dist/apply-git-held.d.ts +29 -0
- package/dist/apply-git-held.js +184 -0
- package/dist/apply-git-held.js.map +1 -0
- package/dist/apply-git-storage.d.ts +38 -0
- package/dist/apply-git-storage.js +110 -0
- package/dist/apply-git-storage.js.map +1 -0
- package/dist/apply-kept.d.ts +42 -0
- package/dist/apply-kept.js +135 -0
- package/dist/apply-kept.js.map +1 -0
- package/dist/apply-local-work.d.ts +41 -0
- package/dist/apply-local-work.js +72 -0
- package/dist/apply-local-work.js.map +1 -0
- package/dist/apply-map.d.ts +116 -0
- package/dist/apply-map.js +383 -0
- package/dist/apply-map.js.map +1 -0
- package/dist/apply-showing.d.ts +104 -0
- package/dist/apply-showing.js +236 -0
- package/dist/apply-showing.js.map +1 -0
- package/dist/apply-shown-again.d.ts +28 -0
- package/dist/apply-shown-again.js +81 -0
- package/dist/apply-shown-again.js.map +1 -0
- package/dist/apply-spelling.d.ts +35 -0
- package/dist/apply-spelling.js +79 -0
- package/dist/apply-spelling.js.map +1 -0
- package/dist/apply-trash-keep.d.ts +96 -0
- package/dist/apply-trash-keep.js +194 -0
- package/dist/apply-trash-keep.js.map +1 -0
- package/dist/apply-window-cargo.d.ts +54 -0
- package/dist/apply-window-cargo.js +219 -0
- package/dist/apply-window-cargo.js.map +1 -0
- package/dist/apply-window-ground.d.ts +130 -0
- package/dist/apply-window-ground.js +324 -0
- package/dist/apply-window-ground.js.map +1 -0
- package/dist/apply-window-host.d.ts +136 -0
- package/dist/apply-window-host.js +1842 -0
- package/dist/apply-window-host.js.map +1 -0
- package/dist/apply-window-lane.d.ts +30 -0
- package/dist/apply-window-lane.js +311 -0
- package/dist/apply-window-lane.js.map +1 -0
- package/dist/apply-window-line.d.ts +31 -0
- package/dist/apply-window-line.js +150 -0
- package/dist/apply-window-line.js.map +1 -0
- package/dist/apply-window-recovery.d.ts +5 -0
- package/dist/apply-window-recovery.js +72 -0
- package/dist/apply-window-recovery.js.map +1 -0
- package/dist/apply-window-reveal.d.ts +22 -0
- package/dist/apply-window-reveal.js +98 -0
- package/dist/apply-window-reveal.js.map +1 -0
- package/dist/apply-window-rows.d.ts +144 -0
- package/dist/apply-window-rows.js +178 -0
- package/dist/apply-window-rows.js.map +1 -0
- package/dist/apply-window-saves.d.ts +224 -0
- package/dist/apply-window-saves.js +674 -0
- package/dist/apply-window-saves.js.map +1 -0
- package/dist/apply-window-store.d.ts +126 -0
- package/dist/apply-window-store.js +312 -0
- package/dist/apply-window-store.js.map +1 -0
- package/dist/apply-window-verify.d.ts +65 -0
- package/dist/apply-window-verify.js +195 -0
- package/dist/apply-window-verify.js.map +1 -0
- package/dist/authority-binding.d.ts +1 -24
- package/dist/authority-binding.js +44 -9
- package/dist/authority-binding.js.map +1 -1
- package/dist/background-error.d.ts +4 -0
- package/dist/background-error.js +15 -0
- package/dist/background-error.js.map +1 -0
- package/dist/baseline-content.d.ts +12 -0
- package/dist/baseline-content.js +12 -0
- package/dist/baseline-content.js.map +1 -0
- package/dist/billing/cli.d.ts +18 -0
- package/dist/billing/cli.js +276 -0
- package/dist/billing/cli.js.map +1 -0
- package/dist/billing/mount.d.ts +12 -0
- package/dist/billing/mount.js +34 -0
- package/dist/billing/mount.js.map +1 -0
- package/dist/billing/tools.d.ts +57 -0
- package/dist/billing/tools.js +141 -0
- package/dist/billing/tools.js.map +1 -0
- package/dist/boot-identity.d.ts +1 -0
- package/dist/boot-identity.js +39 -0
- package/dist/boot-identity.js.map +1 -0
- package/dist/browser-host.d.ts +4 -3
- package/dist/browser-host.js +29 -14
- package/dist/browser-host.js.map +1 -1
- package/dist/captured-rows.d.ts +33 -0
- package/dist/captured-rows.js +45 -0
- package/dist/captured-rows.js.map +1 -0
- package/dist/cargo-group.d.ts +31 -17
- package/dist/cargo-group.js +78 -29
- package/dist/cargo-group.js.map +1 -1
- package/dist/cargo-journal.d.ts +45 -0
- package/dist/cargo-journal.js +130 -0
- package/dist/cargo-journal.js.map +1 -0
- package/dist/chat-composition.d.ts +4 -1
- package/dist/chat-composition.js +4 -1
- package/dist/chat-composition.js.map +1 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +129 -55
- package/dist/cli.js.map +1 -1
- package/dist/construct-apply-host.d.ts +8 -7
- package/dist/construct-apply-host.js +20 -8
- package/dist/construct-apply-host.js.map +1 -1
- package/dist/construct-door.d.ts +2 -0
- package/dist/construct-door.js +4 -3
- package/dist/construct-door.js.map +1 -1
- package/dist/construct-ledger.d.ts +2 -0
- package/dist/construct-ledger.js +13 -1
- package/dist/construct-ledger.js.map +1 -1
- package/dist/content-cache-collection.d.ts +11 -4
- package/dist/content-cache-collection.js +74 -62
- package/dist/content-cache-collection.js.map +1 -1
- package/dist/content-cache-fences.d.ts +27 -0
- package/dist/content-cache-fences.js +116 -0
- package/dist/content-cache-fences.js.map +1 -0
- package/dist/content-cache-host.d.ts +163 -91
- package/dist/content-cache-host.js +531 -354
- package/dist/content-cache-host.js.map +1 -1
- package/dist/content-cache-index.d.ts +36 -7
- package/dist/content-cache-index.js +79 -32
- package/dist/content-cache-index.js.map +1 -1
- package/dist/content-cache-namespace.d.ts +28 -34
- package/dist/content-cache-namespace.js +85 -99
- package/dist/content-cache-namespace.js.map +1 -1
- package/dist/content-cache-partials.d.ts +37 -0
- package/dist/content-cache-partials.js +79 -0
- package/dist/content-cache-partials.js.map +1 -0
- package/dist/content-cache-retention.d.ts +27 -12
- package/dist/content-cache-retention.js +143 -132
- package/dist/content-cache-retention.js.map +1 -1
- package/dist/content-capture-pool.d.ts +70 -83
- package/dist/content-capture-pool.js +112 -82
- package/dist/content-capture-pool.js.map +1 -1
- package/dist/content-capture-worker.d.ts +3 -4
- package/dist/content-capture-worker.js +28 -35
- package/dist/content-capture-worker.js.map +1 -1
- package/dist/content-clock.d.ts +54 -28
- package/dist/content-clock.js +345 -102
- package/dist/content-clock.js.map +1 -1
- package/dist/content-direct.d.ts +0 -2
- package/dist/content-direct.js +53 -31
- package/dist/content-direct.js.map +1 -1
- package/dist/content-qualification.d.ts +72 -0
- package/dist/content-qualification.js +129 -0
- package/dist/content-qualification.js.map +1 -0
- package/dist/credentials-host.js +3 -2
- package/dist/credentials-host.js.map +1 -1
- package/dist/derived-relocation.d.ts +31 -0
- package/dist/derived-relocation.js +71 -0
- package/dist/derived-relocation.js.map +1 -0
- package/dist/detection/accepted-result.js +3 -3
- package/dist/detection/accepted-result.js.map +1 -1
- package/dist/detection/admission-save.d.ts +25 -14
- package/dist/detection/admission-save.js +34 -22
- package/dist/detection/admission-save.js.map +1 -1
- package/dist/detection/admission-units.d.ts +32 -20
- package/dist/detection/admission-units.js +230 -97
- package/dist/detection/admission-units.js.map +1 -1
- package/dist/detection/alias-examination.d.ts +5 -2
- package/dist/detection/alias-examination.js +15 -3
- package/dist/detection/alias-examination.js.map +1 -1
- package/dist/detection/apply-ownership.d.ts +70 -44
- package/dist/detection/apply-ownership.js +140 -132
- package/dist/detection/apply-ownership.js.map +1 -1
- package/dist/detection/basis-advanced.d.ts +4 -0
- package/dist/detection/basis-advanced.js +9 -0
- package/dist/detection/basis-advanced.js.map +1 -1
- package/dist/detection/cached-replay.d.ts +38 -0
- package/dist/detection/cached-replay.js +66 -0
- package/dist/detection/cached-replay.js.map +1 -0
- package/dist/detection/capture-outcome.js +33 -36
- package/dist/detection/capture-outcome.js.map +1 -1
- package/dist/detection/container-membership.d.ts +13 -25
- package/dist/detection/container-membership.js +24 -28
- package/dist/detection/container-membership.js.map +1 -1
- package/dist/detection/directory-proof.js +1 -1
- package/dist/detection/directory-proof.js.map +1 -1
- package/dist/detection/dispositions.d.ts +10 -33
- package/dist/detection/dispositions.js +27 -91
- package/dist/detection/dispositions.js.map +1 -1
- package/dist/detection/examinations.d.ts +33 -0
- package/dist/detection/examinations.js +50 -0
- package/dist/detection/examinations.js.map +1 -0
- package/dist/detection/ground-proof.d.ts +35 -11
- package/dist/detection/ground-proof.js +111 -52
- package/dist/detection/ground-proof.js.map +1 -1
- package/dist/detection/ground-reader.d.ts +10 -10
- package/dist/detection/ground-reader.js +19 -42
- package/dist/detection/ground-reader.js.map +1 -1
- package/dist/detection/identity-discovery.d.ts +1 -1
- package/dist/detection/identity-discovery.js +27 -35
- package/dist/detection/identity-discovery.js.map +1 -1
- package/dist/detection/maintenance-sweep.d.ts +5 -2
- package/dist/detection/maintenance-sweep.js +15 -5
- package/dist/detection/maintenance-sweep.js.map +1 -1
- package/dist/detection/notebook-basis.d.ts +6 -3
- package/dist/detection/notebook-basis.js +8 -5
- package/dist/detection/notebook-basis.js.map +1 -1
- package/dist/detection/owed-examinations.d.ts +22 -0
- package/dist/detection/owed-examinations.js +54 -0
- package/dist/detection/owed-examinations.js.map +1 -0
- package/dist/detection/owed-selection.d.ts +23 -20
- package/dist/detection/owed-selection.js +56 -43
- package/dist/detection/owed-selection.js.map +1 -1
- package/dist/detection/policy-owed.d.ts +17 -0
- package/dist/detection/policy-owed.js +33 -0
- package/dist/detection/policy-owed.js.map +1 -0
- package/dist/detection/repository-state.d.ts +44 -0
- package/dist/detection/repository-state.js +95 -0
- package/dist/detection/repository-state.js.map +1 -0
- package/dist/detection/reveal-save.d.ts +17 -0
- package/dist/detection/reveal-save.js +15 -0
- package/dist/detection/reveal-save.js.map +1 -0
- package/dist/detection/root-examination.d.ts +25 -13
- package/dist/detection/root-examination.js +273 -220
- package/dist/detection/root-examination.js.map +1 -1
- package/dist/detection/root-walk.d.ts +191 -0
- package/dist/detection/root-walk.js +1383 -0
- package/dist/detection/root-walk.js.map +1 -0
- package/dist/detection/runtime.d.ts +41 -53
- package/dist/detection/runtime.js +285 -345
- package/dist/detection/runtime.js.map +1 -1
- package/dist/detection/scope-frame.d.ts +82 -0
- package/dist/detection/scope-frame.js +183 -0
- package/dist/detection/scope-frame.js.map +1 -0
- package/dist/detection/scoped-identity-port.d.ts +11 -10
- package/dist/detection/scoped-identity-port.js +18 -25
- package/dist/detection/scoped-identity-port.js.map +1 -1
- package/dist/detection/sharing-policy.d.ts +14 -6
- package/dist/detection/sharing-policy.js +13 -7
- package/dist/detection/sharing-policy.js.map +1 -1
- package/dist/detection/spelled-lookup.d.ts +20 -0
- package/dist/detection/spelled-lookup.js +83 -0
- package/dist/detection/spelled-lookup.js.map +1 -0
- package/dist/detection/unread-content.d.ts +20 -0
- package/dist/detection/unread-content.js +33 -0
- package/dist/detection/unread-content.js.map +1 -0
- package/dist/detection/walk-law.d.ts +11 -21
- package/dist/detection/walk-law.js +14 -22
- package/dist/detection/walk-law.js.map +1 -1
- package/dist/detection/walked-roots.d.ts +17 -0
- package/dist/detection/walked-roots.js +27 -0
- package/dist/detection/walked-roots.js.map +1 -0
- package/dist/detection/withheld.d.ts +100 -0
- package/dist/detection/withheld.js +118 -0
- package/dist/detection/withheld.js.map +1 -0
- package/dist/development/profile.js +1 -1
- package/dist/development/profile.js.map +1 -1
- package/dist/drive/cloud-files/asks.d.ts +7 -0
- package/dist/drive/cloud-files/asks.js +181 -0
- package/dist/drive/cloud-files/asks.js.map +1 -0
- package/dist/drive/cloud-files/binding.d.ts +111 -0
- package/dist/drive/cloud-files/binding.js +31 -0
- package/dist/drive/cloud-files/binding.js.map +1 -0
- package/dist/drive/cloud-files/contents.d.ts +82 -0
- package/dist/drive/cloud-files/contents.js +204 -0
- package/dist/drive/cloud-files/contents.js.map +1 -0
- package/dist/drive/cloud-files/door.d.ts +11 -0
- package/dist/drive/cloud-files/door.js +118 -0
- package/dist/drive/cloud-files/door.js.map +1 -0
- package/dist/drive/cloud-files/paths.d.ts +42 -0
- package/dist/drive/cloud-files/paths.js +93 -0
- package/dist/drive/cloud-files/paths.js.map +1 -0
- package/dist/drive/cloud-files/populated.d.ts +15 -0
- package/dist/drive/cloud-files/populated.js +38 -0
- package/dist/drive/cloud-files/populated.js.map +1 -0
- package/dist/drive/cloud-files/reconcile.d.ts +17 -0
- package/dist/drive/cloud-files/reconcile.js +478 -0
- package/dist/drive/cloud-files/reconcile.js.map +1 -0
- package/dist/drive/cloud-files/sync-root.d.ts +34 -0
- package/dist/drive/cloud-files/sync-root.js +68 -0
- package/dist/drive/cloud-files/sync-root.js.map +1 -0
- package/dist/drive/cloud-files/turns.d.ts +9 -0
- package/dist/drive/cloud-files/turns.js +58 -0
- package/dist/drive/cloud-files/turns.js.map +1 -0
- package/dist/drive/cloud-files/writes.d.ts +27 -0
- package/dist/drive/cloud-files/writes.js +436 -0
- package/dist/drive/cloud-files/writes.js.map +1 -0
- package/dist/drive/computer.d.ts +19 -0
- package/dist/drive/computer.js +61 -0
- package/dist/drive/computer.js.map +1 -0
- package/dist/drive/fuse-opens.d.ts +32 -0
- package/dist/drive/fuse-opens.js +110 -0
- package/dist/drive/fuse-opens.js.map +1 -0
- package/dist/drive/fuse.d.ts +36 -0
- package/dist/drive/fuse.js +102 -0
- package/dist/drive/fuse.js.map +1 -0
- package/dist/drive/kept.d.ts +78 -0
- package/dist/drive/kept.js +263 -0
- package/dist/drive/kept.js.map +1 -0
- package/dist/drive/kernel.d.ts +17 -0
- package/dist/drive/kernel.js +36 -0
- package/dist/drive/kernel.js.map +1 -0
- package/dist/drive/layout.d.ts +18 -0
- package/dist/drive/layout.js +39 -0
- package/dist/drive/layout.js.map +1 -0
- package/dist/drive/mount.d.ts +107 -0
- package/dist/drive/mount.js +259 -0
- package/dist/drive/mount.js.map +1 -0
- package/dist/drive/mountpoint.d.ts +14 -0
- package/dist/drive/mountpoint.js +51 -0
- package/dist/drive/mountpoint.js.map +1 -0
- package/dist/drive/nfs/apple-double.d.ts +6 -0
- package/dist/drive/nfs/apple-double.js +140 -0
- package/dist/drive/nfs/apple-double.js.map +1 -0
- package/dist/drive/nfs/attributes.d.ts +64 -0
- package/dist/drive/nfs/attributes.js +97 -0
- package/dist/drive/nfs/attributes.js.map +1 -0
- package/dist/drive/nfs/handles.d.ts +44 -0
- package/dist/drive/nfs/handles.js +209 -0
- package/dist/drive/nfs/handles.js.map +1 -0
- package/dist/drive/nfs/mount3.d.ts +16 -0
- package/dist/drive/nfs/mount3.js +38 -0
- package/dist/drive/nfs/mount3.js.map +1 -0
- package/dist/drive/nfs/nfs3.d.ts +27 -0
- package/dist/drive/nfs/nfs3.js +516 -0
- package/dist/drive/nfs/nfs3.js.map +1 -0
- package/dist/drive/nfs/rpc.d.ts +66 -0
- package/dist/drive/nfs/rpc.js +122 -0
- package/dist/drive/nfs/rpc.js.map +1 -0
- package/dist/drive/nfs/server.d.ts +30 -0
- package/dist/drive/nfs/server.js +109 -0
- package/dist/drive/nfs/server.js.map +1 -0
- package/dist/drive/nfs/xdr.d.ts +44 -0
- package/dist/drive/nfs/xdr.js +111 -0
- package/dist/drive/nfs/xdr.js.map +1 -0
- package/dist/drive/nfs.d.ts +58 -0
- package/dist/drive/nfs.js +193 -0
- package/dist/drive/nfs.js.map +1 -0
- package/dist/drive/operations.d.ts +180 -0
- package/dist/drive/operations.js +358 -0
- package/dist/drive/operations.js.map +1 -0
- package/dist/drive/shelf.d.ts +9 -0
- package/dist/drive/shelf.js +41 -0
- package/dist/drive/shelf.js.map +1 -0
- package/dist/durability-barrier.d.ts +39 -11
- package/dist/durability-barrier.js +106 -41
- package/dist/durability-barrier.js.map +1 -1
- package/dist/entity-access-wire.d.ts +3 -2
- package/dist/entity-access-wire.js +9 -25
- package/dist/entity-access-wire.js.map +1 -1
- package/dist/entity-channel-holdings.d.ts +7 -7
- package/dist/entity-channel-holdings.js +49 -8
- package/dist/entity-channel-holdings.js.map +1 -1
- package/dist/entity-grant-watch.d.ts +9 -0
- package/dist/entity-grant-watch.js +29 -0
- package/dist/entity-grant-watch.js.map +1 -0
- package/dist/entity-record-observability.d.ts +1 -1
- package/dist/entity-record-observability.js +34 -29
- package/dist/entity-record-observability.js.map +1 -1
- package/dist/entity-record-saves.d.ts +34 -7
- package/dist/entity-record-saves.js +72 -20
- package/dist/entity-record-saves.js.map +1 -1
- package/dist/entity-record-store.d.ts +43 -15
- package/dist/entity-record-store.js +160 -55
- package/dist/entity-record-store.js.map +1 -1
- package/dist/error-facts.d.ts +24 -0
- package/dist/error-facts.js +35 -0
- package/dist/error-facts.js.map +1 -0
- package/dist/faults/drain.d.ts +27 -0
- package/dist/faults/drain.js +211 -0
- package/dist/faults/drain.js.map +1 -0
- package/dist/faults/queue.d.ts +46 -0
- package/dist/faults/queue.js +100 -0
- package/dist/faults/queue.js.map +1 -0
- package/dist/faults/show.d.ts +7 -0
- package/dist/faults/show.js +32 -0
- package/dist/faults/show.js.map +1 -0
- package/dist/files-mcp-host.d.ts +58 -0
- package/dist/files-mcp-host.js +63 -0
- package/dist/files-mcp-host.js.map +1 -0
- package/dist/files-observability.d.ts +5 -2
- package/dist/files-observability.js.map +1 -1
- package/dist/files-program/client.d.ts +136 -0
- package/dist/files-program/client.js +442 -0
- package/dist/files-program/client.js.map +1 -0
- package/dist/files-program/journeys.d.ts +15 -0
- package/dist/files-program/journeys.js +79 -0
- package/dist/files-program/journeys.js.map +1 -0
- package/dist/files-program/program.d.ts +1 -0
- package/dist/files-program/program.js +344 -0
- package/dist/files-program/program.js.map +1 -0
- package/dist/files-program/protocol.d.ts +180 -0
- package/dist/files-program/protocol.js +7 -0
- package/dist/files-program/protocol.js.map +1 -0
- package/dist/files-register-host.d.ts +18 -21
- package/dist/files-register-host.js +104 -94
- package/dist/files-register-host.js.map +1 -1
- package/dist/files-trace.d.ts +29 -9
- package/dist/files-trace.js +58 -14
- package/dist/files-trace.js.map +1 -1
- package/dist/filesystem.d.ts +27 -9
- package/dist/filesystem.js +94 -56
- package/dist/filesystem.js.map +1 -1
- package/dist/flush.d.ts +19 -0
- package/dist/flush.js +84 -0
- package/dist/flush.js.map +1 -0
- package/dist/gateway.js +5 -2
- package/dist/gateway.js.map +1 -1
- package/dist/git/ground-owners.d.ts +15 -0
- package/dist/git/ground-owners.js +67 -0
- package/dist/git/ground-owners.js.map +1 -0
- package/dist/git/held-package.d.ts +67 -0
- package/dist/git/held-package.js +95 -0
- package/dist/git/held-package.js.map +1 -0
- package/dist/git/home.d.ts +59 -0
- package/dist/git/home.js +132 -0
- package/dist/git/home.js.map +1 -0
- package/dist/git/marker.d.ts +21 -0
- package/dist/git/marker.js +30 -0
- package/dist/git/marker.js.map +1 -0
- package/dist/git/named-objects.d.ts +24 -0
- package/dist/git/named-objects.js +176 -0
- package/dist/git/named-objects.js.map +1 -0
- package/dist/git/objects.d.ts +30 -0
- package/dist/git/objects.js +88 -0
- package/dist/git/objects.js.map +1 -0
- package/dist/git/play.d.ts +30 -0
- package/dist/git/play.js +305 -0
- package/dist/git/play.js.map +1 -0
- package/dist/git/quarantine.d.ts +48 -0
- package/dist/git/quarantine.js +150 -0
- package/dist/git/quarantine.js.map +1 -0
- package/dist/git/rail.d.ts +206 -0
- package/dist/git/rail.js +885 -0
- package/dist/git/rail.js.map +1 -0
- package/dist/git/read-state.d.ts +49 -0
- package/dist/git/read-state.js +238 -0
- package/dist/git/read-state.js.map +1 -0
- package/dist/git/repository.d.ts +62 -0
- package/dist/git/repository.js +130 -0
- package/dist/git/repository.js.map +1 -0
- package/dist/git/write-files.d.ts +29 -0
- package/dist/git/write-files.js +215 -0
- package/dist/git/write-files.js.map +1 -0
- package/dist/git-binding.d.ts +37 -49
- package/dist/git-binding.js +262 -134
- package/dist/git-binding.js.map +1 -1
- package/dist/git-cat-file.d.ts +28 -0
- package/dist/git-cat-file.js +125 -0
- package/dist/git-cat-file.js.map +1 -0
- package/dist/git-command.d.ts +45 -10
- package/dist/git-command.js +197 -89
- package/dist/git-command.js.map +1 -1
- package/dist/git-index-entries.d.ts +10 -8
- package/dist/git-index-entries.js +21 -39
- package/dist/git-index-entries.js.map +1 -1
- package/dist/git-index-format.d.ts +35 -18
- package/dist/git-index-format.js +210 -53
- package/dist/git-index-format.js.map +1 -1
- package/dist/git-install-lines.d.ts +12 -0
- package/dist/git-install-lines.js +22 -0
- package/dist/git-install-lines.js.map +1 -0
- package/dist/git-launcher-process.d.ts +1 -0
- package/dist/git-launcher-process.js +81 -0
- package/dist/git-launcher-process.js.map +1 -0
- package/dist/git-launcher.d.ts +70 -0
- package/dist/git-launcher.js +178 -0
- package/dist/git-launcher.js.map +1 -0
- package/dist/graph-heads.d.ts +71 -0
- package/dist/graph-heads.js +90 -0
- package/dist/graph-heads.js.map +1 -0
- package/dist/ground-basis.d.ts +141 -105
- package/dist/ground-basis.js +367 -460
- package/dist/ground-basis.js.map +1 -1
- package/dist/ground-checkpoint-worker.js +26 -25
- package/dist/ground-checkpoint-worker.js.map +1 -1
- package/dist/ground-checkpoints.d.ts +1 -1
- package/dist/ground-checkpoints.js +6 -6
- package/dist/ground-contract.d.ts +11 -0
- package/dist/ground-contract.js +115 -0
- package/dist/ground-contract.js.map +1 -0
- package/dist/ground-coordination.d.ts +30 -20
- package/dist/ground-coordination.js +96 -51
- package/dist/ground-coordination.js.map +1 -1
- package/dist/ground-database.d.ts +11 -13
- package/dist/ground-database.js +283 -97
- package/dist/ground-database.js.map +1 -1
- package/dist/ground-differences.d.ts +19 -18
- package/dist/ground-differences.js +20 -42
- package/dist/ground-differences.js.map +1 -1
- package/dist/ground-initialization.d.ts +3 -0
- package/dist/ground-initialization.js.map +1 -1
- package/dist/ground-install-saves.d.ts +61 -20
- package/dist/ground-install-saves.js +56 -52
- package/dist/ground-install-saves.js.map +1 -1
- package/dist/ground-inventory-schema.d.ts +42 -2
- package/dist/ground-inventory-schema.js +244 -31
- package/dist/ground-inventory-schema.js.map +1 -1
- package/dist/ground-marks.d.ts +49 -0
- package/dist/ground-marks.js +105 -0
- package/dist/ground-marks.js.map +1 -0
- package/dist/ground-profile.d.ts +7 -0
- package/dist/ground-profile.js +85 -16
- package/dist/ground-profile.js.map +1 -1
- package/dist/ground-reads.d.ts +86 -0
- package/dist/ground-reads.js +256 -0
- package/dist/ground-reads.js.map +1 -0
- package/dist/ground-relations.d.ts +57 -0
- package/dist/ground-relations.js +206 -0
- package/dist/ground-relations.js.map +1 -0
- package/dist/ground-root-index.d.ts +3 -2
- package/dist/ground-root-index.js +4 -3
- package/dist/ground-root-index.js.map +1 -1
- package/dist/ground-row.d.ts +23 -7
- package/dist/ground-row.js +27 -11
- package/dist/ground-row.js.map +1 -1
- package/dist/ground-save-ops.d.ts +42 -26
- package/dist/ground-save-ops.js +46 -26
- package/dist/ground-save-ops.js.map +1 -1
- package/dist/ground-saver-worker.js +171 -44
- package/dist/ground-saver-worker.js.map +1 -1
- package/dist/ground-saver.d.ts +35 -7
- package/dist/ground-saver.js +52 -25
- package/dist/ground-saver.js.map +1 -1
- package/dist/ground-store.d.ts +51 -10
- package/dist/ground-store.js +439 -89
- package/dist/ground-store.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/initial-publication.d.ts +42 -0
- package/dist/initial-publication.js +42 -0
- package/dist/initial-publication.js.map +1 -0
- package/dist/installation/environment.d.ts +4 -0
- package/dist/installation/environment.js +13 -0
- package/dist/installation/environment.js.map +1 -1
- package/dist/keychain/cli-io.d.ts +8 -0
- package/dist/keychain/cli-io.js +55 -0
- package/dist/keychain/cli-io.js.map +1 -0
- package/dist/keychain/cli.d.ts +12 -0
- package/dist/keychain/cli.js +48 -0
- package/dist/keychain/cli.js.map +1 -0
- package/dist/keychain/host.d.ts +28 -0
- package/dist/keychain/host.js +43 -0
- package/dist/keychain/host.js.map +1 -0
- package/dist/keychain/http-mount.d.ts +16 -0
- package/dist/keychain/http-mount.js +74 -0
- package/dist/keychain/http-mount.js.map +1 -0
- package/dist/keychain/key-wire.d.ts +12 -0
- package/dist/keychain/key-wire.js +45 -0
- package/dist/keychain/key-wire.js.map +1 -0
- package/dist/keychain/presence-mac.d.ts +8 -0
- package/dist/keychain/presence-mac.js +26 -0
- package/dist/keychain/presence-mac.js.map +1 -0
- package/dist/keychain/presence.d.ts +9 -0
- package/dist/keychain/presence.js +24 -0
- package/dist/keychain/presence.js.map +1 -0
- package/dist/keychain/rail.d.ts +19 -0
- package/dist/keychain/rail.js +20 -0
- package/dist/keychain/rail.js.map +1 -0
- package/dist/keychain/secret-apply.d.ts +22 -0
- package/dist/keychain/secret-apply.js +46 -0
- package/dist/keychain/secret-apply.js.map +1 -0
- package/dist/keychain/shelf-from-ledger.d.ts +15 -0
- package/dist/keychain/shelf-from-ledger.js +18 -0
- package/dist/keychain/shelf-from-ledger.js.map +1 -0
- package/dist/keychain/use-log.d.ts +7 -0
- package/dist/keychain/use-log.js +15 -0
- package/dist/keychain/use-log.js.map +1 -0
- package/dist/keychain/vault-file.d.ts +12 -0
- package/dist/keychain/vault-file.js +19 -0
- package/dist/keychain/vault-file.js.map +1 -0
- package/dist/line-judge.d.ts +39 -0
- package/dist/line-judge.js +177 -0
- package/dist/line-judge.js.map +1 -0
- package/dist/line-loops.d.ts +22 -0
- package/dist/line-loops.js +19 -0
- package/dist/line-loops.js.map +1 -0
- package/dist/link-target.d.ts +16 -0
- package/dist/link-target.js +81 -0
- package/dist/link-target.js.map +1 -0
- package/dist/loop-watch.d.ts +17 -0
- package/dist/loop-watch.js +44 -0
- package/dist/loop-watch.js.map +1 -0
- package/dist/machine-host.d.ts +93 -23
- package/dist/machine-host.js +344 -179
- package/dist/machine-host.js.map +1 -1
- package/dist/main.js +3 -1
- package/dist/main.js.map +1 -1
- package/dist/materialize-records.d.ts +98 -0
- package/dist/materialize-records.js +446 -0
- package/dist/materialize-records.js.map +1 -0
- package/dist/materialized-graph.d.ts +14 -21
- package/dist/materialized-graph.js +1 -135
- package/dist/materialized-graph.js.map +1 -1
- package/dist/mount.d.ts +13 -0
- package/dist/mount.js +33 -0
- package/dist/mount.js.map +1 -0
- package/dist/native/cloud-files.node +0 -0
- package/dist/native/fsevents-stream.node +0 -0
- package/dist/native/inotify.node +0 -0
- package/dist/native/windows-fs.node +0 -0
- package/dist/on-demand-roots.d.ts +31 -0
- package/dist/on-demand-roots.js +18 -0
- package/dist/on-demand-roots.js.map +1 -0
- package/dist/open-standing.d.ts +8 -0
- package/dist/open-standing.js +109 -0
- package/dist/open-standing.js.map +1 -0
- package/dist/own-results.d.ts +37 -0
- package/dist/own-results.js +98 -0
- package/dist/own-results.js.map +1 -0
- package/dist/package-pages.d.ts +41 -0
- package/dist/package-pages.js +76 -0
- package/dist/package-pages.js.map +1 -0
- package/dist/patient-flush.d.ts +24 -0
- package/dist/patient-flush.js +37 -0
- package/dist/patient-flush.js.map +1 -0
- package/dist/physical-path-witness.d.ts +2 -11
- package/dist/physical-path-witness.js +19 -43
- package/dist/physical-path-witness.js.map +1 -1
- package/dist/placement-owed.d.ts +28 -0
- package/dist/placement-owed.js +32 -0
- package/dist/placement-owed.js.map +1 -0
- package/dist/placement-tidy.d.ts +57 -0
- package/dist/placement-tidy.js +313 -0
- package/dist/placement-tidy.js.map +1 -0
- package/dist/platform-product-host.d.ts +12 -0
- package/dist/platform-product-host.js +23 -1
- package/dist/platform-product-host.js.map +1 -1
- package/dist/platform-tools.d.ts +1 -0
- package/dist/platform-tools.js +11 -1
- package/dist/platform-tools.js.map +1 -1
- package/dist/process-lifecycle.d.ts +7 -0
- package/dist/process-lifecycle.js +13 -0
- package/dist/process-lifecycle.js.map +1 -1
- package/dist/pty-host.d.ts +2 -0
- package/dist/pty-host.js +1 -0
- package/dist/pty-host.js.map +1 -1
- package/dist/received-state.d.ts +90 -0
- package/dist/received-state.js +167 -0
- package/dist/received-state.js.map +1 -0
- package/dist/reference-placement.d.ts +26 -0
- package/dist/reference-placement.js +121 -0
- package/dist/reference-placement.js.map +1 -0
- package/dist/registry-graph.d.ts +63 -55
- package/dist/registry-graph.js +291 -170
- package/dist/registry-graph.js.map +1 -1
- package/dist/registry-page-cache.d.ts +2 -4
- package/dist/registry-page-cache.js.map +1 -1
- package/dist/root-install.d.ts +72 -0
- package/dist/root-install.js +178 -0
- package/dist/root-install.js.map +1 -0
- package/dist/runtime-activity.d.ts +20 -0
- package/dist/runtime-activity.js +86 -0
- package/dist/runtime-activity.js.map +1 -0
- package/dist/runtime-argv.d.ts +8 -0
- package/dist/runtime-argv.js +37 -0
- package/dist/runtime-argv.js.map +1 -0
- package/dist/runtime-command-host.d.ts +9 -3
- package/dist/runtime-command-host.js +27 -7
- package/dist/runtime-command-host.js.map +1 -1
- package/dist/runtime-node-flags.d.ts +6 -6
- package/dist/runtime-node-flags.js +6 -6
- package/dist/runtime-wire-host.d.ts +4 -1
- package/dist/runtime-wire-host.js +11 -6
- package/dist/runtime-wire-host.js.map +1 -1
- package/dist/sha256.d.ts +1 -0
- package/dist/sha256.js +4 -0
- package/dist/sha256.js.map +1 -0
- package/dist/sharing-admission.d.ts +9 -4
- package/dist/sharing-admission.js +57 -98
- package/dist/sharing-admission.js.map +1 -1
- package/dist/sharing-host.d.ts +6 -11
- package/dist/sharing-host.js +6 -10
- package/dist/sharing-host.js.map +1 -1
- package/dist/snapshot-delivery-baseline.d.ts +23 -13
- package/dist/snapshot-delivery-baseline.js +37 -40
- package/dist/snapshot-delivery-baseline.js.map +1 -1
- package/dist/socket-marking.d.ts +9 -0
- package/dist/socket-marking.js +26 -0
- package/dist/socket-marking.js.map +1 -0
- package/dist/source-proof.d.ts +2 -15
- package/dist/source-proof.js +9 -4
- package/dist/source-proof.js.map +1 -1
- package/dist/source-signature.d.ts +122 -21
- package/dist/source-signature.js +139 -28
- package/dist/source-signature.js.map +1 -1
- package/dist/source-witness.d.ts +2 -8
- package/dist/source-witness.js +1 -14
- package/dist/source-witness.js.map +1 -1
- package/dist/sqlite-durability.d.ts +1 -0
- package/dist/sqlite-durability.js +2 -0
- package/dist/sqlite-durability.js.map +1 -1
- package/dist/sqlite.js +8 -8
- package/dist/sqlite.js.map +1 -1
- package/dist/sync-address.d.ts +0 -3
- package/dist/sync-address.js +1 -23
- package/dist/sync-address.js.map +1 -1
- package/dist/sync-cli.d.ts +6 -2
- package/dist/sync-cli.js +19 -4
- package/dist/sync-cli.js.map +1 -1
- package/dist/sync-setting.d.ts +16 -1
- package/dist/sync-setting.js +6 -0
- package/dist/sync-setting.js.map +1 -1
- package/dist/transfer-instrumentation.d.ts +3 -3
- package/dist/transfer-instrumentation.js +7 -5
- package/dist/transfer-instrumentation.js.map +1 -1
- package/dist/turns.d.ts +4 -2
- package/dist/turns.js +17 -15
- package/dist/turns.js.map +1 -1
- package/dist/updates/artifacts.d.ts +9 -4
- package/dist/updates/artifacts.js +132 -9
- package/dist/updates/artifacts.js.map +1 -1
- package/dist/updates/controller.js +4 -3
- package/dist/updates/controller.js.map +1 -1
- package/dist/updates/locked-packages.d.ts +4 -0
- package/dist/updates/locked-packages.js +26 -0
- package/dist/updates/locked-packages.js.map +1 -0
- package/dist/updates/store.d.ts +5 -4
- package/dist/updates/store.js +5 -4
- package/dist/updates/store.js.map +1 -1
- package/dist/user-ground-host.d.ts +534 -179
- package/dist/user-ground-host.js +3293 -5218
- package/dist/user-ground-host.js.map +1 -1
- package/dist/watching/fsevents.d.ts +22 -6
- package/dist/watching/fsevents.js +29 -7
- package/dist/watching/fsevents.js.map +1 -1
- package/dist/watching/git-storage.d.ts +22 -0
- package/dist/watching/git-storage.js +125 -0
- package/dist/watching/git-storage.js.map +1 -0
- package/dist/watching/host.d.ts +149 -23
- package/dist/watching/host.js +706 -206
- package/dist/watching/host.js.map +1 -1
- package/dist/watching/index.d.ts +3 -2
- package/dist/watching/index.js +2 -1
- package/dist/watching/index.js.map +1 -1
- package/dist/watching/inotify.d.ts +81 -0
- package/dist/watching/inotify.js +184 -0
- package/dist/watching/inotify.js.map +1 -0
- package/dist/windows-fs.d.ts +12 -0
- package/dist/windows-fs.js +19 -0
- package/dist/windows-fs.js.map +1 -0
- package/dist/windows-owner-only.d.ts +6 -0
- package/dist/windows-owner-only.js +84 -0
- package/dist/windows-owner-only.js.map +1 -0
- package/dist/wire-client.d.ts +13 -11
- package/dist/wire-client.js +51 -78
- package/dist/wire-client.js.map +1 -1
- package/dist/wire-join.d.ts +19 -0
- package/dist/wire-join.js +54 -0
- package/dist/wire-join.js.map +1 -0
- package/dist/wire-outbox.d.ts +3 -0
- package/dist/wire-outbox.js +6 -1
- package/dist/wire-outbox.js.map +1 -1
- package/dist/wire-request-scope.d.ts +2 -1
- package/dist/wire-request-scope.js +2 -1
- package/dist/wire-request-scope.js.map +1 -1
- package/dist/workspace-add-intent.d.ts +41 -0
- package/dist/workspace-add-intent.js +107 -0
- package/dist/workspace-add-intent.js.map +1 -0
- package/dist/workspace-add-staging.d.ts +78 -74
- package/dist/workspace-add-staging.js +131 -179
- package/dist/workspace-add-staging.js.map +1 -1
- package/dist/workspace-host.d.ts +17 -0
- package/dist/workspace-host.js +17 -21
- package/dist/workspace-host.js.map +1 -1
- package/examinations/fixtures/private-wire-authority.js +534 -499
- package/examinations/native-service.mjs +29 -4
- package/examinations/runtime-upgrade.native-test.mjs +16 -1
- package/npm-shrinkwrap.json +253 -464
- package/package.json +29 -33
- package/dist/apply-cleanup.d.ts +0 -28
- package/dist/apply-cleanup.js +0 -166
- package/dist/apply-cleanup.js.map +0 -1
- package/dist/apply-recovery.d.ts +0 -47
- package/dist/apply-recovery.js +0 -100
- package/dist/apply-recovery.js.map +0 -1
- package/dist/apply-rows.d.ts +0 -72
- package/dist/apply-rows.js +0 -150
- package/dist/apply-rows.js.map +0 -1
- package/dist/apply-saves.d.ts +0 -85
- package/dist/apply-saves.js +0 -238
- package/dist/apply-saves.js.map +0 -1
- package/dist/bounded-for-each.d.ts +0 -3
- package/dist/bounded-for-each.js +0 -26
- package/dist/bounded-for-each.js.map +0 -1
- package/dist/content-cache-ownership.d.ts +0 -13
- package/dist/content-cache-ownership.js +0 -75
- package/dist/content-cache-ownership.js.map +0 -1
- package/dist/content-stream-thread.d.ts +0 -60
- package/dist/content-stream-thread.js +0 -95
- package/dist/content-stream-thread.js.map +0 -1
- package/dist/content-stream-worker.d.ts +0 -7
- package/dist/content-stream-worker.js +0 -52
- package/dist/content-stream-worker.js.map +0 -1
- package/dist/declaration-absorption.d.ts +0 -37
- package/dist/declaration-absorption.js +0 -119
- package/dist/declaration-absorption.js.map +0 -1
- package/dist/declaration-chain.d.ts +0 -36
- package/dist/declaration-chain.js +0 -96
- package/dist/declaration-chain.js.map +0 -1
- package/dist/declaration-commit.d.ts +0 -31
- package/dist/declaration-commit.js +0 -49
- package/dist/declaration-commit.js.map +0 -1
- package/dist/declaration-hold.d.ts +0 -22
- package/dist/declaration-hold.js +0 -24
- package/dist/declaration-hold.js.map +0 -1
- package/dist/declaration-journal.d.ts +0 -62
- package/dist/declaration-journal.js +0 -99
- package/dist/declaration-journal.js.map +0 -1
- package/dist/declaration-save.d.ts +0 -31
- package/dist/declaration-save.js +0 -134
- package/dist/declaration-save.js.map +0 -1
- package/dist/detection/disposition-rows.d.ts +0 -18
- package/dist/detection/disposition-rows.js +0 -29
- package/dist/detection/disposition-rows.js.map +0 -1
- package/dist/detection/git-notice.d.ts +0 -88
- package/dist/detection/git-notice.js +0 -444
- package/dist/detection/git-notice.js.map +0 -1
- package/dist/detection/held-territory.d.ts +0 -51
- package/dist/detection/held-territory.js +0 -205
- package/dist/detection/held-territory.js.map +0 -1
- package/dist/detection/name-reach.d.ts +0 -12
- package/dist/detection/name-reach.js +0 -28
- package/dist/detection/name-reach.js.map +0 -1
- package/dist/detection/portable.d.ts +0 -66
- package/dist/detection/portable.js +0 -137
- package/dist/detection/portable.js.map +0 -1
- package/dist/detection/repository-publication.d.ts +0 -20
- package/dist/detection/repository-publication.js +0 -79
- package/dist/detection/repository-publication.js.map +0 -1
- package/dist/detection/repository-routes.d.ts +0 -43
- package/dist/detection/repository-routes.js +0 -98
- package/dist/detection/repository-routes.js.map +0 -1
- package/dist/detection/seal-law.d.ts +0 -66
- package/dist/detection/seal-law.js +0 -116
- package/dist/detection/seal-law.js.map +0 -1
- package/dist/detection/verified-content.d.ts +0 -6
- package/dist/detection/verified-content.js +0 -12
- package/dist/detection/verified-content.js.map +0 -1
- package/dist/entity-apply-host.d.ts +0 -80
- package/dist/entity-apply-host.js +0 -2316
- package/dist/entity-apply-host.js.map +0 -1
- package/dist/entity-apply-store.d.ts +0 -105
- package/dist/entity-apply-store.js +0 -290
- package/dist/entity-apply-store.js.map +0 -1
- package/dist/git-capture.d.ts +0 -36
- package/dist/git-capture.js +0 -91
- package/dist/git-capture.js.map +0 -1
- package/dist/git-card.d.ts +0 -17
- package/dist/git-card.js +0 -133
- package/dist/git-card.js.map +0 -1
- package/dist/git-checkpoint-construction.d.ts +0 -40
- package/dist/git-checkpoint-construction.js +0 -102
- package/dist/git-checkpoint-construction.js.map +0 -1
- package/dist/git-checkpoint-preparation.d.ts +0 -37
- package/dist/git-checkpoint-preparation.js +0 -145
- package/dist/git-checkpoint-preparation.js.map +0 -1
- package/dist/git-configuration.d.ts +0 -40
- package/dist/git-configuration.js +0 -217
- package/dist/git-configuration.js.map +0 -1
- package/dist/git-evidence.d.ts +0 -61
- package/dist/git-evidence.js +0 -181
- package/dist/git-evidence.js.map +0 -1
- package/dist/git-index-witness.d.ts +0 -33
- package/dist/git-index-witness.js +0 -69
- package/dist/git-index-witness.js.map +0 -1
- package/dist/git-literal-host.d.ts +0 -82
- package/dist/git-literal-host.js +0 -173
- package/dist/git-literal-host.js.map +0 -1
- package/dist/git-literal-read.d.ts +0 -88
- package/dist/git-literal-read.js +0 -170
- package/dist/git-literal-read.js.map +0 -1
- package/dist/git-literal-replay.d.ts +0 -33
- package/dist/git-literal-replay.js +0 -269
- package/dist/git-literal-replay.js.map +0 -1
- package/dist/git-native-file.d.ts +0 -42
- package/dist/git-native-file.js +0 -145
- package/dist/git-native-file.js.map +0 -1
- package/dist/git-native-index.d.ts +0 -21
- package/dist/git-native-index.js +0 -44
- package/dist/git-native-index.js.map +0 -1
- package/dist/git-operation-host.d.ts +0 -48
- package/dist/git-operation-host.js +0 -127
- package/dist/git-operation-host.js.map +0 -1
- package/dist/git-private-index.d.ts +0 -11
- package/dist/git-private-index.js +0 -42
- package/dist/git-private-index.js.map +0 -1
- package/dist/git-private-repository.d.ts +0 -4
- package/dist/git-private-repository.js +0 -69
- package/dist/git-private-repository.js.map +0 -1
- package/dist/git-private-view.d.ts +0 -57
- package/dist/git-private-view.js +0 -240
- package/dist/git-private-view.js.map +0 -1
- package/dist/git-ref-store.d.ts +0 -12
- package/dist/git-ref-store.js +0 -68
- package/dist/git-ref-store.js.map +0 -1
- package/dist/git-registration-host.d.ts +0 -38
- package/dist/git-registration-host.js +0 -96
- package/dist/git-registration-host.js.map +0 -1
- package/dist/git-repository-host.d.ts +0 -191
- package/dist/git-repository-host.js +0 -917
- package/dist/git-repository-host.js.map +0 -1
- package/dist/git-worktree-host.d.ts +0 -2
- package/dist/git-worktree-host.js +0 -16
- package/dist/git-worktree-host.js.map +0 -1
- package/dist/graph-publication.d.ts +0 -75
- package/dist/graph-publication.js +0 -203
- package/dist/graph-publication.js.map +0 -1
- package/dist/ground-territory.d.ts +0 -130
- package/dist/ground-territory.js +0 -511
- package/dist/ground-territory.js.map +0 -1
- package/dist/register-upload-fusion.d.ts +0 -84
- package/dist/register-upload-fusion.js +0 -172
- package/dist/register-upload-fusion.js.map +0 -1
- package/dist/repository-identity-steps.d.ts +0 -5
- package/dist/repository-identity-steps.js +0 -33
- package/dist/repository-identity-steps.js.map +0 -1
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The drive's map of one root this computer serves on demand: Apply's door
|
|
3
|
+
* to it (Live drive/contracts.ts MapPort).
|
|
4
|
+
*
|
|
5
|
+
* Listed is the root's received state (received-state.ts) at the received
|
|
6
|
+
* prefix, the delivery cursor: the position a fetch lane pins (Live
|
|
7
|
+
* apply/lane.ts), so a touch places exactly the version the map lists, the
|
|
8
|
+
* newest this computer has received. Placed is a row stored in O, shown or
|
|
9
|
+
* hidden, and the map holds it where it stands on this computer, at the
|
|
10
|
+
* parent and name Detect or Apply last admitted: `ls` and `open` agree while
|
|
11
|
+
* Apply has not yet revealed an accepted move, and a person's new entity
|
|
12
|
+
* holds its slot beside what the map lists, so a listed namesake takes its
|
|
13
|
+
* derived name rather than hiding behind the person's. An entered folder's or
|
|
14
|
+
* workspace's version is the membership the map lists beneath it, at the
|
|
15
|
+
* place the map lists it: O's counts only the children this computer placed
|
|
16
|
+
* (detection/container-membership.ts), and the received one may name a place
|
|
17
|
+
* Apply has not yet moved it to. One never entered shows its record's, as
|
|
18
|
+
* nothing lists beneath it yet. An observed absence, a person's `rm -rf`
|
|
19
|
+
* (ground-store.ts), stands nowhere: its top reads as no O row, as the
|
|
20
|
+
* relations read it (ground-relations.ts), so the map lists it where the line
|
|
21
|
+
* does, else nowhere, and a name a person removed holds no slot once the line
|
|
22
|
+
* says so. Each row it hides is still this computer's, so the shelf says the
|
|
23
|
+
* ground is gone rather than the map listing it again. An entity with no O
|
|
24
|
+
* row stands first where this computer's own newest record of it stands
|
|
25
|
+
* while the received prefix does not hold that record yet: the removal, move
|
|
26
|
+
* or change of mode of a unit this computer never placed (Live
|
|
27
|
+
* drive/records.ts, held-removals.ts), or the removal of ground a person
|
|
28
|
+
* removed. The authority accepts this computer's records in their order, so
|
|
29
|
+
* that result is the next the line will say of it, and the map lists it so,
|
|
30
|
+
* under the parent that record names, from the moment it is recorded.
|
|
31
|
+
*
|
|
32
|
+
* The map holds what the drive has entered (MapPort.enter): the root, and
|
|
33
|
+
* each container's children whole once the drive first reads beneath it,
|
|
34
|
+
* read through H's pages for that one folder (registry-graph.ts). Each wake
|
|
35
|
+
* brings what it holds to the received prefix in the cost of what changed:
|
|
36
|
+
* every held entity the records accepted since its last position touch (a
|
|
37
|
+
* container one joins or leaves), each record that joins a container the
|
|
38
|
+
* drive entered, and the entities the wake names, those a window end or a
|
|
39
|
+
* Detect commit admitted (MapIndex, @amalgm/live/drive). A record that takes
|
|
40
|
+
* an entity into a container the drive never entered leaves it unread until
|
|
41
|
+
* the drive enters it. A new kept
|
|
42
|
+
* head, or a fold the heads let go, loads the root again, and enters again
|
|
43
|
+
* every container the drive had entered that still stands. The map holds its
|
|
44
|
+
* own HeldHeads over the computer's proven graphs, so its root's proven graph
|
|
45
|
+
* and fold stay resident while the drive is mounted: the rail's idle drops
|
|
46
|
+
* only the line's own, and the line's next read takes the graph the map still
|
|
47
|
+
* holds rather than proving it again. In memory: the rows of the folders the
|
|
48
|
+
* drive entered, beside the fold's results since H.
|
|
49
|
+
*
|
|
50
|
+
* A look at a reference, a stat of it or a listing of the folder it stands
|
|
51
|
+
* in, needs only its root's top (Live drive/contracts.ts Top), so it loads no
|
|
52
|
+
* map: `readDriveTop` reads the root's own record where its map would list
|
|
53
|
+
* it, the O row else the fold's, through H's pages for that one record. The
|
|
54
|
+
* fold folds the root only when a result since H reaches it. That record's
|
|
55
|
+
* version is not the membership a map lists, since a membership change is
|
|
56
|
+
* never a record. It need not be until the drive lists inside the root; from
|
|
57
|
+
* then the drive holds the root's map, and its top is the map's root
|
|
58
|
+
* (drive/mount.ts composeDrive).
|
|
59
|
+
*/
|
|
60
|
+
import { CONTAINERS } from "@amalgm/live";
|
|
61
|
+
import { MapIndex, mapEntity } from "@amalgm/live/drive";
|
|
62
|
+
import { readAcceptedTail } from "./accepted-tail.js";
|
|
63
|
+
import { readDeliveryReceipt } from "./graph-heads.js";
|
|
64
|
+
import { STORED_ENTITIES } from "./ground-inventory-schema.js";
|
|
65
|
+
import { readObservedChildren, readObservedEntities } from "./ground-relations.js";
|
|
66
|
+
import { portableGroundRecord } from "./ground-row.js";
|
|
67
|
+
import { ownResults, readOwnStanding } from "./own-results.js";
|
|
68
|
+
import { HeldHeads } from "./received-state.js";
|
|
69
|
+
import { sha256Hex } from "./sha256.js";
|
|
70
|
+
import { cachedStatement } from "./sqlite.js";
|
|
71
|
+
export class ApplyMap {
|
|
72
|
+
#database;
|
|
73
|
+
#authorityId;
|
|
74
|
+
#rootUUID;
|
|
75
|
+
/** What the map holds; a load builds the next whole before it replaces this. */
|
|
76
|
+
#index;
|
|
77
|
+
#heads;
|
|
78
|
+
#onChange;
|
|
79
|
+
/** The fold the index was last built or advanced from. */
|
|
80
|
+
#fold = null;
|
|
81
|
+
/** The position the index describes, null until loaded. */
|
|
82
|
+
#through = null;
|
|
83
|
+
/** The entities wakes named since the last run began. */
|
|
84
|
+
#woken = new Set();
|
|
85
|
+
/** The containers the drive asked to enter since the last run began. */
|
|
86
|
+
#entering = new Set();
|
|
87
|
+
#loads = 0;
|
|
88
|
+
/** How many times the fold was dropped: a run that saw a drop keeps no fold. */
|
|
89
|
+
#drops = 0;
|
|
90
|
+
#running = null;
|
|
91
|
+
#queued = null;
|
|
92
|
+
map;
|
|
93
|
+
constructor(options) {
|
|
94
|
+
this.#database = options.database;
|
|
95
|
+
this.#authorityId = options.authorityId;
|
|
96
|
+
this.#rootUUID = options.rootUUID;
|
|
97
|
+
this.#index = new MapIndex(options.rootUUID, sha256Hex);
|
|
98
|
+
this.#heads = new HeldHeads(options.graphs);
|
|
99
|
+
this.#onChange = options.onChange;
|
|
100
|
+
const database = this.#database;
|
|
101
|
+
this.map = {
|
|
102
|
+
root: () => this.#index.root(),
|
|
103
|
+
enter: (parentUUID) => this.#enter(parentUUID),
|
|
104
|
+
children: (parentUUID) => this.#index.children(parentUUID),
|
|
105
|
+
holders: (parentUUID, name) => this.#index.holders(parentUUID, name),
|
|
106
|
+
placed: (uuid) => placed(database, uuid),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
get rootUUID() {
|
|
110
|
+
return this.#rootUUID;
|
|
111
|
+
}
|
|
112
|
+
/** How many times the whole root was loaded again rather than advanced. */
|
|
113
|
+
get loads() {
|
|
114
|
+
return this.#loads;
|
|
115
|
+
}
|
|
116
|
+
/** The delivery position the map describes, null until it is loaded. */
|
|
117
|
+
get through() {
|
|
118
|
+
return this.#through;
|
|
119
|
+
}
|
|
120
|
+
/** How many entities the map holds, any status. */
|
|
121
|
+
get size() {
|
|
122
|
+
return this.#index.size;
|
|
123
|
+
}
|
|
124
|
+
/** The entity the map holds at `uuid`, any status. */
|
|
125
|
+
entity(uuid) {
|
|
126
|
+
return this.#index.get(uuid);
|
|
127
|
+
}
|
|
128
|
+
/** The record the map lists for an entity this computer never placed, at
|
|
129
|
+
* the version it lists it: the base its removal records Trash on. Null
|
|
130
|
+
* when the map does not hold the entity, or holds less than its record (a
|
|
131
|
+
* repository's package is not kept here), or this computer holds it: a
|
|
132
|
+
* placed unit's removal is its shelf's. */
|
|
133
|
+
listed(uuid) {
|
|
134
|
+
const entity = this.#index.get(uuid);
|
|
135
|
+
return entity === undefined || entity.type === "repo.git" || placed(this.#database, uuid) ? null : listedRecord(entity);
|
|
136
|
+
}
|
|
137
|
+
/** Bring the map to the received prefix, taking `uuids` where they stand
|
|
138
|
+
* now. One run at a time; a wake during a run is answered by one more run
|
|
139
|
+
* after it, however many wakes arrive. Resolves when the run that saw this
|
|
140
|
+
* wake is done; rejects as that run did, leaving the map at its last
|
|
141
|
+
* position and every woken entity owed to the next run. */
|
|
142
|
+
refresh(uuids = []) {
|
|
143
|
+
for (const uuid of uuids)
|
|
144
|
+
this.#woken.add(uuid);
|
|
145
|
+
if (this.#running === null) {
|
|
146
|
+
this.#running = this.#run().finally(() => { this.#running = null; });
|
|
147
|
+
return this.#running;
|
|
148
|
+
}
|
|
149
|
+
this.#queued ??= this.#running.catch(() => undefined).then(() => {
|
|
150
|
+
this.#queued = null;
|
|
151
|
+
return this.refresh();
|
|
152
|
+
});
|
|
153
|
+
return this.#queued;
|
|
154
|
+
}
|
|
155
|
+
/** Forget the held fold; the next refresh loads the root again. */
|
|
156
|
+
drop() {
|
|
157
|
+
this.#heads.drop();
|
|
158
|
+
this.#fold = null;
|
|
159
|
+
this.#drops += 1;
|
|
160
|
+
}
|
|
161
|
+
/** MapPort.enter: a container's children are read in a run, at the
|
|
162
|
+
* position the map describes, so no record is accepted between reading
|
|
163
|
+
* them and answering for them. */
|
|
164
|
+
#enter(parentUUID) {
|
|
165
|
+
if (this.#index.entered(parentUUID))
|
|
166
|
+
return Promise.resolve(true);
|
|
167
|
+
this.#entering.add(parentUUID);
|
|
168
|
+
return this.refresh().then(() => this.#index.entered(parentUUID));
|
|
169
|
+
}
|
|
170
|
+
async #run() {
|
|
171
|
+
const position = readDeliveryReceipt(this.#database, this.#authorityId)?.through ?? 0;
|
|
172
|
+
const woken = this.#woken;
|
|
173
|
+
const entering = this.#entering;
|
|
174
|
+
if (this.#through !== null && position <= this.#through && this.#fold !== null && woken.size === 0 && entering.size === 0)
|
|
175
|
+
return;
|
|
176
|
+
this.#woken = new Set();
|
|
177
|
+
this.#entering = new Set();
|
|
178
|
+
const drops = this.#drops;
|
|
179
|
+
try {
|
|
180
|
+
await this.#heads.read(this.#database, this.#authorityId, position, async (fold, _basis, through) => {
|
|
181
|
+
// Read once a container is entered: most runs enter nothing.
|
|
182
|
+
let own;
|
|
183
|
+
const ownAt = () => own ??= readOwnStanding(this.#database, this.#authorityId, through);
|
|
184
|
+
if (fold !== this.#fold || this.#through === null || through < this.#through) {
|
|
185
|
+
await this.#load(fold, through, ownAt);
|
|
186
|
+
this.#loads += 1;
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
await this.#advance(fold, this.#through, through, woken);
|
|
190
|
+
}
|
|
191
|
+
for (const parent of entering)
|
|
192
|
+
await this.#enterOne(this.#index, fold, ownAt, parent);
|
|
193
|
+
this.#fold = this.#drops === drops ? fold : null;
|
|
194
|
+
this.#through = through;
|
|
195
|
+
});
|
|
196
|
+
}
|
|
197
|
+
catch (error) {
|
|
198
|
+
for (const uuid of woken)
|
|
199
|
+
this.#woken.add(uuid);
|
|
200
|
+
for (const uuid of entering)
|
|
201
|
+
this.#entering.add(uuid);
|
|
202
|
+
throw error;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
/** Where one identity stands for the map at `through` (`standing`). */
|
|
206
|
+
async #entry(fold, through, uuid) {
|
|
207
|
+
return (await standing(this.#database, this.#authorityId, through, fold, [uuid])).get(uuid);
|
|
208
|
+
}
|
|
209
|
+
/** The root where it stands, and every container the drive had entered
|
|
210
|
+
* that still stands within, entered again top down. */
|
|
211
|
+
async #load(fold, through, own) {
|
|
212
|
+
const before = this.#index;
|
|
213
|
+
const index = new MapIndex(this.#rootUUID, sha256Hex);
|
|
214
|
+
const top = await this.#entry(fold, through, this.#rootUUID);
|
|
215
|
+
if (top)
|
|
216
|
+
index.accept(top);
|
|
217
|
+
for (let pending = top ? [top.uuid] : [], next = pending.pop(); next !== undefined; next = pending.pop()) {
|
|
218
|
+
if (!before.entered(next))
|
|
219
|
+
continue;
|
|
220
|
+
await this.#enterOne(index, fold, own, next);
|
|
221
|
+
for (const child of index.children(next))
|
|
222
|
+
pending.push(child.uuid);
|
|
223
|
+
}
|
|
224
|
+
this.#index = index;
|
|
225
|
+
this.#onChange?.(null);
|
|
226
|
+
}
|
|
227
|
+
/** Take the held entities the records accepted in (after, through] touch,
|
|
228
|
+
* each record that joins an entered container, and the woken entities:
|
|
229
|
+
* each enters, moves within, leaves or is replaced in the index by where it
|
|
230
|
+
* stands now. A held container the drive never entered thus shows the
|
|
231
|
+
* version the line now gives it when a record joins or leaves it. An entity stays within while its parent chain, each
|
|
232
|
+
* where it stands now, reaches the root through containers the drive
|
|
233
|
+
* entered; a chain that closes on itself does not. Everything is read
|
|
234
|
+
* before the index moves, and the drive hears what it reached: loading and
|
|
235
|
+
* entering list what stood, and are not heard. */
|
|
236
|
+
async #advance(fold, after, through, woken) {
|
|
237
|
+
const index = this.#index;
|
|
238
|
+
const root = this.#rootUUID;
|
|
239
|
+
const changed = new Set(woken);
|
|
240
|
+
if (through > after) {
|
|
241
|
+
// What the map holds that a record touched, and each record that joins
|
|
242
|
+
// a container the drive entered: nothing else can move what it lists.
|
|
243
|
+
for (const uuid of this.#heads.touched(this.#authorityId, after))
|
|
244
|
+
if (index.has(uuid))
|
|
245
|
+
changed.add(uuid);
|
|
246
|
+
for (const { result: { uuid, parentUUID } } of readAcceptedTail(this.#database, this.#authorityId, after, through).accepted) {
|
|
247
|
+
if (uuid === root || (parentUUID !== null && index.entered(parentUUID)))
|
|
248
|
+
changed.add(uuid);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
index.takeTouched();
|
|
252
|
+
if (changed.size === 0)
|
|
253
|
+
return;
|
|
254
|
+
const entries = await standing(this.#database, this.#authorityId, through, fold, [...changed]);
|
|
255
|
+
// A chain climbs only through entered containers, all held: an unchanged
|
|
256
|
+
// one stands where the index says.
|
|
257
|
+
const parentOf = (uuid) => (changed.has(uuid) ? entries.get(uuid)?.parentUUID : index.parentOf(uuid)) ?? null;
|
|
258
|
+
const inside = new Map([[root, true]]);
|
|
259
|
+
const within = (uuid) => {
|
|
260
|
+
const chain = new Set();
|
|
261
|
+
let answer = false;
|
|
262
|
+
for (let at = uuid; at !== null && !chain.has(at);) {
|
|
263
|
+
const known = inside.get(at);
|
|
264
|
+
if (known !== undefined) {
|
|
265
|
+
answer = known;
|
|
266
|
+
break;
|
|
267
|
+
}
|
|
268
|
+
chain.add(at);
|
|
269
|
+
const parent = parentOf(at);
|
|
270
|
+
at = parent !== null && index.entered(parent) ? parent : null;
|
|
271
|
+
}
|
|
272
|
+
for (const visited of chain)
|
|
273
|
+
inside.set(visited, answer);
|
|
274
|
+
return answer;
|
|
275
|
+
};
|
|
276
|
+
const kept = [];
|
|
277
|
+
const leaving = [];
|
|
278
|
+
for (const uuid of changed) {
|
|
279
|
+
const record = entries.get(uuid);
|
|
280
|
+
if (uuid === root) {
|
|
281
|
+
if (record)
|
|
282
|
+
kept.push(record);
|
|
283
|
+
}
|
|
284
|
+
else if (record && within(uuid)) {
|
|
285
|
+
kept.push(record);
|
|
286
|
+
}
|
|
287
|
+
else {
|
|
288
|
+
leaving.push(uuid);
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
// What stays moves first, so a container that leaves takes only what
|
|
292
|
+
// still stands beneath it.
|
|
293
|
+
for (const record of kept)
|
|
294
|
+
index.accept(record);
|
|
295
|
+
for (const uuid of leaving)
|
|
296
|
+
index.remove(uuid);
|
|
297
|
+
const touched = index.takeTouched();
|
|
298
|
+
if (touched.size > 0)
|
|
299
|
+
this.#onChange?.(touched);
|
|
300
|
+
}
|
|
301
|
+
/** Enters one container `index` holds and has not entered: its children,
|
|
302
|
+
* each where it stands, are a fold row, an O row or this computer's own
|
|
303
|
+
* unreceived result whose own place, O's over this computer's own newer
|
|
304
|
+
* record (`own`) over the fold's, names the container. A placed container
|
|
305
|
+
* moved here brings its children, and a child placed or moved elsewhere
|
|
306
|
+
* stays where it is. Nothing the container stands beneath enters it, so the
|
|
307
|
+
* index keeps no cycle. */
|
|
308
|
+
async #enterOne(index, fold, own, parent) {
|
|
309
|
+
const entity = index.get(parent);
|
|
310
|
+
if (entity === undefined || index.entered(parent))
|
|
311
|
+
return;
|
|
312
|
+
if (!CONTAINERS.has(entity.type)) {
|
|
313
|
+
index.enter(parent, []);
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
316
|
+
const children = new Map();
|
|
317
|
+
const listed = await fold.children(parent);
|
|
318
|
+
const stored = readObservedEntities(this.#database, listed.map(record => record.uuid));
|
|
319
|
+
const unreceived = own();
|
|
320
|
+
for (const record of listed) {
|
|
321
|
+
const row = stored.get(record.uuid);
|
|
322
|
+
children.set(record.uuid, row ? portableGroundRecord(row) : unreceived.get(record.uuid) ?? record);
|
|
323
|
+
}
|
|
324
|
+
for (const row of readObservedChildren(this.#database, parent)) {
|
|
325
|
+
if (!children.has(row.uuid))
|
|
326
|
+
children.set(row.uuid, portableGroundRecord(row));
|
|
327
|
+
}
|
|
328
|
+
for (const result of unreceived.children(parent)) {
|
|
329
|
+
if (!children.has(result.uuid))
|
|
330
|
+
children.set(result.uuid, result);
|
|
331
|
+
}
|
|
332
|
+
const above = new Set();
|
|
333
|
+
for (let at = parent; at !== null && !above.has(at); at = at === this.#rootUUID ? null : index.parentOf(at) ?? null) {
|
|
334
|
+
above.add(at);
|
|
335
|
+
}
|
|
336
|
+
index.enter(parent, [...children.values()].filter(child => child.parentUUID === parent && !above.has(child.uuid)));
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
/** The top of one root at the received prefix, read without its map. Null
|
|
340
|
+
* exactly when the root's map would hold nothing. */
|
|
341
|
+
export function readDriveTop(input) {
|
|
342
|
+
const { database, authorityId, rootUUID, heads } = input;
|
|
343
|
+
const position = readDeliveryReceipt(database, authorityId)?.through ?? 0;
|
|
344
|
+
return heads.read(database, authorityId, position, async (fold, _basis, through) => {
|
|
345
|
+
const record = (await standing(database, authorityId, through, fold, [rootUUID])).get(rootUUID);
|
|
346
|
+
return record === null ? null : { entity: mapEntity(record), placed: placed(database, rootUUID) };
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
/** Where each of `uuids` stands for the drive at `through`: its O row where
|
|
350
|
+
* this computer's ground stands it, else this computer's own newer record
|
|
351
|
+
* (`ownResults`), else the fold's row, else nowhere. */
|
|
352
|
+
async function standing(database, authorityId, through, fold, uuids) {
|
|
353
|
+
const stored = readObservedEntities(database, uuids);
|
|
354
|
+
const own = ownResults(database, authorityId, through, uuids.filter(uuid => !stored.has(uuid)));
|
|
355
|
+
const accepted = await fold.rows(uuids.filter(uuid => !stored.has(uuid) && !own.has(uuid)));
|
|
356
|
+
const entries = new Map();
|
|
357
|
+
for (const uuid of uuids) {
|
|
358
|
+
const row = stored.get(uuid);
|
|
359
|
+
entries.set(uuid, row ? portableGroundRecord(row) : own.get(uuid) ?? accepted.get(uuid) ?? null);
|
|
360
|
+
}
|
|
361
|
+
return entries;
|
|
362
|
+
}
|
|
363
|
+
/** Whether this computer holds an entity: O stores a row for it, shown or
|
|
364
|
+
* hidden. */
|
|
365
|
+
const placed = (database, uuid) => cachedStatement(database, `SELECT 1 FROM ${STORED_ENTITIES} WHERE uuid = ? LIMIT 1`).pluck().get(uuid) !== undefined;
|
|
366
|
+
/** The record a map entity lists: a folder's or workspace's membership
|
|
367
|
+
* version is derived, so the map entity carries all its record has, and
|
|
368
|
+
* every other type but a repository keeps its whole record in it (Live
|
|
369
|
+
* drive/map-index.ts mapEntity). */
|
|
370
|
+
const listedRecord = (entity) => ({
|
|
371
|
+
uuid: entity.uuid,
|
|
372
|
+
type: entity.type,
|
|
373
|
+
parentUUID: entity.parentUUID,
|
|
374
|
+
name: entity.name,
|
|
375
|
+
status: entity.status,
|
|
376
|
+
version: entity.version,
|
|
377
|
+
payloadVersion: entity.type === "reference" ? entity.target : entity.payloadVersion,
|
|
378
|
+
fileMode: entity.fileMode,
|
|
379
|
+
size: entity.size,
|
|
380
|
+
linkTarget: entity.type === "link" ? entity.target : null,
|
|
381
|
+
transportVersion: null,
|
|
382
|
+
});
|
|
383
|
+
//# sourceMappingURL=apply-map.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apply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vH;;;oCAGoC;AACpC,MAAM,YAAY,GAAG,CAAC,MAAiB,EAAqB,EAAE,CAAC,CAAC;IAC9D,IAAI,EAAE,MAAM,CAAC,IAAI;IACjB,IAAI,EAAE,MAAM,CAAC,IAAI;IACjB,UAAU,EAAE,MAAM,CAAC,UAAU;IAC7B,IAAI,EAAE,MAAM,CAAC,IAAI;IACjB,MAAM,EAAE,MAAM,CAAC,MAAM;IACrB,OAAO,EAAE,MAAM,CAAC,OAAO;IACvB,cAAc,EAAE,MAAM,CAAC,IAAI,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,cAAc;IACnF,QAAQ,EAAE,MAAM,CAAC,QAAQ;IACzB,IAAI,EAAE,MAAM,CAAC,IAAI;IACjB,UAAU,EAAE,MAAM,CAAC,IAAI,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI;IACzD,gBAAgB,EAAE,IAAI;CACvB,CAAC,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
/** Live's showing law (judgeShowing) over this computer's tables. A place is
|
|
2
|
+
* shown when O holds an active row for it, beneath active rows up to its
|
|
3
|
+
* root. O holds only ground this computer shows, so its rows are the whole
|
|
4
|
+
* answer: a hidden entity has none, and one beneath a folder in Trash shows
|
|
5
|
+
* nothing, so a late result for it resolves where it sits. A row is
|
|
6
|
+
* a root when it is its own root_uuid: its binding places it, even when Add
|
|
7
|
+
* kept the cloud parentUUID of a selected nested folder or repository. A
|
|
8
|
+
* construct has no ground: it was shown when the construct ledger holds it
|
|
9
|
+
* active (construct-ledger.ts).
|
|
10
|
+
*
|
|
11
|
+
* A root the drive serves is on demand (src/drive/): what O holds beneath it
|
|
12
|
+
* was placed and keeps applying, and a result that would enter is listed
|
|
13
|
+
* until a fetch lane places its unit (Live lane.ts), unless the home places
|
|
14
|
+
* it as login does (Live placedAtHome): the runtime's own entries whole, the
|
|
15
|
+
* projects and computers folders bare. The place a lane enters, its unit or the outermost
|
|
16
|
+
* plain folder missing above it (apply-window-lane.ts), enters as it would
|
|
17
|
+
* anywhere (enteredPlace).
|
|
18
|
+
*
|
|
19
|
+
* The line reader, the settle save and the unbound guard all judge
|
|
20
|
+
* through this one reading, so a save or a guard judges exactly what the
|
|
21
|
+
* read judged, against the tables as they stand then. One judge reads each
|
|
22
|
+
* place at most once, and the line's window reads its places through the
|
|
23
|
+
* same reading (Live window.ts, Independence).
|
|
24
|
+
*
|
|
25
|
+
* A judgment is a function of the places it read, so it stands exactly
|
|
26
|
+
* while each still reads the same. A head settled with no effect commits
|
|
27
|
+
* nothing a window shows, so its end re-reads those places in the end's own
|
|
28
|
+
* transaction (apply-window-saves.ts): a parent another track placed since,
|
|
29
|
+
* or took away, makes the settlement stale, and the line judges it again. */
|
|
30
|
+
import { type LineParent, type AcceptedEntityRecord, type CloudEntityRecord, type EntityApplyIntent, type EntityType, type LineJudgment, type ShowingJudgment, type ShownPlace } from "@amalgm/live";
|
|
31
|
+
import type Database from "better-sqlite3";
|
|
32
|
+
/** What the showing law reads of one place: O's active row. */
|
|
33
|
+
export interface ShownRow {
|
|
34
|
+
readonly parentUUID: string | null;
|
|
35
|
+
readonly name: string;
|
|
36
|
+
readonly type: EntityType;
|
|
37
|
+
readonly root: boolean;
|
|
38
|
+
}
|
|
39
|
+
/** One place a judgment read, and what it found there: null for nothing. */
|
|
40
|
+
export interface PlaceRead {
|
|
41
|
+
readonly uuid: string;
|
|
42
|
+
readonly row: ShownRow | null;
|
|
43
|
+
}
|
|
44
|
+
/** A head's judgment, with every place its showing read and its played
|
|
45
|
+
* row: its line with the record played on. */
|
|
46
|
+
export interface JudgedHead {
|
|
47
|
+
readonly judgment: LineJudgment;
|
|
48
|
+
readonly places: readonly PlaceRead[];
|
|
49
|
+
readonly result: CloudEntityRecord;
|
|
50
|
+
}
|
|
51
|
+
/** O's row for one place while it shows: active, with every row above it
|
|
52
|
+
* active up to its root. Trash changes only the topmost status, so a row
|
|
53
|
+
* beneath a trashed or deleted folder stays active and shows nothing, as
|
|
54
|
+
* Detect reads it (ground-row.ts effectivelyActive). `known` keeps each
|
|
55
|
+
* place a walk read, so one judge reads each place once. */
|
|
56
|
+
export declare function readShownRow(database: Database.Database, uuid: string, known?: Map<string, ShownRow | null>): ShownRow | null;
|
|
57
|
+
/** The reference this computer shows that leads to `rootUUID`, the first by
|
|
58
|
+
* UUID, or null. A shown reference's accepted result is B's too, and B keys
|
|
59
|
+
* references by their target; O says which one shows. */
|
|
60
|
+
export declare function shownReferenceTo(database: Database.Database, rootUUID: string): string | null;
|
|
61
|
+
/** The first place of `places` that no longer reads as a judgment read it,
|
|
62
|
+
* or null while all stand. */
|
|
63
|
+
export declare function movedPlace(database: Database.Database, places: readonly PlaceRead[]): string | null;
|
|
64
|
+
/** How the line judges `target`, an entity's newest row delivered within
|
|
65
|
+
* `through`, where it sits now (Live settling.ts): the one reading the line
|
|
66
|
+
* and every fetch lane share. */
|
|
67
|
+
export declare function judgeHead(database: Database.Database, authorityId: string, entityId: string, target: AcceptedEntityRecord, through: number, shown: ShownGround): JudgedHead;
|
|
68
|
+
/** The place a member's judgment enters: a lane member that enters is its
|
|
69
|
+
* lane's entry, its unit or the outermost plain folder missing above it; any
|
|
70
|
+
* other lane member judges as its unit; a line member enters nothing listed. */
|
|
71
|
+
export declare const enteredPlace: (intent: Pick<EntityApplyIntent, "unit" | "play" | "entityId">) => string | null;
|
|
72
|
+
export interface OnDemand {
|
|
73
|
+
/** Whether this computer places a root's contents on demand. */
|
|
74
|
+
root(rootUUID: string): boolean;
|
|
75
|
+
/** Whether a root is this computer's home, whose top entries login
|
|
76
|
+
* places (Live `placedAtHome`). */
|
|
77
|
+
home(rootUUID: string): boolean;
|
|
78
|
+
}
|
|
79
|
+
/** A computer that shows every root whole. */
|
|
80
|
+
export declare const NOTHING_ON_DEMAND: OnDemand;
|
|
81
|
+
export declare class ShownGround {
|
|
82
|
+
#private;
|
|
83
|
+
/** `unit` is the place a fetch lane enters (enteredPlace), null on a line;
|
|
84
|
+
* `lineParent` is where the judged line holds an entity this computer's
|
|
85
|
+
* own move would put in a loop (LineJudge.withLineParents). */
|
|
86
|
+
constructor(database: Database.Database, onDemand: OnDemand, unit?: string | null, lineParent?: LineParent);
|
|
87
|
+
judge(result: CloudEntityRecord): ShowingJudgment;
|
|
88
|
+
/** The entities this computer moves back to their line parent before
|
|
89
|
+
* `result` stands (Live `lineReturns`), each to its line parent. */
|
|
90
|
+
returns(result: CloudEntityRecord): ReadonlyMap<string, string>;
|
|
91
|
+
/** `judge`, with every place it read. */
|
|
92
|
+
judgeReading(result: CloudEntityRecord): {
|
|
93
|
+
readonly judgment: ShowingJudgment;
|
|
94
|
+
readonly places: readonly PlaceRead[];
|
|
95
|
+
};
|
|
96
|
+
/** Whether the root a result shows beneath places on demand. */
|
|
97
|
+
beneathOnDemand(result: CloudEntityRecord): boolean;
|
|
98
|
+
/** O's row for one place while it shows, read once per judge. */
|
|
99
|
+
place(uuid: string): ShownPlace | undefined;
|
|
100
|
+
}
|
|
101
|
+
/** What `target` leaves on its entity's line: the line where it last stood,
|
|
102
|
+
* with every record after it through `target` played on (Live selection.ts).
|
|
103
|
+
* The showing law judges where that sits, and settling compares its version. */
|
|
104
|
+
export declare function playedResult(database: Database.Database, authorityId: string, entityId: string, target: AcceptedEntityRecord, stands?: CloudEntityRecord | null): CloudEntityRecord;
|