Ettore Di Giacinto
7ce4507da1
feat(addons): keep per-person settings that an add-on declares
...
An add-on can declare userSettings in its manifest: a key, the allowed
values and a default. The host keeps each person's answer in the account
database every frontend shares (one file when accounts are off), checks
every write against the declaration, and never asks the add-on.
GET and PUT /api/addons/{id}/user-settings read and write them. A write
needs the person's own browser session, so no API key, model or tool can
change one. A setting may carry a role that the host reads for its own
rules; the host fixes the values and the default of a role so a manifest
cannot loosen it. Pages reach their settings through sdk.userSettings,
which is bound to the add-on that calls it.
Assisted-by: Claude:claude-sonnet-5-5 go node
2026-11-03 22:46:22 +00:00
..
2026-11-02 23:50:40 +00:00
2026-11-03 08:45:52 +00:00
2026-11-02 23:50:40 +00:00
2026-11-03 21:45:05 +00:00
2026-11-03 08:40:00 +00:00
2026-11-03 17:19:38 +00:00
2026-10-23 12:35:44 +02:00
2026-11-01 12:08:23 +01:00
2026-11-03 22:33:28 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 10:15:03 +00:00
2026-10-22 17:57:19 +02:00
2026-11-03 19:38:55 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 08:45:52 +00:00
2026-11-03 17:23:29 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 22:33:28 +00:00
2026-11-03 10:58:46 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 14:00:31 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 22:33:28 +00:00
2026-11-03 19:10:39 +00:00
2026-11-03 11:41:13 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 22:30:01 +00:00
2026-11-03 20:53:02 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 19:10:39 +00:00
2026-11-01 12:08:23 +01:00
2026-10-27 10:27:45 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 18:48:39 +01:00
2026-11-03 22:46:22 +00:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-11-03 21:45:05 +00:00
2026-11-03 16:57:04 +00:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-10-23 01:00:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 11:41:13 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 16:56:49 +00:00
2026-11-03 10:43:37 +00:00
2026-10-22 17:57:19 +02:00
2026-10-22 17:57:19 +02:00
2026-10-22 17:57:19 +02:00
2026-10-22 17:57:19 +02:00
2026-10-23 12:35:44 +02:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-10-22 17:57:19 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 20:53:02 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 22:47:17 +01:00
2026-11-02 22:47:17 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 22:46:22 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00