@jskit-ai/agent-docs 0.1.354 → 0.1.356
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.
- package/guide/agent/app-extras/assistant-conversation.md +7 -0
- package/guide/agent/app-extras/assistant.md +51 -0
- package/guide/agent/app-setup/authentication.md +6 -0
- package/guide/agent/app-setup/database-layer.md +40 -15
- package/guide/agent/app-setup/upgrading-jskit.md +6 -3
- package/guide/agent/framework/material-3.md +3 -4
- package/guide/agent/framework/speed-pass.md +7 -1
- package/guide/agent/framework/typed-features.md +46 -20
- package/package.json +1 -1
- package/patterns/feature-package/example/booking-engine/package.json +1 -1
- package/patterns/minimal-foundation/example/package.json +6 -6
- package/patterns/shell-foundation/example/package.json +7 -7
- package/patterns/shell-foundation/example/packages/main/package.json +1 -1
- package/patterns/shell-foundation/example/src/components/menus/TabLinkItem.vue +5 -0
- package/reference/autogen/PATTERN_INDEX.md +39 -39
- package/reference/autogen/packages/agent-runtime.md +1 -1
- package/reference/autogen/packages/assistant-core.md +3 -2
- package/reference/autogen/packages/assistant-runtime.md +8 -1
- package/reference/autogen/packages/assistant-voice-sherpa.md +2 -1
- package/reference/autogen/packages/kernel.md +1 -1
- package/reference/autogen/packages/material-web.md +2 -0
- package/reference/autogen/tooling/jskit-catalog.md +8 -2
- package/skills/jskit/references/database-layer.md +40 -15
- package/skills/jskit/references/heuristics/placements.md +1 -0
- package/skills/jskit/references/material-3.md +3 -4
- package/skills/jskit/references/pattern-index.md +39 -39
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +6 -6
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +7 -7
- package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
- package/skills/jskit/references/patterns/app/shell-foundation/example/src/components/menus/TabLinkItem.vue +5 -0
- package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +3 -3
- package/skills/jskit/references/patterns/auth/oidc-sign-in/example/package.json +2 -2
- package/skills/jskit/references/patterns/auth/supabase-auth/example/package.json +1 -1
- package/skills/jskit/references/patterns/connectors/calendar-cli/example/package.json +5 -5
- package/skills/jskit/references/patterns/crud/crud-feature-package/example/packages/books/package.json +3 -3
- package/skills/jskit/references/patterns/database/mysql-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/database/postgres-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/realtime/realtime-application/example/package.json +2 -2
- package/skills/jskit/references/patterns/server/feature-package/example/booking-engine/package.json +1 -1
- package/skills/jskit/references/patterns/shell/application-shell/example/src/components/menus/TabLinkItem.vue +5 -0
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +3 -3
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +6 -6
- package/skills/jskit/references/speed-pass.md +7 -1
- package/skills/jskit/references/typed-features.md +46 -20
|
@@ -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.
|
|
18
|
+
- Owner: `@jskit-ai/agent-docs@0.1.356`
|
|
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.
|
|
29
|
+
- Owner: `@jskit-ai/agent-docs@0.1.356`
|
|
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.
|
|
40
|
+
- Owner: `@jskit-ai/assistant-runtime@0.2.91`
|
|
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.
|
|
51
|
+
- Owner: `@jskit-ai/oidc-issuer-core@0.1.55`
|
|
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.
|
|
62
|
+
- Owner: `@jskit-ai/auth-web@0.2.60`
|
|
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.
|
|
73
|
+
- Owner: `@jskit-ai/auth-provider-oidc-core@0.2.65`
|
|
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.
|
|
84
|
+
- Owner: `@jskit-ai/auth-web@0.2.60`
|
|
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`
|
|
@@ -92,7 +92,7 @@ Add Supabase authentication through normal npm composition, explicit environment
|
|
|
92
92
|
|
|
93
93
|
- Id: `auth/supabase-auth`
|
|
94
94
|
- Keywords: `auth`, `authentication`, `oauth`, `sessions`, `supabase`
|
|
95
|
-
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.
|
|
95
|
+
- Owner: `@jskit-ai/auth-provider-supabase-core@0.2.43`
|
|
96
96
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/auth/supabase-auth/PATTERN.md)
|
|
97
97
|
- Examples: [example/](../../skills/jskit/references/patterns/auth/supabase-auth/example/)
|
|
98
98
|
- Requires: `@jskit-ai/auth-provider-supabase-core`
|
|
@@ -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.
|
|
106
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
117
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
128
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
139
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
150
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
161
|
+
- Owner: `@jskit-ai/connector-google-calendar@0.2.53`
|
|
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.
|
|
172
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
183
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
194
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
205
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
216
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
227
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
238
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
249
|
+
- Owner: `@jskit-ai/connectors-catalog@0.2.56`
|
|
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.
|
|
260
|
+
- Owner: `@jskit-ai/console-web@0.1.297`
|
|
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`
|
|
@@ -268,7 +268,7 @@ Define an application table resource whose records belong to the current user, a
|
|
|
268
268
|
|
|
269
269
|
- Id: `crud/crud-contract`
|
|
270
270
|
- Keywords: `authenticated`, `crud`, `database`, `owner-scoped`, `resource`, `table`, `user`
|
|
271
|
-
- Owner: `@jskit-ai/resource-crud-core@0.1.
|
|
271
|
+
- Owner: `@jskit-ai/resource-crud-core@0.1.228`
|
|
272
272
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/crud/crud-contract/PATTERN.md)
|
|
273
273
|
- Examples: [example/](../../skills/jskit/references/patterns/crud/crud-contract/example/)
|
|
274
274
|
- Requires: `@jskit-ai/resource-core`, `@jskit-ai/resource-crud-core`
|
|
@@ -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.
|
|
282
|
+
- Owner: `@jskit-ai/crud-core@0.2.54`
|
|
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.
|
|
293
|
+
- Owner: `@jskit-ai/http-web@0.2.61`
|
|
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.
|
|
304
|
+
- Owner: `@jskit-ai/database-runtime-mysql@0.1.284`
|
|
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.
|
|
315
|
+
- Owner: `@jskit-ai/database-runtime-postgres@0.1.283`
|
|
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`
|
|
@@ -323,7 +323,7 @@ Describe one database table once (its fields, columns, ownership, search and sor
|
|
|
323
323
|
|
|
324
324
|
- Id: `database/table-resource`
|
|
325
325
|
- Keywords: `database`, `defaultTo`, `defineTableResource`, `lockVersionField`, `lookup`, `ownership`, `owns`, `resource`, `system`, `table`, `workspace_or_shared`
|
|
326
|
-
- Owner: `@jskit-ai/resource-core@0.1.
|
|
326
|
+
- Owner: `@jskit-ai/resource-core@0.1.226`
|
|
327
327
|
- Read: [PATTERN.md](../../skills/jskit/references/patterns/database/table-resource/PATTERN.md)
|
|
328
328
|
- Examples: [example/](../../skills/jskit/references/patterns/database/table-resource/example/)
|
|
329
329
|
- Requires: `@jskit-ai/resource-core`
|
|
@@ -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.
|
|
337
|
+
- Owner: `@jskit-ai/mobile-capacitor@0.2.52`
|
|
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.
|
|
348
|
+
- Owner: `@jskit-ai/realtime@0.2.55`
|
|
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.
|
|
359
|
+
- Owner: `@jskit-ai/rewarded-web@0.2.73`
|
|
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.
|
|
370
|
+
- Owner: `@jskit-ai/agent-docs@0.1.356`
|
|
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.
|
|
381
|
+
- Owner: `@jskit-ai/shell-web@0.2.52`
|
|
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.
|
|
392
|
+
- Owner: `@jskit-ai/shell-web@0.2.52`
|
|
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.
|
|
403
|
+
- Owner: `@jskit-ai/users-web@0.2.81`
|
|
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.
|
|
414
|
+
- Owner: `@jskit-ai/users-core@0.2.65`
|
|
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.
|
|
425
|
+
- Owner: `@jskit-ai/workspaces-core@0.2.65`
|
|
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.
|
|
436
|
+
- Owner: `@jskit-ai/workspaces-web@0.2.81`
|
|
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`
|
|
@@ -124,7 +124,7 @@ Exports
|
|
|
124
124
|
|
|
125
125
|
### `src/server/summaryStore.js`
|
|
126
126
|
Exports
|
|
127
|
-
- `createSummaries({ resources, systemContext, model, app = "the app", history, track = runSummaryUnmetered, notices, channel = "agent-summaries", summarize = (input) => writeSummary({ model, app, ...input, limits }),
|
|
127
|
+
- `createSummaries({ resources, systemContext, model, app = "the app", history, track = runSummaryUnmetered, notices, channel = "agent-summaries", limits = SUMMARY_LIMITS, summarize = (input) => writeSummary({ model, app, ...input, limits }), ...removed })`
|
|
128
128
|
Local functions
|
|
129
129
|
- `runSummaryUnmetered(_conversationId, work)`
|
|
130
130
|
|
|
@@ -1350,7 +1350,7 @@ Exports
|
|
|
1350
1350
|
|
|
1351
1351
|
### `src/server/conversation/conversationTurns.js`
|
|
1352
1352
|
Exports
|
|
1353
|
-
- `createConversationTurns({ storage, streams, events, entries, reads, delivery, turnDelivery, catalog, apiHistory, isClosed, completedEnvelope, maximumToolCalls, maximumFinalReply, maximumCompletedOutput, timeoutMs })`
|
|
1353
|
+
- `createConversationTurns({ storage, streams, events, entries, reads, delivery, turnDelivery, catalog, apiHistory, apiTurnNote, isClosed, completedEnvelope, maximumToolCalls, maximumFinalReply, maximumCompletedOutput, timeoutMs })`
|
|
1354
1354
|
- `saveTools(entry, transaction, request, calls)`
|
|
1355
1355
|
- `type ConversationEntry`
|
|
1356
1356
|
- `type ConversationRequest`
|
|
@@ -1729,7 +1729,7 @@ Local functions
|
|
|
1729
1729
|
|
|
1730
1730
|
### `src/server/conversation/runtime.js`
|
|
1731
1731
|
Exports
|
|
1732
|
-
- `createConversationRuntime({ engine: defaultEngine = "api", defaultIntegrationId, storage: suppliedStorage, authorize, connections, apiClientFactory, apiHistory, actions, toolPolicy, toolCatalog, attachments: suppliedAttachments, fetch, host: defaultHost, onDeliveryTiming, hostDeliveryStages, persistCommentary = true, completedEnvelope = false, limits = DEFAULT_LIMITS })`
|
|
1732
|
+
- `createConversationRuntime({ engine: defaultEngine = "api", defaultIntegrationId, storage: suppliedStorage, authorize, connections, apiClientFactory, apiHistory, apiTurnNote, actions, toolPolicy, toolCatalog, attachments: suppliedAttachments, fetch, host: defaultHost, onDeliveryTiming, hostDeliveryStages, persistCommentary = true, completedEnvelope = false, limits = DEFAULT_LIMITS })`
|
|
1733
1733
|
|
|
1734
1734
|
### `src/server/conversation/runtimeStateUpgrade.js`
|
|
1735
1735
|
Exports
|
|
@@ -2159,6 +2159,7 @@ Exports
|
|
|
2159
2159
|
- `type ConversationConnections`
|
|
2160
2160
|
- `type ConversationApiClientFactory`
|
|
2161
2161
|
- `type ConversationApiHistory`
|
|
2162
|
+
- `type ConversationApiTurnNote`
|
|
2162
2163
|
- `type ConversationDeliveryTimingObserver`
|
|
2163
2164
|
- `type ConversationLimits`
|
|
2164
2165
|
|
|
@@ -89,7 +89,7 @@ Local functions
|
|
|
89
89
|
|
|
90
90
|
### `src/client/composables/useAssistantRuntime.js`
|
|
91
91
|
Exports
|
|
92
|
-
- `useAssistantRuntime({ api, surfaceId = "", integrationId = "" })`
|
|
92
|
+
- `useAssistantRuntime({ api, surfaceId = "", integrationId = "", pageContext = null })`
|
|
93
93
|
- `type RuntimeScope`
|
|
94
94
|
Local functions
|
|
95
95
|
- `toNonNegativeInteger(value, fallback)`
|
|
@@ -164,6 +164,7 @@ Exports
|
|
|
164
164
|
- `type RealtimeSocket`
|
|
165
165
|
- `type SurfaceRouteContext`
|
|
166
166
|
- `type PlacementRuntime`
|
|
167
|
+
- `type AssistantPageContext`
|
|
167
168
|
- `type WorkspaceScopeSupport`
|
|
168
169
|
- `type ConversationIdentity`
|
|
169
170
|
- `type ConversationReader`
|
|
@@ -474,6 +475,12 @@ Local functions
|
|
|
474
475
|
- `buildCatalogOptions(appConfig = {}, surfaceId = "")`
|
|
475
476
|
- `requireContextSurfaceId(context)`
|
|
476
477
|
|
|
478
|
+
### `src/server/support/pageContext.js`
|
|
479
|
+
Exports
|
|
480
|
+
- `pageContextNote(pageContext)`
|
|
481
|
+
Local functions
|
|
482
|
+
- `escapeCharacter(character)`
|
|
483
|
+
|
|
477
484
|
### `src/server/support/personContext.js`
|
|
478
485
|
Exports
|
|
479
486
|
- `NO_PERSON_CONTEXT`
|
|
@@ -42,10 +42,11 @@ Local functions
|
|
|
42
42
|
|
|
43
43
|
### `src/recognitionSession.js`
|
|
44
44
|
Exports
|
|
45
|
-
- `createRecognitionSession(recognizer, { vocabulary = {}, minimumRms = 0, tailPaddingSeconds = 0.
|
|
45
|
+
- `createRecognitionSession(recognizer, { vocabulary = {}, minimumRms = 0, tailPaddingSeconds = 0.75, onPartial = ignoreRecognizedText, onEndpoint = ignoreRecognizedText, continuous = false } = {})`
|
|
46
46
|
- `warmRecognizer(recognizer)`
|
|
47
47
|
Local functions
|
|
48
48
|
- `ignoreRecognizedText()`
|
|
49
|
+
- `createDither()`
|
|
49
50
|
- `decodeAvailable(recognizer, stream, vocabulary)`
|
|
50
51
|
|
|
51
52
|
### `src/recognitionWorker.js`
|
|
@@ -941,6 +941,7 @@ Exports
|
|
|
941
941
|
|
|
942
942
|
### `server/http/responseSerializerFactory.js`
|
|
943
943
|
Exports
|
|
944
|
+
- `branchValidator(validator, compiledBranches)`
|
|
944
945
|
- `createCachedResponseSerializerFactory(buildSerializer)`
|
|
945
946
|
- `schemaCacheKey(schema)`
|
|
946
947
|
Local functions
|
|
@@ -951,7 +952,6 @@ Local functions
|
|
|
951
952
|
- `everyRefResolves(schema, externalSchemas)`
|
|
952
953
|
- `namesNothingOutside(value)`
|
|
953
954
|
- `selfContainedBranch(ajv, ref)`
|
|
954
|
-
- `branchValidator(validator, compiledBranches)`
|
|
955
955
|
- `compiledOnFirstUse(build, options, key)`
|
|
956
956
|
|
|
957
957
|
### `server/http/securityHeaders.js`
|
|
@@ -60,7 +60,9 @@ Exports
|
|
|
60
60
|
- `browserTestWorkers({ env = process.env, argv = process.argv } = {})`
|
|
61
61
|
Local functions
|
|
62
62
|
- `positiveInteger(value)`
|
|
63
|
+
- `withoutTrailingSlash(url)`
|
|
63
64
|
- `managedBaseUrl(env)`
|
|
65
|
+
- `managedWorkerTargets(env)`
|
|
64
66
|
- `commandLineWorkers(argv)`
|
|
65
67
|
- `listen(port)`
|
|
66
68
|
- `freeConsecutivePorts(host, count)`
|
|
@@ -196,7 +198,7 @@ Exports
|
|
|
196
198
|
- `checkManifestCapabilities({ projectRoot, manifests })`
|
|
197
199
|
- `formatManifestCapabilitiesReport(result)`
|
|
198
200
|
Local functions
|
|
199
|
-
- `capabilityLine(contents, capabilityId = "")`
|
|
201
|
+
- `capabilityLine(contents, capabilityId = "", within = "capabilities")`
|
|
200
202
|
- `kernelPlatform(manifestPath, root)`
|
|
201
203
|
|
|
202
204
|
### `scripts/material3-source.mjs`
|
|
@@ -406,7 +408,10 @@ Local functions
|
|
|
406
408
|
### `scripts/test-budget.mjs`
|
|
407
409
|
Exports
|
|
408
410
|
- `BUDGET_VARIABLE`
|
|
409
|
-
- `
|
|
411
|
+
- `availableCpus({ parallelism = os.availableParallelism(), readFile = readFileSync } = {})`
|
|
412
|
+
- `testConcurrency({ env = process.env, parallelism = availableCpus() } = {})`
|
|
413
|
+
Local functions
|
|
414
|
+
- `quotaCpus(text)`
|
|
410
415
|
|
|
411
416
|
### `scripts/test-command.mjs`
|
|
412
417
|
Exports
|
|
@@ -420,6 +425,7 @@ Local functions
|
|
|
420
425
|
- `aloneDestination(destination)`
|
|
421
426
|
- `aloneRunOptions(options)`
|
|
422
427
|
- `aloneShard(files, options)`
|
|
428
|
+
- `databaseShortfall(databases, asked)`
|
|
423
429
|
- `runNode(args, env)`
|
|
424
430
|
|
|
425
431
|
### `scripts/test-databases.mjs`
|
|
@@ -371,15 +371,25 @@ script) does this with `@jskit-ai/database-runtime/server/testDatabases`, from
|
|
|
371
371
|
the application's `knexfile.js`:
|
|
372
372
|
|
|
373
373
|
- Each test file running at once gets a database of its own for as long as it
|
|
374
|
-
runs, as both `DB_NAME` and `TEST_DB_NAME
|
|
375
|
-
copies named `<TEST_DB_NAME>_1`, `_2`, ... up to
|
|
376
|
-
as many as the database user may create.
|
|
374
|
+
runs, as both `DB_NAME` and `TEST_DB_NAME`, with the app's `DB_CLIENT`:
|
|
375
|
+
`TEST_DB_NAME` itself, then copies named `<TEST_DB_NAME>_1`, `_2`, ... up to
|
|
376
|
+
the machine's test budget, as many as the database user may create. So the
|
|
377
|
+
user needs them all: on MySQL and MariaDB a grant on `TEST_DB_NAME` and on
|
|
378
|
+
`` `<TEST_DB_NAME>\_%`.* `` (a grant reads an unescaped `_` as any
|
|
379
|
+
character), on PostgreSQL `CREATEDB`. A run that gets fewer databases than
|
|
380
|
+
the files its budget would run at once says so, and why, at its start and
|
|
381
|
+
its end (`jskit test: test files run 1 at a time, not the 4 this machine's
|
|
382
|
+
test budget allows: the database user may not create shop_test_1. ...`),
|
|
383
|
+
and fails once its tests have run: a machine meant to run files in parallel
|
|
384
|
+
never runs them one at a time unnoticed. With no usable `TEST_DB_NAME`
|
|
377
385
|
(unset, the connected database itself, or one the database user may not
|
|
378
|
-
prepare)
|
|
379
|
-
|
|
380
|
-
`
|
|
381
|
-
|
|
382
|
-
|
|
386
|
+
prepare) the files run one at a time on the connected database, the same
|
|
387
|
+
way. To run that way on purpose, set the budget to what the databases allow
|
|
388
|
+
(`V64_TEST_CONCURRENCY=1`); a focused run of one file loses nothing and only
|
|
389
|
+
says which database it used. A copy named like the application's database,
|
|
390
|
+
`STAGING_DB_NAME` or `PRODUCTION_DB_NAME`, or a server that cannot be
|
|
391
|
+
reached, fails the run instead. So does a run while `PROD_DB_NAME`, which
|
|
392
|
+
those two replaced, is set.
|
|
383
393
|
Every file starts from the snapshot, rows included: a copy an earlier file of
|
|
384
394
|
the run used is restored before the next file takes it, so no file sees what
|
|
385
395
|
another wrote.
|
|
@@ -429,6 +439,17 @@ the application's `knexfile.js`:
|
|
|
429
439
|
`knex.migrate.latest()`), and `files` lists every file it reads, its own
|
|
430
440
|
module included, relative to the application root: their contents join the
|
|
431
441
|
digest, so changing one takes a new snapshot.
|
|
442
|
+
- A test file that needs a scratch database beside its own copy, an empty one
|
|
443
|
+
for tables the test creates or several at once, takes each from
|
|
444
|
+
`createPackageTestKnex(t, { environment: process.env })` (from
|
|
445
|
+
`@jskit-ai/resource-runtime/test`): with the run's `DB_CLIENT` in the file's
|
|
446
|
+
environment, each call on MySQL or MariaDB claims one of the 26 lettered
|
|
447
|
+
copies of the run's designated database, `<TEST_DB_NAME>_a` to `_z`,
|
|
448
|
+
recreated empty and dropped after the test, and on PostgreSQL a schema of
|
|
449
|
+
its own in the file's database
|
|
450
|
+
([data access tests](data-access.md#tests)). A file is the
|
|
451
|
+
unit that starts from the snapshot: tests that each need the snapshot's
|
|
452
|
+
database afresh go in files of their own.
|
|
432
453
|
- A test that runs migrations up or down, or otherwise changes the tables,
|
|
433
454
|
leaves its database dirty: its tables or migration ledger differ from the
|
|
434
455
|
snapshot's. The harness restores the snapshot before another test file uses
|
|
@@ -488,12 +509,16 @@ disable email, payments or other external effects: configure those test controls
|
|
|
488
509
|
and verify the actual server identity before destructive requests.
|
|
489
510
|
|
|
490
511
|
A host's browser test target, such as a Vibe64 Outputs target with
|
|
491
|
-
``- Data: `test` ``, runs `jskit browser-test-server <host> <port>`:
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
512
|
+
``- Data: `test` ``, runs `jskit browser-test-server <host> <port> <workers>`:
|
|
513
|
+
`<workers>` servers of the app's own `browserTestConfig()` (1 to 64, else one),
|
|
514
|
+
worker *i* on `<port>`+*i*, on the production build, each with the database its
|
|
515
|
+
`prepare` module gives that worker (`BROWSER_TEST_DB_NAME` itself for the first
|
|
516
|
+
in the database patterns), its test-only `env` and `APP_ENV=test`, on the host's
|
|
495
517
|
address. The JSKIT Stack piece declares that target as `test-app`, so
|
|
496
518
|
`vibe64-helper playwright --target test-app npm-run test:e2e` runs the app's
|
|
497
|
-
suite against its own test database from the first commit
|
|
498
|
-
|
|
499
|
-
|
|
519
|
+
suite against its own test database from the first commit, one Playwright worker
|
|
520
|
+
per server: the host lists them in `PLAYWRIGHT_WORKER_TARGETS`, and
|
|
521
|
+
`browserTestConfig()` gives each worker its own server and signed-in state and
|
|
522
|
+
refuses another worker count. The target signs nothing in; the host supplies
|
|
523
|
+
each worker's login state through the target's Preview identity, the same
|
|
524
|
+
command as the normal target's.
|
|
@@ -37,6 +37,7 @@ Placement entries:
|
|
|
37
37
|
- Use `surfaces` to say where the entry is eligible. Missing or `["*"]` means any surface.
|
|
38
38
|
- Use `order` for ordering. Equal order preserves source order.
|
|
39
39
|
- Use `props` for the rendered component props, including labels, icons, `surface`, `scopedSuffix`, `unscopedSuffix`, or explicit `to`.
|
|
40
|
+
- A main navigation link whose `label` is wider than a phone's navigation bar slot (about 68px) also takes `shortLabel`, the label the bar shows; menus, the rail and the drawer show `label`. The adaptive shell smoke check fails on a bar label that is cut or ends in an ellipsis.
|
|
40
41
|
- Use `when(context)` only for auth, permissions, feature flags, and runtime state. Do not use `when()` for layout adaptation.
|
|
41
42
|
- Direct concrete placement must use `target: "host:position"` plus `internal: true`. Treat this as low-level infrastructure, not normal app authoring.
|
|
42
43
|
|
|
@@ -235,8 +235,8 @@ JSKIT ships these exact sizes; an app never re-implements or overrides them:
|
|
|
235
235
|
and the 48dp target. No icon button is under 32dp, and a target stops at
|
|
236
236
|
the edge of a button beside it, so each of a row's touching icon buttons
|
|
237
237
|
answers its own press;
|
|
238
|
-
- one-line button labels, ending in an ellipsis: keep labels short,
|
|
239
|
-
one that can run long, such as a name, its full label as `title`;
|
|
238
|
+
- one-line button and chip labels, ending in an ellipsis: keep labels short,
|
|
239
|
+
and give one that can run long, such as a name, its full label as `title`;
|
|
240
240
|
- 12dp cards: flat (the default) and tonal at level 0, `variant="elevated"`
|
|
241
241
|
at level 1; flat expansion panels;
|
|
242
242
|
- 28dp dialogs and bottom-sheet top corners, square full-screen dialogs;
|
|
@@ -308,8 +308,7 @@ dialog, chip or FAB.
|
|
|
308
308
|
color alone.
|
|
309
309
|
- Surfaces are separated by tone (`surface-container-lowest` to
|
|
310
310
|
`-highest`), not borders: no `variant="outlined"` cards and no `border` on
|
|
311
|
-
cards or sheets.
|
|
312
|
-
and tonal cards.
|
|
311
|
+
cards or sheets.
|
|
313
312
|
- Keep WCAG AA contrast in both schemes. Use elevation `0` through `5` and
|
|
314
313
|
component variants instead of arbitrary shadows.
|
|
315
314
|
|