@genesislcap/ai-assistant 15.23.1-agent-rules.1 → 15.23.1-agent-log-submit.2

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.
@@ -8518,6 +8518,37 @@
8518
8518
  "isProtected": false,
8519
8519
  "isAbstract": false
8520
8520
  },
8521
+ {
8522
+ "kind": "Method",
8523
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#cancelDebugLogCompose:member(1)",
8524
+ "docComment": "/**\n * Close the compose box and discard the typed note.\n */\n",
8525
+ "excerptTokens": [
8526
+ {
8527
+ "kind": "Content",
8528
+ "text": "cancelDebugLogCompose(): "
8529
+ },
8530
+ {
8531
+ "kind": "Content",
8532
+ "text": "void"
8533
+ },
8534
+ {
8535
+ "kind": "Content",
8536
+ "text": ";"
8537
+ }
8538
+ ],
8539
+ "isStatic": false,
8540
+ "returnTypeTokenRange": {
8541
+ "startIndex": 1,
8542
+ "endIndex": 2
8543
+ },
8544
+ "releaseTag": "Beta",
8545
+ "isProtected": false,
8546
+ "overloadIndex": 1,
8547
+ "parameters": [],
8548
+ "isOptional": false,
8549
+ "isAbstract": false,
8550
+ "name": "cancelDebugLogCompose"
8551
+ },
8521
8552
  {
8522
8553
  "kind": "Property",
8523
8554
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#chatConfig:member",
@@ -9238,6 +9269,222 @@
9238
9269
  "isProtected": false,
9239
9270
  "isAbstract": false
9240
9271
  },
