@jskit-ai/agent-docs 0.1.352 → 0.1.354

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 (55) hide show
  1. package/guide/agent/app-extras/assistant.md +70 -0
  2. package/guide/agent/app-setup/authentication.md +151 -2
  3. package/guide/agent/app-setup/database-layer.md +9 -0
  4. package/guide/agent/app-setup/service-keys.md +103 -0
  5. package/guide/agent/app-setup/upgrading-jskit.md +11 -2
  6. package/guide/agent/framework/data-access.md +13 -0
  7. package/guide/agent/framework/typed-features.md +10 -5
  8. package/guide/agent/index.md +2 -0
  9. package/package.json +1 -1
  10. package/patterns/feature-package/example/booking-engine/package.json +1 -1
  11. package/patterns/minimal-foundation/example/package.json +3 -3
  12. package/patterns/shell-foundation/example/package.json +4 -4
  13. package/patterns/shell-foundation/example/packages/main/package.json +1 -1
  14. package/reference/autogen/PATTERN_INDEX.md +49 -38
  15. package/reference/autogen/packages/assistant-core.md +44 -8
  16. package/reference/autogen/packages/assistant-runtime.md +25 -0
  17. package/reference/autogen/packages/auth-core.md +4 -0
  18. package/reference/autogen/packages/auth-provider-local-core.md +13 -0
  19. package/reference/autogen/packages/auth-web.md +60 -16
  20. package/reference/autogen/packages/crud-core.md +3 -1
  21. package/reference/autogen/packages/database-runtime.md +1 -0
  22. package/reference/autogen/packages/http-web.md +1 -0
  23. package/reference/autogen/packages/realtime.md +2 -1
  24. package/reference/autogen/packages/resource-runtime.md +9 -0
  25. package/reference/autogen/packages/shell-web.md +35 -0
  26. package/reference/autogen/tooling/jskit-catalog.md +13 -6
  27. package/reference/autogen/tooling/jskit-release.md +12 -5
  28. package/reference/autogen/tooling/testUtils.md +1 -0
  29. package/skills/jskit/references/data-access.md +13 -0
  30. package/skills/jskit/references/database-layer.md +9 -0
  31. package/skills/jskit/references/heuristics/row-policies.md +1 -1
  32. package/skills/jskit/references/heuristics/ui-testing.md +3 -3
  33. package/skills/jskit/references/pattern-index.md +49 -38
  34. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +3 -3
  35. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +4 -4
  36. package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
  37. package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +3 -3
  38. package/skills/jskit/references/patterns/auth/auth-surface/PATTERN.md +3 -0
  39. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  40. package/skills/jskit/references/patterns/auth/own-design-sign-in/PATTERN.md +141 -0
  41. package/skills/jskit/references/patterns/auth/own-design-sign-in/example/src/components/ConfirmItsYouDialog.vue +182 -0
  42. package/skills/jskit/references/patterns/auth/own-design-sign-in/example/src/theme/tokens.css +35 -0
  43. package/skills/jskit/references/patterns/auth/own-design-sign-in/example/src/views/auth/LoginView.vue +473 -0
  44. package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
  45. package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +5 -5
  46. package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +3 -3
  47. package/skills/jskit/references/patterns/crud/crud-screen-set/example/books/BookListPage.vue +1 -1
  48. package/skills/jskit/references/patterns/database/mysql-application/example/package.json +2 -2
  49. package/skills/jskit/references/patterns/database/postgres-application/example/package.json +2 -2
  50. package/skills/jskit/references/patterns/realtime/realtime-application/PATTERN.md +5 -1
  51. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  52. package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
  53. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +3 -3
  54. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +6 -6
  55. package/skills/jskit/references/typed-features.md +10 -5
@@ -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.352`
18
+ - Owner: `@jskit-ai/agent-docs@0.1.354`
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.352`
29
+ - Owner: `@jskit-ai/agent-docs@0.1.354`
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.88`
40
+ - Owner: `@jskit-ai/assistant-runtime@0.2.89`
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.53`
51
+ - Owner: `@jskit-ai/oidc-issuer-core@0.1.54`
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.58`
62
+ - Owner: `@jskit-ai/auth-web@0.2.59`
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,18 +70,29 @@ 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.63`
73
+ - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.64`
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`
77
77
 
