@genesislcap/foundation-ai 15.25.1 → 15.27.0-agent-log-submit.3
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/dist/dts/index.d.ts +1 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/types/chat.types.d.ts +145 -0
- package/dist/dts/types/chat.types.d.ts.map +1 -1
- package/dist/foundation-ai.api.json +510 -0
- package/dist/foundation-ai.d.ts +149 -0
- package/package.json +10 -10
package/dist/dts/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export { ANTHROPIC_CACHE_READ_MULTIPLIER, ANTHROPIC_CACHE_WRITE_1H_MULTIPLIER, A
|
|
|
16
16
|
export type { AnthropicUsageRecord, GeminiUsageRecord, TokenCost, TokenCostBreakdown, TokenRates, } from './utils/token-cost';
|
|
17
17
|
export { SUPPORTED_ANTHROPIC_MODEL_IDS, SUPPORTED_GEMINI_MODEL_IDS, vendorOfModel } from './types';
|
|
18
18
|
export type { AIConfig, AIStatus, AIProviderType, AnthropicAIConfig, AnthropicModelId, ChromeAIConfig, ChromeAvailability, GeminiAIConfig, GeminiModelId, ServerAIConfig, } from './types';
|
|
19
|
-
export type { AggregateUsage, AgentPickerMode, ChatAgentConfig, ChatAgentPickerConfig, ChatAnimationsConfig, ChatAttachment, ChatConfig, ChatContextConfig, ChatCostHistoryConfig, ChatDriverResult, ChatFallback, ChatImageAttachment, ChatInputDuringExecutionMode, CachePolicy, ChatMessage, ChatInteraction, ChatRequestOptions, ChatResponseMeta, ChatRole, ChatStreamChunk, ChatTextAttachment, ChatThinkingLevel, ChatThinkingPolicy, ChatToolCall, ChatToolCallUnknown, ChatToolChoice, ChatToolDefinition, ChatToolHandlers, ChatToolResult, ChatUiConfig, CondensePolicy, CondenseResult, CondenseTrigger, ChatSuggestionsConfig, InteractionPresentation, InteractionRequestOptions, InteractionResult, MessageCompaction, ModelTagAppearance, SubAgentFailureReason, SubAgentRequestOptions, TurnFailureReason, } from './types/chat.types';
|
|
19
|
+
export type { AggregateUsage, AgentPickerMode, ChatAgentConfig, ChatAgentPickerConfig, ChatAnimationsConfig, ChatAttachment, ChatConfig, ChatContextConfig, ChatCostHistoryConfig, ChatDebugLogSubmission, ChatDebugLogNoteConfig, ChatDebugLogSubmitConfig, ChatDriverResult, ChatFallback, ChatImageAttachment, ChatInputDuringExecutionMode, CachePolicy, ChatMessage, ChatInteraction, ChatRequestOptions, ChatResponseMeta, ChatRole, ChatStreamChunk, ChatTextAttachment, ChatThinkingLevel, ChatThinkingPolicy, ChatToolCall, ChatToolCallUnknown, ChatToolChoice, ChatToolDefinition, ChatToolHandlers, ChatToolResult, ChatUiConfig, CondensePolicy, CondenseResult, CondenseTrigger, ChatSuggestionsConfig, InteractionPresentation, InteractionRequestOptions, InteractionResult, MessageCompaction, ModelTagAppearance, SubAgentFailureReason, SubAgentRequestOptions, TimestampDisplay, TurnFailureReason, } from './types/chat.types';
|
|
20
20
|
export { isChatToolCallUnknown } from './types/chat.types';
|
|
21
21
|
export type { ChatTransport } from './types/chat-transport.types';
|
|
22
22
|
export type { CostReportingTransport } from './types/transports.types';
|
package/dist/dts/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,8BAA8B,EAC9B,yBAAyB,EACzB,eAAe,GAChB,MAAM,eAAe,CAAC;AACvB,YAAY,EACV,UAAU,EACV,6BAA6B,EAC7B,4BAA4B,GAC7B,MAAM,eAAe,CAAC;AAKvB,OAAO,EACL,kBAAkB,EAClB,0BAA0B,EAC1B,mBAAmB,GACpB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,6BA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jB,YAAY,EACV,cAAc,EACd,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,UAAU,EACV,iBAAiB,EACjB,qBAAqB,EACrB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,4BAA4B,EAC5B,WAAW,EACX,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,gBAAgB,EAChB,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,YAAY,EACZ,mBAAmB,EACnB,cAAc,EACd,kBAAkB,EAClB,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,cAAc,EACd,cAAc,EACd,eAAe,EACf,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,iBAAiB,EACjB,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,YAAY,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,YAAY,EAAE,sBAAsB,EAAE,MAAM,eAAe,CAAC;AAC5D,YAAY,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC1E,YAAY,EACV,oBAAoB,EACpB,mBAAmB,EACnB,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1354,6 +1354,134 @@ export interface ChatAnimationsConfig {
|
|
|
1354
1354
|
* @beta
|
|
1355
1355
|
*/
|
|
1356
1356
|
export type ModelTagAppearance = 'neutral' | 'primary' | 'secondary' | 'tertiary' | 'quaternary';
|
|
1357
|
+
/**
|
|
1358
|
+
* When a message's timestamp is visible in the transcript.
|
|
1359
|
+
*
|
|
1360
|
+
* - `'hover'` — revealed only while the pointer is over that message row.
|
|
1361
|
+
* - `'always'` — permanently visible.
|
|
1362
|
+
* - `'off'` — not rendered at all.
|
|
1363
|
+
*
|
|
1364
|
+
* Only the VISUAL treatment differs between `'hover'` and `'always'` — `'off'` is the only
|
|
1365
|
+
* value that removes the timestamp from the accessibility tree. In both visible modes a
|
|
1366
|
+
* screen reader announces an absolute date+time for every message, carried in text beside
|
|
1367
|
+
* the relative label; hover-gating is a paint-level effect (`opacity`) and assistive
|
|
1368
|
+
* technology has no hover, so there is no mode where a timestamp is present but silent.
|
|
1369
|
+
*
|
|
1370
|
+
* Note for hosts weighing `'hover'`: it keeps the transcript visually uncluttered, but it
|
|
1371
|
+
* does NOT make timestamps unobtrusive for screen-reader users, who hear one per message
|
|
1372
|
+
* either way. Choose `'off'` if that is the goal.
|
|
1373
|
+
*
|
|
1374
|
+
* @beta
|
|
1375
|
+
*/
|
|
1376
|
+
export type TimestampDisplay = 'off' | 'hover' | 'always';
|
|
1377
|
+
/**
|
|
1378
|
+
* What the assistant hands to {@link ChatDebugLogSubmitConfig.send} — the agent log
|
|
1379
|
+
* (the same lifetime-stitched JSON the Download button saves) plus the context a host
|
|
1380
|
+
* typically wants to stamp on a report.
|
|
1381
|
+
*
|
|
1382
|
+
* @beta
|
|
1383
|
+
*/
|
|
1384
|
+
export interface ChatDebugLogSubmission {
|
|
1385
|
+
/**
|
|
1386
|
+
* The serialized agent log, pretty-printed JSON — byte-identical to the download.
|
|
1387
|
+
*
|
|
1388
|
+
* Wider than "the conversation": when the provider persists diagnostics this is the
|
|
1389
|
+
* assistant's WHOLE LIFETIME stream (every page load and every session under this
|
|
1390
|
+
* key, including ones the user cleared or ran with "remember chat" off), carrying
|
|
1391
|
+
* every uploaded file's text, every pasted image's bytes, the system prompts and the
|
|
1392
|
+
* agent configuration. Host UI and transport should treat it accordingly.
|
|
1393
|
+
*/
|
|
1394
|
+
logJson: string;
|
|
1395
|
+
/** Suggested filename, same stem the Download button uses (e.g. for an attachment). */
|
|
1396
|
+
filename: string;
|
|
1397
|
+
/** The active agent's display name. */
|
|
1398
|
+
agentName: string;
|
|
1399
|
+
/** `window.location.host` at submit time. */
|
|
1400
|
+
host: string;
|
|
1401
|
+
/**
|
|
1402
|
+
* The short note the user typed in the compose box before sending, trimmed. Absent when
|
|
1403
|
+
* the note was left empty or the host disabled it (`note: false`). Hosts forwarding to a
|
|
1404
|
+
* feedback system should lead with this — it is the only human-written text in the
|
|
1405
|
+
* submission, and classifiers (e.g. Sentry's spam filter) key off exactly that.
|
|
1406
|
+
*/
|
|
1407
|
+
message?: string;
|
|
1408
|
+
}
|
|
1409
|
+
/**
|
|
1410
|
+
* Tunes the compose box the Send button opens so the user can attach a short note to the
|
|
1411
|
+
* log. See {@link ChatDebugLogSubmitConfig.note}.
|
|
1412
|
+
*
|
|
1413
|
+
* @beta
|
|
1414
|
+
*/
|
|
1415
|
+
export interface ChatDebugLogNoteConfig {
|
|
1416
|
+
/** Placeholder shown in the empty note. Defaults to a generic "what were you doing" prompt. */
|
|
1417
|
+
placeholder?: string;
|
|
1418
|
+
/** Refuse to send until the note has some text. Default `false` — the note is optional. */
|
|
1419
|
+
required?: boolean;
|
|
1420
|
+
/** Maximum note length in characters. Default 500. */
|
|
1421
|
+
maxLength?: number;
|
|
1422
|
+
}
|
|
1423
|
+
/**
|
|
1424
|
+
* Enables a Send button next to the debug-log Download button that hands the agent log
|
|
1425
|
+
* to the host's `send` callback. The assistant is vendor-agnostic — the host owns the
|
|
1426
|
+
* transport, e.g. Sentry's User Feedback API:
|
|
1427
|
+
*
|
|
1428
|
+
* ```ts
|
|
1429
|
+
* debugLogSubmit: {
|
|
1430
|
+
* label: 'Submit Feedback',
|
|
1431
|
+
* description: 'Send the assistant log to our Sentry project so support can investigate.',
|
|
1432
|
+
* send: async ({ logJson, filename, agentName, host, message }) => {
|
|
1433
|
+
* Sentry.captureFeedback(
|
|
1434
|
+
* { message: message ?? `Agent log from "${agentName}" on ${host}`, source: 'ai-assistant' },
|
|
1435
|
+
* { attachments: [{ filename, data: logJson, contentType: 'application/json' }] },
|
|
1436
|
+
* );
|
|
1437
|
+
* // Wait for delivery: `captureFeedback` only queues the envelope. Without this the
|
|
1438
|
+
* // callback resolves at once and the button reports 'Sent' for envelopes Sentry
|
|
1439
|
+
* // dropped (oversize attachment, rate limit, offline).
|
|
1440
|
+
* if (!(await Sentry.flush(5000))) throw new Error('Sentry did not confirm delivery');
|
|
1441
|
+
* },
|
|
1442
|
+
* }
|
|
1443
|
+
* ```
|
|
1444
|
+
*
|
|
1445
|
+
* For an exact per-event outcome, listen for the client's `afterSendEvent` hook for the
|
|
1446
|
+
* returned event id and resolve or reject on its response status.
|
|
1447
|
+
*
|
|
1448
|
+
* By default the button first opens a small compose box where the user can type a short
|
|
1449
|
+
* note (`submission.message`); set `note: false` to send on the first click instead.
|
|
1450
|
+
*
|
|
1451
|
+
* @beta
|
|
1452
|
+
*/
|
|
1453
|
+
export interface ChatDebugLogSubmitConfig {
|
|
1454
|
+
/**
|
|
1455
|
+
* Deliver the log wherever reports should land, and SETTLE ONLY WHEN DELIVERY IS
|
|
1456
|
+
* KNOWN: a resolved promise flashes 'Sent', a rejected one (or a throw) shows
|
|
1457
|
+
* 'Failed — retry' and logs the cause. A fire-and-forget callback that returns before
|
|
1458
|
+
* the transport has answered makes the 'Sent' state meaningless — see the example
|
|
1459
|
+
* above. A callback that has not settled after `timeoutMs` is treated as failed.
|
|
1460
|
+
*/
|
|
1461
|
+
send: (submission: ChatDebugLogSubmission) => void | Promise<void>;
|
|
1462
|
+
/** Idle button label. Defaults to `'Send'`. */
|
|
1463
|
+
label?: string;
|
|
1464
|
+
/**
|
|
1465
|
+
* Replaces the Agent log row's description. The default wording says the log goes "to
|
|
1466
|
+
* support" and that sending transmits the full lifetime log; a host that ships to a
|
|
1467
|
+
* third party (Sentry, a ticketing SaaS, its own endpoint) should name it here, since
|
|
1468
|
+
* the assistant has no way to know where `send` delivers.
|
|
1469
|
+
*/
|
|
1470
|
+
description?: string;
|
|
1471
|
+
/**
|
|
1472
|
+
* Whether the Send button opens a compose box for a short user note before sending.
|
|
1473
|
+
* `true` (the default) or an object to customise the box; `false` to skip it and send
|
|
1474
|
+
* immediately with no `message`. Note that the compose box is also the only
|
|
1475
|
+
* confirmation step: with `false`, ONE click transmits the whole lifetime log.
|
|
1476
|
+
*/
|
|
1477
|
+
note?: boolean | ChatDebugLogNoteConfig;
|
|
1478
|
+
/**
|
|
1479
|
+
* How long `send` may take before the submission is treated as failed and the button
|
|
1480
|
+
* is released — a hanging transport must not wedge Send, Cancel and the note for the
|
|
1481
|
+
* rest of the page's life. Default 30000 (30s).
|
|
1482
|
+
*/
|
|
1483
|
+
timeoutMs?: number;
|
|
1484
|
+
}
|
|
1357
1485
|
/**
|
|
1358
1486
|
* UI display configuration for the chat assistant.
|
|
1359
1487
|
*
|
|
@@ -1377,6 +1505,12 @@ export interface ChatUiConfig {
|
|
|
1377
1505
|
showNarration?: boolean | null;
|
|
1378
1506
|
/** Show a button to download the full chat history as JSON. */
|
|
1379
1507
|
allowDebugDownload?: boolean;
|
|
1508
|
+
/**
|
|
1509
|
+
* Show a Send button next to the debug-log Download button that hands the agent log
|
|
1510
|
+
* to the host's own reporting transport (Sentry, a support API, an upload endpoint —
|
|
1511
|
+
* whatever the callback does). See {@link ChatDebugLogSubmitConfig}.
|
|
1512
|
+
*/
|
|
1513
|
+
debugLogSubmit?: ChatDebugLogSubmitConfig;
|
|
1380
1514
|
/**
|
|
1381
1515
|
* Comma-separated list of accepted uploads: extensions (".txt,.md,.csv"), exact MIME types
|
|
1382
1516
|
* ("image/png"), or wildcards ("image/*"). If undefined or empty, file uploads are disabled.
|
|
@@ -1429,6 +1563,17 @@ export interface ChatUiConfig {
|
|
|
1429
1563
|
* - `null` / `undefined` — completely disabled, no UI control shown
|
|
1430
1564
|
*/
|
|
1431
1565
|
showAgentSwitchIndicator?: boolean | null;
|
|
1566
|
+
/**
|
|
1567
|
+
* When each message shows the time it was sent, next to the sender label.
|
|
1568
|
+
*
|
|
1569
|
+
* Unlike the toggle flags above this is on by default, so it does NOT follow their
|
|
1570
|
+
* `null`-means-disabled convention — it sets the DEFAULT the user sees, and the settings
|
|
1571
|
+
* control is offered either way. Set `'off'` to default it hidden.
|
|
1572
|
+
*
|
|
1573
|
+
* - `undefined` (default) — same as `'hover'`
|
|
1574
|
+
* - `'hover'` / `'always'` / `'off'` — see {@link TimestampDisplay}
|
|
1575
|
+
*/
|
|
1576
|
+
showTimestamps?: TimestampDisplay;
|
|
1432
1577
|
/**
|
|
1433
1578
|
* Show a context window usage indicator in the settings panel.
|
|
1434
1579
|
* Visible when the settings panel is open and token usage data is available.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.types.d.ts","sourceRoot":"","sources":["../../../src/types/chat.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAErD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,QAAQ,GAChB,MAAM,GACN,WAAW,GACX,QAAQ,GACR,MAAM,GACN,cAAc,GACd,gBAAgB,GAChB,mBAAmB,CAAC;AAExB;;;;GAIG;AACH,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9B;;;;;;;;OAQG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3C;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,WAAW,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C;IAC/C,MAAM,CAAC,EAAE,KAAK,CAAC;CAChB,GACD;IACE;;;OAGG;IACH,QAAQ,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC/B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -4110,6 +4110,434 @@
|
|
|
4110
4110
|
],
|
|
4111
4111
|
"extendsTokenRanges": []
|
|
4112
4112
|
},
|
|
4113
|
+
{
|
|
4114
|
+
"kind": "Interface",
|
|
4115
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogNoteConfig:interface",
|
|
4116
|
+
"docComment": "/**\n * Tunes the compose box the Send button opens so the user can attach a short note to the log. See {@link ChatDebugLogSubmitConfig.note}.\n *\n * @beta\n */\n",
|
|
4117
|
+
"excerptTokens": [
|
|
4118
|
+
{
|
|
4119
|
+
"kind": "Content",
|
|
4120
|
+
"text": "export interface ChatDebugLogNoteConfig "
|
|
4121
|
+
}
|
|
4122
|
+
],
|
|
4123
|
+
"fileUrlPath": "src/types/chat.types.ts",
|
|
4124
|
+
"releaseTag": "Beta",
|
|
4125
|
+
"name": "ChatDebugLogNoteConfig",
|
|
4126
|
+
"preserveMemberOrder": false,
|
|
4127
|
+
"members": [
|
|
4128
|
+
{
|
|
4129
|
+
"kind": "PropertySignature",
|
|
4130
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogNoteConfig#maxLength:member",
|
|
4131
|
+
"docComment": "/**\n * Maximum note length in characters. Default 500.\n */\n",
|
|
4132
|
+
"excerptTokens": [
|
|
4133
|
+
{
|
|
4134
|
+
"kind": "Content",
|
|
4135
|
+
"text": "maxLength?: "
|
|
4136
|
+
},
|
|
4137
|
+
{
|
|
4138
|
+
"kind": "Content",
|
|
4139
|
+
"text": "number"
|
|
4140
|
+
},
|
|
4141
|
+
{
|
|
4142
|
+
"kind": "Content",
|
|
4143
|
+
"text": ";"
|
|
4144
|
+
}
|
|
4145
|
+
],
|
|
4146
|
+
"isReadonly": false,
|
|
4147
|
+
"isOptional": true,
|
|
4148
|
+
"releaseTag": "Beta",
|
|
4149
|
+
"name": "maxLength",
|
|
4150
|
+
"propertyTypeTokenRange": {
|
|
4151
|
+
"startIndex": 1,
|
|
4152
|
+
"endIndex": 2
|
|
4153
|
+
}
|
|
4154
|
+
},
|
|
4155
|
+
{
|
|
4156
|
+
"kind": "PropertySignature",
|
|
4157
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogNoteConfig#placeholder:member",
|
|
4158
|
+
"docComment": "/**\n * Placeholder shown in the empty note. Defaults to a generic \"what were you doing\" prompt.\n */\n",
|
|
4159
|
+
"excerptTokens": [
|
|
4160
|
+
{
|
|
4161
|
+
"kind": "Content",
|
|
4162
|
+
"text": "placeholder?: "
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
"kind": "Content",
|
|
4166
|
+
"text": "string"
|
|
4167
|
+
},
|
|
4168
|
+
{
|
|
4169
|
+
"kind": "Content",
|
|
4170
|
+
"text": ";"
|
|
4171
|
+
}
|
|
4172
|
+
],
|
|
4173
|
+
"isReadonly": false,
|
|
4174
|
+
"isOptional": true,
|
|
4175
|
+
"releaseTag": "Beta",
|
|
4176
|
+
"name": "placeholder",
|
|
4177
|
+
"propertyTypeTokenRange": {
|
|
4178
|
+
"startIndex": 1,
|
|
4179
|
+
"endIndex": 2
|
|
4180
|
+
}
|
|
4181
|
+
},
|
|
4182
|
+
{
|
|
4183
|
+
"kind": "PropertySignature",
|
|
4184
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogNoteConfig#required:member",
|
|
4185
|
+
"docComment": "/**\n * Refuse to send until the note has some text. Default `false` — the note is optional.\n */\n",
|
|
4186
|
+
"excerptTokens": [
|
|
4187
|
+
{
|
|
4188
|
+
"kind": "Content",
|
|
4189
|
+
"text": "required?: "
|
|
4190
|
+
},
|
|
4191
|
+
{
|
|
4192
|
+
"kind": "Content",
|
|
4193
|
+
"text": "boolean"
|
|
4194
|
+
},
|
|
4195
|
+
{
|
|
4196
|
+
"kind": "Content",
|
|
4197
|
+
"text": ";"
|
|
4198
|
+
}
|
|
4199
|
+
],
|
|
4200
|
+
"isReadonly": false,
|
|
4201
|
+
"isOptional": true,
|
|
4202
|
+
"releaseTag": "Beta",
|
|
4203
|
+
"name": "required",
|
|
4204
|
+
"propertyTypeTokenRange": {
|
|
4205
|
+
"startIndex": 1,
|
|
4206
|
+
"endIndex": 2
|
|
4207
|
+
}
|
|
4208
|
+
}
|
|
4209
|
+
],
|
|
4210
|
+
"extendsTokenRanges": []
|
|
4211
|
+
},
|
|
4212
|
+
{
|
|
4213
|
+
"kind": "Interface",
|
|
4214
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmission:interface",
|
|
4215
|
+
"docComment": "/**\n * What the assistant hands to {@link ChatDebugLogSubmitConfig.send} — the agent log (the same lifetime-stitched JSON the Download button saves) plus the context a host typically wants to stamp on a report.\n *\n * @beta\n */\n",
|
|
4216
|
+
"excerptTokens": [
|
|
4217
|
+
{
|
|
4218
|
+
"kind": "Content",
|
|
4219
|
+
"text": "export interface ChatDebugLogSubmission "
|
|
4220
|
+
}
|
|
4221
|
+
],
|
|
4222
|
+
"fileUrlPath": "src/types/chat.types.ts",
|
|
4223
|
+
"releaseTag": "Beta",
|
|
4224
|
+
"name": "ChatDebugLogSubmission",
|
|
4225
|
+
"preserveMemberOrder": false,
|
|
4226
|
+
"members": [
|
|
4227
|
+
{
|
|
4228
|
+
"kind": "PropertySignature",
|
|
4229
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmission#agentName:member",
|
|
4230
|
+
"docComment": "/**\n * The active agent's display name.\n */\n",
|
|
4231
|
+
"excerptTokens": [
|
|
4232
|
+
{
|
|
4233
|
+
"kind": "Content",
|
|
4234
|
+
"text": "agentName: "
|
|
4235
|
+
},
|
|
4236
|
+
{
|
|
4237
|
+
"kind": "Content",
|
|
4238
|
+
"text": "string"
|
|
4239
|
+
},
|
|
4240
|
+
{
|
|
4241
|
+
"kind": "Content",
|
|
4242
|
+
"text": ";"
|
|
4243
|
+
}
|
|
4244
|
+
],
|
|
4245
|
+
"isReadonly": false,
|
|
4246
|
+
"isOptional": false,
|
|
4247
|
+
"releaseTag": "Beta",
|
|
4248
|
+
"name": "agentName",
|
|
4249
|
+
"propertyTypeTokenRange": {
|
|
4250
|
+
"startIndex": 1,
|
|
4251
|
+
"endIndex": 2
|
|
4252
|
+
}
|
|
4253
|
+
},
|
|
4254
|
+
{
|
|
4255
|
+
"kind": "PropertySignature",
|
|
4256
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmission#filename:member",
|
|
4257
|
+
"docComment": "/**\n * Suggested filename, same stem the Download button uses (e.g. for an attachment).\n */\n",
|
|
4258
|
+
"excerptTokens": [
|
|
4259
|
+
{
|
|
4260
|
+
"kind": "Content",
|
|
4261
|
+
"text": "filename: "
|
|
4262
|
+
},
|
|
4263
|
+
{
|
|
4264
|
+
"kind": "Content",
|
|
4265
|
+
"text": "string"
|
|
4266
|
+
},
|
|
4267
|
+
{
|
|
4268
|
+
"kind": "Content",
|
|
4269
|
+
"text": ";"
|
|
4270
|
+
}
|
|
4271
|
+
],
|
|
4272
|
+
"isReadonly": false,
|
|
4273
|
+
"isOptional": false,
|
|
4274
|
+
"releaseTag": "Beta",
|
|
4275
|
+
"name": "filename",
|
|
4276
|
+
"propertyTypeTokenRange": {
|
|
4277
|
+
"startIndex": 1,
|
|
4278
|
+
"endIndex": 2
|
|
4279
|
+
}
|
|
4280
|
+
},
|
|
4281
|
+
{
|
|
4282
|
+
"kind": "PropertySignature",
|
|
4283
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmission#host:member",
|
|
4284
|
+
"docComment": "/**\n * `window.location.host` at submit time.\n */\n",
|
|
4285
|
+
"excerptTokens": [
|
|
4286
|
+
{
|
|
4287
|
+
"kind": "Content",
|
|
4288
|
+
"text": "host: "
|
|
4289
|
+
},
|
|
4290
|
+
{
|
|
4291
|
+
"kind": "Content",
|
|
4292
|
+
"text": "string"
|
|
4293
|
+
},
|
|
4294
|
+
{
|
|
4295
|
+
"kind": "Content",
|
|
4296
|
+
"text": ";"
|
|
4297
|
+
}
|
|
4298
|
+
],
|
|
4299
|
+
"isReadonly": false,
|
|
4300
|
+
"isOptional": false,
|
|
4301
|
+
"releaseTag": "Beta",
|
|
4302
|
+
"name": "host",
|
|
4303
|
+
"propertyTypeTokenRange": {
|
|
4304
|
+
"startIndex": 1,
|
|
4305
|
+
"endIndex": 2
|
|
4306
|
+
}
|
|
4307
|
+
},
|
|
4308
|
+
{
|
|
4309
|
+
"kind": "PropertySignature",
|
|
4310
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmission#logJson:member",
|
|
4311
|
+
"docComment": "/**\n * The serialized agent log, pretty-printed JSON — byte-identical to the download.\n *\n * Wider than \"the conversation\": when the provider persists diagnostics this is the assistant's WHOLE LIFETIME stream (every page load and every session under this key, including ones the user cleared or ran with \"remember chat\" off), carrying every uploaded file's text, every pasted image's bytes, the system prompts and the agent configuration. Host UI and transport should treat it accordingly.\n */\n",
|
|
4312
|
+
"excerptTokens": [
|
|
4313
|
+
{
|
|
4314
|
+
"kind": "Content",
|
|
4315
|
+
"text": "logJson: "
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
"kind": "Content",
|
|
4319
|
+
"text": "string"
|
|
4320
|
+
},
|
|
4321
|
+
{
|
|
4322
|
+
"kind": "Content",
|
|
4323
|
+
"text": ";"
|
|
4324
|
+
}
|
|
4325
|
+
],
|
|
4326
|
+
"isReadonly": false,
|
|
4327
|
+
"isOptional": false,
|
|
4328
|
+
"releaseTag": "Beta",
|
|
4329
|
+
"name": "logJson",
|
|
4330
|
+
"propertyTypeTokenRange": {
|
|
4331
|
+
"startIndex": 1,
|
|
4332
|
+
"endIndex": 2
|
|
4333
|
+
}
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
"kind": "PropertySignature",
|
|
4337
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmission#message:member",
|
|
4338
|
+
"docComment": "/**\n * The short note the user typed in the compose box before sending, trimmed. Absent when the note was left empty or the host disabled it (`note: false`). Hosts forwarding to a feedback system should lead with this — it is the only human-written text in the submission, and classifiers (e.g. Sentry's spam filter) key off exactly that.\n */\n",
|
|
4339
|
+
"excerptTokens": [
|
|
4340
|
+
{
|
|
4341
|
+
"kind": "Content",
|
|
4342
|
+
"text": "message?: "
|
|
4343
|
+
},
|
|
4344
|
+
{
|
|
4345
|
+
"kind": "Content",
|
|
4346
|
+
"text": "string"
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
"kind": "Content",
|
|
4350
|
+
"text": ";"
|
|
4351
|
+
}
|
|
4352
|
+
],
|
|
4353
|
+
"isReadonly": false,
|
|
4354
|
+
"isOptional": true,
|
|
4355
|
+
"releaseTag": "Beta",
|
|
4356
|
+
"name": "message",
|
|
4357
|
+
"propertyTypeTokenRange": {
|
|
4358
|
+
"startIndex": 1,
|
|
4359
|
+
"endIndex": 2
|
|
4360
|
+
}
|
|
4361
|
+
}
|
|
4362
|
+
],
|
|
4363
|
+
"extendsTokenRanges": []
|
|
4364
|
+
},
|
|
4365
|
+
{
|
|
4366
|
+
"kind": "Interface",
|
|
4367
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmitConfig:interface",
|
|
4368
|
+
"docComment": "/**\n * Enables a Send button next to the debug-log Download button that hands the agent log to the host's `send` callback. The assistant is vendor-agnostic — the host owns the transport, e.g. Sentry's User Feedback API:\n * ```ts\n * debugLogSubmit: {\n * label: 'Submit Feedback',\n * description: 'Send the assistant log to our Sentry project so support can investigate.',\n * send: async ({ logJson, filename, agentName, host, message }) => {\n * Sentry.captureFeedback(\n * { message: message ?? `Agent log from \"${agentName}\" on ${host}`, source: 'ai-assistant' },\n * { attachments: [{ filename, data: logJson, contentType: 'application/json' }] },\n * );\n * // Wait for delivery: `captureFeedback` only queues the envelope. Without this the\n * // callback resolves at once and the button reports 'Sent' for envelopes Sentry\n * // dropped (oversize attachment, rate limit, offline).\n * if (!(await Sentry.flush(5000))) throw new Error('Sentry did not confirm delivery');\n * },\n * }\n * ```\n *\n * For an exact per-event outcome, listen for the client's `afterSendEvent` hook for the returned event id and resolve or reject on its response status.\n *\n * By default the button first opens a small compose box where the user can type a short note (`submission.message`); set `note: false` to send on the first click instead.\n *\n * @beta\n */\n",
|
|
4369
|
+
"excerptTokens": [
|
|
4370
|
+
{
|
|
4371
|
+
"kind": "Content",
|
|
4372
|
+
"text": "export interface ChatDebugLogSubmitConfig "
|
|
4373
|
+
}
|
|
4374
|
+
],
|
|
4375
|
+
"fileUrlPath": "src/types/chat.types.ts",
|
|
4376
|
+
"releaseTag": "Beta",
|
|
4377
|
+
"name": "ChatDebugLogSubmitConfig",
|
|
4378
|
+
"preserveMemberOrder": false,
|
|
4379
|
+
"members": [
|
|
4380
|
+
{
|
|
4381
|
+
"kind": "PropertySignature",
|
|
4382
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmitConfig#description:member",
|
|
4383
|
+
"docComment": "/**\n * Replaces the Agent log row's description. The default wording says the log goes \"to support\" and that sending transmits the full lifetime log; a host that ships to a third party (Sentry, a ticketing SaaS, its own endpoint) should name it here, since the assistant has no way to know where `send` delivers.\n */\n",
|
|
4384
|
+
"excerptTokens": [
|
|
4385
|
+
{
|
|
4386
|
+
"kind": "Content",
|
|
4387
|
+
"text": "description?: "
|
|
4388
|
+
},
|
|
4389
|
+
{
|
|
4390
|
+
"kind": "Content",
|
|
4391
|
+
"text": "string"
|
|
4392
|
+
},
|
|
4393
|
+
{
|
|
4394
|
+
"kind": "Content",
|
|
4395
|
+
"text": ";"
|
|
4396
|
+
}
|
|
4397
|
+
],
|
|
4398
|
+
"isReadonly": false,
|
|
4399
|
+
"isOptional": true,
|
|
4400
|
+
"releaseTag": "Beta",
|
|
4401
|
+
"name": "description",
|
|
4402
|
+
"propertyTypeTokenRange": {
|
|
4403
|
+
"startIndex": 1,
|
|
4404
|
+
"endIndex": 2
|
|
4405
|
+
}
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
"kind": "PropertySignature",
|
|
4409
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmitConfig#label:member",
|
|
4410
|
+
"docComment": "/**\n * Idle button label. Defaults to `'Send'`.\n */\n",
|
|
4411
|
+
"excerptTokens": [
|
|
4412
|
+
{
|
|
4413
|
+
"kind": "Content",
|
|
4414
|
+
"text": "label?: "
|
|
4415
|
+
},
|
|
4416
|
+
{
|
|
4417
|
+
"kind": "Content",
|
|
4418
|
+
"text": "string"
|
|
4419
|
+
},
|
|
4420
|
+
{
|
|
4421
|
+
"kind": "Content",
|
|
4422
|
+
"text": ";"
|
|
4423
|
+
}
|
|
4424
|
+
],
|
|
4425
|
+
"isReadonly": false,
|
|
4426
|
+
"isOptional": true,
|
|
4427
|
+
"releaseTag": "Beta",
|
|
4428
|
+
"name": "label",
|
|
4429
|
+
"propertyTypeTokenRange": {
|
|
4430
|
+
"startIndex": 1,
|
|
4431
|
+
"endIndex": 2
|
|
4432
|
+
}
|
|
4433
|
+
},
|
|
4434
|
+
{
|
|
4435
|
+
"kind": "PropertySignature",
|
|
4436
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmitConfig#note:member",
|
|
4437
|
+
"docComment": "/**\n * Whether the Send button opens a compose box for a short user note before sending. `true` (the default) or an object to customise the box; `false` to skip it and send immediately with no `message`. Note that the compose box is also the only confirmation step: with `false`, ONE click transmits the whole lifetime log.\n */\n",
|
|
4438
|
+
"excerptTokens": [
|
|
4439
|
+
{
|
|
4440
|
+
"kind": "Content",
|
|
4441
|
+
"text": "note?: "
|
|
4442
|
+
},
|
|
4443
|
+
{
|
|
4444
|
+
"kind": "Content",
|
|
4445
|
+
"text": "boolean | "
|
|
4446
|
+
},
|
|
4447
|
+
{
|
|
4448
|
+
"kind": "Reference",
|
|
4449
|
+
"text": "ChatDebugLogNoteConfig",
|
|
4450
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogNoteConfig:interface"
|
|
4451
|
+
},
|
|
4452
|
+
{
|
|
4453
|
+
"kind": "Content",
|
|
4454
|
+
"text": ";"
|
|
4455
|
+
}
|
|
4456
|
+
],
|
|
4457
|
+
"isReadonly": false,
|
|
4458
|
+
"isOptional": true,
|
|
4459
|
+
"releaseTag": "Beta",
|
|
4460
|
+
"name": "note",
|
|
4461
|
+
"propertyTypeTokenRange": {
|
|
4462
|
+
"startIndex": 1,
|
|
4463
|
+
"endIndex": 3
|
|
4464
|
+
}
|
|
4465
|
+
},
|
|
4466
|
+
{
|
|
4467
|
+
"kind": "PropertySignature",
|
|
4468
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmitConfig#send:member",
|
|
4469
|
+
"docComment": "/**\n * Deliver the log wherever reports should land, and SETTLE ONLY WHEN DELIVERY IS KNOWN: a resolved promise flashes 'Sent', a rejected one (or a throw) shows 'Failed — retry' and logs the cause. A fire-and-forget callback that returns before the transport has answered makes the 'Sent' state meaningless — see the example above. A callback that has not settled after `timeoutMs` is treated as failed.\n */\n",
|
|
4470
|
+
"excerptTokens": [
|
|
4471
|
+
{
|
|
4472
|
+
"kind": "Content",
|
|
4473
|
+
"text": "send: "
|
|
4474
|
+
},
|
|
4475
|
+
{
|
|
4476
|
+
"kind": "Content",
|
|
4477
|
+
"text": "(submission: "
|
|
4478
|
+
},
|
|
4479
|
+
{
|
|
4480
|
+
"kind": "Reference",
|
|
4481
|
+
"text": "ChatDebugLogSubmission",
|
|
4482
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmission:interface"
|
|
4483
|
+
},
|
|
4484
|
+
{
|
|
4485
|
+
"kind": "Content",
|
|
4486
|
+
"text": ") => void | "
|
|
4487
|
+
},
|
|
4488
|
+
{
|
|
4489
|
+
"kind": "Reference",
|
|
4490
|
+
"text": "Promise",
|
|
4491
|
+
"canonicalReference": "!Promise:interface"
|
|
4492
|
+
},
|
|
4493
|
+
{
|
|
4494
|
+
"kind": "Content",
|
|
4495
|
+
"text": "<void>"
|
|
4496
|
+
},
|
|
4497
|
+
{
|
|
4498
|
+
"kind": "Content",
|
|
4499
|
+
"text": ";"
|
|
4500
|
+
}
|
|
4501
|
+
],
|
|
4502
|
+
"isReadonly": false,
|
|
4503
|
+
"isOptional": false,
|
|
4504
|
+
"releaseTag": "Beta",
|
|
4505
|
+
"name": "send",
|
|
4506
|
+
"propertyTypeTokenRange": {
|
|
4507
|
+
"startIndex": 1,
|
|
4508
|
+
"endIndex": 6
|
|
4509
|
+
}
|
|
4510
|
+
},
|
|
4511
|
+
{
|
|
4512
|
+
"kind": "PropertySignature",
|
|
4513
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmitConfig#timeoutMs:member",
|
|
4514
|
+
"docComment": "/**\n * How long `send` may take before the submission is treated as failed and the button is released — a hanging transport must not wedge Send, Cancel and the note for the rest of the page's life. Default 30000 (30s).\n */\n",
|
|
4515
|
+
"excerptTokens": [
|
|
4516
|
+
{
|
|
4517
|
+
"kind": "Content",
|
|
4518
|
+
"text": "timeoutMs?: "
|
|
4519
|
+
},
|
|
4520
|
+
{
|
|
4521
|
+
"kind": "Content",
|
|
4522
|
+
"text": "number"
|
|
4523
|
+
},
|
|
4524
|
+
{
|
|
4525
|
+
"kind": "Content",
|
|
4526
|
+
"text": ";"
|
|
4527
|
+
}
|
|
4528
|
+
],
|
|
4529
|
+
"isReadonly": false,
|
|
4530
|
+
"isOptional": true,
|
|
4531
|
+
"releaseTag": "Beta",
|
|
4532
|
+
"name": "timeoutMs",
|
|
4533
|
+
"propertyTypeTokenRange": {
|
|
4534
|
+
"startIndex": 1,
|
|
4535
|
+
"endIndex": 2
|
|
4536
|
+
}
|
|
4537
|
+
}
|
|
4538
|
+
],
|
|
4539
|
+
"extendsTokenRanges": []
|
|
4540
|
+
},
|
|
4113
4541
|
{
|
|
4114
4542
|
"kind": "TypeAlias",
|
|
4115
4543
|
"canonicalReference": "@genesislcap/foundation-ai!ChatDriverResult:type",
|
|
@@ -6873,6 +7301,34 @@
|
|
|
6873
7301
|
"endIndex": 2
|
|
6874
7302
|
}
|
|
6875
7303
|
},
|
|
7304
|
+
{
|
|
7305
|
+
"kind": "PropertySignature",
|
|
7306
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatUiConfig#debugLogSubmit:member",
|
|
7307
|
+
"docComment": "/**\n * Show a Send button next to the debug-log Download button that hands the agent log to the host's own reporting transport (Sentry, a support API, an upload endpoint — whatever the callback does). See {@link ChatDebugLogSubmitConfig}.\n */\n",
|
|
7308
|
+
"excerptTokens": [
|
|
7309
|
+
{
|
|
7310
|
+
"kind": "Content",
|
|
7311
|
+
"text": "debugLogSubmit?: "
|
|
7312
|
+
},
|
|
7313
|
+
{
|
|
7314
|
+
"kind": "Reference",
|
|
7315
|
+
"text": "ChatDebugLogSubmitConfig",
|
|
7316
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatDebugLogSubmitConfig:interface"
|
|
7317
|
+
},
|
|
7318
|
+
{
|
|
7319
|
+
"kind": "Content",
|
|
7320
|
+
"text": ";"
|
|
7321
|
+
}
|
|
7322
|
+
],
|
|
7323
|
+
"isReadonly": false,
|
|
7324
|
+
"isOptional": true,
|
|
7325
|
+
"releaseTag": "Beta",
|
|
7326
|
+
"name": "debugLogSubmit",
|
|
7327
|
+
"propertyTypeTokenRange": {
|
|
7328
|
+
"startIndex": 1,
|
|
7329
|
+
"endIndex": 2
|
|
7330
|
+
}
|
|
7331
|
+
},
|
|
6876
7332
|
{
|
|
6877
7333
|
"kind": "PropertySignature",
|
|
6878
7334
|
"canonicalReference": "@genesislcap/foundation-ai!ChatUiConfig#hideComposer:member",
|
|
@@ -7197,6 +7653,34 @@
|
|
|
7197
7653
|
"endIndex": 2
|
|
7198
7654
|
}
|
|
7199
7655
|
},
|
|
7656
|
+
{
|
|
7657
|
+
"kind": "PropertySignature",
|
|
7658
|
+
"canonicalReference": "@genesislcap/foundation-ai!ChatUiConfig#showTimestamps:member",
|
|
7659
|
+
"docComment": "/**\n * When each message shows the time it was sent, next to the sender label.\n *\n * Unlike the toggle flags above this is on by default, so it does NOT follow their `null`-means-disabled convention — it sets the DEFAULT the user sees, and the settings control is offered either way. Set `'off'` to default it hidden.\n *\n * - `undefined` (default) — same as `'hover'` - `'hover'` / `'always'` / `'off'` — see {@link TimestampDisplay}\n */\n",
|
|
7660
|
+
"excerptTokens": [
|
|
7661
|
+
{
|
|
7662
|
+
"kind": "Content",
|
|
7663
|
+
"text": "showTimestamps?: "
|
|
7664
|
+
},
|
|
7665
|
+
{
|
|
7666
|
+
"kind": "Reference",
|
|
7667
|
+
"text": "TimestampDisplay",
|
|
7668
|
+
"canonicalReference": "@genesislcap/foundation-ai!TimestampDisplay:type"
|
|
7669
|
+
},
|
|
7670
|
+
{
|
|
7671
|
+
"kind": "Content",
|
|
7672
|
+
"text": ";"
|
|
7673
|
+
}
|
|
7674
|
+
],
|
|
7675
|
+
"isReadonly": false,
|
|
7676
|
+
"isOptional": true,
|
|
7677
|
+
"releaseTag": "Beta",
|
|
7678
|
+
"name": "showTimestamps",
|
|
7679
|
+
"propertyTypeTokenRange": {
|
|
7680
|
+
"startIndex": 1,
|
|
7681
|
+
"endIndex": 2
|
|
7682
|
+
}
|
|
7683
|
+
},
|
|
7200
7684
|
{
|
|
7201
7685
|
"kind": "PropertySignature",
|
|
7202
7686
|
"canonicalReference": "@genesislcap/foundation-ai!ChatUiConfig#showToolCalls:member",
|
|
@@ -12398,6 +12882,32 @@
|
|
|
12398
12882
|
"endIndex": 4
|
|
12399
12883
|
}
|
|
12400
12884
|
},
|
|
12885
|
+
{
|
|
12886
|
+
"kind": "TypeAlias",
|
|
12887
|
+
"canonicalReference": "@genesislcap/foundation-ai!TimestampDisplay:type",
|
|
12888
|
+
"docComment": "/**\n * When a message's timestamp is visible in the transcript.\n *\n * - `'hover'` — revealed only while the pointer is over that message row. - `'always'` — permanently visible. - `'off'` — not rendered at all.\n *\n * Only the VISUAL treatment differs between `'hover'` and `'always'` — `'off'` is the only value that removes the timestamp from the accessibility tree. In both visible modes a screen reader announces an absolute date+time for every message, carried in text beside the relative label; hover-gating is a paint-level effect (`opacity`) and assistive technology has no hover, so there is no mode where a timestamp is present but silent.\n *\n * Note for hosts weighing `'hover'`: it keeps the transcript visually uncluttered, but it does NOT make timestamps unobtrusive for screen-reader users, who hear one per message either way. Choose `'off'` if that is the goal.\n *\n * @beta\n */\n",
|
|
12889
|
+
"excerptTokens": [
|
|
12890
|
+
{
|
|
12891
|
+
"kind": "Content",
|
|
12892
|
+
"text": "export type TimestampDisplay = "
|
|
12893
|
+
},
|
|
12894
|
+
{
|
|
12895
|
+
"kind": "Content",
|
|
12896
|
+
"text": "'off' | 'hover' | 'always'"
|
|
12897
|
+
},
|
|
12898
|
+
{
|
|
12899
|
+
"kind": "Content",
|
|
12900
|
+
"text": ";"
|
|
12901
|
+
}
|
|
12902
|
+
],
|
|
12903
|
+
"fileUrlPath": "src/types/chat.types.ts",
|
|
12904
|
+
"releaseTag": "Beta",
|
|
12905
|
+
"name": "TimestampDisplay",
|
|
12906
|
+
"typeTokenRange": {
|
|
12907
|
+
"startIndex": 1,
|
|
12908
|
+
"endIndex": 2
|
|
12909
|
+
}
|
|
12910
|
+
},
|
|
12401
12911
|
{
|
|
12402
12912
|
"kind": "Interface",
|
|
12403
12913
|
"canonicalReference": "@genesislcap/foundation-ai!TokenCost:interface",
|
package/dist/foundation-ai.d.ts
CHANGED
|
@@ -950,6 +950,117 @@ export declare interface ChatCostHistoryConfig {
|
|
|
950
950
|
summaryHint?: string;
|
|
951
951
|
}
|
|
952
952
|
|
|
953
|
+
/**
|
|
954
|
+
* Tunes the compose box the Send button opens so the user can attach a short note to the
|
|
955
|
+
* log. See {@link ChatDebugLogSubmitConfig.note}.
|
|
956
|
+
*
|
|
957
|
+
* @beta
|
|
958
|
+
*/
|
|
959
|
+
export declare interface ChatDebugLogNoteConfig {
|
|
960
|
+
/** Placeholder shown in the empty note. Defaults to a generic "what were you doing" prompt. */
|
|
961
|
+
placeholder?: string;
|
|
962
|
+
/** Refuse to send until the note has some text. Default `false` — the note is optional. */
|
|
963
|
+
required?: boolean;
|
|
964
|
+
/** Maximum note length in characters. Default 500. */
|
|
965
|
+
maxLength?: number;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* What the assistant hands to {@link ChatDebugLogSubmitConfig.send} — the agent log
|
|
970
|
+
* (the same lifetime-stitched JSON the Download button saves) plus the context a host
|
|
971
|
+
* typically wants to stamp on a report.
|
|
972
|
+
*
|
|
973
|
+
* @beta
|
|
974
|
+
*/
|
|
975
|
+
export declare interface ChatDebugLogSubmission {
|
|
976
|
+
/**
|
|
977
|
+
* The serialized agent log, pretty-printed JSON — byte-identical to the download.
|
|
978
|
+
*
|
|
979
|
+
* Wider than "the conversation": when the provider persists diagnostics this is the
|
|
980
|
+
* assistant's WHOLE LIFETIME stream (every page load and every session under this
|
|
981
|
+
* key, including ones the user cleared or ran with "remember chat" off), carrying
|
|
982
|
+
* every uploaded file's text, every pasted image's bytes, the system prompts and the
|
|
983
|
+
* agent configuration. Host UI and transport should treat it accordingly.
|
|
984
|
+
*/
|
|
985
|
+
logJson: string;
|
|
986
|
+
/** Suggested filename, same stem the Download button uses (e.g. for an attachment). */
|
|
987
|
+
filename: string;
|
|
988
|
+
/** The active agent's display name. */
|
|
989
|
+
agentName: string;
|
|
990
|
+
/** `window.location.host` at submit time. */
|
|
991
|
+
host: string;
|
|
992
|
+
/**
|
|
993
|
+
* The short note the user typed in the compose box before sending, trimmed. Absent when
|
|
994
|
+
* the note was left empty or the host disabled it (`note: false`). Hosts forwarding to a
|
|
995
|
+
* feedback system should lead with this — it is the only human-written text in the
|
|
996
|
+
* submission, and classifiers (e.g. Sentry's spam filter) key off exactly that.
|
|
997
|
+
*/
|
|
998
|
+
message?: string;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Enables a Send button next to the debug-log Download button that hands the agent log
|
|
1003
|
+
* to the host's `send` callback. The assistant is vendor-agnostic — the host owns the
|
|
1004
|
+
* transport, e.g. Sentry's User Feedback API:
|
|
1005
|
+
*
|
|
1006
|
+
* ```ts
|
|
1007
|
+
* debugLogSubmit: {
|
|
1008
|
+
* label: 'Submit Feedback',
|
|
1009
|
+
* description: 'Send the assistant log to our Sentry project so support can investigate.',
|
|
1010
|
+
* send: async ({ logJson, filename, agentName, host, message }) => {
|
|
1011
|
+
* Sentry.captureFeedback(
|
|
1012
|
+
* { message: message ?? `Agent log from "${agentName}" on ${host}`, source: 'ai-assistant' },
|
|
1013
|
+
* { attachments: [{ filename, data: logJson, contentType: 'application/json' }] },
|
|
1014
|
+
* );
|
|
1015
|
+
* // Wait for delivery: `captureFeedback` only queues the envelope. Without this the
|
|
1016
|
+
* // callback resolves at once and the button reports 'Sent' for envelopes Sentry
|
|
1017
|
+
* // dropped (oversize attachment, rate limit, offline).
|
|
1018
|
+
* if (!(await Sentry.flush(5000))) throw new Error('Sentry did not confirm delivery');
|
|
1019
|
+
* },
|
|
1020
|
+
* }
|
|
1021
|
+
* ```
|
|
1022
|
+
*
|
|
1023
|
+
* For an exact per-event outcome, listen for the client's `afterSendEvent` hook for the
|
|
1024
|
+
* returned event id and resolve or reject on its response status.
|
|
1025
|
+
*
|
|
1026
|
+
* By default the button first opens a small compose box where the user can type a short
|
|
1027
|
+
* note (`submission.message`); set `note: false` to send on the first click instead.
|
|
1028
|
+
*
|
|
1029
|
+
* @beta
|
|
1030
|
+
*/
|
|
1031
|
+
export declare interface ChatDebugLogSubmitConfig {
|
|
1032
|
+
/**
|
|
1033
|
+
* Deliver the log wherever reports should land, and SETTLE ONLY WHEN DELIVERY IS
|
|
1034
|
+
* KNOWN: a resolved promise flashes 'Sent', a rejected one (or a throw) shows
|
|
1035
|
+
* 'Failed — retry' and logs the cause. A fire-and-forget callback that returns before
|
|
1036
|
+
* the transport has answered makes the 'Sent' state meaningless — see the example
|
|
1037
|
+
* above. A callback that has not settled after `timeoutMs` is treated as failed.
|
|
1038
|
+
*/
|
|
1039
|
+
send: (submission: ChatDebugLogSubmission) => void | Promise<void>;
|
|
1040
|
+
/** Idle button label. Defaults to `'Send'`. */
|
|
1041
|
+
label?: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* Replaces the Agent log row's description. The default wording says the log goes "to
|
|
1044
|
+
* support" and that sending transmits the full lifetime log; a host that ships to a
|
|
1045
|
+
* third party (Sentry, a ticketing SaaS, its own endpoint) should name it here, since
|
|
1046
|
+
* the assistant has no way to know where `send` delivers.
|
|
1047
|
+
*/
|
|
1048
|
+
description?: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* Whether the Send button opens a compose box for a short user note before sending.
|
|
1051
|
+
* `true` (the default) or an object to customise the box; `false` to skip it and send
|
|
1052
|
+
* immediately with no `message`. Note that the compose box is also the only
|
|
1053
|
+
* confirmation step: with `false`, ONE click transmits the whole lifetime log.
|
|
1054
|
+
*/
|
|
1055
|
+
note?: boolean | ChatDebugLogNoteConfig;
|
|
1056
|
+
/**
|
|
1057
|
+
* How long `send` may take before the submission is treated as failed and the button
|
|
1058
|
+
* is released — a hanging transport must not wedge Send, Cancel and the note for the
|
|
1059
|
+
* rest of the page's life. Default 30000 (30s).
|
|
1060
|
+
*/
|
|
1061
|
+
timeoutMs?: number;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
953
1064
|
/**
|
|
954
1065
|
* The result returned by a driver after processing a user turn.
|
|
955
1066
|
*
|
|
@@ -1941,6 +2052,12 @@ export declare interface ChatUiConfig {
|
|
|
1941
2052
|
showNarration?: boolean | null;
|
|
1942
2053
|
/** Show a button to download the full chat history as JSON. */
|
|
1943
2054
|
allowDebugDownload?: boolean;
|
|
2055
|
+
/**
|
|
2056
|
+
* Show a Send button next to the debug-log Download button that hands the agent log
|
|
2057
|
+
* to the host's own reporting transport (Sentry, a support API, an upload endpoint —
|
|
2058
|
+
* whatever the callback does). See {@link ChatDebugLogSubmitConfig}.
|
|
2059
|
+
*/
|
|
2060
|
+
debugLogSubmit?: ChatDebugLogSubmitConfig;
|
|
1944
2061
|
/**
|
|
1945
2062
|
* Comma-separated list of accepted uploads: extensions (".txt,.md,.csv"), exact MIME types
|
|
1946
2063
|
* ("image/png"), or wildcards ("image/*"). If undefined or empty, file uploads are disabled.
|
|
@@ -1993,6 +2110,17 @@ export declare interface ChatUiConfig {
|
|
|
1993
2110
|
* - `null` / `undefined` — completely disabled, no UI control shown
|
|
1994
2111
|
*/
|
|
1995
2112
|
showAgentSwitchIndicator?: boolean | null;
|
|
2113
|
+
/**
|
|
2114
|
+
* When each message shows the time it was sent, next to the sender label.
|
|
2115
|
+
*
|
|
2116
|
+
* Unlike the toggle flags above this is on by default, so it does NOT follow their
|
|
2117
|
+
* `null`-means-disabled convention — it sets the DEFAULT the user sees, and the settings
|
|
2118
|
+
* control is offered either way. Set `'off'` to default it hidden.
|
|
2119
|
+
*
|
|
2120
|
+
* - `undefined` (default) — same as `'hover'`
|
|
2121
|
+
* - `'hover'` / `'always'` / `'off'` — see {@link TimestampDisplay}
|
|
2122
|
+
*/
|
|
2123
|
+
showTimestamps?: TimestampDisplay;
|
|
1996
2124
|
/**
|
|
1997
2125
|
* Show a context window usage indicator in the settings panel.
|
|
1998
2126
|
* Visible when the settings panel is open and token usage data is available.
|
|
@@ -3283,6 +3411,27 @@ export declare const SUPPORTED_ANTHROPIC_MODEL_IDS: readonly AnthropicModelId[];
|
|
|
3283
3411
|
/** @beta */
|
|
3284
3412
|
export declare const SUPPORTED_GEMINI_MODEL_IDS: readonly GeminiModelId[];
|
|
3285
3413
|
|
|
3414
|
+
/**
|
|
3415
|
+
* When a message's timestamp is visible in the transcript.
|
|
3416
|
+
*
|
|
3417
|
+
* - `'hover'` — revealed only while the pointer is over that message row.
|
|
3418
|
+
* - `'always'` — permanently visible.
|
|
3419
|
+
* - `'off'` — not rendered at all.
|
|
3420
|
+
*
|
|
3421
|
+
* Only the VISUAL treatment differs between `'hover'` and `'always'` — `'off'` is the only
|
|
3422
|
+
* value that removes the timestamp from the accessibility tree. In both visible modes a
|
|
3423
|
+
* screen reader announces an absolute date+time for every message, carried in text beside
|
|
3424
|
+
* the relative label; hover-gating is a paint-level effect (`opacity`) and assistive
|
|
3425
|
+
* technology has no hover, so there is no mode where a timestamp is present but silent.
|
|
3426
|
+
*
|
|
3427
|
+
* Note for hosts weighing `'hover'`: it keeps the transcript visually uncluttered, but it
|
|
3428
|
+
* does NOT make timestamps unobtrusive for screen-reader users, who hear one per message
|
|
3429
|
+
* either way. Choose `'off'` if that is the goal.
|
|
3430
|
+
*
|
|
3431
|
+
* @beta
|
|
3432
|
+
*/
|
|
3433
|
+
export declare type TimestampDisplay = 'off' | 'hover' | 'always';
|
|
3434
|
+
|
|
3286
3435
|
/**
|
|
3287
3436
|
* What one request cost, and what prompt caching saved on it.
|
|
3288
3437
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-ai",
|
|
3
3
|
"description": "Genesis Foundation AI - Provider-agnostic AI configuration and shared utilities",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.27.0-agent-log-submit.3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@genesislcap/foundation-testing": "15.
|
|
56
|
-
"@genesislcap/genx": "15.
|
|
57
|
-
"@genesislcap/rollup-builder": "15.
|
|
58
|
-
"@genesislcap/ts-builder": "15.
|
|
59
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
60
|
-
"@genesislcap/vite-builder": "15.
|
|
61
|
-
"@genesislcap/webpack-builder": "15.
|
|
55
|
+
"@genesislcap/foundation-testing": "15.27.0-agent-log-submit.3",
|
|
56
|
+
"@genesislcap/genx": "15.27.0-agent-log-submit.3",
|
|
57
|
+
"@genesislcap/rollup-builder": "15.27.0-agent-log-submit.3",
|
|
58
|
+
"@genesislcap/ts-builder": "15.27.0-agent-log-submit.3",
|
|
59
|
+
"@genesislcap/uvu-playwright-builder": "15.27.0-agent-log-submit.3",
|
|
60
|
+
"@genesislcap/vite-builder": "15.27.0-agent-log-submit.3",
|
|
61
|
+
"@genesislcap/webpack-builder": "15.27.0-agent-log-submit.3"
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
|
-
"@genesislcap/foundation-logger": "15.
|
|
65
|
-
"@genesislcap/foundation-utils": "15.
|
|
64
|
+
"@genesislcap/foundation-logger": "15.27.0-agent-log-submit.3",
|
|
65
|
+
"@genesislcap/foundation-utils": "15.27.0-agent-log-submit.3",
|
|
66
66
|
"@microsoft/fast-foundation": "2.50.0"
|
|
67
67
|
},
|
|
68
68
|
"repository": {
|