9272
+ {
9273
+ "kind": "Property",
9274
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#debugLogComposeOpen:member",
9275
+ "docComment": "/**\n * Whether the agent-log compose box (note + Send/Cancel) is open. Opened by the row's Send button when `debugLogSubmit.note` is not `false`; closed by Cancel or a successful send. Stays open after a failure so the typed note is not lost.\n */\n",
9276
+ "excerptTokens": [
9277
+ {
9278
+ "kind": "Content",
9279
+ "text": "debugLogComposeOpen: "
9280
+ },
9281
+ {
9282
+ "kind": "Content",
9283
+ "text": "boolean"
9284
+ },
9285
+ {
9286
+ "kind": "Content",
9287
+ "text": ";"
9288
+ }
9289
+ ],
9290
+ "isReadonly": false,
9291
+ "isOptional": false,
9292
+ "releaseTag": "Beta",
9293
+ "name": "debugLogComposeOpen",
9294
+ "propertyTypeTokenRange": {
9295
+ "startIndex": 1,
9296
+ "endIndex": 2
9297
+ },
9298
+ "isStatic": false,
9299
+ "isProtected": false,
9300
+ "isAbstract": false
9301
+ },
9302
+ {
9303
+ "kind": "Property",
9304
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#debugLogNote:member",
9305
+ "docComment": "/**\n * The note typed in the compose box, raw (trimmed only at submit time).\n */\n",
9306
+ "excerptTokens": [
9307
+ {
9308
+ "kind": "Content",
9309
+ "text": "debugLogNote: "
9310
+ },
9311
+ {
9312
+ "kind": "Content",
9313
+ "text": "string"
9314
+ },
9315
+ {
9316
+ "kind": "Content",
9317
+ "text": ";"
9318
+ }
9319
+ ],
9320
+ "isReadonly": false,
9321
+ "isOptional": false,
9322
+ "releaseTag": "Beta",
9323
+ "name": "debugLogNote",
9324
+ "propertyTypeTokenRange": {
9325
+ "startIndex": 1,
9326
+ "endIndex": 2
9327
+ },
9328
+ "isStatic": false,
9329
+ "isProtected": false,
9330
+ "isAbstract": false
9331
+ },
9332
+ {
9333
+ "kind": "Property",
9334
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#debugLogNoteConfig:member",
9335
+ "docComment": "/**\n * The resolved compose-box settings for the agent-log Send button, or `null` when the host opted out (`debugLogSubmit.note: false`) and the button sends on first click.\n */\n",
9336
+ "excerptTokens": [
9337
+ {
9338
+ "kind": "Content",
9339
+ "text": "get debugLogNoteConfig(): "
9340
+ },
9341
+ {
9342
+ "kind": "Reference",
9343
+ "text": "ResolvedDebugLogNoteConfig",
9344
+ "canonicalReference": "@genesislcap/ai-assistant!ResolvedDebugLogNoteConfig:interface"
9345
+ },
9346
+ {
9347
+ "kind": "Content",
9348
+ "text": " | null"
9349
+ },
9350
+ {
9351
+ "kind": "Content",
9352
+ "text": ";"
9353
+ }
9354
+ ],
9355
+ "isReadonly": true,
9356
+ "isOptional": false,
9357
+ "releaseTag": "Beta",
9358
+ "name": "debugLogNoteConfig",
9359
+ "propertyTypeTokenRange": {
9360
+ "startIndex": 1,
9361
+ "endIndex": 3
9362
+ },
9363
+ "isStatic": false,
9364
+ "isProtected": false,
9365
+ "isAbstract": false
9366
+ },
9367
+ {
9368
+ "kind": "Property",
9369
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#debugLogNoteCounter:member",
9370
+ "docComment": "/**\n * Live \"typed / max\" counter for the compose box.\n */\n",
9371
+ "excerptTokens": [
9372
+ {
9373
+ "kind": "Content",
9374
+ "text": "get debugLogNoteCounter(): "
9375
+ },
9376
+ {
9377
+ "kind": "Content",
9378
+ "text": "string"
9379
+ },
9380
+ {
9381
+ "kind": "Content",
9382
+ "text": ";"
9383
+ }
9384
+ ],
9385
+ "isReadonly": true,
9386
+ "isOptional": false,
9387
+ "releaseTag": "Beta",
9388
+ "name": "debugLogNoteCounter",
9389
+ "propertyTypeTokenRange": {
9390
+ "startIndex": 1,
9391
+ "endIndex": 2
9392
+ },
9393
+ "isStatic": false,
9394
+ "isProtected": false,
9395
+ "isAbstract": false
9396
+ },
9397
+ {
9398
+ "kind": "Property",
9399
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#debugLogNoteEl:member",
9400
+ "docComment": "/**\n * Bound to the compose box's text-area via the template ref, for focus on open.\n */\n",
9401
+ "excerptTokens": [
9402
+ {
9403
+ "kind": "Content",
9404
+ "text": "debugLogNoteEl?: "
9405
+ },
9406
+ {
9407
+ "kind": "Reference",
9408
+ "text": "HTMLElement",
9409
+ "canonicalReference": "!HTMLElement:interface"
9410
+ },
9411
+ {
9412
+ "kind": "Content",
9413
+ "text": ";"
9414
+ }
9415
+ ],
9416
+ "isReadonly": false,
9417
+ "isOptional": true,
9418
+ "releaseTag": "Beta",
9419
+ "name": "debugLogNoteEl",
9420
+ "propertyTypeTokenRange": {
9421
+ "startIndex": 1,
9422
+ "endIndex": 2
9423
+ },
9424
+ "isStatic": false,
9425
+ "isProtected": false,
9426
+ "isAbstract": false
9427
+ },
9428
+ {
9429
+ "kind": "Property",
9430
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#debugLogSendDisabled:member",
9431
+ "docComment": "/**\n * Whether the compose box's Send button is inert: a send is already in flight, or the host made the note required and it is still blank.\n */\n",
9432
+ "excerptTokens": [
9433
+ {
9434
+ "kind": "Content",
9435
+ "text": "get debugLogSendDisabled(): "
9436
+ },
9437
+ {
9438
+ "kind": "Content",
9439
+ "text": "boolean"
9440
+ },
9441
+ {
9442
+ "kind": "Content",
9443
+ "text": ";"
9444
+ }
9445
+ ],
9446
+ "isReadonly": true,
9447
+ "isOptional": false,
9448
+ "releaseTag": "Beta",
9449
+ "name": "debugLogSendDisabled",
9450
+ "propertyTypeTokenRange": {
9451
+ "startIndex": 1,
9452
+ "endIndex": 2
9453
+ },
9454
+ "isStatic": false,
9455
+ "isProtected": false,
9456
+ "isAbstract": false
9457
+ },
9458
+ {
9459
+ "kind": "Property",
9460
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#debugLogSubmitResult:member",
9461
+ "docComment": "/**\n * Outcome of the last log submission, shown briefly on the button ('Sent' / 'Failed — retry') then cleared by `setDebugLogSubmitResult`'s timer. `null` when idle.\n */\n",
9462
+ "excerptTokens": [
9463
+ {
9464
+ "kind": "Content",
9465
+ "text": "debugLogSubmitResult: "
9466
+ },
9467
+ {
9468
+ "kind": "Content",
9469
+ "text": "'sent' | 'error' | null"
9470
+ },
9471
+ {
9472
+ "kind": "Content",
9473
+ "text": ";"
9474
+ }
9475
+ ],
9476
+ "isReadonly": false,
9477
+ "isOptional": false,
9478
+ "releaseTag": "Beta",
9479
+ "name": "debugLogSubmitResult",
9480
+ "propertyTypeTokenRange": {
9481
+ "startIndex": 1,
9482
+ "endIndex": 2
9483
+ },
9484
+ "isStatic": false,
9485
+ "isProtected": false,
9486
+ "isAbstract": false
9487
+ },
9241
9488
  {
9242
9489
  "kind": "Property",
9243
9490
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#debugRedux:member",
@@ -10729,6 +10976,37 @@
10729
10976
  "isAbstract": false,
10730
10977
  "name": "onSettingsModalTabsChange"
10731
10978
  },
