@jskit-ai/agent-docs 0.1.130 → 0.1.132

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 (171) hide show
  1. package/guide/agent/app-extras/assistant.md +29 -605
  2. package/guide/agent/app-extras/mobile-capacitor.md +29 -362
  3. package/guide/agent/app-extras/realtime.md +29 -277
  4. package/guide/agent/app-setup/a-more-interesting-shell.md +44 -815
  5. package/guide/agent/app-setup/authentication.md +43 -1073
  6. package/guide/agent/app-setup/console.md +26 -298
  7. package/guide/agent/app-setup/database-layer.md +110 -790
  8. package/guide/agent/app-setup/initial-scaffolding.md +50 -784
  9. package/guide/agent/app-setup/multi-homing.md +39 -712
  10. package/guide/agent/app-setup/quickstart.md +43 -179
  11. package/guide/agent/app-setup/users.md +34 -353
  12. package/guide/agent/index.md +16 -23
  13. package/package.json +2 -2
  14. package/patterns/INDEX.md +7 -7
  15. package/patterns/child-cruds.md +3 -3
  16. package/patterns/client-requests.md +6 -6
  17. package/patterns/crud-authoring.md +94 -0
  18. package/patterns/crud-links.md +1 -1
  19. package/patterns/feature-package/PATTERN.md +108 -0
  20. package/patterns/feature-package/example/booking-engine/package.json +48 -0
  21. package/patterns/feature-package/example/booking-engine/src/server/BookingEngineProvider.js +33 -0
  22. package/patterns/feature-package/example/booking-engine/src/server/actions.js +26 -0
  23. package/patterns/feature-package/example/booking-engine/src/server/inputSchemas.js +19 -0
  24. package/patterns/feature-package/example/variations/AvailabilityEngineProvider.js +31 -0
  25. package/patterns/feature-package/example/variations/InvoiceRollupProvider.js +36 -0
  26. package/patterns/feature-package/example/variations/customKnexRepository.js +34 -0
  27. package/patterns/feature-package/example/variations/orchestratorService.js +23 -0
  28. package/patterns/filters.md +8 -8
  29. package/patterns/live-actions.md +5 -18
  30. package/patterns/minimal-foundation/PATTERN.md +98 -0
  31. package/patterns/minimal-foundation/example/.nvmrc +1 -0
  32. package/patterns/minimal-foundation/example/AGENTS.md +17 -0
  33. package/patterns/minimal-foundation/example/Procfile +2 -0
  34. package/patterns/minimal-foundation/example/app.json +14 -0
  35. package/patterns/minimal-foundation/example/bin/develop.js +71 -0
  36. package/patterns/minimal-foundation/example/bin/server.js +8 -0
  37. package/patterns/minimal-foundation/example/config/public.js +40 -0
  38. package/patterns/minimal-foundation/example/config/server.js +1 -0
  39. package/patterns/minimal-foundation/example/config/surfaceAccessPolicies.js +3 -0
  40. package/patterns/minimal-foundation/example/eslint.config.mjs +19 -0
  41. package/patterns/minimal-foundation/example/favicon.svg +7 -0
  42. package/patterns/minimal-foundation/example/gitignore +9 -0
  43. package/patterns/minimal-foundation/example/index.html +13 -0
  44. package/patterns/minimal-foundation/example/jsconfig.json +8 -0
  45. package/patterns/minimal-foundation/example/package.json +57 -0
  46. package/patterns/minimal-foundation/example/packages/main/package.json +42 -0
  47. package/patterns/minimal-foundation/example/packages/main/src/shared/index.js +10 -0
  48. package/patterns/minimal-foundation/example/packages/main/src/shared/schemas/index.js +22 -0
  49. package/patterns/minimal-foundation/example/playwright.config.mjs +31 -0
  50. package/patterns/minimal-foundation/example/server/lib/runtimeEnv.js +45 -0
  51. package/patterns/minimal-foundation/example/server/lib/surfaceRuntime.js +10 -0
  52. package/patterns/minimal-foundation/example/server.js +195 -0
  53. package/patterns/minimal-foundation/example/src/App.vue +13 -0
  54. package/patterns/minimal-foundation/example/src/main.js +85 -0
  55. package/patterns/minimal-foundation/example/src/pages/home/index.vue +48 -0
  56. package/patterns/minimal-foundation/example/src/pages/home.vue +13 -0
  57. package/patterns/minimal-foundation/example/src/views/NotFound.vue +13 -0
  58. package/patterns/minimal-foundation/example/tests/client/smoke.vitest.js +7 -0
  59. package/patterns/minimal-foundation/example/tests/e2e/base-shell.spec.ts +23 -0
  60. package/patterns/minimal-foundation/example/tests/server/smoke.test.js +16 -0
  61. package/patterns/minimal-foundation/example/vite.config.mjs +81 -0
  62. package/patterns/page-scaffolding.md +20 -17
  63. package/patterns/placements.md +17 -15
  64. package/patterns/row-policies.md +4 -5
  65. package/patterns/server-search.md +3 -3
  66. package/patterns/shell-foundation/PATTERN.md +104 -0
  67. package/patterns/shell-foundation/example/.nvmrc +1 -0
  68. package/patterns/shell-foundation/example/AGENTS.md +17 -0
  69. package/patterns/shell-foundation/example/Procfile +2 -0
  70. package/patterns/shell-foundation/example/app.json +14 -0
  71. package/patterns/shell-foundation/example/bin/develop.js +71 -0
  72. package/patterns/shell-foundation/example/bin/server.js +8 -0
  73. package/patterns/shell-foundation/example/config/public.js +40 -0
  74. package/patterns/shell-foundation/example/config/server.js +1 -0
  75. package/patterns/shell-foundation/example/config/surfaceAccessPolicies.js +3 -0
  76. package/patterns/shell-foundation/example/eslint.config.mjs +19 -0
  77. package/patterns/shell-foundation/example/favicon.svg +7 -0
  78. package/patterns/shell-foundation/example/gitignore +9 -0
  79. package/patterns/shell-foundation/example/index.html +13 -0
  80. package/patterns/shell-foundation/example/jsconfig.json +8 -0
  81. package/patterns/shell-foundation/example/package.json +59 -0
  82. package/patterns/shell-foundation/example/packages/main/package.json +56 -0
  83. package/patterns/shell-foundation/example/packages/main/src/client/index.js +9 -0
  84. package/patterns/shell-foundation/example/packages/main/src/client/providers/MainClientProvider.js +18 -0
  85. package/patterns/shell-foundation/example/packages/main/src/shared/index.js +10 -0
  86. package/patterns/shell-foundation/example/packages/main/src/shared/schemas/index.js +22 -0
  87. package/patterns/shell-foundation/example/playwright.config.mjs +31 -0
  88. package/patterns/shell-foundation/example/server/lib/runtimeEnv.js +45 -0
  89. package/patterns/shell-foundation/example/server/lib/surfaceRuntime.js +10 -0
  90. package/patterns/shell-foundation/example/server.js +195 -0
  91. package/patterns/shell-foundation/example/src/App.vue +11 -0
  92. package/patterns/shell-foundation/example/src/components/ShellLayout.vue +12 -0
  93. package/patterns/shell-foundation/example/src/components/menus/MenuLinkItem.vue +30 -0
  94. package/patterns/shell-foundation/example/src/components/menus/SurfaceAwareMenuLinkItem.vue +42 -0
  95. package/patterns/shell-foundation/example/src/components/menus/TabLinkItem.vue +42 -0
  96. package/patterns/shell-foundation/example/src/error.js +19 -0
  97. package/patterns/shell-foundation/example/src/main.js +85 -0
  98. package/patterns/shell-foundation/example/src/pages/home/index.vue +116 -0
  99. package/patterns/shell-foundation/example/src/pages/home/settings/general/index.vue +40 -0
  100. package/patterns/shell-foundation/example/src/pages/home/settings/index.vue +7 -0
  101. package/patterns/shell-foundation/example/src/pages/home/settings.vue +109 -0
  102. package/patterns/shell-foundation/example/src/pages/home.vue +20 -0
  103. package/patterns/shell-foundation/example/src/placement.js +56 -0
  104. package/patterns/shell-foundation/example/src/placementTopology.js +149 -0
  105. package/patterns/shell-foundation/example/src/views/NotFound.vue +13 -0
  106. package/patterns/shell-foundation/example/tests/client/smoke.vitest.js +7 -0
  107. package/patterns/shell-foundation/example/tests/e2e/adaptive-shell.spec.ts +10 -0
  108. package/patterns/shell-foundation/example/tests/e2e/base-shell.spec.ts +23 -0
  109. package/patterns/shell-foundation/example/tests/server/smoke.test.js +16 -0
  110. package/patterns/shell-foundation/example/vite.config.mjs +81 -0
  111. package/patterns/ui-contract.md +56 -0
  112. package/patterns/ui-testing.md +10 -12
  113. package/reference/autogen/KERNEL_MAP.md +29 -107
  114. package/reference/autogen/PATTERN_INDEX.md +230 -0
  115. package/reference/autogen/README.md +4 -8
  116. package/reference/autogen/packages/agent-docs.md +259 -0
  117. package/reference/autogen/packages/assistant-core.md +3 -3
  118. package/reference/autogen/packages/assistant-runtime.md +32 -17
  119. package/reference/autogen/packages/auth-core.md +31 -33
  120. package/reference/autogen/packages/auth-provider-local-core.md +4 -12
  121. package/reference/autogen/packages/auth-provider-local-db-core.md +4 -4
  122. package/reference/autogen/packages/auth-provider-supabase-core.md +14 -18
  123. package/reference/autogen/packages/auth-web.md +42 -22
  124. package/reference/autogen/packages/console-core.md +8 -25
  125. package/reference/autogen/packages/console-web.md +5 -5
  126. package/reference/autogen/packages/crud-core.md +61 -17
  127. package/reference/autogen/packages/database-runtime-mysql.md +12 -2
  128. package/reference/autogen/packages/database-runtime-postgres.md +12 -2
  129. package/reference/autogen/packages/database-runtime.md +26 -25
  130. package/reference/autogen/packages/google-rewarded-core.md +19 -104
  131. package/reference/autogen/packages/http-runtime.md +4 -8
  132. package/reference/autogen/packages/http-web.md +32 -0
  133. package/reference/autogen/packages/json-rest-api-core.md +4 -6
  134. package/reference/autogen/packages/kernel.md +109 -390
  135. package/reference/autogen/packages/mobile-capacitor.md +2 -13
  136. package/reference/autogen/packages/realtime.md +29 -26
  137. package/reference/autogen/packages/resource-crud-core.md +6 -0
  138. package/reference/autogen/packages/shell-web.md +69 -54
  139. package/reference/autogen/packages/storage-runtime.md +3 -3
  140. package/reference/autogen/packages/uploads-image-web.md +0 -1
  141. package/reference/autogen/packages/uploads-runtime.md +3 -3
  142. package/reference/autogen/packages/users-core.md +45 -90
  143. package/reference/autogen/packages/users-web.md +5 -7
  144. package/reference/autogen/packages/workspaces-core.md +53 -74
  145. package/reference/autogen/packages/workspaces-web.md +15 -16
  146. package/reference/autogen/tooling/jskit-catalog.md +34 -0
  147. package/reference/autogen/tooling/testUtils.md +4 -4
  148. package/skills/jskit/SKILL.md +36 -28
  149. package/skills/jskit/agents/openai.yaml +2 -2
  150. package/skills/jskit/references/app-operations.md +68 -53
  151. package/skills/jskit/references/crud-operations.md +58 -106
  152. package/skills/jskit/references/material-3.md +105 -0
  153. package/skills/jskit/references/ui-operations.md +41 -44
  154. package/templates/app/AGENTS.md +7 -3
  155. package/guide/agent/app-setup/upgrade-beta-1-to-final.md +0 -252
  156. package/guide/agent/app-setup/working-with-the-jskit-cli.md +0 -325
  157. package/guide/agent/generators/advanced-cruds.md +0 -1935
  158. package/guide/agent/generators/crud-generators.md +0 -948
  159. package/guide/agent/generators/intro.md +0 -65
  160. package/guide/agent/generators/row-policies.md +0 -537
  161. package/guide/agent/generators/ui-generators.md +0 -690
  162. package/patterns/crud-scaffolding.md +0 -198
  163. package/patterns/generated-ui-contract-tracking.md +0 -66
  164. package/reference/autogen/packages/assistant.md +0 -68
  165. package/reference/autogen/packages/crud-server-generator.md +0 -215
  166. package/reference/autogen/packages/crud-ui-generator.md +0 -192
  167. package/reference/autogen/packages/feature-server-generator.md +0 -65
  168. package/reference/autogen/packages/ui-generator.md +0 -127
  169. package/reference/autogen/tooling/create-app.md +0 -317
  170. package/reference/autogen/tooling/jskit-cli.md +0 -933
  171. package/reference/autogen/tooling/test-support.md +0 -27
