@genesislcap/ai-assistant 15.36.0 → 15.36.1

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.
Files changed (2) hide show
  1. package/dist/custom-elements.json +917 -917
  2. package/package.json +18 -18
@@ -1120,667 +1120,423 @@
1120
1120
  },
1121
1121
  {
1122
1122
  "kind": "javascript-module",
1123
- "path": "src/config/config.ts",
1124
- "declarations": [
1125
- {
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",
1123
+ "path": "src/components/flowing-waves-indicator.ts",
1185
1124
  "declarations": [
1186
1125
  {
1187
- "kind": "function",
1188
- "name": "restoreMachine",
1189
- "return": {
1190
- "type": {
1191
- "text": "void"
1192
- }
1193
- },
1194
- "parameters": [
1126
+ "kind": "class",
1127
+ "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.",
1128
+ "name": "AiFlowingWavesIndicator",
1129
+ "members": [
1195
1130
  {
1196
- "name": "machine",
1131
+ "kind": "field",
1132
+ "name": "startTime",
1197
1133
  "type": {
1198
- "text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
1134
+ "text": "number | undefined"
1199
1135
  },
1200
- "description": "the machine to restore (already constructed/started)."
1136
+ "privacy": "private"
1201
1137
  },
1202
1138
  {
1203
- "name": "restored",
1139
+ "kind": "field",
1140
+ "name": "animFrame",
1204
1141
  "type": {
1205
- "text": "unknown"
1142
+ "text": "number | undefined"
1206
1143
  },
1207
- "description": "the agent's serialized image (`ctx.restored` in `init`)."
1144
+ "privacy": "private"
1208
1145
  },
1209
1146
  {
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": [
1226
- {
1227
- "name": "opts",
1147
+ "kind": "field",
1148
+ "name": "bandPaths",
1228
1149
  "type": {
1229
- "text": "StatefulAgentInit<S>"
1230
- }
1150
+ "text": "SVGPathElement[] | undefined"
1151
+ },
1152
+ "privacy": "private"
1153
+ },
1154
+ {
1155
+ "kind": "method",
1156
+ "name": "tick",
1157
+ "privacy": "private",
1158
+ "parameters": [
1159
+ {
1160
+ "name": "now",
1161
+ "optional": true,
1162
+ "type": {
1163
+ "text": "number"
1164
+ }
1165
+ }
1166
+ ]
1167
+ },
1168
+ {
1169
+ "kind": "method",
1170
+ "name": "buildBand",
1171
+ "privacy": "private",
1172
+ "static": true,
1173
+ "return": {
1174
+ "type": {
1175
+ "text": "string"
1176
+ }
1177
+ },
1178
+ "parameters": [
1179
+ {
1180
+ "name": "cfg",
1181
+ "type": {
1182
+ "text": "BandConfig"
1183
+ }
1184
+ },
1185
+ {
1186
+ "name": "frame",
1187
+ "type": {
1188
+ "text": "number"
1189
+ }
1190
+ }
1191
+ ],
1192
+ "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."
1231
1193
  }
1232
1194
  ],
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"
1264
- },
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"
1195
+ "superclass": {
1196
+ "name": "GenesisElement",
1197
+ "package": "@genesislcap/web-core"
1273
1198
  },
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."
1199
+ "tagName": "ai-flowing-waves-indicator",
1200
+ "customElement": true
1276
1201
  }
1277
1202
  ],
1278
1203
  "exports": [
1279
1204
  {
1280
1205
  "kind": "js",
1281
- "name": "friendlyFallbackAgent",
1282
- "declaration": {
1283
- "name": "friendlyFallbackAgent",
1284
- "module": "src/config/fallback-agents.ts"
1285
- }
1286
- },
1287
- {
1288
- "kind": "js",
1289
- "name": "strictFallbackAgent",
1290
- "declaration": {
1291
- "name": "strictFallbackAgent",
1292
- "module": "src/config/fallback-agents.ts"
1293
- }
1294
- }
1295
- ]
1296
- },
1297
- {
1298
- "kind": "javascript-module",
1299
- "path": "src/config/index.ts",
1300
- "declarations": [],
1301
- "exports": [
1302
- {
1303
- "kind": "js",
1304
- "name": "*",
1206
+ "name": "AiFlowingWavesIndicator",
1305
1207
  "declaration": {
1306
- "name": "*",
1307
- "package": "./config"
1208
+ "name": "AiFlowingWavesIndicator",
1209
+ "module": "src/components/flowing-waves-indicator.ts"
1308
1210
  }
1309
1211
  },
1310
1212
  {
1311
- "kind": "js",
1312
- "name": "*",
1213
+ "kind": "custom-element-definition",
1214
+ "name": "ai-flowing-waves-indicator",
1313
1215
  "declaration": {
1314
- "name": "*",
1315
- "package": "./fallback-agents"
1216
+ "name": "AiFlowingWavesIndicator",
1217
+ "module": "src/components/flowing-waves-indicator.ts"
1316
1218
  }
1317
1219
  }
1318
1220
  ]
1319
1221
  },
1320
1222
  {
1321
1223
  "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",
1224
+ "path": "src/components/halo-overlay.ts",
1329
1225
  "declarations": [
1330
1226
  {
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"
1353
- }
1354
- },
1355
- "parameters": [
1227
+ "kind": "class",
1228
+ "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.",
1229
+ "name": "AiHaloOverlay",
1230
+ "members": [
1356
1231
  {
1357
- "name": "resourceName",
1232
+ "kind": "field",
1233
+ "name": "active",
1358
1234
  "type": {
1359
- "text": "string"
1360
- }
1361
- }
1362
- ],
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."
1364
- }
1365
- ],
1366
- "exports": [
1367
- {
1368
- "kind": "js",
1369
- "name": "DEFAULT_MAX_ROWS",
1370
- "declaration": {
1371
- "name": "DEFAULT_MAX_ROWS",
1372
- "module": "src/genesis/config.ts"
1373
- }
1374
- },
1375
- {
1376
- "kind": "js",
1377
- "name": "MAX_ROWS_CEILING",
1378
- "declaration": {
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"
1389
- }
1390
- }
1391
- ]
1392
- },
1393
- {
1394
- "kind": "javascript-module",
1395
- "path": "src/genesis/criteria.ts",
1396
- "declarations": [
1397
- {
1398
- "kind": "function",
1399
- "name": "dateFragment",
1400
- "return": {
1401
- "type": {
1402
- "text": "string | undefined"
1403
- }
1404
- },
1405
- "parameters": [
1235
+ "text": "boolean"
1236
+ },
1237
+ "default": "false"
1238
+ },
1406
1239
  {
1407
- "name": "field",
1240
+ "kind": "field",
1241
+ "name": "speed",
1408
1242
  "type": {
1409
- "text": "string"
1410
- }
1243
+ "text": "number"
1244
+ },
1245
+ "default": "1.5",
1246
+ "description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps)."
1411
1247
  },
1412
1248
  {
1413
- "name": "op",
1249
+ "kind": "field",
1250
+ "name": "direction",
1414
1251
  "type": {
1415
- "text": "GenesisFilterOp"
1416
- }
1252
+ "text": "'cw' | 'ccw'"
1253
+ },
1254
+ "default": "'cw'",
1255
+ "description": "Rotation direction. Default: 'cw' (clockwise)."
1417
1256
  },
1418
1257
  {
1419
- "name": "date",
1258
+ "kind": "field",
1259
+ "name": "borderSize",
1420
1260
  "type": {
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": [
1261
+ "text": "number"
1262
+ },
1263
+ "default": "3",
1264
+ "description": "Border thickness in px. Default: 3."
1265
+ },
1435
1266
  {
1436
- "name": "field",
1267
+ "kind": "field",
1268
+ "name": "glowOpacity",
1437
1269
  "type": {
1438
- "text": "string"
1439
- }
1270
+ "text": "number"
1271
+ },
1272
+ "default": "0.35",
1273
+ "description": "Glow layer opacity (0–1). Default: 0.35."
1440
1274
  },
