@jskit-ai/agent-docs 0.1.332 → 0.1.333

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 (36) hide show
  1. package/guide/agent/app-setup/authentication.md +106 -8
  2. package/guide/agent/framework/crud-form-actions.md +18 -7
  3. package/guide/agent/framework/material-3.md +9 -3
  4. package/guide/agent/framework/quality-pass.md +8 -2
  5. package/package.json +1 -1
  6. package/patterns/minimal-foundation/example/package.json +2 -2
  7. package/patterns/shell-foundation/example/package.json +3 -3
  8. package/reference/autogen/PATTERN_INDEX.md +19 -19
  9. package/reference/autogen/packages/auth-core.md +13 -0
  10. package/reference/autogen/packages/auth-provider-local-core.md +40 -5
  11. package/reference/autogen/packages/auth-provider-local-db-core.md +15 -0
  12. package/reference/autogen/packages/auth-web.md +26 -0
  13. package/reference/autogen/packages/http-web.md +2 -0
  14. package/reference/autogen/packages/shell-web.md +27 -0
  15. package/skills/jskit/references/crud-form-actions.md +18 -7
  16. package/skills/jskit/references/heuristics/client-requests.md +1 -1
  17. package/skills/jskit/references/heuristics/crud-authoring.md +3 -2
  18. package/skills/jskit/references/heuristics/live-actions.md +4 -1
  19. package/skills/jskit/references/heuristics/ui-contract.md +9 -1
  20. package/skills/jskit/references/material-3.md +9 -3
  21. package/skills/jskit/references/pattern-index.md +19 -19
  22. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +2 -2
  23. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +3 -3
  24. package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +1 -1
  25. package/skills/jskit/references/patterns/auth/auth-surface/PATTERN.md +10 -8
  26. package/skills/jskit/references/patterns/auth/auth-surface/example/src/pages/auth/email-change.vue +17 -0
  27. package/skills/jskit/references/patterns/auth/auth-surface/example/src/views/auth/EmailChangeView.vue +12 -0
  28. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  29. package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
  30. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  31. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsNotificationsSection.vue +3 -1
  32. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsPreferencesSection.vue +3 -1
  33. package/skills/jskit/references/patterns/users/account-settings/example/src/components/account/settings/AccountSettingsProfileSection.vue +4 -1
  34. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +1 -1
  35. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +2 -2
  36. package/skills/jskit/references/quality-pass.md +8 -2
@@ -29,6 +29,8 @@ Exports
29
29
  Local functions
30
30
  - `requireSessionConditions(onlyIf)`
31
31
  - `requireIdPrefix(idPrefix)`
32
+ - `requireUserId(userId, method)`
33
+ - `storedDisabledMessage(message)`
32
34
  - `readPassword(record)`
33
35
  - `writePassword(password = {})`
34
36
  - `mapUser(record)`
@@ -79,6 +81,7 @@ Exports
79
81
  Local functions
80
82
  - `idStartsWith(query, prefix, { column })`
81
83
  - `hasSecondFactorAt(query, _proved, { column })`
84
+ - `hasNoRevokedAt(query, _notRevoked, { column })`
82
85
 
83
86
  ### `src/server/lib/secondFactorRecords.js`
84
87
  Exports
@@ -129,14 +132,26 @@ Exports
129
132
  Exports
130
133
  - None
131
134
 
135
+ ### `migrations/auth_local_db_sessions_metadata.cjs`
136
+ Exports
137
+ - None
138
+
132
139
  ### `migrations/auth_local_db_used_passes.cjs`
133
140
  Exports
134
141
  - None
135
142
 
143
+ ### `migrations/auth_local_db_users_disabled_message.cjs`
144
+ Exports
145
+ - None
146
+
136
147
  ### `migrations/auth_local_db_users_email_verified.cjs`
137
148
  Exports
138
149
  - None
139
150
 
151
+ ### `migrations/auth_local_db_users_pending_email.cjs`
152
+ Exports
153
+ - None
154
+
140
155
  ### `migrations/auth_local_db_users_second_factors.cjs`
141
156
  Exports
142
157
  - None
@@ -104,6 +104,10 @@ Exports
104
104
  Exports
105
105
  - `useSecondFactorStepUp()`
106
106
 
107
+ ### `src/client/composables/useDefaultEmailChangeView.js`
108
+ Exports
109
+ - `useDefaultEmailChangeView()`
110
+
107
111
  ### `src/client/composables/useDefaultResetPasswordView.js`
108
112
  Exports
109
113
  - `useDefaultResetPasswordView()`
@@ -125,6 +129,7 @@ Exports
125
129
  - `DefaultLoginView`
126
130
  - `DefaultSignOutView`