@@ -12,6 +12,265 @@ Use this on demand; do not load the full index at startup.
12
12
 
13
13
  ## Sections
14
14
 
15
+ ### patterns
16
+
17
+ ### `patterns/feature-package/example/booking-engine/src/server/actions.js`
18
+ Exports
19
+ - `ACTION_GET_STATUS`
20
+ - `createActions({ bookingEngine } = {})`
21
+
22
+ ### `patterns/feature-package/example/booking-engine/src/server/BookingEngineProvider.js`
23
+ Exports
24
+ - `BookingEngineProvider`
25
+
26
+ ### `patterns/feature-package/example/booking-engine/src/server/inputSchemas.js`
27
+ Exports
28
+ - `statusQueryInputValidator`
29
+
30
+ ### `patterns/feature-package/example/variations/AvailabilityEngineProvider.js`
31
+ Exports
32
+ - `AvailabilityEngineProvider`
33
+
34
+ ### `patterns/feature-package/example/variations/customKnexRepository.js`
35
+ Exports
36
+ - `createRepository({ knex } = {})`
37
+
38
+ ### `patterns/feature-package/example/variations/InvoiceRollupProvider.js`
39
+ Exports
40
+ - `InvoiceRollupProvider`
41
+
42
+ ### `patterns/feature-package/example/variations/orchestratorService.js`
43
+ Exports
44
+ - `createService()`
45
+
46
+ ### `patterns/minimal-foundation/example/bin/develop.js`
47
+ Exports
48
+ - None
49
+ Local functions
50
+ - `requiredPort(value, fallback = 3000)`
51
+ - `waitForChild(child)`
52
+ - `requestShutdown(signal)`
53
+
54
+ ### `patterns/minimal-foundation/example/bin/server.js`
55
+ Exports
56
+ - None
57
+
58
+ ### `patterns/minimal-foundation/example/config/public.js`
59
+ Exports
60
+ - `config`
61
+
62
+ ### `patterns/minimal-foundation/example/config/server.js`
63
+ Exports
64
+ - `config`
65
+
66
+ ### `patterns/minimal-foundation/example/config/surfaceAccessPolicies.js`
67
+ Exports
68
+ - `surfaceAccessPolicies`
69
+
70
+ ### `patterns/minimal-foundation/example/eslint.config.mjs`
71
+ Exports
72
+ - None
73
+
74
+ ### `patterns/minimal-foundation/example/packages/main/src/shared/index.js`
75
+ Exports
76
+ - None
77
+
78
+ ### `patterns/minimal-foundation/example/packages/main/src/shared/schemas/index.js`
79
+ Exports
80
+ - None
81
+
82
+ ### `patterns/minimal-foundation/example/playwright.config.mjs`
83
+ Exports
84
+ - None
85
+
86
+ ### `patterns/minimal-foundation/example/server.js`
87
+ Exports
88
+ - `createServer({ runtimeEnv = resolveRuntimeEnv() } = {})`
89
+ - `startServer(options = {})`
90
+ Local functions
91
+ - `toRequestPathname(urlValue)`
92
+ - `isApiPath(pathname)`
93
+ - `hasFileExtension(pathname)`
94
+ - `resolveGlobalUiPaths(runtimeGlobalUiPaths = [])`
95
+ - `resolveStaticFilePath(pathname)`
96
+ - `canServeStaticFile(distRoot, relativePath)`
97
+
98
+ ### `patterns/minimal-foundation/example/server/lib/runtimeEnv.js`
99
+ Exports
100
+ - `resolveRuntimeEnv()`
101
+ Local functions
102
+ - `toPort(value, fallback = 3000)`
103
+ - `ensureRuntimeEnvLoaded()`
104
+
105
+ ### `patterns/minimal-foundation/example/server/lib/surfaceRuntime.js`
106
+ Exports
107
+ - `surfaceRuntime`
108
+
109
+ ### `patterns/minimal-foundation/example/src/App.vue`
110
+ Exports
111
+ - None
112
+
113
+ ### `patterns/minimal-foundation/example/src/main.js`
114
+ Exports
115
+ - None
116
+
117
+ ### `patterns/minimal-foundation/example/src/pages/home.vue`
118
+ Exports
119
+ - None
120
+
121
+ ### `patterns/minimal-foundation/example/src/pages/home/index.vue`
122
+ Exports
123
+ - None
124
+
125
+ ### `patterns/minimal-foundation/example/src/views/NotFound.vue`
126
+ Exports
127
+ - None
128
+
129
+ ### `patterns/minimal-foundation/example/vite.config.mjs`
130
+ Exports
131
+ - None
132
+ Local functions
133
+ - `clientEntry(()`
134
+
135
+ ### `patterns/shell-foundation/example/bin/develop.js`
136
+ Exports
137
+ - None
138
+ Local functions
139
+ - `requiredPort(value, fallback = 3000)`
140
+ - `waitForChild(child)`
141
+ - `requestShutdown(signal)`
142
+
143
+ ### `patterns/shell-foundation/example/bin/server.js`
144
+ Exports
145
+ - None
146
+
147
+ ### `patterns/shell-foundation/example/config/public.js`
148
+ Exports
149
+ - `config`
150
+
151
+ ### `patterns/shell-foundation/example/config/server.js`
152
+ Exports
153
+ - `config`
154
+
155
+ ### `patterns/shell-foundation/example/config/surfaceAccessPolicies.js`
156
+ Exports
157
+ - `surfaceAccessPolicies`
158
+
159
+ ### `patterns/shell-foundation/example/eslint.config.mjs`
160
+ Exports
161
+ - None
162
+
163
+ ### `patterns/shell-foundation/example/packages/main/src/client/index.js`
164
+ Exports
165
+ - `MainClientProvider`
166
+
167
+ ### `patterns/shell-foundation/example/packages/main/src/client/providers/MainClientProvider.js`
168
+ Exports
169
+ - `MainClientProvider`
170
+
171
+ ### `patterns/shell-foundation/example/packages/main/src/shared/index.js`
172
+ Exports
173
+ - None
174
+
175
+ ### `patterns/shell-foundation/example/packages/main/src/shared/schemas/index.js`
176
+ Exports
177
+ - None
178
+
179
+ ### `patterns/shell-foundation/example/playwright.config.mjs`
180
+ Exports
181
+ - None
182
+
183
+ ### `patterns/shell-foundation/example/server.js`
184
+ Exports
185
+ - `createServer({ runtimeEnv = resolveRuntimeEnv() } = {})`
186
+ - `startServer(options = {})`
187
+ Local functions
188
+ - `toRequestPathname(urlValue)`
189
+ - `isApiPath(pathname)`
190
+ - `hasFileExtension(pathname)`
191
+ - `resolveGlobalUiPaths(runtimeGlobalUiPaths = [])`
192
+ - `resolveStaticFilePath(pathname)`
193
+ - `canServeStaticFile(distRoot, relativePath)`
194
+
195
+ ### `patterns/shell-foundation/example/server/lib/runtimeEnv.js`
196
+ Exports
197
+ - `resolveRuntimeEnv()`
198
+ Local functions
199
+ - `toPort(value, fallback = 3000)`
200
+ - `ensureRuntimeEnvLoaded()`
201
+
202
+ ### `patterns/shell-foundation/example/server/lib/surfaceRuntime.js`
203
+ Exports
204
+ - `surfaceRuntime`
205
+
206
+ ### `patterns/shell-foundation/example/src/App.vue`
207
+ Exports
208
+ - None
209
+
210
+ ### `patterns/shell-foundation/example/src/components/menus/MenuLinkItem.vue`
211
+ Exports
212
+ - None
213
+
214
+ ### `patterns/shell-foundation/example/src/components/menus/SurfaceAwareMenuLinkItem.vue`
215
+ Exports
216
+ - None
217
+
218
+ ### `patterns/shell-foundation/example/src/components/menus/TabLinkItem.vue`
219
+ Exports
220
+ - None
221
+
222
+ ### `patterns/shell-foundation/example/src/components/ShellLayout.vue`
223
+ Exports
224
+ - `default`
225
+
226
+ ### `patterns/shell-foundation/example/src/error.js`
227
+ Exports
228
+ - None
229
+
230
+ ### `patterns/shell-foundation/example/src/main.js`
231
+ Exports
232
+ - None
233
+
234
+ ### `patterns/shell-foundation/example/src/pages/home.vue`
235
+ Exports
236
+ - None
237
+
238
+ ### `patterns/shell-foundation/example/src/pages/home/index.vue`
239
+ Exports
240
+ - None
241
+
242
+ ### `patterns/shell-foundation/example/src/pages/home/settings.vue`
243
+ Exports
244
+ - None
245
+
246
+ ### `patterns/shell-foundation/example/src/pages/home/settings/general/index.vue`
247
+ Exports
248
+ - None
249
+
250
+ ### `patterns/shell-foundation/example/src/pages/home/settings/index.vue`
251
+ Exports
252
+ - None
253
+
254
+ ### `patterns/shell-foundation/example/src/placement.js`
255
+ Exports
256
+ - `addPlacement`
257
+ - `getPlacements()`
258
+
259
+ ### `patterns/shell-foundation/example/src/placementTopology.js`
260
+ Exports
261
+ - `addPlacementTopology(value = {})`
262
+ - `default`
263
+
264
+ ### `patterns/shell-foundation/example/src/views/NotFound.vue`
265
+ Exports
266
+ - None
267
+
268
+ ### `patterns/shell-foundation/example/vite.config.mjs`
269
+ Exports
270
+ - None
271
+ Local functions
272
+ - `clientEntry(()`
273
+
15
274
  ### site
