@jskit-ai/agent-docs 0.1.361 → 0.1.363

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 (24) hide show
  1. package/guide/agent/app-setup/database-layer.md +15 -1
  2. package/guide/agent/framework/speed-pass.md +18 -3
  3. package/package.json +1 -1
  4. package/patterns/minimal-foundation/example/package.json +2 -2
  5. package/patterns/shell-foundation/example/package.json +3 -3
  6. package/reference/autogen/PATTERN_INDEX.md +36 -36
  7. package/reference/autogen/packages/database-runtime.md +6 -1
  8. package/reference/autogen/tooling/jskit-catalog.md +1 -0
  9. package/skills/jskit/references/database-layer.md +15 -1
  10. package/skills/jskit/references/pattern-index.md +36 -36
  11. package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +2 -2
  12. package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +3 -3
  13. package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +3 -3
  14. package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
  15. package/skills/jskit/references/patterns/auth/own-design-sign-in/PATTERN.md +4 -2
  16. package/skills/jskit/references/patterns/auth/own-design-sign-in/example/src/components/ConfirmItsYouDialog.vue +12 -3
  17. package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +4 -4
  18. package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +1 -1
  19. package/skills/jskit/references/patterns/database/mysql-application/example/package.json +2 -2
  20. package/skills/jskit/references/patterns/database/postgres-application/example/package.json +2 -2
  21. package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
  22. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
  23. package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +4 -4
  24. package/skills/jskit/references/speed-pass.md +18 -3
@@ -459,7 +459,21 @@ the application's `knexfile.js`:
459
459
  its own in the file's database
460
460
  ([data access tests](/guide/framework/data-access#tests)). A file is the
461
461
  unit that starts from the snapshot: tests that each need the snapshot's
462
- database afresh go in files of their own.
462
+ database afresh go in files of their own, or, on MySQL and MariaDB, call
463
+ `await resetTestDatabase({ environment: process.env })` (from
464
+ `@jskit-ai/database-runtime/server/testDatabases`) before each, which
465
+ restores the file's copy in place, replacing only the tables written since.
466
+ On PostgreSQL it refuses: a restore recreates the database the file's own
467
+ connections hold.
468
+ - A test file that needs another database holding the snapshot, rows
469
+ included, beside its own copy (a second tenant, a second server), claims
470
+ one with `const { database, knex } = await claimTestDatabaseCopy(t, {
471
+ environment: process.env })` (from
472
+ `@jskit-ai/database-runtime/server/testDatabases`): one of the same 26
473
+ lettered copies, under the same lock on the database server, restored from
474
+ the run's snapshot. Each call claims another; the test's teardown drops each,
475
+ passed or failed. It needs a `jskit test --databases` run, and fails outside
476
+ one, naming it. Never build slots of your own in a global setup.
463
477
  - A test that runs migrations up or down, or otherwise changes the tables,
464
478
  leaves its database dirty: its tables or migration ledger differ from the
465
479
  snapshot's. The harness restores the snapshot before another test file uses
@@ -38,6 +38,16 @@ database time, apply that page to the path.
38
38
  - Every Playwright run through `browserTestConfig()` ends with its 10 slowest
39
39
  tests. Compare a slow spec's time with the time of the app's requests it
40
40
  makes, so you know whether the test or the app is slow.
41
+ - Take the baseline from one whole run of each part (the database tests, the
42
+ browser tests), its files in parallel at the real `V64_TEST_CONCURRENCY`:
43
+ its per-file times are the baseline table. After a batch of fixes, run the
44
+ part again for the times after, and compare per file and in total. A
45
+ single-file run (`npm test -- <file>`) is for one change's red and green,
46
+ never the way to take a baseline or a before-and-after table, and never one
47
+ of serial runs queued one after another. Run where the project's test
48
+ machine runs (inside Vibe64, `vibe64-helper check`), not on a shared
49
+ development host; a time taken while other work loads the machine is
50
+ reported as such and never used as a baseline.
41
51
 
42
52
  ### Fix
43
53
 
@@ -50,7 +60,12 @@ database time, apply that page to the path.
50
60
  `listen(0)`, a directory from `mkdtemp`, the database `jskit test --databases`
51
61
  gives each file, a scratch database from
52
62
  `createPackageTestKnex(t, { environment: process.env })` for a test that
53
- needs an empty one (or several), and a Vite `cacheDir` of its own. The
63
+ needs an empty one (or several), another copy of the snapshot, rows
64
+ included, from `claimTestDatabaseCopy(t, { environment: process.env })` for
65
+ a test that needs a second one, and a Vite `cacheDir` of its own. On MySQL
66
+ and MariaDB, `resetTestDatabase({ environment: process.env })` gives a test
67
+ its file's copy afresh mid-file, replacing only the tables written since;
68
+ never build global-setup slots of your own. The
54
69
  `// jskit-test: alone - <reason>` marker is only for a file that holds a
55
70
  resource of the whole machine.
56
71
  - A `jskit test --databases` run whose databases let fewer files run at once
@@ -91,8 +106,8 @@ database time, apply that page to the path.
91
106
 
92
107
  ### Prove
93
108
 
94
- Run the whole suite before and after on the same machine with the same
95
- `V64_TEST_CONCURRENCY`, and report the wall time, each preparation phase, the
109
+ Run the whole suite before and after on the project's test machine with the
110
+ same `V64_TEST_CONCURRENCY`, and report the wall time, each preparation phase, the
96
111
  slowest files and the test counts, which stay the same.
97
112
 
98
113
  ## Client speed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/agent-docs",
3
- "version": "0.1.361",
3
+ "version": "0.1.363",
4
4
  "description": "Distributed JSKIT agent references, prompts, guides, and generated reference maps.",
5
5
  "type": "module",
6
6
  "files": [
@@ -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.35",
38
- "@jskit-ai/material-web": "0.1.12",
38
+ "@jskit-ai/material-web": "0.1.14",
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.253",
53
- "@jskit-ai/jskit-catalog": "0.2.113",
53
+ "@jskit-ai/jskit-catalog": "0.2.115",
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.35",
38
- "@jskit-ai/material-web": "0.1.12",
38
+ "@jskit-ai/material-web": "0.1.14",
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.36",
48
- "@jskit-ai/shell-web": "0.2.53",
48
+ "@jskit-ai/shell-web": "0.2.55",
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.253",
54
- "@jskit-ai/jskit-catalog": "0.2.113",
54
+ "@jskit-ai/jskit-catalog": "0.2.115",
55
55
  "@playwright/test": "1.61.1",
56
56
  "@vitejs/plugin-vue": "^6.0.7",
57
57
  "eslint": "^10.8.0",
@@ -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.361`
18
+ - Owner: `@jskit-ai/agent-docs@0.1.363`
19
19
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/app/minimal-foundation/PATTERN.md)
20
20
  - Examples: [example/](../../skills/jskit/references/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.361`
29
+ - Owner: `@jskit-ai/agent-docs@0.1.363`
30
30
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/app/shell-foundation/PATTERN.md)
31
31
  - Examples: [example/](../../skills/jskit/references/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.96`
40
+ - Owner: `@jskit-ai/assistant-runtime@0.2.98`
41
41
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/assistant/assistant-surface/PATTERN.md)
42
42
  - Examples: [example/](../../skills/jskit/references/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.58`
51
+ - Owner: `@jskit-ai/oidc-issuer-core@0.1.59`
52
52
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/accounts-hub/PATTERN.md)
53
53
  - Examples: [example/](../../skills/jskit/references/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.61`
62
+ - Owner: `@jskit-ai/auth-web@0.2.63`
63
63
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/auth-surface/PATTERN.md)
64
64
  - Examples: [example/](../../skills/jskit/references/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.69`
73
+ - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.71`
74
74
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/oidc-sign-in/PATTERN.md)
75
75
  - Examples: [example/](../../skills/jskit/references/patterns/auth/oidc-sign-in/example/)
76
76
  - Requires: `@jskit-ai/auth-provider-oidc-core`, `@jskit-ai/auth-web`
@@ -81,7 +81,7 @@ Write the sign-in screen and the second-factor prompt in an application's own de
81
81
 
82
82
  - Id: `auth/own-design-sign-in`
83
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.61`
84
+ - Owner: `@jskit-ai/auth-web@0.2.63`
85
85
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/own-design-sign-in/PATTERN.md)
86
86
  - Examples: [example/](../../skills/jskit/references/patterns/auth/own-design-sign-in/example/)
87
87
  - Requires: `@jskit-ai/auth-web`, `@jskit-ai/kernel`
@@ -103,7 +103,7 @@ Resolve an administrator environment key or an individual user's grant, then use
103
103
 
104
104
  - Id: `connectors/ai-connections`
105
105
  - Keywords: `ai`, `api-key`, `cli`, `environment`, `free`, `models`, `ownership`, `zai`, `zen`
106
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
106
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
107
107
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/ai-connections/PATTERN.md)
108
108
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/ai-connections/example/)
109
109
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -114,7 +114,7 @@ Compose provider operations, authorization and encrypted file storage from a CLI
114
114
 