127
131
  - `DefaultResetPasswordView`
132
+ - `DefaultEmailChangeView`
128
133
  - `AuthProfileWidget`
129
134
  - `AuthProfileMenuLinkItem`
130
135
  - `useSecondFactorStepUp`
@@ -207,6 +212,11 @@ Exports
207
212
  - `authHttpRequest(url, options = {}, state = undefined)`
208
213
  - `clearAuthCsrfTokenCache()`
209
214
 
215
+ ### `src/client/runtime/emailChangeLink.js`
216
+ Exports
217
+ - `confirmEmailChangeLink(href, request = authHttpRequest)`
218
+ - `readEmailChangeToken(href)`
219
+
210
220
  ### `src/client/runtime/inactiveSessionMessage.js`
211
221
  Exports
212
222
  - `inactiveSessionMessage(session)`
@@ -323,6 +333,10 @@ Exports
323
333
  Exports
324
334
  - None
325
335
 
336
+ ### `src/client/views/DefaultEmailChangeView.vue`
337
+ Exports
338
+ - None
339
+
326
340
  ### `src/client/views/DefaultLoginView.vue`
327
341
  Exports
328
342
  - None
@@ -411,6 +425,10 @@ Local functions
411
425
  Exports
412
426
  - `buildRoutes(controller, { includeDevLoginAs = false, rateLimits = DEFAULT_AUTH_RATE_LIMITS } = {})`
413
427
 
428
+ ### `src/server/routes/emailChangeRoutes.js`
429
+ Exports
430
+ - `registerEmailChangeRoutes(router, { rateLimits })`
431
+
414
432
  ### `src/server/routes/passSignInRoutes.js`
415
433
  Exports
416
434
  - `registerPassSignInRoutes(fastify, { service, rateLimit })`
@@ -448,6 +466,10 @@ Exports
448
466
  Exports
449
467
  - None
450
468
 
469
+ ### `patterns/auth-surface/example/src/pages/auth/email-change.vue`
470
+ Exports
471
+ - None
472
+
451
473
  ### `patterns/auth-surface/example/src/pages/auth/login.vue`
452
474
  Exports
453
475
  - None
@@ -479,6 +501,10 @@ Exports
479
501
  - `createSignOutAction`
480
502
  - `performSignOutRequest`
481
503
 
504
+ ### `patterns/auth-surface/example/src/views/auth/EmailChangeView.vue`
505
+ Exports
506
+ - None
507
+
482
508
  ### `patterns/auth-surface/example/src/views/auth/LoginView.vue`
483
509
  Exports
484
510
  - None
@@ -94,6 +94,8 @@ Local functions
94
94
  - `resolveEditLocation(record)`
95
95
  - `resolveOpenLocation(row)`
96
96
  - `openRow(row, event)`
97
+ - `loadMore()`
98
+ - `focusRow(index)`
97
99
  - `hasRowActionsFor(record, index)`
98
100
  - `isBulkRowSelected(row)`
99
101
  - `setBulkRowSelected(row, selected = true)`
@@ -104,6 +104,8 @@ Exports
104
104
  ### `src/client/components/ShellNavigationItem.vue`
105
105
  Exports
106
106
  - None
107
+ Local functions
108
+ - `Unwrapped(_props, { slots })`
107
109
 
108
110
  ### `src/client/components/ShellNavigationScope.vue`
109
111
  Exports
@@ -235,6 +237,16 @@ Local functions
235
237
  Exports
236
238
  - `useShellWindowSizeClass()`
237
239
 
240
+ ### `src/client/directives/vPending.js`
241
+ Exports
242
+ - `vPending`
243
+ Local functions
244
+ - `controlOf(element)`
245
+ - `ignoreWhilePending(event)`
246
+ - `firstMarkedField(control)`
247
+ - `mark(element, pending)`
248
+ - `settle(element)`
249
+
238
250
  ### `src/client/error/index.js`
239
251
  Exports
240
252
  - `createDefaultErrorPolicy`
@@ -340,6 +352,7 @@ Exports
340
352
  - `useShellPageTitle`
341
353
  - `useShellPageClose`
342
354
  - `useShellWindowSizeClass`
355
+ - `vPending`
343
356
  - `useShellNavigation`
344
357
  - `leaveApp`
345
358
  - `reloadAppPage`
@@ -637,10 +650,12 @@ Exports
637
650
  - `NO_SHELL_NAVIGATION_PRESENTATION`
638
651
  - `NO_SHELL_PAGE_ACTIONS_TARGET`
639
652
  - `NO_VUETIFY_ICONS`
653
+ - `NO_VUETIFY_LIST`
640
654
  - `SHELL_NAVIGATION_PRESENTATION_KEY`