16
275
 
17
276
  ### `site/.vitepress/config.mjs`
@@ -166,7 +166,7 @@ Exports
166
166
 
167
167
  ### `src/server/lib/serviceToolCatalog.js`
168
168
  Exports
169
- - `createServiceToolCatalog(scope, { barredActionIds = [], skipActionPrefixes = [] } = {})`
169
+ - `createServiceToolCatalog(actions, { barredActionIds = [], skipActionPrefixes = [] } = {})`
170
170
  Local functions
171
171
  - `normalizeAssistantExtension(value)`
172
172
  - `normalizeAssistantActionExtension(action = {})`
@@ -182,8 +182,8 @@ Local functions
182
182
  - `hasAutomationChannel(action = {})`
183
183
  - `normalizeSurfaceList(value)`
184
184
  - `canUseToolOnSurface(entry = {}, context = {})`
185
- - `resolveActionBackedToolEntries(scope)`
186
- - `resolveActionToolEntries(scope, { barredActionIds = [], skipActionPrefixes = [] } = {})`
185
+ - `resolveActionBackedToolEntries(actions)`
186
+ - `resolveActionToolEntries(actions, { barredActionIds = [], skipActionPrefixes = [] } = {})`
187
187
 
188
188
  ### `src/shared/assistantPaths.js`