1441
1275
  {
1442
- "name": "op",
1276
+ "kind": "field",
1277
+ "name": "glowSpread",
1443
1278
  "type": {
1444
- "text": "GenesisFilterOp"
1445
- }
1279
+ "text": "number"
1280
+ },
1281
+ "default": "70",
1282
+ "description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70."
1446
1283
  },
1447
1284
  {
1448
- "name": "bound",
1285
+ "kind": "method",
1286
+ "name": "borderSizeChanged"
1287
+ },
1288
+ {
1289
+ "kind": "method",
1290
+ "name": "glowOpacityChanged"
1291
+ },
1292
+ {
1293
+ "kind": "method",
1294
+ "name": "glowSpreadChanged"
1295
+ },
1296
+ {
1297
+ "kind": "field",
1298
+ "name": "FULL_ROTATION_DEG",
1449
1299
  "type": {
1450
- "text": "string"
1451
- }
1300
+ "text": "number"
1301
+ },
1302
+ "privacy": "private",
1303
+ "static": true,
1304
+ "readonly": true,
1305
+ "default": "360"
1306
+ },
1307
+ {
1308
+ "kind": "field",
1309
+ "name": "angle",
1310
+ "type": {
1311
+ "text": "number"
1312
+ },
1313
+ "privacy": "private",
1314
+ "default": "0"
1315
+ },
1316
+ {
1317
+ "kind": "field",
1318
+ "name": "lastTime",
1319
+ "type": {
1320
+ "text": "number | undefined"
1321
+ },
1322
+ "privacy": "private"
1323
+ },
1324
+ {
1325
+ "kind": "field",
1326
+ "name": "animFrame",
1327
+ "type": {
1328
+ "text": "number | undefined"
1329
+ },
1330
+ "privacy": "private"
1331
+ },
1332
+ {
1333
+ "kind": "field",
1334
+ "name": "stopTimer",
1335
+ "type": {
1336
+ "text": "number | undefined"
1337
+ },
1338
+ "privacy": "private"
1339
+ },
1340
+ {
1341
+ "kind": "field",
1342
+ "name": "running",
1343
+ "type": {
1344
+ "text": "boolean"
1345
+ },
1346
+ "privacy": "private",
1347
+ "default": "false",
1348
+ "description": "Whether the loop should keep rescheduling itself — see AiHaloOverlay.tick."
1349
+ },
1350
+ {
1351
+ "kind": "method",
1352
+ "name": "activeChanged",
1353
+ "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."
1354
+ },
1355
+ {
1356
+ "kind": "method",
1357
+ "name": "startAnimation",
1358
+ "privacy": "private"
1359
+ },
1360
+ {
1361
+ "kind": "method",
1362
+ "name": "scheduleStop",
1363
+ "privacy": "private",
1364
+ "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."
1365
+ },
1366
+ {
1367
+ "kind": "method",
1368
+ "name": "cancelPendingStop",
1369
+ "privacy": "private"
1370
+ },
1371
+ {
1372
+ "kind": "method",
1373
+ "name": "stopAnimation",
1374
+ "privacy": "private"
1375
+ },
1376
+ {
1377
+ "kind": "method",
1378
+ "name": "tick",
1379
+ "privacy": "private",
1380
+ "parameters": [
1381
+ {
1382
+ "name": "now",
1383
+ "optional": true,
1384
+ "type": {
1385
+ "text": "number"
1386
+ }
1387
+ }
1388
+ ]
1452
1389
  }
1453
1390
  ],
