@yaks/platform 0.0.0-stage → 0.2.36

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 (1213) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +261 -2
  3. package/_client-blobs.js +7 -0
  4. package/_client-error.js +70 -0
  5. package/_client-modal.js +3 -0
  6. package/_client-replica.js +5 -0
  7. package/_client-review.js +1 -0
  8. package/_client-schema.js +1 -0
  9. package/_client-vault.js +31 -0
  10. package/_edit-query.js +1 -0
  11. package/_uploads.js +4 -0
  12. package/account-browser.js +67 -0
  13. package/account-browser.js.map +1 -0
  14. package/account-browser.ts +87 -0
  15. package/account-rows.js +130 -0
  16. package/account-rows.js.map +1 -0
  17. package/account-rows.ts +237 -0
  18. package/admin-visits-view.js +65 -0
  19. package/admin-visits-view.js.map +1 -0
  20. package/admin-visits-view.ts +120 -0
  21. package/admin-visits.js +143 -0
  22. package/admin-visits.js.map +1 -0
  23. package/admin-visits.ts +211 -0
  24. package/admit-graph.js +8 -0
  25. package/admit-graph.js.map +1 -0
  26. package/admit-graph.ts +10 -0
  27. package/agent-guide.js +368 -0
  28. package/agent-guide.js.map +1 -0
  29. package/agent-guide.ts +450 -0
  30. package/agents-browser.js +143 -0
  31. package/agents-browser.js.map +1 -0
  32. package/agents-browser.ts +141 -0
  33. package/agents-view.js +129 -0
  34. package/agents-view.js.map +1 -0
  35. package/agents-view.ts +236 -0
  36. package/agents.js +148 -0
  37. package/agents.js.map +1 -0
  38. package/agents.ts +150 -0
  39. package/app-actions.js +56 -0
  40. package/app-actions.js.map +1 -0
  41. package/app-actions.ts +61 -0
  42. package/app-authority.js +280 -0
  43. package/app-authority.js.map +1 -0
  44. package/app-authority.ts +356 -0
  45. package/app-canvas-browser.js +308 -0
  46. package/app-canvas-browser.js.map +1 -0
  47. package/app-canvas-browser.ts +377 -0
  48. package/app-canvas-view.js +244 -0
  49. package/app-canvas-view.js.map +1 -0
  50. package/app-canvas-view.ts +399 -0
  51. package/app-canvas.js +87 -0
  52. package/app-canvas.js.map +1 -0
  53. package/app-canvas.ts +170 -0
  54. package/app-client.js +521 -0
  55. package/app-client.js.map +1 -0
  56. package/app-client.ts +562 -0
  57. package/app-command.js +108 -0
  58. package/app-command.js.map +1 -0
  59. package/app-command.ts +155 -0
  60. package/app-commands.js +334 -0
  61. package/app-commands.js.map +1 -0
  62. package/app-commands.ts +379 -0
  63. package/app-decision.js +69 -0
  64. package/app-decision.js.map +1 -0
  65. package/app-decision.ts +61 -0
  66. package/app-effects.js +43 -0
  67. package/app-effects.js.map +1 -0
  68. package/app-effects.ts +53 -0
  69. package/app-file.js +252 -0
  70. package/app-file.js.map +1 -0
  71. package/app-file.ts +362 -0
  72. package/app-friends.js +60 -0
  73. package/app-friends.js.map +1 -0
  74. package/app-friends.ts +81 -0
  75. package/app-graph.js +9 -0
  76. package/app-graph.js.map +1 -0
  77. package/app-graph.ts +9 -0
  78. package/app-icon.js +59 -0
  79. package/app-icon.js.map +1 -0
  80. package/app-icon.ts +121 -0
  81. package/app-made.js +164 -0
  82. package/app-made.js.map +1 -0
  83. package/app-made.ts +306 -0
  84. package/app-outbound.js +72 -0
  85. package/app-outbound.js.map +1 -0
  86. package/app-outbound.ts +109 -0
  87. package/app-outbox.js +42 -0
  88. package/app-outbox.js.map +1 -0
  89. package/app-outbox.ts +46 -0
  90. package/app-patch.js +75 -0
  91. package/app-patch.js.map +1 -0
  92. package/app-patch.ts +106 -0
  93. package/app-read.js +101 -0
  94. package/app-read.js.map +1 -0
  95. package/app-read.ts +126 -0
  96. package/app-role-tools.js +232 -0
  97. package/app-role-tools.js.map +1 -0
  98. package/app-role-tools.ts +258 -0
  99. package/app-roles.js +91 -0
  100. package/app-roles.js.map +1 -0
  101. package/app-roles.ts +76 -0
  102. package/app-session-access.js +109 -0
  103. package/app-session-access.js.map +1 -0
  104. package/app-session-access.ts +145 -0
  105. package/app-starter.js +109 -0
  106. package/app-starter.js.map +1 -0
  107. package/app-starter.ts +123 -0
  108. package/app-storage.js +38 -0
  109. package/app-storage.js.map +1 -0
  110. package/app-storage.ts +54 -0
  111. package/app-style-guide.js +138 -0
  112. package/app-style-guide.js.map +1 -0
  113. package/app-style-guide.ts +195 -0
  114. package/app-subs.js +89 -0
  115. package/app-subs.js.map +1 -0
  116. package/app-subs.ts +110 -0
  117. package/app-tests.js +54 -0
  118. package/app-tests.js.map +1 -0
  119. package/app-tests.ts +56 -0
  120. package/app-tile.js +209 -0
  121. package/app-tile.js.map +1 -0
  122. package/app-tile.ts +227 -0
  123. package/app-transfer.js +188 -0
  124. package/app-transfer.js.map +1 -0
  125. package/app-transfer.ts +281 -0
  126. package/app-vocab.js +52 -0
  127. package/app-vocab.js.map +1 -0
  128. package/app-vocab.ts +43 -0
  129. package/app-words.js +55 -0
  130. package/app-words.js.map +1 -0
  131. package/app-words.ts +73 -0
  132. package/app-worker.js +28 -0
  133. package/app-worker.js.map +1 -0
  134. package/app-worker.ts +38 -0
  135. package/app-writes.js +132 -0
  136. package/app-writes.js.map +1 -0
  137. package/app-writes.ts +128 -0
  138. package/asset-bytes.js +57 -0
  139. package/asset-bytes.js.map +1 -0
  140. package/asset-bytes.ts +90 -0
  141. package/asset-response.js +28 -0
  142. package/asset-response.js.map +1 -0
  143. package/asset-response.ts +46 -0
  144. package/asset-url.js +556 -0
  145. package/asset-url.js.map +1 -0
  146. package/asset-url.ts +774 -0
  147. package/attribution-vocab.js +14 -0
  148. package/attribution-vocab.js.map +1 -0
  149. package/attribution-vocab.ts +11 -0
  150. package/authorship-graph.js +8 -0
  151. package/authorship-graph.js.map +1 -0
  152. package/authorship-graph.ts +10 -0
  153. package/badge.js +98 -0
  154. package/blob-images.js +206 -0
  155. package/blob-images.js.map +1 -0
  156. package/blob-images.ts +323 -0
  157. package/blob-posters.js +125 -0
  158. package/blob-posters.js.map +1 -0
  159. package/blob-posters.ts +207 -0
  160. package/blob-routes.js +14 -0
  161. package/blob-routes.js.map +1 -0
  162. package/blob-routes.ts +25 -0
  163. package/bots.js +77 -0
  164. package/bots.js.map +1 -0
  165. package/bots.ts +93 -0
  166. package/browser-mockup.js +81 -0
  167. package/browser-mockup.js.map +1 -0
  168. package/browser-mockup.ts +105 -0
  169. package/browser-record.js +55 -0
  170. package/browser-record.js.map +1 -0
  171. package/browser-record.ts +66 -0
  172. package/browser-scroll.js +90 -0
  173. package/browser-scroll.js.map +1 -0
  174. package/browser-scroll.ts +108 -0
  175. package/browser-stream.js +79 -0
  176. package/browser-stream.js.map +1 -0
  177. package/browser-stream.ts +84 -0
  178. package/browser-trace.js +252 -0
  179. package/browser-trace.js.map +1 -0
  180. package/browser-trace.ts +330 -0
  181. package/browser-viewer.js +236 -0
  182. package/browser-viewer.js.map +1 -0
  183. package/browser-viewer.ts +233 -0
  184. package/browser-visit.js +1522 -0
  185. package/browser-visit.js.map +1 -0
  186. package/browser-visit.ts +2179 -0
  187. package/browser-wire.js +242 -0
  188. package/browser-wire.js.map +1 -0
  189. package/browser-wire.ts +262 -0
  190. package/budget.js +17 -0
  191. package/budget.js.map +1 -0
  192. package/budget.ts +42 -0
  193. package/cli.js +52 -0
  194. package/cli.js.map +1 -0
  195. package/cli.ts +55 -0
  196. package/client-modules.js +24 -0
  197. package/client-modules.js.map +1 -0
  198. package/client-modules.ts +24 -0
  199. package/client-routes.js +83 -0
  200. package/client-routes.js.map +1 -0
  201. package/client-routes.ts +104 -0
  202. package/client-words.js +62 -0
  203. package/client-words.js.map +1 -0
  204. package/client-words.ts +77 -0
  205. package/client.js +709 -0
  206. package/comp.js +2 -0
  207. package/comp.js.map +1 -0
  208. package/comp.ts +15 -0
  209. package/config.js +497 -0
  210. package/config.js.map +1 -0
  211. package/config.ts +287 -0
  212. package/connect-parts.js +107 -0
  213. package/connect-parts.js.map +1 -0
  214. package/connect-parts.ts +165 -0
  215. package/connected-activity-browser.js +301 -0
  216. package/connected-activity-browser.js.map +1 -0
  217. package/connected-activity-browser.ts +341 -0
  218. package/connected-activity-view.js +55 -0
  219. package/connected-activity-view.js.map +1 -0
  220. package/connected-activity-view.ts +81 -0
  221. package/connected-activity-wire.js +165 -0
  222. package/connected-activity-wire.js.map +1 -0
  223. package/connected-activity-wire.ts +171 -0
  224. package/connected-activity.css +156 -0
  225. package/connected-activity.js +185 -0
  226. package/connected-activity.js.map +1 -0
  227. package/connected-activity.ts +278 -0
  228. package/connection-icon-browser.js +50 -0
  229. package/connection-icon-browser.js.map +1 -0
  230. package/connection-icon-browser.ts +52 -0
  231. package/connections-browser.js +393 -0
  232. package/connections-browser.js.map +1 -0
  233. package/connections-browser.ts +465 -0
  234. package/connections-page.js +178 -0
  235. package/connections-page.js.map +1 -0
  236. package/connections-page.ts +461 -0
  237. package/connections-view.js +1215 -0
  238. package/connections-view.js.map +1 -0
  239. package/connections-view.ts +2239 -0
  240. package/connector-upload.js +94 -0
  241. package/connector-upload.js.map +1 -0
  242. package/connector-upload.ts +146 -0
  243. package/consent.js +2 -0
  244. package/consent.js.map +1 -0
  245. package/consent.ts +3 -0
  246. package/cookie.js +53 -0
  247. package/cookie.js.map +1 -0
  248. package/cookie.ts +75 -0
  249. package/copy.js +104 -0
  250. package/corner.js +226 -0
  251. package/credential-draft-move.js +154 -0
  252. package/credential-draft-move.js.map +1 -0
  253. package/credential-draft-move.ts +197 -0
  254. package/credential-draft-place.js +2 -0
  255. package/credential-draft-place.js.map +1 -0
  256. package/credential-draft-place.ts +4 -0
  257. package/credential-drafts.js +66 -0
  258. package/credential-drafts.js.map +1 -0
  259. package/credential-drafts.ts +93 -0
  260. package/dashboard-browser.js +149 -0
  261. package/dashboard-browser.js.map +1 -0
  262. package/dashboard-browser.ts +184 -0
  263. package/dashboard-view.js +293 -0
  264. package/dashboard-view.js.map +1 -0
  265. package/dashboard-view.ts +423 -0
  266. package/dashboard.js +268 -0
  267. package/dashboard.js.map +1 -0
  268. package/dashboard.ts +436 -0
  269. package/deno.json +1 -0
  270. package/describe-graph.js +8 -0
  271. package/describe-graph.js.map +1 -0
  272. package/describe-graph.ts +7 -0
  273. package/directory-derived.js +142 -0
  274. package/directory-derived.js.map +1 -0
  275. package/directory-derived.ts +198 -0
  276. package/directory-index-move.js +77 -0
  277. package/directory-index-move.js.map +1 -0
  278. package/directory-index-move.ts +59 -0
  279. package/directory-index.js +382 -0
  280. package/directory-index.js.map +1 -0
  281. package/directory-index.ts +550 -0
  282. package/directory-pages.js +41 -0
  283. package/directory-pages.js.map +1 -0
  284. package/directory-pages.ts +71 -0
  285. package/directory-route.js +129 -0
  286. package/directory-route.js.map +1 -0
  287. package/directory-route.ts +189 -0
  288. package/directory-vocab.js +58 -0
  289. package/directory-vocab.js.map +1 -0
  290. package/directory-vocab.ts +46 -0
  291. package/document-graph.js +86 -0
  292. package/document-graph.js.map +1 -0
  293. package/document-graph.ts +93 -0
  294. package/document-ocr.js +146 -0
  295. package/document-ocr.js.map +1 -0
  296. package/document-ocr.ts +204 -0
  297. package/documents.js +50 -0
  298. package/documents.js.map +1 -0
  299. package/documents.ts +64 -0
  300. package/domain-pages.js +221 -0
  301. package/domain-pages.js.map +1 -0
  302. package/domain-pages.ts +586 -0
  303. package/domain-settings.js +88 -0
  304. package/domain-settings.js.map +1 -0
  305. package/domain-settings.ts +132 -0
  306. package/domain-transfer.js +138 -0
  307. package/domain-transfer.js.map +1 -0
  308. package/domain-transfer.ts +190 -0
  309. package/donation-loans.js +176 -0
  310. package/donation-loans.js.map +1 -0
  311. package/donation-loans.ts +271 -0
  312. package/draft-choice.js +136 -0
  313. package/draft-choice.js.map +1 -0
  314. package/draft-choice.ts +310 -0
  315. package/drawing.js +27 -0
  316. package/drawing.js.map +1 -0
  317. package/drawing.ts +40 -0
  318. package/early-report.js +18 -0
  319. package/early-report.js.map +1 -0
  320. package/early-report.ts +31 -0
  321. package/edit-client-path.js +2 -0
  322. package/edit-client-path.js.map +1 -0
  323. package/edit-client-path.ts +1 -0
  324. package/edit-mode.js +920 -0
  325. package/edit-mode.js.map +1 -0
  326. package/edit-mode.ts +1003 -0
  327. package/edit-sync.js +61 -0
  328. package/edit-sync.js.map +1 -0
  329. package/edit-sync.ts +83 -0
  330. package/edit.js +265 -0
  331. package/embed-graph.js +11 -0
  332. package/embed-graph.js.map +1 -0
  333. package/embed-graph.ts +8 -0
  334. package/embedded-payment.js +211 -0
  335. package/embedded-payment.js.map +1 -0
  336. package/embedded-payment.ts +290 -0
  337. package/entry-actions-browser.js +43 -0
  338. package/entry-actions-browser.js.map +1 -0
  339. package/entry-actions-browser.ts +64 -0
  340. package/entry-actions.js +56 -0
  341. package/entry-actions.js.map +1 -0
  342. package/entry-actions.ts +59 -0
  343. package/escape.js +14 -0
  344. package/escape.js.map +1 -0
  345. package/escape.ts +24 -0
  346. package/face-input.js +6 -0
  347. package/face-input.js.map +1 -0
  348. package/face-input.ts +14 -0
  349. package/facebook.js +370 -0
  350. package/facebook.js.map +1 -0
  351. package/facebook.ts +474 -0
  352. package/facets.js +142 -0
  353. package/facets.js.map +1 -0
  354. package/facets.ts +89 -0
  355. package/fee.js +45 -0
  356. package/fee.js.map +1 -0
  357. package/fee.ts +51 -0
  358. package/fence.js +164 -0
  359. package/fence.js.map +1 -0
  360. package/fence.ts +223 -0
  361. package/file-metadata.js +135 -0
  362. package/file-metadata.js.map +1 -0
  363. package/file-metadata.ts +177 -0
  364. package/file-operation.js +51 -0
  365. package/file-operation.js.map +1 -0
  366. package/file-operation.ts +32 -0
  367. package/file-redirects.js +72 -0
  368. package/file-redirects.js.map +1 -0
  369. package/file-redirects.ts +74 -0
  370. package/file-root.js +8 -0
  371. package/file-root.js.map +1 -0
  372. package/file-root.ts +24 -0
  373. package/files-routes.js +203 -0
  374. package/files-routes.js.map +1 -0
  375. package/files-routes.ts +282 -0
  376. package/files.js +369 -0
  377. package/files.js.map +1 -0
  378. package/files.ts +522 -0
  379. package/fingerprint.js +217 -0
  380. package/fingerprint.js.map +1 -0
  381. package/fingerprint.ts +314 -0
  382. package/firsts.js +335 -0
  383. package/firsts.js.map +1 -0
  384. package/firsts.ts +368 -0
  385. package/friends-at.js +78 -0
  386. package/friends-at.js.map +1 -0
  387. package/friends-at.ts +115 -0
  388. package/friends-browser.js +66 -0
  389. package/friends-browser.js.map +1 -0
  390. package/friends-browser.ts +77 -0
  391. package/friends-dock-browser.js +375 -0
  392. package/friends-dock-browser.js.map +1 -0
  393. package/friends-dock-browser.ts +408 -0
  394. package/friends-dock-view.js +363 -0
  395. package/friends-dock-view.js.map +1 -0
  396. package/friends-dock-view.ts +592 -0
  397. package/friends-view.js +33 -0
  398. package/friends-view.js.map +1 -0
  399. package/friends-view.ts +69 -0
  400. package/friends.js +153 -0
  401. package/friends.js.map +1 -0
  402. package/friends.ts +200 -0
  403. package/fundraising-orders.js +197 -0
  404. package/fundraising-orders.js.map +1 -0
  405. package/fundraising-orders.ts +283 -0
  406. package/fundraising.js +165 -0
  407. package/fundraising.js.map +1 -0
  408. package/fundraising.ts +215 -0
  409. package/funnel.js +141 -0
  410. package/funnel.js.map +1 -0
  411. package/funnel.ts +284 -0
  412. package/gift-savings.js +19 -0
  413. package/gift-savings.js.map +1 -0
  414. package/gift-savings.ts +29 -0
  415. package/git-history.js +331 -0
  416. package/git-history.js.map +1 -0
  417. package/git-history.ts +481 -0
  418. package/giving-browser.js +35 -0
  419. package/giving-browser.js.map +1 -0
  420. package/giving-browser.ts +40 -0
  421. package/giving-pages.js +284 -0
  422. package/giving-pages.js.map +1 -0
  423. package/giving-pages.ts +418 -0
  424. package/giving-view.js +244 -0
  425. package/giving-view.js.map +1 -0
  426. package/giving-view.ts +509 -0
  427. package/giving.js +198 -0
  428. package/giving.js.map +1 -0
  429. package/giving.ts +280 -0
  430. package/gmail-mailbox.js +52 -0
  431. package/gmail-mailbox.js.map +1 -0
  432. package/gmail-mailbox.ts +74 -0
  433. package/graves.js +136 -0
  434. package/graves.js.map +1 -0
  435. package/graves.ts +180 -0
  436. package/hashed.js +499 -0
  437. package/hashed.js.map +1 -0
  438. package/hashed.ts +676 -0
  439. package/home/assets.js +15 -0
  440. package/home/assets.js.map +1 -0
  441. package/home/assets.ts +16 -0
  442. package/home/brands/stripe.svg +12 -0
  443. package/home/brands/zoom.svg +34 -0
  444. package/home/demos.js +413 -0
  445. package/home/demos.js.map +1 -0
  446. package/home/demos.ts +431 -0
  447. package/home/games.js +112 -0
  448. package/home/games.js.map +1 -0
  449. package/home/games.ts +137 -0
  450. package/home/icons.js +41 -0
  451. package/home/icons.js.map +1 -0
  452. package/home/icons.ts +42 -0
  453. package/home/mascot/calculating.webp +0 -0
  454. package/home/mascot/flag.webp +0 -0
  455. package/home/mascot/letter.webp +0 -0
  456. package/home/mascot/plane.webp +0 -0
  457. package/home/mascot/plug.webp +0 -0
  458. package/home/mascot/thinking.webp +0 -0
  459. package/home/mascot/typing.webp +0 -0
  460. package/home/mascot/wave.webp +0 -0
  461. package/home/mod.tsx +517 -0
  462. package/home/parts.js +149 -0
  463. package/home/parts.js.map +1 -0
  464. package/home/parts.ts +45 -0
  465. package/home/phone.tsx +152 -0
  466. package/home/scenes.tsx +212 -0
  467. package/home/sky.js +930 -0
  468. package/home/sky.tsx +479 -0
  469. package/home/story.js +392 -0
  470. package/home/style.css +1304 -0
  471. package/home/words.js +2 -0
  472. package/home/words.js.map +1 -0
  473. package/home/words.ts +8 -0
  474. package/home/yak.js +146 -0
  475. package/home/yak_test.tsx +111 -0
  476. package/home-router.js +30 -0
  477. package/home-router.js.map +1 -0
  478. package/home-router.ts +41 -0
  479. package/host.js +58 -0
  480. package/host.js.map +1 -0
  481. package/host.ts +97 -0
  482. package/hosted-page.js +126 -0
  483. package/hosted-page.js.map +1 -0
  484. package/hosted-page.ts +295 -0
  485. package/install-browser.js +89 -0
  486. package/install-browser.js.map +1 -0
  487. package/install-browser.ts +99 -0
  488. package/install-icons.js +271 -0
  489. package/install-icons.js.map +1 -0
  490. package/install-icons.ts +366 -0
  491. package/installs.js +197 -0
  492. package/installs.js.map +1 -0
  493. package/installs.ts +270 -0
  494. package/instrument.js +50 -0
  495. package/instrument.js.map +1 -0
  496. package/instrument.ts +55 -0
  497. package/integration-icons.js +138 -0
  498. package/integration-icons.js.map +1 -0
  499. package/integration-icons.ts +198 -0
  500. package/interaction-browser.js +95 -0
  501. package/interaction-browser.js.map +1 -0
  502. package/interaction-browser.ts +107 -0
  503. package/interaction-report.js +399 -0
  504. package/interaction-report.js.map +1 -0
  505. package/interaction-report.ts +450 -0
  506. package/interaction.js +273 -0
  507. package/interaction.js.map +1 -0
  508. package/interaction.ts +290 -0
  509. package/invite-browser.js +98 -0
  510. package/invite-browser.js.map +1 -0
  511. package/invite-browser.ts +123 -0
  512. package/invite-view.js +100 -0
  513. package/invite-view.js.map +1 -0
  514. package/invite-view.ts +137 -0
  515. package/kept.js +520 -0
  516. package/kept.js.map +1 -0
  517. package/kept.ts +821 -0
  518. package/kills-graph.js +18 -0
  519. package/kills-graph.js.map +1 -0
  520. package/kills-graph.ts +16 -0
  521. package/ladder.js +418 -0
  522. package/ladder.js.map +1 -0
  523. package/ladder.ts +510 -0
  524. package/lenses-graph.js +24 -0
  525. package/lenses-graph.js.map +1 -0
  526. package/lenses-graph.ts +27 -0
  527. package/lenses.js +197 -0
  528. package/lenses.js.map +1 -0
  529. package/lenses.ts +204 -0
  530. package/lent.js +32 -0
  531. package/lent.js.map +1 -0
  532. package/lent.ts +95 -0
  533. package/letters.js +134 -0
  534. package/letters.js.map +1 -0
  535. package/letters.ts +251 -0
  536. package/lexicon-graph.js +11 -0
  537. package/lexicon-graph.js.map +1 -0
  538. package/lexicon-graph.ts +7 -0
  539. package/link-preview.js +111 -0
  540. package/link-preview.js.map +1 -0
  541. package/link-preview.ts +136 -0
  542. package/listing.js +262 -0
  543. package/listing.js.map +1 -0
  544. package/listing.ts +330 -0
  545. package/local-time.js +32 -0
  546. package/local-time.js.map +1 -0
  547. package/local-time.ts +41 -0
  548. package/located.js +380 -0
  549. package/located.js.map +1 -0
  550. package/located.ts +471 -0
  551. package/log-graph.js +7 -0
  552. package/log-graph.js.map +1 -0
  553. package/log-graph.ts +9 -0
  554. package/lower-graph.js +7 -0
  555. package/lower-graph.js.map +1 -0
  556. package/lower-graph.ts +9 -0
  557. package/mail-request.js +32 -0
  558. package/mail-request.js.map +1 -0
  559. package/mail-request.ts +29 -0
  560. package/mail-senders.js +40 -0
  561. package/mail-senders.js.map +1 -0
  562. package/mail-senders.ts +47 -0
  563. package/managed-browser-pilot.js +151 -0
  564. package/managed-browser-pilot.js.map +1 -0
  565. package/managed-browser-pilot.ts +230 -0
  566. package/managed-browser-sites.js +43 -0
  567. package/managed-browser-sites.js.map +1 -0
  568. package/managed-browser-sites.ts +41 -0
  569. package/managed-browser-wire.js +142 -0
  570. package/managed-browser-wire.js.map +1 -0
  571. package/managed-browser-wire.ts +140 -0
  572. package/managed-browser.js +529 -0
  573. package/managed-browser.js.map +1 -0
  574. package/managed-browser.ts +740 -0
  575. package/manifest.js +425 -0
  576. package/manifest.js.map +1 -0
  577. package/manifest.ts +468 -0
  578. package/metadata-effect.js +61 -0
  579. package/metadata-effect.js.map +1 -0
  580. package/metadata-effect.ts +59 -0
  581. package/meter-graph.js +205 -0
  582. package/meter-graph.js.map +1 -0
  583. package/meter-graph.ts +238 -0
  584. package/meter-vocab.js +8 -0
  585. package/meter-vocab.js.map +1 -0
  586. package/meter-vocab.ts +4 -0
  587. package/meter.js +402 -0
  588. package/meter.js.map +1 -0
  589. package/meter.ts +697 -0
  590. package/mod.js +14 -0
  591. package/mod.js.map +1 -0
  592. package/mod.ts +16 -0
  593. package/models-vocab.js +25 -0
  594. package/models-vocab.js.map +1 -0
  595. package/models-vocab.ts +15 -0
  596. package/monogram.js +32 -0
  597. package/monogram.js.map +1 -0
  598. package/monogram.ts +46 -0
  599. package/mover.js +6 -0
  600. package/mover.js.map +1 -0
  601. package/mover.ts +45 -0
  602. package/named.js +136 -0
  603. package/named.js.map +1 -0
  604. package/named.ts +169 -0
  605. package/names.js +196 -0
  606. package/names.js.map +1 -0
  607. package/names.ts +252 -0
  608. package/notices-vocab.js +20 -0
  609. package/notices-vocab.js.map +1 -0
  610. package/notices-vocab.ts +28 -0
  611. package/numbers.js +85 -0
  612. package/numbers.js.map +1 -0
  613. package/numbers.ts +97 -0
  614. package/object-hosts.js +137 -0
  615. package/object-hosts.js.map +1 -0
  616. package/object-hosts.ts +153 -0
  617. package/open-script.js +235 -0
  618. package/open-script.js.map +1 -0
  619. package/open-script.ts +253 -0
  620. package/opening.js +31 -0
  621. package/opening.js.map +1 -0
  622. package/opening.ts +28 -0
  623. package/operator-activity-view.js +82 -0
  624. package/operator-activity-view.js.map +1 -0
  625. package/operator-activity-view.ts +85 -0
  626. package/operator-activity.js +220 -0
  627. package/operator-activity.js.map +1 -0
  628. package/operator-activity.ts +293 -0
  629. package/operator-brief.js +36 -0
  630. package/operator-brief.js.map +1 -0
  631. package/operator-brief.ts +76 -0
  632. package/operator-copy-browser.js +67 -0
  633. package/operator-copy-browser.js.map +1 -0
  634. package/operator-copy-browser.ts +71 -0
  635. package/operator-corner.js +266 -0
  636. package/operator-corner.js.map +1 -0
  637. package/operator-corner.ts +300 -0
  638. package/operator-decisions.js +19 -0
  639. package/operator-decisions.js.map +1 -0
  640. package/operator-decisions.ts +18 -0
  641. package/operator-docs.js +152 -0
  642. package/operator-docs.js.map +1 -0
  643. package/operator-docs.ts +196 -0
  644. package/operator-door.js +10 -0
  645. package/operator-door.js.map +1 -0
  646. package/operator-door.ts +14 -0
  647. package/operator-drafts-browser.js +28 -0
  648. package/operator-drafts-browser.js.map +1 -0
  649. package/operator-drafts-browser.ts +32 -0
  650. package/operator-drafts.js +60 -0
  651. package/operator-drafts.js.map +1 -0
  652. package/operator-drafts.ts +80 -0
  653. package/operator-early-draft.js +110 -0
  654. package/operator-early-draft.js.map +1 -0
  655. package/operator-early-draft.ts +125 -0
  656. package/operator-go-browser.js +130 -0
  657. package/operator-go-browser.js.map +1 -0
  658. package/operator-go-browser.ts +182 -0
  659. package/operator-go-step.js +86 -0
  660. package/operator-go-step.js.map +1 -0
  661. package/operator-go-step.ts +92 -0
  662. package/operator-go-tool.js +49 -0
  663. package/operator-go-tool.js.map +1 -0
  664. package/operator-go-tool.ts +31 -0
  665. package/operator-go.js +68 -0
  666. package/operator-go.js.map +1 -0
  667. package/operator-go.ts +100 -0
  668. package/operator-graph.js +46 -0
  669. package/operator-graph.js.map +1 -0
  670. package/operator-graph.ts +60 -0
  671. package/operator-handoff.js +91 -0
  672. package/operator-handoff.js.map +1 -0
  673. package/operator-handoff.ts +104 -0
  674. package/operator-machine.js +136 -0
  675. package/operator-machine.js.map +1 -0
  676. package/operator-machine.ts +168 -0
  677. package/operator-matches-browser.js +155 -0
  678. package/operator-matches-browser.js.map +1 -0
  679. package/operator-matches-browser.ts +178 -0
  680. package/operator-matches-view.js +147 -0
  681. package/operator-matches-view.js.map +1 -0
  682. package/operator-matches-view.ts +224 -0
  683. package/operator-matches.js +65 -0
  684. package/operator-matches.js.map +1 -0
  685. package/operator-matches.ts +120 -0
  686. package/operator-memory.js +119 -0
  687. package/operator-memory.js.map +1 -0
  688. package/operator-memory.ts +122 -0
  689. package/operator-mic.ts +40 -0
  690. package/operator-model.js +144 -0
  691. package/operator-model.js.map +1 -0
  692. package/operator-model.ts +154 -0
  693. package/operator-notes.js +32 -0
  694. package/operator-notes.js.map +1 -0
  695. package/operator-notes.ts +40 -0
  696. package/operator-opening-browser.js +184 -0
  697. package/operator-opening-browser.js.map +1 -0
  698. package/operator-opening-browser.ts +195 -0
  699. package/operator-owner.js +391 -0
  700. package/operator-owner.js.map +1 -0
  701. package/operator-owner.ts +392 -0
  702. package/operator-page-context.js +121 -0
  703. package/operator-page-context.js.map +1 -0
  704. package/operator-page-context.ts +143 -0
  705. package/operator-page-image.js +38 -0
  706. package/operator-page-image.js.map +1 -0
  707. package/operator-page-image.ts +42 -0
  708. package/operator-panel-browser.js +601 -0
  709. package/operator-panel-browser.js.map +1 -0
  710. package/operator-panel-browser.ts +669 -0
  711. package/operator-panel-view.js +69 -0
  712. package/operator-panel-view.js.map +1 -0
  713. package/operator-panel-view.ts +100 -0
  714. package/operator-panel.js +131 -0
  715. package/operator-panel.js.map +1 -0
  716. package/operator-panel.ts +155 -0
  717. package/operator-push.tsx +112 -0
  718. package/operator-record.js +55 -0
  719. package/operator-record.js.map +1 -0
  720. package/operator-record.ts +92 -0
  721. package/operator-replies.js +240 -0
  722. package/operator-replies.js.map +1 -0
  723. package/operator-replies.ts +281 -0
  724. package/operator-reply-view.js +117 -0
  725. package/operator-reply-view.js.map +1 -0
  726. package/operator-reply-view.ts +185 -0
  727. package/operator-safety.js +30 -0
  728. package/operator-safety.js.map +1 -0
  729. package/operator-safety.ts +53 -0
  730. package/operator-settings-browser.js +257 -0
  731. package/operator-settings-browser.js.map +1 -0
  732. package/operator-settings-browser.ts +290 -0
  733. package/operator-settings-view.js +291 -0
  734. package/operator-settings-view.js.map +1 -0
  735. package/operator-settings-view.ts +588 -0
  736. package/operator-settings.js +79 -0
  737. package/operator-settings.js.map +1 -0
  738. package/operator-settings.ts +137 -0
  739. package/operator-source.js +43 -0
  740. package/operator-source.js.map +1 -0
  741. package/operator-source.ts +69 -0
  742. package/operator-talk-browser.js +94 -0
  743. package/operator-talk-browser.js.map +1 -0
  744. package/operator-talk-browser.ts +120 -0
  745. package/operator-talk.js +83 -0
  746. package/operator-talk.js.map +1 -0
  747. package/operator-talk.ts +127 -0
  748. package/operator-task-text.js +45 -0
  749. package/operator-task-text.js.map +1 -0
  750. package/operator-task-text.ts +49 -0
  751. package/operator-timing-browser.js +51 -0
  752. package/operator-timing-browser.js.map +1 -0
  753. package/operator-timing-browser.ts +68 -0
  754. package/operator-timing-view.js +48 -0
  755. package/operator-timing-view.js.map +1 -0
  756. package/operator-timing-view.ts +90 -0
  757. package/operator-timing.js +132 -0
  758. package/operator-timing.js.map +1 -0
  759. package/operator-timing.ts +170 -0
  760. package/operator-vocab.js +8 -0
  761. package/operator-vocab.js.map +1 -0
  762. package/operator-vocab.ts +7 -0
  763. package/operator-voice-audio.ts +84 -0
  764. package/operator-voice-browser.ts +237 -0
  765. package/operator-voice-feedback.js +108 -0
  766. package/operator-voice-feedback.js.map +1 -0
  767. package/operator-voice-feedback.ts +133 -0
  768. package/operator-voice-view.js +33 -0
  769. package/operator-voice-view.js.map +1 -0
  770. package/operator-voice-view.ts +43 -0
  771. package/operator-voice.css +38 -0
  772. package/operator-voice.js +35 -0
  773. package/operator-voice.js.map +1 -0
  774. package/operator-voice.ts +33 -0
  775. package/operator-wait.js +70 -0
  776. package/operator-wait.js.map +1 -0
  777. package/operator-wait.ts +79 -0
  778. package/operator-watches.js +126 -0
  779. package/operator-watches.js.map +1 -0
  780. package/operator-watches.ts +141 -0
  781. package/operator-words.js +94 -0
  782. package/operator-words.js.map +1 -0
  783. package/operator-words.ts +114 -0
  784. package/outreach-trial.js +103 -0
  785. package/outreach-trial.js.map +1 -0
  786. package/outreach-trial.ts +122 -0
  787. package/outreach-vocab.js +10 -0
  788. package/outreach-vocab.js.map +1 -0
  789. package/outreach-vocab.ts +7 -0
  790. package/outreach.js +162 -0
  791. package/outreach.js.map +1 -0
  792. package/outreach.ts +239 -0
  793. package/package.json +1131 -4
  794. package/packs.js +103 -0
  795. package/packs.js.map +1 -0
  796. package/packs.ts +119 -0
  797. package/page-copy.js +267 -0
  798. package/page-copy.js.map +1 -0
  799. package/page-copy.ts +362 -0
  800. package/page-graph.js +114 -0
  801. package/page-graph.js.map +1 -0
  802. package/page-graph.ts +151 -0
  803. package/page-links.js +78 -0
  804. package/page-links.js.map +1 -0
  805. package/page-links.ts +124 -0
  806. package/page-parts.js +236 -0
  807. package/page-parts.js.map +1 -0
  808. package/page-parts.ts +388 -0
  809. package/page-query.js +95 -0
  810. package/page-query.js.map +1 -0
  811. package/page-query.ts +120 -0
  812. package/page-script.js +183 -0
  813. package/page-script.js.map +1 -0
  814. package/page-script.ts +192 -0
  815. package/page-wire.js +93 -0
  816. package/page-wire.js.map +1 -0
  817. package/page-wire.ts +100 -0
  818. package/pages-vocab.js +9 -0
  819. package/pages-vocab.js.map +1 -0
  820. package/pages-vocab.ts +5 -0
  821. package/partials.js +21 -0
  822. package/partials.js.map +1 -0
  823. package/partials.ts +37 -0
  824. package/payment-browser.js +250 -0
  825. package/payment-browser.js.map +1 -0
  826. package/payment-browser.ts +298 -0
  827. package/payment-rows.js +117 -0
  828. package/payment-rows.js.map +1 -0
  829. package/payment-rows.ts +219 -0
  830. package/payment-view.js +397 -0
  831. package/payment-view.js.map +1 -0
  832. package/payment-view.ts +852 -0
  833. package/people-browser.js +186 -0
  834. package/people-browser.js.map +1 -0
  835. package/people-browser.ts +210 -0
  836. package/people-rows.js +192 -0
  837. package/people-rows.js.map +1 -0
  838. package/people-rows.ts +289 -0
  839. package/people-view.js +463 -0
  840. package/people-view.js.map +1 -0
  841. package/people-view.ts +804 -0
  842. package/person-lines.js +196 -0
  843. package/person-lines.js.map +1 -0
  844. package/person-lines.ts +256 -0
  845. package/place.js +30 -0
  846. package/place.js.map +1 -0
  847. package/place.ts +31 -0
  848. package/plan-details.js +39 -0
  849. package/plan-details.js.map +1 -0
  850. package/plan-details.ts +57 -0
  851. package/plan-trial-graph.js +63 -0
  852. package/plan-trial-graph.js.map +1 -0
  853. package/plan-trial-graph.ts +57 -0
  854. package/plans.js +223 -0
  855. package/plans.js.map +1 -0
  856. package/plans.ts +313 -0
  857. package/platform-credentials.js +136 -0
  858. package/platform-credentials.js.map +1 -0
  859. package/platform-credentials.ts +189 -0
  860. package/poster-backfill.js +72 -0
  861. package/poster-backfill.js.map +1 -0
  862. package/poster-backfill.ts +96 -0
  863. package/presence.js +57 -0
  864. package/presence.js.map +1 -0
  865. package/presence.ts +77 -0
  866. package/preview-audit.js +65 -0
  867. package/preview-audit.js.map +1 -0
  868. package/preview-audit.ts +126 -0
  869. package/preview-fit.js +62 -0
  870. package/preview-fit.js.map +1 -0
  871. package/preview-fit.ts +72 -0
  872. package/preview-html.js +96 -0
  873. package/preview-html.js.map +1 -0
  874. package/preview-html.ts +139 -0
  875. package/preview.js +317 -0
  876. package/preview.js.map +1 -0
  877. package/preview.ts +498 -0
  878. package/price.js +53 -0
  879. package/price.js.map +1 -0
  880. package/price.ts +85 -0
  881. package/profile-browser.js +117 -0
  882. package/profile-browser.js.map +1 -0
  883. package/profile-browser.ts +141 -0
  884. package/profile-view.js +96 -0
  885. package/profile-view.js.map +1 -0
  886. package/profile-view.ts +197 -0
  887. package/provider-credits.js +159 -0
  888. package/provider-credits.js.map +1 -0
  889. package/provider-credits.ts +174 -0
  890. package/public-site-choice.js +18 -0
  891. package/public-site-choice.js.map +1 -0
  892. package/public-site-choice.ts +21 -0
  893. package/public-site.js +151 -0
  894. package/public-site.js.map +1 -0
  895. package/public-site.ts +268 -0
  896. package/publishing-graph.js +136 -0
  897. package/publishing-graph.js.map +1 -0
  898. package/publishing-graph.ts +122 -0
  899. package/qr.js +32 -0
  900. package/qr.js.map +1 -0
  901. package/qr.ts +32 -0
  902. package/query-page.js +159 -0
  903. package/query-page.js.map +1 -0
  904. package/query-page.ts +249 -0
  905. package/query-refusal.js +174 -0
  906. package/query-refusal.js.map +1 -0
  907. package/query-refusal.ts +319 -0
  908. package/refusal-loop.js +71 -0
  909. package/refusal-loop.js.map +1 -0
  910. package/refusal-loop.ts +98 -0
  911. package/refusals-vocab.js +9 -0
  912. package/refusals-vocab.js.map +1 -0
  913. package/refusals-vocab.ts +5 -0
  914. package/refused-writes.js +119 -0
  915. package/refused-writes.js.map +1 -0
  916. package/refused-writes.ts +152 -0
  917. package/refused.js +67 -0
  918. package/refused.js.map +1 -0
  919. package/refused.ts +76 -0
  920. package/regional-route-storage.js +127 -0
  921. package/regional-route-storage.js.map +1 -0
  922. package/regional-route-storage.ts +94 -0
  923. package/regional-route.js +105 -0
  924. package/regional-route.js.map +1 -0
  925. package/regional-route.ts +158 -0
  926. package/regional-serving-copy.js +153 -0
  927. package/regional-serving-copy.js.map +1 -0
  928. package/regional-serving-copy.ts +200 -0
  929. package/release-asset.js +71 -0
  930. package/release-asset.js.map +1 -0
  931. package/release-asset.ts +121 -0
  932. package/release-browser.js +383 -0
  933. package/release-code.js +5 -0
  934. package/release-entry.js +3 -0
  935. package/release-file.js +169 -0
  936. package/release-file.js.map +1 -0
  937. package/release-file.ts +241 -0
  938. package/release-index.js +140 -0
  939. package/release-index.js.map +1 -0
  940. package/release-index.ts +161 -0
  941. package/release-page.js +227 -0
  942. package/release-reads.js +27 -0
  943. package/release-reads.js.map +1 -0
  944. package/release-reads.ts +56 -0
  945. package/release-sheets.js +76 -0
  946. package/release-state.js +181 -0
  947. package/release-update.js +22 -0
  948. package/release-update.js.map +1 -0
  949. package/release-update.ts +29 -0
  950. package/release.js +50 -0
  951. package/release.js.map +1 -0
  952. package/release.ts +72 -0
  953. package/released.js +263 -0
  954. package/released.js.map +1 -0
  955. package/released.ts +310 -0
  956. package/remake-graph.js +17 -0
  957. package/remake-graph.js.map +1 -0
  958. package/remake-graph.ts +15 -0
  959. package/rouse-graph.js +11 -0
  960. package/rouse-graph.js.map +1 -0
  961. package/rouse-graph.ts +8 -0
  962. package/route-memory.js +101 -0
  963. package/route-memory.js.map +1 -0
  964. package/route-memory.ts +132 -0
  965. package/routes.js +1143 -0
  966. package/routes.js.map +1 -0
  967. package/routes.ts +1502 -0
  968. package/sale-recovery.js +175 -0
  969. package/sale-recovery.js.map +1 -0
  970. package/sale-recovery.ts +156 -0
  971. package/sales.js +113 -0
  972. package/sales.js.map +1 -0
  973. package/sales.ts +150 -0
  974. package/schema.js +28 -0
  975. package/schema.js.map +1 -0
  976. package/schema.ts +13 -0
  977. package/serving-copy.js +161 -0
  978. package/serving-copy.js.map +1 -0
  979. package/serving-copy.ts +201 -0
  980. package/settings-drafts-browser.js +81 -0
  981. package/settings-drafts-browser.js.map +1 -0
  982. package/settings-drafts-browser.ts +95 -0
  983. package/settings-drafts.js +119 -0
  984. package/settings-drafts.js.map +1 -0
  985. package/settings-drafts.ts +136 -0
  986. package/shared-browser.js +61 -0
  987. package/shared-browser.js.map +1 -0
  988. package/shared-browser.ts +77 -0
  989. package/shared-view.js +29 -0
  990. package/shared-view.js.map +1 -0
  991. package/shared-view.ts +47 -0
  992. package/side-browser.js +164 -0
  993. package/side-browser.js.map +1 -0
  994. package/side-browser.ts +201 -0
  995. package/side-parts.js +258 -0
  996. package/side-parts.js.map +1 -0
  997. package/side-parts.ts +447 -0
  998. package/side-rows.js +64 -0
  999. package/side-rows.js.map +1 -0
  1000. package/side-rows.ts +104 -0
  1001. package/signed-in.js +37 -0
  1002. package/signed-in.js.map +1 -0
  1003. package/signed-in.ts +45 -0
  1004. package/site-assets.js +8 -0
  1005. package/site-assets.js.map +1 -0
  1006. package/site-assets.ts +25 -0
  1007. package/site-header.js +65 -0
  1008. package/site-header.js.map +1 -0
  1009. package/site-header.ts +71 -0
  1010. package/site-nav.js +75 -0
  1011. package/site-nav.js.map +1 -0
  1012. package/site-nav.ts +82 -0
  1013. package/site-validation.js +37 -0
  1014. package/site-validation.js.map +1 -0
  1015. package/site-validation.ts +47 -0
  1016. package/space-apps-browser.js +107 -0
  1017. package/space-apps-browser.js.map +1 -0
  1018. package/space-apps-browser.ts +128 -0
  1019. package/space-apps-view.js +222 -0
  1020. package/space-apps-view.js.map +1 -0
  1021. package/space-apps-view.ts +396 -0
  1022. package/space-apps.js +88 -0
  1023. package/space-apps.js.map +1 -0
  1024. package/space-apps.ts +143 -0
  1025. package/space-logo.js +82 -0
  1026. package/space-logo.js.map +1 -0
  1027. package/space-logo.ts +112 -0
  1028. package/space-pages-browser.js +474 -0
  1029. package/space-pages-browser.js.map +1 -0
  1030. package/space-pages-browser.ts +463 -0
  1031. package/space-pages-view.js +212 -0
  1032. package/space-pages-view.js.map +1 -0
  1033. package/space-pages-view.ts +460 -0
  1034. package/space-pages.js +193 -0
  1035. package/space-pages.js.map +1 -0
  1036. package/space-pages.ts +282 -0
  1037. package/space-switch.js +36 -0
  1038. package/space-switch.js.map +1 -0
  1039. package/space-switch.ts +64 -0
  1040. package/splash.js +510 -0
  1041. package/splash.js.map +1 -0
  1042. package/splash.ts +525 -0
  1043. package/standing.js +409 -0
  1044. package/standing.js.map +1 -0
  1045. package/standing.ts +746 -0
  1046. package/still.js +63 -0
  1047. package/still.js.map +1 -0
  1048. package/still.ts +95 -0
  1049. package/store-listing.js +107 -0
  1050. package/store-listing.js.map +1 -0
  1051. package/store-listing.ts +133 -0
  1052. package/store-wake.js +65 -0
  1053. package/store-wake.js.map +1 -0
  1054. package/store-wake.ts +101 -0
  1055. package/stream-posters.js +177 -0
  1056. package/stream-posters.js.map +1 -0
  1057. package/stream-posters.ts +297 -0
  1058. package/support-contract-service.js +219 -0
  1059. package/support-contract-service.js.map +1 -0
  1060. package/support-contract-service.ts +307 -0
  1061. package/support-contract-view.js +155 -0
  1062. package/support-contract-view.js.map +1 -0
  1063. package/support-contract-view.ts +265 -0
  1064. package/support-contract.js +114 -0
  1065. package/support-contract.js.map +1 -0
  1066. package/support-contract.ts +157 -0
  1067. package/sweep-vocab.js +10 -0
  1068. package/sweep-vocab.js.map +1 -0
  1069. package/sweep-vocab.ts +9 -0
  1070. package/talk-views-browser.js +208 -0
  1071. package/talk-views-browser.js.map +1 -0
  1072. package/talk-views-browser.ts +232 -0
  1073. package/talk-views.js +36 -0
  1074. package/talk-views.js.map +1 -0
  1075. package/talk-views.ts +64 -0
  1076. package/task-rows.js +86 -0
  1077. package/task-rows.js.map +1 -0
  1078. package/task-rows.ts +96 -0
  1079. package/tasks-view.js +111 -0
  1080. package/tasks-view.js.map +1 -0
  1081. package/tasks-view.ts +176 -0
  1082. package/toast.ts +17 -0
  1083. package/trash-graph.js +41 -0
  1084. package/trash-graph.js.map +1 -0
  1085. package/trash-graph.ts +27 -0
  1086. package/trash-vocab.js +8 -0
  1087. package/trash-vocab.js.map +1 -0
  1088. package/trash-vocab.ts +4 -0
  1089. package/trial.js +325 -0
  1090. package/trial.js.map +1 -0
  1091. package/trial.ts +451 -0
  1092. package/update-rows.js +77 -0
  1093. package/update-rows.js.map +1 -0
  1094. package/update-rows.ts +171 -0
  1095. package/update-waiting.js +131 -0
  1096. package/update-waiting.js.map +1 -0
  1097. package/update-waiting.ts +133 -0
  1098. package/updates-browser.js +28 -0
  1099. package/updates-browser.js.map +1 -0
  1100. package/updates-browser.ts +33 -0
  1101. package/updates-day-browser.js +77 -0
  1102. package/updates-day-browser.js.map +1 -0
  1103. package/updates-day-browser.ts +84 -0
  1104. package/updates-day.js +60 -0
  1105. package/updates-day.js.map +1 -0
  1106. package/updates-day.ts +94 -0
  1107. package/updates-list-browser.js +175 -0
  1108. package/updates-list-browser.js.map +1 -0
  1109. package/updates-list-browser.ts +198 -0
  1110. package/updates-view.js +546 -0
  1111. package/updates-view.js.map +1 -0
  1112. package/updates-view.ts +814 -0
  1113. package/upload-client-path.js +5 -0
  1114. package/upload-client-path.js.map +1 -0
  1115. package/upload-client-path.ts +4 -0
  1116. package/uploads.js +290 -0
  1117. package/uploads.js.map +1 -0
  1118. package/uploads.ts +334 -0
  1119. package/upstream.js +40 -0
  1120. package/upstream.js.map +1 -0
  1121. package/upstream.ts +57 -0
  1122. package/version-view.js +57 -0
  1123. package/version-view.js.map +1 -0
  1124. package/version-view.ts +99 -0
  1125. package/versions.js +231 -0
  1126. package/versions.js.map +1 -0
  1127. package/versions.ts +367 -0
  1128. package/visit-counts.js +123 -0
  1129. package/visit-counts.js.map +1 -0
  1130. package/visit-counts.ts +162 -0
  1131. package/visitor-location.js +33 -0
  1132. package/visitor-location.js.map +1 -0
  1133. package/visitor-location.ts +38 -0
  1134. package/visitor.js +152 -0
  1135. package/visitor.js.map +1 -0
  1136. package/visitor.ts +228 -0
  1137. package/visits-browser.js +71 -0
  1138. package/visits-browser.js.map +1 -0
  1139. package/visits-browser.ts +87 -0
  1140. package/visits-view.js +88 -0
  1141. package/visits-view.js.map +1 -0
  1142. package/visits-view.ts +184 -0
  1143. package/visits.js +428 -0
  1144. package/visits.js.map +1 -0
  1145. package/visits.ts +561 -0
  1146. package/vocab/account.vocab.json +349 -0
  1147. package/vocab/agents.vocab.json +64 -0
  1148. package/vocab/app-canvas.vocab.json +137 -0
  1149. package/vocab/app-friends.vocab.json +71 -0
  1150. package/vocab/app-permissions.vocab.json +46 -0
  1151. package/vocab/apps.vocab.json +553 -0
  1152. package/vocab/attribution.vocab.json +32 -0
  1153. package/vocab/builder-install.vocab.json +10 -0
  1154. package/vocab/connections.vocab.json +128 -0
  1155. package/vocab/dashboard.vocab.json +148 -0
  1156. package/vocab/directory.vocab.json +2445 -0
  1157. package/vocab/exception.vocab.json +18 -0
  1158. package/vocab/fundraising.vocab.json +284 -0
  1159. package/vocab/gmail-mailbox.vocab.json +73 -0
  1160. package/vocab/kernel.vocab.json +420 -0
  1161. package/vocab/mcp-retirement.vocab.json +66 -0
  1162. package/vocab/meter.vocab.json +230 -0
  1163. package/vocab/models-install.vocab.json +10 -0
  1164. package/vocab/notices.vocab.json +88 -0
  1165. package/vocab/operator-drafts.vocab.json +19 -0
  1166. package/vocab/operator-matches.vocab.json +85 -0
  1167. package/vocab/operator-settings.vocab.json +127 -0
  1168. package/vocab/operator-talk.vocab.json +92 -0
  1169. package/vocab/operator.vocab.json +1314 -0
  1170. package/vocab/outreach.vocab.json +141 -0
  1171. package/vocab/pages.vocab.json +38 -0
  1172. package/vocab/payment.vocab.json +271 -0
  1173. package/vocab/people.vocab.json +337 -0
  1174. package/vocab/presence.vocab.json +19 -0
  1175. package/vocab/preview.vocab.json +66 -0
  1176. package/vocab/referenced.vocab.json +17 -0
  1177. package/vocab/referral.vocab.json +272 -0
  1178. package/vocab/refusals.vocab.json +16 -0
  1179. package/vocab/registration.vocab.json +17 -0
  1180. package/vocab/serving.vocab.json +103 -0
  1181. package/vocab/side.vocab.json +97 -0
  1182. package/vocab/space-apps.vocab.json +137 -0
  1183. package/vocab/space-pages.vocab.json +416 -0
  1184. package/vocab/sweep-install.vocab.json +10 -0
  1185. package/vocab/sweep.vocab.json +125 -0
  1186. package/vocab/trash.vocab.json +19 -0
  1187. package/vocab/update.vocab.json +53 -0
  1188. package/vocab/upload.vocab.json +69 -0
  1189. package/vocab/use.vocab.json +93 -0
  1190. package/vocab/visits.vocab.json +143 -0
  1191. package/vocab/waiting.vocab.json +29 -0
  1192. package/vocab.js +16 -0
  1193. package/vocab.js.map +1 -0
  1194. package/vocab.json +1703 -0
  1195. package/vocab.ts +17 -0
  1196. package/weigh-graph.js +12 -0
  1197. package/weigh-graph.js.map +1 -0
  1198. package/weigh-graph.ts +9 -0
  1199. package/wire-news.js +30 -0
  1200. package/wire-news.js.map +1 -0
  1201. package/wire-news.ts +30 -0
  1202. package/work-standing.js +64 -0
  1203. package/work-standing.js.map +1 -0
  1204. package/work-standing.ts +44 -0
  1205. package/woven.js +435 -0
  1206. package/woven.js.map +1 -0
  1207. package/woven.ts +649 -0
  1208. package/wrap-graph.js +17 -0
  1209. package/wrap-graph.js.map +1 -0
  1210. package/wrap-graph.ts +15 -0
  1211. package/write-owner.js +11 -0
  1212. package/write-owner.js.map +1 -0
  1213. package/write-owner.ts +24 -0