10979
+ {
10980
+ "kind": "Method",
10981
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#openDebugLogCompose:member(1)",
10982
+ "docComment": "/**\n * The row's Send button. With a compose box configured (the default) it opens the box and focuses the note so the user can caption the log; with `note: false` it sends straight away, as before.\n */\n",
10983
+ "excerptTokens": [
10984
+ {
10985
+ "kind": "Content",
10986
+ "text": "openDebugLogCompose(): "
10987
+ },
10988
+ {
10989
+ "kind": "Content",
10990
+ "text": "void"
10991
+ },
10992
+ {
10993
+ "kind": "Content",
10994
+ "text": ";"
10995
+ }
10996
+ ],
10997
+ "isStatic": false,
10998
+ "returnTypeTokenRange": {
10999
+ "startIndex": 1,
11000
+ "endIndex": 2
11001
+ },
11002
+ "releaseTag": "Beta",
11003
+ "isProtected": false,
11004
+ "overloadIndex": 1,
11005
+ "parameters": [],
11006
+ "isOptional": false,
11007
+ "isAbstract": false,
11008
+ "name": "openDebugLogCompose"
11009
+ },
10732
11010
  {
10733
11011
  "kind": "Method",
10734
11012
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#openSettingsModal:member(1)",
@@ -12395,6 +12673,36 @@
12395
12673
  "isAbstract": false,
12396
12674
  "name": "setSettingsModalTab"
12397
12675
  },
12676
+ {
12677
+ "kind": "Property",
12678
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#settingsAgentLogSectionVisible:member",
12679
+ "docComment": "/**\n * Whether the settings \"Agent log\" section renders — shown when either action is enabled: the download button (`allowDebugDownload`) or the host-transport Send button (`debugLogSubmit`). Each button is additionally gated on its own flag inside the section, so a host can enable one without the other.\n */\n",
12680
+ "excerptTokens": [
12681
+ {
12682
+ "kind": "Content",
12683
+ "text": "get settingsAgentLogSectionVisible(): "
12684
+ },
12685
+ {
12686
+ "kind": "Content",
12687
+ "text": "boolean"
12688
+ },
12689
+ {
12690
+ "kind": "Content",
12691
+ "text": ";"
12692
+ }
12693
+ ],
12694
+ "isReadonly": true,
12695
+ "isOptional": false,
12696
+ "releaseTag": "Beta",
12697
+ "name": "settingsAgentLogSectionVisible",
12698
+ "propertyTypeTokenRange": {
12699
+ "startIndex": 1,
12700
+ "endIndex": 2
12701
+ },
12702
+ "isStatic": false,
12703
+ "isProtected": false,
12704
+ "isAbstract": false
12705
+ },
12398
12706
  {
12399
12707
  "kind": "Property",
12400
12708
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#settingsAppSectionVisible:member",
@@ -13668,6 +13976,42 @@
13668
13976
  "isProtected": false,
13669
13977
  "isAbstract": false
13670
13978
  },
