@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,324 @@
|
|
|
1
|
+
/** What this computer's rows say about a member's ground: where it stands,
|
|
2
|
+
* where its target goes, the siblings in its way, and whether its root and
|
|
3
|
+
* the directories on its path still stand as this computer last observed
|
|
4
|
+
* them. One reader over the two inventories, O (`entities`, what stands
|
|
5
|
+
* here) and B (`detection_notebook`, what sharing admitted). Reads only;
|
|
6
|
+
* every write is a save. */
|
|
7
|
+
import { lstatSync } from "node:fs";
|
|
8
|
+
import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "node:path";
|
|
9
|
+
import { CONTAINERS, derivedSlotName } from "@amalgm/live";
|
|
10
|
+
import { judgeBoundRoot } from "./apply-control.js";
|
|
11
|
+
import { readShownRow } from "./apply-showing.js";
|
|
12
|
+
import { hasGitMarker } from "./git/marker.js";
|
|
13
|
+
import { GROUND_ROW_PROJECTION, storedWithin } from "./ground-row.js";
|
|
14
|
+
import { groundStore } from "./ground-store.js";
|
|
15
|
+
import { physicalKey } from "./source-signature.js";
|
|
16
|
+
const groundSelect = (table) => `SELECT ${GROUND_ROW_PROJECTION} FROM ${table}`;
|
|
17
|
+
/** An address and everything beneath it, as SQL compares stored canonical
|
|
18
|
+
* addresses: equal, or inside the half-open range after its separator. The
|
|
19
|
+
* address is canonical first, so only a filesystem root ends in its separator. */
|
|
20
|
+
const CONE = "(absolute_path = ? OR (absolute_path >= ? AND absolute_path < ?))";
|
|
21
|
+
const cone = (address) => {
|
|
22
|
+
const path = resolve(address), parent = path.endsWith(sep) ? path.slice(0, -1) : path;
|
|
23
|
+
return [path, `${parent}${sep}`, `${parent}${String.fromCharCode(sep.charCodeAt(0) + 1)}`];
|
|
24
|
+
};
|
|
25
|
+
export const tryLstat = (path) => {
|
|
26
|
+
try {
|
|
27
|
+
return lstatSync(path, { bigint: true });
|
|
28
|
+
}
|
|
29
|
+
catch (error) {
|
|
30
|
+
const code = error.code;
|
|
31
|
+
if (code === "ENOENT" || code === "ENOTDIR")
|
|
32
|
+
return null;
|
|
33
|
+
throw error;
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
/** A root's binding places it. Add keeps a selected nested folder's or
|
|
37
|
+
* repository's portable parentUUID, so only root_uuid says it is a root. */
|
|
38
|
+
export const placedByBinding = (row) => row !== null && row.uuid === row.rootUUID;
|
|
39
|
+
export const pathInside = (root, candidate) => {
|
|
40
|
+
const path = relative(root, candidate);
|
|
41
|
+
return path === "" || (!isAbsolute(path) && path !== ".." && !path.startsWith(`..${sep}`));
|
|
42
|
+
};
|
|
43
|
+
/** What stands at an address or at its nearest ancestor: one lookup per
|
|
44
|
+
* ancestor, never a scan of every path held. */
|
|
45
|
+
export const nearestAt = (byPath, address) => {
|
|
46
|
+
for (let path = resolve(address);; path = dirname(path)) {
|
|
47
|
+
const found = byPath.get(path);
|
|
48
|
+
if (found !== undefined || dirname(path) === path)
|
|
49
|
+
return found;
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
/** Held ground covers an address when the address or an ancestor is held. */
|
|
53
|
+
export const heldCovers = (held) => {
|
|
54
|
+
const cones = new Map([...held].map(cone => [resolve(cone), true]));
|
|
55
|
+
return address => nearestAt(cones, address) !== undefined;
|
|
56
|
+
};
|
|
57
|
+
/** Whether any of these paths may have changed an entity's own ground
|
|
58
|
+
* (Live law B): its address or anything holding it, and beneath it only what
|
|
59
|
+
* its truth reads. A repository's truth is its Git directory, never its
|
|
60
|
+
* checkout, whose files are entities of their own; beneath any other entity
|
|
61
|
+
* every path counts. Each path's ancestors are listed once, so a question is
|
|
62
|
+
* a lookup. */
|
|
63
|
+
export const meetsGround = (paths) => {
|
|
64
|
+
const inside = heldCovers(paths);
|
|
65
|
+
const holders = new Set();
|
|
66
|
+
for (const path of paths) {
|
|
67
|
+
for (let at = resolve(path); !holders.has(at); at = dirname(at)) {
|
|
68
|
+
holders.add(at);
|
|
69
|
+
if (dirname(at) === at)
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
return ({ type, absolutePath }) => inside(absolutePath)
|
|
74
|
+
|| holders.has(resolve(type === "repo.git" ? join(absolutePath, ".git") : absolutePath));
|
|
75
|
+
};
|
|
76
|
+
export class WindowGround {
|
|
77
|
+
database;
|
|
78
|
+
#rowByUuid;
|
|
79
|
+
#entityByUuid;
|
|
80
|
+
#entityAtPath;
|
|
81
|
+
#entitiesAtPaths;
|
|
82
|
+
#entitiesOutside;
|
|
83
|
+
#pendingOutbox;
|
|
84
|
+
#containersWithin;
|
|
85
|
+
#rowsByParent;
|
|
86
|
+
#slotHolders;
|
|
87
|
+
#siblingStanding;
|
|
88
|
+
#bindingRoots;
|
|
89
|
+
constructor(database) {
|
|
90
|
+
this.database = database;
|
|
91
|
+
this.#rowByUuid = database.prepare(`${groundSelect("detection_notebook")} WHERE uuid = ? LIMIT 1`);
|
|
92
|
+
this.#entityByUuid = database.prepare(`${groundSelect("entities")} WHERE uuid = ? LIMIT 1`);
|
|
93
|
+
this.#entityAtPath = database.prepare(`${groundSelect("entities")} WHERE absolute_path = ? AND status = 'active' LIMIT 1`);
|
|
94
|
+
this.#entitiesAtPaths = database.prepare(`${groundSelect("entities")} WHERE absolute_path IN (SELECT value FROM json_each(?)) AND status = 'active'`);
|
|
95
|
+
this.#entitiesOutside = database.prepare(`${groundSelect("entities")} WHERE uuid IN (SELECT value FROM json_each(?)) AND status = 'active'
|
|
96
|
+
AND NOT ${CONE} AND NOT ${CONE}`);
|
|
97
|
+
this.#pendingOutbox = database.prepare("SELECT DISTINCT entity_id FROM record_outbox WHERE authority_id = ? AND status = 'pending'");
|
|
98
|
+
this.#containersWithin = database.prepare(`SELECT uuid, absolute_path AS absolutePath, type FROM entities
|
|
99
|
+
WHERE status = 'active' AND type IN ('workspace', 'folder', 'repo.git')
|
|
100
|
+
AND ${CONE}`);
|
|
101
|
+
this.#rowsByParent = database.prepare(`${groundSelect("detection_notebook")} WHERE parent_uuid = ? AND status = 'active' AND uuid <> root_uuid`);
|
|
102
|
+
this.#slotHolders = database.prepare(`SELECT uuid, name, type FROM detection_notebook
|
|
103
|
+
WHERE parent_uuid = ? AND name = ? AND status = 'active' AND uuid <> root_uuid`);
|
|
104
|
+
this.#siblingStanding = database.prepare(`${groundSelect("detection_notebook")} WHERE uuid IN (SELECT uuid FROM entities WHERE absolute_path = ?)
|
|
105
|
+
AND parent_uuid = ? AND status = 'active' AND uuid <> root_uuid AND uuid <> ? LIMIT 1`);
|
|
106
|
+
// One probe per root: each root's own row is its binding.
|
|
107
|
+
this.#bindingRoots = database.prepare(`SELECT e.absolute_path AS absolutePath, e.physical_key AS physicalKey FROM ground_roots g
|
|
108
|
+
CROSS JOIN entities e ON e.uuid = g.root_uuid AND e.root_uuid = g.root_uuid WHERE e.status = 'active'`);
|
|
109
|
+
}
|
|
110
|
+
/** O's active row for an entity, or null. */
|
|
111
|
+
current(entityId) {
|
|
112
|
+
const row = this.observed(entityId);
|
|
113
|
+
return row?.status === "active" ? row : null;
|
|
114
|
+
}
|
|
115
|
+
/** O's row for an entity, any status. */
|
|
116
|
+
observed(entityId) {
|
|
117
|
+
return this.#entityByUuid.get(entityId);
|
|
118
|
+
}
|
|
119
|
+
/** B's row for an entity, any status. */
|
|
120
|
+
shared(entityId) {
|
|
121
|
+
return this.#rowByUuid.get(entityId);
|
|
122
|
+
}
|
|
123
|
+
/** O's active row at an absolute path. */
|
|
124
|
+
atPath(path) {
|
|
125
|
+
return this.#entityAtPath.get(path);
|
|
126
|
+
}
|
|
127
|
+
/** O's active rows at these addresses, by address, in one statement. */
|
|
128
|
+
atPaths(paths) {
|
|
129
|
+
const rows = new Map();
|
|
130
|
+
for (const row of this.#entitiesAtPaths.all(JSON.stringify(paths))) {
|
|
131
|
+
if (!rows.has(row.absolutePath))
|
|
132
|
+
rows.set(row.absolutePath, row);
|
|
133
|
+
}
|
|
134
|
+
return rows;
|
|
135
|
+
}
|
|
136
|
+
/** O's active rows of these entities standing outside both addresses and
|
|
137
|
+
* everything beneath them, in one statement: an entity standing inside
|
|
138
|
+
* costs no row. */
|
|
139
|
+
standingOutside(entityIds, first, second) {
|
|
140
|
+
return this.#entitiesOutside.all(JSON.stringify(entityIds), ...cone(first), ...cone(second));
|
|
141
|
+
}
|
|
142
|
+
rowsUnder(inventory, rootUUID, relativePath) {
|
|
143
|
+
return groundStore(this.database).rowsUnder(inventory, rootUUID, relativePath);
|
|
144
|
+
}
|
|
145
|
+
/** The containers O holds at `path` and beneath it whose `.git` sharing
|
|
146
|
+
* never held: one naming no repository, or one O does not record as a
|
|
147
|
+
* repository yet. It has no copy anywhere else. */
|
|
148
|
+
unsharedGitWithin(path) {
|
|
149
|
+
return this.#containersWithin.all(...cone(path))
|
|
150
|
+
.filter(row => tryLstat(join(row.absolutePath, ".git")) !== null
|
|
151
|
+
&& (row.type !== "repo.git" || !hasGitMarker(row.absolutePath)))
|
|
152
|
+
.map(row => row.uuid);
|
|
153
|
+
}
|
|
154
|
+
/** The entities beneath `container` whose local result has no authority
|
|
155
|
+
* sequence yet. */
|
|
156
|
+
pendingWithin(authorityId, container) {
|
|
157
|
+
return this.#pendingOutbox.all(authorityId).flatMap(({ entity_id: uuid }) => {
|
|
158
|
+
const row = uuid === container.uuid ? null : this.current(uuid);
|
|
159
|
+
return row && pathInside(container.absolutePath, row.absolutePath) ? [uuid] : [];
|
|
160
|
+
});
|
|
161
|
+
}
|
|
162
|
+
/** Every root this computer binds, as its own row stands. */
|
|
163
|
+
bindingRoots() {
|
|
164
|
+
return this.#bindingRoots.all();
|
|
165
|
+
}
|
|
166
|
+
root(current) {
|
|
167
|
+
const root = this.current(current.rootUUID);
|
|
168
|
+
if (!root)
|
|
169
|
+
throw new Error(`entity ${current.uuid} has no materialized root ${current.rootUUID}`);
|
|
170
|
+
return root;
|
|
171
|
+
}
|
|
172
|
+
placedParent(row) {
|
|
173
|
+
const parent = this.current(row.parentUUID);
|
|
174
|
+
if (!parent)
|
|
175
|
+
throw new Error(`entity ${row.uuid} lost materialized parent ${row.parentUUID}`);
|
|
176
|
+
return parent;
|
|
177
|
+
}
|
|
178
|
+
/** Every address a member touches lies in its binding: the root its
|
|
179
|
+
* placed row, or else its parent, is materialized in. */
|
|
180
|
+
bindingRoot(context) {
|
|
181
|
+
return this.root((context.current ?? context.parent)).absolutePath;
|
|
182
|
+
}
|
|
183
|
+
samePhysicalDirectory(row) {
|
|
184
|
+
const physical = tryLstat(row.absolutePath);
|
|
185
|
+
return physical !== null && physical.isDirectory() && !physical.isSymbolicLink() && physicalKey(physical) === row.physicalKey;
|
|
186
|
+
}
|
|
187
|
+
/** Whether the row and every container above it, to its root, stand as O
|
|
188
|
+
* last observed them. `proved` keeps the rows whose chains one guard has
|
|
189
|
+
* already read, so the guard asks for each directory on its paths once. */
|
|
190
|
+
directoryAncestorsMatch(row, proved = new Map()) {
|
|
191
|
+
const seen = new Map();
|
|
192
|
+
let current = row;
|
|
193
|
+
while (current && !proved.has(current.uuid)) {
|
|
194
|
+
if (seen.has(current.uuid)) {
|
|
195
|
+
throw new Error(`Apply directory ancestry has a cycle: ${[...seen.values()]
|
|
196
|
+
.map(({ uuid, parentUUID, relativePath }) => `${uuid} under ${parentUUID} at ${relativePath}`).join(", ")}`);
|
|
197
|
+
}
|
|
198
|
+
seen.set(current.uuid, current);
|
|
199
|
+
if (CONTAINERS.has(current.type) && !this.samePhysicalDirectory(current))
|
|
200
|
+
return false;
|
|
201
|
+
if (current.uuid === current.rootUUID)
|
|
202
|
+
break;
|
|
203
|
+
current = current.parentUUID === null ? null : this.current(current.parentUUID);
|
|
204
|
+
}
|
|
205
|
+
if (!current)
|
|
206
|
+
return false;
|
|
207
|
+
for (const [uuid, row] of seen)
|
|
208
|
+
proved.set(uuid, row);
|
|
209
|
+
return true;
|
|
210
|
+
}
|
|
211
|
+
/** Whether every directory a guard proved still stands: the guard keeps
|
|
212
|
+
* the rows it read and reads only the disk again as it closes, after its
|
|
213
|
+
* last wait, so the check that authorizes the effect stays the latest. */
|
|
214
|
+
directoriesStand(proved) {
|
|
215
|
+
for (const row of proved.values()) {
|
|
216
|
+
if (CONTAINERS.has(row.type) && !this.samePhysicalDirectory(row))
|
|
217
|
+
return false;
|
|
218
|
+
}
|
|
219
|
+
return true;
|
|
220
|
+
}
|
|
221
|
+
/** Byte equality cannot adopt a replaced populated directory. Leaves may
|
|
222
|
+
* have a new inode after an ordinary atomic save; containers retain their
|
|
223
|
+
* proven physical identity until Detect or Apply accounts for a move. */
|
|
224
|
+
physicalDirectoriesMatch(row, proved) {
|
|
225
|
+
if (!this.directoryAncestorsMatch(row, proved))
|
|
226
|
+
return false;
|
|
227
|
+
if (!CONTAINERS.has(row.type))
|
|
228
|
+
return true;
|
|
229
|
+
return this.rowsUnder("entities", row.rootUUID, row.relativePath)
|
|
230
|
+
.every(child => child.status !== "active" || !CONTAINERS.has(child.type) || this.samePhysicalDirectory(child));
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* A member's addresses and the sibling moves that make room for its
|
|
234
|
+
* target, derived from current rows. A shown result takes its derived
|
|
235
|
+
* address beneath its parent, or a root its machine binding. A Leave is
|
|
236
|
+
* placed by the ground it leaves. Apply moves only the siblings standing in
|
|
237
|
+
* its target's way, each to its own derived address, until an address no
|
|
238
|
+
* sibling holds; each derived name in one group is distinct, so the chain
|
|
239
|
+
* is finite. Null when current rows cannot place the member: the showing
|
|
240
|
+
* law judges these same rows, so the guard then finds the play changed. A
|
|
241
|
+
* row beneath a folder in Trash shows nothing, so it places nothing: a
|
|
242
|
+
* result that leaves that folder enters where it lands.
|
|
243
|
+
*
|
|
244
|
+
* `returns` (Live `lineReturns`) are the entities this computer's own
|
|
245
|
+
* move put inside the target, each with the line parent it goes back to
|
|
246
|
+
* first. Every address is derived from current rows, then read at where
|
|
247
|
+
* it stands once the returns have moved.
|
|
248
|
+
*/
|
|
249
|
+
context(target, leaving, returns = new Map()) {
|
|
250
|
+
const current = readShownRow(this.database, target.uuid) ? this.current(target.uuid) : null;
|
|
251
|
+
if (leaving && !current)
|
|
252
|
+
return null;
|
|
253
|
+
if (placedByBinding(current)) {
|
|
254
|
+
if (leaving)
|
|
255
|
+
throw new Error(`root ${target.uuid} cannot leave this computer from inside its own binding`);
|
|
256
|
+
return { current, parent: null, targetPath: current.absolutePath, targetName: target.name, room: [] };
|
|
257
|
+
}
|
|
258
|
+
if (leaving) {
|
|
259
|
+
return { current, parent: this.placedParent(current), targetPath: current.absolutePath,
|
|
260
|
+
targetName: basename(current.absolutePath), room: [] };
|
|
261
|
+
}
|
|
262
|
+
const parent = target.parentUUID ? this.current(target.parentUUID) : null;
|
|
263
|
+
if (!parent)
|
|
264
|
+
return null;
|
|
265
|
+
const moves = [];
|
|
266
|
+
const at = (path) => moves.reduce((address, move) => storedWithin(move.source, address)
|
|
267
|
+
? move.destination + address.slice(move.source.length) : address, path);
|
|
268
|
+
for (const [uuid, lineParent] of returns) {
|
|
269
|
+
const row = this.current(uuid), home = this.current(lineParent);
|
|
270
|
+
if (!row || !home)
|
|
271
|
+
return null;
|
|
272
|
+
const child = { uuid, name: row.name, type: row.type };
|
|
273
|
+
moves.push({ row, source: at(row.absolutePath),
|
|
274
|
+
destination: join(at(home.absolutePath), derivedSlotName(child, this.slotGroup(lineParent, child))) });
|
|
275
|
+
}
|
|
276
|
+
const group = this.slotGroup(parent.uuid, target);
|
|
277
|
+
const targetName = derivedSlotName(target, group);
|
|
278
|
+
const targetPath = join(parent.absolutePath, targetName);
|
|
279
|
+
const room = [];
|
|
280
|
+
for (let source = targetPath, row = this.siblingAt(parent.uuid, source, target.uuid); row; row = this.siblingAt(parent.uuid, source, target.uuid)) {
|
|
281
|
+
const destination = join(parent.absolutePath, derivedSlotName(row, group));
|
|
282
|
+
room.push({ row, source: at(source), destination: at(destination) });
|
|
283
|
+
source = destination;
|
|
284
|
+
}
|
|
285
|
+
return { current, parent, targetPath: at(targetPath), targetName, room: [...moves, ...room] };
|
|
286
|
+
}
|
|
287
|
+
/** The parent's children with the target at its result. B determines
|
|
288
|
+
* admitted portable slots; the whole group is read at most once, and only
|
|
289
|
+
* when a shared name needs it. */
|
|
290
|
+
slotGroup(parentUUID, target) {
|
|
291
|
+
const others = (rows) => rows.filter(row => row.uuid !== target.uuid);
|
|
292
|
+
let group = null;
|
|
293
|
+
return {
|
|
294
|
+
holders: name => [...others(this.#slotHolders.all(parentUUID, name)), ...target.name === name ? [target] : []],
|
|
295
|
+
group: () => group ??= [...others(this.#rowsByParent.all(parentUUID)), target],
|
|
296
|
+
};
|
|
297
|
+
}
|
|
298
|
+
/** The parent's active child in B, other than the target, whose ground O
|
|
299
|
+
* records at this address. */
|
|
300
|
+
siblingAt(parentUUID, path, targetUUID) {
|
|
301
|
+
return this.#siblingStanding.get(path, parentUUID, targetUUID) ?? null;
|
|
302
|
+
}
|
|
303
|
+
/** A root that does not stand as this computer last observed it holds the
|
|
304
|
+
* line until Detect observes it again and its capability returns. */
|
|
305
|
+
unavailableRoot(target) {
|
|
306
|
+
const anchors = [this.current(target.uuid), target.parentUUID ? this.current(target.parentUUID) : null];
|
|
307
|
+
const checked = new Set();
|
|
308
|
+
for (const anchor of anchors) {
|
|
309
|
+
if (!anchor)
|
|
310
|
+
continue;
|
|
311
|
+
const root = this.root(anchor);
|
|
312
|
+
if (checked.has(root.uuid))
|
|
313
|
+
continue;
|
|
314
|
+
checked.add(root.uuid);
|
|
315
|
+
if (judgeBoundRoot({ path: root.absolutePath, physicalKey: root.physicalKey }) === "present")
|
|
316
|
+
continue;
|
|
317
|
+
return { kind: "dependency",
|
|
318
|
+
reason: `Materialized root ${root.absolutePath} is unavailable or was re-created; Apply waits until Detect observes it again.`,
|
|
319
|
+
waitFor: { producer: "capability", entityIds: [root.uuid] } };
|
|
320
|
+
}
|
|
321
|
+
return null;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
//# sourceMappingURL=apply-window-ground.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apply-window-ground.js","sourceRoot":"","sources":["../src/apply-window-ground.ts"],"names":[],"mappings":"AAAA;;;;;4BAK4B;AAC5B,OAAO,EAAE,SAAS,EAAoB,MAAM,SAAS,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,eAAe,EACd,MAAM,cAAc,CAAC;AAE3C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAqC,MAAM,iBAAiB,CAAC;AACzG,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AA6BpD,MAAM,YAAY,GAAG,CAAC,KAAwC,EAAU,EAAE,CAAC,UAAU,qBAAqB,SAAS,KAAK,EAAE,CAAC;AAE3H;;kFAEkF;AAClF,MAAM,IAAI,GAAG,mEAAmE,CAAC;AACjF,MAAM,IAAI,GAAG,CAAC,OAAe,EAA4B,EAAE;IACzD,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,K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,IAAI,IAAI,CAAC;IAC1G,CAAC;IAED;yEACqE;IACrE,eAAe,CAAC,MAAyB;QACvC,MAAM,OAAO,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QACxG,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;QAClC,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;YAC7B,IAAI,CAAC,MAAM;gBAAE,SAAS;YACtB,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YAC/B,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC;gBAAE,SAAS;YACrC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACvB,IAAI,cAAc,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,YAAY,EAAE,WAAW,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,KAAK,SAAS;gBAAE,SAAS;YACvG,OAAO,EAAE,IAAI,EAAE,YAAY;gBACzB,MAAM,EAAE,qBAAqB,IAAI,CAAC,YAAY,gFAAgF;gBAC9H,OAAO,EAAE,EAAE,QAAQ,EAAE,YAAY,EAAE,SAAS,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;QAClE,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { type AcceptedEntityRecord, type CaptureLocalEffect, type EntityApplyCargoPort, type EntityApplyEffectsPort, type EntityApplyIntent, type EntityApplyPlan, type EntityType, type LocalCaptureResult, type Recoveries, type RefusedMove } from "@amalgm/live";
|
|
2
|
+
import { ApplyDurability } from "./apply-durability.js";
|
|
3
|
+
import { type ReadContent } from "./apply-window-cargo.js";
|
|
4
|
+
import { type OnDemand } from "./apply-showing.js";
|
|
5
|
+
import { ApplyWindowStore } from "./apply-window-store.js";
|
|
6
|
+
import { type ConstructApplyHostOptions } from "./construct-apply-host.js";
|
|
7
|
+
import { ConstructLedger } from "./construct-ledger.js";
|
|
8
|
+
import { type SecretFollower } from "./keychain/secret-apply.js";
|
|
9
|
+
import { type DerivedRelocationPort } from "./derived-relocation.js";
|
|
10
|
+
import { type RestorePackage } from "./git/held-package.js";
|
|
11
|
+
import { type ProvenGraphs } from "./received-state.js";
|
|
12
|
+
export type { LocalApplyArtifact } from "./apply-window-cargo.js";
|
|
13
|
+
export interface ApplyWindowHostOptions {
|
|
14
|
+
readonly databaseFile: string;
|
|
15
|
+
readonly cacheDir: string;
|
|
16
|
+
readonly bindingDir: string;
|
|
17
|
+
/** Where this machine keeps the storage of self-held worktrees
|
|
18
|
+
* (git/home.ts); null where it builds none. */
|
|
19
|
+
readonly gitStorage?: string | null;
|
|
20
|
+
/** Seal a set of artifacts into the cache, keyed by content hash. The set
|
|
21
|
+
* is the primitive: an Enter's whole closure is one set, and one result is
|
|
22
|
+
* a set of one. */
|
|
23
|
+
readonly readContent: ReadContent;
|
|
24
|
+
/** This computer's one recover() counter (Live recover.ts). */
|
|
25
|
+
readonly recoveries?: Recoveries;
|
|
26
|
+
/** Fetches back a repository package a row names and the cache lost, or
|
|
27
|
+
* hands the repository to recover() when the cloud holds none
|
|
28
|
+
* (git/held-package.ts). */
|
|
29
|
+
readonly restorePackage: RestorePackage;
|
|
30
|
+
/** Bytes moved for the window placing `unit` (Live `progressed`): its
|
|
31
|
+
* cargo landing, the reads that prove it, its staged copy, its Verify. */
|
|
32
|
+
readonly progressed?: (unit: string, bytes: number) => void;
|
|
33
|
+
/** This computer's proven kept heads, read through the pages Add and login
|
|
34
|
+
* read. A container Enter reads the authority's state at its own delivery
|
|
35
|
+
* position, or its lane's cutoff, from them. */
|
|
36
|
+
readonly graphs: ProvenGraphs;
|
|
37
|
+
/** Which product answers for a construct type in this installation. */
|
|
38
|
+
readonly constructProduct?: ConstructApplyHostOptions["product"];
|
|
39
|
+
/** The keychain's shelf, asked per act: it starts after this rail exists. */
|
|
40
|
+
readonly secretFollower?: () => SecretFollower | null;
|
|
41
|
+
/** Prove the compared addresses through Detect + Record before returning. */
|
|
42
|
+
readonly captureLocal: CaptureLocalEffect;
|
|
43
|
+
/** Which roots this computer places on demand, the drive's (src/drive/),
|
|
44
|
+
* and which of them is its home. */
|
|
45
|
+
readonly onDemand?: OnDemand;
|
|
46
|
+
/** Enter a workspace root a held reference leads to, at a received
|
|
47
|
+
* position, as Add places a root (Live `enterRoot`). */
|
|
48
|
+
readonly enterRoot?: (rootUUID: string, through: number) => Promise<void>;
|
|
49
|
+
/** Serializes final Apply truth mutation with the host's Detect observation
|
|
50
|
+
* over exactly the address cones this window touches. `inPlace` names files
|
|
51
|
+
* its Git ref updates may change in place through links outside them. */
|
|
52
|
+
readonly acquireGround: (cones: readonly string[], inPlace?: () => Iterable<string>) => Promise<() => void>;
|
|
53
|
+
/** Transient evidence only. */
|
|
54
|
+
readonly onStage?: (evidence: EntityApplyStageEvidence) => void;
|
|
55
|
+
/** A window ended: its ground is no longer owned, so Detect may look again;
|
|
56
|
+
* `stated`: its end appended an echo, so Send has a row to offer. */
|
|
57
|
+
readonly onWindowEnded?: (scope: {
|
|
58
|
+
cones: readonly string[];
|
|
59
|
+
uuids: readonly string[];
|
|
60
|
+
stated: boolean;
|
|
61
|
+
}) => void;
|
|
62
|
+
/** A durability point failed; its windows stay owed. */
|
|
63
|
+
readonly onBackgroundError?: (error: Error) => void;
|
|
64
|
+
/** Test-visible crash seam for the two durable steps of a derived address
|
|
65
|
+
* relocation. Production supplies no hook. */
|
|
66
|
+
readonly onDerivedRelocationStage?: DerivedRelocationPort["onStage"];
|
|
67
|
+
readonly now?: () => number;
|
|
68
|
+
}
|
|
69
|
+
export type EntityApplyStage = "preflight-started" | "preflight-finished" | "preparation-started" | "cargo-verified" | "waiting-for-ground" | "ground-acquired" | "reveal-started" | "reveal-finished" | "verify-started"
|
|
70
|
+
/** Local ground a member set aside was kept, durably (apply-kept.ts): the
|
|
71
|
+
* remainder its matching Verify keeps, or a copy whose home a person took. */
|
|
72
|
+
| "kept" | "verify-finished" | "proof-stale" | "settled"
|
|
73
|
+
/** The end commit landed: the verified finish line. */
|
|
74
|
+
| "retired"
|
|
75
|
+
/** The end commit landed past the resolved prefix: judged again next step. */
|
|
76
|
+
| "owed"
|
|
77
|
+
/** The durability point landed for this member's window. */
|
|
78
|
+
| "durable";
|
|
79
|
+
export interface EntityApplyStageEvidence {
|
|
80
|
+
readonly entityId: string;
|
|
81
|
+
readonly throughSequence: number;
|
|
82
|
+
readonly type: EntityType;
|
|
83
|
+
readonly stage: EntityApplyStage;
|
|
84
|
+
/** Why a settled member owed no Apply effect (Live settling.ts). */
|
|
85
|
+
readonly settlement?: string;
|
|
86
|
+
/** Which consumed fact moved under a stale end commit, or why a member stays owed. */
|
|
87
|
+
readonly reason?: string;
|
|
88
|
+
/** How a retired member ended: materialized, settled or owed. */
|
|
89
|
+
readonly completion?: string;
|
|
90
|
+
/** The file and link reads the member took from ground since its previous stage. */
|
|
91
|
+
readonly contentReads?: number;
|
|
92
|
+
readonly at: number;
|
|
93
|
+
}
|
|
94
|
+
/** One persistent machine-effect owner for the Apply rail lifetime. */
|
|
95
|
+
export declare class ApplyWindowHost {
|
|
96
|
+
#private;
|
|
97
|
+
readonly store: ApplyWindowStore;
|
|
98
|
+
readonly effects: EntityApplyEffectsPort;
|
|
99
|
+
/** The construct records this computer holds; constructs have no ground. */
|
|
100
|
+
readonly constructs: ConstructLedger;
|
|
101
|
+
readonly cargo: EntityApplyCargoPort;
|
|
102
|
+
readonly durability: ApplyDurability;
|
|
103
|
+
/** The cloud's verdict when its order refuses a record's move, for the rail's plays. */
|
|
104
|
+
readonly loops: (record: AcceptedEntityRecord) => RefusedMove | undefined;
|
|
105
|
+
constructor(options: ApplyWindowHostOptions);
|
|
106
|
+
close(): void;
|
|
107
|
+
/**
|
|
108
|
+
* Recovery on every start, before Detect looks: every window ended but
|
|
109
|
+
* not yet durable is owed to the point again. Its bytes persisted before
|
|
110
|
+
* they were shown (ApplyWindowStore.bindWindow), so it owes only
|
|
111
|
+
* placement. An open window is the line's own first step (#recover).
|
|
112
|
+
*/
|
|
113
|
+
recoverStart(): Promise<void>;
|
|
114
|
+
/** The rail's idle: every revealed byte persists, then one strict save.
|
|
115
|
+
* The line holds no kept head past it; a graph a drive map holds stays. */
|
|
116
|
+
durabilityPoint(): Promise<void>;
|
|
117
|
+
observedDependencies(entityIds: readonly string[], observations: readonly {
|
|
118
|
+
readonly directory: string;
|
|
119
|
+
readonly suspicion: {
|
|
120
|
+
readonly paths: readonly string[] | null;
|
|
121
|
+
};
|
|
122
|
+
}[]): readonly string[];
|
|
123
|
+
/** Where an examination of these entities must read: each one's O and B
|
|
124
|
+
* placement, so an entity that vanished starts from its original address. */
|
|
125
|
+
examinationAddresses(entityIds: readonly string[]): readonly string[];
|
|
126
|
+
/**
|
|
127
|
+
* The visible addresses one member may read or replace: its target
|
|
128
|
+
* address, the entity's current address when it moves, its room chain's
|
|
129
|
+
* sources and destinations. A bound member's are its receipt's. A member current rows no longer place holds only its O
|
|
130
|
+
* address, and its guard then finds its play changed.
|
|
131
|
+
*/
|
|
132
|
+
applyAddresses(intent: EntityApplyIntent, plan: EntityApplyPlan): readonly string[];
|
|
133
|
+
/** Called only after the requesting Watch cutoff settles. Outbox protection
|
|
134
|
+
* remains the rail's independent check; local-only observations never fake it. */
|
|
135
|
+
captureOutcome(intent: EntityApplyIntent, plan: EntityApplyPlan, observedAddresses: readonly string[]): LocalCaptureResult;
|
|
136
|
+
}
|