189
189
  Exports
@@ -74,14 +74,15 @@ Exports
74
74
 
75
75
  ### `src/server/actions.js`
76
76
  Exports
77
- - `assistantActions`
77
+ - `createAssistantActions({ assistantConfigService, chatService, config = {} } = {})`
78
+ Local functions
79
+ - `configuredAssistantSurfaces(config = {})`
78
80
 
79
81
  ### `src/server/AssistantProvider.js`
80
82
  Exports
81
- - `AssistantProvider`
82
- Local functions
83
- - `resolveGlobalAssistantConfig(scope)`
83
+ - `AssistantFeature`
84
84
  - `createAssistantAiClientFactory(config = {})`
85
+ - `createAssistantRuntime({ actionCatalogue, config, consoleRuntime, database, env, workspaces } = {})`
85
86
 
86
87
  ### `src/server/inputSchemas.js`
87
88
  Exports
@@ -90,7 +91,7 @@ Exports
90
91
 
91
92
  ### `src/server/registerRoutes.js`
92
93
  Exports
93
- - `registerRoutes(app)`
94
+ - `registerRoutes(router, { config = {}, workspaceScopeSupport = null } = {})`
94
95
  Local functions
95
96
  - `requireWorkspaceAssistantRouteParams(workspaceScopeSupport = null)`
