@geekity/cms 0.42.1 → 0.42.2

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 (728) hide show
  1. package/dist/admin/admin-bar.d.ts +2 -3
  2. package/dist/admin/admin-bar.d.ts.map +1 -1
  3. package/dist/admin/admin-bar.js +4 -5
  4. package/dist/admin/admin-bar.js.map +1 -1
  5. package/dist/admin/app-activity.d.ts +1 -1
  6. package/dist/admin/appearance.d.ts +5 -5
  7. package/dist/admin/appearance.js +5 -5
  8. package/dist/admin/comments.d.ts +3 -3
  9. package/dist/admin/comments.js +2 -2
  10. package/dist/admin/comments.js.map +1 -1
  11. package/dist/admin/connected-apps.d.ts +1 -1
  12. package/dist/admin/connected-apps.js +1 -1
  13. package/dist/admin/credentials.d.ts +3 -3
  14. package/dist/admin/credentials.js +3 -3
  15. package/dist/admin/dashboard.js +2 -2
  16. package/dist/admin/dashboard.js.map +1 -1
  17. package/dist/admin/documents.d.ts +4 -4
  18. package/dist/admin/documents.d.ts.map +1 -1
  19. package/dist/admin/documents.js +150 -144
  20. package/dist/admin/documents.js.map +1 -1
  21. package/dist/admin/editor-actions.d.ts +1 -1
  22. package/dist/admin/editor-actions.js +1 -1
  23. package/dist/admin/federation.d.ts +11 -11
  24. package/dist/admin/federation.d.ts.map +1 -1
  25. package/dist/admin/federation.js +10 -10
  26. package/dist/admin/flash.d.ts +8 -0
  27. package/dist/admin/flash.d.ts.map +1 -1
  28. package/dist/admin/flash.js +11 -0
  29. package/dist/admin/flash.js.map +1 -1
  30. package/dist/admin/indieauth-consent.d.ts +1 -1
  31. package/dist/admin/indieauth-consent.js +1 -1
  32. package/dist/admin/legacy-migrations.d.ts +20 -19
  33. package/dist/admin/legacy-migrations.d.ts.map +1 -1
  34. package/dist/admin/legacy-migrations.js +14 -13
  35. package/dist/admin/legacy-migrations.js.map +1 -1
  36. package/dist/admin/media.js +1 -1
  37. package/dist/admin/menu.d.ts +1 -1
  38. package/dist/admin/menu.js +4 -4
  39. package/dist/admin/menu.js.map +1 -1
  40. package/dist/admin/messages.d.ts +2 -2
  41. package/dist/admin/messages.js +2 -2
  42. package/dist/admin/navigation.d.ts +3 -3
  43. package/dist/admin/navigation.js +3 -3
  44. package/dist/admin/personal-data.d.ts +1 -1
  45. package/dist/admin/personal-data.js +1 -1
  46. package/dist/admin/plugins.d.ts +1 -1
  47. package/dist/admin/plugins.js +1 -1
  48. package/dist/admin/preview.js +3 -3
  49. package/dist/admin/preview.js.map +1 -1
  50. package/dist/admin/recovery.d.ts +1 -1
  51. package/dist/admin/recovery.js +1 -1
  52. package/dist/admin/routes.d.ts +3 -3
  53. package/dist/admin/routes.js +14 -14
  54. package/dist/admin/routes.js.map +1 -1
  55. package/dist/admin/settings-discussion.d.ts +3 -3
  56. package/dist/admin/settings-discussion.js +3 -3
  57. package/dist/admin/settings-federation.d.ts +2 -2
  58. package/dist/admin/settings-federation.js +5 -5
  59. package/dist/admin/settings-federation.js.map +1 -1
  60. package/dist/admin/settings-general.d.ts +1 -1
  61. package/dist/admin/settings-general.js +2 -2
  62. package/dist/admin/settings-general.js.map +1 -1
  63. package/dist/admin/settings-page.d.ts +2 -2
  64. package/dist/admin/settings-page.js +1 -1
  65. package/dist/admin/settings-pages.d.ts +1 -1
  66. package/dist/admin/settings-pages.js +1 -1
  67. package/dist/admin/settings-reading.d.ts +2 -2
  68. package/dist/admin/settings-reading.js +2 -2
  69. package/dist/admin/syndication-targets.d.ts +2 -2
  70. package/dist/admin/syndication-targets.js +2 -2
  71. package/dist/admin/taxonomy.d.ts +4 -4
  72. package/dist/admin/taxonomy.js +4 -4
  73. package/dist/admin/templates.d.ts +2 -2
  74. package/dist/admin/templates.js +2 -2
  75. package/dist/admin/tools.d.ts +1 -1
  76. package/dist/admin/tools.js +1 -1
  77. package/dist/admin/users.d.ts +0 -159
  78. package/dist/admin/users.d.ts.map +1 -1
  79. package/dist/admin/users.js +204 -498
  80. package/dist/admin/users.js.map +1 -1
  81. package/dist/avatars/avatars.d.ts +2 -2
  82. package/dist/avatars/avatars.js +2 -2
  83. package/dist/cache.d.ts +1 -1
  84. package/dist/cache.js +1 -1
  85. package/dist/cli/args.d.ts +20 -0
  86. package/dist/cli/args.d.ts.map +1 -0
  87. package/dist/cli/args.js +138 -0
  88. package/dist/cli/args.js.map +1 -0
  89. package/dist/cli/commands.d.ts +10 -0
  90. package/dist/cli/commands.d.ts.map +1 -0
  91. package/dist/cli/commands.js +261 -0
  92. package/dist/cli/commands.js.map +1 -0
  93. package/dist/cli/database-in-use.d.ts +9 -0
  94. package/dist/cli/database-in-use.d.ts.map +1 -0
  95. package/dist/cli/database-in-use.js +38 -0
  96. package/dist/cli/database-in-use.js.map +1 -0
  97. package/dist/cli/dev-mode.d.ts +3 -0
  98. package/dist/cli/dev-mode.d.ts.map +1 -0
  99. package/dist/cli/dev-mode.js +31 -0
  100. package/dist/cli/dev-mode.js.map +1 -0
  101. package/dist/cli/export.d.ts +3 -0
  102. package/dist/cli/export.d.ts.map +1 -0
  103. package/dist/cli/export.js +53 -0
  104. package/dist/cli/export.js.map +1 -0
  105. package/dist/cli/format.d.ts +3 -0
  106. package/dist/cli/format.d.ts.map +1 -0
  107. package/dist/cli/format.js +10 -0
  108. package/dist/cli/format.js.map +1 -0
  109. package/dist/cli/gemini.d.ts +3 -0
  110. package/dist/cli/gemini.d.ts.map +1 -0
  111. package/dist/cli/gemini.js +34 -0
  112. package/dist/cli/gemini.js.map +1 -0
  113. package/dist/cli/help.d.ts +2 -0
  114. package/dist/cli/help.d.ts.map +1 -0
  115. package/dist/cli/help.js +111 -0
  116. package/dist/cli/help.js.map +1 -0
  117. package/dist/cli/import.d.ts +3 -0
  118. package/dist/cli/import.d.ts.map +1 -0
  119. package/dist/cli/import.js +84 -0
  120. package/dist/cli/import.js.map +1 -0
  121. package/dist/cli/init.d.ts +3 -0
  122. package/dist/cli/init.d.ts.map +1 -0
  123. package/dist/cli/init.js +21 -0
  124. package/dist/cli/init.js.map +1 -0
  125. package/dist/cli/maintenance.d.ts +3 -0
  126. package/dist/cli/maintenance.d.ts.map +1 -0
  127. package/dist/cli/maintenance.js +57 -0
  128. package/dist/cli/maintenance.js.map +1 -0
  129. package/dist/cli/options.d.ts +16 -0
  130. package/dist/cli/options.d.ts.map +1 -0
  131. package/dist/cli/options.js +27 -0
  132. package/dist/cli/options.js.map +1 -0
  133. package/dist/cli/password.d.ts +21 -0
  134. package/dist/cli/password.d.ts.map +1 -0
  135. package/dist/cli/password.js +52 -0
  136. package/dist/cli/password.js.map +1 -0
  137. package/dist/cli/plugin-commands.d.ts +11 -0
  138. package/dist/cli/plugin-commands.d.ts.map +1 -0
  139. package/dist/cli/plugin-commands.js +79 -0
  140. package/dist/cli/plugin-commands.js.map +1 -0
  141. package/dist/cli/plugin-folder.d.ts +3 -0
  142. package/dist/cli/plugin-folder.d.ts.map +1 -0
  143. package/dist/cli/plugin-folder.js +93 -0
  144. package/dist/cli/plugin-folder.js.map +1 -0
  145. package/dist/cli/rebuild.d.ts +5 -0
  146. package/dist/cli/rebuild.d.ts.map +1 -0
  147. package/dist/cli/rebuild.js +44 -0
  148. package/dist/cli/rebuild.js.map +1 -0
  149. package/dist/cli/resend.d.ts +3 -0
  150. package/dist/cli/resend.d.ts.map +1 -0
  151. package/dist/cli/resend.js +36 -0
  152. package/dist/cli/resend.js.map +1 -0
  153. package/dist/cli/run-job.d.ts +5 -0
  154. package/dist/cli/run-job.d.ts.map +1 -0
  155. package/dist/cli/run-job.js +29 -0
  156. package/dist/cli/run-job.js.map +1 -0
  157. package/dist/cli/serve.d.ts +3 -0
  158. package/dist/cli/serve.d.ts.map +1 -0
  159. package/dist/cli/serve.js +65 -0
  160. package/dist/cli/serve.js.map +1 -0
  161. package/dist/cli/settings.d.ts +5 -0
  162. package/dist/cli/settings.d.ts.map +1 -0
  163. package/dist/cli/settings.js +144 -0
  164. package/dist/cli/settings.js.map +1 -0
  165. package/dist/cli/site-plugins.d.ts +5 -0
  166. package/dist/cli/site-plugins.d.ts.map +1 -0
  167. package/dist/cli/site-plugins.js +7 -0
  168. package/dist/cli/site-plugins.js.map +1 -0
  169. package/dist/cli/strip-metadata.d.ts +3 -0
  170. package/dist/cli/strip-metadata.d.ts.map +1 -0
  171. package/dist/cli/strip-metadata.js +20 -0
  172. package/dist/cli/strip-metadata.js.map +1 -0
  173. package/dist/cli/sync.d.ts +3 -0
  174. package/dist/cli/sync.d.ts.map +1 -0
  175. package/dist/cli/sync.js +22 -0
  176. package/dist/cli/sync.js.map +1 -0
  177. package/dist/cli/user.d.ts +3 -0
  178. package/dist/cli/user.d.ts.map +1 -0
  179. package/dist/cli/user.js +54 -0
  180. package/dist/cli/user.js.map +1 -0
  181. package/dist/cli.d.ts +0 -62
  182. package/dist/cli.d.ts.map +1 -1
  183. package/dist/cli.js +6 -1566
  184. package/dist/cli.js.map +1 -1
  185. package/dist/cms/app.js +10 -10
  186. package/dist/cms/app.js.map +1 -1
  187. package/dist/cms/boot.js +5 -5
  188. package/dist/cms/boot.js.map +1 -1
  189. package/dist/cms/create.d.ts +17 -17
  190. package/dist/cms/create.d.ts.map +1 -1
  191. package/dist/cms/create.js +1 -1
  192. package/dist/cms/create.js.map +1 -1
  193. package/dist/cms/server-error.d.ts +1 -1
  194. package/dist/cms/server-error.js +1 -1
  195. package/dist/cms/services.js +14 -14
  196. package/dist/cms/services.js.map +1 -1
  197. package/dist/comments/akismet.d.ts +4 -4
  198. package/dist/comments/akismet.js +6 -6
  199. package/dist/comments/akismet.js.map +1 -1
  200. package/dist/comments/conversation.d.ts +29 -29
  201. package/dist/comments/conversation.d.ts.map +1 -1
  202. package/dist/comments/conversation.js +2 -2
  203. package/dist/comments/conversation.js.map +1 -1
  204. package/dist/comments/form.d.ts +3 -3
  205. package/dist/comments/form.d.ts.map +1 -1
  206. package/dist/comments/intake.d.ts +4 -4
  207. package/dist/comments/intake.d.ts.map +1 -1
  208. package/dist/comments/intake.js +1 -1
  209. package/dist/comments/migrations.d.ts +3 -3
  210. package/dist/comments/migrations.js +3 -3
  211. package/dist/comments/moderate.d.ts +2 -2
  212. package/dist/comments/moderate.js +2 -2
  213. package/dist/comments/page-form.d.ts +1 -1
  214. package/dist/comments/page-form.js +1 -1
  215. package/dist/comments/records.d.ts +9 -9
  216. package/dist/comments/records.d.ts.map +1 -1
  217. package/dist/comments/records.js +11 -10
  218. package/dist/comments/records.js.map +1 -1
  219. package/dist/comments/reply-notices.d.ts +2 -2
  220. package/dist/comments/reply-post.d.ts +2 -2
  221. package/dist/comments/submission.d.ts +8 -8
  222. package/dist/comments/submission.d.ts.map +1 -1
  223. package/dist/comments/submission.js +9 -9
  224. package/dist/comments/submission.js.map +1 -1
  225. package/dist/config.d.ts +27 -27
  226. package/dist/config.js +3 -3
  227. package/dist/contact/index.d.ts +1 -1
  228. package/dist/contact/index.js +1 -1
  229. package/dist/contact/records.d.ts +7 -7
  230. package/dist/contact/records.js +7 -7
  231. package/dist/content/alt-text.d.ts +2 -2
  232. package/dist/content/alt-text.js +2 -2
  233. package/dist/content/authors.d.ts +6 -6
  234. package/dist/content/authors.d.ts.map +1 -1
  235. package/dist/content/authors.js +6 -6
  236. package/dist/content/authors.js.map +1 -1
  237. package/dist/content/citation.d.ts +1 -1
  238. package/dist/content/content-tree.d.ts +5 -0
  239. package/dist/content/content-tree.d.ts.map +1 -0
  240. package/dist/content/content-tree.js +54 -0
  241. package/dist/content/content-tree.js.map +1 -0
  242. package/dist/content/content-watcher.d.ts +15 -0
  243. package/dist/content/content-watcher.d.ts.map +1 -0
  244. package/dist/content/content-watcher.js +104 -0
  245. package/dist/content/content-watcher.js.map +1 -0
  246. package/dist/content/document-form.d.ts +25 -24
  247. package/dist/content/document-form.d.ts.map +1 -1
  248. package/dist/content/document-form.js +7 -7
  249. package/dist/content/document-form.js.map +1 -1
  250. package/dist/content/document-kind.d.ts +6 -6
  251. package/dist/content/document.d.ts +1 -1
  252. package/dist/content/enclosure-form.js +1 -1
  253. package/dist/content/enclosure.js +1 -1
  254. package/dist/content/event-form.d.ts +2 -2
  255. package/dist/content/event.d.ts +3 -3
  256. package/dist/content/event.js +3 -3
  257. package/dist/content/guids.d.ts +6 -6
  258. package/dist/content/guids.d.ts.map +1 -1
  259. package/dist/content/guids.js +7 -7
  260. package/dist/content/guids.js.map +1 -1
  261. package/dist/content/handles.d.ts +1 -1
  262. package/dist/content/handles.js +1 -1
  263. package/dist/content/html-to-markdown.js +2 -2
  264. package/dist/content/language.d.ts +1 -1
  265. package/dist/content/language.js +1 -1
  266. package/dist/content/locale.d.ts +1 -1
  267. package/dist/content/locale.js +1 -1
  268. package/dist/content/markdown.d.ts +1 -1
  269. package/dist/content/markdown.js +1 -1
  270. package/dist/content/parser.d.ts +1 -1
  271. package/dist/content/parser.d.ts.map +1 -1
  272. package/dist/content/permalinks.d.ts +4 -4
  273. package/dist/content/permalinks.js +4 -4
  274. package/dist/content/photo-form.js +2 -2
  275. package/dist/content/photo.d.ts +2 -2
  276. package/dist/content/photo.js +1 -1
  277. package/dist/content/pinned.d.ts +3 -3
  278. package/dist/content/pinned.js +3 -3
  279. package/dist/content/post-fields.js +2 -2
  280. package/dist/content/post-fields.js.map +1 -1
  281. package/dist/content/post-type.d.ts +4 -4
  282. package/dist/content/post-type.js +1 -1
  283. package/dist/content/reconcile.d.ts +15 -0
  284. package/dist/content/reconcile.d.ts.map +1 -0
  285. package/dist/content/reconcile.js +106 -0
  286. package/dist/content/reconcile.js.map +1 -0
  287. package/dist/content/redirects.d.ts +2 -3
  288. package/dist/content/redirects.d.ts.map +1 -1
  289. package/dist/content/redirects.js +2 -3
  290. package/dist/content/redirects.js.map +1 -1
  291. package/dist/content/rsvp.d.ts +1 -1
  292. package/dist/content/rsvp.js +1 -1
  293. package/dist/content/sanitize.js +1 -1
  294. package/dist/content/save.d.ts +3 -3
  295. package/dist/content/save.js +4 -4
  296. package/dist/content/scan.d.ts +12 -0
  297. package/dist/content/scan.d.ts.map +1 -0
  298. package/dist/content/scan.js +58 -0
  299. package/dist/content/scan.js.map +1 -0
  300. package/dist/content/search.d.ts +3 -3
  301. package/dist/content/search.js +3 -3
  302. package/dist/content/served.d.ts +5 -5
  303. package/dist/content/served.js +4 -4
  304. package/dist/content/site-links.d.ts +3 -4
  305. package/dist/content/site-links.d.ts.map +1 -1
  306. package/dist/content/site-links.js +1 -2
  307. package/dist/content/site-links.js.map +1 -1
  308. package/dist/content/sqlite/clauses.d.ts +1 -1
  309. package/dist/content/sqlite/clauses.js +1 -1
  310. package/dist/content/sqlite/rows.d.ts +1 -1
  311. package/dist/content/sqlite/rows.js +1 -1
  312. package/dist/content/store.d.ts +26 -26
  313. package/dist/content/sync.d.ts +3 -3
  314. package/dist/content/sync.d.ts.map +1 -1
  315. package/dist/content/sync.js +65 -382
  316. package/dist/content/sync.js.map +1 -1
  317. package/dist/content/taxonomy.d.ts +9 -8
  318. package/dist/content/taxonomy.d.ts.map +1 -1
  319. package/dist/content/taxonomy.js +9 -8
  320. package/dist/content/taxonomy.js.map +1 -1
  321. package/dist/content/time.d.ts +1 -1
  322. package/dist/content/time.js +1 -1
  323. package/dist/content/trash.d.ts +4 -5
  324. package/dist/content/trash.d.ts.map +1 -1
  325. package/dist/content/trash.js +4 -5
  326. package/dist/content/trash.js.map +1 -1
  327. package/dist/content/write.d.ts +4 -4
  328. package/dist/content/write.js +19 -19
  329. package/dist/content/write.js.map +1 -1
  330. package/dist/drain.d.ts +1 -1
  331. package/dist/drain.js +1 -1
  332. package/dist/federation/actor.d.ts +9 -9
  333. package/dist/federation/actor.js +10 -10
  334. package/dist/federation/article.d.ts +14 -14
  335. package/dist/federation/article.js +27 -27
  336. package/dist/federation/article.js.map +1 -1
  337. package/dist/federation/backfill.d.ts +2 -2
  338. package/dist/federation/backfill.js +2 -2
  339. package/dist/federation/citations.d.ts +1 -1
  340. package/dist/federation/citations.js +1 -1
  341. package/dist/federation/cited-post.d.ts +1 -1
  342. package/dist/federation/cited-post.js +1 -1
  343. package/dist/federation/delivery-plan.d.ts +1 -1
  344. package/dist/federation/delivery.d.ts +3 -3
  345. package/dist/federation/delivery.d.ts.map +1 -1
  346. package/dist/federation/delivery.js +11 -12
  347. package/dist/federation/delivery.js.map +1 -1
  348. package/dist/federation/federation.d.ts +3 -3
  349. package/dist/federation/federation.d.ts.map +1 -1
  350. package/dist/federation/federation.js +7 -8
  351. package/dist/federation/federation.js.map +1 -1
  352. package/dist/federation/handles.d.ts +1 -1
  353. package/dist/federation/handles.js +1 -1
  354. package/dist/federation/inbox.d.ts +6 -6
  355. package/dist/federation/inbox.js +9 -9
  356. package/dist/federation/keys.d.ts +3 -3
  357. package/dist/federation/keys.js +3 -3
  358. package/dist/federation/object-ids.d.ts +1 -1
  359. package/dist/federation/paths.d.ts +8 -8
  360. package/dist/federation/paths.js +8 -8
  361. package/dist/federation/profiles.d.ts +2 -3
  362. package/dist/federation/profiles.d.ts.map +1 -1
  363. package/dist/federation/profiles.js +2 -3
  364. package/dist/federation/profiles.js.map +1 -1
  365. package/dist/federation/quotes.d.ts +1 -1
  366. package/dist/federation/records.d.ts +24 -24
  367. package/dist/federation/records.js +23 -23
  368. package/dist/federation/records.js.map +1 -1
  369. package/dist/federation/refusals.d.ts +1 -1
  370. package/dist/federation/relays.d.ts +1 -1
  371. package/dist/federation/relays.js +6 -6
  372. package/dist/federation/webfinger.d.ts +2 -2
  373. package/dist/federation/webfinger.js +2 -2
  374. package/dist/files/atomic.d.ts +2 -2
  375. package/dist/files/atomic.js +1 -1
  376. package/dist/forms/checker.d.ts +2 -2
  377. package/dist/forms/checker.d.ts.map +1 -1
  378. package/dist/forms/protection.d.ts +1 -1
  379. package/dist/forms/protection.js +1 -1
  380. package/dist/gemini/certificate.js +1 -1
  381. package/dist/images/markup.d.ts +2 -2
  382. package/dist/images/variants.d.ts +8 -8
  383. package/dist/images/variants.js +1 -1
  384. package/dist/indexnow.d.ts +1 -1
  385. package/dist/indieauth/grants.d.ts +2 -2
  386. package/dist/indieauth/identity.d.ts +3 -5
  387. package/dist/indieauth/identity.d.ts.map +1 -1
  388. package/dist/indieauth/identity.js +3 -5
  389. package/dist/indieauth/identity.js.map +1 -1
  390. package/dist/indieauth/redeem.d.ts +2 -2
  391. package/dist/indieauth/redeem.js +2 -2
  392. package/dist/indieauth/request.d.ts +2 -2
  393. package/dist/indieauth/request.js +2 -2
  394. package/dist/indieauth/tokens.d.ts +3 -5
  395. package/dist/indieauth/tokens.d.ts.map +1 -1
  396. package/dist/indieauth/tokens.js +3 -5
  397. package/dist/indieauth/tokens.js.map +1 -1
  398. package/dist/jobs/file-records.d.ts +1 -1
  399. package/dist/jobs/file-records.js +1 -1
  400. package/dist/jobs/in-process.d.ts +1 -1
  401. package/dist/jobs/in-process.js +1 -1
  402. package/dist/jobs/queue.d.ts +1 -1
  403. package/dist/jobs/queue.js +1 -1
  404. package/dist/mail/provider.d.ts +2 -2
  405. package/dist/mail/provider.js +2 -2
  406. package/dist/media/library.d.ts +2 -2
  407. package/dist/media/uploads.js +2 -2
  408. package/dist/media/uploads.js.map +1 -1
  409. package/dist/micropub/create.d.ts +1 -1
  410. package/dist/micropub/endpoint.d.ts +7 -7
  411. package/dist/micropub/endpoint.js +8 -8
  412. package/dist/micropub/endpoint.js.map +1 -1
  413. package/dist/micropub/media.d.ts +4 -4
  414. package/dist/micropub/media.js +4 -4
  415. package/dist/micropub/update.d.ts +1 -1
  416. package/dist/micropub/update.js +1 -1
  417. package/dist/notifications/comments.d.ts +1 -1
  418. package/dist/notifications/comments.js +2 -2
  419. package/dist/notifications/comments.js.map +1 -1
  420. package/dist/notifications/digest.d.ts +7 -7
  421. package/dist/notifications/digest.js +7 -7
  422. package/dist/notifications/mail-service.d.ts +4 -4
  423. package/dist/notifications/mail-service.d.ts.map +1 -1
  424. package/dist/notifications/mail-service.js +3 -3
  425. package/dist/notifications/mail-templates.d.ts +3 -3
  426. package/dist/notifications/optouts.d.ts +1 -1
  427. package/dist/notifications/optouts.js +1 -1
  428. package/dist/notifications/tokens.d.ts +2 -2
  429. package/dist/plugin.d.ts +5 -5
  430. package/dist/plugin.js +5 -5
  431. package/dist/plugins/changes.js +2 -2
  432. package/dist/plugins/folder.d.ts +2 -2
  433. package/dist/plugins/folder.js +2 -2
  434. package/dist/plugins/install.d.ts +1 -1
  435. package/dist/plugins/install.js +1 -1
  436. package/dist/plugins/registry.d.ts +1 -1
  437. package/dist/plugins/registry.js +1 -1
  438. package/dist/plugins/site.d.ts +1 -1
  439. package/dist/plugins/site.js +1 -1
  440. package/dist/privacy/erase.d.ts +1 -1
  441. package/dist/privacy/erase.js +1 -1
  442. package/dist/privacy/retention.d.ts +2 -2
  443. package/dist/privacy/retention.js +2 -2
  444. package/dist/site/admin-paths.d.ts +2 -2
  445. package/dist/site/admin-paths.js +2 -2
  446. package/dist/site/authors.d.ts +6 -6
  447. package/dist/site/authors.js +5 -5
  448. package/dist/site/dashboard-layout.d.ts +1 -1
  449. package/dist/site/indexnow-key.js +1 -1
  450. package/dist/site/namespace.d.ts +1 -1
  451. package/dist/site/namespace.js +1 -1
  452. package/dist/site/navigation.d.ts +10 -10
  453. package/dist/site/navigation.js +10 -10
  454. package/dist/site/notification-preferences.d.ts +3 -3
  455. package/dist/site/notification-preferences.js +2 -2
  456. package/dist/site/retention-policy.d.ts +1 -1
  457. package/dist/site/retention-policy.js +1 -1
  458. package/dist/site/users.d.ts +23 -24
  459. package/dist/site/users.d.ts.map +1 -1
  460. package/dist/site/users.js +6 -6
  461. package/dist/site/users.js.map +1 -1
  462. package/dist/store/admin-store.d.ts +2 -2
  463. package/dist/store/comments.d.ts +17 -17
  464. package/dist/store/comments.d.ts.map +1 -1
  465. package/dist/store/comments.js +14 -21
  466. package/dist/store/comments.js.map +1 -1
  467. package/dist/store/conversation.d.ts +2 -2
  468. package/dist/store/deliveries.d.ts +1 -1
  469. package/dist/store/deliveries.d.ts.map +1 -1
  470. package/dist/store/deliveries.js +10 -15
  471. package/dist/store/deliveries.js.map +1 -1
  472. package/dist/store/followers.d.ts +5 -5
  473. package/dist/store/followers.d.ts.map +1 -1
  474. package/dist/store/followers.js +7 -10
  475. package/dist/store/followers.js.map +1 -1
  476. package/dist/store/inbox-replies.d.ts +4 -4
  477. package/dist/store/inbox-replies.js +4 -4
  478. package/dist/store/inbox.d.ts +5 -5
  479. package/dist/store/inbox.d.ts.map +1 -1
  480. package/dist/store/inbox.js +21 -34
  481. package/dist/store/inbox.js.map +1 -1
  482. package/dist/store/profiles.d.ts +5 -5
  483. package/dist/store/profiles.d.ts.map +1 -1
  484. package/dist/store/profiles.js +4 -5
  485. package/dist/store/profiles.js.map +1 -1
  486. package/dist/store/relays.d.ts.map +1 -1
  487. package/dist/store/relays.js +7 -9
  488. package/dist/store/relays.js.map +1 -1
  489. package/dist/store/rows.d.ts +6 -20
  490. package/dist/store/rows.d.ts.map +1 -1
  491. package/dist/store/rows.js +10 -15
  492. package/dist/store/rows.js.map +1 -1
  493. package/dist/store/schema.js +35 -35
  494. package/dist/store/schema.js.map +1 -1
  495. package/dist/store/sessions.d.ts +1 -1
  496. package/dist/store/sessions.d.ts.map +1 -1
  497. package/dist/store/sessions.js +10 -10
  498. package/dist/store/sessions.js.map +1 -1
  499. package/dist/store/state.d.ts.map +1 -1
  500. package/dist/store/state.js +2 -2
  501. package/dist/store/state.js.map +1 -1
  502. package/dist/store/tokens.d.ts +1 -1
  503. package/dist/store/tokens.d.ts.map +1 -1
  504. package/dist/store/tokens.js +5 -5
  505. package/dist/store/tokens.js.map +1 -1
  506. package/dist/store/webmentions.d.ts +2 -2
  507. package/dist/store/webmentions.d.ts.map +1 -1
  508. package/dist/store/webmentions.js +11 -11
  509. package/dist/store/webmentions.js.map +1 -1
  510. package/dist/supervisor/plugin-watcher.d.ts +26 -0
  511. package/dist/supervisor/plugin-watcher.d.ts.map +1 -0
  512. package/dist/supervisor/plugin-watcher.js +90 -0
  513. package/dist/supervisor/plugin-watcher.js.map +1 -0
  514. package/dist/supervisor/primary.d.ts +4 -7
  515. package/dist/supervisor/primary.d.ts.map +1 -1
  516. package/dist/supervisor/primary.js +37 -94
  517. package/dist/supervisor/primary.js.map +1 -1
  518. package/dist/supervisor/protocol.d.ts +1 -1
  519. package/dist/supervisor/protocol.js +1 -1
  520. package/dist/supervisor/reload-queue.d.ts +10 -0
  521. package/dist/supervisor/reload-queue.d.ts.map +1 -0
  522. package/dist/supervisor/reload-queue.js +28 -0
  523. package/dist/supervisor/reload-queue.js.map +1 -0
  524. package/dist/supervisor/supervision.d.ts +2 -2
  525. package/dist/supervisor/supervision.js +2 -2
  526. package/dist/supervisor/worker.d.ts +1 -1
  527. package/dist/supervisor/worker.js +1 -1
  528. package/dist/theme/site-data.d.ts +3 -3
  529. package/dist/theme/site-data.js +2 -2
  530. package/dist/theme/templates.d.ts +3 -3
  531. package/dist/theme/templates.js +16 -16
  532. package/dist/theme/templates.js.map +1 -1
  533. package/dist/theme/themes.d.ts +11 -13
  534. package/dist/theme/themes.d.ts.map +1 -1
  535. package/dist/theme/themes.js +8 -9
  536. package/dist/theme/themes.js.map +1 -1
  537. package/dist/web/activity-folding.d.ts +33 -0
  538. package/dist/web/activity-folding.d.ts.map +1 -0
  539. package/dist/web/activity-folding.js +238 -0
  540. package/dist/web/activity-folding.js.map +1 -0
  541. package/dist/web/archive.d.ts +2 -3
  542. package/dist/web/archive.d.ts.map +1 -1
  543. package/dist/web/archive.js +2 -3
  544. package/dist/web/archive.js.map +1 -1
  545. package/dist/web/asset-routes.d.ts +1 -1
  546. package/dist/web/asset-routes.js +1 -1
  547. package/dist/web/comment-routes.js +2 -2
  548. package/dist/web/comment-routes.js.map +1 -1
  549. package/dist/web/compression.d.ts +1 -1
  550. package/dist/web/compression.js +1 -1
  551. package/dist/web/context.d.ts +21 -21
  552. package/dist/web/context.d.ts.map +1 -1
  553. package/dist/web/context.js +7 -7
  554. package/dist/web/conversation-context.d.ts +15 -0
  555. package/dist/web/conversation-context.d.ts.map +1 -0
  556. package/dist/web/conversation-context.js +2 -0
  557. package/dist/web/conversation-context.js.map +1 -0
  558. package/dist/web/conversation-feed.d.ts +18 -0
  559. package/dist/web/conversation-feed.d.ts.map +1 -0
  560. package/dist/web/conversation-feed.js +53 -0
  561. package/dist/web/conversation-feed.js.map +1 -0
  562. package/dist/web/conversation-gather.d.ts +12 -0
  563. package/dist/web/conversation-gather.d.ts.map +1 -0
  564. package/dist/web/conversation-gather.js +189 -0
  565. package/dist/web/conversation-gather.js.map +1 -0
  566. package/dist/web/conversation-lookup.d.ts +15 -0
  567. package/dist/web/conversation-lookup.d.ts.map +1 -0
  568. package/dist/web/conversation-lookup.js +101 -0
  569. package/dist/web/conversation-lookup.js.map +1 -0
  570. package/dist/web/conversation-threads.d.ts +12 -0
  571. package/dist/web/conversation-threads.d.ts.map +1 -0
  572. package/dist/web/conversation-threads.js +144 -0
  573. package/dist/web/conversation-threads.js.map +1 -0
  574. package/dist/web/conversation.d.ts +25 -61
  575. package/dist/web/conversation.d.ts.map +1 -1
  576. package/dist/web/conversation.js +14 -854
  577. package/dist/web/conversation.js.map +1 -1
  578. package/dist/web/document-page.js +4 -4
  579. package/dist/web/document-page.js.map +1 -1
  580. package/dist/web/document-render.d.ts +9 -0
  581. package/dist/web/document-render.d.ts.map +1 -0
  582. package/dist/web/document-render.js +130 -0
  583. package/dist/web/document-render.js.map +1 -0
  584. package/dist/web/document-site.d.ts +1 -1
  585. package/dist/web/document-site.d.ts.map +1 -1
  586. package/dist/web/document-site.js +1 -1
  587. package/dist/web/document-site.js.map +1 -1
  588. package/dist/web/env.d.ts +19 -19
  589. package/dist/web/env.d.ts.map +1 -1
  590. package/dist/web/federation-routes.d.ts +2 -2
  591. package/dist/web/federation-routes.d.ts.map +1 -1
  592. package/dist/web/federation-routes.js +22 -21
  593. package/dist/web/federation-routes.js.map +1 -1
  594. package/dist/web/feed-atom.d.ts +3 -3
  595. package/dist/web/feed-atom.js +3 -3
  596. package/dist/web/feed-item.d.ts +15 -16
  597. package/dist/web/feed-item.d.ts.map +1 -1
  598. package/dist/web/feed-item.js +1 -1
  599. package/dist/web/feed-item.js.map +1 -1
  600. package/dist/web/feed-json.d.ts +4 -4
  601. package/dist/web/feed-json.d.ts.map +1 -1
  602. package/dist/web/feed-json.js +2 -2
  603. package/dist/web/feed-routes.d.ts +3 -3
  604. package/dist/web/feed-routes.js +4 -4
  605. package/dist/web/feed-routes.js.map +1 -1
  606. package/dist/web/feed-rss.d.ts +2 -2
  607. package/dist/web/feed-rss.js +4 -4
  608. package/dist/web/feed-rss.js.map +1 -1
  609. package/dist/web/feed-source.d.ts +5 -5
  610. package/dist/web/feed-source.d.ts.map +1 -1
  611. package/dist/web/feed-source.js +2 -2
  612. package/dist/web/feed-source.js.map +1 -1
  613. package/dist/web/feed-xml.d.ts +4 -4
  614. package/dist/web/feed-xml.d.ts.map +1 -1
  615. package/dist/web/feed-xml.js +4 -4
  616. package/dist/web/feed-xml.js.map +1 -1
  617. package/dist/web/font-routes.d.ts +1 -1
  618. package/dist/web/font-routes.js +1 -1
  619. package/dist/web/health.d.ts +1 -1
  620. package/dist/web/index.d.ts +5 -3
  621. package/dist/web/index.d.ts.map +1 -1
  622. package/dist/web/index.js +4 -2
  623. package/dist/web/index.js.map +1 -1
  624. package/dist/web/indieauth-activity-log.js +1 -1
  625. package/dist/web/indieauth-bearer.d.ts +2 -2
  626. package/dist/web/indieauth-discovery.d.ts +12 -12
  627. package/dist/web/indieauth-discovery.d.ts.map +1 -1
  628. package/dist/web/indieauth-discovery.js +12 -12
  629. package/dist/web/indieauth-discovery.js.map +1 -1
  630. package/dist/web/indieauth-token.d.ts +2 -2
  631. package/dist/web/indieauth-token.js +2 -2
  632. package/dist/web/listing-render.d.ts +11 -0
  633. package/dist/web/listing-render.d.ts.map +1 -0
  634. package/dist/web/listing-render.js +76 -0
  635. package/dist/web/listing-render.js.map +1 -0
  636. package/dist/web/listing-subject.js +1 -1
  637. package/dist/web/listing-subject.js.map +1 -1
  638. package/dist/web/llms.d.ts +1 -1
  639. package/dist/web/llms.js +1 -1
  640. package/dist/web/maintenance.d.ts +1 -1
  641. package/dist/web/maintenance.js +1 -1
  642. package/dist/web/manifest.d.ts +1 -1
  643. package/dist/web/manifest.js +1 -1
  644. package/dist/web/markdown-chrome.d.ts +11 -0
  645. package/dist/web/markdown-chrome.d.ts.map +1 -0
  646. package/dist/web/markdown-chrome.js +178 -0
  647. package/dist/web/markdown-chrome.js.map +1 -0
  648. package/dist/web/markdown-conversation.d.ts +1 -1
  649. package/dist/web/markdown-conversation.d.ts.map +1 -1
  650. package/dist/web/markdown-environment.d.ts +10 -0
  651. package/dist/web/markdown-environment.d.ts.map +1 -0
  652. package/dist/web/markdown-environment.js +56 -0
  653. package/dist/web/markdown-environment.js.map +1 -0
  654. package/dist/web/markdown-representation.d.ts +1 -1
  655. package/dist/web/markdown-representation.d.ts.map +1 -1
  656. package/dist/web/markdown-representation.js +2 -2
  657. package/dist/web/markdown-representation.js.map +1 -1
  658. package/dist/web/negotiate.d.ts +5 -5
  659. package/dist/web/negotiate.d.ts.map +1 -1
  660. package/dist/web/negotiate.js +3 -3
  661. package/dist/web/negotiate.js.map +1 -1
  662. package/dist/web/oembed.d.ts +3 -3
  663. package/dist/web/oembed.js +3 -3
  664. package/dist/web/opensearch.d.ts +1 -1
  665. package/dist/web/opensearch.js +1 -1
  666. package/dist/web/page-context.d.ts +29 -0
  667. package/dist/web/page-context.d.ts.map +1 -0
  668. package/dist/web/page-context.js +126 -0
  669. package/dist/web/page-context.js.map +1 -0
  670. package/dist/web/page-tags.js +1 -1
  671. package/dist/web/page-tags.js.map +1 -1
  672. package/dist/web/paths.d.ts +1 -1
  673. package/dist/web/paths.js +3 -3
  674. package/dist/web/plugin-federation.d.ts +1 -1
  675. package/dist/web/plugin-federation.js +1 -1
  676. package/dist/web/render-scope.d.ts +20 -0
  677. package/dist/web/render-scope.d.ts.map +1 -0
  678. package/dist/web/render-scope.js +36 -0
  679. package/dist/web/render-scope.js.map +1 -0
  680. package/dist/web/render.d.ts +21 -363
  681. package/dist/web/render.d.ts.map +1 -1
  682. package/dist/web/render.js +46 -899
  683. package/dist/web/render.js.map +1 -1
  684. package/dist/web/request.d.ts +1 -1
  685. package/dist/web/request.js +1 -1
  686. package/dist/web/robots.d.ts +1 -1
  687. package/dist/web/robots.js +1 -1
  688. package/dist/web/routes.js +19 -19
  689. package/dist/web/routes.js.map +1 -1
  690. package/dist/web/search.d.ts +1 -1
  691. package/dist/web/search.js +1 -1
  692. package/dist/web/session.d.ts +8 -8
  693. package/dist/web/session.js +8 -8
  694. package/dist/web/share-image.d.ts +2 -3
  695. package/dist/web/share-image.d.ts.map +1 -1
  696. package/dist/web/share-image.js +1 -1
  697. package/dist/web/share-image.js.map +1 -1
  698. package/dist/web/site-view.d.ts +2 -2
  699. package/dist/web/status-pages.d.ts +1 -1
  700. package/dist/web/status-pages.d.ts.map +1 -1
  701. package/dist/web/theme-environment.d.ts +14 -0
  702. package/dist/web/theme-environment.d.ts.map +1 -0
  703. package/dist/web/theme-environment.js +112 -0
  704. package/dist/web/theme-environment.js.map +1 -0
  705. package/dist/web/theme-templates.d.ts +67 -0
  706. package/dist/web/theme-templates.d.ts.map +1 -0
  707. package/dist/web/theme-templates.js +65 -0
  708. package/dist/web/theme-templates.js.map +1 -0
  709. package/dist/webmention/microformats.d.ts +5 -5
  710. package/dist/webmention/microformats.d.ts.map +1 -1
  711. package/dist/webmention/receive.d.ts +7 -7
  712. package/dist/webmention/receive.d.ts.map +1 -1
  713. package/dist/webmention/receive.js +4 -4
  714. package/dist/webmention/receive.js.map +1 -1
  715. package/dist/webmention/reply-context/oembed.js +1 -1
  716. package/dist/webmention/reply-context.d.ts +10 -10
  717. package/dist/webmention/reply-context.d.ts.map +1 -1
  718. package/dist/webmention/reply-context.js +5 -5
  719. package/dist/webmention/reply-contexts.d.ts +6 -6
  720. package/dist/webmention/reply-contexts.d.ts.map +1 -1
  721. package/dist/webmention/reply-contexts.js +2 -2
  722. package/dist/webmention/service.d.ts +13 -13
  723. package/dist/webmention/service.js +9 -9
  724. package/dist/webmention/syndication.d.ts +6 -6
  725. package/dist/webmention/syndication.d.ts.map +1 -1
  726. package/dist/webmention/syndication.js +6 -6
  727. package/dist/webmention/syndication.js.map +1 -1
  728. package/package.json +2 -2