78
+ ## Sign-in screens in an app's own design
79
+
80
+ Write the sign-in screen and the second-factor prompt in an application's own design system, with plain markup and the app's CSS, on the composables behind JSKIT's Material views, keeping every sign-in behavior.
81
+
82
+ - Id: `auth/own-design-sign-in`
83
+ - Keywords: `auth`, `custom design`, `design system`, `login`, `own look`, `second factor`, `sign in`, `step up`, `style`, `without vuetify`
84
+ - Owner: `@jskit-ai/auth-web@0.2.59`
85
+ - Read: [PATTERN.md](patterns/auth/own-design-sign-in/PATTERN.md)
86
+ - Examples: [example/](patterns/auth/own-design-sign-in/example/)
87
+ - Requires: `@jskit-ai/auth-web`, `@jskit-ai/kernel`
88
+
78
89
  ## Supabase authentication
79
90
 
80
91
  Add Supabase authentication through normal npm composition, explicit environment values, and app-owned auth policy.
81
92
 
82
93
  - Id: `auth/supabase-auth`
83
94
  - Keywords: `auth`, `authentication`, `oauth`, `sessions`, `supabase`
84
- - Owner: `@jskit-ai/auth-provider-supabase-core@0.2.41`
95
+ - Owner: `@jskit-ai/auth-provider-supabase-core@0.2.42`
85
96
  - Read: [PATTERN.md](patterns/auth/supabase-auth/PATTERN.md)
86
97
  - Examples: [example/](patterns/auth/supabase-auth/example/)
87
98
  - Requires: `@jskit-ai/auth-provider-supabase-core`
@@ -92,7 +103,7 @@ Resolve an administrator environment key or an individual user's grant, then use
92
103
 
93
104
  - Id: `connectors/ai-connections`
94
105
  - Keywords: `ai`, `api-key`, `cli`, `environment`, `free`, `models`, `ownership`, `zai`, `zen`
95
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
106
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
96
107
  - Read: [PATTERN.md](patterns/connectors/ai-connections/PATTERN.md)
97
108
  - Examples: [example/](patterns/connectors/ai-connections/example/)
98
109
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -103,7 +114,7 @@ Compose provider operations, authorization and encrypted file storage from a CLI
103
114
 
104
115
  - Id: `connectors/api-key-connection`
105
116
  - Keywords: `api-key`, `clay`, `cli`, `clickhouse`, `connectors`, `dbt`, `files`, `firecrawl`, `granola`, `integrations`, `metrics`, `prestashop`, `resend`, `semantic-layer`, `semrush`, `x-twitter`
106
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
117
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
107
118
  - Read: [PATTERN.md](patterns/connectors/api-key-connection/PATTERN.md)
108
119
  - Examples: [example/](patterns/connectors/api-key-connection/example/)
109
120
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -114,7 +125,7 @@ Compose token-based MCP discovery and explicitly authorized tool calls using the
114
125
 
115
126
  - Id: `connectors/assistant-mcp`
116
127
  - Keywords: `assistant`, `cli`, `connectors`, `files`, `integrations`, `mcp`, `n8n`, `sanity`
117
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
128
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
118
129
  - Read: [PATTERN.md](patterns/connectors/assistant-mcp/PATTERN.md)
119
130
  - Examples: [example/](patterns/connectors/assistant-mcp/example/)
120
131
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -125,7 +136,7 @@ Configure assistant OAuth clients, then compose existing state, encrypted file g
125
136
 
126
137
  - Id: `connectors/assistant-mcp-oauth`
127
138
  - Keywords: `amplitude`, `assistant`, `atlassian`, `canva`, `cli`, `client metadata`, `confidence`, `connectors`, `figma`, `files`, `granola`, `hex`, `mcp`, `miro`, `oauth`
128
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
139
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
129
140
  - Read: [PATTERN.md](patterns/connectors/assistant-mcp-oauth/PATTERN.md)
130
141
  - Examples: [example/](patterns/connectors/assistant-mcp-oauth/example/)
131
142
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -136,7 +147,7 @@ Compose signed AWS operations, file configuration and application authorization
136
147
 
137
148
  - Id: `connectors/aws-storage-queries`
138
149
  - Keywords: `athena`, `aws`, `cli`, `connectors`, `files`, `iam`, `queries`, `s3`, `storage`, `sts`
139
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
150
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
140
151
  - Read: [PATTERN.md](patterns/connectors/aws-storage-queries/PATTERN.md)
141
152
  - Examples: [example/](patterns/connectors/aws-storage-queries/example/)
142
153
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -147,7 +158,7 @@ Compose reusable connection libraries with portable configuration, application o
147
158
 
148
159
  - Id: `connectors/calendar-cli`
