@aparte/core 0.29.2 → 0.29.4

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.
@@ -7076,441 +7076,82 @@
7076
7076
  },
7077
7077
  {
7078
7078
  "kind": "javascript-module",
7079
- "path": "src/components/index.ts",
7079
+ "path": "src/config/action-provider.ts",
7080
7080
  "declarations": [],
7081
- "exports": [
7082
- {
7083
- "kind": "js",
7084
- "name": "AparteChat",
7085
- "declaration": {
7086
- "name": "AparteChat",
7087
- "module": "./chat/index.js"
7088
- }
7089
- },
7090
- {
7091
- "kind": "js",
7092
- "name": "AparteChatBubble",
7093
- "declaration": {
7094
- "name": "AparteChatBubble",
7095
- "module": "./bubble/index.js"
7096
- }
7097
- },
7098
- {
7099
- "kind": "js",
7100
- "name": "populateBubbleFromMessage",
7101
- "declaration": {
7102
- "name": "populateBubbleFromMessage",
7103
- "module": "./bubble/index.js"
7104
- }
7105
- },
7106
- {
7107
- "kind": "js",
7108
- "name": "SyncableBubble",
7109
- "declaration": {
7110
- "name": "SyncableBubble",
7111
- "module": "./bubble/index.js"
7112
- }
7113
- },
7114
- {
7115
- "kind": "js",
7116
- "name": "AparteChatStatus",
7117
- "declaration": {
7118
- "name": "AparteChatStatus",
7119
- "module": "./status/index.js"
7120
- }
7121
- },
7122
- {
7123
- "kind": "js",
7124
- "name": "AparteChatViewport",
7125
- "declaration": {
7126
- "name": "AparteChatViewport",
7127
- "module": "./viewport/index.js"
7128
- }
7129
- },
7130
- {
7131
- "kind": "js",
7132
- "name": "AparteComposer",
7133
- "declaration": {
7134
- "name": "AparteComposer",
7135
- "module": "./composer/index.js"
7136
- }
7137
- },
7138
- {
7139
- "kind": "js",
7140
- "name": "AparteComposerInput",
7141
- "declaration": {
7142
- "name": "AparteComposerInput",
7143
- "module": "./composer/index.js"
7144
- }
7145
- },
7146
- {
7147
- "kind": "js",
7148
- "name": "AparteComposerSend",
7149
- "declaration": {
7150
- "name": "AparteComposerSend",
7151
- "module": "./composer/index.js"
7152
- }
7153
- },
7154
- {
7155
- "kind": "js",
7156
- "name": "AparteComposerCancel",
7157
- "declaration": {
7158
- "name": "AparteComposerCancel",
7159
- "module": "./composer/index.js"
7160
- }
7161
- },
7162
- {
7163
- "kind": "js",
7164
- "name": "AparteComposerAttachments",
7165
- "declaration": {
7166
- "name": "AparteComposerAttachments",
7167
- "module": "./composer/index.js"
7168
- }
7169
- },
7170
- {
7171
- "kind": "js",
7172
- "name": "AparteComposerAddAttachment",
7173
- "declaration": {
7174
- "name": "AparteComposerAddAttachment",
7175
- "module": "./composer/index.js"
7176
- }
7177
- },
7178
- {
7179
- "kind": "js",
7180
- "name": "AparteComposerAction",
7181
- "declaration": {
7182
- "name": "AparteComposerAction",
7183
- "module": "./composer/index.js"
7184
- }
7185
- },
7186
- {
7187
- "kind": "js",
7188
- "name": "AparteComposerToolbar",
7189
- "declaration": {
7190
- "name": "AparteComposerToolbar",
7191
- "module": "./composer/index.js"
7192
- }
7193
- },
7194
- {
7195
- "kind": "js",
7196
- "name": "AparteComposerEventMap",
7197
- "declaration": {
7198
- "name": "AparteComposerEventMap",
7199
- "module": "./composer/index.js"
7200
- }
7201
- },
7202
- {
7203
- "kind": "js",
7204
- "name": "AparteComposerEventType",
7205
- "declaration": {
7206
- "name": "AparteComposerEventType",
7207
- "module": "./composer/index.js"
7208
- }
7209
- },
7210
- {
7211
- "kind": "js",
7212
- "name": "AparteComposerState",
7213
- "declaration": {
7214
- "name": "AparteComposerState",
7215
- "module": "./composer/index.js"
7216
- }
7217
- },
7218
- {
7219
- "kind": "js",
7220
- "name": "AparteComposerChangeEventDetail",
7221
- "declaration": {
7222
- "name": "AparteComposerChangeEventDetail",
7223
- "module": "./composer/index.js"
7224
- }
7225
- },
7226
- {
7227
- "kind": "js",
7228
- "name": "AparteComposerPanelMode",
7229
- "declaration": {
7230
- "name": "AparteComposerPanelMode",
7231
- "module": "./composer/index.js"
7232
- }
7233
- },
7081
+ "exports": []
7082
+ },
7083
+ {
7084
+ "kind": "javascript-module",
7085
+ "path": "src/config/aparte-config.ts",
7086
+ "declarations": [
7234
7087
  {
7235
- "kind": "js",
7236
- "name": "AparteActionClickEventDetail",
7237
- "declaration": {
7238
- "name": "AparteActionClickEventDetail",
7239
- "module": "./composer/index.js"
7240
- }
7088
+ "kind": "variable",
7089
+ "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
7090
+ "type": {
7091
+ "text": "{\n copy: false,\n retry: false,\n edit: false,\n feedback: false,\n info: false,\n}"
7092
+ },
7093
+ "default": "{ copy: false, retry: false, edit: false, feedback: false, info: false, }",
7094
+ "description": "The bubble-action defaults — all off: a message carries no button until the app asks for one.\n\nRetry and edit only do something when a host (`AparteClient`) re-sends and rewrites,\nand feedback/info only when the app listens for `aparte-feedback` /\n`aparte-message-info`; rendering them unconditionally showed dead buttons in every\ndisplay-only integration — ours included, which is how we found it. Copy is the one\ncore could honor alone, and it is off too: a help widget or a support chat is read,\nnot quoted, and a chat product that wants it turns it on in one line\n(`setBubbleActions({ copy: true })`).\n\nExported so a consumer can read the defaults instead of hard-coding them."
7241
7095
  },
7242
7096
  {
7243
- "kind": "js",
7244
- "name": "AparteConversationList",
7245
- "declaration": {
7246
- "name": "AparteConversationList",
7247
- "module": "./conversation-list/index.js"
7248
- }
7097
+ "kind": "variable",
7098
+ "name": "APARTE_DEFAULT_HOST_HANDLERS",
7099
+ "type": {
7100
+ "text": "{\n attachmentPreview: false,\n filePreview: false,\n}"
7101
+ },
7102
+ "default": "{ attachmentPreview: false, filePreview: false, }",
7103
+ "description": "The host-handler declarations — nothing declared.\n\nSame rule as APARTE_DEFAULT_BUBBLE_ACTIONS, applied outside the action bar: an\nimage tile you can click is a request core forwards to the app. Undeclared, it is\nnot rendered (and the tile is not even signalled as clickable) instead of doing\nnothing."
7249
7104
  },
7250
7105
  {
7251
- "kind": "js",
7252
- "name": "AparteConversationListItem",
7253
- "declaration": {
7254
- "name": "AparteConversationListItem",
7255
- "module": "./conversation-list/index.js"
7256
- }
7106
+ "kind": "function",
7107
+ "name": "renderingVersionOf",
7108
+ "return": {
7109
+ "type": {
7110
+ "text": "number"
7111
+ }
7112
+ },
7113
+ "parameters": [
7114
+ {
7115
+ "name": "cfg",
7116
+ "type": {
7117
+ "text": "AparteConfig"
7118
+ }
7119
+ }
7120
+ ]
7257
7121
  },
7258
7122
  {
7259
- "kind": "js",
7260
- "name": "AparteConversationSelectDetail",
7261
- "declaration": {
7262
- "name": "AparteConversationSelectDetail",
7263
- "module": "./conversation-list/index.js"
7264
- }
7123
+ "kind": "function",
7124
+ "name": "onRenderersChange",
7125
+ "return": {
7126
+ "type": {
7127
+ "text": "() => void"
7128
+ }
7129
+ },
7130
+ "parameters": [
7131
+ {
7132
+ "name": "listener",
7133
+ "type": {
7134
+ "text": "(cfg: AparteConfig) => void"
7135
+ }
7136
+ }
7137
+ ]
7265
7138
  },
7266
7139
  {
7267
- "kind": "js",
7268
- "name": "AparteConversationDeleteDetail",
7269
- "declaration": {
7270
- "name": "AparteConversationDeleteDetail",
7271
- "module": "./conversation-list/index.js"
7272
- }
7273
- },
7274
- {
7275
- "kind": "js",
7276
- "name": "AparteConversationArchiveDetail",
7277
- "declaration": {
7278
- "name": "AparteConversationArchiveDetail",
7279
- "module": "./conversation-list/index.js"
7280
- }
7281
- },
7282
- {
7283
- "kind": "js",
7284
- "name": "AparteConversationPinDetail",
7285
- "declaration": {
7286
- "name": "AparteConversationPinDetail",
7287
- "module": "./conversation-list/index.js"
7288
- }
7289
- },
7290
- {
7291
- "kind": "js",
7292
- "name": "AparteConversationRenameDetail",
7293
- "declaration": {
7294
- "name": "AparteConversationRenameDetail",
7295
- "module": "./conversation-list/index.js"
7296
- }
7297
- },
7298
- {
7299
- "kind": "js",
7300
- "name": "AparteConversationStatus",
7301
- "declaration": {
7302
- "name": "AparteConversationStatus",
7303
- "module": "./conversation-list/index.js"
7304
- }
7305
- },
7306
- {
7307
- "kind": "js",
7308
- "name": "AparteConversationStatusDetail",
7309
- "declaration": {
7310
- "name": "AparteConversationStatusDetail",
7311
- "module": "./conversation-list/index.js"
7312
- }
7313
- },
7314
- {
7315
- "kind": "js",
7316
- "name": "AparteSuggestions",
7317
- "declaration": {
7318
- "name": "AparteSuggestions",
7319
- "module": "./suggestions/index.js"
7320
- }
7321
- },
7322
- {
7323
- "kind": "js",
7324
- "name": "AparteSuggestion",
7325
- "declaration": {
7326
- "name": "AparteSuggestion",
7327
- "module": "./suggestions/index.js"
7328
- }
7329
- },
7330
- {
7331
- "kind": "js",
7332
- "name": "AparteSuggestionEventDetail",
7333
- "declaration": {
7334
- "name": "AparteSuggestionEventDetail",
7335
- "module": "./suggestions/index.js"
7336
- }
7337
- },
7338
- {
7339
- "kind": "js",
7340
- "name": "AparteContext",
7341
- "declaration": {
7342
- "name": "AparteContext",
7343
- "module": "./context/index.js"
7344
- }
7345
- },
7346
- {
7347
- "kind": "js",
7348
- "name": "AparteContextLevel",
7349
- "declaration": {
7350
- "name": "AparteContextLevel",
7351
- "module": "./context/index.js"
7352
- }
7353
- },
7354
- {
7355
- "kind": "js",
7356
- "name": "AparteContextThresholdEventDetail",
7357
- "declaration": {
7358
- "name": "AparteContextThresholdEventDetail",
7359
- "module": "./context/index.js"
7360
- }
7361
- },
7362
- {
7363
- "kind": "js",
7364
- "name": "AparteScrollRail",
7365
- "declaration": {
7366
- "name": "AparteScrollRail",
7367
- "module": "./scroll-rail/index.js"
7368
- }
7369
- },
7370
- {
7371
- "kind": "js",
7372
- "name": "AparteScrollRailJumpDetail",
7373
- "declaration": {
7374
- "name": "AparteScrollRailJumpDetail",
7375
- "module": "./scroll-rail/index.js"
7376
- }
7377
- },
7378
- {
7379
- "kind": "js",
7380
- "name": "AparteScrollRailEvery",
7381
- "declaration": {
7382
- "name": "AparteScrollRailEvery",
7383
- "module": "./scroll-rail/index.js"
7384
- }
7385
- },
7386
- {
7387
- "kind": "js",
7388
- "name": "AparteSidebar",
7389
- "declaration": {
7390
- "name": "AparteSidebar",
7391
- "module": "./sidebar/index.js"
7392
- }
7393
- },
7394
- {
7395
- "kind": "js",
7396
- "name": "AparteSidebarToggleDetail",
7397
- "declaration": {
7398
- "name": "AparteSidebarToggleDetail",
7399
- "module": "./sidebar/index.js"
7400
- }
7401
- },
7402
- {
7403
- "kind": "js",
7404
- "name": "AparteSplit",
7405
- "declaration": {
7406
- "name": "AparteSplit",
7407
- "module": "./split/index.js"
7408
- }
7409
- },
7410
- {
7411
- "kind": "js",
7412
- "name": "AparteSplitResizeDetail",
7413
- "declaration": {
7414
- "name": "AparteSplitResizeDetail",
7415
- "module": "./split/index.js"
7416
- }
7417
- },
7418
- {
7419
- "kind": "js",
7420
- "name": "AparteLauncher",
7421
- "declaration": {
7422
- "name": "AparteLauncher",
7423
- "module": "./launcher/index.js"
7424
- }
7425
- },
7426
- {
7427
- "kind": "js",
7428
- "name": "AparteLauncherToggleDetail",
7429
- "declaration": {
7430
- "name": "AparteLauncherToggleDetail",
7431
- "module": "./launcher/index.js"
7432
- }
7433
- }
7434
- ]
7435
- },
7436
- {
7437
- "kind": "javascript-module",
7438
- "path": "src/config/action-provider.ts",
7439
- "declarations": [],
7440
- "exports": []
7441
- },
7442
- {
7443
- "kind": "javascript-module",
7444
- "path": "src/config/aparte-config.ts",
7445
- "declarations": [
7446
- {
7447
- "kind": "variable",
7448
- "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
7449
- "type": {
7450
- "text": "{\n copy: false,\n retry: false,\n edit: false,\n feedback: false,\n info: false,\n}"
7451
- },
7452
- "default": "{ copy: false, retry: false, edit: false, feedback: false, info: false, }",
7453
- "description": "The bubble-action defaults — all off: a message carries no button until the app asks for one.\n\nRetry and edit only do something when a host (`AparteClient`) re-sends and rewrites,\nand feedback/info only when the app listens for `aparte-feedback` /\n`aparte-message-info`; rendering them unconditionally showed dead buttons in every\ndisplay-only integration — ours included, which is how we found it. Copy is the one\ncore could honor alone, and it is off too: a help widget or a support chat is read,\nnot quoted, and a chat product that wants it turns it on in one line\n(`setBubbleActions({ copy: true })`).\n\nExported so a consumer can read the defaults instead of hard-coding them."
7454
- },
7455
- {
7456
- "kind": "variable",
7457
- "name": "APARTE_DEFAULT_HOST_HANDLERS",
7458
- "type": {
7459
- "text": "{\n attachmentPreview: false,\n filePreview: false,\n}"
7460
- },
7461
- "default": "{ attachmentPreview: false, filePreview: false, }",
7462
- "description": "The host-handler declarations — nothing declared.\n\nSame rule as APARTE_DEFAULT_BUBBLE_ACTIONS, applied outside the action bar: an\nimage tile you can click is a request core forwards to the app. Undeclared, it is\nnot rendered (and the tile is not even signalled as clickable) instead of doing\nnothing."
7463
- },
7464
- {
7465
- "kind": "function",
7466
- "name": "renderingVersionOf",
7467
- "return": {
7468
- "type": {
7469
- "text": "number"
7470
- }
7471
- },
7472
- "parameters": [
7473
- {
7474
- "name": "cfg",
7475
- "type": {
7476
- "text": "AparteConfig"
7477
- }
7478
- }
7479
- ]
7480
- },
7481
- {
7482
- "kind": "function",
7483
- "name": "onRenderersChange",
7484
- "return": {
7485
- "type": {
7486
- "text": "() => void"
7487
- }
7488
- },
7489
- "parameters": [
7490
- {
7491
- "name": "listener",
7492
- "type": {
7493
- "text": "(cfg: AparteConfig) => void"
7494
- }
7495
- }
7496
- ]
7497
- },
7498
- {
7499
- "kind": "function",
7500
- "name": "notifyRenderersChanged",
7501
- "return": {
7502
- "type": {
7503
- "text": "void"
7504
- }
7505
- },
7506
- "parameters": [
7507
- {
7508
- "name": "cfg",
7509
- "type": {
7510
- "text": "AparteConfig"
7511
- }
7512
- }
7513
- ]
7140
+ "kind": "function",
7141
+ "name": "notifyRenderersChanged",
7142
+ "return": {
7143
+ "type": {
7144
+ "text": "void"
7145
+ }
7146
+ },
7147
+ "parameters": [
7148
+ {
7149
+ "name": "cfg",
7150
+ "type": {
7151
+ "text": "AparteConfig"
7152
+ }
7153
+ }
7154
+ ]
7514
7155
  },
7515
7156
  {
7516
7157
  "kind": "class",
@@ -9821,952 +9462,1311 @@
9821
9462
  "exports": [
9822
9463
  {
9823
9464
  "kind": "js",
9824
- "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
9465
+ "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
9466
+ "declaration": {
9467
+ "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
9468
+ "module": "src/config/aparte-config.ts"
9469
+ }
9470
+ },
9471
+ {
9472
+ "kind": "js",
9473
+ "name": "APARTE_DEFAULT_HOST_HANDLERS",
9474
+ "declaration": {
9475
+ "name": "APARTE_DEFAULT_HOST_HANDLERS",
9476
+ "module": "src/config/aparte-config.ts"
9477
+ }
9478
+ },
9479
+ {
9480
+ "kind": "js",
9481
+ "name": "renderingVersionOf",
9482
+ "declaration": {
9483
+ "name": "renderingVersionOf",
9484
+ "module": "src/config/aparte-config.ts"
9485
+ }
9486
+ },
9487
+ {
9488
+ "kind": "js",
9489
+ "name": "onRenderersChange",
9490
+ "declaration": {
9491
+ "name": "onRenderersChange",
9492
+ "module": "src/config/aparte-config.ts"
9493
+ }
9494
+ },
9495
+ {
9496
+ "kind": "js",
9497
+ "name": "notifyRenderersChanged",
9498
+ "declaration": {
9499
+ "name": "notifyRenderersChanged",
9500
+ "module": "src/config/aparte-config.ts"
9501
+ }
9502
+ },
9503
+ {
9504
+ "kind": "js",
9505
+ "name": "AparteConfig",
9506
+ "declaration": {
9507
+ "name": "AparteConfig",
9508
+ "module": "src/config/aparte-config.ts"
9509
+ }
9510
+ },
9511
+ {
9512
+ "kind": "js",
9513
+ "name": "aparteGlobalConfig",
9514
+ "declaration": {
9515
+ "name": "aparteGlobalConfig",
9516
+ "module": "src/config/aparte-config.ts"
9517
+ }
9518
+ }
9519
+ ]
9520
+ },
9521
+ {
9522
+ "kind": "javascript-module",
9523
+ "path": "src/config/attachment-renderer.ts",
9524
+ "declarations": [],
9525
+ "exports": []
9526
+ },
9527
+ {
9528
+ "kind": "javascript-module",
9529
+ "path": "src/config/avatar-provider.ts",
9530
+ "declarations": [],
9531
+ "exports": []
9532
+ },
9533
+ {
9534
+ "kind": "javascript-module",
9535
+ "path": "src/config/bubble-shell-renderer.ts",
9536
+ "declarations": [],
9537
+ "exports": []
9538
+ },
9539
+ {
9540
+ "kind": "javascript-module",
9541
+ "path": "src/config/config-context.ts",
9542
+ "declarations": [
9543
+ {
9544
+ "kind": "variable",
9545
+ "name": "APARTE_HOST_ATTR",
9546
+ "type": {
9547
+ "text": "string"
9548
+ },
9549
+ "default": "'data-aparte-host'",
9550
+ "description": "Marks an element as an instance-config boundary (used by `closest()`)."
9551
+ },
9552
+ {
9553
+ "kind": "function",
9554
+ "name": "attachConfig",
9555
+ "return": {
9556
+ "type": {
9557
+ "text": "void"
9558
+ }
9559
+ },
9560
+ "parameters": [
9561
+ {
9562
+ "name": "el",
9563
+ "type": {
9564
+ "text": "HTMLElement"
9565
+ }
9566
+ },
9567
+ {
9568
+ "name": "config",
9569
+ "type": {
9570
+ "text": "AparteConfig"
9571
+ }
9572
+ }
9573
+ ],
9574
+ "description": "Attach an instance config to `el`, making it a resolution boundary: every\ncomponent inside `el` resolves to `config` instead of the global singleton.\nIdempotent; pass the same element to replace its config.\n\nAnything already mounted inside `el` that implements AparteConfigAware\nis told, because attaching a boundary silently rewrites what those children\nresolve to and a registration they already made is now on the wrong object."
9575
+ },
9576
+ {
9577
+ "kind": "function",
9578
+ "name": "detachConfig",
9579
+ "return": {
9580
+ "type": {
9581
+ "text": "void"
9582
+ }
9583
+ },
9584
+ "parameters": [
9585
+ {
9586
+ "name": "el",
9587
+ "type": {
9588
+ "text": "HTMLElement"
9589
+ }
9590
+ }
9591
+ ],
9592
+ "description": "Remove the instance-config boundary from `el` (e.g. in `disconnectedCallback`).\nComponents under `el` fall back to the next boundary up, or the global.\n\nRegistrants are told BEFORE they would silently re-resolve elsewhere, which is\nthe half that leaked: a wrapper's `unbind()` detaches the boundary before the\nframework removes the DOM, so by the time `disconnectedCallback` ran, the\nelement's own `resolveConfig(this)` already returned the global — its\n\"am I still the registered one?\" guard compared against the wrong config, found\nno match, and left the instance config holding a removed element for good."
9593
+ },
9594
+ {
9595
+ "kind": "function",
9596
+ "name": "resolveConfig",
9597
+ "return": {
9598
+ "type": {
9599
+ "text": "AparteConfig"
9600
+ }
9601
+ },
9602
+ "parameters": [
9603
+ {
9604
+ "name": "el",
9605
+ "type": {
9606
+ "text": "Element | null | undefined"
9607
+ }
9608
+ }
9609
+ ],
9610
+ "description": "Resolve the config governing `el`: the nearest ancestor boundary's instance\nconfig (including `el` itself), or aparteGlobalConfig when none is\npresent. Cheap — a single `closest()`.\n\nDO NOT cache this at `connectedCallback`. An earlier version of this comment\nadvised exactly that, and two elements followed it into a real bug: a framework\nwrapper calls `AparteChatHost.bind()` — which is what runs `attachConfig` — from\nits POST-mount hook (React `useEffect`, Vue `onMounted`, Svelte `onMount`,\nAngular `ngAfterViewInit`), so children mounted in the same commit connect\nBEFORE the boundary exists. A connect-time cache therefore freezes the global\nconfig forever, and the `config` prop every wrapper advertises silently does\nnothing for that element.\n\nResolve it live, in a getter. `closest()` on a shallow tree is not a cost worth\na correctness bug — `aparte-chat-bubble` has done it that way from the start, and\nit is the one element that was never affected.\n\nThat advice covers READERS, and it is not enough on its own. An element that\nWRITES to its config — registering a presenter, a renderer, a keyed listener —\ncannot fix the ordering by resolving live, because the write already happened.\nThose implement AparteConfigAware and re-register when told. The\nreader/writer distinction is the one this file missed the first time round: the\nsweep that applied the advice above fixed every reader and left both writers\nbroken."
9611
+ },
9612
+ {
9613
+ "kind": "function",
9614
+ "name": "runWithConfig",
9615
+ "return": {
9616
+ "type": {
9617
+ "text": "T"
9618
+ }
9619
+ },
9620
+ "parameters": [
9621
+ {
9622
+ "name": "config",
9623
+ "type": {
9624
+ "text": "AparteConfig"
9625
+ }
9626
+ },
9627
+ {
9628
+ "name": "fn",
9629
+ "type": {
9630
+ "text": "() => T"
9631
+ }
9632
+ }
9633
+ ],
9634
+ "description": "Run `fn` with `config` as the ambient render config (restored after)."
9635
+ },
9636
+ {
9637
+ "kind": "function",
9638
+ "name": "contextConfig",
9639
+ "return": {
9640
+ "type": {
9641
+ "text": "AparteConfig"
9642
+ }
9643
+ },
9644
+ "parameters": [
9645
+ {
9646
+ "name": "el",
9647
+ "optional": true,
9648
+ "type": {
9649
+ "text": "Element | null"
9650
+ }
9651
+ }
9652
+ ],
9653
+ "description": "The ambient render config set by runWithConfig, else the config\nresolved from `el` (when provided), else the global singleton. Capture it\nsynchronously at the top of a renderer — never after an `await`."
9654
+ }
9655
+ ],
9656
+ "exports": [
9657
+ {
9658
+ "kind": "js",
9659
+ "name": "APARTE_HOST_ATTR",
9660
+ "declaration": {
9661
+ "name": "APARTE_HOST_ATTR",
9662
+ "module": "src/config/config-context.ts"
9663
+ }
9664
+ },
9665
+ {
9666
+ "kind": "js",
9667
+ "name": "attachConfig",
9668
+ "declaration": {
9669
+ "name": "attachConfig",
9670
+ "module": "src/config/config-context.ts"
9671
+ }
9672
+ },
9673
+ {
9674
+ "kind": "js",
9675
+ "name": "detachConfig",
9676
+ "declaration": {
9677
+ "name": "detachConfig",
9678
+ "module": "src/config/config-context.ts"
9679
+ }
9680
+ },
9681
+ {
9682
+ "kind": "js",
9683
+ "name": "resolveConfig",
9684
+ "declaration": {
9685
+ "name": "resolveConfig",
9686
+ "module": "src/config/config-context.ts"
9687
+ }
9688
+ },
9689
+ {
9690
+ "kind": "js",
9691
+ "name": "runWithConfig",
9692
+ "declaration": {
9693
+ "name": "runWithConfig",
9694
+ "module": "src/config/config-context.ts"
9695
+ }
9696
+ },
9697
+ {
9698
+ "kind": "js",
9699
+ "name": "contextConfig",
9700
+ "declaration": {
9701
+ "name": "contextConfig",
9702
+ "module": "src/config/config-context.ts"
9703
+ }
9704
+ }
9705
+ ]
9706
+ },
9707
+ {
9708
+ "kind": "javascript-module",
9709
+ "path": "src/config/config-subscribe.ts",
9710
+ "declarations": [
9711
+ {
9712
+ "kind": "variable",
9713
+ "name": "APARTE_CONFIG_CHANGE",
9714
+ "type": {
9715
+ "text": "string"
9716
+ },
9717
+ "default": "'aparte-config-change'",
9718
+ "description": "The event `AparteConfig._notify()` dispatches on `window`."
9719
+ },
9720
+ {
9721
+ "kind": "function",
9722
+ "name": "subscribeConfigChange",
9723
+ "return": {
9724
+ "type": {
9725
+ "text": "() => void"
9726
+ }
9727
+ },
9728
+ "parameters": [
9729
+ {
9730
+ "name": "el",
9731
+ "type": {
9732
+ "text": "Element"
9733
+ }
9734
+ },
9735
+ {
9736
+ "name": "handler",
9737
+ "type": {
9738
+ "text": "() => void"
9739
+ }
9740
+ }
9741
+ ]
9742
+ }
9743
+ ],
9744
+ "exports": [
9745
+ {
9746
+ "kind": "js",
9747
+ "name": "APARTE_CONFIG_CHANGE",
9748
+ "declaration": {
9749
+ "name": "APARTE_CONFIG_CHANGE",
9750
+ "module": "src/config/config-subscribe.ts"
9751
+ }
9752
+ },
9753
+ {
9754
+ "kind": "js",
9755
+ "name": "subscribeConfigChange",
9756
+ "declaration": {
9757
+ "name": "subscribeConfigChange",
9758
+ "module": "src/config/config-subscribe.ts"
9759
+ }
9760
+ }
9761
+ ]
9762
+ },
9763
+ {
9764
+ "kind": "javascript-module",
9765
+ "path": "src/config/elicitation-field-renderer.ts",
9766
+ "declarations": [],
9767
+ "exports": []
9768
+ },
9769
+ {
9770
+ "kind": "javascript-module",
9771
+ "path": "src/config/error-renderer.ts",
9772
+ "declarations": [],
9773
+ "exports": []
9774
+ },
9775
+ {
9776
+ "kind": "javascript-module",
9777
+ "path": "src/config/icon-provider.ts",
9778
+ "declarations": [
9779
+ {
9780
+ "kind": "variable",
9781
+ "name": "APARTE_DEFAULT_ICON_FALLBACKS",
9782
+ "type": {
9783
+ "text": "Record<AparteCoreIconName, string>"
9784
+ },
9785
+ "default": "APARTE_ICON_GLYPHS",
9786
+ "description": "The default drawing for every name, assembled from `icons/glyphs.ts`.\n\n`getIcon()` reads this by a COMPUTED key, so a bundler cannot tell which entries a\nbuild reaches and keeps the object whole. That is the constraint that shapes the icon\nset: what belongs here is what core itself draws, and nothing else — an icon nobody\nrenders would still ship to everybody. Extra glyphs are individual exports a consumer\nimports by name, never members of this record."
9787
+ }
9788
+ ],
9789
+ "exports": [
9790
+ {
9791
+ "kind": "js",
9792
+ "name": "APARTE_DEFAULT_ICON_FALLBACKS",
9793
+ "declaration": {
9794
+ "name": "APARTE_DEFAULT_ICON_FALLBACKS",
9795
+ "module": "src/config/icon-provider.ts"
9796
+ }
9797
+ }
9798
+ ]
9799
+ },
9800
+ {
9801
+ "kind": "javascript-module",
9802
+ "path": "src/config/index.ts",
9803
+ "declarations": [],
9804
+ "exports": [
9805
+ {
9806
+ "kind": "js",
9807
+ "name": "aparteGlobalConfig",
9808
+ "declaration": {
9809
+ "name": "aparteGlobalConfig",
9810
+ "module": "./aparte-config.js"
9811
+ }
9812
+ },
9813
+ {
9814
+ "kind": "js",
9815
+ "name": "AparteConfig",
9816
+ "declaration": {
9817
+ "name": "AparteConfig",
9818
+ "module": "./aparte-config.js"
9819
+ }
9820
+ },
9821
+ {
9822
+ "kind": "js",
9823
+ "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
9824
+ "declaration": {
9825
+ "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
9826
+ "module": "./aparte-config.js"
9827
+ }
9828
+ },
9829
+ {
9830
+ "kind": "js",
9831
+ "name": "APARTE_DEFAULT_HOST_HANDLERS",
9832
+ "declaration": {
9833
+ "name": "APARTE_DEFAULT_HOST_HANDLERS",
9834
+ "module": "./aparte-config.js"
9835
+ }
9836
+ },
9837
+ {
9838
+ "kind": "js",
9839
+ "name": "resolveConfig",
9840
+ "declaration": {
9841
+ "name": "resolveConfig",
9842
+ "module": "./config-context.js"
9843
+ }
9844
+ },
9845
+ {
9846
+ "kind": "js",
9847
+ "name": "attachConfig",
9848
+ "declaration": {
9849
+ "name": "attachConfig",
9850
+ "module": "./config-context.js"
9851
+ }
9852
+ },
9853
+ {
9854
+ "kind": "js",
9855
+ "name": "detachConfig",
9856
+ "declaration": {
9857
+ "name": "detachConfig",
9858
+ "module": "./config-context.js"
9859
+ }
9860
+ },
9861
+ {
9862
+ "kind": "js",
9863
+ "name": "runWithConfig",
9864
+ "declaration": {
9865
+ "name": "runWithConfig",
9866
+ "module": "./config-context.js"
9867
+ }
9868
+ },
9869
+ {
9870
+ "kind": "js",
9871
+ "name": "contextConfig",
9872
+ "declaration": {
9873
+ "name": "contextConfig",
9874
+ "module": "./config-context.js"
9875
+ }
9876
+ },
9877
+ {
9878
+ "kind": "js",
9879
+ "name": "APARTE_HOST_ATTR",
9880
+ "declaration": {
9881
+ "name": "APARTE_HOST_ATTR",
9882
+ "module": "./config-context.js"
9883
+ }
9884
+ },
9885
+ {
9886
+ "kind": "js",
9887
+ "name": "subscribeConfigChange",
9888
+ "declaration": {
9889
+ "name": "subscribeConfigChange",
9890
+ "module": "./config-subscribe.js"
9891
+ }
9892
+ },
9893
+ {
9894
+ "kind": "js",
9895
+ "name": "APARTE_CONFIG_CHANGE",
9896
+ "declaration": {
9897
+ "name": "APARTE_CONFIG_CHANGE",
9898
+ "module": "./config-subscribe.js"
9899
+ }
9900
+ },
9901
+ {
9902
+ "kind": "js",
9903
+ "name": "AparteConfigAware",
9904
+ "declaration": {
9905
+ "name": "AparteConfigAware",
9906
+ "module": "./config-context.js"
9907
+ }
9908
+ },
9909
+ {
9910
+ "kind": "js",
9911
+ "name": "AparteConfigChangeEventDetail",
9912
+ "declaration": {
9913
+ "name": "AparteConfigChangeEventDetail",
9914
+ "module": "./aparte-config.js"
9915
+ }
9916
+ },
9917
+ {
9918
+ "kind": "js",
9919
+ "name": "AparteMarkdownProvider",
9920
+ "declaration": {
9921
+ "name": "AparteMarkdownProvider",
9922
+ "module": "./aparte-config.js"
9923
+ }
9924
+ },
9925
+ {
9926
+ "kind": "js",
9927
+ "name": "AparteStreamingMarkdownProvider",
9928
+ "declaration": {
9929
+ "name": "AparteStreamingMarkdownProvider",
9930
+ "module": "./aparte-config.js"
9931
+ }
9932
+ },
9933
+ {
9934
+ "kind": "js",
9935
+ "name": "AparteStreamingMarkdownRenderer",
9936
+ "declaration": {
9937
+ "name": "AparteStreamingMarkdownRenderer",
9938
+ "module": "./aparte-config.js"
9939
+ }
9940
+ },
9941
+ {
9942
+ "kind": "js",
9943
+ "name": "AparteCodeLanguageRenderer",
9944
+ "declaration": {
9945
+ "name": "AparteCodeLanguageRenderer",
9946
+ "module": "./aparte-config.js"
9947
+ }
9948
+ },
9949
+ {
9950
+ "kind": "js",
9951
+ "name": "AparteCodeLanguageContext",
9952
+ "declaration": {
9953
+ "name": "AparteCodeLanguageContext",
9954
+ "module": "./aparte-config.js"
9955
+ }
9956
+ },
9957
+ {
9958
+ "kind": "js",
9959
+ "name": "AparteHighlightProvider",
9960
+ "declaration": {
9961
+ "name": "AparteHighlightProvider",
9962
+ "module": "./aparte-config.js"
9963
+ }
9964
+ },
9965
+ {
9966
+ "kind": "js",
9967
+ "name": "AparteSystemPromptVarsProvider",
9968
+ "declaration": {
9969
+ "name": "AparteSystemPromptVarsProvider",
9970
+ "module": "./aparte-config.js"
9971
+ }
9972
+ },
9973
+ {
9974
+ "kind": "js",
9975
+ "name": "AparteModelPreference",
9976
+ "declaration": {
9977
+ "name": "AparteModelPreference",
9978
+ "module": "./aparte-config.js"
9979
+ }
9980
+ },
9981
+ {
9982
+ "kind": "js",
9983
+ "name": "AparteModelPreferenceProvider",
9984
+ "declaration": {
9985
+ "name": "AparteModelPreferenceProvider",
9986
+ "module": "./aparte-config.js"
9987
+ }
9988
+ },
9989
+ {
9990
+ "kind": "js",
9991
+ "name": "AparteSanitizer",
9992
+ "declaration": {
9993
+ "name": "AparteSanitizer",
9994
+ "module": "./sanitize.js"
9995
+ }
9996
+ },
9997
+ {
9998
+ "kind": "js",
9999
+ "name": "defaultSanitizer",
10000
+ "declaration": {
10001
+ "name": "defaultSanitizer",
10002
+ "module": "./sanitize.js"
10003
+ }
10004
+ },
10005
+ {
10006
+ "kind": "js",
10007
+ "name": "isSafeUrl",
10008
+ "declaration": {
10009
+ "name": "isSafeUrl",
10010
+ "module": "./sanitize.js"
10011
+ }
10012
+ },
10013
+ {
10014
+ "kind": "js",
10015
+ "name": "AparteIconProvider",
10016
+ "declaration": {
10017
+ "name": "AparteIconProvider",
10018
+ "module": "./icon-provider.js"
10019
+ }
10020
+ },
10021
+ {
10022
+ "kind": "js",
10023
+ "name": "AparteIconName",
9825
10024
  "declaration": {
9826
- "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
9827
- "module": "src/config/aparte-config.ts"
10025
+ "name": "AparteIconName",
10026
+ "module": "./icon-provider.js"
9828
10027
  }
9829
10028
  },
9830
10029
  {
9831
10030
  "kind": "js",
9832
- "name": "APARTE_DEFAULT_HOST_HANDLERS",
10031
+ "name": "AparteCoreIconName",
9833
10032
  "declaration": {
9834
- "name": "APARTE_DEFAULT_HOST_HANDLERS",
9835
- "module": "src/config/aparte-config.ts"
10033
+ "name": "AparteCoreIconName",
10034
+ "module": "./icon-provider.js"
9836
10035
  }
9837
10036
  },
9838
10037
  {
9839
10038
  "kind": "js",
9840
- "name": "renderingVersionOf",
10039
+ "name": "APARTE_DEFAULT_ICON_FALLBACKS",
9841
10040
  "declaration": {
9842
- "name": "renderingVersionOf",
9843
- "module": "src/config/aparte-config.ts"
10041
+ "name": "APARTE_DEFAULT_ICON_FALLBACKS",
10042
+ "module": "./icon-provider.js"
9844
10043
  }
9845
10044
  },
9846
10045
  {
9847
10046
  "kind": "js",
9848
- "name": "onRenderersChange",
10047
+ "name": "AparteAvatarProvider",
9849
10048
  "declaration": {
9850
- "name": "onRenderersChange",
9851
- "module": "src/config/aparte-config.ts"
10049
+ "name": "AparteAvatarProvider",
10050
+ "module": "./avatar-provider.js"
9852
10051
  }
9853
10052
  },
9854
10053
  {
9855
10054
  "kind": "js",
9856
- "name": "notifyRenderersChanged",
10055
+ "name": "AparteStatusRenderer",
9857
10056
  "declaration": {
9858
- "name": "notifyRenderersChanged",
9859
- "module": "src/config/aparte-config.ts"
10057
+ "name": "AparteStatusRenderer",
10058
+ "module": "./status-renderer.js"
9860
10059
  }
9861
10060
  },
9862
10061
  {
9863
10062
  "kind": "js",
9864
- "name": "AparteConfig",
10063
+ "name": "AparteErrorRenderer",
9865
10064
  "declaration": {
9866
- "name": "AparteConfig",
9867
- "module": "src/config/aparte-config.ts"
10065
+ "name": "AparteErrorRenderer",
10066
+ "module": "./error-renderer.js"
9868
10067
  }
9869
10068
  },
9870
10069
  {
9871
10070
  "kind": "js",
9872
- "name": "aparteGlobalConfig",
10071
+ "name": "AparteAttachmentRenderer",
9873
10072
  "declaration": {
9874
- "name": "aparteGlobalConfig",
9875
- "module": "src/config/aparte-config.ts"
10073
+ "name": "AparteAttachmentRenderer",
10074
+ "module": "./attachment-renderer.js"
9876
10075
  }
9877
- }
9878
- ]
9879
- },
9880
- {
9881
- "kind": "javascript-module",
9882
- "path": "src/config/attachment-renderer.ts",
9883
- "declarations": [],
9884
- "exports": []
9885
- },
9886
- {
9887
- "kind": "javascript-module",
9888
- "path": "src/config/avatar-provider.ts",
9889
- "declarations": [],
9890
- "exports": []
9891
- },
9892
- {
9893
- "kind": "javascript-module",
9894
- "path": "src/config/bubble-shell-renderer.ts",
9895
- "declarations": [],
9896
- "exports": []
9897
- },
9898
- {
9899
- "kind": "javascript-module",
9900
- "path": "src/config/config-context.ts",
9901
- "declarations": [
9902
- {
9903
- "kind": "variable",
9904
- "name": "APARTE_HOST_ATTR",
9905
- "type": {
9906
- "text": "string"
9907
- },
9908
- "default": "'data-aparte-host'",
9909
- "description": "Marks an element as an instance-config boundary (used by `closest()`)."
9910
10076
  },
9911
10077
  {
9912
- "kind": "function",
9913
- "name": "attachConfig",
9914
- "return": {
9915
- "type": {
9916
- "text": "void"
9917
- }
9918
- },
9919
- "parameters": [
9920
- {
9921
- "name": "el",
9922
- "type": {
9923
- "text": "HTMLElement"
9924
- }
9925
- },
9926
- {
9927
- "name": "config",
9928
- "type": {
9929
- "text": "AparteConfig"
9930
- }
9931
- }
9932
- ],
9933
- "description": "Attach an instance config to `el`, making it a resolution boundary: every\ncomponent inside `el` resolves to `config` instead of the global singleton.\nIdempotent; pass the same element to replace its config.\n\nAnything already mounted inside `el` that implements AparteConfigAware\nis told, because attaching a boundary silently rewrites what those children\nresolve to and a registration they already made is now on the wrong object."
10078
+ "kind": "js",
10079
+ "name": "AparteElicitationFieldRenderer",
10080
+ "declaration": {
10081
+ "name": "AparteElicitationFieldRenderer",
10082
+ "module": "./elicitation-field-renderer.js"
10083
+ }
9934
10084
  },
9935
10085
  {
9936
- "kind": "function",
9937
- "name": "detachConfig",
9938
- "return": {
9939
- "type": {
9940
- "text": "void"
9941
- }
9942
- },
9943
- "parameters": [
9944
- {
9945
- "name": "el",
9946
- "type": {
9947
- "text": "HTMLElement"
9948
- }
9949
- }
9950
- ],
9951
- "description": "Remove the instance-config boundary from `el` (e.g. in `disconnectedCallback`).\nComponents under `el` fall back to the next boundary up, or the global.\n\nRegistrants are told BEFORE they would silently re-resolve elsewhere, which is\nthe half that leaked: a wrapper's `unbind()` detaches the boundary before the\nframework removes the DOM, so by the time `disconnectedCallback` ran, the\nelement's own `resolveConfig(this)` already returned the global — its\n\"am I still the registered one?\" guard compared against the wrong config, found\nno match, and left the instance config holding a removed element for good."
10086
+ "kind": "js",
10087
+ "name": "AparteElicitationFieldContext",
10088
+ "declaration": {
10089
+ "name": "AparteElicitationFieldContext",
10090
+ "module": "./elicitation-field-renderer.js"
10091
+ }
9952
10092
  },
9953
10093
  {
9954
- "kind": "function",
9955
- "name": "resolveConfig",
9956
- "return": {
9957
- "type": {
9958
- "text": "AparteConfig"
9959
- }
9960
- },
9961
- "parameters": [
9962
- {
9963
- "name": "el",
9964
- "type": {
9965
- "text": "Element | null | undefined"
9966
- }
9967
- }
9968
- ],
9969
- "description": "Resolve the config governing `el`: the nearest ancestor boundary's instance\nconfig (including `el` itself), or aparteGlobalConfig when none is\npresent. Cheap — a single `closest()`.\n\nDO NOT cache this at `connectedCallback`. An earlier version of this comment\nadvised exactly that, and two elements followed it into a real bug: a framework\nwrapper calls `AparteChatHost.bind()` — which is what runs `attachConfig` — from\nits POST-mount hook (React `useEffect`, Vue `onMounted`, Svelte `onMount`,\nAngular `ngAfterViewInit`), so children mounted in the same commit connect\nBEFORE the boundary exists. A connect-time cache therefore freezes the global\nconfig forever, and the `config` prop every wrapper advertises silently does\nnothing for that element.\n\nResolve it live, in a getter. `closest()` on a shallow tree is not a cost worth\na correctness bug — `aparte-chat-bubble` has done it that way from the start, and\nit is the one element that was never affected.\n\nThat advice covers READERS, and it is not enough on its own. An element that\nWRITES to its config — registering a presenter, a renderer, a keyed listener —\ncannot fix the ordering by resolving live, because the write already happened.\nThose implement AparteConfigAware and re-register when told. The\nreader/writer distinction is the one this file missed the first time round: the\nsweep that applied the advice above fixed every reader and left both writers\nbroken."
10094
+ "kind": "js",
10095
+ "name": "AparteElicitationFieldControl",
10096
+ "declaration": {
10097
+ "name": "AparteElicitationFieldControl",
10098
+ "module": "./elicitation-field-renderer.js"
10099
+ }
9970
10100
  },
9971
10101
  {
9972
- "kind": "function",
9973
- "name": "runWithConfig",
9974
- "return": {
9975
- "type": {
9976
- "text": "T"
9977
- }
9978
- },
9979
- "parameters": [
9980
- {
9981
- "name": "config",
9982
- "type": {
9983
- "text": "AparteConfig"
9984
- }
9985
- },
9986
- {
9987
- "name": "fn",
9988
- "type": {
9989
- "text": "() => T"
9990
- }
9991
- }
9992
- ],
9993
- "description": "Run `fn` with `config` as the ambient render config (restored after)."
10102
+ "kind": "js",
10103
+ "name": "AparteSiblingNavRenderer",
10104
+ "declaration": {
10105
+ "name": "AparteSiblingNavRenderer",
10106
+ "module": "./sibling-nav-renderer.js"
10107
+ }
9994
10108
  },
9995
- {
9996
- "kind": "function",
9997
- "name": "contextConfig",
9998
- "return": {
9999
- "type": {
10000
- "text": "AparteConfig"
10001
- }
10002
- },
10003
- "parameters": [
10004
- {
10005
- "name": "el",
10006
- "optional": true,
10007
- "type": {
10008
- "text": "Element | null"
10009
- }
10010
- }
10011
- ],
10012
- "description": "The ambient render config set by runWithConfig, else the config\nresolved from `el` (when provided), else the global singleton. Capture it\nsynchronously at the top of a renderer — never after an `await`."
10013
- }
10014
- ],
10015
- "exports": [
10016
10109
  {
10017
10110
  "kind": "js",
10018
- "name": "APARTE_HOST_ATTR",
10111
+ "name": "AparteBubbleShellRenderer",
10019
10112
  "declaration": {
10020
- "name": "APARTE_HOST_ATTR",
10021
- "module": "src/config/config-context.ts"
10113
+ "name": "AparteBubbleShellRenderer",
10114
+ "module": "./bubble-shell-renderer.js"
10022
10115
  }
10023
10116
  },
10024
10117
  {
10025
10118
  "kind": "js",
10026
- "name": "attachConfig",
10119
+ "name": "AparteLocale",
10027
10120
  "declaration": {
10028
- "name": "attachConfig",
10029
- "module": "src/config/config-context.ts"
10121
+ "name": "AparteLocale",
10122
+ "module": "./locale.js"
10030
10123
  }
10031
10124
  },
10032
10125
  {
10033
10126
  "kind": "js",
10034
- "name": "detachConfig",
10127
+ "name": "AparteLocaleExtensions",
10035
10128
  "declaration": {
10036
- "name": "detachConfig",
10037
- "module": "src/config/config-context.ts"
10129
+ "name": "AparteLocaleExtensions",
10130
+ "module": "./locale.js"
10038
10131
  }
10039
10132
  },
10040
10133
  {
10041
10134
  "kind": "js",
10042
- "name": "resolveConfig",
10135
+ "name": "APARTE_DEFAULT_LOCALE",
10043
10136
  "declaration": {
10044
- "name": "resolveConfig",
10045
- "module": "src/config/config-context.ts"
10137
+ "name": "APARTE_DEFAULT_LOCALE",
10138
+ "module": "./locale.js"
10046
10139
  }
10047
10140
  },
10048
10141
  {
10049
10142
  "kind": "js",
10050
- "name": "runWithConfig",
10143
+ "name": "AparteAction",
10051
10144
  "declaration": {
10052
- "name": "runWithConfig",
10053
- "module": "src/config/config-context.ts"
10145
+ "name": "AparteAction",
10146
+ "module": "./action-provider.js"
10054
10147
  }
10055
10148
  },
10056
10149
  {
10057
10150
  "kind": "js",
10058
- "name": "contextConfig",
10151
+ "name": "AparteActionZone",
10059
10152
  "declaration": {
10060
- "name": "contextConfig",
10061
- "module": "src/config/config-context.ts"
10153
+ "name": "AparteActionZone",
10154
+ "module": "./action-provider.js"
10155
+ }
10156
+ }
10157
+ ]
10158
+ },
10159
+ {
10160
+ "kind": "javascript-module",
10161
+ "path": "src/config/locale.ts",
10162
+ "declarations": [
10163
+ {
10164
+ "kind": "variable",
10165
+ "name": "APARTE_DEFAULT_LOCALE",
10166
+ "type": {
10167
+ "text": "AparteLocale"
10168
+ },
10169
+ "default": "{ inputPlaceholder: \"Type a message...\", sendButton: \"Send\", copy: \"Copy\", copied: \"Copied!\", retry: \"Retry\", thinking: \"Thinking\", elicitationOther: \"Other…\", elicitationOtherPlaceholder: \"Type your answer…\", elicitationOtherLabel: \"Custom answer\", submitButton: \"Submit\", stopButton: \"Stop\", elicitationRecommended: \"Recommended\", elicitationSkip: \"Skip\", elicitationHide: \"Hide for now\", elicitationWaiting: \"Waiting for your answer\", elicitationYes: \"Yes\", elicitationNo: \"No\", elicitationAnswerLabel: \"Your answer\", approvalInstructionPlaceholder: \"Or tell it what to do instead…\", approvalAsk: \"Allow {tool}?\", approvalWaiting: \"Waiting\", scrollToBottom: \"Scroll to bottom\", suggestionsLabel: \"Suggested prompts\", contextLabel: \"Context window\", contextSystem: \"System prompt\", contextTools: \"Tools\", contextSummary: \"Summary\", contextMessages: \"Messages\", contextOther: \"Other\", contextFree: \"Free\", contextTotal: \"Total\", contextReclaim: \"Compacting now would free ~{n} tokens\", contextCompactNow: \"Compact now\", compactionSummaryTitle: \"Conversation summary\", checkpointCount: \"{n} messages summarised for the model\", checkpointCountOne: \"1 message summarised for the model\", checkpointLegacy: \"Earlier messages were summarised\", checkpointGroup: \"Context summary\", checkpointShow: \"Show summary\", checkpointHide: \"Hide summary\", checkpointRestore: \"Restore\", checkpointRestoreConfirm: \"Send the original messages to the model again?\", checkpointPending: \"Summarising the context…\", checkpointFailed: \"Couldn't summarise the context\", toolRunning: \"Running\", toolCompleted: \"Done\", toolRejected: \"Rejected\", toolStopped: \"Stopped\", toolFailed: \"Failed\", toolInput: \"Input\", toolOutput: \"Output\", toolRejectedSaid: \"You said: “{instruction}”\", toolRefusedByPolicy: \"Refused by policy\", toolNotRunAfterRefusal: \"Not run: an earlier call was refused\", toolTimedOut: \"Timed out\", toolUnavailable: \"Not available here\", toolNoApprover: \"No one could approve it\", toolTurnLimit: \"Turn limit reached\", maxTurnsReached: \"Stopped after {n} turns to avoid an endless loop.\", sourcesCount: \"{n} sources\", sourcesOne: \"1 source\", sourcesCard: \"Sources\", sourcePrevious: \"Previous source\", sourceNext: \"Next source\", sourcePosition: \"Source {i} of {n}\", opensInNewTab: \"(opens in a new tab)\", questionDeclined: \"You declined to answer.\", artifactNotCreated: \"Not created\", thoughtFor: \"Thought for {duration}\", thought: \"Thought\", approvalOptionsLabel: \"Your decision\", approvalArgsLabel: \"Arguments\", actionUpload: \"Attach file\", removeAttachment: \"Remove {name}\", messageFrom: \"Message from {name}\", selectSearchPlaceholder: \"Search…\", selectSearchLabel: \"Search options\", loading: \"Loading…\", download: \"Download\", openArtifact: \"Open\", modelContextWindow: \"{n} context\", previewPending: \"Press Preview to run this artifact.\", sandboxError: \"The sandbox failed during generation.\", sandboxErrorHint: \"Common cause: the model produced invalid code (undefined variable, wrong argument type). Retry the request — the model may produce different code.\", preview: \"Preview\", code: \"Code\", generating: \"Generating…\", rebuildingPreview: \"Rebuilding preview…\", typing: \"Typing\", responseCutOff: \"Cut off at the model's length limit.\", error: \"Error\", errorUnreachable: \"The assistant can’t be reached right now. Try again in a moment.\", errorTimeout: \"The answer took too long. Try again in a moment.\", errorRefused: \"The assistant isn’t allowed to answer right now.\", errorRateLimited: \"Too many requests right now. Try again in a moment.\", errorTooLong: \"This conversation is too long for the model. Start a new one.\", errorFailed: \"The assistant couldn’t answer. Try again in a moment.\", errorNoAnswer: \"The assistant couldn’t answer this request.\", running: \"Running...\", run: \"Run\", file: \"File\", modelSelectorPlaceholder: \"Select a model...\", approvalModeLabel: \"Approval mode\", roleNameUser: \"You\", roleNameAssistant: \"Assistant\", yourMessage: \"Your message\", assistantResponse: \"Assistant response\", messageActions: \"Message actions\", edit: \"Edit message\", editConfirm: \"Send\", editCancel: \"Cancel\", feedbackPositive: \"Good response\", feedbackNegative: \"Bad response\", previousResponse: \"Previous response\", nextResponse: \"Next response\", approveTool: \"Approve\", rejectTool: \"Reject\", messageInfo: \"Details\", newChat: \"New Chat\", loadingConversations: \"Loading conversations\", conversationSearchEmpty: \"No conversation matches\", conversationList: \"Conversations\", loadingConversation: \"Loading the conversation\", deleteConversation: \"Delete\", archiveConversation: \"Archive\", unarchiveConversation: \"Unarchive\", conversationActions: \"Conversation actions\", conversationRunning: \"Answering\", conversationWaiting: \"Waiting for you\", renameConversation: \"Rename\", conversationTitle: \"Conversation title\", pinConversation: \"Pin\", unpinConversation: \"Unpin\", deleteConversationConfirm: \"Delete “{title}”?\", cancel: \"Cancel\", conversationGroupPinned: \"Pinned\", conversationGroupToday: \"Today\", conversationGroupYesterday: \"Yesterday\", conversationGroupWeek: \"Previous 7 days\", conversationGroupMonth: \"Previous 30 days\", scrollRailLabel: \"Conversation outline\", sidebarLabel: \"Conversations\", splitHandleLabel: \"Resize the panes\", launcherOpen: \"Open the chat\", launcherClose: \"Close the chat\", transcript: \"Transcript\" }",
10170
+ "description": "Default English Locale (Zero-dependency)\nHardcoded to ensure the core works out-of-the-box."
10171
+ }
10172
+ ],
10173
+ "exports": [
10174
+ {
10175
+ "kind": "js",
10176
+ "name": "APARTE_DEFAULT_LOCALE",
10177
+ "declaration": {
10178
+ "name": "APARTE_DEFAULT_LOCALE",
10179
+ "module": "src/config/locale.ts"
10062
10180
  }
10063
10181
  }
10064
10182
  ]
10065
10183
  },
10066
10184
  {
10067
10185
  "kind": "javascript-module",
10068
- "path": "src/config/config-subscribe.ts",
10186
+ "path": "src/config/sanitize.ts",
10069
10187
  "declarations": [
10070
10188
  {
10071
10189
  "kind": "variable",
10072
- "name": "APARTE_CONFIG_CHANGE",
10073
- "type": {
10074
- "text": "string"
10075
- },
10076
- "default": "'aparte-config-change'",
10077
- "description": "The event `AparteConfig._notify()` dispatches on `window`."
10190
+ "name": "DANGEROUS_TAGS",
10191
+ "default": "new Set([ 'script', 'style', 'iframe', 'frame', 'frameset', 'object', 'embed', 'applet', 'form', 'button', 'textarea', 'select', 'option', 'optgroup', 'link', 'meta', 'base', 'title', 'head', 'html', 'body', 'template', 'noscript', 'svg', 'math', 'portal', ])",
10192
+ "description": "Tags dropped wholesale — content and all (never unwrapped to text).\n\nExported for the DOM-free path's own suite: both of `fallbackScrub`'s regexes\nare built from this Set, and the test that proves it loops over the Set rather\nthan a copy. Not re-exported from the package barrel — it is core's list, not\na contract."
10078
10193
  },
10079
10194
  {
10080
10195
  "kind": "function",
10081
- "name": "subscribeConfigChange",
10196
+ "name": "isSafeUrl",
10082
10197
  "return": {
10083
10198
  "type": {
10084
- "text": "() => void"
10199
+ "text": "boolean"
10085
10200
  }
10086
10201
  },
10087
10202
  "parameters": [
10088
10203
  {
10089
- "name": "el",
10204
+ "name": "value",
10090
10205
  "type": {
10091
- "text": "Element"
10206
+ "text": "string"
10092
10207
  }
10093
10208
  },
10094
10209
  {
10095
- "name": "handler",
10210
+ "name": "tag",
10096
10211
  "type": {
10097
- "text": "() => void"
10212
+ "text": "string"
10098
10213
  }
10099
10214
  }
10100
10215
  ]
10216
+ },
10217
+ {
10218
+ "kind": "function",
10219
+ "name": "defaultSanitizer",
10220
+ "return": {
10221
+ "type": {
10222
+ "text": "string"
10223
+ }
10224
+ },
10225
+ "parameters": [
10226
+ {
10227
+ "name": "html",
10228
+ "type": {
10229
+ "text": "string"
10230
+ }
10231
+ }
10232
+ ],
10233
+ "description": "The built-in sanitizer. Parses `html` with the platform DOMParser, rebuilds an\nallowlisted tree, and re-serializes it. Falls back to a regex scrub only when\nno DOMParser exists (non-browser runtime)."
10101
10234
  }
10102
10235
  ],
10103
10236
  "exports": [
10104
10237
  {
10105
10238
  "kind": "js",
10106
- "name": "APARTE_CONFIG_CHANGE",
10239
+ "name": "DANGEROUS_TAGS",
10107
10240
  "declaration": {
10108
- "name": "APARTE_CONFIG_CHANGE",
10109
- "module": "src/config/config-subscribe.ts"
10241
+ "name": "DANGEROUS_TAGS",
10242
+ "module": "src/config/sanitize.ts"
10110
10243
  }
10111
10244
  },
10112
10245
  {
10113
10246
  "kind": "js",
10114
- "name": "subscribeConfigChange",
10247
+ "name": "isSafeUrl",
10115
10248
  "declaration": {
10116
- "name": "subscribeConfigChange",
10117
- "module": "src/config/config-subscribe.ts"
10249
+ "name": "isSafeUrl",
10250
+ "module": "src/config/sanitize.ts"
10251
+ }
10252
+ },
10253
+ {
10254
+ "kind": "js",
10255
+ "name": "defaultSanitizer",
10256
+ "declaration": {
10257
+ "name": "defaultSanitizer",
10258
+ "module": "src/config/sanitize.ts"
10118
10259
  }
10119
10260
  }
10120
10261
  ]
10121
10262
  },
10122
10263
  {
10123
10264
  "kind": "javascript-module",
10124
- "path": "src/config/elicitation-field-renderer.ts",
10265
+ "path": "src/config/sibling-nav-renderer.ts",
10125
10266
  "declarations": [],
10126
10267
  "exports": []
10127
10268
  },
10128
10269
  {
10129
10270
  "kind": "javascript-module",
10130
- "path": "src/config/error-renderer.ts",
10271
+ "path": "src/config/status-renderer.ts",
10131
10272
  "declarations": [],
10132
10273
  "exports": []
10133
10274
  },
10134
10275
  {
10135
10276
  "kind": "javascript-module",
10136
- "path": "src/config/icon-provider.ts",
10277
+ "path": "src/config/tool-table.ts",
10137
10278
  "declarations": [
10138
10279
  {
10139
- "kind": "variable",
10140
- "name": "APARTE_DEFAULT_ICON_FALLBACKS",
10141
- "type": {
10142
- "text": "Record<AparteCoreIconName, string>"
10143
- },
10144
- "default": "APARTE_ICON_GLYPHS",
10145
- "description": "The default drawing for every name, assembled from `icons/glyphs.ts`.\n\n`getIcon()` reads this by a COMPUTED key, so a bundler cannot tell which entries a\nbuild reaches and keeps the object whole. That is the constraint that shapes the icon\nset: what belongs here is what core itself draws, and nothing else — an icon nobody\nrenders would still ship to everybody. Extra glyphs are individual exports a consumer\nimports by name, never members of this record."
10280
+ "kind": "class",
10281
+ "description": "",
10282
+ "name": "ToolTable",
10283
+ "members": [
10284
+ {
10285
+ "kind": "field",
10286
+ "name": "exact",
10287
+ "privacy": "private",
10288
+ "readonly": true,
10289
+ "default": "new Map<string, T>()"
10290
+ },
10291
+ {
10292
+ "kind": "field",
10293
+ "name": "patterns",
10294
+ "privacy": "private",
10295
+ "readonly": true,
10296
+ "default": "new Map<string, { re: RegExp; value: T }>()"
10297
+ },
10298
+ {
10299
+ "kind": "field",
10300
+ "name": "any",
10301
+ "type": {
10302
+ "text": "T | undefined"
10303
+ },
10304
+ "privacy": "private"
10305
+ },
10306
+ {
10307
+ "kind": "method",
10308
+ "name": "get",
10309
+ "return": {
10310
+ "type": {
10311
+ "text": "T | undefined"
10312
+ }
10313
+ },
10314
+ "parameters": [
10315
+ {
10316
+ "name": "match",
10317
+ "type": {
10318
+ "text": "AparteToolMatcher"
10319
+ }
10320
+ }
10321
+ ],
10322
+ "description": "The value registered under exactly this matcher — not a resolution."
10323
+ },
10324
+ {
10325
+ "kind": "method",
10326
+ "name": "set",
10327
+ "return": {
10328
+ "type": {
10329
+ "text": "void"
10330
+ }
10331
+ },
10332
+ "parameters": [
10333
+ {
10334
+ "name": "match",
10335
+ "type": {
10336
+ "text": "AparteToolMatcher"
10337
+ }
10338
+ },
10339
+ {
10340
+ "name": "value",
10341
+ "type": {
10342
+ "text": "T"
10343
+ }
10344
+ }
10345
+ ]
10346
+ },
10347
+ {
10348
+ "kind": "method",
10349
+ "name": "delete",
10350
+ "return": {
10351
+ "type": {
10352
+ "text": "void"
10353
+ }
10354
+ },
10355
+ "parameters": [
10356
+ {
10357
+ "name": "match",
10358
+ "type": {
10359
+ "text": "AparteToolMatcher"
10360
+ }
10361
+ }
10362
+ ]
10363
+ },
10364
+ {
10365
+ "kind": "method",
10366
+ "name": "resolve",
10367
+ "return": {
10368
+ "type": {
10369
+ "text": "{ value: T; level: ToolMatchLevel } | undefined"
10370
+ }
10371
+ },
10372
+ "parameters": [
10373
+ {
10374
+ "name": "name",
10375
+ "type": {
10376
+ "text": "string"
10377
+ }
10378
+ }
10379
+ ],
10380
+ "description": "The value that applies to a tool named `name`, and how specifically it names it."
10381
+ },
10382
+ {
10383
+ "kind": "method",
10384
+ "name": "values",
10385
+ "return": {
10386
+ "type": {
10387
+ "text": "T[]"
10388
+ }
10389
+ },
10390
+ "description": "Every value registered, whatever its matcher."
10391
+ },
10392
+ {
10393
+ "kind": "method",
10394
+ "name": "clear",
10395
+ "return": {
10396
+ "type": {
10397
+ "text": "void"
10398
+ }
10399
+ }
10400
+ }
10401
+ ]
10146
10402
  }
10147
10403
  ],
10148
10404
  "exports": [
10149
10405
  {
10150
10406
  "kind": "js",
10151
- "name": "APARTE_DEFAULT_ICON_FALLBACKS",
10152
- "declaration": {
10153
- "name": "APARTE_DEFAULT_ICON_FALLBACKS",
10154
- "module": "src/config/icon-provider.ts"
10155
- }
10156
- }
10157
- ]
10158
- },
10159
- {
10160
- "kind": "javascript-module",
10161
- "path": "src/config/index.ts",
10162
- "declarations": [],
10163
- "exports": [
10164
- {
10165
- "kind": "js",
10166
- "name": "aparteGlobalConfig",
10167
- "declaration": {
10168
- "name": "aparteGlobalConfig",
10169
- "module": "./aparte-config.js"
10170
- }
10171
- },
10172
- {
10173
- "kind": "js",
10174
- "name": "AparteConfig",
10175
- "declaration": {
10176
- "name": "AparteConfig",
10177
- "module": "./aparte-config.js"
10178
- }
10179
- },
10180
- {
10181
- "kind": "js",
10182
- "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
10183
- "declaration": {
10184
- "name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
10185
- "module": "./aparte-config.js"
10186
- }
10187
- },
10188
- {
10189
- "kind": "js",
10190
- "name": "APARTE_DEFAULT_HOST_HANDLERS",
10191
- "declaration": {
10192
- "name": "APARTE_DEFAULT_HOST_HANDLERS",
10193
- "module": "./aparte-config.js"
10194
- }
10195
- },
10196
- {
10197
- "kind": "js",
10198
- "name": "resolveConfig",
10199
- "declaration": {
10200
- "name": "resolveConfig",
10201
- "module": "./config-context.js"
10202
- }
10203
- },
10204
- {
10205
- "kind": "js",
10206
- "name": "attachConfig",
10407
+ "name": "ToolTable",
10207
10408
  "declaration": {
10208
- "name": "attachConfig",
10209
- "module": "./config-context.js"
10409
+ "name": "ToolTable",
10410
+ "module": "src/config/tool-table.ts"
10210
10411
  }
10211
- },
10412
+ }
10413
+ ]
10414
+ },
10415
+ {
10416
+ "kind": "javascript-module",
10417
+ "path": "src/components/index.ts",
10418
+ "declarations": [],
10419
+ "exports": [
10212
10420
  {
10213
10421
  "kind": "js",
10214
- "name": "detachConfig",
10422
+ "name": "AparteChat",
10215
10423
  "declaration": {
10216
- "name": "detachConfig",
10217
- "module": "./config-context.js"
10424
+ "name": "AparteChat",
10425
+ "module": "./chat/index.js"
10218
10426
  }
10219
10427
  },
10220
10428
  {
10221
10429
  "kind": "js",
10222
- "name": "runWithConfig",
10430
+ "name": "AparteChatBubble",
10223
10431
  "declaration": {
10224
- "name": "runWithConfig",
10225
- "module": "./config-context.js"
10432
+ "name": "AparteChatBubble",
10433
+ "module": "./bubble/index.js"
10226
10434
  }
10227
10435
  },
10228
10436
  {
10229
10437
  "kind": "js",
10230
- "name": "contextConfig",
10438
+ "name": "populateBubbleFromMessage",
10231
10439
  "declaration": {
10232
- "name": "contextConfig",
10233
- "module": "./config-context.js"
10440
+ "name": "populateBubbleFromMessage",
10441
+ "module": "./bubble/index.js"
10234
10442
  }
10235
10443
  },
10236
10444
  {
10237
10445
  "kind": "js",
10238
- "name": "APARTE_HOST_ATTR",
10446
+ "name": "SyncableBubble",
10239
10447
  "declaration": {
10240
- "name": "APARTE_HOST_ATTR",
10241
- "module": "./config-context.js"
10448
+ "name": "SyncableBubble",
10449
+ "module": "./bubble/index.js"
10242
10450
  }
10243
10451
  },
10244
10452
  {
10245
10453
  "kind": "js",
10246
- "name": "subscribeConfigChange",
10454
+ "name": "AparteChatStatus",
10247
10455
  "declaration": {
10248
- "name": "subscribeConfigChange",
10249
- "module": "./config-subscribe.js"
10456
+ "name": "AparteChatStatus",
10457
+ "module": "./status/index.js"
10250
10458
  }
10251
10459
  },
10252
10460
  {
10253
10461
  "kind": "js",
10254
- "name": "APARTE_CONFIG_CHANGE",
10462
+ "name": "AparteChatViewport",
10255
10463
  "declaration": {
10256
- "name": "APARTE_CONFIG_CHANGE",
10257
- "module": "./config-subscribe.js"
10464
+ "name": "AparteChatViewport",
10465
+ "module": "./viewport/index.js"
10258
10466
  }
10259
10467
  },
10260
10468
  {
10261
10469
  "kind": "js",
10262
- "name": "AparteConfigAware",
10470
+ "name": "AparteComposer",
10263
10471
  "declaration": {
10264
- "name": "AparteConfigAware",
10265
- "module": "./config-context.js"
10472
+ "name": "AparteComposer",
10473
+ "module": "./composer/index.js"
10266
10474
  }
10267
10475
  },
10268
10476
  {
10269
10477
  "kind": "js",
10270
- "name": "AparteConfigChangeEventDetail",
10478
+ "name": "AparteComposerInput",
10271
10479
  "declaration": {
10272
- "name": "AparteConfigChangeEventDetail",
10273
- "module": "./aparte-config.js"
10480
+ "name": "AparteComposerInput",
10481
+ "module": "./composer/index.js"
10274
10482
  }
10275
10483
  },
10276
10484
  {
10277
10485
  "kind": "js",
10278
- "name": "AparteMarkdownProvider",
10486
+ "name": "AparteComposerSend",
10279
10487
  "declaration": {
10280
- "name": "AparteMarkdownProvider",
10281
- "module": "./aparte-config.js"
10488
+ "name": "AparteComposerSend",
10489
+ "module": "./composer/index.js"
10282
10490
  }
10283
10491
  },
10284
10492
  {
10285
10493
  "kind": "js",
10286
- "name": "AparteStreamingMarkdownProvider",
10494
+ "name": "AparteComposerCancel",
10287
10495
  "declaration": {
10288
- "name": "AparteStreamingMarkdownProvider",
10289
- "module": "./aparte-config.js"
10496
+ "name": "AparteComposerCancel",
10497
+ "module": "./composer/index.js"
10290
10498
  }
10291
10499
  },
10292
10500
  {
10293
10501
  "kind": "js",
10294
- "name": "AparteStreamingMarkdownRenderer",
10502
+ "name": "AparteComposerAttachments",
10295
10503
  "declaration": {
10296
- "name": "AparteStreamingMarkdownRenderer",
10297
- "module": "./aparte-config.js"
10504
+ "name": "AparteComposerAttachments",
10505
+ "module": "./composer/index.js"
10298
10506
  }
10299
10507
  },
10300
10508
  {
10301
10509
  "kind": "js",
10302
- "name": "AparteCodeLanguageRenderer",
10510
+ "name": "AparteComposerAddAttachment",
10303
10511
  "declaration": {
10304
- "name": "AparteCodeLanguageRenderer",
10305
- "module": "./aparte-config.js"
10512
+ "name": "AparteComposerAddAttachment",
10513
+ "module": "./composer/index.js"
10306
10514
  }
10307
10515
  },
10308
10516
  {
10309
10517
  "kind": "js",
10310
- "name": "AparteCodeLanguageContext",
10518
+ "name": "AparteComposerAction",
10311
10519
  "declaration": {
10312
- "name": "AparteCodeLanguageContext",
10313
- "module": "./aparte-config.js"
10520
+ "name": "AparteComposerAction",
10521
+ "module": "./composer/index.js"
10314
10522
  }
10315
10523
  },
10316
10524
  {
10317
10525
  "kind": "js",
10318
- "name": "AparteHighlightProvider",
10526
+ "name": "AparteComposerToolbar",
10319
10527
  "declaration": {
10320
- "name": "AparteHighlightProvider",
10321
- "module": "./aparte-config.js"
10528
+ "name": "AparteComposerToolbar",
10529
+ "module": "./composer/index.js"
10322
10530
  }
10323
10531
  },
10324
10532
  {
10325
10533
  "kind": "js",
10326
- "name": "AparteSystemPromptVarsProvider",
10534
+ "name": "AparteComposerEventMap",
10327
10535
  "declaration": {
10328
- "name": "AparteSystemPromptVarsProvider",
10329
- "module": "./aparte-config.js"
10536
+ "name": "AparteComposerEventMap",
10537
+ "module": "./composer/index.js"
10330
10538
  }
10331
10539
  },
10332
10540
  {
10333
10541
  "kind": "js",
10334
- "name": "AparteModelPreference",
10542
+ "name": "AparteComposerEventType",
10335
10543
  "declaration": {
10336
- "name": "AparteModelPreference",
10337
- "module": "./aparte-config.js"
10544
+ "name": "AparteComposerEventType",
10545
+ "module": "./composer/index.js"
10338
10546
  }
10339
10547
  },
10340
10548
  {
10341
10549
  "kind": "js",
10342
- "name": "AparteModelPreferenceProvider",
10550
+ "name": "AparteComposerState",
10343
10551
  "declaration": {
10344
- "name": "AparteModelPreferenceProvider",
10345
- "module": "./aparte-config.js"
10552
+ "name": "AparteComposerState",
10553
+ "module": "./composer/index.js"
10346
10554
  }
10347
10555
  },
10348
10556
  {
10349
10557
  "kind": "js",
10350
- "name": "AparteSanitizer",
10558
+ "name": "AparteComposerChangeEventDetail",
10351
10559
  "declaration": {
10352
- "name": "AparteSanitizer",
10353
- "module": "./sanitize.js"
10560
+ "name": "AparteComposerChangeEventDetail",
10561
+ "module": "./composer/index.js"
10354
10562
  }
10355
10563
  },
10356
10564
  {
10357
10565
  "kind": "js",
10358
- "name": "defaultSanitizer",
10566
+ "name": "AparteComposerPanelMode",
10359
10567
  "declaration": {
10360
- "name": "defaultSanitizer",
10361
- "module": "./sanitize.js"
10568
+ "name": "AparteComposerPanelMode",
10569
+ "module": "./composer/index.js"
10362
10570
  }
10363
10571
  },
10364
10572
  {
10365
10573
  "kind": "js",
10366
- "name": "isSafeUrl",
10574
+ "name": "AparteActionClickEventDetail",
10367
10575
  "declaration": {
10368
- "name": "isSafeUrl",
10369
- "module": "./sanitize.js"
10576
+ "name": "AparteActionClickEventDetail",
10577
+ "module": "./composer/index.js"
10370
10578
  }
10371
10579
  },
10372
10580
  {
10373
10581
  "kind": "js",
10374
- "name": "AparteIconProvider",
10582
+ "name": "AparteConversationList",
10375
10583
  "declaration": {
10376
- "name": "AparteIconProvider",
10377
- "module": "./icon-provider.js"
10584
+ "name": "AparteConversationList",
10585
+ "module": "./conversation-list/index.js"
10378
10586
  }
10379
10587
  },
10380
10588
  {
10381
10589
  "kind": "js",
10382
- "name": "AparteIconName",
10590
+ "name": "AparteConversationListItem",
10383
10591
  "declaration": {
10384
- "name": "AparteIconName",
10385
- "module": "./icon-provider.js"
10592
+ "name": "AparteConversationListItem",
10593
+ "module": "./conversation-list/index.js"
10386
10594
  }
10387
10595
  },
10388
10596
  {
10389
10597
  "kind": "js",
10390
- "name": "AparteCoreIconName",
10598
+ "name": "AparteConversationSelectDetail",
10391
10599
  "declaration": {
10392
- "name": "AparteCoreIconName",
10393
- "module": "./icon-provider.js"
10600
+ "name": "AparteConversationSelectDetail",
10601
+ "module": "./conversation-list/index.js"
10394
10602
  }
10395
10603
  },
10396
10604
  {
10397
10605
  "kind": "js",
10398
- "name": "APARTE_DEFAULT_ICON_FALLBACKS",
10606
+ "name": "AparteConversationDeleteDetail",
10399
10607
  "declaration": {
10400
- "name": "APARTE_DEFAULT_ICON_FALLBACKS",
10401
- "module": "./icon-provider.js"
10608
+ "name": "AparteConversationDeleteDetail",
10609
+ "module": "./conversation-list/index.js"
10402
10610
  }
10403
10611
  },
10404
10612
  {
10405
10613
  "kind": "js",
10406
- "name": "AparteAvatarProvider",
10614
+ "name": "AparteConversationArchiveDetail",
10407
10615
  "declaration": {
10408
- "name": "AparteAvatarProvider",
10409
- "module": "./avatar-provider.js"
10616
+ "name": "AparteConversationArchiveDetail",
10617
+ "module": "./conversation-list/index.js"
10410
10618
  }
10411
10619
  },
10412
10620
  {
10413
10621
  "kind": "js",
10414
- "name": "AparteStatusRenderer",
10622
+ "name": "AparteConversationPinDetail",
10415
10623
  "declaration": {
10416
- "name": "AparteStatusRenderer",
10417
- "module": "./status-renderer.js"
10624
+ "name": "AparteConversationPinDetail",
10625
+ "module": "./conversation-list/index.js"
10418
10626
  }
10419
10627
  },
10420
10628
  {
10421
10629
  "kind": "js",
10422
- "name": "AparteErrorRenderer",
10630
+ "name": "AparteConversationRenameDetail",
10423
10631
  "declaration": {
10424
- "name": "AparteErrorRenderer",
10425
- "module": "./error-renderer.js"
10632
+ "name": "AparteConversationRenameDetail",
10633
+ "module": "./conversation-list/index.js"
10426
10634
  }
10427
10635
  },
10428
10636
  {
10429
10637
  "kind": "js",
10430
- "name": "AparteAttachmentRenderer",
10638
+ "name": "AparteConversationStatus",
10431
10639
  "declaration": {
10432
- "name": "AparteAttachmentRenderer",
10433
- "module": "./attachment-renderer.js"
10640
+ "name": "AparteConversationStatus",
10641
+ "module": "./conversation-list/index.js"
10434
10642
  }
10435
10643
  },
10436
10644
  {
10437
10645
  "kind": "js",
10438
- "name": "AparteElicitationFieldRenderer",
10646
+ "name": "AparteConversationStatusDetail",
10439
10647
  "declaration": {
10440
- "name": "AparteElicitationFieldRenderer",
10441
- "module": "./elicitation-field-renderer.js"
10648
+ "name": "AparteConversationStatusDetail",
10649
+ "module": "./conversation-list/index.js"
10442
10650
  }
10443
10651
  },
10444
10652
  {
10445
10653
  "kind": "js",
10446
- "name": "AparteElicitationFieldContext",
10654
+ "name": "AparteSuggestions",
10447
10655
  "declaration": {
10448
- "name": "AparteElicitationFieldContext",
10449
- "module": "./elicitation-field-renderer.js"
10656
+ "name": "AparteSuggestions",
10657
+ "module": "./suggestions/index.js"
10450
10658
  }
10451
10659
  },
10452
10660
  {
10453
10661
  "kind": "js",
10454
- "name": "AparteElicitationFieldControl",
10662
+ "name": "AparteSuggestion",
10455
10663
  "declaration": {
10456
- "name": "AparteElicitationFieldControl",
10457
- "module": "./elicitation-field-renderer.js"
10664
+ "name": "AparteSuggestion",
10665
+ "module": "./suggestions/index.js"
10458
10666
  }
10459
10667
  },
10460
10668
  {
10461
10669
  "kind": "js",
10462
- "name": "AparteSiblingNavRenderer",
10670
+ "name": "AparteSuggestionEventDetail",
10463
10671
  "declaration": {
10464
- "name": "AparteSiblingNavRenderer",
10465
- "module": "./sibling-nav-renderer.js"
10672
+ "name": "AparteSuggestionEventDetail",
10673
+ "module": "./suggestions/index.js"
10466
10674
  }
10467
10675
  },
10468
10676
  {
10469
10677
  "kind": "js",
10470
- "name": "AparteBubbleShellRenderer",
10678
+ "name": "AparteContext",
10471
10679
  "declaration": {
10472
- "name": "AparteBubbleShellRenderer",
10473
- "module": "./bubble-shell-renderer.js"
10680
+ "name": "AparteContext",
10681
+ "module": "./context/index.js"
10474
10682
  }
10475
10683
  },
10476
10684
  {
10477
10685
  "kind": "js",
10478
- "name": "AparteLocale",
10686
+ "name": "AparteContextLevel",
10479
10687
  "declaration": {
10480
- "name": "AparteLocale",
10481
- "module": "./locale.js"
10688
+ "name": "AparteContextLevel",
10689
+ "module": "./context/index.js"
10482
10690
  }
10483
10691
  },
10484
10692
  {
10485
10693
  "kind": "js",
10486
- "name": "AparteLocaleExtensions",
10694
+ "name": "AparteContextThresholdEventDetail",
10487
10695
  "declaration": {
10488
- "name": "AparteLocaleExtensions",
10489
- "module": "./locale.js"
10696
+ "name": "AparteContextThresholdEventDetail",
10697
+ "module": "./context/index.js"
10490
10698
  }
10491
10699
  },
10492
10700
  {
10493
10701
  "kind": "js",
10494
- "name": "APARTE_DEFAULT_LOCALE",
10702
+ "name": "AparteScrollRail",
10495
10703
  "declaration": {
10496
- "name": "APARTE_DEFAULT_LOCALE",
10497
- "module": "./locale.js"
10704
+ "name": "AparteScrollRail",
10705
+ "module": "./scroll-rail/index.js"
10498
10706
  }
10499
10707
  },
10500
10708
  {
10501
10709
  "kind": "js",
10502
- "name": "AparteAction",
10710
+ "name": "AparteScrollRailJumpDetail",
10503
10711
  "declaration": {
10504
- "name": "AparteAction",
10505
- "module": "./action-provider.js"
10712
+ "name": "AparteScrollRailJumpDetail",
10713
+ "module": "./scroll-rail/index.js"
10506
10714
  }
10507
10715
  },
10508
10716
  {
10509
10717
  "kind": "js",
10510
- "name": "AparteActionZone",
10718
+ "name": "AparteScrollRailEvery",
10511
10719
  "declaration": {
10512
- "name": "AparteActionZone",
10513
- "module": "./action-provider.js"
10514
- }
10515
- }
10516
- ]
10517
- },
10518
- {
10519
- "kind": "javascript-module",
10520
- "path": "src/config/locale.ts",
10521
- "declarations": [
10522
- {
10523
- "kind": "variable",
10524
- "name": "APARTE_DEFAULT_LOCALE",
10525
- "type": {
10526
- "text": "AparteLocale"
10527
- },
10528
- "default": "{ inputPlaceholder: \"Type a message...\", sendButton: \"Send\", copy: \"Copy\", copied: \"Copied!\", retry: \"Retry\", thinking: \"Thinking\", elicitationOther: \"Other…\", elicitationOtherPlaceholder: \"Type your answer…\", elicitationOtherLabel: \"Custom answer\", submitButton: \"Submit\", stopButton: \"Stop\", elicitationRecommended: \"Recommended\", elicitationSkip: \"Skip\", elicitationHide: \"Hide for now\", elicitationWaiting: \"Waiting for your answer\", elicitationYes: \"Yes\", elicitationNo: \"No\", elicitationAnswerLabel: \"Your answer\", approvalInstructionPlaceholder: \"Or tell it what to do instead…\", approvalAsk: \"Allow {tool}?\", approvalWaiting: \"Waiting\", scrollToBottom: \"Scroll to bottom\", suggestionsLabel: \"Suggested prompts\", contextLabel: \"Context window\", contextSystem: \"System prompt\", contextTools: \"Tools\", contextSummary: \"Summary\", contextMessages: \"Messages\", contextOther: \"Other\", contextFree: \"Free\", contextTotal: \"Total\", contextReclaim: \"Compacting now would free ~{n} tokens\", contextCompactNow: \"Compact now\", compactionSummaryTitle: \"Conversation summary\", checkpointCount: \"{n} messages summarised for the model\", checkpointCountOne: \"1 message summarised for the model\", checkpointLegacy: \"Earlier messages were summarised\", checkpointGroup: \"Context summary\", checkpointShow: \"Show summary\", checkpointHide: \"Hide summary\", checkpointRestore: \"Restore\", checkpointRestoreConfirm: \"Send the original messages to the model again?\", checkpointPending: \"Summarising the context…\", checkpointFailed: \"Couldn't summarise the context\", toolRunning: \"Running\", toolCompleted: \"Done\", toolRejected: \"Rejected\", toolStopped: \"Stopped\", toolFailed: \"Failed\", toolInput: \"Input\", toolOutput: \"Output\", toolRejectedSaid: \"You said: “{instruction}”\", toolRefusedByPolicy: \"Refused by policy\", toolNotRunAfterRefusal: \"Not run: an earlier call was refused\", toolTimedOut: \"Timed out\", toolUnavailable: \"Not available here\", toolNoApprover: \"No one could approve it\", toolTurnLimit: \"Turn limit reached\", maxTurnsReached: \"Stopped after {n} turns to avoid an endless loop.\", sourcesCount: \"{n} sources\", sourcesOne: \"1 source\", sourcesCard: \"Sources\", sourcePrevious: \"Previous source\", sourceNext: \"Next source\", sourcePosition: \"Source {i} of {n}\", opensInNewTab: \"(opens in a new tab)\", questionDeclined: \"You declined to answer.\", artifactNotCreated: \"Not created\", thoughtFor: \"Thought for {duration}\", thought: \"Thought\", approvalOptionsLabel: \"Your decision\", approvalArgsLabel: \"Arguments\", actionUpload: \"Attach file\", removeAttachment: \"Remove {name}\", messageFrom: \"Message from {name}\", selectSearchPlaceholder: \"Search…\", selectSearchLabel: \"Search options\", loading: \"Loading…\", download: \"Download\", openArtifact: \"Open\", modelContextWindow: \"{n} context\", previewPending: \"Press Preview to run this artifact.\", sandboxError: \"The sandbox failed during generation.\", sandboxErrorHint: \"Common cause: the model produced invalid code (undefined variable, wrong argument type). Retry the request — the model may produce different code.\", preview: \"Preview\", code: \"Code\", generating: \"Generating…\", rebuildingPreview: \"Rebuilding preview…\", typing: \"Typing\", responseCutOff: \"Cut off at the model's length limit.\", error: \"Error\", errorUnreachable: \"The assistant can’t be reached right now. Try again in a moment.\", errorTimeout: \"The answer took too long. Try again in a moment.\", errorRefused: \"The assistant isn’t allowed to answer right now.\", errorRateLimited: \"Too many requests right now. Try again in a moment.\", errorTooLong: \"This conversation is too long for the model. Start a new one.\", errorFailed: \"The assistant couldn’t answer. Try again in a moment.\", errorNoAnswer: \"The assistant couldn’t answer this request.\", running: \"Running...\", run: \"Run\", file: \"File\", modelSelectorPlaceholder: \"Select a model...\", approvalModeLabel: \"Approval mode\", roleNameUser: \"You\", roleNameAssistant: \"Assistant\", yourMessage: \"Your message\", assistantResponse: \"Assistant response\", messageActions: \"Message actions\", edit: \"Edit message\", editConfirm: \"Send\", editCancel: \"Cancel\", feedbackPositive: \"Good response\", feedbackNegative: \"Bad response\", previousResponse: \"Previous response\", nextResponse: \"Next response\", approveTool: \"Approve\", rejectTool: \"Reject\", messageInfo: \"Details\", newChat: \"New Chat\", loadingConversations: \"Loading conversations\", conversationSearchEmpty: \"No conversation matches\", conversationList: \"Conversations\", loadingConversation: \"Loading the conversation\", deleteConversation: \"Delete\", archiveConversation: \"Archive\", unarchiveConversation: \"Unarchive\", conversationActions: \"Conversation actions\", conversationRunning: \"Answering\", conversationWaiting: \"Waiting for you\", renameConversation: \"Rename\", conversationTitle: \"Conversation title\", pinConversation: \"Pin\", unpinConversation: \"Unpin\", deleteConversationConfirm: \"Delete “{title}”?\", cancel: \"Cancel\", conversationGroupPinned: \"Pinned\", conversationGroupToday: \"Today\", conversationGroupYesterday: \"Yesterday\", conversationGroupWeek: \"Previous 7 days\", conversationGroupMonth: \"Previous 30 days\", scrollRailLabel: \"Conversation outline\", sidebarLabel: \"Conversations\", splitHandleLabel: \"Resize the panes\", launcherOpen: \"Open the chat\", launcherClose: \"Close the chat\", transcript: \"Transcript\" }",
10529
- "description": "Default English Locale (Zero-dependency)\nHardcoded to ensure the core works out-of-the-box."
10530
- }
10531
- ],
10532
- "exports": [
10720
+ "name": "AparteScrollRailEvery",
10721
+ "module": "./scroll-rail/index.js"
10722
+ }
10723
+ },
10533
10724
  {
10534
10725
  "kind": "js",
10535
- "name": "APARTE_DEFAULT_LOCALE",
10726
+ "name": "AparteSidebar",
10536
10727
  "declaration": {
10537
- "name": "APARTE_DEFAULT_LOCALE",
10538
- "module": "src/config/locale.ts"
10728
+ "name": "AparteSidebar",
10729
+ "module": "./sidebar/index.js"
10539
10730
  }
10540
- }
10541
- ]
10542
- },
10543
- {
10544
- "kind": "javascript-module",
10545
- "path": "src/config/sanitize.ts",
10546
- "declarations": [
10547
- {
10548
- "kind": "variable",
10549
- "name": "DANGEROUS_TAGS",
10550
- "default": "new Set([ 'script', 'style', 'iframe', 'frame', 'frameset', 'object', 'embed', 'applet', 'form', 'button', 'textarea', 'select', 'option', 'optgroup', 'link', 'meta', 'base', 'title', 'head', 'html', 'body', 'template', 'noscript', 'svg', 'math', 'portal', ])",
10551
- "description": "Tags dropped wholesale — content and all (never unwrapped to text).\n\nExported for the DOM-free path's own suite: both of `fallbackScrub`'s regexes\nare built from this Set, and the test that proves it loops over the Set rather\nthan a copy. Not re-exported from the package barrel — it is core's list, not\na contract."
10552
10731
  },
10553
10732
  {
10554
- "kind": "function",
10555
- "name": "isSafeUrl",
10556
- "return": {
10557
- "type": {
10558
- "text": "boolean"
10559
- }
10560
- },
10561
- "parameters": [
10562
- {
10563
- "name": "value",
10564
- "type": {
10565
- "text": "string"
10566
- }
10567
- },
10568
- {
10569
- "name": "tag",
10570
- "type": {
10571
- "text": "string"
10572
- }
10573
- }
10574
- ]
10733
+ "kind": "js",
10734
+ "name": "AparteSidebarToggleDetail",
10735
+ "declaration": {
10736
+ "name": "AparteSidebarToggleDetail",
10737
+ "module": "./sidebar/index.js"
10738
+ }
10575
10739
  },
10576
- {
10577
- "kind": "function",
10578
- "name": "defaultSanitizer",
10579
- "return": {
10580
- "type": {
10581
- "text": "string"
10582
- }
10583
- },
10584
- "parameters": [
10585
- {
10586
- "name": "html",
10587
- "type": {
10588
- "text": "string"
10589
- }
10590
- }
10591
- ],
10592
- "description": "The built-in sanitizer. Parses `html` with the platform DOMParser, rebuilds an\nallowlisted tree, and re-serializes it. Falls back to a regex scrub only when\nno DOMParser exists (non-browser runtime)."
10593
- }
10594
- ],
10595
- "exports": [
10596
10740
  {
10597
10741
  "kind": "js",
10598
- "name": "DANGEROUS_TAGS",
10742
+ "name": "AparteSplit",
10599
10743
  "declaration": {
10600
- "name": "DANGEROUS_TAGS",
10601
- "module": "src/config/sanitize.ts"
10744
+ "name": "AparteSplit",
10745
+ "module": "./split/index.js"
10602
10746
  }
10603
10747
  },
10604
10748
  {
10605
10749
  "kind": "js",
10606
- "name": "isSafeUrl",
10750
+ "name": "AparteSplitResizeDetail",
10607
10751
  "declaration": {
10608
- "name": "isSafeUrl",
10609
- "module": "src/config/sanitize.ts"
10752
+ "name": "AparteSplitResizeDetail",
10753
+ "module": "./split/index.js"
10610
10754
  }
10611
10755
  },
10612
10756
  {
10613
10757
  "kind": "js",
10614
- "name": "defaultSanitizer",
10758
+ "name": "AparteLauncher",
10615
10759
  "declaration": {
10616
- "name": "defaultSanitizer",
10617
- "module": "src/config/sanitize.ts"
10760
+ "name": "AparteLauncher",
10761
+ "module": "./launcher/index.js"
10618
10762
  }
10619
- }
10620
- ]
10621
- },
10622
- {
10623
- "kind": "javascript-module",
10624
- "path": "src/config/sibling-nav-renderer.ts",
10625
- "declarations": [],
10626
- "exports": []
10627
- },
10628
- {
10629
- "kind": "javascript-module",
10630
- "path": "src/config/status-renderer.ts",
10631
- "declarations": [],
10632
- "exports": []
10633
- },
10634
- {
10635
- "kind": "javascript-module",
10636
- "path": "src/config/tool-table.ts",
10637
- "declarations": [
10638
- {
10639
- "kind": "class",
10640
- "description": "",
10641
- "name": "ToolTable",
10642
- "members": [
10643
- {
10644
- "kind": "field",
10645
- "name": "exact",
10646
- "privacy": "private",
10647
- "readonly": true,
10648
- "default": "new Map<string, T>()"
10649
- },
10650
- {
10651
- "kind": "field",
10652
- "name": "patterns",
10653
- "privacy": "private",
10654
- "readonly": true,
10655
- "default": "new Map<string, { re: RegExp; value: T }>()"
10656
- },
10657
- {
10658
- "kind": "field",
10659
- "name": "any",
10660
- "type": {
10661
- "text": "T | undefined"
10662
- },
10663
- "privacy": "private"
10664
- },
10665
- {
10666
- "kind": "method",
10667
- "name": "get",
10668
- "return": {
10669
- "type": {
10670
- "text": "T | undefined"
10671
- }
10672
- },
10673
- "parameters": [
10674
- {
10675
- "name": "match",
10676
- "type": {
10677
- "text": "AparteToolMatcher"
10678
- }
10679
- }
10680
- ],
10681
- "description": "The value registered under exactly this matcher — not a resolution."
10682
- },
10683
- {
10684
- "kind": "method",
10685
- "name": "set",
10686
- "return": {
10687
- "type": {
10688
- "text": "void"
10689
- }
10690
- },
10691
- "parameters": [
10692
- {
10693
- "name": "match",
10694
- "type": {
10695
- "text": "AparteToolMatcher"
10696
- }
10697
- },
10698
- {
10699
- "name": "value",
10700
- "type": {
10701
- "text": "T"
10702
- }
10703
- }
10704
- ]
10705
- },
10706
- {
10707
- "kind": "method",
10708
- "name": "delete",
10709
- "return": {
10710
- "type": {
10711
- "text": "void"
10712
- }
10713
- },
10714
- "parameters": [
10715
- {
10716
- "name": "match",
10717
- "type": {
10718
- "text": "AparteToolMatcher"
10719
- }
10720
- }
10721
- ]
10722
- },
10723
- {
10724
- "kind": "method",
10725
- "name": "resolve",
10726
- "return": {
10727
- "type": {
10728
- "text": "{ value: T; level: ToolMatchLevel } | undefined"
10729
- }
10730
- },
10731
- "parameters": [
10732
- {
10733
- "name": "name",
10734
- "type": {
10735
- "text": "string"
10736
- }
10737
- }
10738
- ],
10739
- "description": "The value that applies to a tool named `name`, and how specifically it names it."
10740
- },
10741
- {
10742
- "kind": "method",
10743
- "name": "values",
10744
- "return": {
10745
- "type": {
10746
- "text": "T[]"
10747
- }
10748
- },
10749
- "description": "Every value registered, whatever its matcher."
10750
- },
10751
- {
10752
- "kind": "method",
10753
- "name": "clear",
10754
- "return": {
10755
- "type": {
10756
- "text": "void"
10757
- }
10758
- }
10759
- }
10760
- ]
10761
- }
10762
- ],
10763
- "exports": [
10763
+ },
10764
10764
  {
10765
10765
  "kind": "js",
10766
- "name": "ToolTable",
10766
+ "name": "AparteLauncherToggleDetail",
10767
10767
  "declaration": {
10768
- "name": "ToolTable",
10769
- "module": "src/config/tool-table.ts"
10768
+ "name": "AparteLauncherToggleDetail",
10769
+ "module": "./launcher/index.js"
10770
10770
  }
10771
10771
  }
10772
10772
  ]