96
97
  - `readWorkspaceInput(request, requiresWorkspace, workspaceScopeSupport = null)`
@@ -200,19 +201,11 @@ Local functions
200
201
 
201
202
  ### `src/server/support/createSurfaceAwareToolCatalog.js`
202
203
  Exports
203
- - `createSurfaceAwareToolCatalog(scope, { appConfig = {}, resolveAppConfig = null, createCatalog = createServiceToolCatalog } = {})`
204
+ - `createSurfaceAwareToolCatalog(actions, { appConfig = {}, resolveAppConfig = null, createCatalog = createServiceToolCatalog } = {})`
204
205
  Local functions
205
206
  - `buildCatalogOptions(appConfig = {}, surfaceId = "")`
206
207
  - `requireContextSurfaceId(context = {})`
207
208
 
208
- ### `src/server/support/workspaceScopeSupport.js`
209
- Exports
210
- - `WORKSPACES_SERVER_SCOPE_SUPPORT_TOKEN`
211
- - `isWorkspaceServerScopeSupport(value)`
212
- - `resolveWorkspaceServerScopeSupport(scope = null, { required = false, caller = "assistant-runtime" } = {})`
213
- Local functions
214
- - `hasWorkspaceRouteParamsDefinition(value)`
215
-
216
209
  ### `src/shared/assistantRuntimeConfig.js`
