@amalgm/shell 0.1.164-preview.44386772850 → 0.1.164-preview.44991101539
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/dist/accepted-fold.js +0 -36
- package/dist/accepted-tail.js +0 -3
- package/dist/accepted-view.js +0 -1
- package/dist/agent-execution.js +0 -2
- package/dist/agent-instructions.js +0 -6
- package/dist/apply-attempt-memory.js +0 -5
- package/dist/apply-control.js +0 -50
- package/dist/apply-displaced-tree.js +0 -51
- package/dist/apply-durability.js +0 -16
- package/dist/apply-enter-build.js +2 -46
- package/dist/apply-enter-plan.js +0 -59
- package/dist/apply-fingerprint.js +0 -21
- package/dist/apply-git-held.js +4 -90
- package/dist/apply-git-storage.js +2 -38
- package/dist/apply-kept.js +0 -40
- package/dist/apply-local-work.js +0 -12
- package/dist/apply-map.js +18 -122
- package/dist/apply-showing.js +0 -71
- package/dist/apply-shown-again.js +0 -22
- package/dist/apply-spelling.js +0 -31
- package/dist/apply-trash-keep.js +5 -28
- package/dist/apply-window-cargo.js +0 -55
- package/dist/apply-window-ground.js +9 -71
- package/dist/apply-window-host.js +42 -421
- package/dist/apply-window-lane.js +0 -73
- package/dist/apply-window-line.js +0 -33
- package/dist/apply-window-recovery.js +0 -26
- package/dist/apply-window-reveal.js +0 -32
- package/dist/apply-window-rows.js +0 -53
- package/dist/apply-window-saves.js +0 -184
- package/dist/apply-window-store.js +0 -61
- package/dist/apply-window-verify.js +0 -42
- package/dist/authority-binding.js +0 -28
- package/dist/authorization/device-key.js +0 -1
- package/dist/authorization/index.js +0 -2
- package/dist/authorization/issuer.js +0 -1
- package/dist/authorization/key-store.js +0 -1
- package/dist/authorization/native-keyring.js +0 -1
- package/dist/authorization/recovery-client.js +0 -2
- package/dist/authorization/recovery-host.js +0 -1
- package/dist/authorization/recovery.js +0 -3
- package/dist/authorization/registration-http.js +0 -2
- package/dist/authorization/secret-process.js +0 -2
- package/dist/authorization/setup-http.js +0 -1
- package/dist/automations-cli-host.js +0 -2
- package/dist/background-error.js +0 -5
- package/dist/baseline-content.js +0 -3
- package/dist/billing/cli.js +0 -10
- package/dist/billing/mount.js +0 -1
- package/dist/billing/tools.js +0 -3
- package/dist/boot-identity.js +0 -12
- package/dist/browser-host.js +0 -15
- package/dist/builtin-agents.js +0 -8
- package/dist/capture-work.js +0 -9
- package/dist/captured-rows.js +4 -6
- package/dist/cargo-group.js +0 -48
- package/dist/cargo-journal.js +0 -36
- package/dist/channel-session.js +0 -9
- package/dist/chat-composition.js +0 -4
- package/dist/chat-host.js +0 -4
- package/dist/chat-toolbox.js +0 -2
- package/dist/chat-tools.js +0 -3
- package/dist/cli-arguments.js +17 -3
- package/dist/cli-commands.js +272 -0
- package/dist/cli.js +24 -72
- package/dist/construct-apply-host.js +0 -24
- package/dist/construct-door.js +3 -15
- package/dist/construct-ledger.js +3 -21
- package/dist/construct-products.js +0 -7
- package/dist/content-cache-collection.js +1 -27
- package/dist/content-cache-fences.js +0 -30
- package/dist/content-cache-host.js +0 -216
- package/dist/content-cache-index.js +0 -24
- package/dist/content-cache-namespace.js +0 -52
- package/dist/content-cache-partials.js +0 -23
- package/dist/content-cache-retention.js +1 -53
- package/dist/content-capture-pool.js +6 -134
- package/dist/content-capture-worker.js +4 -14
- package/dist/content-clock.js +1 -177
- package/dist/content-direct.js +0 -39
- package/dist/content-failure.js +0 -8
- package/dist/content-qualification.js +0 -56
- package/dist/content-wire-codec.js +0 -8
- package/dist/credentials-host.js +0 -2
- package/dist/derived-relocation.js +0 -27
- package/dist/detection/accepted-result.js +0 -14
- package/dist/detection/admission-save.js +0 -10
- package/dist/detection/admission-units.js +3 -93
- package/dist/detection/alias-discovery.js +0 -19
- package/dist/detection/alias-examination.js +0 -22
- package/dist/detection/apply-ownership.js +4 -52
- package/dist/detection/basis-advanced.js +0 -11
- package/dist/detection/cached-replay.js +0 -20
- package/dist/detection/capture-outcome.js +0 -20
- package/dist/detection/container-membership.js +0 -19
- package/dist/detection/detect-cancelled.js +0 -3
- package/dist/detection/directory-proof.js +0 -20
- package/dist/detection/dispositions.js +0 -29
- package/dist/detection/examinations.js +0 -32
- package/dist/detection/ground-proof.js +20 -130
- package/dist/detection/ground-reader.js +0 -9
- package/dist/detection/identity-discovery.js +15 -60
- package/dist/detection/maintenance-sweep.js +1 -73
- package/dist/detection/notebook-basis.js +1 -5
- package/dist/detection/owed-examinations.js +0 -4
- package/dist/detection/owed-selection.js +14 -40
- package/dist/detection/policy-owed.js +165 -26
- package/dist/detection/racy-close.js +46 -0
- package/dist/detection/reconciliation-coverage.js +0 -4
- package/dist/detection/repository-state.js +6 -56
- package/dist/detection/reveal-save.js +0 -2
- package/dist/detection/root-examination.js +32 -105
- package/dist/detection/root-walk.js +98 -295
- package/dist/detection/runtime.js +57 -153
- package/dist/detection/scope-frame.js +1 -37
- package/dist/detection/scoped-identity-port.js +0 -21
- package/dist/detection/sealed-folders.js +57 -0
- package/dist/detection/skip-policy.js +185 -0
- package/dist/detection/spelled-lookup.js +0 -19
- package/dist/detection/storage-holder.js +60 -0
- package/dist/detection/thread-database.js +0 -9
- package/dist/detection/unread-content.js +0 -13
- package/dist/detection/unreadable.js +0 -3
- package/dist/detection/walk-law.js +0 -20
- package/dist/detection/walked-roots.js +0 -6
- package/dist/detection/withheld.js +0 -46
- package/dist/development/fly-guest.js +0 -3
- package/dist/development/fly.js +2 -11
- package/dist/development/profile.js +0 -8
- package/dist/drive/cloud-files/asks.js +5 -48
- package/dist/drive/cloud-files/binding.js +0 -14
- package/dist/drive/cloud-files/contents.js +14 -57
- package/dist/drive/cloud-files/door.js +5 -45
- package/dist/drive/cloud-files/paths.js +4 -37
- package/dist/drive/cloud-files/populated.js +0 -14
- package/dist/drive/cloud-files/reconcile.js +18 -97
- package/dist/drive/cloud-files/sync-root.js +7 -21
- package/dist/drive/cloud-files/turns.js +0 -25
- package/dist/drive/cloud-files/writes.js +19 -122
- package/dist/drive/computer.js +0 -19
- package/dist/drive/fuse-opens.js +0 -31
- package/dist/drive/fuse.js +23 -43
- package/dist/drive/kept.js +32 -80
- package/dist/drive/kernel.js +12 -24
- package/dist/drive/layout.js +31 -20
- package/dist/drive/mount.js +53 -125
- package/dist/drive/mountpoint.js +0 -19
- package/dist/drive/names.js +17 -0
- package/dist/drive/nfs/apple-double.js +4 -29
- package/dist/drive/nfs/attributes.js +3 -19
- package/dist/drive/nfs/handles.js +0 -37
- package/dist/drive/nfs/mount3.js +0 -4
- package/dist/drive/nfs/nfs3.js +4 -65
- package/dist/drive/nfs/rpc.js +0 -19
- package/dist/drive/nfs/server.js +0 -14
- package/dist/drive/nfs/xdr.js +0 -15
- package/dist/drive/nfs.js +34 -90
- package/dist/drive/operations.js +46 -120
- package/dist/drive/shelf.js +0 -12
- package/dist/drive-maps.js +54 -0
- package/dist/drive-program/client.js +128 -0
- package/dist/drive-program/ports.js +49 -0
- package/dist/drive-program/program.js +82 -0
- package/dist/drive-program/protocol.js +2 -0
- package/dist/durability-barrier.js +0 -60
- package/dist/entity-access-wire.js +0 -9
- package/dist/entity-channel-holdings.js +0 -17
- package/dist/entity-grant-watch.js +0 -8
- package/dist/entity-record-observability.js +0 -4
- package/dist/entity-record-saves.js +0 -23
- package/dist/entity-record-store.js +0 -51
- package/dist/error-facts.js +1 -3
- package/dist/faults/drain.js +2 -32
- package/dist/faults/queue.js +0 -22
- package/dist/faults/show.js +0 -6
- package/dist/file-time.js +21 -0
- package/dist/files-browser-host.js +15 -7
- package/dist/files-mcp-host.js +0 -6
- package/dist/files-observability.js +0 -1
- package/dist/files-program/client.js +90 -320
- package/dist/files-program/journeys.js +0 -4
- package/dist/files-program/program.js +67 -162
- package/dist/files-program/protocol.js +0 -5
- package/dist/files-register-host.js +8 -56
- package/dist/files-trace.js +0 -39
- package/dist/files-watch-host.js +226 -0
- package/dist/filesystem.js +0 -39
- package/dist/flush.js +0 -37
- package/dist/forward.js +0 -8
- package/dist/gateway.js +0 -9
- package/dist/git/ground-owners.js +0 -11
- package/dist/git/held-package.js +0 -43
- package/dist/git/home.js +79 -67
- package/dist/git/marker.js +0 -9
- package/dist/git/named-objects.js +0 -32
- package/dist/git/objects.js +0 -23
- package/dist/git/play.js +0 -42
- package/dist/git/quarantine.js +0 -47
- package/dist/git/rail.js +55 -286
- package/dist/git/read-state.js +8 -70
- package/dist/git/repository.js +0 -43
- package/dist/git/write-files.js +16 -84
- package/dist/git-binding.js +58 -80
- package/dist/git-cat-file.js +0 -18
- package/dist/git-command.js +1 -71
- package/dist/git-index-entries.js +0 -5
- package/dist/git-index-format.js +0 -71
- package/dist/git-install-lines.js +0 -2
- package/dist/git-launcher-process.js +0 -19
- package/dist/git-launcher.js +1 -33
- package/dist/git-proven-blobs.js +48 -0
- package/dist/graph-heads.js +0 -14
- package/dist/ground-basis.js +1 -183
- package/dist/ground-checkpoint-worker.js +0 -26
- package/dist/ground-checkpoints.js +0 -14
- package/dist/ground-contract.js +1 -43
- package/dist/ground-coordination.js +0 -82
- package/dist/ground-database.js +0 -88
- package/dist/ground-differences.js +0 -6
- package/dist/ground-holders.js +0 -8
- package/dist/ground-initialization-worker.js +0 -7
- package/dist/ground-initialization.js +0 -19
- package/dist/ground-install-saves.js +0 -15
- package/dist/ground-inventory-schema.js +3 -142
- package/dist/ground-marks.js +0 -16
- package/dist/ground-places.js +33 -0
- package/dist/ground-profile.js +0 -77
- package/dist/ground-reads.js +0 -58
- package/dist/ground-relations.js +0 -43
- package/dist/ground-root-index.js +0 -7
- package/dist/ground-row.js +5 -29
- package/dist/ground-save-ops.js +0 -14
- package/dist/ground-saver-worker.js +3 -56
- package/dist/ground-saver.js +0 -52
- package/dist/ground-store.js +10 -144
- package/dist/held-ground.js +60 -0
- package/dist/index.js +0 -1
- package/dist/initial-publication.js +0 -7
- package/dist/install-from-git.js +42 -0
- package/dist/installation/environment.js +0 -4
- package/dist/installation/lease.js +0 -3
- package/dist/installation/ownership.js +0 -13
- package/dist/installation/selection.js +0 -2
- package/dist/keychain/cli-io.js +0 -7
- package/dist/keychain/cli.js +0 -9
- package/dist/keychain/host.js +0 -7
- package/dist/keychain/http-mount.js +0 -10
- package/dist/keychain/key-wire.js +0 -8
- package/dist/keychain/presence-mac.js +0 -7
- package/dist/keychain/presence.js +0 -7
- package/dist/keychain/rail.js +0 -7
- package/dist/keychain/secret-apply.js +0 -11
- package/dist/keychain/shelf-from-ledger.js +0 -7
- package/dist/keychain/use-log.js +0 -6
- package/dist/keychain/vault-file.js +0 -7
- package/dist/line-judge.js +0 -41
- package/dist/line-loops.js +0 -3
- package/dist/link-target.js +0 -38
- package/dist/local-host.js +0 -16
- package/dist/loop-watch.js +0 -13
- package/dist/machine-host.js +29 -123
- package/dist/main.js +4 -5
- package/dist/materialize-records.js +109 -112
- package/dist/materialized-graph.js +0 -1
- package/dist/module-thread.js +0 -8
- package/dist/mount.js +0 -7
- package/dist/native/cloud-files.node +0 -0
- package/dist/native/windows-fs.node +0 -0
- package/dist/official-mcp-host.js +0 -2
- package/dist/on-demand-roots.js +0 -4
- package/dist/open-standing.js +0 -36
- package/dist/own-folders.js +56 -0
- package/dist/own-results.js +0 -31
- package/dist/package-pages.js +0 -13
- package/dist/patient-flush.js +0 -16
- package/dist/physical-path-witness.js +0 -28
- package/dist/placement-owed.js +0 -8
- package/dist/placement-tidy.js +0 -68
- package/dist/platform-product-host.js +0 -3
- package/dist/platform-tools.js +0 -3
- package/dist/process-lifecycle.js +0 -7
- package/dist/product-cli.js +0 -10
- package/dist/pty-host.js +0 -22
- package/dist/received-state.js +0 -46
- package/dist/reference-placement.js +0 -30
- package/dist/registry-graph.js +0 -89
- package/dist/registry-page-cache.js +4 -12
- package/dist/release-catalog.js +0 -3
- package/dist/root-install.js +2 -36
- package/dist/runtime-activity.js +0 -14
- package/dist/runtime-argv.js +0 -8
- package/dist/runtime-command-host.js +0 -17
- package/dist/runtime-node-flags.js +0 -10
- package/dist/runtime-wire-host.js +0 -4
- package/dist/service/adapter.js +0 -6
- package/dist/service/cli.js +12 -46
- package/dist/service/control.js +0 -3
- package/dist/service/index.js +0 -4
- package/dist/service/keepalive.js +2 -21
- package/dist/service/launchd.js +0 -8
- package/dist/service/owner.js +0 -1
- package/dist/service/policy.js +0 -7
- package/dist/service/portable.js +0 -8
- package/dist/service/recovery.js +0 -9
- package/dist/service/registration.js +0 -29
- package/dist/service/systemd-unit.js +0 -4
- package/dist/service/systemd.js +0 -9
- package/dist/service/windows-action.js +0 -12
- package/dist/service/windows-task.js +0 -10
- package/dist/service/windows.js +0 -4
- package/dist/sha256.js +0 -2
- package/dist/sharing-admission.js +0 -16
- package/dist/sharing-host.js +0 -7
- package/dist/sharing-mcp-host.js +0 -6
- package/dist/snapshot-delivery-baseline.js +0 -29
- package/dist/socket-marking.js +0 -9
- package/dist/source-proof.js +0 -29
- package/dist/source-signature.js +4 -93
- package/dist/source-witness.js +0 -6
- package/dist/sqlite-durability.js +0 -12
- package/dist/sqlite.js +0 -10
- package/dist/state-host.js +0 -2
- package/dist/state-store.js +1 -4
- package/dist/supervised-program/child.js +136 -0
- package/dist/supervised-program/messages.js +1 -0
- package/dist/supervised-program/parent.js +249 -0
- package/dist/sync-address.js +0 -16
- package/dist/sync-cli.js +0 -9
- package/dist/sync-setting.js +0 -5
- package/dist/tool-mcp-client.js +0 -2
- package/dist/toolbox-host.js +0 -2
- package/dist/transfer-instrumentation.js +0 -21
- package/dist/turns.js +0 -41
- package/dist/updates/artifacts.js +0 -56
- package/dist/updates/bootstrap.js +0 -53
- package/dist/updates/controller.js +1 -25
- package/dist/updates/isolated-command-lifetime.js +0 -13
- package/dist/updates/locked-packages.js +0 -5
- package/dist/updates/store.js +0 -11
- package/dist/updates/trust.js +0 -6
- package/dist/user-ground-host.js +162 -1501
- package/dist/watching/fsevents.js +3 -41
- package/dist/watching/git-storage.js +0 -24
- package/dist/watching/host.js +65 -275
- package/dist/watching/index.js +1 -2
- package/dist/watching/inotify.js +0 -31
- package/dist/windows-fs.js +0 -5
- package/dist/windows-owner-only.js +0 -17
- package/dist/wire-binary.js +0 -4
- package/dist/wire-client.js +0 -42
- package/dist/wire-join.js +0 -11
- package/dist/wire-outbox.js +0 -29
- package/dist/wire-request-scope.js +0 -3
- package/dist/wire-socket-relay.js +0 -53
- package/dist/workspace-add-intent.js +2 -11
- package/dist/workspace-add-staging.js +4 -99
- package/dist/workspace-host.js +0 -5
- package/dist/workspace-store.js +0 -6
- package/examinations/fixtures/private-wire-authority.js +14 -10
- package/examinations/native-service.mjs +1 -1
- package/examinations/runtime-upgrade.native-test.mjs +11 -8
- package/npm-shrinkwrap.json +14 -14
- package/package.json +8 -17
- package/PURPOSE.md +0 -1956
- package/dist/accepted-fold.d.ts +0 -51
- package/dist/accepted-fold.js.map +0 -1
- package/dist/accepted-tail.d.ts +0 -36
- package/dist/accepted-tail.js.map +0 -1
- package/dist/accepted-view.d.ts +0 -27
- package/dist/accepted-view.js.map +0 -1
- package/dist/agent-execution.d.ts +0 -83
- package/dist/agent-execution.js.map +0 -1
- package/dist/agent-instructions.d.ts +0 -7
- package/dist/agent-instructions.js.map +0 -1
- package/dist/apply-attempt-memory.d.ts +0 -13
- package/dist/apply-attempt-memory.js.map +0 -1
- package/dist/apply-control.d.ts +0 -85
- package/dist/apply-control.js.map +0 -1
- package/dist/apply-displaced-tree.d.ts +0 -63
- package/dist/apply-displaced-tree.js.map +0 -1
- package/dist/apply-durability.d.ts +0 -33
- package/dist/apply-durability.js.map +0 -1
- package/dist/apply-enter-build.d.ts +0 -91
- package/dist/apply-enter-build.js.map +0 -1
- package/dist/apply-enter-plan.d.ts +0 -79
- package/dist/apply-enter-plan.js.map +0 -1
- package/dist/apply-fingerprint.d.ts +0 -39
- package/dist/apply-fingerprint.js.map +0 -1
- package/dist/apply-git-held.d.ts +0 -29
- package/dist/apply-git-held.js.map +0 -1
- package/dist/apply-git-storage.d.ts +0 -38
- package/dist/apply-git-storage.js.map +0 -1
- package/dist/apply-kept.d.ts +0 -42
- package/dist/apply-kept.js.map +0 -1
- package/dist/apply-local-work.d.ts +0 -41
- package/dist/apply-local-work.js.map +0 -1
- package/dist/apply-map.d.ts +0 -116
- package/dist/apply-map.js.map +0 -1
- package/dist/apply-showing.d.ts +0 -104
- package/dist/apply-showing.js.map +0 -1
- package/dist/apply-shown-again.d.ts +0 -28
- package/dist/apply-shown-again.js.map +0 -1
- package/dist/apply-spelling.d.ts +0 -35
- package/dist/apply-spelling.js.map +0 -1
- package/dist/apply-trash-keep.d.ts +0 -96
- package/dist/apply-trash-keep.js.map +0 -1
- package/dist/apply-window-cargo.d.ts +0 -54
- package/dist/apply-window-cargo.js.map +0 -1
- package/dist/apply-window-ground.d.ts +0 -130
- package/dist/apply-window-ground.js.map +0 -1
- package/dist/apply-window-host.d.ts +0 -136
- package/dist/apply-window-host.js.map +0 -1
- package/dist/apply-window-lane.d.ts +0 -30
- package/dist/apply-window-lane.js.map +0 -1
- package/dist/apply-window-line.d.ts +0 -31
- package/dist/apply-window-line.js.map +0 -1
- package/dist/apply-window-recovery.d.ts +0 -5
- package/dist/apply-window-recovery.js.map +0 -1
- package/dist/apply-window-reveal.d.ts +0 -22
- package/dist/apply-window-reveal.js.map +0 -1
- package/dist/apply-window-rows.d.ts +0 -144
- package/dist/apply-window-rows.js.map +0 -1
- package/dist/apply-window-saves.d.ts +0 -224
- package/dist/apply-window-saves.js.map +0 -1
- package/dist/apply-window-store.d.ts +0 -126
- package/dist/apply-window-store.js.map +0 -1
- package/dist/apply-window-verify.d.ts +0 -65
- package/dist/apply-window-verify.js.map +0 -1
- package/dist/authority-binding.d.ts +0 -9
- package/dist/authority-binding.js.map +0 -1
- package/dist/authorization/device-key.d.ts +0 -19
- package/dist/authorization/device-key.js.map +0 -1
- package/dist/authorization/index.d.ts +0 -65
- package/dist/authorization/index.js.map +0 -1
- package/dist/authorization/issuer.d.ts +0 -11
- package/dist/authorization/issuer.js.map +0 -1
- package/dist/authorization/key-store.d.ts +0 -16
- package/dist/authorization/key-store.js.map +0 -1
- package/dist/authorization/native-keyring.d.ts +0 -8
- package/dist/authorization/native-keyring.js.map +0 -1
- package/dist/authorization/recovery-client.d.ts +0 -19
- package/dist/authorization/recovery-client.js.map +0 -1
- package/dist/authorization/recovery-host.d.ts +0 -30
- package/dist/authorization/recovery-host.js.map +0 -1
- package/dist/authorization/recovery.d.ts +0 -13
- package/dist/authorization/recovery.js.map +0 -1
- package/dist/authorization/registration-http.d.ts +0 -5
- package/dist/authorization/registration-http.js.map +0 -1
- package/dist/authorization/secret-process.d.ts +0 -2
- package/dist/authorization/secret-process.js.map +0 -1
- package/dist/authorization/setup-http.d.ts +0 -5
- package/dist/authorization/setup-http.js.map +0 -1
- package/dist/automations-cli-host.d.ts +0 -4
- package/dist/automations-cli-host.js.map +0 -1
- package/dist/background-error.d.ts +0 -4
- package/dist/background-error.js.map +0 -1
- package/dist/baseline-content.d.ts +0 -12
- package/dist/baseline-content.js.map +0 -1
- package/dist/billing/cli.d.ts +0 -18
- package/dist/billing/cli.js.map +0 -1
- package/dist/billing/mount.d.ts +0 -12
- package/dist/billing/mount.js.map +0 -1
- package/dist/billing/tools.d.ts +0 -57
- package/dist/billing/tools.js.map +0 -1
- package/dist/boot-identity.d.ts +0 -1
- package/dist/boot-identity.js.map +0 -1
- package/dist/browser-host.d.ts +0 -30
- package/dist/browser-host.js.map +0 -1
- package/dist/builtin-agents.d.ts +0 -8
- package/dist/builtin-agents.js.map +0 -1
- package/dist/capture-work.d.ts +0 -8
- package/dist/capture-work.js.map +0 -1
- package/dist/captured-rows.d.ts +0 -33
- package/dist/captured-rows.js.map +0 -1
- package/dist/cargo-group.d.ts +0 -59
- package/dist/cargo-group.js.map +0 -1
- package/dist/cargo-journal.d.ts +0 -45
- package/dist/cargo-journal.js.map +0 -1
- package/dist/channel-session.d.ts +0 -60
- package/dist/channel-session.js.map +0 -1
- package/dist/chat-composition.d.ts +0 -30
- package/dist/chat-composition.js.map +0 -1
- package/dist/chat-host.d.ts +0 -30
- package/dist/chat-host.js.map +0 -1
- package/dist/chat-toolbox.d.ts +0 -10
- package/dist/chat-toolbox.js.map +0 -1
- package/dist/chat-tools.d.ts +0 -23
- package/dist/chat-tools.js.map +0 -1
- package/dist/cli-arguments.d.ts +0 -8
- package/dist/cli-arguments.js.map +0 -1
- package/dist/cli.d.ts +0 -10
- package/dist/cli.js.map +0 -1
- package/dist/construct-apply-host.d.ts +0 -64
- package/dist/construct-apply-host.js.map +0 -1
- package/dist/construct-door.d.ts +0 -39
- package/dist/construct-door.js.map +0 -1
- package/dist/construct-ledger.d.ts +0 -33
- package/dist/construct-ledger.js.map +0 -1
- package/dist/construct-products.d.ts +0 -22
- package/dist/construct-products.js.map +0 -1
- package/dist/content-cache-collection.d.ts +0 -25
- package/dist/content-cache-collection.js.map +0 -1
- package/dist/content-cache-fences.d.ts +0 -27
- package/dist/content-cache-fences.js.map +0 -1
- package/dist/content-cache-host.d.ts +0 -269
- package/dist/content-cache-host.js.map +0 -1
- package/dist/content-cache-index.d.ts +0 -59
- package/dist/content-cache-index.js.map +0 -1
- package/dist/content-cache-namespace.d.ts +0 -53
- package/dist/content-cache-namespace.js.map +0 -1
- package/dist/content-cache-partials.d.ts +0 -37
- package/dist/content-cache-partials.js.map +0 -1
- package/dist/content-cache-retention.d.ts +0 -38
- package/dist/content-cache-retention.js.map +0 -1
- package/dist/content-capture-pool.d.ts +0 -274
- package/dist/content-capture-pool.js.map +0 -1
- package/dist/content-capture-worker.d.ts +0 -7
- package/dist/content-capture-worker.js.map +0 -1
- package/dist/content-clock.d.ts +0 -68
- package/dist/content-clock.js.map +0 -1
- package/dist/content-direct.d.ts +0 -56
- package/dist/content-direct.js.map +0 -1
- package/dist/content-failure.d.ts +0 -18
- package/dist/content-failure.js.map +0 -1
- package/dist/content-qualification.d.ts +0 -72
- package/dist/content-qualification.js.map +0 -1
- package/dist/content-wire-codec.d.ts +0 -13
- package/dist/content-wire-codec.js.map +0 -1
- package/dist/credentials-host.d.ts +0 -5
- package/dist/credentials-host.js.map +0 -1
- package/dist/derived-relocation.d.ts +0 -31
- package/dist/derived-relocation.js.map +0 -1
- package/dist/detection/accepted-result.d.ts +0 -31
- package/dist/detection/accepted-result.js.map +0 -1
- package/dist/detection/admission-save.d.ts +0 -66
- package/dist/detection/admission-save.js.map +0 -1
- package/dist/detection/admission-units.d.ts +0 -78
- package/dist/detection/admission-units.js.map +0 -1
- package/dist/detection/alias-discovery.d.ts +0 -12
- package/dist/detection/alias-discovery.js.map +0 -1
- package/dist/detection/alias-examination.d.ts +0 -33
- package/dist/detection/alias-examination.js.map +0 -1
- package/dist/detection/apply-ownership.d.ts +0 -107
- package/dist/detection/apply-ownership.js.map +0 -1
- package/dist/detection/basis-advanced.d.ts +0 -15
- package/dist/detection/basis-advanced.js.map +0 -1
- package/dist/detection/cached-replay.d.ts +0 -38
- package/dist/detection/cached-replay.js.map +0 -1
- package/dist/detection/capture-outcome.d.ts +0 -16
- package/dist/detection/capture-outcome.js.map +0 -1
- package/dist/detection/container-membership.d.ts +0 -20
- package/dist/detection/container-membership.js.map +0 -1
- package/dist/detection/detect-cancelled.d.ts +0 -6
- package/dist/detection/detect-cancelled.js.map +0 -1
- package/dist/detection/directory-proof.d.ts +0 -47
- package/dist/detection/directory-proof.js.map +0 -1
- package/dist/detection/dispositions.d.ts +0 -107
- package/dist/detection/dispositions.js.map +0 -1
- package/dist/detection/examinations.d.ts +0 -33
- package/dist/detection/examinations.js.map +0 -1
- package/dist/detection/ground-proof.d.ts +0 -154
- package/dist/detection/ground-proof.js.map +0 -1
- package/dist/detection/ground-reader.d.ts +0 -29
- package/dist/detection/ground-reader.js.map +0 -1
- package/dist/detection/identity-discovery.d.ts +0 -45
- package/dist/detection/identity-discovery.js.map +0 -1
- package/dist/detection/maintenance-sweep.d.ts +0 -111
- package/dist/detection/maintenance-sweep.js.map +0 -1
- package/dist/detection/notebook-basis.d.ts +0 -24
- package/dist/detection/notebook-basis.js.map +0 -1
- package/dist/detection/owed-examinations.d.ts +0 -22
- package/dist/detection/owed-examinations.js.map +0 -1
- package/dist/detection/owed-selection.d.ts +0 -54
- package/dist/detection/owed-selection.js.map +0 -1
- package/dist/detection/policy-owed.d.ts +0 -17
- package/dist/detection/policy-owed.js.map +0 -1
- package/dist/detection/reconciliation-coverage.d.ts +0 -7
- package/dist/detection/reconciliation-coverage.js.map +0 -1
- package/dist/detection/repository-state.d.ts +0 -44
- package/dist/detection/repository-state.js.map +0 -1
- package/dist/detection/reveal-save.d.ts +0 -17
- package/dist/detection/reveal-save.js.map +0 -1
- package/dist/detection/root-examination.d.ts +0 -106
- package/dist/detection/root-examination.js.map +0 -1
- package/dist/detection/root-walk.d.ts +0 -191
- package/dist/detection/root-walk.js.map +0 -1
- package/dist/detection/runtime.d.ts +0 -144
- package/dist/detection/runtime.js.map +0 -1
- package/dist/detection/scope-frame.d.ts +0 -82
- package/dist/detection/scope-frame.js.map +0 -1
- package/dist/detection/scoped-identity-port.d.ts +0 -35
- package/dist/detection/scoped-identity-port.js.map +0 -1
- package/dist/detection/sharing-policy.d.ts +0 -19
- package/dist/detection/sharing-policy.js +0 -39
- package/dist/detection/sharing-policy.js.map +0 -1
- package/dist/detection/spelled-lookup.d.ts +0 -20
- package/dist/detection/spelled-lookup.js.map +0 -1
- package/dist/detection/thread-database.d.ts +0 -4
- package/dist/detection/thread-database.js.map +0 -1
- package/dist/detection/unread-content.d.ts +0 -20
- package/dist/detection/unread-content.js.map +0 -1
- package/dist/detection/unreadable.d.ts +0 -11
- package/dist/detection/unreadable.js.map +0 -1
- package/dist/detection/walk-law.d.ts +0 -25
- package/dist/detection/walk-law.js.map +0 -1
- package/dist/detection/walked-roots.d.ts +0 -17
- package/dist/detection/walked-roots.js.map +0 -1
- package/dist/detection/withheld.d.ts +0 -100
- package/dist/detection/withheld.js.map +0 -1
- package/dist/development/fly-guest.d.ts +0 -21
- package/dist/development/fly-guest.js.map +0 -1
- package/dist/development/fly.d.ts +0 -13
- package/dist/development/fly.js.map +0 -1
- package/dist/development/profile.d.ts +0 -34
- package/dist/development/profile.js.map +0 -1
- package/dist/drive/cloud-files/asks.d.ts +0 -7
- package/dist/drive/cloud-files/asks.js.map +0 -1
- package/dist/drive/cloud-files/binding.d.ts +0 -111
- package/dist/drive/cloud-files/binding.js.map +0 -1
- package/dist/drive/cloud-files/contents.d.ts +0 -82
- package/dist/drive/cloud-files/contents.js.map +0 -1
- package/dist/drive/cloud-files/door.d.ts +0 -11
- package/dist/drive/cloud-files/door.js.map +0 -1
- package/dist/drive/cloud-files/paths.d.ts +0 -42
- package/dist/drive/cloud-files/paths.js.map +0 -1
- package/dist/drive/cloud-files/populated.d.ts +0 -15
- package/dist/drive/cloud-files/populated.js.map +0 -1
- package/dist/drive/cloud-files/reconcile.d.ts +0 -17
- package/dist/drive/cloud-files/reconcile.js.map +0 -1
- package/dist/drive/cloud-files/sync-root.d.ts +0 -34
- package/dist/drive/cloud-files/sync-root.js.map +0 -1
- package/dist/drive/cloud-files/turns.d.ts +0 -9
- package/dist/drive/cloud-files/turns.js.map +0 -1
- package/dist/drive/cloud-files/writes.d.ts +0 -27
- package/dist/drive/cloud-files/writes.js.map +0 -1
- package/dist/drive/computer.d.ts +0 -19
- package/dist/drive/computer.js.map +0 -1
- package/dist/drive/fuse-opens.d.ts +0 -32
- package/dist/drive/fuse-opens.js.map +0 -1
- package/dist/drive/fuse.d.ts +0 -36
- package/dist/drive/fuse.js.map +0 -1
- package/dist/drive/kept.d.ts +0 -78
- package/dist/drive/kept.js.map +0 -1
- package/dist/drive/kernel.d.ts +0 -17
- package/dist/drive/kernel.js.map +0 -1
- package/dist/drive/layout.d.ts +0 -18
- package/dist/drive/layout.js.map +0 -1
- package/dist/drive/mount.d.ts +0 -107
- package/dist/drive/mount.js.map +0 -1
- package/dist/drive/mountpoint.d.ts +0 -14
- package/dist/drive/mountpoint.js.map +0 -1
- package/dist/drive/nfs/apple-double.d.ts +0 -6
- package/dist/drive/nfs/apple-double.js.map +0 -1
- package/dist/drive/nfs/attributes.d.ts +0 -64
- package/dist/drive/nfs/attributes.js.map +0 -1
- package/dist/drive/nfs/handles.d.ts +0 -44
- package/dist/drive/nfs/handles.js.map +0 -1
- package/dist/drive/nfs/mount3.d.ts +0 -16
- package/dist/drive/nfs/mount3.js.map +0 -1
- package/dist/drive/nfs/nfs3.d.ts +0 -27
- package/dist/drive/nfs/nfs3.js.map +0 -1
- package/dist/drive/nfs/rpc.d.ts +0 -66
- package/dist/drive/nfs/rpc.js.map +0 -1
- package/dist/drive/nfs/server.d.ts +0 -30
- package/dist/drive/nfs/server.js.map +0 -1
- package/dist/drive/nfs/xdr.d.ts +0 -44
- package/dist/drive/nfs/xdr.js.map +0 -1
- package/dist/drive/nfs.d.ts +0 -58
- package/dist/drive/nfs.js.map +0 -1
- package/dist/drive/operations.d.ts +0 -180
- package/dist/drive/operations.js.map +0 -1
- package/dist/drive/shelf.d.ts +0 -9
- package/dist/drive/shelf.js.map +0 -1
- package/dist/durability-barrier.d.ts +0 -66
- package/dist/durability-barrier.js.map +0 -1
- package/dist/entity-access-wire.d.ts +0 -33
- package/dist/entity-access-wire.js.map +0 -1
- package/dist/entity-channel-holdings.d.ts +0 -26
- package/dist/entity-channel-holdings.js.map +0 -1
- package/dist/entity-grant-watch.d.ts +0 -9
- package/dist/entity-grant-watch.js.map +0 -1
- package/dist/entity-record-observability.d.ts +0 -13
- package/dist/entity-record-observability.js.map +0 -1
- package/dist/entity-record-saves.d.ts +0 -47
- package/dist/entity-record-saves.js.map +0 -1
- package/dist/entity-record-store.d.ts +0 -60
- package/dist/entity-record-store.js.map +0 -1
- package/dist/error-facts.d.ts +0 -24
- package/dist/error-facts.js.map +0 -1
- package/dist/faults/drain.d.ts +0 -27
- package/dist/faults/drain.js.map +0 -1
- package/dist/faults/queue.d.ts +0 -46
- package/dist/faults/queue.js.map +0 -1
- package/dist/faults/show.d.ts +0 -7
- package/dist/faults/show.js.map +0 -1
- package/dist/files-browser-host.d.ts +0 -9
- package/dist/files-browser-host.js.map +0 -1
- package/dist/files-mcp-host.d.ts +0 -58
- package/dist/files-mcp-host.js.map +0 -1
- package/dist/files-observability.d.ts +0 -29
- package/dist/files-observability.js.map +0 -1
- package/dist/files-program/client.d.ts +0 -136
- package/dist/files-program/client.js.map +0 -1
- package/dist/files-program/journeys.d.ts +0 -15
- package/dist/files-program/journeys.js.map +0 -1
- package/dist/files-program/program.d.ts +0 -1
- package/dist/files-program/program.js.map +0 -1
- package/dist/files-program/protocol.d.ts +0 -180
- package/dist/files-program/protocol.js.map +0 -1
- package/dist/files-register-host.d.ts +0 -70
- package/dist/files-register-host.js.map +0 -1
- package/dist/files-trace.d.ts +0 -61
- package/dist/files-trace.js.map +0 -1
- package/dist/filesystem.d.ts +0 -38
- package/dist/filesystem.js.map +0 -1
- package/dist/flush.d.ts +0 -19
- package/dist/flush.js.map +0 -1
- package/dist/forward.d.ts +0 -11
- package/dist/forward.js.map +0 -1
- package/dist/gateway.d.ts +0 -38
- package/dist/gateway.js.map +0 -1
- package/dist/git/ground-owners.d.ts +0 -15
- package/dist/git/ground-owners.js.map +0 -1
- package/dist/git/held-package.d.ts +0 -67
- package/dist/git/held-package.js.map +0 -1
- package/dist/git/home.d.ts +0 -59
- package/dist/git/home.js.map +0 -1
- package/dist/git/marker.d.ts +0 -21
- package/dist/git/marker.js.map +0 -1
- package/dist/git/named-objects.d.ts +0 -24
- package/dist/git/named-objects.js.map +0 -1
- package/dist/git/objects.d.ts +0 -30
- package/dist/git/objects.js.map +0 -1
- package/dist/git/play.d.ts +0 -30
- package/dist/git/play.js.map +0 -1
- package/dist/git/quarantine.d.ts +0 -48
- package/dist/git/quarantine.js.map +0 -1
- package/dist/git/rail.d.ts +0 -206
- package/dist/git/rail.js.map +0 -1
- package/dist/git/read-state.d.ts +0 -49
- package/dist/git/read-state.js.map +0 -1
- package/dist/git/repository.d.ts +0 -62
- package/dist/git/repository.js.map +0 -1
- package/dist/git/write-files.d.ts +0 -29
- package/dist/git/write-files.js.map +0 -1
- package/dist/git-binding.d.ts +0 -53
- package/dist/git-binding.js.map +0 -1
- package/dist/git-cat-file.d.ts +0 -28
- package/dist/git-cat-file.js.map +0 -1
- package/dist/git-command.d.ts +0 -96
- package/dist/git-command.js.map +0 -1
- package/dist/git-index-entries.d.ts +0 -16
- package/dist/git-index-entries.js.map +0 -1
- package/dist/git-index-format.d.ts +0 -52
- package/dist/git-index-format.js.map +0 -1
- package/dist/git-install-lines.d.ts +0 -12
- package/dist/git-install-lines.js.map +0 -1
- package/dist/git-launcher-process.d.ts +0 -1
- package/dist/git-launcher-process.js.map +0 -1
- package/dist/git-launcher.d.ts +0 -70
- package/dist/git-launcher.js.map +0 -1
- package/dist/graph-heads.d.ts +0 -71
- package/dist/graph-heads.js.map +0 -1
- package/dist/ground-basis.d.ts +0 -278
- package/dist/ground-basis.js.map +0 -1
- package/dist/ground-checkpoint-worker.d.ts +0 -1
- package/dist/ground-checkpoint-worker.js.map +0 -1
- package/dist/ground-checkpoints.d.ts +0 -16
- package/dist/ground-checkpoints.js.map +0 -1
- package/dist/ground-contract.d.ts +0 -11
- package/dist/ground-contract.js.map +0 -1
- package/dist/ground-coordination.d.ts +0 -140
- package/dist/ground-coordination.js.map +0 -1
- package/dist/ground-database.d.ts +0 -40
- package/dist/ground-database.js.map +0 -1
- package/dist/ground-differences.d.ts +0 -24
- package/dist/ground-differences.js.map +0 -1
- package/dist/ground-holders.d.ts +0 -4
- package/dist/ground-holders.js.map +0 -1
- package/dist/ground-initialization-worker.d.ts +0 -1
- package/dist/ground-initialization-worker.js.map +0 -1
- package/dist/ground-initialization.d.ts +0 -38
- package/dist/ground-initialization.js.map +0 -1
- package/dist/ground-install-saves.d.ts +0 -104
- package/dist/ground-install-saves.js.map +0 -1
- package/dist/ground-inventory-schema.d.ts +0 -58
- package/dist/ground-inventory-schema.js.map +0 -1
- package/dist/ground-marks.d.ts +0 -49
- package/dist/ground-marks.js.map +0 -1
- package/dist/ground-profile.d.ts +0 -14
- package/dist/ground-profile.js.map +0 -1
- package/dist/ground-reads.d.ts +0 -86
- package/dist/ground-reads.js.map +0 -1
- package/dist/ground-relations.d.ts +0 -57
- package/dist/ground-relations.js.map +0 -1
- package/dist/ground-root-index.d.ts +0 -14
- package/dist/ground-root-index.js.map +0 -1
- package/dist/ground-row.d.ts +0 -78
- package/dist/ground-row.js.map +0 -1
- package/dist/ground-save-ops.d.ts +0 -62
- package/dist/ground-save-ops.js.map +0 -1
- package/dist/ground-saver-worker.d.ts +0 -1
- package/dist/ground-saver-worker.js.map +0 -1
- package/dist/ground-saver.d.ts +0 -103
- package/dist/ground-saver.js.map +0 -1
- package/dist/ground-store.d.ts +0 -125
- package/dist/ground-store.js.map +0 -1
- package/dist/index.d.ts +0 -22
- package/dist/index.js.map +0 -1
- package/dist/initial-publication.d.ts +0 -42
- package/dist/initial-publication.js.map +0 -1
- package/dist/installation/environment.d.ts +0 -34
- package/dist/installation/environment.js.map +0 -1
- package/dist/installation/lease.d.ts +0 -6
- package/dist/installation/lease.js.map +0 -1
- package/dist/installation/ownership.d.ts +0 -30
- package/dist/installation/ownership.js.map +0 -1
- package/dist/installation/selection.d.ts +0 -8
- package/dist/installation/selection.js.map +0 -1
- package/dist/keychain/cli-io.d.ts +0 -8
- package/dist/keychain/cli-io.js.map +0 -1
- package/dist/keychain/cli.d.ts +0 -12
- package/dist/keychain/cli.js.map +0 -1
- package/dist/keychain/host.d.ts +0 -28
- package/dist/keychain/host.js.map +0 -1
- package/dist/keychain/http-mount.d.ts +0 -16
- package/dist/keychain/http-mount.js.map +0 -1
- package/dist/keychain/key-wire.d.ts +0 -12
- package/dist/keychain/key-wire.js.map +0 -1
- package/dist/keychain/presence-mac.d.ts +0 -8
- package/dist/keychain/presence-mac.js.map +0 -1
- package/dist/keychain/presence.d.ts +0 -9
- package/dist/keychain/presence.js.map +0 -1
- package/dist/keychain/rail.d.ts +0 -19
- package/dist/keychain/rail.js.map +0 -1
- package/dist/keychain/secret-apply.d.ts +0 -22
- package/dist/keychain/secret-apply.js.map +0 -1
- package/dist/keychain/shelf-from-ledger.d.ts +0 -15
- package/dist/keychain/shelf-from-ledger.js.map +0 -1
- package/dist/keychain/use-log.d.ts +0 -7
- package/dist/keychain/use-log.js.map +0 -1
- package/dist/keychain/vault-file.d.ts +0 -12
- package/dist/keychain/vault-file.js.map +0 -1
- package/dist/line-judge.d.ts +0 -39
- package/dist/line-judge.js.map +0 -1
- package/dist/line-loops.d.ts +0 -22
- package/dist/line-loops.js.map +0 -1
- package/dist/link-target.d.ts +0 -16
- package/dist/link-target.js.map +0 -1
- package/dist/local-host.d.ts +0 -20
- package/dist/local-host.js.map +0 -1
- package/dist/loop-watch.d.ts +0 -17
- package/dist/loop-watch.js.map +0 -1
- package/dist/machine-host.d.ts +0 -249
- package/dist/machine-host.js.map +0 -1
- package/dist/main.d.ts +0 -2
- package/dist/main.js.map +0 -1
- package/dist/materialize-records.d.ts +0 -98
- package/dist/materialize-records.js.map +0 -1
- package/dist/materialized-graph.d.ts +0 -22
- package/dist/materialized-graph.js.map +0 -1
- package/dist/module-thread.d.ts +0 -9
- package/dist/module-thread.js.map +0 -1
- package/dist/mount.d.ts +0 -13
- package/dist/mount.js.map +0 -1
- package/dist/official-mcp-host.d.ts +0 -51
- package/dist/official-mcp-host.js.map +0 -1
- package/dist/on-demand-roots.d.ts +0 -31
- package/dist/on-demand-roots.js.map +0 -1
- package/dist/open-standing.d.ts +0 -8
- package/dist/open-standing.js.map +0 -1
- package/dist/own-results.d.ts +0 -37
- package/dist/own-results.js.map +0 -1
- package/dist/package-pages.d.ts +0 -41
- package/dist/package-pages.js.map +0 -1
- package/dist/patient-flush.d.ts +0 -24
- package/dist/patient-flush.js.map +0 -1
- package/dist/physical-path-witness.d.ts +0 -64
- package/dist/physical-path-witness.js.map +0 -1
- package/dist/placement-owed.d.ts +0 -28
- package/dist/placement-owed.js.map +0 -1
- package/dist/placement-tidy.d.ts +0 -57
- package/dist/placement-tidy.js.map +0 -1
- package/dist/platform-product-host.d.ts +0 -51
- package/dist/platform-product-host.js.map +0 -1
- package/dist/platform-tools.d.ts +0 -22
- package/dist/platform-tools.js.map +0 -1
- package/dist/process-lifecycle.d.ts +0 -13
- package/dist/process-lifecycle.js.map +0 -1
- package/dist/product-cli.d.ts +0 -26
- package/dist/product-cli.js.map +0 -1
- package/dist/pty-host.d.ts +0 -16
- package/dist/pty-host.js.map +0 -1
- package/dist/received-state.d.ts +0 -90
- package/dist/received-state.js.map +0 -1
- package/dist/reference-placement.d.ts +0 -26
- package/dist/reference-placement.js.map +0 -1
- package/dist/registry-graph.d.ts +0 -112
- package/dist/registry-graph.js.map +0 -1
- package/dist/registry-page-cache.d.ts +0 -15
- package/dist/registry-page-cache.js.map +0 -1
- package/dist/release-catalog.d.ts +0 -5
- package/dist/release-catalog.js.map +0 -1
- package/dist/root-install.d.ts +0 -72
- package/dist/root-install.js.map +0 -1
- package/dist/runtime-activity.d.ts +0 -20
- package/dist/runtime-activity.js.map +0 -1
- package/dist/runtime-argv.d.ts +0 -8
- package/dist/runtime-argv.js.map +0 -1
- package/dist/runtime-command-host.d.ts +0 -46
- package/dist/runtime-command-host.js.map +0 -1
- package/dist/runtime-node-flags.d.ts +0 -10
- package/dist/runtime-node-flags.js.map +0 -1
- package/dist/runtime-wire-host.d.ts +0 -17
- package/dist/runtime-wire-host.js.map +0 -1
- package/dist/service/adapter.d.ts +0 -37
- package/dist/service/adapter.js.map +0 -1
- package/dist/service/cli.d.ts +0 -8
- package/dist/service/cli.js.map +0 -1
- package/dist/service/control.d.ts +0 -38
- package/dist/service/control.js.map +0 -1
- package/dist/service/index.d.ts +0 -9
- package/dist/service/index.js.map +0 -1
- package/dist/service/keepalive.d.ts +0 -11
- package/dist/service/keepalive.js.map +0 -1
- package/dist/service/launchd.d.ts +0 -9
- package/dist/service/launchd.js.map +0 -1
- package/dist/service/owner.d.ts +0 -4
- package/dist/service/owner.js.map +0 -1
- package/dist/service/policy.d.ts +0 -36
- package/dist/service/policy.js.map +0 -1
- package/dist/service/portable.d.ts +0 -10
- package/dist/service/portable.js.map +0 -1
- package/dist/service/recovery.d.ts +0 -28
- package/dist/service/recovery.js.map +0 -1
- package/dist/service/registration.d.ts +0 -84
- package/dist/service/registration.js.map +0 -1
- package/dist/service/systemd-unit.d.ts +0 -7
- package/dist/service/systemd-unit.js.map +0 -1
- package/dist/service/systemd.d.ts +0 -5
- package/dist/service/systemd.js.map +0 -1
- package/dist/service/windows-action.d.ts +0 -18
- package/dist/service/windows-action.js.map +0 -1
- package/dist/service/windows-task.d.ts +0 -15
- package/dist/service/windows-task.js.map +0 -1
- package/dist/service/windows.d.ts +0 -2
- package/dist/service/windows.js.map +0 -1
- package/dist/sha256.d.ts +0 -1
- package/dist/sha256.js.map +0 -1
- package/dist/sharing-admission.d.ts +0 -22
- package/dist/sharing-admission.js.map +0 -1
- package/dist/sharing-host.d.ts +0 -14
- package/dist/sharing-host.js.map +0 -1
- package/dist/sharing-mcp-host.d.ts +0 -23
- package/dist/sharing-mcp-host.js.map +0 -1
- package/dist/snapshot-delivery-baseline.d.ts +0 -31
- package/dist/snapshot-delivery-baseline.js.map +0 -1
- package/dist/socket-marking.d.ts +0 -9
- package/dist/socket-marking.js.map +0 -1
- package/dist/source-proof.d.ts +0 -23
- package/dist/source-proof.js.map +0 -1
- package/dist/source-signature.d.ts +0 -157
- package/dist/source-signature.js.map +0 -1
- package/dist/source-witness.d.ts +0 -9
- package/dist/source-witness.js.map +0 -1
- package/dist/sqlite-durability.d.ts +0 -32
- package/dist/sqlite-durability.js.map +0 -1
- package/dist/sqlite.d.ts +0 -10
- package/dist/sqlite.js.map +0 -1
- package/dist/state-host.d.ts +0 -4
- package/dist/state-host.js.map +0 -1
- package/dist/state-store.d.ts +0 -15
- package/dist/state-store.js.map +0 -1
- package/dist/sync-address.d.ts +0 -16
- package/dist/sync-address.js.map +0 -1
- package/dist/sync-cli.d.ts +0 -7
- package/dist/sync-cli.js.map +0 -1
- package/dist/sync-setting.d.ts +0 -43
- package/dist/sync-setting.js.map +0 -1
- package/dist/tool-mcp-client.d.ts +0 -7
- package/dist/tool-mcp-client.js.map +0 -1
- package/dist/toolbox-host.d.ts +0 -4
- package/dist/toolbox-host.js.map +0 -1
- package/dist/transfer-instrumentation.d.ts +0 -47
- package/dist/transfer-instrumentation.js.map +0 -1
- package/dist/turns.d.ts +0 -44
- package/dist/turns.js.map +0 -1
- package/dist/updates/artifacts.d.ts +0 -66
- package/dist/updates/artifacts.js.map +0 -1
- package/dist/updates/bootstrap.d.ts +0 -94
- package/dist/updates/bootstrap.js.map +0 -1
- package/dist/updates/controller.d.ts +0 -78
- package/dist/updates/controller.js.map +0 -1
- package/dist/updates/isolated-command-lifetime.d.ts +0 -1
- package/dist/updates/isolated-command-lifetime.js.map +0 -1
- package/dist/updates/locked-packages.d.ts +0 -4
- package/dist/updates/locked-packages.js.map +0 -1
- package/dist/updates/store.d.ts +0 -47
- package/dist/updates/store.js.map +0 -1
- package/dist/updates/trust.d.ts +0 -20
- package/dist/updates/trust.js.map +0 -1
- package/dist/user-ground-host.d.ts +0 -1007
- package/dist/user-ground-host.js.map +0 -1
- package/dist/watching/fsevents.d.ts +0 -69
- package/dist/watching/fsevents.js.map +0 -1
- package/dist/watching/git-storage.d.ts +0 -22
- package/dist/watching/git-storage.js.map +0 -1
- package/dist/watching/host.d.ts +0 -388
- package/dist/watching/host.js.map +0 -1
- package/dist/watching/index.d.ts +0 -3
- package/dist/watching/index.js.map +0 -1
- package/dist/watching/inotify.d.ts +0 -81
- package/dist/watching/inotify.js.map +0 -1
- package/dist/windows-fs.d.ts +0 -12
- package/dist/windows-fs.js.map +0 -1
- package/dist/windows-owner-only.d.ts +0 -6
- package/dist/windows-owner-only.js.map +0 -1
- package/dist/wire-binary.d.ts +0 -9
- package/dist/wire-binary.js.map +0 -1
- package/dist/wire-client.d.ts +0 -86
- package/dist/wire-client.js.map +0 -1
- package/dist/wire-join.d.ts +0 -19
- package/dist/wire-join.js.map +0 -1
- package/dist/wire-outbox.d.ts +0 -37
- package/dist/wire-outbox.js.map +0 -1
- package/dist/wire-request-scope.d.ts +0 -17
- package/dist/wire-request-scope.js.map +0 -1
- package/dist/wire-socket-relay.d.ts +0 -54
- package/dist/wire-socket-relay.js.map +0 -1
- package/dist/workspace-add-intent.d.ts +0 -41
- package/dist/workspace-add-intent.js.map +0 -1
- package/dist/workspace-add-staging.d.ts +0 -192
- package/dist/workspace-add-staging.js.map +0 -1
- package/dist/workspace-host.d.ts +0 -32
- package/dist/workspace-host.js.map +0 -1
- package/dist/workspace-store.d.ts +0 -8
- package/dist/workspace-store.js.map +0 -1
- package/skills/shell/SKILL.md +0 -175
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
/** One walk of one root: what it read, what it captured, and what it
|
|
2
|
-
* hands unit admission, Record and the next pass. */
|
|
3
1
|
import { randomUUID } from "node:crypto";
|
|
4
2
|
import { existsSync, lstatSync, readdirSync } from "node:fs";
|
|
5
3
|
import { lstat } from "node:fs/promises";
|
|
6
4
|
import { dirname, join, resolve, sep } from "node:path";
|
|
7
|
-
import { ITEMS_PER_BOUNDARY, trashRemovedEntitiesSteps, selectPublicationSteps, artifactForRecord, canonicalVersion, classifyDirectory, classifyFile, DERIVED_PAYLOAD, parallelForEach, planGroundDetectionSteps, holdsOnlyItself, groundWaits, contentWaits, isRefusal, Refusal, membershipHash, materializableRecordsSteps, suspectScope, reconcileGroundUUIDsSteps, groundIdentityPriorSteps, observedPortableName, physicalKindOf, portableFileMode } from "@amalgm/live";
|
|
5
|
+
import { ITEMS_PER_BOUNDARY, trashRemovedEntitiesSteps, selectPublicationSteps, artifactForRecord, canonicalVersion, CONTAINERS, classifyDirectory, classifyFile, DERIVED_PAYLOAD, parallelForEach, planGroundDetectionSteps, holdsOnlyItself, groundWaits, contentWaits, isRefusal, Refusal, membershipHash, materializableRecordsSteps, suspectScope, reconcileGroundUUIDsSteps, groundIdentityPriorSteps, observedPortableName, physicalKindOf, portableFileMode } from "@amalgm/live";
|
|
8
6
|
import { baselineStates } from "../baseline-content.js";
|
|
9
7
|
import { CaptureWork } from "../capture-work.js";
|
|
10
8
|
import { persistRows } from "../captured-rows.js";
|
|
@@ -23,33 +21,24 @@ import { portableGroundRecord as portableRecord, slashPath } from "../ground-row
|
|
|
23
21
|
import { readLinkTarget } from "../link-target.js";
|
|
24
22
|
import { sha256Hex } from "../sha256.js";
|
|
25
23
|
import { admissionProof, witnessProof } from "../source-proof.js";
|
|
26
|
-
import { identityRow, latestProof, onBoundDevice, physicalKey, shownMode, signedStat, sourceFingerprint, sourceReusable } from "../source-signature.js";
|
|
24
|
+
import { identityRow, latestProof, onBoundDevice, physicalKey, presenceHeld, shownMode, shownTime, signedStat, sourceFingerprint, sourceReusable } from "../source-signature.js";
|
|
27
25
|
import { awaitTurn, eachBatchInTurns, eachInTurns, finishStepsInTurns, mapInTurns, turnBoundary } from "../turns.js";
|
|
28
26
|
import { ownedObject, ownerName, placementOf } from "./apply-ownership.js";
|
|
29
27
|
import { GroundSourceProof, groundSourceProof } from "./ground-proof.js";
|
|
28
|
+
import { closeRacy, presenceRead, presenceWaitMs } from "./racy-close.js";
|
|
30
29
|
import { observeRepository } from "./repository-state.js";
|
|
31
|
-
import {
|
|
30
|
+
import { readSkipPolicy } from "./skip-policy.js";
|
|
31
|
+
import { lostToHolder, routeNames, routeShownBy, spelledRoot, storageRoute } from "./storage-holder.js";
|
|
32
32
|
import { carryUnread } from "./unread-content.js";
|
|
33
33
|
import { denied, unreadReason } from "./unreadable.js";
|
|
34
34
|
import { listAgain, vanished, WALK_TURN_ENTRIES, walkSkips } from "./walk-law.js";
|
|
35
35
|
import { RACY_READINGS, STALE_CAPTURE_ATTEMPTS, moved, moving, withhold, endsPass, withheldBy, StaleCaptureError, staleCapture, captureChurn } from "./withheld.js";
|
|
36
|
-
/** File captures during a walk overlap reads and hashing across this many
|
|
37
|
-
* lanes; the directory traversal itself stays ordered and serial. */
|
|
38
36
|
const WALK_CAPTURE_CONCURRENCY = 8;
|
|
39
|
-
/** A bound root standing on another device than the one it was bound on:
|
|
40
|
-
* its drive is unplugged, renumbered, or another is mounted there. As with an
|
|
41
|
-
* absent root, nothing of it is read or published. No timer retries it;
|
|
42
|
-
* later suspicion, or Register adopting the directory, asks again, and the
|
|
43
|
-
* original returning is caught up whole. */
|
|
44
37
|
export class RootOffDevice extends Refusal {
|
|
45
38
|
constructor(rootPath) {
|
|
46
39
|
super(`${rootPath} is not on the device its workspace was bound to; amalgm files register adopts it`);
|
|
47
40
|
}
|
|
48
41
|
}
|
|
49
|
-
/** A root this process may not even look at, because a directory above it
|
|
50
|
-
* hides its entries. Like a binding the pass could not follow, it is unread
|
|
51
|
-
* ground, never absent: nothing of it is read or published, the domain's
|
|
52
|
-
* absence decisions wait for it, and access returning is heard. */
|
|
53
42
|
export class RootUnreachable extends Error {
|
|
54
43
|
root;
|
|
55
44
|
constructor(root) {
|
|
@@ -57,16 +46,11 @@ export class RootUnreachable extends Error {
|
|
|
57
46
|
this.root = root;
|
|
58
47
|
}
|
|
59
48
|
}
|
|
60
|
-
/** A bound root re-created on its device is the same workspace, compared
|
|
61
|
-
* whole: a walk that read less than a complete examination located owes
|
|
62
|
-
* its complete examination. */
|
|
63
49
|
export class RootRecreated extends Error {
|
|
64
50
|
constructor(rootPath) {
|
|
65
51
|
super(`${rootPath} was re-created; its workspace is compared whole`);
|
|
66
52
|
}
|
|
67
53
|
}
|
|
68
|
-
/** One walk of a root. What its reads staged is named together once the walk
|
|
69
|
-
* needs the names, or removed when the walk ends first (cargo-group.ts). */
|
|
70
54
|
export async function observeRoot(input) {
|
|
71
55
|
const cargo = CargoGroup.open();
|
|
72
56
|
try {
|
|
@@ -78,20 +62,9 @@ export async function observeRoot(input) {
|
|
|
78
62
|
}
|
|
79
63
|
async function walkRoot(input, cargo) {
|
|
80
64
|
const { identity, resourceId, rootUUID, rootName, rootType, database, cacheDir, restorePackage, bindingDir, evidence, measureEvidence = false, plansSendRecords, } = input;
|
|
81
|
-
// Every address below is canonical: the walk joins names onto this one
|
|
82
|
-
// resolved root, so containment and frames are string prefixes.
|
|
83
65
|
const rootPath = resolve(input.rootPath);
|
|
84
|
-
// Every content read below follows its root's content clock, and every
|
|
85
|
-
// conclusion stands only while the stamped roots keep its qualification.
|
|
86
66
|
const clockRoot = rootPath;
|
|
87
67
|
const { stamp } = input, clock = stamp.boundary;
|
|
88
|
-
// Prior rows reach this scan from every binding this root encloses. A row's
|
|
89
|
-
// stored relativePath is relative to the root that last committed it, which
|
|
90
|
-
// is a different frame when an enclosing boundary was just registered
|
|
91
|
-
// (child/README.md is stored as "README.md" under the child root). Address
|
|
92
|
-
// every prior row in this scan's frame before anything compares it with an
|
|
93
|
-
// observed entry; absolutePath is the only coordinate both frames share,
|
|
94
|
-
// and a walk writes it resolved.
|
|
95
68
|
const rootPrefix = rootPath.endsWith(sep) ? rootPath : `${rootPath}${sep}`;
|
|
96
69
|
const inRootFrame = async (rows) => {
|
|
97
70
|
const framedRows = [];
|
|
@@ -103,9 +76,6 @@ async function walkRoot(input, cargo) {
|
|
|
103
76
|
});
|
|
104
77
|
return framedRows;
|
|
105
78
|
};
|
|
106
|
-
/** The records standing under no Trash, their own or inherited: this
|
|
107
|
-
* root's, and those of every workspace it encloses, whose own root still
|
|
108
|
-
* stands as one until this walk's ground enters with it. */
|
|
109
79
|
const materializedUUIDs = async (records) => {
|
|
110
80
|
const roots = new Set([rootUUID]);
|
|
111
81
|
await eachInTurns(records, record => { if (record.parentUUID === null)
|
|
@@ -116,16 +86,10 @@ async function walkRoot(input, cargo) {
|
|
|
116
86
|
}
|
|
117
87
|
return uuids;
|
|
118
88
|
};
|
|
119
|
-
/** The rows this observation re-decides, in this scan's frame. */
|
|
120
89
|
const examinedRows = async ({ o, b }) => {
|
|
121
90
|
const existingRows = await inRootFrame(o);
|
|
122
|
-
// Every walk observes all ground and selects under the home's policy. A
|
|
123
|
-
// Send scan selects against sharing's admitted predecessor; a first
|
|
124
|
-
// login's publication selects from nothing.
|
|
125
91
|
const admittedRows = await inRootFrame(b);
|
|
126
92
|
const sharingRows = plansSendRecords ? admittedRows : [];
|
|
127
|
-
// A name may be reused after deletion, but a Trash identity may only return
|
|
128
|
-
// through explicit Restore. Inherited Trash also excludes its descendants.
|
|
129
93
|
let trashed = false;
|
|
130
94
|
await eachInTurns(existingRows, row => { trashed ||= row.status !== "active"; });
|
|
131
95
|
const activeIds = plansSendRecords && trashed ? await materializedUUIDs(await mapInTurns(existingRows, portableRecord)) : null;
|
|
@@ -135,7 +99,6 @@ async function walkRoot(input, cargo) {
|
|
|
135
99
|
activeRows.push(row); });
|
|
136
100
|
const existingByPath = new Map();
|
|
137
101
|
await eachInTurns(activeRows, row => existingByPath.set(row.relativePath, row));
|
|
138
|
-
// B's latest proof at each address O holds no active row at.
|
|
139
102
|
const keptProofs = new Map();
|
|
140
103
|
await eachInTurns(admittedRows, row => {
|
|
141
104
|
if (existingByPath.has(row.relativePath))
|
|
@@ -151,42 +114,24 @@ async function walkRoot(input, cargo) {
|
|
|
151
114
|
o: input.existingRows ?? readRows(database).filter(row => row.resourceId === resourceId && row.rootUUID === rootUUID),
|
|
152
115
|
b: input.sharingRows ?? [],
|
|
153
116
|
});
|
|
154
|
-
const sharingPolicy = input.policy ??
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
const withheldByPolicy = (path) => !sharingPolicy.includes(path, false);
|
|
117
|
+
const sharingPolicy = input.policy ?? readSkipPolicy({ root: rootPath,
|
|
118
|
+
database: existsSync(database) ? groundDatabase(database) : null, rootUUID });
|
|
119
|
+
const withheldByPolicy = (path) => !sharingPolicy.travels(path, false);
|
|
158
120
|
const registeredBoundaries = input.registeredBoundaries ?? new Map();
|
|
159
|
-
// A scan asked nothing examines nothing, but a folder scope, which reads
|
|
160
|
-
// its root's own entry whatever names it follows.
|
|
161
121
|
if (input.suspects?.length === 0 && !input.folders && complete.existingRows.length > 0) {
|
|
162
122
|
return { kind: "unexamined" };
|
|
163
123
|
}
|
|
164
124
|
const { existingRows, admittedRows, sharingRows, activeRows, existingByPath, keptProofs } = complete;
|
|
165
|
-
// O by address in this scan's frame.
|
|
166
125
|
const priorsAt = (paths) => paths.map(path => existingByPath.get(path));
|
|
167
|
-
// The object last proved at each address: O's row, else B's latest proof
|
|
168
|
-
// there (latestProof). Identity is never taken from B's row; only the
|
|
169
|
-
// proof of its unchanged object is.
|
|
170
126
|
const provedAt = (paths) => paths.map(path => existingByPath.get(path) ?? keptProofs.get(path));
|
|
171
|
-
// A proof an enclosed root minted stands on that root's chain, which its
|
|
172
|
-
// own stamp checked before S0. Reused under this root, it is minted again
|
|
173
|
-
// under this root's clock, while that clock does not stand behind the
|
|
174
|
-
// enclosed root's stamp (lentQualification): the signature it was judged
|
|
175
|
-
// by then precedes both.
|
|
176
127
|
const enclosedStamps = input.enclosedStamps ?? new Map();
|
|
177
128
|
const lent = new Map([...enclosedStamps].map(([root, enclosed]) => [root, lentQualification(clock, enclosed)]));
|
|
178
129
|
const carriesOver = (prior) => {
|
|
179
130
|
const qualification = lent.get(prior.rootUUID);
|
|
180
131
|
return qualification != null && prior.sighting !== null && proofQualification(prior.sighting) === qualification;
|
|
181
132
|
};
|
|
182
|
-
// Regular files the walk read, by physical key: a link to any of them may
|
|
183
|
-
// appear while they are read.
|
|
184
133
|
const physicalReads = new Set();
|
|
185
|
-
// Addresses whose collection did not complete, with why.
|
|
186
134
|
const failedPaths = new Map();
|
|
187
|
-
// The scan's costs are metadata traversal, content capture and each
|
|
188
|
-
// repository's Git. They interleave, so each is accumulated where it is
|
|
189
|
-
// spent rather than inferred from the total afterwards.
|
|
190
135
|
const spent = (work, into) => {
|
|
191
136
|
if (!measureEvidence || !evidence)
|
|
192
137
|
return work();
|
|
@@ -198,7 +143,6 @@ async function walkRoot(input, cargo) {
|
|
|
198
143
|
evidence[into] += performance.now() - at;
|
|
199
144
|
}
|
|
200
145
|
};
|
|
201
|
-
// Git runs off the event loop; its leg is the awaited interval.
|
|
202
146
|
const spentAwaiting = async (work, into) => {
|
|
203
147
|
if (!measureEvidence || !evidence)
|
|
204
148
|
return await work();
|
|
@@ -210,11 +154,7 @@ async function walkRoot(input, cargo) {
|
|
|
210
154
|
evidence[into] += performance.now() - at;
|
|
211
155
|
}
|
|
212
156
|
};
|
|
213
|
-
// Detect never waits for Apply: it reads around an open window's receipts
|
|
214
|
-
// (apply-ownership.ts).
|
|
215
157
|
const ownership = groundApplyOwnership(database);
|
|
216
|
-
// A name inside a repository's Git storage asks that repository's Git,
|
|
217
|
-
// which its `.git` stands for: the walk never descends into storage.
|
|
218
158
|
const suspects = input.suspects ?? null;
|
|
219
159
|
const scanSuspects = suspects === null ? null : [...new Set(suspects.map(path => {
|
|
220
160
|
const owner = gitStorageOwner(path);
|
|
@@ -222,8 +162,6 @@ async function walkRoot(input, cargo) {
|
|
|
222
162
|
}))].sort();
|
|
223
163
|
const sharedByUuid = new Map();
|
|
224
164
|
await eachInTurns(sharingRows, row => sharedByUuid.set(row.uuid, row));
|
|
225
|
-
// Sharing's rows as the records they state, converted once for every
|
|
226
|
-
// reading of B below.
|
|
227
165
|
const sharedRecords = await mapInTurns(sharingRows, portableRecord);
|
|
228
166
|
const sharedRecordByUuid = new Map();
|
|
229
167
|
await eachInTurns(sharedRecords, record => sharedRecordByUuid.set(record.uuid, record));
|
|
@@ -231,17 +169,13 @@ async function walkRoot(input, cargo) {
|
|
|
231
169
|
for (const rows of [existingRows, sharingRows])
|
|
232
170
|
await eachInTurns(rows, row => heldIds.add(row.uuid));
|
|
233
171
|
const owners = ownership.owners();
|
|
234
|
-
// A cold journey admits only if no window it read around began or ended.
|
|
235
172
|
if (!input.units)
|
|
236
173
|
ownership.use({ subtrees: [rootPath], uuids: heldIds });
|
|
237
|
-
// Ground a pruned walk reads: what a name covers and the directories on
|
|
238
|
-
// the way to one.
|
|
239
174
|
const scanScope = suspectScope(scanSuspects);
|
|
240
175
|
const answered = new Set(input.answered), towardAnswered = suspectScope([...answered]);
|
|
241
176
|
const touchesSuspicion = (path) => scanScope.covers(path) || scanScope.leadsTo(path)
|
|
242
177
|
|| answered.has(path) || towardAnswered.leadsTo(path);
|
|
243
178
|
const entries = [];
|
|
244
|
-
/** A row this walk did not read, entered exactly as last known. */
|
|
245
179
|
const carriedEntry = (row) => ({
|
|
246
180
|
uuid: row.uuid,
|
|
247
181
|
type: row.type,
|
|
@@ -257,19 +191,12 @@ async function walkRoot(input, cargo) {
|
|
|
257
191
|
sighting: row.sighting,
|
|
258
192
|
size: row.size,
|
|
259
193
|
keptTarget: row.linkTarget,
|
|
194
|
+
gitHomeEntity: row.gitHomeEntity,
|
|
195
|
+
gitHomePath: row.gitHomePath,
|
|
260
196
|
});
|
|
261
|
-
// Ground this process may not read, by absolute address: a directory whose
|
|
262
|
-
// entries are hidden, or a leaf whose bytes are. It is unexamined, never
|
|
263
|
-
// absent. Units only; a cold journey still reads every byte or fails.
|
|
264
197
|
const unread = new Map();
|
|
265
|
-
// What cannot travel answers by identity (GroundWait), so it answers only
|
|
266
|
-
// once identity is resolved: a listing's UUID is provisional.
|
|
267
198
|
const waitAnswers = new Map();
|
|
268
199
|
const tooLarge = new Map();
|
|
269
|
-
/** A file past the content bound has no state a receiver could accept: its
|
|
270
|
-
* length decides it, before a byte is read (Live contentWaits). It keeps
|
|
271
|
-
* its last file type and no state or proof, so every pass decides it again
|
|
272
|
-
* from its stat, and selection holds it alone (Live groundWaits). */
|
|
273
200
|
const waitsAlone = (entry, prior, reason) => {
|
|
274
201
|
entry.type = prior?.type === "file.text" || prior?.type === "file.binary" ? prior.type : "file.binary";
|
|
275
202
|
entry.payloadVersion = null;
|
|
@@ -282,13 +209,18 @@ async function walkRoot(input, cargo) {
|
|
|
282
209
|
throw error;
|
|
283
210
|
unread.set(address, { directory, reason: unreadReason(address, error) });
|
|
284
211
|
};
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
212
|
+
let spelled;
|
|
213
|
+
const gitRoutes = new Map();
|
|
214
|
+
const readRoute = (checkout) => {
|
|
215
|
+
try {
|
|
216
|
+
const route = storageRoute(checkout, spelled ??= spelledRoot(rootPath));
|
|
217
|
+
if (route.length > 0)
|
|
218
|
+
gitRoutes.set(checkout, route);
|
|
219
|
+
}
|
|
220
|
+
catch (error) {
|
|
221
|
+
unreadGround(checkout, false, error);
|
|
222
|
+
}
|
|
223
|
+
};
|
|
292
224
|
const applyOwned = new Map();
|
|
293
225
|
const applyHidden = new Set();
|
|
294
226
|
for (const owner of owners)
|
|
@@ -309,19 +241,17 @@ async function walkRoot(input, cargo) {
|
|
|
309
241
|
throw new StaleCaptureError(`materialization root is unavailable: ${rootPath}`);
|
|
310
242
|
}
|
|
311
243
|
if (plansSendRecords && priorRoot && priorRoot.physicalKey !== physicalKey(rootStats)) {
|
|
312
|
-
// A bound root off its device is unavailable here; one re-created on it
|
|
313
|
-
// is the same workspace, compared whole.
|
|
314
244
|
if (!onBoundDevice(priorRoot.physicalKey, rootStats))
|
|
315
245
|
throw new RootOffDevice(rootPath);
|
|
316
246
|
if (scanSuspects !== null && !input.pooled)
|
|
317
247
|
throw new RootRecreated(rootPath);
|
|
318
248
|
}
|
|
319
249
|
evidence && (evidence.entries += 1);
|
|
320
|
-
// A pruned walk reads only what Watch's names reach, and carries every
|
|
321
|
-
// other row it holds exactly as last known.
|
|
322
250
|
const pruned = scanSuspects !== null && input.folders === true;
|
|
323
251
|
const vacant = new Set(input.vacant);
|
|
324
252
|
const carried = new Set();
|
|
253
|
+
if (input.rootMarker)
|
|
254
|
+
readRoute(rootPath);
|
|
325
255
|
if (pruned) {
|
|
326
256
|
await eachInTurns(activeRows, row => {
|
|
327
257
|
if (row.relativePath === "" || touchesSuspicion(row.relativePath))
|
|
@@ -344,26 +274,22 @@ async function walkRoot(input, cargo) {
|
|
|
344
274
|
sighting: null,
|
|
345
275
|
size: null,
|
|
346
276
|
keptTarget: null,
|
|
277
|
+
gitHomeEntity: null,
|
|
278
|
+
gitHomePath: null,
|
|
347
279
|
...sourceFingerprint(rootStats),
|
|
348
280
|
...(input.rootMarker !== undefined ? { gitMarker: input.rootMarker } : {}),
|
|
349
281
|
});
|
|
350
282
|
let visitedEntries = 0;
|
|
351
|
-
// The walk backpressures at the capture width. Every started read settles
|
|
352
|
-
// before this observation can finish or release a failed attempt.
|
|
353
283
|
const captures = new CaptureWork(WALK_CAPTURE_CONCURRENCY);
|
|
354
|
-
// Content capture's leg spans its first read's start to its last read's end.
|
|
355
284
|
let captureOpenedAt = 0;
|
|
356
285
|
let captureClosedAt = 0;
|
|
357
|
-
// The walk keeps the names of each listing its clock did not qualify, so
|
|
358
|
-
// that a later listing can close it; one it could not take is null.
|
|
359
286
|
const listings = new Map();
|
|
360
287
|
const listing = (directory, stats) => {
|
|
361
288
|
if (listingQualification(clock, stats) !== "qualified")
|
|
362
289
|
listings.set(directory, []);
|
|
363
290
|
};
|
|
291
|
+
const sealedFolders = new Map();
|
|
364
292
|
const visit = async (directory, parentUUID, base = "") => {
|
|
365
|
-
// A directory emptied mid-walk lists nothing. Its retained source closes
|
|
366
|
-
// changed, so nothing that depended on it is admitted.
|
|
367
293
|
let listed = true;
|
|
368
294
|
const children = spent(() => {
|
|
369
295
|
try {
|
|
@@ -384,10 +310,7 @@ async function walkRoot(input, cargo) {
|
|
|
384
310
|
const relativePath = base ? `${base}/${child.name}` : child.name;
|
|
385
311
|
if (pruned && !touchesSuspicion(relativePath))
|
|
386
312
|
continue;
|
|
387
|
-
// A listed name holds no separator and the directory is canonical.
|
|
388
313
|
const absolutePath = directory.endsWith(sep) ? directory + child.name : directory + sep + child.name;
|
|
389
|
-
// An entry gone since its listing changed its parent's entry list. A
|
|
390
|
-
// listing whose entries cannot be examined hides them all.
|
|
391
314
|
const stats = spent(() => {
|
|
392
315
|
try {
|
|
393
316
|
return lstatSync(absolutePath, { bigint: true });
|
|
@@ -413,9 +336,6 @@ async function walkRoot(input, cargo) {
|
|
|
413
336
|
applyOwned.set(applied.placement.uuid, `${absolutePath} is being shown by ${ownerName(applied.owner)}`);
|
|
414
337
|
}
|
|
415
338
|
evidence && (evidence.entries += 1);
|
|
416
|
-
// The walk is synchronous metadata work. Yield periodically so the
|
|
417
|
-
// wire, Receive, and Apply keep running while a large root is proved.
|
|
418
|
-
// A Watch ring during the yield remains a later generation.
|
|
419
339
|
if (++visitedEntries % WALK_TURN_ENTRIES === 0) {
|
|
420
340
|
await awaitTurn();
|
|
421
341
|
input.checkpoint?.();
|
|
@@ -429,10 +349,13 @@ async function walkRoot(input, cargo) {
|
|
|
429
349
|
}
|
|
430
350
|
const fixedUUID = registeredBoundaryId || placed?.placement.uuid;
|
|
431
351
|
const uuid = fixedUUID || existing?.uuid || randomUUID();
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
352
|
+
if (stats.isDirectory() && !registeredBoundaryId && sharingPolicy.sealed(relativePath)) {
|
|
353
|
+
entries.push({ uuid, type: "folder", parentUUID, name: child.name, relativePath,
|
|
354
|
+
absolutePath, payloadVersion: null, transportVersion: null, sighting: null, size: null, keptTarget: null,
|
|
355
|
+
gitHomeEntity: null, gitHomePath: null, ...sourceFingerprint(stats) });
|
|
356
|
+
sealedFolders.set(absolutePath, relativePath);
|
|
357
|
+
continue;
|
|
358
|
+
}
|
|
436
359
|
const prior = existing ?? (stats.isDirectory() ? undefined : provedAt([relativePath])[0]);
|
|
437
360
|
const reusable = prior !== undefined && sourceReusable(prior, stats);
|
|
438
361
|
const observe = !reusable;
|
|
@@ -471,27 +394,23 @@ async function walkRoot(input, cargo) {
|
|
|
471
394
|
type = classifyDirectory({ repository: marksRepository(gitMarker) });
|
|
472
395
|
}
|
|
473
396
|
catch (error) {
|
|
474
|
-
// Neither its marker nor its entries can be read: it keeps its rail.
|
|
475
397
|
unreadGround(absolutePath, true, error);
|
|
476
398
|
type = existing?.type === "repo.git" ? "repo.git" : "folder";
|
|
477
399
|
}
|
|
400
|
+
if (gitMarker)
|
|
401
|
+
readRoute(absolutePath);
|
|
478
402
|
}
|
|
479
403
|
else if (stats.isFile() && contentWaits(stats.size) !== null) {
|
|
480
404
|
type = "file.binary";
|
|
481
405
|
}
|
|
482
406
|
else if (stats.isFile()) {
|
|
483
407
|
evidence && (evidence.contentReads += 1);
|
|
484
|
-
// Provisional identity; the pooled capture scheduled below settles
|
|
485
|
-
// type, content head, and fingerprint before entries are read.
|
|
486
408
|
type = "file.binary";
|
|
487
409
|
deferredCapture = true;
|
|
488
410
|
}
|
|
489
411
|
else {
|
|
490
|
-
// Unsupported ground is outside every graph.
|
|
491
412
|
continue;
|
|
492
413
|
}
|
|
493
|
-
// Every directory is seen whole, a racy one again under the stamp its
|
|
494
|
-
// listing closes under; a leaf's proof stands until it is read.
|
|
495
414
|
if (observe || stats.isDirectory() || carriesOver(prior))
|
|
496
415
|
sighting = sightingUnder(clock, stats);
|
|
497
416
|
entries.push({
|
|
@@ -499,7 +418,6 @@ async function walkRoot(input, cargo) {
|
|
|
499
418
|
...(fixedUUID ? { fixedUUID } : {}),
|
|
500
419
|
type,
|
|
501
420
|
parentUUID,
|
|
502
|
-
// Logical naming is attributed after identity, not to an old path occupant.
|
|
503
421
|
name: child.name,
|
|
504
422
|
relativePath,
|
|
505
423
|
absolutePath,
|
|
@@ -508,6 +426,8 @@ async function walkRoot(input, cargo) {
|
|
|
508
426
|
sighting,
|
|
509
427
|
size,
|
|
510
428
|
keptTarget,
|
|
429
|
+
gitHomeEntity: null,
|
|
430
|
+
gitHomePath: null,
|
|
511
431
|
...(linkTarget !== undefined ? { linkTarget } : {}),
|
|
512
432
|
...(gitMarker !== undefined ? { gitMarker } : {}),
|
|
513
433
|
...sourceFingerprint(stats),
|
|
@@ -522,8 +442,6 @@ async function walkRoot(input, cargo) {
|
|
|
522
442
|
await captures.add(async () => {
|
|
523
443
|
const taskStarted = measureEvidence ? performance.now() : 0;
|
|
524
444
|
let current = stats;
|
|
525
|
-
// Bytes a Send may carry are sealed by the read that observes
|
|
526
|
-
// them, exactly as a named capture does; nothing reads them twice.
|
|
527
445
|
const seals = plansSendRecords && !withheldByPolicy(relativePath);
|
|
528
446
|
for (let attempt = 1;; attempt++) {
|
|
529
447
|
try {
|
|
@@ -538,16 +456,12 @@ async function walkRoot(input, cargo) {
|
|
|
538
456
|
entry.size = captured.bytes;
|
|
539
457
|
entry.sighting = sightingUnder(clock, current);
|
|
540
458
|
Object.assign(entry, sourceFingerprint(current));
|
|
541
|
-
// A layout of more than one block is kept by the read that
|
|
542
|
-
// derived it, so no later reader rereads the bytes for it.
|
|
543
459
|
if (!seals && captured.layout.chunks.length > 1)
|
|
544
460
|
await writeLayoutHint(cacheDir, captured.layout);
|
|
545
461
|
return;
|
|
546
462
|
}
|
|
547
463
|
catch (error) {
|
|
548
464
|
if (!captureChurn(error)) {
|
|
549
|
-
// Present, but its bytes are unreadable: only its own result
|
|
550
|
-
// waits, and it keeps its last-known rail meanwhile.
|
|
551
465
|
unreadGround(absolutePath, false, error);
|
|
552
466
|
if (existing && existing.type !== "folder" && existing.type !== "repo.git" && existing.type !== "workspace") {
|
|
553
467
|
entry.type = existing.type;
|
|
@@ -558,7 +472,6 @@ async function walkRoot(input, cargo) {
|
|
|
558
472
|
entry.sighting = existing?.sighting ?? null;
|
|
559
473
|
return;
|
|
560
474
|
}
|
|
561
|
-
// Units wait only on this file; otherwise the root restarts.
|
|
562
475
|
const stale = (detail, cause) => {
|
|
563
476
|
if (!input.units)
|
|
564
477
|
throw new StaleCaptureError(detail, { cause });
|
|
@@ -567,9 +480,6 @@ async function walkRoot(input, cargo) {
|
|
|
567
480
|
if (attempt >= STALE_CAPTURE_ATTEMPTS) {
|
|
568
481
|
return stale(`${absolutePath} kept changing while being captured`, error);
|
|
569
482
|
}
|
|
570
|
-
// The file moved mid-read. Capture what stands there now —
|
|
571
|
-
// the walk publishes point-in-time truth, not the first bytes
|
|
572
|
-
// it happened to observe.
|
|
573
483
|
try {
|
|
574
484
|
current = lstatSync(absolutePath, { bigint: true });
|
|
575
485
|
}
|
|
@@ -587,8 +497,6 @@ async function walkRoot(input, cargo) {
|
|
|
587
497
|
}
|
|
588
498
|
});
|
|
589
499
|
}
|
|
590
|
-
// An Enter's staged tree is Apply's install wherever a person moves its
|
|
591
|
-
// root: what it holds projects at the window's end.
|
|
592
500
|
if (placed?.placement.opaque)
|
|
593
501
|
applyHidden.add(absolutePath);
|
|
594
502
|
if (stats.isDirectory() && !stats.isSymbolicLink() && !unread.has(absolutePath) && !placed?.placement.opaque) {
|
|
@@ -603,15 +511,9 @@ async function walkRoot(input, cargo) {
|
|
|
603
511
|
if (measureEvidence && evidence && captureOpenedAt !== 0) {
|
|
604
512
|
evidence.captureMs += captureClosedAt - captureOpenedAt;
|
|
605
513
|
}
|
|
606
|
-
|
|
607
|
-
// their existence: every row last known there that the walk did not reach
|
|
608
|
-
// is carried unchanged, neither refreshed nor absent. Nothing was read
|
|
609
|
-
// there, so nothing there is a source of this walk.
|
|
610
|
-
const hidden = new Set();
|
|
514
|
+
const hidden = new Set(sealedFolders.values());
|
|
611
515
|
const unlisted = new Set([...[...unread].filter(([, gap]) => gap.directory).map(([address]) => address),
|
|
612
|
-
...applyHidden].map(address => resolve(address)));
|
|
613
|
-
/** A stored address lies beneath an unlisted directory: one climb of its
|
|
614
|
-
* own ancestors, never a scan of every unlisted directory. */
|
|
516
|
+
...applyHidden, ...sealedFolders.keys()].map(address => resolve(address)));
|
|
615
517
|
const beneathUnlisted = (address) => {
|
|
616
518
|
for (let path = address, parent = dirname(path);; path = parent, parent = dirname(path)) {
|
|
617
519
|
if (unlisted.has(path))
|
|
@@ -630,10 +532,6 @@ async function walkRoot(input, cargo) {
|
|
|
630
532
|
hidden.add(row.relativePath);
|
|
631
533
|
});
|
|
632
534
|
}
|
|
633
|
-
// A carried row stands only beneath a parent this walk read again as the
|
|
634
|
-
// object O held there, or carried, at an address the walk did not read. A
|
|
635
|
-
// folder that became a repository, or one that stopped being one, is still
|
|
636
|
-
// that object: its members are files like any other.
|
|
637
535
|
if (carried.size) {
|
|
638
536
|
const walked = new Map();
|
|
639
537
|
await eachInTurns(entries, entry => { if (!carried.has(entry))
|
|
@@ -655,9 +553,6 @@ async function walkRoot(input, cargo) {
|
|
|
655
553
|
}
|
|
656
554
|
});
|
|
657
555
|
}
|
|
658
|
-
// The proof closes what this walk read. A carried row's signature is O's
|
|
659
|
-
// last belief, not a read, so it is no source: restating it would compare
|
|
660
|
-
// O with now and hold every later absence open forever.
|
|
661
556
|
const readEntries = [];
|
|
662
557
|
await eachInTurns(entries, entry => { if (!hidden.has(entry.relativePath) && !carried.has(entry))
|
|
663
558
|
readEntries.push(entry); });
|
|
@@ -671,62 +566,56 @@ async function walkRoot(input, cargo) {
|
|
|
671
566
|
throw error;
|
|
672
567
|
}
|
|
673
568
|
}, list: listAgain }, { clock, names: listings }));
|
|
674
|
-
// Units close the walk once, outside SQLite, and wait only where it moved.
|
|
675
|
-
// A cold journey concludes every membership at once: its walk closes on a
|
|
676
|
-
// content thread before anything trusts it, and again at admission.
|
|
677
569
|
if (!input.units) {
|
|
678
570
|
await closePhysicallyOffThread(witnessProof([await finishStepsInTurns(groundProof.witness())]), "complete");
|
|
679
571
|
}
|
|
680
572
|
const rootProofs = [
|
|
681
573
|
admissionProof(() => assertQualified(database, stamp)),
|
|
682
574
|
...[...enclosedStamps.values()].map(enclosed => admissionProof(() => assertQualified(database, enclosed))),
|
|
683
|
-
|
|
684
|
-
// Units read around every window open at collection. One that binds
|
|
685
|
-
// later shows nothing but under a ground hold, which crosses exactly the
|
|
686
|
-
// units that read its ground, so no root-wide answer is needed. A cold
|
|
687
|
-
// journey claims its whole root, so any window beginning or ending in it
|
|
688
|
-
// makes the walk stale.
|
|
575
|
+
admissionProof(() => sharingPolicy.validate()),
|
|
689
576
|
...(!input.units ? [admissionProof(ownership.seal().assertCurrent)] : []),
|
|
690
577
|
];
|
|
691
578
|
const sourceProof = { physical: groundProof, dependencies: rootProofs };
|
|
692
579
|
const observedByPath = new Map();
|
|
693
580
|
await eachInTurns(entries, entry => observedByPath.set(entry.relativePath, entry));
|
|
694
|
-
// Identities whose collection did not complete, with why. A repository
|
|
695
|
-
// that cannot be read fails alone: its files are their own entities.
|
|
696
581
|
const failed = new Map();
|
|
697
582
|
const unitEvidence = async (whole) => {
|
|
698
583
|
for (const [path, cause] of failedPaths)
|
|
699
584
|
withhold(failed, observedByPath.get(path).uuid, cause);
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
if (unread.size || applyOwned.size)
|
|
585
|
+
const checkouts = [];
|
|
586
|
+
if (unread.size || applyOwned.size || gitRoutes.size)
|
|
703
587
|
await eachInTurns(entries, entry => {
|
|
704
588
|
const unreadable = unread.get(entry.absolutePath)?.reason;
|
|
705
589
|
const shown = applyOwned.get(entry.uuid);
|
|
590
|
+
const route = carried.has(entry) ? undefined : gitRoutes.get(entry.absolutePath);
|
|
591
|
+
if (route)
|
|
592
|
+
checkouts.push({ entry, route });
|
|
706
593
|
if (unreadable)
|
|
707
594
|
withhold(failed, entry.uuid, { kind: "unavailable", reason: unreadable });
|
|
708
595
|
else if (shown)
|
|
709
596
|
withhold(failed, entry.uuid, { kind: "owed", reason: shown, address: entry.absolutePath });
|
|
710
597
|
});
|
|
598
|
+
const routes = new Map();
|
|
599
|
+
for (const { entry, route } of checkouts) {
|
|
600
|
+
routes.set(entry.uuid, routeNames(route));
|
|
601
|
+
const owed = routeShownBy(owners, route) ?? (plansSendRecords
|
|
602
|
+
? await lostToHolder(database, cacheDir, { synced: sharedByUuid.get(entry.uuid), type: entry.type,
|
|
603
|
+
parentUUID: entry.parentUUID, name: entry.name, marker: entry.gitMarker ?? null, route })
|
|
604
|
+
: null);
|
|
605
|
+
if (owed)
|
|
606
|
+
withhold(failed, entry.uuid, { kind: "owed", reason: owed, address: entry.absolutePath });
|
|
607
|
+
}
|
|
711
608
|
return {
|
|
712
|
-
walk: groundProof, failed, rootProofs,
|
|
609
|
+
walk: groundProof, failed, rootProofs, physicalReads, whole, unread, gitRoutes: routes,
|
|
713
610
|
namespace: [...unread.values()].find(gap => gap.directory)?.reason ?? null,
|
|
714
611
|
};
|
|
715
612
|
};
|
|
716
613
|
const reconcileStarted = measureEvidence ? performance.now() : 0;
|
|
717
|
-
// Proved return (docs/detection.md): an entry standing where O shows
|
|
718
|
-
// nothing, or another object, may be a retained identity coming back, so
|
|
719
|
-
// only its physical key is asked about and a quiet pass asks nothing.
|
|
720
614
|
const probes = new Set();
|
|
721
615
|
await eachBatchInTurns(entries, batch => priorsAt(batch.map(entry => entry.relativePath)).forEach((prior, index) => {
|
|
722
616
|
if (prior?.physicalKey !== batch[index].physicalKey)
|
|
723
617
|
probes.add(batch[index].physicalKey);
|
|
724
618
|
}));
|
|
725
|
-
// A batch of keys at a time, so a pass as large as its home keeps
|
|
726
|
-
// answering. Each batch reads afresh and admission compares every returned
|
|
727
|
-
// row with what was read, so a row that changes between batches is stale
|
|
728
|
-
// as one that changes after a single read would be. A row that moves to a
|
|
729
|
-
// later batch's key is read twice: that pass is stale too.
|
|
730
619
|
const storedRetained = [];
|
|
731
620
|
const retainedRead = new Set();
|
|
732
621
|
await eachBatchInTurns(probes, batch => readRetainedRows(database, rootUUID, batch).forEach(row => {
|
|
@@ -751,27 +640,30 @@ async function walkRoot(input, cargo) {
|
|
|
751
640
|
evidence.reconcileMs += performance.now() - reconcileStarted;
|
|
752
641
|
const absentIds = await mapInTurns(absent, row => row.uuid);
|
|
753
642
|
const examination = () => ({ examined: existingRows, absent: absentIds, returned, revealed, reveals });
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
643
|
+
const priorByUuid = new Map();
|
|
644
|
+
await eachInTurns(activeRows, row => priorByUuid.set(row.uuid, row));
|
|
645
|
+
const leafReads = [];
|
|
646
|
+
let waitMs = groundProof.racyWaitMs;
|
|
647
|
+
await eachInTurns(readEntries, entry => {
|
|
648
|
+
if (CONTAINERS.has(entry.type) || failedPaths.has(entry.relativePath) || unread.has(entry.absolutePath))
|
|
649
|
+
return;
|
|
650
|
+
const uuid = resolvedIdentity.get(entry.relativePath);
|
|
651
|
+
if (presenceHeld(uuid === undefined ? undefined : priorByUuid.get(uuid), { ...entry, rootUUID }))
|
|
652
|
+
return;
|
|
653
|
+
const wait = presenceWaitMs(entry);
|
|
654
|
+
if (wait === null)
|
|
655
|
+
return;
|
|
656
|
+
leafReads.push(presenceRead(entry, presence => { entry.presence = presence; }));
|
|
657
|
+
waitMs = Math.max(waitMs, wait);
|
|
658
|
+
});
|
|
659
|
+
if (groundProof.racy.length || leafReads.length) {
|
|
660
|
+
await closeRacy([...groundProof.racyReads(), ...leafReads], async () => (await stampContentClock(database, clockRoot)).boundary, waitMs - (performance.now() - stamp.takenAt), RACY_READINGS, input.checkpoint);
|
|
661
|
+
const open = groundProof.racy[0] ?? groundProof.moved[0];
|
|
662
|
+
if (open !== undefined && !input.units)
|
|
771
663
|
throw new StaleCaptureError(`${open} did not list again as walked`);
|
|
772
|
-
for (const [path,
|
|
664
|
+
for (const [path, under] of groundProof.closedUnder) {
|
|
773
665
|
const entry = observedByPath.get(path);
|
|
774
|
-
entry.sighting = sightingUnder(
|
|
666
|
+
entry.sighting = sightingUnder(under, signedStat(entry.sourceSignature));
|
|
775
667
|
}
|
|
776
668
|
}
|
|
777
669
|
if (!input.units) {
|
|
@@ -779,16 +671,8 @@ async function walkRoot(input, cargo) {
|
|
|
779
671
|
if (open !== null)
|
|
780
672
|
throw new StaleCaptureError(`${open} did not list again as walked`);
|
|
781
673
|
}
|
|
782
|
-
const priorByUuid = new Map();
|
|
783
|
-
await eachInTurns(activeRows, row => priorByUuid.set(row.uuid, row));
|
|
784
|
-
// A created leaf whose bytes the walk could not read is no part of this
|
|
785
|
-
// pass: nothing read states it and no prior row hangs on it, so the ground
|
|
786
|
-
// beside it, its new folder included, admits without it. Its address stays
|
|
787
|
-
// unread, so the root keeps retrying and a repository holding it waits.
|
|
788
674
|
const unstated = new Set();
|
|
789
675
|
await eachInTurns(entries, entry => {
|
|
790
|
-
// An unresolved observation is a create. No provisional pathname UUID
|
|
791
|
-
// can supply identity or parentage after the common resolver has run.
|
|
792
676
|
const resolved = resolvedIdentity.get(entry.relativePath);
|
|
793
677
|
if (resolved === undefined && unread.get(entry.absolutePath)?.directory === false)
|
|
794
678
|
unstated.add(entry);
|
|
@@ -800,17 +684,8 @@ async function walkRoot(input, cargo) {
|
|
|
800
684
|
entries[kept++] = entry; });
|
|
801
685
|
entries.length = kept;
|
|
802
686
|
}
|
|
803
|
-
// The retained identities entries claimed, as stored. One back where it
|
|
804
|
-
// stood, as its absence's top or beneath a container back where it stood,
|
|
805
|
-
// is revealed: its absence lifts over it. Any other return is placed where
|
|
806
|
-
// it stands now, as the identity it always was. Beneath a revealed top,
|
|
807
|
-
// each stored child of a returned container that has not returned stays
|
|
808
|
-
// absent under its own top (ground-store.ts reveal).
|
|
809
687
|
const returned = new Map(), revealed = new Map();
|
|
810
688
|
const reveals = new Map();
|
|
811
|
-
// Returns stored where this walk's scope reads: each moved within it. One
|
|
812
|
-
// stored beneath ground the walk could not list waits on that gap like any
|
|
813
|
-
// other identity decision there (admission-units.ts), never on a wider read.
|
|
814
689
|
const returnedWithin = new Set();
|
|
815
690
|
if (retained.length) {
|
|
816
691
|
const claimedAt = new Map(), framedRetained = new Map();
|
|
@@ -820,8 +695,6 @@ async function walkRoot(input, cargo) {
|
|
|
820
695
|
await eachInTurns(storedRetained, ({ top: _top, ...row }) => { if (claimedAt.has(row.uuid))
|
|
821
696
|
returned.set(row.uuid, row); });
|
|
822
697
|
const back = (uuid) => claimedAt.get(uuid) === framedRetained.get(uuid).relativePath;
|
|
823
|
-
// The revealed top whose range stores each returned row, if any: its
|
|
824
|
-
// own, when it is a top back where it stood, else its container's.
|
|
825
698
|
const tops = new Map(), opened = new Map();
|
|
826
699
|
const topOver = (uuid) => {
|
|
827
700
|
let top = tops.get(uuid);
|
|
@@ -869,17 +742,6 @@ async function walkRoot(input, cargo) {
|
|
|
869
742
|
if (input.folders)
|
|
870
743
|
await eachInTurns(carried, entry => context.add(entry.uuid));
|
|
871
744
|
if (input.crossing) {
|
|
872
|
-
// The scope holds the rows it examines, context apart. A return it
|
|
873
|
-
// reveals lifts the absence whose range it consumes. A return stored
|
|
874
|
-
// where it read crossed nothing, so only an alias elsewhere can make it
|
|
875
|
-
// cross, as for any identity it does not hold; any other return was
|
|
876
|
-
// stored where the scope never read, so it arrived from elsewhere in the
|
|
877
|
-
// root. An identity the scope kept by address on another object than
|
|
878
|
-
// its own crosses too when that object's identity is stored outside the
|
|
879
|
-
// scope: a directory claims its object before any address
|
|
880
|
-
// (docs/detection.md), so the whole root could answer otherwise, as in a
|
|
881
|
-
// folder swap, or a folder and a file swapped, whose names Watch heard in
|
|
882
|
-
// different cuts.
|
|
883
745
|
const scope = new Set(revealed.keys());
|
|
884
746
|
await eachInTurns(existingRows, row => { if (!context.has(row.uuid))
|
|
885
747
|
scope.add(row.uuid); });
|
|
@@ -917,17 +779,16 @@ async function walkRoot(input, cargo) {
|
|
|
917
779
|
group.push({ uuid: entry.uuid, name: entry.name });
|
|
918
780
|
children.set(entry.parentUUID, group);
|
|
919
781
|
});
|
|
920
|
-
// canonicalVersion is a pure function of these identity inputs, so a stored
|
|
921
|
-
// leaf row whose inputs are unchanged already holds the exact version —
|
|
922
|
-
// recomputing 70k hashes on a stable restart pass proved nothing. Container
|
|
923
|
-
// versions still derive from live membership, which is never persisted.
|
|
924
782
|
const existingVersionByUuid = new Map(returned);
|
|
925
783
|
await eachInTurns(existingRows, row => existingVersionByUuid.set(row.uuid, row));
|
|
926
784
|
const rowFromEntry = (entry) => {
|
|
927
785
|
const container = DERIVED_PAYLOAD.has(entry.type);
|
|
928
|
-
const
|
|
786
|
+
const existing = existingVersionByUuid.get(entry.uuid);
|
|
787
|
+
const filesystemMode = shownMode(entry.filesystemMode, existing?.filesystemMode);
|
|
929
788
|
const fileMode = portableFileMode(entry.type, filesystemMode);
|
|
930
|
-
const
|
|
789
|
+
const mtime = entry.sourceSignature === null ? existing?.mtime ?? null
|
|
790
|
+
: shownTime(entry.type, signedStat(entry.sourceSignature).mtimeNs, existing);
|
|
791
|
+
const stored = container && !context.has(entry.uuid) ? undefined : existing;
|
|
931
792
|
const storedVersion = stored !== undefined
|
|
932
793
|
&& stored.type === entry.type
|
|
933
794
|
&& stored.parentUUID === entry.parentUUID
|
|
@@ -935,6 +796,7 @@ async function walkRoot(input, cargo) {
|
|
|
935
796
|
&& stored.status === "active"
|
|
936
797
|
&& stored.payloadVersion === entry.payloadVersion
|
|
937
798
|
&& portableFileMode(stored.type, stored.filesystemMode) === fileMode
|
|
799
|
+
&& stored.mtime === mtime
|
|
938
800
|
? stored.version
|
|
939
801
|
: null;
|
|
940
802
|
const record = {
|
|
@@ -952,12 +814,16 @@ async function walkRoot(input, cargo) {
|
|
|
952
814
|
? membershipHash(children.get(entry.uuid) ?? [], sha256Hex)
|
|
953
815
|
: entry.payloadVersion,
|
|
954
816
|
fileMode,
|
|
817
|
+
mtime,
|
|
955
818
|
}, sha256Hex),
|
|
956
819
|
payloadVersion: entry.payloadVersion,
|
|
957
820
|
fileMode,
|
|
821
|
+
mtime,
|
|
958
822
|
size: entry.size,
|
|
959
823
|
linkTarget: entry.linkTarget ?? entry.keptTarget,
|
|
960
824
|
transportVersion: entry.transportVersion,
|
|
825
|
+
gitHomeEntity: entry.gitHomeEntity,
|
|
826
|
+
gitHomePath: entry.gitHomePath,
|
|
961
827
|
};
|
|
962
828
|
return {
|
|
963
829
|
record,
|
|
@@ -967,21 +833,13 @@ async function walkRoot(input, cargo) {
|
|
|
967
833
|
sourceSignature: entry.sourceSignature,
|
|
968
834
|
filesystemMode,
|
|
969
835
|
sighting: entry.sighting,
|
|
836
|
+
...(entry.presence ? { presence: entry.presence } : {}),
|
|
970
837
|
};
|
|
971
838
|
};
|
|
972
839
|
const rowsFromEntries = () => mapInTurns(entries, rowFromEntry);
|
|
973
840
|
const entryByUuid = new Map();
|
|
974
841
|
await eachInTurns(entries, entry => entryByUuid.set(entry.uuid, entry));
|
|
975
|
-
// Each repository's state is its Git directory, which Git reads: asked
|
|
976
|
-
// whenever Watch named its storage, or the walk is complete or found it
|
|
977
|
-
// new. The state is compared with the one its identity's row last
|
|
978
|
-
// recorded, wherever that row stood (a moved repository is the same), and a
|
|
979
|
-
// changed state is uploaded once, as the artifact its record carries. A
|
|
980
|
-
// repository travels when everything its disk holds can reach the
|
|
981
|
-
// receiver; when some of it cannot, that repository alone waits for its
|
|
982
|
-
// files to change, and its neighbours travel.
|
|
983
842
|
const repositories = [];
|
|
984
|
-
// One that left Git territory, the bound, or the ground, waits for nothing.
|
|
985
843
|
await eachInTurns(absent, row => { if (row.type === "repo.git" || groundWaits(row))
|
|
986
844
|
waitAnswers.set(row.uuid, null); });
|
|
987
845
|
await eachInTurns(entries, entry => {
|
|
@@ -998,15 +856,13 @@ async function walkRoot(input, cargo) {
|
|
|
998
856
|
if (prior?.type === "repo.git") {
|
|
999
857
|
entry.payloadVersion = prior.payloadVersion;
|
|
1000
858
|
entry.transportVersion = prior.transportVersion;
|
|
859
|
+
entry.gitHomeEntity = prior.gitHomeEntity;
|
|
860
|
+
entry.gitHomePath = prior.gitHomePath;
|
|
1001
861
|
}
|
|
1002
862
|
if (scanSuspects === null || prior?.type !== "repo.git"
|
|
1003
863
|
|| scanScope.covers(entry.relativePath ? `${entry.relativePath}/.git` : ".git"))
|
|
1004
864
|
repositories.push(entry);
|
|
1005
865
|
});
|
|
1006
|
-
// A linked worktree's Git directory lives in its main checkout's, a
|
|
1007
|
-
// submodule's in its superproject's (git/home.ts): the pass names every
|
|
1008
|
-
// repository it holds, and observes those with their own `.git` directory
|
|
1009
|
-
// first, whose new states a worktree's upload is thin against.
|
|
1010
866
|
const heldRepositories = entries.filter(entry => entry.type === "repo.git");
|
|
1011
867
|
const gitFollows = new Map();
|
|
1012
868
|
const gitOwners = groundGitOwners(existsSync(database) ? groundDatabase(database) : null, { root: rootPath, repositories: () => heldRepositories });
|
|
@@ -1017,11 +873,13 @@ async function walkRoot(input, cargo) {
|
|
|
1017
873
|
evidence && (evidence.gitInspections += 1);
|
|
1018
874
|
try {
|
|
1019
875
|
const shared = sharedByUuid.get(repository.uuid);
|
|
1020
|
-
const observed = await spentAwaiting(() => observeRepository(cacheDir, repository.absolutePath, repository, shared?.type === "repo.git" ? shared : null, gitOwners,
|
|
876
|
+
const observed = await spentAwaiting(() => observeRepository(cacheDir, repository.absolutePath, repository, shared?.type === "repo.git" ? shared : null, gitOwners, restorePackage), "gitMs");
|
|
1021
877
|
if (observed.kind === "changed") {
|
|
1022
878
|
evidence && (evidence.repositoryCaptures += 1);
|
|
1023
879
|
repository.payloadVersion = observed.payloadVersion;
|
|
1024
880
|
repository.transportVersion = observed.transportVersion;
|
|
881
|
+
repository.gitHomeEntity = observed.home?.entity ?? null;
|
|
882
|
+
repository.gitHomePath = observed.home?.path ?? null;
|
|
1025
883
|
if (observed.follows.length > 0)
|
|
1026
884
|
gitFollows.set(repository.uuid, observed.follows);
|
|
1027
885
|
}
|
|
@@ -1034,10 +892,6 @@ async function walkRoot(input, cargo) {
|
|
|
1034
892
|
catch (error) {
|
|
1035
893
|
if (endsPass(error) || (!input.units && (error instanceof CaptureSourceChangedError || staleCapture(error))))
|
|
1036
894
|
throw error;
|
|
1037
|
-
// A repository whose state this pass could not read waits alone; its
|
|
1038
|
-
// parent and neighbours travel. A refusal waits for its files to
|
|
1039
|
-
// ring. A units lane withholds a fault and reads it again; a cold
|
|
1040
|
-
// journey leaves it to the first pass over the root that follows.
|
|
1041
895
|
const refusal = !moved(error) && !denied(error) && isRefusal(error);
|
|
1042
896
|
if (input.units && !refusal)
|
|
1043
897
|
withhold(failedPaths, repository.relativePath, withheldBy(error, repository.absolutePath));
|
|
@@ -1046,25 +900,17 @@ async function walkRoot(input, cargo) {
|
|
|
1046
900
|
reason: error instanceof Error ? error.message : String(error) });
|
|
1047
901
|
}
|
|
1048
902
|
});
|
|
1049
|
-
// Ground no read has yet given a state a receiver can accept waits:
|
|
1050
|
-
// selection holds it and what stands under it (Live's publication `waiting`).
|
|
1051
903
|
const waiting = new Set();
|
|
1052
904
|
await eachInTurns(entries, entry => {
|
|
1053
905
|
if (groundWaits(entry) && !context.has(entry.uuid))
|
|
1054
906
|
waiting.add(entry.uuid);
|
|
1055
907
|
});
|
|
1056
|
-
// A root that waits holds everything under it: nothing travels.
|
|
1057
908
|
const rootUnread = waiting.has(rootUUID);
|
|
1058
|
-
// The selector reads structure alone: identity, parent, name, type and
|
|
1059
|
-
// address. Versions and content packaging follow the selection. A
|
|
1060
|
-
// materialization boundary can have a portable parent outside this scan.
|
|
1061
909
|
const node = (row) => row.uuid === rootUUID && row.parentUUID !== null
|
|
1062
910
|
? { uuid: row.uuid, parentUUID: null, name: row.name, type: row.type, relativePath: row.relativePath } : row;
|
|
1063
|
-
const
|
|
1064
|
-
|
|
1065
|
-
// hides, which remain prior results. Selection decides every Restore.
|
|
911
|
+
const skipRules = sharingPolicy.with(entries.flatMap(entry => entry.type === "repo.git" ? [entry.relativePath] : []));
|
|
912
|
+
const travels = (path, _rootId, directory) => skipRules.travels(path, directory);
|
|
1066
913
|
const sharedActiveIds = plansSendRecords ? await materializedUUIDs(sharedRecords) : new Set();
|
|
1067
|
-
// A first publication selects from nothing: only its root stands before it.
|
|
1068
914
|
const beforeNodes = [], trashHidden = [];
|
|
1069
915
|
if (plansSendRecords) {
|
|
1070
916
|
await eachInTurns(sharingRows, row => {
|
|
@@ -1079,13 +925,11 @@ async function walkRoot(input, cargo) {
|
|
|
1079
925
|
const selection = await finishStepsInTurns(selectPublicationSteps({
|
|
1080
926
|
before: beforeNodes,
|
|
1081
927
|
observed: await mapInTurns(entries, node),
|
|
1082
|
-
|
|
928
|
+
travels,
|
|
1083
929
|
waiting,
|
|
1084
930
|
hidden: trashHidden,
|
|
1085
931
|
}));
|
|
1086
932
|
const persisting = input.suspicion === undefined;
|
|
1087
|
-
// A direct persist is its own admission: every semantic phase answers first,
|
|
1088
|
-
// then the original witnesses close as the write that trusts them posts.
|
|
1089
933
|
const persist = async (observed, shared) => {
|
|
1090
934
|
if (!persisting)
|
|
1091
935
|
return;
|
|
@@ -1097,9 +941,6 @@ async function walkRoot(input, cargo) {
|
|
|
1097
941
|
await eachInTurns(selection.withheld, hold => { whole ||= !holdsOnlyItself(hold.reason); });
|
|
1098
942
|
const observedRows = await spentAwaiting(rowsFromEntries, "persistMs");
|
|
1099
943
|
if (rootUnread) {
|
|
1100
|
-
// Type and identity are filesystem facts, so they settle locally even
|
|
1101
|
-
// when a repository's state cannot yet travel. A root whose own state
|
|
1102
|
-
// waits sends nothing until it is read.
|
|
1103
944
|
await persist(observedRows, null);
|
|
1104
945
|
return {
|
|
1105
946
|
kind: "observed",
|
|
@@ -1117,7 +958,6 @@ async function walkRoot(input, cargo) {
|
|
|
1117
958
|
}
|
|
1118
959
|
const observedByUuid = new Map();
|
|
1119
960
|
await eachInTurns(observedRows, row => observedByUuid.set(row.record.uuid, row));
|
|
1120
|
-
// A link's leaf is its target, as the walk read it where it read one.
|
|
1121
961
|
const linkTarget = (row) => entryByUuid.get(row.record.uuid)?.linkTarget
|
|
1122
962
|
?? (lstatSync(row.absolutePath, { bigint: true }).isSymbolicLink() ? readLinkTarget(row.absolutePath) : undefined);
|
|
1123
963
|
let rows = await mapInTurns(selection.selected, ({ uuid }) => selection.sources.get(uuid) === "before" || context.has(uuid)
|
|
@@ -1126,10 +966,6 @@ async function walkRoot(input, cargo) {
|
|
|
1126
966
|
const currentUUIDs = new Set(), holds = new Set();
|
|
1127
967
|
await eachInTurns(rows, row => currentUUIDs.add(row.record.uuid));
|
|
1128
968
|
await eachInTurns(selection.withheld, hold => holds.add(hold.entityId));
|
|
1129
|
-
// Sharing's identities this pass did not select. Current rows form one
|
|
1130
|
-
// active tree from the root, so any selected absence whose parent stands is
|
|
1131
|
-
// its own Trash; one beneath another absence inherits that Trash. A hold is
|
|
1132
|
-
// no absence: it keeps its statement, even one Trash hid from selection.
|
|
1133
969
|
const retainedRows = [], removed = new Set();
|
|
1134
970
|
if (input.suspicion !== undefined)
|
|
1135
971
|
await eachInTurns(sharingRows, row => {
|
|
@@ -1140,8 +976,6 @@ async function walkRoot(input, cargo) {
|
|
|
1140
976
|
removed.add(row.uuid);
|
|
1141
977
|
}
|
|
1142
978
|
});
|
|
1143
|
-
// Membership is derived from the selected graph, never from observed-only
|
|
1144
|
-
// children. Inactive history is retained but contributes no membership.
|
|
1145
979
|
const selectedChildren = new Map();
|
|
1146
980
|
await eachInTurns(rows, row => {
|
|
1147
981
|
if (row.record.parentUUID === null || row.record.status !== "active")
|
|
@@ -1157,15 +991,11 @@ async function walkRoot(input, cargo) {
|
|
|
1157
991
|
payloadVersion: membershipHash(selectedChildren.get(row.record.uuid) ?? [], sha256Hex) }, sha256Hex) } };
|
|
1158
992
|
});
|
|
1159
993
|
await persist(observedRows, rows);
|
|
1160
|
-
// Trash is decided over the graph after this pass: beneath a parent that
|
|
1161
|
-
// returned, an absence is its own Trash, and a trashed folder's membership
|
|
1162
|
-
// excludes the children that moved away (removals.ts).
|
|
1163
994
|
const untrashed = await mapInTurns(rows, row => row.record);
|
|
1164
995
|
await eachInTurns(retainedRows, row => untrashed.push(sharedRecordByUuid.get(row.uuid)));
|
|
1165
996
|
const trashed = plansSendRecords && removed.size
|
|
1166
997
|
? await finishStepsInTurns(trashRemovedEntitiesSteps(untrashed, removed, sha256Hex)) : new Map();
|
|
1167
998
|
const units = await unitEvidence(whole);
|
|
1168
|
-
// Only changed selected content needs cargo, a replay or a manifest.
|
|
1169
999
|
const changedRows = [];
|
|
1170
1000
|
if (plansSendRecords) {
|
|
1171
1001
|
await eachInTurns(rows, row => {
|
|
@@ -1178,17 +1008,7 @@ async function walkRoot(input, cargo) {
|
|
|
1178
1008
|
}
|
|
1179
1009
|
const changedContent = new Set();
|
|
1180
1010
|
await eachInTurns(changedRows, row => changedContent.add(row.record.uuid));
|
|
1181
|
-
// Changed selected content needs durable cargo. A read that observed it
|
|
1182
|
-
// already sealed it. Content no read observed stands on the walk's proof,
|
|
1183
|
-
// which admission closes: its name is adopted where it already stands
|
|
1184
|
-
// cached, and otherwise it is read once now and must match the
|
|
1185
|
-
// observation. A repository's artifact was sealed when its Git was read.
|
|
1186
|
-
// Each selected link whose target was sealed, as the walk read it or else
|
|
1187
|
-
// as the read that sealed it did, so a link whose proof was reused still
|
|
1188
|
-
// replays whole.
|
|
1189
1011
|
const sealedLinks = new Set();
|
|
1190
|
-
// Content no read observed is carried without reading it where it can be
|
|
1191
|
-
// (detection/unread-content.ts); only bytes read are staged.
|
|
1192
1012
|
const stated = baselineStates(groundDatabase(database), ["file.text", "file.binary"]);
|
|
1193
1013
|
const textBase = (uuid) => sharedRecordByUuid.get(uuid)?.payloadVersion ?? null;
|
|
1194
1014
|
const binaryManifests = new Map();
|
|
@@ -1228,8 +1048,6 @@ async function walkRoot(input, cargo) {
|
|
|
1228
1048
|
}
|
|
1229
1049
|
}
|
|
1230
1050
|
catch (error) {
|
|
1231
|
-
// Units: whatever stopped the file's capture since its walk withholds
|
|
1232
|
-
// its unit alone.
|
|
1233
1051
|
if (!input.units || endsPass(error))
|
|
1234
1052
|
throw error;
|
|
1235
1053
|
withhold(failed, row.record.uuid, withheldBy(error, row.absolutePath));
|
|
@@ -1245,8 +1063,6 @@ async function walkRoot(input, cargo) {
|
|
|
1245
1063
|
kind: "link", contentHash: observed }, bytes, "detect-link", cargo);
|
|
1246
1064
|
sealedLinks.add(row.record.uuid);
|
|
1247
1065
|
});
|
|
1248
|
-
// Manifests and replays read the sealed names of changed content; no other
|
|
1249
|
-
// stage is cargo. A failed identity is on neither side of the plan.
|
|
1250
1066
|
const sealed = new Set();
|
|
1251
1067
|
const binaries = [], texts = [];
|
|
1252
1068
|
await eachInTurns(changedRows, ({ record }) => {
|
|
@@ -1259,11 +1075,7 @@ async function walkRoot(input, cargo) {
|
|
|
1259
1075
|
else if (record.type === "file.text")
|
|
1260
1076
|
texts.push(record);
|
|
1261
1077
|
});
|
|
1262
|
-
// A walk's group is open: it holds nothing, so naming answers no held
|
|
1263
|
-
// bytes and every replay below reads its sealed name.
|
|
1264
1078
|
await cargo.publish(sealed);
|
|
1265
|
-
// A binary replay carries its manifest: the hint when it is exactly valid,
|
|
1266
|
-
// otherwise derived again from the bytes this pass just sealed.
|
|
1267
1079
|
for (const record of binaries) {
|
|
1268
1080
|
if (binaryManifests.has(record.uuid))
|
|
1269
1081
|
continue;
|
|
@@ -1272,9 +1084,6 @@ async function walkRoot(input, cargo) {
|
|
|
1272
1084
|
throw new Error("detected binary file has no content head");
|
|
1273
1085
|
binaryManifests.set(record.uuid, (await contentLayout(cacheDir, artifact)).index);
|
|
1274
1086
|
}
|
|
1275
|
-
// A text replay is built on a content thread from the bytes this pass just
|
|
1276
|
-
// sealed; a result it never read replays whole. A record that newly
|
|
1277
|
-
// travels replays whole.
|
|
1278
1087
|
const textReplays = new Map(await Promise.all(await mapInTurns(texts, async (record) => {
|
|
1279
1088
|
if (!record.payloadVersion)
|
|
1280
1089
|
throw new Error("detected text file has no content head");
|
|
@@ -1283,9 +1092,6 @@ async function walkRoot(input, cargo) {
|
|
|
1283
1092
|
resultBytes: null }, "complete");
|
|
1284
1093
|
return [record.uuid, replay];
|
|
1285
1094
|
})));
|
|
1286
|
-
// Replays exist to mint Send records; a scan that plans none builds none —
|
|
1287
|
-
// and its walk staged no cache bytes for replays to read. A failed
|
|
1288
|
-
// identity is on neither side of the plan, retained history included.
|
|
1289
1095
|
const detectedOf = (row) => {
|
|
1290
1096
|
let replay = { kind: "structure" };
|
|
1291
1097
|
if (changedContent.has(row.record.uuid)) {
|
|
@@ -1334,8 +1140,6 @@ async function walkRoot(input, cargo) {
|
|
|
1334
1140
|
};
|
|
1335
1141
|
const detected = [];
|
|
1336
1142
|
if (plansSendRecords) {
|
|
1337
|
-
// Restore needs a proved return publication selects, as Trash needs a
|
|
1338
|
-
// proved removal: an observed result for a statement of its own Trash.
|
|
1339
1143
|
await eachInTurns(rows, row => {
|
|
1340
1144
|
if (failed.has(row.record.uuid))
|
|
1341
1145
|
return;
|
|
@@ -1380,4 +1184,3 @@ async function walkRoot(input, cargo) {
|
|
|
1380
1184
|
...examination(),
|
|
1381
1185
|
};
|
|
1382
1186
|
}
|
|
1383
|
-
//# sourceMappingURL=root-walk.js.map
|