package/page-script.js ADDED
@@ -0,0 +1,183 @@
1
+ // The platform's own script in every page an app serves: the reporter
2
+ // (public/report.js), the release listener (public/release.js), the framed
3
+ // address reporter (public/location.js), the note that the page ran
4
+ // (public/seen.js) where the app's doors are under its mount, the badge
5
+ // (public/badge.js), the corner (public/edit.js), its chat with the
6
+ // Operator and its pencil, in a page served to a member who may write the
7
+ // app, and the visitor's bar (public/visit.js) in a
8
+ // page served to a stranger from a published app's sample or their own store of
9
+ // it (@yaks/platform/visits), woven into the page's text inline, as
10
+ // @yaks/platform/woven `tagged` weaves them.
11
+ //
12
+ // Beside the mount and release every tag says, the release listener's and
13
+ // the pencil's also say where the app's own `api/` is when it is not under
14
+ // the mount (`data-yak-api`). The badge's says what it opens
15
+ // (`data-yak-badge`): the app's own page on yaks.app, or yaks.app itself; on
16
+ // a paid space whose owner chose it, it is the line "Website by yaks.app" at
17
+ // the page's foot (`data-yak-byline`), opening yaks.app's organizations page. The
18
+ // corner's says where the Operator's chat for the app is (`data-yak-edit`).
19
+ // The bar's says where keeping it goes and what its button says
20
+ // (`data-yak-keep`, `data-yak-keep-says`).
21
+ //
22
+ // A page with a Content-Security-Policy of its own is given the scripts'
23
+ // hashes (@yaks/platform/woven `admitted`).
24
+ import { sharing } from "@yaks/fp";
25
+ import { inline, tagged } from "./woven.js";
26
+ import { INTERACTION_PATH } from "@yaks/timing/interaction";
27
+ import { openScript } from "./open-script.js";
28
+ import { EARLY_REPORT, reportTag } from "./early-report.js";
29
+ import { SEEN } from "./ladder.js";
30
+ let FILES = [
31
+ '/report.js',
32
+ '/release.js',
33
+ '/badge.js',
34
+ '/visit.js',
35
+ '/location.js',
36
+ '/edit.js',
37
+ '/_install.js',
38
+ '/seen.js'
39
+ ];
40
+ let read = async (assets)=>{
41
+ let scripts = await Promise.all(FILES.map(async (path)=>{
42
+ let res = await assets.fetch(new Request(`https://assets.invalid${path}`));
43
+ if (!res.ok) throw new Error(`page script ${path}: ${res.status}`);
44
+ let source = await res.text();
45
+ return await inline(path == '/report.js' ? `${source}\n;${openScript()}` : path == '/release.js' ? `;(() => {\n${source}\n})()` : source);
46
+ }));
47
+ let sum = await crypto.subtle.digest('SHA-256', new TextEncoder().encode(scripts.map(({ hash })=>hash).join(' ')));
48
+ let name = [
49
+ ...new Uint8Array(sum).slice(0, 5)
50
+ ].map((b)=>b.toString(16).padStart(2, '0')).join('');
51
+ return {
52
+ scripts,
53
+ name
54
+ };
55
+ };
56
+ // Read once per isolate: the files are the deploy's own and never change
57
+ // under it. A failed read is not kept, so the next page asks again.
58
+ let held = new WeakMap();
59
+ let early;
60
+ /** The platform's scripts this deploy weaves into pages, by one name of
61
+ * their bytes. The release listener's tag carries the name its page was
62
+ * served (`data-yak-scripts`), and the release check the deploy's, so a page
63
+ * left open across a deploy that changed them knows it is behind
64
+ * (release-browser.js). */ export let scriptsName = async (assets, share = sharing)=>(await share(held, assets, ()=>read(assets))).name;
65
+ /** The tags for a page mounted at `at`, of release `version`, wearing
66
+ * `worn`, and the hashes a policy needs to admit them. A page of a draft's
67
+ * preview link (preview.ts) carries the release and address listeners, told the
68
+ * `draft` it follows (`data-yak-draft`). A page whose scripts could not be
69
+ * read is served without them, and the failure is reported: a page that
70
+ * paints without its reporter beats one that fails. */ export let pageScript = async (assets, at, version, { badge, draft, bar, preview, byline, edit, api, reporter }, failed, share = sharing)=>{
71
+ try {
72
+ let { scripts, name } = await share(held, assets, ()=>read(assets));
73
+ let [report, release, badged, barred, location, pencil, install, ran] = scripts;
74
+ if (draft) {
75
+ return tagged(at, version, [
76
+ [
77
+ location
78
+ ],
79
+ [
80
+ release,
81
+ {
82
+ 'data-yak-draft': draft
83
+ }
84
+ ]
85
+ ]);
86
+ }
87
+ let doors = api ? {
88
+ 'data-yak-api': api
89
+ } : {};
90
+ // Where the page's timings go: its opens, and the pencil's saves.
91
+ let timings = api ? INTERACTION_PATH : `${at.replace(/\/$/, '')}/_web/assets/interaction`;
92
+ let worn = [
93
+ [
94
+ release,
95
+ {
96
+ ...doors,
97
+ 'data-yak-scripts': name
98
+ }
99
+ ],
100
+ [
101
+ location,
102
+ {}
103
+ ],
104
+ [
105
+ install,
106
+ {}
107
+ ]
108
+ ];
109
+ // The home app's doors are the apex's, which count its visits as the
110
+ // funnel's own steps (funnel.ts `loaded`).
111
+ if (!api) {
112
+ worn.push([
113
+ ran,
114
+ {
115
+ 'data-yak-seen': at.replace(/\/$/, '') + SEEN
116
+ }
117
+ ]);
118
+ }
119
+ if (badge != null) {
120
+ worn.push([
121
+ badged,
122
+ {
123
+ 'data-yak-badge': badge,
124
+ ...preview ? {
125
+ 'data-yak-preview': preview
126
+ } : {}
127
+ }
128
+ ]);
129
+ }
130
+ if (byline) {
131
+ worn.push([
132
+ badged,
133
+ {
134
+ 'data-yak-badge': byline,
135
+ 'data-yak-byline': ''
136
+ }
137
+ ]);
138
+ }
139
+ if (edit) {
140
+ worn.push([
141
+ pencil,
142
+ {
143
+ 'data-yak-edit': edit,
144
+ 'data-yak-interaction': timings,
145
+ ...doors
146
+ }
147
+ ]);
148
+ }
149
+ if (bar) {
150
+ worn.push([
151
+ barred,
152
+ {
153
+ 'data-yak-keep': bar.keep,
154
+ 'data-yak-keep-says': bar.says
155
+ }
156
+ ]);
157
+ }
158
+ let first = reporter ? await (early ??= inline(`${EARLY_REPORT}\n;${openScript()}`)) : report;
159
+ let opening = tagged(at, version, [
160
+ [
161
+ first,
162
+ {
163
+ 'data-yak-open': `${timings}?open=1`
164
+ }
165
+ ]
166
+ ]);
167
+ let rest = tagged(at, version, worn);
168
+ return {
169
+ tags: opening.tags + (reporter ? reportTag(reporter, at, undefined, version) : '') + rest.tags,
170
+ hashes: [
171
+ ...opening.hashes,
172
+ ...rest.hashes
173
+ ]
174
+ };
175
+ } catch (e) {
176
+ failed(e);
177
+ return {
178
+ tags: '',
179
+ hashes: []
180
+ };
181
+ }
182
+ };
183
+ //# sourceMappingURL=page-script.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-script.js","sources":["./page-script.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,2EAA2E;AAC3E,oEAAoE;AACpE,wEAAwE;AACxE,oEAAoE;AACpE,0EAA0E;AAC1E,oDAAoD;AACpD,gFAAgF;AAChF,oEAAoE;AACpE,6CAA6C;AAC7C,EAAE;AACF,0EAA0E;AAC1E,2EAA2E;AAC3E,6DAA6D;AAC7D,6EAA6E;AAC7E,6EAA6E;AAC7E,kFAAkF;AAClF,4EAA4E;AAC5E,gEAAgE;AAChE,2CAA2C;AAC3C,EAAE;AACF,yEAAyE;AACzE,4CAA4C;AAE5C,SAAoB,OAAO,wBAA6B;AACxD,SAAS,MAAM,EAAe,MAAM,qBAAoB;AACxD,SAAS,gBAAgB,wCAA6C;AACtE,SAAS,UAAU,2BAA0B;AAC7C,SAAS,YAAY,EAAE,SAAS,4BAA2B;AAC3D,SAAS,IAAI,sBAAqB;AAIlC,IAAI,QAAQ;EACV;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACD;AA0BD,IAAI,OAAO,OAAO;EAChB,IAAI,UAAU,MAAM,QAAQ,GAAG,CAAC,MAAM,GAAG,CAAC,OAAO;IAC/C,IAAI,MAAM,MAAM,OAAO,KAAK,CAAC,IAAI,QAAQ,CAAC,sBAAsB,EAAE,MAAM;IACxE,IAAI,CAAC,IAAI,EAAE,EAAE,MAAM,IAAI,MAAM,CAAC,YAAY,EAAE,KAAK,EAAE,EAAE,IAAI,MAAM,EAAE;IACjE,IAAI,SAAS,MAAM,IAAI,IAAI;IAC3B,OAAO,MAAM,OACX,QAAQ,eACJ,GAAG,OAAO,GAAG,EAAE,cAAc,GAC7B,QAAQ,gBACR,CAAC,WAAW,EAAE,OAAO,MAAM,CAAC,GAC5B;EAER;EACA,IAAI,MAAM,MAAM,OAAO,MAAM,CAAC,MAAM,CAClC,WACA,IAAI,cAAc,MAAM,CAAC,QAAQ,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,GAAK,MAAM,IAAI,CAAC;EAEhE,IAAI,OAAO;OAAI,IAAI,WAAW,KAAK,KAAK,CAAC,GAAG;GAAG,CAC5C,GAAG,CAAC,CAAC,IAAM,EAAE,QAAQ,CAAC,IAAI,QAAQ,CAAC,GAAG,MAAM,IAAI,CAAC;EACpD,OAAO;IAAE;IAAS;EAAK;AACzB;AAEA,yEAAyE;AACzE,oEAAoE;AACpE,IAAI,OAAO,IAAI;AACf,IAAI;AAEJ;;;;yBAIyB,GACzB,OAAO,IAAI,cAAc,OACvB,QACA,QAIkB,OAAO,GACtB,CAAC,MAAM,MAAM,MAAM,QAAQ,IAAM,KAAK,QAAQ,EAAE,IAAI,CAAA;AAEzD;;;;;qDAKqD,GACrD,OAAO,IAAI,aAAa,OACtB,QACA,IACA,SACA,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAW,EACpE,QACA,QAIkB,OAAO;EAEzB,IAAI;IACF,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,MAAM,MAAM,MAAM,QAAQ,IAAM,KAAK;IAC7D,IAAI,CAAC,QAAQ,SAAS,QAAQ,QAAQ,UAAU,QAAQ,SAAS,IAAI,GACnE;IACF,IAAI,OAAO;MACT,OAAO,OAAO,IAAI,SAAS;QACzB;UAAC;SAAS;QACV;UAAC;UAAS;YAAE,kBAAkB;UAAM;SAAE;OACvC;IACH;IACA,IAAI,QAAgC,MAAM;MAAE,gBAAgB;IAAI,IAAI,CAAC;IACrE,kEAAkE;IAClE,IAAI,UAAU,MACV,mBACA,GAAG,GAAG,OAAO,CAAC,OAAO,IAAI,wBAAwB,CAAC;IACtD,IAAI,OAA2C;MAC7C;QAAC;QAAS;UAAE,GAAG,KAAK;UAAE,oBAAoB;QAAK;OAAE;MACjD;QAAC;QAAU,CAAC;OAAE;MACd;QAAC;QAAS,CAAC;OAAE;KACd;IACD,qEAAqE;IACrE,2CAA2C;IAC3C,IAAI,CAAC,KAAK;MACR,KAAK,IAAI,CAAC;QAAC;QAAK;UAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,MAAM;QAAK;OAAE;IACpE;IACA,IAAI,SAAS,MAAM;MACjB,KAAK,IAAI,CAAC;QAAC;QAAQ;UACjB,kBAAkB;UAClB,GAAG,UAAU;YAAE,oBAAoB;UAAQ,IAAI,CAAC,CAAC;QACnD;OAAE;IACJ;IACA,IAAI,QAAQ;MACV,KAAK,IAAI,CAAC;QAAC;QAAQ;UAAE,kBAAkB;UAAQ,mBAAmB;QAAG;OAAE;IACzE;IACA,IAAI,MAAM;MACR,KAAK,IAAI,CAAC;QAAC;QAAQ;UACjB,iBAAiB;UACjB,wBAAwB;UACxB,GAAG,KAAK;QACV;OAAE;IACJ;IACA,IAAI,KAAK;MACP,KAAK,IAAI,CAAC;QAAC;QAAQ;UACjB,iBAAiB,IAAI,IAAI;UACzB,sBAAsB,IAAI,IAAI;QAChC;OAAE;IACJ;IACA,IAAI,QAAQ,WACR,MAAM,CAAC,UAAU,OAAO,GAAG,aAAa,GAAG,EAAE,cAAc,CAAC,IAC5D;IACJ,IAAI,UAAU,OAAO,IAAI,SAAS;MAChC;QAAC;QAAO;UAAE,iBAAiB,GAAG,QAAQ,OAAO,CAAC;QAAC;OAAE;KAClD;IACD,IAAI,OAAO,OAAO,IAAI,SAAS;IAC/B,OAAO;MACL,MAAM,QAAQ,IAAI,GAChB,CAAC,WAAW,UAAU,UAAU,IAAI,WAAW,WAAW,EAAE,IAC5D,KAAK,IAAI;MACX,QAAQ;WAAI,QAAQ,MAAM;WAAK,KAAK,MAAM;OAAC;IAC7C;EACF,EAAE,OAAO,GAAG;IACV,OAAO;IACP,OAAO;MAAE,MAAM;MAAI,QAAQ,EAAE;IAAC;EAChC;AACF,EAAC"}
package/page-script.ts ADDED
@@ -0,0 +1,192 @@
1
+ // The platform's own script in every page an app serves: the reporter
2
+ // (public/report.js), the release listener (public/release.js), the framed
3
+ // address reporter (public/location.js), the note that the page ran
4
+ // (public/seen.js) where the app's doors are under its mount, the badge
5
+ // (public/badge.js), the corner (public/edit.js), its chat with the
6
+ // Operator and its pencil, in a page served to a member who may write the
7
+ // app, and the visitor's bar (public/visit.js) in a
8
+ // page served to a stranger from a published app's sample or their own store of
9
+ // it (@yaks/platform/visits), woven into the page's text inline, as
10
+ // @yaks/platform/woven `tagged` weaves them.
11
+ //
12
+ // Beside the mount and release every tag says, the release listener's and
13
+ // the pencil's also say where the app's own `api/` is when it is not under
14
+ // the mount (`data-yak-api`). The badge's says what it opens
15
+ // (`data-yak-badge`): the app's own page on yaks.app, or yaks.app itself; on
16
+ // a paid space whose owner chose it, it is the line "Website by yaks.app" at
17
+ // the page's foot (`data-yak-byline`), opening yaks.app's organizations page. The
18
+ // corner's says where the Operator's chat for the app is (`data-yak-edit`).
19
+ // The bar's says where keeping it goes and what its button says
20
+ // (`data-yak-keep`, `data-yak-keep-says`).
21
+ //
22
+ // A page with a Content-Security-Policy of its own is given the scripts'
23
+ // hashes (@yaks/platform/woven `admitted`).
24
+ import type { Bar } from './visits.ts'
25
+ import { type Kept, sharing } from '@yaks/fp'
26
+ import { inline, type Script, tagged } from './woven.js'
27
+ import { INTERACTION_PATH } from '@yaks/timing/interaction'
28
+ import { openScript } from './open-script.js'
29
+ import { EARLY_REPORT, reportTag } from './early-report.js'
30
+ import { SEEN } from './ladder.js'
31
+
32
+ type Assets = { fetch: (req: Request) => Promise<Response> }
33
+
34
+ let FILES = [
35
+ '/report.js',
36
+ '/release.js',
37
+ '/badge.js',
38
+ '/visit.js',
39
+ '/location.js',
40
+ '/edit.js',
41
+ '/_install.js',
42
+ '/seen.js',
43
+ ]
44
+
45
+ /** The platform's scripts a page wears beyond the reporter and the release
46
+ * listener: the badge, opening `badge` unless it is null; a draft's preview
47
+ * link it follows, which wears the release and address listeners; the pencil,
48
+ * offering the Operator's chat at `edit`; the visitor's bar. */
49
+ export type Scripts = {
50
+ badge: string | null
51
+ /** The host of the site a preview was rebuilt from, which its badge says
52
+ * this page is not (newcomer.ts `previewing`). */
53
+ preview?: string | null
54
+ /** What the paid space's optional "Website by yaks.app" byline opens. */
55
+ byline?: string
56
+ draft?: string
57
+ edit?: string | null
58
+ /** Where the app's own `api/` is for this browser, where it is not under
59
+ * the mount (@yaks/platform/routes `API_AT`): the release listener's and
60
+ * the pencil's doors. */
61
+ api?: string | null
62
+ /** A same-origin reporter asset for the platform's own apex pages. */
63
+ reporter?: string
64
+ bar?: Bar | null
65
+ }
66
+
67
+ type Woven = { scripts: Script[]; name: string }
68
+
69
+ let read = async (assets: Assets): Promise<Woven> => {
70
+ let scripts = await Promise.all(FILES.map(async (path): Promise<Script> => {
71
+ let res = await assets.fetch(new Request(`https://assets.invalid${path}`))
72
+ if (!res.ok) throw new Error(`page script ${path}: ${res.status}`)
73
+ let source = await res.text()
74
+ return await inline(
75
+ path == '/report.js'
76
+ ? `${source}\n;${openScript()}`
77
+ : path == '/release.js'
78
+ ? `;(() => {\n${source}\n})()`
79
+ : source,
80
+ )
81
+ }))
82
+ let sum = await crypto.subtle.digest(
83
+ 'SHA-256',
84
+ new TextEncoder().encode(scripts.map(({ hash }) => hash).join(' ')),
85
+ )
86
+ let name = [...new Uint8Array(sum).slice(0, 5)]
87
+ .map((b) => b.toString(16).padStart(2, '0')).join('')
88
+ return { scripts, name }
89
+ }
90
+
91
+ // Read once per isolate: the files are the deploy's own and never change
92
+ // under it. A failed read is not kept, so the next page asks again.
93
+ let held = new WeakMap<Assets, Woven>()
94
+ let early: Promise<Script> | undefined
95
+
96
+ /** The platform's scripts this deploy weaves into pages, by one name of
97
+ * their bytes. The release listener's tag carries the name its page was
98
+ * served (`data-yak-scripts`), and the release check the deploy's, so a page
99
+ * left open across a deploy that changed them knows it is behind
100
+ * (release-browser.js). */
101
+ export let scriptsName = async (
102
+ assets: Assets,
103
+ share: <K, T>(
104
+ kept: Kept<K, T>,
105
+ key: K,
106
+ read: () => Promise<T>,
107
+ ) => Promise<T> = sharing,
108
+ ) => (await share(held, assets, () => read(assets))).name
109
+
110
+ /** The tags for a page mounted at `at`, of release `version`, wearing
111
+ * `worn`, and the hashes a policy needs to admit them. A page of a draft's
112
+ * preview link (preview.ts) carries the release and address listeners, told the
113
+ * `draft` it follows (`data-yak-draft`). A page whose scripts could not be
114
+ * read is served without them, and the failure is reported: a page that
115
+ * paints without its reporter beats one that fails. */
116
+ export let pageScript = async (
117
+ assets: Assets,
118
+ at: string,
119
+ version: number,
120
+ { badge, draft, bar, preview, byline, edit, api, reporter }: Scripts,
121
+ failed: (error: unknown) => void,
122
+ share: <K, T>(
123
+ kept: Kept<K, T>,
124
+ key: K,
125
+ read: () => Promise<T>,
126
+ ) => Promise<T> = sharing,
127
+ ) => {
128
+ try {
129
+ let { scripts, name } = await share(held, assets, () => read(assets))
130
+ let [report, release, badged, barred, location, pencil, install, ran] =
131
+ scripts
132
+ if (draft) {
133
+ return tagged(at, version, [
134
+ [location],
135
+ [release, { 'data-yak-draft': draft }],
136
+ ])
137
+ }
138
+ let doors: Record<string, string> = api ? { 'data-yak-api': api } : {}
139
+ // Where the page's timings go: its opens, and the pencil's saves.
140
+ let timings = api
141
+ ? INTERACTION_PATH
142
+ : `${at.replace(/\/$/, '')}/_web/assets/interaction`
143
+ let worn: [Script, Record<string, string>][] = [
144
+ [release, { ...doors, 'data-yak-scripts': name }],
145
+ [location, {}],
146
+ [install, {}],
147
+ ]
148
+ // The home app's doors are the apex's, which count its visits as the
149
+ // funnel's own steps (funnel.ts `loaded`).
150
+ if (!api) {
151
+ worn.push([ran, { 'data-yak-seen': at.replace(/\/$/, '') + SEEN }])
152
+ }
153
+ if (badge != null) {
154
+ worn.push([badged, {
155
+ 'data-yak-badge': badge,
156
+ ...preview ? { 'data-yak-preview': preview } : {},
157
+ }])
158
+ }
159
+ if (byline) {
160
+ worn.push([badged, { 'data-yak-badge': byline, 'data-yak-byline': '' }])
161
+ }
162
+ if (edit) {
163
+ worn.push([pencil, {
164
+ 'data-yak-edit': edit,
165
+ 'data-yak-interaction': timings,
166
+ ...doors,
167
+ }])
168
+ }
169
+ if (bar) {
170
+ worn.push([barred, {
171
+ 'data-yak-keep': bar.keep,
172
+ 'data-yak-keep-says': bar.says,
173
+ }])
174
+ }
175
+ let first = reporter
176
+ ? await (early ??= inline(`${EARLY_REPORT}\n;${openScript()}`))
177
+ : report
178
+ let opening = tagged(at, version, [
179
+ [first, { 'data-yak-open': `${timings}?open=1` }],
180
+ ])
181
+ let rest = tagged(at, version, worn)
182
+ return {
183
+ tags: opening.tags +
184
+ (reporter ? reportTag(reporter, at, undefined, version) : '') +
185
+ rest.tags,
186
+ hashes: [...opening.hashes, ...rest.hashes],
187
+ }
188
+ } catch (e) {
189
+ failed(e)
190
+ return { tags: '', hashes: [] }
191
+ }
192
+ }
package/page-wire.js ADDED
@@ -0,0 +1,93 @@
1
+ // The `/api/*` wire an app's pages speak, and the translation between it and
2
+ // the store's own (@yaks/api's doors). Two wires meet at the app door, and
3
+ // they are not the same shape:
4
+ //
5
+ // the page GET ./api/query?.doc.title~=cake&limit=10
6
+ // POST ./api/apply {"entities": [ …bundles… ]}
7
+ // → {"ok": true, "aliases": {…}, "bundles": […]}
8
+ // the Store GET /query?q=<the whole line, escaped once>
9
+ // POST /apply [ …bundles… ]
10
+ // → [ …the batch as applied… ]
11
+ //
12
+ // The page's half is fixed, and that is the whole reason this file exists: it
13
+ // is documented (yaks.app's docs/store.md), it is what ./client.js wraps, and
14
+ // every app already deployed imports that client and reads `aliases` off an
15
+ // answer. So the store moved and the door translates, rather than every page
16
+ // in the world being asked to move with it. yaks.app's kernel and the box's
17
+ // `yak/client` routes (./client-routes.ts) both translate with it.
18
+ //
19
+ // A page that keeps its own copy of the store (@yaks/client) speaks the
20
+ // Store's wire through the same door: a bare array in, and the batch as
21
+ // applied back, bare, so the stamps the store put on its write reach it.
22
+ //
23
+ // Only the envelope is translated. The bundles are the same bundles either way
24
+ // — `{entity: {eid}, ...components}`, a `$alias` wherever an eid goes — and the
25
+ // filter grammar is the same grammar; what differs is that a page writes its
26
+ // line as the query string itself and the Store takes it as one parameter, and
27
+ // three of the page's riders lost their leading dot on the way over.
28
+ import { tokens } from "@yaks/query";
29
+ import * as page from "./page-query.js";
30
+ export let lined = (search)=>page.lined(search, tokens);
31
+ export let lineOf = (url)=>page.lineOf(url, tokens);
32
+ import { IDEMPOTENCY } from "@yaks/api/log";
33
+ import { Refused } from "@yaks/graph/errors";
34
+ /** Forward a page's resend identity; an unnamed write lets the store door
35
+ * mint its own identity for that attempt. */ export let resend = (request)=>{
36
+ let key = request.headers.get(IDEMPOTENCY);
37
+ return key ? {
38
+ [IDEMPOTENCY]: key
39
+ } : {};
40
+ };
41
+ /** What a batch minted, by the alias it was written under. */ /// minted([{ entity: { eid: 'e1' }, $alias: 'cake' }]) -> { cake: 'e1' }
42
+ export let minted = (applied)=>Object.fromEntries(applied.flatMap((b)=>typeof b.$alias == 'string' ? [
43
+ [
44
+ b.$alias,
45
+ b.entity.eid
46
+ ]
47
+ ] : []));
48
+ // The alias this door gives a bundle that names no entity: its own
49
+ // bookkeeping, never part of the answer.
50
+ let NEW = /^\$new\d+$/;
51
+ // One entry of a batch. A bundle that names no entity is a page saving
52
+ // something new — the shape the guide shows first, `apply({doc: {title}})` —
53
+ // and the Store takes an alias wherever an eid goes, so it gets one. An alias
54
+ // rather than a fresh uuid, because a content-addressed component names its own
55
+ // entity (@yaks/blob) and only an alias leaves that decision to the graph.
56
+ let bundled = (one, n)=>{
57
+ let held = one;
58
+ return held?.entity ? held : {
59
+ ...held,
60
+ entity: {
61
+ eid: `$new${n}`
62
+ }
63
+ };
64
+ };
65
+ /** A page's batch, either way it was sent: the documented `{entities: […]}`
66
+ * envelope, `{bundles: […]}`, or the bare array the Store itself takes.
67
+ * Published callers sending `{change: […]}` are translated at this door. */ export let batched = (body)=>{
68
+ let sent = body;
69
+ let held = Array.isArray(body) ? body : sent?.bundles ?? sent?.entities ?? sent?.change;
70
+ if (!Array.isArray(held)) {
71
+ throw new Refused('/apply takes {"bundles": [ … ]} — a list of bundles');
72
+ }
73
+ return held.map(bundled);
74
+ };
75
+ /**
76
+ * The batch as applied, in the wire it was sent in (`sent`, the request's
77
+ * body). A bare array is the Store's own wire and is answered in it: the
78
+ * bundles as applied. The page's envelope is answered with the Store's
79
+ * bundles and the eid each `$alias` the page wrote became (guide §Saving).
80
+ * An alias this door invented for a bundle that named no entity (`bundled`)
81
+ * is left out either way.
82
+ */ export let receipt = (sent, applied)=>{
83
+ let bundles = applied.map(({ $alias, ...b })=>typeof $alias == 'string' && !NEW.test($alias) ? {
84
+ ...b,
85
+ $alias
86
+ } : b);
87
+ return Array.isArray(sent) ? bundles : {
88
+ ok: true,
89
+ aliases: minted(bundles),
90
+ bundles
91
+ };
92
+ };
93
+ //# sourceMappingURL=page-wire.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"page-wire.js","sources":["./page-wire.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,2EAA2E;AAC3E,+BAA+B;AAC/B,EAAE;AACF,6DAA6D;AAC7D,gEAAgE;AAChE,gFAAgF;AAChF,+DAA+D;AAC/D,kDAAkD;AAClD,8DAA8D;AAC9D,EAAE;AACF,8EAA8E;AAC9E,8EAA8E;AAC9E,4EAA4E;AAC5E,6EAA6E;AAC7E,4EAA4E;AAC5E,mEAAmE;AACnE,EAAE;AACF,wEAAwE;AACxE,wEAAwE;AACxE,yEAAyE;AACzE,EAAE;AACF,+EAA+E;AAC/E,gFAAgF;AAChF,6EAA6E;AAC7E,+EAA+E;AAC/E,qEAAqE;AAErE,SAAS,MAAM,2BAAgC;AAC/C,YAAY,4BAA2B;AAEvC,OAAO,IAAI,QAAQ,CAAC,SAA2B,KAAK,KAAK,CAAC,QAAQ,QAAO;AACzE,OAAO,IAAI,SAAS,CAAC,MAA4B,KAAK,MAAM,CAAC,KAAK,QAAO;AACzE,SAAS,WAAW,6BAAkC;AACtD,SAAS,OAAO,kCAAuC;AAEvD;2CAC2C,GAC3C,OAAO,IAAI,SAAS,CAAC;EACnB,IAAI,MAAM,QAAQ,OAAO,CAAC,GAAG,CAAC;EAC9B,OAAO,MAAM;IAAE,CAAC,YAAY,EAAE;EAAI,IAAI,CAAC;AACzC,EAAC;AAED,4DAA4D,GAC5D,yEAAyE;AACzE,OAAO,IAAI,SAAS,CAAC,UACnB,OAAO,WAAW,CAChB,QAAQ,OAAO,CAAC,CAAC,IACf,OAAO,EAAE,MAAM,IAAI,WAAW;MAAC;QAAC,EAAE,MAAM;QAAE,EAAE,MAAM,CAAC,GAAG;OAAC;KAAC,GAAG,EAAE,GAEhE;AAEH,mEAAmE;AACnE,yCAAyC;AACzC,IAAI,MAAM;AAEV,uEAAuE;AACvE,6EAA6E;AAC7E,8EAA8E;AAC9E,gFAAgF;AAChF,2EAA2E;AAC3E,IAAI,UAAU,CAAC,KAAc;EAC3B,IAAI,OAAO;EACX,OAAQ,MAAM,SACV,OACA;IAAE,GAAG,IAAI;IAAE,QAAQ;MAAE,KAAK,CAAC,IAAI,EAAE,GAAG;IAAC;EAAE;AAC7C;AAEA;;0EAE0E,GAC1E,OAAO,IAAI,UAAU,CAAC;EACpB,IAAI,OAAO;EACX,IAAI,OAAO,MAAM,OAAO,CAAC,QACrB,OACA,MAAM,WAAW,MAAM,YAAY,MAAM;EAC7C,IAAI,CAAC,MAAM,OAAO,CAAC,OAAO;IACxB,MAAM,IAAI,QACR;EAEJ;EACA,OAAO,KAAK,GAAG,CAAC;AAClB,EAAC;AAED;;;;;;;CAOC,GACD,OAAO,IAAI,UAAU,CAAC,MAAe;EACnC,IAAI,UAAU,QAAQ,GAAG,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,GAAG,GACzC,OAAO,UAAU,YAAY,CAAC,IAAI,IAAI,CAAC,UAAU;MAAE,GAAG,CAAC;MAAE;IAAO,IAAI;EAEtE,OAAO,MAAM,OAAO,CAAC,QACjB,UACA;IAAE,IAAI;IAAM,SAAS,OAAO;IAAU;EAAQ;AACpD,EAAC"}
package/page-wire.ts ADDED
@@ -0,0 +1,100 @@
1
+ // The `/api/*` wire an app's pages speak, and the translation between it and
2
+ // the store's own (@yaks/api's doors). Two wires meet at the app door, and
3
+ // they are not the same shape:
4
+ //
5
+ // the page GET ./api/query?.doc.title~=cake&limit=10
6
+ // POST ./api/apply {"entities": [ …bundles… ]}
7
+ // → {"ok": true, "aliases": {…}, "bundles": […]}
8
+ // the Store GET /query?q=<the whole line, escaped once>
9
+ // POST /apply [ …bundles… ]
10
+ // → [ …the batch as applied… ]
11
+ //
12
+ // The page's half is fixed, and that is the whole reason this file exists: it
13
+ // is documented (yaks.app's docs/store.md), it is what ./client.js wraps, and
14
+ // every app already deployed imports that client and reads `aliases` off an
15
+ // answer. So the store moved and the door translates, rather than every page
16
+ // in the world being asked to move with it. yaks.app's kernel and the box's
17
+ // `yak/client` routes (./client-routes.ts) both translate with it.
18
+ //
19
+ // A page that keeps its own copy of the store (@yaks/client) speaks the
20
+ // Store's wire through the same door: a bare array in, and the batch as
21
+ // applied back, bare, so the stamps the store put on its write reach it.
22
+ //
23
+ // Only the envelope is translated. The bundles are the same bundles either way
24
+ // — `{entity: {eid}, ...components}`, a `$alias` wherever an eid goes — and the
25
+ // filter grammar is the same grammar; what differs is that a page writes its
26
+ // line as the query string itself and the Store takes it as one parameter, and
27
+ // three of the page's riders lost their leading dot on the way over.
28
+ import type { Bundle } from 'jsr:@yaks/graph@0.2.36'
29
+ import { tokens } from '@yaks/query'
30
+ import * as page from './page-query.js'
31
+
32
+ export let lined = (search: string): string => page.lined(search, tokens)
33
+ export let lineOf = (url: URL): string | null => page.lineOf(url, tokens)
34
+ import { IDEMPOTENCY } from '@yaks/api/log'
35
+ import { Refused } from '@yaks/graph/errors'
36
+
37
+ /** Forward a page's resend identity; an unnamed write lets the store door
38
+ * mint its own identity for that attempt. */
39
+ export let resend = (request: Request): Record<string, string> => {
40
+ let key = request.headers.get(IDEMPOTENCY)
41
+ return key ? { [IDEMPOTENCY]: key } : {}
42
+ }
43
+
44
+ /** What a batch minted, by the alias it was written under. */
45
+ /// minted([{ entity: { eid: 'e1' }, $alias: 'cake' }]) -> { cake: 'e1' }
46
+ export let minted = (applied: Bundle[]): Record<string, string> =>
47
+ Object.fromEntries(
48
+ applied.flatMap((b) =>
49
+ typeof b.$alias == 'string' ? [[b.$alias, b.entity.eid]] : []
50
+ ),
51
+ )
52
+
53
+ // The alias this door gives a bundle that names no entity: its own
54
+ // bookkeeping, never part of the answer.
55
+ let NEW = /^\$new\d+$/
56
+
57
+ // One entry of a batch. A bundle that names no entity is a page saving
58
+ // something new — the shape the guide shows first, `apply({doc: {title}})` —
59
+ // and the Store takes an alias wherever an eid goes, so it gets one. An alias
60
+ // rather than a fresh uuid, because a content-addressed component names its own
61
+ // entity (@yaks/blob) and only an alias leaves that decision to the graph.
62
+ let bundled = (one: unknown, n: number): Bundle => {
63
+ let held = one as Record<string, unknown>
64
+ return (held?.entity
65
+ ? held
66
+ : { ...held, entity: { eid: `$new${n}` } }) as Bundle
67
+ }
68
+
69
+ /** A page's batch, either way it was sent: the documented `{entities: […]}`
70
+ * envelope, `{bundles: […]}`, or the bare array the Store itself takes.
71
+ * Published callers sending `{change: […]}` are translated at this door. */
72
+ export let batched = (body: unknown): Bundle[] => {
73
+ let sent = body as { bundles?: unknown; entities?: unknown; change?: unknown }
74
+ let held = Array.isArray(body)
75
+ ? body
76
+ : sent?.bundles ?? sent?.entities ?? sent?.change
77
+ if (!Array.isArray(held)) {
78
+ throw new Refused(
79
+ '/apply takes {"bundles": [ … ]} — a list of bundles',
80
+ )
81
+ }
82
+ return held.map(bundled)
83
+ }
84
+
85
+ /**
86
+ * The batch as applied, in the wire it was sent in (`sent`, the request's
87
+ * body). A bare array is the Store's own wire and is answered in it: the
88
+ * bundles as applied. The page's envelope is answered with the Store's
89
+ * bundles and the eid each `$alias` the page wrote became (guide §Saving).
90
+ * An alias this door invented for a bundle that named no entity (`bundled`)
91
+ * is left out either way.
92
+ */
93
+ export let receipt = (sent: unknown, applied: Bundle[]) => {
94
+ let bundles = applied.map(({ $alias, ...b }) =>
95
+ typeof $alias == 'string' && !NEW.test($alias) ? { ...b, $alias } : b
96
+ )
97
+ return Array.isArray(sent)
98
+ ? bundles
99
+ : { ok: true, aliases: minted(bundles), bundles }
100
+ }
package/pages-vocab.js ADDED
@@ -0,0 +1,9 @@
1
+ // The directory's owed edge purges (workers/yak facets/pages-graph.ts): the
2
+ // purge a write owes, kept as stored work until it lands.
3
+ import pagesJson from './vocab/pages.vocab.json' with {
4
+ type: 'json'
5
+ };
6
+ export let docs = [
7
+ pagesJson
8
+ ];
9
+ //# sourceMappingURL=pages-vocab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pages-vocab.js","sources":["./pages-vocab.ts"],"names":[],"mappings":"AAAA,4EAA4E;AAC5E,0DAA0D;AAE1D,OAAO,eAAe,gCAAgC;EAAE,MAAM;AAAO,EAAC;AACtE,OAAO,IAAI,OAAmB;EAAC;CAAsB,CAAA"}
package/pages-vocab.ts ADDED
@@ -0,0 +1,5 @@
1
+ // The directory's owed edge purges (workers/yak facets/pages-graph.ts): the
2
+ // purge a write owes, kept as stored work until it lands.
3
+ import type { VocabDoc } from 'jsr:@yaks/vocab@0.2.36'
4
+ import pagesJson from './vocab/pages.vocab.json' with { type: 'json' }
5
+ export let docs: VocabDoc[] = [pagesJson as VocabDoc]
package/partials.js ADDED
@@ -0,0 +1,21 @@
1
+ /** HTML shared by the pages of one app. */ /** Replace each include with the named fragment. The next page transform
2
+ * sees its markup just as if the page had supplied it. */ export let included = (page, read)=>{
3
+ let headers = new Headers(page.headers);
4
+ headers.delete('content-length');
5
+ headers.delete('etag');
6
+ return new HTMLRewriter().on('template[data-include]', {
7
+ async element (el) {
8
+ let name = el.getAttribute('data-include') ?? '';
9
+ if (!/^[a-zA-Z0-9_-]+$/.test(name)) return;
10
+ let html = await read(`_partials/${name}.html`);
11
+ if (html != null) el.replace(html, {
12
+ html: true
13
+ });
14
+ }
15
+ }).transform(new Response(page.body, {
16
+ status: page.status,
17
+ statusText: page.statusText,
18
+ headers
19
+ }));
20
+ };
21
+ //# sourceMappingURL=partials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"partials.js","sources":["./partials.ts"],"names":[],"mappings":"AAAA,yCAAyC,GAgBzC;wDACwD,GACxD,OAAO,IAAI,WAAW,CAAC,MAAgB;EACrC,IAAI,UAAU,IAAI,QAAQ,KAAK,OAAO;EACtC,QAAQ,MAAM,CAAC;EACf,QAAQ,MAAM,CAAC;EACf,OAAO,IAAI,eAAe,EAAE,CAAC,0BAA0B;IACrD,MAAM,SAAQ,EAAE;MACd,IAAI,OAAO,GAAG,YAAY,CAAC,mBAAmB;MAC9C,IAAI,CAAC,mBAAmB,IAAI,CAAC,OAAO;MACpC,IAAI,OAAO,MAAM,KAAK,CAAC,UAAU,EAAE,KAAK,KAAK,CAAC;MAC9C,IAAI,QAAQ,MAAM,GAAG,OAAO,CAAC,MAAM;QAAE,MAAM;MAAK;IAClD;EACF,GAAG,SAAS,CACV,IAAI,SAAS,KAAK,IAAI,EAAE;IACtB,QAAQ,KAAK,MAAM;IACnB,YAAY,KAAK,UAAU;IAC3B;EACF;AAEJ,EAAC"}
package/partials.ts ADDED
@@ -0,0 +1,37 @@
1
+ /** HTML shared by the pages of one app. */
2
+
3
+ export type ReadPartial = (path: string) => Promise<string | null>
4
+
5
+ type Rewriter = {
6
+ on(selector: string, handlers: {
7
+ element(el: {
8
+ getAttribute(name: string): string | null
9
+ replace(html: string, options: { html: true }): void
10
+ }): Promise<void>
11
+ }): Rewriter
12
+ transform(page: Response): Response
13
+ }
14
+
15
+ declare let HTMLRewriter: { new (): Rewriter }
16
+
17
+ /** Replace each include with the named fragment. The next page transform
18
+ * sees its markup just as if the page had supplied it. */
19
+ export let included = (page: Response, read: ReadPartial): Response => {
20
+ let headers = new Headers(page.headers)
21
+ headers.delete('content-length')
22
+ headers.delete('etag')
23
+ return new HTMLRewriter().on('template[data-include]', {
24
+ async element(el) {
25
+ let name = el.getAttribute('data-include') ?? ''
26
+ if (!/^[a-zA-Z0-9_-]+$/.test(name)) return
27
+ let html = await read(`_partials/${name}.html`)
28
+ if (html != null) el.replace(html, { html: true })
29
+ },
30
+ }).transform(
31
+ new Response(page.body, {
32
+ status: page.status,
33
+ statusText: page.statusText,
34
+ headers,
35
+ }),
36
+ )
37
+ }