149
160
  - Keywords: `calendar`, `cli`, `connectors`, `google`, `integrations`, `oauth`, `permissions`
150
- - Owner: `@jskit-ai/connector-google-calendar@0.2.51`
161
+ - Owner: `@jskit-ai/connector-google-calendar@0.2.52`
151
162
  - Read: [PATTERN.md](patterns/connectors/calendar-cli/PATTERN.md)
152
163
  - Examples: [example/](patterns/connectors/calendar-cli/example/)
153
164
  - Requires: `@jskit-ai/connector-google-calendar`, `@jskit-ai/connectors-core`, `@jskit-ai/database-runtime-mysql`
@@ -158,7 +169,7 @@ Compose the shared connector runtime for event delivery while leaving workflow c
158
169
 
159
170
  - Id: `connectors/event-delivery`
160
171
  - Keywords: `cli`, `connectors`, `events`, `files`, `inngest`, `integrations`, `workflows`
161
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
172
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
162
173
  - Read: [PATTERN.md](patterns/connectors/event-delivery/PATTERN.md)
163
174
  - Examples: [example/](patterns/connectors/event-delivery/example/)
164
175
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -169,7 +180,7 @@ Wire service-account grants, file storage, explicit message actions and public b
169
180
 
170
181
  - Id: `connectors/firebase-messaging`
171
182
  - Keywords: `cli`, `connectors`, `fcm`, `files`, `firebase`, `integrations`, `jwt`, `notifications`, `push`, `service-account`, `vapid`
172
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
183
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
173
184
  - Read: [PATTERN.md](patterns/connectors/firebase-messaging/PATTERN.md)
174
185
  - Examples: [example/](patterns/connectors/firebase-messaging/example/)
175
186
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -180,7 +191,7 @@ Compose reviewed Search campaigns with project-owned Google OAuth and portable s
180
191
 
181
192
  - Id: `connectors/google-ads-search`
182
193
  - Keywords: `ads`, `campaigns`, `cli`, `connectors`, `conversion`, `google`, `search`
183
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
194
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
184
195
  - Read: [PATTERN.md](patterns/connectors/google-ads-search/PATTERN.md)
185
196
  - Examples: [example/](patterns/connectors/google-ads-search/example/)
186
197
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -191,7 +202,7 @@ Compose provider consent, verification and encrypted file persistence from an ap
191
202
 
192
203
  - Id: `connectors/oauth-connection`
193
204
  - Keywords: `accounting`, `assistant permissions`, `books`, `cli`, `client credentials`, `connectors`, `consent`, `crm`, `databricks`, `developer token`, `fabric`, `files`, `gaql`, `google ads`, `graphql`, `integrations`, `linkedin`, `microsoft`, `oauth`, `powerpoint`, `salesforce`, `service principal`, `shopify`, `soql`, `staffing`, `tiktok`, `twitch`, `wave`, `word`, `wordpress`, `workday`, `xero`, `zoho`
194
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
205
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
195
206
  - Read: [PATTERN.md](patterns/connectors/oauth-connection/PATTERN.md)
196
207
  - Examples: [example/](patterns/connectors/oauth-connection/example/)
197
208
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -202,7 +213,7 @@ Compose a sequential catalogue batch and preserve partial success for applicatio
202
213
 
203
214
  - Id: `connectors/paddle-catalogue`
204
215
  - Keywords: `batch`, `paddle`, `payments`, `prices`, `products`
205
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
216
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
206
217
  - Read: [PATTERN.md](patterns/connectors/paddle-catalogue/PATTERN.md)
207
218
  - Examples: [example/](patterns/connectors/paddle-catalogue/example/)
208
219
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -213,7 +224,7 @@ Resolve a publishable image key deliberately and use the shared URL library in a
213
224
 
214
225
  - Id: `connectors/public-image`
215
226
  - Keywords: `cli`, `connectors`, `files`, `images`, `integrations`, `logo-dev`, `public-key`
216
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
227
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
217
228
  - Read: [PATTERN.md](patterns/connectors/public-image/PATTERN.md)
218
229
  - Examples: [example/](patterns/connectors/public-image/example/)
219
230
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -224,7 +235,7 @@ Compose file configuration, Redshift Data API operations and application query o
224
235
 
225
236
  - Id: `connectors/redshift-queries`
226
237
  - Keywords: `aws`, `cli`, `connectors`, `files`, `iam`, `provisioned`, `redshift`, `serverless`, `sql`, `warehouse`