217
210
  Exports
218
211
  - `assistantRuntimeConfig`
@@ -232,12 +225,34 @@ Exports
232
225
  - `resolveAssistantSurfacesConfig`
233
226
  - `resolveSurfaceDefinitions`
234
227
 
235
- ### templates
228
+ ### migrations
229
+
230
+ ### `migrations/assistant_config_initial.cjs`
231
+ Exports
232
+ - None
233
+
234
+ ### `migrations/assistant_transcripts_initial.cjs`
235
+ Exports
236
+ - None
237
+
238
+ ### patterns
239
+
240
+ ### `patterns/assistant-surface/example/config/public.js`
241
+ Exports
242
+ - None
243
+
244
+ ### `patterns/assistant-surface/example/config/server.js`
245
+ Exports
246
+ - None
236
247
 
237
- ### `templates/migrations/assistant_config_initial.cjs`
248
+ ### `patterns/assistant-surface/example/src/pages/admin/assistant/index.vue`
238
249
  Exports
239
250
  - None
240
251
 
241
- ### `templates/migrations/assistant_transcripts_initial.cjs`
252
+ ### `patterns/assistant-surface/example/src/pages/admin/settings/assistant/index.vue`
242
253
  Exports
243
254
  - None
255
+
256
+ ### `patterns/assistant-surface/example/src/placement.js`
257
+ Exports
258
+ - `getPlacements()`
@@ -21,24 +21,19 @@ Exports
21
21
  ### `src/client/index.js`