115
115
  - Id: `connectors/api-key-connection`
116
116
  - Keywords: `api-key`, `clay`, `cli`, `clickhouse`, `connectors`, `dbt`, `files`, `firecrawl`, `granola`, `integrations`, `metrics`, `prestashop`, `resend`, `semantic-layer`, `semrush`, `x-twitter`
117
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
117
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
118
118
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/api-key-connection/PATTERN.md)
119
119
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/api-key-connection/example/)
120
120
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -125,7 +125,7 @@ Compose token-based MCP discovery and explicitly authorized tool calls using the
125
125
 
126
126
  - Id: `connectors/assistant-mcp`
127
127
  - Keywords: `assistant`, `cli`, `connectors`, `files`, `integrations`, `mcp`, `n8n`, `sanity`
128
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
128
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
129
129
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp/PATTERN.md)
130
130
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/assistant-mcp/example/)
131
131
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -136,7 +136,7 @@ Configure assistant OAuth clients, then compose existing state, encrypted file g
136
136
 
137
137
  - Id: `connectors/assistant-mcp-oauth`
138
138
  - Keywords: `amplitude`, `assistant`, `atlassian`, `canva`, `cli`, `client metadata`, `confidence`, `connectors`, `figma`, `files`, `granola`, `hex`, `mcp`, `miro`, `oauth`
139
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
139
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
140
140
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/assistant-mcp-oauth/PATTERN.md)
141
141
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/assistant-mcp-oauth/example/)
142
142
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -147,7 +147,7 @@ Compose signed AWS operations, file configuration and application authorization
147
147
 
148
148
  - Id: `connectors/aws-storage-queries`
149
149
  - Keywords: `athena`, `aws`, `cli`, `connectors`, `files`, `iam`, `queries`, `s3`, `storage`, `sts`
150
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
150
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
151
151
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/aws-storage-queries/PATTERN.md)
152
152
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/aws-storage-queries/example/)
153
153
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -158,7 +158,7 @@ Compose reusable connection libraries with portable configuration, application o
158
158
 
159
159
  - Id: `connectors/calendar-cli`
160
160
  - Keywords: `calendar`, `cli`, `connectors`, `google`, `integrations`, `oauth`, `permissions`
161
- - Owner: `@jskit-ai/connector-google-calendar@0.2.57`
161
+ - Owner: `@jskit-ai/connector-google-calendar@0.2.58`
162
162
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/calendar-cli/PATTERN.md)
163
163
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/calendar-cli/example/)
164
164
  - Requires: `@jskit-ai/connector-google-calendar`, `@jskit-ai/connectors-core`, `@jskit-ai/database-runtime-mysql`
@@ -169,7 +169,7 @@ Compose the shared connector runtime for event delivery while leaving workflow c
169
169
 
170
170
  - Id: `connectors/event-delivery`
171
171
  - Keywords: `cli`, `connectors`, `events`, `files`, `inngest`, `integrations`, `workflows`
172
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
172
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
173
173
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/event-delivery/PATTERN.md)
174
174
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/event-delivery/example/)
175
175
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -180,7 +180,7 @@ Wire service-account grants, file storage, explicit message actions and public b
180
180
 
181
181
  - Id: `connectors/firebase-messaging`
182
182
  - Keywords: `cli`, `connectors`, `fcm`, `files`, `firebase`, `integrations`, `jwt`, `notifications`, `push`, `service-account`, `vapid`
183
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
183
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
184
184
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/firebase-messaging/PATTERN.md)
185
185
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/firebase-messaging/example/)
186
186
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -191,7 +191,7 @@ Compose reviewed Search campaigns with project-owned Google OAuth and portable s
191
191
 
192
192
  - Id: `connectors/google-ads-search`
193
193
  - Keywords: `ads`, `campaigns`, `cli`, `connectors`, `conversion`, `google`, `search`
194
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
194
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
195
195
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/google-ads-search/PATTERN.md)
196
196
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/google-ads-search/example/)
197
197
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -202,7 +202,7 @@ Compose provider consent, verification and encrypted file persistence from an ap
202
202
 
203
203
  - Id: `connectors/oauth-connection`
