@amalgm/shell 0.1.164-preview.44386772850 → 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.
Files changed (1038) hide show
  1. package/dist/accepted-fold.js +0 -36
  2. package/dist/accepted-tail.js +0 -3
  3. package/dist/accepted-view.js +0 -1
  4. package/dist/agent-execution.js +0 -2
  5. package/dist/agent-instructions.js +0 -6
  6. package/dist/apply-attempt-memory.js +0 -5
  7. package/dist/apply-control.js +0 -50
  8. package/dist/apply-displaced-tree.js +0 -51
  9. package/dist/apply-durability.js +0 -16
  10. package/dist/apply-enter-build.js +2 -46
  11. package/dist/apply-enter-plan.js +0 -59
  12. package/dist/apply-fingerprint.js +0 -21
  13. package/dist/apply-git-held.js +4 -90
  14. package/dist/apply-git-storage.js +2 -38
  15. package/dist/apply-kept.js +0 -40
  16. package/dist/apply-local-work.js +0 -12
  17. package/dist/apply-map.js +18 -122
  18. package/dist/apply-showing.js +0 -71
  19. package/dist/apply-shown-again.js +0 -22
  20. package/dist/apply-spelling.js +0 -31
  21. package/dist/apply-trash-keep.js +5 -28
  22. package/dist/apply-window-cargo.js +0 -55
  23. package/dist/apply-window-ground.js +9 -71
  24. package/dist/apply-window-host.js +42 -421
  25. package/dist/apply-window-lane.js +0 -73
  26. package/dist/apply-window-line.js +0 -33
  27. package/dist/apply-window-recovery.js +0 -26
  28. package/dist/apply-window-reveal.js +0 -32
  29. package/dist/apply-window-rows.js +0 -53
  30. package/dist/apply-window-saves.js +0 -184
  31. package/dist/apply-window-store.js +0 -61
  32. package/dist/apply-window-verify.js +0 -42
  33. package/dist/authority-binding.js +0 -28
  34. package/dist/authorization/device-key.js +0 -1
  35. package/dist/authorization/index.js +0 -2
  36. package/dist/authorization/issuer.js +0 -1
  37. package/dist/authorization/key-store.js +0 -1
  38. package/dist/authorization/native-keyring.js +0 -1
  39. package/dist/authorization/recovery-client.js +0 -2
  40. package/dist/authorization/recovery-host.js +0 -1
  41. package/dist/authorization/recovery.js +0 -3
  42. package/dist/authorization/registration-http.js +0 -2
  43. package/dist/authorization/secret-process.js +0 -2
  44. package/dist/authorization/setup-http.js +0 -1
  45. package/dist/automations-cli-host.js +0 -2
  46. package/dist/background-error.js +0 -5
  47. package/dist/baseline-content.js +0 -3
  48. package/dist/billing/cli.js +0 -10
  49. package/dist/billing/mount.js +0 -1
  50. package/dist/billing/tools.js +0 -3
  51. package/dist/boot-identity.js +0 -12
  52. package/dist/browser-host.js +0 -15
  53. package/dist/builtin-agents.js +0 -8
  54. package/dist/capture-work.js +0 -9
  55. package/dist/captured-rows.js +4 -6
  56. package/dist/cargo-group.js +0 -48
  57. package/dist/cargo-journal.js +0 -36
  58. package/dist/channel-session.js +0 -9
  59. package/dist/chat-composition.js +0 -4
  60. package/dist/chat-host.js +0 -4
  61. package/dist/chat-toolbox.js +0 -2
  62. package/dist/chat-tools.js +0 -3
  63. package/dist/cli-arguments.js +17 -3
  64. package/dist/cli-commands.js +272 -0
  65. package/dist/cli.js +24 -72
  66. package/dist/construct-apply-host.js +0 -24
  67. package/dist/construct-door.js +3 -15
  68. package/dist/construct-ledger.js +3 -21
  69. package/dist/construct-products.js +0 -7
  70. package/dist/content-cache-collection.js +1 -27
  71. package/dist/content-cache-fences.js +0 -30
  72. package/dist/content-cache-host.js +0 -216
  73. package/dist/content-cache-index.js +0 -24
  74. package/dist/content-cache-namespace.js +0 -52
  75. package/dist/content-cache-partials.js +0 -23
  76. package/dist/content-cache-retention.js +1 -53
  77. package/dist/content-capture-pool.js +6 -134
  78. package/dist/content-capture-worker.js +4 -14
  79. package/dist/content-clock.js +1 -177
  80. package/dist/content-direct.js +0 -39
  81. package/dist/content-failure.js +0 -8
  82. package/dist/content-qualification.js +0 -56
  83. package/dist/content-wire-codec.js +0 -8
  84. package/dist/credentials-host.js +0 -2
  85. package/dist/derived-relocation.js +0 -27
  86. package/dist/detection/accepted-result.js +0 -14
  87. package/dist/detection/admission-save.js +0 -10
  88. package/dist/detection/admission-units.js +3 -93
  89. package/dist/detection/alias-discovery.js +0 -19
  90. package/dist/detection/alias-examination.js +0 -22
  91. package/dist/detection/apply-ownership.js +4 -52
  92. package/dist/detection/basis-advanced.js +0 -11
  93. package/dist/detection/cached-replay.js +0 -20
  94. package/dist/detection/capture-outcome.js +0 -20
  95. package/dist/detection/container-membership.js +0 -19
  96. package/dist/detection/detect-cancelled.js +0 -3
  97. package/dist/detection/directory-proof.js +0 -20
  98. package/dist/detection/dispositions.js +0 -29
  99. package/dist/detection/examinations.js +0 -32
  100. package/dist/detection/ground-proof.js +20 -130
  101. package/dist/detection/ground-reader.js +0 -9
  102. package/dist/detection/identity-discovery.js +15 -60
  103. package/dist/detection/maintenance-sweep.js +1 -73
  104. package/dist/detection/notebook-basis.js +1 -5
  105. package/dist/detection/owed-examinations.js +0 -4
  106. package/dist/detection/owed-selection.js +14 -40
  107. package/dist/detection/policy-owed.js +165 -26
  108. package/dist/detection/racy-close.js +46 -0
  109. package/dist/detection/reconciliation-coverage.js +0 -4
  110. package/dist/detection/repository-state.js +6 -56
  111. package/dist/detection/reveal-save.js +0 -2
  112. package/dist/detection/root-examination.js +32 -105
  113. package/dist/detection/root-walk.js +98 -295
  114. package/dist/detection/runtime.js +57 -153
  115. package/dist/detection/scope-frame.js +1 -37
  116. package/dist/detection/scoped-identity-port.js +0 -21
  117. package/dist/detection/sealed-folders.js +57 -0
  118. package/dist/detection/skip-policy.js +185 -0
  119. package/dist/detection/spelled-lookup.js +0 -19
  120. package/dist/detection/storage-holder.js +60 -0
  121. package/dist/detection/thread-database.js +0 -9
  122. package/dist/detection/unread-content.js +0 -13
  123. package/dist/detection/unreadable.js +0 -3
  124. package/dist/detection/walk-law.js +0 -20
  125. package/dist/detection/walked-roots.js +0 -6
  126. package/dist/detection/withheld.js +0 -46
  127. package/dist/development/fly-guest.js +0 -3
  128. package/dist/development/fly.js +2 -11
  129. package/dist/development/profile.js +0 -8
  130. package/dist/drive/cloud-files/asks.js +5 -48
  131. package/dist/drive/cloud-files/binding.js +0 -14
  132. package/dist/drive/cloud-files/contents.js +14 -57
  133. package/dist/drive/cloud-files/door.js +5 -45
  134. package/dist/drive/cloud-files/paths.js +4 -37
  135. package/dist/drive/cloud-files/populated.js +0 -14
  136. package/dist/drive/cloud-files/reconcile.js +18 -97
  137. package/dist/drive/cloud-files/sync-root.js +7 -21
  138. package/dist/drive/cloud-files/turns.js +0 -25
  139. package/dist/drive/cloud-files/writes.js +19 -122
  140. package/dist/drive/computer.js +0 -19
  141. package/dist/drive/fuse-opens.js +0 -31
  142. package/dist/drive/fuse.js +23 -43
  143. package/dist/drive/kept.js +32 -80
  144. package/dist/drive/kernel.js +12 -24
  145. package/dist/drive/layout.js +31 -20
  146. package/dist/drive/mount.js +53 -125
  147. package/dist/drive/mountpoint.js +0 -19
  148. package/dist/drive/names.js +17 -0
  149. package/dist/drive/nfs/apple-double.js +4 -29
  150. package/dist/drive/nfs/attributes.js +3 -19
  151. package/dist/drive/nfs/handles.js +0 -37
  152. package/dist/drive/nfs/mount3.js +0 -4
  153. package/dist/drive/nfs/nfs3.js +4 -65
  154. package/dist/drive/nfs/rpc.js +0 -19
  155. package/dist/drive/nfs/server.js +0 -14
  156. package/dist/drive/nfs/xdr.js +0 -15
  157. package/dist/drive/nfs.js +34 -90
  158. package/dist/drive/operations.js +46 -120
  159. package/dist/drive/shelf.js +0 -12
  160. package/dist/drive-maps.js +54 -0
  161. package/dist/drive-program/client.js +128 -0
  162. package/dist/drive-program/ports.js +49 -0
  163. package/dist/drive-program/program.js +82 -0
  164. package/dist/drive-program/protocol.js +2 -0
  165. package/dist/durability-barrier.js +0 -60
  166. package/dist/entity-access-wire.js +0 -9
  167. package/dist/entity-channel-holdings.js +0 -17
  168. package/dist/entity-grant-watch.js +0 -8
  169. package/dist/entity-record-observability.js +0 -4
  170. package/dist/entity-record-saves.js +0 -23
  171. package/dist/entity-record-store.js +0 -51
  172. package/dist/error-facts.js +1 -3
  173. package/dist/faults/drain.js +2 -32
  174. package/dist/faults/queue.js +0 -22
  175. package/dist/faults/show.js +0 -6
  176. package/dist/file-time.js +21 -0
  177. package/dist/files-browser-host.js +15 -7
  178. package/dist/files-mcp-host.js +0 -6
  179. package/dist/files-observability.js +0 -1
  180. package/dist/files-program/client.js +90 -320
  181. package/dist/files-program/journeys.js +0 -4
  182. package/dist/files-program/program.js +67 -162
  183. package/dist/files-program/protocol.js +0 -5
  184. package/dist/files-register-host.js +8 -56
  185. package/dist/files-trace.js +0 -39
  186. package/dist/files-watch-host.js +226 -0
  187. package/dist/filesystem.js +0 -39
  188. package/dist/flush.js +0 -37
  189. package/dist/forward.js +0 -8
  190. package/dist/gateway.js +0 -9
  191. package/dist/git/ground-owners.js +0 -11
  192. package/dist/git/held-package.js +0 -43
  193. package/dist/git/home.js +79 -67
  194. package/dist/git/marker.js +0 -9
  195. package/dist/git/named-objects.js +0 -32
  196. package/dist/git/objects.js +0 -23
  197. package/dist/git/play.js +0 -42
  198. package/dist/git/quarantine.js +0 -47
  199. package/dist/git/rail.js +55 -286
  200. package/dist/git/read-state.js +8 -70
  201. package/dist/git/repository.js +0 -43
  202. package/dist/git/write-files.js +16 -84
  203. package/dist/git-binding.js +58 -80
  204. package/dist/git-cat-file.js +0 -18
  205. package/dist/git-command.js +1 -71
  206. package/dist/git-index-entries.js +0 -5
  207. package/dist/git-index-format.js +0 -71
  208. package/dist/git-install-lines.js +0 -2
  209. package/dist/git-launcher-process.js +0 -19
  210. package/dist/git-launcher.js +1 -33
  211. package/dist/git-proven-blobs.js +48 -0
  212. package/dist/graph-heads.js +0 -14
  213. package/dist/ground-basis.js +1 -183
  214. package/dist/ground-checkpoint-worker.js +0 -26
  215. package/dist/ground-checkpoints.js +0 -14
  216. package/dist/ground-contract.js +1 -43
  217. package/dist/ground-coordination.js +0 -82
  218. package/dist/ground-database.js +0 -88
  219. package/dist/ground-differences.js +0 -6
  220. package/dist/ground-holders.js +0 -8
  221. package/dist/ground-initialization-worker.js +0 -7
  222. package/dist/ground-initialization.js +0 -19
  223. package/dist/ground-install-saves.js +0 -15
  224. package/dist/ground-inventory-schema.js +3 -142
  225. package/dist/ground-marks.js +0 -16
  226. package/dist/ground-places.js +33 -0
  227. package/dist/ground-profile.js +0 -77
  228. package/dist/ground-reads.js +0 -58
  229. package/dist/ground-relations.js +0 -43
  230. package/dist/ground-root-index.js +0 -7
  231. package/dist/ground-row.js +5 -29
  232. package/dist/ground-save-ops.js +0 -14
  233. package/dist/ground-saver-worker.js +3 -56
  234. package/dist/ground-saver.js +0 -52
  235. package/dist/ground-store.js +10 -144
  236. package/dist/held-ground.js +60 -0
  237. package/dist/index.js +0 -1
  238. package/dist/initial-publication.js +0 -7
  239. package/dist/install-from-git.js +42 -0
  240. package/dist/installation/environment.js +0 -4
  241. package/dist/installation/lease.js +0 -3
  242. package/dist/installation/ownership.js +0 -13
  243. package/dist/installation/selection.js +0 -2
  244. package/dist/keychain/cli-io.js +0 -7
  245. package/dist/keychain/cli.js +0 -9
  246. package/dist/keychain/host.js +0 -7
  247. package/dist/keychain/http-mount.js +0 -10
  248. package/dist/keychain/key-wire.js +0 -8
  249. package/dist/keychain/presence-mac.js +0 -7
  250. package/dist/keychain/presence.js +0 -7
  251. package/dist/keychain/rail.js +0 -7
  252. package/dist/keychain/secret-apply.js +0 -11
  253. package/dist/keychain/shelf-from-ledger.js +0 -7
  254. package/dist/keychain/use-log.js +0 -6
  255. package/dist/keychain/vault-file.js +0 -7
  256. package/dist/line-judge.js +0 -41
  257. package/dist/line-loops.js +0 -3
  258. package/dist/link-target.js +0 -38
  259. package/dist/local-host.js +0 -16
  260. package/dist/loop-watch.js +0 -13
  261. package/dist/machine-host.js +29 -123
  262. package/dist/main.js +4 -5
  263. package/dist/materialize-records.js +109 -112
  264. package/dist/materialized-graph.js +0 -1
  265. package/dist/module-thread.js +0 -8
  266. package/dist/mount.js +0 -7
  267. package/dist/native/cloud-files.node +0 -0
  268. package/dist/native/windows-fs.node +0 -0
  269. package/dist/official-mcp-host.js +0 -2
  270. package/dist/on-demand-roots.js +0 -4
  271. package/dist/open-standing.js +0 -36
  272. package/dist/own-folders.js +56 -0
  273. package/dist/own-results.js +0 -31
  274. package/dist/package-pages.js +0 -13
  275. package/dist/patient-flush.js +0 -16
  276. package/dist/physical-path-witness.js +0 -28
  277. package/dist/placement-owed.js +0 -8
  278. package/dist/placement-tidy.js +0 -68
  279. package/dist/platform-product-host.js +0 -3
  280. package/dist/platform-tools.js +0 -3
  281. package/dist/process-lifecycle.js +0 -7
  282. package/dist/product-cli.js +0 -10
  283. package/dist/pty-host.js +0 -22
  284. package/dist/received-state.js +0 -46
  285. package/dist/reference-placement.js +0 -30
  286. package/dist/registry-graph.js +0 -89
  287. package/dist/registry-page-cache.js +4 -12
  288. package/dist/release-catalog.js +0 -3
  289. package/dist/root-install.js +2 -36
  290. package/dist/runtime-activity.js +0 -14
  291. package/dist/runtime-argv.js +0 -8
  292. package/dist/runtime-command-host.js +0 -17
  293. package/dist/runtime-node-flags.js +0 -10
  294. package/dist/runtime-wire-host.js +0 -4
  295. package/dist/service/adapter.js +0 -6
  296. package/dist/service/cli.js +12 -46
  297. package/dist/service/control.js +0 -3
  298. package/dist/service/index.js +0 -4
  299. package/dist/service/keepalive.js +2 -21
  300. package/dist/service/launchd.js +0 -8
  301. package/dist/service/owner.js +0 -1
  302. package/dist/service/policy.js +0 -7
  303. package/dist/service/portable.js +0 -8
  304. package/dist/service/recovery.js +0 -9
  305. package/dist/service/registration.js +0 -29
  306. package/dist/service/systemd-unit.js +0 -4
  307. package/dist/service/systemd.js +0 -9
  308. package/dist/service/windows-action.js +0 -12
  309. package/dist/service/windows-task.js +0 -10
  310. package/dist/service/windows.js +0 -4
  311. package/dist/sha256.js +0 -2
  312. package/dist/sharing-admission.js +0 -16
  313. package/dist/sharing-host.js +0 -7
  314. package/dist/sharing-mcp-host.js +0 -6
  315. package/dist/snapshot-delivery-baseline.js +0 -29
  316. package/dist/socket-marking.js +0 -9
  317. package/dist/source-proof.js +0 -29
  318. package/dist/source-signature.js +4 -93
  319. package/dist/source-witness.js +0 -6
  320. package/dist/sqlite-durability.js +0 -12
  321. package/dist/sqlite.js +0 -10
  322. package/dist/state-host.js +0 -2
  323. package/dist/state-store.js +1 -4
  324. package/dist/supervised-program/child.js +136 -0
  325. package/dist/supervised-program/messages.js +1 -0
  326. package/dist/supervised-program/parent.js +249 -0
  327. package/dist/sync-address.js +0 -16
  328. package/dist/sync-cli.js +0 -9
  329. package/dist/sync-setting.js +0 -5
  330. package/dist/tool-mcp-client.js +0 -2
  331. package/dist/toolbox-host.js +0 -2
  332. package/dist/transfer-instrumentation.js +0 -21
  333. package/dist/turns.js +0 -41
  334. package/dist/updates/artifacts.js +0 -56
  335. package/dist/updates/bootstrap.js +0 -53
  336. package/dist/updates/controller.js +1 -25
  337. package/dist/updates/isolated-command-lifetime.js +0 -13
  338. package/dist/updates/locked-packages.js +0 -5
  339. package/dist/updates/store.js +0 -11
  340. package/dist/updates/trust.js +0 -6
  341. package/dist/user-ground-host.js +162 -1501
  342. package/dist/watching/fsevents.js +3 -41
  343. package/dist/watching/git-storage.js +0 -24
  344. package/dist/watching/host.js +65 -275
  345. package/dist/watching/index.js +1 -2
  346. package/dist/watching/inotify.js +0 -31
  347. package/dist/windows-fs.js +0 -5
  348. package/dist/windows-owner-only.js +0 -17
  349. package/dist/wire-binary.js +0 -4
  350. package/dist/wire-client.js +0 -42
  351. package/dist/wire-join.js +0 -11
  352. package/dist/wire-outbox.js +0 -29
  353. package/dist/wire-request-scope.js +0 -3
  354. package/dist/wire-socket-relay.js +0 -53
  355. package/dist/workspace-add-intent.js +2 -11
  356. package/dist/workspace-add-staging.js +4 -99
  357. package/dist/workspace-host.js +0 -5
  358. package/dist/workspace-store.js +0 -6
  359. package/examinations/fixtures/private-wire-authority.js +14 -10
  360. package/examinations/native-service.mjs +1 -1
  361. package/examinations/runtime-upgrade.native-test.mjs +11 -8
  362. package/npm-shrinkwrap.json +14 -14
  363. package/package.json +8 -17
  364. package/PURPOSE.md +0 -1956
  365. package/dist/accepted-fold.d.ts +0 -51
  366. package/dist/accepted-fold.js.map +0 -1
  367. package/dist/accepted-tail.d.ts +0 -36
  368. package/dist/accepted-tail.js.map +0 -1
  369. package/dist/accepted-view.d.ts +0 -27
  370. package/dist/accepted-view.js.map +0 -1
  371. package/dist/agent-execution.d.ts +0 -83
  372. package/dist/agent-execution.js.map +0 -1
  373. package/dist/agent-instructions.d.ts +0 -7
  374. package/dist/agent-instructions.js.map +0 -1
  375. package/dist/apply-attempt-memory.d.ts +0 -13
  376. package/dist/apply-attempt-memory.js.map +0 -1
  377. package/dist/apply-control.d.ts +0 -85
  378. package/dist/apply-control.js.map +0 -1
  379. package/dist/apply-displaced-tree.d.ts +0 -63
  380. package/dist/apply-displaced-tree.js.map +0 -1
  381. package/dist/apply-durability.d.ts +0 -33
  382. package/dist/apply-durability.js.map +0 -1
  383. package/dist/apply-enter-build.d.ts +0 -91
  384. package/dist/apply-enter-build.js.map +0 -1
  385. package/dist/apply-enter-plan.d.ts +0 -79
  386. package/dist/apply-enter-plan.js.map +0 -1
  387. package/dist/apply-fingerprint.d.ts +0 -39
  388. package/dist/apply-fingerprint.js.map +0 -1
  389. package/dist/apply-git-held.d.ts +0 -29
  390. package/dist/apply-git-held.js.map +0 -1
  391. package/dist/apply-git-storage.d.ts +0 -38
  392. package/dist/apply-git-storage.js.map +0 -1
  393. package/dist/apply-kept.d.ts +0 -42
  394. package/dist/apply-kept.js.map +0 -1
  395. package/dist/apply-local-work.d.ts +0 -41
  396. package/dist/apply-local-work.js.map +0 -1
  397. package/dist/apply-map.d.ts +0 -116
  398. package/dist/apply-map.js.map +0 -1
  399. package/dist/apply-showing.d.ts +0 -104
  400. package/dist/apply-showing.js.map +0 -1
  401. package/dist/apply-shown-again.d.ts +0 -28
  402. package/dist/apply-shown-again.js.map +0 -1
  403. package/dist/apply-spelling.d.ts +0 -35
  404. package/dist/apply-spelling.js.map +0 -1
  405. package/dist/apply-trash-keep.d.ts +0 -96
  406. package/dist/apply-trash-keep.js.map +0 -1
  407. package/dist/apply-window-cargo.d.ts +0 -54
  408. package/dist/apply-window-cargo.js.map +0 -1
  409. package/dist/apply-window-ground.d.ts +0 -130
  410. package/dist/apply-window-ground.js.map +0 -1
  411. package/dist/apply-window-host.d.ts +0 -136
  412. package/dist/apply-window-host.js.map +0 -1
  413. package/dist/apply-window-lane.d.ts +0 -30
  414. package/dist/apply-window-lane.js.map +0 -1
  415. package/dist/apply-window-line.d.ts +0 -31
  416. package/dist/apply-window-line.js.map +0 -1
  417. package/dist/apply-window-recovery.d.ts +0 -5
  418. package/dist/apply-window-recovery.js.map +0 -1
  419. package/dist/apply-window-reveal.d.ts +0 -22
  420. package/dist/apply-window-reveal.js.map +0 -1
  421. package/dist/apply-window-rows.d.ts +0 -144
  422. package/dist/apply-window-rows.js.map +0 -1
  423. package/dist/apply-window-saves.d.ts +0 -224
  424. package/dist/apply-window-saves.js.map +0 -1
  425. package/dist/apply-window-store.d.ts +0 -126
  426. package/dist/apply-window-store.js.map +0 -1
  427. package/dist/apply-window-verify.d.ts +0 -65
  428. package/dist/apply-window-verify.js.map +0 -1
  429. package/dist/authority-binding.d.ts +0 -9
  430. package/dist/authority-binding.js.map +0 -1
  431. package/dist/authorization/device-key.d.ts +0 -19
  432. package/dist/authorization/device-key.js.map +0 -1
  433. package/dist/authorization/index.d.ts +0 -65
  434. package/dist/authorization/index.js.map +0 -1
  435. package/dist/authorization/issuer.d.ts +0 -11
  436. package/dist/authorization/issuer.js.map +0 -1
  437. package/dist/authorization/key-store.d.ts +0 -16
  438. package/dist/authorization/key-store.js.map +0 -1
  439. package/dist/authorization/native-keyring.d.ts +0 -8
  440. package/dist/authorization/native-keyring.js.map +0 -1
  441. package/dist/authorization/recovery-client.d.ts +0 -19
  442. package/dist/authorization/recovery-client.js.map +0 -1
  443. package/dist/authorization/recovery-host.d.ts +0 -30
  444. package/dist/authorization/recovery-host.js.map +0 -1
  445. package/dist/authorization/recovery.d.ts +0 -13
  446. package/dist/authorization/recovery.js.map +0 -1
  447. package/dist/authorization/registration-http.d.ts +0 -5
  448. package/dist/authorization/registration-http.js.map +0 -1
  449. package/dist/authorization/secret-process.d.ts +0 -2
  450. package/dist/authorization/secret-process.js.map +0 -1
  451. package/dist/authorization/setup-http.d.ts +0 -5
  452. package/dist/authorization/setup-http.js.map +0 -1
  453. package/dist/automations-cli-host.d.ts +0 -4
  454. package/dist/automations-cli-host.js.map +0 -1
  455. package/dist/background-error.d.ts +0 -4
  456. package/dist/background-error.js.map +0 -1
  457. package/dist/baseline-content.d.ts +0 -12
  458. package/dist/baseline-content.js.map +0 -1
  459. package/dist/billing/cli.d.ts +0 -18
  460. package/dist/billing/cli.js.map +0 -1
  461. package/dist/billing/mount.d.ts +0 -12
  462. package/dist/billing/mount.js.map +0 -1
  463. package/dist/billing/tools.d.ts +0 -57
  464. package/dist/billing/tools.js.map +0 -1
  465. package/dist/boot-identity.d.ts +0 -1
  466. package/dist/boot-identity.js.map +0 -1
  467. package/dist/browser-host.d.ts +0 -30
  468. package/dist/browser-host.js.map +0 -1
  469. package/dist/builtin-agents.d.ts +0 -8
  470. package/dist/builtin-agents.js.map +0 -1
  471. package/dist/capture-work.d.ts +0 -8
  472. package/dist/capture-work.js.map +0 -1
  473. package/dist/captured-rows.d.ts +0 -33
  474. package/dist/captured-rows.js.map +0 -1
  475. package/dist/cargo-group.d.ts +0 -59
  476. package/dist/cargo-group.js.map +0 -1
  477. package/dist/cargo-journal.d.ts +0 -45
  478. package/dist/cargo-journal.js.map +0 -1
  479. package/dist/channel-session.d.ts +0 -60
  480. package/dist/channel-session.js.map +0 -1
  481. package/dist/chat-composition.d.ts +0 -30
  482. package/dist/chat-composition.js.map +0 -1
  483. package/dist/chat-host.d.ts +0 -30
  484. package/dist/chat-host.js.map +0 -1
  485. package/dist/chat-toolbox.d.ts +0 -10
  486. package/dist/chat-toolbox.js.map +0 -1
  487. package/dist/chat-tools.d.ts +0 -23
  488. package/dist/chat-tools.js.map +0 -1
  489. package/dist/cli-arguments.d.ts +0 -8
  490. package/dist/cli-arguments.js.map +0 -1
  491. package/dist/cli.d.ts +0 -10
  492. package/dist/cli.js.map +0 -1
  493. package/dist/construct-apply-host.d.ts +0 -64
  494. package/dist/construct-apply-host.js.map +0 -1
  495. package/dist/construct-door.d.ts +0 -39
  496. package/dist/construct-door.js.map +0 -1
  497. package/dist/construct-ledger.d.ts +0 -33
  498. package/dist/construct-ledger.js.map +0 -1
  499. package/dist/construct-products.d.ts +0 -22
  500. package/dist/construct-products.js.map +0 -1
  501. package/dist/content-cache-collection.d.ts +0 -25
  502. package/dist/content-cache-collection.js.map +0 -1
  503. package/dist/content-cache-fences.d.ts +0 -27
  504. package/dist/content-cache-fences.js.map +0 -1
  505. package/dist/content-cache-host.d.ts +0 -269
  506. package/dist/content-cache-host.js.map +0 -1
  507. package/dist/content-cache-index.d.ts +0 -59
  508. package/dist/content-cache-index.js.map +0 -1
  509. package/dist/content-cache-namespace.d.ts +0 -53
  510. package/dist/content-cache-namespace.js.map +0 -1
  511. package/dist/content-cache-partials.d.ts +0 -37
  512. package/dist/content-cache-partials.js.map +0 -1
  513. package/dist/content-cache-retention.d.ts +0 -38
  514. package/dist/content-cache-retention.js.map +0 -1
  515. package/dist/content-capture-pool.d.ts +0 -274
  516. package/dist/content-capture-pool.js.map +0 -1
  517. package/dist/content-capture-worker.d.ts +0 -7
  518. package/dist/content-capture-worker.js.map +0 -1
  519. package/dist/content-clock.d.ts +0 -68
  520. package/dist/content-clock.js.map +0 -1
  521. package/dist/content-direct.d.ts +0 -56
  522. package/dist/content-direct.js.map +0 -1
  523. package/dist/content-failure.d.ts +0 -18
  524. package/dist/content-failure.js.map +0 -1
  525. package/dist/content-qualification.d.ts +0 -72
  526. package/dist/content-qualification.js.map +0 -1
  527. package/dist/content-wire-codec.d.ts +0 -13
  528. package/dist/content-wire-codec.js.map +0 -1
  529. package/dist/credentials-host.d.ts +0 -5
  530. package/dist/credentials-host.js.map +0 -1
  531. package/dist/derived-relocation.d.ts +0 -31
  532. package/dist/derived-relocation.js.map +0 -1
  533. package/dist/detection/accepted-result.d.ts +0 -31
  534. package/dist/detection/accepted-result.js.map +0 -1
  535. package/dist/detection/admission-save.d.ts +0 -66
  536. package/dist/detection/admission-save.js.map +0 -1
  537. package/dist/detection/admission-units.d.ts +0 -78
  538. package/dist/detection/admission-units.js.map +0 -1
  539. package/dist/detection/alias-discovery.d.ts +0 -12
  540. package/dist/detection/alias-discovery.js.map +0 -1
  541. package/dist/detection/alias-examination.d.ts +0 -33
  542. package/dist/detection/alias-examination.js.map +0 -1
  543. package/dist/detection/apply-ownership.d.ts +0 -107
  544. package/dist/detection/apply-ownership.js.map +0 -1
  545. package/dist/detection/basis-advanced.d.ts +0 -15
  546. package/dist/detection/basis-advanced.js.map +0 -1
  547. package/dist/detection/cached-replay.d.ts +0 -38
  548. package/dist/detection/cached-replay.js.map +0 -1
  549. package/dist/detection/capture-outcome.d.ts +0 -16
  550. package/dist/detection/capture-outcome.js.map +0 -1
  551. package/dist/detection/container-membership.d.ts +0 -20
  552. package/dist/detection/container-membership.js.map +0 -1
  553. package/dist/detection/detect-cancelled.d.ts +0 -6
  554. package/dist/detection/detect-cancelled.js.map +0 -1
  555. package/dist/detection/directory-proof.d.ts +0 -47
  556. package/dist/detection/directory-proof.js.map +0 -1
  557. package/dist/detection/dispositions.d.ts +0 -107
  558. package/dist/detection/dispositions.js.map +0 -1
  559. package/dist/detection/examinations.d.ts +0 -33
  560. package/dist/detection/examinations.js.map +0 -1
  561. package/dist/detection/ground-proof.d.ts +0 -154
  562. package/dist/detection/ground-proof.js.map +0 -1
  563. package/dist/detection/ground-reader.d.ts +0 -29
  564. package/dist/detection/ground-reader.js.map +0 -1
  565. package/dist/detection/identity-discovery.d.ts +0 -45
  566. package/dist/detection/identity-discovery.js.map +0 -1
  567. package/dist/detection/maintenance-sweep.d.ts +0 -111
  568. package/dist/detection/maintenance-sweep.js.map +0 -1
  569. package/dist/detection/notebook-basis.d.ts +0 -24
  570. package/dist/detection/notebook-basis.js.map +0 -1
  571. package/dist/detection/owed-examinations.d.ts +0 -22
  572. package/dist/detection/owed-examinations.js.map +0 -1
  573. package/dist/detection/owed-selection.d.ts +0 -54
  574. package/dist/detection/owed-selection.js.map +0 -1
  575. package/dist/detection/policy-owed.d.ts +0 -17
  576. package/dist/detection/policy-owed.js.map +0 -1
  577. package/dist/detection/reconciliation-coverage.d.ts +0 -7
  578. package/dist/detection/reconciliation-coverage.js.map +0 -1
  579. package/dist/detection/repository-state.d.ts +0 -44
  580. package/dist/detection/repository-state.js.map +0 -1
  581. package/dist/detection/reveal-save.d.ts +0 -17
  582. package/dist/detection/reveal-save.js.map +0 -1
  583. package/dist/detection/root-examination.d.ts +0 -106
  584. package/dist/detection/root-examination.js.map +0 -1
  585. package/dist/detection/root-walk.d.ts +0 -191
  586. package/dist/detection/root-walk.js.map +0 -1
  587. package/dist/detection/runtime.d.ts +0 -144
  588. package/dist/detection/runtime.js.map +0 -1
  589. package/dist/detection/scope-frame.d.ts +0 -82
  590. package/dist/detection/scope-frame.js.map +0 -1
  591. package/dist/detection/scoped-identity-port.d.ts +0 -35
  592. package/dist/detection/scoped-identity-port.js.map +0 -1
  593. package/dist/detection/sharing-policy.d.ts +0 -19
  594. package/dist/detection/sharing-policy.js +0 -39
  595. package/dist/detection/sharing-policy.js.map +0 -1
  596. package/dist/detection/spelled-lookup.d.ts +0 -20
  597. package/dist/detection/spelled-lookup.js.map +0 -1
  598. package/dist/detection/thread-database.d.ts +0 -4
  599. package/dist/detection/thread-database.js.map +0 -1
  600. package/dist/detection/unread-content.d.ts +0 -20
  601. package/dist/detection/unread-content.js.map +0 -1
  602. package/dist/detection/unreadable.d.ts +0 -11
  603. package/dist/detection/unreadable.js.map +0 -1
  604. package/dist/detection/walk-law.d.ts +0 -25
  605. package/dist/detection/walk-law.js.map +0 -1
  606. package/dist/detection/walked-roots.d.ts +0 -17
  607. package/dist/detection/walked-roots.js.map +0 -1
  608. package/dist/detection/withheld.d.ts +0 -100
  609. package/dist/detection/withheld.js.map +0 -1
  610. package/dist/development/fly-guest.d.ts +0 -21
  611. package/dist/development/fly-guest.js.map +0 -1
  612. package/dist/development/fly.d.ts +0 -13
  613. package/dist/development/fly.js.map +0 -1
  614. package/dist/development/profile.d.ts +0 -34
  615. package/dist/development/profile.js.map +0 -1
  616. package/dist/drive/cloud-files/asks.d.ts +0 -7
  617. package/dist/drive/cloud-files/asks.js.map +0 -1
  618. package/dist/drive/cloud-files/binding.d.ts +0 -111
  619. package/dist/drive/cloud-files/binding.js.map +0 -1
  620. package/dist/drive/cloud-files/contents.d.ts +0 -82
  621. package/dist/drive/cloud-files/contents.js.map +0 -1
  622. package/dist/drive/cloud-files/door.d.ts +0 -11
  623. package/dist/drive/cloud-files/door.js.map +0 -1
  624. package/dist/drive/cloud-files/paths.d.ts +0 -42
  625. package/dist/drive/cloud-files/paths.js.map +0 -1
  626. package/dist/drive/cloud-files/populated.d.ts +0 -15
  627. package/dist/drive/cloud-files/populated.js.map +0 -1
  628. package/dist/drive/cloud-files/reconcile.d.ts +0 -17
  629. package/dist/drive/cloud-files/reconcile.js.map +0 -1
  630. package/dist/drive/cloud-files/sync-root.d.ts +0 -34
  631. package/dist/drive/cloud-files/sync-root.js.map +0 -1
  632. package/dist/drive/cloud-files/turns.d.ts +0 -9
  633. package/dist/drive/cloud-files/turns.js.map +0 -1
  634. package/dist/drive/cloud-files/writes.d.ts +0 -27
  635. package/dist/drive/cloud-files/writes.js.map +0 -1
  636. package/dist/drive/computer.d.ts +0 -19
  637. package/dist/drive/computer.js.map +0 -1
  638. package/dist/drive/fuse-opens.d.ts +0 -32
  639. package/dist/drive/fuse-opens.js.map +0 -1
  640. package/dist/drive/fuse.d.ts +0 -36
  641. package/dist/drive/fuse.js.map +0 -1
  642. package/dist/drive/kept.d.ts +0 -78
  643. package/dist/drive/kept.js.map +0 -1
  644. package/dist/drive/kernel.d.ts +0 -17
  645. package/dist/drive/kernel.js.map +0 -1
  646. package/dist/drive/layout.d.ts +0 -18
  647. package/dist/drive/layout.js.map +0 -1
  648. package/dist/drive/mount.d.ts +0 -107
  649. package/dist/drive/mount.js.map +0 -1
  650. package/dist/drive/mountpoint.d.ts +0 -14
  651. package/dist/drive/mountpoint.js.map +0 -1
  652. package/dist/drive/nfs/apple-double.d.ts +0 -6
  653. package/dist/drive/nfs/apple-double.js.map +0 -1
  654. package/dist/drive/nfs/attributes.d.ts +0 -64
  655. package/dist/drive/nfs/attributes.js.map +0 -1
  656. package/dist/drive/nfs/handles.d.ts +0 -44
  657. package/dist/drive/nfs/handles.js.map +0 -1
  658. package/dist/drive/nfs/mount3.d.ts +0 -16
  659. package/dist/drive/nfs/mount3.js.map +0 -1
  660. package/dist/drive/nfs/nfs3.d.ts +0 -27
  661. package/dist/drive/nfs/nfs3.js.map +0 -1
  662. package/dist/drive/nfs/rpc.d.ts +0 -66
  663. package/dist/drive/nfs/rpc.js.map +0 -1
  664. package/dist/drive/nfs/server.d.ts +0 -30
  665. package/dist/drive/nfs/server.js.map +0 -1
  666. package/dist/drive/nfs/xdr.d.ts +0 -44
  667. package/dist/drive/nfs/xdr.js.map +0 -1
  668. package/dist/drive/nfs.d.ts +0 -58
  669. package/dist/drive/nfs.js.map +0 -1
  670. package/dist/drive/operations.d.ts +0 -180
  671. package/dist/drive/operations.js.map +0 -1
  672. package/dist/drive/shelf.d.ts +0 -9
  673. package/dist/drive/shelf.js.map +0 -1
  674. package/dist/durability-barrier.d.ts +0 -66
  675. package/dist/durability-barrier.js.map +0 -1
  676. package/dist/entity-access-wire.d.ts +0 -33
  677. package/dist/entity-access-wire.js.map +0 -1
  678. package/dist/entity-channel-holdings.d.ts +0 -26
  679. package/dist/entity-channel-holdings.js.map +0 -1
  680. package/dist/entity-grant-watch.d.ts +0 -9
  681. package/dist/entity-grant-watch.js.map +0 -1
  682. package/dist/entity-record-observability.d.ts +0 -13
  683. package/dist/entity-record-observability.js.map +0 -1
  684. package/dist/entity-record-saves.d.ts +0 -47
  685. package/dist/entity-record-saves.js.map +0 -1
  686. package/dist/entity-record-store.d.ts +0 -60
  687. package/dist/entity-record-store.js.map +0 -1
  688. package/dist/error-facts.d.ts +0 -24
  689. package/dist/error-facts.js.map +0 -1
  690. package/dist/faults/drain.d.ts +0 -27
  691. package/dist/faults/drain.js.map +0 -1
  692. package/dist/faults/queue.d.ts +0 -46
  693. package/dist/faults/queue.js.map +0 -1
  694. package/dist/faults/show.d.ts +0 -7
  695. package/dist/faults/show.js.map +0 -1
  696. package/dist/files-browser-host.d.ts +0 -9
  697. package/dist/files-browser-host.js.map +0 -1
  698. package/dist/files-mcp-host.d.ts +0 -58
  699. package/dist/files-mcp-host.js.map +0 -1
  700. package/dist/files-observability.d.ts +0 -29
  701. package/dist/files-observability.js.map +0 -1
  702. package/dist/files-program/client.d.ts +0 -136
  703. package/dist/files-program/client.js.map +0 -1
  704. package/dist/files-program/journeys.d.ts +0 -15
  705. package/dist/files-program/journeys.js.map +0 -1
  706. package/dist/files-program/program.d.ts +0 -1
  707. package/dist/files-program/program.js.map +0 -1
  708. package/dist/files-program/protocol.d.ts +0 -180
  709. package/dist/files-program/protocol.js.map +0 -1
  710. package/dist/files-register-host.d.ts +0 -70
  711. package/dist/files-register-host.js.map +0 -1
  712. package/dist/files-trace.d.ts +0 -61
  713. package/dist/files-trace.js.map +0 -1
  714. package/dist/filesystem.d.ts +0 -38
  715. package/dist/filesystem.js.map +0 -1
  716. package/dist/flush.d.ts +0 -19
  717. package/dist/flush.js.map +0 -1
  718. package/dist/forward.d.ts +0 -11
  719. package/dist/forward.js.map +0 -1
  720. package/dist/gateway.d.ts +0 -38
  721. package/dist/gateway.js.map +0 -1
  722. package/dist/git/ground-owners.d.ts +0 -15
  723. package/dist/git/ground-owners.js.map +0 -1
  724. package/dist/git/held-package.d.ts +0 -67
  725. package/dist/git/held-package.js.map +0 -1
  726. package/dist/git/home.d.ts +0 -59
  727. package/dist/git/home.js.map +0 -1
  728. package/dist/git/marker.d.ts +0 -21
  729. package/dist/git/marker.js.map +0 -1
  730. package/dist/git/named-objects.d.ts +0 -24
  731. package/dist/git/named-objects.js.map +0 -1
  732. package/dist/git/objects.d.ts +0 -30
  733. package/dist/git/objects.js.map +0 -1
  734. package/dist/git/play.d.ts +0 -30
  735. package/dist/git/play.js.map +0 -1
  736. package/dist/git/quarantine.d.ts +0 -48
  737. package/dist/git/quarantine.js.map +0 -1
  738. package/dist/git/rail.d.ts +0 -206
  739. package/dist/git/rail.js.map +0 -1
  740. package/dist/git/read-state.d.ts +0 -49
  741. package/dist/git/read-state.js.map +0 -1
  742. package/dist/git/repository.d.ts +0 -62
  743. package/dist/git/repository.js.map +0 -1
  744. package/dist/git/write-files.d.ts +0 -29
  745. package/dist/git/write-files.js.map +0 -1
  746. package/dist/git-binding.d.ts +0 -53
  747. package/dist/git-binding.js.map +0 -1
  748. package/dist/git-cat-file.d.ts +0 -28
  749. package/dist/git-cat-file.js.map +0 -1
  750. package/dist/git-command.d.ts +0 -96
  751. package/dist/git-command.js.map +0 -1
  752. package/dist/git-index-entries.d.ts +0 -16
  753. package/dist/git-index-entries.js.map +0 -1
  754. package/dist/git-index-format.d.ts +0 -52
  755. package/dist/git-index-format.js.map +0 -1
  756. package/dist/git-install-lines.d.ts +0 -12
  757. package/dist/git-install-lines.js.map +0 -1
  758. package/dist/git-launcher-process.d.ts +0 -1
  759. package/dist/git-launcher-process.js.map +0 -1
  760. package/dist/git-launcher.d.ts +0 -70
  761. package/dist/git-launcher.js.map +0 -1
  762. package/dist/graph-heads.d.ts +0 -71
  763. package/dist/graph-heads.js.map +0 -1
  764. package/dist/ground-basis.d.ts +0 -278
  765. package/dist/ground-basis.js.map +0 -1
  766. package/dist/ground-checkpoint-worker.d.ts +0 -1
  767. package/dist/ground-checkpoint-worker.js.map +0 -1
  768. package/dist/ground-checkpoints.d.ts +0 -16
  769. package/dist/ground-checkpoints.js.map +0 -1
  770. package/dist/ground-contract.d.ts +0 -11
  771. package/dist/ground-contract.js.map +0 -1
  772. package/dist/ground-coordination.d.ts +0 -140
  773. package/dist/ground-coordination.js.map +0 -1
  774. package/dist/ground-database.d.ts +0 -40
  775. package/dist/ground-database.js.map +0 -1
  776. package/dist/ground-differences.d.ts +0 -24
  777. package/dist/ground-differences.js.map +0 -1
  778. package/dist/ground-holders.d.ts +0 -4
  779. package/dist/ground-holders.js.map +0 -1
  780. package/dist/ground-initialization-worker.d.ts +0 -1
  781. package/dist/ground-initialization-worker.js.map +0 -1
  782. package/dist/ground-initialization.d.ts +0 -38
  783. package/dist/ground-initialization.js.map +0 -1
  784. package/dist/ground-install-saves.d.ts +0 -104
  785. package/dist/ground-install-saves.js.map +0 -1
  786. package/dist/ground-inventory-schema.d.ts +0 -58
  787. package/dist/ground-inventory-schema.js.map +0 -1
  788. package/dist/ground-marks.d.ts +0 -49
  789. package/dist/ground-marks.js.map +0 -1
  790. package/dist/ground-profile.d.ts +0 -14
  791. package/dist/ground-profile.js.map +0 -1
  792. package/dist/ground-reads.d.ts +0 -86
  793. package/dist/ground-reads.js.map +0 -1
  794. package/dist/ground-relations.d.ts +0 -57
  795. package/dist/ground-relations.js.map +0 -1
  796. package/dist/ground-root-index.d.ts +0 -14
  797. package/dist/ground-root-index.js.map +0 -1
  798. package/dist/ground-row.d.ts +0 -78
  799. package/dist/ground-row.js.map +0 -1
  800. package/dist/ground-save-ops.d.ts +0 -62
  801. package/dist/ground-save-ops.js.map +0 -1
  802. package/dist/ground-saver-worker.d.ts +0 -1
  803. package/dist/ground-saver-worker.js.map +0 -1
  804. package/dist/ground-saver.d.ts +0 -103
  805. package/dist/ground-saver.js.map +0 -1
  806. package/dist/ground-store.d.ts +0 -125
  807. package/dist/ground-store.js.map +0 -1
  808. package/dist/index.d.ts +0 -22
  809. package/dist/index.js.map +0 -1
  810. package/dist/initial-publication.d.ts +0 -42
  811. package/dist/initial-publication.js.map +0 -1
  812. package/dist/installation/environment.d.ts +0 -34
  813. package/dist/installation/environment.js.map +0 -1
  814. package/dist/installation/lease.d.ts +0 -6
  815. package/dist/installation/lease.js.map +0 -1
  816. package/dist/installation/ownership.d.ts +0 -30
  817. package/dist/installation/ownership.js.map +0 -1
  818. package/dist/installation/selection.d.ts +0 -8
  819. package/dist/installation/selection.js.map +0 -1
  820. package/dist/keychain/cli-io.d.ts +0 -8
  821. package/dist/keychain/cli-io.js.map +0 -1
  822. package/dist/keychain/cli.d.ts +0 -12
  823. package/dist/keychain/cli.js.map +0 -1
  824. package/dist/keychain/host.d.ts +0 -28
  825. package/dist/keychain/host.js.map +0 -1
  826. package/dist/keychain/http-mount.d.ts +0 -16
  827. package/dist/keychain/http-mount.js.map +0 -1
  828. package/dist/keychain/key-wire.d.ts +0 -12
  829. package/dist/keychain/key-wire.js.map +0 -1
  830. package/dist/keychain/presence-mac.d.ts +0 -8
  831. package/dist/keychain/presence-mac.js.map +0 -1
  832. package/dist/keychain/presence.d.ts +0 -9
  833. package/dist/keychain/presence.js.map +0 -1
  834. package/dist/keychain/rail.d.ts +0 -19
  835. package/dist/keychain/rail.js.map +0 -1
  836. package/dist/keychain/secret-apply.d.ts +0 -22
  837. package/dist/keychain/secret-apply.js.map +0 -1
  838. package/dist/keychain/shelf-from-ledger.d.ts +0 -15
  839. package/dist/keychain/shelf-from-ledger.js.map +0 -1
  840. package/dist/keychain/use-log.d.ts +0 -7
  841. package/dist/keychain/use-log.js.map +0 -1
  842. package/dist/keychain/vault-file.d.ts +0 -12
  843. package/dist/keychain/vault-file.js.map +0 -1
  844. package/dist/line-judge.d.ts +0 -39
  845. package/dist/line-judge.js.map +0 -1
  846. package/dist/line-loops.d.ts +0 -22
  847. package/dist/line-loops.js.map +0 -1
  848. package/dist/link-target.d.ts +0 -16
  849. package/dist/link-target.js.map +0 -1
  850. package/dist/local-host.d.ts +0 -20
  851. package/dist/local-host.js.map +0 -1
  852. package/dist/loop-watch.d.ts +0 -17
  853. package/dist/loop-watch.js.map +0 -1
  854. package/dist/machine-host.d.ts +0 -249
  855. package/dist/machine-host.js.map +0 -1
  856. package/dist/main.d.ts +0 -2
  857. package/dist/main.js.map +0 -1
  858. package/dist/materialize-records.d.ts +0 -98
  859. package/dist/materialize-records.js.map +0 -1
  860. package/dist/materialized-graph.d.ts +0 -22
  861. package/dist/materialized-graph.js.map +0 -1
  862. package/dist/module-thread.d.ts +0 -9
  863. package/dist/module-thread.js.map +0 -1
  864. package/dist/mount.d.ts +0 -13
  865. package/dist/mount.js.map +0 -1
  866. package/dist/official-mcp-host.d.ts +0 -51
  867. package/dist/official-mcp-host.js.map +0 -1
  868. package/dist/on-demand-roots.d.ts +0 -31
  869. package/dist/on-demand-roots.js.map +0 -1
  870. package/dist/open-standing.d.ts +0 -8
  871. package/dist/open-standing.js.map +0 -1
  872. package/dist/own-results.d.ts +0 -37
  873. package/dist/own-results.js.map +0 -1
  874. package/dist/package-pages.d.ts +0 -41
  875. package/dist/package-pages.js.map +0 -1
  876. package/dist/patient-flush.d.ts +0 -24
  877. package/dist/patient-flush.js.map +0 -1
  878. package/dist/physical-path-witness.d.ts +0 -64
  879. package/dist/physical-path-witness.js.map +0 -1
  880. package/dist/placement-owed.d.ts +0 -28
  881. package/dist/placement-owed.js.map +0 -1
  882. package/dist/placement-tidy.d.ts +0 -57
  883. package/dist/placement-tidy.js.map +0 -1
  884. package/dist/platform-product-host.d.ts +0 -51
  885. package/dist/platform-product-host.js.map +0 -1
  886. package/dist/platform-tools.d.ts +0 -22
  887. package/dist/platform-tools.js.map +0 -1
  888. package/dist/process-lifecycle.d.ts +0 -13
  889. package/dist/process-lifecycle.js.map +0 -1
  890. package/dist/product-cli.d.ts +0 -26
  891. package/dist/product-cli.js.map +0 -1
  892. package/dist/pty-host.d.ts +0 -16
  893. package/dist/pty-host.js.map +0 -1
  894. package/dist/received-state.d.ts +0 -90
  895. package/dist/received-state.js.map +0 -1
  896. package/dist/reference-placement.d.ts +0 -26
  897. package/dist/reference-placement.js.map +0 -1
  898. package/dist/registry-graph.d.ts +0 -112
  899. package/dist/registry-graph.js.map +0 -1
  900. package/dist/registry-page-cache.d.ts +0 -15
  901. package/dist/registry-page-cache.js.map +0 -1
  902. package/dist/release-catalog.d.ts +0 -5
  903. package/dist/release-catalog.js.map +0 -1
  904. package/dist/root-install.d.ts +0 -72
  905. package/dist/root-install.js.map +0 -1
  906. package/dist/runtime-activity.d.ts +0 -20
  907. package/dist/runtime-activity.js.map +0 -1
  908. package/dist/runtime-argv.d.ts +0 -8
  909. package/dist/runtime-argv.js.map +0 -1
  910. package/dist/runtime-command-host.d.ts +0 -46
  911. package/dist/runtime-command-host.js.map +0 -1
  912. package/dist/runtime-node-flags.d.ts +0 -10
  913. package/dist/runtime-node-flags.js.map +0 -1
  914. package/dist/runtime-wire-host.d.ts +0 -17
  915. package/dist/runtime-wire-host.js.map +0 -1
  916. package/dist/service/adapter.d.ts +0 -37
  917. package/dist/service/adapter.js.map +0 -1
  918. package/dist/service/cli.d.ts +0 -8
  919. package/dist/service/cli.js.map +0 -1
  920. package/dist/service/control.d.ts +0 -38
  921. package/dist/service/control.js.map +0 -1
  922. package/dist/service/index.d.ts +0 -9
  923. package/dist/service/index.js.map +0 -1
  924. package/dist/service/keepalive.d.ts +0 -11
  925. package/dist/service/keepalive.js.map +0 -1
  926. package/dist/service/launchd.d.ts +0 -9
  927. package/dist/service/launchd.js.map +0 -1
  928. package/dist/service/owner.d.ts +0 -4
  929. package/dist/service/owner.js.map +0 -1
  930. package/dist/service/policy.d.ts +0 -36
  931. package/dist/service/policy.js.map +0 -1
  932. package/dist/service/portable.d.ts +0 -10
  933. package/dist/service/portable.js.map +0 -1
  934. package/dist/service/recovery.d.ts +0 -28
  935. package/dist/service/recovery.js.map +0 -1
  936. package/dist/service/registration.d.ts +0 -84
  937. package/dist/service/registration.js.map +0 -1
  938. package/dist/service/systemd-unit.d.ts +0 -7
  939. package/dist/service/systemd-unit.js.map +0 -1
  940. package/dist/service/systemd.d.ts +0 -5
  941. package/dist/service/systemd.js.map +0 -1
  942. package/dist/service/windows-action.d.ts +0 -18
  943. package/dist/service/windows-action.js.map +0 -1
  944. package/dist/service/windows-task.d.ts +0 -15
  945. package/dist/service/windows-task.js.map +0 -1
  946. package/dist/service/windows.d.ts +0 -2
  947. package/dist/service/windows.js.map +0 -1
  948. package/dist/sha256.d.ts +0 -1
  949. package/dist/sha256.js.map +0 -1
  950. package/dist/sharing-admission.d.ts +0 -22
  951. package/dist/sharing-admission.js.map +0 -1
  952. package/dist/sharing-host.d.ts +0 -14
  953. package/dist/sharing-host.js.map +0 -1
  954. package/dist/sharing-mcp-host.d.ts +0 -23
  955. package/dist/sharing-mcp-host.js.map +0 -1
  956. package/dist/snapshot-delivery-baseline.d.ts +0 -31
  957. package/dist/snapshot-delivery-baseline.js.map +0 -1
  958. package/dist/socket-marking.d.ts +0 -9
  959. package/dist/socket-marking.js.map +0 -1
  960. package/dist/source-proof.d.ts +0 -23
  961. package/dist/source-proof.js.map +0 -1
  962. package/dist/source-signature.d.ts +0 -157
  963. package/dist/source-signature.js.map +0 -1
  964. package/dist/source-witness.d.ts +0 -9
  965. package/dist/source-witness.js.map +0 -1
  966. package/dist/sqlite-durability.d.ts +0 -32
  967. package/dist/sqlite-durability.js.map +0 -1
  968. package/dist/sqlite.d.ts +0 -10
  969. package/dist/sqlite.js.map +0 -1
  970. package/dist/state-host.d.ts +0 -4
  971. package/dist/state-host.js.map +0 -1
  972. package/dist/state-store.d.ts +0 -15
  973. package/dist/state-store.js.map +0 -1
  974. package/dist/sync-address.d.ts +0 -16
  975. package/dist/sync-address.js.map +0 -1
  976. package/dist/sync-cli.d.ts +0 -7
  977. package/dist/sync-cli.js.map +0 -1
  978. package/dist/sync-setting.d.ts +0 -43
  979. package/dist/sync-setting.js.map +0 -1
  980. package/dist/tool-mcp-client.d.ts +0 -7
  981. package/dist/tool-mcp-client.js.map +0 -1
  982. package/dist/toolbox-host.d.ts +0 -4
  983. package/dist/toolbox-host.js.map +0 -1
  984. package/dist/transfer-instrumentation.d.ts +0 -47
  985. package/dist/transfer-instrumentation.js.map +0 -1
  986. package/dist/turns.d.ts +0 -44
  987. package/dist/turns.js.map +0 -1
  988. package/dist/updates/artifacts.d.ts +0 -66
  989. package/dist/updates/artifacts.js.map +0 -1
  990. package/dist/updates/bootstrap.d.ts +0 -94
  991. package/dist/updates/bootstrap.js.map +0 -1
  992. package/dist/updates/controller.d.ts +0 -78
  993. package/dist/updates/controller.js.map +0 -1
  994. package/dist/updates/isolated-command-lifetime.d.ts +0 -1
  995. package/dist/updates/isolated-command-lifetime.js.map +0 -1
  996. package/dist/updates/locked-packages.d.ts +0 -4
  997. package/dist/updates/locked-packages.js.map +0 -1
  998. package/dist/updates/store.d.ts +0 -47
  999. package/dist/updates/store.js.map +0 -1
  1000. package/dist/updates/trust.d.ts +0 -20
  1001. package/dist/updates/trust.js.map +0 -1
  1002. package/dist/user-ground-host.d.ts +0 -1007
  1003. package/dist/user-ground-host.js.map +0 -1
  1004. package/dist/watching/fsevents.d.ts +0 -69
  1005. package/dist/watching/fsevents.js.map +0 -1
  1006. package/dist/watching/git-storage.d.ts +0 -22
  1007. package/dist/watching/git-storage.js.map +0 -1
  1008. package/dist/watching/host.d.ts +0 -388
  1009. package/dist/watching/host.js.map +0 -1
  1010. package/dist/watching/index.d.ts +0 -3
  1011. package/dist/watching/index.js.map +0 -1
  1012. package/dist/watching/inotify.d.ts +0 -81
  1013. package/dist/watching/inotify.js.map +0 -1
  1014. package/dist/windows-fs.d.ts +0 -12
  1015. package/dist/windows-fs.js.map +0 -1
  1016. package/dist/windows-owner-only.d.ts +0 -6
  1017. package/dist/windows-owner-only.js.map +0 -1
  1018. package/dist/wire-binary.d.ts +0 -9
  1019. package/dist/wire-binary.js.map +0 -1
  1020. package/dist/wire-client.d.ts +0 -86
  1021. package/dist/wire-client.js.map +0 -1
  1022. package/dist/wire-join.d.ts +0 -19
  1023. package/dist/wire-join.js.map +0 -1
  1024. package/dist/wire-outbox.d.ts +0 -37
  1025. package/dist/wire-outbox.js.map +0 -1
  1026. package/dist/wire-request-scope.d.ts +0 -17
  1027. package/dist/wire-request-scope.js.map +0 -1
  1028. package/dist/wire-socket-relay.d.ts +0 -54
  1029. package/dist/wire-socket-relay.js.map +0 -1
  1030. package/dist/workspace-add-intent.d.ts +0 -41
  1031. package/dist/workspace-add-intent.js.map +0 -1
  1032. package/dist/workspace-add-staging.d.ts +0 -192
  1033. package/dist/workspace-add-staging.js.map +0 -1
  1034. package/dist/workspace-host.d.ts +0 -32
  1035. package/dist/workspace-host.js.map +0 -1
  1036. package/dist/workspace-store.d.ts +0 -8
  1037. package/dist/workspace-store.js.map +0 -1
  1038. package/skills/shell/SKILL.md +0 -175