227
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
238
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
228
239
  - Read: [PATTERN.md](patterns/connectors/redshift-queries/PATTERN.md)
229
240
  - Examples: [example/](patterns/connectors/redshift-queries/example/)
230
241
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -235,7 +246,7 @@ Use the shared scanner runtime from a CLI or a host worker with portable configu
235
246
 
236
247
  - Id: `connectors/source-scanning`
237
248
  - Keywords: `cancellation`, `cli`, `connectors`, `integrations`, `scanning`, `security`, `source`, `wiz`, `worker`
238
- - Owner: `@jskit-ai/connectors-catalog@0.2.54`
249
+ - Owner: `@jskit-ai/connectors-catalog@0.2.55`
239
250
  - Read: [PATTERN.md](patterns/connectors/source-scanning/PATTERN.md)
240
251
  - Examples: [example/](patterns/connectors/source-scanning/example/)
241
252
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -246,7 +257,7 @@ Add a protected administration surface, settings shell, and semantic navigation
246
257
 
247
258
  - Id: `console/console-surface`
248
259
  - Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
249
- - Owner: `@jskit-ai/console-web@0.1.295`
260
+ - Owner: `@jskit-ai/console-web@0.1.296`
250
261
  - Read: [PATTERN.md](patterns/console/console-surface/PATTERN.md)
251
262
  - Examples: [example/](patterns/console/console-surface/example/)
252
263
  - Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
@@ -257,7 +268,7 @@ Define an application table resource whose records belong to the current user, a
257
268
 
258
269
  - Id: `crud/crud-contract`
259
270
  - Keywords: `authenticated`, `crud`, `database`, `owner-scoped`, `resource`, `table`, `user`
260
- - Owner: `@jskit-ai/resource-crud-core@0.1.226`
271
+ - Owner: `@jskit-ai/resource-crud-core@0.1.227`
261
272
  - Read: [PATTERN.md](patterns/crud/crud-contract/PATTERN.md)
262
273
  - Examples: [example/](patterns/crud/crud-contract/example/)