204
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`
205
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
205
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
206
206
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/oauth-connection/PATTERN.md)
207
207
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/oauth-connection/example/)
208
208
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -213,7 +213,7 @@ Compose a sequential catalogue batch and preserve partial success for applicatio
213
213
 
214
214
  - Id: `connectors/paddle-catalogue`
215
215
  - Keywords: `batch`, `paddle`, `payments`, `prices`, `products`
216
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
216
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
217
217
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/paddle-catalogue/PATTERN.md)
218
218
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/paddle-catalogue/example/)
219
219
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -224,7 +224,7 @@ Resolve a publishable image key deliberately and use the shared URL library in a
224
224
 
225
225
  - Id: `connectors/public-image`
226
226
  - Keywords: `cli`, `connectors`, `files`, `images`, `integrations`, `logo-dev`, `public-key`
227
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
227
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
228
228
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/public-image/PATTERN.md)
229
229
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/public-image/example/)
230
230
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -235,7 +235,7 @@ Compose file configuration, Redshift Data API operations and application query o
235
235
 
236
236
  - Id: `connectors/redshift-queries`
237
237
  - Keywords: `aws`, `cli`, `connectors`, `files`, `iam`, `provisioned`, `redshift`, `serverless`, `sql`, `warehouse`
238
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
238
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
239
239
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/redshift-queries/PATTERN.md)
240
240
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/redshift-queries/example/)
241
241
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -246,7 +246,7 @@ Use the shared scanner runtime from a CLI or a host worker with portable configu
246
246
 
247
247
  - Id: `connectors/source-scanning`
248
248
  - Keywords: `cancellation`, `cli`, `connectors`, `integrations`, `scanning`, `security`, `source`, `wiz`, `worker`
249
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
249
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
250
250
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/connectors/source-scanning/PATTERN.md)
251
251
  - Examples: [example/](../../skills/jskit/references/patterns/connectors/source-scanning/example/)
252
252
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -257,7 +257,7 @@ Add a protected administration surface, settings shell, and semantic navigation
257
257
 
258
258
  - Id: `console/console-surface`
259
259
  - Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
260
- - Owner: `@jskit-ai/console-web@0.1.302`
260
+ - Owner: `@jskit-ai/console-web@0.1.304`
261
261
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/console/console-surface/PATTERN.md)
262
262
  - Examples: [example/](../../skills/jskit/references/patterns/console/console-surface/example/)
263
263
  - Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
@@ -279,7 +279,7 @@ Build a complete application-owned CRUD server package from a migration, a table
279
279
 
280
280
  - Id: `crud/crud-feature-package`
281
281
  - Keywords: `actions`, `crud`, `database`, `defineCrudFeature`, `json-api`, `migration`, `owns`, `permissions`, `repository`, `routes`, `service`, `table resource`
282
- - Owner: `@jskit-ai/crud-core@0.2.58`
282
+ - Owner: `@jskit-ai/crud-core@0.2.59`
283
283
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-feature-package/PATTERN.md)
284
284
  - Examples: [example/](../../skills/jskit/references/patterns/crud/crud-feature-package/example/)
285
285
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -290,7 +290,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
290
290
 
291
291
  - Id: `crud/crud-screen-set`
292
292
  - Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
293
- - Owner: `@jskit-ai/http-web@0.2.62`
293
+ - Owner: `@jskit-ai/http-web@0.2.64`
294
294
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md)
295
295
  - Examples: [example/](../../skills/jskit/references/patterns/crud/crud-screen-set/example/)
296
296
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -301,7 +301,7 @@ Configure a JSKIT application for MySQL with a fixed driver, ordinary environmen
301
301
 
302
302
  - Id: `database/mysql-application`
303
303
  - Keywords: `database`, `knex`, `mariadb`, `migrations`, `mysql`, `mysql2`
304
- - Owner: `@jskit-ai/database-runtime-mysql@0.1.287`
304
+ - Owner: `@jskit-ai/database-runtime-mysql@0.1.288`
305
305
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/database/mysql-application/PATTERN.md)
306
306
  - Examples: [example/](../../skills/jskit/references/patterns/database/mysql-application/example/)
307
307
  - Requires: `@jskit-ai/database-runtime-mysql`
@@ -312,7 +312,7 @@ Configure a JSKIT application for PostgreSQL with a fixed driver, ordinary envir
312
312
 
313
313
  - Id: `database/postgres-application`
314
314
  - Keywords: `database`, `knex`, `migrations`, `pg`, `postgres`, `postgresql`
315
- - Owner: `@jskit-ai/database-runtime-postgres@0.1.286`
315
+ - Owner: `@jskit-ai/database-runtime-postgres@0.1.287`
316
316
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/database/postgres-application/PATTERN.md)
317
317
  - Examples: [example/](../../skills/jskit/references/patterns/database/postgres-application/example/)
318
318
  - Requires: `@jskit-ai/database-runtime-postgres`
@@ -334,7 +334,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
334
334
 
335
335
  - Id: `mobile/android-application`
336
336
  - Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
337
- - Owner: `@jskit-ai/mobile-capacitor@0.2.53`
337
+ - Owner: `@jskit-ai/mobile-capacitor@0.2.55`
338
338
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/mobile/android-application/PATTERN.md)
339
339
  - Examples: [example/](../../skills/jskit/references/patterns/mobile/android-application/example/)
340
340
  - Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
@@ -345,7 +345,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
345
345
 
346
346
  - Id: `realtime/realtime-application`
347
347
  - Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
348
- - Owner: `@jskit-ai/realtime@0.2.56`
348
+ - Owner: `@jskit-ai/realtime@0.2.58`
349
349
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/realtime/realtime-application/PATTERN.md)
350
350
  - Examples: [example/](../../skills/jskit/references/patterns/realtime/realtime-application/example/)
351
351
  - Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
@@ -356,7 +356,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
356
356
 
357
357
  - Id: `rewards/google-rewarded`
358
358
  - Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
359
- - Owner: `@jskit-ai/rewarded-web@0.2.78`
359
+ - Owner: `@jskit-ai/rewarded-web@0.2.80`
360
360
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/rewards/google-rewarded/PATTERN.md)
361
361
  - Examples: [example/](../../skills/jskit/references/patterns/rewards/google-rewarded/example/)
362
362
  - Requires: `@jskit-ai/rewarded-web`
@@ -367,7 +367,7 @@ Define a server feature through explicit capabilities and first-class actions, a
367
367
 
368
368
  - Id: `server/feature-package`
369
369
  - Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
370
- - Owner: `@jskit-ai/agent-docs@0.1.361`
370
+ - Owner: `@jskit-ai/agent-docs@0.1.363`
371
371
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/server/feature-package/PATTERN.md)
372
372
  - Examples: [example/](../../skills/jskit/references/patterns/server/feature-package/example/)
373
373
  - Requires: `@jskit-ai/kernel`
@@ -378,7 +378,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
378
378
 
379
379
  - Id: `shell/application-shell`
380
380
  - Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
381
- - Owner: `@jskit-ai/shell-web@0.2.53`
381
+ - Owner: `@jskit-ai/shell-web@0.2.55`
382
382
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/shell/application-shell/PATTERN.md)
383
383
  - Examples: [example/](../../skills/jskit/references/patterns/shell/application-shell/example/)
384
384
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -389,7 +389,7 @@ Add product routes and shell extensions through file routing, semantic placement
389
389
 
390
390
  - Id: `ui/page-and-placement`
391
391
  - Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
392
- - Owner: `@jskit-ai/shell-web@0.2.53`
392
+ - Owner: `@jskit-ai/shell-web@0.2.55`
393
393
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/ui/page-and-placement/PATTERN.md)
394
394
  - Examples: [example/](../../skills/jskit/references/patterns/ui/page-and-placement/example/)
395
395
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -400,7 +400,7 @@ Compose an account settings route and profile, preference, notification, and sig
400
400
 
401
401
  - Id: `users/account-settings`
402
402
  - Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
403
- - Owner: `@jskit-ai/users-web@0.2.86`
403
+ - Owner: `@jskit-ai/users-web@0.2.88`
404
404
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/users/account-settings/PATTERN.md)
405
405
  - Examples: [example/](../../skills/jskit/references/patterns/users/account-settings/example/)
406
406
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
@@ -411,7 +411,7 @@ Expose user administration and workspace-scoped member operations through app-ow
411
411
 
412
412
  - Id: `users/user-administration-server`
413
413
  - Keywords: `account`, `admin`, `member`, `repository`, `resource`, `routes`, `service`, `user`, `workspace`
414
- - Owner: `@jskit-ai/users-core@0.2.69`
414
+ - Owner: `@jskit-ai/users-core@0.2.70`
415
415
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/users/user-administration-server/PATTERN.md)
416
416
  - Examples: [example/](../../skills/jskit/references/patterns/users/user-administration-server/example/)
417
417
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/users-core`
@@ -422,7 +422,7 @@ Configure roles, workspace access policy, invitations, and app-owned invitation
422
422
 
