@genesislcap/foundation-ai 14.408.0 → 14.409.0

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 (120) hide show
  1. package/package.json +11 -11
  2. package/docs/api/foundation-ai.ai_feature_flag.md +0 -13
  3. package/docs/api/foundation-ai.aiconfig.md +0 -18
  4. package/docs/api/foundation-ai.aiprovider.chat.md +0 -85
  5. package/docs/api/foundation-ai.aiprovider.getstatus.md +0 -20
  6. package/docs/api/foundation-ai.aiprovider.interpretcriteria.md +0 -67
  7. package/docs/api/foundation-ai.aiprovider.md +0 -91
  8. package/docs/api/foundation-ai.aiprovider.streamchat.md +0 -85
  9. package/docs/api/foundation-ai.aiprovider.triggerdownload.md +0 -20
  10. package/docs/api/foundation-ai.aiprovidertype.md +0 -16
  11. package/docs/api/foundation-ai.aistatus.chromeavailability.md +0 -14
  12. package/docs/api/foundation-ai.aistatus.md +0 -99
  13. package/docs/api/foundation-ai.aistatus.model.md +0 -14
  14. package/docs/api/foundation-ai.aistatus.provider.md +0 -14
  15. package/docs/api/foundation-ai.chatanimationsconfig.enabled.md +0 -16
  16. package/docs/api/foundation-ai.chatanimationsconfig.md +0 -80
  17. package/docs/api/foundation-ai.chatanimationsconfig.userconfigurable.md +0 -16
  18. package/docs/api/foundation-ai.chatattachment.content.md +0 -14
  19. package/docs/api/foundation-ai.chatattachment.md +0 -99
  20. package/docs/api/foundation-ai.chatattachment.mimetype.md +0 -14
  21. package/docs/api/foundation-ai.chatattachment.name.md +0 -14
  22. package/docs/api/foundation-ai.chatconfig.acceptedfiles.md +0 -16
  23. package/docs/api/foundation-ai.chatconfig.allowdebugdownload.md +0 -16
  24. package/docs/api/foundation-ai.chatconfig.animations.md +0 -16
  25. package/docs/api/foundation-ai.chatconfig.loadingdelay.md +0 -16
  26. package/docs/api/foundation-ai.chatconfig.maxtooliterations.md +0 -16
  27. package/docs/api/foundation-ai.chatconfig.md +0 -177
  28. package/docs/api/foundation-ai.chatconfig.showthinkingsteps.md +0 -16
  29. package/docs/api/foundation-ai.chatconfig.showtoolcalls.md +0 -16
  30. package/docs/api/foundation-ai.chatinteraction.componentname.md +0 -14
  31. package/docs/api/foundation-ai.chatinteraction.data.md +0 -14
  32. package/docs/api/foundation-ai.chatinteraction.interactionid.md +0 -14
  33. package/docs/api/foundation-ai.chatinteraction.md +0 -118
  34. package/docs/api/foundation-ai.chatinteraction.resolved.md +0 -16
  35. package/docs/api/foundation-ai.chatmessage.attachments.md +0 -14
  36. package/docs/api/foundation-ai.chatmessage.content.md +0 -14
  37. package/docs/api/foundation-ai.chatmessage.interaction.md +0 -14
  38. package/docs/api/foundation-ai.chatmessage.md +0 -175
  39. package/docs/api/foundation-ai.chatmessage.role.md +0 -14
  40. package/docs/api/foundation-ai.chatmessage.thinking.md +0 -14
  41. package/docs/api/foundation-ai.chatmessage.toolcalls.md +0 -14
  42. package/docs/api/foundation-ai.chatmessage.toolresult.md +0 -14
  43. package/docs/api/foundation-ai.chatrequestoptions.attachments.md +0 -14
  44. package/docs/api/foundation-ai.chatrequestoptions.md +0 -118
  45. package/docs/api/foundation-ai.chatrequestoptions.signal.md +0 -14
  46. package/docs/api/foundation-ai.chatrequestoptions.systemprompt.md +0 -14
  47. package/docs/api/foundation-ai.chatrequestoptions.tools.md +0 -14
  48. package/docs/api/foundation-ai.chatrole.md +0 -16
  49. package/docs/api/foundation-ai.chatstreamchunk.delta.md +0 -14
  50. package/docs/api/foundation-ai.chatstreamchunk.done.md +0 -14
  51. package/docs/api/foundation-ai.chatstreamchunk.md +0 -99
  52. package/docs/api/foundation-ai.chatstreamchunk.toolcalls.md +0 -14
  53. package/docs/api/foundation-ai.chattoolcall.args.md +0 -14
  54. package/docs/api/foundation-ai.chattoolcall.id.md +0 -14
  55. package/docs/api/foundation-ai.chattoolcall.md +0 -99
  56. package/docs/api/foundation-ai.chattoolcall.name.md +0 -14
  57. package/docs/api/foundation-ai.chattooldefinition.description.md +0 -14
  58. package/docs/api/foundation-ai.chattooldefinition.md +0 -99
  59. package/docs/api/foundation-ai.chattooldefinition.name.md +0 -14
  60. package/docs/api/foundation-ai.chattooldefinition.parameters.md +0 -14
  61. package/docs/api/foundation-ai.chattoolhandlers.md +0 -18
  62. package/docs/api/foundation-ai.chattoolresult.content.md +0 -14
  63. package/docs/api/foundation-ai.chattoolresult.md +0 -80
  64. package/docs/api/foundation-ai.chattoolresult.toolcallid.md +0 -14
  65. package/docs/api/foundation-ai.chattransport.md +0 -58
  66. package/docs/api/foundation-ai.chattransport.sendchatmessage.md +0 -83
  67. package/docs/api/foundation-ai.chattransport.streamchatmessage.md +0 -83
  68. package/docs/api/foundation-ai.chromeaiconfig.md +0 -104
  69. package/docs/api/foundation-ai.chromeaiconfig.providertype.md +0 -14
  70. package/docs/api/foundation-ai.chromeaiconfig.temperature.md +0 -14
  71. package/docs/api/foundation-ai.chromeaiconfig.topk.md +0 -14
  72. package/docs/api/foundation-ai.chromeavailability.md +0 -16
  73. package/docs/api/foundation-ai.createaiprovider.md +0 -57
  74. package/docs/api/foundation-ai.criteriaclauseresult.field.md +0 -14
  75. package/docs/api/foundation-ai.criteriaclauseresult.md +0 -99
  76. package/docs/api/foundation-ai.criteriaclauseresult.operator.md +0 -14
  77. package/docs/api/foundation-ai.criteriaclauseresult.value.md +0 -14
  78. package/docs/api/foundation-ai.criteriagroupresult.clauses.md +0 -14
  79. package/docs/api/foundation-ai.criteriagroupresult.logic.md +0 -14
  80. package/docs/api/foundation-ai.criteriagroupresult.md +0 -99
  81. package/docs/api/foundation-ai.criteriagroupresult.negated.md +0 -14
  82. package/docs/api/foundation-ai.criteriainterpretationresult.groups.md +0 -14
  83. package/docs/api/foundation-ai.criteriainterpretationresult.md +0 -61
  84. package/docs/api/foundation-ai.criteriainterpretcontext.fields.md +0 -14
  85. package/docs/api/foundation-ai.criteriainterpretcontext.md +0 -61
  86. package/docs/api/foundation-ai.fieldlike.md +0 -21
  87. package/docs/api/foundation-ai.geminiaiconfig.apikey.md +0 -14
  88. package/docs/api/foundation-ai.geminiaiconfig.md +0 -123
  89. package/docs/api/foundation-ai.geminiaiconfig.model.md +0 -14
  90. package/docs/api/foundation-ai.geminiaiconfig.providertype.md +0 -14
  91. package/docs/api/foundation-ai.geminiaiconfig.serverendpoint.md +0 -14
  92. package/docs/api/foundation-ai.geminiprovider._constructor_.md +0 -65
  93. package/docs/api/foundation-ai.geminiprovider.chat.md +0 -83
  94. package/docs/api/foundation-ai.geminiprovider.getstatus.md +0 -18
  95. package/docs/api/foundation-ai.geminiprovider.interpretcriteria.md +0 -67
  96. package/docs/api/foundation-ai.geminiprovider.md +0 -128
  97. package/docs/api/foundation-ai.geminiprovider.streamchat.md +0 -83
  98. package/docs/api/foundation-ai.geminitransport._constructor_.md +0 -53
  99. package/docs/api/foundation-ai.geminitransport.getconfig.md +0 -21
  100. package/docs/api/foundation-ai.geminitransport.md +0 -116
  101. package/docs/api/foundation-ai.geminitransport.sendchatmessage.md +0 -83
  102. package/docs/api/foundation-ai.geminitransport.sendstructuredprompt.md +0 -53
  103. package/docs/api/foundation-ai.getaiprovider.md +0 -35
  104. package/docs/api/foundation-ai.interactionresult.md +0 -20
  105. package/docs/api/foundation-ai.isaifeatureenabled.md +0 -17
  106. package/docs/api/foundation-ai.isspeechrecognitionavailable.md +0 -20
  107. package/docs/api/foundation-ai.malformedfunctioncallerror._constructor_.md +0 -53
  108. package/docs/api/foundation-ai.malformedfunctioncallerror.finishmessage.md +0 -14
  109. package/docs/api/foundation-ai.malformedfunctioncallerror.md +0 -98
  110. package/docs/api/foundation-ai.md +0 -503
  111. package/docs/api/foundation-ai.resolveaiconfig.md +0 -57
  112. package/docs/api/foundation-ai.resolveaiconfigoptions.md +0 -99
  113. package/docs/api/foundation-ai.resolveaiconfigoptions.model.md +0 -16
  114. package/docs/api/foundation-ai.resolveaiconfigoptions.preferchrome.md +0 -16
  115. package/docs/api/foundation-ai.resolveaiconfigoptions.provider.md +0 -16
  116. package/docs/api/foundation-ai.serveraiconfig.md +0 -66
  117. package/docs/api/foundation-ai.serveraiconfig.provider.md +0 -14
  118. package/docs/api/foundation-ai.startspeechrecognition.md +0 -71
  119. package/docs/api/index.md +0 -30
  120. package/docs/api-report.md.api.md +0 -317