13979
+ {
13980
+ "kind": "Method",
13981
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#submitDebugLog:member(1)",
13982
+ "docComment": "/**\n * Hand the agent log to the host's `ui.debugLogSubmit.send` callback — the Send button next to Download. Reuses `buildDownloadLog`, so the submitted log is byte-identical to what Download saves (lifetime-stitched when the provider persists diagnostics). The assistant is vendor-agnostic: the callback owns the transport (Sentry feedback, a support API, an upload endpoint). Outcome lands in `debugLogSubmitResult` so the button can flash 'Sent'/'Failed'; failures also go to the logger with the cause.\n */\n",
13983
+ "excerptTokens": [
13984
+ {
13985
+ "kind": "Content",
13986
+ "text": "submitDebugLog(): "
13987
+ },
13988
+ {
13989
+ "kind": "Reference",
13990
+ "text": "Promise",
13991
+ "canonicalReference": "!Promise:interface"
13992
+ },
13993
+ {
13994
+ "kind": "Content",
13995
+ "text": "<void>"
13996
+ },
13997
+ {
13998
+ "kind": "Content",
13999
+ "text": ";"
14000
+ }
14001
+ ],
14002
+ "isStatic": false,
14003
+ "returnTypeTokenRange": {
14004
+ "startIndex": 1,
14005
+ "endIndex": 3
14006
+ },
14007
+ "releaseTag": "Beta",
14008
+ "isProtected": false,
14009
+ "overloadIndex": 1,
14010
+ "parameters": [],
14011
+ "isOptional": false,
14012
+ "isAbstract": false,
14013
+ "name": "submitDebugLog"
14014
+ },
13671
14015
  {
13672
14016
  "kind": "Method",
13673
14017
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#submitMessage:member(1)",
@@ -13739,6 +14083,36 @@
13739
14083
  "isAbstract": false,
13740
14084
  "name": "submitMessage"
13741
14085
  },
14086
+ {
14087
+ "kind": "Property",
14088
+ "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#submittingDebugLog:member",
14089
+ "docComment": "/**\n * True while `submitDebugLog` is building and handing off the log. Same role as `downloadingDebugLog` for the Send button: the lifetime-stitch and the host's `send` callback are async, so the button needs a visible in-flight state.\n */\n",
14090
+ "excerptTokens": [
14091
+ {
14092
+ "kind": "Content",
14093
+ "text": "submittingDebugLog: "
14094
+ },
14095
+ {
14096
+ "kind": "Content",
14097
+ "text": "boolean"
14098
+ },
14099
+ {
14100
+ "kind": "Content",
14101
+ "text": ";"
14102
+ }
14103
+ ],
14104
+ "isReadonly": false,
14105
+ "isOptional": false,
14106
+ "releaseTag": "Beta",
14107
+ "name": "submittingDebugLog",
14108
+ "propertyTypeTokenRange": {
14109
+ "startIndex": 1,
14110
+ "endIndex": 2
14111
+ },
14112
+ "isStatic": false,
14113
+ "isProtected": false,
14114
+ "isAbstract": false
14115
+ },
13742
14116
  {
13743
14117
  "kind": "Property",
13744
14118
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#suggestionsState:member",
@@ -17250,6 +17624,105 @@
17250
17624
  "endIndex": 0
17251
17625
  }
17252
17626
  },