423
423
  - Id: `workspaces/workspace-server`
424
424
  - Keywords: `access`, `invite`, `membership`, `multitenancy`, `policy`, `role`, `tenancy`, `workspace`
425
- - Owner: `@jskit-ai/workspaces-core@0.2.69`
425
+ - Owner: `@jskit-ai/workspaces-core@0.2.70`
426
426
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-server/PATTERN.md)
427
427
  - Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-server/example/)
428
428
  - Requires: `@jskit-ai/users-core`, `@jskit-ai/workspaces-core`
@@ -433,7 +433,7 @@ Compose workspace selection, invitation, member administration, settings, and re
433
433
 
434
434
  - Id: `workspaces/workspace-surfaces`
435
435
  - Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
436
- - Owner: `@jskit-ai/workspaces-web@0.2.86`
436
+ - Owner: `@jskit-ai/workspaces-web@0.2.88`
437
437
  - Read: [PATTERN.md](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/PATTERN.md)
438
438
  - Examples: [example/](../../skills/jskit/references/patterns/workspaces/workspace-surfaces/example/)
439
439
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/workspaces-core`, `@jskit-ai/workspaces-web`
@@ -58,7 +58,7 @@ Exports
58
58
  - `DESIGNATED_TEST_DATABASE`
59
59
  - `MYSQL_DATABASE_OPTIONS`
60
60
  - `claimLetteredCopy(on, base, { timeoutMs = CLAIM_TIMEOUT_MS } = {})`
61
- - `createMysqlPackageTestKnex(context, { knexFactory, environment, testDatabase, pool })`
61
+ - `createMysqlPackageTestKnex(context, { knexFactory, environment, testDatabase, pool, fill })`
62
62
  - `letteredCopies(base)`
63
63
  Local functions
64
64
  - `copiesOf(environment, testDatabase)`
@@ -113,7 +113,9 @@ Local functions
113
113
  ### `src/server/testDatabases.js`
114
114
  Exports
115
115
  - `RUN_SETTINGS_FILE`
116
+ - `RUN_SETTINGS_VARIABLE`
116
117
  - `TestDatabaseMissingError`
118
+ - `claimTestDatabaseCopy(context, { environment })`
117
119
  - `countQueries(knex, work)`
118
120
  - `createPackageTestKnex(context, { environment })`
119
121
  - `countRuntimeQueries(work)`
@@ -122,6 +124,7 @@ Exports
122
124
  - `proveMigrationHistory({ knexConfig, environment, schema = {}, appRoot = process.cwd() })`
123
125
  - `requireDisposableDatabase(environment, variable, count = 1, { connected = "" } = {})`
124
126
  - `requireTestDatabase(environment)`
127
+ - `resetTestDatabase({ environment })`
125
128
  - `restoreTestDatabase(knexConfig, database, snapshot)`
126
129
  - `tableNames(knex)`
127
130
  - `testDatabaseNames`
@@ -135,6 +138,8 @@ Local functions
135
138
  - `refusedPrivilege(error)`
136
139
  - `recordStatements(listen, work)`
137
140
  - `dropPackageTestData(knex, admin, statement, name)`
141
+ - `runSettings(environment, use)`
142
+ - `claimPostgresCopy(context, { knexFactory, knexConfig, snapshot, base })`
138
143
 
139
144
  ### `src/server/testDatabaseSnapshots.js`
140
145
  Exports
@@ -434,6 +434,7 @@ Local functions
434
434
  - `aloneShard(files, options)`
435
435
  - `databaseShortfall(databases, asked)`
436
436
  - `runNode(args, env)`
437
+ - `listTestFiles(args)`
437
438
 
438
439
  ### `scripts/test-databases.mjs`
439
440
  Exports
@@ -459,7 +459,21 @@ the application's `knexfile.js`:
459
459
  its own in the file's database
460
460
  ([data access tests](data-access.md#tests)). A file is the
461
461
  unit that starts from the snapshot: tests that each need the snapshot's
462
- database afresh go in files of their own.
462
+ database afresh go in files of their own, or, on MySQL and MariaDB, call
463
+ `await resetTestDatabase({ environment: process.env })` (from
464
+ `@jskit-ai/database-runtime/server/testDatabases`) before each, which
465
+ restores the file's copy in place, replacing only the tables written since.
466
+ On PostgreSQL it refuses: a restore recreates the database the file's own
467
+ connections hold.
468
+ - A test file that needs another database holding the snapshot, rows
469
+ included, beside its own copy (a second tenant, a second server), claims
470
+ one with `const { database, knex } = await claimTestDatabaseCopy(t, {
471
+ environment: process.env })` (from
472
+ `@jskit-ai/database-runtime/server/testDatabases`): one of the same 26
473
+ lettered copies, under the same lock on the database server, restored from
474
+ the run's snapshot. Each call claims another; the test's teardown drops each,
475
+ passed or failed. It needs a `jskit test --databases` run, and fails outside
476
+ one, naming it. Never build slots of your own in a global setup.
463
477
  - A test that runs migrations up or down, or otherwise changes the tables,
464
478
  leaves its database dirty: its tables or migration ledger differ from the
465
479
  snapshot's. The harness restores the snapshot before another test file uses
@@ -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.361`
18
+ - Owner: `@jskit-ai/agent-docs@0.1.363`
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.361`
29
+ - Owner: `@jskit-ai/agent-docs@0.1.363`
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.96`
40
+ - Owner: `@jskit-ai/assistant-runtime@0.2.98`
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.58`
51
+ - Owner: `@jskit-ai/oidc-issuer-core@0.1.59`
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.61`
62
+ - Owner: `@jskit-ai/auth-web@0.2.63`
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.69`
73
+ - Owner: `@jskit-ai/auth-provider-oidc-core@0.2.71`
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 @@ Write the sign-in screen and the second-factor prompt in an application's own de
81
81
 
82
82
  - Id: `auth/own-design-sign-in`
83
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.61`
84
+ - Owner: `@jskit-ai/auth-web@0.2.63`
85
85
  - Read: [PATTERN.md](patterns/auth/own-design-sign-in/PATTERN.md)
86
86
  - Examples: [example/](patterns/auth/own-design-sign-in/example/)
87
87
  - Requires: `@jskit-ai/auth-web`, `@jskit-ai/kernel`
@@ -103,7 +103,7 @@ Resolve an administrator environment key or an individual user's grant, then use
103
103
 