@@ -1,503 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-ai](./foundation-ai.md)
4
-
5
- ## foundation-ai package
6
-
7
- ## Classes
8
-
9
- <table><thead><tr><th>
10
-
11
- Class
12
-
13
-
14
- </th><th>
15
-
16
- Description
17
-
18
-
19
- </th></tr></thead>
20
- <tbody><tr><td>
21
-
22
- [GeminiProvider](./foundation-ai.geminiprovider.md)
23
-
24
-
25
- </td><td>
26
-
27
- **_(BETA)_** Gemini AI provider. Uses [GeminiTransport](./foundation-ai.geminitransport.md) to handle requests. Implements criteria interpretation and multi-turn chat.
28
-
29
-
30
- </td></tr>
31
- <tr><td>
32
-
33
- [GeminiTransport](./foundation-ai.geminitransport.md)
34
-
35
-
36
- </td><td>
37
-
38
- **_(BETA)_** Transport for Gemini. Calls the Gemini REST API directly when `apiKey` is provided, otherwise falls back to a server-proxy endpoint (if `serverEndpoint` is configured).
39
-
40
- Implements `AITransport` (structured prompt) and `ChatTransport` (multi-turn chat).
41
-
42
-
43
- </td></tr>
44
- <tr><td>
45
-
46
- [MalformedFunctionCallError](./foundation-ai.malformedfunctioncallerror.md)
47
-
48
-
49
- </td><td>
50
-
51
- **_(BETA)_** Thrown when Gemini returns a `MALFORMED_FUNCTION_CALL` finish reason, typically because the model tried to batch multiple tool calls using Python-style syntax instead of the proper API format.
52
-
53
-
54
- </td></tr>
55
- </tbody></table>
56
-
57
- ## Functions
58
-
59
- <table><thead><tr><th>
60
-
61
- Function
62
-
63
-
64
- </th><th>
65
-
66
- Description
67
-
68
-
69
- </th></tr></thead>
70
- <tbody><tr><td>
71
-
72
- [createAIProvider(config)](./foundation-ai.createaiprovider.md)
73
-
74
-
75
- </td><td>
76
-
77
- **_(BETA)_** Creates an AIProvider from config. Uses ChromeProvider when providerType is 'chrome'. Uses OpenAIProvider with ServerOpenAITransport when provider is set (server-only). Otherwise returns DefaultAIProvider. When the AI feature flag is disabled (?feature.ai), always returns DefaultAIProvider.
78
-
79
-
80
- </td></tr>
81
- <tr><td>
82
-
83
- [getAIProvider()](./foundation-ai.getaiprovider.md)
84
-
85
-
86
- </td><td>
87
-
88
- **_(BETA)_** Gets AIProvider from the DI container. When the AI feature flag is disabled (?feature.ai), returns DefaultAIProvider (no-op).
89
-
90
-
91
- </td></tr>
92
- <tr><td>
93
-
94
- [isAIFeatureEnabled()](./foundation-ai.isaifeatureenabled.md)
95
-
96
-
97
- </td><td>
98
-
99
- Returns true when AI features (beta) are enabled. Requires ?feature.ai in URL.
100
-
101
-
102
- </td></tr>
103
- <tr><td>
104
-
105
- [isSpeechRecognitionAvailable()](./foundation-ai.isspeechrecognitionavailable.md)
106
-
107
-
108
- </td><td>
109
-
110
- **_(BETA)_** Returns true if the Web Speech API is available in the current environment.
111
-
112
-
113
- </td></tr>
114
- <tr><td>
115
-
116
- [resolveAIConfig(options)](./foundation-ai.resolveaiconfig.md)
117
-
118
-
119
- </td><td>
120
-
121
- **_(BETA)_** Resolves AI config, optionally preferring Chrome when available. Use before registering AIProvider. Server URL is derived from API\_HOST. Returns null when the AI feature flag is disabled (?feature.ai).
122
-
123
-
124
- </td></tr>
125
- <tr><td>
126
-
127
- [startSpeechRecognition(onResult, onError)](./foundation-ai.startspeechrecognition.md)
128
-
129
-
130
- </td><td>
131
-
132
- **_(BETA)_** Starts continuous speech recognition, calling `onResult` with each transcript update. Returns a stop function, or null if speech recognition is unavailable.
133
-
134
-
135
- </td></tr>
136
- </tbody></table>
137
-
138
- ## Interfaces
139
-
140
- <table><thead><tr><th>
141
-
142
- Interface
143
-
144
-
145
- </th><th>
146
-
147
- Description
148
-
149
-
150
- </th></tr></thead>
151
- <tbody><tr><td>
152
-
153
- [AIProvider](./foundation-ai.aiprovider.md)
154
-
155
-
156
- </td><td>
157
-
158
- **_(BETA)_** AI Provider interface for foundation-ai.
159
-
160
-
161
- </td></tr>
162
- <tr><td>
163
-
164
- [AIStatus](./foundation-ai.aistatus.md)
165
-
166
-
167
- </td><td>
168
-
169
- **_(BETA)_** AI status for display in the header indicator.
170
-
171
-
172
- </td></tr>
173
- <tr><td>
174
-
175
- [ChatAnimationsConfig](./foundation-ai.chatanimationsconfig.md)
176
-
177
-
178
- </td><td>
179
-
180
- **_(BETA)_** Configuration for the animations feature.
181
-
182
-
183
- </td></tr>
184
- <tr><td>
185
-
186
- [ChatAttachment](./foundation-ai.chatattachment.md)
187
-
188
-
189
- </td><td>
190
-
191
- **_(BETA)_** A file attachment included with a user message.
192
-
193
-
194
- </td></tr>
195
- <tr><td>
196
-
197
- [ChatConfig](./foundation-ai.chatconfig.md)
198
-
199
-
200
- </td><td>
201
-
202
- **_(BETA)_** Display and behaviour configuration for the chat assistant.
203
-
204
- For toggle flags (`showToolCalls`<!-- -->, `showThinkingSteps`<!-- -->): - `true` — default on, user can toggle off - `false` — default off, user can toggle on - `null` / `undefined` — completely disabled, no UI control shown
205
-
206
-
207
- </td></tr>
208
- <tr><td>
209
-
210
- [ChatInteraction](./foundation-ai.chatinteraction.md)
211
-
212
-
213
- </td><td>
214
-
215
- **_(BETA)_** A user interaction component request.
216
-
217
-
218
- </td></tr>
219
- <tr><td>
220
-
221
- [ChatMessage](./foundation-ai.chatmessage.md)
222
-
223
-
224
- </td><td>
225
-
226
- **_(BETA)_** A single message in a chat conversation.
227
-
228
-
229
- </td></tr>
230
- <tr><td>
231
-
232
- [ChatRequestOptions](./foundation-ai.chatrequestoptions.md)
233
-
234
-
235
- </td><td>
236
-
237
- **_(BETA)_** Options for a chat request.
238
-
239
-
240
- </td></tr>
241
- <tr><td>
242
-
243
- [ChatStreamChunk](./foundation-ai.chatstreamchunk.md)
244
-
245
-
246
- </td><td>
247
-
248
- **_(BETA)_** A streaming chunk from a chat response.
249
-
250
-
251
- </td></tr>
252
- <tr><td>
253
-
254
- [ChatToolCall](./foundation-ai.chattoolcall.md)
255
-
256
-
257
- </td><td>
258
-
259
- **_(BETA)_** A tool call requested by the assistant.
260
-
261
-
262
- </td></tr>
263
- <tr><td>
264
-
265
- [ChatToolDefinition](./foundation-ai.chattooldefinition.md)
266
-
267
-
268
- </td><td>
269
-
270
- **_(BETA)_** JSON Schema-based tool definition for function calling.
271
-
272
-
273
- </td></tr>
274
- <tr><td>
275
-
276
- [ChatToolResult](./foundation-ai.chattoolresult.md)
277
-
278
-
279
- </td><td>
280
-
281
- **_(BETA)_** The result of executing a tool call.
282
-
283
-
284
- </td></tr>
285
- <tr><td>
286
-
287
- [ChatTransport](./foundation-ai.chattransport.md)
288
-
289
-
290
- </td><td>
291
-
292
- **_(BETA)_** Transport interface for chat-capable AI providers.
293
-
294
-
295
- </td></tr>
296
- <tr><td>
297
-
298
- [ChromeAIConfig](./foundation-ai.chromeaiconfig.md)
299
-
300
-
301
- </td><td>
302
-
303
- **_(BETA)_** Chrome built-in AI (Prompt API / Gemini Nano) configuration.
304
-
305
-
306
- </td></tr>
307
- <tr><td>
308
-
309
- [CriteriaClauseResult](./foundation-ai.criteriaclauseresult.md)
310
-
311
-
312
- </td><td>
313
-
314
- **_(BETA)_** Minimal types for AI criteria interpretation results. Providers return these; consumers (e.g. ai-criteria-search) validate and cast.
315
-
316
-
317
- </td></tr>
318
- <tr><td>
319
-
320
- [CriteriaGroupResult](./foundation-ai.criteriagroupresult.md)
321
-
322
-
323
- </td><td>
324
-
325
- **_(BETA)_** A group of criteria clauses combined by a logical operator.
326
-
327
-
328
- </td></tr>
329
- <tr><td>
330
-
331
- [CriteriaInterpretationResult](./foundation-ai.criteriainterpretationresult.md)
332
-
333
-
334
- </td><td>
335
-
336
- **_(BETA)_** Top-level result returned by criteria interpretation.
337
-
338
-
339
- </td></tr>
340
- <tr><td>
341
-
342
- [CriteriaInterpretContext](./foundation-ai.criteriainterpretcontext.md)
343
-
344
-
345
- </td><td>
346
-
347
- **_(BETA)_** Context passed to criteria interpretation, providing available field metadata.
348
-
349
-
350
- </td></tr>
351
- <tr><td>
352
-
353
- [GeminiAIConfig](./foundation-ai.geminiaiconfig.md)
354
-
355
-
356
- </td><td>
357
-
358
- **_(BETA)_** Gemini server-proxy AI configuration (client calls your server; server calls Gemini).
359
-
360
-
361
- </td></tr>
362
- <tr><td>
363
-
364
- [ResolveAIConfigOptions](./foundation-ai.resolveaiconfigoptions.md)
365
-
366
-
367
- </td><td>
368
-
369
- **_(BETA)_** Options for [resolveAIConfig()](./foundation-ai.resolveaiconfig.md)<!-- -->.
370
-
371
-
372
- </td></tr>
373
- <tr><td>
374
-
375
- [ServerAIConfig](./foundation-ai.serveraiconfig.md)
376
-
377
-
378
- </td><td>
379
-
380
- **_(BETA)_** Server-proxy AI configuration (client calls your server; server calls the provider).
381
-
382
-
383
- </td></tr>
384
- </tbody></table>
385
-
386
- ## Variables
387
-
388
- <table><thead><tr><th>
389
-
390
- Variable
391
-
392
-
393
- </th><th>
394
-
395
- Description
396
-
397
-
398
- </th></tr></thead>
399
- <tbody><tr><td>
400
-
401
- [AI\_FEATURE\_FLAG](./foundation-ai.ai_feature_flag.md)
402
-
403
-
404
- </td><td>
405
-
406
- Feature flag name for AI functionality (beta). Enable via ?feature.ai in URL.
407
-
408
-
409
- </td></tr>
410
- </tbody></table>
411
-
412
- ## Type Aliases
413
-
414
- <table><thead><tr><th>
415
-
416
- Type Alias
417
-
418
-
419
- </th><th>
420
-
421
- Description
422
-
423
-
424
- </th></tr></thead>
425
- <tbody><tr><td>
426
-
427
- [AIConfig](./foundation-ai.aiconfig.md)
428
-
429
-
430
- </td><td>
431
-
432
- **_(BETA)_** Union type for provider-specific configs. Extend when adding new providers.
433
-
434
-
435
- </td></tr>
436
- <tr><td>
437
-
438
- [AIProviderType](./foundation-ai.aiprovidertype.md)
439
-
440
-
441
- </td><td>
442
-
443
- **_(BETA)_** All AI provider identifiers (server, client, unconfigured).
444
-
445
-
446
- </td></tr>
447
- <tr><td>
448
-
449
- [ChatRole](./foundation-ai.chatrole.md)
450
-
451
-
452
- </td><td>
453
-
454
- **_(BETA)_** Role of a message in a chat conversation.
455
-
456
-
457
- </td></tr>
458
- <tr><td>
459
-
460
- [ChatToolHandlers](./foundation-ai.chattoolhandlers.md)
461
-
462
-
463
- </td><td>
464
-
465
- **_(BETA)_** Map of tool name to async handler function.
466
-
467
-
468
- </td></tr>
469
- <tr><td>
470
-
471
- [ChromeAvailability](./foundation-ai.chromeavailability.md)
472
-
473
-
474
- </td><td>
475
-
476
- **_(BETA)_** Chrome Prompt API availability states.
477
-
478
-
479
- </td></tr>
480
- <tr><td>
481
-
482
- [FieldLike](./foundation-ai.fieldlike.md)
483
-
484
-
485
- </td><td>
486
-
487
- **_(BETA)_** A field descriptor accepted by criteria interpretation utilities. Can be a plain string name or an object with common field metadata properties.
488
-
489
-
490
- </td></tr>
491
- <tr><td>
492
-
493
- [InteractionResult](./foundation-ai.interactionresult.md)
494
-
495
-
496
- </td><td>
497
-
498
- **_(BETA)_** The result of a user interaction component.
499
-
500
-
501
- </td></tr>
502
- </tbody></table>
503
-
@@ -1,57 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-ai](./foundation-ai.md) &gt; [resolveAIConfig](./foundation-ai.resolveaiconfig.md)
4
-
5
- ## resolveAIConfig() function
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Resolves AI config, optionally preferring Chrome when available. Use before registering AIProvider. Server URL is derived from API\_HOST. Returns null when the AI feature flag is disabled (?feature.ai).
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export declare function resolveAIConfig(options?: ResolveAIConfigOptions): Promise<AIConfig | null>;
16
- ```
17
-
18
- ## Parameters
19
-
20
- <table><thead><tr><th>
21
-
22
- Parameter
23
-
24
-
25
- </th><th>
26
-
27
- Type
28
-
29
-
30
- </th><th>
31
-
32
- Description
33
-
34
-
35
- </th></tr></thead>
36
- <tbody><tr><td>
37
-
38
- options
39
-
40
-
41
- </td><td>
42
-
43
- [ResolveAIConfigOptions](./foundation-ai.resolveaiconfigoptions.md)
44
-
45
-
46
- </td><td>
47
-
48
- _(Optional)_
49
-
50
-
51
- </td></tr>
52
- </tbody></table>
53
-
54
- **Returns:**
55
-
56
- Promise&lt;[AIConfig](./foundation-ai.aiconfig.md) \| null&gt;
57
-
@@ -1,99 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-ai](./foundation-ai.md) &gt; [ResolveAIConfigOptions](./foundation-ai.resolveaiconfigoptions.md)
4
-
5
- ## ResolveAIConfigOptions interface
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Options for [resolveAIConfig()](./foundation-ai.resolveaiconfig.md)<!-- -->.
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- export interface ResolveAIConfigOptions
16
- ```
17
-
18
- ## Properties
19
-
20
- <table><thead><tr><th>
21
-
22
- Property
23
-
24
-
25
- </th><th>
26
-
27
- Modifiers
28
-
29
-
30
- </th><th>
31
-
32
- Type
33
-
34
-
35
- </th><th>
36
-
37
- Description
38
-
39
-
40
- </th></tr></thead>
41
- <tbody><tr><td>
42
-
43
- [model?](./foundation-ai.resolveaiconfigoptions.model.md)
44
-
45
-
46
- </td><td>
47
-
48
-
49
- </td><td>
50
-
51
- string
52
-
53
-
54
- </td><td>
55
-
56
- **_(BETA)_** _(Optional)_ Model name (e.g. gpt-4o-mini). Default: gpt-4o-mini
57
-
58
-
59
- </td></tr>
60
- <tr><td>
61
-
62
- [preferChrome?](./foundation-ai.resolveaiconfigoptions.preferchrome.md)
63
-
64
-
65
- </td><td>
66
-
67
-
68
- </td><td>
69
-
70
- boolean
71
-
72
-
73
- </td><td>
74
-
75
- **_(BETA)_** _(Optional)_ Prefer Chrome built-in AI when available
76
-
77
-
78
- </td></tr>
79
- <tr><td>
80
-
81
- [provider?](./foundation-ai.resolveaiconfigoptions.provider.md)
82
-
83
-
84
- </td><td>
85
-
86
-
87
- </td><td>
88
-
89
- 'openai' \| 'gemini'
90
-
91
-
92
- </td><td>
93
-
94
- **_(BETA)_** _(Optional)_ Cloud provider (openai, gemini). Default: openai
95
-
96
-
97
- </td></tr>
98
- </tbody></table>
99
-
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-ai](./foundation-ai.md) &gt; [ResolveAIConfigOptions](./foundation-ai.resolveaiconfigoptions.md) &gt; [model](./foundation-ai.resolveaiconfigoptions.model.md)
4
-
5
- ## ResolveAIConfigOptions.model property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Model name (e.g. gpt-4o-mini). Default: gpt-4o-mini
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- model?: string;
16
- ```
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-ai](./foundation-ai.md) &gt; [ResolveAIConfigOptions](./foundation-ai.resolveaiconfigoptions.md) &gt; [preferChrome](./foundation-ai.resolveaiconfigoptions.preferchrome.md)
4
-
5
- ## ResolveAIConfigOptions.preferChrome property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Prefer Chrome built-in AI when available
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- preferChrome?: boolean;
16
- ```
@@ -1,16 +0,0 @@
1
- <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
-
3
- [Home](./index.md) &gt; [@genesislcap/foundation-ai](./foundation-ai.md) &gt; [ResolveAIConfigOptions](./foundation-ai.resolveaiconfigoptions.md) &gt; [provider](./foundation-ai.resolveaiconfigoptions.provider.md)
4
-
5
- ## ResolveAIConfigOptions.provider property
6
-
7
- > This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
8
- >
9
-
10
- Cloud provider (openai, gemini). Default: openai
11
-
12
- **Signature:**
13
-
14
- ```typescript
15
- provider?: 'openai' | 'gemini';
16
- ```