@genesislcap/ai-assistant 15.35.4 → 15.36.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/ai-assistant.api.json +23 -0
- package/dist/ai-assistant.d.ts +46 -0
- package/dist/custom-elements.json +930 -826
- package/dist/dts/components/chat-bubble/chat-bubble.d.ts +18 -0
- package/dist/dts/components/chat-bubble/chat-bubble.d.ts.map +1 -1
- package/dist/dts/components/chat-bubble/chat-bubble.template.d.ts.map +1 -1
- package/dist/dts/components/chat-markdown/chat-markdown.d.ts +29 -0
- package/dist/dts/components/chat-markdown/chat-markdown.d.ts.map +1 -1
- package/dist/dts/components/halo-overlay.d.ts +30 -0
- package/dist/dts/components/halo-overlay.d.ts.map +1 -1
- package/dist/dts/index.d.ts +1 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/main/main.template.d.ts +15 -0
- package/dist/dts/main/main.template.d.ts.map +1 -1
- package/dist/dts/suggestions/chat-suggestions.d.ts +7 -0
- package/dist/dts/suggestions/chat-suggestions.d.ts.map +1 -1
- package/dist/esm/components/chat-bubble/chat-bubble.js +27 -0
- package/dist/esm/components/chat-bubble/chat-bubble.template.js +5 -3
- package/dist/esm/components/chat-markdown/chat-markdown.js +132 -1
- package/dist/esm/components/halo-overlay.js +96 -8
- package/dist/esm/index.js +3 -1
- package/dist/esm/main/main.template.js +110 -45
- package/dist/esm/suggestions/chat-suggestions.js +11 -3
- package/docs/styling.md +153 -0
- package/package.json +18 -18
|
@@ -893,6 +893,14 @@
|
|
|
893
893
|
"name": "AiChatMarkdown",
|
|
894
894
|
"module": "./components/chat-markdown/chat-markdown"
|
|
895
895
|
}
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"kind": "js",
|
|
899
|
+
"name": "MARKDOWN_EXPORTPARTS",
|
|
900
|
+
"declaration": {
|
|
901
|
+
"name": "MARKDOWN_EXPORTPARTS",
|
|
902
|
+
"module": "./components/chat-markdown/chat-markdown"
|
|
903
|
+
}
|
|
896
904
|
}
|
|
897
905
|
]
|
|
898
906
|
},
|
|
@@ -1112,1134 +1120,1178 @@
|
|
|
1112
1120
|
},
|
|
1113
1121
|
{
|
|
1114
1122
|
"kind": "javascript-module",
|
|
1115
|
-
"path": "src/
|
|
1123
|
+
"path": "src/config/config.ts",
|
|
1116
1124
|
"declarations": [
|
|
1117
1125
|
{
|
|
1118
|
-
"kind": "
|
|
1119
|
-
"
|
|
1120
|
-
"
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1126
|
+
"kind": "function",
|
|
1127
|
+
"name": "defineAgent",
|
|
1128
|
+
"description": "Identity helper that infers the narrowest possible type for an agent config,\npreserving string literal types (including `name`) without requiring `as const`.\n\nUse this when you need `typeof myAgent` to carry the literal `name` type —\nfor example, when wiring `ChatToolHandlers<typeof myAgent>`.\n\n```ts\nconst myAgent = defineAgent({ name: 'my_agent', ... });\ntype Handlers = ChatToolHandlers<typeof myAgent>;\n// requestSubAgent name param is now typed as 'my_agent'\n```"
|
|
1129
|
+
}
|
|
1130
|
+
],
|
|
1131
|
+
"exports": [
|
|
1132
|
+
{
|
|
1133
|
+
"kind": "js",
|
|
1134
|
+
"name": "CachePolicy",
|
|
1135
|
+
"declaration": {
|
|
1136
|
+
"name": "CachePolicy",
|
|
1137
|
+
"module": "src/config/config.ts"
|
|
1138
|
+
}
|
|
1139
|
+
},
|
|
1140
|
+
{
|
|
1141
|
+
"kind": "js",
|
|
1142
|
+
"name": "ChatFallback",
|
|
1143
|
+
"declaration": {
|
|
1144
|
+
"name": "ChatFallback",
|
|
1145
|
+
"module": "src/config/config.ts"
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1148
|
+
{
|
|
1149
|
+
"kind": "js",
|
|
1150
|
+
"name": "ChatInputDuringExecutionMode",
|
|
1151
|
+
"declaration": {
|
|
1152
|
+
"name": "ChatInputDuringExecutionMode",
|
|
1153
|
+
"module": "src/config/config.ts"
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
"kind": "js",
|
|
1158
|
+
"name": "ChatThinkingPolicy",
|
|
1159
|
+
"declaration": {
|
|
1160
|
+
"name": "ChatThinkingPolicy",
|
|
1161
|
+
"module": "src/config/config.ts"
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"kind": "js",
|
|
1166
|
+
"name": "ChatToolChoice",
|
|
1167
|
+
"declaration": {
|
|
1168
|
+
"name": "ChatToolChoice",
|
|
1169
|
+
"module": "src/config/config.ts"
|
|
1170
|
+
}
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
"kind": "js",
|
|
1174
|
+
"name": "defineAgent",
|
|
1175
|
+
"declaration": {
|
|
1176
|
+
"name": "defineAgent",
|
|
1177
|
+
"module": "src/config/config.ts"
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
]
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
"kind": "javascript-module",
|
|
1184
|
+
"path": "src/config/define-stateful-agent.ts",
|
|
1185
|
+
"declarations": [
|
|
1186
|
+
{
|
|
1187
|
+
"kind": "function",
|
|
1188
|
+
"name": "restoreMachine",
|
|
1189
|
+
"return": {
|
|
1190
|
+
"type": {
|
|
1191
|
+
"text": "void"
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
"parameters": [
|
|
1130
1195
|
{
|
|
1131
|
-
"
|
|
1132
|
-
"name": "animFrame",
|
|
1196
|
+
"name": "machine",
|
|
1133
1197
|
"type": {
|
|
1134
|
-
"text": "
|
|
1198
|
+
"text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
|
|
1135
1199
|
},
|
|
1136
|
-
"
|
|
1200
|
+
"description": "the machine to restore (already constructed/started)."
|
|
1137
1201
|
},
|
|
1138
1202
|
{
|
|
1139
|
-
"
|
|
1140
|
-
"name": "bandPaths",
|
|
1203
|
+
"name": "restored",
|
|
1141
1204
|
"type": {
|
|
1142
|
-
"text": "
|
|
1205
|
+
"text": "unknown"
|
|
1143
1206
|
},
|
|
1144
|
-
"
|
|
1207
|
+
"description": "the agent's serialized image (`ctx.restored` in `init`)."
|
|
1145
1208
|
},
|
|
1146
1209
|
{
|
|
1147
|
-
"
|
|
1148
|
-
"
|
|
1149
|
-
"
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1210
|
+
"name": "key",
|
|
1211
|
+
"default": "'machine'",
|
|
1212
|
+
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
1213
|
+
}
|
|
1214
|
+
],
|
|
1215
|
+
"description": "Restore a foundation-state-machine instance from a snapshot produced by the\ndefault serializer (or `machine.getPersistedSnapshot()`). Call inside a\nstateful agent's `init` to resume the machine in its exact prior place:\n\n```ts\ninit: ({ restored }) => {\n const machine = new MyMachine();\n restoreMachine(machine, restored); // resume, or no-op on a fresh start\n return { machine };\n}\n```\n\nNo-ops when there is nothing to restore (a fresh session), leaving the\nfreshly-constructed machine in its initial state."
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"kind": "function",
|
|
1219
|
+
"name": "defineStatefulAgent",
|
|
1220
|
+
"return": {
|
|
1221
|
+
"type": {
|
|
1222
|
+
"text": "AgentConfig"
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
"parameters": [
|
|
1160
1226
|
{
|
|
1161
|
-
"
|
|
1162
|
-
"
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
"return": {
|
|
1166
|
-
"type": {
|
|
1167
|
-
"text": "string"
|
|
1168
|
-
}
|
|
1169
|
-
},
|
|
1170
|
-
"parameters": [
|
|
1171
|
-
{
|
|
1172
|
-
"name": "cfg",
|
|
1173
|
-
"type": {
|
|
1174
|
-
"text": "BandConfig"
|
|
1175
|
-
}
|
|
1176
|
-
},
|
|
1177
|
-
{
|
|
1178
|
-
"name": "frame",
|
|
1179
|
-
"type": {
|
|
1180
|
-
"text": "number"
|
|
1181
|
-
}
|
|
1182
|
-
}
|
|
1183
|
-
],
|
|
1184
|
-
"description": "Trace one band for the given frame: a baseline-plus-harmonics half-thickness\nprofile, clamped at 0 (so the band pinches to nothing between bumps) and\ntapered to 0 at both ends."
|
|
1227
|
+
"name": "opts",
|
|
1228
|
+
"type": {
|
|
1229
|
+
"text": "StatefulAgentInit<S>"
|
|
1230
|
+
}
|
|
1185
1231
|
}
|
|
1186
1232
|
],
|
|
1187
|
-
"
|
|
1188
|
-
|
|
1189
|
-
|
|
1233
|
+
"description": "Build an `AgentConfig` whose `systemPrompt`, `toolDefinitions`, and tool\nhandlers all close over a long-lived state object created on activation.\n\nThe framework wires the lifecycle: `init` on `onActivate`, `dispose` on\n`onDeactivate`. State is held inside the helper's closure — never exposed on\nthe resulting `AgentConfig` — so the redux serializer doesn't see it."
|
|
1234
|
+
}
|
|
1235
|
+
],
|
|
1236
|
+
"exports": [
|
|
1237
|
+
{
|
|
1238
|
+
"kind": "js",
|
|
1239
|
+
"name": "restoreMachine",
|
|
1240
|
+
"declaration": {
|
|
1241
|
+
"name": "restoreMachine",
|
|
1242
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
1243
|
+
}
|
|
1244
|
+
},
|
|
1245
|
+
{
|
|
1246
|
+
"kind": "js",
|
|
1247
|
+
"name": "defineStatefulAgent",
|
|
1248
|
+
"declaration": {
|
|
1249
|
+
"name": "defineStatefulAgent",
|
|
1250
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
]
|
|
1254
|
+
},
|
|
1255
|
+
{
|
|
1256
|
+
"kind": "javascript-module",
|
|
1257
|
+
"path": "src/config/fallback-agents.ts",
|
|
1258
|
+
"declarations": [
|
|
1259
|
+
{
|
|
1260
|
+
"kind": "variable",
|
|
1261
|
+
"name": "friendlyFallbackAgent",
|
|
1262
|
+
"type": {
|
|
1263
|
+
"text": "FallbackAgentConfig"
|
|
1190
1264
|
},
|
|
1191
|
-
"
|
|
1192
|
-
"
|
|
1265
|
+
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a warm, friendly assistant. For general conversation like \"Hi\" or \"How are you\", you can have a friendly chat. For anything more complex, you cannot directly help, but you can explain what specialists are available. The available specialists are:\\n\\n{{agents}}\\n\\nPolitely let the user know what you can help with and invite them to rephrase their request if it is outside your scope.`,\n}",
|
|
1266
|
+
"description": "A warm, conversational fallback agent. Acknowledges it can't help directly,\nexplains what the available specialists can do, and invites the user to retry.\n\nThe system prompt is generated at runtime by `OrchestratingDriver` from the\nspecialist list — no manual authoring required."
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
"kind": "variable",
|
|
1270
|
+
"name": "strictFallbackAgent",
|
|
1271
|
+
"type": {
|
|
1272
|
+
"text": "FallbackAgentConfig"
|
|
1273
|
+
},
|
|
1274
|
+
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a concise assistant. The user's request is outside your scope. The available specialists are: {{agents}}.\n\n{{unroutable}}\n\nAnswer in a single short sentence. Do not elaborate.`,\n}",
|
|
1275
|
+
"description": "A brief, professional fallback agent. States what is available without\nelaboration. The `{{agents}}` placeholder is replaced at runtime by\n`OrchestratingDriver` with the generated specialist list.\n\nThe `{{unroutable}}` placeholder positions `UNROUTABLE_INSTRUCTION` — the framework's\ninstruction for a substantive request no specialist covers, which is otherwise APPENDED to a\nstring-form prompt. Positioned rather than appended for one reason: this preset's whole point is\nbrevity, and appended text would be the last thing the model reads. Putting the block above the\nbrevity rule leaves \"a single short sentence\" with the recency, so the two compose instead of\ncompeting. A prompt whose tone rules matter should do the same."
|
|
1193
1276
|
}
|
|
1194
1277
|
],
|
|
1195
1278
|
"exports": [
|
|
1196
1279
|
{
|
|
1197
1280
|
"kind": "js",
|
|
1198
|
-
"name": "
|
|
1281
|
+
"name": "friendlyFallbackAgent",
|
|
1199
1282
|
"declaration": {
|
|
1200
|
-
"name": "
|
|
1201
|
-
"module": "src/
|
|
1283
|
+
"name": "friendlyFallbackAgent",
|
|
1284
|
+
"module": "src/config/fallback-agents.ts"
|
|
1202
1285
|
}
|
|
1203
1286
|
},
|
|
1204
1287
|
{
|
|
1205
|
-
"kind": "
|
|
1206
|
-
"name": "
|
|
1288
|
+
"kind": "js",
|
|
1289
|
+
"name": "strictFallbackAgent",
|
|
1207
1290
|
"declaration": {
|
|
1208
|
-
"name": "
|
|
1209
|
-
"module": "src/
|
|
1291
|
+
"name": "strictFallbackAgent",
|
|
1292
|
+
"module": "src/config/fallback-agents.ts"
|
|
1210
1293
|
}
|
|
1211
1294
|
}
|
|
1212
1295
|
]
|
|
1213
1296
|
},
|
|
1214
1297
|
{
|
|
1215
1298
|
"kind": "javascript-module",
|
|
1216
|
-
"path": "src/
|
|
1299
|
+
"path": "src/config/index.ts",
|
|
1300
|
+
"declarations": [],
|
|
1301
|
+
"exports": [
|
|
1302
|
+
{
|
|
1303
|
+
"kind": "js",
|
|
1304
|
+
"name": "*",
|
|
1305
|
+
"declaration": {
|
|
1306
|
+
"name": "*",
|
|
1307
|
+
"package": "./config"
|
|
1308
|
+
}
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"kind": "js",
|
|
1312
|
+
"name": "*",
|
|
1313
|
+
"declaration": {
|
|
1314
|
+
"name": "*",
|
|
1315
|
+
"package": "./fallback-agents"
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
]
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"kind": "javascript-module",
|
|
1322
|
+
"path": "src/config/validate-providers.ts",
|
|
1323
|
+
"declarations": [],
|
|
1324
|
+
"exports": []
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"kind": "javascript-module",
|
|
1328
|
+
"path": "src/genesis/config.ts",
|
|
1217
1329
|
"declarations": [
|
|
1218
1330
|
{
|
|
1219
|
-
"kind": "
|
|
1220
|
-
"
|
|
1221
|
-
"
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
"kind": "field",
|
|
1242
|
-
"name": "direction",
|
|
1243
|
-
"type": {
|
|
1244
|
-
"text": "'cw' | 'ccw'"
|
|
1245
|
-
},
|
|
1246
|
-
"default": "'cw'",
|
|
1247
|
-
"description": "Rotation direction. Default: 'cw' (clockwise)."
|
|
1248
|
-
},
|
|
1249
|
-
{
|
|
1250
|
-
"kind": "field",
|
|
1251
|
-
"name": "borderSize",
|
|
1252
|
-
"type": {
|
|
1253
|
-
"text": "number"
|
|
1254
|
-
},
|
|
1255
|
-
"default": "3",
|
|
1256
|
-
"description": "Border thickness in px. Default: 3."
|
|
1257
|
-
},
|
|
1258
|
-
{
|
|
1259
|
-
"kind": "field",
|
|
1260
|
-
"name": "glowOpacity",
|
|
1261
|
-
"type": {
|
|
1262
|
-
"text": "number"
|
|
1263
|
-
},
|
|
1264
|
-
"default": "0.35",
|
|
1265
|
-
"description": "Glow layer opacity (0–1). Default: 0.35."
|
|
1266
|
-
},
|
|
1267
|
-
{
|
|
1268
|
-
"kind": "field",
|
|
1269
|
-
"name": "glowSpread",
|
|
1270
|
-
"type": {
|
|
1271
|
-
"text": "number"
|
|
1272
|
-
},
|
|
1273
|
-
"default": "70",
|
|
1274
|
-
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70."
|
|
1275
|
-
},
|
|
1276
|
-
{
|
|
1277
|
-
"kind": "method",
|
|
1278
|
-
"name": "borderSizeChanged"
|
|
1279
|
-
},
|
|
1280
|
-
{
|
|
1281
|
-
"kind": "method",
|
|
1282
|
-
"name": "glowOpacityChanged"
|
|
1283
|
-
},
|
|
1284
|
-
{
|
|
1285
|
-
"kind": "method",
|
|
1286
|
-
"name": "glowSpreadChanged"
|
|
1287
|
-
},
|
|
1288
|
-
{
|
|
1289
|
-
"kind": "field",
|
|
1290
|
-
"name": "FULL_ROTATION_DEG",
|
|
1291
|
-
"type": {
|
|
1292
|
-
"text": "number"
|
|
1293
|
-
},
|
|
1294
|
-
"privacy": "private",
|
|
1295
|
-
"static": true,
|
|
1296
|
-
"readonly": true,
|
|
1297
|
-
"default": "360"
|
|
1298
|
-
},
|
|
1299
|
-
{
|
|
1300
|
-
"kind": "field",
|
|
1301
|
-
"name": "angle",
|
|
1302
|
-
"type": {
|
|
1303
|
-
"text": "number"
|
|
1304
|
-
},
|
|
1305
|
-
"privacy": "private",
|
|
1306
|
-
"default": "0"
|
|
1307
|
-
},
|
|
1308
|
-
{
|
|
1309
|
-
"kind": "field",
|
|
1310
|
-
"name": "lastTime",
|
|
1311
|
-
"type": {
|
|
1312
|
-
"text": "number | undefined"
|
|
1313
|
-
},
|
|
1314
|
-
"privacy": "private"
|
|
1315
|
-
},
|
|
1316
|
-
{
|
|
1317
|
-
"kind": "field",
|
|
1318
|
-
"name": "animFrame",
|
|
1319
|
-
"type": {
|
|
1320
|
-
"text": "number | undefined"
|
|
1321
|
-
},
|
|
1322
|
-
"privacy": "private"
|
|
1323
|
-
},
|
|
1324
|
-
{
|
|
1325
|
-
"kind": "method",
|
|
1326
|
-
"name": "tick",
|
|
1327
|
-
"privacy": "private",
|
|
1328
|
-
"parameters": [
|
|
1329
|
-
{
|
|
1330
|
-
"name": "now",
|
|
1331
|
-
"optional": true,
|
|
1332
|
-
"type": {
|
|
1333
|
-
"text": "number"
|
|
1334
|
-
}
|
|
1335
|
-
}
|
|
1336
|
-
]
|
|
1331
|
+
"kind": "variable",
|
|
1332
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
1333
|
+
"type": {
|
|
1334
|
+
"text": "number"
|
|
1335
|
+
},
|
|
1336
|
+
"default": "50",
|
|
1337
|
+
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"kind": "variable",
|
|
1341
|
+
"name": "MAX_ROWS_CEILING",
|
|
1342
|
+
"type": {
|
|
1343
|
+
"text": "number"
|
|
1344
|
+
},
|
|
1345
|
+
"default": "1000"
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
"kind": "function",
|
|
1349
|
+
"name": "toolNameOf",
|
|
1350
|
+
"return": {
|
|
1351
|
+
"type": {
|
|
1352
|
+
"text": "string"
|
|
1337
1353
|
}
|
|
1338
|
-
|
|
1339
|
-
"
|
|
1340
|
-
{
|
|
1341
|
-
"type": {
|
|
1342
|
-
"text": "boolean"
|
|
1343
|
-
},
|
|
1344
|
-
"default": "false",
|
|
1345
|
-
"fieldName": "active"
|
|
1346
|
-
},
|
|
1347
|
-
{
|
|
1348
|
-
"type": {
|
|
1349
|
-
"text": "number"
|
|
1350
|
-
},
|
|
1351
|
-
"default": "HALO_DEFAULT_SPEED",
|
|
1352
|
-
"description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps).",
|
|
1353
|
-
"resolveInitializer": {
|
|
1354
|
-
"module": "src/components/halo-overlay.ts"
|
|
1355
|
-
},
|
|
1356
|
-
"fieldName": "speed"
|
|
1357
|
-
},
|
|
1358
|
-
{
|
|
1359
|
-
"name": "direction",
|
|
1360
|
-
"type": {
|
|
1361
|
-
"text": "'cw' | 'ccw'"
|
|
1362
|
-
},
|
|
1363
|
-
"default": "'cw'",
|
|
1364
|
-
"description": "Rotation direction. Default: 'cw' (clockwise).",
|
|
1365
|
-
"fieldName": "direction"
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
"name": "border-size",
|
|
1369
|
-
"type": {
|
|
1370
|
-
"text": "number"
|
|
1371
|
-
},
|
|
1372
|
-
"default": "HALO_DEFAULT_BORDER_SIZE",
|
|
1373
|
-
"description": "Border thickness in px. Default: 3.",
|
|
1374
|
-
"resolveInitializer": {
|
|
1375
|
-
"module": "src/components/halo-overlay.ts"
|
|
1376
|
-
},
|
|
1377
|
-
"fieldName": "borderSize"
|
|
1378
|
-
},
|
|
1379
|
-
{
|
|
1380
|
-
"name": "glow-opacity",
|
|
1381
|
-
"type": {
|
|
1382
|
-
"text": "number"
|
|
1383
|
-
},
|
|
1384
|
-
"default": "HALO_DEFAULT_GLOW_OPACITY",
|
|
1385
|
-
"description": "Glow layer opacity (0–1). Default: 0.35.",
|
|
1386
|
-
"resolveInitializer": {
|
|
1387
|
-
"module": "src/components/halo-overlay.ts"
|
|
1388
|
-
},
|
|
1389
|
-
"fieldName": "glowOpacity"
|
|
1390
|
-
},
|
|
1354
|
+
},
|
|
1355
|
+
"parameters": [
|
|
1391
1356
|
{
|
|
1392
|
-
"name": "
|
|
1357
|
+
"name": "resourceName",
|
|
1393
1358
|
"type": {
|
|
1394
|
-
"text": "
|
|
1395
|
-
}
|
|
1396
|
-
"default": "HALO_DEFAULT_GLOW_SPREAD",
|
|
1397
|
-
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70.",
|
|
1398
|
-
"resolveInitializer": {
|
|
1399
|
-
"module": "src/components/halo-overlay.ts"
|
|
1400
|
-
},
|
|
1401
|
-
"fieldName": "glowSpread"
|
|
1359
|
+
"text": "string"
|
|
1360
|
+
}
|
|
1402
1361
|
}
|
|
1403
1362
|
],
|
|
1404
|
-
"
|
|
1405
|
-
"name": "GenesisElement",
|
|
1406
|
-
"package": "@genesislcap/web-core"
|
|
1407
|
-
},
|
|
1408
|
-
"tagName": "ai-halo-overlay",
|
|
1409
|
-
"customElement": true
|
|
1363
|
+
"description": "The model-facing tool name for a resource. Deterministic and collision-free (resource names\nare unique), and trivially mapped back to the resource in a debug log. What the tool is FOR\nreaches the model through its description, not its name."
|
|
1410
1364
|
}
|
|
1411
1365
|
],
|
|
1412
1366
|
"exports": [
|
|
1413
1367
|
{
|
|
1414
1368
|
"kind": "js",
|
|
1415
|
-
"name": "
|
|
1369
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
1416
1370
|
"declaration": {
|
|
1417
|
-
"name": "
|
|
1418
|
-
"module": "src/
|
|
1371
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
1372
|
+
"module": "src/genesis/config.ts"
|
|
1419
1373
|
}
|
|
1420
1374
|
},
|
|
1421
1375
|
{
|
|
1422
|
-
"kind": "
|
|
1423
|
-
"name": "
|
|
1376
|
+
"kind": "js",
|
|
1377
|
+
"name": "MAX_ROWS_CEILING",
|
|
1424
1378
|
"declaration": {
|
|
1425
|
-
"name": "
|
|
1426
|
-
"module": "src/
|
|
1379
|
+
"name": "MAX_ROWS_CEILING",
|
|
1380
|
+
"module": "src/genesis/config.ts"
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
"kind": "js",
|
|
1385
|
+
"name": "toolNameOf",
|
|
1386
|
+
"declaration": {
|
|
1387
|
+
"name": "toolNameOf",
|
|
1388
|
+
"module": "src/genesis/config.ts"
|
|
1427
1389
|
}
|
|
1428
1390
|
}
|
|
1429
1391
|
]
|
|
1430
1392
|
},
|
|
1431
1393
|
{
|
|
1432
1394
|
"kind": "javascript-module",
|
|
1433
|
-
"path": "src/
|
|
1395
|
+
"path": "src/genesis/criteria.ts",
|
|
1434
1396
|
"declarations": [
|
|
1435
1397
|
{
|
|
1436
|
-
"kind": "
|
|
1437
|
-
"
|
|
1438
|
-
"
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1398
|
+
"kind": "function",
|
|
1399
|
+
"name": "dateFragment",
|
|
1400
|
+
"return": {
|
|
1401
|
+
"type": {
|
|
1402
|
+
"text": "string | undefined"
|
|
1403
|
+
}
|
|
1442
1404
|
},
|
|
1443
|
-
"
|
|
1444
|
-
"customElement": true
|
|
1445
|
-
}
|
|
1446
|
-
],
|
|
1447
|
-
"exports": [
|
|
1448
|
-
{
|
|
1449
|
-
"kind": "js",
|
|
1450
|
-
"name": "AiPlasmaOrbIndicator",
|
|
1451
|
-
"declaration": {
|
|
1452
|
-
"name": "AiPlasmaOrbIndicator",
|
|
1453
|
-
"module": "src/components/plasma-orb-indicator.ts"
|
|
1454
|
-
}
|
|
1455
|
-
},
|
|
1456
|
-
{
|
|
1457
|
-
"kind": "custom-element-definition",
|
|
1458
|
-
"name": "ai-plasma-orb-indicator",
|
|
1459
|
-
"declaration": {
|
|
1460
|
-
"name": "AiPlasmaOrbIndicator",
|
|
1461
|
-
"module": "src/components/plasma-orb-indicator.ts"
|
|
1462
|
-
}
|
|
1463
|
-
}
|
|
1464
|
-
]
|
|
1465
|
-
},
|
|
1466
|
-
{
|
|
1467
|
-
"kind": "javascript-module",
|
|
1468
|
-
"path": "src/components/waves-indicator.ts",
|
|
1469
|
-
"declarations": [
|
|
1470
|
-
{
|
|
1471
|
-
"kind": "class",
|
|
1472
|
-
"description": "Animated \"waves inside a circle\" loading indicator — coloured sine waves that\nslosh like glowing liquid inside a circular window, ringed by a rotating\ngradient halo (the same effect as `<ai-halo-overlay>`).\n\nVisual sibling of the dots loading indicator; the two are interchangeable\nstyles of the same \"assistant is working\" state.",
|
|
1473
|
-
"name": "AiWavesIndicator",
|
|
1474
|
-
"members": [
|
|
1405
|
+
"parameters": [
|
|
1475
1406
|
{
|
|
1476
|
-
"
|
|
1477
|
-
"name": "size",
|
|
1407
|
+
"name": "field",
|
|
1478
1408
|
"type": {
|
|
1479
|
-
"text": "
|
|
1480
|
-
}
|
|
1481
|
-
"default": "56",
|
|
1482
|
-
"description": "Diameter of the circular window in px. Default: 56."
|
|
1483
|
-
},
|
|
1484
|
-
{
|
|
1485
|
-
"kind": "method",
|
|
1486
|
-
"name": "sizeChanged"
|
|
1409
|
+
"text": "string"
|
|
1410
|
+
}
|
|
1487
1411
|
},
|
|
1488
1412
|
{
|
|
1489
|
-
"
|
|
1490
|
-
"name": "startTime",
|
|
1413
|
+
"name": "op",
|
|
1491
1414
|
"type": {
|
|
1492
|
-
"text": "
|
|
1493
|
-
}
|
|
1494
|
-
"privacy": "private"
|
|
1415
|
+
"text": "GenesisFilterOp"
|
|
1416
|
+
}
|
|
1495
1417
|
},
|
|
1496
1418
|
{
|
|
1497
|
-
"
|
|
1498
|
-
"name": "animFrame",
|
|
1419
|
+
"name": "date",
|
|
1499
1420
|
"type": {
|
|
1500
|
-
"text": "
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
|
-
|
|
1421
|
+
"text": "string"
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
]
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"kind": "function",
|
|
1428
|
+
"name": "dateTimeFragment",
|
|
1429
|
+
"return": {
|
|
1430
|
+
"type": {
|
|
1431
|
+
"text": "string | undefined"
|
|
1432
|
+
}
|
|
1433
|
+
},
|
|
1434
|
+
"parameters": [
|
|
1504
1435
|
{
|
|
1505
|
-
"
|
|
1506
|
-
"name": "wavePaths",
|
|
1436
|
+
"name": "field",
|
|
1507
1437
|
"type": {
|
|
1508
|
-
"text": "
|
|
1509
|
-
}
|
|
1510
|
-
"privacy": "private"
|
|
1438
|
+
"text": "string"
|
|
1439
|
+
}
|
|
1511
1440
|
},
|
|
1512
1441
|
{
|
|
1513
|
-
"
|
|
1514
|
-
"
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
{
|
|
1518
|
-
"name": "now",
|
|
1519
|
-
"optional": true,
|
|
1520
|
-
"type": {
|
|
1521
|
-
"text": "number"
|
|
1522
|
-
}
|
|
1523
|
-
}
|
|
1524
|
-
]
|
|
1442
|
+
"name": "op",
|
|
1443
|
+
"type": {
|
|
1444
|
+
"text": "GenesisFilterOp"
|
|
1445
|
+
}
|
|
1525
1446
|
},
|
|
1526
1447
|
{
|
|
1527
|
-
"
|
|
1528
|
-
"name": "buildWavePath",
|
|
1529
|
-
"privacy": "private",
|
|
1530
|
-
"static": true,
|
|
1531
|
-
"return": {
|
|
1532
|
-
"type": {
|
|
1533
|
-
"text": "string"
|
|
1534
|
-
}
|
|
1535
|
-
},
|
|
1536
|
-
"parameters": [
|
|
1537
|
-
{
|
|
1538
|
-
"name": "cfg",
|
|
1539
|
-
"type": {
|
|
1540
|
-
"text": "WaveConfig"
|
|
1541
|
-
}
|
|
1542
|
-
},
|
|
1543
|
-
{
|
|
1544
|
-
"name": "frame",
|
|
1545
|
-
"type": {
|
|
1546
|
-
"text": "number"
|
|
1547
|
-
}
|
|
1548
|
-
}
|
|
1549
|
-
],
|
|
1550
|
-
"description": "Trace one wave's polyline `d` attribute for the given frame."
|
|
1551
|
-
}
|
|
1552
|
-
],
|
|
1553
|
-
"attributes": [
|
|
1554
|
-
{
|
|
1448
|
+
"name": "bound",
|
|
1555
1449
|
"type": {
|
|
1556
|
-
"text": "
|
|
1557
|
-
}
|
|
1558
|
-
"default": "WAVES_DEFAULT_SIZE",
|
|
1559
|
-
"description": "Diameter of the circular window in px. Default: 56.",
|
|
1560
|
-
"resolveInitializer": {
|
|
1561
|
-
"module": "src/components/waves-indicator.ts"
|
|
1562
|
-
},
|
|
1563
|
-
"fieldName": "size"
|
|
1450
|
+
"text": "string"
|
|
1451
|
+
}
|
|
1564
1452
|
}
|
|
1565
1453
|
],
|
|
1566
|
-
"
|
|
1567
|
-
"name": "GenesisElement",
|
|
1568
|
-
"package": "@genesislcap/web-core"
|
|
1569
|
-
},
|
|
1570
|
-
"tagName": "ai-waves-indicator",
|
|
1571
|
-
"customElement": true
|
|
1454
|
+
"description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
|
|
1572
1455
|
}
|
|
1573
1456
|
],
|
|
1574
1457
|
"exports": [
|
|
1575
1458
|
{
|
|
1576
1459
|
"kind": "js",
|
|
1577
|
-
"name": "
|
|
1460
|
+
"name": "dateFragment",
|
|
1578
1461
|
"declaration": {
|
|
1579
|
-
"name": "
|
|
1580
|
-
"module": "src/
|
|
1462
|
+
"name": "dateFragment",
|
|
1463
|
+
"module": "src/genesis/criteria.ts"
|
|
1581
1464
|
}
|
|
1582
1465
|
},
|
|
1583
1466
|
{
|
|
1584
|
-
"kind": "
|
|
1585
|
-
"name": "
|
|
1467
|
+
"kind": "js",
|
|
1468
|
+
"name": "dateTimeFragment",
|
|
1586
1469
|
"declaration": {
|
|
1587
|
-
"name": "
|
|
1588
|
-
"module": "src/
|
|
1470
|
+
"name": "dateTimeFragment",
|
|
1471
|
+
"module": "src/genesis/criteria.ts"
|
|
1589
1472
|
}
|
|
1590
1473
|
}
|
|
1591
1474
|
]
|
|
1592
1475
|
},
|
|
1593
1476
|
{
|
|
1594
1477
|
"kind": "javascript-module",
|
|
1595
|
-
"path": "src/
|
|
1596
|
-
"declarations": [
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
],
|
|
1478
|
+
"path": "src/genesis/filter-fields.ts",
|
|
1479
|
+
"declarations": [],
|
|
1480
|
+
"exports": []
|
|
1481
|
+
},
|
|
1482
|
+
{
|
|
1483
|
+
"kind": "javascript-module",
|
|
1484
|
+
"path": "src/genesis/index.ts",
|
|
1485
|
+
"declarations": [],
|
|
1603
1486
|
"exports": [
|
|
1604
1487
|
{
|
|
1605
1488
|
"kind": "js",
|
|
1606
|
-
"name": "
|
|
1489
|
+
"name": "GENESIS_AGENT_NAME",
|
|
1607
1490
|
"declaration": {
|
|
1608
|
-
"name": "
|
|
1609
|
-
"module": "
|
|
1491
|
+
"name": "GENESIS_AGENT_NAME",
|
|
1492
|
+
"module": "./register-genesis-assistant"
|
|
1610
1493
|
}
|
|
1611
1494
|
},
|
|
1612
1495
|
{
|
|
1613
1496
|
"kind": "js",
|
|
1614
|
-
"name": "
|
|
1497
|
+
"name": "registerGenesisAssistant",
|
|
1615
1498
|
"declaration": {
|
|
1616
|
-
"name": "
|
|
1617
|
-
"module": "
|
|
1499
|
+
"name": "registerGenesisAssistant",
|
|
1500
|
+
"module": "./register-genesis-assistant"
|
|
1618
1501
|
}
|
|
1619
1502
|
},
|
|
1620
1503
|
{
|
|
1621
1504
|
"kind": "js",
|
|
1622
|
-
"name": "
|
|
1505
|
+
"name": "GenesisFilter",
|
|
1623
1506
|
"declaration": {
|
|
1624
|
-
"name": "
|
|
1625
|
-
"module": "
|
|
1507
|
+
"name": "GenesisFilter",
|
|
1508
|
+
"module": "./criteria"
|
|
1626
1509
|
}
|
|
1627
1510
|
},
|
|
1628
1511
|
{
|
|
1629
1512
|
"kind": "js",
|
|
1630
|
-
"name": "
|
|
1513
|
+
"name": "GenesisFilterField",
|
|
1631
1514
|
"declaration": {
|
|
1632
|
-
"name": "
|
|
1633
|
-
"module": "
|
|
1515
|
+
"name": "GenesisFilterField",
|
|
1516
|
+
"module": "./criteria"
|
|
1634
1517
|
}
|
|
1635
1518
|
},
|
|
1636
1519
|
{
|
|
1637
1520
|
"kind": "js",
|
|
1638
|
-
"name": "
|
|
1521
|
+
"name": "GenesisFilterOp",
|
|
1639
1522
|
"declaration": {
|
|
1640
|
-
"name": "
|
|
1641
|
-
"module": "
|
|
1523
|
+
"name": "GenesisFilterOp",
|
|
1524
|
+
"module": "./criteria"
|
|
1642
1525
|
}
|
|
1643
1526
|
},
|
|
1644
1527
|
{
|
|
1645
1528
|
"kind": "js",
|
|
1646
|
-
"name": "
|
|
1529
|
+
"name": "createGenesisResourceTools",
|
|
1647
1530
|
"declaration": {
|
|
1648
|
-
"name": "
|
|
1649
|
-
"module": "
|
|
1531
|
+
"name": "createGenesisResourceTools",
|
|
1532
|
+
"module": "./resource-tools"
|
|
1650
1533
|
}
|
|
1651
|
-
}
|
|
1652
|
-
]
|
|
1653
|
-
},
|
|
1654
|
-
{
|
|
1655
|
-
"kind": "javascript-module",
|
|
1656
|
-
"path": "src/config/define-stateful-agent.ts",
|
|
1657
|
-
"declarations": [
|
|
1534
|
+
},
|
|
1658
1535
|
{
|
|
1659
|
-
"kind": "
|
|
1660
|
-
"name": "
|
|
1661
|
-
"
|
|
1662
|
-
"
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
},
|
|
1666
|
-
"parameters": [
|
|
1667
|
-
{
|
|
1668
|
-
"name": "machine",
|
|
1669
|
-
"type": {
|
|
1670
|
-
"text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
|
|
1671
|
-
},
|
|
1672
|
-
"description": "the machine to restore (already constructed/started)."
|
|
1673
|
-
},
|
|
1674
|
-
{
|
|
1675
|
-
"name": "restored",
|
|
1676
|
-
"type": {
|
|
1677
|
-
"text": "unknown"
|
|
1678
|
-
},
|
|
1679
|
-
"description": "the agent's serialized image (`ctx.restored` in `init`)."
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
"name": "key",
|
|
1683
|
-
"default": "'machine'",
|
|
1684
|
-
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
1685
|
-
}
|
|
1686
|
-
],
|
|
1687
|
-
"description": "Restore a foundation-state-machine instance from a snapshot produced by the\ndefault serializer (or `machine.getPersistedSnapshot()`). Call inside a\nstateful agent's `init` to resume the machine in its exact prior place:\n\n```ts\ninit: ({ restored }) => {\n const machine = new MyMachine();\n restoreMachine(machine, restored); // resume, or no-op on a fresh start\n return { machine };\n}\n```\n\nNo-ops when there is nothing to restore (a fresh session), leaving the\nfreshly-constructed machine in its initial state."
|
|
1536
|
+
"kind": "js",
|
|
1537
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
1538
|
+
"declaration": {
|
|
1539
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
1540
|
+
"module": "./resource-tools"
|
|
1541
|
+
}
|
|
1688
1542
|
},
|
|
1689
1543
|
{
|
|
1690
|
-
"kind": "
|
|
1691
|
-
"name": "
|
|
1692
|
-
"
|
|
1693
|
-
"
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
"parameters": [
|
|
1698
|
-
{
|
|
1699
|
-
"name": "opts",
|
|
1700
|
-
"type": {
|
|
1701
|
-
"text": "StatefulAgentInit<S>"
|
|
1702
|
-
}
|
|
1703
|
-
}
|
|
1704
|
-
],
|
|
1705
|
-
"description": "Build an `AgentConfig` whose `systemPrompt`, `toolDefinitions`, and tool\nhandlers all close over a long-lived state object created on activation.\n\nThe framework wires the lifecycle: `init` on `onActivate`, `dispose` on\n`onDeactivate`. State is held inside the helper's closure — never exposed on\nthe resulting `AgentConfig` — so the redux serializer doesn't see it."
|
|
1706
|
-
}
|
|
1707
|
-
],
|
|
1708
|
-
"exports": [
|
|
1544
|
+
"kind": "js",
|
|
1545
|
+
"name": "GenesisReadResult",
|
|
1546
|
+
"declaration": {
|
|
1547
|
+
"name": "GenesisReadResult",
|
|
1548
|
+
"module": "./resource-tools"
|
|
1549
|
+
}
|
|
1550
|
+
},
|
|
1709
1551
|
{
|
|
1710
1552
|
"kind": "js",
|
|
1711
|
-
"name": "
|
|
1553
|
+
"name": "GenesisResourceTools",
|
|
1712
1554
|
"declaration": {
|
|
1713
|
-
"name": "
|
|
1714
|
-
"module": "
|
|
1555
|
+
"name": "GenesisResourceTools",
|
|
1556
|
+
"module": "./resource-tools"
|
|
1715
1557
|
}
|
|
1716
1558
|
},
|
|
1717
1559
|
{
|
|
1718
1560
|
"kind": "js",
|
|
1719
|
-
"name": "
|
|
1561
|
+
"name": "GenesisResourceToolsOptions",
|
|
1720
1562
|
"declaration": {
|
|
1721
|
-
"name": "
|
|
1722
|
-
"module": "
|
|
1563
|
+
"name": "GenesisResourceToolsOptions",
|
|
1564
|
+
"module": "./resource-tools"
|
|
1723
1565
|
}
|
|
1724
|
-
}
|
|
1725
|
-
]
|
|
1726
|
-
},
|
|
1727
|
-
{
|
|
1728
|
-
"kind": "javascript-module",
|
|
1729
|
-
"path": "src/config/fallback-agents.ts",
|
|
1730
|
-
"declarations": [
|
|
1566
|
+
},
|
|
1731
1567
|
{
|
|
1732
|
-
"kind": "
|
|
1733
|
-
"name": "
|
|
1734
|
-
"
|
|
1735
|
-
"
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
"description": "A warm, conversational fallback agent. Acknowledges it can't help directly,\nexplains what the available specialists can do, and invites the user to retry.\n\nThe system prompt is generated at runtime by `OrchestratingDriver` from the\nspecialist list — no manual authoring required."
|
|
1568
|
+
"kind": "js",
|
|
1569
|
+
"name": "GenesisToolError",
|
|
1570
|
+
"declaration": {
|
|
1571
|
+
"name": "GenesisToolError",
|
|
1572
|
+
"module": "./resource-tools"
|
|
1573
|
+
}
|
|
1739
1574
|
},
|
|
1740
1575
|
{
|
|
1741
|
-
"kind": "
|
|
1742
|
-
"name": "
|
|
1743
|
-
"
|
|
1744
|
-
"
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
}
|
|
1749
|
-
],
|
|
1750
|
-
"exports": [
|
|
1576
|
+
"kind": "js",
|
|
1577
|
+
"name": "GENESIS_EVENT_OPS",
|
|
1578
|
+
"declaration": {
|
|
1579
|
+
"name": "GENESIS_EVENT_OPS",
|
|
1580
|
+
"module": "./types"
|
|
1581
|
+
}
|
|
1582
|
+
},
|
|
1751
1583
|
{
|
|
1752
1584
|
"kind": "js",
|
|
1753
|
-
"name": "
|
|
1585
|
+
"name": "GenesisAiConfig",
|
|
1754
1586
|
"declaration": {
|
|
1755
|
-
"name": "
|
|
1756
|
-
"module": "
|
|
1587
|
+
"name": "GenesisAiConfig",
|
|
1588
|
+
"module": "./types"
|
|
1757
1589
|
}
|
|
1758
1590
|
},
|
|
1759
1591
|
{
|
|
1760
1592
|
"kind": "js",
|
|
1761
|
-
"name": "
|
|
1593
|
+
"name": "GenesisAiResource",
|
|
1762
1594
|
"declaration": {
|
|
1763
|
-
"name": "
|
|
1764
|
-
"module": "
|
|
1595
|
+
"name": "GenesisAiResource",
|
|
1596
|
+
"module": "./types"
|
|
1765
1597
|
}
|
|
1766
|
-
}
|
|
1767
|
-
]
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
"kind": "javascript-module",
|
|
1771
|
-
"path": "src/config/index.ts",
|
|
1772
|
-
"declarations": [],
|
|
1773
|
-
"exports": [
|
|
1598
|
+
},
|
|
1774
1599
|
{
|
|
1775
1600
|
"kind": "js",
|
|
1776
|
-
"name": "
|
|
1601
|
+
"name": "GenesisAssistantExtensions",
|
|
1777
1602
|
"declaration": {
|
|
1778
|
-
"name": "
|
|
1779
|
-
"
|
|
1603
|
+
"name": "GenesisAssistantExtensions",
|
|
1604
|
+
"module": "./types"
|
|
1780
1605
|
}
|
|
1781
1606
|
},
|
|
1782
1607
|
{
|
|
1783
1608
|
"kind": "js",
|
|
1784
|
-
"name": "
|
|
1609
|
+
"name": "GenesisAssistantRegistration",
|
|
1785
1610
|
"declaration": {
|
|
1786
|
-
"name": "
|
|
1787
|
-
"
|
|
1611
|
+
"name": "GenesisAssistantRegistration",
|
|
1612
|
+
"module": "./types"
|
|
1613
|
+
}
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"kind": "js",
|
|
1617
|
+
"name": "GenesisEventOp",
|
|
1618
|
+
"declaration": {
|
|
1619
|
+
"name": "GenesisEventOp",
|
|
1620
|
+
"module": "./types"
|
|
1621
|
+
}
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"kind": "js",
|
|
1625
|
+
"name": "GenesisResourceKind",
|
|
1626
|
+
"declaration": {
|
|
1627
|
+
"name": "GenesisResourceKind",
|
|
1628
|
+
"module": "./types"
|
|
1629
|
+
}
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"kind": "js",
|
|
1633
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
1634
|
+
"declaration": {
|
|
1635
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
1636
|
+
"module": "./types"
|
|
1788
1637
|
}
|
|
1789
1638
|
}
|
|
1790
1639
|
]
|
|
1791
1640
|
},
|
|
1792
1641
|
{
|
|
1793
1642
|
"kind": "javascript-module",
|
|
1794
|
-
"path": "src/
|
|
1795
|
-
"declarations": [],
|
|
1796
|
-
"exports": []
|
|
1797
|
-
},
|
|
1798
|
-
{
|
|
1799
|
-
"kind": "javascript-module",
|
|
1800
|
-
"path": "src/genesis/config.ts",
|
|
1643
|
+
"path": "src/genesis/register-genesis-assistant.ts",
|
|
1801
1644
|
"declarations": [
|
|
1802
1645
|
{
|
|
1803
1646
|
"kind": "variable",
|
|
1804
|
-
"name": "
|
|
1805
|
-
"type": {
|
|
1806
|
-
"text": "number"
|
|
1807
|
-
},
|
|
1808
|
-
"default": "50",
|
|
1809
|
-
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
1810
|
-
},
|
|
1811
|
-
{
|
|
1812
|
-
"kind": "variable",
|
|
1813
|
-
"name": "MAX_ROWS_CEILING",
|
|
1647
|
+
"name": "GENESIS_AGENT_NAME",
|
|
1814
1648
|
"type": {
|
|
1815
|
-
"text": "
|
|
1649
|
+
"text": "string"
|
|
1816
1650
|
},
|
|
1817
|
-
"default": "
|
|
1651
|
+
"default": "'genesis-assistant'",
|
|
1652
|
+
"description": "The name of the agent registerGenesisAssistant builds."
|
|
1818
1653
|
},
|
|
1819
1654
|
{
|
|
1820
1655
|
"kind": "function",
|
|
1821
|
-
"name": "
|
|
1656
|
+
"name": "registerGenesisAssistant",
|
|
1822
1657
|
"return": {
|
|
1823
1658
|
"type": {
|
|
1824
|
-
"text": "
|
|
1659
|
+
"text": "GenesisAssistantRegistration"
|
|
1825
1660
|
}
|
|
1826
1661
|
},
|
|
1827
1662
|
"parameters": [
|
|
1828
1663
|
{
|
|
1829
|
-
"name": "
|
|
1664
|
+
"name": "options",
|
|
1830
1665
|
"type": {
|
|
1831
|
-
"text": "
|
|
1666
|
+
"text": "RegisterGenesisAssistantOptions"
|
|
1832
1667
|
}
|
|
1833
1668
|
}
|
|
1834
1669
|
],
|
|
1835
|
-
"description": "
|
|
1670
|
+
"description": "Sets up the AI assistant for a Genesis app from its generated AI config: providers by tier,\nand one agent whose tools read the app's resources."
|
|
1836
1671
|
}
|
|
1837
1672
|
],
|
|
1838
1673
|
"exports": [
|
|
1839
1674
|
{
|
|
1840
1675
|
"kind": "js",
|
|
1841
|
-
"name": "
|
|
1842
|
-
"declaration": {
|
|
1843
|
-
"name": "DEFAULT_MAX_ROWS",
|
|
1844
|
-
"module": "src/genesis/config.ts"
|
|
1845
|
-
}
|
|
1846
|
-
},
|
|
1847
|
-
{
|
|
1848
|
-
"kind": "js",
|
|
1849
|
-
"name": "MAX_ROWS_CEILING",
|
|
1676
|
+
"name": "GENESIS_AGENT_NAME",
|
|
1850
1677
|
"declaration": {
|
|
1851
|
-
"name": "
|
|
1852
|
-
"module": "src/genesis/
|
|
1678
|
+
"name": "GENESIS_AGENT_NAME",
|
|
1679
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
1853
1680
|
}
|
|
1854
1681
|
},
|
|
1855
1682
|
{
|
|
1856
1683
|
"kind": "js",
|
|
1857
|
-
"name": "
|
|
1684
|
+
"name": "registerGenesisAssistant",
|
|
1858
1685
|
"declaration": {
|
|
1859
|
-
"name": "
|
|
1860
|
-
"module": "src/genesis/
|
|
1686
|
+
"name": "registerGenesisAssistant",
|
|
1687
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
1861
1688
|
}
|
|
1862
1689
|
}
|
|
1863
1690
|
]
|
|
1864
1691
|
},
|
|
1865
1692
|
{
|
|
1866
1693
|
"kind": "javascript-module",
|
|
1867
|
-
"path": "src/genesis/
|
|
1694
|
+
"path": "src/genesis/resource-tools.ts",
|
|
1868
1695
|
"declarations": [
|
|
1869
1696
|
{
|
|
1870
|
-
"kind": "
|
|
1871
|
-
"name": "
|
|
1872
|
-
"
|
|
1873
|
-
"
|
|
1874
|
-
"text": "string | undefined"
|
|
1875
|
-
}
|
|
1697
|
+
"kind": "variable",
|
|
1698
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
1699
|
+
"type": {
|
|
1700
|
+
"text": "string"
|
|
1876
1701
|
},
|
|
1877
|
-
"
|
|
1878
|
-
|
|
1879
|
-
"name": "field",
|
|
1880
|
-
"type": {
|
|
1881
|
-
"text": "string"
|
|
1882
|
-
}
|
|
1883
|
-
},
|
|
1884
|
-
{
|
|
1885
|
-
"name": "op",
|
|
1886
|
-
"type": {
|
|
1887
|
-
"text": "GenesisFilterOp"
|
|
1888
|
-
}
|
|
1889
|
-
},
|
|
1890
|
-
{
|
|
1891
|
-
"name": "date",
|
|
1892
|
-
"type": {
|
|
1893
|
-
"text": "string"
|
|
1894
|
-
}
|
|
1895
|
-
}
|
|
1896
|
-
]
|
|
1702
|
+
"default": "'app-database'",
|
|
1703
|
+
"description": "The provenance stamped on everything a tool returns from the app (ADR P9). Rows are written by\nthe app's other users, so the model must treat their text as data, never as instructions; the\nsystem prompt says the same thing in words."
|
|
1897
1704
|
},
|
|
1898
1705
|
{
|
|
1899
1706
|
"kind": "function",
|
|
1900
|
-
"name": "
|
|
1707
|
+
"name": "createGenesisResourceTools",
|
|
1901
1708
|
"return": {
|
|
1902
1709
|
"type": {
|
|
1903
|
-
"text": "
|
|
1710
|
+
"text": "GenesisResourceTools"
|
|
1904
1711
|
}
|
|
1905
1712
|
},
|
|
1906
1713
|
"parameters": [
|
|
1907
1714
|
{
|
|
1908
|
-
"name": "
|
|
1909
|
-
"type": {
|
|
1910
|
-
"text": "string"
|
|
1911
|
-
}
|
|
1912
|
-
},
|
|
1913
|
-
{
|
|
1914
|
-
"name": "op",
|
|
1715
|
+
"name": "resources",
|
|
1915
1716
|
"type": {
|
|
1916
|
-
"text": "
|
|
1717
|
+
"text": "readonly GenesisAiResource[]"
|
|
1917
1718
|
}
|
|
1918
1719
|
},
|
|
1919
1720
|
{
|
|
1920
|
-
"name": "
|
|
1721
|
+
"name": "options",
|
|
1722
|
+
"default": "{}",
|
|
1921
1723
|
"type": {
|
|
1922
|
-
"text": "
|
|
1724
|
+
"text": "GenesisResourceToolsOptions"
|
|
1923
1725
|
}
|
|
1924
1726
|
}
|
|
1925
1727
|
],
|
|
1926
|
-
"description": "
|
|
1728
|
+
"description": "Builds the assistant's tools from an app's resources."
|
|
1927
1729
|
}
|
|
1928
1730
|
],
|
|
1929
1731
|
"exports": [
|
|
1930
1732
|
{
|
|
1931
1733
|
"kind": "js",
|
|
1932
|
-
"name": "
|
|
1734
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
1933
1735
|
"declaration": {
|
|
1934
|
-
"name": "
|
|
1935
|
-
"module": "src/genesis/
|
|
1736
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
1737
|
+
"module": "src/genesis/resource-tools.ts"
|
|
1936
1738
|
}
|
|
1937
1739
|
},
|
|
1938
1740
|
{
|
|
1939
1741
|
"kind": "js",
|
|
1940
|
-
"name": "
|
|
1742
|
+
"name": "createGenesisResourceTools",
|
|
1941
1743
|
"declaration": {
|
|
1942
|
-
"name": "
|
|
1943
|
-
"module": "src/genesis/
|
|
1744
|
+
"name": "createGenesisResourceTools",
|
|
1745
|
+
"module": "src/genesis/resource-tools.ts"
|
|
1944
1746
|
}
|
|
1945
1747
|
}
|
|
1946
1748
|
]
|
|
1947
1749
|
},
|
|
1948
1750
|
{
|
|
1949
1751
|
"kind": "javascript-module",
|
|
1950
|
-
"path": "src/genesis/
|
|
1951
|
-
"declarations": [
|
|
1952
|
-
"exports": []
|
|
1953
|
-
},
|
|
1954
|
-
{
|
|
1955
|
-
"kind": "javascript-module",
|
|
1956
|
-
"path": "src/genesis/index.ts",
|
|
1957
|
-
"declarations": [],
|
|
1958
|
-
"exports": [
|
|
1752
|
+
"path": "src/genesis/types.ts",
|
|
1753
|
+
"declarations": [
|
|
1959
1754
|
{
|
|
1960
|
-
"kind": "
|
|
1961
|
-
"name": "
|
|
1962
|
-
"
|
|
1963
|
-
"
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
"declaration": {
|
|
1971
|
-
"name": "registerGenesisAssistant",
|
|
1972
|
-
"module": "./register-genesis-assistant"
|
|
1973
|
-
}
|
|
1974
|
-
},
|
|
1975
|
-
{
|
|
1976
|
-
"kind": "js",
|
|
1977
|
-
"name": "GenesisFilter",
|
|
1978
|
-
"declaration": {
|
|
1979
|
-
"name": "GenesisFilter",
|
|
1980
|
-
"module": "./criteria"
|
|
1981
|
-
}
|
|
1982
|
-
},
|
|
1983
|
-
{
|
|
1984
|
-
"kind": "js",
|
|
1985
|
-
"name": "GenesisFilterField",
|
|
1986
|
-
"declaration": {
|
|
1987
|
-
"name": "GenesisFilterField",
|
|
1988
|
-
"module": "./criteria"
|
|
1989
|
-
}
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
"kind": "js",
|
|
1993
|
-
"name": "GenesisFilterOp",
|
|
1994
|
-
"declaration": {
|
|
1995
|
-
"name": "GenesisFilterOp",
|
|
1996
|
-
"module": "./criteria"
|
|
1997
|
-
}
|
|
1998
|
-
},
|
|
1999
|
-
{
|
|
2000
|
-
"kind": "js",
|
|
2001
|
-
"name": "createGenesisResourceTools",
|
|
2002
|
-
"declaration": {
|
|
2003
|
-
"name": "createGenesisResourceTools",
|
|
2004
|
-
"module": "./resource-tools"
|
|
2005
|
-
}
|
|
2006
|
-
},
|
|
2007
|
-
{
|
|
2008
|
-
"kind": "js",
|
|
2009
|
-
"name": "GENESIS_DATA_SOURCE",
|
|
2010
|
-
"declaration": {
|
|
2011
|
-
"name": "GENESIS_DATA_SOURCE",
|
|
2012
|
-
"module": "./resource-tools"
|
|
2013
|
-
}
|
|
2014
|
-
},
|
|
2015
|
-
{
|
|
2016
|
-
"kind": "js",
|
|
2017
|
-
"name": "GenesisReadResult",
|
|
2018
|
-
"declaration": {
|
|
2019
|
-
"name": "GenesisReadResult",
|
|
2020
|
-
"module": "./resource-tools"
|
|
2021
|
-
}
|
|
2022
|
-
},
|
|
2023
|
-
{
|
|
2024
|
-
"kind": "js",
|
|
2025
|
-
"name": "GenesisResourceTools",
|
|
2026
|
-
"declaration": {
|
|
2027
|
-
"name": "GenesisResourceTools",
|
|
2028
|
-
"module": "./resource-tools"
|
|
2029
|
-
}
|
|
2030
|
-
},
|
|
2031
|
-
{
|
|
2032
|
-
"kind": "js",
|
|
2033
|
-
"name": "GenesisResourceToolsOptions",
|
|
2034
|
-
"declaration": {
|
|
2035
|
-
"name": "GenesisResourceToolsOptions",
|
|
2036
|
-
"module": "./resource-tools"
|
|
2037
|
-
}
|
|
2038
|
-
},
|
|
2039
|
-
{
|
|
2040
|
-
"kind": "js",
|
|
2041
|
-
"name": "GenesisToolError",
|
|
2042
|
-
"declaration": {
|
|
2043
|
-
"name": "GenesisToolError",
|
|
2044
|
-
"module": "./resource-tools"
|
|
2045
|
-
}
|
|
2046
|
-
},
|
|
1755
|
+
"kind": "variable",
|
|
1756
|
+
"name": "GENESIS_EVENT_OPS",
|
|
1757
|
+
"type": {
|
|
1758
|
+
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
1759
|
+
},
|
|
1760
|
+
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
1761
|
+
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
1762
|
+
}
|
|
1763
|
+
],
|
|
1764
|
+
"exports": [
|
|
2047
1765
|
{
|
|
2048
1766
|
"kind": "js",
|
|
2049
1767
|
"name": "GENESIS_EVENT_OPS",
|
|
2050
1768
|
"declaration": {
|
|
2051
1769
|
"name": "GENESIS_EVENT_OPS",
|
|
2052
|
-
"module": "
|
|
2053
|
-
}
|
|
2054
|
-
},
|
|
2055
|
-
{
|
|
2056
|
-
"kind": "js",
|
|
2057
|
-
"name": "GenesisAiConfig",
|
|
2058
|
-
"declaration": {
|
|
2059
|
-
"name": "GenesisAiConfig",
|
|
2060
|
-
"module": "./types"
|
|
2061
|
-
}
|
|
2062
|
-
},
|
|
2063
|
-
{
|
|
2064
|
-
"kind": "js",
|
|
2065
|
-
"name": "GenesisAiResource",
|
|
2066
|
-
"declaration": {
|
|
2067
|
-
"name": "GenesisAiResource",
|
|
2068
|
-
"module": "./types"
|
|
2069
|
-
}
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"kind": "js",
|
|
2073
|
-
"name": "GenesisAssistantExtensions",
|
|
2074
|
-
"declaration": {
|
|
2075
|
-
"name": "GenesisAssistantExtensions",
|
|
2076
|
-
"module": "./types"
|
|
2077
|
-
}
|
|
2078
|
-
},
|
|
2079
|
-
{
|
|
2080
|
-
"kind": "js",
|
|
2081
|
-
"name": "GenesisAssistantRegistration",
|
|
2082
|
-
"declaration": {
|
|
2083
|
-
"name": "GenesisAssistantRegistration",
|
|
2084
|
-
"module": "./types"
|
|
1770
|
+
"module": "src/genesis/types.ts"
|
|
2085
1771
|
}
|
|
2086
|
-
}
|
|
1772
|
+
}
|
|
1773
|
+
]
|
|
1774
|
+
},
|
|
1775
|
+
{
|
|
1776
|
+
"kind": "javascript-module",
|
|
1777
|
+
"path": "src/components/flowing-waves-indicator.ts",
|
|
1778
|
+
"declarations": [
|
|
2087
1779
|
{
|
|
2088
|
-
"kind": "
|
|
2089
|
-
"
|
|
2090
|
-
"
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
1780
|
+
"kind": "class",
|
|
1781
|
+
"description": "Animated \"flowing waves\" loading indicator — coloured organic waves (in the\nfour brand colours) whose bumps swell, shrink, merge and split across a line,\ntapering to nothing at both ends. Where the colours overlap they blend\nadditively toward white.\n\nVisual sibling of the dots loading indicator; interchangeable with the other\nloading styles for the \"assistant is working\" state.",
|
|
1782
|
+
"name": "AiFlowingWavesIndicator",
|
|
1783
|
+
"members": [
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "field",
|
|
1786
|
+
"name": "startTime",
|
|
1787
|
+
"type": {
|
|
1788
|
+
"text": "number | undefined"
|
|
1789
|
+
},
|
|
1790
|
+
"privacy": "private"
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"kind": "field",
|
|
1794
|
+
"name": "animFrame",
|
|
1795
|
+
"type": {
|
|
1796
|
+
"text": "number | undefined"
|
|
1797
|
+
},
|
|
1798
|
+
"privacy": "private"
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"kind": "field",
|
|
1802
|
+
"name": "bandPaths",
|
|
1803
|
+
"type": {
|
|
1804
|
+
"text": "SVGPathElement[] | undefined"
|
|
1805
|
+
},
|
|
1806
|
+
"privacy": "private"
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"kind": "method",
|
|
1810
|
+
"name": "tick",
|
|
1811
|
+
"privacy": "private",
|
|
1812
|
+
"parameters": [
|
|
1813
|
+
{
|
|
1814
|
+
"name": "now",
|
|
1815
|
+
"optional": true,
|
|
1816
|
+
"type": {
|
|
1817
|
+
"text": "number"
|
|
1818
|
+
}
|
|
1819
|
+
}
|
|
1820
|
+
]
|
|
1821
|
+
},
|
|
1822
|
+
{
|
|
1823
|
+
"kind": "method",
|
|
1824
|
+
"name": "buildBand",
|
|
1825
|
+
"privacy": "private",
|
|
1826
|
+
"static": true,
|
|
1827
|
+
"return": {
|
|
1828
|
+
"type": {
|
|
1829
|
+
"text": "string"
|
|
1830
|
+
}
|
|
1831
|
+
},
|
|
1832
|
+
"parameters": [
|
|
1833
|
+
{
|
|
1834
|
+
"name": "cfg",
|
|
1835
|
+
"type": {
|
|
1836
|
+
"text": "BandConfig"
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"name": "frame",
|
|
1841
|
+
"type": {
|
|
1842
|
+
"text": "number"
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
],
|
|
1846
|
+
"description": "Trace one band for the given frame: a baseline-plus-harmonics half-thickness\nprofile, clamped at 0 (so the band pinches to nothing between bumps) and\ntapered to 0 at both ends."
|
|
1847
|
+
}
|
|
1848
|
+
],
|
|
1849
|
+
"superclass": {
|
|
1850
|
+
"name": "GenesisElement",
|
|
1851
|
+
"package": "@genesislcap/web-core"
|
|
1852
|
+
},
|
|
1853
|
+
"tagName": "ai-flowing-waves-indicator",
|
|
1854
|
+
"customElement": true
|
|
1855
|
+
}
|
|
1856
|
+
],
|
|
1857
|
+
"exports": [
|
|
2095
1858
|
{
|
|
2096
1859
|
"kind": "js",
|
|
2097
|
-
"name": "
|
|
1860
|
+
"name": "AiFlowingWavesIndicator",
|
|
2098
1861
|
"declaration": {
|
|
2099
|
-
"name": "
|
|
2100
|
-
"module": "
|
|
1862
|
+
"name": "AiFlowingWavesIndicator",
|
|
1863
|
+
"module": "src/components/flowing-waves-indicator.ts"
|
|
2101
1864
|
}
|
|
2102
1865
|
},
|
|
2103
1866
|
{
|
|
2104
|
-
"kind": "
|
|
2105
|
-
"name": "
|
|
1867
|
+
"kind": "custom-element-definition",
|
|
1868
|
+
"name": "ai-flowing-waves-indicator",
|
|
2106
1869
|
"declaration": {
|
|
2107
|
-
"name": "
|
|
2108
|
-
"module": "
|
|
1870
|
+
"name": "AiFlowingWavesIndicator",
|
|
1871
|
+
"module": "src/components/flowing-waves-indicator.ts"
|
|
2109
1872
|
}
|
|
2110
1873
|
}
|
|
2111
1874
|
]
|
|
2112
1875
|
},
|
|
2113
1876
|
{
|
|
2114
1877
|
"kind": "javascript-module",
|
|
2115
|
-
"path": "src/
|
|
1878
|
+
"path": "src/components/halo-overlay.ts",
|
|
2116
1879
|
"declarations": [
|
|
2117
1880
|
{
|
|
2118
|
-
"kind": "
|
|
2119
|
-
"
|
|
2120
|
-
"
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
"
|
|
1881
|
+
"kind": "class",
|
|
1882
|
+
"description": "Animated halo overlay — rotating conic-gradient border with an inward glow.\n\nDrop inside any `position: relative; overflow: hidden` container and toggle\nthe `active` attribute to show/hide the effect.",
|
|
1883
|
+
"name": "AiHaloOverlay",
|
|
1884
|
+
"members": [
|
|
1885
|
+
{
|
|
1886
|
+
"kind": "field",
|
|
1887
|
+
"name": "active",
|
|
1888
|
+
"type": {
|
|
1889
|
+
"text": "boolean"
|
|
1890
|
+
},
|
|
1891
|
+
"default": "false"
|
|
1892
|
+
},
|
|
1893
|
+
{
|
|
1894
|
+
"kind": "field",
|
|
1895
|
+
"name": "speed",
|
|
1896
|
+
"type": {
|
|
1897
|
+
"text": "number"
|
|
1898
|
+
},
|
|
1899
|
+
"default": "1.5",
|
|
1900
|
+
"description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps)."
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"kind": "field",
|
|
1904
|
+
"name": "direction",
|
|
1905
|
+
"type": {
|
|
1906
|
+
"text": "'cw' | 'ccw'"
|
|
1907
|
+
},
|
|
1908
|
+
"default": "'cw'",
|
|
1909
|
+
"description": "Rotation direction. Default: 'cw' (clockwise)."
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
"kind": "field",
|
|
1913
|
+
"name": "borderSize",
|
|
1914
|
+
"type": {
|
|
1915
|
+
"text": "number"
|
|
1916
|
+
},
|
|
1917
|
+
"default": "3",
|
|
1918
|
+
"description": "Border thickness in px. Default: 3."
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
"kind": "field",
|
|
1922
|
+
"name": "glowOpacity",
|
|
1923
|
+
"type": {
|
|
1924
|
+
"text": "number"
|
|
1925
|
+
},
|
|
1926
|
+
"default": "0.35",
|
|
1927
|
+
"description": "Glow layer opacity (0–1). Default: 0.35."
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"kind": "field",
|
|
1931
|
+
"name": "glowSpread",
|
|
1932
|
+
"type": {
|
|
1933
|
+
"text": "number"
|
|
1934
|
+
},
|
|
1935
|
+
"default": "70",
|
|
1936
|
+
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70."
|
|
1937
|
+
},
|
|
1938
|
+
{
|
|
1939
|
+
"kind": "method",
|
|
1940
|
+
"name": "borderSizeChanged"
|
|
1941
|
+
},
|
|
1942
|
+
{
|
|
1943
|
+
"kind": "method",
|
|
1944
|
+
"name": "glowOpacityChanged"
|
|
1945
|
+
},
|
|
1946
|
+
{
|
|
1947
|
+
"kind": "method",
|
|
1948
|
+
"name": "glowSpreadChanged"
|
|
1949
|
+
},
|
|
1950
|
+
{
|
|
1951
|
+
"kind": "field",
|
|
1952
|
+
"name": "FULL_ROTATION_DEG",
|
|
1953
|
+
"type": {
|
|
1954
|
+
"text": "number"
|
|
1955
|
+
},
|
|
1956
|
+
"privacy": "private",
|
|
1957
|
+
"static": true,
|
|
1958
|
+
"readonly": true,
|
|
1959
|
+
"default": "360"
|
|
1960
|
+
},
|
|
1961
|
+
{
|
|
1962
|
+
"kind": "field",
|
|
1963
|
+
"name": "angle",
|
|
1964
|
+
"type": {
|
|
1965
|
+
"text": "number"
|
|
1966
|
+
},
|
|
1967
|
+
"privacy": "private",
|
|
1968
|
+
"default": "0"
|
|
1969
|
+
},
|
|
1970
|
+
{
|
|
1971
|
+
"kind": "field",
|
|
1972
|
+
"name": "lastTime",
|
|
1973
|
+
"type": {
|
|
1974
|
+
"text": "number | undefined"
|
|
1975
|
+
},
|
|
1976
|
+
"privacy": "private"
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
"kind": "field",
|
|
1980
|
+
"name": "animFrame",
|
|
1981
|
+
"type": {
|
|
1982
|
+
"text": "number | undefined"
|
|
1983
|
+
},
|
|
1984
|
+
"privacy": "private"
|
|
1985
|
+
},
|
|
1986
|
+
{
|
|
1987
|
+
"kind": "field",
|
|
1988
|
+
"name": "stopTimer",
|
|
1989
|
+
"type": {
|
|
1990
|
+
"text": "number | undefined"
|
|
1991
|
+
},
|
|
1992
|
+
"privacy": "private"
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"kind": "field",
|
|
1996
|
+
"name": "running",
|
|
1997
|
+
"type": {
|
|
1998
|
+
"text": "boolean"
|
|
1999
|
+
},
|
|
2000
|
+
"privacy": "private",
|
|
2001
|
+
"default": "false",
|
|
2002
|
+
"description": "Whether the loop should keep rescheduling itself — see AiHaloOverlay.tick."
|
|
2003
|
+
},
|
|
2004
|
+
{
|
|
2005
|
+
"kind": "method",
|
|
2006
|
+
"name": "activeChanged",
|
|
2007
|
+
"description": "Start/stop with `active`, so an idle overlay costs nothing.\n\nGuarded on `isConnected` because FAST invokes attribute-changed callbacks during\ninitialisation, before the element is in the document — `connectedCallback` is what decides\nfor an element that mounts already-active."
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
"kind": "method",
|
|
2011
|
+
"name": "startAnimation",
|
|
2012
|
+
"privacy": "private"
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"kind": "method",
|
|
2016
|
+
"name": "scheduleStop",
|
|
2017
|
+
"privacy": "private",
|
|
2018
|
+
"description": "Keep spinning until the host has finished fading out.\n\nDeactivating only drops the host's opacity — the overlay is still on screen for the length of\nthe transition, so stopping the instant `active` flips would freeze the rotation mid-fade.\n\nTimed rather than driven by `transitionend`, which never fires if the host is hidden or an app\noverrides the transition away, and a stop that never arrives is exactly the idle-tick bug this\ngating exists to prevent.\n\nThe timer re-reads `active` rather than trusting that it was cancelled. FAST reflects the\nproperty to the attribute on a queued update, so `activeChanged` can run again, out of order,\nafter a rapid toggle — and a stale stop landing on a re-activated overlay would leave it\nfrozen for good, which is worse than the idle ticking this gate removes."
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"kind": "method",
|
|
2022
|
+
"name": "cancelPendingStop",
|
|
2023
|
+
"privacy": "private"
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"kind": "method",
|
|
2027
|
+
"name": "stopAnimation",
|
|
2028
|
+
"privacy": "private"
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
"kind": "method",
|
|
2032
|
+
"name": "tick",
|
|
2033
|
+
"privacy": "private",
|
|
2034
|
+
"parameters": [
|
|
2035
|
+
{
|
|
2036
|
+
"name": "now",
|
|
2037
|
+
"optional": true,
|
|
2038
|
+
"type": {
|
|
2039
|
+
"text": "number"
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
]
|
|
2132
2043
|
}
|
|
2133
|
-
|
|
2134
|
-
"
|
|
2044
|
+
],
|
|
2045
|
+
"attributes": [
|
|
2046
|
+
{
|
|
2047
|
+
"type": {
|
|
2048
|
+
"text": "boolean"
|
|
2049
|
+
},
|
|
2050
|
+
"default": "false",
|
|
2051
|
+
"fieldName": "active"
|
|
2052
|
+
},
|
|
2053
|
+
{
|
|
2054
|
+
"type": {
|
|
2055
|
+
"text": "number"
|
|
2056
|
+
},
|
|
2057
|
+
"default": "HALO_DEFAULT_SPEED",
|
|
2058
|
+
"description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps).",
|
|
2059
|
+
"resolveInitializer": {
|
|
2060
|
+
"module": "src/components/halo-overlay.ts"
|
|
2061
|
+
},
|
|
2062
|
+
"fieldName": "speed"
|
|
2063
|
+
},
|
|
2064
|
+
{
|
|
2065
|
+
"name": "direction",
|
|
2066
|
+
"type": {
|
|
2067
|
+
"text": "'cw' | 'ccw'"
|
|
2068
|
+
},
|
|
2069
|
+
"default": "'cw'",
|
|
2070
|
+
"description": "Rotation direction. Default: 'cw' (clockwise).",
|
|
2071
|
+
"fieldName": "direction"
|
|
2072
|
+
},
|
|
2073
|
+
{
|
|
2074
|
+
"name": "border-size",
|
|
2075
|
+
"type": {
|
|
2076
|
+
"text": "number"
|
|
2077
|
+
},
|
|
2078
|
+
"default": "HALO_DEFAULT_BORDER_SIZE",
|
|
2079
|
+
"description": "Border thickness in px. Default: 3.",
|
|
2080
|
+
"resolveInitializer": {
|
|
2081
|
+
"module": "src/components/halo-overlay.ts"
|
|
2082
|
+
},
|
|
2083
|
+
"fieldName": "borderSize"
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"name": "glow-opacity",
|
|
2087
|
+
"type": {
|
|
2088
|
+
"text": "number"
|
|
2089
|
+
},
|
|
2090
|
+
"default": "HALO_DEFAULT_GLOW_OPACITY",
|
|
2091
|
+
"description": "Glow layer opacity (0–1). Default: 0.35.",
|
|
2092
|
+
"resolveInitializer": {
|
|
2093
|
+
"module": "src/components/halo-overlay.ts"
|
|
2094
|
+
},
|
|
2095
|
+
"fieldName": "glowOpacity"
|
|
2096
|
+
},
|
|
2135
2097
|
{
|
|
2136
|
-
"name": "
|
|
2098
|
+
"name": "glow-spread",
|
|
2137
2099
|
"type": {
|
|
2138
|
-
"text": "
|
|
2139
|
-
}
|
|
2100
|
+
"text": "number"
|
|
2101
|
+
},
|
|
2102
|
+
"default": "HALO_DEFAULT_GLOW_SPREAD",
|
|
2103
|
+
"description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70.",
|
|
2104
|
+
"resolveInitializer": {
|
|
2105
|
+
"module": "src/components/halo-overlay.ts"
|
|
2106
|
+
},
|
|
2107
|
+
"fieldName": "glowSpread"
|
|
2140
2108
|
}
|
|
2141
2109
|
],
|
|
2142
|
-
"
|
|
2110
|
+
"superclass": {
|
|
2111
|
+
"name": "GenesisElement",
|
|
2112
|
+
"package": "@genesislcap/web-core"
|
|
2113
|
+
},
|
|
2114
|
+
"tagName": "ai-halo-overlay",
|
|
2115
|
+
"customElement": true
|
|
2143
2116
|
}
|
|
2144
2117
|
],
|
|
2145
2118
|
"exports": [
|
|
2146
2119
|
{
|
|
2147
2120
|
"kind": "js",
|
|
2148
|
-
"name": "
|
|
2121
|
+
"name": "AiHaloOverlay",
|
|
2149
2122
|
"declaration": {
|
|
2150
|
-
"name": "
|
|
2151
|
-
"module": "src/
|
|
2123
|
+
"name": "AiHaloOverlay",
|
|
2124
|
+
"module": "src/components/halo-overlay.ts"
|
|
2152
2125
|
}
|
|
2153
2126
|
},
|
|
2154
2127
|
{
|
|
2155
|
-
"kind": "
|
|
2156
|
-
"name": "
|
|
2128
|
+
"kind": "custom-element-definition",
|
|
2129
|
+
"name": "ai-halo-overlay",
|
|
2157
2130
|
"declaration": {
|
|
2158
|
-
"name": "
|
|
2159
|
-
"module": "src/
|
|
2131
|
+
"name": "AiHaloOverlay",
|
|
2132
|
+
"module": "src/components/halo-overlay.ts"
|
|
2160
2133
|
}
|
|
2161
2134
|
}
|
|
2162
2135
|
]
|
|
2163
2136
|
},
|
|
2164
2137
|
{
|
|
2165
2138
|
"kind": "javascript-module",
|
|
2166
|
-
"path": "src/
|
|
2139
|
+
"path": "src/components/plasma-orb-indicator.ts",
|
|
2167
2140
|
"declarations": [
|
|
2168
2141
|
{
|
|
2169
|
-
"kind": "
|
|
2170
|
-
"
|
|
2171
|
-
"
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
"description": "The provenance stamped on everything a tool returns from the app (ADR P9). Rows are written by\nthe app's other users, so the model must treat their text as data, never as instructions; the\nsystem prompt says the same thing in words."
|
|
2176
|
-
},
|
|
2177
|
-
{
|
|
2178
|
-
"kind": "function",
|
|
2179
|
-
"name": "createGenesisResourceTools",
|
|
2180
|
-
"return": {
|
|
2181
|
-
"type": {
|
|
2182
|
-
"text": "GenesisResourceTools"
|
|
2183
|
-
}
|
|
2142
|
+
"kind": "class",
|
|
2143
|
+
"description": "Animated \"plasma orb\" loading indicator — a fixed glowing energy sphere whose\nluminous filaments and swirls drift and rotate inside it, like a plasma ball.\nThe globe never resizes; only the energy moves.\n\nBrand-coloured: a violet energy core, a slow cyan/pink tint wash, and a warm\namber hot-spot — covering all four brand colours.\n\nVisual sibling of the dots loading indicator; interchangeable with the other\nloading styles for the \"assistant is working\" state.",
|
|
2144
|
+
"name": "AiPlasmaOrbIndicator",
|
|
2145
|
+
"superclass": {
|
|
2146
|
+
"name": "GenesisElement",
|
|
2147
|
+
"package": "@genesislcap/web-core"
|
|
2184
2148
|
},
|
|
2185
|
-
"
|
|
2186
|
-
|
|
2187
|
-
"name": "resources",
|
|
2188
|
-
"type": {
|
|
2189
|
-
"text": "readonly GenesisAiResource[]"
|
|
2190
|
-
}
|
|
2191
|
-
},
|
|
2192
|
-
{
|
|
2193
|
-
"name": "options",
|
|
2194
|
-
"default": "{}",
|
|
2195
|
-
"type": {
|
|
2196
|
-
"text": "GenesisResourceToolsOptions"
|
|
2197
|
-
}
|
|
2198
|
-
}
|
|
2199
|
-
],
|
|
2200
|
-
"description": "Builds the assistant's tools from an app's resources."
|
|
2149
|
+
"tagName": "ai-plasma-orb-indicator",
|
|
2150
|
+
"customElement": true
|
|
2201
2151
|
}
|
|
2202
2152
|
],
|
|
2203
2153
|
"exports": [
|
|
2204
2154
|
{
|
|
2205
2155
|
"kind": "js",
|
|
2206
|
-
"name": "
|
|
2156
|
+
"name": "AiPlasmaOrbIndicator",
|
|
2207
2157
|
"declaration": {
|
|
2208
|
-
"name": "
|
|
2209
|
-
"module": "src/
|
|
2158
|
+
"name": "AiPlasmaOrbIndicator",
|
|
2159
|
+
"module": "src/components/plasma-orb-indicator.ts"
|
|
2210
2160
|
}
|
|
2211
2161
|
},
|
|
2212
2162
|
{
|
|
2213
|
-
"kind": "
|
|
2214
|
-
"name": "
|
|
2163
|
+
"kind": "custom-element-definition",
|
|
2164
|
+
"name": "ai-plasma-orb-indicator",
|
|
2215
2165
|
"declaration": {
|
|
2216
|
-
"name": "
|
|
2217
|
-
"module": "src/
|
|
2166
|
+
"name": "AiPlasmaOrbIndicator",
|
|
2167
|
+
"module": "src/components/plasma-orb-indicator.ts"
|
|
2218
2168
|
}
|
|
2219
2169
|
}
|
|
2220
2170
|
]
|
|
2221
2171
|
},
|
|
2222
2172
|
{
|
|
2223
2173
|
"kind": "javascript-module",
|
|
2224
|
-
"path": "src/
|
|
2174
|
+
"path": "src/components/waves-indicator.ts",
|
|
2225
2175
|
"declarations": [
|
|
2226
2176
|
{
|
|
2227
|
-
"kind": "
|
|
2228
|
-
"
|
|
2229
|
-
"
|
|
2230
|
-
|
|
2177
|
+
"kind": "class",
|
|
2178
|
+
"description": "Animated \"waves inside a circle\" loading indicator — coloured sine waves that\nslosh like glowing liquid inside a circular window, ringed by a rotating\ngradient halo (the same effect as `<ai-halo-overlay>`).\n\nVisual sibling of the dots loading indicator; the two are interchangeable\nstyles of the same \"assistant is working\" state.",
|
|
2179
|
+
"name": "AiWavesIndicator",
|
|
2180
|
+
"members": [
|
|
2181
|
+
{
|
|
2182
|
+
"kind": "field",
|
|
2183
|
+
"name": "size",
|
|
2184
|
+
"type": {
|
|
2185
|
+
"text": "number"
|
|
2186
|
+
},
|
|
2187
|
+
"default": "56",
|
|
2188
|
+
"description": "Diameter of the circular window in px. Default: 56."
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"kind": "method",
|
|
2192
|
+
"name": "sizeChanged"
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"kind": "field",
|
|
2196
|
+
"name": "startTime",
|
|
2197
|
+
"type": {
|
|
2198
|
+
"text": "number | undefined"
|
|
2199
|
+
},
|
|
2200
|
+
"privacy": "private"
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"kind": "field",
|
|
2204
|
+
"name": "animFrame",
|
|
2205
|
+
"type": {
|
|
2206
|
+
"text": "number | undefined"
|
|
2207
|
+
},
|
|
2208
|
+
"privacy": "private"
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"kind": "field",
|
|
2212
|
+
"name": "wavePaths",
|
|
2213
|
+
"type": {
|
|
2214
|
+
"text": "SVGPathElement[] | undefined"
|
|
2215
|
+
},
|
|
2216
|
+
"privacy": "private"
|
|
2217
|
+
},
|
|
2218
|
+
{
|
|
2219
|
+
"kind": "method",
|
|
2220
|
+
"name": "tick",
|
|
2221
|
+
"privacy": "private",
|
|
2222
|
+
"parameters": [
|
|
2223
|
+
{
|
|
2224
|
+
"name": "now",
|
|
2225
|
+
"optional": true,
|
|
2226
|
+
"type": {
|
|
2227
|
+
"text": "number"
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
]
|
|
2231
|
+
},
|
|
2232
|
+
{
|
|
2233
|
+
"kind": "method",
|
|
2234
|
+
"name": "buildWavePath",
|
|
2235
|
+
"privacy": "private",
|
|
2236
|
+
"static": true,
|
|
2237
|
+
"return": {
|
|
2238
|
+
"type": {
|
|
2239
|
+
"text": "string"
|
|
2240
|
+
}
|
|
2241
|
+
},
|
|
2242
|
+
"parameters": [
|
|
2243
|
+
{
|
|
2244
|
+
"name": "cfg",
|
|
2245
|
+
"type": {
|
|
2246
|
+
"text": "WaveConfig"
|
|
2247
|
+
}
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"name": "frame",
|
|
2251
|
+
"type": {
|
|
2252
|
+
"text": "number"
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
],
|
|
2256
|
+
"description": "Trace one wave's polyline `d` attribute for the given frame."
|
|
2257
|
+
}
|
|
2258
|
+
],
|
|
2259
|
+
"attributes": [
|
|
2260
|
+
{
|
|
2261
|
+
"type": {
|
|
2262
|
+
"text": "number"
|
|
2263
|
+
},
|
|
2264
|
+
"default": "WAVES_DEFAULT_SIZE",
|
|
2265
|
+
"description": "Diameter of the circular window in px. Default: 56.",
|
|
2266
|
+
"resolveInitializer": {
|
|
2267
|
+
"module": "src/components/waves-indicator.ts"
|
|
2268
|
+
},
|
|
2269
|
+
"fieldName": "size"
|
|
2270
|
+
}
|
|
2271
|
+
],
|
|
2272
|
+
"superclass": {
|
|
2273
|
+
"name": "GenesisElement",
|
|
2274
|
+
"package": "@genesislcap/web-core"
|
|
2231
2275
|
},
|
|
2232
|
-
"
|
|
2233
|
-
"
|
|
2276
|
+
"tagName": "ai-waves-indicator",
|
|
2277
|
+
"customElement": true
|
|
2234
2278
|
}
|
|
2235
2279
|
],
|
|
2236
2280
|
"exports": [
|
|
2237
2281
|
{
|
|
2238
2282
|
"kind": "js",
|
|
2239
|
-
"name": "
|
|
2283
|
+
"name": "AiWavesIndicator",
|
|
2240
2284
|
"declaration": {
|
|
2241
|
-
"name": "
|
|
2242
|
-
"module": "src/
|
|
2285
|
+
"name": "AiWavesIndicator",
|
|
2286
|
+
"module": "src/components/waves-indicator.ts"
|
|
2287
|
+
}
|
|
2288
|
+
},
|
|
2289
|
+
{
|
|
2290
|
+
"kind": "custom-element-definition",
|
|
2291
|
+
"name": "ai-waves-indicator",
|
|
2292
|
+
"declaration": {
|
|
2293
|
+
"name": "AiWavesIndicator",
|
|
2294
|
+
"module": "src/components/waves-indicator.ts"
|
|
2243
2295
|
}
|
|
2244
2296
|
}
|
|
2245
2297
|
]
|
|
@@ -6725,6 +6777,15 @@
|
|
|
6725
6777
|
"kind": "javascript-module",
|
|
6726
6778
|
"path": "src/suggestions/chat-suggestions.ts",
|
|
6727
6779
|
"declarations": [
|
|
6780
|
+
{
|
|
6781
|
+
"kind": "variable",
|
|
6782
|
+
"name": "SUGGESTIONS_EXPORTPARTS",
|
|
6783
|
+
"type": {
|
|
6784
|
+
"text": "string"
|
|
6785
|
+
},
|
|
6786
|
+
"default": "'suggestions-container, suggestion-placeholder, suggestion-pill'",
|
|
6787
|
+
"description": "Every part this component exposes, as an `exportparts` value.\n\n`::part()` crosses exactly one shadow boundary, so a host rendering `<chat-suggestions>` in its\nown shadow root has to forward these for an embedding app to reach them at all."
|
|
6788
|
+
},
|
|
6728
6789
|
{
|
|
6729
6790
|
"kind": "class",
|
|
6730
6791
|
"description": "",
|
|
@@ -6794,6 +6855,14 @@
|
|
|
6794
6855
|
}
|
|
6795
6856
|
],
|
|
6796
6857
|
"exports": [
|
|
6858
|
+
{
|
|
6859
|
+
"kind": "js",
|
|
6860
|
+
"name": "SUGGESTIONS_EXPORTPARTS",
|
|
6861
|
+
"declaration": {
|
|
6862
|
+
"name": "SUGGESTIONS_EXPORTPARTS",
|
|
6863
|
+
"module": "src/suggestions/chat-suggestions.ts"
|
|
6864
|
+
}
|
|
6865
|
+
},
|
|
6797
6866
|
{
|
|
6798
6867
|
"kind": "js",
|
|
6799
6868
|
"name": "ChatSuggestions",
|
|
@@ -13319,6 +13388,14 @@
|
|
|
13319
13388
|
"kind": "javascript-module",
|
|
13320
13389
|
"path": "src/components/chat-markdown/chat-markdown.ts",
|
|
13321
13390
|
"declarations": [
|
|
13391
|
+
{
|
|
13392
|
+
"kind": "variable",
|
|
13393
|
+
"name": "MARKDOWN_EXPORTPARTS",
|
|
13394
|
+
"type": {
|
|
13395
|
+
"text": "string"
|
|
13396
|
+
},
|
|
13397
|
+
"description": "Every part this component exposes, as an `exportparts` value.\n\n`::part()` crosses exactly one shadow boundary, so a host that renders `<ai-chat-markdown>` in\nits own shadow root has to forward these for an app to reach them at all. Built from the map\nabove rather than written out, so the forwarded list cannot drift from what is emitted."
|
|
13398
|
+
},
|
|
13322
13399
|
{
|
|
13323
13400
|
"kind": "class",
|
|
13324
13401
|
"description": "",
|
|
@@ -13332,6 +13409,25 @@
|
|
|
13332
13409
|
},
|
|
13333
13410
|
"default": "''",
|
|
13334
13411
|
"description": "The markdown string to render."
|
|
13412
|
+
},
|
|
13413
|
+
{
|
|
13414
|
+
"kind": "method",
|
|
13415
|
+
"name": "annotateParts",
|
|
13416
|
+
"privacy": "private",
|
|
13417
|
+
"return": {
|
|
13418
|
+
"type": {
|
|
13419
|
+
"text": "string"
|
|
13420
|
+
}
|
|
13421
|
+
},
|
|
13422
|
+
"parameters": [
|
|
13423
|
+
{
|
|
13424
|
+
"name": "fragment",
|
|
13425
|
+
"type": {
|
|
13426
|
+
"text": "DocumentFragment"
|
|
13427
|
+
}
|
|
13428
|
+
}
|
|
13429
|
+
],
|
|
13430
|
+
"description": "Tag the generated elements with shadow parts so an embedding app can style them.\n\nTakes the tree DOMPurify built rather than re-parsing its serialised output: `content` changes\non every streamed chunk, so a second parse/serialise round trip would run per chunk over the\nwhole message, and the string the browser finally parses is then serialised straight from the\ntree DOMPurify checked. Parse/serialise mismatches are where mXSS bypasses have historically\nlived, and this walk has no need to introduce one.\n\nOnly ever *adds* attributes, to DOM that has already been cleared - so it is not itself\nsanitiser surface.\n\nLists additionally carry a level: a top-level list is `md-ul md-ul-level-1`, a list nested\ninside it is `md-ul-level-2`, and an `li` takes the level of the list holding it. Levels are\nclamped at `MAX_LIST_LEVEL`, so a list deeper than that answers to the deepest level\nrather than to a name no host forwards. Chat markdown rarely nests, so this is a safety valve\nrather than a feature - without it, every list at every depth would answer to one selector and\nthere would be no way to tell them apart afterwards. Depth comes from walking the tree rather\nthan from marked's renderers, which are invoked innermost-first and so cannot count downwards."
|
|
13335
13431
|
}
|
|
13336
13432
|
],
|
|
13337
13433
|
"superclass": {
|
|
@@ -13343,6 +13439,14 @@
|
|
|
13343
13439
|
}
|
|
13344
13440
|
],
|
|
13345
13441
|
"exports": [
|
|
13442
|
+
{
|
|
13443
|
+
"kind": "js",
|
|
13444
|
+
"name": "MARKDOWN_EXPORTPARTS",
|
|
13445
|
+
"declaration": {
|
|
13446
|
+
"name": "MARKDOWN_EXPORTPARTS",
|
|
13447
|
+
"module": "src/components/chat-markdown/chat-markdown.ts"
|
|
13448
|
+
}
|
|
13449
|
+
},
|
|
13346
13450
|
{
|
|
13347
13451
|
"kind": "js",
|
|
13348
13452
|
"name": "AiChatMarkdown",
|