@@ -22795,7 +22795,7 @@
22795
22795
  "type": {
22796
22796
  "text": "boolean"
22797
22797
  },
22798
- "description": "The ChatGPT anatomy, opt-in: the transcript's scroll surface spans the whole column and the composer (with the rest of the bottom stack) floats over it, so the scrollbar runs edge to edge instead of stopping at the composer's top. The viewport measures the stack and publishes `--aparte-bottom-inset`; content, spacer and the scroll button clear it. Read when the viewport wires its observers — set it in the initial markup. Also honoured on a wrapper's `[data-aparte-chat]` root.",
22798
+ "description": "The ChatGPT anatomy, opt-in: the transcript's scroll surface spans the whole column and the composer (with the rest of the bottom stack) floats over it, so the scrollbar runs edge to edge instead of stopping at the composer's top. The viewport measures the stack and publishes `--aparte-bottom-inset`; content, spacer and the scroll button clear it. Followed by the viewport: it can be set or removed after the chat mounts. Also honoured on a wrapper's `[data-aparte-chat]` root.",
22799
22799
  "name": "overlay-composer"
22800
22800
  },
22801
22801
  {
@@ -30447,7 +30447,7 @@
30447
30447
  },
30448
30448
  "privacy": "private",
30449
30449
  "default": "null",
