@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,20 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A container's version is its portable fields plus the membership hash of
|
|
3
|
-
* its active children. A child counts toward its parent by its UUID and name
|
|
4
|
-
* while active, so only a create, move, rename or lifecycle change affects a
|
|
5
|
-
* parent; a content change leaves every parent as it is. Every save that
|
|
6
|
-
* changes membership re-derives each affected container inside its own
|
|
7
|
-
* transaction (GroundWriter.refreshMembership), from the children that save
|
|
8
|
-
* leaves recorded, each inventory from its own: observation (O) from O's
|
|
9
|
-
* rows, sharing (S) from S's. A child no save has recorded counts nowhere,
|
|
10
|
-
* so one child's admission never waits for a sibling's, and no decision
|
|
11
|
-
* reads a container's children to derive it. A membership-only container
|
|
12
|
-
* change is local; it never becomes a Record.
|
|
13
|
-
*/
|
|
14
1
|
import { DERIVED_PAYLOAD } from "@amalgm/live";
|
|
15
|
-
/** Each container whose membership one save of `rows` and `removals` changes,
|
|
16
|
-
* judged against each identity's `stored` row before the save: the parent it
|
|
17
|
-
* leaves, the parent it joins, and each container the save itself writes. */
|
|
18
2
|
export function savedContainers(stored, rows, removals) {
|
|
19
3
|
const found = membershipParents([
|
|
20
4
|
...removals.map(uuid => ({ before: stored(uuid), after: null })),
|
|
@@ -25,8 +9,6 @@ export function savedContainers(stored, rows, removals) {
|
|
|
25
9
|
found.add(row.uuid);
|
|
26
10
|
return found;
|
|
27
11
|
}
|
|
28
|
-
/** The parents whose membership changes between each identity's stored row
|
|
29
|
-
* and its row after a save: the parent it leaves and the parent it joins. */
|
|
30
12
|
function membershipParents(changes) {
|
|
31
13
|
const parents = new Set();
|
|
32
14
|
for (const { before, after } of changes) {
|
|
@@ -42,4 +24,3 @@ function membershipParents(changes) {
|
|
|
42
24
|
return parents;
|
|
43
25
|
}
|
|
44
26
|
const counted = (row) => row?.status === "active" && row.parentUUID ? row : null;
|
|
45
|
-
//# sourceMappingURL=container-membership.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** Shutdown ended this examination. It is neither a source failure nor a
|
|
2
|
-
* completed observation; the next startup suspects the ground again. */
|
|
3
1
|
export class DetectCancelled extends Error {
|
|
4
2
|
constructor() { super("Detect examination cancelled by shutdown"); }
|
|
5
3
|
}
|
|
@@ -7,4 +5,3 @@ export function isDetectCancelled(error) {
|
|
|
7
5
|
return error instanceof DetectCancelled
|
|
8
6
|
|| (error instanceof Error && isDetectCancelled(error.cause));
|
|
9
7
|
}
|
|
10
|
-
//# sourceMappingURL=detect-cancelled.js.map
|
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
import { CONTAINERS } from "@amalgm/live";
|
|
2
|
-
/**
|
|
3
|
-
* A named path can reuse an indexed identity only while its directory chain
|
|
4
|
-
* still names the same indexed physical containers. This proof owns no
|
|
5
|
-
* identity decisions: a mismatch or an unindexed container asks the complete
|
|
6
|
-
* Live reconciliation to decide. Directory timestamps are intentionally
|
|
7
|
-
* irrelevant; sibling writes do not change the parent association. Each
|
|
8
|
-
* container is read physically again at admission; the rows it was matched
|
|
9
|
-
* against are facts of the admission basis.
|
|
10
|
-
*/
|
|
11
2
|
export class NamedDirectoryProof {
|
|
12
3
|
#ports;
|
|
13
4
|
#observed = new Map();
|
|
14
|
-
/** Distinct containers this pass read; the commit's recheck is closure. */
|
|
15
5
|
metadataReads = 0;
|
|
16
6
|
constructor(ports) {
|
|
17
7
|
this.#ports = ports;
|
|
@@ -20,21 +10,12 @@ export class NamedDirectoryProof {
|
|
|
20
10
|
this.metadataReads += 1;
|
|
21
11
|
return this.#ports.read(path);
|
|
22
12
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Prove the directory chain containing a named path, even when Watch
|
|
25
|
-
* supplies only a child or Git notice. The name itself is read once, by
|
|
26
|
-
* the caller that classifies it; a Git notice's repository is one of its
|
|
27
|
-
* containers.
|
|
28
|
-
*/
|
|
29
13
|
named(path) {
|
|
30
14
|
const segments = path.split('/');
|
|
31
15
|
const marker = segments.indexOf('.git');
|
|
32
16
|
const last = marker < 0 ? segments.length - 1 : marker;
|
|
33
17
|
return this.directory(segments.slice(0, last).join('/')) !== undefined;
|
|
34
18
|
}
|
|
35
|
-
/** One indexed container, proved beneath its proved parent from the root
|
|
36
|
-
* down, so a chain costs one lookup per container however deep it runs.
|
|
37
|
-
* Each is read once per pass and retained for commit. */
|
|
38
19
|
directory(path) {
|
|
39
20
|
const proved = this.#observed.get(path);
|
|
40
21
|
if (proved)
|
|
@@ -74,4 +55,3 @@ export class NamedDirectoryProof {
|
|
|
74
55
|
return true;
|
|
75
56
|
}
|
|
76
57
|
}
|
|
77
|
-
//# sourceMappingURL=directory-proof.js.map
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
/** Detect's disposition ledger: Live's diagnostic vocabulary. The ledger
|
|
2
|
-
* never causes a write: every fact is delivered in process only. A runtime
|
|
3
|
-
* that ends first delivers no more, and an absent fact never means nothing
|
|
4
|
-
* ran.
|
|
5
|
-
*
|
|
6
|
-
* The ledger explains decisions; it grants nothing. Its facts never touch
|
|
7
|
-
* ground revisions, Watch, receipts or retries, and product work never
|
|
8
|
-
* recovers from them; nothing waits for them. */
|
|
9
1
|
import { randomUUID } from "node:crypto";
|
|
10
2
|
import { isRefusal, } from "@amalgm/live";
|
|
11
3
|
import { CaptureSourceChangedError } from "../content-cache-host.js";
|
|
@@ -25,8 +17,6 @@ export class DetectDispositionLedger {
|
|
|
25
17
|
pass(job, pass, observations) {
|
|
26
18
|
return new DetectPass(this, job, pass, observations);
|
|
27
19
|
}
|
|
28
|
-
/** A failing sink degrades delivery, never the admission or pass that
|
|
29
|
-
* produced the fact. */
|
|
30
20
|
deliver(delivery) {
|
|
31
21
|
try {
|
|
32
22
|
this.#report.delivered(delivery, this.#undelivered);
|
|
@@ -36,8 +26,6 @@ export class DetectDispositionLedger {
|
|
|
36
26
|
}
|
|
37
27
|
}
|
|
38
28
|
}
|
|
39
|
-
/** One Detect pass's open Watch observations. The first fact for each wins;
|
|
40
|
-
* closing records whatever remains, so every exit accounts for all of them. */
|
|
41
29
|
export class DetectPass {
|
|
42
30
|
ledger;
|
|
43
31
|
job;
|
|
@@ -49,7 +37,6 @@ export class DetectPass {
|
|
|
49
37
|
this.pass = pass;
|
|
50
38
|
this.#open = new Map(observations.map(observation => [observation.directory, observation]));
|
|
51
39
|
}
|
|
52
|
-
/** Registers collections for admission. Each ready fact is delivered now. */
|
|
53
40
|
collections(specs) {
|
|
54
41
|
const collections = specs.map(({ observations, unit, basis }) => new ReadyCollection(this, randomUUID(), unit, cutoffsOf(observations), basis));
|
|
55
42
|
for (const { ready } of collections)
|
|
@@ -78,7 +65,6 @@ export class DetectPass {
|
|
|
78
65
|
this.dispose([...this.#open.values()], detail);
|
|
79
66
|
}
|
|
80
67
|
}
|
|
81
|
-
/** One registered collection's single admission attempt. */
|
|
82
68
|
export class ReadyCollection {
|
|
83
69
|
pass;
|
|
84
70
|
id;
|
|
@@ -86,9 +72,7 @@ export class ReadyCollection {
|
|
|
86
72
|
cutoffs;
|
|
87
73
|
basis;
|
|
88
74
|
#settled = false;
|
|
89
|
-
/** When it was registered. */
|
|
90
75
|
readyAt = performance.now();
|
|
91
|
-
/** Its registration, keeping the collection's original time and basis. */
|
|
92
76
|
ready;
|
|
93
77
|
constructor(pass, id, unit, cutoffs, basis) {
|
|
94
78
|
this.pass = pass;
|
|
@@ -112,7 +96,6 @@ export class ReadyCollection {
|
|
|
112
96
|
commitToDeliveryMs: performance.now() - marks.ended,
|
|
113
97
|
};
|
|
114
98
|
}
|
|
115
|
-
/** After the admission's save committed what it counts. */
|
|
116
99
|
committed(marks, counts) {
|
|
117
100
|
if (this.#settled)
|
|
118
101
|
throw new Error("a collection commits exactly one admitted outcome");
|
|
@@ -122,7 +105,6 @@ export class ReadyCollection {
|
|
|
122
105
|
retry: "none", phase: "admission", counts,
|
|
123
106
|
}), spans: this.#spans(marks) });
|
|
124
107
|
}
|
|
125
|
-
/** After rollback, or before any admission began (no marks). */
|
|
126
108
|
rejected(detail, marks) {
|
|
127
109
|
if (this.#settled)
|
|
128
110
|
return;
|
|
@@ -138,8 +120,6 @@ const errorChain = (error) => {
|
|
|
138
120
|
return chain;
|
|
139
121
|
};
|
|
140
122
|
const reasonOf = (error) => error instanceof Error ? error.message : String(error);
|
|
141
|
-
/** A rejected admission keeps its actual cause: a storage failure stays a
|
|
142
|
-
* fault, never a changed source. */
|
|
143
123
|
export function admissionRejection(error) {
|
|
144
124
|
const reason = reasonOf(error);
|
|
145
125
|
const chain = errorChain(error);
|
|
@@ -155,16 +135,10 @@ export function admissionRejection(error) {
|
|
|
155
135
|
return { disposition: "refused", retry: null, phase: "admission", reason };
|
|
156
136
|
return { disposition: "faulted", retry: null, phase: "admission", reason };
|
|
157
137
|
}
|
|
158
|
-
/** Evidence moved after it was read: a basis or a source. The
|
|
159
|
-
* same read later answers again; nothing is wrong with the ground. */
|
|
160
138
|
export function invalidated(error) {
|
|
161
139
|
return errorChain(error).some(link => link instanceof DetectionBasisAdvancedError
|
|
162
140
|
|| link instanceof GroundBasisChangedError || link instanceof CaptureSourceChangedError);
|
|
163
141
|
}
|
|
164
|
-
/** What an error leaves on every observation its pass still held, with the
|
|
165
|
-
* re-examination the host actually schedules for it. A named pass is a
|
|
166
|
-
* narrowed complete proof: what it cannot conclude, a refusal or a fault,
|
|
167
|
-
* the complete lane examines, as it does a widened named proof. */
|
|
168
142
|
export function observationDisposition(error, lane) {
|
|
169
143
|
const reason = reasonOf(error);
|
|
170
144
|
const chain = errorChain(error);
|
|
@@ -176,9 +150,6 @@ export function observationDisposition(error, lane) {
|
|
|
176
150
|
return { disposition: "refused", retry: lane === "named" ? "complete-lane" : "next-ring", reason };
|
|
177
151
|
return { disposition: "faulted", retry: lane === "named" ? "complete-lane" : "timer", reason };
|
|
178
152
|
}
|
|
179
|
-
/** A pass that returns with an observation still open broke the ledger's
|
|
180
|
-
* law; it is reported as a fault rather than assumed to have landed. */
|
|
181
153
|
export const UNDISPOSED = Object.freeze({
|
|
182
154
|
disposition: "faulted", retry: "timer", reason: "Detect pass ended without a disposition",
|
|
183
155
|
});
|
|
184
|
-
//# sourceMappingURL=dispositions.js.map
|
|
@@ -1,50 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* One examination per ground at a time.
|
|
3
|
-
*
|
|
4
|
-
* Two Detect lanes that read the same ground at once read it twice, and the
|
|
5
|
-
* one that admits second finds that the first one's commit changed what it
|
|
6
|
-
* read, so it discards its whole collection and reads again. A folder copied
|
|
7
|
-
* into a root showed this: its repositories' lane and the complete lane each
|
|
8
|
-
* read all of it, at once, and one threw its reading away.
|
|
9
|
-
*
|
|
10
|
-
* So a lane starts only on ground no running examination reads. Its names
|
|
11
|
-
* stay owed, and the running lane's end dispatches again. A complete cut
|
|
12
|
-
* that waits on a running lane reserves its ground for the rest of that
|
|
13
|
-
* dispatch, so names that keep ringing there never start ahead of it.
|
|
14
|
-
*
|
|
15
|
-
* Ground is the footprint a lane gates on (runtime.ts `footprint`): cones,
|
|
16
|
-
* conflicting when one contains the other. Every lane reads its root's
|
|
17
|
-
* sharing policy; that shared read examines nothing, so it never conflicts.
|
|
18
|
-
*/
|
|
19
|
-
import { join } from "node:path";
|
|
20
|
-
import { USER_IGNORE_FILE_NAME } from "@amalgm/core/identity";
|
|
21
1
|
import { conesConflict } from "../ground-coordination.js";
|
|
22
2
|
export class Examinations {
|
|
23
3
|
#running = new Map();
|
|
24
4
|
#reserved = [];
|
|
25
|
-
/** The cones of this root a lane examines: its footprint without the
|
|
26
|
-
* policy every lane reads. */
|
|
27
|
-
static examined(directory, footprint) {
|
|
28
|
-
const policy = join(directory, USER_IGNORE_FILE_NAME);
|
|
29
|
-
return footprint.filter(cone => cone !== policy);
|
|
30
|
-
}
|
|
31
|
-
/** True when a running examination or a waiting complete cut holds ground
|
|
32
|
-
* these cones meet. */
|
|
33
5
|
busy(cones) {
|
|
34
6
|
const meets = (held) => cones.some(cone => held.some(other => conesConflict(cone, other)));
|
|
35
7
|
return meets(this.#reserved) || [...this.#running.values()].some(meets);
|
|
36
8
|
}
|
|
37
|
-
/** A lane examines these cones until it ends. A later call for the same
|
|
38
|
-
* lane replaces them, as a complete attempt's continuation widens. */
|
|
39
9
|
begin(lane, cones) {
|
|
40
10
|
this.#running.set(lane, cones);
|
|
41
11
|
}
|
|
42
12
|
end(lane) {
|
|
43
13
|
this.#running.delete(lane);
|
|
44
14
|
}
|
|
45
|
-
/** Each dispatch reserves afresh what its waiting complete cuts read. */
|
|
46
15
|
reserve(cones) {
|
|
47
16
|
this.#reserved = cones;
|
|
48
17
|
}
|
|
49
18
|
}
|
|
50
|
-
//# sourceMappingURL=examinations.js.map
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/** Retain the physical basis of a complete walk across scheduling boundaries. */
|
|
2
|
-
import { setTimeout as sleep } from "node:timers/promises";
|
|
3
1
|
import { eachStep } from "@amalgm/live";
|
|
4
2
|
import { listingQualification, listingWaitMs } from "../content-clock.js";
|
|
5
3
|
import { pathsWitnessSteps } from "../physical-path-witness.js";
|
|
@@ -12,7 +10,6 @@ const sameMarker = (a, b) => a === null || b === null
|
|
|
12
10
|
? a === b
|
|
13
11
|
: a.physicalKey === b.physicalKey && a.kind === b.kind && a.repository === b.repository;
|
|
14
12
|
const isDirectory = (source) => source.relativePath === "" || ((source.filesystemMode ?? 0) & KIND) === 0o040000;
|
|
15
|
-
/** Separators in an address: a parent is always shallower than its child. */
|
|
16
13
|
const depthOf = (relativePath) => {
|
|
17
14
|
let depth = 0;
|
|
18
15
|
for (let at = relativePath.indexOf("/"); at >= 0; at = relativePath.indexOf("/", at + 1))
|
|
@@ -20,14 +17,8 @@ const depthOf = (relativePath) => {
|
|
|
20
17
|
return depth;
|
|
21
18
|
};
|
|
22
19
|
const sameNames = (a, b) => a.length === b.length && a.every((name, index) => name === b[index]);
|
|
23
|
-
/** Stat calls between yields while closing. */
|
|
24
20
|
const CLOSE_YIELD_SOURCES = 256;
|
|
25
|
-
/** A closed walk, answered by absolute address so one pass can consult the
|
|
26
|
-
* closure that observed each member. Each answer is about one retained
|
|
27
|
-
* address; a reread that differs is input for a later attempt, never a new
|
|
28
|
-
* expected value. */
|
|
29
21
|
export class GroundClosure {
|
|
30
|
-
/** Absolute address to whether the walk read it as a directory. */
|
|
31
22
|
#observed;
|
|
32
23
|
#changes;
|
|
33
24
|
constructor(observed, changes) {
|
|
@@ -40,18 +31,11 @@ export class GroundClosure {
|
|
|
40
31
|
throw new Error(`ground closure never observed ${path}`);
|
|
41
32
|
return this.#changes.get(path);
|
|
42
33
|
}
|
|
43
|
-
/** Bytes, entry list and marker closed exactly as walked. */
|
|
44
34
|
settled(path) { return this.#change(path) === undefined; }
|
|
45
|
-
/** A directory an address resolves through: the same object and marker.
|
|
46
|
-
* Its own entry list may have changed; a sibling's churn crosses no route. */
|
|
47
35
|
routes(path) {
|
|
48
36
|
const change = this.#change(path);
|
|
49
37
|
return change === undefined || (!change.object && !change.marker);
|
|
50
38
|
}
|
|
51
|
-
/** The first walked directory whose entry list did not close, with what
|
|
52
|
-
* moved, or null when every one closed: an identity the walk did not find
|
|
53
|
-
* was then absent from all of them, not moved between reads. A racy listing
|
|
54
|
-
* has not closed. */
|
|
55
39
|
get unsettledDirectory() {
|
|
56
40
|
for (const [path, change] of this.#changes) {
|
|
57
41
|
if (!this.#observed.get(path))
|
|
@@ -61,46 +45,18 @@ export class GroundClosure {
|
|
|
61
45
|
}
|
|
62
46
|
return null;
|
|
63
47
|
}
|
|
64
|
-
/** Absolute addresses whose walk read did not close. */
|
|
65
48
|
get changed() { return [...this.#changes.keys()]; }
|
|
66
49
|
}
|
|
67
|
-
/** This is evidence, never an identity resolver. Any changed source restarts
|
|
68
|
-
* reconciliation; fresh bytes must not inherit an old directory's UUID map.
|
|
69
|
-
* Parents open before children and close afterward. This rejects persistent
|
|
70
|
-
* replacement during the read; it does not make path resolution atomic.
|
|
71
|
-
*
|
|
72
|
-
* It closes in one of two forms. `close` answers per address, for a caller
|
|
73
|
-
* that waits only where ground moved. `witness` is the whole walk as plain
|
|
74
|
-
* data, for a journey that concludes every membership at once; any thread
|
|
75
|
-
* judges it, so a cold walk never closes on the admitting thread.
|
|
76
|
-
*
|
|
77
|
-
* A listing its walk's content clock qualified closes as its directory's
|
|
78
|
-
* signature does (see content-clock.ts). Any other closes only by a fresh
|
|
79
|
-
* listing, taken after the whole walk, that names exactly what the walk
|
|
80
|
-
* listed while the directory stands as walked on both sides. A racy listing
|
|
81
|
-
* must also qualify under a later stamp, which proves no same-tick change is
|
|
82
|
-
* hidden; one whose directory changed since its walk has moved, a cause to
|
|
83
|
-
* wait on, never racy, and one timed beyond a later stamp's horizon closes
|
|
84
|
-
* by agreement. A listing no stamp can qualify, on a filesystem ground-profile.ts
|
|
85
|
-
* does not trust or on another device than the clock, closes by agreement
|
|
86
|
-
* alone: an entry moved once between a directory not yet listed and one
|
|
87
|
-
* already listed changes one of those listings between its two reads. Only
|
|
88
|
-
* an entry moved and moved back across both reads, each move inside its
|
|
89
|
-
* directories' clock ticks, escapes that; any move is a later Watch
|
|
90
|
-
* generation. Such ground loses shortcuts, never conclusions. A walk that
|
|
91
|
-
* concludes nothing from its listings keeps none. */
|
|
92
50
|
export class GroundSourceProof {
|
|
93
51
|
#sources;
|
|
94
52
|
#reader;
|
|
95
53
|
#names;
|
|
96
54
|
#racy;
|
|
97
|
-
#racyWaitMs;
|
|
98
55
|
#moved = [];
|
|
99
56
|
#closedUnder = new Map();
|
|
100
57
|
#unqualified;
|
|
101
58
|
#brokenMarkers;
|
|
102
59
|
#witness;
|
|
103
|
-
/** The proof of a walk's sources, built as steps. */
|
|
104
60
|
static *ofWalk(sources, reader, listings) {
|
|
105
61
|
const retained = [];
|
|
106
62
|
const brokenMarkers = [];
|
|
@@ -130,59 +86,37 @@ export class GroundSourceProof {
|
|
|
130
86
|
if (!byPath.has(parent))
|
|
131
87
|
throw new Error('ground proof is missing observed ancestry');
|
|
132
88
|
});
|
|
133
|
-
const racy =
|
|
134
|
-
let racyWaitMs = 0;
|
|
89
|
+
const racy = new Map();
|
|
135
90
|
const unqualified = [];
|
|
136
91
|
const names = listings?.names ?? new Map();
|
|
137
92
|
if (listings)
|
|
138
93
|
yield* eachStep(ordered, source => {
|
|
139
|
-
if (!isDirectory(source) || source.sourceSignature === null || names.get(source.absolutePath)
|
|
94
|
+
if (!isDirectory(source) || source.sourceSignature === null || names.get(source.absolutePath) == null)
|
|
140
95
|
return;
|
|
141
96
|
const stat = signedStat(source.sourceSignature);
|
|
142
97
|
const qualification = listingQualification(listings.clock, stat);
|
|
143
98
|
if (qualification === "racy") {
|
|
144
|
-
racy.
|
|
145
|
-
racyWaitMs = Math.max(racyWaitMs, listingWaitMs(listings.clock, stat));
|
|
99
|
+
racy.set(source, listingWaitMs(listings.clock, stat));
|
|
146
100
|
}
|
|
147
101
|
else if (qualification === "unqualified")
|
|
148
102
|
unqualified.push(source);
|
|
149
103
|
});
|
|
150
|
-
return new GroundSourceProof(ordered, reader, names, racy,
|
|
104
|
+
return new GroundSourceProof(ordered, reader, names, racy, unqualified, brokenMarkers);
|
|
151
105
|
}
|
|
152
|
-
constructor(sources, reader, names, racy,
|
|
106
|
+
constructor(sources, reader, names, racy, unqualified, brokenMarkers) {
|
|
153
107
|
this.#sources = sources;
|
|
154
108
|
this.#reader = reader;
|
|
155
109
|
this.#names = names;
|
|
156
110
|
this.#racy = racy;
|
|
157
|
-
this.#racyWaitMs = racyWaitMs;
|
|
158
111
|
this.#unqualified = unqualified;
|
|
159
112
|
this.#brokenMarkers = brokenMarkers;
|
|
160
113
|
}
|
|
161
|
-
/** Walked directories whose `.git` gitfile or link names no repository Git
|
|
162
|
-
* can use, by absolute address: Watch hears the storage each names
|
|
163
|
-
* (git-storage.ts). */
|
|
164
114
|
get brokenMarkers() { return this.#brokenMarkers; }
|
|
165
|
-
|
|
166
|
-
get racy() { return this.#racy.map(source => source.absolutePath); }
|
|
167
|
-
/** Directories listed where no stamp can qualify them, by absolute address. */
|
|
115
|
+
get racy() { return [...this.#racy.keys()].map(source => source.absolutePath); }
|
|
168
116
|
get unqualified() { return this.#unqualified.map(source => source.absolutePath); }
|
|
169
|
-
/** Each racy listing closeRacy closed, by relative address, and the later
|
|
170
|
-
* stamp it closed under. That read found its directory standing as walked
|
|
171
|
-
* with its change time before the stamp's boundary, so its birth too: the
|
|
172
|
-
* directory's sighting is that read. */
|
|
173
117
|
get closedUnder() { return this.#closedUnder; }
|
|
174
|
-
/** Racy directories closeRacy found changed since their walk, by absolute
|
|
175
|
-
* address: moving ground, never racy, whatever wrote them. */
|
|
176
118
|
get moved() { return this.#moved.map(source => source.absolutePath); }
|
|
177
|
-
|
|
178
|
-
* directory, if none changes; 0 when none is racy. */
|
|
179
|
-
get racyWaitMs() { return this.#racyWaitMs; }
|
|
180
|
-
/** `closed` when a fresh listing names exactly what the walk listed while
|
|
181
|
-
* the directory stands as walked on both sides of it, and, where a clock is
|
|
182
|
-
* given, qualifies under it. A directory that stands as walked inside that
|
|
183
|
-
* clock's racy interval answers the milliseconds until a later stamp can
|
|
184
|
-
* qualify it. Any other has `moved`: it no longer stands as walked, lists
|
|
185
|
-
* other names, or lost the clock that would qualify it. */
|
|
119
|
+
get racyWaitMs() { return Math.max(0, ...this.#racy.values()); }
|
|
186
120
|
#listsAgain(source, clock) {
|
|
187
121
|
const names = this.#names.get(source.absolutePath), current = this.#reader.stat(source);
|
|
188
122
|
if (!names || current === null || !sourceUnchanged(source.sourceSignature, current))
|
|
@@ -196,53 +130,23 @@ export class GroundSourceProof {
|
|
|
196
130
|
return now !== null && after !== null && sourceUnchanged(source.sourceSignature, after) && sameNames(now, names)
|
|
197
131
|
? "closed" : "moved";
|
|
198
132
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
* a directory that stands as walked under a stamp that has not yet passed
|
|
203
|
-
* its change time waits again from that stamp, through at most `readings`
|
|
204
|
-
* stamps. One whose change time stands beyond the horizon of a stamp taken
|
|
205
|
-
* after it was read was timed by another clock: no near stamp qualifies
|
|
206
|
-
* it, so it closes by agreement alone, as unqualified ground does, with no
|
|
207
|
-
* sighting. A directory that changed since its walk is moving ground, not
|
|
208
|
-
* racy: it leaves the racy listings for `moved`, and its unit waits for the
|
|
209
|
-
* ring its change makes. Returns the first directory that did not close;
|
|
210
|
-
* the wait that remains is the latest stamp's. */
|
|
211
|
-
async closeRacy(stamp, waitMs, readings, checkpoint) {
|
|
212
|
-
const moved = [];
|
|
213
|
-
let waiting = this.#racy;
|
|
214
|
-
for (let reading = 1; waiting.length && reading <= readings; reading++) {
|
|
215
|
-
if (waitMs > 0)
|
|
216
|
-
await sleep(Math.min(waitMs, RACY_HORIZON_MS));
|
|
217
|
-
const clock = await stamp(), early = [];
|
|
218
|
-
waitMs = 0;
|
|
219
|
-
for (const source of waiting) {
|
|
220
|
-
await turnBoundary();
|
|
221
|
-
checkpoint?.();
|
|
133
|
+
racyReads() {
|
|
134
|
+
return [...this.#racy.keys()].map(source => ({
|
|
135
|
+
judge: (clock) => {
|
|
222
136
|
const again = this.#listsAgain(source, clock);
|
|
137
|
+
if (typeof again === "number" && again <= RACY_HORIZON_MS) {
|
|
138
|
+
this.#racy.set(source, again);
|
|
139
|
+
return again;
|
|
140
|
+
}
|
|
141
|
+
this.#racy.delete(source);
|
|
223
142
|
if (again === "closed")
|
|
224
143
|
this.#closedUnder.set(source.relativePath, clock);
|
|
225
|
-
else if (again === "moved")
|
|
226
|
-
moved.push(source);
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
early.push(source);
|
|
233
|
-
waitMs = Math.max(waitMs, again);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
waiting = early;
|
|
237
|
-
}
|
|
238
|
-
this.#racy = waiting;
|
|
239
|
-
this.#moved = [...this.#moved, ...moved];
|
|
240
|
-
this.#racyWaitMs = waiting.length ? waitMs : 0;
|
|
241
|
-
return (waiting[0] ?? moved[0])?.absolutePath ?? null;
|
|
144
|
+
else if (again === "moved" || this.#listsAgain(source) !== "closed")
|
|
145
|
+
this.#moved.push(source);
|
|
146
|
+
return null;
|
|
147
|
+
},
|
|
148
|
+
}));
|
|
242
149
|
}
|
|
243
|
-
/** Closes every unqualified listing by listing it again, by agreement
|
|
244
|
-
* alone. Returns the first directory that stays open; each closed one is
|
|
245
|
-
* unqualified no more. */
|
|
246
150
|
async closeUnqualified(checkpoint) {
|
|
247
151
|
const open = [];
|
|
248
152
|
for (const source of this.#unqualified) {
|
|
@@ -254,9 +158,6 @@ export class GroundSourceProof {
|
|
|
254
158
|
this.#unqualified = open;
|
|
255
159
|
return open[0]?.absolutePath ?? null;
|
|
256
160
|
}
|
|
257
|
-
/** Every retained source as one witness, parents first, built as steps
|
|
258
|
-
* once. Judging it reads each source forward, then each directory again in
|
|
259
|
-
* reverse, as `close` does. */
|
|
260
161
|
*witness() {
|
|
261
162
|
if (this.#witness)
|
|
262
163
|
return this.#witness;
|
|
@@ -268,10 +169,6 @@ export class GroundSourceProof {
|
|
|
268
169
|
});
|
|
269
170
|
return (this.#witness = yield* pathsWitnessSteps(components));
|
|
270
171
|
}
|
|
271
|
-
/** Closes every retained source outside any transaction, yielding as it
|
|
272
|
-
* goes: parents forward before children, directories again in reverse,
|
|
273
|
-
* each directory's marker with it. Changes are answers, not failures; an
|
|
274
|
-
* unreadable address is a fault. */
|
|
275
172
|
async close(checkpoint) {
|
|
276
173
|
const changes = new Map();
|
|
277
174
|
const mark = (path, kind) => {
|
|
@@ -307,7 +204,6 @@ export class GroundSourceProof {
|
|
|
307
204
|
}
|
|
308
205
|
for (const path of [...this.racy, ...this.moved])
|
|
309
206
|
mark(path, "listing");
|
|
310
|
-
// Every walked listing was read before any of these.
|
|
311
207
|
for (const source of this.#unqualified) {
|
|
312
208
|
if (changes.has(source.absolutePath))
|
|
313
209
|
continue;
|
|
@@ -319,15 +215,9 @@ export class GroundSourceProof {
|
|
|
319
215
|
return new GroundClosure(observed, changes);
|
|
320
216
|
}
|
|
321
217
|
}
|
|
322
|
-
/** Every dependency answers semantically before any root closes physically,
|
|
323
|
-
* so no root's physical close can precede another root's Git work. Each
|
|
324
|
-
* root's walk closes on both sides of its dependencies' witnesses, parents
|
|
325
|
-
* open before children and closed afterward, as two leaves because a proof
|
|
326
|
-
* closes once. Later filesystem changes belong to later Watch generations. */
|
|
327
218
|
export async function groundSourceProof(proofs) {
|
|
328
219
|
const walks = [];
|
|
329
220
|
for (const proof of proofs)
|
|
330
221
|
walks.push(await finishStepsInTurns(proof.physical.witness()));
|
|
331
222
|
return sourceProofs([witnessProof(walks), ...proofs.flatMap(proof => proof.dependencies), witnessProof(walks)]);
|
|
332
223
|
}
|
|
333
|
-
//# sourceMappingURL=ground-proof.js.map
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { groundStore } from "../ground-store.js";
|
|
2
|
-
/** Names per slot page: one probe of the slot index answers a page, so a
|
|
3
|
-
* burst of names costs a few reads, each a small part of a turn. */
|
|
4
2
|
const SLOT_PAGE = 256;
|
|
5
3
|
export class NamedGroundReader {
|
|
6
4
|
#observation;
|
|
@@ -34,8 +32,6 @@ export class NamedGroundReader {
|
|
|
34
32
|
physical(uuid) {
|
|
35
33
|
return this.answer(["physical", uuid], reader => reader.physical(uuid));
|
|
36
34
|
}
|
|
37
|
-
/** Every row at an address in either inventory, any status. An empty
|
|
38
|
-
* answer stays in the basis: a later owner of the slot retires it. */
|
|
39
35
|
atPath(rootUUID, path, inventory = "entities") {
|
|
40
36
|
return this.answer(["path", inventory, rootUUID, path], reader => {
|
|
41
37
|
const rows = reader.atPath(inventory, rootUUID, path);
|
|
@@ -45,11 +41,9 @@ export class NamedGroundReader {
|
|
|
45
41
|
return rows;
|
|
46
42
|
});
|
|
47
43
|
}
|
|
48
|
-
/** One root's identities at a filesystem object, retained rows marked. */
|
|
49
44
|
candidates(rootUUID, physicalKey) {
|
|
50
45
|
return this.answer(["physical-candidates", rootUUID, physicalKey], reader => reader.physicalCandidates("entities", rootUUID, physicalKey));
|
|
51
46
|
}
|
|
52
|
-
/** Every name a filesystem object has, in any root. */
|
|
53
47
|
objectRows(physicalKey) {
|
|
54
48
|
return this.answer(["object", physicalKey], reader => reader.objectRows("entities", physicalKey));
|
|
55
49
|
}
|
|
@@ -59,8 +53,6 @@ export class NamedGroundReader {
|
|
|
59
53
|
siblings(inventory, parentUUID) {
|
|
60
54
|
return this.answer(["siblings", inventory, parentUUID], reader => reader.children(inventory, parentUUID));
|
|
61
55
|
}
|
|
62
|
-
/** The children holding each listed name, every name answered and
|
|
63
|
-
* remembered on its own, the unanswered read a page of names per step. */
|
|
64
56
|
*slots(inventory, parentUUID, names) {
|
|
65
57
|
const id = (name) => JSON.stringify(["slot", inventory, parentUUID, name]);
|
|
66
58
|
const unanswered = [...new Set(names)].filter(name => !this.#answers.has(id(name)));
|
|
@@ -76,4 +68,3 @@ export class NamedGroundReader {
|
|
|
76
68
|
}
|
|
77
69
|
finish() { return this.#observation.finish(); }
|
|
78
70
|
}
|
|
79
|
-
//# sourceMappingURL=ground-reader.js.map
|