1454
- "description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
1455
- }
1456
- ],
1457
- "exports": [
1458
- {
1459
- "kind": "js",
1460
- "name": "dateFragment",
1461
- "declaration": {
1462
- "name": "dateFragment",
1463
- "module": "src/genesis/criteria.ts"
1464
- }
1465
- },
1466
- {
1467
- "kind": "js",
1468
- "name": "dateTimeFragment",
1469
- "declaration": {
1470
- "name": "dateTimeFragment",
1471
- "module": "src/genesis/criteria.ts"
1472
- }
1473
- }
1474
- ]
1475
- },
1476
- {
1477
- "kind": "javascript-module",
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": [],
1486
- "exports": [
1487
- {
1488
- "kind": "js",
1489
- "name": "GENESIS_AGENT_NAME",
1490
- "declaration": {
1491
- "name": "GENESIS_AGENT_NAME",
1492
- "module": "./register-genesis-assistant"
1493
- }
1494
- },
1495
- {
1496
- "kind": "js",
1497
- "name": "registerGenesisAssistant",
1498
- "declaration": {
1499
- "name": "registerGenesisAssistant",
1500
- "module": "./register-genesis-assistant"
1501
- }
1502
- },
1503
- {
1504
- "kind": "js",
1505
- "name": "GenesisFilter",
1506
- "declaration": {
1507
- "name": "GenesisFilter",
1508
- "module": "./criteria"
1509
- }
1510
- },
1511
- {
1512
- "kind": "js",
1513
- "name": "GenesisFilterField",
1514
- "declaration": {
1515
- "name": "GenesisFilterField",
1516
- "module": "./criteria"
1517
- }
1518
- },
1519
- {
1520
- "kind": "js",
1521
- "name": "GenesisFilterOp",
1522
- "declaration": {
1523
- "name": "GenesisFilterOp",
1524
- "module": "./criteria"
1525
- }
1526
- },
1527
- {
1528
- "kind": "js",
1529
- "name": "createGenesisResourceTools",
1530
- "declaration": {
1531
- "name": "createGenesisResourceTools",
1532
- "module": "./resource-tools"
1533
- }
1534
- },
1535
- {
1536
- "kind": "js",
1537
- "name": "GENESIS_DATA_SOURCE",
1538
- "declaration": {
1539
- "name": "GENESIS_DATA_SOURCE",
1540
- "module": "./resource-tools"
1541
- }
1542
- },
1543
- {
1544
- "kind": "js",
1545
- "name": "GenesisReadResult",
1546
- "declaration": {
1547
- "name": "GenesisReadResult",
1548
- "module": "./resource-tools"
1549
- }
1550
- },
1551
- {
1552
- "kind": "js",
1553
- "name": "GenesisResourceTools",
1554
- "declaration": {
1555
- "name": "GenesisResourceTools",
1556
- "module": "./resource-tools"
1557
- }
1558
- },
1559
- {
1560
- "kind": "js",
1561
- "name": "GenesisResourceToolsOptions",
1562
- "declaration": {
1563
- "name": "GenesisResourceToolsOptions",
1564
- "module": "./resource-tools"
1565
- }
1566
- },
1567
- {
1568
- "kind": "js",
1569
- "name": "GenesisToolError",
1570
- "declaration": {
1571
- "name": "GenesisToolError",
1572
- "module": "./resource-tools"
1573
- }
1574
- },
1575
- {
1576
- "kind": "js",
1577
- "name": "GENESIS_EVENT_OPS",
1578
- "declaration": {
1579
- "name": "GENESIS_EVENT_OPS",
1580
- "module": "./types"
1581
- }
1582
- },
1583
- {
1584
- "kind": "js",
1585
- "name": "GenesisAiConfig",
1586
- "declaration": {
1587
- "name": "GenesisAiConfig",
1588
- "module": "./types"
1589
- }
1590
- },
1591
- {
1592
- "kind": "js",
1593
- "name": "GenesisAiResource",
1594
- "declaration": {
1595
- "name": "GenesisAiResource",
1596
- "module": "./types"
1597
- }
1598
- },
1599
- {
1600
- "kind": "js",
1601
- "name": "GenesisAssistantExtensions",
1602
- "declaration": {
1603
- "name": "GenesisAssistantExtensions",
1604
- "module": "./types"
1605
- }
1606
- },
1607
- {
1608
- "kind": "js",
1609
- "name": "GenesisAssistantRegistration",
1610
- "declaration": {
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"
1637
- }
1638
- }
1639
- ]
1640
- },
1641
- {
1642
- "kind": "javascript-module",
1643
- "path": "src/genesis/register-genesis-assistant.ts",
1644
- "declarations": [
1645
- {
1646
- "kind": "variable",
1647
- "name": "GENESIS_AGENT_NAME",
1648
- "type": {
1649
- "text": "string"
1650
- },
1651
- "default": "'genesis-assistant'",
1652
- "description": "The name of the agent registerGenesisAssistant builds."
1653
- },
1654
- {
1655
- "kind": "function",
1656
- "name": "registerGenesisAssistant",
1657
- "return": {
1658
- "type": {
1659
- "text": "GenesisAssistantRegistration"
1660
- }
1661
- },
1662
- "parameters": [
1391
+ "attributes": [
1663
1392
  {
1664
- "name": "options",
1665
1393
  "type": {
1666
- "text": "RegisterGenesisAssistantOptions"
1667
- }
1668
- }
1669
- ],
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."
1671
- }
1672
- ],
1673
- "exports": [
1674
- {
1675
- "kind": "js",
1676
- "name": "GENESIS_AGENT_NAME",
1677
- "declaration": {
1678
- "name": "GENESIS_AGENT_NAME",
1679
- "module": "src/genesis/register-genesis-assistant.ts"
1680
- }
1681
- },
1682
- {
1683
- "kind": "js",
1684
- "name": "registerGenesisAssistant",
1685
- "declaration": {
1686
- "name": "registerGenesisAssistant",
1687
- "module": "src/genesis/register-genesis-assistant.ts"
1688
- }
1689
- }
1690
- ]
1691
- },
1692
- {
1693
- "kind": "javascript-module",
1694
- "path": "src/genesis/resource-tools.ts",
1695
- "declarations": [
1696
- {
1697
- "kind": "variable",
1698
- "name": "GENESIS_DATA_SOURCE",
1699
- "type": {
1700
- "text": "string"
1701
- },
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."
1704
- },
1705
- {
1706
- "kind": "function",
1707
- "name": "createGenesisResourceTools",
1708
- "return": {
1709
- "type": {
1710
- "text": "GenesisResourceTools"
1711
- }
1712
- },
1713
- "parameters": [
1394
+ "text": "boolean"
1395
+ },
1396
+ "default": "false",
1397
+ "fieldName": "active"
1398
+ },
1714
1399
  {
1715
- "name": "resources",
1716
1400
  "type": {
1717
- "text": "readonly GenesisAiResource[]"
1718
- }
1401
+ "text": "number"
1402
+ },
1403
+ "default": "HALO_DEFAULT_SPEED",
1404
+ "description": "Rotation speed in degrees per frame. Default: 1.5 (≈ 4 s per full revolution at 60 fps).",
1405
+ "resolveInitializer": {
1406
+ "module": "src/components/halo-overlay.ts"
1407
+ },
1408
+ "fieldName": "speed"
1719
1409
  },
1720
1410
  {
1721
- "name": "options",
1722
- "default": "{}",
1411
+ "name": "direction",
1723
1412
  "type": {
1724
- "text": "GenesisResourceToolsOptions"
1725
- }
1413
+ "text": "'cw' | 'ccw'"
1414
+ },
1415
+ "default": "'cw'",
1416
+ "description": "Rotation direction. Default: 'cw' (clockwise).",
1417
+ "fieldName": "direction"
1418
+ },
1419
+ {
1420
+ "name": "border-size",
1421
+ "type": {
1422
+ "text": "number"
1423
+ },
1424
+ "default": "HALO_DEFAULT_BORDER_SIZE",
1425
+ "description": "Border thickness in px. Default: 3.",
1426
+ "resolveInitializer": {
1427
+ "module": "src/components/halo-overlay.ts"
1428
+ },
1429
+ "fieldName": "borderSize"
1430
+ },
1431
+ {
1432
+ "name": "glow-opacity",
1433
+ "type": {
1434
+ "text": "number"
1435
+ },
1436
+ "default": "HALO_DEFAULT_GLOW_OPACITY",
1437
+ "description": "Glow layer opacity (0–1). Default: 0.35.",
1438
+ "resolveInitializer": {
1439
+ "module": "src/components/halo-overlay.ts"
1440
+ },
1441
+ "fieldName": "glowOpacity"
1442
+ },
1443
+ {
1444
+ "name": "glow-spread",
1445
+ "type": {
1446
+ "text": "number"
1447
+ },
1448
+ "default": "HALO_DEFAULT_GLOW_SPREAD",
1449
+ "description": "Transparent stop of the radial glow mask as a percentage (0–100). Higher = less spread. Default: 70.",
1450
+ "resolveInitializer": {
1451
+ "module": "src/components/halo-overlay.ts"
1452
+ },
1453
+ "fieldName": "glowSpread"
1726
1454
  }
1727
1455
  ],