104
104
  - Id: `connectors/ai-connections`
105
105
  - Keywords: `ai`, `api-key`, `cli`, `environment`, `free`, `models`, `ownership`, `zai`, `zen`
106
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
106
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
107
107
  - Read: [PATTERN.md](patterns/connectors/ai-connections/PATTERN.md)
108
108
  - Examples: [example/](patterns/connectors/ai-connections/example/)
109
109
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -114,7 +114,7 @@ Compose provider operations, authorization and encrypted file storage from a CLI
114
114
 
115
115
  - Id: `connectors/api-key-connection`
116
116
  - Keywords: `api-key`, `clay`, `cli`, `clickhouse`, `connectors`, `dbt`, `files`, `firecrawl`, `granola`, `integrations`, `metrics`, `prestashop`, `resend`, `semantic-layer`, `semrush`, `x-twitter`
117
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
117
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
118
118
  - Read: [PATTERN.md](patterns/connectors/api-key-connection/PATTERN.md)
119
119
  - Examples: [example/](patterns/connectors/api-key-connection/example/)
120
120
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -125,7 +125,7 @@ Compose token-based MCP discovery and explicitly authorized tool calls using the
125
125
 
126
126
  - Id: `connectors/assistant-mcp`
127
127
  - Keywords: `assistant`, `cli`, `connectors`, `files`, `integrations`, `mcp`, `n8n`, `sanity`
128
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
128
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
129
129
  - Read: [PATTERN.md](patterns/connectors/assistant-mcp/PATTERN.md)
130
130
  - Examples: [example/](patterns/connectors/assistant-mcp/example/)
131
131
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -136,7 +136,7 @@ Configure assistant OAuth clients, then compose existing state, encrypted file g
136
136
 
137
137
  - Id: `connectors/assistant-mcp-oauth`
138
138
  - Keywords: `amplitude`, `assistant`, `atlassian`, `canva`, `cli`, `client metadata`, `confidence`, `connectors`, `figma`, `files`, `granola`, `hex`, `mcp`, `miro`, `oauth`
139
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
139
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
140
140
  - Read: [PATTERN.md](patterns/connectors/assistant-mcp-oauth/PATTERN.md)
141
141
  - Examples: [example/](patterns/connectors/assistant-mcp-oauth/example/)
142
142
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -147,7 +147,7 @@ Compose signed AWS operations, file configuration and application authorization
147
147
 
148
148
  - Id: `connectors/aws-storage-queries`
149
149
  - Keywords: `athena`, `aws`, `cli`, `connectors`, `files`, `iam`, `queries`, `s3`, `storage`, `sts`
150
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
150
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
151
151
  - Read: [PATTERN.md](patterns/connectors/aws-storage-queries/PATTERN.md)
152
152
  - Examples: [example/](patterns/connectors/aws-storage-queries/example/)
153
153
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -158,7 +158,7 @@ Compose reusable connection libraries with portable configuration, application o
158
158
 
159
159
  - Id: `connectors/calendar-cli`
160
160
  - Keywords: `calendar`, `cli`, `connectors`, `google`, `integrations`, `oauth`, `permissions`
161
- - Owner: `@jskit-ai/connector-google-calendar@0.2.57`
161
+ - Owner: `@jskit-ai/connector-google-calendar@0.2.58`
162
162
  - Read: [PATTERN.md](patterns/connectors/calendar-cli/PATTERN.md)
163
163
  - Examples: [example/](patterns/connectors/calendar-cli/example/)
164
164
  - Requires: `@jskit-ai/connector-google-calendar`, `@jskit-ai/connectors-core`, `@jskit-ai/database-runtime-mysql`
@@ -169,7 +169,7 @@ Compose the shared connector runtime for event delivery while leaving workflow c
169
169
 
170
170
  - Id: `connectors/event-delivery`
171
171
  - Keywords: `cli`, `connectors`, `events`, `files`, `inngest`, `integrations`, `workflows`
172
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
172
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
173
173
  - Read: [PATTERN.md](patterns/connectors/event-delivery/PATTERN.md)
174
174
  - Examples: [example/](patterns/connectors/event-delivery/example/)
175
175
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -180,7 +180,7 @@ Wire service-account grants, file storage, explicit message actions and public b
180
180
 
181
181
  - Id: `connectors/firebase-messaging`
182
182
  - Keywords: `cli`, `connectors`, `fcm`, `files`, `firebase`, `integrations`, `jwt`, `notifications`, `push`, `service-account`, `vapid`
183
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
183
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
184
184
  - Read: [PATTERN.md](patterns/connectors/firebase-messaging/PATTERN.md)
185
185
  - Examples: [example/](patterns/connectors/firebase-messaging/example/)
186
186
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -191,7 +191,7 @@ Compose reviewed Search campaigns with project-owned Google OAuth and portable s
191
191
 
192
192
  - Id: `connectors/google-ads-search`
193
193
  - Keywords: `ads`, `campaigns`, `cli`, `connectors`, `conversion`, `google`, `search`
194
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
194
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
195
195
  - Read: [PATTERN.md](patterns/connectors/google-ads-search/PATTERN.md)
196
196
  - Examples: [example/](patterns/connectors/google-ads-search/example/)
197
197
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -202,7 +202,7 @@ Compose provider consent, verification and encrypted file persistence from an ap
202
202
 
203
203
  - Id: `connectors/oauth-connection`