263
274
  - Requires: `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -268,7 +279,7 @@ Build a complete application-owned CRUD server package from a migration, a table
268
279
 
269
280
  - Id: `crud/crud-feature-package`
270
281
  - Keywords: `actions`, `crud`, `database`, `defineCrudFeature`, `json-api`, `migration`, `owns`, `permissions`, `repository`, `routes`, `service`, `table resource`
271
- - Owner: `@jskit-ai/crud-core@0.2.52`
282
+ - Owner: `@jskit-ai/crud-core@0.2.53`
272
283
  - Read: [PATTERN.md](patterns/crud/crud-feature-package/PATTERN.md)
273
284
  - Examples: [example/](patterns/crud/crud-feature-package/example/)
274
285
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -279,7 +290,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
279
290
 
280
291
  - Id: `crud/crud-screen-set`
281
292
  - Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
282
- - Owner: `@jskit-ai/http-web@0.2.59`
293
+ - Owner: `@jskit-ai/http-web@0.2.60`
283
294
  - Read: [PATTERN.md](patterns/crud/crud-screen-set/PATTERN.md)
284
295
  - Examples: [example/](patterns/crud/crud-screen-set/example/)
285
296
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -290,7 +301,7 @@ Configure a JSKIT application for MySQL with a fixed driver, ordinary environmen
290
301
 
291
302
  - Id: `database/mysql-application`
292
303
  - Keywords: `database`, `knex`, `mariadb`, `migrations`, `mysql`, `mysql2`
293
- - Owner: `@jskit-ai/database-runtime-mysql@0.1.282`
304
+ - Owner: `@jskit-ai/database-runtime-mysql@0.1.283`
294
305
  - Read: [PATTERN.md](patterns/database/mysql-application/PATTERN.md)
295
306
  - Examples: [example/](patterns/database/mysql-application/example/)
296
307
  - Requires: `@jskit-ai/database-runtime-mysql`
@@ -301,7 +312,7 @@ Configure a JSKIT application for PostgreSQL with a fixed driver, ordinary envir
301
312
 
302
313
  - Id: `database/postgres-application`
303
314
  - Keywords: `database`, `knex`, `migrations`, `pg`, `postgres`, `postgresql`
304
- - Owner: `@jskit-ai/database-runtime-postgres@0.1.281`
315
+ - Owner: `@jskit-ai/database-runtime-postgres@0.1.282`
305
316
  - Read: [PATTERN.md](patterns/database/postgres-application/PATTERN.md)
306
317
  - Examples: [example/](patterns/database/postgres-application/example/)
307
318
  - Requires: `@jskit-ai/database-runtime-postgres`
@@ -312,7 +323,7 @@ Describe one database table once (its fields, columns, ownership, search and sor
312
323
 
313
324
  - Id: `database/table-resource`
314
325
  - Keywords: `database`, `defaultTo`, `defineTableResource`, `lockVersionField`, `lookup`, `ownership`, `owns`, `resource`, `system`, `table`, `workspace_or_shared`
315
- - Owner: `@jskit-ai/resource-core@0.1.224`
326
+ - Owner: `@jskit-ai/resource-core@0.1.225`
316
327
  - Read: [PATTERN.md](patterns/database/table-resource/PATTERN.md)
317
328
  - Examples: [example/](patterns/database/table-resource/example/)
318
329
  - Requires: `@jskit-ai/resource-core`
@@ -323,7 +334,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
323
334
 
324
335
  - Id: `mobile/android-application`
325
336
  - Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
326
- - Owner: `@jskit-ai/mobile-capacitor@0.2.50`
337
+ - Owner: `@jskit-ai/mobile-capacitor@0.2.51`
327
338
  - Read: [PATTERN.md](patterns/mobile/android-application/PATTERN.md)
328
339
  - Examples: [example/](patterns/mobile/android-application/example/)
329
340
  - Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
@@ -334,7 +345,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
334
345
 
335
346
  - Id: `realtime/realtime-application`
336
347
  - Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
337
- - Owner: `@jskit-ai/realtime@0.2.53`
348
+ - Owner: `@jskit-ai/realtime@0.2.54`
338
349
  - Read: [PATTERN.md](patterns/realtime/realtime-application/PATTERN.md)
339
350
  - Examples: [example/](patterns/realtime/realtime-application/example/)
340
351
  - Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
@@ -345,7 +356,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
345
356
 
346
357
  - Id: `rewards/google-rewarded`
347
358
  - Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
348
- - Owner: `@jskit-ai/rewarded-web@0.2.71`
359
+ - Owner: `@jskit-ai/rewarded-web@0.2.72`
349
360
  - Read: [PATTERN.md](patterns/rewards/google-rewarded/PATTERN.md)
350
361
  - Examples: [example/](patterns/rewards/google-rewarded/example/)
351
362
  - Requires: `@jskit-ai/rewarded-web`
@@ -356,7 +367,7 @@ Define a server feature through explicit capabilities and first-class actions, a
356
367
 
357
368
  - Id: `server/feature-package`
358
369
  - Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
359
- - Owner: `@jskit-ai/agent-docs@0.1.352`
370
+ - Owner: `@jskit-ai/agent-docs@0.1.354`
360
371
  - Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
361
372
  - Examples: [example/](patterns/server/feature-package/example/)
362
373
  - Requires: `@jskit-ai/kernel`
@@ -367,7 +378,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
367
378
 
368
379
  - Id: `shell/application-shell`
369
380
  - Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
370
- - Owner: `@jskit-ai/shell-web@0.2.50`
381
+ - Owner: `@jskit-ai/shell-web@0.2.51`
371
382
  - Read: [PATTERN.md](patterns/shell/application-shell/PATTERN.md)
372
383
  - Examples: [example/](patterns/shell/application-shell/example/)
373
384
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -378,7 +389,7 @@ Add product routes and shell extensions through file routing, semantic placement
378
389
 
379
390
  - Id: `ui/page-and-placement`
380
391
  - Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
381
- - Owner: `@jskit-ai/shell-web@0.2.50`
392
+ - Owner: `@jskit-ai/shell-web@0.2.51`
382
393
  - Read: [PATTERN.md](patterns/ui/page-and-placement/PATTERN.md)
383
394
  - Examples: [example/](patterns/ui/page-and-placement/example/)
384
395
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -389,7 +400,7 @@ Compose an account settings route and profile, preference, notification, and sig
389
400
 
390
401
  - Id: `users/account-settings`
391
402
  - Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
392
- - Owner: `@jskit-ai/users-web@0.2.79`
403
+ - Owner: `@jskit-ai/users-web@0.2.80`
393
404
  - Read: [PATTERN.md](patterns/users/account-settings/PATTERN.md)
394
405
  - Examples: [example/](patterns/users/account-settings/example/)
395
406
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
@@ -400,7 +411,7 @@ Expose user administration and workspace-scoped member operations through app-ow
400
411
 
401
412
  - Id: `users/user-administration-server`
402
413
  - Keywords: `account`, `admin`, `member`, `repository`, `resource`, `routes`, `service`, `user`, `workspace`
403
- - Owner: `@jskit-ai/users-core@0.2.63`
414
+ - Owner: `@jskit-ai/users-core@0.2.64`
404
415
  - Read: [PATTERN.md](patterns/users/user-administration-server/PATTERN.md)
405
416
  - Examples: [example/](patterns/users/user-administration-server/example/)
406
417
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/users-core`
@@ -411,7 +422,7 @@ Configure roles, workspace access policy, invitations, and app-owned invitation
411
422
 
