@amalgm/shell 0.1.164-preview.36072132286 → 0.1.164-preview.36809057014
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PURPOSE.md +642 -128
- package/README.md +10 -8
- package/dist/accepted-tail.d.ts +26 -0
- package/dist/accepted-tail.js +37 -0
- package/dist/accepted-tail.js.map +1 -0
- package/dist/agent-execution.d.ts +16 -1
- package/dist/agent-execution.js +13 -5
- package/dist/agent-execution.js.map +1 -1
- package/dist/apply-cleanup.d.ts +28 -0
- package/dist/apply-cleanup.js +166 -0
- package/dist/apply-cleanup.js.map +1 -0
- package/dist/apply-recovery.d.ts +47 -0
- package/dist/apply-recovery.js +99 -0
- package/dist/apply-recovery.js.map +1 -0
- package/dist/apply-rows.d.ts +72 -0
- package/dist/apply-rows.js +150 -0
- package/dist/apply-rows.js.map +1 -0
- package/dist/apply-saves.d.ts +85 -0
- package/dist/apply-saves.js +238 -0
- package/dist/apply-saves.js.map +1 -0
- package/dist/boot.js +2 -1
- package/dist/boot.js.map +1 -1
- package/dist/capture-work.d.ts +8 -0
- package/dist/capture-work.js +67 -0
- package/dist/capture-work.js.map +1 -0
- package/dist/cargo-group.d.ts +45 -0
- package/dist/cargo-group.js +88 -0
- package/dist/cargo-group.js.map +1 -0
- package/dist/channel-session.d.ts +4 -2
- package/dist/channel-session.js +4 -3
- package/dist/channel-session.js.map +1 -1
- package/dist/chat-composition.d.ts +2 -0
- package/dist/chat-composition.js +1 -0
- package/dist/chat-composition.js.map +1 -1
- package/dist/cli.js +20 -1
- package/dist/cli.js.map +1 -1
- package/dist/construct-apply-host.d.ts +4 -2
- package/dist/construct-apply-host.js +8 -3
- package/dist/construct-apply-host.js.map +1 -1
- package/dist/construct-door.js +1 -1
- package/dist/construct-door.js.map +1 -1
- package/dist/construct-ledger.d.ts +6 -1
- package/dist/construct-ledger.js +21 -33
- package/dist/construct-ledger.js.map +1 -1
- package/dist/content-cache-collection.d.ts +18 -0
- package/dist/content-cache-collection.js +99 -0
- package/dist/content-cache-collection.js.map +1 -0
- package/dist/content-cache-host.d.ts +83 -17
- package/dist/content-cache-host.js +335 -95
- package/dist/content-cache-host.js.map +1 -1
- package/dist/content-cache-namespace.d.ts +59 -0
- package/dist/content-cache-namespace.js +210 -0
- package/dist/content-cache-namespace.js.map +1 -0
- package/dist/content-cache-ownership.d.ts +13 -0
- package/dist/content-cache-ownership.js +75 -0
- package/dist/content-cache-ownership.js.map +1 -0
- package/dist/content-cache-retention.d.ts +23 -0
- package/dist/content-cache-retention.js +195 -0
- package/dist/content-cache-retention.js.map +1 -0
- package/dist/content-capture-pool.d.ts +287 -0
- package/dist/content-capture-pool.js +461 -0
- package/dist/content-capture-pool.js.map +1 -0
- package/dist/content-capture-worker.d.ts +8 -0
- package/dist/content-capture-worker.js +109 -0
- package/dist/content-capture-worker.js.map +1 -0
- package/dist/content-clock.d.ts +42 -0
- package/dist/content-clock.js +166 -0
- package/dist/content-clock.js.map +1 -0
- package/dist/content-direct.d.ts +2 -0
- package/dist/content-direct.js +12 -0
- package/dist/content-direct.js.map +1 -1
- package/dist/content-failure.d.ts +18 -0
- package/dist/content-failure.js +38 -0
- package/dist/content-failure.js.map +1 -0
- package/dist/content-stream-thread.d.ts +60 -0
- package/dist/content-stream-thread.js +95 -0
- package/dist/content-stream-thread.js.map +1 -0
- package/dist/content-stream-worker.d.ts +7 -0
- package/dist/content-stream-worker.js +52 -0
- package/dist/content-stream-worker.js.map +1 -0
- package/dist/declaration-absorption.d.ts +37 -0
- package/dist/declaration-absorption.js +119 -0
- package/dist/declaration-absorption.js.map +1 -0
- package/dist/declaration-chain.d.ts +36 -0
- package/dist/declaration-chain.js +96 -0
- package/dist/declaration-chain.js.map +1 -0
- package/dist/declaration-commit.d.ts +31 -0
- package/dist/declaration-commit.js +49 -0
- package/dist/declaration-commit.js.map +1 -0
- package/dist/declaration-hold.d.ts +22 -0
- package/dist/declaration-hold.js +24 -0
- package/dist/declaration-hold.js.map +1 -0
- package/dist/declaration-journal.d.ts +62 -0
- package/dist/declaration-journal.js +99 -0
- package/dist/declaration-journal.js.map +1 -0
- package/dist/declaration-save.d.ts +31 -0
- package/dist/declaration-save.js +134 -0
- package/dist/declaration-save.js.map +1 -0
- package/dist/detection/accepted-result.d.ts +19 -1
- package/dist/detection/accepted-result.js +36 -5
- package/dist/detection/accepted-result.js.map +1 -1
- package/dist/detection/admission-save.d.ts +55 -0
- package/dist/detection/admission-save.js +48 -0
- package/dist/detection/admission-save.js.map +1 -0
- package/dist/detection/admission-units.d.ts +66 -0
- package/dist/detection/admission-units.js +322 -0
- package/dist/detection/admission-units.js.map +1 -0
- package/dist/detection/alias-discovery.d.ts +12 -0
- package/dist/detection/alias-discovery.js +80 -0
- package/dist/detection/alias-discovery.js.map +1 -0
- package/dist/detection/alias-examination.d.ts +30 -0
- package/dist/detection/alias-examination.js +49 -0
- package/dist/detection/alias-examination.js.map +1 -0
- package/dist/detection/apply-ownership.d.ts +81 -0
- package/dist/detection/apply-ownership.js +232 -0
- package/dist/detection/apply-ownership.js.map +1 -0
- package/dist/detection/basis-advanced.d.ts +11 -0
- package/dist/detection/basis-advanced.js +26 -0
- package/dist/detection/basis-advanced.js.map +1 -0
- package/dist/detection/capture-outcome.d.ts +16 -0
- package/dist/detection/capture-outcome.js +92 -0
- package/dist/detection/capture-outcome.js.map +1 -0
- package/dist/detection/container-membership.d.ts +32 -0
- package/dist/detection/container-membership.js +49 -0
- package/dist/detection/container-membership.js.map +1 -0
- package/dist/detection/detect-cancelled.d.ts +6 -0
- package/dist/detection/detect-cancelled.js +10 -0
- package/dist/detection/detect-cancelled.js.map +1 -0
- package/dist/detection/directory-proof.d.ts +47 -0
- package/dist/detection/directory-proof.js +77 -0
- package/dist/detection/directory-proof.js.map +1 -0
- package/dist/detection/disposition-rows.d.ts +18 -0
- package/dist/detection/disposition-rows.js +29 -0
- package/dist/detection/disposition-rows.js.map +1 -0
- package/dist/detection/dispositions.d.ts +130 -0
- package/dist/detection/dispositions.js +248 -0
- package/dist/detection/dispositions.js.map +1 -0
- package/dist/detection/git-notice.d.ts +88 -0
- package/dist/detection/git-notice.js +444 -0
- package/dist/detection/git-notice.js.map +1 -0
- package/dist/detection/ground-proof.d.ts +130 -0
- package/dist/detection/ground-proof.js +274 -0
- package/dist/detection/ground-proof.js.map +1 -0
- package/dist/detection/ground-reader.d.ts +29 -0
- package/dist/detection/ground-reader.js +102 -0
- package/dist/detection/ground-reader.js.map +1 -0
- package/dist/detection/held-territory.d.ts +51 -0
- package/dist/detection/held-territory.js +205 -0
- package/dist/detection/held-territory.js.map +1 -0
- package/dist/detection/identity-discovery.d.ts +45 -0
- package/dist/detection/identity-discovery.js +287 -0
- package/dist/detection/identity-discovery.js.map +1 -0
- package/dist/detection/maintenance-sweep.d.ts +108 -0
- package/dist/detection/maintenance-sweep.js +325 -0
- package/dist/detection/maintenance-sweep.js.map +1 -0
- package/dist/detection/name-reach.d.ts +12 -0
- package/dist/detection/name-reach.js +28 -0
- package/dist/detection/name-reach.js.map +1 -0
- package/dist/detection/notebook-basis.d.ts +5 -7
- package/dist/detection/notebook-basis.js +6 -7
- package/dist/detection/notebook-basis.js.map +1 -1
- package/dist/detection/owed-selection.d.ts +51 -0
- package/dist/detection/owed-selection.js +169 -0
- package/dist/detection/owed-selection.js.map +1 -0
- package/dist/detection/portable.d.ts +34 -34
- package/dist/detection/portable.js +67 -93
- package/dist/detection/portable.js.map +1 -1
- package/dist/detection/reconciliation-coverage.d.ts +7 -0
- package/dist/detection/reconciliation-coverage.js +16 -0
- package/dist/detection/reconciliation-coverage.js.map +1 -0
- package/dist/detection/repository-publication.d.ts +20 -0
- package/dist/detection/repository-publication.js +79 -0
- package/dist/detection/repository-publication.js.map +1 -0
- package/dist/detection/repository-routes.d.ts +43 -0
- package/dist/detection/repository-routes.js +97 -0
- package/dist/detection/repository-routes.js.map +1 -0
- package/dist/detection/root-examination.d.ts +94 -0
- package/dist/detection/root-examination.js +523 -0
- package/dist/detection/root-examination.js.map +1 -0
- package/dist/detection/runtime.d.ts +131 -64
- package/dist/detection/runtime.js +808 -1103
- package/dist/detection/runtime.js.map +1 -1
- package/dist/detection/scoped-identity-port.d.ts +34 -0
- package/dist/detection/scoped-identity-port.js +81 -0
- package/dist/detection/scoped-identity-port.js.map +1 -0
- package/dist/detection/seal-law.d.ts +66 -0
- package/dist/detection/seal-law.js +116 -0
- package/dist/detection/seal-law.js.map +1 -0
- package/dist/detection/sharing-policy.d.ts +11 -0
- package/dist/detection/sharing-policy.js +32 -0
- package/dist/detection/sharing-policy.js.map +1 -0
- package/dist/detection/thread-database.d.ts +4 -0
- package/dist/detection/thread-database.js +30 -0
- package/dist/detection/thread-database.js.map +1 -0
- package/dist/detection/unreadable.d.ts +11 -0
- package/dist/detection/unreadable.js +9 -0
- package/dist/detection/unreadable.js.map +1 -0
- package/dist/detection/verified-content.d.ts +6 -0
- package/dist/detection/verified-content.js +12 -0
- package/dist/detection/verified-content.js.map +1 -0
- package/dist/detection/walk-law.d.ts +34 -0
- package/dist/detection/walk-law.js +55 -0
- package/dist/detection/walk-law.js.map +1 -0
- package/dist/development/fly-guest.js +2 -1
- package/dist/development/fly-guest.js.map +1 -1
- package/dist/entity-apply-host.d.ts +29 -13
- package/dist/entity-apply-host.js +1426 -461
- package/dist/entity-apply-host.js.map +1 -1
- package/dist/entity-apply-store.d.ts +77 -30
- package/dist/entity-apply-store.js +221 -516
- package/dist/entity-apply-store.js.map +1 -1
- package/dist/entity-record-observability.js +2 -0
- package/dist/entity-record-observability.js.map +1 -1
- package/dist/entity-record-saves.d.ts +20 -0
- package/dist/entity-record-saves.js +91 -0
- package/dist/entity-record-saves.js.map +1 -0
- package/dist/entity-record-store.d.ts +15 -7
- package/dist/entity-record-store.js +57 -117
- package/dist/entity-record-store.js.map +1 -1
- package/dist/files-register-host.d.ts +22 -3
- package/dist/files-register-host.js +70 -31
- package/dist/files-register-host.js.map +1 -1
- package/dist/filesystem.js +3 -2
- package/dist/filesystem.js.map +1 -1
- package/dist/git-binding.d.ts +65 -0
- package/dist/git-binding.js +220 -0
- package/dist/git-binding.js.map +1 -0
- package/dist/git-capture.d.ts +39 -0
- package/dist/git-capture.js +86 -0
- package/dist/git-capture.js.map +1 -0
- package/dist/git-card.d.ts +12 -0
- package/dist/git-card.js +123 -0
- package/dist/git-card.js.map +1 -0
- package/dist/git-checkpoint-construction.d.ts +41 -0
- package/dist/git-checkpoint-construction.js +96 -0
- package/dist/git-checkpoint-construction.js.map +1 -0
- package/dist/git-checkpoint-preparation.d.ts +37 -0
- package/dist/git-checkpoint-preparation.js +145 -0
- package/dist/git-checkpoint-preparation.js.map +1 -0
- package/dist/git-command.d.ts +61 -8
- package/dist/git-command.js +217 -63
- package/dist/git-command.js.map +1 -1
- package/dist/git-configuration.d.ts +40 -0
- package/dist/git-configuration.js +217 -0
- package/dist/git-configuration.js.map +1 -0
- package/dist/git-evidence.d.ts +61 -0
- package/dist/git-evidence.js +181 -0
- package/dist/git-evidence.js.map +1 -0
- package/dist/git-index-entries.d.ts +15 -0
- package/dist/git-index-entries.js +44 -0
- package/dist/git-index-entries.js.map +1 -0
- package/dist/git-index-format.d.ts +35 -0
- package/dist/git-index-format.js +293 -0
- package/dist/git-index-format.js.map +1 -0
- package/dist/git-index-witness.d.ts +33 -0
- package/dist/git-index-witness.js +69 -0
- package/dist/git-index-witness.js.map +1 -0
- package/dist/git-literal-host.d.ts +82 -0
- package/dist/git-literal-host.js +172 -0
- package/dist/git-literal-host.js.map +1 -0
- package/dist/git-literal-read.d.ts +88 -0
- package/dist/git-literal-read.js +170 -0
- package/dist/git-literal-read.js.map +1 -0
- package/dist/git-literal-replay.d.ts +33 -0
- package/dist/git-literal-replay.js +268 -0
- package/dist/git-literal-replay.js.map +1 -0
- package/dist/git-native-file.d.ts +42 -0
- package/dist/git-native-file.js +145 -0
- package/dist/git-native-file.js.map +1 -0
- package/dist/git-native-index.d.ts +21 -0
- package/dist/git-native-index.js +44 -0
- package/dist/git-native-index.js.map +1 -0
- package/dist/git-operation-host.d.ts +48 -0
- package/dist/git-operation-host.js +127 -0
- package/dist/git-operation-host.js.map +1 -0
- package/dist/git-private-index.d.ts +11 -0
- package/dist/git-private-index.js +42 -0
- package/dist/git-private-index.js.map +1 -0
- package/dist/git-private-repository.d.ts +4 -0
- package/dist/git-private-repository.js +69 -0
- package/dist/git-private-repository.js.map +1 -0
- package/dist/git-private-view.d.ts +39 -0
- package/dist/git-private-view.js +162 -0
- package/dist/git-private-view.js.map +1 -0
- package/dist/git-ref-store.d.ts +12 -0
- package/dist/git-ref-store.js +68 -0
- package/dist/git-ref-store.js.map +1 -0
- package/dist/git-registration-host.d.ts +20 -30
- package/dist/git-registration-host.js +86 -249
- package/dist/git-registration-host.js.map +1 -1
- package/dist/git-repository-host.d.ts +148 -22
- package/dist/git-repository-host.js +633 -650
- package/dist/git-repository-host.js.map +1 -1
- package/dist/git-worktree-host.d.ts +2 -0
- package/dist/git-worktree-host.js +16 -0
- package/dist/git-worktree-host.js.map +1 -0
- package/dist/graph-publication.d.ts +75 -0
- package/dist/graph-publication.js +203 -0
- package/dist/graph-publication.js.map +1 -0
- package/dist/ground-basis.d.ts +242 -0
- package/dist/ground-basis.js +1023 -0
- package/dist/ground-basis.js.map +1 -0
- package/dist/ground-checkpoint-worker.d.ts +1 -0
- package/dist/ground-checkpoint-worker.js +84 -0
- package/dist/ground-checkpoint-worker.js.map +1 -0
- package/dist/ground-checkpoints.d.ts +16 -0
- package/dist/ground-checkpoints.js +45 -0
- package/dist/ground-checkpoints.js.map +1 -0
- package/dist/ground-coordination.d.ts +107 -3
- package/dist/ground-coordination.js +249 -24
- package/dist/ground-coordination.js.map +1 -1
- package/dist/ground-database.d.ts +42 -0
- package/dist/ground-database.js +290 -0
- package/dist/ground-database.js.map +1 -0
- package/dist/ground-differences.d.ts +23 -0
- package/dist/ground-differences.js +47 -0
- package/dist/ground-differences.js.map +1 -0
- package/dist/ground-holders.d.ts +4 -0
- package/dist/ground-holders.js +15 -0
- package/dist/ground-holders.js.map +1 -0
- package/dist/ground-initialization-worker.d.ts +1 -0
- package/dist/ground-initialization-worker.js +20 -0
- package/dist/ground-initialization-worker.js.map +1 -0
- package/dist/ground-initialization.d.ts +35 -0
- package/dist/ground-initialization.js +102 -0
- package/dist/ground-initialization.js.map +1 -0
- package/dist/ground-install-saves.d.ts +63 -0
- package/dist/ground-install-saves.js +139 -0
- package/dist/ground-install-saves.js.map +1 -0
- package/dist/ground-inventory-schema.d.ts +18 -0
- package/dist/ground-inventory-schema.js +168 -0
- package/dist/ground-inventory-schema.js.map +1 -0
- package/dist/ground-profile.d.ts +7 -0
- package/dist/ground-profile.js +52 -0
- package/dist/ground-profile.js.map +1 -0
- package/dist/ground-root-index.d.ts +2 -1
- package/dist/ground-root-index.js +16 -14
- package/dist/ground-root-index.js.map +1 -1
- package/dist/ground-row.d.ts +62 -0
- package/dist/ground-row.js +70 -0
- package/dist/ground-row.js.map +1 -0
- package/dist/ground-save-ops.d.ts +44 -0
- package/dist/ground-save-ops.js +41 -0
- package/dist/ground-save-ops.js.map +1 -0
- package/dist/ground-saver-worker.d.ts +1 -0
- package/dist/ground-saver-worker.js +156 -0
- package/dist/ground-saver-worker.js.map +1 -0
- package/dist/ground-saver.d.ts +75 -0
- package/dist/ground-saver.js +216 -0
- package/dist/ground-saver.js.map +1 -0
- package/dist/ground-store.d.ts +84 -0
- package/dist/ground-store.js +473 -0
- package/dist/ground-store.js.map +1 -0
- package/dist/ground-territory.d.ts +130 -0
- package/dist/ground-territory.js +511 -0
- package/dist/ground-territory.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/installation/ownership.d.ts +0 -2
- package/dist/installation/ownership.js +3 -15
- package/dist/installation/ownership.js.map +1 -1
- package/dist/machine-host.d.ts +3 -2
- package/dist/machine-host.js +28 -16
- package/dist/machine-host.js.map +1 -1
- package/dist/materialized-graph.d.ts +7 -7
- package/dist/materialized-graph.js +11 -23
- package/dist/materialized-graph.js.map +1 -1
- package/dist/module-thread.d.ts +9 -0
- package/dist/module-thread.js +10 -0
- package/dist/module-thread.js.map +1 -0
- package/dist/native/fsevents-stream.node +0 -0
- package/dist/physical-path-witness.d.ts +64 -0
- package/dist/physical-path-witness.js +168 -0
- package/dist/physical-path-witness.js.map +1 -0
- package/dist/register-upload-fusion.d.ts +5 -4
- package/dist/register-upload-fusion.js +9 -6
- package/dist/register-upload-fusion.js.map +1 -1
- package/dist/registry-graph.d.ts +3 -2
- package/dist/registry-graph.js +9 -6
- package/dist/registry-graph.js.map +1 -1
- package/dist/registry-page-cache.d.ts +5 -2
- package/dist/registry-page-cache.js.map +1 -1
- package/dist/repository-identity-steps.d.ts +5 -0
- package/dist/repository-identity-steps.js +33 -0
- package/dist/repository-identity-steps.js.map +1 -0
- package/dist/runtime-node-flags.d.ts +10 -0
- package/dist/runtime-node-flags.js +11 -0
- package/dist/runtime-node-flags.js.map +1 -0
- package/dist/service/adapter.d.ts +1 -1
- package/dist/service/adapter.js +1 -1
- package/dist/service/adapter.js.map +1 -1
- package/dist/service/cli.js +16 -20
- package/dist/service/cli.js.map +1 -1
- package/dist/service/control.d.ts +2 -2
- package/dist/service/keepalive.d.ts +4 -11
- package/dist/service/keepalive.js +65 -118
- package/dist/service/keepalive.js.map +1 -1
- package/dist/service/policy.d.ts +36 -0
- package/dist/service/policy.js +25 -0
- package/dist/service/policy.js.map +1 -0
- package/dist/service/portable.d.ts +1 -1
- package/dist/service/portable.js +1 -1
- package/dist/service/portable.js.map +1 -1
- package/dist/service/recovery.d.ts +10 -9
- package/dist/service/recovery.js +29 -19
- package/dist/service/recovery.js.map +1 -1
- package/dist/service/windows-action.d.ts +5 -3
- package/dist/service/windows-action.js +6 -9
- package/dist/service/windows-action.js.map +1 -1
- package/dist/service/windows-task.js +5 -5
- package/dist/service/windows-task.js.map +1 -1
- package/dist/sharing-admission.d.ts +17 -0
- package/dist/sharing-admission.js +128 -0
- package/dist/sharing-admission.js.map +1 -0
- package/dist/snapshot-delivery-baseline.d.ts +12 -3
- package/dist/snapshot-delivery-baseline.js +41 -42
- package/dist/snapshot-delivery-baseline.js.map +1 -1
- package/dist/source-proof.d.ts +36 -0
- package/dist/source-proof.js +70 -0
- package/dist/source-proof.js.map +1 -0
- package/dist/source-signature.d.ts +56 -0
- package/dist/source-signature.js +56 -0
- package/dist/source-signature.js.map +1 -0
- package/dist/source-witness.d.ts +15 -0
- package/dist/source-witness.js +29 -0
- package/dist/source-witness.js.map +1 -0
- package/dist/sqlite-durability.d.ts +31 -0
- package/dist/sqlite-durability.js +28 -0
- package/dist/sqlite-durability.js.map +1 -0
- package/dist/sqlite.d.ts +8 -2
- package/dist/sqlite.js +27 -4
- package/dist/sqlite.js.map +1 -1
- package/dist/sync-address.d.ts +19 -0
- package/dist/sync-address.js +52 -0
- package/dist/sync-address.js.map +1 -0
- package/dist/sync-setting.d.ts +15 -0
- package/dist/sync-setting.js +13 -0
- package/dist/sync-setting.js.map +1 -1
- package/dist/turns.d.ts +42 -0
- package/dist/turns.js +112 -0
- package/dist/turns.js.map +1 -0
- package/dist/updates/bootstrap.d.ts +53 -7
- package/dist/updates/bootstrap.js +224 -137
- package/dist/updates/bootstrap.js.map +1 -1
- package/dist/updates/controller.d.ts +8 -0
- package/dist/updates/controller.js +27 -3
- package/dist/updates/controller.js.map +1 -1
- package/dist/updates/store.d.ts +3 -0
- package/dist/updates/store.js +12 -0
- package/dist/updates/store.js.map +1 -1
- package/dist/user-ground-host.d.ts +364 -69
- package/dist/user-ground-host.js +5231 -3366
- package/dist/user-ground-host.js.map +1 -1
- package/dist/watching/fsevents.d.ts +52 -1
- package/dist/watching/fsevents.js +60 -25
- package/dist/watching/fsevents.js.map +1 -1
- package/dist/watching/host.d.ts +129 -5
- package/dist/watching/host.js +433 -80
- package/dist/watching/host.js.map +1 -1
- package/dist/watching/index.d.ts +1 -1
- package/dist/wire-binary.d.ts +3 -2
- package/dist/wire-binary.js +10 -8
- package/dist/wire-binary.js.map +1 -1
- package/dist/wire-client.d.ts +3 -4
- package/dist/wire-client.js +18 -44
- package/dist/wire-client.js.map +1 -1
- package/dist/wire-outbox.d.ts +34 -0
- package/dist/wire-outbox.js +127 -0
- package/dist/wire-outbox.js.map +1 -0
- package/dist/workspace-host.d.ts +4 -0
- package/dist/workspace-host.js +12 -1
- package/dist/workspace-host.js.map +1 -1
- package/examinations/fixtures/private-wire-authority.js +133 -10
- package/npm-shrinkwrap.json +43 -56
- package/package.json +26 -13
|
@@ -1,38 +1,154 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type BigIntStats } from "node:fs";
|
|
2
|
+
import { type EntityType, type RepoIdentityEntry, type RepoIdentityMap, type RepoState, type RepositoryTransportLayout } from "@amalgm/live";
|
|
3
|
+
import { type LiteralRepositoryView, type LiteralStats, type ProvenMembers } from "./git-literal-host.js";
|
|
4
|
+
import type { LiteralLane } from "./content-capture-pool.js";
|
|
5
|
+
import { type RevealGround } from "./git-literal-replay.js";
|
|
6
|
+
import { type PreparedLiteralCheckpoint } from "./git-checkpoint-preparation.js";
|
|
7
|
+
import { type CheckpointWorkingFile } from "./git-checkpoint-construction.js";
|
|
2
8
|
import { type DurableFile } from "./durability-barrier.js";
|
|
9
|
+
import type { GitConfigurationObservation } from "./git-configuration.js";
|
|
10
|
+
import { GitCapture } from "./git-capture.js";
|
|
11
|
+
import { type SourceProof } from "./source-proof.js";
|
|
12
|
+
/** One observation of a directory's `.git` entry. */
|
|
13
|
+
export interface GitMarker {
|
|
14
|
+
readonly physicalKey: string;
|
|
15
|
+
readonly kind: "directory" | "file" | "other";
|
|
16
|
+
}
|
|
17
|
+
/** What one lstat of a `.git` entry says. */
|
|
18
|
+
export declare const gitMarker: (marker: BigIntStats) => GitMarker;
|
|
19
|
+
/** The `.git` entry as it stands now; null when absent. */
|
|
20
|
+
export declare function observeGitMarker(directory: string): GitMarker | null;
|
|
3
21
|
/** Classification observes only the filesystem marker. Git command health
|
|
4
22
|
* belongs to Card + Checkpoint capture and cannot demote repository ground. */
|
|
5
|
-
export declare
|
|
23
|
+
export declare const marksRepository: (marker: GitMarker | null) => boolean;
|
|
24
|
+
export declare const hasGitMarker: (directory: string) => boolean;
|
|
25
|
+
/** The nested repositories a reading of `identity`'s repository must not enter. */
|
|
6
26
|
export declare function nestedRepositoryPaths(identity: readonly RepoIdentityEntry[]): string[];
|
|
7
27
|
export declare function markRepositoryReveal(repository: string): void;
|
|
8
28
|
export declare function repositoryRevealInProgress(repository: string): boolean;
|
|
29
|
+
/** One collected repository moment and the proof its owner must close. */
|
|
30
|
+
export interface ObservedRepository {
|
|
31
|
+
readonly capture: GitCapture;
|
|
32
|
+
readonly state: RepoState;
|
|
33
|
+
readonly view: LiteralRepositoryView;
|
|
34
|
+
readonly configuration: GitConfigurationObservation;
|
|
35
|
+
readonly proof: SourceProof;
|
|
36
|
+
}
|
|
37
|
+
/** Physical observation for publication. Selection and package sealing have
|
|
38
|
+
* not happened; the caller retains this source proof, unclosed, and its
|
|
39
|
+
* admission closes it once. */
|
|
40
|
+
export declare function observeRepositoryForPublication(capture: GitCapture, identity: readonly RepoIdentityEntry[], lane: LiteralLane, proven: ProvenMembers): Promise<ObservedRepository>;
|
|
41
|
+
/** Seal an observation when publication selected every observed member. No
|
|
42
|
+
* second Git/worktree observation is necessary; the original proof still
|
|
43
|
+
* closes once, at admission. */
|
|
44
|
+
export declare function captureObservedRepository(observed: ObservedRepository, identity: readonly RepoIdentityEntry[], observedIdentity: RepoIdentityMap, prior: PriorRepositoryTransport | null, previousIdentity: RepoIdentityMap | null): Promise<CapturedRepositoryTransport>;
|
|
9
45
|
export interface PriorRepositoryTransport {
|
|
10
46
|
readonly stateId: string;
|
|
11
47
|
readonly transportVersion: string;
|
|
12
48
|
readonly card: RepoState["card"];
|
|
13
49
|
readonly identityHash: string;
|
|
14
50
|
}
|
|
51
|
+
/** Content-addressed cache bytes are evidence, not ground. A cached head that
|
|
52
|
+
* cannot prove the row's declared state is a cache miss, never a Detect fault. */
|
|
53
|
+
export declare function readPriorRepositoryTransport(cacheDir: string, row: {
|
|
54
|
+
readonly type: string;
|
|
55
|
+
readonly payloadVersion: string | null;
|
|
56
|
+
readonly transportVersion: string | null;
|
|
57
|
+
} | null | undefined): Promise<PriorRepositoryTransport | null>;
|
|
58
|
+
/** A fresh local observation, distinct from a hash computed for comparison.
|
|
59
|
+
* The original source proof travels with the pair into Record's admission. */
|
|
60
|
+
export interface RepositoryObservationPair {
|
|
61
|
+
readonly uuid: string;
|
|
62
|
+
readonly absolutePath: string;
|
|
63
|
+
readonly payloadVersion: string;
|
|
64
|
+
readonly gitConfigurationObservation: string | null;
|
|
65
|
+
readonly physicalKey: string;
|
|
66
|
+
readonly filesystemMode: number;
|
|
67
|
+
readonly proof: SourceProof;
|
|
68
|
+
}
|
|
69
|
+
export declare function pairRepositoryObservation(uuid: string, directory: string, observed: ObservedRepository, identityHash: string): RepositoryObservationPair;
|
|
15
70
|
export interface CapturedRepositoryTransport extends PriorRepositoryTransport {
|
|
71
|
+
readonly capture: GitCapture;
|
|
72
|
+
readonly configuration: GitConfigurationObservation;
|
|
16
73
|
readonly state: RepoState;
|
|
74
|
+
readonly view: LiteralRepositoryView;
|
|
17
75
|
/** Identity sealed into this exact transport. Checkpoint untracked bytes
|
|
18
76
|
* are the payload witness for their matching UUID entries. */
|
|
19
|
-
readonly identity:
|
|
77
|
+
readonly identity: RepoIdentityMap;
|
|
20
78
|
/** null means the prior immutable transport is already the exact result. */
|
|
21
79
|
readonly bytes: Uint8Array | null;
|
|
80
|
+
/** Unclosed: the caller's admission closes it once. */
|
|
81
|
+
readonly proof: SourceProof;
|
|
82
|
+
}
|
|
83
|
+
/** One physical repository moment: Card + Checkpoint and the worktree
|
|
84
|
+
* namespace beneath one set of nested-repository boundaries. It names no
|
|
85
|
+
* identity, so every record Apply compares in one phase is judged from the
|
|
86
|
+
* same reading. Observing costs Card + Checkpoint reads, never a pack. */
|
|
87
|
+
export interface RepositoryReading {
|
|
88
|
+
readonly repository: string;
|
|
89
|
+
readonly boundaries: readonly string[];
|
|
90
|
+
readonly state: RepoState;
|
|
91
|
+
readonly view: LiteralRepositoryView;
|
|
92
|
+
readonly configuration: GitConfigurationObservation;
|
|
93
|
+
/** Every worktree member outside Git storage and Amalgm control. */
|
|
94
|
+
readonly members: ReadonlyMap<string, RepositoryMember>;
|
|
95
|
+
/** Closed when read. A later decision that trusts it closes it again. */
|
|
96
|
+
readonly proof: SourceProof;
|
|
22
97
|
}
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
|
|
26
|
-
|
|
98
|
+
/** A nested boundary is never entered; any other Git marker is a repository
|
|
99
|
+
* no identity can admit as ordinary ground. */
|
|
100
|
+
type RepositoryMember = {
|
|
101
|
+
readonly kind: "boundary";
|
|
102
|
+
readonly directory: boolean;
|
|
103
|
+
} | {
|
|
104
|
+
readonly kind: "repository";
|
|
105
|
+
} | {
|
|
106
|
+
readonly kind: "directory";
|
|
107
|
+
readonly stats: BigIntStats;
|
|
108
|
+
} | {
|
|
109
|
+
readonly kind: "leaf";
|
|
110
|
+
};
|
|
111
|
+
/** One reading judged against one identity: what Apply compares against a
|
|
112
|
+
* record. The expected identity's state holds only expected untracked
|
|
113
|
+
* members; the complete observed payload also holds the local remainder
|
|
114
|
+
* policy keeps unshared. */
|
|
115
|
+
export interface RepositoryObservation {
|
|
116
|
+
readonly stateId: string;
|
|
117
|
+
readonly identityHash: string;
|
|
118
|
+
/** Every expected member is present, and every other worktree member is
|
|
119
|
+
* accounted remainder that stays untracked and keeps its recorded type.
|
|
120
|
+
* Remainder is never required: its absence is only a fresh observation. */
|
|
121
|
+
readonly identityMatches: boolean;
|
|
122
|
+
readonly observedPayload: string;
|
|
123
|
+
/** Remainder still present, with fresh payloads and stats. */
|
|
124
|
+
readonly remainder: readonly RemainderObservation[];
|
|
125
|
+
readonly proof: SourceProof;
|
|
126
|
+
/** The complete observed payload paired with this moment's Git
|
|
127
|
+
* configuration, for the O row an owner writes for `uuid` at `directory`. */
|
|
128
|
+
pair(uuid: string, directory: string): RepositoryObservationPair;
|
|
129
|
+
}
|
|
130
|
+
export interface RemainderObservation {
|
|
131
|
+
readonly entry: RepoIdentityEntry;
|
|
132
|
+
readonly stats: LiteralStats | BigIntStats;
|
|
133
|
+
}
|
|
134
|
+
export declare function readRepository(repository: string, boundaries: readonly string[], lane: LiteralLane, ownReveal?: boolean): Promise<RepositoryReading>;
|
|
135
|
+
/** Judge one reading against one identity and the remainder it may keep.
|
|
136
|
+
* Remainder is accounted one member at a time, never by an excluded
|
|
137
|
+
* ancestor: it must keep its type and stay outside Git's index. */
|
|
138
|
+
export declare function judgeRepository(reading: RepositoryReading, identity: readonly RepoIdentityEntry[], remainder: readonly RepoIdentityEntry[]): RepositoryObservation;
|
|
27
139
|
/** One observed repository moment reproduces one immutable transport exactly
|
|
28
|
-
* when its state
|
|
140
|
+
* when its complete Git state and identity map agree with it. */
|
|
29
141
|
export declare function repositoryObservationMatches(observed: RepositoryObservation, identity: readonly RepoIdentityEntry[], prior: PriorRepositoryTransport): boolean;
|
|
30
|
-
/**
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
142
|
+
/** A selected member's bytes with the type they classify as. */
|
|
143
|
+
export interface SelectedRepositoryLeaf extends CheckpointWorkingFile {
|
|
144
|
+
readonly type: Extract<EntityType, "file.text" | "file.binary" | "link">;
|
|
145
|
+
}
|
|
146
|
+
/** Compile the selected working files over the observed native Git history,
|
|
147
|
+
* index and continuation. Retained members keep their advertised content
|
|
148
|
+
* witnesses; immutable byte sources never become physical stat evidence.
|
|
149
|
+
* Every other selected member is read once, on a content thread, and must
|
|
150
|
+
* reproduce the type and payload its entry declares. */
|
|
151
|
+
export declare function captureSelectedRepository(observed: ObservedRepository, identity: readonly RepoIdentityEntry[], retained: ReadonlyMap<string, SelectedRepositoryLeaf>, lane: LiteralLane, prior: PriorRepositoryTransport | null, previousIdentity: RepoIdentityMap | null): Promise<CapturedRepositoryTransport>;
|
|
36
152
|
export interface AppliedRepositoryState {
|
|
37
153
|
readonly stateId: string;
|
|
38
154
|
readonly cardId: string;
|
|
@@ -41,25 +157,35 @@ export interface AppliedRepositoryState {
|
|
|
41
157
|
readonly transportVersion: string;
|
|
42
158
|
readonly identity: readonly RepoIdentityEntry[];
|
|
43
159
|
readonly durableFiles: readonly DurableFile[];
|
|
160
|
+
/** The closed readback that proved the reveal, for Verify to consume. */
|
|
161
|
+
readonly reading: RepositoryReading;
|
|
44
162
|
}
|
|
45
|
-
/** Materialize a complete transport chain and then re-derive its semantic
|
|
46
|
-
* state. The oldest node must be self-contained; every later node must name
|
|
47
|
-
* the exact predecessor whose Git objects and identity map it extends. */
|
|
48
|
-
export declare function applyRepository(repository: string, chain: readonly Uint8Array[]): AppliedRepositoryState;
|
|
49
163
|
export interface SealedRepositoryTransport {
|
|
50
164
|
readonly file: string;
|
|
51
165
|
readonly transportVersion: string;
|
|
52
166
|
}
|
|
53
|
-
|
|
167
|
+
/** A transport's layout from its header alone; the pack and Checkpoint
|
|
168
|
+
* bytes it locates are never read. */
|
|
169
|
+
export declare function inspectRepositoryTransportFile(file: string): Promise<RepositoryTransportLayout>;
|
|
54
170
|
/** Seal the compact full identity frontier beside the current transport. The
|
|
55
171
|
* evidence is disposable, but its content is accepted only when its hash
|
|
56
172
|
* equals the immutable transport header that names it. */
|
|
57
|
-
export declare function sealCachedRepositoryIdentity(cacheDir: string, transportVersion: string, identity:
|
|
173
|
+
export declare function sealCachedRepositoryIdentity(cacheDir: string, transportVersion: string, identity: RepoIdentityMap, identityHash: string): Promise<void>;
|
|
58
174
|
/** Reconstruct the exact identity map named by one cached immutable
|
|
59
175
|
* repository transport. Compact sealed evidence survives ancestor-pack
|
|
60
176
|
* pruning; without it, a complete cached chain is replayed once and seals the
|
|
61
177
|
* frontier. No mutable entity row can substitute for either proof. */
|
|
62
|
-
export declare function readCachedRepositoryIdentity(cacheDir: string, transportVersion: string):
|
|
178
|
+
export declare function readCachedRepositoryIdentity(cacheDir: string, transportVersion: string): Promise<RepoIdentityMap | null>;
|
|
179
|
+
/** Recover retained working bytes from their immutable transport chain. This
|
|
180
|
+
* owns private Git objects only; it never checks out files or touches the live
|
|
181
|
+
* repository, its index, refs, or metadata. The caller must close the result. */
|
|
182
|
+
export declare function prepareRepositoryFiles(chain: readonly SealedRepositoryTransport[]): Promise<{
|
|
183
|
+
readonly layout: RepositoryTransportLayout;
|
|
184
|
+
readonly identity: readonly RepoIdentityEntry[];
|
|
185
|
+
readonly checkpoint: PreparedLiteralCheckpoint;
|
|
186
|
+
close(): Promise<void>;
|
|
187
|
+
}>;
|
|
63
188
|
/** Apply sealed repository artifacts by streaming each Git range directly
|
|
64
189
|
* into index-pack. Download already verified each complete transport hash. */
|
|
65
|
-
export declare function applyRepositoryFiles(repository: string, chain: readonly SealedRepositoryTransport[]): Promise<AppliedRepositoryState>;
|
|
190
|
+
export declare function applyRepositoryFiles(repository: string, chain: readonly SealedRepositoryTransport[], ground: RevealGround): Promise<AppliedRepositoryState>;
|
|
191
|
+
export {};
|