204
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`
205
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
205
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
206
206
  - Read: [PATTERN.md](patterns/connectors/oauth-connection/PATTERN.md)
207
207
  - Examples: [example/](patterns/connectors/oauth-connection/example/)
208
208
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -213,7 +213,7 @@ Compose a sequential catalogue batch and preserve partial success for applicatio
213
213
 
214
214
  - Id: `connectors/paddle-catalogue`
215
215
  - Keywords: `batch`, `paddle`, `payments`, `prices`, `products`
216
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
216
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
217
217
  - Read: [PATTERN.md](patterns/connectors/paddle-catalogue/PATTERN.md)
218
218
  - Examples: [example/](patterns/connectors/paddle-catalogue/example/)
219
219
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -224,7 +224,7 @@ Resolve a publishable image key deliberately and use the shared URL library in a
224
224
 
225
225
  - Id: `connectors/public-image`
226
226
  - Keywords: `cli`, `connectors`, `files`, `images`, `integrations`, `logo-dev`, `public-key`
227
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
227
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
228
228
  - Read: [PATTERN.md](patterns/connectors/public-image/PATTERN.md)
229
229
  - Examples: [example/](patterns/connectors/public-image/example/)
230
230
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -235,7 +235,7 @@ Compose file configuration, Redshift Data API operations and application query o
235
235
 
236
236
  - Id: `connectors/redshift-queries`
237
237
  - Keywords: `aws`, `cli`, `connectors`, `files`, `iam`, `provisioned`, `redshift`, `serverless`, `sql`, `warehouse`
238
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
238
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
239
239
  - Read: [PATTERN.md](patterns/connectors/redshift-queries/PATTERN.md)
240
240
  - Examples: [example/](patterns/connectors/redshift-queries/example/)
241
241
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -246,7 +246,7 @@ Use the shared scanner runtime from a CLI or a host worker with portable configu
246
246
 
247
247
  - Id: `connectors/source-scanning`
248
248
  - Keywords: `cancellation`, `cli`, `connectors`, `integrations`, `scanning`, `security`, `source`, `wiz`, `worker`
249
- - Owner: `@jskit-ai/connectors-catalog@0.2.60`
249
+ - Owner: `@jskit-ai/connectors-catalog@0.2.61`
250
250
  - Read: [PATTERN.md](patterns/connectors/source-scanning/PATTERN.md)
251
251
  - Examples: [example/](patterns/connectors/source-scanning/example/)
252
252
  - Requires: `@jskit-ai/connectors-catalog`, `@jskit-ai/connectors-core`
@@ -257,7 +257,7 @@ Add a protected administration surface, settings shell, and semantic navigation
257
257
 
258
258
  - Id: `console/console-surface`
259
259
  - Keywords: `admin`, `console`, `navigation`, `owner`, `placement`, `settings`, `surface`
260
- - Owner: `@jskit-ai/console-web@0.1.302`
260
+ - Owner: `@jskit-ai/console-web@0.1.304`
261
261
  - Read: [PATTERN.md](patterns/console/console-surface/PATTERN.md)
262
262
  - Examples: [example/](patterns/console/console-surface/example/)
263
263
  - Requires: `@jskit-ai/console-core`, `@jskit-ai/console-web`, `@jskit-ai/shell-web`
@@ -279,7 +279,7 @@ Build a complete application-owned CRUD server package from a migration, a table
279
279
 
280
280
  - Id: `crud/crud-feature-package`
281
281
  - Keywords: `actions`, `crud`, `database`, `defineCrudFeature`, `json-api`, `migration`, `owns`, `permissions`, `repository`, `routes`, `service`, `table resource`
282
- - Owner: `@jskit-ai/crud-core@0.2.58`
282
+ - Owner: `@jskit-ai/crud-core@0.2.59`
283
283
  - Read: [PATTERN.md](patterns/crud/crud-feature-package/PATTERN.md)
284
284
  - Examples: [example/](patterns/crud/crud-feature-package/example/)
285
285
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -290,7 +290,7 @@ Build a routed CRUD user interface as thin application pages over JSKIT's shared
290
290
 
291
291
  - Id: `crud/crud-screen-set`
292
292
  - Keywords: `actions`, `add`, `crud`, `delete`, `edit`, `filters`, `list`, `material`, `routes`, `view`, `vue`
293
- - Owner: `@jskit-ai/http-web@0.2.62`
293
+ - Owner: `@jskit-ai/http-web@0.2.64`
294
294
  - Read: [PATTERN.md](patterns/crud/crud-screen-set/PATTERN.md)
295
295
  - Examples: [example/](patterns/crud/crud-screen-set/example/)
296
296
  - Requires: `@jskit-ai/http-web`, `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
@@ -301,7 +301,7 @@ Configure a JSKIT application for MySQL with a fixed driver, ordinary environmen
301
301
 
302
302
  - Id: `database/mysql-application`
303
303
  - Keywords: `database`, `knex`, `mariadb`, `migrations`, `mysql`, `mysql2`
304
- - Owner: `@jskit-ai/database-runtime-mysql@0.1.287`
304
+ - Owner: `@jskit-ai/database-runtime-mysql@0.1.288`
305
305
  - Read: [PATTERN.md](patterns/database/mysql-application/PATTERN.md)
306
306
  - Examples: [example/](patterns/database/mysql-application/example/)
307
307
  - Requires: `@jskit-ai/database-runtime-mysql`
@@ -312,7 +312,7 @@ Configure a JSKIT application for PostgreSQL with a fixed driver, ordinary envir
312
312
 
313
313
  - Id: `database/postgres-application`
314
314
  - Keywords: `database`, `knex`, `migrations`, `pg`, `postgres`, `postgresql`
315
- - Owner: `@jskit-ai/database-runtime-postgres@0.1.286`
315
+ - Owner: `@jskit-ai/database-runtime-postgres@0.1.287`
316
316
  - Read: [PATTERN.md](patterns/database/postgres-application/PATTERN.md)
317
317
  - Examples: [example/](patterns/database/postgres-application/example/)
318
318
  - Requires: `@jskit-ai/database-runtime-postgres`
@@ -334,7 +334,7 @@ Wrap a JSKIT web application in a Capacitor Android shell using native Capacitor
334
334
 
335
335
  - Id: `mobile/android-application`
336
336
  - Keywords: `android`, `capacitor`, `device`, `mobile`, `native`, `shell`, `webview`
337
- - Owner: `@jskit-ai/mobile-capacitor@0.2.53`
337
+ - Owner: `@jskit-ai/mobile-capacitor@0.2.55`
338
338
  - Read: [PATTERN.md](patterns/mobile/android-application/PATTERN.md)
339
339
  - Examples: [example/](patterns/mobile/android-application/example/)
340
340
  - Requires: `@capacitor/android`, `@capacitor/app`, `@capacitor/cli`, `@jskit-ai/mobile-capacitor`
@@ -345,7 +345,7 @@ Add JSKIT realtime events with an optional Redis backplane and an explicit shell
345
345
 
346
346
  - Id: `realtime/realtime-application`
347
347
  - Keywords: `realtime`, `redis`, `socket.io`, `sockets`, `status`, `websocket`
348
- - Owner: `@jskit-ai/realtime@0.2.56`
348
+ - Owner: `@jskit-ai/realtime@0.2.58`
349
349
  - Read: [PATTERN.md](patterns/realtime/realtime-application/PATTERN.md)
350
350
  - Examples: [example/](patterns/realtime/realtime-application/example/)
351
351
  - Requires: `@jskit-ai/realtime`, `@jskit-ai/shell-web`
@@ -356,7 +356,7 @@ Compose application-owned Google Publisher Tag delivery with the generic rewarde
356
356
 
357
357
  - Id: `rewards/google-rewarded`
358
358
  - Keywords: `ads`, `google`, `publisher tag`, `rewarded`, `unlock`
359
- - Owner: `@jskit-ai/rewarded-web@0.2.78`
359
+ - Owner: `@jskit-ai/rewarded-web@0.2.80`
360
360
  - Read: [PATTERN.md](patterns/rewards/google-rewarded/PATTERN.md)
361
361
  - Examples: [example/](patterns/rewards/google-rewarded/example/)
362
362
  - Requires: `@jskit-ai/rewarded-web`
@@ -367,7 +367,7 @@ Define a server feature through explicit capabilities and first-class actions, a
367
367
 
368
368
  - Id: `server/feature-package`
369
369
  - Keywords: `actions`, `aggregate`, `feature`, `handle`, `orchestration`, `owns`, `package`, `provider`, `repository`, `routes`, `server`, `table resource`
370
- - Owner: `@jskit-ai/agent-docs@0.1.361`
370
+ - Owner: `@jskit-ai/agent-docs@0.1.363`
371
371
  - Read: [PATTERN.md](patterns/server/feature-package/PATTERN.md)