22
22
  Exports
23
23
  - `AccessCoreClientProvider`
24
- - `FastifyAuthPolicyClientProvider`
25
24
 
26
25
  ### `src/client/providers/AccessCoreClientProvider.js`
27
26
  Exports
28
27
  - `AccessCoreClientProvider`
29
28
 
30
- ### `src/client/providers/FastifyAuthPolicyClientProvider.js`
31
- Exports
32
- - `FastifyAuthPolicyClientProvider`
33
-
34
29
  ### `src/client/signOutFlow.js`
35
30
  Exports
36
31
  - `runAuthSignOutFlow`
37
32
 
38
33
  ### `src/server/actions/auth.contributor.js`
39
34
  Exports
40
- - `baseAuthActions`
41
- - `buildAuthActions()`
35
+ - `authActionSpecifications`
36
+ - `buildAuthActions({ authService } = {})`
42
37
  - `requireRequestContext(context, actionId)`
43
38
 
44
39
  ### `src/server/authActor.js`
@@ -50,30 +45,34 @@ Local functions
50
45
  - `normalizeDisplayName(value, email = "")`
51
46
  - `normalizeProviderUserId(value)`
52
47
 
53
- ### `src/server/authPolicyContextResolverRegistry.js`
48
+ ### `src/server/authExtensions.js`
54
49
  Exports
55
- - `AUTH_POLICY_CONTEXT_RESOLVER_TAG`
56
- - `registerAuthPolicyContextResolver(app, token, factory)`
57
- - `resolveAuthPolicyContextResolvers(scope)`
58
- - `resolveComposedAuthPolicyContextResolver(scope)`
59
- - `mergeAuthPolicyContexts(contexts = [])`
60
- - `composeAuthPolicyContextResolvers(resolvers = [])`
50
+ - `createAuthExtensions()`
51
+ - `mergePolicyContexts(contexts = [])`
61
52
  Local functions
62
- - `normalizeAuthPolicyContextResolver(entry)`
53
+ - `normalizeOrderedExtension(value, { idField, method, label } = {})`
54
+ - `ordered(values)`
55
+
56
+ ### `src/server/authPolicyContextResolverRegistry.js`
57
+ Exports
58
+ - `registerAuthPolicyContextResolver(extensions, resolver)`
59
+ - `resolveComposedAuthPolicyContextResolver(extensions)`
60
+ - `mergePolicyContexts`
63
61
 
64
62
  ### `src/server/authServiceDecoratorRegistry.js`
65
63
  Exports
66
- - `AUTH_SERVICE_DECORATOR_TAG`
67
- - `applyAuthServiceDecorators(scope, authService)`
68
- - `registerAuthServiceDecorator(app, token, factory)`
69
- - `resolveAuthServiceDecorators(scope)`
70
- Local functions
71
- - `normalizeAuthServiceDecorator(entry)`
64
+ - `applyAuthServiceDecorators(extensions, authService)`
65
+ - `registerAuthServiceDecorator(extensions, decorator)`
72
66
 
73
67
  ### `src/server/booleanFlag.js`
74
68
  Exports
75
69
  - `parseBooleanFlag(value, fallback = false)`
76
70
 
71
+ ### `src/server/deferredAuthService.js`
72
+ Exports
73
+ - `attachDeferredAuthService(handle, service)`
74
+ - `createDeferredAuthService()`
75
+
77
76
  ### `src/server/devAuth.js`
78
77
  Exports
79
78
  - `assertDevAuthPolicy(policy = {})`
@@ -169,26 +168,25 @@ Exports
169
168
  - `normalizePermissions(value)`
170
169
  - `createMembershipIndexes(memberships)`
171
170
 
172
- ### `src/server/providers/AccessCoreServiceProvider.js`
171
+ ### `src/server/providers/AuthAccessProvider.js`
173
172
  Exports
174
- - `AccessCoreServiceProvider`
173
+ - `AuthAccessProvider`
175
174
 
176
- ### `src/server/providers/AuthActionsServiceProvider.js`
175
+ ### `src/server/providers/AuthExtensionsProvider.js`
177
176
  Exports
178
- - `AuthActionsServiceProvider`
177
+ - `AuthExtensionsProvider`
179
178
 
180
- ### `src/server/providers/FastifyAuthPolicyServiceProvider.js`
179
+ ### `src/server/providers/AuthFeature.js`
181
180
  Exports
