@jskit-ai/agent-docs 0.1.57 → 0.1.59

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.
@@ -159,6 +159,9 @@ The most important parts look like this:
159
159
 
160
160
  ```json
161
161
  {
162
+ "engines": {
163
+ "node": "^20.19.0 || ^22.12.0"
164
+ },
162
165
  "scripts": {
163
166
  "server": "node ./bin/server.js",
164
167
  "server:all": "node ./bin/server.js",
@@ -181,26 +184,26 @@ The most important parts look like this:
181
184
  },
182
185
  "dependencies": {
183
186
  "@local/main": "file:packages/main",
184
- "@fastify/static": "^9.1.1",
187
+ "@fastify/static": "^9.1.3",
185
188
  "@jskit-ai/kernel": "0.x",
186
- "@tanstack/vue-query": "^5.90.5",
189
+ "@tanstack/vue-query": "^5.101.0",
187
190
  "@jskit-ai/http-runtime": "0.x",
188
- "fastify": "^5.7.4",
189
- "json-rest-schema": "^1.0.13",
191
+ "fastify": "^5.8.5",
192
+ "json-rest-schema": "^1.0.16",
190
193
  "pinia": "^3.0.4",
191
- "vue": "^3.5.13",
192
- "vue-router": "^5.0.4",
193
- "vuetify": "^4.0.0"
194
+ "vue": "^3.5.38",
195
+ "vue-router": "^5.1.0",
196
+ "vuetify": "^4.1.2"
194
197
  },
195
198
  "devDependencies": {
196
199
  "@jskit-ai/agent-docs": "0.x",
197
200
  "@jskit-ai/config-eslint": "0.x",
198
201
  "@jskit-ai/jskit-cli": "0.x",
199
- "@playwright/test": "^1.57.0",
200
- "@vitejs/plugin-vue": "^5.2.1",
201
- "eslint": "^9.39.1",
202
- "vite": "^6.1.0",
203
- "vitest": "^4.0.18"
202
+ "@playwright/test": "^1.61.0",
203
+ "@vitejs/plugin-vue": "^6.0.7",
204
+ "eslint": "^9.39.4",
205
+ "vite": "^8.0.16",
206
+ "vitest": "^4.1.9"
204
207
  }
205
208
  }
206
209
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jskit-ai/agent-docs",
3
- "version": "0.1.57",
3
+ "version": "0.1.59",
4
4
  "description": "Distributed JSKIT agent references, prompts, guides, and generated reference maps.",
5
5
  "type": "module",
6
6
  "files": [
@@ -36,6 +36,7 @@ Local functions
36
36
  Exports
37
37
  - `safeRequestCookies(request)`
38
38
  - `cookieOptions(isProduction, maxAge)`
39
+ - `cookieClearOptions(isProduction)`
39
40
 
40
41
  ### `src/server/lib/authenticatedProfile.js`
41
42
  Exports
@@ -678,7 +678,7 @@ Exports
678
678
  Exports
679
679
  - `normalizeDescriptorUiRoutes(value)`
680
680
  - `normalizeDescriptorClientProviders(value)`
681
- - `normalizeDescriptorClientOptimizeIncludeSpecifiers(value)`
681
+ - `normalizeDescriptorClientOptimizeSpecifiers(value)`
682
682
  - `normalizeClientDescriptorSections(descriptorValue)`
683
683
 
684
684
  ### `client/index.js`
@@ -782,7 +782,7 @@ Exports
782
782
  - `CLIENT_BOOTSTRAP_VIRTUAL_ID`
783
783
  - `CLIENT_BOOTSTRAP_RESOLVED_ID`
784
784
  - `createVirtualModuleSource(clientModules = [])`
785
- - `resolveClientOptimizeIncludeSpecifiers(clientModules = [])`
785
+ - `resolveClientOptimizeIncludeSpecifiers(clientModules = [], excludeSpecifiers = [])`
786
786
  - `resolveClientOptimizeExcludeSpecifiers(clientModules = [])`
787
787
  - `resolveLocalScopeOptimizeExcludeSpecifiers(localScopePackageIds = [])`
788
788
  - `resolveInstalledClientPackageIds(options)`
@@ -198,6 +198,26 @@ Local functions
198
198
  Exports
199
199
  - `resolveActionUser(context, input)`
200
200
 
201
+ ### `src/server/previewUserProvisioning.js`
202
+ Exports
203
+ - `DEFAULT_AUTH_PROVIDER`
204
+ - `DEFAULT_DISPLAY_NAME`
205
+ - `DEFAULT_EMAIL`
206
+ - `ensurePreviewUser(db, profileInput = {})`
207
+ - `normalizePreviewUserProfile(profile = {})`
208
+ - `profileFromUserRow(user = {}, fallback = {})`
209
+ Local functions
210
+ - `normalizeText(value = "")`
211
+ - `normalizeLowerText(value = "")`
212
+ - `normalizeUsername(value = "")`
213
+ - `usernameBaseFromEmail(email = "")`
214
+ - `buildUsernameCandidate(baseUsername = "", suffix = 0)`
215
+ - `isDuplicateError(error)`
216
+ - `resolveUniqueUsername(db, baseUsername = "", { excludeUserId = "" } = {})`
217
+ - `findPreviewUser(db, profile = {})`
218
+ - `ensurePreviewUserRow(db, profile = {})`
219
+ - `ensureUserSettings(db, user = {})`
220
+
201
221
  ### `src/server/profileSyncLifecycleContributorRegistry.js`
202
222
  Exports
203
223
  - `PROFILE_SYNC_LIFECYCLE_CONTRIBUTOR_TAG`
@@ -114,6 +114,25 @@ Exports
114
114
  - `routeParamsValidator`
115
115
  - `workspaceSlugParamsValidator`
116
116
 
117
+ ### `src/server/previewWorkspaceProvisioning.js`
118
+ Exports
119
+ - `buildWorkspaceBaseSlug(profile = {})`
120
+ - `buildWorkspaceName(profile = {})`
121
+ - `ensurePreviewWorkspace(db, user = {}, profile = {}, { appConfig = {}, tenancyMode = "" } = {})`
122
+ - `normalizeWorkspaceResult(workspace = null)`
123
+ Local functions
124
+ - `normalizeText(value = "")`
125
+ - `normalizeLowerText(value = "")`
126
+ - `workspaceSlugPart(value = "")`
127
+ - `usernameBaseFromEmail(email = "")`
128
+ - `buildWorkspaceSlugCandidate(baseSlug = "", suffix = 0)`
129
+ - `isDuplicateError(error)`
130
+ - `resolveUniqueWorkspaceSlug(db, baseSlug = "", { excludeWorkspaceId = "" } = {})`
131
+ - `hasWorkspaceTables(db)`
132
+ - `findPreviewWorkspace(db, user = {}, { isPersonal = true } = {})`
133
+ - `ensureWorkspaceSettings(db, workspace = {})`
134
+ - `ensureOwnerMembership(db, workspace = {}, user = {})`
135
+
117
136
  ### `src/server/registerWorkspaceBootstrap.js`
118
137
  Exports
119
138
  - `registerWorkspaceBootstrap(app)`
@@ -400,6 +400,23 @@ Local functions
400
400
  - `replaceWithSymlink(targetPath = "", sourceDir = "", { packageName = "" } = {})`
401
401
  - `maybeLinkCompanionPackages({ appRoot = "", repoRoot = "", stdout, createCliError })`
402
402
 
403
+ ### `src/server/commandHandlers/appCommands/preparePreviewUser.js`
404
+ Exports
405
+ - `runAppPreparePreviewUserCommand(_ctx = {}, { appRoot = "", options = {}, stdout = process.stdout })`
406
+ Local functions
407
+ - `normalizeText(value = "")`
408
+ - `normalizeLowerText(value = "")`
409
+ - `profileFromOptions(options = {})`
410
+ - `fileExists(filePath = "")`
411
+ - `createAppRequire(appRoot = "")`
412
+ - `importFreshModule(filePath = "")`
413
+ - `loadKnexConfig(appRoot = "")`
414
+ - `importAppPackageExport(appRoot = "", specifier = "", { required = true } = {})`
415
+ - `writeProfile(profileFile = "", authProfile = {})`
416
+ - `isTrueOption(value)`
417
+ - `normalizeTenancyMode(value = "")`
418
+ - `hasWorkspaceTables(db)`
419
+
403
420
  ### `src/server/commandHandlers/appCommands/release.js`
404
421
  Exports
405
422
  - `runAppReleaseCommand(ctx = {}, { appRoot = "", options = {}, stdout, stderr })`