412
423
  - Id: `workspaces/workspace-server`
413
424
  - Keywords: `access`, `invite`, `membership`, `multitenancy`, `policy`, `role`, `tenancy`, `workspace`
414
- - Owner: `@jskit-ai/workspaces-core@0.2.63`
425
+ - Owner: `@jskit-ai/workspaces-core@0.2.64`
415
426
  - Read: [PATTERN.md](patterns/workspaces/workspace-server/PATTERN.md)
416
427
  - Examples: [example/](patterns/workspaces/workspace-server/example/)
417
428
  - Requires: `@jskit-ai/users-core`, `@jskit-ai/workspaces-core`
@@ -422,7 +433,7 @@ Compose workspace selection, invitation, member administration, settings, and re
422
433
 
423
434
  - Id: `workspaces/workspace-surfaces`
424
435
  - Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
425
- - Owner: `@jskit-ai/workspaces-web@0.2.79`
436
+ - Owner: `@jskit-ai/workspaces-web@0.2.80`
426
437
  - Read: [PATTERN.md](patterns/workspaces/workspace-surfaces/PATTERN.md)
427
438
  - Examples: [example/](patterns/workspaces/workspace-surfaces/example/)
428
439
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
- "@jskit-ai/kernel": "0.2.33",
37
+ "@jskit-ai/kernel": "0.2.34",
38
38
  "@jskit-ai/material-web": "0.1.10",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
@@ -44,13 +44,13 @@
44
44
  "vue": "^3.5.44",
45
45
  "vue-router": "^5.3.1",
46
46
  "vuetify": "^4.3.0",
47
- "@jskit-ai/http-runtime": "0.2.34",
47
+ "@jskit-ai/http-runtime": "0.2.35",
48
48
  "@fastify/fast-json-stringify-compiler": "^5.1.0",
49
49
  "@vue/devtools-api": "^8.2.1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@jskit-ai/config-eslint": "0.1.252",
53
- "@jskit-ai/jskit-catalog": "0.2.104",
53
+ "@jskit-ai/jskit-catalog": "0.2.106",
54
54
  "@playwright/test": "1.61.1",
55
55
  "@vitejs/plugin-vue": "^6.0.7",
56
56
  "eslint": "^10.8.0",
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@local/main": "0.1.0",
36
36
  "@fastify/static": "^10.1.3",
37
- "@jskit-ai/kernel": "0.2.33",
37
+ "@jskit-ai/kernel": "0.2.34",
38
38
  "@jskit-ai/material-web": "0.1.10",
39
39
  "@tanstack/vue-query": "^5.101.0",
40
40
  "fastify": "^5.12.7",
@@ -44,14 +44,14 @@
44
44
  "vue": "^3.5.44",
45
45
  "vue-router": "^5.3.1",
46
46
  "vuetify": "^4.3.0",
47
- "@jskit-ai/http-runtime": "0.2.34",
48
- "@jskit-ai/shell-web": "0.2.50",
47
+ "@jskit-ai/http-runtime": "0.2.35",
48
+ "@jskit-ai/shell-web": "0.2.51",
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.104",
54
+ "@jskit-ai/jskit-catalog": "0.2.106",
55
55
  "@playwright/test": "1.61.1",
56
56
  "@vitejs/plugin-vue": "^6.0.7",
57
57
  "eslint": "^10.8.0",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "description": "App-local runtime composition and lightweight glue.",
11
11
  "dependencies": {
12
- "@jskit-ai/kernel": "0.2.33"
12
+ "@jskit-ai/kernel": "0.2.34"
13
13
  },
14
14
  "jskit": {
15
15
  "kind": "runtime",
@@ -2,8 +2,8 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/database-runtime": "0.1.284",
6
- "@jskit-ai/database-runtime-mysql": "0.1.282",
7
- "@jskit-ai/oidc-issuer-core": "0.1.53"
5
+ "@jskit-ai/database-runtime": "0.1.285",
6
+ "@jskit-ai/database-runtime-mysql": "0.1.283",
7
+ "@jskit-ai/oidc-issuer-core": "0.1.54"
8
8
  }
