@amalgm/shell 0.1.164-preview.44185399271 → 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 +266 -0
- package/dist/billing/mount.js +33 -0
- package/dist/billing/tools.js +138 -0
- 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 +36 -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 +8 -2
- 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 +36 -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/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 -31
- 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,14 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The sync-root folders the door has answered whole. Windows asks for a
|
|
3
|
-
* folder's listing once and then holds its placeholders itself, so these are
|
|
4
|
-
* the only folders whose placeholders the door must keep saying what the
|
|
5
|
-
* drive says (reconcile.ts), and the only ones it may look inside: a look
|
|
6
|
-
* into any other folder would ask the door itself for its listing.
|
|
7
|
-
*
|
|
8
|
-
* Each folder is kept by its drive path, compared without case, with the UUID
|
|
9
|
-
* of the entity it shows when the map names one: a change to that entity or
|
|
10
|
-
* a child of it is what sends the door back to that folder.
|
|
11
|
-
*/
|
|
12
1
|
import { within } from "./paths.js";
|
|
13
2
|
export class Populated {
|
|
14
3
|
#folders = new Map();
|
|
@@ -18,13 +7,11 @@ export class Populated {
|
|
|
18
7
|
has(path) {
|
|
19
8
|
return this.#folders.has(path.toLowerCase());
|
|
20
9
|
}
|
|
21
|
-
/** Forgets the folder at path and every folder beneath it. */
|
|
22
10
|
remove(path) {
|
|
23
11
|
for (const [key, folder] of this.#folders)
|
|
24
12
|
if (within(folder.path, path))
|
|
25
13
|
this.#folders.delete(key);
|
|
26
14
|
}
|
|
27
|
-
/** The folders at and beneath from now stand at and beneath to. */
|
|
28
15
|
move(from, to) {
|
|
29
16
|
const moved = [...this.#folders.values()].filter((folder) => within(folder.path, from));
|
|
30
17
|
this.remove(from);
|
|
@@ -35,4 +22,3 @@ export class Populated {
|
|
|
35
22
|
return [...this.#folders.values()];
|
|
36
23
|
}
|
|
37
24
|
}
|
|
38
|
-
//# sourceMappingURL=populated.js.map
|
|
@@ -1,53 +1,9 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Each folder Windows holds whole keeps saying what the drive says. Windows
|
|
3
|
-
* asks for a folder's listing once, and from then holds its placeholders
|
|
4
|
-
* itself; when the drive changes there (Apply placed or replaced a file,
|
|
5
|
-
* another computer added, moved or removed one), the door changes the
|
|
6
|
-
* placeholders to match:
|
|
7
|
-
*
|
|
8
|
-
* - a name the drive lists and the folder lacks is made a placeholder, but
|
|
9
|
-
* for one Windows said is leaving the sync root: once it has gone, its
|
|
10
|
-
* shelf copy goes instead (writes.ts);
|
|
11
|
-
* - a placeholder the drive no longer lists goes, a folder with only what
|
|
12
|
-
* is the drive's in it;
|
|
13
|
-
* - a file placeholder whose identity differs from the drive's says the new
|
|
14
|
-
* size and identity and drops its old bytes, so the next read fetches the
|
|
15
|
-
* drive's; it changes only while Windows holds it in sync. One made before
|
|
16
|
-
* its bytes were placed already says the shelf's file while the drive
|
|
17
|
-
* still names the payload head it was made for at that size: placing is
|
|
18
|
-
* no change, and a fetch says so once the bytes are here (asks.ts);
|
|
19
|
-
* - a name whose case changed is renamed, and one whose kind changed is
|
|
20
|
-
* made again;
|
|
21
|
-
* - a link the drive lists is made, and a link the door made follows the
|
|
22
|
-
* drive's link there, placing nothing but a link the drive lists without
|
|
23
|
-
* its target (contents.ts). A listing makes each link it can (asks.ts);
|
|
24
|
-
* the door looks at the folder once it is listed to make any other, and a
|
|
25
|
-
* link that cannot be placed now leaves what stands at its name alone, and
|
|
26
|
-
* the look comes again for it.
|
|
27
|
-
*
|
|
28
|
-
* Only the door's own may change: a placeholder in sync and not appended to
|
|
29
|
-
* since (paths.ts), or a link it made.
|
|
30
|
-
* Anything a person wrote, made or changed there is the person's, travels
|
|
31
|
-
* to the shelf (writes.ts) and is never removed, even where the drive lists
|
|
32
|
-
* nothing; nor is a placeholder a carry has just made the shelf's, since
|
|
33
|
-
* this look at the drive may have been read before the carry.
|
|
34
|
-
*
|
|
35
|
-
* The door looks again at a folder when the map changes an entity it shows
|
|
36
|
-
* or one inside it, and at every folder when it cannot say which, as on its
|
|
37
|
-
* first serve, when a lost watch may have missed what a person did, or when
|
|
38
|
-
* it serves again after resting. A look the map's change asks for reads only
|
|
39
|
-
* the names that change reaches (contents.ts); every other look reads the
|
|
40
|
-
* whole folder. A look runs one folder at a time, parents before children,
|
|
41
|
-
* and one that cannot finish looks again shortly. Looking never reads inside
|
|
42
|
-
* a folder Windows has not had listed (populated.ts).
|
|
43
|
-
*/
|
|
44
1
|
import { lstatSync, readdirSync, readlinkSync, renameSync, rmdirSync, unlinkSync } from "node:fs";
|
|
45
2
|
import { addressOf } from "../operations.js";
|
|
46
3
|
import { failed } from "./binding.js";
|
|
47
|
-
import { contents, linkAt } from "./contents.js";
|
|
48
|
-
import { appended, childOf, identityOf,
|
|
4
|
+
import { contents, linkAt, recorded } from "./contents.js";
|
|
5
|
+
import { appended, childOf, identityOf, missing, syncPath } from "./paths.js";
|
|
49
6
|
import { forgetLeaving, forgetLinks, hresult, makeLink, moveLinks, ownLink, reason, removeLink } from "./sync-root.js";
|
|
50
|
-
/** How long a folder that could not be made to match waits to be looked at again. */
|
|
51
7
|
const AGAIN = 1000;
|
|
52
8
|
export function reconciler(sync, serving, writes) {
|
|
53
9
|
const { binding } = sync;
|
|
@@ -96,14 +52,12 @@ export function reconciler(sync, serving, writes) {
|
|
|
96
52
|
running = false;
|
|
97
53
|
}
|
|
98
54
|
}
|
|
99
|
-
/** One folder made to say what the drive says; false to look again. */
|
|
100
55
|
async function look({ at, walk, adopt, touched }) {
|
|
101
56
|
const now = serving();
|
|
102
57
|
if (now === null)
|
|
103
58
|
return true;
|
|
104
59
|
const path = syncPath(sync.root, at);
|
|
105
60
|
if (walk) {
|
|
106
|
-
// A folder never listed holds nothing yet: its first listing fills it.
|
|
107
61
|
const state = binding.state(path);
|
|
108
62
|
if (state === null || !state.directory || (state.states & STATE_PARTIAL))
|
|
109
63
|
return true;
|
|
@@ -145,27 +99,24 @@ export function reconciler(sync, serving, writes) {
|
|
|
145
99
|
wanted = await contents(now, sync, at, touched === null ? null : { holds: names, touched });
|
|
146
100
|
}
|
|
147
101
|
catch (error) {
|
|
148
|
-
// The drive shows no folder here: the look at its parent removes it.
|
|
149
102
|
if (missing(error))
|
|
150
103
|
return true;
|
|
151
104
|
throw error;
|
|
152
105
|
}
|
|
153
106
|
const linked = await placeLinks(now, at, wanted);
|
|
154
|
-
const
|
|
107
|
+
const records = await placedRecords(now, at, wanted);
|
|
155
108
|
if (serving() !== now)
|
|
156
109
|
return true;
|
|
157
110
|
sync.populated.add(at, wanted.uuid);
|
|
158
111
|
const pass = { tracked, again: linked.owed.size > 0 };
|
|
159
112
|
const reached = wanted.only === null ? names : names.filter((name) => wanted.only.has(name.toLowerCase()));
|
|
160
|
-
match(pass, at, reached, wanted, linked,
|
|
113
|
+
match(pass, at, reached, wanted, linked, records, walk, adopt);
|
|
161
114
|
return !pass.again;
|
|
162
115
|
}
|
|
163
116
|
finally {
|
|
164
117
|
tracked.close();
|
|
165
118
|
}
|
|
166
119
|
}
|
|
167
|
-
/** Each link a folder shows, with each the drive lists without its target
|
|
168
|
-
* placed at once; one that cannot be now is owed. */
|
|
169
120
|
async function placeLinks(now, at, { links: listed, unplaced }) {
|
|
170
121
|
const links = new Map();
|
|
171
122
|
const owed = new Set();
|
|
@@ -184,27 +135,22 @@ export function reconciler(sync, serving, writes) {
|
|
|
184
135
|
});
|
|
185
136
|
return { links, owed };
|
|
186
137
|
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
* were placed. By lowercase name. */
|
|
190
|
-
async function placedHeads(now, at, { items }) {
|
|
191
|
-
const heads = new Map();
|
|
138
|
+
async function placedRecords(now, at, { items }) {
|
|
139
|
+
const records = new Map();
|
|
192
140
|
for (const item of items) {
|
|
193
|
-
if (item.directory ||
|
|
141
|
+
if (item.directory || identityOf(item.identity)?.v)
|
|
194
142
|
continue;
|
|
195
143
|
const child = childOf(at, item.name);
|
|
196
144
|
if (!identityOf(binding.state(syncPath(sync.root, child))?.identity ?? null)?.v)
|
|
197
145
|
continue;
|
|
198
146
|
const where = await now.drive.where(addressOf(child));
|
|
199
147
|
const entity = where.kind === "shelf" ? where.entity : null;
|
|
200
|
-
if (entity?.payloadVersion)
|
|
201
|
-
|
|
148
|
+
if (entity?.payloadVersion && entity.size !== null)
|
|
149
|
+
records.set(item.name.toLowerCase(), recorded(item.name, entity, entity.size, sync.mounted));
|
|
202
150
|
}
|
|
203
|
-
return
|
|
151
|
+
return records;
|
|
204
152
|
}
|
|
205
|
-
|
|
206
|
-
* runs between reading what stands and changing it. */
|
|
207
|
-
function match(pass, at, names, wanted, { links, owed }, heads, walk, adopt) {
|
|
153
|
+
function match(pass, at, names, wanted, { links, owed }, records, walk, adopt) {
|
|
208
154
|
const items = new Map();
|
|
209
155
|
for (const item of wanted.items)
|
|
210
156
|
items.set(item.name.toLowerCase(), item);
|
|
@@ -218,7 +164,6 @@ export function reconciler(sync, serving, writes) {
|
|
|
218
164
|
const path = syncPath(sync.root, child);
|
|
219
165
|
const shown = items.get(key);
|
|
220
166
|
const link = links.get(key);
|
|
221
|
-
// A link not placed yet: what stands at its name stays, for now.
|
|
222
167
|
const unknown = owed.has(key);
|
|
223
168
|
let isLink;
|
|
224
169
|
try {
|
|
@@ -253,14 +198,13 @@ export function reconciler(sync, serving, writes) {
|
|
|
253
198
|
const state = binding.state(path);
|
|
254
199
|
if (state === null)
|
|
255
200
|
continue;
|
|
256
|
-
const item = placedSince(state, shown,
|
|
257
|
-
if (!(state.states & STATE_PLACEHOLDER) || !state.inSync || written(state
|
|
201
|
+
const item = placedSince(state, shown, records.get(key));
|
|
202
|
+
if (!(state.states & STATE_PLACEHOLDER) || !state.inSync || written(state)) {
|
|
258
203
|
writes.carry(child);
|
|
259
204
|
continue;
|
|
260
205
|
}
|
|
261
206
|
if (unknown)
|
|
262
207
|
continue;
|
|
263
|
-
// An in-sync placeholder: the door's to keep saying what the drive says.
|
|
264
208
|
const changes = item === undefined || link !== undefined || item.directory !== state.directory
|
|
265
209
|
|| item.name !== name || (!state.directory && !same(state, item));
|
|
266
210
|
if (changes && pass.tracked.has(child)) {
|
|
@@ -326,7 +270,6 @@ export function reconciler(sync, serving, writes) {
|
|
|
326
270
|
if (seen.has(key))
|
|
327
271
|
continue;
|
|
328
272
|
const child = childOf(at, link.name);
|
|
329
|
-
// A link the door made and no longer finds was removed by a person.
|
|
330
273
|
if (sync.links.has(child.toLowerCase()))
|
|
331
274
|
writes.carry(child);
|
|
332
275
|
else
|
|
@@ -335,16 +278,9 @@ export function reconciler(sync, serving, writes) {
|
|
|
335
278
|
for (const link of make)
|
|
336
279
|
makeLink(sync, childOf(at, link.name), link.target, link.directory);
|
|
337
280
|
}
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
function written(state, item) {
|
|
341
|
-
if (state.directory || (state.states & STATE_PARTIAL))
|
|
342
|
-
return false;
|
|
343
|
-
const want = item === undefined ? null : identityOf(item.identity);
|
|
344
|
-
return appended(state, identityOf(state.identity), want === null ? null : { payloadVersion: want.v, size: item.size });
|
|
281
|
+
function written(state) {
|
|
282
|
+
return !state.directory && !(state.states & STATE_PARTIAL) && appended(state, identityOf(state.identity));
|
|
345
283
|
}
|
|
346
|
-
/** A file placeholder made to say the drive's identity, its old bytes
|
|
347
|
-
* dropped, while Windows still holds it in sync. */
|
|
348
284
|
function changed(pass, at, item) {
|
|
349
285
|
const { hr } = binding.update(syncPath(sync.root, at), {
|
|
350
286
|
identity: item.identity, size: item.size, mtimeMs: item.mtimeMs,
|
|
@@ -353,13 +289,9 @@ export function reconciler(sync, serving, writes) {
|
|
|
353
289
|
});
|
|
354
290
|
if (!failed(hr) || hr === ERROR_FILE_NOT_FOUND || hr === ERROR_NOT_A_CLOUD_FILE)
|
|
355
291
|
return;
|
|
356
|
-
// Open or written meanwhile: the look after the next says.
|
|
357
292
|
sync.log(`could not make ${at} say what the drive says: ${hresult("update", hr).message}`);
|
|
358
293
|
pass.again = true;
|
|
359
294
|
}
|
|
360
|
-
/** Removes an in-sync folder the drive no longer shows, with what it holds
|
|
361
|
-
* that is the drive's; whether it went. What a person made in it travels
|
|
362
|
-
* instead, and keeps it. */
|
|
363
295
|
function clear(pass, at) {
|
|
364
296
|
const path = syncPath(sync.root, at);
|
|
365
297
|
const state = binding.state(path);
|
|
@@ -391,7 +323,7 @@ export function reconciler(sync, serving, writes) {
|
|
|
391
323
|
const one = binding.state(inner);
|
|
392
324
|
if (one === null)
|
|
393
325
|
continue;
|
|
394
|
-
if (!(one.states & STATE_PLACEHOLDER) || !one.inSync || written(one
|
|
326
|
+
if (!(one.states & STATE_PLACEHOLDER) || !one.inSync || written(one) || pass.tracked.has(child)) {
|
|
395
327
|
writes.carry(child);
|
|
396
328
|
left = true;
|
|
397
329
|
continue;
|
|
@@ -416,7 +348,6 @@ export function reconciler(sync, serving, writes) {
|
|
|
416
348
|
forgetLinks(sync, at);
|
|
417
349
|
return true;
|
|
418
350
|
}
|
|
419
|
-
/** Removes an in-sync file placeholder; whether it went. */
|
|
420
351
|
function unlinked(pass, path) {
|
|
421
352
|
try {
|
|
422
353
|
unlinkSync(path);
|
|
@@ -454,25 +385,15 @@ export function reconciler(sync, serving, writes) {
|
|
|
454
385
|
},
|
|
455
386
|
};
|
|
456
387
|
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
* still names for the shelf's file, at the item's size, the item is those
|
|
460
|
-
* same bytes, placed since. */
|
|
461
|
-
function placedSince(state, item, head) {
|
|
462
|
-
const have = identityOf(state.identity);
|
|
463
|
-
if (item === undefined || head === undefined || !have?.v || have.v !== head.v || head.size !== item.size)
|
|
464
|
-
return item;
|
|
465
|
-
return { ...item, identity: identityText({ v: have.v, s: null }) };
|
|
388
|
+
function placedSince(state, item, record) {
|
|
389
|
+
return item !== undefined && record !== undefined && record.size === item.size && same(state, record) ? record : item;
|
|
466
390
|
}
|
|
467
|
-
/** Whether a file placeholder already stands for the drive's item. */
|
|
468
391
|
function same(state, item) {
|
|
469
392
|
const have = identityOf(state.identity);
|
|
470
393
|
const want = identityOf(item.identity);
|
|
471
394
|
return have !== null && want !== null && have.v === want.v && have.s === want.s && state.size === item.size;
|
|
472
395
|
}
|
|
473
|
-
/** Two looks' touched entities as one: the whole folder when either is. */
|
|
474
396
|
function both(one, other) {
|
|
475
397
|
return one === null || other === null ? null : new Set([...one, ...other]);
|
|
476
398
|
}
|
|
477
399
|
const depth = (path) => (path === "/" ? 0 : path.split("/").length - 1);
|
|
478
|
-
//# sourceMappingURL=reconcile.js.map
|
|
@@ -1,21 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* What the door holds of its sync root: the binding it changes placeholders
|
|
3
|
-
* through, the root's path, the folders it has answered whole (populated.ts),
|
|
4
|
-
* the links it made there, and the placeholders leaving it.
|
|
5
|
-
*
|
|
6
|
-
* A link is never a placeholder, so Windows says nothing when one goes. The
|
|
7
|
-
* door keeps each link it made, by its drive path and target as it reads
|
|
8
|
-
* back, and only those are its own to remove when the drive no longer lists
|
|
9
|
-
* them: any other link in the sync root is a person's, and travels to the
|
|
10
|
-
* shelf (writes.ts). The door writes a link as every link on this computer
|
|
11
|
-
* is written (link-target.ts), so its target reads back as the drive's.
|
|
12
|
-
*/
|
|
13
1
|
import { readlinkSync, unlinkSync } from "node:fs";
|
|
14
2
|
import { writeLinkOfKind } from "../../link-target.js";
|
|
15
3
|
import { syncPath, within } from "./paths.js";
|
|
16
|
-
/** Makes a link at a drive path, its target as this computer's disk keeps
|
|
17
|
-
* it. A link Windows will not let this account make, or one that reads back
|
|
18
|
-
* another target, is said, not hidden. */
|
|
19
4
|
export function makeLink(sync, at, target, directory) {
|
|
20
5
|
const path = syncPath(sync.root, at);
|
|
21
6
|
try {
|
|
@@ -33,12 +18,10 @@ export function makeLink(sync, at, target, directory) {
|
|
|
33
18
|
sync.log(`could not make the link ${path}: ${reason(error)}${why}`);
|
|
34
19
|
}
|
|
35
20
|
}
|
|
36
|
-
/** Removes a link the door made. */
|
|
37
21
|
export function removeLink(sync, at) {
|
|
38
22
|
unlinkSync(syncPath(sync.root, at));
|
|
39
23
|
sync.links.delete(at.toLowerCase());
|
|
40
24
|
}
|
|
41
|
-
/** The links the door made at and beneath from now stand at and beneath to. */
|
|
42
25
|
export function moveLinks(sync, from, to) {
|
|
43
26
|
for (const [key, target] of [...sync.links]) {
|
|
44
27
|
if (!within(key, from))
|
|
@@ -47,22 +30,25 @@ export function moveLinks(sync, from, to) {
|
|
|
47
30
|
sync.links.set(`${to.toLowerCase()}${key.slice(from.length)}`, target);
|
|
48
31
|
}
|
|
49
32
|
}
|
|
50
|
-
/** Forgets the links the door made at and beneath a drive path. */
|
|
51
33
|
export function forgetLinks(sync, at) {
|
|
52
34
|
for (const key of [...sync.links.keys()])
|
|
53
35
|
if (within(key, at))
|
|
54
36
|
sync.links.delete(key);
|
|
55
37
|
}
|
|
56
|
-
/** Forgets the placeholders leaving at and beneath a drive path. */
|
|
57
38
|
export function forgetLeaving(sync, at) {
|
|
58
39
|
for (const key of [...sync.leaving])
|
|
59
40
|
if (within(key, at))
|
|
60
41
|
sync.leaving.delete(key);
|
|
61
42
|
}
|
|
62
|
-
|
|
43
|
+
export function stillMoving(sync, at, usn) {
|
|
44
|
+
const key = at.toLowerCase();
|
|
45
|
+
if (sync.moving.get(key) === usn)
|
|
46
|
+
return true;
|
|
47
|
+
sync.moving.delete(key);
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
63
50
|
export const ownLink = (sync, at, target) => sync.links.get(at.toLowerCase()) === target;
|
|
64
51
|
export function hresult(call, hr) {
|
|
65
52
|
return new Error(`${call} failed (hr 0x${(hr >>> 0).toString(16).padStart(8, "0")})`);
|
|
66
53
|
}
|
|
67
54
|
export const reason = (error) => (error instanceof Error ? error.message : String(error));
|
|
68
|
-
//# sourceMappingURL=sync-root.js.map
|
|
@@ -1,26 +1,7 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Whose turn it is to change the shelf at a drive path. Two things change it
|
|
3
|
-
* there: a carry of what a person did in the sync root (writes.ts), and a
|
|
4
|
-
* removal or rename Windows asks of a placeholder (asks.ts).
|
|
5
|
-
*
|
|
6
|
-
* A carry follows what is already under way at its own path, and any ask
|
|
7
|
-
* under way at or above it. An ask follows every carry and ask under way at
|
|
8
|
-
* or beneath its paths. So a rename Windows asks while a person's new file is
|
|
9
|
-
* still being carried moves the shelf file that carry made. It never finds
|
|
10
|
-
* that name missing and leaves the carry's file behind under its old name.
|
|
11
|
-
* A carry that comes in while its folder is being moved runs after the move,
|
|
12
|
-
* so it sees where the folder now stands.
|
|
13
|
-
*
|
|
14
|
-
* Nothing waits on Windows. A carry that cannot finish while an ask holds its
|
|
15
|
-
* file fails at once and is examined again later (writes.ts), so an ask
|
|
16
|
-
* never waits on a carry that waits on it.
|
|
17
|
-
*/
|
|
18
1
|
import { within } from "./paths.js";
|
|
19
2
|
export class Turns {
|
|
20
|
-
/** The latest turn under way at each drive path, without case. */
|
|
21
3
|
#carries = new Map();
|
|
22
4
|
#asks = new Map();
|
|
23
|
-
/** Runs a carry at a drive path in its turn. */
|
|
24
5
|
carry(at, run) {
|
|
25
6
|
const key = at.toLowerCase();
|
|
26
7
|
const before = [this.#carries.get(key), ...under(this.#asks, (ask) => within(key, ask))];
|
|
@@ -28,7 +9,6 @@ export class Turns {
|
|
|
28
9
|
hold(this.#carries, key, running);
|
|
29
10
|
return running;
|
|
30
11
|
}
|
|
31
|
-
/** Runs an ask's change at drive paths in its turn. */
|
|
32
12
|
after(paths, change) {
|
|
33
13
|
const keys = paths.map((at) => at.toLowerCase());
|
|
34
14
|
const beneath = (key) => keys.some((one) => within(key, one));
|
|
@@ -37,22 +17,17 @@ export class Turns {
|
|
|
37
17
|
hold(this.#asks, key, running);
|
|
38
18
|
return running;
|
|
39
19
|
}
|
|
40
|
-
/** Whether a carry or an ask is under way at a drive path. */
|
|
41
20
|
has(at) {
|
|
42
21
|
const key = at.toLowerCase();
|
|
43
22
|
return this.#carries.has(key) || this.#asks.has(key);
|
|
44
23
|
}
|
|
45
24
|
}
|
|
46
|
-
/** The turns under way at the paths that match. */
|
|
47
25
|
function under(turns, matches) {
|
|
48
26
|
return [...turns].filter(([key]) => matches(key)).map(([, turn]) => turn);
|
|
49
27
|
}
|
|
50
|
-
/** Holds a path for a turn until it ends, however it ends. The turn already
|
|
51
|
-
* follows any earlier turn there, so it replaces that one. */
|
|
52
28
|
function hold(turns, key, running) {
|
|
53
29
|
const ended = running.then(() => { }, () => { });
|
|
54
30
|
turns.set(key, ended);
|
|
55
31
|
void ended.then(() => { if (turns.get(key) === ended)
|
|
56
32
|
turns.delete(key); });
|
|
57
33
|
}
|
|
58
|
-
//# sourceMappingURL=turns.js.map
|