182
- - `FastifyAuthPolicyServiceProvider`
183
- Local functions
184
- - `parseList(value)`
185
- - `defaultHasPermission({ permission, permissions = [] } = {})`
181
+ - `AuthFeature`
186
182
 
187
- ### `src/server/services/authSessionEventsService.js`
183
+ ### `src/server/providers/AuthPolicyProvider.js`
188
184
  Exports
189
- - `createAuthSessionEventsService()`
185
+ - `AuthPolicyProvider`
190
186
  Local functions
191
- - `resolveActorId(context = {})`
187
+ - `parseList(value)`
188
+ - `defaultHasPermission({ permission, permissions = [] } = {})`
189
+ - `createPolicy({ authService, extensions, env })`
192
190
 
193
191
  ### `src/server/unsupportedOperation.js`
194
192
  Exports
@@ -114,20 +114,12 @@ Local functions
114
114
  - `base64urlJson(value)`
115
115
  - `parseBase64urlJson(value)`
116
116
 
117
- ### `src/server/providers/AuthLocalServiceProvider.js`
117
+ ### `src/server/providers/AuthLocalProvider.js`
118
118
  Exports
119
- - `AuthLocalServiceProvider`
120
- - `resolveLocalBackendMode(scope)`
119
+ - `AuthLocalProvider`
120
+ - `resolveConfig({ appRoot, backend, env, logger })`
121
121
  Local functions
122
- - `resolveRuntimeEnv(scope)`
123
- - `assertSelectedAuthProvider(env)`
124
- - `resolveStoreDir(env)`
122
+ - `resolveStoreDir(env, appRoot)`
125
123
  - `resolveSessionSecret(env, { storeDir, isProduction })`
126
124
  - `resolveSmtpConfig(env)`
127
125
  - `resolveAppPublicUrl(env, { smtpConfigured })`
128
- - `resolveConfig(scope)`
129
- - `createLazyProfileProjector(scope)`
130
-
131
- ### `src/server/providers/AuthProviderServiceProvider.js`
132
- Exports
133
- - `AuthProviderServiceProvider`
@@ -39,12 +39,12 @@ Exports
39
39
  - `createLocalDbBackend`
40
40
  - `LOCAL_AUTH_DB_TABLES`
41
41
 
42
- ### `src/server/providers/AuthLocalDbBackendServiceProvider.js`
42
+ ### `src/server/providers/AuthLocalDatabaseBackendProvider.js`
43
43
  Exports
44
- - `AuthLocalDbBackendServiceProvider`
44
+ - `AuthLocalDatabaseBackendProvider`
45
45
 
46
- ### templates
46
+ ### migrations
47
47
 
48
- ### `templates/migrations/auth_local_db_initial.cjs`
48
+ ### `migrations/auth_local_db_initial.cjs`
49
49
  Exports
50
50
  - None
@@ -206,24 +206,20 @@ Exports
206
206
  - `findLinkedIdentityByProvider`
207
207
  - `buildSecurityStatusFromAuthMethodsStatus`
208
208
 
209
- ### `src/server/providers/AuthProviderServiceProvider.js`
209
+ ### `src/server/providers/AuthSupabaseProvider.js`
210
210
  Exports
211
- - `AuthProviderServiceProvider`
212
-
213
- ### `src/server/providers/AuthSupabaseServiceProvider.js`
214
- Exports
215
- - `AuthSupabaseServiceProvider`
211
+ - `AuthSupabaseProvider`
216
212
  Local functions
217
- - `splitCsv(value)`
218
213
  - `normalizeRecord(value)`
219
- - `normalizeOAuthProviderConfigList(value)`
220
- - `resolveOAuthConfigFromAppConfig(appConfig)`
221
- - `resolveAllowedReturnToOrigins({ appConfig = {}, appPublicUrl = "" } = {})`
222
- - `resolveAuthProviderConfig(env, appConfig = {})`
223
- - `resolveAuthProfileMode(appConfig = {})`
224
- - `createProviderIdentityProfileSyncService({ authProviderId = "supabase" } = {})`
225
- - `resolveCommonDependencies(scope)`
226
- - `resolveRuntimeEnv(scope)`
227
- - `assertSelectedAuthProvider(env)`
228
- - `resolveOptionalRepositories(scope)`
229
- - `isDeferredJsonRestBootGap(app, error)`
214
+ - `splitCsv(value)`
215
+ - `oauthConfig(config)`
216
+ - `providerConfig(env, config)`
217
+ - `profileMode(config)`
218
+ - `createProviderProfileProjector()`
219
+ - `assertSelectedProvider(env)`
220
+
221
+ ### patterns
222
+
223
+ ### `patterns/supabase-auth/example/config/server.js`
224
+ Exports
225
+ - None