9
9
  }
@@ -150,6 +150,9 @@ config.surfaceDefinitions.auth = {
150
150
 
151
151
  Change provider, routes, labels, page wrappers, permitted login methods, profile
152
152
  placements, and post-auth destinations while retaining the runtime contracts.
153
+ An app with its own design system, not Material 3, replaces the view wrappers
154
+ with its own views on the composables behind the default views, keeping these
155
+ pages: see [Sign-in screens in an app's own design](../own-design-sign-in/PATTERN.md).
153
156
 
154
157
  ## Verification
155
158
 
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/auth-provider-oidc-core": "0.2.63",
6
- "@jskit-ai/auth-web": "0.2.58"
5
+ "@jskit-ai/auth-provider-oidc-core": "0.2.64",
6
+ "@jskit-ai/auth-web": "0.2.59"
7
7
  }
8
8
  }
@@ -0,0 +1,141 @@
1
+ ---
2
+ id: auth/own-design-sign-in
3
+ title: Sign-in screens in an app's own design
4
+ summary: Write the sign-in screen and the second-factor prompt in an application's own design system, with plain markup and the app's CSS, on the composables behind JSKIT's Material views, keeping every sign-in behavior.
5
+ keywords: auth, custom design, design system, login, own look, second factor, sign in, step up, style, without vuetify
6
+ requires: @jskit-ai/auth-web, @jskit-ai/kernel
7
+ ---
8
+
9
+ # Sign-in screens in an app's own design
10
+
11
+ ## Use when
12
+
13
+ Use this pattern when an application has its own design system, not Material
14
+ 3, and its sign-in screens must look like the rest of it: its own markup, its
15
+ own CSS, its own components. It builds on `auth/auth-surface`, which still
16
+ supplies the auth surface, the pages, the app's brand and the managed-preview
17
+ login; this pattern replaces the views those pages render.
18
+
19
+ ## Do not use when
20
+
21
+ Do not use this pattern to restyle JSKIT's Material views: an app on Material
22
+ 3 keeps `DefaultLoginView` and the other `Default*View`s and shows its identity
23
+ in their `brand` slot (`auth/auth-surface`), and an app on Vuetify that only
24
+ wants JSKIT's views drawn with its own button, dialog frame and text classes
25
+ provides them through shell-web's UI kit (`provideShellUi()` of
26
+ `@jskit-ai/shell-web/client/ui`; the authentication guide's "JSKIT's screens
27
+ with an app's own buttons, dialog and type"). Do not use it to change what
28
+ sign-in does: the behavior belongs to `@jskit-ai/auth-web`, and a screen that
29
+ needs different behavior asks for it there.
30
+
31
+ ## Product decisions
32
+
33
+ Choose the design system's tokens and components, the words where JSKIT's
34
+ messages do not fit, and which screens get the app's own look: sign-in, the
35
+ second-factor prompt, and, the same way, password reset, email change and
36
+ sign-out. Material stays JSKIT's default for every screen the app does not
37
+ replace.
38
+
39
+ ## Framework APIs
40
+
41
+ An app with its own design system writes its own sign-in screens with these
42
+ composables; Material stays JSKIT's default. Each is the very composable a
43
+ Material view renders, imported from its own path so a page loads only what it
44
+ uses, and none of them reads Vuetify:
45
+
46
+ - `useLoginView({ fallbackReturnTo })` from
47
+ `@jskit-ai/auth-web/client/composables/useLoginView`: the modes (sign in,
48
+ register, forgot password, one-time code, confirm your email), the fields
49
+ with their error messages, `submitAuth`, the provider buttons
50
+ (`oauthProviders`, `oauthProviderButtonLabel`, `startOAuthSignIn`), the
51
+ remembered account, invitations, the paused sign-in, the returnTo landing
52
+ and the session checks on mount and on return to the page. A refusal sets
53
+ `errorMessage` (and `infoMessage` for news such as a sent code), which the
54
+ view shows beside the form; the shell's error runtime hears it too.
55
+ `oauthProviderIcon` is a Material Symbols alias for the Material view; an
56
+ app's own view picks its icon from `provider.id`.
57
+ - `useResetPasswordView()`, `useEmailChangeView()` and `useSignOutView()`
58
+ from `@jskit-ai/auth-web/client/composables/<name>`: the other auth pages,
59
+ each with its `status` and actions.
60
+ - `useSecondFactorStepUp()` from
61
+ `@jskit-ai/auth-web/client/composables/useSecondFactorStepUp`: runs a
62
+ request again after the person proves the second factor; bind its `open`,
63
+ `verified` and `cancel` to the app's own prompt.
64
+ - `useSecondFactorProof({ submit, onDone })` from
65
+ `@jskit-ai/auth-web/client/composables/useSecondFactorProof`: the code or
66
+ recovery code form, its refusal beside the field and its submission. The
67
+ prompt submits `verifySecondFactor` from
68
+ `@jskit-ai/auth-web/client/runtime/secondFactorRequests`;
69
+ `useSecondFactorSettings()` and that module's other requests build an
70
+ account's authenticator settings the same way.
71
+ - `useJskitText()` from `@jskit-ai/kernel/client`: JSKIT's auth messages
72
+ (`jskit.auth.*`), so the app's translations apply to its own screens.
73
+
74
+ ## Invariants
75
+
76
+ - Every sign-in behavior comes from the composables: the view renders their
77
+ state and calls their actions, and never sends an auth request, reads a
78
+ returnTo, or stores an account itself.
79
+ - The view shows each field's error and `errorMessage` beside the form, keeps
80
+ each field's error line so nothing moves when one appears, and labels every
81
+ field.
82
+ - A browser already signed in (`redirectingSignedIn`) is shown no form.
83
+ - The screens keep the app's identity: the view renders `AppBrand.vue`, the
84
+ app's name as `index.html`'s `<title>` spells it, in the app's own style.
85
+ - Colours, radii and fonts are the design system's tokens, kept in
86
+ `src/theme/`; the screens read the token names.
87
+ - Pages and routes stay `auth/auth-surface`'s: `src/pages/auth/login.vue`
88
+ renders `src/views/auth/LoginView.vue`, now the app's own view.
89
+
90
+ ## Example files
91
+
92
+ `example/src/views/auth/LoginView.vue` is the sign-in view in plain HTML and
93
+ CSS on `useLoginView()`, with every mode the Material view has; it replaces
94
+ `auth/auth-surface`'s view wrapper of the same path.
95
+ `example/src/components/ConfirmItsYouDialog.vue` is the second-factor prompt,
96
+ a native `<dialog>` on `useSecondFactorProof()`, which a page shows for
97
+ `useSecondFactorStepUp()`:
98
+
99
+ ```vue
100
+ <script setup>
101
+ import { useSecondFactorStepUp } from "@jskit-ai/auth-web/client/composables/useSecondFactorStepUp";
102
+ import ConfirmItsYouDialog from "@/components/ConfirmItsYouDialog.vue";
103
+
104
+ const { open, run, verified, cancel } = useSecondFactorStepUp();
105
+ const refund = () => run(() => api.refund(orderId));
106
+ </script>
107
+
108
+ <template>
109
+ <button type="button" @click="refund">Refund</button>
110
+ <ConfirmItsYouDialog :open="open" @verified="verified" @cancel="cancel" />
111
+ </template>
112
+ ```
113
+
114
+ `example/src/theme/tokens.css` holds the design tokens, light and dark, which
115
+ the app's entry imports once.
116
+
117
+ ## Variation points
118
+
119
+ Change the markup, the CSS, the design system's components, the layout, the
120
+ words and which modes the screen shows; add a show-password control on
121
+ `showPassword`. Write `ResetPasswordView.vue`, `EmailChangeView.vue` and
122
+ `SignOutView.vue` the same way on their composables, or keep the Material
123
+ views for them.
124
+
125
+ ## Verification
126
+
127
+ Exercise the app's own screens as the Material ones are exercised: a password
128
+ sign-in that lands on the page its `returnTo` names, a refused sign-in that
129
+ shows the server's message beside the form and leaves it usable, a field
130
+ error on blur, the provider buttons, the remembered account and a route that
131
+ asks for the second factor, refused and accepted codes in the app's own
132
+ prompt. Open sign-in already signed in and confirm the form never shows.
133
+ `@jskit-ai/auth-web`'s `ownDesignSignIn.browser.test.js` drives this example
134
+ in an app without Vuetify.
135
+
136
+ ## Avoid
137
+
138
+ - copying the composables' logic, or the Material views, into the app
139
+ - auth requests, returnTo handling or session checks written in the view
140
+ - Vuetify components or Material classes on these screens
141
+ - raw colours outside `src/theme/`