@@ -9,8 +9,8 @@ import { recordFollowerChange } from './follower-history.js';
9
9
  /**
10
10
  * The two things an ActivityPub site cannot regenerate, as files it publishes.
11
11
  *
12
- * decision-9 makes the filesystem the source of truth for everything durable,
13
- * and for federation that is the followers and the log of what the inbox was
12
+ * The filesystem is the source of truth for everything durable, and for
13
+ * federation that is the followers and the log of what the inbox was
14
14
  * told. Both live under `content/_data/federation/`, which puts them in git
15
15
  * beside the posts, hands them to an Eleventy build of the same directory as
16
16
  * `federation.followers` and `federation.inbox`, and leaves SQLite holding
@@ -39,9 +39,9 @@ export const INBOX_DIRECTORY = `${FEDERATION_DATA_DIRECTORY}/inbox`;
39
39
  * The directory one user's federation files live in, relative to the content
40
40
  * directory: `_data/federation/{username}`.
41
41
  *
42
- * decision-14 makes every user an actor, and an actor's followers are its own
43
- * — an actor that was followed and forgotten simply stops hearing from the
44
- * site — so the one file doc-4 had becomes one per user. The name is the
42
+ * Every user is an actor, and an actor's followers are its own — an actor that
43
+ * was followed and forgotten simply stops hearing from the site — so there is
44
+ * one followers file per user rather than one for the site. The name is the
45
45
  * username verbatim, because it is also the name in the actor's id and in the
46
46
  * key files, and a directory nobody can match to a person would be worse than
47
47
  * one with an unusual name in it.
@@ -66,7 +66,7 @@ export function followersFile(contentDir, username) {
66
66
  * Every user the content directory holds federation files for, sorted.
67
67
  *
68
68
  * Read from the directory rather than from `data/users.json`, because
69
- * decision-9 makes the files the truth: a rebuilt database has to put back
69
+ * the files are the truth: a rebuilt database has to put back
70
70
  * exactly what is on disk, including the followers of a user whose account was
71
71
  * removed — deleting the account is not the same act as unfollowing everybody
72
72
  * on their behalf, and only one of the two can be taken back.
@@ -116,7 +116,7 @@ export function inboxFile(contentDir, instant) {
116
116
  * yet has. Anything else that is not a list of deliverable followers throws,
117
117
  * naming the file: this is read at boot to build the index, and a damaged file
118
118
  * read as "no followers" would quietly unfollow everybody — the one thing
119
- * doc-4 says an ActivityPub site can never take back.
119
+ * an ActivityPub site can never take back.
120
120
  */
