@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
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { CatFile } from "./git-cat-file.js";
|
|
2
|
+
import { GitRefused } from "./git-command.js";
|
|
3
|
+
import { BLOB_READ_BYTES, provenBlobs } from "./git-proven-blobs.js";
|
|
4
|
+
import { namesPromisor } from "./git/objects.js";
|
|
5
|
+
import { atStorage, openGitRepository, RefusedRepository } from "./git/repository.js";
|
|
6
|
+
export async function installFromGit(checkout, wanted, write, report) {
|
|
7
|
+
const served = new Set();
|
|
8
|
+
const asked = wanted.flatMap(({ hash, paths }) => paths
|
|
9
|
+
.filter(path => !path.includes("\n"))
|
|
10
|
+
.map(path => ({ entry: hash, hash, name: `:0:${path}` })));
|
|
11
|
+
if (asked.length === 0)
|
|
12
|
+
return served;
|
|
13
|
+
let writing = null;
|
|
14
|
+
let objects = null;
|
|
15
|
+
try {
|
|
16
|
+
const repository = await openGitRepository(checkout);
|
|
17
|
+
if (repository === null || await namesPromisor(repository))
|
|
18
|
+
return served;
|
|
19
|
+
objects = new CatFile(repository.worktree, { purpose: "apply", profile: atStorage(repository) });
|
|
20
|
+
const answers = await objects.info(asked.map(({ name }) => name));
|
|
21
|
+
for await (const { entry, bytes } of provenBlobs(objects, asked, answers, BLOB_READ_BYTES)) {
|
|
22
|
+
try {
|
|
23
|
+
await write(entry, bytes);
|
|
24
|
+
}
|
|
25
|
+
catch (error) {
|
|
26
|
+
writing = { error };
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
served.add(entry);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
catch (error) {
|
|
33
|
+
if (!(error instanceof GitRefused || error instanceof RefusedRepository))
|
|
34
|
+
report(error);
|
|
35
|
+
}
|
|
36
|
+
finally {
|
|
37
|
+
objects?.stop();
|
|
38
|
+
}
|
|
39
|
+
if (writing)
|
|
40
|
+
throw writing.error;
|
|
41
|
+
return served;
|
|
42
|
+
}
|
|
@@ -8,6 +8,14 @@ export function runtimeProxyOrigin(binding, appUrl, explicit) {
|
|
|
8
8
|
return undefined;
|
|
9
9
|
return resolveRuntimeEndpoint(binding, 'proxy', explicit, appUrl);
|
|
10
10
|
}
|
|
11
|
+
export function runtimeGatewayOrigin(binding, appUrl, wireUrl) {
|
|
12
|
+
const wire = wireUrl ? new URL(wireUrl) : null;
|
|
13
|
+
if (wire)
|
|
14
|
+
wire.protocol = wire.protocol === 'wss:' ? 'https:' : 'http:';
|
|
15
|
+
if (!wire && (binding.runtimeLabel === 'local' || isLoopbackEndpoint(appUrl)))
|
|
16
|
+
return undefined;
|
|
17
|
+
return resolveRuntimeEndpoint(binding, 'gateway', wire?.origin, appUrl);
|
|
18
|
+
}
|
|
11
19
|
export function runtimeWireUrl(binding, appUrl, value, declared) {
|
|
12
20
|
const endpoint = resolveRuntimeEndpoint(binding, 'wire', value, appUrl);
|
|
13
21
|
if (declared && endpoint !== normalizeRuntimeEndpoint('wire', declared)) {
|
|
@@ -20,7 +28,6 @@ export function runtimeHostedEndpoints(binding, appUrl, env) {
|
|
|
20
28
|
const defaults = managed && !isLoopbackEndpoint(appUrl) ? managed : null;
|
|
21
29
|
const automations = env.AMALGM_AUTOMATIONS_URL || defaults?.automations;
|
|
22
30
|
const channels = env.AMALGM_CHANNELS_URL || defaults?.channels;
|
|
23
|
-
// The gateway serves a person's cloud files, Move to Trash among them.
|
|
24
31
|
const files = env.AMALGM_FILES_URL || defaults?.gateway;
|
|
25
32
|
return {
|
|
26
33
|
...(automations ? { automationsBaseUrl: resolveRuntimeEndpoint(binding, 'automations', automations, appUrl) } : {}),
|
|
@@ -28,4 +35,3 @@ export function runtimeHostedEndpoints(binding, appUrl, env) {
|
|
|
28
35
|
...(files ? { filesBaseUrl: resolveRuntimeEndpoint(binding, 'gateway', files, appUrl) } : {}),
|
|
29
36
|
};
|
|
30
37
|
}
|
|
31
|
-
//# sourceMappingURL=environment.js.map
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { openFileDatabase } from '../sqlite.js';
|
|
2
2
|
import { dirname } from 'node:path';
|
|
3
3
|
import { ensurePrivateDir } from '../filesystem.js';
|
|
4
|
-
/** An OS-held file lock ends on process exit, survives suspension and cannot
|
|
5
|
-
* be stolen by age or PID reuse. The file itself is never removed. */
|
|
6
4
|
export function acquireProcessLease(file) {
|
|
7
5
|
ensurePrivateDir(dirname(file));
|
|
8
6
|
const database = openFileDatabase(file, { timeout: 0 });
|
|
@@ -25,4 +23,3 @@ export function processLeaseHeld(file) {
|
|
|
25
23
|
lease.close();
|
|
26
24
|
return false;
|
|
27
25
|
}
|
|
28
|
-
//# sourceMappingURL=lease.js.map
|
|
@@ -6,12 +6,7 @@ import { openFileDatabase } from '../sqlite.js';
|
|
|
6
6
|
import { physicalPath } from '../sync-address.js';
|
|
7
7
|
import { acquireProcessLease } from './lease.js';
|
|
8
8
|
import { laneLayout, laneRoot, resolveRuntimeBinding, runtimeBindingsMatch, writableRootsOverlap, } from '@amalgm/core/identity';
|
|
9
|
-
/** The scope that serializes setup across every user of one lane. */
|
|
10
9
|
const SETUP_SCOPE = 'setup';
|
|
11
|
-
/** One lane's ownership ledger and leases, kept in the lane's `installation`
|
|
12
|
-
* service folder. SQLite serializes competing processes; no polling or idle
|
|
13
|
-
* worker is needed. Root claims survive shutdown because stopped runtimes
|
|
14
|
-
* still own their data. */
|
|
15
10
|
export class InstallationOwnership {
|
|
16
11
|
database;
|
|
17
12
|
runtimeLeases = new Map();
|
|
@@ -42,8 +37,6 @@ export class InstallationOwnership {
|
|
|
42
37
|
throw error;
|
|
43
38
|
}
|
|
44
39
|
}
|
|
45
|
-
/** Reserve before registration, materialization, Watch or another writer.
|
|
46
|
-
* Empty scope reserves the installation container, not a user's workspace. */
|
|
47
40
|
reserve(requestedPath, userScope = '') {
|
|
48
41
|
const path = physicalPath(requestedPath);
|
|
49
42
|
const physical = physicalComponents(path);
|
|
@@ -77,13 +70,9 @@ export class InstallationOwnership {
|
|
|
77
70
|
}).immediate();
|
|
78
71
|
return path;
|
|
79
72
|
}
|
|
80
|
-
/** Serialize initialization with other claimants before creating a manifest. */
|
|
81
73
|
initialize(effect) {
|
|
82
74
|
return this.database.transaction(effect).immediate();
|
|
83
75
|
}
|
|
84
|
-
/** An OS-held SQLite write lock is the lease: process exit releases it,
|
|
85
|
-
* suspension does not, and PID reuse cannot either steal or strand it.
|
|
86
|
-
* A user's lease is the one its service's update fence takes. */
|
|
87
76
|
acquireRuntime(userScope) {
|
|
88
77
|
if (!userScope)
|
|
89
78
|
throw new Error('Runtime ownership requires a user scope.');
|
|
@@ -105,7 +94,6 @@ export class InstallationOwnership {
|
|
|
105
94
|
lease.close();
|
|
106
95
|
this.runtimeLeases.delete(userScope);
|
|
107
96
|
}
|
|
108
|
-
/** Contention is bounded setup work, never an idle ownership-recovery poll. */
|
|
109
97
|
async waitForRuntime(userScope, timeoutMs = 600_000) {
|
|
110
98
|
const deadline = Date.now() + timeoutMs;
|
|
111
99
|
for (;;) {
|
|
@@ -149,4 +137,3 @@ function pathComponents(path) {
|
|
|
149
137
|
const absolute = process.platform === 'win32' ? path.toLowerCase() : path;
|
|
150
138
|
return [parse(absolute).root, ...absolute.slice(parse(absolute).root.length).split(sep).filter(Boolean)];
|
|
151
139
|
}
|
|
152
|
-
//# sourceMappingURL=ownership.js.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { resolveRuntimeBinding } from '@amalgm/core/identity';
|
|
2
|
-
/** Public command prefixes select the environment, never ambient env vars. */
|
|
3
2
|
export function selectRuntimeInvocation(args) {
|
|
4
3
|
if (args[0] === 'preview')
|
|
5
4
|
return { runtimeLabel: 'preview', args: args.slice(1) };
|
|
@@ -26,4 +25,3 @@ function stringOption(parsed, name) {
|
|
|
26
25
|
throw new Error(`--${name} requires a value.`);
|
|
27
26
|
return value;
|
|
28
27
|
}
|
|
29
|
-
//# sourceMappingURL=selection.js.map
|
package/dist/keychain/cli-io.js
CHANGED
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* What the keychain's command line touches on this computer. A value comes from
|
|
3
|
-
* piped input or from a terminal that does not echo it, never from an argument.
|
|
4
|
-
*/
|
|
5
1
|
import { spawn } from "node:child_process";
|
|
6
|
-
/** Exactly the one newline `echo` or a terminal adds; a value's own stay. */
|
|
7
2
|
export const withoutFinalNewline = (text) => text.replace(/\r?\n$/, "");
|
|
8
3
|
async function readPiped(input) {
|
|
9
4
|
const chunks = [];
|
|
@@ -11,7 +6,6 @@ async function readPiped(input) {
|
|
|
11
6
|
chunks.push(Buffer.from(chunk));
|
|
12
7
|
return Buffer.concat(chunks).toString("utf8");
|
|
13
8
|
}
|
|
14
|
-
/** Raw mode turns off the terminal's echo; each key arrives here and goes nowhere. */
|
|
15
9
|
function askUnseen(prompt) {
|
|
16
10
|
const input = process.stdin;
|
|
17
11
|
return new Promise((resolve, reject) => {
|
|
@@ -52,4 +46,3 @@ export const terminalIo = () => ({
|
|
|
52
46
|
child.once("close", (code, signal) => resolve(code ?? (signal ? 128 : 1)));
|
|
53
47
|
}),
|
|
54
48
|
});
|
|
55
|
-
//# sourceMappingURL=cli-io.js.map
|
package/dist/keychain/cli.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `amalgm keychain`: the keychain's own command line, in this short-lived
|
|
3
|
-
* process, over the running runtime's local routes. The vault, its key and the
|
|
4
|
-
* presence prompt stay in the runtime, which also decides who is asking: nothing
|
|
5
|
-
* this process claims about itself reaches that decision.
|
|
6
|
-
*/
|
|
7
1
|
import { KeychainError, fault, owner, runCli } from "@amalgm/keychain";
|
|
8
2
|
import { terminalIo } from "./cli-io.js";
|
|
9
3
|
const answerOf = async (response) => {
|
|
@@ -31,7 +25,6 @@ export const runtimeKeychain = (connection) => ({
|
|
|
31
25
|
const reply = await answerOf(response);
|
|
32
26
|
if (reply?.ok === true)
|
|
33
27
|
return reply.result;
|
|
34
|
-
// The gateway's own answers name no keychain code: a route that is not there.
|
|
35
28
|
if (typeof reply?.error === "object")
|
|
36
29
|
throw new KeychainError(reply.error.code, reply.error.message, reply.error.refusal);
|
|
37
30
|
throw fault("unavailable", response.status === 404
|
|
@@ -41,8 +34,6 @@ export const runtimeKeychain = (connection) => ({
|
|
|
41
34
|
});
|
|
42
35
|
export const runKeychainCli = (args, connection) => runCli({
|
|
43
36
|
keychain: runtimeKeychain(connection),
|
|
44
|
-
// The runtime replaces this with what it proves; it never leaves this process.
|
|
45
37
|
actorFor: async () => owner("cli", false),
|
|
46
38
|
io: terminalIo(),
|
|
47
39
|
}, args);
|
|
48
|
-
//# sourceMappingURL=cli.js.map
|
package/dist/keychain/host.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The keychain on one person's running runtime: the `.vault` file, the key in
|
|
3
|
-
* memory, the rails, and the local routes, composed once. Nothing else in Shell
|
|
4
|
-
* opens the vault. It starts with every runtime, and everything it needs from
|
|
5
|
-
* the rest of the runtime comes in here.
|
|
6
|
-
*/
|
|
7
1
|
import { dirname, join } from "node:path";
|
|
8
2
|
import { createKeychain, followRails, webCrypto } from "@amalgm/keychain";
|
|
9
3
|
import { keychainMount } from "./http-mount.js";
|
|
@@ -40,4 +34,3 @@ export function openKeychainHost(options) {
|
|
|
40
34
|
close: () => vault.close(),
|
|
41
35
|
};
|
|
42
36
|
}
|
|
43
|
-
//# sourceMappingURL=host.js.map
|
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The keychain's routes on the runtime's gateway, which has already admitted
|
|
3
|
-
* the caller's runtime token. Only a request from this computer can reach the
|
|
4
|
-
* presence prompt; one relayed over the wire from the Amalgm UI cannot prove the
|
|
5
|
-
* person is at this computer, so it is the `ui` door and never present. The wire
|
|
6
|
-
* always stamps its own requests, so a remote caller cannot pose as local.
|
|
7
|
-
*/
|
|
8
1
|
import { handleHttp, owner } from "@amalgm/keychain";
|
|
9
2
|
import { VIA_WIRE_HEADER } from "../wire-client.js";
|
|
10
|
-
/** A vault's largest import and its names, far under anything that strains memory. */
|
|
11
3
|
const MAX_BODY_BYTES = 8 * 1024 * 1024;
|
|
12
4
|
class BodyRefused extends Error {
|
|
13
5
|
status;
|
|
@@ -63,7 +55,6 @@ export function keychainMount(door) {
|
|
|
63
55
|
error: {
|
|
64
56
|
code: refused ? error.code : "internal",
|
|
65
57
|
refusal: refused,
|
|
66
|
-
// Never the thrown message: it could carry what the request held.
|
|
67
58
|
message: refused ? error.message : "Something went wrong inside the keychain.",
|
|
68
59
|
},
|
|
69
60
|
});
|
|
@@ -71,4 +62,3 @@ export function keychainMount(door) {
|
|
|
71
62
|
},
|
|
72
63
|
};
|
|
73
64
|
}
|
|
74
|
-
//# sourceMappingURL=http-mount.js.map
|
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The person's vault key, asked of the authority over the authenticated wire
|
|
3
|
-
* and held in this process's memory only. Each version is asked once; a failed
|
|
4
|
-
* handoff is not remembered, so the next command asks again. A wire that cannot
|
|
5
|
-
* answer means the vault is locked, never a wrong key (PRD K3).
|
|
6
|
-
*/
|
|
7
1
|
const CURRENT = 0;
|
|
8
|
-
/** A person is waiting at a command: being offline answers locked promptly. */
|
|
9
2
|
const ASK_LIMIT_MS = 5_000;
|
|
10
3
|
export function wireVaultKey(wire, askLimitMs = ASK_LIMIT_MS) {
|
|
11
4
|
const asked = new Map();
|
|
@@ -42,4 +35,3 @@ export function wireVaultKey(wire, askLimitMs = ASK_LIMIT_MS) {
|
|
|
42
35
|
at: async (version) => (await handoff(version))?.key ?? null,
|
|
43
36
|
};
|
|
44
37
|
}
|
|
45
|
-
//# sourceMappingURL=key-wire.js.map
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Touch ID, or the login password when there is none, through the system's own
|
|
3
|
-
* LocalAuthentication prompt. The runtime asks, not the command line that wants
|
|
4
|
-
* the answer, so that process can never claim it was approved.
|
|
5
|
-
*/
|
|
6
1
|
import { execFile } from "node:child_process";
|
|
7
|
-
/** Policy 2 is LAPolicyDeviceOwnerAuthentication: biometrics, then password. */
|
|
8
2
|
const script = (interactive, reason) => `
|
|
9
3
|
ObjC.import('LocalAuthentication');
|
|
10
4
|
ObjC.import('Foundation');
|
|
@@ -23,4 +17,3 @@ export function askMacPresence(options = {}) {
|
|
|
23
17
|
execFile("osascript", ["-l", "JavaScript", "-e", script(options.interactive ?? true, "open a secret from your Amalgm vault")], { timeout: ANSWER_LIMIT_MS }, (error, stdout) => resolve(!error && stdout.trim() === "yes"));
|
|
24
18
|
});
|
|
25
19
|
}
|
|
26
|
-
//# sourceMappingURL=presence-mac.js.map
|
|
@@ -1,12 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Whether the person is here just now. Only the machine can answer, with
|
|
3
|
-
* something a process cannot fake. Where it has no such way the answer is no,
|
|
4
|
-
* and commands that need presence refuse while everything else works (PRD A2).
|
|
5
|
-
*/
|
|
6
1
|
import { askMacPresence } from "./presence-mac.js";
|
|
7
2
|
const REMEMBERED_MS = 10 * 60 * 1000;
|
|
8
3
|
export const machinePresence = (platform = process.platform) => platform === "darwin" ? () => askMacPresence() : async () => false;
|
|
9
|
-
/** A proof holds for ten minutes, and one prompt answers everyone waiting on it. */
|
|
10
4
|
export function rememberedPresence(prove, now = Date.now, rememberedMs = REMEMBERED_MS) {
|
|
11
5
|
let provenAt = null;
|
|
12
6
|
let asking = null;
|
|
@@ -21,4 +15,3 @@ export function rememberedPresence(prove, now = Date.now, rememberedMs = REMEMBE
|
|
|
21
15
|
});
|
|
22
16
|
};
|
|
23
17
|
}
|
|
24
|
-
//# sourceMappingURL=presence.js.map
|
package/dist/keychain/rail.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The keychain's one reach onto the rails. A change goes out through the
|
|
3
|
-
* construct door named from its sealed bytes, so a retry of one save is one
|
|
4
|
-
* mutation (PRD R4). A value comes back only when asked, as sealed bytes the
|
|
5
|
-
* keychain proves and opens itself.
|
|
6
|
-
*/
|
|
7
1
|
import { createHash } from "node:crypto";
|
|
8
2
|
export const secretMutationId = (change) => {
|
|
9
3
|
const hex = createHash("sha256")
|
|
@@ -17,4 +11,3 @@ export function groundRail(withGround) {
|
|
|
17
11
|
fetch: async (id, head) => new Uint8Array(await withGround((ground) => ground.readSecretPayload(id, head))),
|
|
18
12
|
};
|
|
19
13
|
}
|
|
20
|
-
//# sourceMappingURL=rail.js.map
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Apply and Verify for a `secret`. Hearing a record costs nothing: the card and
|
|
3
|
-
* head land on the shelf and no value moves, because a value arrives only on
|
|
4
|
-
* first use (PRD O1). The record alone is the whole result, so a person's newer
|
|
5
|
-
* unsent save keeps its row and goes out after this one.
|
|
6
|
-
*
|
|
7
|
-
* Guard is never "already here": two records can share a head and differ in
|
|
8
|
-
* their card. The shelf is asked again in Verify, which is safe to repeat, so a
|
|
9
|
-
* crash at any point resumes without remembered state.
|
|
10
|
-
*/
|
|
11
1
|
const hear = async (options, plan) => {
|
|
12
2
|
const { uuid, name, payloadVersion } = plan.target;
|
|
13
3
|
if (payloadVersion === null)
|
|
@@ -43,4 +33,3 @@ export function secretApplyAdapter(options) {
|
|
|
43
33
|
rails: Object.freeze({ apply, verify }),
|
|
44
34
|
});
|
|
45
35
|
}
|
|
46
|
-
//# sourceMappingURL=secret-apply.js.map
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A shelf can come up empty while the rails have moved on: the file was removed,
|
|
3
|
-
* or this computer signed out and back in. Delivery will not repeat what it
|
|
4
|
-
* already gave, so the records this computer holds put back each missing card,
|
|
5
|
-
* with no value, as a new computer's first delivery would (PRD R6).
|
|
6
|
-
*/
|
|
7
1
|
export async function restoreCards(shelf, follower, held) {
|
|
8
2
|
const present = new Set((await shelf.list()).map((row) => row.id));
|
|
9
3
|
let restored = 0;
|
|
@@ -15,4 +9,3 @@ export async function restoreCards(shelf, follower, held) {
|
|
|
15
9
|
}
|
|
16
10
|
return restored;
|
|
17
11
|
}
|
|
18
|
-
//# sourceMappingURL=shelf-from-ledger.js.map
|
package/dist/keychain/use-log.js
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The record of use: one line per command, beside the `.vault` and as private.
|
|
3
|
-
* A line holds no value by construction (PRD A3). A log that cannot be written
|
|
4
|
-
* is reported and never stops the command.
|
|
5
|
-
*/
|
|
6
1
|
import { appendFileSync } from "node:fs";
|
|
7
2
|
export const useLog = (file, onError) => (line) => {
|
|
8
3
|
try {
|
|
@@ -12,4 +7,3 @@ export const useLog = (file, onError) => (line) => {
|
|
|
12
7
|
onError(error);
|
|
13
8
|
}
|
|
14
9
|
};
|
|
15
|
-
//# sourceMappingURL=use-log.js.map
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The `.vault` file on this computer: sealed cards and sealed values, private
|
|
3
|
-
* to the person. It stands in the user's computer-only folder, which Files
|
|
4
|
-
* never syncs, and is created unreadable by anyone else before SQLite opens
|
|
5
|
-
* it, because SQLite gives its journal the mode of the file it journals.
|
|
6
|
-
*/
|
|
7
1
|
import { chmodSync, closeSync, openSync } from "node:fs";
|
|
8
2
|
import { dirname } from "node:path";
|
|
9
3
|
import { sqliteShelf } from "@amalgm/keychain";
|
|
@@ -16,4 +10,3 @@ export function openVaultFile(file) {
|
|
|
16
10
|
const database = openFileDatabase(file);
|
|
17
11
|
return { shelf: sqliteShelf(database), close: () => database.close() };
|
|
18
12
|
}
|
|
19
|
-
//# sourceMappingURL=vault-file.js.map
|
package/dist/line-judge.js
CHANGED
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The line's judge: which accepted moves the cloud's order refuses
|
|
3
|
-
* (line-loops.ts). Apply reads an authority's line only through the
|
|
4
|
-
* position J its judge has reached, so every record it plays has its
|
|
5
|
-
* verdict.
|
|
6
|
-
*
|
|
7
|
-
* A range with no move only moves J: nothing folds. A move folds the line
|
|
8
|
-
* from a kept head at or below J through Live's accepted view, which plays
|
|
9
|
-
* the records in the cloud's order and names each move that would put its
|
|
10
|
-
* entity inside itself; those are saved before J passes them. The fold is
|
|
11
|
-
* held while the line runs, so a later range folds only what arrived since,
|
|
12
|
-
* and goes at the rail's idle; a move after idle folds again from the kept
|
|
13
|
-
* head. A head after J serves too: every record through it is discharged,
|
|
14
|
-
* by installs that fold with the same verdicts.
|
|
15
|
-
*
|
|
16
|
-
* The verdict is the reducer's, so a head built anywhere, a fold begun from
|
|
17
|
-
* any head, and the judge of every computer all agree.
|
|
18
|
-
*/
|
|
19
1
|
import { AcceptedView, decodeAcceptedEntityRecord, decodeLocalEntityRecord } from "@amalgm/live";
|
|
20
2
|
import { readAcceptedTail } from "./accepted-tail.js";
|
|
21
3
|
import { lineFrontier, readDeliveryReceipt, readGraphBasis } from "./graph-heads.js";
|
|
@@ -27,7 +9,6 @@ import { cachedStatement } from "./sqlite.js";
|
|
|
27
9
|
export class LineJudge {
|
|
28
10
|
database;
|
|
29
11
|
graphs;
|
|
30
|
-
/** J per authority: every record through it is judged. */
|
|
31
12
|
#judged = new Map();
|
|
32
13
|
#folds = new Map();
|
|
33
14
|
#turns = new Map();
|
|
@@ -35,12 +16,9 @@ export class LineJudge {
|
|
|
35
16
|
this.database = database;
|
|
36
17
|
this.graphs = graphs;
|
|
37
18
|
}
|
|
38
|
-
/** Judge every record received so far, after every earlier judgement of
|
|
39
|
-
* this authority, and answer the received prefix judged. */
|
|
40
19
|
judge(authorityId) {
|
|
41
20
|
return this.#turn(authorityId, () => this.#judge(authorityId));
|
|
42
21
|
}
|
|
43
|
-
/** The rail is idle: no fold is held past it. */
|
|
44
22
|
drop() {
|
|
45
23
|
for (const authorityId of [...this.#folds.keys()])
|
|
46
24
|
this.#release(authorityId);
|
|
@@ -57,12 +35,6 @@ export class LineJudge {
|
|
|
57
35
|
this.#judged.set(authorityId, received);
|
|
58
36
|
return received;
|
|
59
37
|
}
|
|
60
|
-
/** Read through `lineParent`, the parent the judged line holds an entity
|
|
61
|
-
* under, asked only of an entity this computer has its own move ahead of
|
|
62
|
-
* the line for (Live `lineReturns`); undefined for every other entity.
|
|
63
|
-
* `read` runs again with each answer it asked for until it asks nothing
|
|
64
|
-
* new, so it reads the line once per entity, after every earlier
|
|
65
|
-
* judgement of this authority. */
|
|
66
38
|
async withLineParents(authorityId, read) {
|
|
67
39
|
const known = new Map();
|
|
68
40
|
for (;;) {
|
|
@@ -82,7 +54,6 @@ export class LineJudge {
|
|
|
82
54
|
known.set(uuid, parent);
|
|
83
55
|
}
|
|
84
56
|
}
|
|
85
|
-
/** Run `work` after every earlier turn of this authority. */
|
|
86
57
|
#turn(authorityId, work) {
|
|
87
58
|
const turn = (this.#turns.get(authorityId) ?? Promise.resolve()).then(work);
|
|
88
59
|
this.#turns.set(authorityId, turn.catch(() => undefined));
|
|
@@ -94,8 +65,6 @@ export class LineJudge {
|
|
|
94
65
|
const rows = await fold.view.rows(uuids);
|
|
95
66
|
return new Map(uuids.map(uuid => [uuid, rows.get(uuid)?.parentUUID ?? undefined]));
|
|
96
67
|
}
|
|
97
|
-
/** The fold of the line advanced through `through`, opened at `judged`
|
|
98
|
-
* when none is held; the moves it refuses are saved. */
|
|
99
68
|
async #advance(authorityId, judged, through) {
|
|
100
69
|
const database = this.database;
|
|
101
70
|
try {
|
|
@@ -118,18 +87,14 @@ export class LineJudge {
|
|
|
118
87
|
throw error;
|
|
119
88
|
}
|
|
120
89
|
}
|
|
121
|
-
/** A fold of the line from the newest kept head that can begin it. */
|
|
122
90
|
#open(authorityId, judged) {
|
|
123
91
|
const database = this.database;
|
|
124
|
-
// One read: a head the saver keeps in between could drop the row the
|
|
125
|
-
// basis names before its bytes are proven.
|
|
126
92
|
const fold = database.transaction(() => {
|
|
127
93
|
const head = readGraphBasis(database, authorityId, Math.max(judged, lineFrontier(database, authorityId) - 1));
|
|
128
94
|
if (head) {
|
|
129
95
|
const { key, graph } = this.graphs.hold(this, database, authorityId, head);
|
|
130
96
|
return { view: new AcceptedView(graph, sha256Hex), key, through: head.deliveryWatermark };
|
|
131
97
|
}
|
|
132
|
-
// A line this computer holds from its origin begins empty.
|
|
133
98
|
if ((readDeliveryReceipt(database, authorityId)?.floor ?? 0) > 0) {
|
|
134
99
|
throw new ReceivedStateUnavailableError(authorityId, judged);
|
|
135
100
|
}
|
|
@@ -145,9 +110,6 @@ export class LineJudge {
|
|
|
145
110
|
this.graphs.release(this, fold.key);
|
|
146
111
|
}
|
|
147
112
|
}
|
|
148
|
-
/** Whether this computer has its own move of `entityId` the line has not
|
|
149
|
-
* resolved: a record with a move this computer made, which the cloud's
|
|
150
|
-
* order may still refuse. */
|
|
151
113
|
function ownMoveAhead(database, authorityId, entityId) {
|
|
152
114
|
for (const json of cachedStatement(database, `
|
|
153
115
|
SELECT o.record_json FROM record_outbox o
|
|
@@ -160,8 +122,6 @@ function ownMoveAhead(database, authorityId, entityId) {
|
|
|
160
122
|
}
|
|
161
123
|
return false;
|
|
162
124
|
}
|
|
163
|
-
/** Whether any record delivered in (after, through] moves an entity under a
|
|
164
|
-
* parent. Most ranges hold none, and the text holds the facet's name. */
|
|
165
125
|
function movesIn(database, authorityId, after, through) {
|
|
166
126
|
for (const json of cachedStatement(database, `
|
|
167
127
|
SELECT record_json FROM record_inbox
|
|
@@ -174,4 +134,3 @@ function movesIn(database, authorityId, after, through) {
|
|
|
174
134
|
}
|
|
175
135
|
return false;
|
|
176
136
|
}
|
|
177
|
-
//# sourceMappingURL=line-judge.js.map
|
package/dist/line-loops.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { cachedStatement } from "./sqlite.js";
|
|
2
|
-
/** The cloud's verdict when its order refuses `record`'s move. */
|
|
3
2
|
export function lineLoops(database, record) {
|
|
4
3
|
if (!record.change.facets.includes("move"))
|
|
5
4
|
return undefined;
|
|
@@ -8,7 +7,6 @@ export function lineLoops(database, record) {
|
|
|
8
7
|
`).get(record.entityId, record.globalSequence);
|
|
9
8
|
return row === undefined ? undefined : { keeps: row.keeps };
|
|
10
9
|
}
|
|
11
|
-
/** Save the refused moves; a verdict saved again is the same verdict. */
|
|
12
10
|
export function saveLineLoops(database, { refused }) {
|
|
13
11
|
const insert = cachedStatement(database, `
|
|
14
12
|
INSERT OR IGNORE INTO line_loops(entity_id, global_sequence, keeps) VALUES (?, ?, ?)
|
|
@@ -16,4 +14,3 @@ export function saveLineLoops(database, { refused }) {
|
|
|
16
14
|
for (const [entityId, globalSequence, keeps] of refused)
|
|
17
15
|
insert.run(entityId, globalSequence, keeps);
|
|
18
16
|
}
|
|
19
|
-
//# sourceMappingURL=line-loops.js.map
|
package/dist/link-target.js
CHANGED
|
@@ -1,26 +1,3 @@
|
|
|
1
|
-
/** A link's portable target separates with "/", as Git's does. Windows keeps
|
|
2
|
-
* its own "\" on disk, so only there is the target converted at this
|
|
3
|
-
* boundary: "/" becomes "\" when a link is written, and "\" becomes "/" when
|
|
4
|
-
* it is read. Every other platform stores the target text exactly. Managed
|
|
5
|
-
* references are written here too, for the folder posture below; their
|
|
6
|
-
* targets are machine-local relative paths, never payload. So are the links
|
|
7
|
-
* in a Git directory, read and written as their blob's bytes.
|
|
8
|
-
*
|
|
9
|
-
* Windows writes through its own link call (windows-fs.ts), as Git for
|
|
10
|
-
* Windows does: Node's symlink resolves a target that starts at a root
|
|
11
|
-
* against the current drive, so "/x" would read back as "C:/x". Windows
|
|
12
|
-
* itself still rewrites an absolute target it is handed, collapsing ".." and
|
|
13
|
-
* doubled separators and dropping a trailing dot or space, unless the target
|
|
14
|
-
* is already in its own namespace ("\\?\"), which readlink strips back off;
|
|
15
|
-
* so an absolute target is handed over in that namespace. Only a target
|
|
16
|
-
* naming a drive without a root ("C:x") is resolved by Windows itself.
|
|
17
|
-
*
|
|
18
|
-
* A Windows link is a folder link or a file link for good. As in Node, it is
|
|
19
|
-
* a folder link when its target, resolved from where the link will stand, is
|
|
20
|
-
* a folder as it is written; a writer that knows which without looking says
|
|
21
|
-
* so (writeLinkOfKind). A target on another computer ("\\server\share")
|
|
22
|
-
* is never looked at: a received link must not make this computer reach a
|
|
23
|
-
* server it names. */
|
|
24
1
|
import { readlinkSync, statSync, symlinkSync } from "node:fs";
|
|
25
2
|
import { readlink } from "node:fs/promises";
|
|
26
3
|
import { win32 } from "node:path";
|
|
@@ -30,21 +7,13 @@ export function readLinkTarget(path) {
|
|
|
30
7
|
const target = readlinkSync(path);
|
|
31
8
|
return WINDOWS ? target.replaceAll("\\", "/") : target;
|
|
32
9
|
}
|
|
33
|
-
/** The target as its Git blob holds it, for a link in a Git directory, whose
|
|
34
|
-
* files travel byte for byte: exact where the target is stored as given, and
|
|
35
|
-
* on Windows as readLinkTarget reads it. */
|
|
36
10
|
export async function readLinkBytes(path) {
|
|
37
11
|
const target = await readlink(path, { encoding: "buffer" });
|
|
38
12
|
return WINDOWS ? Buffer.from(target.toString().replaceAll("\\", "/")) : target;
|
|
39
13
|
}
|
|
40
|
-
/** A portable target as readlink reads it on this computer once
|
|
41
|
-
* writeLinkTarget has written it, for an answer given before the link
|
|
42
|
-
* stands on disk. */
|
|
43
14
|
export function diskLinkTarget(target) {
|
|
44
15
|
return WINDOWS ? target.replaceAll("/", "\\") : target;
|
|
45
16
|
}
|
|
46
|
-
/** Writes the link at path. standsAt is where it will stand when that is not
|
|
47
|
-
* where it is written, such as a link built in staging. */
|
|
48
17
|
export function writeLinkTarget(target, path, standsAt = path) {
|
|
49
18
|
if (!WINDOWS)
|
|
50
19
|
return symlinkSync(target, path);
|
|
@@ -52,16 +21,11 @@ export function writeLinkTarget(target, path, standsAt = path) {
|
|
|
52
21
|
const remote = native.startsWith("\\\\");
|
|
53
22
|
writeLinkOfKind(target, path, !remote && isFolder(win32.resolve(standsAt, "..", native)));
|
|
54
23
|
}
|
|
55
|
-
/** Writes the link at path as a folder link or a file link, for a writer
|
|
56
|
-
* that already knows which without looking where it leads. Elsewhere a link
|
|
57
|
-
* has no kind, and is written as writeLinkTarget writes it. */
|
|
58
24
|
export function writeLinkOfKind(target, path, directory) {
|
|
59
25
|
if (!WINDOWS)
|
|
60
26
|
return symlinkSync(target, path);
|
|
61
27
|
windowsFs().link(verbatim(diskLinkTarget(target.toString())), win32.toNamespacedPath(path), directory);
|
|
62
28
|
}
|
|
63
|
-
/** As in Node, a target that cannot be looked at (gone, a link loop, closed
|
|
64
|
-
* to this account) is not a folder, so its link is a file link. */
|
|
65
29
|
function isFolder(path) {
|
|
66
30
|
try {
|
|
67
31
|
return statSync(path).isDirectory();
|
|
@@ -70,7 +34,6 @@ function isFolder(path) {
|
|
|
70
34
|
return false;
|
|
71
35
|
}
|
|
72
36
|
}
|
|
73
|
-
/** An absolute target in Windows' own namespace, which it stores as given. */
|
|
74
37
|
function verbatim(native) {
|
|
75
38
|
if (/^[A-Za-z]:\\/.test(native))
|
|
76
39
|
return `\\\\?\\${native}`;
|
|
@@ -78,4 +41,3 @@ function verbatim(native) {
|
|
|
78
41
|
return `\\\\?\\UNC\\${native.slice(2)}`;
|
|
79
42
|
return native;
|
|
80
43
|
}
|
|
81
|
-
//# sourceMappingURL=link-target.js.map
|
package/dist/local-host.js
CHANGED
|
@@ -24,11 +24,6 @@ export function localMount(config) {
|
|
|
24
24
|
},
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
/**
|
|
28
|
-
* A report that lists agents also says whether each native agent can run on
|
|
29
|
-
* this computer: the facts on every listed agent, and `harnesses` for all of
|
|
30
|
-
* them, because an agent is listed only once its config folder exists.
|
|
31
|
-
*/
|
|
32
27
|
async function withAvailability(response, availability) {
|
|
33
28
|
const report = await response.json();
|
|
34
29
|
if (!isRecord(report) || !Array.isArray(report.agents))
|
|
@@ -74,16 +69,6 @@ function readJson(path) {
|
|
|
74
69
|
return null;
|
|
75
70
|
}
|
|
76
71
|
}
|
|
77
|
-
/**
|
|
78
|
-
* This computer's provider login for an agent, answered by Chat's host auth
|
|
79
|
-
* module from the same login records its subscription executions copy into the
|
|
80
|
-
* agent's runtime home. Presence only, never contents, so this reports
|
|
81
|
-
* "configured" rather than "verified": an expired login surfaces as the first
|
|
82
|
-
* turn's own failure. An API key in the environment is BYOK material for a
|
|
83
|
-
* different auth mode and never reports a login. Agents whose login Chat does
|
|
84
|
-
* not read report nothing. The UI shows this status per computer and never for
|
|
85
|
-
* another machine.
|
|
86
|
-
*/
|
|
87
72
|
function providerLogin(config, harnessId) {
|
|
88
73
|
const configured = config.providerLogin?.(harnessId, config.home) ?? null;
|
|
89
74
|
if (configured === null)
|
|
@@ -112,4 +97,3 @@ async function fetchRequest(req, pathname) {
|
|
|
112
97
|
body: chunks.length ? Buffer.concat(chunks) : undefined,
|
|
113
98
|
});
|
|
114
99
|
}
|
|
115
|
-
//# sourceMappingURL=local-host.js.map
|
package/dist/loop-watch.js
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import { performance } from "node:perf_hooks";
|
|
2
2
|
import { emitFilesStage } from "./files-observability.js";
|
|
3
|
-
/** How long one turn of an event loop may hold before it is evidence. */
|
|
4
3
|
export const LOOP_BUDGET_MS = 1_000;
|
|
5
4
|
const TICK_MS = 100;
|
|
6
|
-
/**
|
|
7
|
-
* Nothing whose cost grows with data may hold an event loop, so status always
|
|
8
|
-
* answers. This is the one watch that catches the next thing that does: a
|
|
9
|
-
* timer that should fire every 100 ms and, when it fires more than `budgetMs`
|
|
10
|
-
* late, hears how long this process could answer nothing. Its cost is one
|
|
11
|
-
* timer, whatever the data.
|
|
12
|
-
*/
|
|
13
5
|
export function watchLoop(heard, budgetMs = LOOP_BUDGET_MS) {
|
|
14
6
|
let due = performance.now() + TICK_MS;
|
|
15
7
|
const timer = setInterval(() => {
|
|
@@ -22,16 +14,12 @@ export function watchLoop(heard, budgetMs = LOOP_BUDGET_MS) {
|
|
|
22
14
|
timer.unref();
|
|
23
15
|
return () => clearInterval(timer);
|
|
24
16
|
}
|
|
25
|
-
/** A runtime process's held loop as stage evidence: `at` is when the loop
|
|
26
|
-
* turned again; the hold began `durationMs` before it. */
|
|
27
17
|
export function watchLoopStages(process, observe) {
|
|
28
18
|
return watchLoop((heldMs) => emitFilesStage(observe, {
|
|
29
19
|
primitive: "runtime", stage: "loop-held", status: "observed",
|
|
30
20
|
durationMs: heldMs, measurements: { process },
|
|
31
21
|
}));
|
|
32
22
|
}
|
|
33
|
-
/** A call or reply that sat on the channel between the runtime and the Files
|
|
34
|
-
* program past the loop budget names which side it waited for. */
|
|
35
23
|
export function channelLate(observe, side, method, sentAt) {
|
|
36
24
|
const waitedMs = Date.now() - sentAt;
|
|
37
25
|
if (waitedMs <= LOOP_BUDGET_MS)
|
|
@@ -41,4 +29,3 @@ export function channelLate(observe, side, method, sentAt) {
|
|
|
41
29
|
durationMs: waitedMs, measurements: { method },
|
|
42
30
|
});
|
|
43
31
|
}
|
|
44
|
-
//# sourceMappingURL=loop-watch.js.map
|