1728
- "description": "Builds the assistant's tools from an app's resources."
1456
+ "superclass": {
1457
+ "name": "GenesisElement",
1458
+ "package": "@genesislcap/web-core"
1459
+ },
1460
+ "tagName": "ai-halo-overlay",
1461
+ "customElement": true
1729
1462
  }
1730
1463
  ],
1731
1464
  "exports": [
1732
1465
  {
1733
1466
  "kind": "js",
1734
- "name": "GENESIS_DATA_SOURCE",
1467
+ "name": "AiHaloOverlay",
1735
1468
  "declaration": {
1736
- "name": "GENESIS_DATA_SOURCE",
1737
- "module": "src/genesis/resource-tools.ts"
1469
+ "name": "AiHaloOverlay",
1470
+ "module": "src/components/halo-overlay.ts"
1738
1471
  }
1739
1472
  },
1740
1473
  {
1741
- "kind": "js",
1742
- "name": "createGenesisResourceTools",
1474
+ "kind": "custom-element-definition",
1475
+ "name": "ai-halo-overlay",
1743
1476
  "declaration": {
1744
- "name": "createGenesisResourceTools",
1745
- "module": "src/genesis/resource-tools.ts"
1477
+ "name": "AiHaloOverlay",
1478
+ "module": "src/components/halo-overlay.ts"
1746
1479
  }
1747
1480
  }
1748
1481
  ]
1749
1482
  },