641
655
  - `SHELL_PAGE_ACTIONS_ID`
642
656
  - `SHELL_PAGE_ACTIONS_TARGET_KEY`
643
657
  - `VUETIFY_ICONS_KEY`
658
+ - `VUETIFY_LIST_KEY`
644
659
  - `filledIconAlias(icon, aliases)`
645
660
 
646
661
  ### `src/client/support/pageActions.js`
@@ -759,6 +774,18 @@ Local functions
759
774
  Exports
760
775
  - None
761
776
 
777
+ ### `fixtures/adaptive-shell/src/PendingActionsPage.vue`
778
+ Exports
779
+ - None
780
+ Local functions
781
+ - `start(name)`
782
+
783
+ ### `fixtures/adaptive-shell/src/PendingDialogPage.vue`
784
+ Exports
785
+ - None
786
+ Local functions
787
+ - `invite()`
788
+
762
789
  ### `fixtures/adaptive-shell/src/RecordListPage.vue`
763
790
  Exports
764
791
  - None
@@ -6,9 +6,15 @@
6
6
  its default content. The slot exposes `screen`, `mode`, `formRuntime`,
7
7
  `formState`, `addEdit`, `saveLabel`, the resolved
8
8
  `cancelTo` route target, and `submit`. Custom actions call `submit()` and bind
9
- their disabled state to `addEdit.isSubmitDisabled`. Keyboard submission uses
10
- the same runtime. `addEdit.isSaving` stays true through the request and
11
- asynchronous `onSaveSuccess` callback; duplicate
9
+ their disabled state to `addEdit.isSubmitDisabled` and their pending state to
10
+ `addEdit.isSubmitPending` (the save, or the record's reload after it, is
11
+ running). `ShellPageAction` takes both and keeps keyboard focus while it is
12
+ pending; a plain button, when possible, takes
13
+ `v-pending="addEdit.isSubmitPending"` and
14
+ `:disabled="addEdit.isSubmitDisabled && !addEdit.isSubmitPending"`, since a
15
+ focused button that becomes disabled drops focus to the page body. Keyboard
16
+ submission uses the same runtime. `addEdit.isSaving` stays true through the
17
+ request and asynchronous `onSaveSuccess` callback; duplicate
12
18
  submissions remain blocked during both.
13
19
 
14
20
  `useAddEdit()` and the `addEdit` runtime exposed by `useCrudAddEdit()` and
@@ -37,9 +43,13 @@ Inside `CrudAddEditScreen`, alongside the existing `fields` slot:
37
43
  <template #actions="{ addEdit, submit, saveLabel, cancelTo }">
38
44
  <v-btn v-if="cancelTo" variant="outlined" :to="cancelTo">Cancel</v-btn>
39
45
  <div>
40
- <v-btn :disabled="addEdit.isSubmitDisabled" @click="submit">
41
- {{ addEdit.isSaving ? "Saving…" : saveLabel }}
42
- </v-btn>
46
+ <ShellPageAction
47
+ primary
48
+ :label="addEdit.isSaving ? 'Saving…' : saveLabel"
49
+ :disabled="addEdit.isSubmitDisabled"
50
+ :pending="addEdit.isSubmitPending"
51
+ @click="submit"
52
+ />
43
53
  <p v-if="addEdit.validationAttempted" aria-live="polite">
44
54
  {{ Object.values(addEdit.validationErrors).join(" ") }}
45
55
  </p>
@@ -53,7 +63,8 @@ to clear the successfully saved model, call `screen.addEdit.resetValidation()`,
53
63
  and prepare the next entry. This callback replaces default success navigation
54
64
  and invalidation; perform those there when needed. Clear the model only in
55
65
  `onSaveSuccess`: `submit()` also resolves after invalid or failed submissions.
56
- Guard action selection with `isSubmitDisabled` and restore the default action
66
+ Guard action selection with `isSubmitDisabled` (true while pending too) and
67
+ restore the default action
57
68
  after each attempt so keyboard submission uses normal Save. Track the clicked
58
69
  button separately to keep guidance beside it while fields are corrected.
59
70
 
@@ -54,7 +54,7 @@ Screen wrapper extension rules:
54
54
  - Use `requestFieldsets` only when a specialised caller intentionally needs a typed JSON:API sparse fieldset. Ordinary generated reads use the complete resource output contract.
55
55
  - Use `readEnabled` and `queryKeyFactory` on `useCrudViewScreen()` when the detail read needs the same gating or cache identity control as `useCrudView()`.
56
56
  - Use `CrudViewScreen` slots (`before-fields`, `fields`, `after-fields`, `supporting-content`) for page-specific domain sections while keeping shared load/error/retry chrome.