121
121
  export function readFollowers(contentDir, username) {
122
122
  const file = followersFile(contentDir, username);
@@ -218,9 +218,9 @@ export function readInboxLog(contentDir) {
218
218
  * Record one inbound activity: append it to the month's log and index it.
219
219
  *
220
220
  * `json` is the activity as compacted JSON-LD, which is what the handler has
221
- * and what doc-4 says to keep whole — nothing is picked out of it here beyond
222
- * the columns the index pages and counts by, because what a later phase will
223
- * want out of an activity is not knowable from here.
221
+ * and what the federation design keeps whole — nothing is picked out of it here
222
+ * beyond the columns the index pages and counts by, because what a later phase
223
+ * will want out of an activity is not knowable from here.
224
224
  *
225
225
  * An activity with no actor is dropped and nothing is written: Fedify has
226
226
  * already refused anything whose signature does not match its actor, so one
@@ -256,7 +256,7 @@ export async function appendInboxActivity(records, json, options = {}) {
256
256
  }
257
257
  /**
258
258
  * Take logged activities out of the log and the index: what a fetched reply
259
- * the remote server no longer lists comes to (TASK-321). Each line goes from
259
+ * the remote server no longer lists comes to. Each line goes from
260
260
  * the month file its row says it arrived in, under that file's lock.
261
261
  */
262
262
  export async function removeInboxActivities(records, activities) {
@@ -316,7 +316,7 @@ export function inboxRowFrom(line) {
316
316
  /**
317
317
  * Rebuild the followers and inbox indexes from the files.
318
318
  *
319
- * This is what makes `data/geekity.db` disposable for federation (decision-9):
319
+ * This is what makes `data/geekity.db` disposable for federation:
320
320
  * the two tables hold nothing but what these files say, so every boot throws
321
321
  * away what they hold and reads them again. That is also what makes editing
322
322
  * `followers.json` by hand and restarting a supported thing to do, and why a
@@ -343,16 +343,16 @@ export function rebuildFederationIndexes(records) {
343
343
  /**
344
344
  * Write an older site's inbox rows out as files, once.
345
345
  *
346
- * Before decision-9 the table was the source rather than an index of one, so a
347
- * site upgrading has rows that no file carries. The rule is the simple one the
348
- * other decision-9 migrations use, and it is simple here because the log did
349
- * not exist as a file at all before: a log that is already there wins outright
350
- * and is not touched, and rows are written out only where there is none. The
351
- * lines it writes name no recipient, because the site they came from had one
352
- * actor and it is gone (decision-14).
346
+ * Before the files became the source of truth the table was the source rather
347
+ * than an index of one, so a site upgrading has rows that no file carries. The
348
+ * rule is the simple one the other file migrations use, and it is simple here
349
+ * because the log did not exist as a file at all before: a log that is already
350
+ * there wins outright and is not touched, and rows are written out only where
351
+ * there is none. The lines it writes name no recipient, because the site they
352
+ * came from had one actor and it is gone.
353
353
  *
354
- * The site actor's followers are **not** migrated. decision-14 replaces one
355
- * site actor with one actor per user, and there is no honest answer to which
354
+ * The site actor's followers are **not** migrated. The one site actor was
355
+ * replaced with one actor per user, and there is no honest answer to which
356
356
  * user inherited the followers of an account that no longer exists: a follow
357
357
  * is an agreement with somebody, and handing it to whoever happens to have the
358
358
  * lowest user id would be answering it for them. A site that federated as the
@@ -499,8 +499,8 @@ function inboxJsonl(lines) {
499
499
  .map((line) => `${JSON.stringify({
500
500
  receivedAt: line.receivedAt,
501
501
  // Absent rather than null for a shared-inbox delivery that named
502
- // nobody, so a log written before decision-14 and one written after
503
- // it read the same.
502
+ // nobody, so a log written when the site had one actor and one
503
+ // written since read the same.
504
504
  ...(line.recipient === null ? {} : { recipient: line.recipient }),
505
505
  ...(line.fetched ? { fetched: true } : {}),
506
506
  ...JSON.parse(line.json),
@@ -1 +1 @@
1
- {"version":3,"file":"records.js","sourceRoot":"","sources":["../../src/federation/records.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACtC,OAAO,IAAI,MAAM,WAAW,CAAC;AAS7B,OAAO,EAAE,qBAAqB,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAClG,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AACxD,OAAO,EAAE,QAAQ,EAAE,M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aACV,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,KAAK,EAAE,CAAC;aACnC,GAAG,EAAE,CAAC;QACT,OAAO,IAAI,IAAI,KAAK,CAAC;IACvB,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
@@ -3,7 +3,7 @@ import type { Clock } from '../util/clock.ts';
3
3
  /** How long one keyId's refusals after the first are counted rather than logged. */
4
4
  export declare const REFUSAL_LOG_WINDOW_MS: number;
5
5
  /**
6
- * The log of inbox deliveries refused for their signature (TASK-427). One
6
+ * The log of inbox deliveries refused for their signature. One
7
7
  * instance serves the site's inboxes and every plugin's, so a peer retrying
8
8
  * at several of them is still one burst.
9
9
  */
@@ -97,7 +97,7 @@ export declare function createRelayService(options: CreateRelayServiceOptions):
97
97
  /**
98
98
  * Mark the subscription an `Accept` answers as accepted, and record who the
99
99
  * relay turned out to be. `undefined` when it answers no follow this site
100
- * sent — the site follows nothing but relays (doc-4), so that is a stray.
100
+ * sent — the site follows nothing but relays, so that is a stray.
101
101
  *
102
102
  * A free function over the store rather than a method on the service: nothing
103
103
  * about it is queued or sent, and the inbox listener that calls it has the
@@ -63,13 +63,13 @@ export function createRelayService(options) {
63
63
  });
64
64
  }
65
65
  /**
66
- * Who subscribes to a relay: the site's first account (decision-14).
66
+ * Who subscribes to a relay: the site's first account.
67
67
  *
68
68
  * A relay subscription is an instance-wide agreement — it boosts everything
69
- * public this site sends, whoever wrote it — and after decision-14 there is
70
- * no site actor left to make one. The first account is the one actor that
71
- * can be chosen without asking, and it is the account a one-person blog has
72
- * anyway. `undefined` before anybody has signed up, and then nothing is
69
+ * public this site sends, whoever wrote it — and with every user an actor
70
+ * there is no site actor left to make one. The first account is the one actor
71
+ * that can be chosen without asking, and it is the account a one-person blog
72
+ * has anyway. `undefined` before anybody has signed up, and then nothing is
73
73
  * sent: a site in first-run setup has no identity to sign with.
74
74
  */
75
75
  function subscriber() {
@@ -233,7 +233,7 @@ export function createRelayService(options) {
233
233
  /**
234
234
  * Mark the subscription an `Accept` answers as accepted, and record who the
235
235
  * relay turned out to be. `undefined` when it answers no follow this site
236
- * sent — the site follows nothing but relays (doc-4), so that is a stray.
236
+ * sent — the site follows nothing but relays, so that is a stray.
237
237
  *
238
238
  * A free function over the store rather than a method on the service: nothing
239
239
  * about it is queued or sent, and the inbox listener that calls it has the
@@ -7,8 +7,8 @@ export declare function acctOf(username: string, baseUrl: string): string;
7
7
  * The user a WebFinger `resource` asks about, or `undefined` for one this site
8
8
  * answers for nobody.
9
9
  *
10
- * Every spelling of a person resolves, and they are the ones decision-14 lists
11
- * as their aliases: the `acct:` handle, the author archive, `/@{username}` and
10
+ * Every spelling of a person resolves, and they are the ones their actor lists
11
+ * as aliases: the `acct:` handle, the author archive, `/@{username}` and
12
12
  * — for somebody who was published elsewhere first — the id they were
13
13
  * published under. Matching every one of them is what lets a peer that holds
14
14
  * any one URL for this person find the others, which is the whole job of
@@ -11,8 +11,8 @@ export function acctOf(username, baseUrl) {
11
11
  * The user a WebFinger `resource` asks about, or `undefined` for one this site
12
12
  * answers for nobody.
13
13
  *
14
- * Every spelling of a person resolves, and they are the ones decision-14 lists
15
- * as their aliases: the `acct:` handle, the author archive, `/@{username}` and
14
+ * Every spelling of a person resolves, and they are the ones their actor lists
15
+ * as aliases: the `acct:` handle, the author archive, `/@{username}` and
16
16
  * — for somebody who was published elsewhere first — the id they were
17
17
  * published under. Matching every one of them is what lets a peer that holds
18
18
  * any one URL for this person find the others, which is the whole job of
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Writing a file the way decision-9 needs it written.
2
+ * Writing a file the way a source of truth needs it written.
3
3
  *
4
4
  * Files are the source of truth for everything durable, and SQLite is a cache
5
5
  * that may be deleted — which means the transactions that used to cover a
@@ -46,7 +46,7 @@ export type FileContents = string | Uint8Array;
46
46
  export type ProduceFileContents = (current: string | undefined) => FileContents | Promise<FileContents>;
47
47
  /**
48
48
  * A write refused because its directory is read-only for now: a worker that
49
- * is handing over to a new one under `geekity serve` (TASK-288) writes
49
+ * is handing over to a new one under `geekity serve` writes
50
50
  * nothing more, so the new worker's boot migrations run alone.
51
51
  */
52
52
  export declare class WritesRefusedError extends Error {
@@ -4,7 +4,7 @@ import path from 'node:path';
4
4
  import { createSerialQueue } from '../util/queue.js';
5
5
  /**
6
6
  * A write refused because its directory is read-only for now: a worker that
7
- * is handing over to a new one under `geekity serve` (TASK-288) writes
7
+ * is handing over to a new one under `geekity serve` writes
8
8
  * nothing more, so the new worker's boot migrations run alone.
9
9
  */
10
10
  export class WritesRefusedError extends Error {
@@ -9,9 +9,9 @@ import type { PostComment } from '../store/admin-store.ts';
9
9
  export type SubmissionType =
10
10
  /** Somebody filled in the comment form under a post. */
11
11
  'comment'
12
- /** Another site's page said it links here (TASK-51). */
12
+ /** Another site's page said it links here. */
13
13
  | 'webmention'
14
- /** Somebody filled in the contact form on a page (TASK-56). */
14
+ /** Somebody filled in the contact form on a page. */
15
15
  | 'contact-form';
16
16
  /** Everything a checker is told about a comment on its way in. */
17
17
  export interface CommentSubmission {
@@ -1 +1 @@
1
- {"version":3,"file":"checker.d.ts","sourceRoot":"","sources":["../../src/forms/checker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAE3D;;;;;;GAMG;AACH,MAAM,MAAM,cAAc;AACxB,wDAAwD;AACtD,SAAS;AACX,wDAAwD;GACtD,YAAY;AACd,+DAA+D;GAC7D,cAAc,CAAC;AAEnB,kEAAkE;AAClE,MAAM,WAAW,iBAAiB;IAChC,wEAAwE;IACxE,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,IAAI,CAAC,CAAC;IACjC;;;;;;;;;OASG;IACH,IAAI,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAClC,yBAAyB;IACzB,IAAI,EAAE;QACJ,gBAAgB;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,wDAAwD;QACxD,KA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on the public site defends itself with.
3
3
  *
4
- * A comment form (TASK-50) and a contact form (TASK-56) are the same problem
4
+ * A comment form and a contact form are the same problem
5
5
  * wearing different fields: an anonymous stranger posting text at a site that
6
6
  * has to store it. So the three cheap defences in front of both live here
7
7
  * rather than once each, and neither feature can quietly drift into a weaker
@@ -4,7 +4,7 @@ import { COMMENT_SALT, dataPath } from '../files/data-files.js';
4
4
  /**
5
5
  * What every form on the public site defends itself with.
6
6
  *
7
- * A comment form (TASK-50) and a contact form (TASK-56) are the same problem
7
+ * A comment form and a contact form are the same problem
8
8
  * wearing different fields: an anonymous stranger posting text at a site that
9
9
  * has to store it. So the three cheap defences in front of both live here
10
10
  * rather than once each, and neither feature can quietly drift into a weaker
@@ -8,7 +8,7 @@ import { lockFileFor, withLockFile } from '../jobs/lock-file.js';
8
8
  import { messageOf } from '../util/errors.js';
9
9
  /**
10
10
  * Long enough that no client sees it expire. Gemini clients pin a certificate
11
- * on first sight (decision-60), so an expiry is a forced change of identity.
11
+ * on first sight, so an expiry is a forced change of identity.
12
12
  */
13
13
  const VALID_YEARS = 50;
14
14
  const DAY_MS = 24 * 60 * 60 * 1000;
@@ -4,8 +4,8 @@ import type { DescribedImage, ImageConfig } from './variants.ts';
4
4
  *
5
5
  * This runs over the HTML on its way into a theme template and nowhere else.
6
6
  * The feeds, the JSON and Markdown representations and the ActivityStreams
7
- * `content` keep the plain `<img>` that {@link renderMarkdown} produced, as
8
- * decision-10 requires: a reader's client and a remote instance cannot resolve
7
+ * `content` keep the plain `<img>` that {@link renderMarkdown} produced: a
8
+ * reader's client and a remote instance cannot resolve
9
9
  * a `srcset` of this site's derived files sensibly, and half of them would
10
10
  * strip the `<picture>` anyway.
11
11
  */
@@ -3,12 +3,12 @@ import type { ImageConfig } from './paths.ts';
3
3
  /**
4
4
  * Image variants: the derived copies of an upload, and the record of them.
5
5
  *
6
- * The original under `content/uploads/` is the only source of truth
7
- * (decision-10). Everything this module writes lives under
8
- * `<dataDir>/images/<the upload's path>/`, is rebuildable from that original,
9
- * and may be deleted at any moment — which is also decision-9's rule for
10
- * `data/`. Nothing here is ever read by the feeds or by a remote instance;
11
- * only the site's own HTML knows these files exist.
6
+ * The original under `content/uploads/` is the only source of truth. Everything
7
+ * this module writes lives under `<dataDir>/images/<the upload's path>/`, is
8
+ * rebuildable from that original, and may be deleted at any moment — which is
9
+ * also the rule for anything derived under `data/`. Nothing here is ever read
10
+ * by the feeds or by a remote instance; only the site's own HTML knows these
11
+ * files exist.
12
12
  *
13
13
  * Where the files live is `paths.ts`, and the site's icons are `icons.ts`:
14
14
  * both kinds of derived file share the directory and the URL prefix.
@@ -32,7 +32,7 @@ export interface ImageVariant {
32
32
  * itself.
33
33
  *
34
34
  * This is the sidecar's shape. It exists so that rendering a page never opens
35
- * an image: decision-10 requires the dimensions to be recorded when the
35
+ * an image: the dimensions are recorded when the
36
36
  * variants are generated and read back, never probed per request.
37
37
  */
38
38
  export interface ImageRecord {
@@ -119,7 +119,7 @@ export declare function removeImageVariants(config: ImageConfig, source: string)
119
119
  * `relative` is what follows {@link VARIANT_ASSET_PREFIX}, so
120
120
  * `2026/09/photo.jpg/640.webp`. A request for a file that was swept away
121
121
  * rebuilds the whole set for that source and then serves it, which is what
122
- * makes the derived directory disposable in the way decision-9 requires. A
122
+ * makes the derived directory disposable, as everything derived must be. A
123
123
  * request for a width or a format the site does not offer is a 404 and encodes
124
124
  * nothing, so nobody can make the server work by asking for sizes.
125
125
  */
@@ -309,7 +309,7 @@ export async function removeImageVariants(config, source) {
309
309
  * `relative` is what follows {@link VARIANT_ASSET_PREFIX}, so
310
310
  * `2026/09/photo.jpg/640.webp`. A request for a file that was swept away
311
311
  * rebuilds the whole set for that source and then serves it, which is what
312
- * makes the derived directory disposable in the way decision-9 requires. A
312
+ * makes the derived directory disposable, as everything derived must be. A
313
313
  * request for a width or a format the site does not offer is a 404 and encodes
314
314
  * nothing, so nobody can make the server work by asking for sizes.
315
315
  */
@@ -11,7 +11,7 @@ export interface CreateIndexNowNotifierOptions {
11
11
  settings: SettingsRegistry;
12
12
  }
13
13
  /**
14
- * Tells the IndexNow engines which URLs changed (TASK-151).
14
+ * Tells the IndexNow engines which URLs changed.
15
15
  *
16
16
  * Changes are gathered for a few seconds and sent as one request, on a queue
17
17
  * of their own, and a failure is retried and then logged rather than thrown:
@@ -39,8 +39,8 @@ export declare const CONSENT_LIFETIME_MS: number;
39
39
  * The authorization server's short-lived state: codes and the consent screens
40
40
  * they come from.
41
41
  *
42
- * Held in memory rather than in `data/`. Decision-9 asks files for state a
43
- * restart must not lose, and these live for minutes: a restart costs whoever
42
+ * Held in memory rather than in `data/`. Files hold the state a restart must
43
+ * not lose, and these live for minutes: a restart costs whoever
44
44
  * was mid-sign-in one more try, which is less than writing every sign-in to
45
45
  * disk and sweeping it after.
46
46
  */
@@ -8,11 +8,10 @@ export interface IdentitySite {
8
8
  settings: Pick<SiteSettings, 'author'>;
9
9
  }
10
10
  /**
11
- * The one user a me URL names, or `undefined` when it names nobody
12
- * (decision-23).
11
+ * The one user a me URL names, or `undefined` when it names nobody.
13
12
  *
14
13
  * `/author/{username}/` names that user. The root names the user the author
15
- * setting names, which makes it a solo author site (TASK-192); on a site with
14
+ * setting names, which makes it a solo author site; on a site with
16
15
  * several authors it is nobody's. Anything else names nobody, a query or a fragment
17
16
  * included.
18
17
  *
@@ -23,8 +22,7 @@ export interface IdentitySite {
23
22
  */
24
23
  export declare function userForMe(me: string, site: IdentitySite): User | undefined;
25
24
  /**
26
- * The me a sign-in hands back for `user`, who has just approved it
27
- * (decision-23).
25
+ * The me a sign-in hands back for `user`, who has just approved it.
28
26
  *
29
27
  * The URL the person typed when it names them, spelled canonically: the root
30
28
  * for the solo author who typed it, their author URL otherwise. A typed URL
@@ -1 +1 @@
1
- {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../src/indieauth/identity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAG7C,4DAA4D;AAC5D,MAAM,WAAW,YAAY;IAC3B,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;IACvB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;CACxC;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAE1E;AAED;;;;;;;;;GASG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,GAAG,MAAM,CAK7F"}
1
+ {"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../src/indieauth/identity.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAG7C,4DAA4D;AAC5D,MAAM,WAAW,YAAY;IAC3B,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;IACvB,QAAQ,EAAE,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,CAAC;CACxC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,IAAI,GAAG,SAAS,CAE1E;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,GAAG,MAAM,CAK7F"}
@@ -1,11 +1,10 @@
1
1
  import { userForAuthor, authorHref, parseAuthorPath } from '../content/authors.js';
2
2
  import { withoutTrailingSlash, withTrailingSlash } from '../util/url.js';
3
3
  /**
4
- * The one user a me URL names, or `undefined` when it names nobody
5
- * (decision-23).
4
+ * The one user a me URL names, or `undefined` when it names nobody.
6
5
  *
7
6
  * `/author/{username}/` names that user. The root names the user the author
8
- * setting names, which makes it a solo author site (TASK-192); on a site with
7
+ * setting names, which makes it a solo author site; on a site with
9
8
  * several authors it is nobody's. Anything else names nobody, a query or a fragment
10
9
  * included.
11
10
  *
@@ -18,8 +17,7 @@ export function userForMe(me, site) {
18
17
  return identityNamed(me, site)?.user;
19
18
  }
20
19
  /**
21
- * The me a sign-in hands back for `user`, who has just approved it
22
- * (decision-23).
20
+ * The me a sign-in hands back for `user`, who has just approved it.
23
21
  *
24
22
  * The URL the person typed when it names them, spelled canonically: the root
25
23
  * for the solo author who typed it, their author URL otherwise. A typed URL
@@ -1 +1 @@
1
- {"version":3,"file":"identity.js","sourceRoot":"","sources":["../../src/indieauth/identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGnF,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAUzE;;;;;;;;;;;;;GAaG;AACH,MAAM,UAAU,SAAS,CAAC,EAAU,EAAE,IAAkB;IACtD,OAAO,aAAa,CAAC,EAAE,EAAE,IAAI,CAAC,EAAE,IAAI,CAAC;AACvC,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,WAAW,CAAC,KAAyB,EAAE,IAAU,EAAE,IAAkB;IACnF,MAAM,KAAK,GAAG,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC3E,MAAM,IAAI,GAAG,oBAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChD,IAAI,KAAK,EAAE,IAAI,CAAC,EAAE,KA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,SAAS,CAAC,QAAQ,KAAK,MAAM,CAAC,QAAQ,CAAC,CAAC;IACpF,OAAO,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;AAChE,CAAC;AAED,SAAS,UAAU,CAAC,QAAgB;IAClC,OAAO,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;AACpE,CAAC"}
@@ -15,8 +15,8 @@ export type RedemptionForm = Readonly<Record<string, string | undefined>>;
15
15
  /** A parsed form body as a {@link RedemptionForm}, a file upload read as absent. */
16
16
  export declare function redemptionForm(body: Readonly<Record<string, unknown>>): RedemptionForm;
17
17
  /**
18
- * Take the code a client posts and check it against what it was issued for
19
- * (TASK-159). The token endpoint (TASK-160) redeems codes through this too,
18
+ * Take the code a client posts and check it against what it was issued for.
19
+ * The token endpoint redeems codes through this too,
20
20
  * so the two cannot disagree about what makes a code good.
21
21
  *
22
22
  * The code is taken before it is checked, so a try with the wrong verifier,
@@ -8,8 +8,8 @@ export function redemptionForm(body) {
8
8
  ]));
9
9
  }
10
10
  /**
11
- * Take the code a client posts and check it against what it was issued for
12
- * (TASK-159). The token endpoint (TASK-160) redeems codes through this too,
11
+ * Take the code a client posts and check it against what it was issued for.
12
+ * The token endpoint redeems codes through this too,
13
13
  * so the two cannot disagree about what makes a code good.
14
14
  *
15
15
  * The code is taken before it is checked, so a try with the wrong verifier,
@@ -1,6 +1,6 @@
1
1
  /**
2
- * The scopes a client may ask for: the profile ones (TASK-158) and the
3
- * Micropub ones a token is issued for (TASK-160).
2
+ * The scopes a client may ask for: the profile ones and the
3
+ * Micropub ones a token is issued for.
4
4
  */
5
5
  export declare const SCOPES: readonly ['profile', 'email', 'create', 'update', 'delete', 'media'];
6
6
  /** A scope this site can grant. */
@@ -1,7 +1,7 @@
1
1
  import { clientIdentifier, sameClient } from '../util/client-id.js';
2
2
  /**
3
- * The scopes a client may ask for: the profile ones (TASK-158) and the
4
- * Micropub ones a token is issued for (TASK-160).
3
+ * The scopes a client may ask for: the profile ones and the
4
+ * Micropub ones a token is issued for.
5
5
  */
6
6
  export const SCOPES = ['profile', 'email', 'create', 'update', 'delete', 'media'];
7
7
  /** An S256 challenge: 32 bytes of hash in unpadded base64url. */
@@ -2,10 +2,9 @@ import type { AuthorizationCode } from './grants.ts';
2
2
  import type { RedemptionForm } from './redeem.ts';
3
3
  import type { Scope } from './request.ts';
4
4
  /**
5
- * The access tokens the token endpoint has issued: `data/indieauth-tokens.json`
6
- * (TASK-160, decision-24).
5
+ * The access tokens the token endpoint has issued: `data/indieauth-tokens.json`.
7
6
  *
8
- * A token is irreducible state under decision-9: a client holding one cannot
7
+ * A token is irreducible state: a client holding one cannot
9
8
  * be handed it again, so losing it signs the person out of every app. So it
10
9
  * lives in a file in `data/`, written 0600 like `users.json`, and holds a
11
10
  * SHA-256 hash of each token rather than the token. A token is 32 random
@@ -24,8 +23,7 @@ export declare const REFRESH_TOKEN_LIFETIME_MS: number;
24
23
  /**
25
24
  * How stale a connection's last use may be. A token's use is written only
26
25
  * when the stored one is older than this, so a client calling the API all
27
- * day rewrites the file once an hour rather than once a request (TASK-162,
28
- * decision-24).
26
+ * day rewrites the file once an hour rather than once a request.
29
27
  */
30
28
  export declare const LAST_USE_RESOLUTION_MS: number;
31
29
  interface Connection {
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/indieauth/tokens.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAG1C;;;;;;;;;;;;;GAaG;AAEH,gFAAgF;AAChF,e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C,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,EAAE,EAAE,MAAM,EACV,GAAG,EAAE,IAAI,GACR,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CAMlC;AAED;;;;GAIG;AACH,wBAAsB,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,EAAE,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAO7F;AAED,yCAAyC;AACzC,wBAAsB,mBAAmB,CACvC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,IAAI,GACR,OAAO,CAAC,IAAI,CAAC,CAGf"}
@@ -2,10 +2,9 @@ import { createHash, randomBytes } from 'node:crypto';
2
2
  import { readFileIfPresentSync, updateFileAtomically } from '../files/atomic.js';
3
3
  import { INDIEAUTH_TOKENS, dataPath } from '../files/data-files.js';
4
4
  /**
5
- * The access tokens the token endpoint has issued: `data/indieauth-tokens.json`
6
- * (TASK-160, decision-24).
5
+ * The access tokens the token endpoint has issued: `data/indieauth-tokens.json`.
7
6
  *
8
- * A token is irreducible state under decision-9: a client holding one cannot
7
+ * A token is irreducible state: a client holding one cannot
9
8
  * be handed it again, so losing it signs the person out of every app. So it
10
9
  * lives in a file in `data/`, written 0600 like `users.json`, and holds a
11
10
  * SHA-256 hash of each token rather than the token. A token is 32 random
@@ -24,8 +23,7 @@ export const REFRESH_TOKEN_LIFETIME_MS = 60 * 24 * 60 * 60 * 1000;
24
23
  /**
25
24
  * How stale a connection's last use may be. A token's use is written only
26
25
  * when the stored one is older than this, so a client calling the API all
27
- * day rewrites the file once an hour rather than once a request (TASK-162,
28
- * decision-24).
26
+ * day rewrites the file once an hour rather than once a request.
29
27
  */
30
28
  export const LAST_USE_RESOLUTION_MS = 60 * 60 * 1000;
31
29
  /** Where the tokens file lives for a given data directory. */