1750
1483
  {
1751
1484
  "kind": "javascript-module",
1752
- "path": "src/genesis/types.ts",
1485
+ "path": "src/components/plasma-orb-indicator.ts",
1753
1486
  "declarations": [
1754
1487
  {
1755
- "kind": "variable",
1756
- "name": "GENESIS_EVENT_OPS",
1757
- "type": {
1758
- "text": "['insert', 'modify', 'delete', 'custom']"
1488
+ "kind": "class",
1489
+ "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.",
1490
+ "name": "AiPlasmaOrbIndicator",
1491
+ "superclass": {
1492
+ "name": "GenesisElement",
1493
+ "package": "@genesislcap/web-core"
1759
1494
  },
1760
- "default": "['insert', 'modify', 'delete', 'custom']",
1761
- "description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
1495
+ "tagName": "ai-plasma-orb-indicator",
1496
+ "customElement": true
1762
1497
  }
1763
1498
  ],
1764
1499
  "exports": [
1765
1500
  {
1766
1501
  "kind": "js",
1767
- "name": "GENESIS_EVENT_OPS",
1502
+ "name": "AiPlasmaOrbIndicator",
1768
1503
  "declaration": {
1769
- "name": "GENESIS_EVENT_OPS",
1770
- "module": "src/genesis/types.ts"
1504
+ "name": "AiPlasmaOrbIndicator",
1505
+ "module": "src/components/plasma-orb-indicator.ts"
1506
+ }
1507
+ },
1508
+ {
1509
+ "kind": "custom-element-definition",
1510
+ "name": "ai-plasma-orb-indicator",
1511
+ "declaration": {
1512
+ "name": "AiPlasmaOrbIndicator",
1513
+ "module": "src/components/plasma-orb-indicator.ts"
1771
1514
  }
1772
1515
  }
1773
1516
  ]
1774
1517
  },
1775
1518
  {
1776
1519
  "kind": "javascript-module",
1777
- "path": "src/components/flowing-waves-indicator.ts",
1520
+ "path": "src/components/waves-indicator.ts",
1778
1521
  "declarations": [
1779
1522
  {
1780
1523
  "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",
1524
+ "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.",
1525
+ "name": "AiWavesIndicator",
1783
1526
  "members": [
1527
+ {
1528
+ "kind": "field",
1529
+ "name": "size",
1530
+ "type": {
1531
+ "text": "number"
1532
+ },
1533
+ "default": "56",
1534
+ "description": "Diameter of the circular window in px. Default: 56."
1535
+ },
1536
+ {
1537
+ "kind": "method",
1538
+ "name": "sizeChanged"
1539
+ },
1784
1540
  {
1785
1541
  "kind": "field",
1786
1542
  "name": "startTime",
@@ -1799,7 +1555,7 @@
1799
1555
  },
1800
1556
  {
1801
1557
  "kind": "field",
1802
- "name": "bandPaths",
1558
+ "name": "wavePaths",
1803
1559
  "type": {
1804
1560
  "text": "SVGPathElement[] | undefined"
1805
1561
  },
@@ -1821,7 +1577,7 @@
1821
1577
  },
1822
1578
  {
1823
1579
  "kind": "method",
1824
- "name": "buildBand",
1580
+ "name": "buildWavePath",
1825
1581
  "privacy": "private",
1826
1582
  "static": true,
1827
1583
  "return": {
@@ -1833,7 +1589,7 @@
1833
1589
  {
1834
1590
  "name": "cfg",
1835
1591
  "type": {
1836
- "text": "BandConfig"
1592
+ "text": "WaveConfig"
1837
1593
  }
1838
1594
  },
1839
1595
  {
@@ -1843,455 +1599,699 @@
1843
1599
  }
1844
1600
  }
1845
1601
  ],
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."
1602
+ "description": "Trace one wave's polyline `d` attribute for the given frame."
1603
+ }
1604
+ ],
1605
+ "attributes": [
1606
+ {
1607
+ "type": {
1608
+ "text": "number"
1609
+ },
1610
+ "default": "WAVES_DEFAULT_SIZE",
1611
+ "description": "Diameter of the circular window in px. Default: 56.",
1612
+ "resolveInitializer": {
1613
+ "module": "src/components/waves-indicator.ts"
1614
+ },
1615
+ "fieldName": "size"
1847
1616
  }
1848
1617
  ],
1849
1618
  "superclass": {
1850
1619
  "name": "GenesisElement",
1851
1620
  "package": "@genesislcap/web-core"
1852
1621
  },
1853
- "tagName": "ai-flowing-waves-indicator",
1854
- "customElement": true
1622
+ "tagName": "ai-waves-indicator",
1623
+ "customElement": true
1624
+ }
1625
+ ],
1626
+ "exports": [
1627
+ {
1628
+ "kind": "js",
1629
+ "name": "AiWavesIndicator",
1630
+ "declaration": {
1631
+ "name": "AiWavesIndicator",
1632
+ "module": "src/components/waves-indicator.ts"
1633
+ }
1634
+ },
1635
+ {
1636
+ "kind": "custom-element-definition",
1637
+ "name": "ai-waves-indicator",
1638
+ "declaration": {
1639
+ "name": "AiWavesIndicator",
1640
+ "module": "src/components/waves-indicator.ts"
1641
+ }
1642
+ }
1643
+ ]
1644
+ },
1645
+ {
1646
+ "kind": "javascript-module",
1647
+ "path": "src/config/config.ts",
1648
+ "declarations": [
1649
+ {
1650
+ "kind": "function",
1651
+ "name": "defineAgent",
1652
+ "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```"
1653
+ }
1654
+ ],
1655
+ "exports": [
1656
+ {
1657
+ "kind": "js",
1658
+ "name": "CachePolicy",
1659
+ "declaration": {
1660
+ "name": "CachePolicy",
1661
+ "module": "src/config/config.ts"
1662
+ }
1663
+ },
1664
+ {
1665
+ "kind": "js",
1666
+ "name": "ChatFallback",
1667
+ "declaration": {
1668
+ "name": "ChatFallback",
1669
+ "module": "src/config/config.ts"
1670
+ }
1671
+ },
1672
+ {
1673
+ "kind": "js",
1674
+ "name": "ChatInputDuringExecutionMode",
1675
+ "declaration": {
1676
+ "name": "ChatInputDuringExecutionMode",
1677
+ "module": "src/config/config.ts"
1678
+ }
1679
+ },
1680
+ {
1681
+ "kind": "js",
1682
+ "name": "ChatThinkingPolicy",
1683
+ "declaration": {
1684
+ "name": "ChatThinkingPolicy",
1685
+ "module": "src/config/config.ts"
1686
+ }
1687
+ },
1688
+ {
1689
+ "kind": "js",
1690
+ "name": "ChatToolChoice",
1691
+ "declaration": {
1692
+ "name": "ChatToolChoice",
1693
+ "module": "src/config/config.ts"
1694
+ }
1695
+ },
1696
+ {
1697
+ "kind": "js",
1698
+ "name": "defineAgent",
1699
+ "declaration": {
1700
+ "name": "defineAgent",
1701
+ "module": "src/config/config.ts"
1702
+ }
1703
+ }
1704
+ ]
1705
+ },
1706
+ {
1707
+ "kind": "javascript-module",
1708
+ "path": "src/config/define-stateful-agent.ts",
1709
+ "declarations": [
1710
+ {
1711
+ "kind": "function",
1712
+ "name": "restoreMachine",
1713
+ "return": {
1714
+ "type": {
1715
+ "text": "void"
1716
+ }
1717
+ },
1718
+ "parameters": [
1719
+ {
1720
+ "name": "machine",
1721
+ "type": {
1722
+ "text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
1723
+ },
1724
+ "description": "the machine to restore (already constructed/started)."
1725
+ },
1726
+ {
1727
+ "name": "restored",
1728
+ "type": {
1729
+ "text": "unknown"
1730
+ },
1731
+ "description": "the agent's serialized image (`ctx.restored` in `init`)."
1732
+ },
1733
+ {
1734
+ "name": "key",
1735
+ "default": "'machine'",
1736
+ "description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
1737
+ }
1738
+ ],
1739
+ "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."
1740
+ },
1741
+ {
1742
+ "kind": "function",
1743
+ "name": "defineStatefulAgent",
1744
+ "return": {
1745
+ "type": {
1746
+ "text": "AgentConfig"
1747
+ }
1748
+ },
1749
+ "parameters": [
1750
+ {
1751
+ "name": "opts",
1752
+ "type": {
1753
+ "text": "StatefulAgentInit<S>"
1754
+ }
1755
+ }
1756
+ ],
1757
+ "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."
1758
+ }
1759
+ ],
1760
+ "exports": [
1761
+ {
1762
+ "kind": "js",
1763
+ "name": "restoreMachine",
1764
+ "declaration": {
1765
+ "name": "restoreMachine",
1766
+ "module": "src/config/define-stateful-agent.ts"
1767
+ }
1768
+ },
1769
+ {
1770
+ "kind": "js",
1771
+ "name": "defineStatefulAgent",
1772
+ "declaration": {
1773
+ "name": "defineStatefulAgent",
1774
+ "module": "src/config/define-stateful-agent.ts"
1775
+ }
1776
+ }
1777
+ ]
1778
+ },
1779
+ {
1780
+ "kind": "javascript-module",
1781
+ "path": "src/config/fallback-agents.ts",
1782
+ "declarations": [
1783
+ {
1784
+ "kind": "variable",
1785
+ "name": "friendlyFallbackAgent",
1786
+ "type": {
1787
+ "text": "FallbackAgentConfig"
1788
+ },
1789
+ "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}",
1790
+ "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."
1791
+ },
1792
+ {
1793
+ "kind": "variable",
1794
+ "name": "strictFallbackAgent",
1795
+ "type": {
1796
+ "text": "FallbackAgentConfig"
1797
+ },
1798
+ "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}",
1799
+ "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."
1855
1800
  }
1856
1801
  ],
1857
1802
  "exports": [
1858
1803
  {
1859
1804
  "kind": "js",
1860
- "name": "AiFlowingWavesIndicator",
1805
+ "name": "friendlyFallbackAgent",
1861
1806
  "declaration": {
1862
- "name": "AiFlowingWavesIndicator",
1863
- "module": "src/components/flowing-waves-indicator.ts"
1807
+ "name": "friendlyFallbackAgent",
1808
+ "module": "src/config/fallback-agents.ts"
1864
1809
  }
1865
1810
  },
1866
1811
  {
1867
- "kind": "custom-element-definition",
1868
- "name": "ai-flowing-waves-indicator",
1812
+ "kind": "js",
1813
+ "name": "strictFallbackAgent",
1869
1814
  "declaration": {
1870
- "name": "AiFlowingWavesIndicator",
1871
- "module": "src/components/flowing-waves-indicator.ts"
1815
+ "name": "strictFallbackAgent",
1816
+ "module": "src/config/fallback-agents.ts"
1872
1817
  }
1873
1818
  }
1874
1819
  ]
1875
1820
  },