30450
- "description": "The `[overlay-composer]` shell this viewport floats in, if any. Read at observer setup, like `framework-managed`."
30450
+ "description": "The `[overlay-composer]` shell this viewport floats in, if any. Followed, not read once: see `_wireOverlay`."
30451
30451
  },
30452
30452
  {
30453
30453
  "kind": "field",
@@ -30459,6 +30459,16 @@
30459
30459
  "default": "null",
30460
30460
  "description": "Watches the overlay shell's childList, so a stack child that mounts later (elicitation) gets observed too."
30461
30461
  },
30462
+ {
30463
+ "kind": "field",
30464
+ "name": "_overlayAttrObserver",
30465
+ "type": {
30466
+ "text": "MutationObserver | null"
30467
+ },
30468
+ "privacy": "private",
30469
+ "default": "null",
30470
+ "description": "Watches the parent's `overlay-composer` attribute, so the mode follows a binding that lands after connect."
30471
+ },
30462
30472
  {
30463
30473
  "kind": "field",
30464
30474
  "name": "_overlayInset",
@@ -31566,6 +31576,17 @@
31566
31576
  }
31567
31577
  }
31568
31578
  },
31579
+ {
31580
+ "kind": "method",
31581
+ "name": "_wireOverlay",
31582
+ "privacy": "private",
31583
+ "return": {
31584
+ "type": {
31585
+ "text": "void"
31586
+ }
31587
+ },
31588
+ "description": "Follow the `[overlay-composer]` shell: observe its stack when the attribute is\nthere, unobserve it and drop the var when it is gone. A no-op while the shell\nhas not changed — it runs at setup and on every write of the attribute."
31589
+ },
31569
31590
  {
31570
31591
  "kind": "method",
31571
31592
  "name": "_overlayStack",