372
372
  - Examples: [example/](patterns/server/feature-package/example/)
373
373
  - Requires: `@jskit-ai/kernel`
@@ -378,7 +378,7 @@ Compose the JSKIT responsive shell, semantic placements, settings navigation, an
378
378
 
379
379
  - Id: `shell/application-shell`
380
380
  - Keywords: `adaptive`, `app`, `layout`, `navigation`, `placement`, `responsive`, `settings`, `shell`
381
- - Owner: `@jskit-ai/shell-web@0.2.53`
381
+ - Owner: `@jskit-ai/shell-web@0.2.55`
382
382
  - Read: [PATTERN.md](patterns/shell/application-shell/PATTERN.md)
383
383
  - Examples: [example/](patterns/shell/application-shell/example/)
384
384
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -389,7 +389,7 @@ Add product routes and shell extensions through file routing, semantic placement
389
389
 
390
390
  - Id: `ui/page-and-placement`
391
391
  - Keywords: `component`, `navigation`, `outlet`, `page`, `placement`, `routes`, `section`, `shell`, `subpages`, `vue`
392
- - Owner: `@jskit-ai/shell-web@0.2.53`
392
+ - Owner: `@jskit-ai/shell-web@0.2.55`
393
393
  - Read: [PATTERN.md](patterns/ui/page-and-placement/PATTERN.md)
394
394
  - Examples: [example/](patterns/ui/page-and-placement/example/)
395
395
  - Requires: `@jskit-ai/kernel`, `@jskit-ai/shell-web`
@@ -400,7 +400,7 @@ Compose an account settings route and profile, preference, notification, and sig
400
400
 
401
401
  - Id: `users/account-settings`
402
402
  - Keywords: `account`, `link provider`, `notifications`, `oauth`, `preferences`, `profile`, `settings`, `sign-in methods`, `user`, `vue`
403
- - Owner: `@jskit-ai/users-web@0.2.86`
403
+ - Owner: `@jskit-ai/users-web@0.2.88`
404
404
  - Read: [PATTERN.md](patterns/users/account-settings/PATTERN.md)
405
405
  - Examples: [example/](patterns/users/account-settings/example/)
406
406
  - Requires: `@jskit-ai/shell-web`, `@jskit-ai/users-core`, `@jskit-ai/users-web`
@@ -411,7 +411,7 @@ Expose user administration and workspace-scoped member operations through app-ow
411
411
 
412
412
  - Id: `users/user-administration-server`
413
413
  - Keywords: `account`, `admin`, `member`, `repository`, `resource`, `routes`, `service`, `user`, `workspace`
414
- - Owner: `@jskit-ai/users-core@0.2.69`
414
+ - Owner: `@jskit-ai/users-core@0.2.70`
415
415
  - Read: [PATTERN.md](patterns/users/user-administration-server/PATTERN.md)
416
416
  - Examples: [example/](patterns/users/user-administration-server/example/)
417
417
  - Requires: `@jskit-ai/crud-core`, `@jskit-ai/users-core`
@@ -422,7 +422,7 @@ Configure roles, workspace access policy, invitations, and app-owned invitation
422
422
 
423
423
  - Id: `workspaces/workspace-server`
424
424
  - Keywords: `access`, `invite`, `membership`, `multitenancy`, `policy`, `role`, `tenancy`, `workspace`
425
- - Owner: `@jskit-ai/workspaces-core@0.2.69`
425
+ - Owner: `@jskit-ai/workspaces-core@0.2.70`
426
426
  - Read: [PATTERN.md](patterns/workspaces/workspace-server/PATTERN.md)
427
427
  - Examples: [example/](patterns/workspaces/workspace-server/example/)
428
428
  - Requires: `@jskit-ai/users-core`, `@jskit-ai/workspaces-core`
@@ -433,7 +433,7 @@ Compose workspace selection, invitation, member administration, settings, and re
433
433
 
434
434
  - Id: `workspaces/workspace-surfaces`
435
435
  - Keywords: `admin`, `invite`, `member`, `navigation`, `settings`, `surface`, `switcher`, `workspace`
436
- - Owner: `@jskit-ai/workspaces-web@0.2.86`
436
+ - Owner: `@jskit-ai/workspaces-web@0.2.88`
437
437
  - Read: [PATTERN.md](patterns/workspaces/workspace-surfaces/PATTERN.md)
438
438
  - Examples: [example/](patterns/workspaces/workspace-surfaces/example/)
439
439
  - 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.35",
38
- "@jskit-ai/material-web": "0.1.12",
38
+ "@jskit-ai/material-web": "0.1.14",
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.253",
53
- "@jskit-ai/jskit-catalog": "0.2.113",
53
+ "@jskit-ai/jskit-catalog": "0.2.115",
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.35",
38
- "@jskit-ai/material-web": "0.1.12",
38
+ "@jskit-ai/material-web": "0.1.14",
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.36",
48
- "@jskit-ai/shell-web": "0.2.53",
48
+ "@jskit-ai/shell-web": "0.2.55",
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.253",
54
- "@jskit-ai/jskit-catalog": "0.2.113",
54
+ "@jskit-ai/jskit-catalog": "0.2.115",
55
55
  "@playwright/test": "1.61.1",
56
56
  "@vitejs/plugin-vue": "^6.0.7",
57
57
  "eslint": "^10.8.0",
@@ -2,8 +2,8 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/database-runtime": "0.1.289",
6
- "@jskit-ai/database-runtime-mysql": "0.1.287",
7
- "@jskit-ai/oidc-issuer-core": "0.1.58"
5
+ "@jskit-ai/database-runtime": "0.1.290",
6
+ "@jskit-ai/database-runtime-mysql": "0.1.288",
7
+ "@jskit-ai/oidc-issuer-core": "0.1.59"
8
8
  }
9
9
  }
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/auth-provider-oidc-core": "0.2.69",
6
- "@jskit-ai/auth-web": "0.2.61"
5
+ "@jskit-ai/auth-provider-oidc-core": "0.2.71",
6
+ "@jskit-ai/auth-web": "0.2.63"
7
7
  }
8
8
  }
@@ -63,8 +63,10 @@ uses, and none of them reads Vuetify:
63
63
  `verified` and `cancel` to the app's own prompt.
64
64
  - `useSecondFactorProof({ submit, onDone })` from
65
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
66
+ recovery code form, its refusal beside the field and its submission. A
67
+ prompt that stays mounted between step-ups calls its `reset()` each time it
68
+ opens, so every opening asks for the authenticator's code with nothing typed
69
+ and no refusal. The prompt submits `verifySecondFactor` from
68
70
  `@jskit-ai/auth-web/client/runtime/secondFactorRequests`;
69
71
  `useSecondFactorSettings()` and that module's other requests build an
70
72
  account's authenticator settings the same way.
@@ -15,9 +15,18 @@ const { t } = useJskitText();
15
15
  const id = useId();
16
16
  const dialog = ref(null);
17
17
  const field = ref(null);