1876
1821
  {
1877
1822
  "kind": "javascript-module",
1878
- "path": "src/components/halo-overlay.ts",
1823
+ "path": "src/config/index.ts",
1824
+ "declarations": [],
1825
+ "exports": [
1826
+ {
1827
+ "kind": "js",
1828
+ "name": "*",
1829
+ "declaration": {
1830
+ "name": "*",
1831
+ "package": "./config"
1832
+ }
1833
+ },
1834
+ {
1835
+ "kind": "js",
1836
+ "name": "*",
1837
+ "declaration": {
1838
+ "name": "*",
1839
+ "package": "./fallback-agents"
1840
+ }
1841
+ }
1842
+ ]
1843
+ },
1844
+ {
1845
+ "kind": "javascript-module",
1846
+ "path": "src/config/validate-providers.ts",
1847
+ "declarations": [],
1848
+ "exports": []
1849
+ },
1850
+ {
1851
+ "kind": "javascript-module",
1852
+ "path": "src/genesis/config.ts",
1879
1853
  "declarations": [
1880
1854
  {
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
- },
1855
+ "kind": "variable",
1856
+ "name": "DEFAULT_MAX_ROWS",
1857
+ "type": {
1858
+ "text": "number"
1859
+ },
1860
+ "default": "50",
1861
+ "description": "The default read cap, and the ceiling the config may raise it to."
1862
+ },
1863
+ {
1864
+ "kind": "variable",
1865
+ "name": "MAX_ROWS_CEILING",
1866
+ "type": {
1867
+ "text": "number"
1868
+ },
1869
+ "default": "1000"
1870
+ },
1871
+ {
1872
+ "kind": "function",
1873
+ "name": "toolNameOf",
1874
+ "return": {
1875
+ "type": {
1876
+ "text": "string"
1877
+ }
1878
+ },
1879
+ "parameters": [
1994
1880
  {
1995
- "kind": "field",
1996
- "name": "running",
1881
+ "name": "resourceName",
1997
1882
  "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
- ]
1883
+ "text": "string"
1884
+ }
1885
+ }
1886
+ ],
1887
+ "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."
1888
+ }
1889
+ ],
1890
+ "exports": [
1891
+ {
1892
+ "kind": "js",
1893
+ "name": "DEFAULT_MAX_ROWS",
1894
+ "declaration": {
1895
+ "name": "DEFAULT_MAX_ROWS",
1896
+ "module": "src/genesis/config.ts"
1897
+ }
1898
+ },
1899
+ {
1900
+ "kind": "js",
1901
+ "name": "MAX_ROWS_CEILING",
1902
+ "declaration": {
1903
+ "name": "MAX_ROWS_CEILING",
1904
+ "module": "src/genesis/config.ts"
1905
+ }
1906
+ },
1907
+ {
1908
+ "kind": "js",
1909
+ "name": "toolNameOf",
1910
+ "declaration": {
1911
+ "name": "toolNameOf",
1912
+ "module": "src/genesis/config.ts"
1913
+ }
1914
+ }
1915
+ ]
1916
+ },
1917
+ {
1918
+ "kind": "javascript-module",
1919
+ "path": "src/genesis/criteria.ts",
1920
+ "declarations": [
1921
+ {
1922
+ "kind": "function",
1923
+ "name": "dateFragment",
1924
+ "return": {
1925
+ "type": {
1926
+ "text": "string | undefined"
2043
1927
  }
2044
- ],
2045
- "attributes": [
1928
+ },
1929
+ "parameters": [
2046
1930
  {
1931
+ "name": "field",
2047
1932
  "type": {
2048
- "text": "boolean"
2049
- },
2050
- "default": "false",
2051
- "fieldName": "active"
1933
+ "text": "string"
1934
+ }
2052
1935
  },
2053
1936
  {
1937
+ "name": "op",
2054
1938
  "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"
1939
+ "text": "GenesisFilterOp"
1940
+ }
2063
1941
  },
2064
1942
  {
2065
- "name": "direction",
1943
+ "name": "date",
2066
1944
  "type": {
2067
- "text": "'cw' | 'ccw'"
2068
- },
2069
- "default": "'cw'",
2070
- "description": "Rotation direction. Default: 'cw' (clockwise).",
2071
- "fieldName": "direction"
2072
- },
1945
+ "text": "string"
1946
+ }
1947
+ }
1948
+ ]
1949
+ },
1950
+ {
1951
+ "kind": "function",
1952
+ "name": "dateTimeFragment",
1953
+ "return": {
1954
+ "type": {
1955
+ "text": "string | undefined"
1956
+ }
1957
+ },
1958
+ "parameters": [
2073
1959
  {
2074
- "name": "border-size",
1960
+ "name": "field",
2075
1961
  "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"
1962
+ "text": "string"
1963
+ }
2084
1964
  },
2085
1965
  {
2086
- "name": "glow-opacity",
1966
+ "name": "op",
2087
1967
  "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"
1968
+ "text": "GenesisFilterOp"
1969
+ }
2096
1970
  },