57
- - Use the `CrudAddEditScreen` `actions` slot for custom save buttons. Call its `submit()`, bind `addEdit.isSubmitDisabled`, and use `addEdit.validationAttempted`, `addEdit.validationErrors`, and `addEdit.resetValidation()` for local guidance. Set `addEditOptions.validationFeedback: false` to suppress only local validation feedback; clear a saved form in `addEditOptions.onSaveSuccess`.
57
+ - Use the `CrudAddEditScreen` `actions` slot for custom save buttons. Call its `submit()`, bind `addEdit.isSubmitDisabled` and `addEdit.isSubmitPending` (`ShellPageAction`'s `disabled` and `pending`, so Save keeps keyboard focus while it runs), and use `addEdit.validationAttempted`, `addEdit.validationErrors`, and `addEdit.resetValidation()` for local guidance. Set `addEditOptions.validationFeedback: false` to suppress only local validation feedback; clear a saved form in `addEditOptions.onSaveSuccess`.
58
58
  - Use `listRowActions` with `defineCrudListRowActions(...)` for row-level commands in `CrudListScreen`.
59
59
  - Use `syntheticRows` for display-only rows that do not come from the CRUD response, such as owner/master rows.
60
60
 
@@ -108,8 +108,9 @@ is no longer its principal public contract.
108
108
  - test list/view/create/update/delete document shapes
109
109
  - test positive owner access and negative cross-owner access
110
110
  - test relationships and deletion behavior
111
- - verify skeletons, stable pending labels, toast mutation feedback, and no
112
- horizontal overflow in compact, medium, and expanded screens
111
+ - verify skeletons, stable pending labels, pending buttons that keep keyboard
112
+ focus, toast mutation feedback, and no horizontal overflow in compact,
113
+ medium, and expanded screens
113
114
  - run current framework and application verification
114
115
 
115
116
  Avoid generator provenance, scaffold shapes, ownership receipts, workboards,
@@ -34,7 +34,10 @@ Good live-action pattern:
34
34
 
35
35
  - build a narrow payload
36
36
  - call `command.run()`
37
- - disable only the busy control while the command is running
37
+ - mark only the busy control pending while the command is running
38
+ (`v-pending="command.isRunning"`, or `ShellPageAction`'s `pending`), when
39
+ possible, rather than disabling it: it keeps keyboard focus, reads as
40
+ unavailable and ignores a second press
38
41
  - invalidate the relevant query key on success
39
42
  - keep derived business rules on the server
40
43
 
@@ -30,7 +30,15 @@ and action UI.
30
30
 
31
31
  - Initial and structural loading uses shape-matching skeletons.
32
32
  - Never use circular progress, indeterminate spinners, or loading icons.
33
- - Pending buttons keep their position and use stable disabled labels.
33
+ - Pending buttons keep their position, use stable pending labels and, when
34
+ possible, keep keyboard focus: `pending` on `ShellPageAction` and
35
+ `ShellPrimaryAction`, `v-pending`
36
+ (`@jskit-ai/shell-web/client/directives/vPending`) on other buttons, instead
37
+ of `disabled`, which drops a focused button's focus to the page body. When
38
+ the command's refusal marks a field, focus moves to that field; when the
39
+ button goes away as its command settles (the last page of "Load more"), move
40
+ focus to where the next step starts, such as the first record that page
41
+ added.
34
42
  - Resource-load failures stay in the affected region with retry.
35
43
  - Command and mutation failures use the shared toast/snackbar feedback path;
36
44
  they do not insert banners that push page content down.
@@ -269,8 +269,9 @@ dialog, chip or FAB.
269
269
  (`@jskit-ai/shell-web/client/components/ShellPageActions`), each a
270
270
  `ShellPageAction` with `icon`, `label` (also its accessible name and compact
271
271
  tooltip), and `primary`, `to`, `replace`, `href` (with `download` for a
272
- file, such as a CSV export), `disabled`, `loading` or `color` (`error` for a
273
- destructive one); attributes such as `target` reach its button. On compact
272
+ file, such as a CSV export), `disabled`, `pending`, `loading` or `color`
273
+ (`error` for a destructive one); attributes such as `target` reach its
274
+ button. On compact
274
275
  widths the bar shows the single `primary` action (a form's Save) and puts
275
276
  the other actions, and the top-right items that don't fit beside the title,
276
277
  in its "More actions" menu, where `overflow` actions always are; medium and
@@ -362,7 +363,12 @@ dialog, chip or FAB.
362
363
  loading uses Material skeletons that reserve the final content geometry;
363
364
  never use a generic spinner or circular progress indicator, and never let
364
365
  content jump when data arrives. An action without a loading content region
365
- uses a stable disabled/pending label and shared feedback, not a spinner.
366
+ uses a stable pending label ("Saving…") and shared feedback, not a spinner.
367
+ - While a command runs, mark its button pending rather than `disabled` when
368
+ possible: `pending` on `ShellPageAction` and `ShellPrimaryAction`,
369
+ `v-pending` on other buttons. It keeps keyboard focus, reads as unavailable
370
+ and ignores a second press; a focused button that becomes `disabled` drops
371
+ focus to the page body. Keep `disabled` for an action that cannot run.
366
372
  - Keep failures at their semantic owner. A resource that cannot render uses a
367
373
  stable in-page error and retry state; field validation stays beside the
368
374
  field. A user-triggered command uses JSKIT's shared action
@@ -15,7 +15,7 @@ A concrete Fastify, Vue, and JSKIT application foundation for products that do n
15
15
 
16
16
  - Id: `app/minimal-foundation`
17
17
  - Keywords: `app`, `fastify`, `foundation`, `minimal`, `server`, `vite`, `vue`
18
- - Owner: `@jskit-ai/agent-docs@0.1.332`
18
+ - Owner: `@jskit-ai/agent-docs@0.1.333`
19
19
  - Read: [PATTERN.md](patterns/app/minimal-foundation/PATTERN.md)
20
20
  - Examples: [example/](patterns/app/minimal-foundation/example/)
21
21
  - Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`
@@ -26,7 +26,7 @@ A concrete JSKIT web application foundation with responsive shell navigation, se
26
26
 
27
27
  - Id: `app/shell-foundation`
28
28
  - Keywords: `app`, `foundation`, `material`, `navigation`, `placements`, `shell`, `vite`, `vue`
29
- - Owner: `@jskit-ai/agent-docs@0.1.332`
29
+ - Owner: `@jskit-ai/agent-docs@0.1.333`
30
30
  - Read: [PATTERN.md](patterns/app/shell-foundation/PATTERN.md)
31
31
  - Examples: [example/](patterns/app/shell-foundation/example/)
32
32
  - Requires: `@jskit-ai/http-runtime`, `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -37,7 +37,7 @@ Configure an assistant runtime for one application surface and expose its chat a
37
37
 
38
38
  - Id: `assistant/assistant-surface`
39
39
  - Keywords: `ai`, `assistant`, `chat`, `config`, `environment`, `page`, `placement`, `settings`, `surface`
40
- - Owner: `@jskit-ai/assistant-runtime@0.2.70`
40
+ - Owner: `@jskit-ai/assistant-runtime@0.2.71`
41
41
  - Read: [PATTERN.md](patterns/assistant/assistant-surface/PATTERN.md)
42
42
  - Examples: [example/](patterns/assistant/assistant-surface/example/)
43
43
  - Requires: `@jskit-ai/assistant-runtime`, `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`, `@jskit-ai/shell-web`
@@ -48,7 +48,7 @@ Run one OpenID Connect sign-in for all of an owner's apps as its own JSKIT proje
48
48
 
49
49
  - Id: `auth/accounts-hub`
50
50
  - Keywords: `accounts hub`, `auth`, `authentication`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
51
- - Owner: `@jskit-ai/oidc-issuer-core@0.1.42`
51
+ - Owner: `@jskit-ai/oidc-issuer-core@0.1.43`
52
52
  - Read: [PATTERN.md](patterns/auth/accounts-hub/PATTERN.md)
53
53
  - Examples: [example/](patterns/auth/accounts-hub/example/)
54
54
  - Requires: `@jskit-ai/oidc-issuer-core`
@@ -59,7 +59,7 @@ Compose JSKIT authentication routes, views, profile controls, and public surface
59
59
 
60
60
  - Id: `auth/auth-surface`
61
61
  - Keywords: `account`, `auth`, `login`, `logout`, `password`, `placement`, `profile`, `reset`, `surface`
62
- - Owner: `@jskit-ai/auth-web@0.2.44`
62
+ - Owner: `@jskit-ai/auth-web@0.2.45`
63
63
  - Read: [PATTERN.md](patterns/auth/auth-surface/PATTERN.md)
64
64
  - Examples: [example/](patterns/auth/auth-surface/example/)
65
65
  - Requires: `@jskit-ai/auth-core`, `@jskit-ai/auth-web`, `@jskit-ai/shell-web`
@@ -70,7 +70,7 @@ Let people sign in with the accounts they already have in an accounts hub or ano
70
70
 
71
71
  - Id: `auth/oidc-sign-in`
72
72
  - Keywords: `accounts hub`, `auth`, `authentication`, `back-channel logout`, `dynamic client registration`, `issuer`, `master login`, `oidc`, `openid connect`, `single sign-on`, `sso`
73
- - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.48`
73
+ - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.49`
74
74
  - Read: [PATTERN.md](patterns/auth/oidc-sign-in/PATTERN.md)
75
75
  - Examples: [example/](patterns/auth/oidc-sign-in/example/)
76
76
  - Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
@@ -81,7 +81,7 @@ Add Supabase authentication through normal npm composition, explicit environment
81
81
 
82
82
  - Id: `auth/supabase-auth`
83
83
  - Keywords: `auth`, `authentication`, `oauth`, `sessions`, `supabase`
84
- - Owner: `@jskit-ai/auth-provider-supabase-core@0.2.33`
84
+ - Owner: `@jskit-ai/auth-provider-supabase-core@0.2.34`
85
85
  - Read: [PATTERN.md](patterns/auth/supabase-auth/PATTERN.md)
86
86
  - Examples: [example/](patterns/auth/supabase-auth/example/)
87
87
  - Requires: `@jskit-ai/auth-provider-supabase-core`
@@ -246,7 +246,7 @@ Add a protected administration surface, settings shell, and semantic navigation
246
246
 
247
247
  - Id: `console/console-surface`
248
248
  - Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
249
- - Owner: `@jskit-ai/console-web@0.1.279`
249
+ - Owner: `@jskit-ai/console-web@0.1.280`
250
250
  - Read: [PATTERN.md](patterns/console/console-surface/PATTERN.md)
251
251
  - Examples: [example/](patterns/console/console-surface/example/)
252
252
  - Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
@@ -279,7 +279,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
279
279
 
280
280
  - Id: `crud/crud-screen-set`
281
281
  - Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
282
- - Owner: `@jskit-ai/http-web@0.2.45`
282
+ - Owner: `@jskit-ai/http-web@0.2.46`
283
283
  - Read: [PATTERN.md](patterns/crud/crud-screen-set/PATTERN.md)
284
284
  - Examples: [example/](patterns/crud/crud-screen-set/example/)
285
285
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -323,7 +323,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
323
323
 
324
324
  - Id: `mobile/android-application`
325
325
  - Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
326
- - Owner: `@jskit-ai/mobile-capacitor@0.2.38`
326
+ - Owner: `@jskit-ai/mobile-capacitor@0.2.39`
327
327
  - Read: [PATTERN.md](patterns/mobile/android-application/PATTERN.md)
328
328
  - Examples: [example/](patterns/mobile/android-application/example/)
329
329
  - Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
@@ -334,7 +334,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
334
334
 
335
335
  - Id: `realtime/realtime-application`
336
336
  - Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
337
- - Owner: `@jskit-ai/realtime@0.2.41`
337
+ - Owner: `@jskit-ai/realtime@0.2.42`
338
338
  - Read: [PATTERN.md](patterns/realtime/realtime-application/PATTERN.md)
339
339
  - Examples: [example/](patterns/realtime/realtime-application/example/)
340
340
  - Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
@@ -345,7 +345,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
345
345
 
346
346
  - Id: `rewards/google-rewarded`
347
347
  - Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
348
- - Owner: `@jskit-ai/rewarded-web@0.2.56`
348
+ - Owner: `@jskit-ai/rewarded-web@0.2.57`
349
349
  - Read: [PATTERN.md](patterns/rewards/google-rewarded/PATTERN.md)
350
350
  - Examples: [example/](patterns/rewards/google-rewarded/example/)
351
351
  - Requires: `@jskit-ai/rewarded-web`
@@ -356,7 +356,7 @@ Define a server feature through explicit capabilities and first-class actions, a
356
356
 
357
357
  - Id: `server/feature-package`
358
358
  - Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
359
- - Owner: `@jskit-ai/agent-docs@0.1.332`
359
+ - Owner: `@jskit-ai/agent-docs@0.1.333`
360
360
  - Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
361
361
  - Examples: [example/](patterns/server/feature-package/example/)
362
362
  - Requires: `@jskit-ai/kernel`
@@ -367,7 +367,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
367
367
 
368
368
  - Id: `shell/application-shell`
369
369
  - Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
370
- - Owner: `@jskit-ai/shell-web@0.2.38`
370
+ - Owner: `@jskit-ai/shell-web@0.2.39`
371
371
  - Read: [PATTERN.md](patterns/shell/application-shell/PATTERN.md)
372
372
  - Examples: [example/](patterns/shell/application-shell/example/)
373
373
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -378,7 +378,7 @@ Add product routes and shell extensions through file routing, semantic placement
378
378
 
379
379
  - Id: `ui/page-and-placement`
380
380
  - Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
381
- - Owner: `@jskit-ai/shell-web@0.2.38`
381
+ - Owner: `@jskit-ai/shell-web@0.2.39`
382
382
  - Read: [PATTERN.md](patterns/ui/page-and-placement/PATTERN.md)
383
383
  - Examples: [example/](patterns/ui/page-and-placement/example/)
384
384
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -389,7 +389,7 @@ Compose an account settings route and profile, preference, notification, and sig
389
389
 
390
390
  - Id: `users/account-settings`
391
391
  - Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
392
- - Owner: `@jskit-ai/users-web@0.2.62`
392
+ - Owner: `@jskit-ai/users-web@0.2.63`
393
393
  - Read: [PATTERN.md](patterns/users/account-settings/PATTERN.md)
394
394
  - Examples: [example/](patterns/users/account-settings/example/)
395
395
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
@@ -400,7 +400,7 @@ Expose user administration and workspace-scoped member operations through app-ow
400
400
 
401
401
  - Id: `users/user-administration-server`
402
402
  - Keywords: `account`, `admin`, `member`, `repository`, `resource`, `routes`, `service`, `user`, `workspace`
403
- - Owner: `@jskit-ai/users-core@0.2.49`
403
+ - Owner: `@jskit-ai/users-core@0.2.50`
404
404
  - Read: [PATTERN.md](patterns/users/user-administration-server/PATTERN.md)
405
405
  - Examples: [example/](patterns/users/user-administration-server/example/)
406
406
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/users-core`
@@ -411,7 +411,7 @@ Configure roles, workspace access policy, invitations, and app-owned invitation
411
411
 
412
412
  - Id: `workspaces/workspace-server`
413
413
  - Keywords: `access`, `invite`, `membership`, `multitenancy`, `policy`, `role`, `tenancy`, `workspace`
414
- - Owner: `@jskit-ai/workspaces-core@0.2.49`
414
+ - Owner: `@jskit-ai/workspaces-core@0.2.50`
415
415
  - Read: [PATTERN.md](patterns/workspaces/workspace-server/PATTERN.md)
416
416
  - Examples: [example/](patterns/workspaces/workspace-server/example/)
417
417
  - Requires: `@jskit-ai/users-core`, `@jskit-ai/workspaces-core`
@@ -422,7 +422,7 @@ Compose workspace selection, invitation, member administration, settings, and re
422
422
 
423
423
  - Id: `workspaces/workspace-surfaces`
424
424
  - Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
425
- - Owner: `@jskit-ai/workspaces-web@0.2.62`
425
+ - Owner: `@jskit-ai/workspaces-web@0.2.63`
426
426
  - Read: [PATTERN.md](patterns/workspaces/workspace-surfaces/PATTERN.md)
427
427
  - Examples: [example/](patterns/workspaces/workspace-surfaces/example/)
428
428
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
@@ -35,7 +35,7 @@
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
37
  "@jskit-ai/kernel": "0.2.27",
38
- "@jskit-ai/material-web": "0.1.8",
38
+ "@jskit-ai/material-web": "0.1.9",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
41
41
  "pino": "^10.3.1",
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "devDependencies": {
52
52
  "@jskit-ai/config-eslint": "0.1.252",
53
- "@jskit-ai/jskit-catalog": "0.2.84",
53
+ "@jskit-ai/jskit-catalog": "0.2.85",
54
54
  "@playwright/test": "1.61.1",
55
55
  "@vitejs/plugin-vue": "^6.0.7",
56
56
  "eslint": "^10.8.0",
@@ -35,7 +35,7 @@
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
37
  "@jskit-ai/kernel": "0.2.27",
38
- "@jskit-ai/material-web": "0.1.8",
38
+ "@jskit-ai/material-web": "0.1.9",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
41
41
  "pino": "^10.3.1",
@@ -45,13 +45,13 @@
45
45
  "vue-router": "^5.3.1",
46
46
  "vuetify": "^4.3.0",
47
47
  "@jskit-ai/http-runtime": "0.2.27",
48
- "@jskit-ai/shell-web": "0.2.38",
48
+ "@jskit-ai/shell-web": "0.2.39",
49
49
  "@fastify/fast-json-stringify-compiler": "^5.1.0",
50
50
  "@vue/devtools-api": "^8.2.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@jskit-ai/config-eslint": "0.1.252",
54
- "@jskit-ai/jskit-catalog": "0.2.84",
54
+ "@jskit-ai/jskit-catalog": "0.2.85",
55
55
  "@playwright/test": "1.61.1",
56
56
  "@vitejs/plugin-vue": "^6.0.7",
57
57
  "eslint": "^10.8.0",
@@ -4,6 +4,6 @@
4
4
  "dependencies": {
5
5
  "@jskit-ai/database-runtime": "0.1.276",
6
6
  "@jskit-ai/database-runtime-mysql": "0.1.274",
7
- "@jskit-ai/oidc-issuer-core": "0.1.42"
7
+ "@jskit-ai/oidc-issuer-core": "0.1.43"
8
8
  }
9
9
  }
@@ -27,8 +27,8 @@ Those choices must be known before adapting the example.
27
27
  ## Framework APIs
28
28
 
29
29
  Use the views, auth guard, HTTP client integration, sign-out runtime, providers,
30
- and Playwright auth helper exported by `@jskit-ai/auth-web`. The sign-in, reset
31
- and sign-out screens show the app's identity: the pages render the app's view
30
+ and Playwright auth helper exported by `@jskit-ai/auth-web`. The sign-in, reset,
31
+ email change and sign-out screens show the app's identity: the pages render the app's view
32
32
  wrappers (`src/views/auth/`), and each wrapper fills the default view's `brand`
33
33
  slot (given `{ compact }`) with `src/components/AppBrand.vue`, the app's name
34
34
  as `index.html`'s `<title>` spells it. JSKIT lays the slot out as a pane beside
@@ -107,9 +107,10 @@ a user as a side effect.
107
107
  exercised.
108
108
  - Public auth routes do not require an existing session.
109
109
  - Protected routes use the framework auth policy rather than page-local checks.
110
- - Login, sign-out, and reset views use the public auth components/composables.
111
- - The sign-in, reset and sign-out pages render the app's view wrappers, which
112
- fill the `brand` slot with the app's identity (`AppBrand.vue`): a person
110
+ - Login, sign-out, reset and email change views use the public auth
111
+ components/composables.
112
+ - The sign-in, reset, email change and sign-out pages render the app's view
113
+ wrappers, which fill the `brand` slot with the app's identity (`AppBrand.vue`): a person
113
114
  always sees which app they are signing in to. Renaming the app renames
114
115
  `AppBrand.vue` with `index.html`'s `<title>`; the brand adds no heading.
115
116
  - A custom login view must preserve the default view's initial session check:
@@ -152,9 +153,10 @@ placements, and post-auth destinations while retaining the runtime contracts.
152
153
 
153
154
  ## Verification
154
155
 
155
- Check that the sign-in, reset and sign-out screens show the app's name, in the
156
- pane on a wide window and in the row on a phone. Exercise failed and successful
157
- login, sign-out, reset, protected navigation,
156
+ Check that the sign-in, reset, email change and sign-out screens show the
157
+ app's name, in the pane on a wide window and in the row on a phone. Exercise
158
+ failed and successful login, sign-out, reset, an email change link, protected
159
+ navigation,
158
160
  keyboard interaction, warm-cache return navigation, and browser refresh.
159
161
  Open the login route with an existing authenticated session and confirm it
160
162
  returns to the requested screen; repeat signed out and confirm the form remains.
@@ -0,0 +1,17 @@
1
+ <route lang="json">
2
+ {
3
+ "meta": {
4
+ "guard": {
5
+ "policy": "public"
6
+ }
7
+ }
8
+ }
9
+ </route>
10
+
11
+ <script setup>
12
+ import EmailChangeView from "@/views/auth/EmailChangeView.vue";
13
+ </script>
14
+
15
+ <template>
16
+ <EmailChangeView />
17
+ </template>
@@ -0,0 +1,12 @@
1
+ <script setup>
2
+ import DefaultEmailChangeView from "@jskit-ai/auth-web/client/views/DefaultEmailChangeView";
3
+ import AppBrand from "@/components/AppBrand.vue";
4
+ </script>
5
+
6
+ <template>
7
+ <DefaultEmailChangeView>
8
+ <template #brand="{ compact }">
9
+ <AppBrand :compact="compact" />
10
+ </template>
11
+ </DefaultEmailChangeView>
12
+ </template>
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/auth-provider-oidc-core": "0.2.48",
6
- "@jskit-ai/auth-web": "0.2.44"
5
+ "@jskit-ai/auth-provider-oidc-core": "0.2.49",
6
+ "@jskit-ai/auth-web": "0.2.45"
7
7
  }
8
8
  }
@@ -2,6 +2,6 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/auth-provider-supabase-core": "0.2.33"
5
+ "@jskit-ai/auth-provider-supabase-core": "0.2.34"
6
6
  }
7
7
  }
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/realtime": "0.2.41",
6
- "@jskit-ai/shell-web": "0.2.38"
5
+ "@jskit-ai/realtime": "0.2.42",
6
+ "@jskit-ai/shell-web": "0.2.39"
7
7
  }
8
8
  }