18
- const { usingRecoveryCode, code, recoveryCode, fieldError, canSubmit, toggleRecoveryCode, submitProof } = useSecondFactorProof({
19
- submit: verifySecondFactor,
20
- onDone: (result) => emit("verified", result)
18
+ const { usingRecoveryCode, code, recoveryCode, fieldError, canSubmit, toggleRecoveryCode, reset, submitProof } =
19
+ useSecondFactorProof({
20
+ submit: verifySecondFactor,
21
+ onDone: (result) => emit("verified", result)
22
+ });
23
+
24
+ // The dialog stays mounted between step-ups, so each opening starts its form afresh (the authenticator's code, nothing
25
+ // typed, no refusal) before it renders; the dialog then shows, focusing that field.
26
+ watch(() => props.open, (open) => {
27
+ if (open) {
28
+ reset();
29
+ }
21
30
  });
22
31
 
23
32
  watch(() => props.open, (open) => {
@@ -7,10 +7,10 @@
7
7
  "db:migrate:status": "knex --knexfile ./knexfile.js migrate:list"
8
8
  },
9
9
  "dependencies": {
10
- "@jskit-ai/connectors-core": "0.2.57",
11
- "@jskit-ai/connector-google-calendar": "0.2.57",
12
- "@jskit-ai/database-runtime": "0.1.289",
13
- "@jskit-ai/database-runtime-mysql": "0.1.287",
10
+ "@jskit-ai/connectors-core": "0.2.58",
11
+ "@jskit-ai/connector-google-calendar": "0.2.58",
12
+ "@jskit-ai/database-runtime": "0.1.290",
13
+ "@jskit-ai/database-runtime-mysql": "0.1.288",
14
14
  "@jskit-ai/kernel": "0.2.35",
15
15
  "knex": "^3.1.0"
16
16
  }
@@ -9,7 +9,7 @@
9
9
  "./shared": "./src/shared/index.js"
10
10
  },
11
11
  "dependencies": {
12
- "@jskit-ai/crud-core": "0.2.58",
12
+ "@jskit-ai/crud-core": "0.2.59",
13
13
  "@jskit-ai/resource-core": "0.1.226",
14
14
  "@jskit-ai/resource-crud-core": "0.1.228"
15
15
  },
@@ -9,7 +9,7 @@
9
9
  "test": "jskit test --databases"
10
10
  },
11
11
  "dependencies": {
12
- "@jskit-ai/database-runtime": "0.1.289",
13
- "@jskit-ai/database-runtime-mysql": "0.1.287"
12
+ "@jskit-ai/database-runtime": "0.1.290",
13
+ "@jskit-ai/database-runtime-mysql": "0.1.288"
14
14
  }
15
15
  }
@@ -9,7 +9,7 @@
9
9
  "test": "jskit test --databases"
10
10
  },
11
11
  "dependencies": {
12
- "@jskit-ai/database-runtime": "0.1.289",
13
- "@jskit-ai/database-runtime-postgres": "0.1.286"
12
+ "@jskit-ai/database-runtime": "0.1.290",
13
+ "@jskit-ai/database-runtime-postgres": "0.1.287"
14
14
  }
15
15
  }
@@ -2,7 +2,7 @@
2
2
  "private": true,
3
3
  "type": "module",
4
4
  "dependencies": {
5
- "@jskit-ai/realtime": "0.2.56",
6
- "@jskit-ai/shell-web": "0.2.53"
5
+ "@jskit-ai/realtime": "0.2.58",
6
+ "@jskit-ai/shell-web": "0.2.55"
7
7
  }
8
8
  }
@@ -10,9 +10,9 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.58",
13
+ "@jskit-ai/crud-core": "0.2.59",
14
14
  "@jskit-ai/resource-crud-core": "0.1.228",
15
- "@jskit-ai/users-core": "0.2.69"
15
+ "@jskit-ai/users-core": "0.2.70"
16
16
  },
17
17
  "jskit": {
18
18
  "kind": "runtime",
@@ -10,14 +10,14 @@
10
10
  "./shared": "./src/shared/index.js"
11
11
  },
12
12
  "dependencies": {
13
- "@jskit-ai/crud-core": "0.2.58",
13
+ "@jskit-ai/crud-core": "0.2.59",
14
14
  "@jskit-ai/resource-crud-core": "0.1.228",
15
- "@jskit-ai/users-core": "0.2.69",
16
- "@jskit-ai/workspaces-core": "0.2.69"
15
+ "@jskit-ai/users-core": "0.2.70",
16
+ "@jskit-ai/workspaces-core": "0.2.70"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "@jskit-ai/kernel": "0.2.35",
20
- "@jskit-ai/resource-runtime": "0.2.54"
20
+ "@jskit-ai/resource-runtime": "0.2.55"
21
21
  },
22
22
  "jskit": {
23
23
  "kind": "runtime",
@@ -33,6 +33,16 @@ database time, apply that page to the path.
33
33
  - Every Playwright run through `browserTestConfig()` ends with its 10 slowest
34
34
  tests. Compare a slow spec's time with the time of the app's requests it
35
35
  makes, so you know whether the test or the app is slow.
36
+ - Take the baseline from one whole run of each part (the database tests, the
37
+ browser tests), its files in parallel at the real `V64_TEST_CONCURRENCY`:
38
+ its per-file times are the baseline table. After a batch of fixes, run the
39
+ part again for the times after, and compare per file and in total. A
40
+ single-file run (`npm test -- <file>`) is for one change's red and green,
41
+ never the way to take a baseline or a before-and-after table, and never one
42
+ of serial runs queued one after another. Run where the project's test
43
+ machine runs (inside Vibe64, `vibe64-helper check`), not on a shared
44
+ development host; a time taken while other work loads the machine is
45
+ reported as such and never used as a baseline.
36
46
 
37
47
  ### Fix
38
48
 
@@ -45,7 +55,12 @@ database time, apply that page to the path.
45
55
  `listen(0)`, a directory from `mkdtemp`, the database `jskit test --databases`
46
56
  gives each file, a scratch database from
47
57
  `createPackageTestKnex(t, { environment: process.env })` for a test that
48
- needs an empty one (or several), and a Vite `cacheDir` of its own. The
58
+ needs an empty one (or several), another copy of the snapshot, rows
59
+ included, from `claimTestDatabaseCopy(t, { environment: process.env })` for
60
+ a test that needs a second one, and a Vite `cacheDir` of its own. On MySQL
61
+ and MariaDB, `resetTestDatabase({ environment: process.env })` gives a test
62
+ its file's copy afresh mid-file, replacing only the tables written since;
63
+ never build global-setup slots of your own. The
49
64
  `// jskit-test: alone - <reason>` marker is only for a file that holds a
50
65
  resource of the whole machine.
51
66
  - A `jskit test --databases` run whose databases let fewer files run at once
@@ -86,8 +101,8 @@ database time, apply that page to the path.
86
101
 
87
102
  ### Prove
88
103
 
89
- Run the whole suite before and after on the same machine with the same
90
- `V64_TEST_CONCURRENCY`, and report the wall time, each preparation phase, the
104
+ Run the whole suite before and after on the project's test machine with the
105
+ same `V64_TEST_CONCURRENCY`, and report the wall time, each preparation phase, the
91
106
  slowest files and the test counts, which stay the same.
92
107
 
93
108
  ## Client speed