@jskit-ai/agent-docs 0.1.242 → 0.1.243
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 +4 -2
- package/guide/agent/app-extras/assistant.md +3 -1
- package/guide/agent/app-extras/realtime.md +12 -3
- package/guide/agent/app-setup/database-layer.md +1 -1
- package/guide/agent/app-setup/existing-application-migration.md +0 -7
- package/guide/agent/framework/application-operations.md +1 -1
- package/guide/agent/framework/crud-operations.md +9 -9
- package/guide/agent/index.md +2 -0
- package/package.json +2 -3
- package/patterns/feature-package/example/booking-engine/package.json +1 -1
- package/patterns/feature-package/example/booking-engine/src/server/actions.js +0 -2
- package/patterns/feature-package/example/variations/AvailabilityEngineProvider.js +1 -1
- package/patterns/feature-package/example/variations/InvoiceRollupProvider.js +1 -1
- package/patterns/minimal-foundation/example/AGENTS.md +19 -0
- package/patterns/minimal-foundation/example/package.json +3 -3
- package/patterns/minimal-foundation/example/server/lib/runtimeEnv.js +3 -11
- package/patterns/minimal-foundation/example/src/main.js +0 -2
- package/patterns/shell-foundation/PATTERN.md +11 -20
- package/patterns/shell-foundation/example/AGENTS.md +19 -0
- package/patterns/shell-foundation/example/package.json +4 -4
- package/patterns/shell-foundation/example/packages/main/package.json +1 -1
- package/patterns/shell-foundation/example/server/lib/runtimeEnv.js +3 -11
- package/patterns/shell-foundation/example/src/components/ShellLayout.vue +1 -0
- package/patterns/shell-foundation/example/src/main.js +0 -2
- package/patterns/shell-foundation/example/src/pages/home/settings.vue +2 -2
- package/reference/autogen/KERNEL_MAP.md +16 -147
- package/reference/autogen/PATTERN_INDEX.md +37 -37
- package/reference/autogen/packages/agent-docs.md +1 -9
- package/reference/autogen/packages/assistant-core.md +102 -68
- package/reference/autogen/packages/assistant-runtime.md +29 -15
- package/reference/autogen/packages/assistant-voice-sherpa.md +2 -1
- package/reference/autogen/packages/assistant-voice.md +8 -11
- package/reference/autogen/packages/auth-core.md +1 -1
- package/reference/autogen/packages/auth-provider-local-core.md +1 -1
- package/reference/autogen/packages/auth-provider-local-db-core.md +1 -1
- package/reference/autogen/packages/auth-provider-oidc-core.md +1 -1
- package/reference/autogen/packages/auth-provider-supabase-core.md +1 -1
- package/reference/autogen/packages/auth-web.md +1 -2
- package/reference/autogen/packages/connector-google-calendar.md +6 -2
- package/reference/autogen/packages/connectors-catalog.md +26 -7
- package/reference/autogen/packages/connectors-core.md +14 -3
- package/reference/autogen/packages/connectors-web.md +6 -1
- package/reference/autogen/packages/console-core.md +1 -1
- package/reference/autogen/packages/console-web.md +1 -1
- package/reference/autogen/packages/crud-core.md +1 -1
- package/reference/autogen/packages/database-runtime-mysql.md +1 -1
- package/reference/autogen/packages/database-runtime-postgres.md +1 -1
- package/reference/autogen/packages/database-runtime.md +2 -86
- package/reference/autogen/packages/http-runtime.md +6 -92
- package/reference/autogen/packages/http-web.md +29 -49
- package/reference/autogen/packages/json-rest-api-core.md +1 -1
- package/reference/autogen/packages/kernel.md +108 -405
- package/reference/autogen/packages/mobile-capacitor.md +11 -1
- package/reference/autogen/packages/oidc-issuer-core.md +1 -1
- package/reference/autogen/packages/payments-core.md +12 -4
- package/reference/autogen/packages/payments-web.md +1 -1
- package/reference/autogen/packages/realtime.md +7 -5
- package/reference/autogen/packages/resource-core.md +1 -4
- package/reference/autogen/packages/resource-crud-core.md +4 -3
- package/reference/autogen/packages/rewarded-core.md +1 -1
- package/reference/autogen/packages/rewarded-web.md +1 -1
- package/reference/autogen/packages/shell-web.md +114 -49
- package/reference/autogen/packages/storage-runtime.md +1 -1
- package/reference/autogen/packages/uploads-image-web.md +1 -1
- package/reference/autogen/packages/uploads-runtime.md +1 -1
- package/reference/autogen/packages/users-core.md +1 -1
- package/reference/autogen/packages/users-web.md +1 -2
- package/reference/autogen/packages/workspaces-core.md +3 -1
- package/reference/autogen/packages/workspaces-web.md +1 -1
- package/reference/autogen/tooling/config-eslint.md +1 -1
- package/reference/autogen/tooling/jskit-catalog.md +8 -9
- package/reference/autogen/tooling/jskit-release.md +3 -4
- package/reference/autogen/tooling/testUtils.md +1 -28
- package/skills/jskit/SKILL.md +8 -6
- package/skills/jskit/references/app-operations.md +1 -1
- package/skills/jskit/references/crud-form-actions.md +62 -0
- package/skills/jskit/references/crud-operations.md +9 -9
- package/skills/jskit/references/existing-application-migration.md +0 -7
- package/{patterns → skills/jskit/references/heuristics}/INDEX.md +24 -38
- package/{patterns → skills/jskit/references/heuristics}/child-cruds.md +2 -0
- package/{patterns → skills/jskit/references/heuristics}/client-requests.md +2 -0
- package/{patterns → skills/jskit/references/heuristics}/crud-authoring.md +2 -0
- package/{patterns → skills/jskit/references/heuristics}/crud-links.md +2 -0
- package/{patterns → skills/jskit/references/heuristics}/crud-repository-mapping.md +3 -1
- package/{patterns → skills/jskit/references/heuristics}/filters.md +3 -1
- package/{patterns → skills/jskit/references/heuristics}/live-actions.md +2 -0
- package/{patterns → skills/jskit/references/heuristics}/page-redirects.md +2 -0
- package/{patterns → skills/jskit/references/heuristics}/page-scaffolding.md +5 -3
- package/{patterns → skills/jskit/references/heuristics}/placements.md +2 -0
- package/{patterns → skills/jskit/references/heuristics}/row-policies.md +2 -0
- package/{patterns → skills/jskit/references/heuristics}/server-search.md +2 -0
- package/{patterns → skills/jskit/references/heuristics}/surfaces.md +5 -3
- package/{patterns → skills/jskit/references/heuristics}/ui-contract.md +3 -1
- package/{patterns → skills/jskit/references/heuristics}/ui-testing.md +2 -0
- package/skills/jskit/references/pattern-index.md +37 -37
- package/skills/jskit/references/patterns/app/minimal-foundation/example/AGENTS.md +19 -0
- package/skills/jskit/references/patterns/app/minimal-foundation/example/package.json +3 -3
- package/skills/jskit/references/patterns/app/minimal-foundation/example/server/lib/runtimeEnv.js +3 -11
- package/skills/jskit/references/patterns/app/minimal-foundation/example/src/main.js +0 -2
- package/skills/jskit/references/patterns/app/shell-foundation/PATTERN.md +11 -20
- package/skills/jskit/references/patterns/app/shell-foundation/example/AGENTS.md +19 -0
- package/skills/jskit/references/patterns/app/shell-foundation/example/package.json +4 -4
- package/skills/jskit/references/patterns/app/shell-foundation/example/packages/main/package.json +1 -1
- package/skills/jskit/references/patterns/app/shell-foundation/example/server/lib/runtimeEnv.js +3 -11
- package/skills/jskit/references/patterns/app/shell-foundation/example/src/components/ShellLayout.vue +1 -0
- package/skills/jskit/references/patterns/app/shell-foundation/example/src/main.js +0 -2
- package/skills/jskit/references/patterns/app/shell-foundation/example/src/pages/home/settings.vue +2 -2
- package/skills/jskit/references/patterns/auth/accounts-hub/example/package.json +2 -2
- 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 +4 -4
- package/skills/jskit/references/patterns/connectors/oauth-connection/PATTERN.md +27 -610
- package/skills/jskit/references/patterns/connectors/paddle-catalogue/example/create-products.js +2 -1
- package/skills/jskit/references/patterns/connectors/redshift-queries/PATTERN.md +1 -1
- package/skills/jskit/references/patterns/crud/crud-screen-set/PATTERN.md +11 -1
- package/skills/jskit/references/patterns/crud/json-api-resource-package/example/packages/books/package.json +2 -2
- package/skills/jskit/references/patterns/database/mysql-application/example/package.json +1 -1
- package/skills/jskit/references/patterns/database/postgres-application/example/package.json +1 -1
- 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/server/feature-package/example/booking-engine/src/server/actions.js +0 -2
- package/skills/jskit/references/patterns/server/feature-package/example/variations/AvailabilityEngineProvider.js +1 -1
- package/skills/jskit/references/patterns/server/feature-package/example/variations/InvoiceRollupProvider.js +1 -1
- package/skills/jskit/references/patterns/shell/application-shell/example/src/pages/home/index.vue +15 -5
- package/skills/jskit/references/patterns/shell/application-shell/example/tests/e2e/adaptive-shell.spec.ts +1 -1
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users/package.json +2 -2
- package/skills/jskit/references/patterns/users/user-administration-server/example/packages/users-workspace/package.json +3 -3
- package/templates/app/AGENTS.md +0 -38
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/assistant-runtime/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -44,6 +44,8 @@ Local functions
|
|
|
44
44
|
- `text(value)`
|
|
45
45
|
- `compareTurnIds(left, right)`
|
|
46
46
|
- `isQuestionConfiguration(value)`
|
|
47
|
+
- `questionsAnswered(prompts)`
|
|
48
|
+
- `authoredRequest(payload, { attachmentIds, steer })`
|
|
47
49
|
- `draftAfterAcceptedSubmission(currentDraft = "", submittedDraft = "")`
|
|
48
50
|
- `resolveWorkingPolicy(snapshot, { deferWhileWorking, admitWhileWorking })`
|
|
49
51
|
- `createConversation(identity, { api, socket, actorKey, placement, readers, queueWhileSending, deferWhileWorking, admitWhileWorking, draftStorage, application, goalReadEnabled })`
|
|
@@ -79,6 +81,10 @@ Exports
|
|
|
79
81
|
Exports
|
|
80
82
|
- `AssistantClientProvider`
|
|
81
83
|
|
|
84
|
+
### `src/client/support/accessDenied.js`
|
|
85
|
+
Exports
|
|
86
|
+
- `isAccessDenied(error)`
|
|
87
|
+
|
|
82
88
|
### `src/client/support/assistantRuntimeState.js`
|
|
83
89
|
Exports
|
|
84
90
|
- `buildHistory(messages)`
|
|
@@ -172,7 +178,6 @@ Exports
|
|
|
172
178
|
Exports
|
|
173
179
|
- `registerRoutes(router, { config = {}, workspaceScopeSupport = null, conversationRuntime = null, conversationAccess = null, conversationDataSchema = null, conversationConfigurationSchema = null, conversationSelectionSchema = null, conversationReplacementSchema = null, assistantConfigService = null } = {})`
|
|
174
180
|
Local functions
|
|
175
|
-
- `shouldExposeAppErrorDetails(errorCode = "")`
|
|
176
181
|
- `sendPreStreamErrorResponse(reply, error)`
|
|
177
182
|
- `buildChatStreamActionInput(routeInput = {}, requestBody = {})`
|
|
178
183
|
- `resolveAssistantConversationMessagesRecordId(record = {})`
|
|
@@ -200,11 +205,7 @@ Local functions
|
|
|
200
205
|
Exports
|
|
201
206
|
- `createRepository(knex)`
|
|
202
207
|
Local functions
|
|
203
|
-
- `normalizeWorkspaceId(value)`
|
|
204
|
-
- `normalizeDbWorkspaceId(value)`
|
|
205
|
-
- `normalizeInputRecordId(value)`
|
|
206
208
|
- `normalizeRequiredSurfaceId(value)`
|
|
207
|
-
- `applyWorkspaceScope(query, columnName, workspaceId)`
|
|
208
209
|
- `mapConversationRow(row = {})`
|
|
209
210
|
- `normalizeCursorPagination(pagination = {}, { defaultLimit = 20, maxLimit = 200 } = {})`
|
|
210
211
|
- `createConversationBaseQuery(client)`
|
|
@@ -213,16 +214,16 @@ Local functions
|
|
|
213
214
|
Exports
|
|
214
215
|
- `createRepository(knex)`
|
|
215
216
|
Local functions
|
|
216
|
-
- `normalizeWorkspaceId(value)`
|
|
217
|
-
- `normalizeDbWorkspaceId(value)`
|
|
218
|
-
- `normalizeInputRecordId(value)`
|
|
219
|
-
- `applyWorkspaceScope(query, columnName, workspaceId)`
|
|
220
217
|
- `mapMessageRow(row = {})`
|
|
221
218
|
- `normalizePagination(pagination = {}, { defaultPage = 1, defaultPageSize = 200, maxPageSize = 500 } = {})`
|
|
222
219
|
- `resolveNextSequence(client, conversationId)`
|
|
223
220
|
|
|
224
221
|
### `src/server/repositories/repositoryPersistenceUtils.js`
|
|
225
222
|
Exports
|
|
223
|
+
- `applyWorkspaceScope(query, columnName, workspaceId)`
|
|
224
|
+
- `normalizeDbWorkspaceId(value)`
|
|
225
|
+
- `normalizeInputRecordId(value)`
|
|
226
|
+
- `normalizeWorkspaceId(value)`
|
|
226
227
|
- `parseJsonObject`
|
|
227
228
|
- `stringifyJsonObject(value)`
|
|
228
229
|
- `toIso(value)`
|
|
@@ -234,11 +235,11 @@ Exports
|
|
|
234
235
|
|
|
235
236
|
### `src/server/services/assistantConfigService.js`
|
|
236
237
|
Exports
|
|
237
|
-
- `createService({ assistantConfigRepository, consoleService = null, appConfig = {},
|
|
238
|
+
- `createService({ assistantConfigRepository, consoleService = null, appConfig = {}, workspaceScopeSupport = null } = {})`
|
|
238
239
|
|
|
239
240
|
### `src/server/services/chatService.js`
|
|
240
241
|
Exports
|
|
241
|
-
- `createChatService({ conversationRuntime, aiClientFactory, turnRequests, attachments, transcriptService, serviceToolCatalog, assistantConfigService, appConfig = {},
|
|
242
|
+
- `createChatService({ conversationRuntime, aiClientFactory, turnRequests, attachments, transcriptService, serviceToolCatalog, assistantConfigService, appConfig = {}, workspaceScopeSupport = null } = {})`
|
|
242
243
|
Local functions
|
|
243
244
|
- `normalizeConversationId(value)`
|
|
244
245
|
- `normalizeHistory(history = [])`
|
|
@@ -248,7 +249,6 @@ Local functions
|
|
|
248
249
|
- `toCompactJson(value, fallback = "{}")`
|
|
249
250
|
- `buildToolContractLine(toolDescriptor = {})`
|
|
250
251
|
- `buildSystemPrompt({ targetSurfaceId = "", toolDescriptors = [], workspaceSlug = "", customSystemPrompt = "" } = {})`
|
|
251
|
-
- `requireAssistantSurface(appConfig = {}, targetSurfaceId = "")`
|
|
252
252
|
- `buildAssistantActionContext(context = {}, assistantSurface = {})`
|
|
253
253
|
|
|
254
254
|
### `src/server/services/transcriptService.js`
|
|
@@ -273,13 +273,17 @@ Local functions
|
|
|
273
273
|
- `messageFromRow(row)`
|
|
274
274
|
- `requireUnambiguous(projection)`
|
|
275
275
|
|
|
276
|
+
### `src/server/support/assistantErrors.js`
|
|
277
|
+
Exports
|
|
278
|
+
- `errorStatus(error)`
|
|
279
|
+
- `exposedAppErrorDetails(error)`
|
|
280
|
+
|
|
276
281
|
### `src/server/support/assistantRouteContext.js`
|
|
277
282
|
Exports
|
|
278
283
|
- `requireWorkspaceAssistantRouteParams(workspaceScopeSupport = null)`
|
|
279
284
|
- `resolveRouteRequestState(request, { resolveCurrentAppConfig = () => ({}), kind = "runtime", requiresWorkspace = false, workspaceScopeSupport = null } = {})`
|
|
280
285
|
Local functions
|
|
281
286
|
- `readWorkspaceInput(request, requiresWorkspace, workspaceScopeSupport = null)`
|
|
282
|
-
- `requireAssistantSurface(appConfig = {}, targetSurfaceId = "")`
|
|
283
287
|
- `requireHostSurfaceId(request)`
|
|
284
288
|
|
|
285
289
|
### `src/server/support/assistantServerConfig.js`
|
|
@@ -290,21 +294,31 @@ Exports
|
|
|
290
294
|
Local functions
|
|
291
295
|
- `readPrefixedEnvValue(env = {}, prefix = "", key = "")`
|
|
292
296
|
|
|
297
|
+
### `src/server/support/assistantStreamWriter.js`
|
|
298
|
+
Exports
|
|
299
|
+
- `ASSISTANT_STREAM_WRITER_METHODS`
|
|
300
|
+
|
|
301
|
+
### `src/server/support/assistantSurface.js`
|
|
302
|
+
Exports
|
|
303
|
+
- `requireAssistantSurface(appConfig = {}, targetSurfaceId = "")`
|
|
304
|
+
|
|
293
305
|
### `src/server/support/createSurfaceAwareToolCatalog.js`
|
|
294
306
|
Exports
|
|
295
|
-
- `createSurfaceAwareToolCatalog(actions, { appConfig = {},
|
|
307
|
+
- `createSurfaceAwareToolCatalog(actions, { appConfig = {}, createCatalog = createServiceToolCatalog } = {})`
|
|
296
308
|
Local functions
|
|
297
309
|
- `buildCatalogOptions(appConfig = {}, surfaceId = "")`
|
|
298
310
|
- `requireContextSurfaceId(context = {})`
|
|
299
311
|
|
|
300
312
|
### `src/shared/assistantRuntimeConfig.js`
|
|
301
313
|
Exports
|
|
314
|
+
- `DEFAULT_CONVERSATION_TITLE`
|
|
302
315
|
- `assistantRuntimeConfig`
|
|
303
316
|
|
|
304
317
|
### `src/shared/assistantSurfaces.js`
|
|
305
318
|
Exports
|
|
306
319
|
- `defineAssistantSurface(surfaceId, { pagesRoot = "", requiresWorkspace = false, configScope = requiresWorkspace ? "workspace" : "global", ...definition } = {})`
|
|
307
320
|
- `normalizeAssistantConfigScope(value = "")`
|
|
321
|
+
- `resolveAssistantRuntimeRoute(surface, workspaceSlug = "")`
|
|
308
322
|
- `resolveAssistantSurfaceConfig(appConfig = {}, targetSurfaceId = "")`
|
|
309
323
|
- `resolveAssistantSurfacesConfig(appConfig = {})`
|
|
310
324
|
- `resolveSurfaceDefinitions(appConfig = {})`
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/assistant-voice-sherpa/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -19,6 +19,7 @@ Exports
|
|
|
19
19
|
- `argumentMap(values = [])`
|
|
20
20
|
- `runVoiceCli(argv = process.argv.slice(2), { createDaemon = createVoiceDaemon, recognitionVocabulary = {} } = {})`
|
|
21
21
|
Local functions
|
|
22
|
+
- `mergeVoiceModelSources([base, kitten, kokoro])`
|
|
22
23
|
- `requiredOption(options, key, environmentKey = "")`
|
|
23
24
|
- `accessKeyFromFile(filePath)`
|
|
24
25
|
- `positiveInteger(value, fallback)`
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/assistant-voice/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -95,7 +95,7 @@ Exports
|
|
|
95
95
|
### `src/client/voicePlayback.js`
|
|
96
96
|
Exports
|
|
97
97
|
- `MOUTH_POSES`
|
|
98
|
-
- `normalizeSpeechSegment(message = {}, sampleRate =
|
|
98
|
+
- `normalizeSpeechSegment(message = {}, sampleRate = VOICE_OUTPUT_SAMPLE_RATE)`
|
|
99
99
|
- `pcm16ArrayBufferToFloat32(buffer)`
|
|
100
100
|
- `visemeCueAtTime(segments = [], currentTime = 0)`
|
|
101
101
|
|
|
@@ -107,8 +107,8 @@ Local functions
|
|
|
107
107
|
|
|
108
108
|
### `src/client/voiceTransport.js`
|
|
109
109
|
Exports
|
|
110
|
+
- `createVoiceTurnId(prefix = "turn")`
|
|
110
111
|
- `useVoiceTransport({ socketUrl, speechEnabled = true, interruptSpeechOnListen = false, autoReconnect = false, voiceId = "", onPlayback } = {})`
|
|
111
|
-
- `voiceTurnId(prefix = "turn")`
|
|
112
112
|
Local functions
|
|
113
113
|
- `resolveWebSocketUrl(value)`
|
|
114
114
|
|
|
@@ -123,7 +123,6 @@ Exports
|
|
|
123
123
|
- `createVoiceAccessToken`
|
|
124
124
|
- `verifyVoiceAccessToken`
|
|
125
125
|
- `bearerVoiceAccessToken`
|
|
126
|
-
- `normalizeVoiceCloseMetadata`
|
|
127
126
|
|
|
128
127
|
### `src/server/voiceAccessToken.js`
|
|
129
128
|
Exports
|
|
@@ -153,6 +152,9 @@ Exports
|
|
|
153
152
|
- `readVoiceCatalogue(config, { fetchImpl = fetch } = {})`
|
|
154
153
|
- `registerVoiceProxyRoute(fastify, { proxyConfig, route, authorize = null, WebSocketCtor = WebSocket } = {})`
|
|
155
154
|
Local functions
|
|
155
|
+
- `proxyCloseCode(code)`
|
|
156
|
+
- `proxyCloseReason(reason)`
|
|
157
|
+
- `normalizeVoiceCloseMetadata(code, reason)`
|
|
156
158
|
- `sendSocketError(socket, code, message)`
|
|
157
159
|
|
|
158
160
|
### `src/server/voiceProxyConfig.js`
|
|
@@ -161,16 +163,11 @@ Exports
|
|
|
161
163
|
- `resolveVoiceProxyConfig({ endpoint: value = "", accessTokenFile = "" } = {})`
|
|
162
164
|
- `voiceEndpoint(value = "")`
|
|
163
165
|
|
|
164
|
-
### `src/server/voiceSocketClose.js`
|
|
165
|
-
Exports
|
|
166
|
-
- `normalizeVoiceCloseMetadata(code, reason)`
|
|
167
|
-
Local functions
|
|
168
|
-
- `proxyCloseCode(code)`
|
|
169
|
-
- `proxyCloseReason(reason)`
|
|
170
|
-
|
|
171
166
|
### `src/shared/protocol.js`
|
|
172
167
|
Exports
|
|
173
168
|
- `VOICE_DAEMON_WEBSOCKET_PATH`
|
|
169
|
+
- `VOICE_DEFAULT_SYNTHESIS_TIMEOUT_MS`
|
|
170
|
+
- `VOICE_ID_PATTERN`
|
|
174
171
|
- `VOICE_INPUT_SAMPLE_RATE`
|
|
175
172
|
- `VOICE_MAX_AUDIO_FRAME_BYTES`
|
|
176
173
|
- `VOICE_MAX_CONTROL_BYTES`
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/auth-core/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/auth-provider-local-core/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/auth-provider-local-db-core/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/auth-provider-oidc-core/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/auth-provider-supabase-core/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/auth-web/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -106,7 +106,6 @@ Local functions
|
|
|
106
106
|
### `src/client/lib/returnToPath.js`
|
|
107
107
|
Exports
|
|
108
108
|
- `normalizeAuthReturnToPath(value, fallback = "/", { allowedOrigins = [] } = {})`
|
|
109
|
-
- `resolveAllowedReturnToOriginsFromPlacementContext(contextValue = null)`
|
|
110
109
|
|
|
111
110
|
### `src/client/lib/surfaceLinkTarget.js`
|
|
112
111
|
Exports
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/connector-google-calendar/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -18,15 +18,19 @@ Use this on demand; do not load the full index at startup.
|
|
|
18
18
|
Exports
|
|
19
19
|
- `googleCalendarProvider`
|
|
20
20
|
Local functions
|
|
21
|
-
- `scope(name)`
|
|
22
21
|
- `queryUrl(path, input)`
|
|
23
22
|
- `invalid(message)`
|
|
23
|
+
- `validateEventTime(point)`
|
|
24
|
+
- `validateRecurrence(body)`
|
|
25
|
+
- `validAttendee(person)`
|
|
26
|
+
- `validateAttendees(attendees)`
|
|
24
27
|
- `eventBody(body, creating)`
|
|
25
28
|
- `writeEvent(method)`
|
|
26
29
|
|
|
27
30
|
### `src/shared/definition.js`
|
|
28
31
|
Exports
|
|
29
32
|
- `googleCalendarDefinition`
|
|
33
|
+
- `googleScope(name)`
|
|
30
34
|
|
|
31
35
|
### patterns
|
|
32
36
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/connectors-catalog/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -349,7 +349,6 @@ Exports
|
|
|
349
349
|
- `googleMapsPlatformProvider`
|
|
350
350
|
Local functions
|
|
351
351
|
- `validateGeocoding(result)`
|
|
352
|
-
- `mapsOperation(fields, request, validateResult)`
|
|
353
352
|
|
|
354
353
|
### `src/server/google-search-console.js`
|
|
355
354
|
Exports
|
|
@@ -365,7 +364,6 @@ Exports
|
|
|
365
364
|
Local functions
|
|
366
365
|
- `validSheet(value)`
|
|
367
366
|
- `sheetUrl(id)`
|
|
368
|
-
- `write(fields, destination, validateResult)`
|
|
369
367
|
- `checkValues(rows)`
|
|
370
368
|
- `validUpdate(value)`
|
|
371
369
|
|
|
@@ -377,14 +375,17 @@ Local functions
|
|
|
377
375
|
|
|
378
376
|
### `src/server/google.js`
|
|
379
377
|
Exports
|
|
378
|
+
- `googleScope(name)`
|
|
380
379
|
- `googleOperation(scopes, fields, request, validateResult)`
|
|
380
|
+
- `googleBatchRequests(requests, product)`
|
|
381
|
+
- `inputInvalid(message, statusCode = 422)`
|
|
381
382
|
- `googleRead(scopes, fields, destination, validateResult)`
|
|
382
383
|
- `googleProvider(definition, origin, checkOperation, operations)`
|
|
383
384
|
- `googleFileVerification(get, field)`
|
|
384
385
|
- `documentId`
|
|
385
386
|
- `pageToken`
|
|
386
387
|
Local functions
|
|
387
|
-
- `
|
|
388
|
+
- `nativeRequest(request)`
|
|
388
389
|
|
|
389
390
|
### `src/server/granola.js`
|
|
390
391
|
Exports
|
|
@@ -443,7 +444,8 @@ Local functions
|
|
|
443
444
|
### `src/server/jsonOperation.js`
|
|
444
445
|
Exports
|
|
445
446
|
- `jsonOperation(url, fields, validateResult, method = "GET")`
|
|
446
|
-
- `validatedOperation(fields, build, validateResult)`
|
|
447
|
+
- `validatedOperation(fields, build, validateResult, scopes = [])`
|
|
448
|
+
- `withQuery(url, values)`
|
|
447
449
|
|
|
448
450
|
### `src/server/klipy.js`
|
|
449
451
|
Exports
|
|
@@ -457,7 +459,6 @@ Exports
|
|
|
457
459
|
Local functions
|
|
458
460
|
- `pageResult(result)`
|
|
459
461
|
- `resourceResult(result)`
|
|
460
|
-
- `operation(fields, build, validateResult = resourceResult)`
|
|
461
462
|
|
|
462
463
|
### `src/server/lightspeed.js`
|
|
463
464
|
Exports
|
|
@@ -664,9 +665,14 @@ Exports
|
|
|
664
665
|
- `semrushProvider`
|
|
665
666
|
Local functions
|
|
666
667
|
- `semrushKeywordReport(target, kind)`
|
|
668
|
+
- `trackingObject(value)`
|
|
667
669
|
- `semrushTrackingReport(type, positions = false)`
|
|
668
670
|
- `parseSemrushCsv(text)`
|
|
669
671
|
- `validProject(project)`
|
|
672
|
+
- `v4Result(check, status = 200)`
|
|
673
|
+
- `count(value)`
|
|
674
|
+
- `backlinkResult(report)`
|
|
675
|
+
- `requestedProject(url)`
|
|
670
676
|
|
|
671
677
|
### `src/server/sentry.js`
|
|
672
678
|
Exports
|
|
@@ -795,6 +801,8 @@ Exports
|
|
|
795
801
|
Local functions
|
|
796
802
|
- `serializeNativeJson(value)`
|
|
797
803
|
- `guid(value)`
|
|
804
|
+
- `requestPath(request, index)`
|
|
805
|
+
- `sameRecord(matches, message)`
|
|
798
806
|
- `cursor(value)`
|
|
799
807
|
- `bookingDirectoryOperation(kind)`
|
|
800
808
|
- `validContact(value)`
|
|
@@ -802,6 +810,7 @@ Local functions
|
|
|
802
810
|
- `validService(value)`
|
|
803
811
|
- `localDate(value)`
|
|
804
812
|
- `validSlot(value)`
|
|
813
|
+
- `requestedAvailability(value, requested, events)`
|
|
805
814
|
- `availabilityOperation(action, events = false)`
|
|
806
815
|
- `productReadOperation(version, action)`
|
|
807
816
|
- `collectionId(value)`
|
|
@@ -877,6 +886,9 @@ Local functions
|
|
|
877
886
|
- `validId(value)`
|
|
878
887
|
- `validUsername(value)`
|
|
879
888
|
- `validCursor(value)`
|
|
889
|
+
- `validEnvelope(value)`
|
|
890
|
+
- `validUser(value, request)`
|
|
891
|
+
- `validPostPage(value, request)`
|
|
880
892
|
|
|
881
893
|
### `src/server/xero.js`
|
|
882
894
|
Exports
|
|
@@ -1027,6 +1039,10 @@ Exports
|
|
|
1027
1039
|
- `firebaseMessagingScope`
|
|
1028
1040
|
- `firebaseProjectId`
|
|
1029
1041
|
|
|
1042
|
+
### `src/shared/firecrawl.js`
|
|
1043
|
+
Exports
|
|
1044
|
+
- `firecrawlDefinition`
|
|
1045
|
+
|
|
1030
1046
|
### `src/shared/gemini-enterprise.js`
|
|
1031
1047
|
Exports
|
|
1032
1048
|
- `geminiEnterpriseDefinition`
|
|
@@ -1141,6 +1157,10 @@ Exports
|
|
|
1141
1157
|
Exports
|
|
1142
1158
|
- `prestashopDefinition`
|
|
1143
1159
|
|
|
1160
|
+
### `src/shared/resend.js`
|
|
1161
|
+
Exports
|
|
1162
|
+
- `resendDefinition`
|
|
1163
|
+
|
|
1144
1164
|
### `src/shared/salesforce.js`
|
|
1145
1165
|
Exports
|
|
1146
1166
|
- `salesforceDefinition`
|
|
@@ -1156,7 +1176,6 @@ Exports
|
|
|
1156
1176
|
### `src/shared/siteUrl.js`
|
|
1157
1177
|
Exports
|
|
1158
1178
|
- `httpsSiteUrlField`
|
|
1159
|
-
Local functions
|
|
1160
1179
|
- `validSiteUrl(value)`
|
|
1161
1180
|
|
|
1162
1181
|
### `src/shared/slack.js`
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/connectors-core/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -19,7 +19,11 @@ Exports
|
|
|
19
19
|
- `createConnectionService({ configuration, providers, resolveReference, store, authorize, executionMode = "application", fetchImpl = globalThis.fetch, now = Date.now })`
|
|
20
20
|
Local functions
|
|
21
21
|
- `publicConnection(connection)`
|
|
22
|
+
- `requireOperationScope(operation, scopes, message)`
|
|
23
|
+
- `operationRequest(operation, input, settings, providerData)`
|
|
22
24
|
- `validateCallbackUrl(value)`
|
|
25
|
+
- `connectionMatches(connection, integration, providerId, registration)`
|
|
26
|
+
- `callbackMatches(connection, provider, registration)`
|
|
23
27
|
|
|
24
28
|
### `src/server/ConnectorsFeature.js`
|
|
25
29
|
Exports
|
|
@@ -67,11 +71,18 @@ Exports
|
|
|
67
71
|
|
|
68
72
|
### `src/shared/configuration.js`
|
|
69
73
|
Exports
|
|
74
|
+
- `DEFAULT_GRANT_TYPE`
|
|
75
|
+
- `DEFAULT_TOKEN_ENDPOINT_AUTH_METHOD`
|
|
76
|
+
- `registrationGrantType(record)`
|
|
77
|
+
- `registrationClientAuthentication(record)`
|
|
78
|
+
- `providerGrantTypes(provider)`
|
|
70
79
|
- `getProviderAuthenticationMethods(provider, settings = {})`
|
|
71
|
-
- `getProviderClientAuthenticationMethods(provider, grantType =
|
|
80
|
+
- `getProviderClientAuthenticationMethods(provider, grantType = DEFAULT_GRANT_TYPE, settings = {})`
|
|
72
81
|
- `getProviderAccountModes(provider, settings = {})`
|
|
73
|
-
- `getProviderScopes(provider, settings = {}, grantType =
|
|
82
|
+
- `getProviderScopes(provider, settings = {}, grantType = DEFAULT_GRANT_TYPE, authenticationMethod)`
|
|
74
83
|
- `getProviderSettingsSchema(provider, settings = {})`
|
|
84
|
+
- `getProviderSetup(provider, settings = {}, authenticationMethod)`
|
|
85
|
+
- `isProviderConfigurationOnly(provider, settings = {})`
|
|
75
86
|
- `secretReference`
|
|
76
87
|
- `integrationsSchema`
|
|
77
88
|
- `IntegrationConfigurationError`
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/connectors-web/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -22,6 +22,11 @@ Exports
|
|
|
22
22
|
Exports
|
|
23
23
|
- None
|
|
24
24
|
Local functions
|
|
25
|
+
- `environmentPrefix(id)`
|
|
26
|
+
- `accountModeForGrant(grant, settings, accountMode)`
|
|
27
|
+
- `settingValue(field)`
|
|
28
|
+
- `settingHint(field)`
|
|
29
|
+
- `settingErrors(field)`
|
|
25
30
|
- `editAssistantPolicy(changes)`
|
|
26
31
|
- `editIntegration(changes)`
|
|
27
32
|
- `editSetting(field, value)`
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/console-core/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/console-web/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/crud-core/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/database-runtime-mysql/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@ Use this on demand; do not load the full index at startup.
|
|
|
8
8
|
|
|
9
9
|
## Scope
|
|
10
10
|
- Source: `packages/database-runtime-postgres/**/*{.js,.mjs,.cjs,.vue}`
|
|
11
|
-
- Excludes:
|
|
11
|
+
- Excludes: `.build/`, `.git/`, `.jscpd/`, `.jskit/`, `coverage/`, `dist/`, `docs/`, `node_modules/`, `test/`, `tests/`, `__tests__/`, `.vitepress/cache/`, `.vitepress/dist/`, `skills/jskit/references/patterns/`, `*.test.*`, `*.spec.*`, `*.vitest.*`
|
|
12
12
|
|
|
13
13
|
## Sections
|
|
14
14
|
|