@volvel/docs 0.6.0 → 0.7.0

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 (585) hide show
  1. package/THIRD_PARTY_NOTICES.md +21 -3
  2. package/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
  3. package/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
  4. package/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
  5. package/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
  6. package/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
  7. package/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
  8. package/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
  9. package/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
  10. package/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
  11. package/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
  12. package/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
  13. package/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
  14. package/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
  15. package/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
  16. package/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
  17. package/{dist/assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
  18. package/{dist/assets/screenshots/console/app-builder-list.light.85064d6742d4.png → assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
  19. package/{dist/assets/screenshots/console/apps-list.dark.6580be4c6f17.png → assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
  20. package/{dist/assets/screenshots/console/apps-list.light.35ac9711c9a0.png → assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
  21. package/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
  22. package/{dist/assets/screenshots/console/apps-share.light.eddc9c058c37.png → assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
  23. package/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
  24. package/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
  25. package/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
  26. package/{dist/assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
  27. package/{dist/assets/screenshots/console/configure-alerts.light.24608f63f849.png → assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
  28. package/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
  29. package/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
  30. package/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
  31. package/{dist/assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
  32. package/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
  33. package/{dist/assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
  34. package/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
  35. package/{dist/assets/screenshots/console/extensions-list.light.f65bb930d029.png → assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
  36. package/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
  37. package/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
  38. package/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
  39. package/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
  40. package/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
  41. package/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
  42. package/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
  43. package/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
  44. package/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
  45. package/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
  46. package/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
  47. package/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
  48. package/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
  49. package/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
  50. package/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
  51. package/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
  52. package/{dist/assets/screenshots/console/releases-review.light.7f7eea72fc90.png → assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
  53. package/{dist/assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
  54. package/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
  55. package/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
  56. package/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
  57. package/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
  58. package/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
  59. package/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
  60. package/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
  61. package/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
  62. package/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
  63. package/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
  64. package/{dist/assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
  65. package/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
  66. package/{dist/assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
  67. package/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
  68. package/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
  69. package/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
  70. package/assets/screenshots/index.json +94 -94
  71. package/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
  72. package/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
  73. package/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
  74. package/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
  75. package/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
  76. package/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
  77. package/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
  78. package/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
  79. package/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
  80. package/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
  81. package/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
  82. package/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
  83. package/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
  84. package/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
  85. package/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
  86. package/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
  87. package/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
  88. package/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
  89. package/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
  90. package/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
  91. package/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
  92. package/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
  93. package/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
  94. package/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
  95. package/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
  96. package/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
  97. package/content/administer/explanation/sso/how-single-sign-on-works.md +2 -0
  98. package/content/administer/how-to/access/invite-end-users.md +8 -0
  99. package/content/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
  100. package/content/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
  101. package/content/administer/how-to/sso/provision-people-with-scim.md +1 -1
  102. package/content/administer/reference/screens/branding.md +1 -1
  103. package/content/administer/reference/screens/end-users.md +3 -1
  104. package/content/administer/reference/screens/overview.md +21 -0
  105. package/content/administer/reference/screens/retention.md +3 -2
  106. package/content/administer/reference/screens/single-sign-on.md +1 -1
  107. package/content/console/how-to/app-builder/publish-an-app.md +0 -1
  108. package/content/console/how-to/data/row-rules.md +1 -0
  109. package/content/console/reference/screens/build/published-apps.md +1 -2
  110. package/content/console/reference/screens/data/tables.md +1 -1
  111. package/content/console/reference/screens/home/tenants.md +1 -1
  112. package/content/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
  113. package/content/develop/explanation/apps/app-access.md +29 -10
  114. package/content/develop/explanation/scripts/how-scripts-run.md +1 -1
  115. package/content/develop/how-to/apps/write-an-app.md +1 -1
  116. package/content/develop/how-to/cli/install-from-source.md +1 -1
  117. package/content/develop/how-to/cli/install-the-cli.md +1 -1
  118. package/content/develop/how-to/cli/test-a-script.md +1 -1
  119. package/content/develop/how-to/configure/set-up-from-a-script.md +1 -1
  120. package/content/develop/reference/access/mcp.md +11 -1
  121. package/content/develop/reference/apps/app-client.md +10 -8
  122. package/content/develop/reference/apps/content-policy.md +8 -3
  123. package/content/develop/reference/queries/data-as-code.md +12 -0
  124. package/content/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
  125. package/content/develop/tutorials/cli/quickstart.md +1 -1
  126. package/content/self-host/explanation/access/index.md +1 -0
  127. package/content/self-host/explanation/access/instance-service-accounts.md +66 -0
  128. package/content/self-host/explanation/access/who-runs-what.md +2 -0
  129. package/content/self-host/explanation/running/architecture.md +1 -1
  130. package/content/self-host/explanation/running/egress-and-offline.md +1 -1
  131. package/content/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
  132. package/content/self-host/explanation/running/security-hardening.md +9 -8
  133. package/content/self-host/explanation/running/sizing-and-scaling.md +29 -0
  134. package/content/self-host/how-to/instance/moving-a-tenant.md +12 -0
  135. package/content/self-host/how-to/running/back-up-an-instance.md +1 -1
  136. package/content/self-host/how-to/running/build-the-image.md +1 -1
  137. package/content/self-host/how-to/running/install-on-fly.md +27 -10
  138. package/content/self-host/how-to/running/install-with-compose.md +4 -4
  139. package/content/self-host/how-to/running/monitor-an-instance.md +2 -0
  140. package/content/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
  141. package/content/self-host/how-to/running/restore-an-instance.md +34 -5
  142. package/content/self-host/how-to/running/run-a-standalone-worker.md +2 -2
  143. package/content/self-host/how-to/running/set-up-mail.md +13 -6
  144. package/content/self-host/reference/console/health.md +21 -1
  145. package/content/self-host/reference/running/configuration.md +1 -1
  146. package/content/self-host/reference/running/requirements.md +9 -2
  147. package/content/self-host/reference/running/retention.md +2 -1
  148. package/content/self-host/reference/running/troubleshooting.md +6 -1
  149. package/content/self-host/reference/running/versions-and-support.md +9 -1
  150. package/content/self-host/tutorials/install-on-one-machine.md +1 -1
  151. package/content/start/how-to/example/set-up-the-fernhill-example.md +26 -3
  152. package/content/start/index.md +11 -1
  153. package/content/start/reference/accessibility.md +35 -0
  154. package/content/start/reference/index.md +1 -0
  155. package/content/start/tutorials/index.md +6 -1
  156. package/content/start/tutorials/your-first-script.md +0 -1
  157. package/content/start/tutorials/your-first-table.md +2 -2
  158. package/dist/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
  159. package/dist/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
  160. package/dist/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
  161. package/dist/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
  162. package/dist/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
  163. package/dist/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
  164. package/dist/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
  165. package/dist/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
  166. package/dist/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
  167. package/dist/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
  168. package/dist/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
  169. package/dist/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
  170. package/dist/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
  171. package/dist/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
  172. package/dist/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
  173. package/{assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → dist/assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
  174. package/{assets/screenshots/console/app-builder-list.light.85064d6742d4.png → dist/assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
  175. package/{assets/screenshots/console/apps-list.dark.6580be4c6f17.png → dist/assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
  176. package/{assets/screenshots/console/apps-list.light.35ac9711c9a0.png → dist/assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
  177. package/dist/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
  178. package/{assets/screenshots/console/apps-share.light.eddc9c058c37.png → dist/assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
  179. package/dist/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
  180. package/dist/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
  181. package/dist/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
  182. package/{assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → dist/assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
  183. package/{assets/screenshots/console/configure-alerts.light.24608f63f849.png → dist/assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
  184. package/dist/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
  185. package/dist/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
  186. package/dist/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
  187. package/{assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → dist/assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
  188. package/dist/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
  189. package/{assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → dist/assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
  190. package/dist/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
  191. package/{assets/screenshots/console/extensions-list.light.f65bb930d029.png → dist/assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
  192. package/dist/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
  193. package/dist/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
  194. package/dist/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
  195. package/dist/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
  196. package/dist/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
  197. package/dist/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
  198. package/dist/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
  199. package/dist/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
  200. package/dist/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
  201. package/dist/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
  202. package/dist/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
  203. package/dist/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
  204. package/dist/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
  205. package/dist/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
  206. package/dist/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
  207. package/dist/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
  208. package/{assets/screenshots/console/releases-review.light.7f7eea72fc90.png → dist/assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
  209. package/{assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → dist/assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
  210. package/dist/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
  211. package/dist/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
  212. package/dist/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
  213. package/dist/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
  214. package/dist/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
  215. package/dist/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
  216. package/dist/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
  217. package/dist/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
  218. package/dist/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
  219. package/dist/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
  220. package/{assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → dist/assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
  221. package/dist/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
  222. package/{assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → dist/assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
  223. package/dist/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
  224. package/dist/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
  225. package/dist/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
  226. package/dist/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
  227. package/dist/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
  228. package/dist/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
  229. package/dist/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
  230. package/dist/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
  231. package/dist/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
  232. package/dist/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
  233. package/dist/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
  234. package/dist/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
  235. package/dist/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
  236. package/dist/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
  237. package/dist/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
  238. package/dist/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
  239. package/dist/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
  240. package/dist/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
  241. package/dist/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
  242. package/dist/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
  243. package/dist/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
  244. package/dist/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
  245. package/dist/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
  246. package/dist/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
  247. package/dist/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
  248. package/dist/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
  249. package/dist/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
  250. package/dist/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
  251. package/dist/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
  252. package/dist/fields.json +1 -1
  253. package/dist/manifest.json +1 -1
  254. package/dist/md/administer/explanation/sso/how-single-sign-on-works.md +2 -0
  255. package/dist/md/administer/how-to/access/invite-end-users.md +8 -0
  256. package/dist/md/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
  257. package/dist/md/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
  258. package/dist/md/administer/how-to/sso/provision-people-with-scim.md +1 -1
  259. package/dist/md/administer/reference/audit-actions.md +1 -0
  260. package/dist/md/administer/reference/permissions.md +1 -0
  261. package/dist/md/administer/reference/screens/branding.md +1 -1
  262. package/dist/md/administer/reference/screens/end-users.md +3 -1
  263. package/dist/md/administer/reference/screens/overview.md +21 -0
  264. package/dist/md/administer/reference/screens/retention.md +3 -2
  265. package/dist/md/administer/reference/screens/single-sign-on.md +1 -1
  266. package/dist/md/console/how-to/app-builder/publish-an-app.md +0 -1
  267. package/dist/md/console/how-to/data/row-rules.md +1 -0
  268. package/dist/md/console/reference/screens/build/published-apps.md +1 -2
  269. package/dist/md/console/reference/screens/data/tables.md +1 -1
  270. package/dist/md/console/reference/screens/home/tenants.md +1 -1
  271. package/dist/md/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
  272. package/dist/md/develop/explanation/apps/app-access.md +29 -10
  273. package/dist/md/develop/explanation/scripts/how-scripts-run.md +1 -1
  274. package/dist/md/develop/how-to/apps/write-an-app.md +1 -1
  275. package/dist/md/develop/how-to/cli/install-from-source.md +1 -1
  276. package/dist/md/develop/how-to/cli/install-the-cli.md +1 -1
  277. package/dist/md/develop/how-to/cli/test-a-script.md +1 -1
  278. package/dist/md/develop/how-to/configure/set-up-from-a-script.md +1 -1
  279. package/dist/md/develop/reference/access/mcp.md +11 -1
  280. package/dist/md/develop/reference/api/agents.md +27 -1
  281. package/dist/md/develop/reference/api/apps.md +25 -1
  282. package/dist/md/develop/reference/api/end-users.md +71 -6
  283. package/dist/md/develop/reference/api/figures.md +160 -0
  284. package/dist/md/develop/reference/api/identity.md +318 -1
  285. package/dist/md/develop/reference/api/index.md +7 -6
  286. package/dist/md/develop/reference/api/instance.md +59 -1
  287. package/dist/md/develop/reference/api/permissions.md +13 -4
  288. package/dist/md/develop/reference/api/tenancy.md +13 -0
  289. package/dist/md/develop/reference/apps/app-client.md +10 -8
  290. package/dist/md/develop/reference/apps/content-policy.md +8 -3
  291. package/dist/md/develop/reference/errors.md +6 -0
  292. package/dist/md/develop/reference/kinds/dashboard.md +10 -0
  293. package/dist/md/develop/reference/kinds/interface.md +10 -0
  294. package/dist/md/develop/reference/kinds/widget.md +1 -1
  295. package/dist/md/develop/reference/queries/data-as-code.md +12 -0
  296. package/dist/md/develop/reference/sdk/sdk.md +1 -1
  297. package/dist/md/develop/reference/sdk/widgets-page.md +13 -0
  298. package/dist/md/develop/reference/sdk/widgets.md +2 -2
  299. package/dist/md/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
  300. package/dist/md/develop/reference/widgets/chart.md +1 -1
  301. package/dist/md/develop/reference/widgets/goal.md +1 -1
  302. package/dist/md/develop/reference/widgets/pivot.md +1 -1
  303. package/dist/md/develop/reference/widgets/stat.md +1 -1
  304. package/dist/md/develop/tutorials/cli/quickstart.md +1 -1
  305. package/dist/md/self-host/explanation/access/index.md +1 -0
  306. package/dist/md/self-host/explanation/access/instance-service-accounts.md +66 -0
  307. package/dist/md/self-host/explanation/access/who-runs-what.md +2 -0
  308. package/dist/md/self-host/explanation/running/architecture.md +1 -1
  309. package/dist/md/self-host/explanation/running/egress-and-offline.md +1 -1
  310. package/dist/md/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
  311. package/dist/md/self-host/explanation/running/security-hardening.md +9 -8
  312. package/dist/md/self-host/explanation/running/sizing-and-scaling.md +29 -0
  313. package/dist/md/self-host/how-to/instance/moving-a-tenant.md +12 -0
  314. package/dist/md/self-host/how-to/running/back-up-an-instance.md +1 -1
  315. package/dist/md/self-host/how-to/running/build-the-image.md +1 -1
  316. package/dist/md/self-host/how-to/running/install-on-fly.md +27 -10
  317. package/dist/md/self-host/how-to/running/install-with-compose.md +4 -4
  318. package/dist/md/self-host/how-to/running/monitor-an-instance.md +2 -0
  319. package/dist/md/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
  320. package/dist/md/self-host/how-to/running/restore-an-instance.md +34 -5
  321. package/dist/md/self-host/how-to/running/run-a-standalone-worker.md +2 -2
  322. package/dist/md/self-host/how-to/running/set-up-mail.md +13 -6
  323. package/dist/md/self-host/reference/console/health.md +21 -1
  324. package/dist/md/self-host/reference/running/configuration.md +1 -1
  325. package/dist/md/self-host/reference/running/requirements.md +9 -2
  326. package/dist/md/self-host/reference/running/retention.md +2 -1
  327. package/dist/md/self-host/reference/running/troubleshooting.md +6 -1
  328. package/dist/md/self-host/reference/running/versions-and-support.md +9 -1
  329. package/dist/md/self-host/reference/settings.md +2 -2
  330. package/dist/md/self-host/tutorials/install-on-one-machine.md +1 -1
  331. package/dist/md/start/how-to/example/set-up-the-fernhill-example.md +26 -3
  332. package/dist/md/start/index.md +11 -1
  333. package/dist/md/start/reference/accessibility.md +35 -0
  334. package/dist/md/start/reference/changelog/0-7-0.md +208 -0
  335. package/dist/md/start/reference/index.md +1 -0
  336. package/dist/md/start/tutorials/index.md +6 -1
  337. package/dist/md/start/tutorials/your-first-script.md +0 -1
  338. package/dist/md/start/tutorials/your-first-table.md +2 -2
  339. package/dist/pages/administer/explanation/sso/how-single-sign-on-works.json +1 -1
  340. package/dist/pages/administer/how-to/access/invite-end-users.json +1 -1
  341. package/dist/pages/administer/how-to/access/rule-rows-by-group-or-attribute.json +1 -1
  342. package/dist/pages/administer/how-to/apps/give-an-app-a-hostname.json +1 -1
  343. package/dist/pages/administer/how-to/sso/provision-people-with-scim.json +1 -1
  344. package/dist/pages/administer/reference/audit-actions.json +1 -1
  345. package/dist/pages/administer/reference/permissions.json +1 -1
  346. package/dist/pages/administer/reference/screens/branding.json +1 -1
  347. package/dist/pages/administer/reference/screens/end-users.json +1 -1
  348. package/dist/pages/administer/reference/screens/overview.json +1 -1
  349. package/dist/pages/administer/reference/screens/retention.json +1 -1
  350. package/dist/pages/administer/reference/screens/single-sign-on.json +1 -1
  351. package/dist/pages/console/how-to/app-builder/publish-an-app.json +1 -1
  352. package/dist/pages/console/how-to/data/row-rules.json +1 -1
  353. package/dist/pages/console/reference/screens/build/published-apps.json +1 -1
  354. package/dist/pages/console/reference/screens/data/tables.json +1 -1
  355. package/dist/pages/console/reference/screens/home/tenants.json +1 -1
  356. package/dist/pages/develop/explanation/api/how-the-api-knows-who-is-calling.json +1 -1
  357. package/dist/pages/develop/explanation/apps/app-access.json +1 -1
  358. package/dist/pages/develop/explanation/scripts/how-scripts-run.json +1 -1
  359. package/dist/pages/develop/how-to/apps/write-an-app.json +1 -1
  360. package/dist/pages/develop/how-to/cli/install-from-source.json +1 -1
  361. package/dist/pages/develop/how-to/cli/install-the-cli.json +1 -1
  362. package/dist/pages/develop/how-to/cli/test-a-script.json +1 -1
  363. package/dist/pages/develop/how-to/configure/set-up-from-a-script.json +1 -1
  364. package/dist/pages/develop/reference/access/mcp.json +1 -1
  365. package/dist/pages/develop/reference/api/agents.json +1 -1
  366. package/dist/pages/develop/reference/api/apps.json +1 -1
  367. package/dist/pages/develop/reference/api/end-users.json +1 -1
  368. package/dist/pages/develop/reference/api/figures.json +1 -0
  369. package/dist/pages/develop/reference/api/identity.json +1 -1
  370. package/dist/pages/develop/reference/api/index.json +1 -1
  371. package/dist/pages/develop/reference/api/instance.json +1 -1
  372. package/dist/pages/develop/reference/api/permissions.json +1 -1
  373. package/dist/pages/develop/reference/api/tenancy.json +1 -1
  374. package/dist/pages/develop/reference/apps/app-client.json +1 -1
  375. package/dist/pages/develop/reference/apps/content-policy.json +1 -1
  376. package/dist/pages/develop/reference/errors.json +1 -1
  377. package/dist/pages/develop/reference/kinds/dashboard.json +1 -1
  378. package/dist/pages/develop/reference/kinds/interface.json +1 -1
  379. package/dist/pages/develop/reference/kinds/widget.json +1 -1
  380. package/dist/pages/develop/reference/queries/data-as-code.json +1 -1
  381. package/dist/pages/develop/reference/sdk/sdk.json +1 -1
  382. package/dist/pages/develop/reference/sdk/widgets-page.json +1 -1
  383. package/dist/pages/develop/reference/sdk/widgets.json +1 -1
  384. package/dist/pages/develop/reference/tenant-widgets/what-a-view-is-given.json +1 -1
  385. package/dist/pages/develop/reference/widgets/chart.json +1 -1
  386. package/dist/pages/develop/reference/widgets/goal.json +1 -1
  387. package/dist/pages/develop/reference/widgets/pivot.json +1 -1
  388. package/dist/pages/develop/reference/widgets/stat.json +1 -1
  389. package/dist/pages/develop/tutorials/cli/quickstart.json +1 -1
  390. package/dist/pages/self-host/explanation/access/index.json +1 -1
  391. package/dist/pages/self-host/explanation/access/instance-service-accounts.json +1 -0
  392. package/dist/pages/self-host/explanation/access/who-runs-what.json +1 -1
  393. package/dist/pages/self-host/explanation/running/architecture.json +1 -1
  394. package/dist/pages/self-host/explanation/running/egress-and-offline.json +1 -1
  395. package/dist/pages/self-host/explanation/running/managed-workers-and-isolation.json +1 -1
  396. package/dist/pages/self-host/explanation/running/security-hardening.json +1 -1
  397. package/dist/pages/self-host/explanation/running/sizing-and-scaling.json +1 -1
  398. package/dist/pages/self-host/how-to/instance/moving-a-tenant.json +1 -1
  399. package/dist/pages/self-host/how-to/running/back-up-an-instance.json +1 -1
  400. package/dist/pages/self-host/how-to/running/build-the-image.json +1 -1
  401. package/dist/pages/self-host/how-to/running/install-on-fly.json +1 -1
  402. package/dist/pages/self-host/how-to/running/install-with-compose.json +1 -1
  403. package/dist/pages/self-host/how-to/running/monitor-an-instance.json +1 -1
  404. package/dist/pages/self-host/how-to/running/put-a-proxy-in-front.json +1 -1
  405. package/dist/pages/self-host/how-to/running/restore-an-instance.json +1 -1
  406. package/dist/pages/self-host/how-to/running/run-a-standalone-worker.json +1 -1
  407. package/dist/pages/self-host/how-to/running/set-up-mail.json +1 -1
  408. package/dist/pages/self-host/reference/console/health.json +1 -1
  409. package/dist/pages/self-host/reference/running/configuration.json +1 -1
  410. package/dist/pages/self-host/reference/running/requirements.json +1 -1
  411. package/dist/pages/self-host/reference/running/retention.json +1 -1
  412. package/dist/pages/self-host/reference/running/troubleshooting.json +1 -1
  413. package/dist/pages/self-host/reference/running/versions-and-support.json +1 -1
  414. package/dist/pages/self-host/reference/settings.json +1 -1
  415. package/dist/pages/self-host/tutorials/install-on-one-machine.json +1 -1
  416. package/dist/pages/start/how-to/example/set-up-the-fernhill-example.json +1 -1
  417. package/dist/pages/start/index.json +1 -1
  418. package/dist/pages/start/reference/accessibility.json +1 -0
  419. package/dist/pages/start/reference/changelog/0-7-0.json +1 -0
  420. package/dist/pages/start/reference/index.json +1 -1
  421. package/dist/pages/start/tutorials/index.json +1 -1
  422. package/dist/pages/start/tutorials/your-first-script.json +1 -1
  423. package/dist/pages/start/tutorials/your-first-table.json +1 -1
  424. package/dist/redirects.json +1 -1
  425. package/dist/search.json +1 -1
  426. package/generated/administer/reference/audit-actions.md +1 -0
  427. package/generated/administer/reference/permissions.md +1 -0
  428. package/generated/develop/reference/api/agents.md +27 -1
  429. package/generated/develop/reference/api/apps.md +25 -1
  430. package/generated/develop/reference/api/end-users.md +71 -6
  431. package/generated/develop/reference/api/figures.md +160 -0
  432. package/generated/develop/reference/api/identity.md +318 -1
  433. package/generated/develop/reference/api/index.md +7 -6
  434. package/generated/develop/reference/api/instance.md +59 -1
  435. package/generated/develop/reference/api/permissions.md +13 -4
  436. package/generated/develop/reference/api/tenancy.md +13 -0
  437. package/generated/develop/reference/errors.md +6 -0
  438. package/generated/develop/reference/kinds/dashboard.md +10 -0
  439. package/generated/develop/reference/kinds/interface.md +10 -0
  440. package/generated/develop/reference/kinds/widget.md +1 -1
  441. package/generated/develop/reference/sdk/sdk.md +1 -1
  442. package/generated/develop/reference/sdk/widgets-page.md +13 -0
  443. package/generated/develop/reference/sdk/widgets.md +2 -2
  444. package/generated/develop/reference/widgets/chart.md +1 -1
  445. package/generated/develop/reference/widgets/goal.md +1 -1
  446. package/generated/develop/reference/widgets/pivot.md +1 -1
  447. package/generated/develop/reference/widgets/stat.md +1 -1
  448. package/generated/openapi.json +4899 -1734
  449. package/generated/self-host/reference/settings.md +2 -2
  450. package/generated/start/reference/changelog/0-7-0.md +208 -0
  451. package/package.json +11 -6
  452. package/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
  453. package/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
  454. package/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
  455. package/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
  456. package/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
  457. package/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
  458. package/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
  459. package/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
  460. package/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
  461. package/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
  462. package/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
  463. package/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
  464. package/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
  465. package/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
  466. package/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
  467. package/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
  468. package/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
  469. package/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
  470. package/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
  471. package/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
  472. package/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
  473. package/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
  474. package/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
  475. package/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
  476. package/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
  477. package/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
  478. package/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
  479. package/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
  480. package/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
  481. package/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
  482. package/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
  483. package/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
  484. package/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
  485. package/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
  486. package/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
  487. package/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
  488. package/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
  489. package/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
  490. package/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
  491. package/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
  492. package/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
  493. package/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
  494. package/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
  495. package/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
  496. package/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
  497. package/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
  498. package/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
  499. package/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
  500. package/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
  501. package/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
  502. package/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
  503. package/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
  504. package/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
  505. package/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
  506. package/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
  507. package/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
  508. package/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
  509. package/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
  510. package/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
  511. package/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
  512. package/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
  513. package/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
  514. package/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
  515. package/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
  516. package/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
  517. package/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
  518. package/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
  519. package/dist/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
  520. package/dist/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
  521. package/dist/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
  522. package/dist/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
  523. package/dist/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
  524. package/dist/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
  525. package/dist/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
  526. package/dist/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
  527. package/dist/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
  528. package/dist/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
  529. package/dist/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
  530. package/dist/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
  531. package/dist/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
  532. package/dist/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
  533. package/dist/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
  534. package/dist/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
  535. package/dist/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
  536. package/dist/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
  537. package/dist/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
  538. package/dist/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
  539. package/dist/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
  540. package/dist/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
  541. package/dist/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
  542. package/dist/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
  543. package/dist/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
  544. package/dist/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
  545. package/dist/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
  546. package/dist/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
  547. package/dist/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
  548. package/dist/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
  549. package/dist/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
  550. package/dist/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
  551. package/dist/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
  552. package/dist/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
  553. package/dist/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
  554. package/dist/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
  555. package/dist/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
  556. package/dist/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
  557. package/dist/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
  558. package/dist/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
  559. package/dist/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
  560. package/dist/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
  561. package/dist/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
  562. package/dist/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
  563. package/dist/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
  564. package/dist/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
  565. package/dist/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
  566. package/dist/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
  567. package/dist/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
  568. package/dist/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
  569. package/dist/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
  570. package/dist/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
  571. package/dist/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
  572. package/dist/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
  573. package/dist/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
  574. package/dist/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
  575. package/dist/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
  576. package/dist/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
  577. package/dist/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
  578. package/dist/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
  579. package/dist/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
  580. package/dist/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
  581. package/dist/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
  582. package/dist/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
  583. package/dist/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
  584. package/dist/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
  585. package/dist/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
@@ -44,6 +44,8 @@ End users belong to one tenant, so the tenant may instead choose **Take the prov
44
44
 
45
45
  A provider's word that an email is *not* verified is always respected.
46
46
 
47
+ The same decision gives an end user's address its proof. When a provider signs an end user in, their address is **proved** if its domain is proved for the provider, if the provider says it is verified (OIDC `email_verified: true`), or, for a SAML provider, if the tenant chose **Take the provider's word on emails**. A SCIM push counts on the same terms. A table rule on the built-in `email` attribute then matches them. See [What proves an end user's email address](../../../develop/explanation/apps/app-access).
48
+
47
49
  ## What requiring a provider changes
48
50
 
49
51
  Turning a provider on adds a way in. **Require it** takes the other way away: the people the provider covers can no longer sign in with a password, and their open sessions end. Who is covered is decided by domain: members with an email in a proved domain; end users in a proved domain, or everyone when there is none. An API key is not a sign-in, and keeps working.
@@ -35,9 +35,17 @@ The person is listed with the status **Invited**. When they open the link and ch
35
35
 
36
36
  Sign-up is off by default. The switch **People may create their own account** is on the [Branding](../../reference/screens/branding) screen. With it on, the sign-in page offers **Create an account**.
37
37
 
38
+ What happens next depends on mail:
39
+
40
+ - **The instance sends mail.** A link goes to the address, good for 48 hours, and the person is not signed in. They open the link and press **Finish and sign in**. Until then, signing in with the right password is refused, and sends a new link. The address is then **proved**.
41
+ - **The instance sends no mail.** The person is signed in at once, and their address stays **not proved**. A table rule on the built-in `email` attribute does not match them.
42
+
43
+ The **End users** screen shows each person's address as **Proved** or **Not proved**, and **Waiting for the link** for someone who has not used the sign-up link. A person you invite is proved when they use an invitation link the instance mailed; a link you copy and pass on does not prove it. See [What proves an end user's email address](../../../develop/explanation/apps/app-access).
44
+
38
45
  ### If it does not work
39
46
 
40
47
  - The link says it was used or has run out: select the person and press **New invitation link** or **Password reset link** again.
48
+ - `email` cannot be given as an attribute: it is built in, and holds the person's address once it is proved. Saving it is refused.
41
49
  - An attribute name must be lowercase letters, digits and underscores, starting with a letter. A name that is not, or is given twice, is refused at the field, and **Save** sends nothing: "<name> cannot be a name. Use lowercase letters, digits and underscores, starting with a letter, up to 63 characters." or "<name> is given twice. Each name takes one value."
42
50
 
43
51
  ## Related
@@ -27,6 +27,12 @@ You decide who sees which rows of a table from the groups people are in, or from
27
27
 
28
28
  In Fernhill, clinic staff are in a group per clinic and a row holds its clinic's key, so a rule **A group named in a column** with the column `clinic` gives each clinic its own rows (the rule reads "People in the group named in clinic may read the row."). A pet portal client has the attribute `client_id`, and a rule **People with a matching attribute**, with the column `code` and the attribute `client_id`, lets them read their own record ("People whose client_id is in code may read the row.").
29
29
 
30
+ ### Match a person's email address
31
+
32
+ Every end user has one more attribute, `email`, that you do not set. It holds their address once the address is **proved**, and is missing before. Make a rule **People with a matching attribute** with the attribute `email` and a column that holds the address, such as `owner_email`. A row is then seen only by the person whose proved address it holds. A person who signed up with someone else's address, and never proved it, sees nothing.
33
+
34
+ Do not fill that column from, or match it against, an address the person typed. See [What proves an end user's email address](../../../develop/explanation/apps/app-access) for what proves one. In a file, the rule is `{ allow: "read", when: { column: "owner_email", equals: { attribute: "email" } } }`.
35
+
30
36
  ### The result
31
37
 
32
38
  A person sees a row when any rule lets them. People who hold `data_all:read` and `data_all:write` see and change every row. A rename of a group does not break a rule that holds its key: a rule that holds the old name stops matching its people, so keep the key in the rows.
@@ -34,6 +40,7 @@ A person sees a row when any rule lets them. People who hold `data_all:read` and
34
40
  ### If it does not work
35
41
 
36
42
  - A person sees nothing: check **See it as** for them, then their group or attribute under **View access** or **Attributes**.
43
+ - A person sees nothing from a rule on `email`: their address is not proved. The **End users** screen shows **Not proved** or **Waiting for the link**.
37
44
  - A rule that names a group by its old name stopped matching after a rename: change the rows to hold the key.
38
45
 
39
46
  ## Related
@@ -16,7 +16,7 @@ The steps to give an app, or the portal with every app of a workspace, a hostnam
16
16
 
17
17
  ## The result
18
18
 
19
- The hostname's row in **Domains** is **On** and **Verified**, and the app's row in **Apps** lists the hostname under **Address**.
19
+ The hostname's row in **Domains** is **On** and **Verified**, and the app's row in **Apps** lists the hostname under **Address**. The app is no longer served at its address on the instance's shared address: a request there is redirected (308) to the hostname, with its path and query.
20
20
 
21
21
  ## If it does not work
22
22
 
@@ -31,7 +31,7 @@ A provider can push the people and groups it holds, and say when one has left. B
31
31
 
32
32
  | The provider | Here |
33
33
  | --- | --- |
34
- | Pushes a person | An end user's account is made or found. A member's account is found or made, and the person is added to the tenant with the provider's default role. The email must be in a proved domain for members. |
34
+ | Pushes a person | An end user's account is made or found. A member's account is found or made, and the person is added to the tenant with the provider's default role. The email must be in a proved domain for members. An end user's address counts as proved when its domain is proved for the provider or the provider has **Take the provider's word on emails** on. |
35
35
  | Turns a person off, or deletes them | An end user is disabled. A member is suspended in this tenant. For the instance's own provider the account is disabled everywhere. An account is never deleted. |
36
36
  | Turns a person on again | A person turned off by the provider is turned on. One that someone here turned off by hand stays off. |
37
37
 
@@ -21,7 +21,7 @@ The screen is under **Tenant**, in the group **Delivery**. F1 opens the help top
21
21
  | --- | --- |
22
22
  | The portal link | The tenant's portal address, which opens in a new tab. |
23
23
  | The mail note | "This instance sends mail, so invitations and password reset links are emailed to them." or "This instance sends no mail, so invitation and password reset links have to be passed on by hand. They are shown under End users when they are made." |
24
- | **People may create their own account** | Off by default. "When this is off, only people invited under End users have an account." |
24
+ | **People may create their own account** | Off by default. "When this is off, only people invited under End users have an account." With it on, the screen says what follows: where the instance sends mail, "A link is mailed to each person who signs up. They can sign in once they use it, and a table rule on email then matches them."; where it does not, "This instance sends no mail, so people who sign up cannot be proved to own their address. A table rule on email will not match them." |
25
25
 
26
26
  ## Theme
27
27
 
@@ -22,6 +22,8 @@ The nav item **End users** has two tabs: **End users** and **Groups**. F1 (**Hel
22
22
  | **Groups** | The groups of end users they are in. |
23
23
  | **Last signed in** | When. |
24
24
 
25
+ Under each address a mark says whether it is proved: **Proved** or **Not proved**. A person who signed up where the instance sends mail and has not used the link shows **Waiting for the link** as their status. They cannot sign in until they do. See [What proves an end user's email address](../../../develop/explanation/apps/app-access).
26
+
25
27
  The list loads 50 at a time, with **Previous** and **Next** and "Page N". **Search by email or name** narrows it; the search is in the address (`?q=`) and so is the end user whose inspector is open (`?user=`). Empty: "No end users yet", "Invite someone by email. They get a link to choose a password, and can then open the apps that are open to them." With a search that finds nothing: "No end user matches that search".
26
28
 
27
29
  ### Invite an end user
@@ -38,7 +40,7 @@ Giving the invitation does not give any access. Give the end user a role under [
38
40
 
39
41
  ### The end user inspector
40
42
 
41
- Choosing a row opens the inspector with **Email**, **Name** ("Not given" when empty), **Status**, **Last signed in** ("Never" when so), **Added** and **Groups** ("None"), and these buttons:
43
+ Choosing a row opens the inspector with **Email**, **Email address** (**Proved** with the time, **Not proved**, or **Waiting for the link**), **Name** ("Not given" when empty), **Status**, **Last signed in** ("Never" when so), **Added** and **Groups** ("None"), and these buttons:
42
44
 
43
45
  | Button | What it does |
44
46
  | --- | --- |
@@ -11,3 +11,24 @@ A tenant's workspaces at a glance, with what failed and what waits.
11
11
  ## Approvals counted for you
12
12
 
13
13
  Approvals are counted as in a workspace: "waiting for you" are the ones you may decide, and "for someone else" are counted apart. The tenant's approvals queue lists the same ones.
14
+
15
+ ## Figures
16
+
17
+ The section is **Figures**: how the tenant has done, drawn with the same chart, stat and table widgets as any dashboard. Figures are counted every five minutes and kept for the retention set for figures (90 days unless changed).
18
+
19
+ - **Status**, at the top: **Healthy**, **Waiting** or **Failing**, with a sentence for each reason, such as runs due with no worker to take them, runs waiting for a free run slot, or half the runs of the last 15 minutes failing. It is read from `/api/v1/tenants/{tenant}/health`.
20
+ - **Period**: **Last 24 hours** (by the hour), **7 days** or **30 days** (by the day). The choice is kept in the address (`?figures=7d`), so a reload or a shared link keeps it.
21
+ - **Refresh** reads the figures again.
22
+
23
+ | Widget | What it shows |
24
+ | --- | --- |
25
+ | **Runs ended** | Script runs that ended in each period, however they ended. |
26
+ | **Failed share** | The share of ended runs that did not succeed. |
27
+ | **Average wait (s)** and **Longest wait (s)** | How long first attempts waited from when they were due until a worker took them. |
28
+ | **Why runs waited** | Times a worker was turned away while a run was due, by reason (fair share, memory, no run slot, workspace limit), and the most runs due at once with no worker, or waiting for a busy worker. |
29
+ | **Requests and refusals** | API requests about the tenant, and those refused for any reason. |
30
+ | **Each workspace** | Runs ended, failed share, average wait, waits and refusals for each workspace. |
31
+
32
+ When nothing was counted in the period, the section says "Nothing was counted in this period yet. Figures are counted every five minutes."
33
+
34
+ It is shown to whoever holds `figures:read` in the tenant: a tenant admin, and any role with `*:read`.
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Retention
3
3
  topic: tenant-retention
4
- description: "Every control, state and permission of the Retention screen: the four periods, their defaults and bounds, and what shortening one removes."
4
+ description: "Every control, state and permission of the Retention screen: the five periods, their defaults and bounds, and what shortening one removes."
5
5
  subjects: [retention, audit]
6
6
  moved_from:
7
7
  - tenant/retention
@@ -19,8 +19,9 @@ Each field is labeled with the kind and "(days)", shows the instance's default a
19
19
  | **Events (days)** | Events published by scripts, flows and the API. | 30 | 1 to 3650 |
20
20
  | **Refused requests (days)** | Webhook requests and SCIM pushes that were turned away. | 7 | 1 to 3650 |
21
21
  | **Audit log (days)** | Who changed what. | 400 | 90 to 3650 |
22
+ | **Figures (days)** | Runs, waits, requests and refusals counted every five minutes, shown on the tenant's dashboard. | 90 | 1 to 3650 |
22
23
 
23
- The defaults are those of an instance that has not changed them. An instance sets its own with the settings `RETENTION_RUNS_DAYS`, `RETENTION_EVENTS_DAYS`, `RETENTION_REFUSALS_DAYS` and `RETENTION_AUDIT_DAYS`, and the placeholder and "Now" show what applies. A number outside the allowed range is refused at the field: "A whole number of days from 90 to 3650."
24
+ The defaults are those of an instance that has not changed them. An instance sets its own with the settings `RETENTION_RUNS_DAYS`, `RETENTION_EVENTS_DAYS`, `RETENTION_REFUSALS_DAYS`, `RETENTION_AUDIT_DAYS` and `RETENTION_FIGURES_DAYS`, and the placeholder and "Now" show what applies. A number outside the allowed range is refused at the field: "A whole number of days from 90 to 3650."
24
25
 
25
26
  Finished tasks of Volvel itself (reading schemas, sending alerts, trying connections) are kept 7 days, and there is no field for that. No hold exists that keeps one run or entry past its period.
26
27
 
@@ -121,7 +121,7 @@ Changes are kept by the save bar. :kbd[Ctrl+S] or :kbd[⌘S] saves, and leaving
121
121
  | **Also read the user-info address** | OIDC | For a provider that leaves groups or email out of the ID token. |
122
122
  | **Subject**, **Email**, **Name**, **Groups** | Both | The claim or attribute to read. Leave a field empty to use the usual name. |
123
123
  | **Attributes** | End users | One a line, `attribute = claim`. |
124
- | **Take the provider's word on emails** | End users | Lets a first sign-in take over an existing account with the same email, in a domain that has not been proved here. |
124
+ | **Take the provider's word on emails** | End users | Lets a first sign-in take over an existing account with the same email, in a domain that has not been proved here. For a SAML provider it also counts the address as proved, and so does a SCIM push from it. |
125
125
  | **Create people the first time they sign in** | Both | Off: only people who already exist can sign in. |
126
126
  | **Role given to a new member** | Members of a tenant | Leave empty to give nothing. |
127
127
 
@@ -45,7 +45,6 @@ By the end the people an app is shared with will see your draft: you will have t
45
45
  | What saving or deploying refused, in the page's words | The control plane's own check, such as an action with no steps, or another resource this deploy carries. | Yes |
46
46
  | "X on Y shows nothing yet" | A List with nothing placed, a Pivot with no grid, or a Record detail with no record. | No |
47
47
  | "Approvals lists X, which asks for no approval" | A flow it lists has no approval step. | No |
48
- | "Approvals are decided in the console, not in this app" | Apps are served at an address of their own, so the app shows the requests and sends people to the console to decide them. | No |
49
48
  | "Phone layout hides N widgets" | See [Set the phone and tablet layout](set-the-phone-layout). | No |
50
49
  | "X has Help topic Y, and no document has that topic" | The page's Help button would show nothing. | No |
51
50
  | "N groups named in the rules no longer exist" | An action that names only such groups can be run by nobody. | No |
@@ -55,6 +55,7 @@ The list of tables says "By 2 rules" for the table. Someone in `northside` sees
55
55
  | **People with a matching attribute** | Anyone whose attribute (the **Attribute**) equals the column's value. | ID, text or whole number. |
56
56
 
57
57
  - An attribute's name starts with a lowercase letter and holds lowercase letters, digits and underscores, up to 63 characters.
58
+ - `email` is a built-in attribute. It holds an end user's address once it is proved, and is missing before. A rule on it matches only proved addresses. A tenant cannot set an attribute of that name. See [Rule rows by group or attribute](../../../administer/how-to/access/rule-rows-by-group-or-attribute).
58
59
  - **May** is **Read** or **Read and change**. A person sees a row when any rule lets them. A person adds, changes or deletes a row only when a rule that says **Read and change** lets them.
59
60
  - A table has at most 20 rules.
60
61
  - The other two choices under **Who sees rows** are **Everyone with access sees every row**, and **Each person sees their own rows** with **The column that holds each row's owner** (ID or text). A row added with no owner is given to the person who added it. With rules, it is the column of the first rule that says "The person named in a column" and **Read and change**.
@@ -26,7 +26,7 @@ The list has a description line, a search box and the **Built** filter above a t
26
26
  | Column | What it shows |
27
27
  | --- | --- |
28
28
  | **App** | The app's title and, under it, its path. |
29
- | **Address** | The app's address on this instance, as a link that opens in a new tab, then one link for each hostname of the tenant's that is enabled for it. A documentation app that is switched off shows the tag **Not published** instead. |
29
+ | **Address** | The app's address on this instance, as a link that opens in a new tab, then one link for each hostname of the tenant's that is enabled for it. An app with an enabled and proved hostname of its own is redirected there from the app's address on this instance. A documentation app that is switched off shows the tag **Not published** instead. |
30
30
  | **Open to** | Who is bound at the app, then who reaches every app through a binding at the workspace or the tenant. **Staff only** when no one is. The text is amber when the app is open to anyone. |
31
31
  | **Built** | The tag **App Builder**, **Documentation** or **Repository**. |
32
32
 
@@ -40,7 +40,6 @@ The list shows the apps of the deployed version. An app removed in the console s
40
40
  | --- | --- |
41
41
  | Empty | "No apps yet", with the text "An app is defined in the tenant's repository with defineApp, or made in the App Builder. It is served once it is deployed here." |
42
42
  | Nothing matches | "No app matches", with "Clear the search or choose All." |
43
- | Repository apps cannot be served | A notice above the list: "Apps built in the repository are not served on this instance yet." It goes on to say that they run only at an address of their own, and to ask whoever runs the instance to set `APPS_URL`. It shows when the instance has neither `APPS_URL` nor `APPS_ON_CONSOLE_ADDRESS` set to `true` and the workspace has a repository app. Apps made in the App Builder and documentation apps are served as usual. Someone who opens a repository app's address on such an instance gets the page "This app is not served at this address" with status 503, which says the same. If you run the instance, `APPS_URL` is a second address for apps, a different host from the instance's own. |
44
43
  | Not loaded | The list's error state, with a retry. |
45
44
 
46
45
  ## The inspector
@@ -203,7 +203,7 @@ A select, **Who sees rows**, with three modes, and **Save who sees rows**. This
203
203
  | **Each person sees their own rows** | **The column that holds each row's owner**, of type ID or Text. A row added with no owner is given to whoever added it. |
204
204
  | **Rules decide** | One to 20 rules. Each has **Who**, **Column**, **Attribute** (for attributes) and **May**. **Add a rule** adds one; **Remove** takes one off, and the last cannot be removed. |
205
205
 
206
- **Who** is one of **Everyone with access**, **The person named in a column**, **A group named in a column**, and **People with a matching attribute** (a column equals an attribute of the person, named in lower case, such as `customer_id`). **May** is **Read** or **Read and change**.
206
+ **Who** is one of **Everyone with access**, **The person named in a column**, **A group named in a column**, and **People with a matching attribute** (a column equals an attribute of the person, named in lower case, such as `customer_id`). Every end user also has the built-in attribute `email`, which holds their address once it is proved and is missing before, so a rule on it matches proved addresses only. **May** is **Read** or **Read and change**.
207
207
 
208
208
  A person sees a row when any rule lets them, and changes it when a rule that says **Read and change** does. People who hold `data_all:read` and `data_all:write` see and change every row. A row added with no owner is given to whoever adds it: the owner column, or the first "person named in a column" rule that allows changes. A visitor who is nobody sees no row whose owner is empty. Rules are enforced in the database. Groups and attributes are read on every request.
209
209
 
@@ -57,7 +57,7 @@ Operators also see two blocks, which they use without opening the tenant and so
57
57
  | Block | What it does |
58
58
  | --- | --- |
59
59
  | **Workers the instance starts** | Says whether the instance starts workers for the tenant when it has work. The button is **Start no workers for it** or **Start workers for it**. When an operator turned it off, the text says "An operator turned this off: the instance starts no workers for it, and only an operator turns it on again." Turning it off says "The instance starts no workers for {name}. Only an operator can turn it on again." |
60
- | **History kept** | Says how many days runs, events, refused requests and the audit log are kept ("Runs {n} days, events {n}, refused requests {n}, audit log {n}"). **Change how long** opens a sheet, "History kept for {name}", where a field left empty uses the instance's default. Runs, events and refused requests older than their period are removed within minutes. |
60
+ | **History kept** | Says how many days runs, events, refused requests and the audit log are kept ("Runs {n} days, events {n}, refused requests {n}, audit log {n}"). **Change how long** opens a sheet, "History kept for {name}", where a field left empty uses the instance's default. Runs, events, refused requests and figures older than their period are removed within minutes. |
61
61
 
62
62
  The inspector's footer holds:
63
63
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  title: How the API knows who is calling
3
- description: The credentials the API accepts, what each reaches, how a session cookie differs from an API key, and why a service account's key is turned away from some routes.
3
+ description: The credentials the API accepts, what each reaches, how a session cookie differs from an API key and an app token, and why a service account's key is turned away from some routes.
4
4
  subjects: [api, authentication]
5
5
  ---
6
6
 
@@ -15,6 +15,7 @@ A request is answered as one principal: a member, a service account, an end user
15
15
  | API key | `Authorization: Bearer vxk_...` | A member, or a service account. | Every route that asks for a permission. |
16
16
  | Console session | A cookie, `vx_member.session_token`. | A member. | The instance's own address only, and for seven days. |
17
17
  | Sign-in to an app | A cookie, `vx_app_<tenant id>`, and a token that begins `vxs_`. | An end user (30 days), or a member who opened an app (12 hours). | The app's own address, for that tenant. |
18
+ | App token | `Authorization: Bearer vxa_...`, given to a page of an app written as code. | The person the page was served to. | The API, for the tenant of the app, and only what apps use. It lasts 10 minutes. |
18
19
  | Worker credential | `vxw_...` | A worker. | The worker protocol. |
19
20
  | SCIM token | `Authorization: Bearer vxp_...` | A provider's push. | One provider's SCIM address. |
20
21
  | Webhook or form token | `vxh_...` or `vxf_...`, in the address. | Whoever holds the address. | That one trigger. |
@@ -32,9 +33,15 @@ A service account's key reaches only that account's tenant.
32
33
 
33
34
  ## Why a cookie is different
34
35
 
35
- A browser sends its cookies by itself, also when another site makes it send a request. So a change that arrives with a session cookie must come from a page of this instance: a write whose `Origin` header is not the address it was sent to, or the instance's own, is refused with 403 `cross_site`. A key is not sent by a browser unless a program puts it there, so it is not held to this. There is no cross-origin sharing: no `access-control-*` header is sent by the API.
36
+ A browser sends its cookies by itself, also when another site makes it send a request. So a change that arrives with a session cookie must come from a page of this instance: a write whose `Origin` header is not the address it was sent to, or the instance's own, is refused with 403 `cross_site`. A key is not sent by a browser unless a program puts it there, so it is not held to this. The API shares nothing across origins, with one exception: a page of an app written as code is sandboxed and has no origin, so it sends `Origin: null`. The API answers that with `access-control-allow-origin: *`, and never allows credentials. A cookie sent with `Origin: null` is ignored, so such a page is known by its app token or by nothing.
36
37
 
37
- A member's session counts at the instance's own address and nowhere else. At an app's address a person is known by their sign-in to that tenant's apps and by nothing else.
38
+ ## What an app token is
39
+
40
+ A page of an app written as code is served sandboxed, with no cookie. The instance reads the person's sign-in when it serves the page and puts an app token in the page. The token names the tenant, the address, the sign-in it stands on and the person. It is signed, and nothing about it is stored. Each use checks that the sign-in it stands on is still there and that the person is not disabled. A page renews it at `GET /api/v1/app-token`.
41
+
42
+ A member's app token is limited to what apps use, also at the console's address. A route that is the member's own account, or the console's, refuses it. See [How access to an app works](../apps/app-access).
43
+
44
+ A member's session counts at the instance's own address and nowhere else. At an app's address a person is known by their sign-in to that tenant's apps and by nothing else. A page of an app written as code, at any address, is known by its app token.
38
45
 
39
46
  ## Why a service account is turned away from some routes
40
47
 
@@ -4,7 +4,7 @@ description: "What decides who may open an app and what it may do for them: sess
4
4
  subjects: [apps, access]
5
5
  ---
6
6
 
7
- An app is code that runs in someone's browser and calls the instance as that person. Nothing in the app decides what the person may do: the instance does, on every call, from who they are and the bindings they hold. This page says how.
7
+ An app is code that runs in someone's browser and calls the instance as that person. An app written as code runs in a sandbox: its page has no origin of its own, and it calls with a short-lived token. Nothing in the app decides what the person may do: the instance does, on every call, from who they are and the bindings they hold. This page says how.
8
8
 
9
9
  ## The idea
10
10
 
@@ -20,19 +20,36 @@ An app that is open to someone and reads a table they have no binding at opens,
20
20
 
21
21
  | Who | How they are known |
22
22
  | --- | --- |
23
- | A member of the tenant | At the instance's own address, by their console session. At an address of the app's own, they are carried over with a hand-off: a code, good for one use and 60 seconds, bound to the address, and made only from a member's own sign-in (an API key is refused). The session it starts lasts 12 hours. |
23
+ | A member of the tenant | At the instance's own address, by their console session, which gives the page a token for apps. At an address of the app's own, they are carried over with a hand-off: a code, good for one use and 60 seconds, bound to the address, and made only from a member's own sign-in (an API key is refused). The session it starts lasts 12 hours. |
24
24
  | An end user | By signing in at the tenant's sign-in page. Their session lasts 30 days. |
25
25
  | Anyone | Not signed in: `anonymous`. They are known only by the bindings made to `anonymous`. |
26
26
 
27
- The session is a cookie named for the tenant, `vx_app_` and the tenant's ID, set for the address the app is served at, `HttpOnly`, `SameSite=Lax`, and `Secure` over HTTPS. A console session is 7 days; that is a different cookie. A request that changes something and comes from another origin is refused with 403 `cross_site`.
27
+ The session is a cookie named for the tenant, `vx_app_` and the tenant's ID, set for the address the app is served at, `HttpOnly`, `SameSite=Lax`, and `Secure` over HTTPS. A console session is 7 days; that is a different cookie. A request that changes something with a cookie and comes from another origin is refused with 403 `cross_site`.
28
28
 
29
- ### An end user's email address is not proved by signing up
29
+ ### What a code app's page holds
30
30
 
31
- Where the tenant lets people create their own account, they can sign up with any email address, and they are signed in at once. The instance does not ask them to prove the address, whether or not it sends mail. An app, a script or a flow sees that address as `email` on the person, and it is only what they typed. A rule that shows a person the rows that carry their email address shows those rows to whoever signed up with it.
31
+ The browser opens a page of an app written as code in a sandbox, so the page never holds a cookie. The instance reads the cookie when it serves the page, and puts an **app token** (`vxa_…`) in the page. The token names the tenant, the address, the sign-in it stands on and the person. It lasts 10 minutes, and `@volvel/app` renews it before it ends. Every call the client makes carries it as `Authorization: Bearer`. It is worth nothing once the sign-in it stands on ends or the person is disabled. A member's token is always limited to what apps use, also at the console's address (see below). A page that is not signed in has no token, and is known as `anonymous`.
32
32
 
33
- So do not key an app's access on an end user's email address when people sign themselves up. Rows named by the person's ID, by a group or by an attribute you set are not affected. Make the end users yourself instead: invite them from the console ([Invite end users](../../../administer/how-to/access/invite-end-users)), where the account has no password until its link is opened, or have them sign in through an identity provider, which refuses an email it says is not verified. An instance that sends mail also lets the owner of an address take back an account made with it, by asking for a new password. See [Set up the instance's mail](../../../self-host/how-to/running/set-up-mail).
33
+ ### What proves an end user's email address
34
34
 
35
- `signOut()` ends the app session. At the instance's own address, a member still has the console session, so they stay signed in as staff.
35
+ An address a person types is not an address they own. Anyone can type anyone's. So the instance keeps two things apart: the address the account was made with, and whether that address is **proved**. An end user's address is proved when:
36
+
37
+ - they open the link sign-up mailed to it, and press **Finish and sign in**;
38
+ - they use an invitation link or a password reset link that the instance mailed to the address. A link a member of staff copied from the console and passed on does not prove it: whoever holds it need not read that mailbox;
39
+ - they sign in through an identity provider that vouches for the address. Either the address's domain is proved for the provider, or the provider says the address is verified (`email_verified: true` from an OIDC provider), or, for a SAML provider, the tenant chose **Take the provider's word on emails**;
40
+ - a directory pushes them with SCIM on the same terms: a proved domain, or **Take the provider's word on emails**.
41
+
42
+ Once an address is proved it stays proved. An account made before this was built is unproved until one of these happens: a person who resets their password by a mailed link becomes proved.
43
+
44
+ Where the instance sends mail, sign-up does not sign anyone in. It makes the account, mails a link and waits. Until the link is used, a sign-in with the right password is refused with `email_unproved` (403), and sends a new link. A wrong password only says the email or the password is wrong, so the answer tells a stranger nothing about the account. Where the instance sends no mail, a person who signs up is signed in at once and their address stays unproved. See [Set up the instance's mail](../../../self-host/how-to/running/set-up-mail).
45
+
46
+ An app sees the difference in two places. The `user` an app is given has `emailProved`, true or false, for an end user. And the built-in attribute **`email`** holds the address once it is proved, and is missing before. The address is also on the person as `email` whether or not it is proved, and that one is only what they typed.
47
+
48
+ So match a rule on the attribute, not on a column you fill from what people typed. A rule `{ allow: "read", when: { column: "owner_email", equals: { attribute: "email" } } }` shows a row only to a person whose proved address is in `owner_email`. An app that filters rows by the `email` on the person, which is only what was typed, shows the rows that carry an address to whoever signed up with it. Rows named by the person's ID, by a group or by an attribute you set are not affected. See [Rule rows by group or attribute](../../../administer/how-to/access/rule-rows-by-group-or-attribute).
49
+
50
+ A tenant cannot set an attribute called `email` of its own. `PATCH /tenants/{t}/end-users/{id}` answers 400 for it.
51
+
52
+ `signOut()` ends the sign-in the page's token stands on. At the instance's own address, a member still has the console session, so they stay signed in as staff.
36
53
 
37
54
  ## Roles and bindings
38
55
 
@@ -51,7 +68,7 @@ A person who started a run may read it, with no binding at the run.
51
68
 
52
69
  ## The app-only ceiling
53
70
 
54
- A person who comes to an app, an end user or a member carried to the app's own address, holds only the kinds of permission an app needs: `script`, `run`, `flow_run`, `table`, `data`, `data_all`, `file`, `app` and `theme`. Whatever role they are bound to, a permission outside those kinds is not theirs while they are at an app. A binding made too wide cannot hand an end user the tenant's settings or secrets. A binding to `anonymous` gives nothing outside those kinds either, and an operator's access grant does not count at an app's address.
71
+ A person who comes to an app, an end user or a member, also at the console's address, holds only the kinds of permission an app needs: `script`, `run`, `flow_run`, `table`, `data`, `data_all`, `file`, `app` and `theme`. Whatever role they are bound to, a permission outside those kinds is not theirs while they are at an app. A binding made too wide cannot hand an end user the tenant's settings or secrets. A binding to `anonymous` gives nothing outside those kinds either, and an operator's access grant does not count at an app's address.
55
72
 
56
73
  ## Row rules
57
74
 
@@ -77,12 +94,14 @@ See [What an app may load](../../reference/apps/content-policy) for how they are
77
94
 
78
95
  ## What this does not do
79
96
 
80
- - It does not isolate two tenants' code served at one address for apps. Their code shares an origin. Give each tenant a hostname of its own with [Domains](../../../administer/how-to/apps/give-an-app-a-hostname).
81
- - A widget's approval cannot be decided where a code app runs. The widget links to the console, and the instance answers 403 `decide_in_console` for a decision made at an app.
97
+ - It does not let a code app keep anything in the browser. There is no `localStorage`, `sessionStorage` or cookie.
98
+ - It does not let a code app sign a person in by calling the API: a sandboxed page cannot set a cookie. Sign-in is on the tenant's sign-in pages, which `signInUrl()` and `staffSignInUrl()` give.
99
+ - It does not let a code app decide an approval. The Approvals widget of an app made in the App Builder can be decided in the app, at every address, by a person who may decide it.
82
100
  - A binding at the workspace to members does not show in the **Open to** column of the Apps screen.
83
101
 
84
102
  ## How it fits
85
103
 
86
104
  - [Share an app](../../../console/how-to/apps/share-an-app) makes these bindings from the console.
87
105
  - [Write an app as code](../../how-to/apps/write-an-app) makes them from the repository.
106
+ - [The app client](../../reference/apps/app-client) sends the token.
88
107
  - [The Apps screen](../../../console/reference/screens/build/published-apps) shows who an app is open to.
@@ -38,7 +38,7 @@ A test run from the editor is the same, with the draft built into a bundle of it
38
38
 
39
39
  A worker claims a run and starts a **new process for each attempt**. It runs with only `PATH`, `TZ`, `LANG`, `TMPDIR` and `NODE_EXTRA_CA_CERTS` as its environment and never holds the worker's own credential. When the script asks `ctx` for a table, a secret or a connection, the call goes to the worker, which passes it on to the instance only if it is one of the run's declared things. A script that asks for something it did not declare fails.
40
40
 
41
- Volvel does not put each script in a container. A managed worker has a user of its own on the host, and a process per attempt is the unit that is watched, limited and ended. What a script can reach on the network is the worker host's firewall: addresses that are private, loopback or link-local are closed unless `WORKER_EGRESS_ALLOW` opens them. A script uses plain `fetch` and is not held to the instance's own `EGRESS_ALLOW`, which is for the instance's calls. See the [settings reference](../../../self-host/reference/settings).
41
+ Volvel does not put each script in a container. A managed worker has a user of its own on the host, emptied of processes and temporary files before another tenant's worker is given it, and a process per attempt is the unit that is watched, limited and ended. What a script can reach on the network is the worker host's firewall: addresses that are private, loopback or link-local are closed unless `WORKER_EGRESS_ALLOW` opens them. On an instance whose tenants do not trust each other, use `MANAGED_WORKERS=host`: `process` mode runs every tenant's scripts as one user. A script uses plain `fetch` and is not held to the instance's own `EGRESS_ALLOW`, which is for the instance's calls. See the [settings reference](../../../self-host/reference/settings).
42
42
 
43
43
  ## What a run is held to
44
44
 
@@ -212,7 +212,7 @@ By the end you will have an app in a tenant's repository that reads a table and
212
212
 
213
213
  The app is in **Build**, then **Apps**, with the tag **Repository**, its address, and, in **Open to**, the group the binding names, tagged **From repository** in the Share sheet. Its address is `/apps/<tenant>/<workspace>/<app>/` on the instance's address for apps.
214
214
 
215
- A repository app is served only where the instance has an address for apps. If it has none, the **Apps** screen says so and the app answers 503. `APPS_URL` is the setting that gives it one. Apps made in the App Builder and sites of documentation are served either way.
215
+ A repository app is served at the console's address, or at `APPS_URL` when the operator set one. Every page is served sandboxed: it has no origin of its own, so it has no cookie, no `localStorage` or `sessionStorage`, and cannot read another page. It acts with a token the instance puts in the page. What an app remembered in the browser, such as a chosen tab, is forgotten on reload. See [How access to an app works](../../explanation/apps/app-access).
216
216
 
217
217
  ## What the build checks
218
218
 
@@ -13,7 +13,7 @@ This page is for working on Volvel itself, or for trying the CLI before there is
13
13
  ## Before you start
14
14
 
15
15
  - A checkout of the Volvel repository.
16
- - Node 24 or later and pnpm 9.15, the versions in the repository's `package.json` (`engines` and `packageManager`).
16
+ - Node 26 or later and pnpm 9.15, the versions in the repository's `package.json` (`engines` and `packageManager`).
17
17
  - The setup for working on the instance itself (Docker, the database, `pnpm dev`) is in the repository's `CONTRIBUTING.md`. You do not need it to run the CLI. You do need an instance to sign in to: the steps use one you already have.
18
18
 
19
19
  ## Run it from the checkout
@@ -14,7 +14,7 @@ The `@volvel` packages are on npm from 0.6.0, the first public release. The comm
14
14
 
15
15
  ## Before you start
16
16
 
17
- - Node 24 or later. The repository's `.nvmrc` says 24 and its `package.json` says `"node": ">=24"`.
17
+ - Node 26 or later. The repository's `.nvmrc` says 26 and its `package.json` says `"node": ">=26"`.
18
18
  - npm, which comes with Node.
19
19
  - Only to install from tarballs: a checkout of the Volvel repository, built. If you do not have one, follow [Install from source](install-from-source) first and come back for the tarballs.
20
20
 
@@ -11,7 +11,7 @@ By the end a test runs a script with the same checks a worker applies, against f
11
11
  ## Before you start
12
12
 
13
13
  - The repository's dependencies are installed, so `@volvel/sdk` resolves. The testing tools are a subpath of it: `@volvel/sdk/testing`.
14
- - A test runner. The SDK does not bring one. This page uses Node's own, which on Node 24 runs TypeScript files as they are.
14
+ - A test runner. The SDK does not bring one. This page uses Node's own, which on Node 26 runs TypeScript files as they are.
15
15
  - This is separate from `volvel run`. `volvel run` runs your script with your real connections and secrets from `.platform/local.json`, and has no tables. A test runs with fakes, offline.
16
16
 
17
17
  ## Write the test
@@ -14,7 +14,7 @@ The CLI has no command for this. The console does it by hand; the API does it fr
14
14
 
15
15
  - A tenant and a workspace, and code deployed to the workspace that declares what you set. This page uses the connection `stock-orders`, the secret `SUPPLIER_ACCOUNT` and the variable `stock/reorder-quantity` of [Call an API from a script](../../../start/how-to/configure/call-an-api). A connection can be set up before the code that declares it is deployed.
16
16
  - An API key whose owner holds `connection:write`, `secret:write` and `variable:write` in the workspace. A Developer and a Workspace admin have all three. Make a key under **Account**, in **API keys**, or from a service account's page. See [Who can change what in Configure](../../../administer/reference/configure/who-can-change-what).
17
- - Node 24 or later, for `fetch` and top-level `await`.
17
+ - Node 26 or later, for `fetch` and top-level `await`.
18
18
  - The instance's address, and the credential and values to set. Fernhill's stand-in is at `http://127.0.0.1:4020`.
19
19
  - Fernhill is set up: see [Set up the Fernhill example](../../../start/how-to/example/set-up-the-fernhill-example).
20
20
 
@@ -25,11 +25,13 @@ To connect, the key needs `workspace:read` in the workspace, a binding to a scri
25
25
  | `get_run` | Always. | Reads a run: status, and output or error once ended. Takes `runId`. |
26
26
  | `get_flow_run` | Always. | Reads a flow run. Takes `flowRunId`. A flow can wait a long time for an approval. |
27
27
  | `list_approvals` | The key holds `approval:read`. | Lists what is waiting for a person's approval in the workspace. |
28
+ | `get_health` | The key holds `figures:read` in the workspace's tenant. | Reads the tenant's health now: runs due and not taken, the oldest wait, workers connected, and over the last 15 minutes the runs that ended, the share that failed and why runs waited. `status` is `ok`, `waiting` or `failing`, and `reasons` says what to do. Takes nothing. |
29
+ | `get_figures` | The key holds `figures:read` in the workspace's tenant. | Reads the tenant's figures in periods, as `GET /tenants/<id>/figures` does. Takes `names` (a list of figure names), `every` (`5m`, `hour`, `day` or `all`; default `hour`), `hours` (back from now, 1 to 720; default 24) and `by` (`workspace`, for a row for each workspace). Counts and times only, never a row, an input or an output. |
28
30
  | `decide_approval` | The key holds `approval:write`. | Approves or rejects a waiting approval. Takes `flowRunId`, `node`, `decision` (`approve` or `reject`) and `comment` (2000 characters at most). A rejection needs a comment. |
29
31
 
30
32
  ### Names
31
33
 
32
- A tool's name is made from the resource's path: `run_` or `start_`, then the path with `/` written `__` and `-` written `_`, cut to 64 characters. An author can choose another with `mcp: { name }` in `defineScript` or `defineFlow`. The names `get_run`, `get_flow_run`, `list_approvals` and `decide_approval` are reserved.
34
+ A tool's name is made from the resource's path: `run_` or `start_`, then the path with `/` written `__` and `-` written `_`, cut to 64 characters. An author can choose another with `mcp: { name }` in `defineScript` or `defineFlow`. The names `get_run`, `get_flow_run`, `list_approvals`, `decide_approval`, `get_health`, `get_figures`, `get_instance_health`, `list_tenants`, `get_tenant_health`, `get_tenant_figures`, `get_instance_figures` and `why_runs_wait` are reserved.
33
35
 
34
36
  ### Limits
35
37
 
@@ -43,6 +45,14 @@ A tool's name is made from the resource's path: `run_` or `start_`, then the pat
43
45
 
44
46
  Another person's run, flow run or waiting approval is masked as it is on screen. The caller's own are given as they are. `decide_approval` is refused for a step with named approvers the key is not among, and a service account's decision is listed under its name. An agent's calls are in the audit log with `via: "mcp"`. **Try** on the **Agent tools** tab logs `service_account.tool_tried` against the member who pressed it.
45
47
 
48
+ ## The instance's endpoint
49
+
50
+ ```text
51
+ POST /api/v1/mcp
52
+ ```
53
+
54
+ An MCP server named `volvel:instance`, for a key holding `instance:read` at the instance: an instance service account's, or an operator's own. No key is refused with 401, and a key without `instance:read`, such as a tenant's service account, with 403. Its tools are `get_instance_health`, `list_tenants`, `get_tenant_health`, `get_tenant_figures`, `get_instance_figures` and `why_runs_wait`, described in [Service accounts of the instance](../../../self-host/explanation/access/instance-service-accounts). They answer counts and times only. An instance account that holds a role in a tenant, by an operator's access grant or by the tenant's own binding, connects to that workspace's endpoint above like any key.
55
+
46
56
  ## Related
47
57
 
48
58
  - [Let an agent run a script](../../../administer/how-to/access/let-an-agent-run-a-script).
@@ -4,15 +4,15 @@ description: Every export of @volvel/app, the package a code app uses to read ta
4
4
  subjects: [apps, app-client]
5
5
  ---
6
6
 
7
- `@volvel/app` is the package a code app imports to talk to the instance that serves it. Every call goes to the instance as the person using the app, over the page's own address, with the cookie the instance set. The person's permissions decide what each call may do: the client adds none. An app that is not served by Volvel, and is not served by [`volvel dev`](../../how-to/apps/run-an-app-while-you-write-it), has no context, and the first call throws "This page was not served by Volvel. Open the app at its address, or run it with: volvel dev".
7
+ `@volvel/app` is the package a code app imports to talk to the instance that serves it. Every call goes to the instance as the person using the app, over the page's own address. A page of an app written as code is served sandboxed, with no cookie, so each call carries the page's app token as `Authorization: Bearer`. The person's permissions decide what each call may do: the client adds none. An app that is not served by Volvel, and is not served by [`volvel dev`](../../how-to/apps/run-an-app-while-you-write-it), has no context, and the first call throws "This page was not served by Volvel. Open the app at its address, or run it with: volvel dev".
8
8
 
9
9
  ## Context
10
10
 
11
11
  | Export | What it is |
12
12
  | --- | --- |
13
- | `appContext()` | The context the instance put in the page: `{ api, tenant, workspace, app, base, portal, principal }`. `api` is `/api/v1`. `tenant` has `id`, `slug`, `name` and `logo`. `app` has `path`, `title` and, for an app made in the console, `interface` and `pages`. `base` is the path the app is served under, ending in a slash: give it to your router. `portal` is where the tenant's sign-in pages are, as a path. `principal` is who the page was served to. Throws when there is none. |
13
+ | `appContext()` | The context the instance put in the page: `{ api, tenant, workspace, app, base, portal, principal, token }`. `api` is `/api/v1`. `tenant` has `id`, `slug`, `name` and `logo`. `app` has `path`, `title` and, for an app made in the console, `interface` and `pages`. `base` is the path the app is served under, ending in a slash: give it to your router. `portal` is where the tenant's sign-in pages are, as a path. `principal` is who the page was served to. `token` is `{ token, expiresAt }`, the app token the page calls with, or `null` when nobody is signed in. Throws when there is no context. |
14
14
  | `setAppContext(context)` | Replaces the context, or clears it with `undefined`. For tests. |
15
- | Types `AppContext`, `Principal` | A `Principal` has `type` (`member`, `end_user`, `service_account` or `anonymous`), `id`, `name`, `email`, and, when known, `groups`, `groupKeys` and `attributes`. The page fills `groups` for a member too, and `attributes` for an end user. |
15
+ | Types `AppContext`, `AppToken`, `Principal` | An `AppToken` has `token`, a string that begins `vxa_`, and `expiresAt`, a time. The token lasts 10 minutes. The client renews it before it ends, with `GET /api/v1/app-token`, and calls once more with a fresh one when an answer is 401. A `Principal` has `type` (`member`, `end_user`, `service_account` or `anonymous`), `id`, `name`, `email`, and, when known, `groups`, `groupKeys`, `attributes` and `emailProved`. The page fills `groups` for a member too, and `attributes` and `emailProved` for an end user. `emailProved` is true when the end user's address is proved. `attributes.email` holds the address once it is proved, and is missing before; `email` on the principal is the address as given, proved or not. |
16
16
 
17
17
  ## Calling the API
18
18
 
@@ -72,20 +72,22 @@ A person who is not signed in cannot start a script or a flow: the instance answ
72
72
  | --- | --- |
73
73
  | `useRun(id)` | Follows a script run: `{ data, error, ended, live }`. `data` is `undefined` until the first answer. It reads the run again each time the instance says it changed, and every 2 seconds while no stream is connected, until it ends. `live` says whether changes arrive as they happen. |
74
74
  | `useFlowRun(id)` | The same for a flow run, read again as it and its steps change. |
75
- | `runStream` | The page's one connection to `/tenants/<tenant>/stream`, shared by everything that follows a run. `runStream.connected` says whether it is open. |
75
+ | `runStream` | The page's one connection to `/tenants/<tenant>/stream`, shared by everything that follows a run. It is read with `fetch`, so the token is sent as a header and never in an address. `runStream.connected` says whether it is open. |
76
76
  | `changeOf(id, ms)` | Waits until the run `id` changes, or `ms` pass. |
77
77
 
78
78
  The stream carries only what the person may read: runs where they hold `run:read`, flow runs where they hold `flow_run:read`, and their own runs. Someone who may read no runs follows only their own, on at most 2 streams. Everyone else may have 5. Past that the instance answers 429 `too_many_streams`. A guest gets 401. In both cases the hooks look every 2 seconds, and a refused stream is not tried again on that page. There is no subscription to row changes.
79
79
 
80
+ A page of an app written as code has no `localStorage`, `sessionStorage` or cookie. What it keeps in them is lost, and the client keeps nothing there.
81
+
80
82
  ## Who is using the app
81
83
 
82
84
  | Export | What it does |
83
85
  | --- | --- |
84
- | `session()` | `{ principal, signUp }` from the instance. An end user's `groups` and `attributes` are filled in. `signUp` says whether people may make their own account. |
85
- | `useSession()` | `{ principal, signedIn, groups, attributes, refresh }`. It starts from who the page was served to, so the first draw is right, and `refresh` asks the instance again. |
86
- | `signInUrl(returnTo)` | The address of the tenant's sign-in page, which sends the person back to where they are now (or to `returnTo`). |
86
+ | `session()` | `{ principal, signUp }` from the instance. An end user's `groups`, `attributes` and `emailProved` are filled in. `signUp` says whether people may make their own account. |
87
+ | `useSession()` | `{ principal, signedIn, groups, attributes, refresh }`. `attributes.email` is there only once the address is proved. The hook starts from who the page was served to, so the first draw is right, and `refresh` asks the instance again. |
88
+ | `signInUrl(returnTo)` | The address of the tenant's sign-in page. A page of an app written as code cannot sign a person in by calling the API, so it sends them here. The page opened there sends the person back to where they are now (or to `returnTo`). |
87
89
  | `staffSignInUrl(returnTo)` | The address that signs a member of staff in to this app. |
88
- | `signOut()` | Ends the person's sign-in to the tenant's apps. A member's console session is left alone. |
90
+ | `signOut()` | Ends the sign-in the page's token stands on, and the page then calls as no one. A member's console session is left alone. |
89
91
  | `logoUrl()` | The address of the tenant's logo, or `null` when it has none. |
90
92
 
91
93
  ## Queries and help