@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,1007 +0,0 @@
1
- import { type UnavailableRoot } from "./detection/unreadable.js";
2
- import { type GroundRow } from "./ground-row.js";
3
- import { type UserGroundPort } from "@amalgm/core/identity";
4
- import { EntityApplyRail, type CloudEntityRecord, type EntityRecordDelivery, type FilesAddPorts, type FilesRegisterPorts, type MaintenanceReceipts, type PortableFileMode, Recoveries, type TrashPick } from "@amalgm/live";
5
- import { ApplyMap, type DriveTop } from "./apply-map.js";
6
- import { type FilesStageObserver } from "./files-observability.js";
7
- import { type ApplyWindowHostOptions, type EntityApplyStageEvidence } from "./apply-window-host.js";
8
- import { type ConstructRecordChange } from "./construct-door.js";
9
- import { type Destination, type Place, type Unit } from "@amalgm/live/drive";
10
- import type { ConstructPort, SharingPorts } from "@amalgm/live/sharing";
11
- import type { DiscoveryStats } from "./detection/identity-discovery.js";
12
- import type { RootExaminationTimings } from "./detection/root-examination.js";
13
- import { type VisitOutcome } from "./detection/maintenance-sweep.js";
14
- import { type DurabilityBarrier } from "./durability-barrier.js";
15
- import { type DetectCommitEvidence } from "./detection/runtime.js";
16
- import { type OpenNativeWatch, type WatchCoverageEvidence, type WatchHealth } from "./watching/index.js";
17
- import { WireClient } from "./wire-client.js";
18
- import { type GroundWait } from "./detection/root-walk.js";
19
- /** One identity discovery: whether the rows a scoped root's repositories no
20
- * longer found are absent from its whole namespace, and what it cost. */
21
- export interface DetectDiscoveryEvidence {
22
- readonly rootId: string;
23
- readonly directory: string;
24
- readonly rows: number;
25
- readonly elapsedMs: number;
26
- /** absent: witnessed; found: an identity stands where the pass did not
27
- * observe it; gap: the namespace could not answer; failed: a fault. */
28
- readonly outcome: "absent" | "found" | "gap" | "failed";
29
- readonly reason: string | null;
30
- readonly found: number;
31
- readonly stats?: DiscoveryStats;
32
- }
33
- /** Why a scan gave way with nothing of it standing, in its branch's own word.
34
- * Never error text: what a scan decided is read from this, not parsed. */
35
- export type DetectScanDeferral =
36
- /** What it read moved; a later read answers again. */
37
- "moved"
38
- /** The root stands off the device it was bound on; its ground ringing asks again. */
39
- | "root-off-device"
40
- /** A directory above hides the root; access returning is heard. */
41
- | "root-unreachable"
42
- /** Not a retry: a named read cannot cover a re-created root, so a complete
43
- * examination of it must still arrive. */
44
- | "root-recreated-owes-complete"
45
- /** An identity crossed this scan's scope, so its result stands nowhere and
46
- * the root's examination goes wider. */
47
- | "identity-crossed";
48
- export interface DetectScanEvidence {
49
- /** `deferred` says `reason`, and a later scan answers for this one. Only a
50
- * scan that threw is `failed`. */
51
- readonly outcome: "observed" | "deferred" | "failed";
52
- readonly reason?: DetectScanDeferral;
53
- readonly error?: string;
54
- readonly rootId: string;
55
- readonly directory: string;
56
- readonly scope: "complete" | "paths" | "none";
57
- readonly entries: number;
58
- readonly metadataReused: number;
59
- readonly contentReads: number;
60
- readonly gitInspections: number;
61
- readonly repositoryCaptures: number;
62
- readonly durationMs: number;
63
- readonly plannedRows?: number;
64
- readonly records?: number;
65
- /** Results Build settled against an exact accepted result: no record. */
66
- readonly settled?: number;
67
- readonly recordBytes?: number;
68
- /** Wall time inside readdir/lstat — the traversal's own cost. */
69
- readonly walkMs?: number;
70
- /** Wall time from the first content capture scheduled to the last settled. */
71
- readonly captureMs?: number;
72
- /** Summed capture task time. Divided by captureMs it is pool occupancy: at
73
- * or near 1 the pool is idle-serial, near its width it is saturated. */
74
- readonly captureBusyMs?: number;
75
- /** Bytes read and hashed by content capture during this scan. */
76
- readonly captureBytes?: number;
77
- /** Wall time reading, comparing and uploading repository states. */
78
- readonly gitMs?: number;
79
- /** Wall time resolving stored UUIDs against what the walk found. */
80
- readonly reconcileMs?: number;
81
- /** Wall time planning and persisting rows once identity is settled. */
82
- readonly persistMs?: number;
83
- /** A complete examination's outcome: `reused` when disk equals O and B
84
- * stands at O's selection, `scoped:<repositories>+<folders>` when a scope
85
- * holds its differences, otherwise the first reason the main walk answers.
86
- * Evidence only. */
87
- readonly selection?: string;
88
- /** Where a content thread's examination of a quiet root went. */
89
- readonly pooled?: RootExaminationTimings;
90
- }
91
- /** What one flush boundary proved: everything, except ground that waits
92
- * alone: a repository whose disk holds what cannot reach a receiver, a file
93
- * too large to send, or a root standing off its device. */
94
- export interface FlushOutcome {
95
- readonly waiting: readonly GroundWait[];
96
- }
97
- /** A flush asked before login converged, or after convergence failed: no
98
- * prefix can be proved, so it never answers as success. */
99
- export declare class GroundNotConverged extends Error {
100
- constructor();
101
- }
102
- export interface UserGroundHostOptions {
103
- /** Runtime-owned transport. Standalone host examinations may own their client. */
104
- readonly wire?: WireClient;
105
- /** The user's root (Core `userLayout().root`). */
106
- readonly userRoot: string;
107
- /** Live's computer-only folder (Core `userLayout().computer.live`):
108
- * identity.db, content/ and bindings/. */
109
- readonly dir: string;
110
- /** This computer's name. The computers folder (`files/`) holds a folder
111
- * for it, named from it once (Live `computerFolder`), where every folder
112
- * Register adds outside the home stands at its path on this computer. */
113
- readonly computerName: string;
114
- /** Whether this computer's Amalgm folder is served by its drive
115
- * (machine-host.ts `drive`). It is the one condition that decides how much
116
- * a login places, read once at that login (Live user-ground.ts): with a
117
- * drive, the home's map and two records; without one, the home whole. */
118
- readonly drive?: boolean;
119
- /** Where this machine keeps the storage of self-held worktrees
120
- * (git/home.ts), outside every ground: the lane's own folder. Absent, it
121
- * builds none. */
122
- readonly gitStorage?: string;
123
- readonly tunnelUrl: string;
124
- readonly tunnelToken: string;
125
- readonly runtimeVersion: string;
126
- /** Installation-wide host admission, before any writer touches ground. */
127
- readonly reserveWritableRoot?: (path: string) => void;
128
- readonly now?: () => Date;
129
- /** Product diagnostics consume this; Core's `/healthz` remains liveness-only. */
130
- readonly onWatchHealth?: (health: WatchHealth) => void;
131
- /** Host injection used by platform certification and failure examinations. */
132
- readonly openWatch?: OpenNativeWatch;
133
- /** The one durability barrier Add takes over its staged tree before rows or
134
- * reveal; injected only by failure examinations. */
135
- readonly durabilityBarrier?: DurabilityBarrier;
136
- /** Root-scoped Detect evidence for product diagnostics and examinations. */
137
- readonly onDetectScan?: (evidence: DetectScanEvidence) => void;
138
- /** Passive full-ground examination receipt, emitted only after an outer
139
- * Record commit. Omitted in production; never changes admission decisions. */
140
- readonly onDetectCommit?: (evidence: DetectCommitEvidence) => void;
141
- /** Transient Apply progress; durable responsibility remains in SQLite. */
142
- readonly onApplyStage?: (evidence: EntityApplyStageEvidence) => void;
143
- /** Crash seam for derived-address relocation examinations: Apply's
144
- * room-making moves and the placement tidy's moves alike. */
145
- readonly onDerivedRelocationStage?: ApplyWindowHostOptions["onDerivedRelocationStage"];
146
- /** The construct products this installation selected. Apply binds one
147
- * descriptor per construct type whether or not a product answers for it;
148
- * the type's own lane reports an unselected product and no other type is
149
- * affected. */
150
- readonly constructProduct?: ApplyWindowHostOptions["constructProduct"];
151
- readonly secretFollower?: ApplyWindowHostOptions["secretFollower"];
152
- /** How much Files work this runtime still holds: records the cloud has not
153
- * accepted, and disk changes not yet recorded. Each reaches zero only when
154
- * nothing of its kind could be lost if the disk were destroyed now; the
155
- * unsent count is null while the Outbox cannot be read, and the unsettled
156
- * count while the home holding this runtime's database is away. */
157
- readonly activity?: {
158
- readonly unsent: (count: number | null) => void;
159
- readonly unsettled: (count: number | null) => void;
160
- };
161
- /** A failed background pass (a Send or Receive attempt, an Apply lane, a
162
- * resumed Add intent, or granted-channel following) remains durable and
163
- * retries after this report; it never blocks readiness. A need Apply turns
164
- * into a wait (recover()) is reported here once per process. */
165
- readonly onBackgroundError?: (error: unknown) => void;
166
- /** Test and deployment tuning; every request remains finitely bounded. */
167
- readonly wireRequestTimeoutMs?: number;
168
- /** Lifecycle evidence for one crash-recoverable install (root-install.ts):
169
- * a Files Add of a workspace, or a login of the account's core root. */
170
- readonly onInstallStage?: (evidence: {
171
- readonly journey: "add" | "login";
172
- readonly rootId: string;
173
- readonly stage: InstallStage;
174
- }) => Promise<void> | void;
175
- /** Transient, opt-in evidence for exact stage measurement. */
176
- readonly onFilesStage?: FilesStageObserver;
177
- /**
178
- * Is stage evidence being read right now? An observer may be permanently
179
- * installed while nothing is listening, so the host asks rather than
180
- * assumes: counters that cost real work on the critical path are computed
181
- * only when the answer is yes.
182
- */
183
- readonly filesTraceActive?: () => boolean;
184
- }
185
- /** A login writes its intent in the save that commits its rows and binds
186
- * nothing, so it reports neither `intent-recorded` nor `binding-created`.
187
- * `ground-moved`: the reveal's moves are done and their fingerprints are not
188
- * yet refreshed. */
189
- export type InstallStage = "intent-recorded" | "materialization-verified" | "rows-committed" | "ground-moved" | "ground-revealed" | "binding-created" | "watching";
190
- /** Resources always close. Catch-up is proved through the final cutoff,
191
- * cancelled by pause, or incomplete: a durable Apply intent owns ground the
192
- * final pass could not attribute, Git refused a root, a root's ground was
193
- * still moving through the final pass, or user ground could not be read. A
194
- * failed step rejects
195
- * close with no catch-up claim. Startup suspects every root regardless;
196
- * nothing here lets it skip. */
197
- export type UserGroundCatchUp = {
198
- readonly state: "complete-through-cutoff";
199
- } | {
200
- readonly state: "cancelled";
201
- } | {
202
- readonly state: "incomplete";
203
- readonly cutoff: readonly {
204
- readonly rootId: string;
205
- readonly generation: number;
206
- }[];
207
- readonly unresolvedRoots: readonly string[];
208
- readonly owningIntents: readonly {
209
- readonly entityId: string;
210
- readonly attemptId: string;
211
- }[];
212
- readonly waiting: readonly GroundWait[];
213
- readonly movingRoots: readonly string[];
214
- readonly unavailableRoots: readonly UnavailableRoot[];
215
- };
216
- /** Resources always close; delivery never claims synchronization. Records
217
- * still pending are saved locally and send again, under the same mutation
218
- * identity, when Files next starts. Null when no Record rail ran. */
219
- export interface UserGroundClosed {
220
- readonly resources: "closed";
221
- readonly catchUp: UserGroundCatchUp;
222
- readonly delivery: EntityRecordDelivery | null;
223
- }
224
- export interface UserGroundCloseOptions {
225
- /** False cancels this lifetime without catching up. Durable work and the
226
- * blind interval remain for resume; ordinary product shutdown catches up. */
227
- readonly catchUp?: boolean;
228
- }
229
- /** The production Files port injected into Core. Portable identity remains in
230
- * Live; this class owns only Node filesystem, SQLite, Watch, and wire effects. */
231
- export declare class UserGroundHost {
232
- private readonly options;
233
- /** The door for a need Apply turns into a wait rather than a report (Live
234
- * recover.ts): each one this process meets reaches the background report
235
- * once, and from there the fault drain, like every other failure. */
236
- readonly recoveries: Recoveries;
237
- private readonly wire;
238
- private readonly ownedWire;
239
- private readonly operations;
240
- /** Roots whose pooled scope refused after its snapshot: their next
241
- * complete examination is the main walk, never the same scope again. */
242
- private readonly walkOwed;
243
- private closeTask;
244
- /** The cache's evidence connection outlives each download for the whole
245
- * lifetime (content-cache-index.ts). A closing host takes no new lease. */
246
- private cacheIndex;
247
- private readonly direct;
248
- private readonly laneBytes;
249
- private readonly watchHost;
250
- private activeIdentity;
251
- /** A Watch ring waits for its turn, never a timer (ringDetect). */
252
- private detectRingQueued;
253
- /** Roots standing off their device, with the reason. Every examination
254
- * re-derives the answer, so restart finds each one again. */
255
- private readonly rootsOffDevice;
256
- /** Ground that waits alone, by identity: a repository whose disk holds
257
- * what cannot reach a receiver, or a file too large to send. Every pass
258
- * that reads one answers again, so restart finds each anew. */
259
- private readonly waitingGround;
260
- /** One fetch per lost repository package, joined by every later ask. */
261
- private readonly baseFetches;
262
- /** Lost packages the cloud answered it holds no copy of, until the next
263
- * ask of that repository reads the answer. */
264
- private readonly lostBases;
265
- /** The authority this ground follows, bound before convergence reads
266
- * anything (bindGroundAuthority). */
267
- private authorityId;
268
- private converged;
269
- /** keptComputerFolder's answer, once read or chosen. */
270
- private computer;
271
- /** Cumulative graph-page reads, reported as diffs on the stages that
272
- * materialize roots so the ledger shows what each operation actually read. */
273
- private readonly graphPageReads;
274
- /** Named and repository lanes by lane key: one attempt per lane and root,
275
- * NAMED_DETECT_LANES at once. */
276
- private readonly namedAttempts;
277
- private namedRotation;
278
- /** Lanes that found ground an effect holds, each with the end of its
279
- * wait. They hold no slot; every release makes them look again. */
280
- private readonly groundWaits;
281
- /** Waits a release's look has not yet found still held. */
282
- private groundLook;
283
- private groundLookQueued;
284
- /** The one complete-lane attempt. */
285
- private completeAttempt;
286
- /** The ground each running lane examines: one examination per ground. */
287
- private readonly examinations;
288
- /** Ground reads running in the background (discovery warms, maintenance
289
- * visits): close drains them with the attempts before the ground database
290
- * goes, so none reopens it. */
291
- private readonly backgroundReads;
292
- /** Lanes whose last attempt failed. A parked lane holds no slot. */
293
- private readonly parkedDetect;
294
- /** Consecutive faults per lane since its last proof. */
295
- private readonly laneFaults;
296
- /** Callers proving a finite ticket; every finished attempt wakes them. */
297
- private readonly detectWaiters;
298
- private recordRail;
299
- /** Rail rings a Detect commit owes, queued for a later turn so the
300
- * committing task ends before a rail's drain starts. Each stays here until
301
- * it runs; shutdown drains them into its flushes and pause retires them,
302
- * since a ring only wakes durable work. */
303
- private readonly nextTurns;
304
- private stopCacheMaintenance;
305
- private recordStore;
306
- /** The drive's removals, held until their burst ends (Live
307
- * drive/held-removals.ts); released before the rail flushes or closes. */
308
- private heldRemovals;
309
- private entityAccess;
310
- private constructLedger;
311
- private constructDoor;
312
- private releaseGrantWatch;
313
- private applyRail;
314
- private applyHost;
315
- /** Pays the placement notes every notebook writer leaves (placement-tidy.ts). */
316
- private placementTidy;
317
- /** The maps of the roots this computer serves on demand (apply-map.ts),
318
- * each woken when Receive commits, and with the entities a window end or a
319
- * Detect commit admitted. */
320
- private readonly driveMaps;
321
- /** Who hears what the drive's maps list change (onDriveChange). */
322
- private readonly driveListeners;
323
- /** The kept heads the Apply rail proved, through the page reader it reads
324
- * graph pages with, kept while it runs for the drive maps, which hold the
325
- * same graphs a fetch lane reads. */
326
- private driveGraphs;
327
- /** The kept heads a look at a root's top reads, over the same graphs: a
328
- * root only looked at loads no map (apply-map.ts readDriveTop). */
329
- private driveTops;
330
- /** Where a root a fetch lane enters stands: the drive's shelf, named by the
331
- * root's UUID, given by the drive's placer (`enterNow`). */
332
- private driveShelf;
333
- /** Each root's one install in flight, a fetch lane's Enter or its resume:
334
- * a touch that finds one joins it. */
335
- private readonly rootInstalls;
336
- private detectJobs;
337
- /** This runtime's identity in the disposition ledger. */
338
- private readonly incarnation;
339
- private detectLedger;
340
- private namedDetect;
341
- /** The grounds Watch was last asked to cover, and the outside Git storage
342
- * their repositories declare beside them. */
343
- private watchGrounds;
344
- private gitStorage;
345
- /** Roots whose verified reveal is the baseline their first Watch coverage
346
- * owes. The binding that makes a root coverable makes it coverable to every
347
- * caller, so whichever reconcile covers it first spends the baseline. */
348
- private readonly owedBaselines;
349
- private closing;
350
- /** Add journeys holding their ground; the maintenance sweep waits them out. */
351
- private workspaceAdds;
352
- /** The periodic metadata sweep of every Watch root. Its findings are owed
353
- * to the scoped lanes; it never writes. */
354
- private readonly maintenance;
355
- /** The maintenance requests each cut captured before its proof read. */
356
- private readonly maintenanceCoverage;
357
- /** Examinations this lifetime's saves left owed ring as named suspicion. */
358
- private readonly owedExaminations;
359
- private hearingOwed;
360
- /** Visible-ground effects coordinate by address cone: Detect passes hold
361
- * the roots they observe, Apply holds its target addresses, Register and
362
- * Add hold the ground they materialize. Unrelated cones never wait. */
363
- private readonly ground;
364
- private boundUserRoot;
365
- /** The directories from the home down to the folder holding this runtime's
366
- * database, each as the object that stood there when it opened. */
367
- private databaseGround;
368
- /** Watch's latest unsettled count and what the activity hook last heard,
369
- * both unset until Watch first reports. */
370
- private watchUnsettled;
371
- private saidUnsettled;
372
- /** Apply waits on ground without a deadline; shutdown cancels them just
373
- * before it stops the Apply rail, which resumes from durable intents. */
374
- private readonly applyWaits;
375
- readonly port: UserGroundPort;
376
- constructor(options: UserGroundHostOptions);
377
- /** One admitted Files journey; shutdown waits for every writer to settle.
378
- * A journey fences the cached names it trusts until it ends, the first
379
- * login's too: collection may start inside it once the line is first read
380
- * (content-cache-fences.ts). */
381
- operation<T>(work: () => Promise<T>): Promise<T>;
382
- private stage;
383
- /** Whether a counter worth real time on the critical path may be computed. */
384
- private measuring;
385
- private reportDetectScan;
386
- databasePath(): string;
387
- /** This machine's ground rows, read from outside the host: a closed host
388
- * holds nothing open, however often it is looked at. */
389
- rows(): GroundRow[];
390
- watchHealth(): WatchHealth;
391
- /** Resolves once what the OS has handed Watch has reached it, already
392
- * counted in `activity.unsettled`. On Linux that is every change made
393
- * before the call. */
394
- flushWatch(): Promise<void>;
395
- /**
396
- * Place one unit a root on demand lists, at the newest version received
397
- * now, with every unit it needs placed first: its fetch lane (Live
398
- * lane.ts). It answers once every map the drive holds lists the placed
399
- * unit where it stands, so the drive judges it as placed. A rejection is a
400
- * typed placement failure the drive reports to every touch that waited
401
- * (src/drive/): `unavailable` when its chain made no progress for `stall`
402
- * ms, naming the unit it waits on (`failed`), the lane keeping every
403
- * obligation; `refused` when it is nowhere this computer can place it. A
404
- * fault rejects as itself. `rootShelf` names where a workspace root the
405
- * lane enters stands (`enterReferencedRoot`). `emptied` places a file the
406
- * OS emptied before this computer held its bytes: it stands empty, none of
407
- * its bytes fetched, and Detect records it (Live drive/README.md).
408
- */
409
- enterNow(entityId: string, { stall, rootShelf, emptied }?: {
410
- readonly stall?: number;
411
- readonly rootShelf?: (rootUUID: string) => string;
412
- readonly emptied?: boolean;
413
- }): Promise<void>;
414
- /**
415
- * Remove one unit a root on demand lists that this computer never placed,
416
- * with none of its bytes (Live drive/held-removals.ts): its Trash at the
417
- * version the map lists is held until the burst it belongs to ends, and the
418
- * map lists it no more. False, recording
419
- * nothing, when the home's sharing policy keeps it local, or the map cannot
420
- * say its whole record; the drive then places it and the shelf removes it,
421
- * as Detect records any removal. `rootShelf` names where a root this
422
- * computer never bound would stand, where its policy then stands.
423
- */
424
- removeListed(unit: Unit, { rootShelf }: {
425
- readonly rootShelf: (rootUUID: string) => string;
426
- }): Promise<boolean>;
427
- /** Release the drive's held removals when one stands at `place`, so the
428
- * cloud hears that name freed before an act takes it. */
429
- freeListed(place: Place): Promise<void>;
430
- /**
431
- * Move one file or link a root on demand lists that this computer never
432
- * placed to `to`, a free name of its own root or another, with none of its
433
- * bytes (Live drive/records.ts). Within its root the move is recorded at
434
- * the version the map lists. Into another it arrives there under a fresh
435
- * UUID, naming the content already sealed, a binary its manifest alone
436
- * (`arrivalManifest`), and that arrival is saved with its removal here,
437
- * held (Live drive/held-removals.ts). The maps then list it at `to` and no
438
- * more where it stood. False, recording nothing, when either root's sharing
439
- * policy keeps its address local, or the maps cannot say its whole record;
440
- * the drive then places it and the shelf moves it, as Detect records any
441
- * move. `rootShelf` as for `removeListed`.
442
- */
443
- moveListed(unit: Unit, to: Destination, { rootShelf }: {
444
- readonly rootShelf: (rootUUID: string) => string;
445
- }): Promise<boolean>;
446
- /** The manifest a binary's arrival in another root names, with none of its
447
- * blocks: the one its size fixes, this computer's own, or the authority's,
448
- * fetched alone. Null for a text file or link, whose bytes need none. */
449
- private arrivalManifest;
450
- /**
451
- * Give one file a root on demand lists that this computer never placed
452
- * the executable posture `fileMode`, with none of its bytes (Live
453
- * drive/records.ts): the change is recorded at the version the map lists,
454
- * and the map lists it with that mode. False, recording nothing, when its
455
- * home's sharing policy keeps it local, or the map cannot say its whole
456
- * record; the drive then places it and the shelf changes its mode, as
457
- * Detect records any change of mode. `rootShelf` as for `removeListed`.
458
- */
459
- modeListed(unit: Unit, fileMode: PortableFileMode, { rootShelf }: {
460
- readonly rootShelf: (rootUUID: string) => string;
461
- }): Promise<boolean>;
462
- /** A root's map read again for a unit whose change was just recorded, so
463
- * the drive's next judgment finds it where the record leaves it. The record
464
- * is made whatever the read says: a failure is the background's to hear,
465
- * and the next records that arrive read the map again. */
466
- private listedAgain;
467
- /** Released holds read again in their own roots' maps: each unit is listed
468
- * from the record that now stands for it, its own Trash or, beneath a
469
- * removed folder, the accepted state that folder's Trash takes with it. */
470
- private listedReleased;
471
- /** What recording a change of one listed unit needs: the record its map
472
- * lists it at, and the Record rail. Null when the map cannot say that whole
473
- * record, a root of `places` has no map, or the home's sharing policy keeps
474
- * a place local. */
475
- private listedChange;
476
- /** The runtime said what it runs: a record held on that answer plays now. */
477
- productsChanged(): void;
478
- /** Whether Send is paused until the authority rings: refused over the
479
- * person's storage limit. */
480
- sendPaused(): boolean;
481
- /** Read-only reasons owned by the running Apply coordinator. */
482
- applyWaiting(): ReturnType<EntityApplyRail["waiting"]>;
483
- /** The map of one root this computer serves on demand: its received state
484
- * at the received prefix, each placed entity where it stands, loaded on
485
- * first ask and kept current as records arrive and ground is admitted
486
- * (apply-map.ts). The refresh is awaited so the map answers from the asked
487
- * position; a wake's failure goes to the background-error sink and the
488
- * next wake tries again. Null when this person's accepted graph holds no
489
- * such root: the map loads nothing, so the host keeps no map for it and the
490
- * drive treats the reference that asked as an ordinary entity. */
491
- driveMap(rootUUID: string): Promise<ApplyMap | null>;
492
- /** Tells `listener` of each change to what the drive's maps list: the
493
- * entities a map took and the containers they touched, or null when a map
494
- * loaded whole. A door that holds what it listed (the Windows sync root)
495
- * lists those folders again. Returns its unsubscribe. */
496
- onDriveChange(listener: (touched: ReadonlySet<string> | null) => void): () => void;
497
- /** The top of one root this computer serves on demand, at the received
498
- * prefix, from the root's own record alone (apply-map.ts readDriveTop):
499
- * asked for a root the drive has not entered. Null exactly when `driveMap`
500
- * would be. */
501
- driveTop(rootUUID: string): Promise<DriveTop | null>;
502
- /** Records arrived, or these entities' O rows changed: every map reads
503
- * the received prefix again and takes each entity where it stands now. */
504
- private wakeDriveMaps;
505
- /** Every map the drive holds read again, as a wake reads it, awaited; a
506
- * read's failure goes to the background-error sink and the next wake
507
- * tries again. */
508
- private refreshDriveMaps;
509
- /** What every map lists may have changed at no new position: each loads
510
- * again. */
511
- private reloadDriveMaps;
512
- private closeDriveMaps;
513
- private wakeObservedApply;
514
- /** A Detect dependency is a request, never a hope. It is made in the same
515
- * synchronous step that parks the waiter, which the rail already wakes for
516
- * any examination after its comparison. The named ground is suspected like
517
- * a native ring, so one finite examination follows even when nothing else
518
- * changes; its settlement wakes the waiter, and a no-op examination only
519
- * lets it compare again. It holds no ground its own examination needs. */
520
- private openDetectLedger;
521
- private requestExamination;
522
- watchEvidence(): WatchCoverageEvidence;
523
- coverWorkspaceEvidence(workspaceId: string): WatchCoverageEvidence;
524
- /** Add already projects authoritative rows; this proves that the same
525
- * long-lived runtime now owns their healthy ongoing coverage. */
526
- addedWorkspaceEvidence(workspaceId: string): WatchCoverageEvidence;
527
- /** Host effects for Live-owned Files commands. The shell CLI receives these
528
- * ports but never decides Files behavior itself. */
529
- filesCommandPorts(): {
530
- readonly register: FilesRegisterPorts;
531
- readonly add: FilesAddPorts;
532
- };
533
- /** Resume the same host effect used by the SDK command before readiness.
534
- * Staged ground has no binding, so recovery cannot race Watch or Detect.
535
- * Each intent is one workspace's durable responsibility, not the machine's:
536
- * an intent that cannot be satisfied now is reported and stays durable for
537
- * the next start, an explicit re-Add or, for a root entered on demand, the
538
- * next touch, while readiness proceeds. */
539
- private resumeWorkspaceAdds;
540
- /** One root's install at a time: an ask while one runs joins it. */
541
- private installingRoot;
542
- /**
543
- * A fetch lane's Enter of a workspace root this computer does not hold
544
- * (Live lane.ts `root`; apply-window-lane.ts): the root as its own unit,
545
- * with what it places whatever the unit, at the lane's position P, onto the
546
- * drive's shelf named by its UUID, where it stays for the life of this
547
- * computer, marked on demand. It is Add's install: one durable intent whose
548
- * references are the held one that led there, staged and verified, its rows
549
- * committed at P, revealed, bound and covered. A touch that finds an intent
550
- * for the root, this Enter's or an Add's, resumes it instead.
551
- */
552
- private enterReferencedRoot;
553
- /** The intent of one root's Enter at P, written once nothing stands where
554
- * it will. */
555
- private beginRootEnter;
556
- /** One pending intent's install to its end: Files Add's resumed, or a
557
- * root's Enter. Add's references follow its install; an Enter's reference
558
- * already stands. */
559
- private installPendingRoot;
560
- /** Register W: the binding and reference already stand (Live's
561
- * placeWorkspaceReference), so W is inside Amalgm bounds and travels like
562
- * any other new ground: ordinary Detect packages W's subtree and the
563
- * reference's new folders, Record admits them, and Send publishes them.
564
- * Register only waits on that one path: it names W and its reference as
565
- * suspect, proves that cutoff, flushes Send, and reads the accepted view
566
- * until it holds W as its own root and core holds W's reference. */
567
- completeWorkspaceRegistration({ workspaceId, referencePath }: {
568
- readonly workspaceId: string;
569
- readonly referencePath: string;
570
- }): Promise<{
571
- readonly registered: true;
572
- readonly alreadyRegistered?: true;
573
- readonly cloudHead: string;
574
- readonly watch: WatchCoverageEvidence;
575
- /** Ground inside W that waits alone: a repository Git cannot read, a
576
- * file too large to send. */
577
- readonly waiting: readonly GroundWait[];
578
- }>;
579
- /** An accepted W publishes nothing, yet its accepted cargo must stand whole
580
- * at the authority. What the authority lacks ships again from whatever
581
- * here still holds it exactly: a cache copy, or ground whose row names the
582
- * accepted payload. The rest was overtaken here or left this machine; the
583
- * stage names how much, and newer local work syncs as its own Records. */
584
- private restoreAcceptedCargo;
585
- /** What waits alone: each repository whose disk holds what cannot reach a
586
- * receiver, each file too large to send, and each root off its device. */
587
- private waiting;
588
- /** Each waiting thing a pass read answers again: it waits, named once, or
589
- * it travels. */
590
- private answerWaits;
591
- /** Detect, Record and Send through W's ground and its reference: the same
592
- * scoped proof any other named change takes, then every Record sent. A
593
- * repository inside W that waits for its files holds only itself; W
594
- * itself waiting, or off its device, has nothing to register. */
595
- private publishRegistered;
596
- /** Whether the accepted view holds W as its own active root and core holds
597
- * W's active reference. */
598
- private registeredIn;
599
- /** Register's Watch evidence: W's ground has one healthy content owner,
600
- * and the directory Watch covers it at. */
601
- private registrationCoverage;
602
- /** The accepted core root, which must be the core ground this machine
603
- * holds. */
604
- private acceptedCoreRoot;
605
- /** Whether AV holds W as its own active root. Anything else AV holds of W
606
- * refuses: once another root holds W, that root's graph owns its identity. */
607
- private acceptedWorkspace;
608
- /** One maintenance visit of a Watch root that begins after now, settled
609
- * once the ordinary lanes discharged what it found: a metadata comparison,
610
- * never a content reread. */
611
- requestVisit(rootId: string): Promise<VisitOutcome>;
612
- /** Each Watch root's maintenance visit receipts now. */
613
- maintenanceReceipts(): ReadonlyMap<string, MaintenanceReceipts>;
614
- /** Prove one finite observation boundary in SQLite, immutable content
615
- * storage, and the official cloud head. Rings received during that proof
616
- * remain pending and already own their next debounced Detect pass. Roots
617
- * refused at that boundary are named: their local rows are current, and
618
- * their last complete result remains the official one. */
619
- flush(): Promise<FlushOutcome>;
620
- /** A database that stands aside with its home is that home's ground away:
621
- * unavailable, retried on its timer and heard returning by Watch. One whose
622
- * home stands is a fault, as is a refusal that races the home's return. */
623
- private databaseCause;
624
- /** Every directory from the home down to this database's folder is the
625
- * object that stood there when the database opened. */
626
- private databaseStanding;
627
- /** Tells the activity hook Watch's unsettled count when what it would hear
628
- * changed. While the home holding this database is away, what that home
629
- * owes cannot be told, so it hears null. */
630
- private sayUnsettled;
631
- /** Prove everything owed now, through its current cutoff. Ground still
632
- * moving when no retry remains names every root the cutoff left unsettled
633
- * that no unreadable ground explains. */
634
- private proveOwed;
635
- /** Run lanes until everything this ticket scoped at its cutoff is settled.
636
- * An attempt that covered the ticket and failed fails the caller honestly;
637
- * attempts on other ground, or frozen before the ticket, never do. A wait
638
- * (moving or unreadable ground) is never a failure: the ticket
639
- * answers every wait its lanes parked on together, once none still runs. */
640
- private proveTicket;
641
- /** Every attempt and background ground read already running, drained.
642
- * Outcomes stay with their lanes. */
643
- private detectDrained;
644
- /** One background ground read, held for close until it settles. */
645
- private backgroundRead;
646
- /** Start every lane with owed work and a free slot. Synchronous and
647
- * idempotent, so every ring, release, retry and finished attempt may call
648
- * it. A caller proving a ticket passes it: a lane parked on a failure that
649
- * serves the ticket runs now, because a finite proof observes its own
650
- * attempt. An owner wait never reruns; unchanged work cannot end it. */
651
- private dispatchDetect;
652
- private nextTurn;
653
- private endNextTurns;
654
- /** What every lane is doing as one starts, so starvation is visible. */
655
- private laneState;
656
- /** The ground a complete-lane cut reads: its complete root, or what any
657
- * proof of the names it escalated reads (runtime.ts footprint). */
658
- private cutFootprint;
659
- /** A lane found ground held. Its wait lasts until a release's look finds
660
- * that ground free, so examiners hear one wait, not every look. */
661
- private awaitGround;
662
- /** An effect released ground. A release rings Detect as a write rings
663
- * Watch: once per turn, every waiting lane looks again at which ground is
664
- * free, and a wait the look no longer finds held ends. */
665
- private groundReleased;
666
- /** A lane slot or ground wait ended: lanes restart, then every ticket
667
- * re-examines. Waking a ticket before its slot is free would find the lane
668
- * still serving and sleep through the release. */
669
- private laneFreed;
670
- /** Timers, releases and finished attempts wake lanes; cold journeys and
671
- * shutdown own their own proofs. */
672
- private wakeDetect;
673
- private blocked;
674
- /** What a lane's failure is to the tickets it covered. A basis that
675
- * advanced while Detect read is truth still arriving, never a fault: its
676
- * cuts stay pending as moving ground, re-read on the lane's retry. */
677
- private laneCause;
678
- private park;
679
- private unpark;
680
- private clearDetectParks;
681
- /** A failed attempt answers every ticket its cuts covered; its slot's
682
- * release wakes them. */
683
- private detectEnded;
684
- /** Before convergence reads any replication state, the ground holds only
685
- * its current authority's (authority-binding.ts). The held connection's
686
- * first open starts the saver that runs the binding. */
687
- private bindGroundAuthority;
688
- /** An Add committed what it verified as Apply history and released its
689
- * ground: every line reads its head again, and a root it revealed releases
690
- * a line held on its capability. */
691
- private addRecorded;
692
- private startRecordRail;
693
- private startApplyRail;
694
- /** Ends this lifetime's Apply once its rail has stopped: the placement
695
- * tidy stops and closes its connection, then the Apply store closes, and
696
- * nothing names either again. */
697
- private endApply;
698
- close(options?: UserGroundCloseOptions): Promise<UserGroundClosed>;
699
- /** Every step runs in order even after an earlier one failed; the failures
700
- * reject together only once every resource is closed. */
701
- private shutdown;
702
- /** What this lifetime owed ends with its Watch; the next lifetime's blind
703
- * interval examines every root. */
704
- private forgetOwed;
705
- /** Pause cancels this lifetime. Durable work and the blind interval remain
706
- * for resume; nothing here claims catch-up. */
707
- private cancelLifetime;
708
- /** Command shutdown is the last catch-up boundary. Durable Apply ownership
709
- * of observed or unreachable ground, Git refusing a root, ground still
710
- * moving through the final pass, or user ground this process cannot read
711
- * leaves it incomplete; startup suspects every root unconditionally, and
712
- * a terminal Apply or a changed refusal wakes the held Detect. */
713
- private catchUpThroughCutoff;
714
- /**
715
- * The host half of Sharing's ports: the access tables over the tunnel, the
716
- * owner and principal lookups the gateway answers, and this computer's
717
- * rail. The product supplies `constructs`; the caller supplies the link a
718
- * person opens.
719
- */
720
- sharingPorts(input: {
721
- readonly constructs: ConstructPort;
722
- readonly link: (id: string) => string;
723
- }): SharingPorts;
724
- /**
725
- * One deliberate construct change, from the product that owns it. Every
726
- * create, save, rename and delete of a construct reaches the rails here and
727
- * nowhere else.
728
- */
729
- recordConstruct(change: ConstructRecordChange): Promise<void>;
730
- /**
731
- * Empty Trash, or delete one item in it for good: Live plans one deletion
732
- * per entity the pick holds, children first, and each enters the Outbox as
733
- * an intentional record. The view is this machine's notebook over the roots
734
- * it holds whole (ground-reads.ts readTrashView): its accepted results and
735
- * Detect's own committed ones. A root served on demand is left out, and
736
- * the answer names how many, since only the Gateway's view holds them
737
- * whole; an item in one is refused. A pass cut short is finished by running
738
- * it again; the mutation ids repeat, so the Outbox keeps what it already
739
- * holds.
740
- */
741
- deleteFromTrash(pick: TrashPick): Promise<{
742
- readonly recorded: number;
743
- readonly onDemandRoots: number;
744
- }>;
745
- /**
746
- * One sealed secret value, fetched because the keychain asked for it. A
747
- * construct's cargo lives under its own UUID, so that is the resource. The
748
- * sealed copy in the content cache is collected like any unheld artifact.
749
- */
750
- readSecretPayload(entityId: string, head: string): Promise<Uint8Array>;
751
- /** Every secret record this computer holds, for the keychain's shelf. */
752
- secretRecords(): readonly CloudEntityRecord[];
753
- /** The entity type this computer recorded for a UUID, for construct doors. */
754
- constructKind(uuid: string): string | null;
755
- /** The user root's synchronization address, resolved once when first
756
- * bound; every child cone is derived from it. */
757
- userRoot(): string;
758
- /** The active top-level workspace rows standing at the user root: the core
759
- * root as this computer holds it, exactly one once login has placed it. */
760
- private localCoreRoots;
761
- /** Every root this computer materializes, as the one sharing policy
762
- * reaches them: the home, once login placed it, and each reached binding. */
763
- private policyRoots;
764
- /** A received result of the home's policy file, now applied here, owes
765
- * every root its selection under it, as a local edit would
766
- * (policy-owed.ts). Read after the window committed, so the text is what
767
- * Apply verified or a later edit, which rings Detect itself. */
768
- private policyReceived;
769
- /** The root the drive serves by default: this computer's core root. */
770
- coreRootUUID(): string;
771
- /** Where a root's placed ground stands on this computer: the user root for
772
- * the core root, a bound external workspace's directory, else null for a
773
- * root this computer never bound, which the drive lists from its map. */
774
- shelfDirectory(rootUUID: string): string | null;
775
- private cacheDir;
776
- /** Each external workspace's machine-local binding, `<uuid>` → its ground. */
777
- private bindingDir;
778
- /** This computer's folder in the computers folder, once chosen: the drive
779
- * never shows it here, where its ground already stands. */
780
- keptComputerFolder(): string | null;
781
- /** The folder Register adds outside the home under: kept once chosen, and
782
- * chosen from this computer's name among the folders the accepted
783
- * computers folder already holds, so no two computers share one. */
784
- private computerFolder;
785
- private computerFolderFile;
786
- private cloudPort;
787
- /** The authority's head as it stands, selected to the scope and kept; null
788
- * when the authority holds no graph for this person. */
789
- private readHead;
790
- /** The graph an install reads (AGENTS.md §5): the head at N plus the
791
- * complete accepted tail the Inbox holds after N, folded by the one reducer
792
- * and selected to the operation's roots, at the tail's watermark T. Login
793
- * and Add read it alike, so neither installs ground the authority already
794
- * moved past, nor replays history the fold settled.
795
- *
796
- * An install's lookup is the first reader of the line, so it starts Receive
797
- * if nothing has: Receive then begins at the head it folds onto. The fold
798
- * waits until Receive has heard the history as it stands; this machine's
799
- * Send is never a graph's truth. An empty tail leaves the head as the
800
- * authority stored it. Ground that already holds its place installs
801
- * nothing: it follows from that place through Receive and Apply, so its
802
- * lookup only names the head and starts nothing. */
803
- private installableGround;
804
- /** Every head this machine reads is a basis for received state at the
805
- * positions after it (graph-heads.ts), kept only once its bytes prove the
806
- * checksum the authority named. */
807
- private keepGraphHead;
808
- /** The authority's stored snapshot as this machine's graph. A head is held
809
- * lazily — no page is read until an operation asks for a root — and every
810
- * page this machine already cached is a local read, so an unchanged root
811
- * never crosses the network twice. */
812
- private materializeRegistry;
813
- /** The records a lookup hands to Live: every root's own record — the
814
- * discovery set that proves root uniqueness — plus the full records of
815
- * exactly the roots the operation acts on. A records-shaped snapshot is a
816
- * first publication's own small graph and travels whole, keeping its
817
- * records-shape checksum law intact. */
818
- private selectScope;
819
- /** The account's core root: the one active top-level workspace named by the
820
- * account email. Registered-boundary references live only there. */
821
- private coreRootId;
822
- /** Read one graph page by identity: cached pages come off local disk, the
823
- * rest are fetched straight from content storage and cached on the way in.
824
- * The graph proves every page against its declared identity as it parses,
825
- * so this reader only guards the cache against torn copies. */
826
- private readGraphPage;
827
- private graphPagePath;
828
- private localPort;
829
- /** A package's cargo: its members' content and its pages, in one seal
830
- * inventory and one cargo stream, so the record it accepts names only
831
- * durable content. The members' sources are their admitted rows, like any
832
- * upload's. */
833
- private uploadPackage;
834
- /** Send's small-cargo fast path: the record's sealed artifacts ride its
835
- * batch's submit frame, so one round trip carries records, manifests, and
836
- * bytes. Each artifact is read where it stands, the journal first and then
837
- * the cache (cargo-journal.ts), and only when that copy proves it whole
838
- * within the inline bound; anything else returns null and the block upload
839
- * path runs unchanged. A package with a parent here takes that path, whose
840
- * inventory asks which of its ancestors the authority lacks
841
- * (git/held-package.ts cachedParent). */
842
- private readInlineCargo;
843
- /** One self-contained cargo segment on the wire: each artifact named by
844
- * its hash and length in the body ahead of its bytes (Live's cargo law),
845
- * one round trip in which the authority proves each whole. Returns the authority's sealed hashes for the stream law to
846
- * prove coverage. The acknowledgement carries the gateway's own leg
847
- * timings — verification, storage, sealing — which fold into the ledger
848
- * as a decomposition of this round trip's `wireMs`. */
849
- private putCargo;
850
- /** Store one wave of provisional content blocks, addressed by their own
851
- * digests and bound to no artifact. Resolving means every block is
852
- * durable at the authority. Answers the wire bytes actually sent. */
853
- private putContentBlocks;
854
- /** Seal one artifact's index: a manifest, or a list of parts. The
855
- * authority re-proves every named block, or every named part, durable
856
- * before anything becomes visible, so this frame is only lawful after the
857
- * complete content went over the wire. */
858
- private putContentManifest;
859
- private uploadSnapshotContent;
860
- /** Fetches back package `transportVersion`, which a row names and the
861
- * cache lost, through the same verified download Apply uses. Only that
862
- * package: another of equal content is another event's
863
- * (git/held-package.ts). When the cloud holds it no more, the row's claim
864
- * is false: it throws recover()'s `Recovering`, counted. `attempts` names
865
- * the one owner of its retries: a cold journey's download retries itself;
866
- * an ongoing lane's own backoff is its only retry. */
867
- private fetchBase;
868
- /** A cold journey's restore: it reads the whole of its ground in one
869
- * awaited walk, so it waits for the fetch, and a fault fails the walk. */
870
- private restorePackage;
871
- /** An ongoing lane's restore never waits for the cloud. A package that
872
- * landed answers at once, and so does a fetch that found the cloud holds it
873
- * no more, with recover(); otherwise the repository waits, alone, while one
874
- * fetch per package runs. "Could not reach the cloud" is a fault of the
875
- * world: only the fetch retries, doubling from DETECT_RETRY_MS to
876
- * UNREADABLE_RETRY_MS, and reads nothing else. "The cloud holds none" is a
877
- * fact. Either landing rings that repository, so one lane examines it
878
- * again; a recovering one is asked the cloud again at its next ring. */
879
- private detectRestore;
880
- /** Download a set of immutable artifacts straight from content storage.
881
- * The set is the primitive and the plan is physical: the engine resolves
882
- * the whole want-list in two planned waves — manifests grouped by the
883
- * pack that holds them, then blocks the same way — so all members of one
884
- * pack collapse into a few broad ranged reads while standalone objects
885
- * stay one read each. A lone artifact is a set of one. */
886
- private downloadContentSet;
887
- /** Prove a set's manifests from the authority and stop there, moving none
888
- * of their blocks: content already sealed, named again elsewhere. */
889
- private proveContentManifests;
890
- /** Every storage object — manifests and blocks alike — is fetched straight
891
- * from content storage over a presigned URL and opened locally; Live plans
892
- * whole waves against these reads, so the wire carries only the key handoff
893
- * and batched refs requests. A retried read refreshes its URL in place. If
894
- * physical placement moved, Live discards every ref derived from that stale
895
- * geometry and boundedly replans the unresolved set; content identity
896
- * remains immutable. */
897
- private directReads;
898
- private reserveGroundRoots;
899
- private ensureWatchers;
900
- private gitStorageOf;
901
- /** Repository membership and the ground a pass read keep Watch's outside
902
- * Git storage current. A failed read is staged and leaves the last
903
- * declaration standing; the next pass reads again. True when it changed. */
904
- private refreshGitStorage;
905
- /** A finished pass may have read a repository whose outside storage moved,
906
- * appeared or vanished, or changed which repositories exist. */
907
- private passRead;
908
- /** A ring reaches Detect in the next turn, so rings delivered together
909
- * are read together and no timer stands between a write and its pass.
910
- * A ring during a pass is the next pass's work (generation law). */
911
- private ringDetect;
912
- private acquireGroundScope;
913
- /** Add holds its ground for its whole cold journey; no maintenance visit
914
- * starts until it releases. */
915
- private holdWorkspaceAdd;
916
- private suspectPhysical;
917
- /** A durable binding is registration evidence even if the native event
918
- * that created it was lost across a crash. Rebuild coverage first, then
919
- * express that uncertainty through Watch like every other Detect input.
920
- * These are ambiguous recovery facts, so each affected root is wholly
921
- * suspect; unrelated roots remain untouched. */
922
- private repairRegistrationGround;
923
- /** A prepared lane holds its slot across one boundary, then activates.
924
- * Whatever activation declines stays owed: the freed slot dispatches again,
925
- * which prepares afresh. */
926
- private startNamed;
927
- /** ACTIVATE, one synchronous step. The runtime and the root's binding are
928
- * those PREPARE read, or nothing is cut. Only names still owed are cut:
929
- * newer names wait for a lane that prepared them. The prepared footprint is
930
- * a proposal the collection enforces: storage it resolves outside the lease
931
- * fails it for a wider retry, and admission re-checks the index it routed by. */
932
- private activateNamed;
933
- /** One root's named rings of one kind, cut now and proved by name or inside
934
- * their repositories. The cut ends settled, escalated to the complete
935
- * lane, or pending behind a park. Only what a later reading of the same
936
- * names answers is parked here: what the narrow proof cannot conclude, a
937
- * refusal or a fault, is escalated like a widened proof, since rerunning
938
- * it unchanged would fail again and hold the root's later names behind it. */
939
- private namedLane;
940
- private proveNamed;
941
- /** Names in a repository's Git storage are read by the complete lane's own
942
- * repository handler and per-unit admission, without waiting behind a
943
- * complete proof. Names that need a wider proof are escalated to it. */
944
- private proveRepositories;
945
- /** A cut's alias hints are decided before its proof settles them: what they
946
- * owe rings as a later generation, the domain only when a hint cannot bound
947
- * its objects. */
948
- private discoverAliases;
949
- /** One maintenance visit of a Watch root, against O as it stands. A visit
950
- * that read the whole namespace and could trust O at its root is a complete
951
- * walk that stands. */
952
- private maintainRoot;
953
- /** Each cut captures, before its proof reads, the maintenance requests that
954
- * proof answers: a named cut those at and beneath its paths, a complete cut
955
- * every promoted one. */
956
- private coverMaintenance;
957
- /** Proved cuts answer what they covered, except at and beneath the paths
958
- * they could not prove; failed, deferred or cancelled ones never do. */
959
- private maintenanceServed;
960
- /** An escalated cut's requests are owed to the wider proof. Watch escalates
961
- * only its own names, so the sweep's are escalated beside them: the
962
- * complete lane proves those paths, not the whole root. */
963
- private escalateMaintenance;
964
- private startComplete;
965
- /** The complete lane examines the ground its cuts read. */
966
- private examineCuts;
967
- /** Whole-root proofs, one attempt at a time. Every cut it freezes is
968
- * released when it ends, proved or not. */
969
- private completeLane;
970
- /** One complete attempt owns at most one complete-domain continuation, over
971
- * its finite original cutoffs. Each pass admits what it proved; whatever
972
- * moved stays pending for its next ring or a short timer, never a retry
973
- * inside this turn. */
974
- private syncObservationCuts;
975
- /** Complete observations are examined on content threads, concurrently:
976
- * disk and Git against O by the main walk's own laws, and O against its
977
- * selection standing in B. A root that proves unchanged is not walked
978
- * here, and one whose differences a scope can hold is examined only
979
- * there; any other answers with the first reason, and the main walk
980
- * observes it. */
981
- private examineQuietRoots;
982
- /** A root's first absence would otherwise list its whole namespace while an
983
- * edit waits. Once a complete walk of the root stands (Register's walk,
984
- * an Add's verified install, a complete examination, or a maintenance visit
985
- * that read it whole), the discovery thread lists it in the background, so a
986
- * later absence re-reads only directories whose signatures moved. It seeks
987
- * nothing and concludes nothing: when it cannot close, the next discovery
988
- * reads cold, as it would have. Its stamp and listing read the ground, so
989
- * close drains it (detectDrained); one that starts after close began does
990
- * nothing. */
991
- private warmDiscovery;
992
- /** Names a named proof escalated are examined along those names, by the
993
- * same handler a pooled examination's differences use. Nothing else of the
994
- * root is read. A name inside Git storage is its repository's `.git`; the
995
- * root's own address is its boundary and needs the whole root. */
996
- private directScope;
997
- private syncLocalChangesUnlocked;
998
- /** AV: the authority's current head H plus every accepted result Receive
999
- * has delivered after its watermark M. Neither Apply nor Send is waited on:
1000
- * accepted state is what the authority has accepted, whatever this machine
1001
- * has physically applied or still owes. */
1002
- private freshAcceptedView;
1003
- /** Which of these heads does the authority hold sealed under the current
1004
- * content contract? Batched so a whole workspace costs a handful of
1005
- * frames. The answer is the only permission to skip an upload. */
1006
- private sealInventory;
1007
- }