@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,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Text and link replays built from the machine content cache: the one host
|
|
3
|
+
* seam between cached bytes and Live's replay law. This file owns no
|
|
4
|
+
* watcher, scanner, database, or transport.
|
|
5
|
+
*/
|
|
6
|
+
import { type LinkReplay, type TextReplay } from "@amalgm/live";
|
|
7
|
+
/** A replay whose instruction carries sealed cache bytes themselves. The
|
|
8
|
+
* base is the payload head of the record it replaces, or null when the
|
|
9
|
+
* result replays whole. */
|
|
10
|
+
export interface CachedReplayRequest {
|
|
11
|
+
readonly entityId: string;
|
|
12
|
+
readonly type: "file.text" | "link";
|
|
13
|
+
readonly basePayloadVersion: string | null;
|
|
14
|
+
readonly resultPayloadVersion: string;
|
|
15
|
+
/** The result's bytes when its pass still holds them (cargo-journal.ts);
|
|
16
|
+
* otherwise the cache names them. */
|
|
17
|
+
readonly resultBytes: Uint8Array | null;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* The replay of one sealed text or link result, read from the machine
|
|
21
|
+
* content cache and verified against its head. Only a content thread runs
|
|
22
|
+
* this: its reads and the diff grow with the file. A base the cache does
|
|
23
|
+
* not hold selects the verified snapshot. Live's delta owns its inserted
|
|
24
|
+
* bytes, so the answer carries exactly them and never the whole file.
|
|
25
|
+
*/
|
|
26
|
+
export declare function cachedReplay(cacheDir: string, request: CachedReplayRequest): Promise<TextReplay | LinkReplay>;
|
|
27
|
+
/**
|
|
28
|
+
* The replay of a text result a capture holds in memory, built in place when
|
|
29
|
+
* its cached base is no larger than `bound`: an edit's small reads cost less
|
|
30
|
+
* than their crossing (content-capture-pool.ts). Null when the base is
|
|
31
|
+
* larger, so a content thread builds the replay instead.
|
|
32
|
+
*/
|
|
33
|
+
export declare function textReplayInPlace(cacheDir: string, request: {
|
|
34
|
+
readonly entityId: string;
|
|
35
|
+
readonly basePayloadVersion: string | null;
|
|
36
|
+
readonly resultPayloadVersion: string;
|
|
37
|
+
readonly resultBytes: Uint8Array;
|
|
38
|
+
}, bound: number): TextReplay | null;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Text and link replays built from the machine content cache: the one host
|
|
3
|
+
* seam between cached bytes and Live's replay law. This file owns no
|
|
4
|
+
* watcher, scanner, database, or transport.
|
|
5
|
+
*/
|
|
6
|
+
import { lstatSync, readFileSync } from "node:fs";
|
|
7
|
+
import { readFile } from "node:fs/promises";
|
|
8
|
+
import { textReplay, textReplayBase, } from "@amalgm/live";
|
|
9
|
+
import { contentFile } from "../content-cache-host.js";
|
|
10
|
+
import { sha256Hex } from "../sha256.js";
|
|
11
|
+
/** Cache names are content hashes; nothing else names a cache file. */
|
|
12
|
+
const CONTENT_HASH = /^[0-9a-f]{64}$/;
|
|
13
|
+
/**
|
|
14
|
+
* The replay of one sealed text or link result, read from the machine
|
|
15
|
+
* content cache and verified against its head. Only a content thread runs
|
|
16
|
+
* this: its reads and the diff grow with the file. A base the cache does
|
|
17
|
+
* not hold selects the verified snapshot. Live's delta owns its inserted
|
|
18
|
+
* bytes, so the answer carries exactly them and never the whole file.
|
|
19
|
+
*/
|
|
20
|
+
export async function cachedReplay(cacheDir, request) {
|
|
21
|
+
const { entityId, type, resultPayloadVersion } = request;
|
|
22
|
+
if (!CONTENT_HASH.test(resultPayloadVersion))
|
|
23
|
+
throw new Error(`${type} result ${entityId} names no cache entry`);
|
|
24
|
+
const resultBytes = request.resultBytes ? Buffer.from(request.resultBytes.buffer, request.resultBytes.byteOffset, request.resultBytes.byteLength) : await readFile(contentFile(cacheDir, resultPayloadVersion));
|
|
25
|
+
if (type === "link") {
|
|
26
|
+
if (sha256Hex(resultBytes) !== resultPayloadVersion) {
|
|
27
|
+
throw new Error("link result cache does not match its declared content head");
|
|
28
|
+
}
|
|
29
|
+
return { kind: "link", resultPayloadVersion };
|
|
30
|
+
}
|
|
31
|
+
const basePayloadVersion = textReplayBase(request.basePayloadVersion);
|
|
32
|
+
const baseBytes = basePayloadVersion === null ? null
|
|
33
|
+
: await readFile(contentFile(cacheDir, basePayloadVersion)).catch((error) => {
|
|
34
|
+
if (error.code === "ENOENT")
|
|
35
|
+
return null;
|
|
36
|
+
throw error;
|
|
37
|
+
});
|
|
38
|
+
return textReplay({ basePayloadVersion, baseBytes, resultPayloadVersion, resultBytes }, sha256Hex);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* The replay of a text result a capture holds in memory, built in place when
|
|
42
|
+
* its cached base is no larger than `bound`: an edit's small reads cost less
|
|
43
|
+
* than their crossing (content-capture-pool.ts). Null when the base is
|
|
44
|
+
* larger, so a content thread builds the replay instead.
|
|
45
|
+
*/
|
|
46
|
+
export function textReplayInPlace(cacheDir, request, bound) {
|
|
47
|
+
const basePayloadVersion = textReplayBase(request.basePayloadVersion);
|
|
48
|
+
let baseBytes = null;
|
|
49
|
+
if (basePayloadVersion !== null) {
|
|
50
|
+
const file = contentFile(cacheDir, basePayloadVersion);
|
|
51
|
+
const stats = lstatSync(file, { throwIfNoEntry: false });
|
|
52
|
+
if (stats && stats.size > bound)
|
|
53
|
+
return null;
|
|
54
|
+
if (stats?.isFile()) {
|
|
55
|
+
try {
|
|
56
|
+
baseBytes = readFileSync(file);
|
|
57
|
+
}
|
|
58
|
+
catch (error) {
|
|
59
|
+
if (error.code !== "ENOENT")
|
|
60
|
+
throw error;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
return textReplay({ ...request, basePayloadVersion, baseBytes }, sha256Hex);
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=cached-replay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cached-replay.js","sourceRoot":"","sources":["../../src/detection/cached-replay.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EACL,UAAU,EACV,cAAc,GAGf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,uEAAuE;AACvE,MAAM,YAAY,GAAG,gBAAgB,CAAC;AAetC;;;;;;GAMG;AACH,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,QAAgB,EAAE,OAA4B;IAC/E,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,oBAAoB,EAAE,GAAG,OAAO,CAAC;IACzD,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,oBAAoB,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,GAAG,IAAI,WAAW,QAAQ,uBAAuB,CAAC,CAAC;IACjH,MAAM,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,UAAU,EAC9G,OAAO,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,MAAM,QAAQ,CAAC,WAAW,CAAC,QAAQ,EAAE,oBAAoB,CAAC,CAAC,CAAC;IAChG,IAAI,IAAI,KAAK,MAAM,EAAE,CAAC;QACpB,IAAI,SAAS,CAAC,WAAW,CAAC,KAAK,oBAAoB,EAAE,CAAC;YACpD,MAAM,IAAI,KAAK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AAE,CAAC;gBACrD,IAAK,KAA+B,CAAC,IAAI,KAAK,QAAQ;oBAAE,MAAM,KAAK,CAAC;YACtE,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,UAAU,CAAC,EAAE,GAAG,OAAO,EAAE,kBAAkB,EAAE,SAAS,EAAE,EAAE,SAAS,CAAC,CAAC;AAC9E,CAAC"}
|
|
@@ -3,15 +3,20 @@
|
|
|
3
3
|
* inventories; it neither proves disk state nor treats observation as a
|
|
4
4
|
* durable backup or permission to overwrite it.
|
|
5
5
|
*
|
|
6
|
-
* It reads committed facts only: O, B and
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
6
|
+
* It reads committed facts only: O, B and where they differ. Only an identity O and B hold differently can be local work, and the
|
|
7
|
+
* ground's one writer marks each at its address (ground-marks.ts), so the
|
|
8
|
+
* comparison seeks those marks at and beneath each address: it costs what
|
|
9
|
+
* differs there, never the size of the ground. The applied entity is always
|
|
10
|
+
* compared, since a difference above its address can make it differ. An
|
|
11
|
+
* observed identity sharing never held is local remainder: no incoming
|
|
12
|
+
* result names it and nothing else holds a copy, so Apply keeps it and never
|
|
13
|
+
* waits for it. Any other difference between O and B is divergence unless
|
|
14
|
+
* selection explains it: a container whose membership differs only by
|
|
15
|
+
* remainder. */
|
|
12
16
|
import { sep, resolve } from "node:path";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
17
|
+
import { differingBeneath } from "../ground-marks.js";
|
|
18
|
+
import { effectivelyActive, groundRowProjection } from "../ground-row.js";
|
|
19
|
+
import { cachedStatement } from "../sqlite.js";
|
|
15
20
|
const INVENTORIES = ["entities", "detection_notebook"];
|
|
16
21
|
export function settledCaptureOutcome(database, input) {
|
|
17
22
|
if (input.addresses.length === 0)
|
|
@@ -19,28 +24,21 @@ export function settledCaptureOutcome(database, input) {
|
|
|
19
24
|
const remainder = [];
|
|
20
25
|
const divergent = database.transaction(() => {
|
|
21
26
|
const affected = new Set([input.entityId]);
|
|
22
|
-
const
|
|
27
|
+
const tops = [];
|
|
23
28
|
for (const path of [...new Set(input.addresses.map(path => resolve(path)))].sort()) {
|
|
24
|
-
const last =
|
|
29
|
+
const last = tops.at(-1);
|
|
25
30
|
if (!last || !path.startsWith(last.endsWith(sep) ? last : `${last}${sep}`))
|
|
26
|
-
|
|
31
|
+
tops.push(path);
|
|
27
32
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
for (const path of roots) {
|
|
35
|
-
const prefix = path.endsWith(sep) ? path : `${path}${sep}`;
|
|
36
|
-
const upper = prefix.slice(0, -1) + String.fromCharCode(sep.charCodeAt(0) + 1);
|
|
37
|
-
for (const row of query.all(path, input.authorityId, prefix, upper, input.authorityId)) {
|
|
38
|
-
affected.add(row.uuid);
|
|
33
|
+
const roots = cachedStatement(database, "SELECT root_uuid FROM ground_roots").pluck().all();
|
|
34
|
+
for (const inventory of INVENTORIES)
|
|
35
|
+
for (const root of roots)
|
|
36
|
+
for (const path of tops) {
|
|
37
|
+
for (const uuid of differingBeneath(database, inventory, root, path))
|
|
38
|
+
affected.add(uuid);
|
|
39
39
|
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
40
|
const readers = Object.fromEntries(INVENTORIES.map(inventory => {
|
|
43
|
-
const statement = database
|
|
41
|
+
const statement = cachedStatement(database, `SELECT ${groundRowProjection(inventory)} FROM ${inventory} WHERE uuid = ? AND resource_id = ?`);
|
|
44
42
|
const cache = new Map();
|
|
45
43
|
return [inventory, (uuid) => {
|
|
46
44
|
if (!cache.has(uuid))
|
|
@@ -49,7 +47,7 @@ export function settledCaptureOutcome(database, input) {
|
|
|
49
47
|
}];
|
|
50
48
|
}));
|
|
51
49
|
const members = Object.fromEntries(INVENTORIES.map(inventory => {
|
|
52
|
-
const statement = database
|
|
50
|
+
const statement = cachedStatement(database, `SELECT uuid, name FROM ${inventory} WHERE parent_uuid = ? AND resource_id = ? AND status = 'active'`);
|
|
53
51
|
return [inventory, (uuid) => statement.all(uuid, input.authorityId)];
|
|
54
52
|
}));
|
|
55
53
|
const active = (row, inventory) => row !== undefined
|
|
@@ -58,21 +56,20 @@ export function settledCaptureOutcome(database, input) {
|
|
|
58
56
|
const explained = (observed, shared) => {
|
|
59
57
|
if (observed.type !== shared.type || observed.parentUUID !== shared.parentUUID || observed.name !== shared.name)
|
|
60
58
|
return false;
|
|
61
|
-
if (observed.type
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
return observed.type === "repo.git" && sealDerives(readSealedRepositoryEvidence(database, observed.uuid), observed, shared);
|
|
59
|
+
if (observed.type !== "workspace" && observed.type !== "folder")
|
|
60
|
+
return false;
|
|
61
|
+
// Membership is the stored-active children by (uuid, name).
|
|
62
|
+
const key = (member) => `${member.uuid}\0${member.name}`;
|
|
63
|
+
const held = new Set(members.detection_notebook(observed.uuid).map(key));
|
|
64
|
+
const kept = members.entities(observed.uuid).filter(child => readers.detection_notebook(child.uuid) !== undefined);
|
|
65
|
+
return kept.length === held.size && kept.every(child => held.has(key(child)));
|
|
69
66
|
};
|
|
70
67
|
const divergent = [];
|
|
71
68
|
for (const uuid of affected) {
|
|
72
69
|
const physical = readers.entities(uuid), shared = readers.detection_notebook(uuid);
|
|
73
70
|
const present = active(physical, "entities"), admitted = active(shared, "detection_notebook");
|
|
74
|
-
// A different
|
|
75
|
-
// Filesystem metadata and machine addresses are not portable state
|
|
71
|
+
// A different package of the same Git state names the same version.
|
|
72
|
+
// Filesystem metadata and machine addresses are not portable state.
|
|
76
73
|
if (present === admitted && (!present || physical.version === shared.version))
|
|
77
74
|
continue;
|
|
78
75
|
if (present && shared === undefined) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"capture-outcome.js","sourceRoot":"","sources":["../../src/detection/capture-outcome.ts"],"names":[],"mappings":"AAAA
|
|
1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
3
3
|
* its active children. A child counts toward its parent by its UUID and name
|
|
4
4
|
* while active, so only a create, move, rename or lifecycle change affects a
|
|
5
|
-
* parent; a content change leaves every parent as it is.
|
|
6
|
-
* re-derives each affected
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
5
|
+
* parent; a content change leaves every parent as it is. Every save that
|
|
6
|
+
* changes membership re-derives each affected container inside its own
|
|
7
|
+
* transaction (GroundWriter.refreshMembership), from the children that save
|
|
8
|
+
* leaves recorded, each inventory from its own: observation (O) from O's
|
|
9
|
+
* rows, sharing (S) from S's. A child no save has recorded counts nowhere,
|
|
10
|
+
* so one child's admission never waits for a sibling's, and no decision
|
|
11
|
+
* reads a container's children to derive it. A membership-only container
|
|
12
|
+
* change is local; it never becomes a Record.
|
|
11
13
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import { type GroundRow } from "../ground-row.js";
|
|
14
|
+
import type { GroundRow } from "../ground-row.js";
|
|
14
15
|
type Member = Pick<GroundRow, "uuid" | "parentUUID" | "name" | "status">;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
readonly after: Member | null | undefined;
|
|
20
|
-
}>): Set<string>;
|
|
21
|
-
export declare function finalizeContainers(input: {
|
|
22
|
-
/** Each affected parent's own row in this inventory. */
|
|
23
|
-
readonly parents: readonly GroundRow[];
|
|
24
|
-
/** The complete stored children of a parent in this inventory. */
|
|
25
|
-
readonly children: (parentUUID: string) => readonly Member[];
|
|
26
|
-
/** Every identity the unit examined; their stored placement is replaced. */
|
|
27
|
-
readonly targets: ReadonlySet<string>;
|
|
28
|
-
/** The unit's rows in this inventory, wherever they now belong. */
|
|
29
|
-
readonly results: readonly Member[];
|
|
30
|
-
readonly sha256Hex: Sha256Hex;
|
|
31
|
-
}): GroundRow[];
|
|
16
|
+
/** Each container whose membership one save of `rows` and `removals` changes,
|
|
17
|
+
* judged against each identity's `stored` row before the save: the parent it
|
|
18
|
+
* leaves, the parent it joins, and each container the save itself writes. */
|
|
19
|
+
export declare function savedContainers(stored: (uuid: string) => Member | undefined, rows: readonly (Member & Pick<GroundRow, "type">)[], removals: readonly string[]): Set<string>;
|
|
32
20
|
export {};
|
|
@@ -2,18 +2,32 @@
|
|
|
2
2
|
* A container's version is its portable fields plus the membership hash of
|
|
3
3
|
* its active children. A child counts toward its parent by its UUID and name
|
|
4
4
|
* while active, so only a create, move, rename or lifecycle change affects a
|
|
5
|
-
* parent; a content change leaves every parent as it is.
|
|
6
|
-
* re-derives each affected
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
5
|
+
* parent; a content change leaves every parent as it is. Every save that
|
|
6
|
+
* changes membership re-derives each affected container inside its own
|
|
7
|
+
* transaction (GroundWriter.refreshMembership), from the children that save
|
|
8
|
+
* leaves recorded, each inventory from its own: observation (O) from O's
|
|
9
|
+
* rows, sharing (S) from S's. A child no save has recorded counts nowhere,
|
|
10
|
+
* so one child's admission never waits for a sibling's, and no decision
|
|
11
|
+
* reads a container's children to derive it. A membership-only container
|
|
12
|
+
* change is local; it never becomes a Record.
|
|
11
13
|
*/
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
+
import { DERIVED_PAYLOAD } from "@amalgm/live";
|
|
15
|
+
/** Each container whose membership one save of `rows` and `removals` changes,
|
|
16
|
+
* judged against each identity's `stored` row before the save: the parent it
|
|
17
|
+
* leaves, the parent it joins, and each container the save itself writes. */
|
|
18
|
+
export function savedContainers(stored, rows, removals) {
|
|
19
|
+
const found = membershipParents([
|
|
20
|
+
...removals.map(uuid => ({ before: stored(uuid), after: null })),
|
|
21
|
+
...rows.map(row => ({ before: stored(row.uuid), after: row }))
|
|
22
|
+
]);
|
|
23
|
+
for (const row of rows)
|
|
24
|
+
if (DERIVED_PAYLOAD.has(row.type))
|
|
25
|
+
found.add(row.uuid);
|
|
26
|
+
return found;
|
|
27
|
+
}
|
|
14
28
|
/** The parents whose membership changes between each identity's stored row
|
|
15
|
-
* and its row after a
|
|
16
|
-
|
|
29
|
+
* and its row after a save: the parent it leaves and the parent it joins. */
|
|
30
|
+
function membershipParents(changes) {
|
|
17
31
|
const parents = new Set();
|
|
18
32
|
for (const { before, after } of changes) {
|
|
19
33
|
const left = counted(before);
|
|
@@ -28,22 +42,4 @@ export function membershipParents(changes) {
|
|
|
28
42
|
return parents;
|
|
29
43
|
}
|
|
30
44
|
const counted = (row) => row?.status === "active" && row.parentUUID ? row : null;
|
|
31
|
-
export function finalizeContainers(input) {
|
|
32
|
-
const changed = [];
|
|
33
|
-
for (const parent of input.parents) {
|
|
34
|
-
// A repository's payload is its Card + Checkpoint, never a membership hash.
|
|
35
|
-
if (parent.type !== "workspace" && parent.type !== "folder") {
|
|
36
|
-
throw new Error(`named membership parent ${parent.uuid} is not a folder`);
|
|
37
|
-
}
|
|
38
|
-
const members = input.children(parent.uuid).filter(child => !input.targets.has(child.uuid))
|
|
39
|
-
.concat(input.results.filter(row => row.parentUUID === parent.uuid))
|
|
40
|
-
.filter(child => child.status === "active")
|
|
41
|
-
.map(({ uuid, name }) => ({ uuid, name }));
|
|
42
|
-
const version = canonicalVersion({ ...portable(parent),
|
|
43
|
-
payloadVersion: membershipHash(members, input.sha256Hex) }, input.sha256Hex);
|
|
44
|
-
if (version !== parent.version)
|
|
45
|
-
changed.push({ ...parent, version });
|
|
46
|
-
}
|
|
47
|
-
return changed;
|
|
48
|
-
}
|
|
49
45
|
//# sourceMappingURL=container-membership.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container-membership.js","sourceRoot":"","sources":["../../src/detection/container-membership.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"container-membership.js","sourceRoot":"","sources":["../../src/detection/container-membership.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAM/C;;6EAE6E;AAC7E,MAAM,UAAU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CAAC,GAA8B,EAAiB,EAAE,CAChE,GAAG,EAAE,MAAM,KAAK,QAAQ,IAAI,GAAG,CAAC,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"directory-proof.js","sourceRoot":"","sources":["../../src/detection/directory-proof.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"directory-proof.js","sourceRoot":"","sources":["../../src/detection/directory-proof.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAuB1C;;;;;;;;GAQG;AACH,MAAM,OAAO,mBAAmB;IACrB,MAAM,CAA2B;IACjC,SAAS,GAAG,IAAI,GAAG,EAAsD,CAAC;IACnF,2EAA2E;IAC3E,aAAa,GAAG,CAAC,CAAC;IAElB,YAAY,KAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACtB,CAAC;IAEO,IAAI,CAAC,IAAY;QACvB,IAAI,CAAC,aAAa,IAAI,CAAC,CAAC;QACxB,OAAO,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,IAAY;QAChB,MAAM,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACjC,MAAM,MAAM,GAAG,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACxC,MAAM,IAAI,GAAG,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;QACvD,OAAO,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,SAAS,CAAC;IACzE,CAAC;IAED;;6DAEyD;IACzD,SAAS,CAA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CAAC,QAAQ;eACR,IAAI,CAAC,WAAW,KAAK,QAAQ,CAAC,WAAW;eACzC,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,CAAC,KAAK,QAAQ,CAAC,UAAU;YAAE,OAAO,SAAS,CAAC;QAC1E,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,CAAC,CAAC;QAC7C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,SAAS;QACP,KAAK,MAAM,CAAC,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YAClD,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;YACnC,IAAI,CAAC,GAAG,IAAI,GAAG,CAAC,WAAW,KAAK,QAAQ,CAAC,WAAW,IAAI,GAAG,CAAC,UAAU,KAAK,QAAQ,CAAC,UAAU;gBAAE,OAAO,KAAK,CAAC;QAC/G,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC;CACF"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { type DetectBasisDescriptor, type DetectCutoff, type DetectDisposition, type DetectDispositionCounts, type DetectDispositionEvent, type DetectDispositionFact, type DetectDispositionPhase, type DetectRetry } from "@amalgm/live";
|
|
2
2
|
import type { WatchObservation } from "../watching/host.js";
|
|
3
|
-
import { type ApplyOwnershipBlocker } from "./apply-ownership.js";
|
|
4
|
-
import type { DispositionRow } from "./disposition-rows.js";
|
|
5
3
|
export interface DetectDispositionDetail {
|
|
6
4
|
readonly disposition: DetectDisposition;
|
|
7
5
|
readonly retry: DetectRetry | null;
|
|
8
6
|
readonly phase?: DetectDispositionPhase;
|
|
9
7
|
readonly reason?: string;
|
|
10
8
|
readonly counts?: DetectDispositionCounts;
|
|
11
|
-
readonly owners?: readonly string[];
|
|
12
9
|
}
|
|
13
10
|
/** Monotonic marks of one admission attempt: its save was posted, began,
|
|
14
11
|
* finished its checks (null where it never got that far), and committed or
|
|
@@ -19,8 +16,7 @@ export interface AdmissionMarks {
|
|
|
19
16
|
readonly checked: number | null;
|
|
20
17
|
readonly ended: number;
|
|
21
18
|
}
|
|
22
|
-
/** Where one admission attempt's time went. Delivered with its outcome
|
|
23
|
-
* persisted: the outcome row commits inside the save it would time. */
|
|
19
|
+
/** Where one admission attempt's time went. Delivered with its outcome. */
|
|
24
20
|
export interface AdmissionSpans {
|
|
25
21
|
/** Ready fact registered until the admission transaction was requested. */
|
|
26
22
|
readonly readyToAdmissionMs: number;
|
|
@@ -38,31 +34,19 @@ export interface AdmissionSpans {
|
|
|
38
34
|
}
|
|
39
35
|
export interface DetectLedgerDelivery {
|
|
40
36
|
readonly event: DetectDispositionEvent;
|
|
41
|
-
/** False only for a ready fact delivered in process before its row exists. */
|
|
42
|
-
readonly durable: boolean;
|
|
43
|
-
readonly sequence: number | null;
|
|
44
|
-
readonly rowBytes: number;
|
|
45
|
-
readonly writeMs: number;
|
|
46
37
|
readonly spans: AdmissionSpans | null;
|
|
47
38
|
}
|
|
48
39
|
export interface DetectLedgerReport {
|
|
49
|
-
/** `undelivered` counts earlier
|
|
40
|
+
/** `undelivered` counts earlier facts whose delivery threw. */
|
|
50
41
|
delivered(delivery: DetectLedgerDelivery, undelivered: number): void;
|
|
51
|
-
/** The facts were not recorded; the ledger is incomplete for them. */
|
|
52
|
-
gap(error: unknown, events: readonly DetectDispositionEvent[]): void;
|
|
53
|
-
pruned(rows: number, durationMs: number): void;
|
|
54
42
|
}
|
|
55
43
|
export declare class DetectDispositionLedger {
|
|
56
44
|
#private;
|
|
57
45
|
readonly incarnation: string;
|
|
58
|
-
constructor(
|
|
46
|
+
constructor(incarnation: string, report: DetectLedgerReport);
|
|
59
47
|
pass(job: number, pass: number, observations: readonly WatchObservation[]): DetectPass;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* admission a rejected outcome ends, at its delivery. */
|
|
63
|
-
persist(events: readonly DetectDispositionEvent[], spans?: (() => AdmissionSpans) | null, delivered?: readonly DetectDispositionEvent[]): void;
|
|
64
|
-
/** A committed fact stays committed: a failing sink degrades delivery,
|
|
65
|
-
* never the admission or pass that produced the fact. */
|
|
48
|
+
/** A failing sink degrades delivery, never the admission or pass that
|
|
49
|
+
* produced the fact. */
|
|
66
50
|
deliver(delivery: DetectLedgerDelivery): void;
|
|
67
51
|
}
|
|
68
52
|
/** One Detect pass's open Watch observations. The first fact for each wins;
|
|
@@ -73,8 +57,7 @@ export declare class DetectPass {
|
|
|
73
57
|
readonly job: number;
|
|
74
58
|
readonly pass: number;
|
|
75
59
|
constructor(ledger: DetectDispositionLedger, job: number, pass: number, observations: readonly WatchObservation[]);
|
|
76
|
-
/** Registers collections for admission. Each ready fact is delivered now
|
|
77
|
-
* in process; its row commits later, beside the collection's outcome. */
|
|
60
|
+
/** Registers collections for admission. Each ready fact is delivered now. */
|
|
78
61
|
collections(specs: readonly {
|
|
79
62
|
readonly observations: readonly WatchObservation[];
|
|
80
63
|
readonly unit: string;
|
|
@@ -103,21 +86,15 @@ export declare class ReadyCollection {
|
|
|
103
86
|
readonly ready: DetectDispositionEvent;
|
|
104
87
|
constructor(pass: DetectPass, id: string, unit: string, cutoffs: readonly DetectCutoff[], basis: DetectBasisDescriptor);
|
|
105
88
|
fact(fact: DetectDispositionFact, detail: DetectDispositionDetail | null): DetectDispositionEvent;
|
|
106
|
-
/**
|
|
107
|
-
|
|
108
|
-
admission(
|
|
109
|
-
/** After the admission's save committed, with the outcome's row. */
|
|
110
|
-
committed(marks: AdmissionMarks, row: DispositionRow): void;
|
|
111
|
-
/** After rollback, or before any admission began (no marks). Any row
|
|
112
|
-
* written inside the admission rolled back with it; the ready fact commits
|
|
113
|
-
* again here, beside the outcome. */
|
|
89
|
+
/** After the admission's save committed what it counts. */
|
|
90
|
+
committed(marks: AdmissionMarks, counts: DetectDispositionCounts): void;
|
|
91
|
+
/** After rollback, or before any admission began (no marks). */
|
|
114
92
|
rejected(detail: DetectDispositionDetail, marks: AdmissionMarks | null): void;
|
|
115
93
|
}
|
|
116
|
-
export declare const ownerIds: (owners: readonly ApplyOwnershipBlocker[]) => readonly string[];
|
|
117
94
|
/** A rejected admission keeps its actual cause: a storage failure stays a
|
|
118
95
|
* fault, never a changed source. */
|
|
119
96
|
export declare function admissionRejection(error: unknown): DetectDispositionDetail;
|
|
120
|
-
/** Evidence moved after it was read: a basis
|
|
97
|
+
/** Evidence moved after it was read: a basis or a source. The
|
|
121
98
|
* same read later answers again; nothing is wrong with the ground. */
|
|
122
99
|
export declare function invalidated(error: unknown): boolean;
|
|
123
100
|
/** What an error leaves on every observation its pass still held, with the
|