2097
1971
  {
2098
- "name": "glow-spread",
1972
+ "name": "bound",
2099
1973
  "type": {
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"
1974
+ "text": "string"
1975
+ }
2108
1976
  }
2109
1977
  ],
2110
- "superclass": {
2111
- "name": "GenesisElement",
2112
- "package": "@genesislcap/web-core"
2113
- },
2114
- "tagName": "ai-halo-overlay",
2115
- "customElement": true
1978
+ "description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
2116
1979
  }
2117
1980
  ],
2118
1981
  "exports": [
2119
1982
  {
2120
1983
  "kind": "js",
2121
- "name": "AiHaloOverlay",
1984
+ "name": "dateFragment",
1985
+ "declaration": {
1986
+ "name": "dateFragment",
1987
+ "module": "src/genesis/criteria.ts"
1988
+ }
1989
+ },
1990
+ {
1991
+ "kind": "js",
1992
+ "name": "dateTimeFragment",
1993
+ "declaration": {
1994
+ "name": "dateTimeFragment",
1995
+ "module": "src/genesis/criteria.ts"
1996
+ }
1997
+ }
1998
+ ]
1999
+ },
2000
+ {
2001
+ "kind": "javascript-module",
2002
+ "path": "src/genesis/filter-fields.ts",
2003
+ "declarations": [],
2004
+ "exports": []
2005
+ },
2006
+ {
2007
+ "kind": "javascript-module",
2008
+ "path": "src/genesis/index.ts",
2009
+ "declarations": [],
2010
+ "exports": [
2011
+ {
2012
+ "kind": "js",
2013
+ "name": "GENESIS_AGENT_NAME",
2014
+ "declaration": {
2015
+ "name": "GENESIS_AGENT_NAME",
2016
+ "module": "./register-genesis-assistant"
2017
+ }
2018
+ },
2019
+ {
2020
+ "kind": "js",
2021
+ "name": "registerGenesisAssistant",
2022
+ "declaration": {
2023
+ "name": "registerGenesisAssistant",
2024
+ "module": "./register-genesis-assistant"
2025
+ }
2026
+ },
2027
+ {
2028
+ "kind": "js",
2029
+ "name": "GenesisFilter",
2030
+ "declaration": {
2031
+ "name": "GenesisFilter",
2032
+ "module": "./criteria"
2033
+ }
2034
+ },
2035
+ {
2036
+ "kind": "js",
2037
+ "name": "GenesisFilterField",
2038
+ "declaration": {
2039
+ "name": "GenesisFilterField",
2040
+ "module": "./criteria"
2041
+ }
2042
+ },
2043
+ {
2044
+ "kind": "js",
2045
+ "name": "GenesisFilterOp",
2046
+ "declaration": {
2047
+ "name": "GenesisFilterOp",
2048
+ "module": "./criteria"
2049
+ }
2050
+ },
2051
+ {
2052
+ "kind": "js",
2053
+ "name": "createGenesisResourceTools",
2054
+ "declaration": {
2055
+ "name": "createGenesisResourceTools",
2056
+ "module": "./resource-tools"
2057
+ }
2058
+ },
2059
+ {
2060
+ "kind": "js",
2061
+ "name": "GENESIS_DATA_SOURCE",
2062
+ "declaration": {
2063
+ "name": "GENESIS_DATA_SOURCE",
2064
+ "module": "./resource-tools"
2065
+ }
2066
+ },
2067
+ {
2068
+ "kind": "js",
2069
+ "name": "GenesisReadResult",
2070
+ "declaration": {
2071
+ "name": "GenesisReadResult",
2072
+ "module": "./resource-tools"
2073
+ }
2074
+ },
2075
+ {
2076
+ "kind": "js",
2077
+ "name": "GenesisResourceTools",
2078
+ "declaration": {
2079
+ "name": "GenesisResourceTools",
2080
+ "module": "./resource-tools"
2081
+ }
2082
+ },
2083
+ {
2084
+ "kind": "js",
2085
+ "name": "GenesisResourceToolsOptions",
2086
+ "declaration": {
2087
+ "name": "GenesisResourceToolsOptions",
2088
+ "module": "./resource-tools"
2089
+ }
2090
+ },
2091
+ {
2092
+ "kind": "js",
2093
+ "name": "GenesisToolError",
2094
+ "declaration": {
2095
+ "name": "GenesisToolError",
2096
+ "module": "./resource-tools"
2097
+ }
2098
+ },
2099
+ {
2100
+ "kind": "js",
2101
+ "name": "GENESIS_EVENT_OPS",
2102
+ "declaration": {
2103
+ "name": "GENESIS_EVENT_OPS",
2104
+ "module": "./types"
2105
+ }
2106
+ },
2107
+ {
2108
+ "kind": "js",
2109
+ "name": "GenesisAiConfig",
2110
+ "declaration": {
2111
+ "name": "GenesisAiConfig",
2112
+ "module": "./types"
2113
+ }
2114
+ },
2115
+ {
2116
+ "kind": "js",
2117
+ "name": "GenesisAiResource",
2122
2118
  "declaration": {
2123
- "name": "AiHaloOverlay",
2124
- "module": "src/components/halo-overlay.ts"
2119
+ "name": "GenesisAiResource",
2120
+ "module": "./types"
2125
2121
  }
2126
2122
  },
2127
2123
  {
2128
- "kind": "custom-element-definition",
2129
- "name": "ai-halo-overlay",
2124
+ "kind": "js",
2125
+ "name": "GenesisAssistantExtensions",
2130
2126
  "declaration": {
2131
- "name": "AiHaloOverlay",
2132
- "module": "src/components/halo-overlay.ts"
2127
+ "name": "GenesisAssistantExtensions",
2128
+ "module": "./types"
2129
+ }
2130
+ },
2131
+ {
2132
+ "kind": "js",
2133
+ "name": "GenesisAssistantRegistration",
2134
+ "declaration": {
2135
+ "name": "GenesisAssistantRegistration",
2136
+ "module": "./types"
2137
+ }
2138
+ },
2139
+ {
2140
+ "kind": "js",
2141
+ "name": "GenesisEventOp",
2142
+ "declaration": {
2143
+ "name": "GenesisEventOp",
2144
+ "module": "./types"
2145
+ }
2146
+ },
2147
+ {
2148
+ "kind": "js",
2149
+ "name": "GenesisResourceKind",
2150
+ "declaration": {
2151
+ "name": "GenesisResourceKind",
2152
+ "module": "./types"
2153
+ }
2154
+ },
2155
+ {
2156
+ "kind": "js",
2157
+ "name": "RegisterGenesisAssistantOptions",
2158
+ "declaration": {
2159
+ "name": "RegisterGenesisAssistantOptions",
2160
+ "module": "./types"
2133
2161
  }
2134
2162
  }
2135
2163
  ]
2136
2164
  },
