@aparte/core 0.29.3 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/chat/aparte-chat.d.ts +2 -2
- package/dist/components/viewport/aparte-chat-viewport.d.ts +9 -1
- package/dist/components/viewport/aparte-chat-viewport.d.ts.map +1 -1
- package/dist/conversations/conversation-controller.d.ts.map +1 -1
- package/dist/custom-elements.json +1356 -1335
- package/dist/{defer-hydration-DhcT-6MP.js → defer-hydration-rafq3SGv.js} +2 -1
- package/dist/{defer-hydration-DhcT-6MP.js.map → defer-hydration-rafq3SGv.js.map} +1 -1
- package/dist/generated/element-attributes.d.ts +1 -1
- package/dist/generated/element-attributes.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +34 -12
- package/dist/index.js.map +1 -1
- package/dist/index.node.js +1 -1
- package/package.json +2 -2
|
@@ -7076,242 +7076,601 @@
|
|
|
7076
7076
|
},
|
|
7077
7077
|
{
|
|
7078
7078
|
"kind": "javascript-module",
|
|
7079
|
-
"path": "src/
|
|
7079
|
+
"path": "src/components/index.ts",
|
|
7080
7080
|
"declarations": [],
|
|
7081
|
-
"exports": [
|
|
7082
|
-
},
|
|
7083
|
-
{
|
|
7084
|
-
"kind": "javascript-module",
|
|
7085
|
-
"path": "src/config/aparte-config.ts",
|
|
7086
|
-
"declarations": [
|
|
7081
|
+
"exports": [
|
|
7087
7082
|
{
|
|
7088
|
-
"kind": "
|
|
7089
|
-
"name": "
|
|
7090
|
-
"
|
|
7091
|
-
"
|
|
7092
|
-
|
|
7093
|
-
|
|
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."
|
|
7083
|
+
"kind": "js",
|
|
7084
|
+
"name": "AparteChat",
|
|
7085
|
+
"declaration": {
|
|
7086
|
+
"name": "AparteChat",
|
|
7087
|
+
"module": "./chat/index.js"
|
|
7088
|
+
}
|
|
7095
7089
|
},
|
|
7096
7090
|
{
|
|
7097
|
-
"kind": "
|
|
7098
|
-
"name": "
|
|
7099
|
-
"
|
|
7100
|
-
"
|
|
7101
|
-
|
|
7102
|
-
|
|
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."
|
|
7091
|
+
"kind": "js",
|
|
7092
|
+
"name": "AparteChatBubble",
|
|
7093
|
+
"declaration": {
|
|
7094
|
+
"name": "AparteChatBubble",
|
|
7095
|
+
"module": "./bubble/index.js"
|
|
7096
|
+
}
|
|
7104
7097
|
},
|
|
7105
7098
|
{
|
|
7106
|
-
"kind": "
|
|
7107
|
-
"name": "
|
|
7108
|
-
"
|
|
7109
|
-
"
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
},
|
|
7113
|
-
"parameters": [
|
|
7114
|
-
{
|
|
7115
|
-
"name": "cfg",
|
|
7116
|
-
"type": {
|
|
7117
|
-
"text": "AparteConfig"
|
|
7118
|
-
}
|
|
7119
|
-
}
|
|
7120
|
-
]
|
|
7099
|
+
"kind": "js",
|
|
7100
|
+
"name": "populateBubbleFromMessage",
|
|
7101
|
+
"declaration": {
|
|
7102
|
+
"name": "populateBubbleFromMessage",
|
|
7103
|
+
"module": "./bubble/index.js"
|
|
7104
|
+
}
|
|
7121
7105
|
},
|
|
7122
7106
|
{
|
|
7123
|
-
"kind": "
|
|
7124
|
-
"name": "
|
|
7125
|
-
"
|
|
7126
|
-
"
|
|
7127
|
-
|
|
7128
|
-
|
|
7129
|
-
},
|
|
7130
|
-
"parameters": [
|
|
7131
|
-
{
|
|
7132
|
-
"name": "listener",
|
|
7133
|
-
"type": {
|
|
7134
|
-
"text": "(cfg: AparteConfig) => void"
|
|
7135
|
-
}
|
|
7136
|
-
}
|
|
7137
|
-
]
|
|
7107
|
+
"kind": "js",
|
|
7108
|
+
"name": "SyncableBubble",
|
|
7109
|
+
"declaration": {
|
|
7110
|
+
"name": "SyncableBubble",
|
|
7111
|
+
"module": "./bubble/index.js"
|
|
7112
|
+
}
|
|
7138
7113
|
},
|
|
7139
7114
|
{
|
|
7140
|
-
"kind": "
|
|
7141
|
-
"name": "
|
|
7142
|
-
"
|
|
7143
|
-
"
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
},
|
|
7147
|
-
"parameters": [
|
|
7148
|
-
{
|
|
7149
|
-
"name": "cfg",
|
|
7150
|
-
"type": {
|
|
7151
|
-
"text": "AparteConfig"
|
|
7152
|
-
}
|
|
7153
|
-
}
|
|
7154
|
-
]
|
|
7115
|
+
"kind": "js",
|
|
7116
|
+
"name": "AparteChatStatus",
|
|
7117
|
+
"declaration": {
|
|
7118
|
+
"name": "AparteChatStatus",
|
|
7119
|
+
"module": "./status/index.js"
|
|
7120
|
+
}
|
|
7155
7121
|
},
|
|
7156
7122
|
{
|
|
7157
|
-
"kind": "
|
|
7158
|
-
"
|
|
7159
|
-
"
|
|
7160
|
-
|
|
7161
|
-
|
|
7162
|
-
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7175
|
-
|
|
7176
|
-
|
|
7177
|
-
|
|
7178
|
-
|
|
7179
|
-
|
|
7180
|
-
|
|
7181
|
-
|
|
7182
|
-
|
|
7183
|
-
|
|
7184
|
-
|
|
7185
|
-
|
|
7186
|
-
|
|
7187
|
-
|
|
7188
|
-
|
|
7189
|
-
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
|
|
7199
|
-
|
|
7200
|
-
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
|
|
7204
|
-
|
|
7205
|
-
|
|
7206
|
-
|
|
7207
|
-
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
|
|
7212
|
-
|
|
7213
|
-
|
|
7214
|
-
|
|
7215
|
-
|
|
7216
|
-
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
|
|
7230
|
-
|
|
7231
|
-
|
|
7232
|
-
|
|
7233
|
-
|
|
7234
|
-
|
|
7235
|
-
|
|
7236
|
-
|
|
7237
|
-
|
|
7238
|
-
|
|
7239
|
-
|
|
7240
|
-
|
|
7241
|
-
|
|
7242
|
-
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
|
|
7251
|
-
|
|
7252
|
-
|
|
7253
|
-
|
|
7254
|
-
|
|
7255
|
-
|
|
7256
|
-
|
|
7257
|
-
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7272
|
-
|
|
7273
|
-
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
7311
|
-
|
|
7312
|
-
|
|
7313
|
-
|
|
7314
|
-
|
|
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
|
+
},
|
|
7234
|
+
{
|
|
7235
|
+
"kind": "js",
|
|
7236
|
+
"name": "AparteActionClickEventDetail",
|
|
7237
|
+
"declaration": {
|
|
7238
|
+
"name": "AparteActionClickEventDetail",
|
|
7239
|
+
"module": "./composer/index.js"
|
|
7240
|
+
}
|
|
7241
|
+
},
|
|
7242
|
+
{
|
|
7243
|
+
"kind": "js",
|
|
7244
|
+
"name": "AparteConversationList",
|
|
7245
|
+
"declaration": {
|
|
7246
|
+
"name": "AparteConversationList",
|
|
7247
|
+
"module": "./conversation-list/index.js"
|
|
7248
|
+
}
|
|
7249
|
+
},
|
|
7250
|
+
{
|
|
7251
|
+
"kind": "js",
|
|
7252
|
+
"name": "AparteConversationListItem",
|
|
7253
|
+
"declaration": {
|
|
7254
|
+
"name": "AparteConversationListItem",
|
|
7255
|
+
"module": "./conversation-list/index.js"
|
|
7256
|
+
}
|
|
7257
|
+
},
|
|
7258
|
+
{
|
|
7259
|
+
"kind": "js",
|
|
7260
|
+
"name": "AparteConversationSelectDetail",
|
|
7261
|
+
"declaration": {
|
|
7262
|
+
"name": "AparteConversationSelectDetail",
|
|
7263
|
+
"module": "./conversation-list/index.js"
|
|
7264
|
+
}
|
|
7265
|
+
},
|
|
7266
|
+
{
|
|
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
|
+
]
|
|
7514
|
+
},
|
|
7515
|
+
{
|
|
7516
|
+
"kind": "class",
|
|
7517
|
+
"description": "Everything a chat is configured with: the providers and the selected model, the\ntransport and the keys, the tools, the renderers and render hooks, the Markdown and\nhighlight providers, the locale, the icons, the avatars, the actions.\n\naparteGlobalConfig is the one every chat on the page reads. A chat that needs a\nconfiguration of its own takes a `new AparteConfig()` attached to its element or to an\nancestor with attachConfig; the framework wrappers take it as their `config` prop.\n\nA change to what is drawn — providers, the model, the locale, icons, avatars, actions,\nrenderers — reaches the components already on the page: AparteConfig.subscribe| subscribe() listeners are\ncalled, and `aparte-config-change` is dispatched on `window` with the instance that changed.\nThe Markdown, streaming-Markdown and highlight providers are among them: a message drawn\nbefore they were set is drawn again with them (one still streaming, once it ends). The\nsanitizer, segment defaults, tools, tool renderers and summaries apply to what is drawn\nafter they are set, so set them before the chat renders; the transport, the keys and the\nsystem prompt apply from the next request.",
|
|
7518
|
+
"name": "AparteConfig",
|
|
7519
|
+
"members": [
|
|
7520
|
+
{
|
|
7521
|
+
"kind": "field",
|
|
7522
|
+
"name": "_markdownProvider",
|
|
7523
|
+
"type": {
|
|
7524
|
+
"text": "AparteMarkdownProvider | undefined"
|
|
7525
|
+
},
|
|
7526
|
+
"privacy": "private"
|
|
7527
|
+
},
|
|
7528
|
+
{
|
|
7529
|
+
"kind": "field",
|
|
7530
|
+
"name": "_streamingMarkdownProvider",
|
|
7531
|
+
"type": {
|
|
7532
|
+
"text": "AparteStreamingMarkdownProvider | undefined"
|
|
7533
|
+
},
|
|
7534
|
+
"privacy": "private"
|
|
7535
|
+
},
|
|
7536
|
+
{
|
|
7537
|
+
"kind": "field",
|
|
7538
|
+
"name": "_highlightProvider",
|
|
7539
|
+
"type": {
|
|
7540
|
+
"text": "AparteHighlightProvider | undefined"
|
|
7541
|
+
},
|
|
7542
|
+
"privacy": "private"
|
|
7543
|
+
},
|
|
7544
|
+
{
|
|
7545
|
+
"kind": "field",
|
|
7546
|
+
"name": "_codeLanguageRenderers",
|
|
7547
|
+
"privacy": "private",
|
|
7548
|
+
"default": "new Map<string, AparteCodeLanguageRenderer>()"
|
|
7549
|
+
},
|
|
7550
|
+
{
|
|
7551
|
+
"kind": "field",
|
|
7552
|
+
"name": "_sanitizer",
|
|
7553
|
+
"type": {
|
|
7554
|
+
"text": "AparteSanitizer | null"
|
|
7555
|
+
},
|
|
7556
|
+
"privacy": "private",
|
|
7557
|
+
"default": "defaultSanitizer"
|
|
7558
|
+
},
|
|
7559
|
+
{
|
|
7560
|
+
"kind": "field",
|
|
7561
|
+
"name": "_systemPromptTemplate",
|
|
7562
|
+
"type": {
|
|
7563
|
+
"text": "string | undefined"
|
|
7564
|
+
},
|
|
7565
|
+
"privacy": "private"
|
|
7566
|
+
},
|
|
7567
|
+
{
|
|
7568
|
+
"kind": "field",
|
|
7569
|
+
"name": "_systemPromptVarsProvider",
|
|
7570
|
+
"type": {
|
|
7571
|
+
"text": "AparteSystemPromptVarsProvider | undefined"
|
|
7572
|
+
},
|
|
7573
|
+
"privacy": "private"
|
|
7574
|
+
},
|
|
7575
|
+
{
|
|
7576
|
+
"kind": "field",
|
|
7577
|
+
"name": "_statusRenderer",
|
|
7578
|
+
"type": {
|
|
7579
|
+
"text": "AparteStatusRenderer | undefined"
|
|
7580
|
+
},
|
|
7581
|
+
"privacy": "private"
|
|
7582
|
+
},
|
|
7583
|
+
{
|
|
7584
|
+
"kind": "field",
|
|
7585
|
+
"name": "_errorRenderer",
|
|
7586
|
+
"type": {
|
|
7587
|
+
"text": "AparteErrorRenderer | undefined"
|
|
7588
|
+
},
|
|
7589
|
+
"privacy": "private"
|
|
7590
|
+
},
|
|
7591
|
+
{
|
|
7592
|
+
"kind": "field",
|
|
7593
|
+
"name": "_attachmentRenderer",
|
|
7594
|
+
"type": {
|
|
7595
|
+
"text": "AparteAttachmentRenderer | undefined"
|
|
7596
|
+
},
|
|
7597
|
+
"privacy": "private"
|
|
7598
|
+
},
|
|
7599
|
+
{
|
|
7600
|
+
"kind": "field",
|
|
7601
|
+
"name": "_siblingNavRenderer",
|
|
7602
|
+
"type": {
|
|
7603
|
+
"text": "AparteSiblingNavRenderer | undefined"
|
|
7604
|
+
},
|
|
7605
|
+
"privacy": "private"
|
|
7606
|
+
},
|
|
7607
|
+
{
|
|
7608
|
+
"kind": "field",
|
|
7609
|
+
"name": "_bubbleShellRenderer",
|
|
7610
|
+
"type": {
|
|
7611
|
+
"text": "AparteBubbleShellRenderer | undefined"
|
|
7612
|
+
},
|
|
7613
|
+
"privacy": "private"
|
|
7614
|
+
},
|
|
7615
|
+
{
|
|
7616
|
+
"kind": "field",
|
|
7617
|
+
"name": "_iconProvider",
|
|
7618
|
+
"type": {
|
|
7619
|
+
"text": "AparteIconProvider | undefined"
|
|
7620
|
+
},
|
|
7621
|
+
"privacy": "private"
|
|
7622
|
+
},
|
|
7623
|
+
{
|
|
7624
|
+
"kind": "field",
|
|
7625
|
+
"name": "_avatarProvider",
|
|
7626
|
+
"type": {
|
|
7627
|
+
"text": "AparteAvatarProvider | undefined"
|
|
7628
|
+
},
|
|
7629
|
+
"privacy": "private"
|
|
7630
|
+
},
|
|
7631
|
+
{
|
|
7632
|
+
"kind": "field",
|
|
7633
|
+
"name": "_keyProvider",
|
|
7634
|
+
"type": {
|
|
7635
|
+
"text": "AparteKeyProvider | undefined"
|
|
7636
|
+
},
|
|
7637
|
+
"privacy": "private"
|
|
7638
|
+
},
|
|
7639
|
+
{
|
|
7640
|
+
"kind": "field",
|
|
7641
|
+
"name": "_extraKeyProviders",
|
|
7642
|
+
"type": {
|
|
7643
|
+
"text": "Set<AparteKeyProvider>"
|
|
7644
|
+
},
|
|
7645
|
+
"privacy": "private",
|
|
7646
|
+
"default": "new Set()",
|
|
7647
|
+
"description": "Sources added with `registerKeyProvider` — consulted before `_keyProvider`,\nnewest first (see `getKey`)."
|
|
7648
|
+
},
|
|
7649
|
+
{
|
|
7650
|
+
"kind": "field",
|
|
7651
|
+
"name": "_locale",
|
|
7652
|
+
"type": {
|
|
7653
|
+
"text": "AparteLocale"
|
|
7654
|
+
},
|
|
7655
|
+
"privacy": "private",
|
|
7656
|
+
"default": "APARTE_DEFAULT_LOCALE"
|
|
7657
|
+
},
|
|
7658
|
+
{
|
|
7659
|
+
"kind": "field",
|
|
7660
|
+
"name": "_actions",
|
|
7661
|
+
"type": {
|
|
7662
|
+
"text": "AparteAction[]"
|
|
7663
|
+
},
|
|
7664
|
+
"privacy": "private",
|
|
7665
|
+
"default": "[]"
|
|
7666
|
+
},
|
|
7667
|
+
{
|
|
7668
|
+
"kind": "field",
|
|
7669
|
+
"name": "_listeners",
|
|
7670
|
+
"type": {
|
|
7671
|
+
"text": "Set<() => void>"
|
|
7672
|
+
},
|
|
7673
|
+
"privacy": "private",
|
|
7315
7674
|
"default": "new Set()"
|
|
7316
7675
|
},
|
|
7317
7676
|
{
|
|
@@ -9216,94 +9575,13 @@
|
|
|
9216
9575
|
}
|
|
9217
9576
|
],
|
|
9218
9577
|
"description": "Teach the stream parser a tagged block: `<tag attr=\"…\">…</tag>` in the model's\nprose becomes the segment `toSegment` builds, streamed delta by delta.\n\nThe parser does the work once for every grammar — the earliest opening tag wins\nagainst a code fence and a reasoning delimiter, a tag cut at a chunk boundary is\nheld back, attributes are parsed quoted or bare, and the block is closed at\n`</tag>` or at the end of the stream. What the segment IS is yours: a `type` of\nyour own with a renderer from `registerSegmentRenderer`, or a built-in one. One\ngrammar per tag; registering the same tag again replaces it.\n\nRead by the stream adapter when a turn starts, so a block registered mid-turn\napplies from the next turn. See AparteStreamBlock.",
|
|
9219
|
-
"examples": [
|
|
9220
|
-
"aparteGlobalConfig.registerStreamBlock({\n tag: 'cite',\n toSegment: ({ attrs, id }) => ({ id, type: 'citation', url: attrs['url'] ?? '', content: '' }),\n});"
|
|
9221
|
-
]
|
|
9222
|
-
},
|
|
9223
|
-
{
|
|
9224
|
-
"kind": "method",
|
|
9225
|
-
"name": "unregisterStreamBlock",
|
|
9226
|
-
"return": {
|
|
9227
|
-
"type": {
|
|
9228
|
-
"text": "void"
|
|
9229
|
-
}
|
|
9230
|
-
},
|
|
9231
|
-
"parameters": [
|
|
9232
|
-
{
|
|
9233
|
-
"name": "tag",
|
|
9234
|
-
"type": {
|
|
9235
|
-
"text": "string"
|
|
9236
|
-
}
|
|
9237
|
-
}
|
|
9238
|
-
],
|
|
9239
|
-
"description": "Forget a block grammar by its tag."
|
|
9240
|
-
},
|
|
9241
|
-
{
|
|
9242
|
-
"kind": "method",
|
|
9243
|
-
"name": "getStreamBlocks",
|
|
9244
|
-
"return": {
|
|
9245
|
-
"type": {
|
|
9246
|
-
"text": "AparteStreamBlock[]"
|
|
9247
|
-
}
|
|
9248
|
-
},
|
|
9249
|
-
"description": "The registered block grammars, in registration order."
|
|
9250
|
-
},
|
|
9251
|
-
{
|
|
9252
|
-
"kind": "method",
|
|
9253
|
-
"name": "setConversationManager",
|
|
9254
|
-
"return": {
|
|
9255
|
-
"type": {
|
|
9256
|
-
"text": "void"
|
|
9257
|
-
}
|
|
9258
|
-
},
|
|
9259
|
-
"parameters": [
|
|
9260
|
-
{
|
|
9261
|
-
"name": "manager",
|
|
9262
|
-
"type": {
|
|
9263
|
-
"text": "AparteConversationManager"
|
|
9264
|
-
}
|
|
9265
|
-
}
|
|
9266
|
-
],
|
|
9267
|
-
"description": "Register a AparteConversationManager so any UI controller can persist & load\nconversations without coupling to a framework wrapper."
|
|
9268
|
-
},
|
|
9269
|
-
{
|
|
9270
|
-
"kind": "method",
|
|
9271
|
-
"name": "getConversationManager",
|
|
9272
|
-
"return": {
|
|
9273
|
-
"type": {
|
|
9274
|
-
"text": "AparteConversationManager | undefined"
|
|
9275
|
-
}
|
|
9276
|
-
},
|
|
9277
|
-
"description": "Returns the registered AparteConversationManager, or undefined if none."
|
|
9278
|
-
},
|
|
9279
|
-
{
|
|
9280
|
-
"kind": "method",
|
|
9281
|
-
"name": "setElicitationPresenter",
|
|
9282
|
-
"return": {
|
|
9283
|
-
"type": {
|
|
9284
|
-
"text": "void"
|
|
9285
|
-
}
|
|
9286
|
-
},
|
|
9287
|
-
"parameters": [
|
|
9288
|
-
{
|
|
9289
|
-
"name": "presenter",
|
|
9290
|
-
"type": {
|
|
9291
|
-
"text": "AparteElicitationPresenter | null"
|
|
9292
|
-
}
|
|
9293
|
-
},
|
|
9294
|
-
{
|
|
9295
|
-
"name": "owner",
|
|
9296
|
-
"optional": true,
|
|
9297
|
-
"type": {
|
|
9298
|
-
"text": "HTMLElement"
|
|
9299
|
-
}
|
|
9300
|
-
}
|
|
9301
|
-
],
|
|
9302
|
-
"description": "Register the presenter that renders typed input requests (a choice, a\nconfirmation, a text field, a form) and resolves with the user's answer.\nThe `<aparte-elicitation>` Web Component registers itself here; an app can\noverride with its own framework-native presenter. Pass `null` to clear.\n\nSeveral can be registered, one per chat: `owner` is an element of the chat the\npresenter belongs to (`<aparte-elicitation>` passes itself). A request whose `target`\nis inside that chat reaches its presenter; a request with no `target`, or from a chat\nwith no presenter of its own, reaches the most recently registered one. Registering a\npresenter again makes it the most recent."
|
|
9578
|
+
"examples": [
|
|
9579
|
+
"aparteGlobalConfig.registerStreamBlock({\n tag: 'cite',\n toSegment: ({ attrs, id }) => ({ id, type: 'citation', url: attrs['url'] ?? '', content: '' }),\n});"
|
|
9580
|
+
]
|
|
9303
9581
|
},
|
|
9304
9582
|
{
|
|
9305
9583
|
"kind": "method",
|
|
9306
|
-
"name": "
|
|
9584
|
+
"name": "unregisterStreamBlock",
|
|
9307
9585
|
"return": {
|
|
9308
9586
|
"type": {
|
|
9309
9587
|
"text": "void"
|
|
@@ -9311,1462 +9589,1184 @@
|
|
|
9311
9589
|
},
|
|
9312
9590
|
"parameters": [
|
|
9313
9591
|
{
|
|
9314
|
-
"name": "
|
|
9592
|
+
"name": "tag",
|
|
9315
9593
|
"type": {
|
|
9316
|
-
"text": "
|
|
9594
|
+
"text": "string"
|
|
9317
9595
|
}
|
|
9318
9596
|
}
|
|
9319
9597
|
],
|
|
9320
|
-
"description": "
|
|
9598
|
+
"description": "Forget a block grammar by its tag."
|
|
9321
9599
|
},
|
|
9322
9600
|
{
|
|
9323
9601
|
"kind": "method",
|
|
9324
|
-
"name": "
|
|
9602
|
+
"name": "getStreamBlocks",
|
|
9325
9603
|
"return": {
|
|
9326
9604
|
"type": {
|
|
9327
|
-
"text": "
|
|
9605
|
+
"text": "AparteStreamBlock[]"
|
|
9328
9606
|
}
|
|
9329
9607
|
},
|
|
9330
|
-
"description": "The
|
|
9608
|
+
"description": "The registered block grammars, in registration order."
|
|
9331
9609
|
},
|
|
9332
9610
|
{
|
|
9333
9611
|
"kind": "method",
|
|
9334
|
-
"name": "
|
|
9335
|
-
"privacy": "private",
|
|
9612
|
+
"name": "setConversationManager",
|
|
9336
9613
|
"return": {
|
|
9337
9614
|
"type": {
|
|
9338
|
-
"text": "
|
|
9615
|
+
"text": "void"
|
|
9339
9616
|
}
|
|
9340
9617
|
},
|
|
9341
9618
|
"parameters": [
|
|
9342
9619
|
{
|
|
9343
|
-
"name": "
|
|
9344
|
-
"optional": true,
|
|
9620
|
+
"name": "manager",
|
|
9345
9621
|
"type": {
|
|
9346
|
-
"text": "
|
|
9622
|
+
"text": "AparteConversationManager"
|
|
9347
9623
|
}
|
|
9348
9624
|
}
|
|
9349
9625
|
],
|
|
9350
|
-
"description": "
|
|
9626
|
+
"description": "Register a AparteConversationManager so any UI controller can persist & load\nconversations without coupling to a framework wrapper."
|
|
9351
9627
|
},
|
|
9352
9628
|
{
|
|
9353
9629
|
"kind": "method",
|
|
9354
|
-
"name": "
|
|
9630
|
+
"name": "getConversationManager",
|
|
9355
9631
|
"return": {
|
|
9356
9632
|
"type": {
|
|
9357
|
-
"text": "
|
|
9633
|
+
"text": "AparteConversationManager | undefined"
|
|
9358
9634
|
}
|
|
9359
9635
|
},
|
|
9360
|
-
"
|
|
9361
|
-
{
|
|
9362
|
-
"name": "request",
|
|
9363
|
-
"type": {
|
|
9364
|
-
"text": "AparteElicitationRequest"
|
|
9365
|
-
}
|
|
9366
|
-
}
|
|
9367
|
-
],
|
|
9368
|
-
"description": "Ask the person for typed input in the middle of a run, and wait for the answer. The\nprimitive behind `ask_user` and tool approval: the kind of question is its schema.\n\n**Resolves** `accept` with the value, or `decline` when the person declines.\n\n**Rejects**, with no answer, with an AparteElicitationAbortError (its `name` is\n`'AbortError'`) whose `reason` is `'aborted'` — the turn was stopped, the signal fired,\nor another request took the question away — or `'no-presenter'`, when nothing is mounted\nto ask it (with a console warning, once). `await` it in a `try`, or attach a `.catch()`.\n\nThe question goes to the presenter of the chat that holds `request.target` (see\nAparteConfig.setElicitationPresenter| setElicitationPresenter());\n`<aparte-elicitation>` is the default one, and registers itself once it is in the DOM.\nA chat shows one question at a time: a second request in the same chat waits until the\nfirst is answered or ends, and requests with no `target` share one queue."
|
|
9636
|
+
"description": "Returns the registered AparteConversationManager, or undefined if none."
|
|
9369
9637
|
},
|
|
9370
9638
|
{
|
|
9371
9639
|
"kind": "method",
|
|
9372
|
-
"name": "
|
|
9373
|
-
"privacy": "private",
|
|
9640
|
+
"name": "setElicitationPresenter",
|
|
9374
9641
|
"return": {
|
|
9375
9642
|
"type": {
|
|
9376
|
-
"text": "
|
|
9643
|
+
"text": "void"
|
|
9377
9644
|
}
|
|
9378
9645
|
},
|
|
9379
9646
|
"parameters": [
|
|
9380
9647
|
{
|
|
9381
|
-
"name": "
|
|
9648
|
+
"name": "presenter",
|
|
9382
9649
|
"type": {
|
|
9383
|
-
"text": "
|
|
9650
|
+
"text": "AparteElicitationPresenter | null"
|
|
9651
|
+
}
|
|
9652
|
+
},
|
|
9653
|
+
{
|
|
9654
|
+
"name": "owner",
|
|
9655
|
+
"optional": true,
|
|
9656
|
+
"type": {
|
|
9657
|
+
"text": "HTMLElement"
|
|
9384
9658
|
}
|
|
9385
9659
|
}
|
|
9386
9660
|
],
|
|
9387
|
-
"description": "
|
|
9661
|
+
"description": "Register the presenter that renders typed input requests (a choice, a\nconfirmation, a text field, a form) and resolves with the user's answer.\nThe `<aparte-elicitation>` Web Component registers itself here; an app can\noverride with its own framework-native presenter. Pass `null` to clear.\n\nSeveral can be registered, one per chat: `owner` is an element of the chat the\npresenter belongs to (`<aparte-elicitation>` passes itself). A request whose `target`\nis inside that chat reaches its presenter; a request with no `target`, or from a chat\nwith no presenter of its own, reaches the most recently registered one. Registering a\npresenter again makes it the most recent."
|
|
9388
9662
|
},
|
|
9389
9663
|
{
|
|
9390
9664
|
"kind": "method",
|
|
9391
|
-
"name": "
|
|
9392
|
-
"privacy": "private",
|
|
9665
|
+
"name": "removeElicitationPresenter",
|
|
9393
9666
|
"return": {
|
|
9394
9667
|
"type": {
|
|
9395
|
-
"text": "
|
|
9668
|
+
"text": "void"
|
|
9396
9669
|
}
|
|
9397
9670
|
},
|
|
9398
9671
|
"parameters": [
|
|
9399
9672
|
{
|
|
9400
|
-
"name": "
|
|
9673
|
+
"name": "presenter",
|
|
9401
9674
|
"type": {
|
|
9402
|
-
"text": "
|
|
9675
|
+
"text": "AparteElicitationPresenter"
|
|
9403
9676
|
}
|
|
9404
9677
|
}
|
|
9405
9678
|
],
|
|
9406
|
-
"description": "
|
|
9407
|
-
},
|
|
9408
|
-
{
|
|
9409
|
-
"kind": "method",
|
|
9410
|
-
"name": "reset",
|
|
9411
|
-
"return": {
|
|
9412
|
-
"type": {
|
|
9413
|
-
"text": "void"
|
|
9414
|
-
}
|
|
9415
|
-
},
|
|
9416
|
-
"description": "Put the configuration back to its defaults: the providers and the selected model,\nthe tools with their renderers and summaries, the renderers and render hooks, the\nMarkdown and highlight providers, the code-language renderers, the sanitizer, the system prompt, the locale, icons,\navatars, actions and host handlers, the conversation manager, the question presenters\nand their queue. Three things stay: the transport, the key sources added with\nAparteConfig.registerKeyProvider| registerKeyProvider() (an `AparteClient`'s\n`keyResolver` among them), and the AparteConfig.subscribe| subscribe() listeners."
|
|
9679
|
+
"description": "Withdraw ONE presenter, named, leaving any others registered.\n\nThis is what an unmounting `<aparte-elicitation>` needs and what\n`setElicitationPresenter(null)` could not express: clearing the slot took every\nother mounted chat's presenter down with it. Removing a presenter that is not\nregistered is a no-op."
|
|
9417
9680
|
},
|
|
9418
9681
|
{
|
|
9419
9682
|
"kind": "method",
|
|
9420
|
-
"name": "
|
|
9421
|
-
"privacy": "private",
|
|
9683
|
+
"name": "getElicitationPresenter",
|
|
9422
9684
|
"return": {
|
|
9423
9685
|
"type": {
|
|
9424
|
-
"text": "
|
|
9686
|
+
"text": "AparteElicitationPresenter | undefined"
|
|
9425
9687
|
}
|
|
9426
9688
|
},
|
|
9427
|
-
"
|
|
9428
|
-
{
|
|
9429
|
-
"name": "raw",
|
|
9430
|
-
"type": {
|
|
9431
|
-
"text": "string"
|
|
9432
|
-
}
|
|
9433
|
-
}
|
|
9434
|
-
]
|
|
9689
|
+
"description": "The presenter a request with no `target` would reach — the most recently\nregistered one. Kept for the callers that ask \"is anybody able to present?\"."
|
|
9435
9690
|
},
|
|
9436
9691
|
{
|
|
9437
9692
|
"kind": "method",
|
|
9438
|
-
"name": "
|
|
9693
|
+
"name": "_presenterFor",
|
|
9439
9694
|
"privacy": "private",
|
|
9440
9695
|
"return": {
|
|
9441
9696
|
"type": {
|
|
9442
|
-
"text": "
|
|
9697
|
+
"text": "AparteElicitationPresenter | undefined"
|
|
9443
9698
|
}
|
|
9444
9699
|
},
|
|
9445
9700
|
"parameters": [
|
|
9446
9701
|
{
|
|
9447
|
-
"name": "
|
|
9448
|
-
"
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9452
|
-
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
{
|
|
9457
|
-
"kind": "variable",
|
|
9458
|
-
"name": "aparteGlobalConfig",
|
|
9459
|
-
"description": "The page-wide configuration: every chat reads it unless an ancestor carries an instance of\nits own (attachConfig). There is one per window, kept on `window`, so two copies of\nthe package on one page share it; off the browser (a server render, a test) each import\ncreates its own."
|
|
9460
|
-
}
|
|
9461
|
-
],
|
|
9462
|
-
"exports": [
|
|
9463
|
-
{
|
|
9464
|
-
"kind": "js",
|
|
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": [
|
|
9702
|
+
"name": "target",
|
|
9703
|
+
"optional": true,
|
|
9704
|
+
"type": {
|
|
9705
|
+
"text": "HTMLElement | null"
|
|
9706
|
+
}
|
|
9707
|
+
}
|
|
9708
|
+
],
|
|
9709
|
+
"description": "The presenter that should handle THIS request.\n\nA `target` is an element inside the asking chat, so the presenter registered from\nthe same chat is the right one — found by comparing chat boundaries rather than by\n`contains`, because the presenter is a sibling of the transcript, not an ancestor\nof it. With no target, no match, or no boundary to compare, the top of the stack\nis the answer."
|
|
9710
|
+
},
|
|
9603
9711
|
{
|
|
9604
|
-
"
|
|
9605
|
-
"
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9611
|
-
|
|
9612
|
-
|
|
9613
|
-
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
9617
|
-
|
|
9618
|
-
|
|
9619
|
-
|
|
9620
|
-
|
|
9712
|
+
"kind": "method",
|
|
9713
|
+
"name": "requestUserInput",
|
|
9714
|
+
"return": {
|
|
9715
|
+
"type": {
|
|
9716
|
+
"text": "Promise<AparteElicitationResult>"
|
|
9717
|
+
}
|
|
9718
|
+
},
|
|
9719
|
+
"parameters": [
|
|
9720
|
+
{
|
|
9721
|
+
"name": "request",
|
|
9722
|
+
"type": {
|
|
9723
|
+
"text": "AparteElicitationRequest"
|
|
9724
|
+
}
|
|
9725
|
+
}
|
|
9726
|
+
],
|
|
9727
|
+
"description": "Ask the person for typed input in the middle of a run, and wait for the answer. The\nprimitive behind `ask_user` and tool approval: the kind of question is its schema.\n\n**Resolves** `accept` with the value, or `decline` when the person declines.\n\n**Rejects**, with no answer, with an AparteElicitationAbortError (its `name` is\n`'AbortError'`) whose `reason` is `'aborted'` — the turn was stopped, the signal fired,\nor another request took the question away — or `'no-presenter'`, when nothing is mounted\nto ask it (with a console warning, once). `await` it in a `try`, or attach a `.catch()`.\n\nThe question goes to the presenter of the chat that holds `request.target` (see\nAparteConfig.setElicitationPresenter| setElicitationPresenter());\n`<aparte-elicitation>` is the default one, and registers itself once it is in the DOM.\nA chat shows one question at a time: a second request in the same chat waits until the\nfirst is answered or ends, and requests with no `target` share one queue."
|
|
9728
|
+
},
|
|
9621
9729
|
{
|
|
9622
|
-
"
|
|
9623
|
-
"
|
|
9624
|
-
|
|
9625
|
-
|
|
9730
|
+
"kind": "method",
|
|
9731
|
+
"name": "_elicitationQueueKey",
|
|
9732
|
+
"privacy": "private",
|
|
9733
|
+
"return": {
|
|
9734
|
+
"type": {
|
|
9735
|
+
"text": "HTMLElement | null"
|
|
9736
|
+
}
|
|
9737
|
+
},
|
|
9738
|
+
"parameters": [
|
|
9739
|
+
{
|
|
9740
|
+
"name": "request",
|
|
9741
|
+
"type": {
|
|
9742
|
+
"text": "AparteElicitationRequest"
|
|
9743
|
+
}
|
|
9744
|
+
}
|
|
9745
|
+
],
|
|
9746
|
+
"description": "Which queue a request waits in: its own chat's.\n\nThe wait exists so a second question cannot take the panel away from the one on\nscreen — a property of ONE panel, and `_present` routes by target, so a chat is\nthe right unit. One queue for the whole config would let an approval waiting in\nthe first chat hold the second chat's question behind it for ever. Requests that\nname no chat share the `null` queue, because they all reach the same presenter —\nthe top of the stack."
|
|
9626
9747
|
},
|
|
9627
9748
|
{
|
|
9628
|
-
"
|
|
9629
|
-
"
|
|
9630
|
-
|
|
9631
|
-
|
|
9632
|
-
|
|
9633
|
-
|
|
9634
|
-
|
|
9635
|
-
|
|
9636
|
-
|
|
9637
|
-
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
|
|
9642
|
-
|
|
9643
|
-
|
|
9644
|
-
|
|
9749
|
+
"kind": "method",
|
|
9750
|
+
"name": "_present",
|
|
9751
|
+
"privacy": "private",
|
|
9752
|
+
"return": {
|
|
9753
|
+
"type": {
|
|
9754
|
+
"text": "Promise<AparteElicitationResult>"
|
|
9755
|
+
}
|
|
9756
|
+
},
|
|
9757
|
+
"parameters": [
|
|
9758
|
+
{
|
|
9759
|
+
"name": "request",
|
|
9760
|
+
"type": {
|
|
9761
|
+
"text": "AparteElicitationRequest"
|
|
9762
|
+
}
|
|
9763
|
+
}
|
|
9764
|
+
],
|
|
9765
|
+
"description": "Hand ONE request to the presenter. Called only from the queue."
|
|
9766
|
+
},
|
|
9645
9767
|
{
|
|
9646
|
-
"
|
|
9647
|
-
"
|
|
9648
|
-
"
|
|
9649
|
-
"
|
|
9650
|
-
|
|
9651
|
-
|
|
9652
|
-
|
|
9653
|
-
|
|
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": [
|
|
9768
|
+
"kind": "method",
|
|
9769
|
+
"name": "reset",
|
|
9770
|
+
"return": {
|
|
9771
|
+
"type": {
|
|
9772
|
+
"text": "void"
|
|
9773
|
+
}
|
|
9774
|
+
},
|
|
9775
|
+
"description": "Put the configuration back to its defaults: the providers and the selected model,\nthe tools with their renderers and summaries, the renderers and render hooks, the\nMarkdown and highlight providers, the code-language renderers, the sanitizer, the system prompt, the locale, icons,\navatars, actions and host handlers, the conversation manager, the question presenters\nand their queue. Three things stay: the transport, the key sources added with\nAparteConfig.registerKeyProvider| registerKeyProvider() (an `AparteClient`'s\n`keyResolver` among them), and the AparteConfig.subscribe| subscribe() listeners."
|
|
9776
|
+
},
|
|
9729
9777
|
{
|
|
9730
|
-
"
|
|
9731
|
-
"
|
|
9732
|
-
|
|
9733
|
-
|
|
9778
|
+
"kind": "method",
|
|
9779
|
+
"name": "_defaultMarkdownRenderer",
|
|
9780
|
+
"privacy": "private",
|
|
9781
|
+
"return": {
|
|
9782
|
+
"type": {
|
|
9783
|
+
"text": "string"
|
|
9784
|
+
}
|
|
9785
|
+
},
|
|
9786
|
+
"parameters": [
|
|
9787
|
+
{
|
|
9788
|
+
"name": "raw",
|
|
9789
|
+
"type": {
|
|
9790
|
+
"text": "string"
|
|
9791
|
+
}
|
|
9792
|
+
}
|
|
9793
|
+
]
|
|
9734
9794
|
},
|
|
9735
9795
|
{
|
|
9736
|
-
"
|
|
9737
|
-
"
|
|
9738
|
-
|
|
9739
|
-
|
|
9740
|
-
|
|
9741
|
-
|
|
9742
|
-
|
|
9743
|
-
|
|
9744
|
-
|
|
9745
|
-
|
|
9746
|
-
|
|
9747
|
-
|
|
9748
|
-
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
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": [
|
|
9796
|
+
"kind": "method",
|
|
9797
|
+
"name": "_defaultHighlightRenderer",
|
|
9798
|
+
"privacy": "private",
|
|
9799
|
+
"return": {
|
|
9800
|
+
"type": {
|
|
9801
|
+
"text": "string"
|
|
9802
|
+
}
|
|
9803
|
+
},
|
|
9804
|
+
"parameters": [
|
|
9805
|
+
{
|
|
9806
|
+
"name": "code",
|
|
9807
|
+
"type": {
|
|
9808
|
+
"text": "string"
|
|
9809
|
+
}
|
|
9810
|
+
}
|
|
9811
|
+
]
|
|
9812
|
+
}
|
|
9813
|
+
]
|
|
9814
|
+
},
|
|
9779
9815
|
{
|
|
9780
9816
|
"kind": "variable",
|
|
9781
|
-
"name": "
|
|
9782
|
-
"
|
|
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."
|
|
9817
|
+
"name": "aparteGlobalConfig",
|
|
9818
|
+
"description": "The page-wide configuration: every chat reads it unless an ancestor carries an instance of\nits own (attachConfig). There is one per window, kept on `window`, so two copies of\nthe package on one page share it; off the browser (a server render, a test) each import\ncreates its own."
|
|
9787
9819
|
}
|
|
9788
9820
|
],
|
|
9789
9821
|
"exports": [
|
|
9790
9822
|
{
|
|
9791
9823
|
"kind": "js",
|
|
9792
|
-
"name": "
|
|
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",
|
|
9824
|
+
"name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
|
|
10024
9825
|
"declaration": {
|
|
10025
|
-
"name": "
|
|
10026
|
-
"module": "
|
|
9826
|
+
"name": "APARTE_DEFAULT_BUBBLE_ACTIONS",
|
|
9827
|
+
"module": "src/config/aparte-config.ts"
|
|
10027
9828
|
}
|
|
10028
9829
|
},
|
|
10029
9830
|
{
|
|
10030
9831
|
"kind": "js",
|
|
10031
|
-
"name": "
|
|
9832
|
+
"name": "APARTE_DEFAULT_HOST_HANDLERS",
|
|
10032
9833
|
"declaration": {
|
|
10033
|
-
"name": "
|
|
10034
|
-
"module": "
|
|
9834
|
+
"name": "APARTE_DEFAULT_HOST_HANDLERS",
|
|
9835
|
+
"module": "src/config/aparte-config.ts"
|
|
10035
9836
|
}
|
|
10036
9837
|
},
|
|
10037
9838
|
{
|
|
10038
9839
|
"kind": "js",
|
|
10039
|
-
"name": "
|
|
9840
|
+
"name": "renderingVersionOf",
|
|
10040
9841
|
"declaration": {
|
|
10041
|
-
"name": "
|
|
10042
|
-
"module": "
|
|
9842
|
+
"name": "renderingVersionOf",
|
|
9843
|
+
"module": "src/config/aparte-config.ts"
|
|
10043
9844
|
}
|
|
10044
9845
|
},
|
|
10045
9846
|
{
|
|
10046
9847
|
"kind": "js",
|
|
10047
|
-
"name": "
|
|
9848
|
+
"name": "onRenderersChange",
|
|
10048
9849
|
"declaration": {
|
|
10049
|
-
"name": "
|
|
10050
|
-
"module": "
|
|
9850
|
+
"name": "onRenderersChange",
|
|
9851
|
+
"module": "src/config/aparte-config.ts"
|
|
10051
9852
|
}
|
|
10052
9853
|
},
|
|
10053
9854
|
{
|
|
10054
9855
|
"kind": "js",
|
|
10055
|
-
"name": "
|
|
9856
|
+
"name": "notifyRenderersChanged",
|
|
10056
9857
|
"declaration": {
|
|
10057
|
-
"name": "
|
|
10058
|
-
"module": "
|
|
9858
|
+
"name": "notifyRenderersChanged",
|
|
9859
|
+
"module": "src/config/aparte-config.ts"
|
|
10059
9860
|
}
|
|
10060
9861
|
},
|
|
10061
9862
|
{
|
|
10062
9863
|
"kind": "js",
|
|
10063
|
-
"name": "
|
|
9864
|
+
"name": "AparteConfig",
|
|
10064
9865
|
"declaration": {
|
|
10065
|
-
"name": "
|
|
10066
|
-
"module": "
|
|
9866
|
+
"name": "AparteConfig",
|
|
9867
|
+
"module": "src/config/aparte-config.ts"
|
|
10067
9868
|
}
|
|
10068
9869
|
},
|
|
10069
9870
|
{
|
|
10070
9871
|
"kind": "js",
|
|
10071
|
-
"name": "
|
|
9872
|
+
"name": "aparteGlobalConfig",
|
|
10072
9873
|
"declaration": {
|
|
10073
|
-
"name": "
|
|
10074
|
-
"module": "
|
|
9874
|
+
"name": "aparteGlobalConfig",
|
|
9875
|
+
"module": "src/config/aparte-config.ts"
|
|
10075
9876
|
}
|
|
10076
|
-
}
|
|
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": [
|
|
10077
9902
|
{
|
|
10078
|
-
"kind": "
|
|
10079
|
-
"name": "
|
|
10080
|
-
"
|
|
10081
|
-
"
|
|
10082
|
-
|
|
10083
|
-
|
|
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()`)."
|
|
10084
9910
|
},
|
|
10085
9911
|
{
|
|
10086
|
-
"kind": "
|
|
10087
|
-
"name": "
|
|
10088
|
-
"
|
|
10089
|
-
"
|
|
10090
|
-
|
|
10091
|
-
|
|
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."
|
|
10092
9934
|
},
|
|
10093
9935
|
{
|
|
10094
|
-
"kind": "
|
|
10095
|
-
"name": "
|
|
10096
|
-
"
|
|
10097
|
-
"
|
|
10098
|
-
|
|
10099
|
-
|
|
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."
|
|
10100
9952
|
},
|
|
10101
9953
|
{
|
|
10102
|
-
"kind": "
|
|
10103
|
-
"name": "
|
|
10104
|
-
"
|
|
10105
|
-
"
|
|
10106
|
-
|
|
10107
|
-
|
|
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."
|
|
10108
9970
|
},
|
|
10109
9971
|
{
|
|
10110
|
-
"kind": "
|
|
10111
|
-
"name": "
|
|
10112
|
-
"
|
|
10113
|
-
"
|
|
10114
|
-
|
|
10115
|
-
|
|
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)."
|
|
10116
9994
|
},
|
|
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": [
|
|
10117
10016
|
{
|
|
10118
10017
|
"kind": "js",
|
|
10119
|
-
"name": "
|
|
10018
|
+
"name": "APARTE_HOST_ATTR",
|
|
10120
10019
|
"declaration": {
|
|
10121
|
-
"name": "
|
|
10122
|
-
"module": "
|
|
10020
|
+
"name": "APARTE_HOST_ATTR",
|
|
10021
|
+
"module": "src/config/config-context.ts"
|
|
10123
10022
|
}
|
|
10124
10023
|
},
|
|
10125
10024
|
{
|
|
10126
10025
|
"kind": "js",
|
|
10127
|
-
"name": "
|
|
10026
|
+
"name": "attachConfig",
|
|
10128
10027
|
"declaration": {
|
|
10129
|
-
"name": "
|
|
10130
|
-
"module": "
|
|
10028
|
+
"name": "attachConfig",
|
|
10029
|
+
"module": "src/config/config-context.ts"
|
|
10131
10030
|
}
|
|
10132
10031
|
},
|
|
10133
10032
|
{
|
|
10134
10033
|
"kind": "js",
|
|
10135
|
-
"name": "
|
|
10034
|
+
"name": "detachConfig",
|
|
10136
10035
|
"declaration": {
|
|
10137
|
-
"name": "
|
|
10138
|
-
"module": "
|
|
10036
|
+
"name": "detachConfig",
|
|
10037
|
+
"module": "src/config/config-context.ts"
|
|
10139
10038
|
}
|
|
10140
10039
|
},
|
|
10141
10040
|
{
|
|
10142
10041
|
"kind": "js",
|
|
10143
|
-
"name": "
|
|
10042
|
+
"name": "resolveConfig",
|
|
10144
10043
|
"declaration": {
|
|
10145
|
-
"name": "
|
|
10146
|
-
"module": "
|
|
10044
|
+
"name": "resolveConfig",
|
|
10045
|
+
"module": "src/config/config-context.ts"
|
|
10147
10046
|
}
|
|
10148
10047
|
},
|
|
10149
10048
|
{
|
|
10150
10049
|
"kind": "js",
|
|
10151
|
-
"name": "
|
|
10050
|
+
"name": "runWithConfig",
|
|
10152
10051
|
"declaration": {
|
|
10153
|
-
"name": "
|
|
10154
|
-
"module": "
|
|
10052
|
+
"name": "runWithConfig",
|
|
10053
|
+
"module": "src/config/config-context.ts"
|
|
10155
10054
|
}
|
|
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": [
|
|
10055
|
+
},
|
|
10174
10056
|
{
|
|
10175
10057
|
"kind": "js",
|
|
10176
|
-
"name": "
|
|
10177
|
-
"declaration": {
|
|
10178
|
-
"name": "
|
|
10179
|
-
"module": "src/config/
|
|
10058
|
+
"name": "contextConfig",
|
|
10059
|
+
"declaration": {
|
|
10060
|
+
"name": "contextConfig",
|
|
10061
|
+
"module": "src/config/config-context.ts"
|
|
10180
10062
|
}
|
|
10181
10063
|
}
|
|
10182
10064
|
]
|
|
10183
10065
|
},
|
|
10184
10066
|
{
|
|
10185
10067
|
"kind": "javascript-module",
|
|
10186
|
-
"path": "src/config/
|
|
10068
|
+
"path": "src/config/config-subscribe.ts",
|
|
10187
10069
|
"declarations": [
|
|
10188
10070
|
{
|
|
10189
10071
|
"kind": "variable",
|
|
10190
|
-
"name": "
|
|
10191
|
-
"
|
|
10192
|
-
|
|
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`."
|
|
10193
10078
|
},
|
|
10194
10079
|
{
|
|
10195
10080
|
"kind": "function",
|
|
10196
|
-
"name": "
|
|
10081
|
+
"name": "subscribeConfigChange",
|
|
10197
10082
|
"return": {
|
|
10198
10083
|
"type": {
|
|
10199
|
-
"text": "
|
|
10084
|
+
"text": "() => void"
|
|
10200
10085
|
}
|
|
10201
10086
|
},
|
|
10202
10087
|
"parameters": [
|
|
10203
10088
|
{
|
|
10204
|
-
"name": "
|
|
10089
|
+
"name": "el",
|
|
10205
10090
|
"type": {
|
|
10206
|
-
"text": "
|
|
10091
|
+
"text": "Element"
|
|
10207
10092
|
}
|
|
10208
10093
|
},
|
|
10209
10094
|
{
|
|
10210
|
-
"name": "
|
|
10095
|
+
"name": "handler",
|
|
10211
10096
|
"type": {
|
|
10212
|
-
"text": "
|
|
10097
|
+
"text": "() => void"
|
|
10213
10098
|
}
|
|
10214
10099
|
}
|
|
10215
10100
|
]
|
|
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)."
|
|
10234
10101
|
}
|
|
10235
10102
|
],
|
|
10236
10103
|
"exports": [
|
|
10237
10104
|
{
|
|
10238
10105
|
"kind": "js",
|
|
10239
|
-
"name": "
|
|
10240
|
-
"declaration": {
|
|
10241
|
-
"name": "DANGEROUS_TAGS",
|
|
10242
|
-
"module": "src/config/sanitize.ts"
|
|
10243
|
-
}
|
|
10244
|
-
},
|
|
10245
|
-
{
|
|
10246
|
-
"kind": "js",
|
|
10247
|
-
"name": "isSafeUrl",
|
|
10106
|
+
"name": "APARTE_CONFIG_CHANGE",
|
|
10248
10107
|
"declaration": {
|
|
10249
|
-
"name": "
|
|
10250
|
-
"module": "src/config/
|
|
10108
|
+
"name": "APARTE_CONFIG_CHANGE",
|
|
10109
|
+
"module": "src/config/config-subscribe.ts"
|
|
10251
10110
|
}
|
|
10252
10111
|
},
|
|
10253
10112
|
{
|
|
10254
10113
|
"kind": "js",
|
|
10255
|
-
"name": "
|
|
10114
|
+
"name": "subscribeConfigChange",
|
|
10256
10115
|
"declaration": {
|
|
10257
|
-
"name": "
|
|
10258
|
-
"module": "src/config/
|
|
10116
|
+
"name": "subscribeConfigChange",
|
|
10117
|
+
"module": "src/config/config-subscribe.ts"
|
|
10259
10118
|
}
|
|
10260
10119
|
}
|
|
10261
10120
|
]
|
|
10262
10121
|
},
|
|
10263
10122
|
{
|
|
10264
10123
|
"kind": "javascript-module",
|
|
10265
|
-
"path": "src/config/
|
|
10124
|
+
"path": "src/config/elicitation-field-renderer.ts",
|
|
10266
10125
|
"declarations": [],
|
|
10267
10126
|
"exports": []
|
|
10268
10127
|
},
|
|
10269
10128
|
{
|
|
10270
10129
|
"kind": "javascript-module",
|
|
10271
|
-
"path": "src/config/
|
|
10130
|
+
"path": "src/config/error-renderer.ts",
|
|
10272
10131
|
"declarations": [],
|
|
10273
10132
|
"exports": []
|
|
10274
10133
|
},
|
|
10275
10134
|
{
|
|
10276
10135
|
"kind": "javascript-module",
|
|
10277
|
-
"path": "src/config/
|
|
10136
|
+
"path": "src/config/icon-provider.ts",
|
|
10278
10137
|
"declarations": [
|
|
10279
10138
|
{
|
|
10280
|
-
"kind": "
|
|
10281
|
-
"
|
|
10282
|
-
"
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
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
|
-
]
|
|
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."
|
|
10402
10146
|
}
|
|
10403
10147
|
],
|
|
10404
10148
|
"exports": [
|
|
10405
10149
|
{
|
|
10406
10150
|
"kind": "js",
|
|
10407
|
-
"name": "
|
|
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",
|
|
10408
10207
|
"declaration": {
|
|
10409
|
-
"name": "
|
|
10410
|
-
"module": "
|
|
10208
|
+
"name": "attachConfig",
|
|
10209
|
+
"module": "./config-context.js"
|
|
10411
10210
|
}
|
|
10412
|
-
}
|
|
10413
|
-
]
|
|
10414
|
-
},
|
|
10415
|
-
{
|
|
10416
|
-
"kind": "javascript-module",
|
|
10417
|
-
"path": "src/components/index.ts",
|
|
10418
|
-
"declarations": [],
|
|
10419
|
-
"exports": [
|
|
10211
|
+
},
|
|
10420
10212
|
{
|
|
10421
10213
|
"kind": "js",
|
|
10422
|
-
"name": "
|
|
10214
|
+
"name": "detachConfig",
|
|
10423
10215
|
"declaration": {
|
|
10424
|
-
"name": "
|
|
10425
|
-
"module": "./
|
|
10216
|
+
"name": "detachConfig",
|
|
10217
|
+
"module": "./config-context.js"
|
|
10426
10218
|
}
|
|
10427
10219
|
},
|
|
10428
10220
|
{
|
|
10429
10221
|
"kind": "js",
|
|
10430
|
-
"name": "
|
|
10222
|
+
"name": "runWithConfig",
|
|
10431
10223
|
"declaration": {
|
|
10432
|
-
"name": "
|
|
10433
|
-
"module": "./
|
|
10224
|
+
"name": "runWithConfig",
|
|
10225
|
+
"module": "./config-context.js"
|
|
10434
10226
|
}
|
|
10435
10227
|
},
|
|
10436
10228
|
{
|
|
10437
10229
|
"kind": "js",
|
|
10438
|
-
"name": "
|
|
10230
|
+
"name": "contextConfig",
|
|
10439
10231
|
"declaration": {
|
|
10440
|
-
"name": "
|
|
10441
|
-
"module": "./
|
|
10232
|
+
"name": "contextConfig",
|
|
10233
|
+
"module": "./config-context.js"
|
|
10442
10234
|
}
|
|
10443
10235
|
},
|
|
10444
10236
|
{
|
|
10445
10237
|
"kind": "js",
|
|
10446
|
-
"name": "
|
|
10238
|
+
"name": "APARTE_HOST_ATTR",
|
|
10447
10239
|
"declaration": {
|
|
10448
|
-
"name": "
|
|
10449
|
-
"module": "./
|
|
10240
|
+
"name": "APARTE_HOST_ATTR",
|
|
10241
|
+
"module": "./config-context.js"
|
|
10450
10242
|
}
|
|
10451
10243
|
},
|
|
10452
10244
|
{
|
|
10453
10245
|
"kind": "js",
|
|
10454
|
-
"name": "
|
|
10246
|
+
"name": "subscribeConfigChange",
|
|
10455
10247
|
"declaration": {
|
|
10456
|
-
"name": "
|
|
10457
|
-
"module": "./
|
|
10248
|
+
"name": "subscribeConfigChange",
|
|
10249
|
+
"module": "./config-subscribe.js"
|
|
10458
10250
|
}
|
|
10459
10251
|
},
|
|
10460
10252
|
{
|
|
10461
10253
|
"kind": "js",
|
|
10462
|
-
"name": "
|
|
10254
|
+
"name": "APARTE_CONFIG_CHANGE",
|
|
10463
10255
|
"declaration": {
|
|
10464
|
-
"name": "
|
|
10465
|
-
"module": "./
|
|
10256
|
+
"name": "APARTE_CONFIG_CHANGE",
|
|
10257
|
+
"module": "./config-subscribe.js"
|
|
10466
10258
|
}
|
|
10467
10259
|
},
|
|
10468
10260
|
{
|
|
10469
10261
|
"kind": "js",
|
|
10470
|
-
"name": "
|
|
10262
|
+
"name": "AparteConfigAware",
|
|
10471
10263
|
"declaration": {
|
|
10472
|
-
"name": "
|
|
10473
|
-
"module": "./
|
|
10264
|
+
"name": "AparteConfigAware",
|
|
10265
|
+
"module": "./config-context.js"
|
|
10474
10266
|
}
|
|
10475
10267
|
},
|
|
10476
10268
|
{
|
|
10477
10269
|
"kind": "js",
|
|
10478
|
-
"name": "
|
|
10270
|
+
"name": "AparteConfigChangeEventDetail",
|
|
10479
10271
|
"declaration": {
|
|
10480
|
-
"name": "
|
|
10481
|
-
"module": "./
|
|
10272
|
+
"name": "AparteConfigChangeEventDetail",
|
|
10273
|
+
"module": "./aparte-config.js"
|
|
10482
10274
|
}
|
|
10483
10275
|
},
|
|
10484
10276
|
{
|
|
10485
10277
|
"kind": "js",
|
|
10486
|
-
"name": "
|
|
10278
|
+
"name": "AparteMarkdownProvider",
|
|
10487
10279
|
"declaration": {
|
|
10488
|
-
"name": "
|
|
10489
|
-
"module": "./
|
|
10280
|
+
"name": "AparteMarkdownProvider",
|
|
10281
|
+
"module": "./aparte-config.js"
|
|
10490
10282
|
}
|
|
10491
10283
|
},
|
|
10492
10284
|
{
|
|
10493
10285
|
"kind": "js",
|
|
10494
|
-
"name": "
|
|
10286
|
+
"name": "AparteStreamingMarkdownProvider",
|
|
10495
10287
|
"declaration": {
|
|
10496
|
-
"name": "
|
|
10497
|
-
"module": "./
|
|
10288
|
+
"name": "AparteStreamingMarkdownProvider",
|
|
10289
|
+
"module": "./aparte-config.js"
|
|
10498
10290
|
}
|
|
10499
10291
|
},
|
|
10500
10292
|
{
|
|
10501
10293
|
"kind": "js",
|
|
10502
|
-
"name": "
|
|
10294
|
+
"name": "AparteStreamingMarkdownRenderer",
|
|
10503
10295
|
"declaration": {
|
|
10504
|
-
"name": "
|
|
10505
|
-
"module": "./
|
|
10296
|
+
"name": "AparteStreamingMarkdownRenderer",
|
|
10297
|
+
"module": "./aparte-config.js"
|
|
10506
10298
|
}
|
|
10507
10299
|
},
|
|
10508
10300
|
{
|
|
10509
10301
|
"kind": "js",
|
|
10510
|
-
"name": "
|
|
10302
|
+
"name": "AparteCodeLanguageRenderer",
|
|
10511
10303
|
"declaration": {
|
|
10512
|
-
"name": "
|
|
10513
|
-
"module": "./
|
|
10304
|
+
"name": "AparteCodeLanguageRenderer",
|
|
10305
|
+
"module": "./aparte-config.js"
|
|
10514
10306
|
}
|
|
10515
10307
|
},
|
|
10516
10308
|
{
|
|
10517
10309
|
"kind": "js",
|
|
10518
|
-
"name": "
|
|
10310
|
+
"name": "AparteCodeLanguageContext",
|
|
10519
10311
|
"declaration": {
|
|
10520
|
-
"name": "
|
|
10521
|
-
"module": "./
|
|
10312
|
+
"name": "AparteCodeLanguageContext",
|
|
10313
|
+
"module": "./aparte-config.js"
|
|
10522
10314
|
}
|
|
10523
10315
|
},
|
|
10524
10316
|
{
|
|
10525
10317
|
"kind": "js",
|
|
10526
|
-
"name": "
|
|
10318
|
+
"name": "AparteHighlightProvider",
|
|
10527
10319
|
"declaration": {
|
|
10528
|
-
"name": "
|
|
10529
|
-
"module": "./
|
|
10320
|
+
"name": "AparteHighlightProvider",
|
|
10321
|
+
"module": "./aparte-config.js"
|
|
10530
10322
|
}
|
|
10531
10323
|
},
|
|
10532
10324
|
{
|
|
10533
10325
|
"kind": "js",
|
|
10534
|
-
"name": "
|
|
10326
|
+
"name": "AparteSystemPromptVarsProvider",
|
|
10535
10327
|
"declaration": {
|
|
10536
|
-
"name": "
|
|
10537
|
-
"module": "./
|
|
10328
|
+
"name": "AparteSystemPromptVarsProvider",
|
|
10329
|
+
"module": "./aparte-config.js"
|
|
10538
10330
|
}
|
|
10539
10331
|
},
|
|
10540
10332
|
{
|
|
10541
10333
|
"kind": "js",
|
|
10542
|
-
"name": "
|
|
10334
|
+
"name": "AparteModelPreference",
|
|
10543
10335
|
"declaration": {
|
|
10544
|
-
"name": "
|
|
10545
|
-
"module": "./
|
|
10336
|
+
"name": "AparteModelPreference",
|
|
10337
|
+
"module": "./aparte-config.js"
|
|
10546
10338
|
}
|
|
10547
10339
|
},
|
|
10548
10340
|
{
|
|
10549
10341
|
"kind": "js",
|
|
10550
|
-
"name": "
|
|
10342
|
+
"name": "AparteModelPreferenceProvider",
|
|
10551
10343
|
"declaration": {
|
|
10552
|
-
"name": "
|
|
10553
|
-
"module": "./
|
|
10344
|
+
"name": "AparteModelPreferenceProvider",
|
|
10345
|
+
"module": "./aparte-config.js"
|
|
10554
10346
|
}
|
|
10555
10347
|
},
|
|
10556
10348
|
{
|
|
10557
10349
|
"kind": "js",
|
|
10558
|
-
"name": "
|
|
10350
|
+
"name": "AparteSanitizer",
|
|
10559
10351
|
"declaration": {
|
|
10560
|
-
"name": "
|
|
10561
|
-
"module": "./
|
|
10352
|
+
"name": "AparteSanitizer",
|
|
10353
|
+
"module": "./sanitize.js"
|
|
10562
10354
|
}
|
|
10563
10355
|
},
|
|
10564
10356
|
{
|
|
10565
10357
|
"kind": "js",
|
|
10566
|
-
"name": "
|
|
10358
|
+
"name": "defaultSanitizer",
|
|
10567
10359
|
"declaration": {
|
|
10568
|
-
"name": "
|
|
10569
|
-
"module": "./
|
|
10360
|
+
"name": "defaultSanitizer",
|
|
10361
|
+
"module": "./sanitize.js"
|
|
10570
10362
|
}
|
|
10571
10363
|
},
|
|
10572
10364
|
{
|
|
10573
10365
|
"kind": "js",
|
|
10574
|
-
"name": "
|
|
10366
|
+
"name": "isSafeUrl",
|
|
10575
10367
|
"declaration": {
|
|
10576
|
-
"name": "
|
|
10577
|
-
"module": "./
|
|
10368
|
+
"name": "isSafeUrl",
|
|
10369
|
+
"module": "./sanitize.js"
|
|
10578
10370
|
}
|
|
10579
10371
|
},
|
|
10580
10372
|
{
|
|
10581
10373
|
"kind": "js",
|
|
10582
|
-
"name": "
|
|
10374
|
+
"name": "AparteIconProvider",
|
|
10583
10375
|
"declaration": {
|
|
10584
|
-
"name": "
|
|
10585
|
-
"module": "./
|
|
10376
|
+
"name": "AparteIconProvider",
|
|
10377
|
+
"module": "./icon-provider.js"
|
|
10586
10378
|
}
|
|
10587
10379
|
},
|
|
10588
10380
|
{
|
|
10589
10381
|
"kind": "js",
|
|
10590
|
-
"name": "
|
|
10382
|
+
"name": "AparteIconName",
|
|
10591
10383
|
"declaration": {
|
|
10592
|
-
"name": "
|
|
10593
|
-
"module": "./
|
|
10384
|
+
"name": "AparteIconName",
|
|
10385
|
+
"module": "./icon-provider.js"
|
|
10594
10386
|
}
|
|
10595
10387
|
},
|
|
10596
10388
|
{
|
|
10597
10389
|
"kind": "js",
|
|
10598
|
-
"name": "
|
|
10390
|
+
"name": "AparteCoreIconName",
|
|
10599
10391
|
"declaration": {
|
|
10600
|
-
"name": "
|
|
10601
|
-
"module": "./
|
|
10392
|
+
"name": "AparteCoreIconName",
|
|
10393
|
+
"module": "./icon-provider.js"
|
|
10602
10394
|
}
|
|
10603
10395
|
},
|
|
10604
10396
|
{
|
|
10605
10397
|
"kind": "js",
|
|
10606
|
-
"name": "
|
|
10398
|
+
"name": "APARTE_DEFAULT_ICON_FALLBACKS",
|
|
10607
10399
|
"declaration": {
|
|
10608
|
-
"name": "
|
|
10609
|
-
"module": "./
|
|
10400
|
+
"name": "APARTE_DEFAULT_ICON_FALLBACKS",
|
|
10401
|
+
"module": "./icon-provider.js"
|
|
10610
10402
|
}
|
|
10611
10403
|
},
|
|
10612
10404
|
{
|
|
10613
10405
|
"kind": "js",
|
|
10614
|
-
"name": "
|
|
10406
|
+
"name": "AparteAvatarProvider",
|
|
10615
10407
|
"declaration": {
|
|
10616
|
-
"name": "
|
|
10617
|
-
"module": "./
|
|
10408
|
+
"name": "AparteAvatarProvider",
|
|
10409
|
+
"module": "./avatar-provider.js"
|
|
10618
10410
|
}
|
|
10619
10411
|
},
|
|
10620
10412
|
{
|
|
10621
10413
|
"kind": "js",
|
|
10622
|
-
"name": "
|
|
10414
|
+
"name": "AparteStatusRenderer",
|
|
10623
10415
|
"declaration": {
|
|
10624
|
-
"name": "
|
|
10625
|
-
"module": "./
|
|
10416
|
+
"name": "AparteStatusRenderer",
|
|
10417
|
+
"module": "./status-renderer.js"
|
|
10626
10418
|
}
|
|
10627
10419
|
},
|
|
10628
10420
|
{
|
|
10629
10421
|
"kind": "js",
|
|
10630
|
-
"name": "
|
|
10422
|
+
"name": "AparteErrorRenderer",
|
|
10631
10423
|
"declaration": {
|
|
10632
|
-
"name": "
|
|
10633
|
-
"module": "./
|
|
10424
|
+
"name": "AparteErrorRenderer",
|
|
10425
|
+
"module": "./error-renderer.js"
|
|
10634
10426
|
}
|
|
10635
10427
|
},
|
|
10636
10428
|
{
|
|
10637
10429
|
"kind": "js",
|
|
10638
|
-
"name": "
|
|
10430
|
+
"name": "AparteAttachmentRenderer",
|
|
10639
10431
|
"declaration": {
|
|
10640
|
-
"name": "
|
|
10641
|
-
"module": "./
|
|
10432
|
+
"name": "AparteAttachmentRenderer",
|
|
10433
|
+
"module": "./attachment-renderer.js"
|
|
10642
10434
|
}
|
|
10643
10435
|
},
|
|
10644
10436
|
{
|
|
10645
10437
|
"kind": "js",
|
|
10646
|
-
"name": "
|
|
10438
|
+
"name": "AparteElicitationFieldRenderer",
|
|
10647
10439
|
"declaration": {
|
|
10648
|
-
"name": "
|
|
10649
|
-
"module": "./
|
|
10440
|
+
"name": "AparteElicitationFieldRenderer",
|
|
10441
|
+
"module": "./elicitation-field-renderer.js"
|
|
10650
10442
|
}
|
|
10651
10443
|
},
|
|
10652
10444
|
{
|
|
10653
10445
|
"kind": "js",
|
|
10654
|
-
"name": "
|
|
10446
|
+
"name": "AparteElicitationFieldContext",
|
|
10655
10447
|
"declaration": {
|
|
10656
|
-
"name": "
|
|
10657
|
-
"module": "./
|
|
10448
|
+
"name": "AparteElicitationFieldContext",
|
|
10449
|
+
"module": "./elicitation-field-renderer.js"
|
|
10658
10450
|
}
|
|
10659
10451
|
},
|
|
10660
10452
|
{
|
|
10661
10453
|
"kind": "js",
|
|
10662
|
-
"name": "
|
|
10454
|
+
"name": "AparteElicitationFieldControl",
|
|
10663
10455
|
"declaration": {
|
|
10664
|
-
"name": "
|
|
10665
|
-
"module": "./
|
|
10456
|
+
"name": "AparteElicitationFieldControl",
|
|
10457
|
+
"module": "./elicitation-field-renderer.js"
|
|
10666
10458
|
}
|
|
10667
10459
|
},
|
|
10668
10460
|
{
|
|
10669
10461
|
"kind": "js",
|
|
10670
|
-
"name": "
|
|
10462
|
+
"name": "AparteSiblingNavRenderer",
|
|
10671
10463
|
"declaration": {
|
|
10672
|
-
"name": "
|
|
10673
|
-
"module": "./
|
|
10464
|
+
"name": "AparteSiblingNavRenderer",
|
|
10465
|
+
"module": "./sibling-nav-renderer.js"
|
|
10674
10466
|
}
|
|
10675
10467
|
},
|
|
10676
10468
|
{
|
|
10677
10469
|
"kind": "js",
|
|
10678
|
-
"name": "
|
|
10470
|
+
"name": "AparteBubbleShellRenderer",
|
|
10679
10471
|
"declaration": {
|
|
10680
|
-
"name": "
|
|
10681
|
-
"module": "./
|
|
10472
|
+
"name": "AparteBubbleShellRenderer",
|
|
10473
|
+
"module": "./bubble-shell-renderer.js"
|
|
10682
10474
|
}
|
|
10683
10475
|
},
|
|
10684
10476
|
{
|
|
10685
10477
|
"kind": "js",
|
|
10686
|
-
"name": "
|
|
10478
|
+
"name": "AparteLocale",
|
|
10687
10479
|
"declaration": {
|
|
10688
|
-
"name": "
|
|
10689
|
-
"module": "./
|
|
10480
|
+
"name": "AparteLocale",
|
|
10481
|
+
"module": "./locale.js"
|
|
10690
10482
|
}
|
|
10691
10483
|
},
|
|
10692
10484
|
{
|
|
10693
10485
|
"kind": "js",
|
|
10694
|
-
"name": "
|
|
10486
|
+
"name": "AparteLocaleExtensions",
|
|
10695
10487
|
"declaration": {
|
|
10696
|
-
"name": "
|
|
10697
|
-
"module": "./
|
|
10488
|
+
"name": "AparteLocaleExtensions",
|
|
10489
|
+
"module": "./locale.js"
|
|
10698
10490
|
}
|
|
10699
10491
|
},
|
|
10700
10492
|
{
|
|
10701
10493
|
"kind": "js",
|
|
10702
|
-
"name": "
|
|
10494
|
+
"name": "APARTE_DEFAULT_LOCALE",
|
|
10703
10495
|
"declaration": {
|
|
10704
|
-
"name": "
|
|
10705
|
-
"module": "./
|
|
10496
|
+
"name": "APARTE_DEFAULT_LOCALE",
|
|
10497
|
+
"module": "./locale.js"
|
|
10706
10498
|
}
|
|
10707
10499
|
},
|
|
10708
10500
|
{
|
|
10709
10501
|
"kind": "js",
|
|
10710
|
-
"name": "
|
|
10502
|
+
"name": "AparteAction",
|
|
10711
10503
|
"declaration": {
|
|
10712
|
-
"name": "
|
|
10713
|
-
"module": "./
|
|
10504
|
+
"name": "AparteAction",
|
|
10505
|
+
"module": "./action-provider.js"
|
|
10714
10506
|
}
|
|
10715
10507
|
},
|
|
10716
10508
|
{
|
|
10717
10509
|
"kind": "js",
|
|
10718
|
-
"name": "
|
|
10510
|
+
"name": "AparteActionZone",
|
|
10719
10511
|
"declaration": {
|
|
10720
|
-
"name": "
|
|
10721
|
-
"module": "./
|
|
10512
|
+
"name": "AparteActionZone",
|
|
10513
|
+
"module": "./action-provider.js"
|
|
10722
10514
|
}
|
|
10723
|
-
}
|
|
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": [
|
|
10724
10533
|
{
|
|
10725
10534
|
"kind": "js",
|
|
10726
|
-
"name": "
|
|
10535
|
+
"name": "APARTE_DEFAULT_LOCALE",
|
|
10727
10536
|
"declaration": {
|
|
10728
|
-
"name": "
|
|
10729
|
-
"module": "
|
|
10537
|
+
"name": "APARTE_DEFAULT_LOCALE",
|
|
10538
|
+
"module": "src/config/locale.ts"
|
|
10730
10539
|
}
|
|
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."
|
|
10731
10552
|
},
|
|
10732
10553
|
{
|
|
10733
|
-
"kind": "
|
|
10734
|
-
"name": "
|
|
10735
|
-
"
|
|
10736
|
-
"
|
|
10737
|
-
|
|
10738
|
-
|
|
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
|
+
]
|
|
10739
10575
|
},
|
|
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": [
|
|
10740
10596
|
{
|
|
10741
10597
|
"kind": "js",
|
|
10742
|
-
"name": "
|
|
10598
|
+
"name": "DANGEROUS_TAGS",
|
|
10743
10599
|
"declaration": {
|
|
10744
|
-
"name": "
|
|
10745
|
-
"module": "
|
|
10600
|
+
"name": "DANGEROUS_TAGS",
|
|
10601
|
+
"module": "src/config/sanitize.ts"
|
|
10746
10602
|
}
|
|
10747
10603
|
},
|
|
10748
10604
|
{
|
|
10749
10605
|
"kind": "js",
|
|
10750
|
-
"name": "
|
|
10606
|
+
"name": "isSafeUrl",
|
|
10751
10607
|
"declaration": {
|
|
10752
|
-
"name": "
|
|
10753
|
-
"module": "
|
|
10608
|
+
"name": "isSafeUrl",
|
|
10609
|
+
"module": "src/config/sanitize.ts"
|
|
10754
10610
|
}
|
|
10755
10611
|
},
|
|
10756
10612
|
{
|
|
10757
10613
|
"kind": "js",
|
|
10758
|
-
"name": "
|
|
10614
|
+
"name": "defaultSanitizer",
|
|
10759
10615
|
"declaration": {
|
|
10760
|
-
"name": "
|
|
10761
|
-
"module": "
|
|
10616
|
+
"name": "defaultSanitizer",
|
|
10617
|
+
"module": "src/config/sanitize.ts"
|
|
10762
10618
|
}
|
|
10763
|
-
}
|
|
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": [
|
|
10764
10764
|
{
|
|
10765
10765
|
"kind": "js",
|
|
10766
|
-
"name": "
|
|
10766
|
+
"name": "ToolTable",
|
|
10767
10767
|
"declaration": {
|
|
10768
|
-
"name": "
|
|
10769
|
-
"module": "
|
|
10768
|
+
"name": "ToolTable",
|
|
10769
|
+
"module": "src/config/tool-table.ts"
|
|
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.
|
|
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.
|
|
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",
|