@@ -1,9 +1,3 @@
1
- /**
2
- * SQLite evidence for the portable Detect/Apply no-echo law.
3
- *
4
- * Receive owns Inbox rows and Apply owns their resolution. Detect may only
5
- * consult those facts: the exact equality decision remains in Live.
6
- */
7
1
  import { acceptedResultCoversDetection, decodeAcceptedEntityRecord, } from "@amalgm/live";
8
2
  import { hasLocalWorkAfter } from "../apply-local-work.js";
9
3
  import { cachedStatement } from "../sqlite.js";
@@ -20,12 +14,6 @@ export class AcceptedInboxResultIndex {
20
14
  `);
21
15
  }
22
16
  covers(authorityId, proposal) {
23
- // The same ordering rule that protects local work from Apply also
24
- // protects it from Detect adopting an older official result as its base.
25
- // Local work after the newest unresolved result is after every older one,
26
- // so the newest is the only candidate. Re-read this gate at commit; an
27
- // earlier observation is not permission to discard a local predecessor
28
- // admitted while capture was running.
29
17
  const newest = this.#newest.get(authorityId, proposal.entityId);
30
18
  if (!newest)
31
19
  return false;
@@ -45,9 +33,7 @@ export class AcceptedInboxResultIndex {
45
33
  };
46
34
  }
47
35
  }
48
- /** Inside an admission's save: every answer is still the same. */
49
36
  export function acceptedReadsStand(database, reads) {
50
37
  const index = new AcceptedInboxResultIndex(database);
51
38
  return reads.every(({ authorityId, proposal, covered }) => index.covers(authorityId, proposal) === covered);
52
39
  }
53
- //# sourceMappingURL=accepted-result.js.map
@@ -12,8 +12,6 @@ export function saveAdmission(database, input) {
12
12
  let stale = [], checkedAt = 0;
13
13
  const records = [];
14
14
  const operation = (writer) => {
15
- // The whole basis is compared once. Only a stale answer compares each
16
- // unit, against the same snapshot, to keep the others.
17
15
  if (!writer.compareBasis(GroundBasis.union(bases))) {
18
16
  stale = bases.flatMap((basis, index) => writer.compareBasis(basis) ? [] : [index]);
19
17
  }
@@ -21,31 +19,24 @@ export function saveAdmission(database, input) {
21
19
  checkedAt = performance.timeOrigin + performance.now();
22
20
  if (survivors.length === 0)
23
21
  return;
24
- // The survivors' facts were just compared: acceptance adopts them.
25
22
  if (!writer.acceptBasis(GroundBasis.union(bases.filter((_, index) => !stale.includes(index))))) {
26
23
  throw new Error("independent unit bases changed within one admission");
27
24
  }
28
- // What returned shows first, so every write below reads it as shown.
29
25
  const revealed = survivors.flatMap(unit => unit.reveals).flatMap(({ top, absent }) => writer.reveal(top, absent));
30
26
  const observed = survivors.flatMap(unit => unit.materialized), removed = survivors.flatMap(unit => unit.materializedRemovals);
31
- // What O did not show before this save, it shows after it.
32
27
  const shown = observed.filter(row => writer.get("entities", row.uuid) === undefined);
33
28
  const hides = survivors.flatMap(unit => unit.hides);
34
29
  const shared = survivors.flatMap(unit => unit.notebook);
35
30
  const containers = (inventory, rows, removals) => savedContainers(uuid => writer.get(inventory, uuid), rows, removals);
36
- // A hidden top leaves its parent's membership as a removal would.
37
31
  const observedContainers = containers("entities", observed, [...removed, ...hides]);
38
32
  for (const uuid of revealed)
39
33
  observedContainers.add(uuid);
40
34
  const sharedContainers = containers("detection_notebook", shared, []);
41
35
  writer.replace("entities", observed, removed, undefined, hides);
42
- // Named first, so B carries each record's provenance in its one write; a
43
- // package's pages are kept first, so its members are admitted with it.
44
36
  for (const unit of survivors)
45
37
  for (const record of unit.records)
46
38
  keepPackagePages(database, record.change, unit.pages);
47
39
  records.push(...writer.admitSharing(survivors.flatMap(unit => unit.records)));
48
- // Detect carries every absence as Trash, so no notebook row is removed.
49
40
  writer.replace("detection_notebook", shared, [], "retain-equivalent");
50
41
  writer.refreshMembership("entities", observedContainers);
51
42
  writer.refreshMembership("detection_notebook", sharedContainers);
@@ -57,4 +48,3 @@ export function saveAdmission(database, input) {
57
48
  : { changes: null, ...store.writeMeasured(operation) };
58
49
  return { accepted: true, stale, records, changes, evidence, checkedAt };
59
50
  }
60
- //# sourceMappingURL=admission-save.js.map
@@ -1,72 +1,13 @@
1
- /** One Detect pass admits in independent units. A unit is the smallest set of
2
- * changed identities whose writes and reads cannot be separated: no fact one
3
- * unit's admission reads is stamped by another unit of the same pass, so
4
- * units admit in any order and one unit's churn defers only itself.
5
- *
6
- * Two identities share a unit when one's write stamps a fact the other reads:
7
- * - a namespace change (placement, name, type, lifecycle, address, presence)
8
- * shares each portable slot it leaves or takes, and each slot its name's
9
- * collision suffix derives from: siblings meet only where their names can
10
- * meet. A container's membership is no shared fact: each save derives it
11
- * from what it records (container-membership.ts), so one child's
12
- * admission never waits for a sibling's;
13
- * - a shared address slot, or a physical object within one root, before or
14
- * after, joins; identity continuity is root-local, so an object's names
15
- * in different roots are aliases, each examined in its own root, and a
16
- * freed inode reused in another root joins nothing;
17
- * - an identity joins each ancestor whose namespace changed on its old or
18
- * new route: a name means that name inside its parent's identity, so a
19
- * directory whose object alone changed (a root swapped in place) joins
20
- * nothing beneath it. The dependency runs one way: a child reads its
21
- * parent's identity and place, and a parent reads nothing of a child's;
22
- * - a root whose selection withheld a result for a cross-entity reason
23
- * (parent, ownership, address, cycle) is one unit.
24
- * A failed identity (its collection did not complete) writes nothing this
25
- * pass, so it reads nothing either: it joins no ancestor, and its parent and
26
- * siblings admit without it. What reads its facts still joins it and waits
27
- * with it: what stands under it, and whatever shares a slot, an address or
28
- * an object with it. A unit holding one never admits.
29
- *
30
- * A directory proved absent is one change, as `rm -rf` is one unlink. A top is
31
- * an active removal, from a walk that read its root whole, at an address no
32
- * observed row holds and beneath no other top: every observed row stands in
33
- * an observed directory, so nothing is observed beneath it. A top is hidden,
34
- * never removed (ground-store.ts), and so is each removal stored beneath it,
35
- * standing in its parent's directory, that no other write names: its top's
36
- * absence proves its own, one range fact stands for its facts, it is no
37
- * member, and it shares only its object with its top. A hidden top a walk
38
- * proved returned is revealed the same way, with the rows beneath it that did
39
- * not return absent again; what returned unchanged shows by the reveal and is
40
- * never written. Every other change at or beneath a hidden or revealed top
41
- * joins the top's unit, so what leaves or enters the range does so in the
42
- * same save. A unit that hides, reveals, or takes a returned row out of an
43
- * absence consumes that row's range where it is stored, whatever its walk
44
- * read. A range change stamps its root's activation, which every unit of that
45
- * root consumed, so such a unit admits in its pass's last save.
46
- *
47
- * Ground a pass could not examine is a gap, never absence. A unit waits for a
48
- * gap only when it needs a fact the gap hides: an address at or beneath it,
49
- * or an identity decision (create, removal, move, lifecycle) that an unlisted
50
- * directory in its root could contradict. In a complete domain any gap may
51
- * hide where a missing identity went, so absence there waits too. Identity
52
- * continuity is root-local, so an arrival takes nothing from another root's
53
- * gap. A stable identity edited in place needs no hidden fact and admits. */
54
1
  import { dirname, sep } from "node:path";
55
2
  import { collisionBases, CONTAINERS, DERIVED_PAYLOAD } from "@amalgm/live";
56
3
  import { PhysicalKeySet } from "../ground-coordination.js";
57
4
  const INVENTORIES = ["entities", "detection_notebook"];
58
- /** Whether two states of one identity hold one namespace: placement, name,
59
- * type, lifecycle, address and presence. */
60
5
  const sameNamespace = (left, right) => left === right
61
6
  || (left !== undefined && right !== undefined && left.resourceId === right.resourceId && left.rootUUID === right.rootUUID
62
7
  && left.parentUUID === right.parentUUID && left.name === right.name && left.type === right.type
63
8
  && left.status === right.status && left.relativePath === right.relativePath && left.absolutePath === right.absolutePath);
64
9
  const container = (row) => row !== undefined && DERIVED_PAYLOAD.has(row.type);
65
- /** The portable slots a row's placement occupies or could suffix into. */
66
10
  const slotNames = (row) => [row.name, ...collisionBases(row.name)];
67
- /** Ancestors by parent link, nearest first, until a missing row, a cycle, or
68
- * an ancestor an earlier walk of the same graph already stood on: identities
69
- * share their ancestors, so each is walked once, never once per descendant. */
70
11
  function route(lookup, row, walked) {
71
12
  const found = [];
72
13
  for (let parent = row?.parentUUID ?? null; parent !== null && !walked.has(parent);) {
@@ -79,11 +20,8 @@ function route(lookup, row, walked) {
79
20
  }
80
21
  return found;
81
22
  }
82
- /** The directory an absolute row address resolves under, and its root. */
83
23
  const rootDirectory = (row) => row.relativePath === "" ? row.absolutePath
84
24
  : row.absolutePath.slice(0, row.absolutePath.length - row.relativePath.length - 1);
85
- /** The directories above a row up to its root, nearest first, stopping at one
86
- * already seen: its own directories above were seen with it. */
87
25
  function ancestorDirectories(row, seen) {
88
26
  const root = rootDirectory(row);
89
27
  const found = [];
@@ -98,9 +36,6 @@ function ancestorDirectories(row, seen) {
98
36
  return found;
99
37
  }
100
38
  const present = (row) => row !== undefined && row.status === "active";
101
- /** One walk's tops: of the O rows a walk that read its root whole did not
102
- * find, each active non-root row at an address no observed row holds, beneath
103
- * no other top, the first at its address. */
104
39
  export function absentTops(removed, occupied) {
105
40
  const tops = new Set(), found = [];
106
41
  const sorted = removed.filter(row => present(row) && row.relativePath !== "" && !occupied.has(row.relativePath))
@@ -114,7 +49,6 @@ export function absentTops(removed, occupied) {
114
49
  }
115
50
  return found;
116
51
  }
117
- /** The nearest ancestor address of a relative path a test accepts. */
118
52
  function enclosing(relativePath, accepts) {
119
53
  for (let at = relativePath.lastIndexOf("/"); at > 0; at = relativePath.lastIndexOf("/", at - 1)) {
120
54
  const path = relativePath.slice(0, at);
@@ -123,7 +57,6 @@ function enclosing(relativePath, accepts) {
123
57
  }
124
58
  return undefined;
125
59
  }
126
- /** Whether a row stands in its parent's directory, as no detached mark says. */
127
60
  const standsIn = (row, parent) => parent !== undefined
128
61
  && parent.rootUUID === row.rootUUID && parent.resourceId === row.resourceId && dirname(row.absolutePath) === parent.absolutePath
129
62
  && (row.status !== "active" || CONTAINERS.has(parent.type));
@@ -138,8 +71,6 @@ export function admissionUnits(pass) {
138
71
  for (const row of writes.notebook)
139
72
  written.detection_notebook.set(row.uuid, row);
140
73
  const beforeOf = (inventory) => uuid => before[inventory].get(uuid);
141
- // A returned row was hidden in S0: it held no address, but it is stored,
142
- // and shows again where it was unless written.
143
74
  const returnedOf = (inventory) => uuid => inventory === "entities" ? pass.returned.get(uuid) : undefined;
144
75
  const afterOf = (inventory) => uuid => written[inventory].has(uuid) ? written[inventory].get(uuid) : before[inventory].get(uuid) ?? returnedOf(inventory)(uuid);
145
76
  const graphs = INVENTORIES.flatMap(inventory => [
@@ -152,8 +83,6 @@ export function admissionUnits(pass) {
152
83
  ...pass.reveals.keys(),
153
84
  ...pass.failed,
154
85
  ]);
155
- // Each removal hidden beneath a top, with its top. Every top is a removal;
156
- // a revealed top is stored where its absence stood.
157
86
  const topAt = new Map(), beneath = new Map();
158
87
  for (const [uuid, row] of [...[...pass.tops].map(uuid => [uuid, before.entities.get(uuid)]),
159
88
  ...[...pass.reveals.keys()].map(uuid => [uuid, pass.returned.get(uuid)])]) {
@@ -200,7 +129,6 @@ export function admissionUnits(pass) {
200
129
  parents.set(a, b);
201
130
  };
202
131
  const occupants = new Map();
203
- // Keys join their parts with NUL, which no identity, name or address holds.
204
132
  const share = (key, uuid) => {
205
133
  const first = occupants.get(key);
206
134
  if (first === undefined)
@@ -208,10 +136,6 @@ export function admissionUnits(pass) {
208
136
  else
209
137
  join(first, uuid);
210
138
  };
211
- // An identity joins the nearest structurally changed ancestor on each of its
212
- // routes. That ancestor is itself changed and joins the next one, so every
213
- // changed ancestor of a route shares one unit with it, and each graph's
214
- // ancestors are walked once: the answer above each is remembered.
215
139
  const nearest = graphs.map(() => new Map());
216
140
  const nearestChanged = (index, row) => {
217
141
  const { inventory, lookup } = graphs[index], known = nearest[index];
@@ -340,7 +264,6 @@ export function admissionUnits(pass) {
340
264
  if (row)
341
265
  keys.path(inventory, row.rootUUID, row.relativePath);
342
266
  if (!sameNamespace(x0, x1)) {
343
- // A container's Record names the membership this save derives.
344
267
  if (container(x0) || container(x1))
345
268
  keys.namespace(inventory, uuid);
346
269
  for (const row of [x0, x1])
@@ -358,35 +281,29 @@ export function admissionUnits(pass) {
358
281
  keys.physical("entities", row.rootUUID, row.physicalKey);
359
282
  }
360
283
  }
361
- // What leaves or enters an absence consumes its range where it is
362
- // stored: a hidden top's, a revealed top's, and any other return's.
363
284
  for (const uuid of group) {
364
285
  const row = pass.tops.has(uuid) ? beforeOf("entities")(uuid) : pass.returned.get(uuid);
365
286
  if (row)
366
287
  keys.range(row.rootUUID, row.relativePath);
367
288
  }
368
289
  },
369
- reads(physicalReads, discoveries) {
290
+ reads(physicalReads, discoveries, gitRoutes) {
370
291
  const entries = new Set(), routes = new Set(), namespaces = new Set(), physical = new Set();
371
- // A discovery read its whole scope, whatever this unit concluded from it.
372
292
  for (const discovery of discoveries)
373
293
  for (const entry of discovery.entries)
374
294
  entries.add(entry);
375
295
  for (const uuid of group) {
296
+ for (const name of gitRoutes.get(uuid) ?? [])
297
+ entries.add(name);
376
298
  for (const { x0, x1 } of rows(uuid)) {
377
299
  for (const row of [x0, x1]) {
378
300
  if (!row)
379
301
  continue;
380
- // A container's result is its entry list, and a repository's
381
- // its Git directory too; a leaf is read whole.
382
302
  (CONTAINERS.has(row.type) ? namespaces : entries).add(row.absolutePath);
383
303
  if (row.type === "repo.git")
384
304
  entries.add(`${row.absolutePath}${sep}.git`);
385
305
  ancestorDirectories(row, routes);
386
306
  }
387
- // An identity found nowhere is absent on its root's whole
388
- // namespace, so any effect beneath that root crosses it, whether
389
- // or not a discovery named the scope.
390
307
  if (present(x0) && !present(x1))
391
308
  entries.add(rootDirectory(x0));
392
309
  }
@@ -401,7 +318,6 @@ export function admissionUnits(pass) {
401
318
  const closure = closureOf(address);
402
319
  return closure !== undefined && closure.observes(address) && !answer(closure);
403
320
  };
404
- // Each directory is answered once: members share their routes.
405
321
  const routed = new Set(), departed = new Set();
406
322
  let moving;
407
323
  for (const uuid of group) {
@@ -412,7 +328,6 @@ export function admissionUnits(pass) {
412
328
  if (changedAt)
413
329
  return `${changedAt} changed after its walk`;
414
330
  }
415
- // A departure is proved by the entry list it left.
416
331
  if (o0 && (!o1 || o0.absolutePath !== o1.absolutePath)) {
417
332
  const directory = dirname(o0.absolutePath);
418
333
  if (!departed.has(directory)) {
@@ -421,8 +336,6 @@ export function admissionUnits(pass) {
421
336
  return `${directory} changed after its walk`;
422
337
  }
423
338
  }
424
- // An identity the walk did not find is absent only if no walked
425
- // entry list moved while it was read.
426
339
  if (o0 && !o1)
427
340
  moving ??= closures.map(closure => closure.unsettledDirectory).find(Boolean) ?? null;
428
341
  if (o0 && !o1 && moving)
@@ -440,8 +353,6 @@ export function admissionUnits(pass) {
440
353
  for (const { x0, x1 } of rows(uuid)) {
441
354
  if (x0 && x1 && x0.absolutePath === x1.absolutePath && present(x0) === present(x1))
442
355
  continue;
443
- // Only an identity gone missing may have gone into ground nobody
444
- // read; a new one takes nothing from it.
445
356
  const reason = [x0, x1].map(row => row && gaps.namespace(row.rootUUID)).find(Boolean)
446
357
  ?? (present(x0) && !present(x1) ? gaps.domain : undefined);
447
358
  if (reason)
@@ -452,4 +363,3 @@ export function admissionUnits(pass) {
452
363
  };
453
364
  });
454
365
  }
455
- //# sourceMappingURL=admission-units.js.map
@@ -1,25 +1,10 @@
1
- /** Native hard-link evidence names the object a change reached through one
2
- * name: FSEvents records each event's file ID, the inode of the object that
3
- * name held within its own filesystem. An object's change is a change at
4
- * every one of its names (alias-examination.ts), so each object a hint saw
5
- * owes an examination of every name the materialized inventory knows for it,
6
- * in whichever root it lies. The hinted name keeps its own obligations, a
7
- * name the cut already examines owes nothing more, a name no inventory knows
8
- * rang where it was added, and Git storage belongs to its repository owner.
9
- * A hint that cannot bound its objects owes one domain examination: native
10
- * evidence reported none, other names coalesced into it, or its objects
11
- * outgrew their bound. So does one whose filesystem cannot be placed now,
12
- * because its directory is gone or its address resolves elsewhere. */
13
1
  import { lstat, realpath } from "node:fs/promises";
14
2
  import { join } from "node:path";
15
3
  import { suspectScope } from "@amalgm/live";
16
4
  import { objectNames } from "./alias-examination.js";
17
- /** Reads ground only for hints that name their objects, so a cut without
18
- * such hints costs none. */
19
5
  export async function aliasDiscovery(observations, read) {
20
6
  const hints = [];
21
7
  for (const { directory, suspicion, domain } of observations) {
22
- // A domain proof already examines every root.
23
8
  if (domain)
24
9
  continue;
25
10
  if (suspicion.aliases === null)
@@ -59,9 +44,6 @@ export async function aliasDiscovery(observations, read) {
59
44
  return [...owed];
60
45
  }) };
61
46
  }
62
- /** The device of the directory a hinted name was reported in, while that
63
- * address still resolves to itself; null when it cannot be placed. Each
64
- * address is read once, and every read runs at once. */
65
47
  function placement() {
66
48
  const reads = new Map();
67
49
  const once = (key, read) => {
@@ -77,4 +59,3 @@ function placement() {
77
59
  return lstat(here, { bigint: true }).then(stats => stats.dev, () => null);
78
60
  });
79
61
  }
80
- //# sourceMappingURL=alias-discovery.js.map
@@ -1,33 +1,12 @@
1
- /** An object's change is a change at every one of its names. A hard link gives
2
- * one object several names, possibly in different roots, and native evidence
3
- * names only the one it was changed through. So each committed name owes an
4
- * examination of every other name the materialized inventory knows for:
5
- * - the object it now names, when it changed there and that object has
6
- * another name: each alias not already recorded at the committed stat;
7
- * - the object it left, when that object had another name: each alias, since
8
- * losing a name changed that object at a stat nothing here recorded.
9
- * A link count of one proves there is no other name; a name added later is
10
- * heard where it was added. An alias already at the committed stat owes
11
- * nothing, and an examined alias found unchanged commits no change, so the
12
- * fan-out ends. Each object is asked for its names once per commit, however
13
- * many of them the commit changed, so the work is the changed names plus
14
- * their objects' other names, never their product. Identity stays
15
- * root-local: an alias is examined in its own root, and no UUID is ever
16
- * paired across names. */
17
1
  import { effectivelyActive } from "../ground-row.js";
18
2
  import { signedLinks } from "../source-signature.js";
19
3
  const LEAVES = new Set(["file.text", "file.binary", "link"]);
20
4
  const leaf = (row) => row && LEAVES.has(row.type) && row.status === "active" ? row : undefined;
21
- /** An unsigned object may have any number of names. */
22
5
  const named = (row) => (signedLinks(row.sourceSignature) ?? 2n) > 1n;
23
- /** Every name the inventory knows for one object that can hold its bytes now:
24
- * an effectively active leaf. */
25
6
  export function objectNames(inventory, physicalKey) {
26
7
  return inventory.objectRows(physicalKey)
27
8
  .filter(row => leaf(row) && effectivelyActive(row, uuid => inventory.physical(uuid)));
28
9
  }
29
- /** The addresses of every alias one commit's changes owe, in change order;
30
- * the commit's own names are recorded at their committed stat already. */
31
10
  export function aliasExaminations(changes, inventory) {
32
11
  const committed = new Set(changes.flatMap(({ before, after }) => [before?.uuid, after?.uuid]));
33
12
  const owed = new Map();
@@ -58,4 +37,3 @@ export function aliasExaminations(changes, inventory) {
58
37
  }
59
38
  return [...owed.values()];
60
39
  }
61
- //# sourceMappingURL=alias-examination.js.map
@@ -1,46 +1,21 @@
1
- /** Apply's open windows: each bound, not yet ended, naming in its members'
2
- * receipts every object it shows and every address it writes
3
- * (src/apply-window-rows.ts). Two laws read them:
4
- *
5
- * - Writers exclude writers. Another Apply window, a fetch lane or the
6
- * placement tidy waits while an open window owns ground it would write
7
- * (`ownershipWait`).
8
- * - Detect never waits. An object that stands where its receipt places it
9
- * is Apply's own: it keeps the member's identity and records nothing,
10
- * and the window's end rings it. Any other object is a person's, read
11
- * now. A container is one object: its children are entities of their
12
- * own, judged by their own identities (`placementOf`, `vacatedBy`).
13
- *
14
- * An ended window owns nothing: its result is projected. This is never
15
- * another journal or a source of physical identity. */
16
1
  import { resolve, sep } from "node:path";
17
2
  import { judgeBoundRoot } from "../apply-control.js";
18
3
  import { readOpenWindows } from "../apply-window-rows.js";
19
4
  import { cachedStatement } from "../sqlite.js";
20
- /** Every identity O or B holds in one root, Trash's included, answered one
21
- * probe per owner's identity: a root's scope costs its owners, never its
22
- * rows. Each answer is read when asked, inside its caller's transaction. */
23
5
  export function rootIdentities(database, rootUUID) {
24
6
  const held = cachedStatement(database, `SELECT 1 FROM entities WHERE uuid = ? AND root_uuid = ?
25
7
  UNION ALL SELECT 1 FROM detection_notebook WHERE uuid = ? AND root_uuid = ? LIMIT 1`).pluck();
26
8
  return { has: uuid => held.get(uuid, rootUUID, uuid, rootUUID) !== undefined };
27
9
  }
28
- /** An object an Apply may own, named within the root that holds it. Identity
29
- * continuity is root-local, so an object that leaves its root is a new
30
- * identity wherever it lands, Apply or not. */
31
10
  export const ownedObject = (root, physicalKey) => JSON.stringify([resolve(root), physicalKey]);
32
- /** What an Apply window waits on while other open windows own its scope. */
33
11
  export function ownershipWait(owners) {
34
12
  if (owners.length === 0)
35
13
  return null;
36
14
  return { kind: "dependency", reason: "Another unfinished Apply window owns this ground.",
37
15
  waitFor: { producer: "apply", entityIds: ownerEntityIds(owners) } };
38
16
  }
39
- /** The entities whose Apply owns ground. */
40
17
  export const ownerEntityIds = (owners) => [...new Set(owners.flatMap(owner => owner.uuids))];
41
- /** Whose unfinished Apply this is, for a reason. */
42
18
  export const ownerName = (owner) => `the unfinished Apply window ${owner.intent.attemptId} of ${owner.uuids.join(", ")}`;
43
- /** One Apply window, whichever ownership collection read it. */
44
19
  export const sameAttempt = (a, b) => a.intent.attemptId === b.intent.attemptId && a.intent.authorityId === b.intent.authorityId;
45
20
  const contains = (cone, path) => cone === path
46
21
  || path.startsWith(cone.endsWith(sep) ? cone : `${cone}${sep}`);
@@ -51,15 +26,14 @@ const normalize = (scope) => Object.freeze({
51
26
  uuids: scope.uuids ?? NONE,
52
27
  physical: scope.physical ?? NONE,
53
28
  });
29
+ export const ownersMeeting = (owners, scope) => {
30
+ const normal = normalize(scope);
31
+ return owners.filter(owner => intersects(owner, normal));
32
+ };
54
33
  const intersects = (owner, scope) => owner.uuids.some(uuid => scope.uuids.has(uuid))
55
34
  || owner.physical.some(key => scope.physical.has(key))
56
35
  || owner.cones.some(cone => scope.entries.some(path => contains(cone, path))
57
36
  || scope.subtrees.some(path => contains(cone, path) || contains(path, cone)));
58
- /** What one window's receipts own: every member's address and source
59
- * address, the addresses its sibling moves leave and take, every entity
60
- * among them, the exact objects it reveals over, stages or moves, and where
61
- * each of those objects may stand. Shared by writers' exclusion, Detect's
62
- * attribution and the host's post-end wake. */
63
37
  export function windowFootprint(members) {
64
38
  const cones = new Set(), uuids = new Set(), physical = new Set(), aside = new Set();
65
39
  const placements = new Map();
@@ -100,11 +74,6 @@ export function windowFootprint(members) {
100
74
  physical: Object.freeze([...physical].sort()), aside: Object.freeze([...aside].sort()),
101
75
  placements: new Map([...placements].map(([object, { uuid, at, opaque }]) => [object, Object.freeze({ uuid, at: Object.freeze([...at].sort()), opaque })])) };
102
76
  }
103
- /** An open window's placement of `object`, or null when no window placed
104
- * it. An object keeps its member's identity wherever it stands, as any
105
- * object does by physical continuity. It is Apply's own (`own`) only where
106
- * the receipt places it; anywhere else a person moved it, and that move is
107
- * recorded now under the member's UUID. */
108
77
  export function placementOf(owners, object, address) {
109
78
  const at = resolve(address);
110
79
  for (const owner of owners) {
@@ -114,18 +83,11 @@ export function placementOf(owners, object, address) {
114
83
  }
115
84
  return null;
116
85
  }
117
- /** The open window whose effect an absence at `address` is: it took what
118
- * stood there, or what stood above it, aside, or it moves an object from or
119
- * to exactly there. What last stood there is that member's until its end. */
120
86
  export function vacatedBy(owners, address) {
121
87
  const at = resolve(address);
122
88
  return owners.find(owner => owner.aside.some(path => contains(path, at))
123
89
  || [...owner.placements.values()].some(placement => placement.at.includes(at))) ?? null;
124
90
  }
125
- /** One host adapter reads every open window's receipts. A member whose
126
- * binding root was replaced by another directory owns nothing: what the
127
- * window held left with the old object, and the new root is compared like
128
- * any folder. A root absent or on another device is still the window's. */
129
91
  export function sqliteApplyOwnership(database) {
130
92
  const incarnation = cachedStatement(database, "SELECT identity FROM ground_incarnation WHERE singleton = 1");
131
93
  return {
@@ -155,9 +117,6 @@ export function sqliteApplyOwnership(database) {
155
117
  }),
156
118
  };
157
119
  }
158
- /** One ownership collection serves every scope in an observation. Admission
159
- * rechecks complete intersecting answers, including the initially empty set.
160
- * Unrelated owners do not invalidate this scope. */
161
120
  export class ApplyOwnershipSnapshot {
162
121
  #reader;
163
122
  #excluding;
@@ -167,7 +126,6 @@ export class ApplyOwnershipSnapshot {
167
126
  #physical = new Set();
168
127
  #closed = false;
169
128
  #failed = false;
170
- /** `excluding` names the window asking, which never owns against itself. */
171
129
  constructor(reader, excluding) {
172
130
  this.#reader = reader;
173
131
  this.#excluding = excluding;
@@ -191,22 +149,17 @@ export class ApplyOwnershipSnapshot {
191
149
  throw error;
192
150
  }
193
151
  }
194
- /** Owners of one object (ownedObject), collected once, including negative
195
- * answers. */
196
152
  physical(object) {
197
153
  if (this.#closed || this.#failed)
198
154
  throw new Error("Apply ownership observation is closed or failed");
199
155
  this.#physical.add(object);
200
156
  return this.#owners.filter(owner => owner.physical.includes(object));
201
157
  }
202
- /** Every object (ownedObject) an owner holds, asked once and recorded
203
- * nowhere: for a walk that answers Apply's holds itself and never seals. */
204
158
  held() {
205
159
  if (this.#closed || this.#failed)
206
160
  throw new Error("Apply ownership observation is closed or failed");
207
161
  return new Set(this.#owners.flatMap(owner => owner.physical));
208
162
  }
209
- /** Every open window this observation reads around, asked once. */
210
163
  owners() {
211
164
  if (this.#closed || this.#failed)
212
165
  throw new Error("Apply ownership observation is closed or failed");
@@ -237,4 +190,3 @@ function signature(owners) {
237
190
  return JSON.stringify(owners.map(owner => [owner.intent.attemptId, owner.intent.authorityId, owner.cones, owner.uuids,
238
191
  owner.physical]).sort((a, b) => JSON.stringify(a).localeCompare(JSON.stringify(b))));
239
192
  }
240
- //# sourceMappingURL=apply-ownership.js.map
@@ -1,12 +1,5 @@
1
1
  import { GroundBasisChangedError } from "../ground-basis.js";
2
- /** A committed write is settled once it is visible: ground it moved is read
3
- * again at once. Ground still moving names its own time, as a Git writer's
4
- * lock does, or none. */
5
2
  export const COMMITTED_SETTLES_IN_MS = 0;
6
- /** The verified notebook, a Watch binding or a Git writer advanced while
7
- * Detect was observing. The complete generation stays pending and re-reads
8
- * fresh truth on its next ring. A basis that knows when it settles without
9
- * one, as a Git writer's lock does, says so, and is re-read then. */
10
3
  export class DetectionBasisAdvancedError extends Error {
11
4
  settlesInMs;
12
5
  constructor(message = "the verified notebook advanced while Detect was observing; retrying fresh truth", settlesInMs = null) {
@@ -14,8 +7,6 @@ export class DetectionBasisAdvancedError extends Error {
14
7
  this.settlesInMs = settlesInMs;
15
8
  }
16
9
  }
17
- /** A ground fact changes only by commit, so a changed one is a basis that
18
- * already settled. */
19
10
  function advancedBasis(error) {
20
11
  for (let link = error; link instanceof Error; link = link.cause) {
21
12
  if (link instanceof GroundBasisChangedError)
@@ -28,8 +19,6 @@ function advancedBasis(error) {
28
19
  export function detectionBasisAdvanced(error) {
29
20
  return advancedBasis(error) !== null;
30
21
  }
31
- /** When moved evidence settles if nothing rings, where its basis knows. */
32
22
  export function basisSettlesInMs(error) {
33
23
  return advancedBasis(error)?.settlesInMs ?? null;
34
24
  }
35
- //# sourceMappingURL=basis-advanced.js.map
@@ -1,22 +1,9 @@
1
- /**
2
- * Text and link replays built from the machine content cache: the one host
3
- * seam between cached bytes and Live's replay law. This file owns no
4
- * watcher, scanner, database, or transport.
5
- */
6
1
  import { lstatSync, readFileSync } from "node:fs";
7
2
  import { readFile } from "node:fs/promises";
8
3
  import { textReplay, textReplayBase, } from "@amalgm/live";
9
4
  import { contentFile } from "../content-cache-host.js";
10
5
  import { sha256Hex } from "../sha256.js";
11
- /** Cache names are content hashes; nothing else names a cache file. */
12
6
  const CONTENT_HASH = /^[0-9a-f]{64}$/;
13
- /**
14
- * The replay of one sealed text or link result, read from the machine
15
- * content cache and verified against its head. Only a content thread runs
16
- * this: its reads and the diff grow with the file. A base the cache does
17
- * not hold selects the verified snapshot. Live's delta owns its inserted
18
- * bytes, so the answer carries exactly them and never the whole file.
19
- */
20
7
  export async function cachedReplay(cacheDir, request) {
21
8
  const { entityId, type, resultPayloadVersion } = request;
22
9
  if (!CONTENT_HASH.test(resultPayloadVersion))
@@ -37,12 +24,6 @@ export async function cachedReplay(cacheDir, request) {
37
24
  });
38
25
  return textReplay({ basePayloadVersion, baseBytes, resultPayloadVersion, resultBytes }, sha256Hex);
39
26
  }
40
- /**
41
- * The replay of a text result a capture holds in memory, built in place when
42
- * its cached base is no larger than `bound`: an edit's small reads cost less
43
- * than their crossing (content-capture-pool.ts). Null when the base is
44
- * larger, so a content thread builds the replay instead.
45
- */
46
27
  export function textReplayInPlace(cacheDir, request, bound) {
47
28
  const basePayloadVersion = textReplayBase(request.basePayloadVersion);
48
29
  let baseBytes = null;
@@ -63,4 +44,3 @@ export function textReplayInPlace(cacheDir, request, bound) {
63
44
  }
64
45
  return textReplay({ ...request, basePayloadVersion, baseBytes }, sha256Hex);
65
46
  }
66
- //# sourceMappingURL=cached-replay.js.map
@@ -1,18 +1,3 @@
1
- /** Apply asks this only after its exact Watch generation has settled. This
2
- * comparison reports observed local divergence from the committed
3
- * inventories; it neither proves disk state nor treats observation as a
4
- * durable backup or permission to overwrite it.
5
- *
6
- * It reads committed facts only: O, B and where they differ. Only an identity O and B hold differently can be local work, and the
7
- * ground's one writer marks each at its address (ground-marks.ts), so the
8
- * comparison seeks those marks at and beneath each address: it costs what
9
- * differs there, never the size of the ground. The applied entity is always
10
- * compared, since a difference above its address can make it differ. An
11
- * observed identity sharing never held is local remainder: no incoming
12
- * result names it and nothing else holds a copy, so Apply keeps it and never
13
- * waits for it. Any other difference between O and B is divergence unless
14
- * selection explains it: a container whose membership differs only by
15
- * remainder. */
16
1
  import { sep, resolve } from "node:path";
17
2
  import { differingBeneath } from "../ground-marks.js";
18
3
  import { effectivelyActive, groundRowProjection } from "../ground-row.js";
@@ -52,13 +37,11 @@ export function settledCaptureOutcome(database, input) {
52
37
  }));
53
38
  const active = (row, inventory) => row !== undefined
54
39
  && effectivelyActive(row, readers[inventory]);
55
- // Both rows are active; selection explains a difference of payload alone.
56
40
  const explained = (observed, shared) => {
57
41
  if (observed.type !== shared.type || observed.parentUUID !== shared.parentUUID || observed.name !== shared.name)
58
42
  return false;
59
43
  if (observed.type !== "workspace" && observed.type !== "folder")
60
44
  return false;
61
- // Membership is the stored-active children by (uuid, name).
62
45
  const key = (member) => `${member.uuid}\0${member.name}`;
63
46
  const held = new Set(members.detection_notebook(observed.uuid).map(key));
64
47
  const kept = members.entities(observed.uuid).filter(child => readers.detection_notebook(child.uuid) !== undefined);
@@ -68,8 +51,6 @@ export function settledCaptureOutcome(database, input) {
68
51
  for (const uuid of affected) {
69
52
  const physical = readers.entities(uuid), shared = readers.detection_notebook(uuid);
70
53
  const present = active(physical, "entities"), admitted = active(shared, "detection_notebook");
71
- // A different package of the same Git state names the same version.
72
- // Filesystem metadata and machine addresses are not portable state.
73
54
  if (present === admitted && (!present || physical.version === shared.version))
74
55
  continue;
75
56
  if (present && shared === undefined) {
@@ -86,4 +67,3 @@ export function settledCaptureOutcome(database, input) {
86
67
  reason: "Observed local changes have not been selected for sharing. Waiting for those changes to be shared or explicitly resolved before replacing them.",
87
68
  } : { kind: "settled", remainder };
88
69
  }
89
- //# sourceMappingURL=capture-outcome.js.map