@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,89 +1,156 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The named Detect lane.
|
|
3
|
-
*
|
|
4
|
-
* A watcher path that still names enrolled, non-repository ground does not
|
|
5
|
-
* justify a workspace walk. This runtime holds one SQLite connection,
|
|
6
|
-
* resolves indexed paths, widens only to a named new folder's subtree, and
|
|
7
|
-
* commits exact Live proposals plus local truth in one transaction. Evidence
|
|
8
|
-
* it cannot prove is declined before mutation and goes to reconciliation in
|
|
9
|
-
* the owning host.
|
|
10
|
-
*/
|
|
11
1
|
import { type LocalEntityRecord, type SuspicionSnapshot } from "@amalgm/live";
|
|
2
|
+
import { type GroundWriteEvidence, type GroundTransition } from "../ground-store.js";
|
|
3
|
+
import { type GroundBasis } from "../ground-basis.js";
|
|
4
|
+
import { type GroundLease } from "../ground-coordination.js";
|
|
5
|
+
import { type RepositoryRoutes } from "./repository-routes.js";
|
|
6
|
+
import { type ApplyOwnershipBlocker } from "./apply-ownership.js";
|
|
7
|
+
import { type ReadyCollection } from "./dispositions.js";
|
|
12
8
|
export interface NamedObservation {
|
|
13
9
|
readonly directory: string;
|
|
14
10
|
readonly suspicion: SuspicionSnapshot;
|
|
15
11
|
}
|
|
16
12
|
export interface NamedDetectEvidence {
|
|
17
13
|
readonly directory: string;
|
|
18
|
-
readonly paths: number;
|
|
19
14
|
readonly metadataReads: number;
|
|
15
|
+
/** Leaves whose exact metadata permitted content reuse in this capture. */
|
|
16
|
+
readonly metadataReused: number;
|
|
20
17
|
readonly contentReads: number;
|
|
21
18
|
readonly gitInspections: number;
|
|
22
19
|
readonly repositoryCaptures: number;
|
|
23
20
|
readonly plannedRows: number;
|
|
24
21
|
readonly records: number;
|
|
22
|
+
/** Results Build settled against an exact accepted result: no record. */
|
|
23
|
+
readonly settled: number;
|
|
25
24
|
readonly recordBytes: number;
|
|
26
25
|
readonly durationMs: number;
|
|
27
26
|
}
|
|
28
|
-
export interface
|
|
29
|
-
|
|
27
|
+
export interface NamedGitTimings {
|
|
28
|
+
/** Waiting for bindings still being discovered. */
|
|
29
|
+
readonly discoveryWaitMs: number;
|
|
30
|
+
/** Routing notice paths, consumed-binding checks included. */
|
|
31
|
+
readonly routeMs: number;
|
|
32
|
+
/** Asking Git again for consumed answers its witnesses cannot close. */
|
|
33
|
+
readonly semanticMs: number;
|
|
34
|
+
}
|
|
35
|
+
/** One named attempt's phases, in order: reader and ownership snapshot,
|
|
36
|
+
* repository membership, Git routing and directory proofs, address checks
|
|
37
|
+
* and byte reads, cache durability, the semantic close, the in-process ready
|
|
38
|
+
* registration, the admission transaction, and what a changed policy newly
|
|
39
|
+
* includes. */
|
|
40
|
+
declare const NAMED_PHASES: readonly ["open", "members", "route", "collect", "durable", "close", "ready", "admit", "include"];
|
|
41
|
+
export type NamedPhase = typeof NAMED_PHASES[number];
|
|
42
|
+
export interface NamedTimings {
|
|
43
|
+
/** Milliseconds per reached phase, each since the previous reached mark. */
|
|
44
|
+
readonly phases: Readonly<Partial<Record<NamedPhase, number>>>;
|
|
45
|
+
readonly git: NamedGitTimings | null;
|
|
46
|
+
}
|
|
47
|
+
/** The proof a named notice lacked, which decides the wider scope it needs. */
|
|
48
|
+
export type NamedWidenProof =
|
|
49
|
+
/** Git storage was named: routing changed. */
|
|
50
|
+
"structural-path"
|
|
51
|
+
/** The Watch root, or a named path, has no indexed active identity. */
|
|
52
|
+
| "unindexed-root" | "unindexed-path"
|
|
53
|
+
/** The named ground is gone: absence needs the complete membership. */
|
|
54
|
+
| "absent-path"
|
|
55
|
+
/** The notice names a root itself, which only reconciliation observes. */
|
|
56
|
+
| "root-path"
|
|
57
|
+
/** A leaf inside repository territory changes that repository's state. */
|
|
58
|
+
| "repository-enclosed"
|
|
59
|
+
/** The named ground's kind or sharing state differs from its row. */
|
|
60
|
+
| "kind-changed" | "unshared-leaf"
|
|
61
|
+
/** A leaf's identity depends on ground beyond its scoped closure. */
|
|
62
|
+
| "identity-unproved"
|
|
63
|
+
/** The leaf's address or its ancestor spine changed. */
|
|
64
|
+
| "address-changed"
|
|
65
|
+
/** Selecting the leaves would change sharing outside them. */
|
|
66
|
+
| "scope-exceeded"
|
|
67
|
+
/** The directory spine could not bind the name to one identity. */
|
|
68
|
+
| "named-directory"
|
|
69
|
+
/** A Git storage notice has consumers in other roots. */
|
|
70
|
+
| "git-notice-consumer"
|
|
71
|
+
/** A link reaching a workspace binding is a managed reference, which the
|
|
72
|
+
* complete lane reconciles with the declaration that owns it. */
|
|
73
|
+
| "managed-reference"
|
|
74
|
+
/** Named ground exists but could not be read; reconciliation records the gap. */
|
|
75
|
+
| "unreadable";
|
|
76
|
+
/** One explicit answer per named examination. Every non-settling answer keeps
|
|
77
|
+
* the Watch generation pending; a fault is thrown, never reported as one of
|
|
78
|
+
* these. Partial progress (committed groups) rides every answer. */
|
|
79
|
+
export type NamedDetectOutcome = {
|
|
30
80
|
readonly evidence: readonly NamedDetectEvidence[];
|
|
31
|
-
/**
|
|
32
|
-
readonly
|
|
33
|
-
/**
|
|
34
|
-
|
|
81
|
+
/** Successfully observed identities, including local-only ground. */
|
|
82
|
+
readonly observedEntityIds: readonly string[];
|
|
83
|
+
/** Other addresses a committed examination found changed but did not
|
|
84
|
+
* examine; each still owes its own examination. */
|
|
85
|
+
readonly examine?: readonly string[];
|
|
86
|
+
/** Where this attempt spent its time. */
|
|
87
|
+
readonly timings?: NamedTimings;
|
|
88
|
+
} & (
|
|
89
|
+
/** Committed: at least one Record, no Record, or only policy-excluded leaves. */
|
|
90
|
+
{
|
|
91
|
+
readonly kind: "recorded" | "unchanged" | "excluded";
|
|
92
|
+
}
|
|
93
|
+
/** The source moved during observation or admission. Re-read on a new
|
|
94
|
+
* basis: once the crossing effect releases, or after the racy-source timer. */
|
|
95
|
+
| {
|
|
96
|
+
readonly kind: "retry";
|
|
97
|
+
readonly reason: string;
|
|
98
|
+
readonly after: "ground-release" | "timer";
|
|
35
99
|
}
|
|
100
|
+
/** Apply owns part of this ground; no protected observation may settle. */
|
|
101
|
+
| {
|
|
102
|
+
readonly kind: "deferred";
|
|
103
|
+
readonly owners: readonly ApplyOwnershipBlocker[];
|
|
104
|
+
}
|
|
105
|
+
/** Named evidence cannot prove this. `roots` is the destination scope. */
|
|
106
|
+
| {
|
|
107
|
+
readonly kind: "widen";
|
|
108
|
+
readonly proof: NamedWidenProof;
|
|
109
|
+
readonly detail?: string;
|
|
110
|
+
readonly roots: readonly string[] | "domain";
|
|
111
|
+
});
|
|
36
112
|
export interface NamedRecordCommitEvidence {
|
|
113
|
+
readonly ground?: GroundWriteEvidence;
|
|
37
114
|
readonly durationMs: number;
|
|
38
115
|
readonly records: readonly LocalEntityRecord[];
|
|
39
116
|
}
|
|
40
|
-
/**
|
|
117
|
+
/** Passive evidence of one successful outer Record commit, including B-only
|
|
118
|
+
* projection changes. It is not another product journal or admission input. */
|
|
119
|
+
export interface DetectCommitEvidence {
|
|
120
|
+
readonly changes: readonly GroundTransition[];
|
|
121
|
+
/** Exact strings inserted into Outbox, detached from mutable proposals. */
|
|
122
|
+
readonly records: readonly string[];
|
|
123
|
+
}
|
|
124
|
+
/** One persistent, prepared Detect store. It owns no Watch or Send behavior;
|
|
125
|
+
* attempts on different roots run concurrently, each with its own state. */
|
|
41
126
|
export declare class NamedDetectRuntime {
|
|
42
|
-
private readonly
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
private readonly rowsAtPhysicalIdentity;
|
|
50
|
-
private readonly notebookChildren;
|
|
51
|
-
private readonly materializedSiblings;
|
|
52
|
-
/** One frozen sibling snapshot per Detect pass: collision-derived names
|
|
53
|
-
* are computed once per parent, never once per captured file. */
|
|
54
|
-
private readonly slotNamesByParent;
|
|
55
|
-
private readonly materializedByUuid;
|
|
56
|
-
private readonly writeEntity;
|
|
57
|
-
private readonly writeNotebook;
|
|
58
|
-
private readonly appendRecord;
|
|
59
|
-
private readonly receivedThrough;
|
|
60
|
-
private readonly acceptedInbox;
|
|
61
|
-
private readonly onRecordCommit?;
|
|
62
|
-
private userPolicy;
|
|
63
|
-
private walkedEntries;
|
|
64
|
-
constructor(databaseFile: string, cacheDir: string, userRoot: string, onRecordCommit?: (evidence: NamedRecordCommitEvidence) => void);
|
|
127
|
+
private readonly store;
|
|
128
|
+
constructor(databaseFile: string, cacheDir: string, bindingDir: string, onRecordCommit?: (evidence: NamedRecordCommitEvidence) => void, measureGround?: () => boolean, onDetectCommit?: (evidence: DetectCommitEvidence) => void,
|
|
129
|
+
/** Rings a checkout whose Git binding was refreshed after its witness moved. */
|
|
130
|
+
rebound?: (checkout: string) => void);
|
|
131
|
+
/** Startup discovery binds every enrolled repository in the background, so
|
|
132
|
+
* no first notice pays for all of them. */
|
|
133
|
+
discover(): void;
|
|
65
134
|
close(): void;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
*
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
private readUserPolicy;
|
|
87
|
-
private uniqueMovedBase;
|
|
88
|
-
private replayFor;
|
|
135
|
+
/** The repositories escalated names reach, by this runtime's Git bindings. */
|
|
136
|
+
repositoryRoutes(directory: string, paths: readonly string[]): Promise<RepositoryRoutes>;
|
|
137
|
+
/** Named names split by the lane that proves them. A name in Git storage or
|
|
138
|
+
* inside an indexed repository belongs to its repository's examination;
|
|
139
|
+
* every other name is proved as a named leaf. The index is only a routing
|
|
140
|
+
* hint: each lane re-reads the real routes, and a wrong hint widens. */
|
|
141
|
+
repositoryNames(directory: string, paths: readonly string[]): {
|
|
142
|
+
readonly leaves: readonly string[];
|
|
143
|
+
readonly repositories: readonly string[];
|
|
144
|
+
};
|
|
145
|
+
/** A blocked batch does not own unrelated named leaves. Retry its independent
|
|
146
|
+
* names without settling the original Watch generation. */
|
|
147
|
+
detectAvailable(observation: NamedObservation, register: (unit: string, basis: GroundBasis) => ReadyCollection, lease: GroundLease): Promise<NamedDetectOutcome>;
|
|
148
|
+
/** The physical footprint a lane's proof of these paths reads: each path's
|
|
149
|
+
* subtree, or its nearest indexed repository's whole root and any Git
|
|
150
|
+
* storage kept outside it, plus the root's enrollment policy. Ancestors
|
|
151
|
+
* need no lease of their own: an effect on any ancestor overlaps these
|
|
152
|
+
* cones. An index that changes before admission fails the ground basis
|
|
153
|
+
* there; storage the observed binding names must lie inside the lease. */
|
|
154
|
+
footprint(directory: string, paths: readonly string[]): string[];
|
|
89
155
|
}
|
|
156
|
+
export {};
|