@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.
- package/LICENSE +202 -0
- package/README.md +261 -2
- package/_client-blobs.js +7 -0
- package/_client-error.js +70 -0
- package/_client-modal.js +3 -0
- package/_client-replica.js +5 -0
- package/_client-review.js +1 -0
- package/_client-schema.js +1 -0
- package/_client-vault.js +31 -0
- package/_edit-query.js +1 -0
- package/_uploads.js +4 -0
- package/account-browser.js +67 -0
- package/account-browser.js.map +1 -0
- package/account-browser.ts +87 -0
- package/account-rows.js +130 -0
- package/account-rows.js.map +1 -0
- package/account-rows.ts +237 -0
- package/admin-visits-view.js +65 -0
- package/admin-visits-view.js.map +1 -0
- package/admin-visits-view.ts +120 -0
- package/admin-visits.js +143 -0
- package/admin-visits.js.map +1 -0
- package/admin-visits.ts +211 -0
- package/admit-graph.js +8 -0
- package/admit-graph.js.map +1 -0
- package/admit-graph.ts +10 -0
- package/agent-guide.js +368 -0
- package/agent-guide.js.map +1 -0
- package/agent-guide.ts +450 -0
- package/agents-browser.js +143 -0
- package/agents-browser.js.map +1 -0
- package/agents-browser.ts +141 -0
- package/agents-view.js +129 -0
- package/agents-view.js.map +1 -0
- package/agents-view.ts +236 -0
- package/agents.js +148 -0
- package/agents.js.map +1 -0
- package/agents.ts +150 -0
- package/app-actions.js +56 -0
- package/app-actions.js.map +1 -0
- package/app-actions.ts +61 -0
- package/app-authority.js +280 -0
- package/app-authority.js.map +1 -0
- package/app-authority.ts +356 -0
- package/app-canvas-browser.js +308 -0
- package/app-canvas-browser.js.map +1 -0
- package/app-canvas-browser.ts +377 -0
- package/app-canvas-view.js +244 -0
- package/app-canvas-view.js.map +1 -0
- package/app-canvas-view.ts +399 -0
- package/app-canvas.js +87 -0
- package/app-canvas.js.map +1 -0
- package/app-canvas.ts +170 -0
- package/app-client.js +521 -0
- package/app-client.js.map +1 -0
- package/app-client.ts +562 -0
- package/app-command.js +108 -0
- package/app-command.js.map +1 -0
- package/app-command.ts +155 -0
- package/app-commands.js +334 -0
- package/app-commands.js.map +1 -0
- package/app-commands.ts +379 -0
- package/app-decision.js +69 -0
- package/app-decision.js.map +1 -0
- package/app-decision.ts +61 -0
- package/app-effects.js +43 -0
- package/app-effects.js.map +1 -0
- package/app-effects.ts +53 -0
- package/app-file.js +252 -0
- package/app-file.js.map +1 -0
- package/app-file.ts +362 -0
- package/app-friends.js +60 -0
- package/app-friends.js.map +1 -0
- package/app-friends.ts +81 -0
- package/app-graph.js +9 -0
- package/app-graph.js.map +1 -0
- package/app-graph.ts +9 -0
- package/app-icon.js +59 -0
- package/app-icon.js.map +1 -0
- package/app-icon.ts +121 -0
- package/app-made.js +164 -0
- package/app-made.js.map +1 -0
- package/app-made.ts +306 -0
- package/app-outbound.js +72 -0
- package/app-outbound.js.map +1 -0
- package/app-outbound.ts +109 -0
- package/app-outbox.js +42 -0
- package/app-outbox.js.map +1 -0
- package/app-outbox.ts +46 -0
- package/app-patch.js +75 -0
- package/app-patch.js.map +1 -0
- package/app-patch.ts +106 -0
- package/app-read.js +101 -0
- package/app-read.js.map +1 -0
- package/app-read.ts +126 -0
- package/app-role-tools.js +232 -0
- package/app-role-tools.js.map +1 -0
- package/app-role-tools.ts +258 -0
- package/app-roles.js +91 -0
- package/app-roles.js.map +1 -0
- package/app-roles.ts +76 -0
- package/app-session-access.js +109 -0
- package/app-session-access.js.map +1 -0
- package/app-session-access.ts +145 -0
- package/app-starter.js +109 -0
- package/app-starter.js.map +1 -0
- package/app-starter.ts +123 -0
- package/app-storage.js +38 -0
- package/app-storage.js.map +1 -0
- package/app-storage.ts +54 -0
- package/app-style-guide.js +138 -0
- package/app-style-guide.js.map +1 -0
- package/app-style-guide.ts +195 -0
- package/app-subs.js +89 -0
- package/app-subs.js.map +1 -0
- package/app-subs.ts +110 -0
- package/app-tests.js +54 -0
- package/app-tests.js.map +1 -0
- package/app-tests.ts +56 -0
- package/app-tile.js +209 -0
- package/app-tile.js.map +1 -0
- package/app-tile.ts +227 -0
- package/app-transfer.js +188 -0
- package/app-transfer.js.map +1 -0
- package/app-transfer.ts +281 -0
- package/app-vocab.js +52 -0
- package/app-vocab.js.map +1 -0
- package/app-vocab.ts +43 -0
- package/app-words.js +55 -0
- package/app-words.js.map +1 -0
- package/app-words.ts +73 -0
- package/app-worker.js +28 -0
- package/app-worker.js.map +1 -0
- package/app-worker.ts +38 -0
- package/app-writes.js +132 -0
- package/app-writes.js.map +1 -0
- package/app-writes.ts +128 -0
- package/asset-bytes.js +57 -0
- package/asset-bytes.js.map +1 -0
- package/asset-bytes.ts +90 -0
- package/asset-response.js +28 -0
- package/asset-response.js.map +1 -0
- package/asset-response.ts +46 -0
- package/asset-url.js +556 -0
- package/asset-url.js.map +1 -0
- package/asset-url.ts +774 -0
- package/attribution-vocab.js +14 -0
- package/attribution-vocab.js.map +1 -0
- package/attribution-vocab.ts +11 -0
- package/authorship-graph.js +8 -0
- package/authorship-graph.js.map +1 -0
- package/authorship-graph.ts +10 -0
- package/badge.js +98 -0
- package/blob-images.js +206 -0
- package/blob-images.js.map +1 -0
- package/blob-images.ts +323 -0
- package/blob-posters.js +125 -0
- package/blob-posters.js.map +1 -0
- package/blob-posters.ts +207 -0
- package/blob-routes.js +14 -0
- package/blob-routes.js.map +1 -0
- package/blob-routes.ts +25 -0
- package/bots.js +77 -0
- package/bots.js.map +1 -0
- package/bots.ts +93 -0
- package/browser-mockup.js +81 -0
- package/browser-mockup.js.map +1 -0
- package/browser-mockup.ts +105 -0
- package/browser-record.js +55 -0
- package/browser-record.js.map +1 -0
- package/browser-record.ts +66 -0
- package/browser-scroll.js +90 -0
- package/browser-scroll.js.map +1 -0
- package/browser-scroll.ts +108 -0
- package/browser-stream.js +79 -0
- package/browser-stream.js.map +1 -0
- package/browser-stream.ts +84 -0
- package/browser-trace.js +252 -0
- package/browser-trace.js.map +1 -0
- package/browser-trace.ts +330 -0
- package/browser-viewer.js +236 -0
- package/browser-viewer.js.map +1 -0
- package/browser-viewer.ts +233 -0
- package/browser-visit.js +1522 -0
- package/browser-visit.js.map +1 -0
- package/browser-visit.ts +2179 -0
- package/browser-wire.js +242 -0
- package/browser-wire.js.map +1 -0
- package/browser-wire.ts +262 -0
- package/budget.js +17 -0
- package/budget.js.map +1 -0
- package/budget.ts +42 -0
- package/cli.js +52 -0
- package/cli.js.map +1 -0
- package/cli.ts +55 -0
- package/client-modules.js +24 -0
- package/client-modules.js.map +1 -0
- package/client-modules.ts +24 -0
- package/client-routes.js +83 -0
- package/client-routes.js.map +1 -0
- package/client-routes.ts +104 -0
- package/client-words.js +62 -0
- package/client-words.js.map +1 -0
- package/client-words.ts +77 -0
- package/client.js +709 -0
- package/comp.js +2 -0
- package/comp.js.map +1 -0
- package/comp.ts +15 -0
- package/config.js +497 -0
- package/config.js.map +1 -0
- package/config.ts +287 -0
- package/connect-parts.js +107 -0
- package/connect-parts.js.map +1 -0
- package/connect-parts.ts +165 -0
- package/connected-activity-browser.js +301 -0
- package/connected-activity-browser.js.map +1 -0
- package/connected-activity-browser.ts +341 -0
- package/connected-activity-view.js +55 -0
- package/connected-activity-view.js.map +1 -0
- package/connected-activity-view.ts +81 -0
- package/connected-activity-wire.js +165 -0
- package/connected-activity-wire.js.map +1 -0
- package/connected-activity-wire.ts +171 -0
- package/connected-activity.css +156 -0
- package/connected-activity.js +185 -0
- package/connected-activity.js.map +1 -0
- package/connected-activity.ts +278 -0
- package/connection-icon-browser.js +50 -0
- package/connection-icon-browser.js.map +1 -0
- package/connection-icon-browser.ts +52 -0
- package/connections-browser.js +393 -0
- package/connections-browser.js.map +1 -0
- package/connections-browser.ts +465 -0
- package/connections-page.js +178 -0
- package/connections-page.js.map +1 -0
- package/connections-page.ts +461 -0
- package/connections-view.js +1215 -0
- package/connections-view.js.map +1 -0
- package/connections-view.ts +2239 -0
- package/connector-upload.js +94 -0
- package/connector-upload.js.map +1 -0
- package/connector-upload.ts +146 -0
- package/consent.js +2 -0
- package/consent.js.map +1 -0
- package/consent.ts +3 -0
- package/cookie.js +53 -0
- package/cookie.js.map +1 -0
- package/cookie.ts +75 -0
- package/copy.js +104 -0
- package/corner.js +226 -0
- package/credential-draft-move.js +154 -0
- package/credential-draft-move.js.map +1 -0
- package/credential-draft-move.ts +197 -0
- package/credential-draft-place.js +2 -0
- package/credential-draft-place.js.map +1 -0
- package/credential-draft-place.ts +4 -0
- package/credential-drafts.js +66 -0
- package/credential-drafts.js.map +1 -0
- package/credential-drafts.ts +93 -0
- package/dashboard-browser.js +149 -0
- package/dashboard-browser.js.map +1 -0
- package/dashboard-browser.ts +184 -0
- package/dashboard-view.js +293 -0
- package/dashboard-view.js.map +1 -0
- package/dashboard-view.ts +423 -0
- package/dashboard.js +268 -0
- package/dashboard.js.map +1 -0
- package/dashboard.ts +436 -0
- package/deno.json +1 -0
- package/describe-graph.js +8 -0
- package/describe-graph.js.map +1 -0
- package/describe-graph.ts +7 -0
- package/directory-derived.js +142 -0
- package/directory-derived.js.map +1 -0
- package/directory-derived.ts +198 -0
- package/directory-index-move.js +77 -0
- package/directory-index-move.js.map +1 -0
- package/directory-index-move.ts +59 -0
- package/directory-index.js +382 -0
- package/directory-index.js.map +1 -0
- package/directory-index.ts +550 -0
- package/directory-pages.js +41 -0
- package/directory-pages.js.map +1 -0
- package/directory-pages.ts +71 -0
- package/directory-route.js +129 -0
- package/directory-route.js.map +1 -0
- package/directory-route.ts +189 -0
- package/directory-vocab.js +58 -0
- package/directory-vocab.js.map +1 -0
- package/directory-vocab.ts +46 -0
- package/document-graph.js +86 -0
- package/document-graph.js.map +1 -0
- package/document-graph.ts +93 -0
- package/document-ocr.js +146 -0
- package/document-ocr.js.map +1 -0
- package/document-ocr.ts +204 -0
- package/documents.js +50 -0
- package/documents.js.map +1 -0
- package/documents.ts +64 -0
- package/domain-pages.js +221 -0
- package/domain-pages.js.map +1 -0
- package/domain-pages.ts +586 -0
- package/domain-settings.js +88 -0
- package/domain-settings.js.map +1 -0
- package/domain-settings.ts +132 -0
- package/domain-transfer.js +138 -0
- package/domain-transfer.js.map +1 -0
- package/domain-transfer.ts +190 -0
- package/donation-loans.js +176 -0
- package/donation-loans.js.map +1 -0
- package/donation-loans.ts +271 -0
- package/draft-choice.js +136 -0
- package/draft-choice.js.map +1 -0
- package/draft-choice.ts +310 -0
- package/drawing.js +27 -0
- package/drawing.js.map +1 -0
- package/drawing.ts +40 -0
- package/early-report.js +18 -0
- package/early-report.js.map +1 -0
- package/early-report.ts +31 -0
- package/edit-client-path.js +2 -0
- package/edit-client-path.js.map +1 -0
- package/edit-client-path.ts +1 -0
- package/edit-mode.js +920 -0
- package/edit-mode.js.map +1 -0
- package/edit-mode.ts +1003 -0
- package/edit-sync.js +61 -0
- package/edit-sync.js.map +1 -0
- package/edit-sync.ts +83 -0
- package/edit.js +265 -0
- package/embed-graph.js +11 -0
- package/embed-graph.js.map +1 -0
- package/embed-graph.ts +8 -0
- package/embedded-payment.js +211 -0
- package/embedded-payment.js.map +1 -0
- package/embedded-payment.ts +290 -0
- package/entry-actions-browser.js +43 -0
- package/entry-actions-browser.js.map +1 -0
- package/entry-actions-browser.ts +64 -0
- package/entry-actions.js +56 -0
- package/entry-actions.js.map +1 -0
- package/entry-actions.ts +59 -0
- package/escape.js +14 -0
- package/escape.js.map +1 -0
- package/escape.ts +24 -0
- package/face-input.js +6 -0
- package/face-input.js.map +1 -0
- package/face-input.ts +14 -0
- package/facebook.js +370 -0
- package/facebook.js.map +1 -0
- package/facebook.ts +474 -0
- package/facets.js +142 -0
- package/facets.js.map +1 -0
- package/facets.ts +89 -0
- package/fee.js +45 -0
- package/fee.js.map +1 -0
- package/fee.ts +51 -0
- package/fence.js +164 -0
- package/fence.js.map +1 -0
- package/fence.ts +223 -0
- package/file-metadata.js +135 -0
- package/file-metadata.js.map +1 -0
- package/file-metadata.ts +177 -0
- package/file-operation.js +51 -0
- package/file-operation.js.map +1 -0
- package/file-operation.ts +32 -0
- package/file-redirects.js +72 -0
- package/file-redirects.js.map +1 -0
- package/file-redirects.ts +74 -0
- package/file-root.js +8 -0
- package/file-root.js.map +1 -0
- package/file-root.ts +24 -0
- package/files-routes.js +203 -0
- package/files-routes.js.map +1 -0
- package/files-routes.ts +282 -0
- package/files.js +369 -0
- package/files.js.map +1 -0
- package/files.ts +522 -0
- package/fingerprint.js +217 -0
- package/fingerprint.js.map +1 -0
- package/fingerprint.ts +314 -0
- package/firsts.js +335 -0
- package/firsts.js.map +1 -0
- package/firsts.ts +368 -0
- package/friends-at.js +78 -0
- package/friends-at.js.map +1 -0
- package/friends-at.ts +115 -0
- package/friends-browser.js +66 -0
- package/friends-browser.js.map +1 -0
- package/friends-browser.ts +77 -0
- package/friends-dock-browser.js +375 -0
- package/friends-dock-browser.js.map +1 -0
- package/friends-dock-browser.ts +408 -0
- package/friends-dock-view.js +363 -0
- package/friends-dock-view.js.map +1 -0
- package/friends-dock-view.ts +592 -0
- package/friends-view.js +33 -0
- package/friends-view.js.map +1 -0
- package/friends-view.ts +69 -0
- package/friends.js +153 -0
- package/friends.js.map +1 -0
- package/friends.ts +200 -0
- package/fundraising-orders.js +197 -0
- package/fundraising-orders.js.map +1 -0
- package/fundraising-orders.ts +283 -0
- package/fundraising.js +165 -0
- package/fundraising.js.map +1 -0
- package/fundraising.ts +215 -0
- package/funnel.js +141 -0
- package/funnel.js.map +1 -0
- package/funnel.ts +284 -0
- package/gift-savings.js +19 -0
- package/gift-savings.js.map +1 -0
- package/gift-savings.ts +29 -0
- package/git-history.js +331 -0
- package/git-history.js.map +1 -0
- package/git-history.ts +481 -0
- package/giving-browser.js +35 -0
- package/giving-browser.js.map +1 -0
- package/giving-browser.ts +40 -0
- package/giving-pages.js +284 -0
- package/giving-pages.js.map +1 -0
- package/giving-pages.ts +418 -0
- package/giving-view.js +244 -0
- package/giving-view.js.map +1 -0
- package/giving-view.ts +509 -0
- package/giving.js +198 -0
- package/giving.js.map +1 -0
- package/giving.ts +280 -0
- package/gmail-mailbox.js +52 -0
- package/gmail-mailbox.js.map +1 -0
- package/gmail-mailbox.ts +74 -0
- package/graves.js +136 -0
- package/graves.js.map +1 -0
- package/graves.ts +180 -0
- package/hashed.js +499 -0
- package/hashed.js.map +1 -0
- package/hashed.ts +676 -0
- package/home/assets.js +15 -0
- package/home/assets.js.map +1 -0
- package/home/assets.ts +16 -0
- package/home/brands/stripe.svg +12 -0
- package/home/brands/zoom.svg +34 -0
- package/home/demos.js +413 -0
- package/home/demos.js.map +1 -0
- package/home/demos.ts +431 -0
- package/home/games.js +112 -0
- package/home/games.js.map +1 -0
- package/home/games.ts +137 -0
- package/home/icons.js +41 -0
- package/home/icons.js.map +1 -0
- package/home/icons.ts +42 -0
- package/home/mascot/calculating.webp +0 -0
- package/home/mascot/flag.webp +0 -0
- package/home/mascot/letter.webp +0 -0
- package/home/mascot/plane.webp +0 -0
- package/home/mascot/plug.webp +0 -0
- package/home/mascot/thinking.webp +0 -0
- package/home/mascot/typing.webp +0 -0
- package/home/mascot/wave.webp +0 -0
- package/home/mod.tsx +517 -0
- package/home/parts.js +149 -0
- package/home/parts.js.map +1 -0
- package/home/parts.ts +45 -0
- package/home/phone.tsx +152 -0
- package/home/scenes.tsx +212 -0
- package/home/sky.js +930 -0
- package/home/sky.tsx +479 -0
- package/home/story.js +392 -0
- package/home/style.css +1304 -0
- package/home/words.js +2 -0
- package/home/words.js.map +1 -0
- package/home/words.ts +8 -0
- package/home/yak.js +146 -0
- package/home/yak_test.tsx +111 -0
- package/home-router.js +30 -0
- package/home-router.js.map +1 -0
- package/home-router.ts +41 -0
- package/host.js +58 -0
- package/host.js.map +1 -0
- package/host.ts +97 -0
- package/hosted-page.js +126 -0
- package/hosted-page.js.map +1 -0
- package/hosted-page.ts +295 -0
- package/install-browser.js +89 -0
- package/install-browser.js.map +1 -0
- package/install-browser.ts +99 -0
- package/install-icons.js +271 -0
- package/install-icons.js.map +1 -0
- package/install-icons.ts +366 -0
- package/installs.js +197 -0
- package/installs.js.map +1 -0
- package/installs.ts +270 -0
- package/instrument.js +50 -0
- package/instrument.js.map +1 -0
- package/instrument.ts +55 -0
- package/integration-icons.js +138 -0
- package/integration-icons.js.map +1 -0
- package/integration-icons.ts +198 -0
- package/interaction-browser.js +95 -0
- package/interaction-browser.js.map +1 -0
- package/interaction-browser.ts +107 -0
- package/interaction-report.js +399 -0
- package/interaction-report.js.map +1 -0
- package/interaction-report.ts +450 -0
- package/interaction.js +273 -0
- package/interaction.js.map +1 -0
- package/interaction.ts +290 -0
- package/invite-browser.js +98 -0
- package/invite-browser.js.map +1 -0
- package/invite-browser.ts +123 -0
- package/invite-view.js +100 -0
- package/invite-view.js.map +1 -0
- package/invite-view.ts +137 -0
- package/kept.js +520 -0
- package/kept.js.map +1 -0
- package/kept.ts +821 -0
- package/kills-graph.js +18 -0
- package/kills-graph.js.map +1 -0
- package/kills-graph.ts +16 -0
- package/ladder.js +418 -0
- package/ladder.js.map +1 -0
- package/ladder.ts +510 -0
- package/lenses-graph.js +24 -0
- package/lenses-graph.js.map +1 -0
- package/lenses-graph.ts +27 -0
- package/lenses.js +197 -0
- package/lenses.js.map +1 -0
- package/lenses.ts +204 -0
- package/lent.js +32 -0
- package/lent.js.map +1 -0
- package/lent.ts +95 -0
- package/letters.js +134 -0
- package/letters.js.map +1 -0
- package/letters.ts +251 -0
- package/lexicon-graph.js +11 -0
- package/lexicon-graph.js.map +1 -0
- package/lexicon-graph.ts +7 -0
- package/link-preview.js +111 -0
- package/link-preview.js.map +1 -0
- package/link-preview.ts +136 -0
- package/listing.js +262 -0
- package/listing.js.map +1 -0
- package/listing.ts +330 -0
- package/local-time.js +32 -0
- package/local-time.js.map +1 -0
- package/local-time.ts +41 -0
- package/located.js +380 -0
- package/located.js.map +1 -0
- package/located.ts +471 -0
- package/log-graph.js +7 -0
- package/log-graph.js.map +1 -0
- package/log-graph.ts +9 -0
- package/lower-graph.js +7 -0
- package/lower-graph.js.map +1 -0
- package/lower-graph.ts +9 -0
- package/mail-request.js +32 -0
- package/mail-request.js.map +1 -0
- package/mail-request.ts +29 -0
- package/mail-senders.js +40 -0
- package/mail-senders.js.map +1 -0
- package/mail-senders.ts +47 -0
- package/managed-browser-pilot.js +151 -0
- package/managed-browser-pilot.js.map +1 -0
- package/managed-browser-pilot.ts +230 -0
- package/managed-browser-sites.js +43 -0
- package/managed-browser-sites.js.map +1 -0
- package/managed-browser-sites.ts +41 -0
- package/managed-browser-wire.js +142 -0
- package/managed-browser-wire.js.map +1 -0
- package/managed-browser-wire.ts +140 -0
- package/managed-browser.js +529 -0
- package/managed-browser.js.map +1 -0
- package/managed-browser.ts +740 -0
- package/manifest.js +425 -0
- package/manifest.js.map +1 -0
- package/manifest.ts +468 -0
- package/metadata-effect.js +61 -0
- package/metadata-effect.js.map +1 -0
- package/metadata-effect.ts +59 -0
- package/meter-graph.js +205 -0
- package/meter-graph.js.map +1 -0
- package/meter-graph.ts +238 -0
- package/meter-vocab.js +8 -0
- package/meter-vocab.js.map +1 -0
- package/meter-vocab.ts +4 -0
- package/meter.js +402 -0
- package/meter.js.map +1 -0
- package/meter.ts +697 -0
- package/mod.js +14 -0
- package/mod.js.map +1 -0
- package/mod.ts +16 -0
- package/models-vocab.js +25 -0
- package/models-vocab.js.map +1 -0
- package/models-vocab.ts +15 -0
- package/monogram.js +32 -0
- package/monogram.js.map +1 -0
- package/monogram.ts +46 -0
- package/mover.js +6 -0
- package/mover.js.map +1 -0
- package/mover.ts +45 -0
- package/named.js +136 -0
- package/named.js.map +1 -0
- package/named.ts +169 -0
- package/names.js +196 -0
- package/names.js.map +1 -0
- package/names.ts +252 -0
- package/notices-vocab.js +20 -0
- package/notices-vocab.js.map +1 -0
- package/notices-vocab.ts +28 -0
- package/numbers.js +85 -0
- package/numbers.js.map +1 -0
- package/numbers.ts +97 -0
- package/object-hosts.js +137 -0
- package/object-hosts.js.map +1 -0
- package/object-hosts.ts +153 -0
- package/open-script.js +235 -0
- package/open-script.js.map +1 -0
- package/open-script.ts +253 -0
- package/opening.js +31 -0
- package/opening.js.map +1 -0
- package/opening.ts +28 -0
- package/operator-activity-view.js +82 -0
- package/operator-activity-view.js.map +1 -0
- package/operator-activity-view.ts +85 -0
- package/operator-activity.js +220 -0
- package/operator-activity.js.map +1 -0
- package/operator-activity.ts +293 -0
- package/operator-brief.js +36 -0
- package/operator-brief.js.map +1 -0
- package/operator-brief.ts +76 -0
- package/operator-copy-browser.js +67 -0
- package/operator-copy-browser.js.map +1 -0
- package/operator-copy-browser.ts +71 -0
- package/operator-corner.js +266 -0
- package/operator-corner.js.map +1 -0
- package/operator-corner.ts +300 -0
- package/operator-decisions.js +19 -0
- package/operator-decisions.js.map +1 -0
- package/operator-decisions.ts +18 -0
- package/operator-docs.js +152 -0
- package/operator-docs.js.map +1 -0
- package/operator-docs.ts +196 -0
- package/operator-door.js +10 -0
- package/operator-door.js.map +1 -0
- package/operator-door.ts +14 -0
- package/operator-drafts-browser.js +28 -0
- package/operator-drafts-browser.js.map +1 -0
- package/operator-drafts-browser.ts +32 -0
- package/operator-drafts.js +60 -0
- package/operator-drafts.js.map +1 -0
- package/operator-drafts.ts +80 -0
- package/operator-early-draft.js +110 -0
- package/operator-early-draft.js.map +1 -0
- package/operator-early-draft.ts +125 -0
- package/operator-go-browser.js +130 -0
- package/operator-go-browser.js.map +1 -0
- package/operator-go-browser.ts +182 -0
- package/operator-go-step.js +86 -0
- package/operator-go-step.js.map +1 -0
- package/operator-go-step.ts +92 -0
- package/operator-go-tool.js +49 -0
- package/operator-go-tool.js.map +1 -0
- package/operator-go-tool.ts +31 -0
- package/operator-go.js +68 -0
- package/operator-go.js.map +1 -0
- package/operator-go.ts +100 -0
- package/operator-graph.js +46 -0
- package/operator-graph.js.map +1 -0
- package/operator-graph.ts +60 -0
- package/operator-handoff.js +91 -0
- package/operator-handoff.js.map +1 -0
- package/operator-handoff.ts +104 -0
- package/operator-machine.js +136 -0
- package/operator-machine.js.map +1 -0
- package/operator-machine.ts +168 -0
- package/operator-matches-browser.js +155 -0
- package/operator-matches-browser.js.map +1 -0
- package/operator-matches-browser.ts +178 -0
- package/operator-matches-view.js +147 -0
- package/operator-matches-view.js.map +1 -0
- package/operator-matches-view.ts +224 -0
- package/operator-matches.js +65 -0
- package/operator-matches.js.map +1 -0
- package/operator-matches.ts +120 -0
- package/operator-memory.js +119 -0
- package/operator-memory.js.map +1 -0
- package/operator-memory.ts +122 -0
- package/operator-mic.ts +40 -0
- package/operator-model.js +144 -0
- package/operator-model.js.map +1 -0
- package/operator-model.ts +154 -0
- package/operator-notes.js +32 -0
- package/operator-notes.js.map +1 -0
- package/operator-notes.ts +40 -0
- package/operator-opening-browser.js +184 -0
- package/operator-opening-browser.js.map +1 -0
- package/operator-opening-browser.ts +195 -0
- package/operator-owner.js +391 -0
- package/operator-owner.js.map +1 -0
- package/operator-owner.ts +392 -0
- package/operator-page-context.js +121 -0
- package/operator-page-context.js.map +1 -0
- package/operator-page-context.ts +143 -0
- package/operator-page-image.js +38 -0
- package/operator-page-image.js.map +1 -0
- package/operator-page-image.ts +42 -0
- package/operator-panel-browser.js +601 -0
- package/operator-panel-browser.js.map +1 -0
- package/operator-panel-browser.ts +669 -0
- package/operator-panel-view.js +69 -0
- package/operator-panel-view.js.map +1 -0
- package/operator-panel-view.ts +100 -0
- package/operator-panel.js +131 -0
- package/operator-panel.js.map +1 -0
- package/operator-panel.ts +155 -0
- package/operator-push.tsx +112 -0
- package/operator-record.js +55 -0
- package/operator-record.js.map +1 -0
- package/operator-record.ts +92 -0
- package/operator-replies.js +240 -0
- package/operator-replies.js.map +1 -0
- package/operator-replies.ts +281 -0
- package/operator-reply-view.js +117 -0
- package/operator-reply-view.js.map +1 -0
- package/operator-reply-view.ts +185 -0
- package/operator-safety.js +30 -0
- package/operator-safety.js.map +1 -0
- package/operator-safety.ts +53 -0
- package/operator-settings-browser.js +257 -0
- package/operator-settings-browser.js.map +1 -0
- package/operator-settings-browser.ts +290 -0
- package/operator-settings-view.js +291 -0
- package/operator-settings-view.js.map +1 -0
- package/operator-settings-view.ts +588 -0
- package/operator-settings.js +79 -0
- package/operator-settings.js.map +1 -0
- package/operator-settings.ts +137 -0
- package/operator-source.js +43 -0
- package/operator-source.js.map +1 -0
- package/operator-source.ts +69 -0
- package/operator-talk-browser.js +94 -0
- package/operator-talk-browser.js.map +1 -0
- package/operator-talk-browser.ts +120 -0
- package/operator-talk.js +83 -0
- package/operator-talk.js.map +1 -0
- package/operator-talk.ts +127 -0
- package/operator-task-text.js +45 -0
- package/operator-task-text.js.map +1 -0
- package/operator-task-text.ts +49 -0
- package/operator-timing-browser.js +51 -0
- package/operator-timing-browser.js.map +1 -0
- package/operator-timing-browser.ts +68 -0
- package/operator-timing-view.js +48 -0
- package/operator-timing-view.js.map +1 -0
- package/operator-timing-view.ts +90 -0
- package/operator-timing.js +132 -0
- package/operator-timing.js.map +1 -0
- package/operator-timing.ts +170 -0
- package/operator-vocab.js +8 -0
- package/operator-vocab.js.map +1 -0
- package/operator-vocab.ts +7 -0
- package/operator-voice-audio.ts +84 -0
- package/operator-voice-browser.ts +237 -0
- package/operator-voice-feedback.js +108 -0
- package/operator-voice-feedback.js.map +1 -0
- package/operator-voice-feedback.ts +133 -0
- package/operator-voice-view.js +33 -0
- package/operator-voice-view.js.map +1 -0
- package/operator-voice-view.ts +43 -0
- package/operator-voice.css +38 -0
- package/operator-voice.js +35 -0
- package/operator-voice.js.map +1 -0
- package/operator-voice.ts +33 -0
- package/operator-wait.js +70 -0
- package/operator-wait.js.map +1 -0
- package/operator-wait.ts +79 -0
- package/operator-watches.js +126 -0
- package/operator-watches.js.map +1 -0
- package/operator-watches.ts +141 -0
- package/operator-words.js +94 -0
- package/operator-words.js.map +1 -0
- package/operator-words.ts +114 -0
- package/outreach-trial.js +103 -0
- package/outreach-trial.js.map +1 -0
- package/outreach-trial.ts +122 -0
- package/outreach-vocab.js +10 -0
- package/outreach-vocab.js.map +1 -0
- package/outreach-vocab.ts +7 -0
- package/outreach.js +162 -0
- package/outreach.js.map +1 -0
- package/outreach.ts +239 -0
- package/package.json +1131 -4
- package/packs.js +103 -0
- package/packs.js.map +1 -0
- package/packs.ts +119 -0
- package/page-copy.js +267 -0
- package/page-copy.js.map +1 -0
- package/page-copy.ts +362 -0
- package/page-graph.js +114 -0
- package/page-graph.js.map +1 -0
- package/page-graph.ts +151 -0
- package/page-links.js +78 -0
- package/page-links.js.map +1 -0
- package/page-links.ts +124 -0
- package/page-parts.js +236 -0
- package/page-parts.js.map +1 -0
- package/page-parts.ts +388 -0
- package/page-query.js +95 -0
- package/page-query.js.map +1 -0
- package/page-query.ts +120 -0
- package/page-script.js +183 -0
- package/page-script.js.map +1 -0
- package/page-script.ts +192 -0
- package/page-wire.js +93 -0
- package/page-wire.js.map +1 -0
- package/page-wire.ts +100 -0
- package/pages-vocab.js +9 -0
- package/pages-vocab.js.map +1 -0
- package/pages-vocab.ts +5 -0
- package/partials.js +21 -0
- package/partials.js.map +1 -0
- package/partials.ts +37 -0
- package/payment-browser.js +250 -0
- package/payment-browser.js.map +1 -0
- package/payment-browser.ts +298 -0
- package/payment-rows.js +117 -0
- package/payment-rows.js.map +1 -0
- package/payment-rows.ts +219 -0
- package/payment-view.js +397 -0
- package/payment-view.js.map +1 -0
- package/payment-view.ts +852 -0
- package/people-browser.js +186 -0
- package/people-browser.js.map +1 -0
- package/people-browser.ts +210 -0
- package/people-rows.js +192 -0
- package/people-rows.js.map +1 -0
- package/people-rows.ts +289 -0
- package/people-view.js +463 -0
- package/people-view.js.map +1 -0
- package/people-view.ts +804 -0
- package/person-lines.js +196 -0
- package/person-lines.js.map +1 -0
- package/person-lines.ts +256 -0
- package/place.js +30 -0
- package/place.js.map +1 -0
- package/place.ts +31 -0
- package/plan-details.js +39 -0
- package/plan-details.js.map +1 -0
- package/plan-details.ts +57 -0
- package/plan-trial-graph.js +63 -0
- package/plan-trial-graph.js.map +1 -0
- package/plan-trial-graph.ts +57 -0
- package/plans.js +223 -0
- package/plans.js.map +1 -0
- package/plans.ts +313 -0
- package/platform-credentials.js +136 -0
- package/platform-credentials.js.map +1 -0
- package/platform-credentials.ts +189 -0
- package/poster-backfill.js +72 -0
- package/poster-backfill.js.map +1 -0
- package/poster-backfill.ts +96 -0
- package/presence.js +57 -0
- package/presence.js.map +1 -0
- package/presence.ts +77 -0
- package/preview-audit.js +65 -0
- package/preview-audit.js.map +1 -0
- package/preview-audit.ts +126 -0
- package/preview-fit.js +62 -0
- package/preview-fit.js.map +1 -0
- package/preview-fit.ts +72 -0
- package/preview-html.js +96 -0
- package/preview-html.js.map +1 -0
- package/preview-html.ts +139 -0
- package/preview.js +317 -0
- package/preview.js.map +1 -0
- package/preview.ts +498 -0
- package/price.js +53 -0
- package/price.js.map +1 -0
- package/price.ts +85 -0
- package/profile-browser.js +117 -0
- package/profile-browser.js.map +1 -0
- package/profile-browser.ts +141 -0
- package/profile-view.js +96 -0
- package/profile-view.js.map +1 -0
- package/profile-view.ts +197 -0
- package/provider-credits.js +159 -0
- package/provider-credits.js.map +1 -0
- package/provider-credits.ts +174 -0
- package/public-site-choice.js +18 -0
- package/public-site-choice.js.map +1 -0
- package/public-site-choice.ts +21 -0
- package/public-site.js +151 -0
- package/public-site.js.map +1 -0
- package/public-site.ts +268 -0
- package/publishing-graph.js +136 -0
- package/publishing-graph.js.map +1 -0
- package/publishing-graph.ts +122 -0
- package/qr.js +32 -0
- package/qr.js.map +1 -0
- package/qr.ts +32 -0
- package/query-page.js +159 -0
- package/query-page.js.map +1 -0
- package/query-page.ts +249 -0
- package/query-refusal.js +174 -0
- package/query-refusal.js.map +1 -0
- package/query-refusal.ts +319 -0
- package/refusal-loop.js +71 -0
- package/refusal-loop.js.map +1 -0
- package/refusal-loop.ts +98 -0
- package/refusals-vocab.js +9 -0
- package/refusals-vocab.js.map +1 -0
- package/refusals-vocab.ts +5 -0
- package/refused-writes.js +119 -0
- package/refused-writes.js.map +1 -0
- package/refused-writes.ts +152 -0
- package/refused.js +67 -0
- package/refused.js.map +1 -0
- package/refused.ts +76 -0
- package/regional-route-storage.js +127 -0
- package/regional-route-storage.js.map +1 -0
- package/regional-route-storage.ts +94 -0
- package/regional-route.js +105 -0
- package/regional-route.js.map +1 -0
- package/regional-route.ts +158 -0
- package/regional-serving-copy.js +153 -0
- package/regional-serving-copy.js.map +1 -0
- package/regional-serving-copy.ts +200 -0
- package/release-asset.js +71 -0
- package/release-asset.js.map +1 -0
- package/release-asset.ts +121 -0
- package/release-browser.js +383 -0
- package/release-code.js +5 -0
- package/release-entry.js +3 -0
- package/release-file.js +169 -0
- package/release-file.js.map +1 -0
- package/release-file.ts +241 -0
- package/release-index.js +140 -0
- package/release-index.js.map +1 -0
- package/release-index.ts +161 -0
- package/release-page.js +227 -0
- package/release-reads.js +27 -0
- package/release-reads.js.map +1 -0
- package/release-reads.ts +56 -0
- package/release-sheets.js +76 -0
- package/release-state.js +181 -0
- package/release-update.js +22 -0
- package/release-update.js.map +1 -0
- package/release-update.ts +29 -0
- package/release.js +50 -0
- package/release.js.map +1 -0
- package/release.ts +72 -0
- package/released.js +263 -0
- package/released.js.map +1 -0
- package/released.ts +310 -0
- package/remake-graph.js +17 -0
- package/remake-graph.js.map +1 -0
- package/remake-graph.ts +15 -0
- package/rouse-graph.js +11 -0
- package/rouse-graph.js.map +1 -0
- package/rouse-graph.ts +8 -0
- package/route-memory.js +101 -0
- package/route-memory.js.map +1 -0
- package/route-memory.ts +132 -0
- package/routes.js +1143 -0
- package/routes.js.map +1 -0
- package/routes.ts +1502 -0
- package/sale-recovery.js +175 -0
- package/sale-recovery.js.map +1 -0
- package/sale-recovery.ts +156 -0
- package/sales.js +113 -0
- package/sales.js.map +1 -0
- package/sales.ts +150 -0
- package/schema.js +28 -0
- package/schema.js.map +1 -0
- package/schema.ts +13 -0
- package/serving-copy.js +161 -0
- package/serving-copy.js.map +1 -0
- package/serving-copy.ts +201 -0
- package/settings-drafts-browser.js +81 -0
- package/settings-drafts-browser.js.map +1 -0
- package/settings-drafts-browser.ts +95 -0
- package/settings-drafts.js +119 -0
- package/settings-drafts.js.map +1 -0
- package/settings-drafts.ts +136 -0
- package/shared-browser.js +61 -0
- package/shared-browser.js.map +1 -0
- package/shared-browser.ts +77 -0
- package/shared-view.js +29 -0
- package/shared-view.js.map +1 -0
- package/shared-view.ts +47 -0
- package/side-browser.js +164 -0
- package/side-browser.js.map +1 -0
- package/side-browser.ts +201 -0
- package/side-parts.js +258 -0
- package/side-parts.js.map +1 -0
- package/side-parts.ts +447 -0
- package/side-rows.js +64 -0
- package/side-rows.js.map +1 -0
- package/side-rows.ts +104 -0
- package/signed-in.js +37 -0
- package/signed-in.js.map +1 -0
- package/signed-in.ts +45 -0
- package/site-assets.js +8 -0
- package/site-assets.js.map +1 -0
- package/site-assets.ts +25 -0
- package/site-header.js +65 -0
- package/site-header.js.map +1 -0
- package/site-header.ts +71 -0
- package/site-nav.js +75 -0
- package/site-nav.js.map +1 -0
- package/site-nav.ts +82 -0
- package/site-validation.js +37 -0
- package/site-validation.js.map +1 -0
- package/site-validation.ts +47 -0
- package/space-apps-browser.js +107 -0
- package/space-apps-browser.js.map +1 -0
- package/space-apps-browser.ts +128 -0
- package/space-apps-view.js +222 -0
- package/space-apps-view.js.map +1 -0
- package/space-apps-view.ts +396 -0
- package/space-apps.js +88 -0
- package/space-apps.js.map +1 -0
- package/space-apps.ts +143 -0
- package/space-logo.js +82 -0
- package/space-logo.js.map +1 -0
- package/space-logo.ts +112 -0
- package/space-pages-browser.js +474 -0
- package/space-pages-browser.js.map +1 -0
- package/space-pages-browser.ts +463 -0
- package/space-pages-view.js +212 -0
- package/space-pages-view.js.map +1 -0
- package/space-pages-view.ts +460 -0
- package/space-pages.js +193 -0
- package/space-pages.js.map +1 -0
- package/space-pages.ts +282 -0
- package/space-switch.js +36 -0
- package/space-switch.js.map +1 -0
- package/space-switch.ts +64 -0
- package/splash.js +510 -0
- package/splash.js.map +1 -0
- package/splash.ts +525 -0
- package/standing.js +409 -0
- package/standing.js.map +1 -0
- package/standing.ts +746 -0
- package/still.js +63 -0
- package/still.js.map +1 -0
- package/still.ts +95 -0
- package/store-listing.js +107 -0
- package/store-listing.js.map +1 -0
- package/store-listing.ts +133 -0
- package/store-wake.js +65 -0
- package/store-wake.js.map +1 -0
- package/store-wake.ts +101 -0
- package/stream-posters.js +177 -0
- package/stream-posters.js.map +1 -0
- package/stream-posters.ts +297 -0
- package/support-contract-service.js +219 -0
- package/support-contract-service.js.map +1 -0
- package/support-contract-service.ts +307 -0
- package/support-contract-view.js +155 -0
- package/support-contract-view.js.map +1 -0
- package/support-contract-view.ts +265 -0
- package/support-contract.js +114 -0
- package/support-contract.js.map +1 -0
- package/support-contract.ts +157 -0
- package/sweep-vocab.js +10 -0
- package/sweep-vocab.js.map +1 -0
- package/sweep-vocab.ts +9 -0
- package/talk-views-browser.js +208 -0
- package/talk-views-browser.js.map +1 -0
- package/talk-views-browser.ts +232 -0
- package/talk-views.js +36 -0
- package/talk-views.js.map +1 -0
- package/talk-views.ts +64 -0
- package/task-rows.js +86 -0
- package/task-rows.js.map +1 -0
- package/task-rows.ts +96 -0
- package/tasks-view.js +111 -0
- package/tasks-view.js.map +1 -0
- package/tasks-view.ts +176 -0
- package/toast.ts +17 -0
- package/trash-graph.js +41 -0
- package/trash-graph.js.map +1 -0
- package/trash-graph.ts +27 -0
- package/trash-vocab.js +8 -0
- package/trash-vocab.js.map +1 -0
- package/trash-vocab.ts +4 -0
- package/trial.js +325 -0
- package/trial.js.map +1 -0
- package/trial.ts +451 -0
- package/update-rows.js +77 -0
- package/update-rows.js.map +1 -0
- package/update-rows.ts +171 -0
- package/update-waiting.js +131 -0
- package/update-waiting.js.map +1 -0
- package/update-waiting.ts +133 -0
- package/updates-browser.js +28 -0
- package/updates-browser.js.map +1 -0
- package/updates-browser.ts +33 -0
- package/updates-day-browser.js +77 -0
- package/updates-day-browser.js.map +1 -0
- package/updates-day-browser.ts +84 -0
- package/updates-day.js +60 -0
- package/updates-day.js.map +1 -0
- package/updates-day.ts +94 -0
- package/updates-list-browser.js +175 -0
- package/updates-list-browser.js.map +1 -0
- package/updates-list-browser.ts +198 -0
- package/updates-view.js +546 -0
- package/updates-view.js.map +1 -0
- package/updates-view.ts +814 -0
- package/upload-client-path.js +5 -0
- package/upload-client-path.js.map +1 -0
- package/upload-client-path.ts +4 -0
- package/uploads.js +290 -0
- package/uploads.js.map +1 -0
- package/uploads.ts +334 -0
- package/upstream.js +40 -0
- package/upstream.js.map +1 -0
- package/upstream.ts +57 -0
- package/version-view.js +57 -0
- package/version-view.js.map +1 -0
- package/version-view.ts +99 -0
- package/versions.js +231 -0
- package/versions.js.map +1 -0
- package/versions.ts +367 -0
- package/visit-counts.js +123 -0
- package/visit-counts.js.map +1 -0
- package/visit-counts.ts +162 -0
- package/visitor-location.js +33 -0
- package/visitor-location.js.map +1 -0
- package/visitor-location.ts +38 -0
- package/visitor.js +152 -0
- package/visitor.js.map +1 -0
- package/visitor.ts +228 -0
- package/visits-browser.js +71 -0
- package/visits-browser.js.map +1 -0
- package/visits-browser.ts +87 -0
- package/visits-view.js +88 -0
- package/visits-view.js.map +1 -0
- package/visits-view.ts +184 -0
- package/visits.js +428 -0
- package/visits.js.map +1 -0
- package/visits.ts +561 -0
- package/vocab/account.vocab.json +349 -0
- package/vocab/agents.vocab.json +64 -0
- package/vocab/app-canvas.vocab.json +137 -0
- package/vocab/app-friends.vocab.json +71 -0
- package/vocab/app-permissions.vocab.json +46 -0
- package/vocab/apps.vocab.json +553 -0
- package/vocab/attribution.vocab.json +32 -0
- package/vocab/builder-install.vocab.json +10 -0
- package/vocab/connections.vocab.json +128 -0
- package/vocab/dashboard.vocab.json +148 -0
- package/vocab/directory.vocab.json +2445 -0
- package/vocab/exception.vocab.json +18 -0
- package/vocab/fundraising.vocab.json +284 -0
- package/vocab/gmail-mailbox.vocab.json +73 -0
- package/vocab/kernel.vocab.json +420 -0
- package/vocab/mcp-retirement.vocab.json +66 -0
- package/vocab/meter.vocab.json +230 -0
- package/vocab/models-install.vocab.json +10 -0
- package/vocab/notices.vocab.json +88 -0
- package/vocab/operator-drafts.vocab.json +19 -0
- package/vocab/operator-matches.vocab.json +85 -0
- package/vocab/operator-settings.vocab.json +127 -0
- package/vocab/operator-talk.vocab.json +92 -0
- package/vocab/operator.vocab.json +1314 -0
- package/vocab/outreach.vocab.json +141 -0
- package/vocab/pages.vocab.json +38 -0
- package/vocab/payment.vocab.json +271 -0
- package/vocab/people.vocab.json +337 -0
- package/vocab/presence.vocab.json +19 -0
- package/vocab/preview.vocab.json +66 -0
- package/vocab/referenced.vocab.json +17 -0
- package/vocab/referral.vocab.json +272 -0
- package/vocab/refusals.vocab.json +16 -0
- package/vocab/registration.vocab.json +17 -0
- package/vocab/serving.vocab.json +103 -0
- package/vocab/side.vocab.json +97 -0
- package/vocab/space-apps.vocab.json +137 -0
- package/vocab/space-pages.vocab.json +416 -0
- package/vocab/sweep-install.vocab.json +10 -0
- package/vocab/sweep.vocab.json +125 -0
- package/vocab/trash.vocab.json +19 -0
- package/vocab/update.vocab.json +53 -0
- package/vocab/upload.vocab.json +69 -0
- package/vocab/use.vocab.json +93 -0
- package/vocab/visits.vocab.json +143 -0
- package/vocab/waiting.vocab.json +29 -0
- package/vocab.js +16 -0
- package/vocab.js.map +1 -0
- package/vocab.json +1703 -0
- package/vocab.ts +17 -0
- package/weigh-graph.js +12 -0
- package/weigh-graph.js.map +1 -0
- package/weigh-graph.ts +9 -0
- package/wire-news.js +30 -0
- package/wire-news.js.map +1 -0
- package/wire-news.ts +30 -0
- package/work-standing.js +64 -0
- package/work-standing.js.map +1 -0
- package/work-standing.ts +44 -0
- package/woven.js +435 -0
- package/woven.js.map +1 -0
- package/woven.ts +649 -0
- package/wrap-graph.js +17 -0
- package/wrap-graph.js.map +1 -0
- package/wrap-graph.ts +15 -0
- package/write-owner.js +11 -0
- package/write-owner.js.map +1 -0
- package/write-owner.ts +24 -0
package/vocab.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// The component declarations, and nothing else: the module a server or a
|
|
2
|
+
// browser page imports at `@yaks/platform/vocab`. It reaches no storage, no SQL
|
|
3
|
+
// and no runtime, so a browser tab loading this vocabulary loads nothing else.
|
|
4
|
+
|
|
5
|
+
import type { VocabDoc } from 'jsr:@yaks/vocab@0.2.36'
|
|
6
|
+
import doc from './vocab.json' with { type: 'json' }
|
|
7
|
+
import manifest from './package.json' with { type: 'json' }
|
|
8
|
+
|
|
9
|
+
/** The platform vocabulary, in the form `loadVocab` accepts. */
|
|
10
|
+
export let platformDoc: VocabDoc = doc as VocabDoc
|
|
11
|
+
|
|
12
|
+
/** What this package is: its manifest's description, the one place it is
|
|
13
|
+
* written, which a host stamps on each document here. */
|
|
14
|
+
export let description: string = manifest.description
|
|
15
|
+
|
|
16
|
+
/** Every document this plugin declares. */
|
|
17
|
+
export let docs: VocabDoc[] = [platformDoc]
|
package/weigh-graph.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// What an app holds, told to the directory once a write has committed
|
|
2
|
+
// (graph.ts `#tell`). The platform's own two stores are not apps and are not
|
|
3
|
+
// metered.
|
|
4
|
+
export let plugins = (_host, { store })=>[
|
|
5
|
+
{
|
|
6
|
+
name: 'yak/weigh',
|
|
7
|
+
hooks: {
|
|
8
|
+
effect: store.weigh
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
];
|
|
12
|
+
//# sourceMappingURL=weigh-graph.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weigh-graph.js","sources":["./weigh-graph.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,6EAA6E;AAC7E,WAAW;AAIX,OAAO,IAAI,UAAU,CAAC,OAAgB,EAAE,KAAK,EAAW,GAAe;IACrE;MAAE,MAAM;MAAa,OAAO;QAAE,QAAQ,MAAM,KAAK;MAAC;IAAE;GACrD,CAAA"}
|
package/weigh-graph.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// What an app holds, told to the directory once a write has committed
|
|
2
|
+
// (graph.ts `#tell`). The platform's own two stores are not apps and are not
|
|
3
|
+
// metered.
|
|
4
|
+
import type { Plugin } from 'jsr:@yaks/graph@0.2.36'
|
|
5
|
+
import type { Options } from './lent.ts'
|
|
6
|
+
|
|
7
|
+
export let plugins = (_host: unknown, { store }: Options): Plugin[] => [
|
|
8
|
+
{ name: 'yak/weigh', hooks: { effect: store.weigh } },
|
|
9
|
+
]
|
package/wire-news.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** One person's resumable MCP notification log and its recent receipts. */ let DEEP = 8;
|
|
2
|
+
let RECEIPTS = 128;
|
|
3
|
+
/** A notification and its receipt land together in one storage write. */ export let appendNews = (news, frame, key)=>{
|
|
4
|
+
let seen = key && news.receipts?.find((receipt)=>receipt.key == key);
|
|
5
|
+
if (seen) return {
|
|
6
|
+
id: seen.id
|
|
7
|
+
};
|
|
8
|
+
let id = news.seq + 1;
|
|
9
|
+
return {
|
|
10
|
+
id,
|
|
11
|
+
next: {
|
|
12
|
+
seq: id,
|
|
13
|
+
lines: [
|
|
14
|
+
...news.lines,
|
|
15
|
+
{
|
|
16
|
+
id,
|
|
17
|
+
frame: frame(id)
|
|
18
|
+
}
|
|
19
|
+
].slice(-DEEP),
|
|
20
|
+
receipts: key ? [
|
|
21
|
+
...news.receipts ?? [],
|
|
22
|
+
{
|
|
23
|
+
key,
|
|
24
|
+
id
|
|
25
|
+
}
|
|
26
|
+
].slice(-RECEIPTS) : news.receipts
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=wire-news.js.map
|
package/wire-news.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wire-news.js","sources":["./wire-news.ts"],"names":[],"mappings":"AAAA,yEAAyE,GAOzE,IAAI,OAAO;AACX,IAAI,WAAW;AAEf,uEAAuE,GACvE,OAAO,IAAI,aAAa,CACtB,MACA,OACA;EAEA,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,KAAK,CAAC,UAAY,QAAQ,GAAG,IAAI;EAClE,IAAI,MAAM,OAAO;IAAE,IAAI,KAAK,EAAE;EAAC;EAC/B,IAAI,KAAK,KAAK,GAAG,GAAG;EACpB,OAAO;IACL;IACA,MAAM;MACJ,KAAK;MACL,OAAO;WAAI,KAAK,KAAK;QAAE;UAAE;UAAI,OAAO,MAAM;QAAI;OAAE,CAAC,KAAK,CAAC,CAAC;MACxD,UAAU,MACN;WAAI,KAAK,QAAQ,IAAI,EAAE;QAAE;UAAE;UAAK;QAAG;OAAE,CAAC,KAAK,CAAC,CAAC,YAC7C,KAAK,QAAQ;IACnB;EACF;AACF,EAAC"}
|
package/wire-news.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** One person's resumable MCP notification log and its recent receipts. */
|
|
2
|
+
export type News = {
|
|
3
|
+
seq: number
|
|
4
|
+
lines: { id: number; frame: string }[]
|
|
5
|
+
receipts?: { key: string; id: number }[]
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
let DEEP = 8
|
|
9
|
+
let RECEIPTS = 128
|
|
10
|
+
|
|
11
|
+
/** A notification and its receipt land together in one storage write. */
|
|
12
|
+
export let appendNews = (
|
|
13
|
+
news: News,
|
|
14
|
+
frame: (id: number) => string,
|
|
15
|
+
key?: string,
|
|
16
|
+
): { id: number; next?: News } => {
|
|
17
|
+
let seen = key && news.receipts?.find((receipt) => receipt.key == key)
|
|
18
|
+
if (seen) return { id: seen.id }
|
|
19
|
+
let id = news.seq + 1
|
|
20
|
+
return {
|
|
21
|
+
id,
|
|
22
|
+
next: {
|
|
23
|
+
seq: id,
|
|
24
|
+
lines: [...news.lines, { id, frame: frame(id) }].slice(-DEEP),
|
|
25
|
+
receipts: key
|
|
26
|
+
? [...news.receipts ?? [], { key, id }].slice(-RECEIPTS)
|
|
27
|
+
: news.receipts,
|
|
28
|
+
},
|
|
29
|
+
}
|
|
30
|
+
}
|
package/work-standing.js
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/** How a piece of the Operator's work stands, wherever it is drawn: the
|
|
2
|
+
* aside's helpers (workers/yak operator-aside.ts), the Activity list beside
|
|
3
|
+
* the chat (./operator-activity-view.ts), and a call's voice. A word for it,
|
|
4
|
+
* the tone a summary's dot wears, and the kit's `Dot` whose shape says it.
|
|
5
|
+
* @module
|
|
6
|
+
*/ /* @ts-types="npm:@types/react@19.3.0" */ import { createElement as h } from "react";
|
|
7
|
+
import { Dot } from "@yaks/ui/parts";
|
|
8
|
+
let WORD = {
|
|
9
|
+
running: [
|
|
10
|
+
'Running',
|
|
11
|
+
[
|
|
12
|
+
'pulse',
|
|
13
|
+
'active'
|
|
14
|
+
]
|
|
15
|
+
],
|
|
16
|
+
waiting: [
|
|
17
|
+
'Waiting',
|
|
18
|
+
'caution'
|
|
19
|
+
],
|
|
20
|
+
done: [
|
|
21
|
+
'Done',
|
|
22
|
+
'positive'
|
|
23
|
+
],
|
|
24
|
+
failed: [
|
|
25
|
+
'Failed',
|
|
26
|
+
'negative'
|
|
27
|
+
],
|
|
28
|
+
stopped: [
|
|
29
|
+
'Stopped'
|
|
30
|
+
]
|
|
31
|
+
};
|
|
32
|
+
// How each stands beside its title: a pip whose shape says it.
|
|
33
|
+
let MARK = {
|
|
34
|
+
running: [
|
|
35
|
+
'pulse',
|
|
36
|
+
'active'
|
|
37
|
+
],
|
|
38
|
+
waiting: [
|
|
39
|
+
'ring',
|
|
40
|
+
'caution'
|
|
41
|
+
],
|
|
42
|
+
done: [
|
|
43
|
+
'check',
|
|
44
|
+
'positive'
|
|
45
|
+
],
|
|
46
|
+
failed: [
|
|
47
|
+
'cross',
|
|
48
|
+
'negative'
|
|
49
|
+
],
|
|
50
|
+
stopped: [
|
|
51
|
+
'dashed'
|
|
52
|
+
]
|
|
53
|
+
};
|
|
54
|
+
/** Whether a piece of work is still at it. */ export let going = ({ standing })=>standing == 'running' || standing == 'waiting';
|
|
55
|
+
/** How a piece of work stands as a summary's dot: its word's tone, what is
|
|
56
|
+
* at work breathing. */ export let tone = (standing)=>WORD[standing][1];
|
|
57
|
+
/** How a piece of work stands, in a word, wherever it is said. */ export let word = (standing)=>WORD[standing][0];
|
|
58
|
+
/** How a piece of work stands as a pip beside its title, whose shape says
|
|
59
|
+
* it, and its word to a screen reader. */ export let Mark = ({ standing })=>/*#__PURE__*/ h(Dot, {
|
|
60
|
+
mod: MARK[standing],
|
|
61
|
+
role: 'img',
|
|
62
|
+
'aria-label': word(standing)
|
|
63
|
+
});
|
|
64
|
+
//# sourceMappingURL=work-standing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"work-standing.js","sources":["./work-standing.ts"],"names":[],"mappings":"AAAA;;;;;CAKC,GACD,uCAAuC,GAAG,SAAS,iBAAiB,CAAC,gBAA0B;AAC/F,SAAS,GAAG,8BAAmC;AAK/C,IAAI,OAAyD;EAC3D,SAAS;IAAC;IAAW;MAAC;MAAS;KAAS;GAAC;EACzC,SAAS;IAAC;IAAW;GAAU;EAC/B,MAAM;IAAC;IAAQ;GAAW;EAC1B,QAAQ;IAAC;IAAU;GAAW;EAC9B,SAAS;IAAC;GAAU;AACtB;AAEA,+DAA+D;AAC/D,IAAI,OAAmC;EACrC,SAAS;IAAC;IAAS;GAAS;EAC5B,SAAS;IAAC;IAAQ;GAAU;EAC5B,MAAM;IAAC;IAAS;GAAW;EAC3B,QAAQ;IAAC;IAAS;GAAW;EAC7B,SAAS;IAAC;GAAS;AACrB;AAEA,4CAA4C,GAC5C,OAAO,IAAI,QAAQ,CAAC,EAAE,QAAQ,EAA2B,GACvD,YAAY,aAAa,YAAY,UAAS;AAEhD;sBACsB,GACtB,OAAO,IAAI,OAAO,CAAC,WAAuB,IAAI,CAAC,SAAS,CAAC,EAAE,CAAA;AAE3D,gEAAgE,GAChE,OAAO,IAAI,OAAO,CAAC,WAAuB,IAAI,CAAC,SAAS,CAAC,EAAE,CAAA;AAE3D;wCACwC,GACxC,OAAO,IAAI,OAAO,CAAC,EAAE,QAAQ,EAA0B,iBACrD,EAAE,KAAK;IAAE,KAAK,IAAI,CAAC,SAAS;IAAE,MAAM;IAAO,cAAc,KAAK;EAAU,GAAE"}
|
package/work-standing.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** How a piece of the Operator's work stands, wherever it is drawn: the
|
|
2
|
+
* aside's helpers (workers/yak operator-aside.ts), the Activity list beside
|
|
3
|
+
* the chat (./operator-activity-view.ts), and a call's voice. A word for it,
|
|
4
|
+
* the tone a summary's dot wears, and the kit's `Dot` whose shape says it.
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
/* @ts-types="npm:@types/react@19.3.0" */ import { createElement as h } from 'react'
|
|
8
|
+
import { Dot } from '@yaks/ui/parts'
|
|
9
|
+
|
|
10
|
+
/** How a piece of work stands. */
|
|
11
|
+
export type Standing = 'running' | 'waiting' | 'done' | 'failed' | 'stopped'
|
|
12
|
+
|
|
13
|
+
let WORD: Record<Standing, [string, (string | string[])?]> = {
|
|
14
|
+
running: ['Running', ['pulse', 'active']],
|
|
15
|
+
waiting: ['Waiting', 'caution'],
|
|
16
|
+
done: ['Done', 'positive'],
|
|
17
|
+
failed: ['Failed', 'negative'],
|
|
18
|
+
stopped: ['Stopped'],
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// How each stands beside its title: a pip whose shape says it.
|
|
22
|
+
let MARK: Record<Standing, string[]> = {
|
|
23
|
+
running: ['pulse', 'active'],
|
|
24
|
+
waiting: ['ring', 'caution'],
|
|
25
|
+
done: ['check', 'positive'],
|
|
26
|
+
failed: ['cross', 'negative'],
|
|
27
|
+
stopped: ['dashed'],
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/** Whether a piece of work is still at it. */
|
|
31
|
+
export let going = ({ standing }: { standing?: Standing }) =>
|
|
32
|
+
standing == 'running' || standing == 'waiting'
|
|
33
|
+
|
|
34
|
+
/** How a piece of work stands as a summary's dot: its word's tone, what is
|
|
35
|
+
* at work breathing. */
|
|
36
|
+
export let tone = (standing: Standing) => WORD[standing][1]
|
|
37
|
+
|
|
38
|
+
/** How a piece of work stands, in a word, wherever it is said. */
|
|
39
|
+
export let word = (standing: Standing) => WORD[standing][0]
|
|
40
|
+
|
|
41
|
+
/** How a piece of work stands as a pip beside its title, whose shape says
|
|
42
|
+
* it, and its word to a screen reader. */
|
|
43
|
+
export let Mark = ({ standing }: { standing: Standing }) =>
|
|
44
|
+
h(Dot, { mod: MARK[standing], role: 'img', 'aria-label': word(standing) })
|
package/woven.js
ADDED
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
// What a host weaves into an app's page as it serves it, as pure text: the
|
|
2
|
+
// `<base href>` its relative URLs resolve against, the tags a home screen
|
|
3
|
+
// needs and the manifest they link, the platform's own scripts inline with
|
|
4
|
+
// the hashes a page's policy admits them by, and what the badge opens.
|
|
5
|
+
// yaks.app weaves them at its gateway (workers/yak
|
|
6
|
+
// apps.ts `woven`), and the box's `yak/files` facet into the release pages it
|
|
7
|
+
// serves (./files-routes.ts).
|
|
8
|
+
import { holding } from "@yaks/blob";
|
|
9
|
+
import { ICON_PNG } from "./app-icon.js";
|
|
10
|
+
import { installRel, installTags, withoutInstallLinks } from "./install-icons.js";
|
|
11
|
+
import { esc } from "./escape.js";
|
|
12
|
+
import { apex, url } from "./host.js";
|
|
13
|
+
import { free } from "./meter.js";
|
|
14
|
+
import { foreign, MANIFEST, pageAt } from "./routes.js";
|
|
15
|
+
import { ICON_512, splashAt, startupLinks } from "./splash.js";
|
|
16
|
+
/** Where a page resolves its relative URLs from, as anywhere on the web: its
|
|
17
|
+
* own folder under the mount `at`, so about/index.html's `../style.css` is the
|
|
18
|
+
* app's. A route, and the 404 page at any depth, answer with a page at the
|
|
19
|
+
* root, so their base is the mount. An app whose folder pages were written
|
|
20
|
+
* against the root base keeps it (`rooted`). `file` is the path that
|
|
21
|
+
* answered, from the served folder.
|
|
22
|
+
*
|
|
23
|
+
* ```ts
|
|
24
|
+
* import { baseOf } from '@yaks/platform/woven'
|
|
25
|
+
* import { equal } from '@yaks/testing'
|
|
26
|
+
* equal(baseOf('/cookbook/', 'docs/index.html', false), '/cookbook/docs/')
|
|
27
|
+
* equal(baseOf('/cookbook/', 'about.html', false), '/cookbook/')
|
|
28
|
+
* equal(baseOf('/cookbook/', '404.html', false), '/cookbook/')
|
|
29
|
+
* equal(baseOf('/cookbook/', 'admin/index.html', true), '/cookbook/')
|
|
30
|
+
* ```
|
|
31
|
+
*/ export let baseOf = (at, file, rooted)=>at + (rooted ? '' : file.slice(0, file.lastIndexOf('/') + 1));
|
|
32
|
+
/** Whether a page carries a `<base href>` of its own. */ export let hasBase = (html)=>/<base[\s>][^>]*\bhref\b/i.test(html);
|
|
33
|
+
/** `tag` where the parser will read it: inside the head if the page has one,
|
|
34
|
+
* else after the doctype, which must stay the document's first thing or the
|
|
35
|
+
* browser reads the whole page in quirks mode. A page with neither gets it in
|
|
36
|
+
* front of everything. The base, the links and the scripts are placed by
|
|
37
|
+
* this one rule. */ export let intoHead = (page, tag)=>{
|
|
38
|
+
let head = /<head[^>]*>/i.exec(page);
|
|
39
|
+
if (head) return page.replace(head[0], `${head[0]}${tag}`);
|
|
40
|
+
let doctype = /^\s*<!doctype[^>]*>/i.exec(page);
|
|
41
|
+
return doctype ? page.replace(doctype[0], `${doctype[0]}${tag}`) : tag + page;
|
|
42
|
+
};
|
|
43
|
+
// An app's own files must not name the app. The code is copied under
|
|
44
|
+
// whatever address the installer took it at (`app_install`), so a page
|
|
45
|
+
// written with `/chores/api/client.js` in it is a 404 the moment the copy
|
|
46
|
+
// lands at `/chore-chart/` — which is how a shared app rendered as bare HTML,
|
|
47
|
+
// no stylesheet and no script, and nothing said so (C-32905 item 1). Every
|
|
48
|
+
// page a host serves is given a `<base href>` at the app's own address
|
|
49
|
+
// instead, so `./api/client.js` and `./style.css` resolve from wherever the
|
|
50
|
+
// page is opened, pretty paths included. An absolute `/<app>/…` a page
|
|
51
|
+
// already carries is untouched — a base moves relative URLs only.
|
|
52
|
+
//
|
|
53
|
+
// A page carrying its own `<base>` keeps it, and is given none: the first in
|
|
54
|
+
// tree order is the document's, and an author who wrote one meant it.
|
|
55
|
+
// yaks.app's declared.ts hands a view to an MCP host by the same rule, at
|
|
56
|
+
// that app's absolute address.
|
|
57
|
+
/** `page` with its base at `href`, unless it names its own. */ export let based = (href, page)=>hasBase(page) ? page : intoHead(page, `<base href="${href}">`);
|
|
58
|
+
// Whether the page already names a tag — one token of the attribute that
|
|
59
|
+
// says what it IS, so `rel="shortcut icon"` and `rel="apple-touch-icon-
|
|
60
|
+
// precomposed"` both count as the author having answered, and a `<meta
|
|
61
|
+
// name="theme-color">` is asked the same way a `<link rel="manifest">` is:
|
|
62
|
+
// one test, parameterised on the tag and the attribute that names it.
|
|
63
|
+
let declares = (page, tag, attr, value)=>new RegExp(`<${tag}\\b[^>]*\\b${attr}\\s*=\\s*['"]?[^'">]*\\b${value}\\b`, 'i').test(page);
|
|
64
|
+
export { PLATFORM_BACKGROUND, PLATFORM_DARK_BACKGROUND } from "./opening.js";
|
|
65
|
+
// Stored colours also arrive through graph_apply. Only insert values safe
|
|
66
|
+
// for both CSS and an HTML attribute.
|
|
67
|
+
let CSS_COLOR = /^[#a-zA-Z0-9(),.%\s-]{1,64}$/;
|
|
68
|
+
let safeColor = (v)=>v && CSS_COLOR.test(v) ? v : undefined;
|
|
69
|
+
/** Colours resolved by the installing page's browser, encoded as sRGB. */ export let paintedColors = (url)=>{
|
|
70
|
+
let color = (name)=>{
|
|
71
|
+
let value = url.searchParams.get(name);
|
|
72
|
+
return value && /^[a-f0-9]{6}$/i.test(value) ? '#' + value : null;
|
|
73
|
+
};
|
|
74
|
+
return {
|
|
75
|
+
backgroundColor: color('background_color'),
|
|
76
|
+
themeColor: color('theme_color')
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
// The tags an app added to a home screen needs, and almost no app writes
|
|
80
|
+
// (T-34493, T-33055). iOS takes its icon from `<link rel="apple-touch-icon">`
|
|
81
|
+
// and nowhere else — Apple's *Configuring Web Applications*: a page names
|
|
82
|
+
// its icon there, 180×180 for current displays, `sizes` only when it offers
|
|
83
|
+
// several, and the smallest icon larger than the device wants is the one
|
|
84
|
+
// scaled, so one square file serves every device. Every other platform reads
|
|
85
|
+
// the manifest's `icons` instead, at the address the manifest link names.
|
|
86
|
+
// `mobile-web-app-capable` is the standard word for the same (Chrome warns
|
|
87
|
+
// on the Apple one alone), and the Apple one stays for iOS Safari.
|
|
88
|
+
// `apple-mobile-web-app-capable` is what makes iOS open the page as a window
|
|
89
|
+
// rather than a browser tab at all, and `apple-mobile-web-app-status-bar-
|
|
90
|
+
// style` is the one Apple still reads past `theme-color` for its own status
|
|
91
|
+
// bar. A page written here has none of it unless its agent thought of all
|
|
92
|
+
// five, so an app somebody kept on their phone came out blank or grey —
|
|
93
|
+
// owner, 2026-09-06: "the app's PWAs aren't getting icons (i tested iOS),
|
|
94
|
+
// even when the site itself has an image icon."
|
|
95
|
+
//
|
|
96
|
+
// So a page is given every tag it did not write, at the app's own root: the
|
|
97
|
+
// icon, the manifest (`MANIFEST`, `manifesting` below), the chrome colour,
|
|
98
|
+
// and the two Apple words. Each is decided on its own — a page naming one
|
|
99
|
+
// gets the other four still — and what the page declares is never touched,
|
|
100
|
+
// because a second answer beside the author's own is a second answer to a
|
|
101
|
+
// question they already answered. The one exception is how the browser
|
|
102
|
+
// fetches a manifest (`credentialed` below), which no author chose.
|
|
103
|
+
//
|
|
104
|
+
// The hrefs are absolute at the mount, like the reporter's, rather than
|
|
105
|
+
// relative: a page carrying its own `<base>` keeps it (`based` above), and a
|
|
106
|
+
// relative `icon.png` would then resolve against the author's base instead of
|
|
107
|
+
// against the app.
|
|
108
|
+
/** `page` mounted at `at` with the home-screen tags it did not write, in
|
|
109
|
+
* `app`'s colours; its manifest fetched with the person's `cookies`, which a
|
|
110
|
+
* store that answers anyone has no need of. */ export let pinned = (at, page, app, cookies = true, // The icon's address, named by what draws it where the caller knows
|
|
111
|
+
// (@yaks/platform/routes `iconAt`), so a browser keeps it.
|
|
112
|
+
icon = `${at}icon.png`, hosted)=>{
|
|
113
|
+
if (hosted) page = withoutInstallLinks(page);
|
|
114
|
+
let tags = pinTags(at, (tag, attr, value)=>declares(page, tag, attr, value), app, cookies, icon, hosted);
|
|
115
|
+
let pinned = tags ? intoHead(page, tags) : page;
|
|
116
|
+
return hosted ? pinned : credentialed(pinned, cookies);
|
|
117
|
+
};
|
|
118
|
+
/** The missing install tags, given the declarations the host saw. */ let pinTags = (at, has, app, cookies, icon, hosted)=>{
|
|
119
|
+
let theme = safeColor(app.theme?.themeColor);
|
|
120
|
+
let links = hosted ? installTags(hosted.at, hosted.version, cookies) : (has('link', 'rel', 'apple-touch-icon') ? '' : `<link rel="apple-touch-icon" href="${icon}">`) + (has('link', 'rel', 'manifest') ? '' : `<link rel="manifest" href="${at}${MANIFEST}" ` + `crossorigin="${cookies ? 'use-credentials' : 'anonymous'}" data-yak-manifest>`);
|
|
121
|
+
return links + (has('meta', 'name', 'theme-color') ? '' : theme ? `<meta name="theme-color" content="${theme}">` : '<meta data-yak-theme-color>') + (has('meta', 'name', 'mobile-web-app-capable') ? '' : '<meta name="mobile-web-app-capable" content="yes">') + (has('meta', 'name', 'apple-mobile-web-app-capable') ? '' : '<meta name="apple-mobile-web-app-capable" content="yes">') + (has('meta', 'name', 'apple-mobile-web-app-status-bar-style') ? '' : '<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">') + (!app.splash || has('link', 'rel', 'apple-touch-startup-image') ? '' : startupLinks(at, app.splash));
|
|
122
|
+
};
|
|
123
|
+
// A browser fetches the manifest a page links without the person's cookies
|
|
124
|
+
// unless the link says `crossorigin="use-credentials"`, and the door of an
|
|
125
|
+
// app that is not public answers nobody without them: it sends the fetch to
|
|
126
|
+
// sign in, on the platform's own origin, where it fails. So every manifest
|
|
127
|
+
// link on the app's own origin is given that attribute, the platform's and
|
|
128
|
+
// the author's alike, and on a public app it costs nothing. A link naming a
|
|
129
|
+
// `crossorigin` of its own keeps it, and one to another origin is left as
|
|
130
|
+
// written, since that origin admits credentials only if it says so.
|
|
131
|
+
let elsewhere = /^\s*(?:[a-z][a-z\d+.-]*:|\/\/)/i;
|
|
132
|
+
let manifestHere = (href)=>!elsewhere.test(href);
|
|
133
|
+
let hrefOf = (tag)=>/\shref\s*=\s*(?:"([^"]*)"|'([^']*)'|([^\s>]+))/i.exec(tag)?.slice(1).find((v)=>v != null) ?? '';
|
|
134
|
+
let credentialed = (page, cookies)=>page.replace(/<link\b[^>]*>/gi, (tag)=>declares(tag, 'link', 'rel', 'manifest') && !/\scrossorigin\b/i.test(tag) && manifestHere(hrefOf(tag)) ? tag.replace(/^<link/i, `<link crossorigin="${cookies ? 'use-credentials' : 'anonymous'}"`) : tag);
|
|
135
|
+
/** What an app's manifest says when the app wrote none: its name, its own
|
|
136
|
+
* root as the scope a standalone window stays inside, the icon at the two
|
|
137
|
+
* sizes an installer looks for, and the colours saved by the app or read
|
|
138
|
+
* from its page. The icon at 512 is the one drawn at that size with its
|
|
139
|
+
* splash, which Android's splash is made from, else the same file at both. */ export let manifesting = (app, at, icon = `${at}icon.png`, painted)=>({
|
|
140
|
+
name: app.title || app.slug,
|
|
141
|
+
short_name: app.title || app.slug,
|
|
142
|
+
start_url: at,
|
|
143
|
+
scope: at,
|
|
144
|
+
display: 'standalone',
|
|
145
|
+
...manifestColors(app, painted),
|
|
146
|
+
icons: [
|
|
147
|
+
'512x512',
|
|
148
|
+
'192x192'
|
|
149
|
+
].map((sizes)=>({
|
|
150
|
+
src: sizes == '512x512' && app.splash ? splashAt(at, app.splash.key, ICON_512) : icon,
|
|
151
|
+
type: 'image/png',
|
|
152
|
+
sizes
|
|
153
|
+
}))
|
|
154
|
+
});
|
|
155
|
+
/** Ask for the start page when a worker leaves an install asset to the host. */ export let installStart = (req, path)=>{
|
|
156
|
+
if (path != `/${ICON_PNG}` && path != `/${MANIFEST}`) return null;
|
|
157
|
+
if (req.method != 'GET' && req.method != 'HEAD') return null;
|
|
158
|
+
let headers = new Headers(req.headers);
|
|
159
|
+
for (let name of [
|
|
160
|
+
'if-match',
|
|
161
|
+
'if-modified-since',
|
|
162
|
+
'if-none-match',
|
|
163
|
+
'if-range',
|
|
164
|
+
'if-unmodified-since',
|
|
165
|
+
'range'
|
|
166
|
+
])headers.delete(name);
|
|
167
|
+
headers.set('accept', 'text/html');
|
|
168
|
+
headers.set('sec-fetch-dest', 'document');
|
|
169
|
+
headers.set('sec-fetch-mode', 'navigate');
|
|
170
|
+
return new Request(new URL('.', req.url), {
|
|
171
|
+
headers,
|
|
172
|
+
signal: req.signal
|
|
173
|
+
});
|
|
174
|
+
};
|
|
175
|
+
/** Defaults for the colour fields a manifest leaves out. */ export let manifestColors = (app, painted)=>({
|
|
176
|
+
background_color: safeColor(app.theme?.backgroundColor) ?? painted?.backgroundColor ?? undefined,
|
|
177
|
+
theme_color: safeColor(app.theme?.themeColor) ?? painted?.themeColor ?? undefined
|
|
178
|
+
});
|
|
179
|
+
// A page that uses the platform's manifest link can ship manifest fields of
|
|
180
|
+
// its own. Use the painted colours only for the fields its file omits.
|
|
181
|
+
export let paintedManifest = async (req, page, app)=>{
|
|
182
|
+
let painted = paintedColors(new URL(req.url));
|
|
183
|
+
if (!painted.backgroundColor && !painted.themeColor || page.status != 200 || !page.body) return page;
|
|
184
|
+
let contents = await holding({
|
|
185
|
+
stream: page.body
|
|
186
|
+
}, 64 * 1024);
|
|
187
|
+
if (!(contents instanceof Uint8Array)) {
|
|
188
|
+
return new Response(contents.stream, page);
|
|
189
|
+
}
|
|
190
|
+
let original = new Response(contents, page);
|
|
191
|
+
let value;
|
|
192
|
+
try {
|
|
193
|
+
value = JSON.parse(new TextDecoder().decode(contents));
|
|
194
|
+
} catch {
|
|
195
|
+
return original;
|
|
196
|
+
}
|
|
197
|
+
if (!value || typeof value != 'object' || Array.isArray(value)) {
|
|
198
|
+
return original;
|
|
199
|
+
}
|
|
200
|
+
let defaults = Object.entries(manifestColors(app, painted)).filter(([key, color])=>color && !Object.hasOwn(value, key));
|
|
201
|
+
if (!defaults.length) return original;
|
|
202
|
+
let body = JSON.stringify({
|
|
203
|
+
...value,
|
|
204
|
+
...Object.fromEntries(defaults)
|
|
205
|
+
});
|
|
206
|
+
let headers = new Headers(page.headers);
|
|
207
|
+
for (let name of [
|
|
208
|
+
'content-length',
|
|
209
|
+
'content-encoding',
|
|
210
|
+
'etag'
|
|
211
|
+
]){
|
|
212
|
+
headers.delete(name);
|
|
213
|
+
}
|
|
214
|
+
return new Response(body, {
|
|
215
|
+
headers
|
|
216
|
+
});
|
|
217
|
+
};
|
|
218
|
+
// Worker pages can stream. Collect declarations while the head passes and
|
|
219
|
+
// add the missing tags at its end, before any of the page's body is read.
|
|
220
|
+
export let pinnedPage = (page, at, app, icon, cookies, rewrite, hosted)=>{
|
|
221
|
+
let words = new Set();
|
|
222
|
+
let done = false;
|
|
223
|
+
let tags = ()=>{
|
|
224
|
+
if (done) return '';
|
|
225
|
+
done = true;
|
|
226
|
+
return pinTags(at, (tag, _, value)=>words.has(tag + ':' + value), app, cookies, icon, hosted);
|
|
227
|
+
};
|
|
228
|
+
rewrite.on('link[rel]', {
|
|
229
|
+
element: (link)=>{
|
|
230
|
+
let value = link.getAttribute('rel');
|
|
231
|
+
if (hosted && installRel(value)) {
|
|
232
|
+
link.remove();
|
|
233
|
+
return;
|
|
234
|
+
}
|
|
235
|
+
let rel = value.toLowerCase().split(/\s+/);
|
|
236
|
+
for (let word of rel){
|
|
237
|
+
words.add('link:' + word);
|
|
238
|
+
if (word == 'apple-touch-icon-precomposed') {
|
|
239
|
+
words.add('link:apple-touch-icon');
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
if (rel.includes('manifest') && link.getAttribute('crossorigin') == null && manifestHere(link.getAttribute('href') ?? '')) {
|
|
243
|
+
link.setAttribute('crossorigin', cookies ? 'use-credentials' : 'anonymous');
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}).on('meta[data-yak-theme-color]', {
|
|
247
|
+
element: ()=>words.add('meta:theme-color')
|
|
248
|
+
}).on('meta[name]', {
|
|
249
|
+
element: (el)=>words.add('meta:' + el.getAttribute('name').toLowerCase())
|
|
250
|
+
}).on('head', {
|
|
251
|
+
element: (el)=>el.onEndTag((end)=>end.before(tags(), {
|
|
252
|
+
html: true
|
|
253
|
+
}))
|
|
254
|
+
}).on('body', {
|
|
255
|
+
element: (el)=>el.before(tags(), {
|
|
256
|
+
html: true
|
|
257
|
+
})
|
|
258
|
+
}).onDocument({
|
|
259
|
+
end: (end)=>end.append(tags(), {
|
|
260
|
+
html: true
|
|
261
|
+
})
|
|
262
|
+
});
|
|
263
|
+
let headers = new Headers(page.headers);
|
|
264
|
+
headers.delete('content-length');
|
|
265
|
+
headers.delete('etag');
|
|
266
|
+
return rewrite.transform(new Response(page.body, {
|
|
267
|
+
status: page.status,
|
|
268
|
+
statusText: page.statusText,
|
|
269
|
+
headers
|
|
270
|
+
}));
|
|
271
|
+
};
|
|
272
|
+
/** `source` as a page wears it inline. `</script` inside the text would end
|
|
273
|
+
* the element early; `<\/` is the same string to JavaScript.
|
|
274
|
+
*
|
|
275
|
+
* ```ts
|
|
276
|
+
* import { inline } from '@yaks/platform/woven'
|
|
277
|
+
* import { equal } from '@yaks/testing'
|
|
278
|
+
* equal((await inline('"</script>"')).text, '"<\\/script>"')
|
|
279
|
+
* ```
|
|
280
|
+
*/ export let inline = async (source)=>{
|
|
281
|
+
let text = source.replace(/<\/(script)/gi, '<\\/$1');
|
|
282
|
+
let sum = await crypto.subtle.digest('SHA-256', new TextEncoder().encode(text));
|
|
283
|
+
return {
|
|
284
|
+
text,
|
|
285
|
+
hash: `'sha256-${btoa(String.fromCharCode(...new Uint8Array(sum)))}'`
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
/** The tags a page mounted at `at`, of release `version`, wears for `worn`,
|
|
289
|
+
* each script with the attributes it reads beside the two every one does,
|
|
290
|
+
* and the hashes a policy needs to admit them (`admitted`).
|
|
291
|
+
*
|
|
292
|
+
* ```ts
|
|
293
|
+
* import { inline, tagged } from '@yaks/platform/woven'
|
|
294
|
+
* import { equal } from '@yaks/testing'
|
|
295
|
+
* let s = await inline('go()')
|
|
296
|
+
* equal(
|
|
297
|
+
* tagged('/a/', 3, [[s, { 'data-yak-edit': 'x"y' }]]),
|
|
298
|
+
* {
|
|
299
|
+
* tags: '<script data-yak-at="/a/" data-yak-version="3" ' +
|
|
300
|
+
* 'data-yak-edit="x"y">go()</script>',
|
|
301
|
+
* hashes: [s.hash],
|
|
302
|
+
* },
|
|
303
|
+
* )
|
|
304
|
+
* ```
|
|
305
|
+
*/ export let tagged = (at, version, worn)=>({
|
|
306
|
+
tags: worn.map(([{ text }, attrs = {}])=>`<script ${Object.entries({
|
|
307
|
+
'data-yak-at': at,
|
|
308
|
+
'data-yak-version': String(version),
|
|
309
|
+
...attrs
|
|
310
|
+
}).map(([name, value])=>`${name}="${esc(value)}"`).join(' ')}>${text}</script>`).join(''),
|
|
311
|
+
hashes: worn.map(([{ hash }])=>hash)
|
|
312
|
+
});
|
|
313
|
+
// One directive's sources with the hashes added, unless adding them would
|
|
314
|
+
// change what the author allowed: `'unsafe-inline'` stops counting once a
|
|
315
|
+
// hash is present, and `'none'` means no script at all.
|
|
316
|
+
let admit = (directive, hashes)=>{
|
|
317
|
+
let words = directive.split(/\s+/);
|
|
318
|
+
let inline = words.includes("'unsafe-inline'") && !words.some((w)=>/^'(sha\d+|nonce)-/.test(w));
|
|
319
|
+
return inline || words.includes("'none'") ? directive : [
|
|
320
|
+
...words,
|
|
321
|
+
...hashes
|
|
322
|
+
].join(' ');
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* A page with a Content-Security-Policy of its own may refuse inline scripts,
|
|
326
|
+
* so its policy is given the scripts' hashes, which lets these run and
|
|
327
|
+
* nothing else. Each comma-separated policy is enforced on its own, so each
|
|
328
|
+
* is given the hashes in whichever directive governs a `<script>` element.
|
|
329
|
+
*
|
|
330
|
+
* ```ts
|
|
331
|
+
* import { assertEquals } from '@std/assert'
|
|
332
|
+
* import { admitted } from '@yaks/platform/woven'
|
|
333
|
+
* let h = ["'sha256-a'"]
|
|
334
|
+
* assertEquals(
|
|
335
|
+
* admitted("default-src 'self'; script-src 'self'", h),
|
|
336
|
+
* "default-src 'self'; script-src 'self' 'sha256-a'",
|
|
337
|
+
* )
|
|
338
|
+
* assertEquals(
|
|
339
|
+
* admitted("default-src 'self'", h),
|
|
340
|
+
* "default-src 'self'; script-src 'self' 'sha256-a'",
|
|
341
|
+
* )
|
|
342
|
+
* assertEquals(admitted("img-src 'self'", h), "img-src 'self'")
|
|
343
|
+
* assertEquals(
|
|
344
|
+
* admitted("script-src 'self' 'unsafe-inline'", h),
|
|
345
|
+
* "script-src 'self' 'unsafe-inline'",
|
|
346
|
+
* )
|
|
347
|
+
* assertEquals(
|
|
348
|
+
* admitted("script-src 'none', script-src-elem 'self'", h),
|
|
349
|
+
* "script-src 'none', script-src-elem 'self' 'sha256-a'",
|
|
350
|
+
* )
|
|
351
|
+
* ```
|
|
352
|
+
*/ export let admitted = (policy, hashes)=>!hashes.length ? policy : policy.split(',').map((one)=>{
|
|
353
|
+
let parts = one.split(';').map((d)=>d.trim()).filter(Boolean);
|
|
354
|
+
let named = (name)=>parts.findIndex((d)=>d.split(/\s+/)[0].toLowerCase() == name);
|
|
355
|
+
let at = named('script-src-elem');
|
|
356
|
+
if (at < 0) at = named('script-src');
|
|
357
|
+
if (at >= 0) parts[at] = admit(parts[at], hashes);
|
|
358
|
+
else {
|
|
359
|
+
let fallback = named('default-src');
|
|
360
|
+
if (fallback < 0) return one.trim();
|
|
361
|
+
let copy = parts[fallback].replace(/^\S+/, 'script-src');
|
|
362
|
+
let made = admit(copy, hashes);
|
|
363
|
+
if (made == copy) return one.trim();
|
|
364
|
+
parts.push(made);
|
|
365
|
+
}
|
|
366
|
+
return parts.join('; ');
|
|
367
|
+
}).join(', ');
|
|
368
|
+
let badgeLink = (app, env)=>{
|
|
369
|
+
let to = app.published?.name ? pageAt(app.published.name, env) : url(env, '/');
|
|
370
|
+
return app.eid ? `${to}?app=${encodeURIComponent(app.eid)}` : to;
|
|
371
|
+
};
|
|
372
|
+
/** What the badge on an app's page opens. Apps at yaks.app addresses show
|
|
373
|
+
* it by default. A paid space can hide it. A published app's badge opens its own page on the platform
|
|
374
|
+
* (`pageAt`), where whoever followed it can open the app and make their own
|
|
375
|
+
* copy; an app that is not published opens the platform's front page. The
|
|
376
|
+
* link names the app (`?app=`), so a sign-up it leads to says which app's
|
|
377
|
+
* badge brought them (workers/yak arrival.ts).
|
|
378
|
+
*
|
|
379
|
+
* ```ts
|
|
380
|
+
* import { badgeOf } from '@yaks/platform/woven'
|
|
381
|
+
* import { equal } from '@yaks/testing'
|
|
382
|
+
* let space = { tier: null }
|
|
383
|
+
* equal(badgeOf(space, { published: { name: 'recipes' } }, {}), 'https://yaks.app/apps/recipes')
|
|
384
|
+
* equal(badgeOf(space, {}, {}), 'https://yaks.app/')
|
|
385
|
+
* let eid = '6f1c1b3e-0b5e-4c4a-9d1a-2b8f8c1d7e10'
|
|
386
|
+
* equal(badgeOf(space, { eid }, {}), `https://yaks.app/?app=${eid}`)
|
|
387
|
+
* equal(badgeOf({ tier: 'plus' }, {}, {}), 'https://yaks.app/')
|
|
388
|
+
* equal(badgeOf({ tier: 'plus', badgeHidden: true }, {}, {}), null)
|
|
389
|
+
* ```
|
|
390
|
+
*/ export let badgeOf = (space, app, env, address)=>{
|
|
391
|
+
let host = address && new URL(address).hostname;
|
|
392
|
+
if (host && (host == apex(env) || foreign(host, env))) return null;
|
|
393
|
+
if (!free(space) && space.badgeHidden) return null;
|
|
394
|
+
return badgeLink(app, env);
|
|
395
|
+
};
|
|
396
|
+
/** What a paid space's line "Website by yaks.app" opens, or null where its
|
|
397
|
+
* owner has not turned it on (`byline`) or the space is on the free plan.
|
|
398
|
+
* It opens yaks.app's page for
|
|
399
|
+
* organizations, naming the app (`?app=`), as a badge's link does, so a
|
|
400
|
+
* follow and a sign-up it leads to say which app's line it was.
|
|
401
|
+
*
|
|
402
|
+
* ```ts
|
|
403
|
+
* import { bylineOf } from '@yaks/platform/woven'
|
|
404
|
+
* import { equal } from '@yaks/testing'
|
|
405
|
+
* let eid = '6f1c1b3e-0b5e-4c4a-9d1a-2b8f8c1d7e10'
|
|
406
|
+
* equal(bylineOf({ tier: 'pro', byline: true }, { eid }, {}), `https://yaks.app/organizations?app=${eid}`)
|
|
407
|
+
* equal(bylineOf({ tier: 'pro' }, { eid }, {}), null)
|
|
408
|
+
* equal(bylineOf({ tier: null, byline: true }, { eid }, {}), null)
|
|
409
|
+
* ```
|
|
410
|
+
*/ export let bylineOf = (space, app, env)=>{
|
|
411
|
+
if (free(space) || !space.byline) return null;
|
|
412
|
+
let to = url(env, '/organizations');
|
|
413
|
+
return app.eid ? `${to}?app=${encodeURIComponent(app.eid)}` : to;
|
|
414
|
+
};
|
|
415
|
+
/** The badge, including the identifying label on every site's preview
|
|
416
|
+
* (workers/yak newcomer.ts `previewing`), and the optional paid byline. */ /// badged({ tier: 'plus' }, { preview: { site: 'https://www.bakery.example/' } }, {}) -> { badge: 'https://yaks.app/', preview: 'bakery.example' }
|
|
417
|
+
/// badged({ tier: 'plus' }, {}, {}, 'https://bakery.example/') -> { badge: null }
|
|
418
|
+
/// badged({ tier: 'plus', byline: true }, {}, {}) -> { badge: 'https://yaks.app/', byline: 'https://yaks.app/organizations' }
|
|
419
|
+
export let badged = (space, app, env, address)=>{
|
|
420
|
+
let preview = app.preview ? URL.parse(app.preview.site)?.hostname.replace(/^www\./, '') ?? null : null;
|
|
421
|
+
if (preview) {
|
|
422
|
+
return {
|
|
423
|
+
badge: badgeLink(app, env),
|
|
424
|
+
preview
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
let byline = bylineOf(space, app, env);
|
|
428
|
+
return {
|
|
429
|
+
badge: badgeOf(space, app, env, address),
|
|
430
|
+
...byline ? {
|
|
431
|
+
byline
|
|
432
|
+
} : {}
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
//# sourceMappingURL=woven.js.map
|