2137
2165
  {
2138
2166
  "kind": "javascript-module",
2139
- "path": "src/components/plasma-orb-indicator.ts",
2167
+ "path": "src/genesis/register-genesis-assistant.ts",
2140
2168
  "declarations": [
2141
2169
  {
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"
2170
+ "kind": "variable",
2171
+ "name": "GENESIS_AGENT_NAME",
2172
+ "type": {
2173
+ "text": "string"
2148
2174
  },
2149
- "tagName": "ai-plasma-orb-indicator",
2150
- "customElement": true
2175
+ "default": "'genesis-assistant'",
2176
+ "description": "The name of the agent registerGenesisAssistant builds."
2177
+ },
2178
+ {
2179
+ "kind": "function",
2180
+ "name": "registerGenesisAssistant",
2181
+ "return": {
2182
+ "type": {
2183
+ "text": "GenesisAssistantRegistration"
2184
+ }
2185
+ },
2186
+ "parameters": [
2187
+ {
2188
+ "name": "options",
2189
+ "type": {
2190
+ "text": "RegisterGenesisAssistantOptions"
2191
+ }
2192
+ }
2193
+ ],
2194
+ "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."
2151
2195
  }
2152
2196
  ],
2153
2197
  "exports": [
2154
2198
  {
2155
2199
  "kind": "js",
2156
- "name": "AiPlasmaOrbIndicator",
2200
+ "name": "GENESIS_AGENT_NAME",
2157
2201
  "declaration": {
2158
- "name": "AiPlasmaOrbIndicator",
2159
- "module": "src/components/plasma-orb-indicator.ts"
2202
+ "name": "GENESIS_AGENT_NAME",
2203
+ "module": "src/genesis/register-genesis-assistant.ts"
2160
2204
  }
2161
2205
  },
2162
2206
  {
2163
- "kind": "custom-element-definition",
2164
- "name": "ai-plasma-orb-indicator",
2207
+ "kind": "js",
2208
+ "name": "registerGenesisAssistant",
2165
2209
  "declaration": {
2166
- "name": "AiPlasmaOrbIndicator",
2167
- "module": "src/components/plasma-orb-indicator.ts"
2210
+ "name": "registerGenesisAssistant",
2211
+ "module": "src/genesis/register-genesis-assistant.ts"
2168
2212
  }
2169
2213
  }
2170
2214
  ]
2171
2215
  },
2172
2216
  {
2173
2217
  "kind": "javascript-module",
2174
- "path": "src/components/waves-indicator.ts",
2218
+ "path": "src/genesis/resource-tools.ts",
2175
2219
  "declarations": [
2176
2220
  {
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
- },
2221
+ "kind": "variable",
2222
+ "name": "GENESIS_DATA_SOURCE",
2223
+ "type": {
2224
+ "text": "string"
2225
+ },
2226
+ "default": "'app-database'",
2227
+ "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."
2228
+ },
2229
+ {
2230
+ "kind": "function",
2231
+ "name": "createGenesisResourceTools",
2232
+ "return": {
2233
+ "type": {
2234
+ "text": "GenesisResourceTools"
2235
+ }
2236
+ },
2237
+ "parameters": [
2210
2238
  {
2211
- "kind": "field",
2212
- "name": "wavePaths",
2239
+ "name": "resources",
2213
2240
  "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
- ]
2241
+ "text": "readonly GenesisAiResource[]"
2242
+ }
2231
2243
  },
2232
2244
  {
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
- {
2245
+ "name": "options",
2246
+ "default": "{}",
2261
2247
  "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"
2248
+ "text": "GenesisResourceToolsOptions"
2249
+ }
2270
2250
  }
2271
2251
  ],
2272
- "superclass": {
2273
- "name": "GenesisElement",
2274
- "package": "@genesislcap/web-core"
2275
- },
2276
- "tagName": "ai-waves-indicator",
2277
- "customElement": true
2252
+ "description": "Builds the assistant's tools from an app's resources."
2278
2253
  }
2279
2254
  ],
2280
2255
  "exports": [
2281
2256
  {
2282
2257
  "kind": "js",
2283
- "name": "AiWavesIndicator",
2258
+ "name": "GENESIS_DATA_SOURCE",
2284
2259
  "declaration": {
2285
- "name": "AiWavesIndicator",
2286
- "module": "src/components/waves-indicator.ts"
2260
+ "name": "GENESIS_DATA_SOURCE",
2261
+ "module": "src/genesis/resource-tools.ts"
2287
2262
  }
2288
2263
  },
2289
2264
  {
2290
- "kind": "custom-element-definition",
2291
- "name": "ai-waves-indicator",
2265
+ "kind": "js",
2266
+ "name": "createGenesisResourceTools",
2292
2267
  "declaration": {
2293
- "name": "AiWavesIndicator",
2294
- "module": "src/components/waves-indicator.ts"
2268
+ "name": "createGenesisResourceTools",
2269
+ "module": "src/genesis/resource-tools.ts"
2270
+ }
2271
+ }
2272
+ ]
2273
+ },
2274
+ {
2275
+ "kind": "javascript-module",
2276
+ "path": "src/genesis/types.ts",
2277
+ "declarations": [
2278
+ {
2279
+ "kind": "variable",
2280
+ "name": "GENESIS_EVENT_OPS",
2281
+ "type": {
2282
+ "text": "['insert', 'modify', 'delete', 'custom']"
2283
+ },
2284
+ "default": "['insert', 'modify', 'delete', 'custom']",
2285
+ "description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
2286
+ }
2287
+ ],
2288
+ "exports": [
2289
+ {
2290
+ "kind": "js",
2291
+ "name": "GENESIS_EVENT_OPS",
2292
+ "declaration": {
2293
+ "name": "GENESIS_EVENT_OPS",
2294
+ "module": "src/genesis/types.ts"
2295
2295
  }
2296
2296
  }
2297
2297
  ]