17627
+ {
17628
+ "kind": "Interface",
17629
+ "canonicalReference": "@genesislcap/ai-assistant!ResolvedDebugLogNoteConfig:interface",
17630
+ "docComment": "/**\n * `ChatDebugLogNoteConfig` with every option resolved.\n */\n",
17631
+ "excerptTokens": [
17632
+ {
17633
+ "kind": "Content",
17634
+ "text": "export interface ResolvedDebugLogNoteConfig "
17635
+ }
17636
+ ],
17637
+ "fileUrlPath": "src/utils/resolve-debug-log-note.ts",
17638
+ "releaseTag": "Public",
17639
+ "name": "ResolvedDebugLogNoteConfig",
17640
+ "preserveMemberOrder": false,
17641
+ "members": [
17642
+ {
17643
+ "kind": "PropertySignature",
17644
+ "canonicalReference": "@genesislcap/ai-assistant!ResolvedDebugLogNoteConfig#maxLength:member",
17645
+ "docComment": "",
17646
+ "excerptTokens": [
17647
+ {
17648
+ "kind": "Content",
17649
+ "text": "maxLength: "
17650
+ },
17651
+ {
17652
+ "kind": "Content",
17653
+ "text": "number"
17654
+ },
17655
+ {
17656
+ "kind": "Content",
17657
+ "text": ";"
17658
+ }
17659
+ ],
17660
+ "isReadonly": false,
17661
+ "isOptional": false,
17662
+ "releaseTag": "Public",
17663
+ "name": "maxLength",
17664
+ "propertyTypeTokenRange": {
17665
+ "startIndex": 1,
17666
+ "endIndex": 2
17667
+ }
17668
+ },
17669
+ {
17670
+ "kind": "PropertySignature",
17671
+ "canonicalReference": "@genesislcap/ai-assistant!ResolvedDebugLogNoteConfig#placeholder:member",
17672
+ "docComment": "",
17673
+ "excerptTokens": [
17674
+ {
17675
+ "kind": "Content",
17676
+ "text": "placeholder: "
17677
+ },
17678
+ {
17679
+ "kind": "Content",
17680
+ "text": "string"
17681
+ },
17682
+ {
17683
+ "kind": "Content",
17684
+ "text": ";"
17685
+ }
17686
+ ],
17687
+ "isReadonly": false,
17688
+ "isOptional": false,
17689
+ "releaseTag": "Public",
17690
+ "name": "placeholder",
17691
+ "propertyTypeTokenRange": {
17692
+ "startIndex": 1,
17693
+ "endIndex": 2
17694
+ }
17695
+ },
17696
+ {
17697
+ "kind": "PropertySignature",
17698
+ "canonicalReference": "@genesislcap/ai-assistant!ResolvedDebugLogNoteConfig#required:member",
17699
+ "docComment": "",
17700
+ "excerptTokens": [
17701
+ {
17702
+ "kind": "Content",
17703
+ "text": "required: "
17704
+ },
17705
+ {
17706
+ "kind": "Content",
17707
+ "text": "boolean"
17708
+ },
17709
+ {
17710
+ "kind": "Content",
17711
+ "text": ";"
17712
+ }
17713
+ ],
17714
+ "isReadonly": false,
17715
+ "isOptional": false,
17716
+ "releaseTag": "Public",
17717
+ "name": "required",
17718
+ "propertyTypeTokenRange": {
17719
+ "startIndex": 1,
17720
+ "endIndex": 2
17721
+ }
17722
+ }
17723
+ ],
17724
+ "extendsTokenRanges": []
17725
+ },
17253
17726
  {
17254
17727
  "kind": "TypeAlias",
17255
17728
  "canonicalReference": "@genesislcap/ai-assistant!ResponseSchemaInput:type",
@@ -3715,6 +3715,29 @@ export declare class FoundationAiAssistant extends GenesisElement {
3715
3715
  * element has its own settings modal.
3716
3716
  */
3717
3717
  downloadingDebugLog: boolean;
3718
+ /**
3719
+ * True while `submitDebugLog` is building and handing off the log. Same role as
3720
+ * `downloadingDebugLog` for the Send button: the lifetime-stitch and the host's
3721
+ * `send` callback are async, so the button needs a visible in-flight state.
3722
+ */
3723
+ submittingDebugLog: boolean;
3724
+ /**
3725
+ * Outcome of the last log submission, shown briefly on the button ('Sent' /
3726
+ * 'Failed — retry') then cleared by `setDebugLogSubmitResult`'s timer. `null` when idle.
3727
+ */
3728
+ debugLogSubmitResult: 'sent' | 'error' | null;
3729
+ /** Timer that clears `debugLogSubmitResult` back to idle. */
3730
+ private debugLogSubmitResultTimer?;
3731
+ /**
3732
+ * Whether the agent-log compose box (note + Send/Cancel) is open. Opened by the row's
3733
+ * Send button when `debugLogSubmit.note` is not `false`; closed by Cancel or a
3734
+ * successful send. Stays open after a failure so the typed note is not lost.
3735
+ */
3736
+ debugLogComposeOpen: boolean;
3737
+ /** The note typed in the compose box, raw (trimmed only at submit time). */
3738
+ debugLogNote: string;
3739
+ /** Bound to the compose box's text-area via the template ref, for focus on open. */
3740
+ debugLogNoteEl?: HTMLElement;
3718
3741
  /** Active tab inside the settings modal. */
3719
3742
  settingsModalTab: SettingsModalTab;
3720
3743
  /** Bound to the design-system modal via the template ref. */
@@ -4561,6 +4584,25 @@ export declare class FoundationAiAssistant extends GenesisElement {
4561
4584
  get settingsCostTabVisible(): boolean;
4562
4585
  /** Whether session token usage should render on the Usage tab. */
4563
4586
  get settingsSessionTokensVisible(): boolean;
4587
+ /**
4588
+ * Whether the settings "Agent log" section renders — shown when either action is
4589
+ * enabled: the download button (`allowDebugDownload`) or the host-transport Send
4590
+ * button (`debugLogSubmit`). Each button is additionally gated on its own flag
4591
+ * inside the section, so a host can enable one without the other.
4592
+ */
4593
+ get settingsAgentLogSectionVisible(): boolean;
4594
+ /**
4595
+ * The resolved compose-box settings for the agent-log Send button, or `null` when the
4596
+ * host opted out (`debugLogSubmit.note: false`) and the button sends on first click.
4597
+ */
4598
+ get debugLogNoteConfig(): ResolvedDebugLogNoteConfig | null;
4599
+ /**
4600
+ * Whether the compose box's Send button is inert: a send is already in flight, or the
4601
+ * host made the note required and it is still blank.
4602
+ */
4603
+ get debugLogSendDisabled(): boolean;
4604
+ /** Live "typed / max" counter for the compose box. */
4605
+ get debugLogNoteCounter(): string;
4564
4606
  /** Whether the chat header (and settings cog) should render. */
4565
4607
  get settingsCogVisible(): boolean;
4566
4608
  openSettingsModal(): void;
@@ -4641,6 +4683,26 @@ export declare class FoundationAiAssistant extends GenesisElement {
4641
4683
  */
4642
4684
  private buildMetaSnapshot;
4643
4685
  downloadDebugLog(): Promise<void>;
4686
+ /**
4687
+ * Hand the agent log to the host's `ui.debugLogSubmit.send` callback — the Send
4688
+ * button next to Download. Reuses `buildDownloadLog`, so the submitted log is
4689
+ * byte-identical to what Download saves (lifetime-stitched when the provider
4690
+ * persists diagnostics). The assistant is vendor-agnostic: the callback owns the
4691
+ * transport (Sentry feedback, a support API, an upload endpoint). Outcome lands in
4692
+ * `debugLogSubmitResult` so the button can flash 'Sent'/'Failed'; failures also go
4693
+ * to the logger with the cause.
4694
+ */
4695
+ submitDebugLog(): Promise<void>;
4696
+ /**
4697
+ * The row's Send button. With a compose box configured (the default) it opens the box
4698
+ * and focuses the note so the user can caption the log; with `note: false` it sends
4699
+ * straight away, as before.
4700
+ */
4701
+ openDebugLogCompose(): void;
4702
+ /** Close the compose box and discard the typed note. */
4703
+ cancelDebugLogCompose(): void;
4704
+ /** Flash the submit outcome on the Send button, then fall back to idle. */
4705
+ private setDebugLogSubmitResult;
4644
4706
  /**
4645
4707
  * The log to download (GENC-1351 §5.8). When the provider persists diagnostics,
4646
4708
  * stitch the **whole lifetime** stream (every page load) rather than just the
@@ -5462,6 +5524,13 @@ declare interface ResolvedCostHistoryConfig {
5462
5524
  summaryHint?: string;
5463
5525
  }
5464
5526
 
5527
+ /** `ChatDebugLogNoteConfig` with every option resolved. */
5528
+ export declare interface ResolvedDebugLogNoteConfig {
5529
+ placeholder: string;
5530
+ required: boolean;
5531
+ maxLength: number;
5532
+ }
5533
+
5465
5534
  /**
5466
5535
  * Structured-output schema for an agent. When set, the model's final (non-tool) answer is
5467
5536
  * constrained to this JSON Schema instead of free text. Either a static schema or a function