@genesislcap/ai-assistant 15.110.4 → 15.111.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/custom-elements.json +1854 -1854
- package/package.json +17 -17
|
@@ -6099,1556 +6099,361 @@
|
|
|
6099
6099
|
},
|
|
6100
6100
|
{
|
|
6101
6101
|
"kind": "javascript-module",
|
|
6102
|
-
"path": "src/
|
|
6103
|
-
"declarations": [],
|
|
6104
|
-
"exports": []
|
|
6105
|
-
},
|
|
6106
|
-
{
|
|
6107
|
-
"kind": "javascript-module",
|
|
6108
|
-
"path": "src/genesis/config.ts",
|
|
6102
|
+
"path": "src/headless/describe-interaction.ts",
|
|
6109
6103
|
"declarations": [
|
|
6110
|
-
{
|
|
6111
|
-
"kind": "variable",
|
|
6112
|
-
"name": "DEFAULT_MAX_ROWS",
|
|
6113
|
-
"type": {
|
|
6114
|
-
"text": "number"
|
|
6115
|
-
},
|
|
6116
|
-
"default": "50",
|
|
6117
|
-
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
6118
|
-
},
|
|
6119
|
-
{
|
|
6120
|
-
"kind": "variable",
|
|
6121
|
-
"name": "MAX_ROWS_CEILING",
|
|
6122
|
-
"type": {
|
|
6123
|
-
"text": "number"
|
|
6124
|
-
},
|
|
6125
|
-
"default": "1000"
|
|
6126
|
-
},
|
|
6127
6104
|
{
|
|
6128
6105
|
"kind": "function",
|
|
6129
|
-
"name": "
|
|
6106
|
+
"name": "describeInteraction",
|
|
6130
6107
|
"return": {
|
|
6131
6108
|
"type": {
|
|
6132
|
-
"text": "
|
|
6109
|
+
"text": "InteractionDescription"
|
|
6133
6110
|
}
|
|
6134
6111
|
},
|
|
6135
6112
|
"parameters": [
|
|
6136
6113
|
{
|
|
6137
|
-
"name": "
|
|
6114
|
+
"name": "input",
|
|
6138
6115
|
"type": {
|
|
6139
|
-
"text": "
|
|
6116
|
+
"text": "DescribeInteractionInput"
|
|
6140
6117
|
}
|
|
6141
6118
|
}
|
|
6142
6119
|
],
|
|
6143
|
-
"description": "
|
|
6144
|
-
}
|
|
6120
|
+
"description": "What the person is being asked, as a compact JSON-serialisable record a model can read and\nanswer (GENC-1660): the same text the autopilot is sent for the decision (`renderDecision`,\nso there is one rendering of a decision, not two), and its actions as data, numbered as that text\nnumbers them, so \"1\" means the same option here and there.\n\nWith no surface — a widget with no controller, or one that has not exposed anything yet — there\nis nothing to act on: `controller` is `false` (or `true` and not `ready`, while a controller that\nwill expose a surface has not yet), `actions` is empty, and `text` is the widget as text alone.\n\nReads the surface fresh each time, so it describes the widget as it is now."
|
|
6121
|
+
}
|
|
6122
|
+
],
|
|
6123
|
+
"exports": [
|
|
6124
|
+
{
|
|
6125
|
+
"kind": "js",
|
|
6126
|
+
"name": "describeInteraction",
|
|
6127
|
+
"declaration": {
|
|
6128
|
+
"name": "describeInteraction",
|
|
6129
|
+
"module": "src/headless/describe-interaction.ts"
|
|
6130
|
+
}
|
|
6131
|
+
}
|
|
6132
|
+
]
|
|
6133
|
+
},
|
|
6134
|
+
{
|
|
6135
|
+
"kind": "javascript-module",
|
|
6136
|
+
"path": "src/headless/headless-debug.ts",
|
|
6137
|
+
"declarations": [
|
|
6145
6138
|
{
|
|
6146
6139
|
"kind": "function",
|
|
6147
|
-
"name": "
|
|
6140
|
+
"name": "headlessMetaSnapshot",
|
|
6148
6141
|
"return": {
|
|
6149
6142
|
"type": {
|
|
6150
|
-
"text": "
|
|
6143
|
+
"text": "DiagnosticEntry"
|
|
6151
6144
|
}
|
|
6152
6145
|
},
|
|
6153
6146
|
"parameters": [
|
|
6154
6147
|
{
|
|
6155
|
-
"name": "
|
|
6148
|
+
"name": "driver",
|
|
6156
6149
|
"type": {
|
|
6157
|
-
"text": "
|
|
6150
|
+
"text": "AiDriver"
|
|
6158
6151
|
}
|
|
6159
6152
|
},
|
|
6160
6153
|
{
|
|
6161
|
-
"name": "
|
|
6162
|
-
"
|
|
6163
|
-
"text": "ReadonlySet<string>"
|
|
6164
|
-
},
|
|
6165
|
-
"description": "The request resources whose rows can be read. A row action reads its rows\nthrough `REQ_<entity>`, and without one there is no row to review."
|
|
6166
|
-
},
|
|
6167
|
-
{
|
|
6168
|
-
"name": "whyNotReadable",
|
|
6169
|
-
"default": "notReadableReason({})",
|
|
6154
|
+
"name": "options",
|
|
6155
|
+
"default": "{}",
|
|
6170
6156
|
"type": {
|
|
6171
|
-
"text": "
|
|
6172
|
-
}
|
|
6173
|
-
"description": "Why a request is not among `requestNames`, when the caller knows: it was\nleft out, has no read tool, or is a query. Without it, the request is said to be missing."
|
|
6157
|
+
"text": "HeadlessDebugOptions"
|
|
6158
|
+
}
|
|
6174
6159
|
}
|
|
6175
6160
|
],
|
|
6176
|
-
"description": "
|
|
6161
|
+
"description": "The `meta-snapshot` entry for right now, gathered the way the assistant element gathers it\n(`buildMetaSnapshot` does the assembly; this reads what it reports): the live agent comes from\nthe DRIVER, the transcript from its raw history, and the figures from the transcript, so what a\nheadless host logs is what the browser would. The context window and model, which the element\nlearns from its provider registry, are the host's to say."
|
|
6177
6162
|
},
|
|
6178
6163
|
{
|
|
6179
6164
|
"kind": "function",
|
|
6180
|
-
"name": "
|
|
6165
|
+
"name": "headlessDiagnosticEntries",
|
|
6181
6166
|
"return": {
|
|
6182
6167
|
"type": {
|
|
6183
|
-
"text": "
|
|
6168
|
+
"text": "DiagnosticEntry[]"
|
|
6184
6169
|
}
|
|
6185
6170
|
},
|
|
6186
6171
|
"parameters": [
|
|
6187
6172
|
{
|
|
6188
|
-
"name": "
|
|
6173
|
+
"name": "driver",
|
|
6189
6174
|
"type": {
|
|
6190
|
-
"text": "
|
|
6175
|
+
"text": "AiDriver"
|
|
6176
|
+
}
|
|
6177
|
+
},
|
|
6178
|
+
{
|
|
6179
|
+
"name": "stateKey",
|
|
6180
|
+
"type": {
|
|
6181
|
+
"text": "string"
|
|
6182
|
+
}
|
|
6183
|
+
},
|
|
6184
|
+
{
|
|
6185
|
+
"name": "options",
|
|
6186
|
+
"default": "{}",
|
|
6187
|
+
"type": {
|
|
6188
|
+
"text": "HeadlessDebugOptions"
|
|
6191
6189
|
}
|
|
6192
6190
|
}
|
|
6193
6191
|
],
|
|
6194
|
-
"description": "
|
|
6192
|
+
"description": "The diagnostic entries for the session so far, from the same `buildDiagnosticEntries` the\nbrowser's element and its persister use."
|
|
6195
6193
|
},
|
|
6196
6194
|
{
|
|
6197
6195
|
"kind": "function",
|
|
6198
|
-
"name": "
|
|
6196
|
+
"name": "headlessCurrentDebugLog",
|
|
6199
6197
|
"return": {
|
|
6200
6198
|
"type": {
|
|
6201
|
-
"text": "
|
|
6199
|
+
"text": "DebugLog"
|
|
6202
6200
|
}
|
|
6203
6201
|
},
|
|
6204
6202
|
"parameters": [
|
|
6205
6203
|
{
|
|
6206
|
-
"name": "
|
|
6204
|
+
"name": "driver",
|
|
6207
6205
|
"type": {
|
|
6208
|
-
"text": "
|
|
6206
|
+
"text": "AiDriver"
|
|
6207
|
+
}
|
|
6208
|
+
},
|
|
6209
|
+
{
|
|
6210
|
+
"name": "stateKey",
|
|
6211
|
+
"type": {
|
|
6212
|
+
"text": "string"
|
|
6213
|
+
}
|
|
6214
|
+
},
|
|
6215
|
+
{
|
|
6216
|
+
"name": "options",
|
|
6217
|
+
"default": "{}",
|
|
6218
|
+
"type": {
|
|
6219
|
+
"text": "HeadlessDebugOptions"
|
|
6209
6220
|
}
|
|
6210
6221
|
}
|
|
6211
6222
|
],
|
|
6212
|
-
"description": "
|
|
6223
|
+
"description": "The current page's debug log: what `HeadlessSession.debugLog()` returns when nothing is\npersisted, and the fallback when the stored stream cannot be read."
|
|
6213
6224
|
}
|
|
6214
6225
|
],
|
|
6215
6226
|
"exports": [
|
|
6216
6227
|
{
|
|
6217
6228
|
"kind": "js",
|
|
6218
|
-
"name": "
|
|
6219
|
-
"declaration": {
|
|
6220
|
-
"name": "DEFAULT_MAX_ROWS",
|
|
6221
|
-
"module": "src/genesis/config.ts"
|
|
6222
|
-
}
|
|
6223
|
-
},
|
|
6224
|
-
{
|
|
6225
|
-
"kind": "js",
|
|
6226
|
-
"name": "MAX_ROWS_CEILING",
|
|
6227
|
-
"declaration": {
|
|
6228
|
-
"name": "MAX_ROWS_CEILING",
|
|
6229
|
-
"module": "src/genesis/config.ts"
|
|
6230
|
-
}
|
|
6231
|
-
},
|
|
6232
|
-
{
|
|
6233
|
-
"kind": "js",
|
|
6234
|
-
"name": "toolNameOf",
|
|
6235
|
-
"declaration": {
|
|
6236
|
-
"name": "toolNameOf",
|
|
6237
|
-
"module": "src/genesis/config.ts"
|
|
6238
|
-
}
|
|
6239
|
-
},
|
|
6240
|
-
{
|
|
6241
|
-
"kind": "js",
|
|
6242
|
-
"name": "rowActionProblem",
|
|
6229
|
+
"name": "headlessMetaSnapshot",
|
|
6243
6230
|
"declaration": {
|
|
6244
|
-
"name": "
|
|
6245
|
-
"module": "src/
|
|
6231
|
+
"name": "headlessMetaSnapshot",
|
|
6232
|
+
"module": "src/headless/headless-debug.ts"
|
|
6246
6233
|
}
|
|
6247
6234
|
},
|
|
6248
6235
|
{
|
|
6249
6236
|
"kind": "js",
|
|
6250
|
-
"name": "
|
|
6237
|
+
"name": "headlessDiagnosticEntries",
|
|
6251
6238
|
"declaration": {
|
|
6252
|
-
"name": "
|
|
6253
|
-
"module": "src/
|
|
6239
|
+
"name": "headlessDiagnosticEntries",
|
|
6240
|
+
"module": "src/headless/headless-debug.ts"
|
|
6254
6241
|
}
|
|
6255
6242
|
},
|
|
6256
6243
|
{
|
|
6257
6244
|
"kind": "js",
|
|
6258
|
-
"name": "
|
|
6245
|
+
"name": "headlessCurrentDebugLog",
|
|
6259
6246
|
"declaration": {
|
|
6260
|
-
"name": "
|
|
6261
|
-
"module": "src/
|
|
6247
|
+
"name": "headlessCurrentDebugLog",
|
|
6248
|
+
"module": "src/headless/headless-debug.ts"
|
|
6262
6249
|
}
|
|
6263
6250
|
}
|
|
6264
6251
|
]
|
|
6265
6252
|
},
|
|
6266
6253
|
{
|
|
6267
6254
|
"kind": "javascript-module",
|
|
6268
|
-
"path": "src/
|
|
6255
|
+
"path": "src/headless/headless-persistence.ts",
|
|
6269
6256
|
"declarations": [
|
|
6270
6257
|
{
|
|
6271
|
-
"kind": "
|
|
6272
|
-
"name": "
|
|
6273
|
-
"
|
|
6274
|
-
"
|
|
6258
|
+
"kind": "function",
|
|
6259
|
+
"name": "headlessPersistence",
|
|
6260
|
+
"return": {
|
|
6261
|
+
"type": {
|
|
6262
|
+
"text": "HeadlessPersistence"
|
|
6263
|
+
}
|
|
6275
6264
|
},
|
|
6276
|
-
"
|
|
6265
|
+
"parameters": [
|
|
6266
|
+
{
|
|
6267
|
+
"name": "options",
|
|
6268
|
+
"type": {
|
|
6269
|
+
"text": "HeadlessPersistenceOptions"
|
|
6270
|
+
}
|
|
6271
|
+
}
|
|
6272
|
+
],
|
|
6273
|
+
"description": "Persistence for a `HeadlessSession`: it writes exactly what the browser writes — the\n`sessions/<key>` snapshot and the `diag/<key>` stream — through the platform's\n`SessionPersister` and the host's `SessionPersistenceProvider`, and builds the lifetime debug log\nfrom the same code as the browser's Download.\n\nExported from the package's main entry only, NOT from the Node entry (`./chat-driver`): it\nreaches the session store, and through it `@genesislcap/foundation-redux`, which are not\nNode-clean. The `persister` it makes is the registry's, so a host can restore through\n`getPersister(stateKey)`."
|
|
6277
6274
|
}
|
|
6278
6275
|
],
|
|
6279
6276
|
"exports": [
|
|
6280
6277
|
{
|
|
6281
6278
|
"kind": "js",
|
|
6282
|
-
"name": "
|
|
6283
|
-
"declaration": {
|
|
6284
|
-
"name": "GenesisAiConsumes",
|
|
6285
|
-
"module": "./types"
|
|
6286
|
-
}
|
|
6287
|
-
},
|
|
6288
|
-
{
|
|
6289
|
-
"kind": "js",
|
|
6290
|
-
"name": "GENESIS_AI_CONSUMES",
|
|
6279
|
+
"name": "headlessPersistence",
|
|
6291
6280
|
"declaration": {
|
|
6292
|
-
"name": "
|
|
6293
|
-
"module": "src/
|
|
6281
|
+
"name": "headlessPersistence",
|
|
6282
|
+
"module": "src/headless/headless-persistence.ts"
|
|
6294
6283
|
}
|
|
6295
6284
|
}
|
|
6296
6285
|
]
|
|
6297
6286
|
},
|
|
6298
6287
|
{
|
|
6299
6288
|
"kind": "javascript-module",
|
|
6300
|
-
"path": "src/
|
|
6289
|
+
"path": "src/headless/headless-session.ts",
|
|
6301
6290
|
"declarations": [
|
|
6302
6291
|
{
|
|
6303
|
-
"kind": "
|
|
6304
|
-
"
|
|
6305
|
-
"
|
|
6306
|
-
|
|
6307
|
-
"text": "string | undefined"
|
|
6308
|
-
}
|
|
6309
|
-
},
|
|
6310
|
-
"parameters": [
|
|
6292
|
+
"kind": "class",
|
|
6293
|
+
"description": "A driver with no screen: a way for a host with no browser (a coding agent behind a small HTTP\nserver, a test) to run a whole assistant journey as the person (GENC-1660).\n\nIt watches the driver for interactions and turns the conversation into an append-only log of\nplain-data events (see HeadlessEvent): `decision` when the person has something to\nanswer, `working` when someone else has it, `settled`, the visible `message`s, the end of each\n`turn`, the autopilot's state, and the host's own `probe`. The caller reads the log with\nHeadlessSession.wait, a long poll cursored by `seq`, so nothing is lost between calls.\nIt answers with HeadlessSession.act, which runs a widget's action as a click would, with\nthe same numbered options the autopilot is shown.\n\nIt only observes: its interceptor never claims an interaction, so an autopilot on the same\ndriver works as it always does, and what the session reports as a `decision` is what the autopilot\nhas handed to the person. Plain classes only: no DOM, no FAST.",
|
|
6294
|
+
"name": "HeadlessSession",
|
|
6295
|
+
"members": [
|
|
6311
6296
|
{
|
|
6312
|
-
"
|
|
6297
|
+
"kind": "field",
|
|
6298
|
+
"name": "sessionKey",
|
|
6313
6299
|
"type": {
|
|
6314
6300
|
"text": "string"
|
|
6315
|
-
}
|
|
6301
|
+
},
|
|
6302
|
+
"privacy": "private",
|
|
6303
|
+
"readonly": true
|
|
6316
6304
|
},
|
|
6317
6305
|
{
|
|
6318
|
-
"
|
|
6306
|
+
"kind": "field",
|
|
6307
|
+
"name": "allowRaw",
|
|
6319
6308
|
"type": {
|
|
6320
|
-
"text": "
|
|
6321
|
-
}
|
|
6309
|
+
"text": "boolean"
|
|
6310
|
+
},
|
|
6311
|
+
"privacy": "private",
|
|
6312
|
+
"readonly": true
|
|
6322
6313
|
},
|
|
6323
6314
|
{
|
|
6324
|
-
"
|
|
6315
|
+
"kind": "field",
|
|
6316
|
+
"name": "clock",
|
|
6325
6317
|
"type": {
|
|
6326
|
-
"text": "
|
|
6327
|
-
}
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6331
|
-
{
|
|
6332
|
-
"kind": "function",
|
|
6333
|
-
"name": "dateTimeFragment",
|
|
6334
|
-
"return": {
|
|
6335
|
-
"type": {
|
|
6336
|
-
"text": "string | undefined"
|
|
6337
|
-
}
|
|
6338
|
-
},
|
|
6339
|
-
"parameters": [
|
|
6318
|
+
"text": "() => number"
|
|
6319
|
+
},
|
|
6320
|
+
"privacy": "private",
|
|
6321
|
+
"readonly": true
|
|
6322
|
+
},
|
|
6340
6323
|
{
|
|
6341
|
-
"
|
|
6324
|
+
"kind": "field",
|
|
6325
|
+
"name": "autopilotHost",
|
|
6342
6326
|
"type": {
|
|
6343
|
-
"text": "
|
|
6344
|
-
}
|
|
6327
|
+
"text": "AutopilotLike | undefined"
|
|
6328
|
+
},
|
|
6329
|
+
"privacy": "private",
|
|
6330
|
+
"readonly": true,
|
|
6331
|
+
"default": "autopilot"
|
|
6345
6332
|
},
|
|
6346
6333
|
{
|
|
6347
|
-
"
|
|
6334
|
+
"kind": "field",
|
|
6335
|
+
"name": "events",
|
|
6348
6336
|
"type": {
|
|
6349
|
-
"text": "
|
|
6350
|
-
}
|
|
6337
|
+
"text": "HeadlessEvent[]"
|
|
6338
|
+
},
|
|
6339
|
+
"privacy": "private",
|
|
6340
|
+
"readonly": true,
|
|
6341
|
+
"default": "[]"
|
|
6351
6342
|
},
|
|
6352
6343
|
{
|
|
6353
|
-
"
|
|
6354
|
-
"
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6366
|
-
|
|
6367
|
-
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6386
|
-
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
-
|
|
6390
|
-
|
|
6391
|
-
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
|
|
6412
|
-
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6418
|
-
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6423
|
-
|
|
6424
|
-
|
|
6425
|
-
|
|
6426
|
-
|
|
6427
|
-
|
|
6428
|
-
|
|
6429
|
-
|
|
6430
|
-
|
|
6431
|
-
|
|
6432
|
-
|
|
6433
|
-
|
|
6434
|
-
|
|
6435
|
-
|
|
6436
|
-
|
|
6437
|
-
|
|
6438
|
-
|
|
6439
|
-
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
"name": "GenesisFilter",
|
|
6467
|
-
"module": "./criteria"
|
|
6468
|
-
}
|
|
6469
|
-
},
|
|
6470
|
-
{
|
|
6471
|
-
"kind": "js",
|
|
6472
|
-
"name": "GenesisFilterField",
|
|
6473
|
-
"declaration": {
|
|
6474
|
-
"name": "GenesisFilterField",
|
|
6475
|
-
"module": "./criteria"
|
|
6476
|
-
}
|
|
6477
|
-
},
|
|
6478
|
-
{
|
|
6479
|
-
"kind": "js",
|
|
6480
|
-
"name": "GenesisFilterOp",
|
|
6481
|
-
"declaration": {
|
|
6482
|
-
"name": "GenesisFilterOp",
|
|
6483
|
-
"module": "./criteria"
|
|
6484
|
-
}
|
|
6485
|
-
},
|
|
6486
|
-
{
|
|
6487
|
-
"kind": "js",
|
|
6488
|
-
"name": "createGenesisResourceTools",
|
|
6489
|
-
"declaration": {
|
|
6490
|
-
"name": "createGenesisResourceTools",
|
|
6491
|
-
"module": "./resource-tools"
|
|
6492
|
-
}
|
|
6493
|
-
},
|
|
6494
|
-
{
|
|
6495
|
-
"kind": "js",
|
|
6496
|
-
"name": "GENESIS_DATA_SOURCE",
|
|
6497
|
-
"declaration": {
|
|
6498
|
-
"name": "GENESIS_DATA_SOURCE",
|
|
6499
|
-
"module": "./resource-tools"
|
|
6500
|
-
}
|
|
6501
|
-
},
|
|
6502
|
-
{
|
|
6503
|
-
"kind": "js",
|
|
6504
|
-
"name": "createGenesisWriteTools",
|
|
6505
|
-
"declaration": {
|
|
6506
|
-
"name": "createGenesisWriteTools",
|
|
6507
|
-
"module": "./write-tools"
|
|
6508
|
-
}
|
|
6509
|
-
},
|
|
6510
|
-
{
|
|
6511
|
-
"kind": "js",
|
|
6512
|
-
"name": "GenesisWriteDecision",
|
|
6513
|
-
"declaration": {
|
|
6514
|
-
"name": "GenesisWriteDecision",
|
|
6515
|
-
"module": "./write-tools"
|
|
6516
|
-
}
|
|
6517
|
-
},
|
|
6518
|
-
{
|
|
6519
|
-
"kind": "js",
|
|
6520
|
-
"name": "GenesisWriteResult",
|
|
6521
|
-
"declaration": {
|
|
6522
|
-
"name": "GenesisWriteResult",
|
|
6523
|
-
"module": "./write-tools"
|
|
6524
|
-
}
|
|
6525
|
-
},
|
|
6526
|
-
{
|
|
6527
|
-
"kind": "js",
|
|
6528
|
-
"name": "GenesisWriteRowStatus",
|
|
6529
|
-
"declaration": {
|
|
6530
|
-
"name": "GenesisWriteRowStatus",
|
|
6531
|
-
"module": "./write-tools"
|
|
6532
|
-
}
|
|
6533
|
-
},
|
|
6534
|
-
{
|
|
6535
|
-
"kind": "js",
|
|
6536
|
-
"name": "GenesisWriteToolsOptions",
|
|
6537
|
-
"declaration": {
|
|
6538
|
-
"name": "GenesisWriteToolsOptions",
|
|
6539
|
-
"module": "./write-tools"
|
|
6540
|
-
}
|
|
6541
|
-
},
|
|
6542
|
-
{
|
|
6543
|
-
"kind": "js",
|
|
6544
|
-
"name": "GENESIS_WRITE_REVIEW",
|
|
6545
|
-
"declaration": {
|
|
6546
|
-
"name": "GENESIS_WRITE_REVIEW",
|
|
6547
|
-
"module": "./write-review/write-review"
|
|
6548
|
-
}
|
|
6549
|
-
},
|
|
6550
|
-
{
|
|
6551
|
-
"kind": "js",
|
|
6552
|
-
"name": "GenesisWriteReview",
|
|
6553
|
-
"declaration": {
|
|
6554
|
-
"name": "GenesisWriteReview",
|
|
6555
|
-
"module": "./write-review/write-review"
|
|
6556
|
-
}
|
|
6557
|
-
},
|
|
6558
|
-
{
|
|
6559
|
-
"kind": "js",
|
|
6560
|
-
"name": "GenesisChangeRequest",
|
|
6561
|
-
"declaration": {
|
|
6562
|
-
"name": "GenesisChangeRequest",
|
|
6563
|
-
"module": "./review-payload"
|
|
6564
|
-
}
|
|
6565
|
-
},
|
|
6566
|
-
{
|
|
6567
|
-
"kind": "js",
|
|
6568
|
-
"name": "GenesisReviewPayload",
|
|
6569
|
-
"declaration": {
|
|
6570
|
-
"name": "GenesisReviewPayload",
|
|
6571
|
-
"module": "./review-payload"
|
|
6572
|
-
}
|
|
6573
|
-
},
|
|
6574
|
-
{
|
|
6575
|
-
"kind": "js",
|
|
6576
|
-
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
6577
|
-
"declaration": {
|
|
6578
|
-
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
6579
|
-
"module": "./review-payload"
|
|
6580
|
-
}
|
|
6581
|
-
},
|
|
6582
|
-
{
|
|
6583
|
-
"kind": "js",
|
|
6584
|
-
"name": "GenesisReadResult",
|
|
6585
|
-
"declaration": {
|
|
6586
|
-
"name": "GenesisReadResult",
|
|
6587
|
-
"module": "./resource-tools"
|
|
6588
|
-
}
|
|
6589
|
-
},
|
|
6590
|
-
{
|
|
6591
|
-
"kind": "js",
|
|
6592
|
-
"name": "GenesisResourceTools",
|
|
6593
|
-
"declaration": {
|
|
6594
|
-
"name": "GenesisResourceTools",
|
|
6595
|
-
"module": "./resource-tools"
|
|
6596
|
-
}
|
|
6597
|
-
},
|
|
6598
|
-
{
|
|
6599
|
-
"kind": "js",
|
|
6600
|
-
"name": "GenesisResourceToolsOptions",
|
|
6601
|
-
"declaration": {
|
|
6602
|
-
"name": "GenesisResourceToolsOptions",
|
|
6603
|
-
"module": "./resource-tools"
|
|
6604
|
-
}
|
|
6605
|
-
},
|
|
6606
|
-
{
|
|
6607
|
-
"kind": "js",
|
|
6608
|
-
"name": "GenesisToolError",
|
|
6609
|
-
"declaration": {
|
|
6610
|
-
"name": "GenesisToolError",
|
|
6611
|
-
"module": "./resource-tools"
|
|
6612
|
-
}
|
|
6613
|
-
},
|
|
6614
|
-
{
|
|
6615
|
-
"kind": "js",
|
|
6616
|
-
"name": "GENESIS_EVENT_OPS",
|
|
6617
|
-
"declaration": {
|
|
6618
|
-
"name": "GENESIS_EVENT_OPS",
|
|
6619
|
-
"module": "./types"
|
|
6620
|
-
}
|
|
6621
|
-
},
|
|
6622
|
-
{
|
|
6623
|
-
"kind": "js",
|
|
6624
|
-
"name": "GenesisAiConfig",
|
|
6625
|
-
"declaration": {
|
|
6626
|
-
"name": "GenesisAiConfig",
|
|
6627
|
-
"module": "./types"
|
|
6628
|
-
}
|
|
6629
|
-
},
|
|
6630
|
-
{
|
|
6631
|
-
"kind": "js",
|
|
6632
|
-
"name": "GenesisAiConsumes",
|
|
6633
|
-
"declaration": {
|
|
6634
|
-
"name": "GenesisAiConsumes",
|
|
6635
|
-
"module": "./types"
|
|
6636
|
-
}
|
|
6637
|
-
},
|
|
6638
|
-
{
|
|
6639
|
-
"kind": "js",
|
|
6640
|
-
"name": "GenesisAiResource",
|
|
6641
|
-
"declaration": {
|
|
6642
|
-
"name": "GenesisAiResource",
|
|
6643
|
-
"module": "./types"
|
|
6644
|
-
}
|
|
6645
|
-
},
|
|
6646
|
-
{
|
|
6647
|
-
"kind": "js",
|
|
6648
|
-
"name": "GenesisAssistantExtensions",
|
|
6649
|
-
"declaration": {
|
|
6650
|
-
"name": "GenesisAssistantExtensions",
|
|
6651
|
-
"module": "./types"
|
|
6652
|
-
}
|
|
6653
|
-
},
|
|
6654
|
-
{
|
|
6655
|
-
"kind": "js",
|
|
6656
|
-
"name": "GenesisAssistantRegistration",
|
|
6657
|
-
"declaration": {
|
|
6658
|
-
"name": "GenesisAssistantRegistration",
|
|
6659
|
-
"module": "./types"
|
|
6660
|
-
}
|
|
6661
|
-
},
|
|
6662
|
-
{
|
|
6663
|
-
"kind": "js",
|
|
6664
|
-
"name": "GenesisCustomCode",
|
|
6665
|
-
"declaration": {
|
|
6666
|
-
"name": "GenesisCustomCode",
|
|
6667
|
-
"module": "./types"
|
|
6668
|
-
}
|
|
6669
|
-
},
|
|
6670
|
-
{
|
|
6671
|
-
"kind": "js",
|
|
6672
|
-
"name": "GenesisCustomCodeCheck",
|
|
6673
|
-
"declaration": {
|
|
6674
|
-
"name": "GenesisCustomCodeCheck",
|
|
6675
|
-
"module": "./types"
|
|
6676
|
-
}
|
|
6677
|
-
},
|
|
6678
|
-
{
|
|
6679
|
-
"kind": "js",
|
|
6680
|
-
"name": "GenesisEventOp",
|
|
6681
|
-
"declaration": {
|
|
6682
|
-
"name": "GenesisEventOp",
|
|
6683
|
-
"module": "./types"
|
|
6684
|
-
}
|
|
6685
|
-
},
|
|
6686
|
-
{
|
|
6687
|
-
"kind": "js",
|
|
6688
|
-
"name": "GenesisReference",
|
|
6689
|
-
"declaration": {
|
|
6690
|
-
"name": "GenesisReference",
|
|
6691
|
-
"module": "./types"
|
|
6692
|
-
}
|
|
6693
|
-
},
|
|
6694
|
-
{
|
|
6695
|
-
"kind": "js",
|
|
6696
|
-
"name": "GenesisResourceKind",
|
|
6697
|
-
"declaration": {
|
|
6698
|
-
"name": "GenesisResourceKind",
|
|
6699
|
-
"module": "./types"
|
|
6700
|
-
}
|
|
6701
|
-
},
|
|
6702
|
-
{
|
|
6703
|
-
"kind": "js",
|
|
6704
|
-
"name": "GenesisRowEffect",
|
|
6705
|
-
"declaration": {
|
|
6706
|
-
"name": "GenesisRowEffect",
|
|
6707
|
-
"module": "./types"
|
|
6708
|
-
}
|
|
6709
|
-
},
|
|
6710
|
-
{
|
|
6711
|
-
"kind": "js",
|
|
6712
|
-
"name": "GenesisRowInput",
|
|
6713
|
-
"declaration": {
|
|
6714
|
-
"name": "GenesisRowInput",
|
|
6715
|
-
"module": "./types"
|
|
6716
|
-
}
|
|
6717
|
-
},
|
|
6718
|
-
{
|
|
6719
|
-
"kind": "js",
|
|
6720
|
-
"name": "RegisterGenesisAssistantOptions",
|
|
6721
|
-
"declaration": {
|
|
6722
|
-
"name": "RegisterGenesisAssistantOptions",
|
|
6723
|
-
"module": "./types"
|
|
6724
|
-
}
|
|
6725
|
-
}
|
|
6726
|
-
]
|
|
6727
|
-
},
|
|
6728
|
-
{
|
|
6729
|
-
"kind": "javascript-module",
|
|
6730
|
-
"path": "src/genesis/reference-check.ts",
|
|
6731
|
-
"declarations": [
|
|
6732
|
-
{
|
|
6733
|
-
"kind": "function",
|
|
6734
|
-
"name": "tableOf",
|
|
6735
|
-
"return": {
|
|
6736
|
-
"type": {
|
|
6737
|
-
"text": "string"
|
|
6738
|
-
}
|
|
6739
|
-
},
|
|
6740
|
-
"parameters": [
|
|
6741
|
-
{
|
|
6742
|
-
"name": "resource",
|
|
6743
|
-
"type": {
|
|
6744
|
-
"text": "string"
|
|
6745
|
-
}
|
|
6746
|
-
}
|
|
6747
|
-
],
|
|
6748
|
-
"description": "The table a `REQ_<T>` reads."
|
|
6749
|
-
},
|
|
6750
|
-
{
|
|
6751
|
-
"kind": "function",
|
|
6752
|
-
"name": "notAcceptedHere",
|
|
6753
|
-
"return": {
|
|
6754
|
-
"type": {
|
|
6755
|
-
"text": "string"
|
|
6756
|
-
}
|
|
6757
|
-
},
|
|
6758
|
-
"parameters": [
|
|
6759
|
-
{
|
|
6760
|
-
"name": "field",
|
|
6761
|
-
"type": {
|
|
6762
|
-
"text": "string"
|
|
6763
|
-
}
|
|
6764
|
-
},
|
|
6765
|
-
{
|
|
6766
|
-
"name": "{ resource, reason }",
|
|
6767
|
-
"type": {
|
|
6768
|
-
"text": "UncheckedField"
|
|
6769
|
-
}
|
|
6770
|
-
}
|
|
6771
|
-
],
|
|
6772
|
-
"description": "What an insert says about a value it cannot check."
|
|
6773
|
-
},
|
|
6774
|
-
{
|
|
6775
|
-
"kind": "function",
|
|
6776
|
-
"name": "cannotBeChanged",
|
|
6777
|
-
"return": {
|
|
6778
|
-
"type": {
|
|
6779
|
-
"text": "string"
|
|
6780
|
-
}
|
|
6781
|
-
},
|
|
6782
|
-
"parameters": [
|
|
6783
|
-
{
|
|
6784
|
-
"name": "field",
|
|
6785
|
-
"type": {
|
|
6786
|
-
"text": "string"
|
|
6787
|
-
}
|
|
6788
|
-
},
|
|
6789
|
-
{
|
|
6790
|
-
"name": "{ resource, reason }",
|
|
6791
|
-
"type": {
|
|
6792
|
-
"text": "UncheckedField"
|
|
6793
|
-
}
|
|
6794
|
-
}
|
|
6795
|
-
],
|
|
6796
|
-
"description": "What a modify says about a new value it cannot check."
|
|
6797
|
-
}
|
|
6798
|
-
],
|
|
6799
|
-
"exports": [
|
|
6800
|
-
{
|
|
6801
|
-
"kind": "js",
|
|
6802
|
-
"name": "tableOf",
|
|
6803
|
-
"declaration": {
|
|
6804
|
-
"name": "tableOf",
|
|
6805
|
-
"module": "src/genesis/reference-check.ts"
|
|
6806
|
-
}
|
|
6807
|
-
},
|
|
6808
|
-
{
|
|
6809
|
-
"kind": "js",
|
|
6810
|
-
"name": "notAcceptedHere",
|
|
6811
|
-
"declaration": {
|
|
6812
|
-
"name": "notAcceptedHere",
|
|
6813
|
-
"module": "src/genesis/reference-check.ts"
|
|
6814
|
-
}
|
|
6815
|
-
},
|
|
6816
|
-
{
|
|
6817
|
-
"kind": "js",
|
|
6818
|
-
"name": "cannotBeChanged",
|
|
6819
|
-
"declaration": {
|
|
6820
|
-
"name": "cannotBeChanged",
|
|
6821
|
-
"module": "src/genesis/reference-check.ts"
|
|
6822
|
-
}
|
|
6823
|
-
}
|
|
6824
|
-
]
|
|
6825
|
-
},
|
|
6826
|
-
{
|
|
6827
|
-
"kind": "javascript-module",
|
|
6828
|
-
"path": "src/genesis/reference-existence.ts",
|
|
6829
|
-
"declarations": [
|
|
6830
|
-
{
|
|
6831
|
-
"kind": "variable",
|
|
6832
|
-
"name": "MAX_REFERENCE_CHECKS",
|
|
6833
|
-
"type": {
|
|
6834
|
-
"text": "number"
|
|
6835
|
-
},
|
|
6836
|
-
"default": "50",
|
|
6837
|
-
"description": "The most distinct values one call may check."
|
|
6838
|
-
},
|
|
6839
|
-
{
|
|
6840
|
-
"kind": "function",
|
|
6841
|
-
"name": "withReferenceProblems",
|
|
6842
|
-
"return": {
|
|
6843
|
-
"type": {
|
|
6844
|
-
"text": "T[]"
|
|
6845
|
-
}
|
|
6846
|
-
},
|
|
6847
|
-
"parameters": [
|
|
6848
|
-
{
|
|
6849
|
-
"name": "rows",
|
|
6850
|
-
"type": {
|
|
6851
|
-
"text": "readonly T[]"
|
|
6852
|
-
}
|
|
6853
|
-
},
|
|
6854
|
-
{
|
|
6855
|
-
"name": "problems",
|
|
6856
|
-
"type": {
|
|
6857
|
-
"text": "ReadonlyMap<number, string[]>"
|
|
6858
|
-
}
|
|
6859
|
-
}
|
|
6860
|
-
],
|
|
6861
|
-
"description": "The rows with what the check found added to their problems."
|
|
6862
|
-
}
|
|
6863
|
-
],
|
|
6864
|
-
"exports": [
|
|
6865
|
-
{
|
|
6866
|
-
"kind": "js",
|
|
6867
|
-
"name": "MAX_REFERENCE_CHECKS",
|
|
6868
|
-
"declaration": {
|
|
6869
|
-
"name": "MAX_REFERENCE_CHECKS",
|
|
6870
|
-
"module": "src/genesis/reference-existence.ts"
|
|
6871
|
-
}
|
|
6872
|
-
},
|
|
6873
|
-
{
|
|
6874
|
-
"kind": "js",
|
|
6875
|
-
"name": "withReferenceProblems",
|
|
6876
|
-
"declaration": {
|
|
6877
|
-
"name": "withReferenceProblems",
|
|
6878
|
-
"module": "src/genesis/reference-existence.ts"
|
|
6879
|
-
}
|
|
6880
|
-
}
|
|
6881
|
-
]
|
|
6882
|
-
},
|
|
6883
|
-
{
|
|
6884
|
-
"kind": "javascript-module",
|
|
6885
|
-
"path": "src/genesis/register-genesis-assistant.ts",
|
|
6886
|
-
"declarations": [
|
|
6887
|
-
{
|
|
6888
|
-
"kind": "variable",
|
|
6889
|
-
"name": "GENESIS_AGENT_NAME",
|
|
6890
|
-
"type": {
|
|
6891
|
-
"text": "string"
|
|
6892
|
-
},
|
|
6893
|
-
"default": "'genesis-assistant'",
|
|
6894
|
-
"description": "The name of the agent registerGenesisAssistant builds."
|
|
6895
|
-
},
|
|
6896
|
-
{
|
|
6897
|
-
"kind": "function",
|
|
6898
|
-
"name": "registerGenesisAssistant",
|
|
6899
|
-
"return": {
|
|
6900
|
-
"type": {
|
|
6901
|
-
"text": "GenesisAssistantRegistration"
|
|
6902
|
-
}
|
|
6903
|
-
},
|
|
6904
|
-
"parameters": [
|
|
6905
|
-
{
|
|
6906
|
-
"name": "options",
|
|
6907
|
-
"type": {
|
|
6908
|
-
"text": "RegisterGenesisAssistantOptions"
|
|
6909
|
-
}
|
|
6910
|
-
}
|
|
6911
|
-
],
|
|
6912
|
-
"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."
|
|
6913
|
-
}
|
|
6914
|
-
],
|
|
6915
|
-
"exports": [
|
|
6916
|
-
{
|
|
6917
|
-
"kind": "js",
|
|
6918
|
-
"name": "GENESIS_AGENT_NAME",
|
|
6919
|
-
"declaration": {
|
|
6920
|
-
"name": "GENESIS_AGENT_NAME",
|
|
6921
|
-
"module": "src/genesis/register-genesis-assistant.ts"
|
|
6922
|
-
}
|
|
6923
|
-
},
|
|
6924
|
-
{
|
|
6925
|
-
"kind": "js",
|
|
6926
|
-
"name": "registerGenesisAssistant",
|
|
6927
|
-
"declaration": {
|
|
6928
|
-
"name": "registerGenesisAssistant",
|
|
6929
|
-
"module": "src/genesis/register-genesis-assistant.ts"
|
|
6930
|
-
}
|
|
6931
|
-
}
|
|
6932
|
-
]
|
|
6933
|
-
},
|
|
6934
|
-
{
|
|
6935
|
-
"kind": "javascript-module",
|
|
6936
|
-
"path": "src/genesis/resource-tools.ts",
|
|
6937
|
-
"declarations": [
|
|
6938
|
-
{
|
|
6939
|
-
"kind": "variable",
|
|
6940
|
-
"name": "GENESIS_DATA_SOURCE",
|
|
6941
|
-
"type": {
|
|
6942
|
-
"text": "string"
|
|
6943
|
-
},
|
|
6944
|
-
"default": "'app-database'",
|
|
6945
|
-
"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."
|
|
6946
|
-
},
|
|
6947
|
-
{
|
|
6948
|
-
"kind": "function",
|
|
6949
|
-
"name": "createGenesisResourceTools",
|
|
6950
|
-
"return": {
|
|
6951
|
-
"type": {
|
|
6952
|
-
"text": "GenesisResourceTools"
|
|
6953
|
-
}
|
|
6954
|
-
},
|
|
6955
|
-
"parameters": [
|
|
6956
|
-
{
|
|
6957
|
-
"name": "resources",
|
|
6958
|
-
"type": {
|
|
6959
|
-
"text": "readonly GenesisAiResource[]"
|
|
6960
|
-
}
|
|
6961
|
-
},
|
|
6962
|
-
{
|
|
6963
|
-
"name": "options",
|
|
6964
|
-
"default": "{}",
|
|
6965
|
-
"type": {
|
|
6966
|
-
"text": "GenesisResourceToolsOptions"
|
|
6967
|
-
}
|
|
6968
|
-
}
|
|
6969
|
-
],
|
|
6970
|
-
"description": "Builds the assistant's tools from an app's resources."
|
|
6971
|
-
}
|
|
6972
|
-
],
|
|
6973
|
-
"exports": [
|
|
6974
|
-
{
|
|
6975
|
-
"kind": "js",
|
|
6976
|
-
"name": "GENESIS_DATA_SOURCE",
|
|
6977
|
-
"declaration": {
|
|
6978
|
-
"name": "GENESIS_DATA_SOURCE",
|
|
6979
|
-
"module": "src/genesis/resource-tools.ts"
|
|
6980
|
-
}
|
|
6981
|
-
},
|
|
6982
|
-
{
|
|
6983
|
-
"kind": "js",
|
|
6984
|
-
"name": "createGenesisResourceTools",
|
|
6985
|
-
"declaration": {
|
|
6986
|
-
"name": "createGenesisResourceTools",
|
|
6987
|
-
"module": "src/genesis/resource-tools.ts"
|
|
6988
|
-
}
|
|
6989
|
-
}
|
|
6990
|
-
]
|
|
6991
|
-
},
|
|
6992
|
-
{
|
|
6993
|
-
"kind": "javascript-module",
|
|
6994
|
-
"path": "src/genesis/review-model.ts",
|
|
6995
|
-
"declarations": [
|
|
6996
|
-
{
|
|
6997
|
-
"kind": "variable",
|
|
6998
|
-
"name": "LONG_VALUE",
|
|
6999
|
-
"type": {
|
|
7000
|
-
"text": "number"
|
|
7001
|
-
},
|
|
7002
|
-
"default": "24",
|
|
7003
|
-
"description": "Past this many characters a value wraps; at or under it, it stays on one line."
|
|
7004
|
-
}
|
|
7005
|
-
],
|
|
7006
|
-
"exports": [
|
|
7007
|
-
{
|
|
7008
|
-
"kind": "js",
|
|
7009
|
-
"name": "GenesisChangeRequest",
|
|
7010
|
-
"declaration": {
|
|
7011
|
-
"name": "GenesisChangeRequest",
|
|
7012
|
-
"module": "./review-payload"
|
|
7013
|
-
}
|
|
7014
|
-
},
|
|
7015
|
-
{
|
|
7016
|
-
"kind": "js",
|
|
7017
|
-
"name": "GenesisReviewPayload",
|
|
7018
|
-
"declaration": {
|
|
7019
|
-
"name": "GenesisReviewPayload",
|
|
7020
|
-
"module": "./review-payload"
|
|
7021
|
-
}
|
|
7022
|
-
},
|
|
7023
|
-
{
|
|
7024
|
-
"kind": "js",
|
|
7025
|
-
"name": "LONG_VALUE",
|
|
7026
|
-
"declaration": {
|
|
7027
|
-
"name": "LONG_VALUE",
|
|
7028
|
-
"module": "src/genesis/review-model.ts"
|
|
7029
|
-
}
|
|
7030
|
-
}
|
|
7031
|
-
]
|
|
7032
|
-
},
|
|
7033
|
-
{
|
|
7034
|
-
"kind": "javascript-module",
|
|
7035
|
-
"path": "src/genesis/review-payload.ts",
|
|
7036
|
-
"declarations": [],
|
|
7037
|
-
"exports": []
|
|
7038
|
-
},
|
|
7039
|
-
{
|
|
7040
|
-
"kind": "javascript-module",
|
|
7041
|
-
"path": "src/genesis/row-source.ts",
|
|
7042
|
-
"declarations": [],
|
|
7043
|
-
"exports": []
|
|
7044
|
-
},
|
|
7045
|
-
{
|
|
7046
|
-
"kind": "javascript-module",
|
|
7047
|
-
"path": "src/genesis/serialisable.ts",
|
|
7048
|
-
"declarations": [],
|
|
7049
|
-
"exports": []
|
|
7050
|
-
},
|
|
7051
|
-
{
|
|
7052
|
-
"kind": "javascript-module",
|
|
7053
|
-
"path": "src/genesis/server-text.ts",
|
|
7054
|
-
"declarations": [
|
|
7055
|
-
{
|
|
7056
|
-
"kind": "function",
|
|
7057
|
-
"name": "readsLikeFieldName",
|
|
7058
|
-
"return": {
|
|
7059
|
-
"type": {
|
|
7060
|
-
"text": "boolean"
|
|
7061
|
-
}
|
|
7062
|
-
},
|
|
7063
|
-
"parameters": [
|
|
7064
|
-
{
|
|
7065
|
-
"name": "text",
|
|
7066
|
-
"type": {
|
|
7067
|
-
"text": "string"
|
|
7068
|
-
}
|
|
7069
|
-
}
|
|
7070
|
-
],
|
|
7071
|
-
"description": "Whether text is a Genesis identifier, the FIELD_NAME shape. @internal"
|
|
7072
|
-
},
|
|
7073
|
-
{
|
|
7074
|
-
"kind": "function",
|
|
7075
|
-
"name": "describeFailure",
|
|
7076
|
-
"return": {
|
|
7077
|
-
"type": {
|
|
7078
|
-
"text": "string | undefined"
|
|
7079
|
-
}
|
|
7080
|
-
},
|
|
7081
|
-
"parameters": [
|
|
7082
|
-
{
|
|
7083
|
-
"name": "error",
|
|
7084
|
-
"type": {
|
|
7085
|
-
"text": "unknown"
|
|
7086
|
-
}
|
|
7087
|
-
}
|
|
7088
|
-
],
|
|
7089
|
-
"description": "Whatever a rejection turns out to be, as a sentence."
|
|
7090
|
-
}
|
|
7091
|
-
],
|
|
7092
|
-
"exports": [
|
|
7093
|
-
{
|
|
7094
|
-
"kind": "js",
|
|
7095
|
-
"name": "readsLikeFieldName",
|
|
7096
|
-
"declaration": {
|
|
7097
|
-
"name": "readsLikeFieldName",
|
|
7098
|
-
"module": "src/genesis/server-text.ts"
|
|
7099
|
-
}
|
|
7100
|
-
},
|
|
7101
|
-
{
|
|
7102
|
-
"kind": "js",
|
|
7103
|
-
"name": "describeFailure",
|
|
7104
|
-
"declaration": {
|
|
7105
|
-
"name": "describeFailure",
|
|
7106
|
-
"module": "src/genesis/server-text.ts"
|
|
7107
|
-
}
|
|
7108
|
-
}
|
|
7109
|
-
]
|
|
7110
|
-
},
|
|
7111
|
-
{
|
|
7112
|
-
"kind": "javascript-module",
|
|
7113
|
-
"path": "src/genesis/type-name.ts",
|
|
7114
|
-
"declarations": [],
|
|
7115
|
-
"exports": []
|
|
7116
|
-
},
|
|
7117
|
-
{
|
|
7118
|
-
"kind": "javascript-module",
|
|
7119
|
-
"path": "src/genesis/types.ts",
|
|
7120
|
-
"declarations": [
|
|
7121
|
-
{
|
|
7122
|
-
"kind": "variable",
|
|
7123
|
-
"name": "GENESIS_EVENT_OPS",
|
|
7124
|
-
"type": {
|
|
7125
|
-
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
7126
|
-
},
|
|
7127
|
-
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
7128
|
-
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
7129
|
-
}
|
|
7130
|
-
],
|
|
7131
|
-
"exports": [
|
|
7132
|
-
{
|
|
7133
|
-
"kind": "js",
|
|
7134
|
-
"name": "GENESIS_EVENT_OPS",
|
|
7135
|
-
"declaration": {
|
|
7136
|
-
"name": "GENESIS_EVENT_OPS",
|
|
7137
|
-
"module": "src/genesis/types.ts"
|
|
7138
|
-
}
|
|
7139
|
-
}
|
|
7140
|
-
]
|
|
7141
|
-
},
|
|
7142
|
-
{
|
|
7143
|
-
"kind": "javascript-module",
|
|
7144
|
-
"path": "src/genesis/value-compare.ts",
|
|
7145
|
-
"declarations": [],
|
|
7146
|
-
"exports": []
|
|
7147
|
-
},
|
|
7148
|
-
{
|
|
7149
|
-
"kind": "javascript-module",
|
|
7150
|
-
"path": "src/genesis/vendor-follower.ts",
|
|
7151
|
-
"declarations": [],
|
|
7152
|
-
"exports": []
|
|
7153
|
-
},
|
|
7154
|
-
{
|
|
7155
|
-
"kind": "javascript-module",
|
|
7156
|
-
"path": "src/genesis/vendor-pick.ts",
|
|
7157
|
-
"declarations": [],
|
|
7158
|
-
"exports": []
|
|
7159
|
-
},
|
|
7160
|
-
{
|
|
7161
|
-
"kind": "javascript-module",
|
|
7162
|
-
"path": "src/genesis/write-commit.ts",
|
|
7163
|
-
"declarations": [],
|
|
7164
|
-
"exports": []
|
|
7165
|
-
},
|
|
7166
|
-
{
|
|
7167
|
-
"kind": "javascript-module",
|
|
7168
|
-
"path": "src/genesis/write-op.ts",
|
|
7169
|
-
"declarations": [],
|
|
7170
|
-
"exports": []
|
|
7171
|
-
},
|
|
7172
|
-
{
|
|
7173
|
-
"kind": "javascript-module",
|
|
7174
|
-
"path": "src/genesis/write-outcome.ts",
|
|
7175
|
-
"declarations": [],
|
|
7176
|
-
"exports": []
|
|
7177
|
-
},
|
|
7178
|
-
{
|
|
7179
|
-
"kind": "javascript-module",
|
|
7180
|
-
"path": "src/genesis/write-payload.ts",
|
|
7181
|
-
"declarations": [
|
|
7182
|
-
{
|
|
7183
|
-
"kind": "function",
|
|
7184
|
-
"name": "buildEventPayload",
|
|
7185
|
-
"return": {
|
|
7186
|
-
"type": {
|
|
7187
|
-
"text": "PayloadResult"
|
|
7188
|
-
}
|
|
7189
|
-
},
|
|
7190
|
-
"parameters": [
|
|
7191
|
-
{
|
|
7192
|
-
"name": "fields",
|
|
7193
|
-
"type": {
|
|
7194
|
-
"text": "readonly GenesisEventField[]"
|
|
7195
|
-
}
|
|
7196
|
-
},
|
|
7197
|
-
{
|
|
7198
|
-
"name": "row",
|
|
7199
|
-
"type": {
|
|
7200
|
-
"text": "unknown"
|
|
7201
|
-
}
|
|
7202
|
-
},
|
|
7203
|
-
{
|
|
7204
|
-
"name": "{ op, preImage, unchecked }",
|
|
7205
|
-
"type": {
|
|
7206
|
-
"text": "BuildPayloadOptions"
|
|
7207
|
-
}
|
|
7208
|
-
}
|
|
7209
|
-
]
|
|
7210
|
-
}
|
|
7211
|
-
],
|
|
7212
|
-
"exports": [
|
|
7213
|
-
{
|
|
7214
|
-
"kind": "js",
|
|
7215
|
-
"name": "buildEventPayload",
|
|
7216
|
-
"declaration": {
|
|
7217
|
-
"name": "buildEventPayload",
|
|
7218
|
-
"module": "src/genesis/write-payload.ts"
|
|
7219
|
-
}
|
|
7220
|
-
}
|
|
7221
|
-
]
|
|
7222
|
-
},
|
|
7223
|
-
{
|
|
7224
|
-
"kind": "javascript-module",
|
|
7225
|
-
"path": "src/genesis/write-plan.ts",
|
|
7226
|
-
"declarations": [
|
|
7227
|
-
{
|
|
7228
|
-
"kind": "variable",
|
|
7229
|
-
"name": "MAX_WRITE_ROWS",
|
|
7230
|
-
"type": {
|
|
7231
|
-
"text": "number"
|
|
7232
|
-
},
|
|
7233
|
-
"default": "25",
|
|
7234
|
-
"description": "A batch a person can actually read before approving it."
|
|
7235
|
-
}
|
|
7236
|
-
],
|
|
7237
|
-
"exports": [
|
|
7238
|
-
{
|
|
7239
|
-
"kind": "js",
|
|
7240
|
-
"name": "MAX_WRITE_ROWS",
|
|
7241
|
-
"declaration": {
|
|
7242
|
-
"name": "MAX_WRITE_ROWS",
|
|
7243
|
-
"module": "src/genesis/write-plan.ts"
|
|
7244
|
-
}
|
|
7245
|
-
}
|
|
7246
|
-
]
|
|
7247
|
-
},
|
|
7248
|
-
{
|
|
7249
|
-
"kind": "javascript-module",
|
|
7250
|
-
"path": "src/genesis/write-tools.ts",
|
|
7251
|
-
"declarations": [
|
|
7252
|
-
{
|
|
7253
|
-
"kind": "function",
|
|
7254
|
-
"name": "createGenesisWriteTools",
|
|
7255
|
-
"return": {
|
|
7256
|
-
"type": {
|
|
7257
|
-
"text": "{\n toolDefinitions: () => Promise<ChatToolDefinition[]>;\n toolHandlers: ChatToolHandlers;\n /**\n * The events that can get a write tool, as far as the config can tell: an event refused for its\n * op, its rowSources entry or a malformed references, or a modify or delete with no row source,\n * is not among them. Their metadata, read when the tools are first listed, can still withhold one.\n */\n writableEvents: readonly string[];\n}"
|
|
7258
|
-
}
|
|
7259
|
-
},
|
|
7260
|
-
"parameters": [
|
|
7261
|
-
{
|
|
7262
|
-
"name": "resources",
|
|
7263
|
-
"type": {
|
|
7264
|
-
"text": "readonly GenesisAiResource[]"
|
|
7265
|
-
}
|
|
7266
|
-
},
|
|
7267
|
-
{
|
|
7268
|
-
"name": "options",
|
|
7269
|
-
"default": "{}",
|
|
7270
|
-
"type": {
|
|
7271
|
-
"text": "GenesisWriteToolsOptions"
|
|
7272
|
-
}
|
|
7273
|
-
}
|
|
7274
|
-
],
|
|
7275
|
-
"description": "Builds the assistant's write tools from an app's event resources."
|
|
7276
|
-
}
|
|
7277
|
-
],
|
|
7278
|
-
"exports": [
|
|
7279
|
-
{
|
|
7280
|
-
"kind": "js",
|
|
7281
|
-
"name": "createGenesisWriteTools",
|
|
7282
|
-
"declaration": {
|
|
7283
|
-
"name": "createGenesisWriteTools",
|
|
7284
|
-
"module": "src/genesis/write-tools.ts"
|
|
7285
|
-
}
|
|
7286
|
-
}
|
|
7287
|
-
]
|
|
7288
|
-
},
|
|
7289
|
-
{
|
|
7290
|
-
"kind": "javascript-module",
|
|
7291
|
-
"path": "src/genesis/write-turn.ts",
|
|
7292
|
-
"declarations": [],
|
|
7293
|
-
"exports": []
|
|
7294
|
-
},
|
|
7295
|
-
{
|
|
7296
|
-
"kind": "javascript-module",
|
|
7297
|
-
"path": "src/headless/describe-interaction.ts",
|
|
7298
|
-
"declarations": [
|
|
7299
|
-
{
|
|
7300
|
-
"kind": "function",
|
|
7301
|
-
"name": "describeInteraction",
|
|
7302
|
-
"return": {
|
|
7303
|
-
"type": {
|
|
7304
|
-
"text": "InteractionDescription"
|
|
7305
|
-
}
|
|
7306
|
-
},
|
|
7307
|
-
"parameters": [
|
|
7308
|
-
{
|
|
7309
|
-
"name": "input",
|
|
7310
|
-
"type": {
|
|
7311
|
-
"text": "DescribeInteractionInput"
|
|
7312
|
-
}
|
|
7313
|
-
}
|
|
7314
|
-
],
|
|
7315
|
-
"description": "What the person is being asked, as a compact JSON-serialisable record a model can read and\nanswer (GENC-1660): the same text the autopilot is sent for the decision (`renderDecision`,\nso there is one rendering of a decision, not two), and its actions as data, numbered as that text\nnumbers them, so \"1\" means the same option here and there.\n\nWith no surface — a widget with no controller, or one that has not exposed anything yet — there\nis nothing to act on: `controller` is `false` (or `true` and not `ready`, while a controller that\nwill expose a surface has not yet), `actions` is empty, and `text` is the widget as text alone.\n\nReads the surface fresh each time, so it describes the widget as it is now."
|
|
7316
|
-
}
|
|
7317
|
-
],
|
|
7318
|
-
"exports": [
|
|
7319
|
-
{
|
|
7320
|
-
"kind": "js",
|
|
7321
|
-
"name": "describeInteraction",
|
|
7322
|
-
"declaration": {
|
|
7323
|
-
"name": "describeInteraction",
|
|
7324
|
-
"module": "src/headless/describe-interaction.ts"
|
|
7325
|
-
}
|
|
7326
|
-
}
|
|
7327
|
-
]
|
|
7328
|
-
},
|
|
7329
|
-
{
|
|
7330
|
-
"kind": "javascript-module",
|
|
7331
|
-
"path": "src/headless/headless-debug.ts",
|
|
7332
|
-
"declarations": [
|
|
7333
|
-
{
|
|
7334
|
-
"kind": "function",
|
|
7335
|
-
"name": "headlessMetaSnapshot",
|
|
7336
|
-
"return": {
|
|
7337
|
-
"type": {
|
|
7338
|
-
"text": "DiagnosticEntry"
|
|
7339
|
-
}
|
|
7340
|
-
},
|
|
7341
|
-
"parameters": [
|
|
7342
|
-
{
|
|
7343
|
-
"name": "driver",
|
|
7344
|
-
"type": {
|
|
7345
|
-
"text": "AiDriver"
|
|
7346
|
-
}
|
|
7347
|
-
},
|
|
7348
|
-
{
|
|
7349
|
-
"name": "options",
|
|
7350
|
-
"default": "{}",
|
|
7351
|
-
"type": {
|
|
7352
|
-
"text": "HeadlessDebugOptions"
|
|
7353
|
-
}
|
|
7354
|
-
}
|
|
7355
|
-
],
|
|
7356
|
-
"description": "The `meta-snapshot` entry for right now, gathered the way the assistant element gathers it\n(`buildMetaSnapshot` does the assembly; this reads what it reports): the live agent comes from\nthe DRIVER, the transcript from its raw history, and the figures from the transcript, so what a\nheadless host logs is what the browser would. The context window and model, which the element\nlearns from its provider registry, are the host's to say."
|
|
7357
|
-
},
|
|
7358
|
-
{
|
|
7359
|
-
"kind": "function",
|
|
7360
|
-
"name": "headlessDiagnosticEntries",
|
|
7361
|
-
"return": {
|
|
7362
|
-
"type": {
|
|
7363
|
-
"text": "DiagnosticEntry[]"
|
|
7364
|
-
}
|
|
7365
|
-
},
|
|
7366
|
-
"parameters": [
|
|
7367
|
-
{
|
|
7368
|
-
"name": "driver",
|
|
7369
|
-
"type": {
|
|
7370
|
-
"text": "AiDriver"
|
|
7371
|
-
}
|
|
7372
|
-
},
|
|
7373
|
-
{
|
|
7374
|
-
"name": "stateKey",
|
|
7375
|
-
"type": {
|
|
7376
|
-
"text": "string"
|
|
7377
|
-
}
|
|
7378
|
-
},
|
|
7379
|
-
{
|
|
7380
|
-
"name": "options",
|
|
7381
|
-
"default": "{}",
|
|
7382
|
-
"type": {
|
|
7383
|
-
"text": "HeadlessDebugOptions"
|
|
7384
|
-
}
|
|
7385
|
-
}
|
|
7386
|
-
],
|
|
7387
|
-
"description": "The diagnostic entries for the session so far, from the same `buildDiagnosticEntries` the\nbrowser's element and its persister use."
|
|
7388
|
-
},
|
|
7389
|
-
{
|
|
7390
|
-
"kind": "function",
|
|
7391
|
-
"name": "headlessCurrentDebugLog",
|
|
7392
|
-
"return": {
|
|
7393
|
-
"type": {
|
|
7394
|
-
"text": "DebugLog"
|
|
7395
|
-
}
|
|
7396
|
-
},
|
|
7397
|
-
"parameters": [
|
|
7398
|
-
{
|
|
7399
|
-
"name": "driver",
|
|
7400
|
-
"type": {
|
|
7401
|
-
"text": "AiDriver"
|
|
7402
|
-
}
|
|
7403
|
-
},
|
|
7404
|
-
{
|
|
7405
|
-
"name": "stateKey",
|
|
7406
|
-
"type": {
|
|
7407
|
-
"text": "string"
|
|
7408
|
-
}
|
|
7409
|
-
},
|
|
7410
|
-
{
|
|
7411
|
-
"name": "options",
|
|
7412
|
-
"default": "{}",
|
|
7413
|
-
"type": {
|
|
7414
|
-
"text": "HeadlessDebugOptions"
|
|
7415
|
-
}
|
|
7416
|
-
}
|
|
7417
|
-
],
|
|
7418
|
-
"description": "The current page's debug log: what `HeadlessSession.debugLog()` returns when nothing is\npersisted, and the fallback when the stored stream cannot be read."
|
|
7419
|
-
}
|
|
7420
|
-
],
|
|
7421
|
-
"exports": [
|
|
7422
|
-
{
|
|
7423
|
-
"kind": "js",
|
|
7424
|
-
"name": "headlessMetaSnapshot",
|
|
7425
|
-
"declaration": {
|
|
7426
|
-
"name": "headlessMetaSnapshot",
|
|
7427
|
-
"module": "src/headless/headless-debug.ts"
|
|
7428
|
-
}
|
|
7429
|
-
},
|
|
7430
|
-
{
|
|
7431
|
-
"kind": "js",
|
|
7432
|
-
"name": "headlessDiagnosticEntries",
|
|
7433
|
-
"declaration": {
|
|
7434
|
-
"name": "headlessDiagnosticEntries",
|
|
7435
|
-
"module": "src/headless/headless-debug.ts"
|
|
7436
|
-
}
|
|
7437
|
-
},
|
|
7438
|
-
{
|
|
7439
|
-
"kind": "js",
|
|
7440
|
-
"name": "headlessCurrentDebugLog",
|
|
7441
|
-
"declaration": {
|
|
7442
|
-
"name": "headlessCurrentDebugLog",
|
|
7443
|
-
"module": "src/headless/headless-debug.ts"
|
|
7444
|
-
}
|
|
7445
|
-
}
|
|
7446
|
-
]
|
|
7447
|
-
},
|
|
7448
|
-
{
|
|
7449
|
-
"kind": "javascript-module",
|
|
7450
|
-
"path": "src/headless/headless-persistence.ts",
|
|
7451
|
-
"declarations": [
|
|
7452
|
-
{
|
|
7453
|
-
"kind": "function",
|
|
7454
|
-
"name": "headlessPersistence",
|
|
7455
|
-
"return": {
|
|
7456
|
-
"type": {
|
|
7457
|
-
"text": "HeadlessPersistence"
|
|
7458
|
-
}
|
|
7459
|
-
},
|
|
7460
|
-
"parameters": [
|
|
7461
|
-
{
|
|
7462
|
-
"name": "options",
|
|
7463
|
-
"type": {
|
|
7464
|
-
"text": "HeadlessPersistenceOptions"
|
|
7465
|
-
}
|
|
7466
|
-
}
|
|
7467
|
-
],
|
|
7468
|
-
"description": "Persistence for a `HeadlessSession`: it writes exactly what the browser writes — the\n`sessions/<key>` snapshot and the `diag/<key>` stream — through the platform's\n`SessionPersister` and the host's `SessionPersistenceProvider`, and builds the lifetime debug log\nfrom the same code as the browser's Download.\n\nExported from the package's main entry only, NOT from the Node entry (`./chat-driver`): it\nreaches the session store, and through it `@genesislcap/foundation-redux`, which are not\nNode-clean. The `persister` it makes is the registry's, so a host can restore through\n`getPersister(stateKey)`."
|
|
7469
|
-
}
|
|
7470
|
-
],
|
|
7471
|
-
"exports": [
|
|
7472
|
-
{
|
|
7473
|
-
"kind": "js",
|
|
7474
|
-
"name": "headlessPersistence",
|
|
7475
|
-
"declaration": {
|
|
7476
|
-
"name": "headlessPersistence",
|
|
7477
|
-
"module": "src/headless/headless-persistence.ts"
|
|
7478
|
-
}
|
|
7479
|
-
}
|
|
7480
|
-
]
|
|
7481
|
-
},
|
|
7482
|
-
{
|
|
7483
|
-
"kind": "javascript-module",
|
|
7484
|
-
"path": "src/headless/headless-session.ts",
|
|
7485
|
-
"declarations": [
|
|
7486
|
-
{
|
|
7487
|
-
"kind": "class",
|
|
7488
|
-
"description": "A driver with no screen: a way for a host with no browser (a coding agent behind a small HTTP\nserver, a test) to run a whole assistant journey as the person (GENC-1660).\n\nIt watches the driver for interactions and turns the conversation into an append-only log of\nplain-data events (see HeadlessEvent): `decision` when the person has something to\nanswer, `working` when someone else has it, `settled`, the visible `message`s, the end of each\n`turn`, the autopilot's state, and the host's own `probe`. The caller reads the log with\nHeadlessSession.wait, a long poll cursored by `seq`, so nothing is lost between calls.\nIt answers with HeadlessSession.act, which runs a widget's action as a click would, with\nthe same numbered options the autopilot is shown.\n\nIt only observes: its interceptor never claims an interaction, so an autopilot on the same\ndriver works as it always does, and what the session reports as a `decision` is what the autopilot\nhas handed to the person. Plain classes only: no DOM, no FAST.",
|
|
7489
|
-
"name": "HeadlessSession",
|
|
7490
|
-
"members": [
|
|
7491
|
-
{
|
|
7492
|
-
"kind": "field",
|
|
7493
|
-
"name": "sessionKey",
|
|
7494
|
-
"type": {
|
|
7495
|
-
"text": "string"
|
|
7496
|
-
},
|
|
7497
|
-
"privacy": "private",
|
|
7498
|
-
"readonly": true
|
|
7499
|
-
},
|
|
7500
|
-
{
|
|
7501
|
-
"kind": "field",
|
|
7502
|
-
"name": "allowRaw",
|
|
7503
|
-
"type": {
|
|
7504
|
-
"text": "boolean"
|
|
7505
|
-
},
|
|
7506
|
-
"privacy": "private",
|
|
7507
|
-
"readonly": true
|
|
7508
|
-
},
|
|
7509
|
-
{
|
|
7510
|
-
"kind": "field",
|
|
7511
|
-
"name": "clock",
|
|
7512
|
-
"type": {
|
|
7513
|
-
"text": "() => number"
|
|
7514
|
-
},
|
|
7515
|
-
"privacy": "private",
|
|
7516
|
-
"readonly": true
|
|
7517
|
-
},
|
|
7518
|
-
{
|
|
7519
|
-
"kind": "field",
|
|
7520
|
-
"name": "autopilotHost",
|
|
7521
|
-
"type": {
|
|
7522
|
-
"text": "AutopilotLike | undefined"
|
|
7523
|
-
},
|
|
7524
|
-
"privacy": "private",
|
|
7525
|
-
"readonly": true,
|
|
7526
|
-
"default": "autopilot"
|
|
7527
|
-
},
|
|
7528
|
-
{
|
|
7529
|
-
"kind": "field",
|
|
7530
|
-
"name": "events",
|
|
7531
|
-
"type": {
|
|
7532
|
-
"text": "HeadlessEvent[]"
|
|
7533
|
-
},
|
|
7534
|
-
"privacy": "private",
|
|
7535
|
-
"readonly": true,
|
|
7536
|
-
"default": "[]"
|
|
7537
|
-
},
|
|
7538
|
-
{
|
|
7539
|
-
"kind": "field",
|
|
7540
|
-
"name": "seq",
|
|
7541
|
-
"type": {
|
|
7542
|
-
"text": "number"
|
|
7543
|
-
},
|
|
7544
|
-
"privacy": "private",
|
|
7545
|
-
"default": "0"
|
|
7546
|
-
},
|
|
7547
|
-
{
|
|
7548
|
-
"kind": "field",
|
|
7549
|
-
"name": "tracked",
|
|
7550
|
-
"privacy": "private",
|
|
7551
|
-
"readonly": true,
|
|
7552
|
-
"default": "new Map<string, Tracked>()"
|
|
7553
|
-
},
|
|
7554
|
-
{
|
|
7555
|
-
"kind": "field",
|
|
7556
|
-
"name": "origin",
|
|
7557
|
-
"privacy": "private",
|
|
7558
|
-
"readonly": true,
|
|
7559
|
-
"default": "new Map<string, { auto?: boolean; raw?: boolean }>()",
|
|
7560
|
-
"description": "What the session did to an interaction itself, for `settled` to say when the driver reports it."
|
|
7561
|
-
},
|
|
7562
|
-
{
|
|
7563
|
-
"kind": "field",
|
|
7564
|
-
"name": "waiters",
|
|
7565
|
-
"privacy": "private",
|
|
7566
|
-
"readonly": true,
|
|
7567
|
-
"default": "new Set<Waiter>()"
|
|
7568
|
-
},
|
|
7569
|
-
{
|
|
7570
|
-
"kind": "field",
|
|
7571
|
-
"name": "teardown",
|
|
7572
|
-
"type": {
|
|
7573
|
-
"text": "Array<() => void>"
|
|
7574
|
-
},
|
|
7575
|
-
"privacy": "private",
|
|
7576
|
-
"readonly": true,
|
|
7577
|
-
"default": "[]"
|
|
7578
|
-
},
|
|
7579
|
-
{
|
|
7580
|
-
"kind": "field",
|
|
7581
|
-
"name": "seen",
|
|
7582
|
-
"type": {
|
|
7583
|
-
"text": "number"
|
|
7584
|
-
},
|
|
7585
|
-
"privacy": "private",
|
|
7586
|
-
"description": "How much of the driver's history has been reported as messages."
|
|
7587
|
-
},
|
|
7588
|
-
{
|
|
7589
|
-
"kind": "field",
|
|
7590
|
-
"name": "turn",
|
|
7591
|
-
"type": {
|
|
7592
|
-
"text": "Promise<unknown> | undefined"
|
|
7593
|
-
},
|
|
7594
|
-
"privacy": "private",
|
|
7595
|
-
"description": "The `send` in flight, if any."
|
|
7596
|
-
},
|
|
7597
|
-
{
|
|
7598
|
-
"kind": "field",
|
|
7599
|
-
"name": "open",
|
|
7600
|
-
"type": {
|
|
7601
|
-
"text": "{ start: number; reason?: string; failureReason?: string } | undefined"
|
|
7602
|
-
},
|
|
7603
|
-
"privacy": "private",
|
|
7604
|
-
"description": "The turn that is running, whoever started it, until the driver has been idle for a beat:\n`start` is where its messages begin in the history. Its `reason` and `failureReason` are what\nended it, when something said."
|
|
7605
|
-
},
|
|
7606
|
-
{
|
|
7607
|
-
"kind": "field",
|
|
7608
|
-
"name": "base",
|
|
7609
|
-
"type": {
|
|
7610
|
-
"text": "number"
|
|
7611
|
-
},
|
|
7612
|
-
"privacy": "private",
|
|
7613
|
-
"description": "History length when the last turn closed: where a turn the session did not start begins."
|
|
7614
|
-
},
|
|
7615
|
-
{
|
|
7616
|
-
"kind": "field",
|
|
7617
|
-
"name": "quiesceTimer",
|
|
7618
|
-
"type": {
|
|
7619
|
-
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
7620
|
-
},
|
|
7621
|
-
"privacy": "private"
|
|
7622
|
-
},
|
|
7623
|
-
{
|
|
7624
|
-
"kind": "field",
|
|
7625
|
-
"name": "poller",
|
|
7626
|
-
"type": {
|
|
7627
|
-
"text": "ReturnType<typeof setInterval> | undefined"
|
|
7628
|
-
},
|
|
7629
|
-
"privacy": "private"
|
|
7630
|
-
},
|
|
7631
|
-
{
|
|
7632
|
-
"kind": "field",
|
|
7633
|
-
"name": "persistence",
|
|
7634
|
-
"type": {
|
|
7635
|
-
"text": "HeadlessPersistenceBinding | undefined"
|
|
7636
|
-
},
|
|
7637
|
-
"privacy": "private",
|
|
7638
|
-
"readonly": true
|
|
7639
|
-
},
|
|
7640
|
-
{
|
|
7641
|
-
"kind": "field",
|
|
7642
|
-
"name": "lastProbe",
|
|
7643
|
-
"type": {
|
|
7644
|
-
"text": "Record<string, unknown>"
|
|
7645
|
-
},
|
|
7646
|
-
"privacy": "private",
|
|
7647
|
-
"default": "{}"
|
|
7648
|
-
},
|
|
7649
|
-
{
|
|
7650
|
-
"kind": "field",
|
|
7651
|
-
"name": "lastAutopilot",
|
|
6344
|
+
"kind": "field",
|
|
6345
|
+
"name": "seq",
|
|
6346
|
+
"type": {
|
|
6347
|
+
"text": "number"
|
|
6348
|
+
},
|
|
6349
|
+
"privacy": "private",
|
|
6350
|
+
"default": "0"
|
|
6351
|
+
},
|
|
6352
|
+
{
|
|
6353
|
+
"kind": "field",
|
|
6354
|
+
"name": "tracked",
|
|
6355
|
+
"privacy": "private",
|
|
6356
|
+
"readonly": true,
|
|
6357
|
+
"default": "new Map<string, Tracked>()"
|
|
6358
|
+
},
|
|
6359
|
+
{
|
|
6360
|
+
"kind": "field",
|
|
6361
|
+
"name": "origin",
|
|
6362
|
+
"privacy": "private",
|
|
6363
|
+
"readonly": true,
|
|
6364
|
+
"default": "new Map<string, { auto?: boolean; raw?: boolean }>()",
|
|
6365
|
+
"description": "What the session did to an interaction itself, for `settled` to say when the driver reports it."
|
|
6366
|
+
},
|
|
6367
|
+
{
|
|
6368
|
+
"kind": "field",
|
|
6369
|
+
"name": "waiters",
|
|
6370
|
+
"privacy": "private",
|
|
6371
|
+
"readonly": true,
|
|
6372
|
+
"default": "new Set<Waiter>()"
|
|
6373
|
+
},
|
|
6374
|
+
{
|
|
6375
|
+
"kind": "field",
|
|
6376
|
+
"name": "teardown",
|
|
6377
|
+
"type": {
|
|
6378
|
+
"text": "Array<() => void>"
|
|
6379
|
+
},
|
|
6380
|
+
"privacy": "private",
|
|
6381
|
+
"readonly": true,
|
|
6382
|
+
"default": "[]"
|
|
6383
|
+
},
|
|
6384
|
+
{
|
|
6385
|
+
"kind": "field",
|
|
6386
|
+
"name": "seen",
|
|
6387
|
+
"type": {
|
|
6388
|
+
"text": "number"
|
|
6389
|
+
},
|
|
6390
|
+
"privacy": "private",
|
|
6391
|
+
"description": "How much of the driver's history has been reported as messages."
|
|
6392
|
+
},
|
|
6393
|
+
{
|
|
6394
|
+
"kind": "field",
|
|
6395
|
+
"name": "turn",
|
|
6396
|
+
"type": {
|
|
6397
|
+
"text": "Promise<unknown> | undefined"
|
|
6398
|
+
},
|
|
6399
|
+
"privacy": "private",
|
|
6400
|
+
"description": "The `send` in flight, if any."
|
|
6401
|
+
},
|
|
6402
|
+
{
|
|
6403
|
+
"kind": "field",
|
|
6404
|
+
"name": "open",
|
|
6405
|
+
"type": {
|
|
6406
|
+
"text": "{ start: number; reason?: string; failureReason?: string } | undefined"
|
|
6407
|
+
},
|
|
6408
|
+
"privacy": "private",
|
|
6409
|
+
"description": "The turn that is running, whoever started it, until the driver has been idle for a beat:\n`start` is where its messages begin in the history. Its `reason` and `failureReason` are what\nended it, when something said."
|
|
6410
|
+
},
|
|
6411
|
+
{
|
|
6412
|
+
"kind": "field",
|
|
6413
|
+
"name": "base",
|
|
6414
|
+
"type": {
|
|
6415
|
+
"text": "number"
|
|
6416
|
+
},
|
|
6417
|
+
"privacy": "private",
|
|
6418
|
+
"description": "History length when the last turn closed: where a turn the session did not start begins."
|
|
6419
|
+
},
|
|
6420
|
+
{
|
|
6421
|
+
"kind": "field",
|
|
6422
|
+
"name": "quiesceTimer",
|
|
6423
|
+
"type": {
|
|
6424
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
6425
|
+
},
|
|
6426
|
+
"privacy": "private"
|
|
6427
|
+
},
|
|
6428
|
+
{
|
|
6429
|
+
"kind": "field",
|
|
6430
|
+
"name": "poller",
|
|
6431
|
+
"type": {
|
|
6432
|
+
"text": "ReturnType<typeof setInterval> | undefined"
|
|
6433
|
+
},
|
|
6434
|
+
"privacy": "private"
|
|
6435
|
+
},
|
|
6436
|
+
{
|
|
6437
|
+
"kind": "field",
|
|
6438
|
+
"name": "persistence",
|
|
6439
|
+
"type": {
|
|
6440
|
+
"text": "HeadlessPersistenceBinding | undefined"
|
|
6441
|
+
},
|
|
6442
|
+
"privacy": "private",
|
|
6443
|
+
"readonly": true
|
|
6444
|
+
},
|
|
6445
|
+
{
|
|
6446
|
+
"kind": "field",
|
|
6447
|
+
"name": "lastProbe",
|
|
6448
|
+
"type": {
|
|
6449
|
+
"text": "Record<string, unknown>"
|
|
6450
|
+
},
|
|
6451
|
+
"privacy": "private",
|
|
6452
|
+
"default": "{}"
|
|
6453
|
+
},
|
|
6454
|
+
{
|
|
6455
|
+
"kind": "field",
|
|
6456
|
+
"name": "lastAutopilot",
|
|
7652
6457
|
"type": {
|
|
7653
6458
|
"text": "string"
|
|
7654
6459
|
},
|
|
@@ -7933,89 +6738,301 @@
|
|
|
7933
6738
|
},
|
|
7934
6739
|
"parameters": [
|
|
7935
6740
|
{
|
|
7936
|
-
"name": "type",
|
|
6741
|
+
"name": "type",
|
|
6742
|
+
"type": {
|
|
6743
|
+
"text": "string"
|
|
6744
|
+
}
|
|
6745
|
+
},
|
|
6746
|
+
{
|
|
6747
|
+
"name": "handler",
|
|
6748
|
+
"type": {
|
|
6749
|
+
"text": "(e: Event) => void"
|
|
6750
|
+
}
|
|
6751
|
+
}
|
|
6752
|
+
]
|
|
6753
|
+
},
|
|
6754
|
+
{
|
|
6755
|
+
"kind": "method",
|
|
6756
|
+
"name": "history",
|
|
6757
|
+
"privacy": "private",
|
|
6758
|
+
"return": {
|
|
6759
|
+
"type": {
|
|
6760
|
+
"text": "readonly ChatMessage[]"
|
|
6761
|
+
}
|
|
6762
|
+
}
|
|
6763
|
+
},
|
|
6764
|
+
{
|
|
6765
|
+
"kind": "method",
|
|
6766
|
+
"name": "onOpened",
|
|
6767
|
+
"privacy": "private",
|
|
6768
|
+
"return": {
|
|
6769
|
+
"type": {
|
|
6770
|
+
"text": "void"
|
|
6771
|
+
}
|
|
6772
|
+
},
|
|
6773
|
+
"parameters": [
|
|
6774
|
+
{
|
|
6775
|
+
"name": "opened",
|
|
6776
|
+
"type": {
|
|
6777
|
+
"text": "InteractionOpened"
|
|
6778
|
+
}
|
|
6779
|
+
}
|
|
6780
|
+
],
|
|
6781
|
+
"description": "An interaction opened: watch it. Who holds it is not decided yet, so it is reported later."
|
|
6782
|
+
},
|
|
6783
|
+
{
|
|
6784
|
+
"kind": "method",
|
|
6785
|
+
"name": "onSettled",
|
|
6786
|
+
"privacy": "private",
|
|
6787
|
+
"return": {
|
|
6788
|
+
"type": {
|
|
6789
|
+
"text": "void"
|
|
6790
|
+
}
|
|
6791
|
+
},
|
|
6792
|
+
"parameters": [
|
|
6793
|
+
{
|
|
6794
|
+
"name": "detail",
|
|
6795
|
+
"type": {
|
|
6796
|
+
"text": "{\n interactionId: string;\n answeredBy?: string;\n resolvedItself?: boolean;\n }"
|
|
6797
|
+
}
|
|
6798
|
+
}
|
|
6799
|
+
],
|
|
6800
|
+
"description": "The driver says an interaction settled, by whatever route."
|
|
6801
|
+
},
|
|
6802
|
+
{
|
|
6803
|
+
"kind": "method",
|
|
6804
|
+
"name": "onEnded",
|
|
6805
|
+
"privacy": "private",
|
|
6806
|
+
"return": {
|
|
6807
|
+
"type": {
|
|
6808
|
+
"text": "void"
|
|
6809
|
+
}
|
|
6810
|
+
},
|
|
6811
|
+
"parameters": [
|
|
6812
|
+
{
|
|
6813
|
+
"name": "t",
|
|
6814
|
+
"type": {
|
|
6815
|
+
"text": "Tracked"
|
|
6816
|
+
}
|
|
6817
|
+
}
|
|
6818
|
+
],
|
|
6819
|
+
"description": "The interaction's context was disposed: if nothing said it settled, say it did."
|
|
6820
|
+
},
|
|
6821
|
+
{
|
|
6822
|
+
"kind": "method",
|
|
6823
|
+
"name": "settle",
|
|
6824
|
+
"privacy": "private",
|
|
6825
|
+
"return": {
|
|
6826
|
+
"type": {
|
|
6827
|
+
"text": "void"
|
|
6828
|
+
}
|
|
6829
|
+
},
|
|
6830
|
+
"parameters": [
|
|
6831
|
+
{
|
|
6832
|
+
"name": "t",
|
|
6833
|
+
"type": {
|
|
6834
|
+
"text": "Tracked"
|
|
6835
|
+
}
|
|
6836
|
+
},
|
|
6837
|
+
{
|
|
6838
|
+
"name": "how",
|
|
6839
|
+
"type": {
|
|
6840
|
+
"text": "{ answeredBy?: string; resolvedItself?: boolean; auto?: boolean; raw?: boolean }"
|
|
6841
|
+
}
|
|
6842
|
+
}
|
|
6843
|
+
]
|
|
6844
|
+
},
|
|
6845
|
+
{
|
|
6846
|
+
"kind": "method",
|
|
6847
|
+
"name": "release",
|
|
6848
|
+
"privacy": "private",
|
|
6849
|
+
"return": {
|
|
6850
|
+
"type": {
|
|
6851
|
+
"text": "void"
|
|
6852
|
+
}
|
|
6853
|
+
},
|
|
6854
|
+
"parameters": [
|
|
6855
|
+
{
|
|
6856
|
+
"name": "t",
|
|
6857
|
+
"type": {
|
|
6858
|
+
"text": "Tracked"
|
|
6859
|
+
}
|
|
6860
|
+
}
|
|
6861
|
+
]
|
|
6862
|
+
},
|
|
6863
|
+
{
|
|
6864
|
+
"kind": "method",
|
|
6865
|
+
"name": "onHistory",
|
|
6866
|
+
"privacy": "private",
|
|
6867
|
+
"return": {
|
|
6868
|
+
"type": {
|
|
6869
|
+
"text": "void"
|
|
6870
|
+
}
|
|
6871
|
+
},
|
|
6872
|
+
"description": "New messages in the driver's history: report what the person would see of them."
|
|
6873
|
+
},
|
|
6874
|
+
{
|
|
6875
|
+
"kind": "method",
|
|
6876
|
+
"name": "reportMessages",
|
|
6877
|
+
"privacy": "private",
|
|
6878
|
+
"return": {
|
|
6879
|
+
"type": {
|
|
6880
|
+
"text": "void"
|
|
6881
|
+
}
|
|
6882
|
+
}
|
|
6883
|
+
},
|
|
6884
|
+
{
|
|
6885
|
+
"kind": "method",
|
|
6886
|
+
"name": "onAutopilot",
|
|
6887
|
+
"privacy": "private",
|
|
6888
|
+
"return": {
|
|
6889
|
+
"type": {
|
|
6890
|
+
"text": "void"
|
|
6891
|
+
}
|
|
6892
|
+
}
|
|
6893
|
+
},
|
|
6894
|
+
{
|
|
6895
|
+
"kind": "method",
|
|
6896
|
+
"name": "autopilotSignature",
|
|
6897
|
+
"privacy": "private",
|
|
6898
|
+
"return": {
|
|
6899
|
+
"type": {
|
|
6900
|
+
"text": "string"
|
|
6901
|
+
}
|
|
6902
|
+
}
|
|
6903
|
+
},
|
|
6904
|
+
{
|
|
6905
|
+
"kind": "method",
|
|
6906
|
+
"name": "describe",
|
|
6907
|
+
"privacy": "private",
|
|
6908
|
+
"return": {
|
|
6909
|
+
"type": {
|
|
6910
|
+
"text": "InteractionDescription"
|
|
6911
|
+
}
|
|
6912
|
+
},
|
|
6913
|
+
"parameters": [
|
|
6914
|
+
{
|
|
6915
|
+
"name": "t",
|
|
6916
|
+
"type": {
|
|
6917
|
+
"text": "Tracked"
|
|
6918
|
+
}
|
|
6919
|
+
}
|
|
6920
|
+
]
|
|
6921
|
+
},
|
|
6922
|
+
{
|
|
6923
|
+
"kind": "method",
|
|
6924
|
+
"name": "evaluate",
|
|
6925
|
+
"privacy": "private",
|
|
6926
|
+
"return": {
|
|
6927
|
+
"type": {
|
|
6928
|
+
"text": "void"
|
|
6929
|
+
}
|
|
6930
|
+
},
|
|
6931
|
+
"parameters": [
|
|
6932
|
+
{
|
|
6933
|
+
"name": "t",
|
|
6934
|
+
"type": {
|
|
6935
|
+
"text": "Tracked"
|
|
6936
|
+
}
|
|
6937
|
+
}
|
|
6938
|
+
],
|
|
6939
|
+
"description": "Report where an interaction stands, when that has changed. A `decision` when the person holds\nit and can act; `working` when a claimant holds it or it is not ready yet. A `decision` is\nlogged again only when its description changed materially: who holds it, whether it is ready\nor has a controller, or which actions are enabled. The text and facts alone do not count."
|
|
6940
|
+
},
|
|
6941
|
+
{
|
|
6942
|
+
"kind": "method",
|
|
6943
|
+
"name": "autoSettle",
|
|
6944
|
+
"privacy": "private",
|
|
6945
|
+
"return": {
|
|
6946
|
+
"type": {
|
|
6947
|
+
"text": "boolean"
|
|
6948
|
+
}
|
|
6949
|
+
},
|
|
6950
|
+
"parameters": [
|
|
6951
|
+
{
|
|
6952
|
+
"name": "t",
|
|
6953
|
+
"type": {
|
|
6954
|
+
"text": "Tracked"
|
|
6955
|
+
}
|
|
6956
|
+
}
|
|
6957
|
+
],
|
|
6958
|
+
"description": "Settle a widget that settles itself in a browser, as it would on mounting. Once, and only when\nthe person holds it. Returns whether it settled it."
|
|
6959
|
+
},
|
|
6960
|
+
{
|
|
6961
|
+
"kind": "method",
|
|
6962
|
+
"name": "readTool",
|
|
6963
|
+
"privacy": "private",
|
|
6964
|
+
"return": {
|
|
6965
|
+
"type": {
|
|
6966
|
+
"text": "Promise<HeadlessReadResult>"
|
|
6967
|
+
}
|
|
6968
|
+
},
|
|
6969
|
+
"parameters": [
|
|
6970
|
+
{
|
|
6971
|
+
"name": "t",
|
|
6972
|
+
"type": {
|
|
6973
|
+
"text": "Tracked"
|
|
6974
|
+
}
|
|
6975
|
+
},
|
|
6976
|
+
{
|
|
6977
|
+
"name": "name",
|
|
7937
6978
|
"type": {
|
|
7938
6979
|
"text": "string"
|
|
7939
6980
|
}
|
|
7940
6981
|
},
|
|
7941
6982
|
{
|
|
7942
|
-
"name": "
|
|
6983
|
+
"name": "args",
|
|
7943
6984
|
"type": {
|
|
7944
|
-
"text": "
|
|
6985
|
+
"text": "Record<string, unknown> | undefined"
|
|
7945
6986
|
}
|
|
7946
6987
|
}
|
|
7947
6988
|
]
|
|
7948
6989
|
},
|
|
7949
6990
|
{
|
|
7950
6991
|
"kind": "method",
|
|
7951
|
-
"name": "
|
|
6992
|
+
"name": "observe",
|
|
7952
6993
|
"privacy": "private",
|
|
7953
6994
|
"return": {
|
|
7954
6995
|
"type": {
|
|
7955
|
-
"text": "
|
|
6996
|
+
"text": "void"
|
|
7956
6997
|
}
|
|
7957
|
-
}
|
|
6998
|
+
},
|
|
6999
|
+
"description": "Notice a turn begin or end, whoever started it. The driver being busy (or a `send` in flight)\nis a turn; once it has been idle for a beat the turn is over and is reported, once. The beat\ncovers the gaps inside one turn, such as a hand-off continuing it, which are a microtask long.\nA turn that begins the instant another ends, with no idle between, is reported as one."
|
|
7958
7000
|
},
|
|
7959
7001
|
{
|
|
7960
7002
|
"kind": "method",
|
|
7961
|
-
"name": "
|
|
7003
|
+
"name": "closeTurn",
|
|
7962
7004
|
"privacy": "private",
|
|
7963
7005
|
"return": {
|
|
7964
7006
|
"type": {
|
|
7965
7007
|
"text": "void"
|
|
7966
7008
|
}
|
|
7967
7009
|
},
|
|
7968
|
-
"
|
|
7969
|
-
{
|
|
7970
|
-
"name": "opened",
|
|
7971
|
-
"type": {
|
|
7972
|
-
"text": "InteractionOpened"
|
|
7973
|
-
}
|
|
7974
|
-
}
|
|
7975
|
-
],
|
|
7976
|
-
"description": "An interaction opened: watch it. Who holds it is not decided yet, so it is reported later."
|
|
7010
|
+
"description": "Report the open turn as ended, unless the driver is busy again."
|
|
7977
7011
|
},
|
|
7978
7012
|
{
|
|
7979
7013
|
"kind": "method",
|
|
7980
|
-
"name": "
|
|
7014
|
+
"name": "startPolling",
|
|
7981
7015
|
"privacy": "private",
|
|
7982
7016
|
"return": {
|
|
7983
7017
|
"type": {
|
|
7984
7018
|
"text": "void"
|
|
7985
7019
|
}
|
|
7986
7020
|
},
|
|
7987
|
-
"
|
|
7988
|
-
{
|
|
7989
|
-
"name": "detail",
|
|
7990
|
-
"type": {
|
|
7991
|
-
"text": "{\n interactionId: string;\n answeredBy?: string;\n resolvedItself?: boolean;\n }"
|
|
7992
|
-
}
|
|
7993
|
-
}
|
|
7994
|
-
],
|
|
7995
|
-
"description": "The driver says an interaction settled, by whatever route."
|
|
7021
|
+
"description": "Without a shared bus nothing says a turn ended, so while one is open the driver is asked."
|
|
7996
7022
|
},
|
|
7997
7023
|
{
|
|
7998
7024
|
"kind": "method",
|
|
7999
|
-
"name": "
|
|
7025
|
+
"name": "stopPolling",
|
|
8000
7026
|
"privacy": "private",
|
|
8001
7027
|
"return": {
|
|
8002
7028
|
"type": {
|
|
8003
7029
|
"text": "void"
|
|
8004
7030
|
}
|
|
8005
|
-
}
|
|
8006
|
-
"parameters": [
|
|
8007
|
-
{
|
|
8008
|
-
"name": "t",
|
|
8009
|
-
"type": {
|
|
8010
|
-
"text": "Tracked"
|
|
8011
|
-
}
|
|
8012
|
-
}
|
|
8013
|
-
],
|
|
8014
|
-
"description": "The interaction's context was disposed: if nothing said it settled, say it did."
|
|
7031
|
+
}
|
|
8015
7032
|
},
|
|
8016
7033
|
{
|
|
8017
7034
|
"kind": "method",
|
|
8018
|
-
"name": "
|
|
7035
|
+
"name": "logTurn",
|
|
8019
7036
|
"privacy": "private",
|
|
8020
7037
|
"return": {
|
|
8021
7038
|
"type": {
|
|
@@ -8024,22 +7041,28 @@
|
|
|
8024
7041
|
},
|
|
8025
7042
|
"parameters": [
|
|
8026
7043
|
{
|
|
8027
|
-
"name": "
|
|
7044
|
+
"name": "reason",
|
|
8028
7045
|
"type": {
|
|
8029
|
-
"text": "
|
|
7046
|
+
"text": "string"
|
|
8030
7047
|
}
|
|
8031
7048
|
},
|
|
8032
7049
|
{
|
|
8033
|
-
"name": "
|
|
7050
|
+
"name": "failureReason",
|
|
8034
7051
|
"type": {
|
|
8035
|
-
"text": "
|
|
7052
|
+
"text": "string | undefined"
|
|
7053
|
+
}
|
|
7054
|
+
},
|
|
7055
|
+
{
|
|
7056
|
+
"name": "start",
|
|
7057
|
+
"type": {
|
|
7058
|
+
"text": "number"
|
|
8036
7059
|
}
|
|
8037
7060
|
}
|
|
8038
7061
|
]
|
|
8039
7062
|
},
|
|
8040
7063
|
{
|
|
8041
7064
|
"kind": "method",
|
|
8042
|
-
"name": "
|
|
7065
|
+
"name": "log",
|
|
8043
7066
|
"privacy": "private",
|
|
8044
7067
|
"return": {
|
|
8045
7068
|
"type": {
|
|
@@ -8048,545 +7071,1522 @@
|
|
|
8048
7071
|
},
|
|
8049
7072
|
"parameters": [
|
|
8050
7073
|
{
|
|
8051
|
-
"name": "
|
|
7074
|
+
"name": "event",
|
|
8052
7075
|
"type": {
|
|
8053
|
-
"text": "
|
|
7076
|
+
"text": "NewEvent"
|
|
8054
7077
|
}
|
|
8055
7078
|
}
|
|
8056
7079
|
]
|
|
8057
7080
|
},
|
|
8058
7081
|
{
|
|
8059
7082
|
"kind": "method",
|
|
8060
|
-
"name": "
|
|
7083
|
+
"name": "append",
|
|
8061
7084
|
"privacy": "private",
|
|
8062
7085
|
"return": {
|
|
8063
7086
|
"type": {
|
|
8064
7087
|
"text": "void"
|
|
8065
7088
|
}
|
|
8066
7089
|
},
|
|
8067
|
-
"
|
|
7090
|
+
"parameters": [
|
|
7091
|
+
{
|
|
7092
|
+
"name": "event",
|
|
7093
|
+
"type": {
|
|
7094
|
+
"text": "NewEvent"
|
|
7095
|
+
}
|
|
7096
|
+
}
|
|
7097
|
+
]
|
|
8068
7098
|
},
|
|
8069
7099
|
{
|
|
8070
7100
|
"kind": "method",
|
|
8071
|
-
"name": "
|
|
7101
|
+
"name": "readProbe",
|
|
8072
7102
|
"privacy": "private",
|
|
8073
7103
|
"return": {
|
|
8074
7104
|
"type": {
|
|
8075
|
-
"text": "
|
|
7105
|
+
"text": "Record<string, unknown>"
|
|
8076
7106
|
}
|
|
8077
7107
|
}
|
|
8078
7108
|
},
|
|
8079
7109
|
{
|
|
8080
7110
|
"kind": "method",
|
|
8081
|
-
"name": "
|
|
7111
|
+
"name": "checkProbe",
|
|
8082
7112
|
"privacy": "private",
|
|
8083
7113
|
"return": {
|
|
8084
7114
|
"type": {
|
|
8085
7115
|
"text": "void"
|
|
8086
7116
|
}
|
|
8087
|
-
}
|
|
7117
|
+
},
|
|
7118
|
+
"description": "Read the probe again; a change in any top-level value is a `probe` event."
|
|
8088
7119
|
},
|
|
8089
7120
|
{
|
|
8090
|
-
"kind": "method",
|
|
8091
|
-
"name": "
|
|
8092
|
-
"privacy": "private",
|
|
8093
|
-
"return": {
|
|
8094
|
-
"type": {
|
|
8095
|
-
"text": "
|
|
8096
|
-
}
|
|
7121
|
+
"kind": "method",
|
|
7122
|
+
"name": "waited",
|
|
7123
|
+
"privacy": "private",
|
|
7124
|
+
"return": {
|
|
7125
|
+
"type": {
|
|
7126
|
+
"text": "HeadlessWaitResult"
|
|
7127
|
+
}
|
|
7128
|
+
},
|
|
7129
|
+
"parameters": [
|
|
7130
|
+
{
|
|
7131
|
+
"name": "since",
|
|
7132
|
+
"type": {
|
|
7133
|
+
"text": "number"
|
|
7134
|
+
}
|
|
7135
|
+
},
|
|
7136
|
+
{
|
|
7137
|
+
"name": "status",
|
|
7138
|
+
"type": {
|
|
7139
|
+
"text": "HeadlessWaitResult['status']"
|
|
7140
|
+
}
|
|
7141
|
+
}
|
|
7142
|
+
]
|
|
7143
|
+
}
|
|
7144
|
+
]
|
|
7145
|
+
}
|
|
7146
|
+
],
|
|
7147
|
+
"exports": [
|
|
7148
|
+
{
|
|
7149
|
+
"kind": "js",
|
|
7150
|
+
"name": "HeadlessSession",
|
|
7151
|
+
"declaration": {
|
|
7152
|
+
"name": "HeadlessSession",
|
|
7153
|
+
"module": "src/headless/headless-session.ts"
|
|
7154
|
+
}
|
|
7155
|
+
}
|
|
7156
|
+
]
|
|
7157
|
+
},
|
|
7158
|
+
{
|
|
7159
|
+
"kind": "javascript-module",
|
|
7160
|
+
"path": "src/headless/headless.types.ts",
|
|
7161
|
+
"declarations": [],
|
|
7162
|
+
"exports": []
|
|
7163
|
+
},
|
|
7164
|
+
{
|
|
7165
|
+
"kind": "javascript-module",
|
|
7166
|
+
"path": "src/headless/index.ts",
|
|
7167
|
+
"declarations": [],
|
|
7168
|
+
"exports": [
|
|
7169
|
+
{
|
|
7170
|
+
"kind": "js",
|
|
7171
|
+
"name": "describeInteraction",
|
|
7172
|
+
"declaration": {
|
|
7173
|
+
"name": "describeInteraction",
|
|
7174
|
+
"module": "./describe-interaction"
|
|
7175
|
+
}
|
|
7176
|
+
},
|
|
7177
|
+
{
|
|
7178
|
+
"kind": "js",
|
|
7179
|
+
"name": "headlessCurrentDebugLog",
|
|
7180
|
+
"declaration": {
|
|
7181
|
+
"name": "headlessCurrentDebugLog",
|
|
7182
|
+
"module": "./headless-debug"
|
|
7183
|
+
}
|
|
7184
|
+
},
|
|
7185
|
+
{
|
|
7186
|
+
"kind": "js",
|
|
7187
|
+
"name": "headlessDiagnosticEntries",
|
|
7188
|
+
"declaration": {
|
|
7189
|
+
"name": "headlessDiagnosticEntries",
|
|
7190
|
+
"module": "./headless-debug"
|
|
7191
|
+
}
|
|
7192
|
+
},
|
|
7193
|
+
{
|
|
7194
|
+
"kind": "js",
|
|
7195
|
+
"name": "headlessMetaSnapshot",
|
|
7196
|
+
"declaration": {
|
|
7197
|
+
"name": "headlessMetaSnapshot",
|
|
7198
|
+
"module": "./headless-debug"
|
|
7199
|
+
}
|
|
7200
|
+
},
|
|
7201
|
+
{
|
|
7202
|
+
"kind": "js",
|
|
7203
|
+
"name": "HeadlessSession",
|
|
7204
|
+
"declaration": {
|
|
7205
|
+
"name": "HeadlessSession",
|
|
7206
|
+
"module": "./headless-session"
|
|
7207
|
+
}
|
|
7208
|
+
},
|
|
7209
|
+
{
|
|
7210
|
+
"kind": "js",
|
|
7211
|
+
"name": "AutopilotLike",
|
|
7212
|
+
"declaration": {
|
|
7213
|
+
"name": "AutopilotLike",
|
|
7214
|
+
"module": "./headless.types"
|
|
7215
|
+
}
|
|
7216
|
+
},
|
|
7217
|
+
{
|
|
7218
|
+
"kind": "js",
|
|
7219
|
+
"name": "DescribedAction",
|
|
7220
|
+
"declaration": {
|
|
7221
|
+
"name": "DescribedAction",
|
|
7222
|
+
"module": "./headless.types"
|
|
7223
|
+
}
|
|
7224
|
+
},
|
|
7225
|
+
{
|
|
7226
|
+
"kind": "js",
|
|
7227
|
+
"name": "DescribeInteractionInput",
|
|
7228
|
+
"declaration": {
|
|
7229
|
+
"name": "DescribeInteractionInput",
|
|
7230
|
+
"module": "./headless.types"
|
|
7231
|
+
}
|
|
7232
|
+
},
|
|
7233
|
+
{
|
|
7234
|
+
"kind": "js",
|
|
7235
|
+
"name": "HeadlessActArgs",
|
|
7236
|
+
"declaration": {
|
|
7237
|
+
"name": "HeadlessActArgs",
|
|
7238
|
+
"module": "./headless.types"
|
|
7239
|
+
}
|
|
7240
|
+
},
|
|
7241
|
+
{
|
|
7242
|
+
"kind": "js",
|
|
7243
|
+
"name": "HeadlessActResult",
|
|
7244
|
+
"declaration": {
|
|
7245
|
+
"name": "HeadlessActResult",
|
|
7246
|
+
"module": "./headless.types"
|
|
7247
|
+
}
|
|
7248
|
+
},
|
|
7249
|
+
{
|
|
7250
|
+
"kind": "js",
|
|
7251
|
+
"name": "HeadlessDebugOptions",
|
|
7252
|
+
"declaration": {
|
|
7253
|
+
"name": "HeadlessDebugOptions",
|
|
7254
|
+
"module": "./headless.types"
|
|
7255
|
+
}
|
|
7256
|
+
},
|
|
7257
|
+
{
|
|
7258
|
+
"kind": "js",
|
|
7259
|
+
"name": "HeadlessEvent",
|
|
7260
|
+
"declaration": {
|
|
7261
|
+
"name": "HeadlessEvent",
|
|
7262
|
+
"module": "./headless.types"
|
|
7263
|
+
}
|
|
7264
|
+
},
|
|
7265
|
+
{
|
|
7266
|
+
"kind": "js",
|
|
7267
|
+
"name": "HeadlessEventBase",
|
|
7268
|
+
"declaration": {
|
|
7269
|
+
"name": "HeadlessEventBase",
|
|
7270
|
+
"module": "./headless.types"
|
|
7271
|
+
}
|
|
7272
|
+
},
|
|
7273
|
+
{
|
|
7274
|
+
"kind": "js",
|
|
7275
|
+
"name": "HeadlessEventType",
|
|
7276
|
+
"declaration": {
|
|
7277
|
+
"name": "HeadlessEventType",
|
|
7278
|
+
"module": "./headless.types"
|
|
7279
|
+
}
|
|
7280
|
+
},
|
|
7281
|
+
{
|
|
7282
|
+
"kind": "js",
|
|
7283
|
+
"name": "HeadlessPersistence",
|
|
7284
|
+
"declaration": {
|
|
7285
|
+
"name": "HeadlessPersistence",
|
|
7286
|
+
"module": "./headless.types"
|
|
7287
|
+
}
|
|
7288
|
+
},
|
|
7289
|
+
{
|
|
7290
|
+
"kind": "js",
|
|
7291
|
+
"name": "HeadlessPersistenceBinding",
|
|
7292
|
+
"declaration": {
|
|
7293
|
+
"name": "HeadlessPersistenceBinding",
|
|
7294
|
+
"module": "./headless.types"
|
|
7295
|
+
}
|
|
7296
|
+
},
|
|
7297
|
+
{
|
|
7298
|
+
"kind": "js",
|
|
7299
|
+
"name": "HeadlessPersistenceHost",
|
|
7300
|
+
"declaration": {
|
|
7301
|
+
"name": "HeadlessPersistenceHost",
|
|
7302
|
+
"module": "./headless.types"
|
|
7303
|
+
}
|
|
7304
|
+
},
|
|
7305
|
+
{
|
|
7306
|
+
"kind": "js",
|
|
7307
|
+
"name": "HeadlessReadRequest",
|
|
7308
|
+
"declaration": {
|
|
7309
|
+
"name": "HeadlessReadRequest",
|
|
7310
|
+
"module": "./headless.types"
|
|
7311
|
+
}
|
|
7312
|
+
},
|
|
7313
|
+
{
|
|
7314
|
+
"kind": "js",
|
|
7315
|
+
"name": "HeadlessReadResult",
|
|
7316
|
+
"declaration": {
|
|
7317
|
+
"name": "HeadlessReadResult",
|
|
7318
|
+
"module": "./headless.types"
|
|
7319
|
+
}
|
|
7320
|
+
},
|
|
7321
|
+
{
|
|
7322
|
+
"kind": "js",
|
|
7323
|
+
"name": "HeadlessResult",
|
|
7324
|
+
"declaration": {
|
|
7325
|
+
"name": "HeadlessResult",
|
|
7326
|
+
"module": "./headless.types"
|
|
7327
|
+
}
|
|
7328
|
+
},
|
|
7329
|
+
{
|
|
7330
|
+
"kind": "js",
|
|
7331
|
+
"name": "HeadlessRestoreOutcome",
|
|
7332
|
+
"declaration": {
|
|
7333
|
+
"name": "HeadlessRestoreOutcome",
|
|
7334
|
+
"module": "./headless.types"
|
|
7335
|
+
}
|
|
7336
|
+
},
|
|
7337
|
+
{
|
|
7338
|
+
"kind": "js",
|
|
7339
|
+
"name": "HeadlessSendOptions",
|
|
7340
|
+
"declaration": {
|
|
7341
|
+
"name": "HeadlessSendOptions",
|
|
7342
|
+
"module": "./headless.types"
|
|
7343
|
+
}
|
|
7344
|
+
},
|
|
7345
|
+
{
|
|
7346
|
+
"kind": "js",
|
|
7347
|
+
"name": "HeadlessSessionOptions",
|
|
7348
|
+
"declaration": {
|
|
7349
|
+
"name": "HeadlessSessionOptions",
|
|
7350
|
+
"module": "./headless.types"
|
|
7351
|
+
}
|
|
7352
|
+
},
|
|
7353
|
+
{
|
|
7354
|
+
"kind": "js",
|
|
7355
|
+
"name": "HeadlessState",
|
|
7356
|
+
"declaration": {
|
|
7357
|
+
"name": "HeadlessState",
|
|
7358
|
+
"module": "./headless.types"
|
|
7359
|
+
}
|
|
7360
|
+
},
|
|
7361
|
+
{
|
|
7362
|
+
"kind": "js",
|
|
7363
|
+
"name": "HeadlessWaitRequest",
|
|
7364
|
+
"declaration": {
|
|
7365
|
+
"name": "HeadlessWaitRequest",
|
|
7366
|
+
"module": "./headless.types"
|
|
7367
|
+
}
|
|
7368
|
+
},
|
|
7369
|
+
{
|
|
7370
|
+
"kind": "js",
|
|
7371
|
+
"name": "HeadlessWaitResult",
|
|
7372
|
+
"declaration": {
|
|
7373
|
+
"name": "HeadlessWaitResult",
|
|
7374
|
+
"module": "./headless.types"
|
|
7375
|
+
}
|
|
7376
|
+
},
|
|
7377
|
+
{
|
|
7378
|
+
"kind": "js",
|
|
7379
|
+
"name": "InteractionDescription",
|
|
7380
|
+
"declaration": {
|
|
7381
|
+
"name": "InteractionDescription",
|
|
7382
|
+
"module": "./headless.types"
|
|
7383
|
+
}
|
|
7384
|
+
},
|
|
7385
|
+
{
|
|
7386
|
+
"kind": "js",
|
|
7387
|
+
"name": "PendingSummary",
|
|
7388
|
+
"declaration": {
|
|
7389
|
+
"name": "PendingSummary",
|
|
7390
|
+
"module": "./headless.types"
|
|
7391
|
+
}
|
|
7392
|
+
}
|
|
7393
|
+
]
|
|
7394
|
+
},
|
|
7395
|
+
{
|
|
7396
|
+
"kind": "javascript-module",
|
|
7397
|
+
"path": "src/genesis/calendar.ts",
|
|
7398
|
+
"declarations": [],
|
|
7399
|
+
"exports": []
|
|
7400
|
+
},
|
|
7401
|
+
{
|
|
7402
|
+
"kind": "javascript-module",
|
|
7403
|
+
"path": "src/genesis/config.ts",
|
|
7404
|
+
"declarations": [
|
|
7405
|
+
{
|
|
7406
|
+
"kind": "variable",
|
|
7407
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7408
|
+
"type": {
|
|
7409
|
+
"text": "number"
|
|
7410
|
+
},
|
|
7411
|
+
"default": "50",
|
|
7412
|
+
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
7413
|
+
},
|
|
7414
|
+
{
|
|
7415
|
+
"kind": "variable",
|
|
7416
|
+
"name": "MAX_ROWS_CEILING",
|
|
7417
|
+
"type": {
|
|
7418
|
+
"text": "number"
|
|
7419
|
+
},
|
|
7420
|
+
"default": "1000"
|
|
7421
|
+
},
|
|
7422
|
+
{
|
|
7423
|
+
"kind": "function",
|
|
7424
|
+
"name": "toolNameOf",
|
|
7425
|
+
"return": {
|
|
7426
|
+
"type": {
|
|
7427
|
+
"text": "string"
|
|
7428
|
+
}
|
|
7429
|
+
},
|
|
7430
|
+
"parameters": [
|
|
7431
|
+
{
|
|
7432
|
+
"name": "resourceName",
|
|
7433
|
+
"type": {
|
|
7434
|
+
"text": "string"
|
|
8097
7435
|
}
|
|
8098
|
-
}
|
|
8099
|
-
|
|
8100
|
-
|
|
8101
|
-
|
|
8102
|
-
|
|
8103
|
-
|
|
8104
|
-
|
|
8105
|
-
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
-
|
|
8109
|
-
|
|
8110
|
-
|
|
8111
|
-
"type": {
|
|
8112
|
-
"text": "Tracked"
|
|
8113
|
-
}
|
|
8114
|
-
}
|
|
8115
|
-
]
|
|
8116
|
-
},
|
|
8117
|
-
{
|
|
8118
|
-
"kind": "method",
|
|
8119
|
-
"name": "evaluate",
|
|
8120
|
-
"privacy": "private",
|
|
8121
|
-
"return": {
|
|
8122
|
-
"type": {
|
|
8123
|
-
"text": "void"
|
|
8124
|
-
}
|
|
8125
|
-
},
|
|
8126
|
-
"parameters": [
|
|
8127
|
-
{
|
|
8128
|
-
"name": "t",
|
|
8129
|
-
"type": {
|
|
8130
|
-
"text": "Tracked"
|
|
8131
|
-
}
|
|
8132
|
-
}
|
|
8133
|
-
],
|
|
8134
|
-
"description": "Report where an interaction stands, when that has changed. A `decision` when the person holds\nit and can act; `working` when a claimant holds it or it is not ready yet. A `decision` is\nlogged again only when its description changed materially: who holds it, whether it is ready\nor has a controller, or which actions are enabled. The text and facts alone do not count."
|
|
8135
|
-
},
|
|
8136
|
-
{
|
|
8137
|
-
"kind": "method",
|
|
8138
|
-
"name": "autoSettle",
|
|
8139
|
-
"privacy": "private",
|
|
8140
|
-
"return": {
|
|
8141
|
-
"type": {
|
|
8142
|
-
"text": "boolean"
|
|
8143
|
-
}
|
|
8144
|
-
},
|
|
8145
|
-
"parameters": [
|
|
8146
|
-
{
|
|
8147
|
-
"name": "t",
|
|
8148
|
-
"type": {
|
|
8149
|
-
"text": "Tracked"
|
|
8150
|
-
}
|
|
8151
|
-
}
|
|
8152
|
-
],
|
|
8153
|
-
"description": "Settle a widget that settles itself in a browser, as it would on mounting. Once, and only when\nthe person holds it. Returns whether it settled it."
|
|
8154
|
-
},
|
|
8155
|
-
{
|
|
8156
|
-
"kind": "method",
|
|
8157
|
-
"name": "readTool",
|
|
8158
|
-
"privacy": "private",
|
|
8159
|
-
"return": {
|
|
8160
|
-
"type": {
|
|
8161
|
-
"text": "Promise<HeadlessReadResult>"
|
|
8162
|
-
}
|
|
8163
|
-
},
|
|
8164
|
-
"parameters": [
|
|
8165
|
-
{
|
|
8166
|
-
"name": "t",
|
|
8167
|
-
"type": {
|
|
8168
|
-
"text": "Tracked"
|
|
8169
|
-
}
|
|
8170
|
-
},
|
|
8171
|
-
{
|
|
8172
|
-
"name": "name",
|
|
8173
|
-
"type": {
|
|
8174
|
-
"text": "string"
|
|
8175
|
-
}
|
|
8176
|
-
},
|
|
8177
|
-
{
|
|
8178
|
-
"name": "args",
|
|
8179
|
-
"type": {
|
|
8180
|
-
"text": "Record<string, unknown> | undefined"
|
|
8181
|
-
}
|
|
8182
|
-
}
|
|
8183
|
-
]
|
|
8184
|
-
},
|
|
7436
|
+
}
|
|
7437
|
+
],
|
|
7438
|
+
"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."
|
|
7439
|
+
},
|
|
7440
|
+
{
|
|
7441
|
+
"kind": "function",
|
|
7442
|
+
"name": "rowActionProblem",
|
|
7443
|
+
"return": {
|
|
7444
|
+
"type": {
|
|
7445
|
+
"text": "string | undefined"
|
|
7446
|
+
}
|
|
7447
|
+
},
|
|
7448
|
+
"parameters": [
|
|
8185
7449
|
{
|
|
8186
|
-
"
|
|
8187
|
-
"
|
|
8188
|
-
|
|
8189
|
-
|
|
8190
|
-
"type": {
|
|
8191
|
-
"text": "void"
|
|
8192
|
-
}
|
|
8193
|
-
},
|
|
8194
|
-
"description": "Notice a turn begin or end, whoever started it. The driver being busy (or a `send` in flight)\nis a turn; once it has been idle for a beat the turn is over and is reported, once. The beat\ncovers the gaps inside one turn, such as a hand-off continuing it, which are a microtask long.\nA turn that begins the instant another ends, with no idle between, is reported as one."
|
|
7450
|
+
"name": "resource",
|
|
7451
|
+
"type": {
|
|
7452
|
+
"text": "Partial<GenesisAiResource> | null"
|
|
7453
|
+
}
|
|
8195
7454
|
},
|
|
8196
7455
|
{
|
|
8197
|
-
"
|
|
8198
|
-
"
|
|
8199
|
-
|
|
8200
|
-
"return": {
|
|
8201
|
-
"type": {
|
|
8202
|
-
"text": "void"
|
|
8203
|
-
}
|
|
7456
|
+
"name": "requestNames",
|
|
7457
|
+
"type": {
|
|
7458
|
+
"text": "ReadonlySet<string>"
|
|
8204
7459
|
},
|
|
8205
|
-
"description": "
|
|
7460
|
+
"description": "The request resources whose rows can be read. A row action reads its rows\nthrough `REQ_<entity>`, and without one there is no row to review."
|
|
8206
7461
|
},
|
|
8207
7462
|
{
|
|
8208
|
-
"
|
|
8209
|
-
"
|
|
8210
|
-
"
|
|
8211
|
-
|
|
8212
|
-
"type": {
|
|
8213
|
-
"text": "void"
|
|
8214
|
-
}
|
|
7463
|
+
"name": "whyNotReadable",
|
|
7464
|
+
"default": "notReadableReason({})",
|
|
7465
|
+
"type": {
|
|
7466
|
+
"text": "(name: string) => string"
|
|
8215
7467
|
},
|
|
8216
|
-
"description": "
|
|
8217
|
-
}
|
|
7468
|
+
"description": "Why a request is not among `requestNames`, when the caller knows: it was\nleft out, has no read tool, or is a query. Without it, the request is said to be missing."
|
|
7469
|
+
}
|
|
7470
|
+
],
|
|
7471
|
+
"description": "What is wrong with a resource's row-action fields (contracts C-18.7.2), if anything."
|
|
7472
|
+
},
|
|
7473
|
+
{
|
|
7474
|
+
"kind": "function",
|
|
7475
|
+
"name": "validateGenesisAiConfig",
|
|
7476
|
+
"return": {
|
|
7477
|
+
"type": {
|
|
7478
|
+
"text": "GenesisAiConfigCheck"
|
|
7479
|
+
}
|
|
7480
|
+
},
|
|
7481
|
+
"parameters": [
|
|
8218
7482
|
{
|
|
8219
|
-
"
|
|
8220
|
-
"
|
|
8221
|
-
|
|
8222
|
-
"return": {
|
|
8223
|
-
"type": {
|
|
8224
|
-
"text": "void"
|
|
8225
|
-
}
|
|
7483
|
+
"name": "config",
|
|
7484
|
+
"type": {
|
|
7485
|
+
"text": "unknown"
|
|
8226
7486
|
}
|
|
8227
|
-
}
|
|
7487
|
+
}
|
|
7488
|
+
],
|
|
7489
|
+
"description": "Checks a generated AI config before anything is registered, and says what can be kept."
|
|
7490
|
+
},
|
|
7491
|
+
{
|
|
7492
|
+
"kind": "function",
|
|
7493
|
+
"name": "customCodeOf",
|
|
7494
|
+
"return": {
|
|
7495
|
+
"type": {
|
|
7496
|
+
"text": "GenesisCustomCodeCheck"
|
|
7497
|
+
}
|
|
7498
|
+
},
|
|
7499
|
+
"parameters": [
|
|
8228
7500
|
{
|
|
8229
|
-
"
|
|
8230
|
-
"
|
|
8231
|
-
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
|
|
8236
|
-
|
|
8237
|
-
|
|
8238
|
-
|
|
8239
|
-
|
|
8240
|
-
|
|
8241
|
-
|
|
8242
|
-
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8249
|
-
|
|
8250
|
-
|
|
8251
|
-
|
|
8252
|
-
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
|
|
8256
|
-
|
|
8257
|
-
|
|
7501
|
+
"name": "resource",
|
|
7502
|
+
"type": {
|
|
7503
|
+
"text": "GenesisAiResource"
|
|
7504
|
+
}
|
|
7505
|
+
}
|
|
7506
|
+
],
|
|
7507
|
+
"description": "A resource's `customCode` as it is used: the one reader of the field."
|
|
7508
|
+
}
|
|
7509
|
+
],
|
|
7510
|
+
"exports": [
|
|
7511
|
+
{
|
|
7512
|
+
"kind": "js",
|
|
7513
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7514
|
+
"declaration": {
|
|
7515
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7516
|
+
"module": "src/genesis/config.ts"
|
|
7517
|
+
}
|
|
7518
|
+
},
|
|
7519
|
+
{
|
|
7520
|
+
"kind": "js",
|
|
7521
|
+
"name": "MAX_ROWS_CEILING",
|
|
7522
|
+
"declaration": {
|
|
7523
|
+
"name": "MAX_ROWS_CEILING",
|
|
7524
|
+
"module": "src/genesis/config.ts"
|
|
7525
|
+
}
|
|
7526
|
+
},
|
|
7527
|
+
{
|
|
7528
|
+
"kind": "js",
|
|
7529
|
+
"name": "toolNameOf",
|
|
7530
|
+
"declaration": {
|
|
7531
|
+
"name": "toolNameOf",
|
|
7532
|
+
"module": "src/genesis/config.ts"
|
|
7533
|
+
}
|
|
7534
|
+
},
|
|
7535
|
+
{
|
|
7536
|
+
"kind": "js",
|
|
7537
|
+
"name": "rowActionProblem",
|
|
7538
|
+
"declaration": {
|
|
7539
|
+
"name": "rowActionProblem",
|
|
7540
|
+
"module": "src/genesis/config.ts"
|
|
7541
|
+
}
|
|
7542
|
+
},
|
|
7543
|
+
{
|
|
7544
|
+
"kind": "js",
|
|
7545
|
+
"name": "validateGenesisAiConfig",
|
|
7546
|
+
"declaration": {
|
|
7547
|
+
"name": "validateGenesisAiConfig",
|
|
7548
|
+
"module": "src/genesis/config.ts"
|
|
7549
|
+
}
|
|
7550
|
+
},
|
|
7551
|
+
{
|
|
7552
|
+
"kind": "js",
|
|
7553
|
+
"name": "customCodeOf",
|
|
7554
|
+
"declaration": {
|
|
7555
|
+
"name": "customCodeOf",
|
|
7556
|
+
"module": "src/genesis/config.ts"
|
|
7557
|
+
}
|
|
7558
|
+
}
|
|
7559
|
+
]
|
|
7560
|
+
},
|
|
7561
|
+
{
|
|
7562
|
+
"kind": "javascript-module",
|
|
7563
|
+
"path": "src/genesis/consumes.ts",
|
|
7564
|
+
"declarations": [
|
|
7565
|
+
{
|
|
7566
|
+
"kind": "variable",
|
|
7567
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7568
|
+
"type": {
|
|
7569
|
+
"text": "GenesisAiConsumes"
|
|
7570
|
+
},
|
|
7571
|
+
"description": "What this version of the assistant reads from a generated AI config: the resource kinds it\naccepts, the resource fields its validator or a tool reads, the `vendor` and `tier` values it\naccepts, and the row-action shapes it runs."
|
|
7572
|
+
}
|
|
7573
|
+
],
|
|
7574
|
+
"exports": [
|
|
7575
|
+
{
|
|
7576
|
+
"kind": "js",
|
|
7577
|
+
"name": "GenesisAiConsumes",
|
|
7578
|
+
"declaration": {
|
|
7579
|
+
"name": "GenesisAiConsumes",
|
|
7580
|
+
"module": "./types"
|
|
7581
|
+
}
|
|
7582
|
+
},
|
|
7583
|
+
{
|
|
7584
|
+
"kind": "js",
|
|
7585
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7586
|
+
"declaration": {
|
|
7587
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7588
|
+
"module": "src/genesis/consumes.ts"
|
|
7589
|
+
}
|
|
7590
|
+
}
|
|
7591
|
+
]
|
|
7592
|
+
},
|
|
7593
|
+
{
|
|
7594
|
+
"kind": "javascript-module",
|
|
7595
|
+
"path": "src/genesis/criteria.ts",
|
|
7596
|
+
"declarations": [
|
|
7597
|
+
{
|
|
7598
|
+
"kind": "function",
|
|
7599
|
+
"name": "dateFragment",
|
|
7600
|
+
"return": {
|
|
7601
|
+
"type": {
|
|
7602
|
+
"text": "string | undefined"
|
|
7603
|
+
}
|
|
7604
|
+
},
|
|
7605
|
+
"parameters": [
|
|
8258
7606
|
{
|
|
8259
|
-
"
|
|
8260
|
-
"
|
|
8261
|
-
|
|
8262
|
-
|
|
8263
|
-
"type": {
|
|
8264
|
-
"text": "void"
|
|
8265
|
-
}
|
|
8266
|
-
},
|
|
8267
|
-
"parameters": [
|
|
8268
|
-
{
|
|
8269
|
-
"name": "event",
|
|
8270
|
-
"type": {
|
|
8271
|
-
"text": "NewEvent"
|
|
8272
|
-
}
|
|
8273
|
-
}
|
|
8274
|
-
]
|
|
7607
|
+
"name": "field",
|
|
7608
|
+
"type": {
|
|
7609
|
+
"text": "string"
|
|
7610
|
+
}
|
|
8275
7611
|
},
|
|
8276
7612
|
{
|
|
8277
|
-
"
|
|
8278
|
-
"
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
"type": {
|
|
8282
|
-
"text": "void"
|
|
8283
|
-
}
|
|
8284
|
-
},
|
|
8285
|
-
"parameters": [
|
|
8286
|
-
{
|
|
8287
|
-
"name": "event",
|
|
8288
|
-
"type": {
|
|
8289
|
-
"text": "NewEvent"
|
|
8290
|
-
}
|
|
8291
|
-
}
|
|
8292
|
-
]
|
|
7613
|
+
"name": "op",
|
|
7614
|
+
"type": {
|
|
7615
|
+
"text": "GenesisFilterOp"
|
|
7616
|
+
}
|
|
8293
7617
|
},
|
|
8294
7618
|
{
|
|
8295
|
-
"
|
|
8296
|
-
"
|
|
8297
|
-
|
|
8298
|
-
|
|
8299
|
-
|
|
8300
|
-
|
|
8301
|
-
|
|
7619
|
+
"name": "date",
|
|
7620
|
+
"type": {
|
|
7621
|
+
"text": "string"
|
|
7622
|
+
}
|
|
7623
|
+
}
|
|
7624
|
+
]
|
|
7625
|
+
},
|
|
7626
|
+
{
|
|
7627
|
+
"kind": "function",
|
|
7628
|
+
"name": "dateTimeFragment",
|
|
7629
|
+
"return": {
|
|
7630
|
+
"type": {
|
|
7631
|
+
"text": "string | undefined"
|
|
7632
|
+
}
|
|
7633
|
+
},
|
|
7634
|
+
"parameters": [
|
|
7635
|
+
{
|
|
7636
|
+
"name": "field",
|
|
7637
|
+
"type": {
|
|
7638
|
+
"text": "string"
|
|
8302
7639
|
}
|
|
8303
7640
|
},
|
|
8304
7641
|
{
|
|
8305
|
-
"
|
|
8306
|
-
"
|
|
8307
|
-
|
|
8308
|
-
|
|
8309
|
-
"type": {
|
|
8310
|
-
"text": "void"
|
|
8311
|
-
}
|
|
8312
|
-
},
|
|
8313
|
-
"description": "Read the probe again; a change in any top-level value is a `probe` event."
|
|
7642
|
+
"name": "op",
|
|
7643
|
+
"type": {
|
|
7644
|
+
"text": "GenesisFilterOp"
|
|
7645
|
+
}
|
|
8314
7646
|
},
|
|
8315
7647
|
{
|
|
8316
|
-
"
|
|
8317
|
-
"
|
|
8318
|
-
|
|
8319
|
-
|
|
8320
|
-
"type": {
|
|
8321
|
-
"text": "HeadlessWaitResult"
|
|
8322
|
-
}
|
|
8323
|
-
},
|
|
8324
|
-
"parameters": [
|
|
8325
|
-
{
|
|
8326
|
-
"name": "since",
|
|
8327
|
-
"type": {
|
|
8328
|
-
"text": "number"
|
|
8329
|
-
}
|
|
8330
|
-
},
|
|
8331
|
-
{
|
|
8332
|
-
"name": "status",
|
|
8333
|
-
"type": {
|
|
8334
|
-
"text": "HeadlessWaitResult['status']"
|
|
8335
|
-
}
|
|
8336
|
-
}
|
|
8337
|
-
]
|
|
7648
|
+
"name": "bound",
|
|
7649
|
+
"type": {
|
|
7650
|
+
"text": "string"
|
|
7651
|
+
}
|
|
8338
7652
|
}
|
|
8339
|
-
]
|
|
7653
|
+
],
|
|
7654
|
+
"description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
|
|
8340
7655
|
}
|
|
8341
7656
|
],
|
|
8342
7657
|
"exports": [
|
|
8343
7658
|
{
|
|
8344
7659
|
"kind": "js",
|
|
8345
|
-
"name": "
|
|
7660
|
+
"name": "dateFragment",
|
|
7661
|
+
"declaration": {
|
|
7662
|
+
"name": "dateFragment",
|
|
7663
|
+
"module": "src/genesis/criteria.ts"
|
|
7664
|
+
}
|
|
7665
|
+
},
|
|
7666
|
+
{
|
|
7667
|
+
"kind": "js",
|
|
7668
|
+
"name": "dateTimeFragment",
|
|
7669
|
+
"declaration": {
|
|
7670
|
+
"name": "dateTimeFragment",
|
|
7671
|
+
"module": "src/genesis/criteria.ts"
|
|
7672
|
+
}
|
|
7673
|
+
}
|
|
7674
|
+
]
|
|
7675
|
+
},
|
|
7676
|
+
{
|
|
7677
|
+
"kind": "javascript-module",
|
|
7678
|
+
"path": "src/genesis/event-fields.ts",
|
|
7679
|
+
"declarations": [],
|
|
7680
|
+
"exports": []
|
|
7681
|
+
},
|
|
7682
|
+
{
|
|
7683
|
+
"kind": "javascript-module",
|
|
7684
|
+
"path": "src/genesis/filter-fields.ts",
|
|
7685
|
+
"declarations": [],
|
|
7686
|
+
"exports": []
|
|
7687
|
+
},
|
|
7688
|
+
{
|
|
7689
|
+
"kind": "javascript-module",
|
|
7690
|
+
"path": "src/genesis/index.ts",
|
|
7691
|
+
"declarations": [],
|
|
7692
|
+
"exports": [
|
|
7693
|
+
{
|
|
7694
|
+
"kind": "js",
|
|
7695
|
+
"name": "GENESIS_AGENT_NAME",
|
|
7696
|
+
"declaration": {
|
|
7697
|
+
"name": "GENESIS_AGENT_NAME",
|
|
7698
|
+
"module": "./register-genesis-assistant"
|
|
7699
|
+
}
|
|
7700
|
+
},
|
|
7701
|
+
{
|
|
7702
|
+
"kind": "js",
|
|
7703
|
+
"name": "registerGenesisAssistant",
|
|
7704
|
+
"declaration": {
|
|
7705
|
+
"name": "registerGenesisAssistant",
|
|
7706
|
+
"module": "./register-genesis-assistant"
|
|
7707
|
+
}
|
|
7708
|
+
},
|
|
7709
|
+
{
|
|
7710
|
+
"kind": "js",
|
|
7711
|
+
"name": "customCodeOf",
|
|
7712
|
+
"declaration": {
|
|
7713
|
+
"name": "customCodeOf",
|
|
7714
|
+
"module": "./config"
|
|
7715
|
+
}
|
|
7716
|
+
},
|
|
7717
|
+
{
|
|
7718
|
+
"kind": "js",
|
|
7719
|
+
"name": "rowActionProblem",
|
|
7720
|
+
"declaration": {
|
|
7721
|
+
"name": "rowActionProblem",
|
|
7722
|
+
"module": "./config"
|
|
7723
|
+
}
|
|
7724
|
+
},
|
|
7725
|
+
{
|
|
7726
|
+
"kind": "js",
|
|
7727
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7728
|
+
"declaration": {
|
|
7729
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7730
|
+
"module": "./consumes"
|
|
7731
|
+
}
|
|
7732
|
+
},
|
|
7733
|
+
{
|
|
7734
|
+
"kind": "js",
|
|
7735
|
+
"name": "validateGenesisAiConfig",
|
|
7736
|
+
"declaration": {
|
|
7737
|
+
"name": "validateGenesisAiConfig",
|
|
7738
|
+
"module": "./config"
|
|
7739
|
+
}
|
|
7740
|
+
},
|
|
7741
|
+
{
|
|
7742
|
+
"kind": "js",
|
|
7743
|
+
"name": "DroppedResource",
|
|
7744
|
+
"declaration": {
|
|
7745
|
+
"name": "DroppedResource",
|
|
7746
|
+
"module": "./config"
|
|
7747
|
+
}
|
|
7748
|
+
},
|
|
7749
|
+
{
|
|
7750
|
+
"kind": "js",
|
|
7751
|
+
"name": "GenesisAiConfigCheck",
|
|
7752
|
+
"declaration": {
|
|
7753
|
+
"name": "GenesisAiConfigCheck",
|
|
7754
|
+
"module": "./config"
|
|
7755
|
+
}
|
|
7756
|
+
},
|
|
7757
|
+
{
|
|
7758
|
+
"kind": "js",
|
|
7759
|
+
"name": "GenesisFilter",
|
|
7760
|
+
"declaration": {
|
|
7761
|
+
"name": "GenesisFilter",
|
|
7762
|
+
"module": "./criteria"
|
|
7763
|
+
}
|
|
7764
|
+
},
|
|
7765
|
+
{
|
|
7766
|
+
"kind": "js",
|
|
7767
|
+
"name": "GenesisFilterField",
|
|
7768
|
+
"declaration": {
|
|
7769
|
+
"name": "GenesisFilterField",
|
|
7770
|
+
"module": "./criteria"
|
|
7771
|
+
}
|
|
7772
|
+
},
|
|
7773
|
+
{
|
|
7774
|
+
"kind": "js",
|
|
7775
|
+
"name": "GenesisFilterOp",
|
|
7776
|
+
"declaration": {
|
|
7777
|
+
"name": "GenesisFilterOp",
|
|
7778
|
+
"module": "./criteria"
|
|
7779
|
+
}
|
|
7780
|
+
},
|
|
7781
|
+
{
|
|
7782
|
+
"kind": "js",
|
|
7783
|
+
"name": "createGenesisResourceTools",
|
|
7784
|
+
"declaration": {
|
|
7785
|
+
"name": "createGenesisResourceTools",
|
|
7786
|
+
"module": "./resource-tools"
|
|
7787
|
+
}
|
|
7788
|
+
},
|
|
7789
|
+
{
|
|
7790
|
+
"kind": "js",
|
|
7791
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
7792
|
+
"declaration": {
|
|
7793
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
7794
|
+
"module": "./resource-tools"
|
|
7795
|
+
}
|
|
7796
|
+
},
|
|
7797
|
+
{
|
|
7798
|
+
"kind": "js",
|
|
7799
|
+
"name": "createGenesisWriteTools",
|
|
7800
|
+
"declaration": {
|
|
7801
|
+
"name": "createGenesisWriteTools",
|
|
7802
|
+
"module": "./write-tools"
|
|
7803
|
+
}
|
|
7804
|
+
},
|
|
7805
|
+
{
|
|
7806
|
+
"kind": "js",
|
|
7807
|
+
"name": "GenesisWriteDecision",
|
|
7808
|
+
"declaration": {
|
|
7809
|
+
"name": "GenesisWriteDecision",
|
|
7810
|
+
"module": "./write-tools"
|
|
7811
|
+
}
|
|
7812
|
+
},
|
|
7813
|
+
{
|
|
7814
|
+
"kind": "js",
|
|
7815
|
+
"name": "GenesisWriteResult",
|
|
7816
|
+
"declaration": {
|
|
7817
|
+
"name": "GenesisWriteResult",
|
|
7818
|
+
"module": "./write-tools"
|
|
7819
|
+
}
|
|
7820
|
+
},
|
|
7821
|
+
{
|
|
7822
|
+
"kind": "js",
|
|
7823
|
+
"name": "GenesisWriteRowStatus",
|
|
7824
|
+
"declaration": {
|
|
7825
|
+
"name": "GenesisWriteRowStatus",
|
|
7826
|
+
"module": "./write-tools"
|
|
7827
|
+
}
|
|
7828
|
+
},
|
|
7829
|
+
{
|
|
7830
|
+
"kind": "js",
|
|
7831
|
+
"name": "GenesisWriteToolsOptions",
|
|
7832
|
+
"declaration": {
|
|
7833
|
+
"name": "GenesisWriteToolsOptions",
|
|
7834
|
+
"module": "./write-tools"
|
|
7835
|
+
}
|
|
7836
|
+
},
|
|
7837
|
+
{
|
|
7838
|
+
"kind": "js",
|
|
7839
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
7840
|
+
"declaration": {
|
|
7841
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
7842
|
+
"module": "./write-review/write-review"
|
|
7843
|
+
}
|
|
7844
|
+
},
|
|
7845
|
+
{
|
|
7846
|
+
"kind": "js",
|
|
7847
|
+
"name": "GenesisWriteReview",
|
|
8346
7848
|
"declaration": {
|
|
8347
|
-
"name": "
|
|
8348
|
-
"module": "
|
|
7849
|
+
"name": "GenesisWriteReview",
|
|
7850
|
+
"module": "./write-review/write-review"
|
|
8349
7851
|
}
|
|
8350
|
-
}
|
|
8351
|
-
]
|
|
8352
|
-
},
|
|
8353
|
-
{
|
|
8354
|
-
"kind": "javascript-module",
|
|
8355
|
-
"path": "src/headless/headless.types.ts",
|
|
8356
|
-
"declarations": [],
|
|
8357
|
-
"exports": []
|
|
8358
|
-
},
|
|
8359
|
-
{
|
|
8360
|
-
"kind": "javascript-module",
|
|
8361
|
-
"path": "src/headless/index.ts",
|
|
8362
|
-
"declarations": [],
|
|
8363
|
-
"exports": [
|
|
7852
|
+
},
|
|
8364
7853
|
{
|
|
8365
7854
|
"kind": "js",
|
|
8366
|
-
"name": "
|
|
7855
|
+
"name": "GenesisChangeRequest",
|
|
8367
7856
|
"declaration": {
|
|
8368
|
-
"name": "
|
|
8369
|
-
"module": "./
|
|
7857
|
+
"name": "GenesisChangeRequest",
|
|
7858
|
+
"module": "./review-payload"
|
|
8370
7859
|
}
|
|
8371
7860
|
},
|
|
8372
7861
|
{
|
|
8373
7862
|
"kind": "js",
|
|
8374
|
-
"name": "
|
|
7863
|
+
"name": "GenesisReviewPayload",
|
|
8375
7864
|
"declaration": {
|
|
8376
|
-
"name": "
|
|
8377
|
-
"module": "./
|
|
7865
|
+
"name": "GenesisReviewPayload",
|
|
7866
|
+
"module": "./review-payload"
|
|
8378
7867
|
}
|
|
8379
7868
|
},
|
|
8380
7869
|
{
|
|
8381
7870
|
"kind": "js",
|
|
8382
|
-
"name": "
|
|
7871
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
8383
7872
|
"declaration": {
|
|
8384
|
-
"name": "
|
|
8385
|
-
"module": "./
|
|
7873
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
7874
|
+
"module": "./review-payload"
|
|
7875
|
+
}
|
|
7876
|
+
},
|
|
7877
|
+
{
|
|
7878
|
+
"kind": "js",
|
|
7879
|
+
"name": "GenesisReadResult",
|
|
7880
|
+
"declaration": {
|
|
7881
|
+
"name": "GenesisReadResult",
|
|
7882
|
+
"module": "./resource-tools"
|
|
7883
|
+
}
|
|
7884
|
+
},
|
|
7885
|
+
{
|
|
7886
|
+
"kind": "js",
|
|
7887
|
+
"name": "GenesisResourceTools",
|
|
7888
|
+
"declaration": {
|
|
7889
|
+
"name": "GenesisResourceTools",
|
|
7890
|
+
"module": "./resource-tools"
|
|
7891
|
+
}
|
|
7892
|
+
},
|
|
7893
|
+
{
|
|
7894
|
+
"kind": "js",
|
|
7895
|
+
"name": "GenesisResourceToolsOptions",
|
|
7896
|
+
"declaration": {
|
|
7897
|
+
"name": "GenesisResourceToolsOptions",
|
|
7898
|
+
"module": "./resource-tools"
|
|
7899
|
+
}
|
|
7900
|
+
},
|
|
7901
|
+
{
|
|
7902
|
+
"kind": "js",
|
|
7903
|
+
"name": "GenesisToolError",
|
|
7904
|
+
"declaration": {
|
|
7905
|
+
"name": "GenesisToolError",
|
|
7906
|
+
"module": "./resource-tools"
|
|
7907
|
+
}
|
|
7908
|
+
},
|
|
7909
|
+
{
|
|
7910
|
+
"kind": "js",
|
|
7911
|
+
"name": "GENESIS_EVENT_OPS",
|
|
7912
|
+
"declaration": {
|
|
7913
|
+
"name": "GENESIS_EVENT_OPS",
|
|
7914
|
+
"module": "./types"
|
|
7915
|
+
}
|
|
7916
|
+
},
|
|
7917
|
+
{
|
|
7918
|
+
"kind": "js",
|
|
7919
|
+
"name": "GenesisAiConfig",
|
|
7920
|
+
"declaration": {
|
|
7921
|
+
"name": "GenesisAiConfig",
|
|
7922
|
+
"module": "./types"
|
|
7923
|
+
}
|
|
7924
|
+
},
|
|
7925
|
+
{
|
|
7926
|
+
"kind": "js",
|
|
7927
|
+
"name": "GenesisAiConsumes",
|
|
7928
|
+
"declaration": {
|
|
7929
|
+
"name": "GenesisAiConsumes",
|
|
7930
|
+
"module": "./types"
|
|
7931
|
+
}
|
|
7932
|
+
},
|
|
7933
|
+
{
|
|
7934
|
+
"kind": "js",
|
|
7935
|
+
"name": "GenesisAiResource",
|
|
7936
|
+
"declaration": {
|
|
7937
|
+
"name": "GenesisAiResource",
|
|
7938
|
+
"module": "./types"
|
|
7939
|
+
}
|
|
7940
|
+
},
|
|
7941
|
+
{
|
|
7942
|
+
"kind": "js",
|
|
7943
|
+
"name": "GenesisAssistantExtensions",
|
|
7944
|
+
"declaration": {
|
|
7945
|
+
"name": "GenesisAssistantExtensions",
|
|
7946
|
+
"module": "./types"
|
|
7947
|
+
}
|
|
7948
|
+
},
|
|
7949
|
+
{
|
|
7950
|
+
"kind": "js",
|
|
7951
|
+
"name": "GenesisAssistantRegistration",
|
|
7952
|
+
"declaration": {
|
|
7953
|
+
"name": "GenesisAssistantRegistration",
|
|
7954
|
+
"module": "./types"
|
|
7955
|
+
}
|
|
7956
|
+
},
|
|
7957
|
+
{
|
|
7958
|
+
"kind": "js",
|
|
7959
|
+
"name": "GenesisCustomCode",
|
|
7960
|
+
"declaration": {
|
|
7961
|
+
"name": "GenesisCustomCode",
|
|
7962
|
+
"module": "./types"
|
|
7963
|
+
}
|
|
7964
|
+
},
|
|
7965
|
+
{
|
|
7966
|
+
"kind": "js",
|
|
7967
|
+
"name": "GenesisCustomCodeCheck",
|
|
7968
|
+
"declaration": {
|
|
7969
|
+
"name": "GenesisCustomCodeCheck",
|
|
7970
|
+
"module": "./types"
|
|
7971
|
+
}
|
|
7972
|
+
},
|
|
7973
|
+
{
|
|
7974
|
+
"kind": "js",
|
|
7975
|
+
"name": "GenesisEventOp",
|
|
7976
|
+
"declaration": {
|
|
7977
|
+
"name": "GenesisEventOp",
|
|
7978
|
+
"module": "./types"
|
|
7979
|
+
}
|
|
7980
|
+
},
|
|
7981
|
+
{
|
|
7982
|
+
"kind": "js",
|
|
7983
|
+
"name": "GenesisReference",
|
|
7984
|
+
"declaration": {
|
|
7985
|
+
"name": "GenesisReference",
|
|
7986
|
+
"module": "./types"
|
|
7987
|
+
}
|
|
7988
|
+
},
|
|
7989
|
+
{
|
|
7990
|
+
"kind": "js",
|
|
7991
|
+
"name": "GenesisResourceKind",
|
|
7992
|
+
"declaration": {
|
|
7993
|
+
"name": "GenesisResourceKind",
|
|
7994
|
+
"module": "./types"
|
|
7995
|
+
}
|
|
7996
|
+
},
|
|
7997
|
+
{
|
|
7998
|
+
"kind": "js",
|
|
7999
|
+
"name": "GenesisRowEffect",
|
|
8000
|
+
"declaration": {
|
|
8001
|
+
"name": "GenesisRowEffect",
|
|
8002
|
+
"module": "./types"
|
|
8003
|
+
}
|
|
8004
|
+
},
|
|
8005
|
+
{
|
|
8006
|
+
"kind": "js",
|
|
8007
|
+
"name": "GenesisRowInput",
|
|
8008
|
+
"declaration": {
|
|
8009
|
+
"name": "GenesisRowInput",
|
|
8010
|
+
"module": "./types"
|
|
8011
|
+
}
|
|
8012
|
+
},
|
|
8013
|
+
{
|
|
8014
|
+
"kind": "js",
|
|
8015
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
8016
|
+
"declaration": {
|
|
8017
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
8018
|
+
"module": "./types"
|
|
8386
8019
|
}
|
|
8020
|
+
}
|
|
8021
|
+
]
|
|
8022
|
+
},
|
|
8023
|
+
{
|
|
8024
|
+
"kind": "javascript-module",
|
|
8025
|
+
"path": "src/genesis/reference-check.ts",
|
|
8026
|
+
"declarations": [
|
|
8027
|
+
{
|
|
8028
|
+
"kind": "function",
|
|
8029
|
+
"name": "tableOf",
|
|
8030
|
+
"return": {
|
|
8031
|
+
"type": {
|
|
8032
|
+
"text": "string"
|
|
8033
|
+
}
|
|
8034
|
+
},
|
|
8035
|
+
"parameters": [
|
|
8036
|
+
{
|
|
8037
|
+
"name": "resource",
|
|
8038
|
+
"type": {
|
|
8039
|
+
"text": "string"
|
|
8040
|
+
}
|
|
8041
|
+
}
|
|
8042
|
+
],
|
|
8043
|
+
"description": "The table a `REQ_<T>` reads."
|
|
8044
|
+
},
|
|
8045
|
+
{
|
|
8046
|
+
"kind": "function",
|
|
8047
|
+
"name": "notAcceptedHere",
|
|
8048
|
+
"return": {
|
|
8049
|
+
"type": {
|
|
8050
|
+
"text": "string"
|
|
8051
|
+
}
|
|
8052
|
+
},
|
|
8053
|
+
"parameters": [
|
|
8054
|
+
{
|
|
8055
|
+
"name": "field",
|
|
8056
|
+
"type": {
|
|
8057
|
+
"text": "string"
|
|
8058
|
+
}
|
|
8059
|
+
},
|
|
8060
|
+
{
|
|
8061
|
+
"name": "{ resource, reason }",
|
|
8062
|
+
"type": {
|
|
8063
|
+
"text": "UncheckedField"
|
|
8064
|
+
}
|
|
8065
|
+
}
|
|
8066
|
+
],
|
|
8067
|
+
"description": "What an insert says about a value it cannot check."
|
|
8387
8068
|
},
|
|
8069
|
+
{
|
|
8070
|
+
"kind": "function",
|
|
8071
|
+
"name": "cannotBeChanged",
|
|
8072
|
+
"return": {
|
|
8073
|
+
"type": {
|
|
8074
|
+
"text": "string"
|
|
8075
|
+
}
|
|
8076
|
+
},
|
|
8077
|
+
"parameters": [
|
|
8078
|
+
{
|
|
8079
|
+
"name": "field",
|
|
8080
|
+
"type": {
|
|
8081
|
+
"text": "string"
|
|
8082
|
+
}
|
|
8083
|
+
},
|
|
8084
|
+
{
|
|
8085
|
+
"name": "{ resource, reason }",
|
|
8086
|
+
"type": {
|
|
8087
|
+
"text": "UncheckedField"
|
|
8088
|
+
}
|
|
8089
|
+
}
|
|
8090
|
+
],
|
|
8091
|
+
"description": "What a modify says about a new value it cannot check."
|
|
8092
|
+
}
|
|
8093
|
+
],
|
|
8094
|
+
"exports": [
|
|
8388
8095
|
{
|
|
8389
8096
|
"kind": "js",
|
|
8390
|
-
"name": "
|
|
8097
|
+
"name": "tableOf",
|
|
8391
8098
|
"declaration": {
|
|
8392
|
-
"name": "
|
|
8393
|
-
"module": "
|
|
8099
|
+
"name": "tableOf",
|
|
8100
|
+
"module": "src/genesis/reference-check.ts"
|
|
8394
8101
|
}
|
|
8395
8102
|
},
|
|
8396
8103
|
{
|
|
8397
8104
|
"kind": "js",
|
|
8398
|
-
"name": "
|
|
8105
|
+
"name": "notAcceptedHere",
|
|
8399
8106
|
"declaration": {
|
|
8400
|
-
"name": "
|
|
8401
|
-
"module": "
|
|
8107
|
+
"name": "notAcceptedHere",
|
|
8108
|
+
"module": "src/genesis/reference-check.ts"
|
|
8402
8109
|
}
|
|
8403
8110
|
},
|
|
8404
8111
|
{
|
|
8405
8112
|
"kind": "js",
|
|
8406
|
-
"name": "
|
|
8113
|
+
"name": "cannotBeChanged",
|
|
8407
8114
|
"declaration": {
|
|
8408
|
-
"name": "
|
|
8409
|
-
"module": "
|
|
8115
|
+
"name": "cannotBeChanged",
|
|
8116
|
+
"module": "src/genesis/reference-check.ts"
|
|
8410
8117
|
}
|
|
8411
|
-
}
|
|
8118
|
+
}
|
|
8119
|
+
]
|
|
8120
|
+
},
|
|
8121
|
+
{
|
|
8122
|
+
"kind": "javascript-module",
|
|
8123
|
+
"path": "src/genesis/reference-existence.ts",
|
|
8124
|
+
"declarations": [
|
|
8412
8125
|
{
|
|
8413
|
-
"kind": "
|
|
8414
|
-
"name": "
|
|
8415
|
-
"
|
|
8416
|
-
"
|
|
8417
|
-
|
|
8418
|
-
|
|
8126
|
+
"kind": "variable",
|
|
8127
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8128
|
+
"type": {
|
|
8129
|
+
"text": "number"
|
|
8130
|
+
},
|
|
8131
|
+
"default": "50",
|
|
8132
|
+
"description": "The most distinct values one call may check."
|
|
8419
8133
|
},
|
|
8420
8134
|
{
|
|
8421
|
-
"kind": "
|
|
8422
|
-
"name": "
|
|
8423
|
-
"
|
|
8424
|
-
"
|
|
8425
|
-
|
|
8426
|
-
|
|
8427
|
-
|
|
8135
|
+
"kind": "function",
|
|
8136
|
+
"name": "withReferenceProblems",
|
|
8137
|
+
"return": {
|
|
8138
|
+
"type": {
|
|
8139
|
+
"text": "T[]"
|
|
8140
|
+
}
|
|
8141
|
+
},
|
|
8142
|
+
"parameters": [
|
|
8143
|
+
{
|
|
8144
|
+
"name": "rows",
|
|
8145
|
+
"type": {
|
|
8146
|
+
"text": "readonly T[]"
|
|
8147
|
+
}
|
|
8148
|
+
},
|
|
8149
|
+
{
|
|
8150
|
+
"name": "problems",
|
|
8151
|
+
"type": {
|
|
8152
|
+
"text": "ReadonlyMap<number, string[]>"
|
|
8153
|
+
}
|
|
8154
|
+
}
|
|
8155
|
+
],
|
|
8156
|
+
"description": "The rows with what the check found added to their problems."
|
|
8157
|
+
}
|
|
8158
|
+
],
|
|
8159
|
+
"exports": [
|
|
8428
8160
|
{
|
|
8429
8161
|
"kind": "js",
|
|
8430
|
-
"name": "
|
|
8162
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8431
8163
|
"declaration": {
|
|
8432
|
-
"name": "
|
|
8433
|
-
"module": "
|
|
8164
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8165
|
+
"module": "src/genesis/reference-existence.ts"
|
|
8434
8166
|
}
|
|
8435
8167
|
},
|
|
8436
8168
|
{
|
|
8437
8169
|
"kind": "js",
|
|
8438
|
-
"name": "
|
|
8170
|
+
"name": "withReferenceProblems",
|
|
8439
8171
|
"declaration": {
|
|
8440
|
-
"name": "
|
|
8441
|
-
"module": "
|
|
8172
|
+
"name": "withReferenceProblems",
|
|
8173
|
+
"module": "src/genesis/reference-existence.ts"
|
|
8442
8174
|
}
|
|
8175
|
+
}
|
|
8176
|
+
]
|
|
8177
|
+
},
|
|
8178
|
+
{
|
|
8179
|
+
"kind": "javascript-module",
|
|
8180
|
+
"path": "src/genesis/register-genesis-assistant.ts",
|
|
8181
|
+
"declarations": [
|
|
8182
|
+
{
|
|
8183
|
+
"kind": "variable",
|
|
8184
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8185
|
+
"type": {
|
|
8186
|
+
"text": "string"
|
|
8187
|
+
},
|
|
8188
|
+
"default": "'genesis-assistant'",
|
|
8189
|
+
"description": "The name of the agent registerGenesisAssistant builds."
|
|
8443
8190
|
},
|
|
8191
|
+
{
|
|
8192
|
+
"kind": "function",
|
|
8193
|
+
"name": "registerGenesisAssistant",
|
|
8194
|
+
"return": {
|
|
8195
|
+
"type": {
|
|
8196
|
+
"text": "GenesisAssistantRegistration"
|
|
8197
|
+
}
|
|
8198
|
+
},
|
|
8199
|
+
"parameters": [
|
|
8200
|
+
{
|
|
8201
|
+
"name": "options",
|
|
8202
|
+
"type": {
|
|
8203
|
+
"text": "RegisterGenesisAssistantOptions"
|
|
8204
|
+
}
|
|
8205
|
+
}
|
|
8206
|
+
],
|
|
8207
|
+
"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."
|
|
8208
|
+
}
|
|
8209
|
+
],
|
|
8210
|
+
"exports": [
|
|
8444
8211
|
{
|
|
8445
8212
|
"kind": "js",
|
|
8446
|
-
"name": "
|
|
8213
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8447
8214
|
"declaration": {
|
|
8448
|
-
"name": "
|
|
8449
|
-
"module": "
|
|
8215
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8216
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
8450
8217
|
}
|
|
8451
8218
|
},
|
|
8452
8219
|
{
|
|
8453
8220
|
"kind": "js",
|
|
8454
|
-
"name": "
|
|
8221
|
+
"name": "registerGenesisAssistant",
|
|
8455
8222
|
"declaration": {
|
|
8456
|
-
"name": "
|
|
8457
|
-
"module": "
|
|
8223
|
+
"name": "registerGenesisAssistant",
|
|
8224
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
8458
8225
|
}
|
|
8226
|
+
}
|
|
8227
|
+
]
|
|
8228
|
+
},
|
|
8229
|
+
{
|
|
8230
|
+
"kind": "javascript-module",
|
|
8231
|
+
"path": "src/genesis/resource-tools.ts",
|
|
8232
|
+
"declarations": [
|
|
8233
|
+
{
|
|
8234
|
+
"kind": "variable",
|
|
8235
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8236
|
+
"type": {
|
|
8237
|
+
"text": "string"
|
|
8238
|
+
},
|
|
8239
|
+
"default": "'app-database'",
|
|
8240
|
+
"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."
|
|
8459
8241
|
},
|
|
8242
|
+
{
|
|
8243
|
+
"kind": "function",
|
|
8244
|
+
"name": "createGenesisResourceTools",
|
|
8245
|
+
"return": {
|
|
8246
|
+
"type": {
|
|
8247
|
+
"text": "GenesisResourceTools"
|
|
8248
|
+
}
|
|
8249
|
+
},
|
|
8250
|
+
"parameters": [
|
|
8251
|
+
{
|
|
8252
|
+
"name": "resources",
|
|
8253
|
+
"type": {
|
|
8254
|
+
"text": "readonly GenesisAiResource[]"
|
|
8255
|
+
}
|
|
8256
|
+
},
|
|
8257
|
+
{
|
|
8258
|
+
"name": "options",
|
|
8259
|
+
"default": "{}",
|
|
8260
|
+
"type": {
|
|
8261
|
+
"text": "GenesisResourceToolsOptions"
|
|
8262
|
+
}
|
|
8263
|
+
}
|
|
8264
|
+
],
|
|
8265
|
+
"description": "Builds the assistant's tools from an app's resources."
|
|
8266
|
+
}
|
|
8267
|
+
],
|
|
8268
|
+
"exports": [
|
|
8460
8269
|
{
|
|
8461
8270
|
"kind": "js",
|
|
8462
|
-
"name": "
|
|
8271
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8463
8272
|
"declaration": {
|
|
8464
|
-
"name": "
|
|
8465
|
-
"module": "
|
|
8273
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8274
|
+
"module": "src/genesis/resource-tools.ts"
|
|
8466
8275
|
}
|
|
8467
8276
|
},
|
|
8468
8277
|
{
|
|
8469
8278
|
"kind": "js",
|
|
8470
|
-
"name": "
|
|
8279
|
+
"name": "createGenesisResourceTools",
|
|
8471
8280
|
"declaration": {
|
|
8472
|
-
"name": "
|
|
8473
|
-
"module": "
|
|
8281
|
+
"name": "createGenesisResourceTools",
|
|
8282
|
+
"module": "src/genesis/resource-tools.ts"
|
|
8474
8283
|
}
|
|
8475
|
-
}
|
|
8284
|
+
}
|
|
8285
|
+
]
|
|
8286
|
+
},
|
|
8287
|
+
{
|
|
8288
|
+
"kind": "javascript-module",
|
|
8289
|
+
"path": "src/genesis/review-model.ts",
|
|
8290
|
+
"declarations": [
|
|
8291
|
+
{
|
|
8292
|
+
"kind": "variable",
|
|
8293
|
+
"name": "LONG_VALUE",
|
|
8294
|
+
"type": {
|
|
8295
|
+
"text": "number"
|
|
8296
|
+
},
|
|
8297
|
+
"default": "24",
|
|
8298
|
+
"description": "Past this many characters a value wraps; at or under it, it stays on one line."
|
|
8299
|
+
}
|
|
8300
|
+
],
|
|
8301
|
+
"exports": [
|
|
8476
8302
|
{
|
|
8477
8303
|
"kind": "js",
|
|
8478
|
-
"name": "
|
|
8304
|
+
"name": "GenesisChangeRequest",
|
|
8479
8305
|
"declaration": {
|
|
8480
|
-
"name": "
|
|
8481
|
-
"module": "./
|
|
8306
|
+
"name": "GenesisChangeRequest",
|
|
8307
|
+
"module": "./review-payload"
|
|
8482
8308
|
}
|
|
8483
8309
|
},
|
|
8484
8310
|
{
|
|
8485
8311
|
"kind": "js",
|
|
8486
|
-
"name": "
|
|
8312
|
+
"name": "GenesisReviewPayload",
|
|
8487
8313
|
"declaration": {
|
|
8488
|
-
"name": "
|
|
8489
|
-
"module": "./
|
|
8314
|
+
"name": "GenesisReviewPayload",
|
|
8315
|
+
"module": "./review-payload"
|
|
8490
8316
|
}
|
|
8491
8317
|
},
|
|
8492
8318
|
{
|
|
8493
8319
|
"kind": "js",
|
|
8494
|
-
"name": "
|
|
8320
|
+
"name": "LONG_VALUE",
|
|
8495
8321
|
"declaration": {
|
|
8496
|
-
"name": "
|
|
8497
|
-
"module": "
|
|
8322
|
+
"name": "LONG_VALUE",
|
|
8323
|
+
"module": "src/genesis/review-model.ts"
|
|
8498
8324
|
}
|
|
8325
|
+
}
|
|
8326
|
+
]
|
|
8327
|
+
},
|
|
8328
|
+
{
|
|
8329
|
+
"kind": "javascript-module",
|
|
8330
|
+
"path": "src/genesis/review-payload.ts",
|
|
8331
|
+
"declarations": [],
|
|
8332
|
+
"exports": []
|
|
8333
|
+
},
|
|
8334
|
+
{
|
|
8335
|
+
"kind": "javascript-module",
|
|
8336
|
+
"path": "src/genesis/row-source.ts",
|
|
8337
|
+
"declarations": [],
|
|
8338
|
+
"exports": []
|
|
8339
|
+
},
|
|
8340
|
+
{
|
|
8341
|
+
"kind": "javascript-module",
|
|
8342
|
+
"path": "src/genesis/serialisable.ts",
|
|
8343
|
+
"declarations": [],
|
|
8344
|
+
"exports": []
|
|
8345
|
+
},
|
|
8346
|
+
{
|
|
8347
|
+
"kind": "javascript-module",
|
|
8348
|
+
"path": "src/genesis/server-text.ts",
|
|
8349
|
+
"declarations": [
|
|
8350
|
+
{
|
|
8351
|
+
"kind": "function",
|
|
8352
|
+
"name": "readsLikeFieldName",
|
|
8353
|
+
"return": {
|
|
8354
|
+
"type": {
|
|
8355
|
+
"text": "boolean"
|
|
8356
|
+
}
|
|
8357
|
+
},
|
|
8358
|
+
"parameters": [
|
|
8359
|
+
{
|
|
8360
|
+
"name": "text",
|
|
8361
|
+
"type": {
|
|
8362
|
+
"text": "string"
|
|
8363
|
+
}
|
|
8364
|
+
}
|
|
8365
|
+
],
|
|
8366
|
+
"description": "Whether text is a Genesis identifier, the FIELD_NAME shape. @internal"
|
|
8499
8367
|
},
|
|
8500
8368
|
{
|
|
8501
|
-
"kind": "
|
|
8502
|
-
"name": "
|
|
8503
|
-
"
|
|
8504
|
-
"
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8369
|
+
"kind": "function",
|
|
8370
|
+
"name": "describeFailure",
|
|
8371
|
+
"return": {
|
|
8372
|
+
"type": {
|
|
8373
|
+
"text": "string | undefined"
|
|
8374
|
+
}
|
|
8375
|
+
},
|
|
8376
|
+
"parameters": [
|
|
8377
|
+
{
|
|
8378
|
+
"name": "error",
|
|
8379
|
+
"type": {
|
|
8380
|
+
"text": "unknown"
|
|
8381
|
+
}
|
|
8382
|
+
}
|
|
8383
|
+
],
|
|
8384
|
+
"description": "Whatever a rejection turns out to be, as a sentence."
|
|
8385
|
+
}
|
|
8386
|
+
],
|
|
8387
|
+
"exports": [
|
|
8508
8388
|
{
|
|
8509
8389
|
"kind": "js",
|
|
8510
|
-
"name": "
|
|
8390
|
+
"name": "readsLikeFieldName",
|
|
8511
8391
|
"declaration": {
|
|
8512
|
-
"name": "
|
|
8513
|
-
"module": "
|
|
8392
|
+
"name": "readsLikeFieldName",
|
|
8393
|
+
"module": "src/genesis/server-text.ts"
|
|
8514
8394
|
}
|
|
8515
8395
|
},
|
|
8516
8396
|
{
|
|
8517
8397
|
"kind": "js",
|
|
8518
|
-
"name": "
|
|
8398
|
+
"name": "describeFailure",
|
|
8519
8399
|
"declaration": {
|
|
8520
|
-
"name": "
|
|
8521
|
-
"module": "
|
|
8400
|
+
"name": "describeFailure",
|
|
8401
|
+
"module": "src/genesis/server-text.ts"
|
|
8522
8402
|
}
|
|
8523
|
-
}
|
|
8403
|
+
}
|
|
8404
|
+
]
|
|
8405
|
+
},
|
|
8406
|
+
{
|
|
8407
|
+
"kind": "javascript-module",
|
|
8408
|
+
"path": "src/genesis/type-name.ts",
|
|
8409
|
+
"declarations": [],
|
|
8410
|
+
"exports": []
|
|
8411
|
+
},
|
|
8412
|
+
{
|
|
8413
|
+
"kind": "javascript-module",
|
|
8414
|
+
"path": "src/genesis/types.ts",
|
|
8415
|
+
"declarations": [
|
|
8524
8416
|
{
|
|
8525
|
-
"kind": "
|
|
8526
|
-
"name": "
|
|
8527
|
-
"
|
|
8528
|
-
"
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
|
|
8417
|
+
"kind": "variable",
|
|
8418
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8419
|
+
"type": {
|
|
8420
|
+
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
8421
|
+
},
|
|
8422
|
+
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
8423
|
+
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
8424
|
+
}
|
|
8425
|
+
],
|
|
8426
|
+
"exports": [
|
|
8532
8427
|
{
|
|
8533
8428
|
"kind": "js",
|
|
8534
|
-
"name": "
|
|
8429
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8535
8430
|
"declaration": {
|
|
8536
|
-
"name": "
|
|
8537
|
-
"module": "
|
|
8431
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8432
|
+
"module": "src/genesis/types.ts"
|
|
8538
8433
|
}
|
|
8539
|
-
}
|
|
8434
|
+
}
|
|
8435
|
+
]
|
|
8436
|
+
},
|
|
8437
|
+
{
|
|
8438
|
+
"kind": "javascript-module",
|
|
8439
|
+
"path": "src/genesis/value-compare.ts",
|
|
8440
|
+
"declarations": [],
|
|
8441
|
+
"exports": []
|
|
8442
|
+
},
|
|
8443
|
+
{
|
|
8444
|
+
"kind": "javascript-module",
|
|
8445
|
+
"path": "src/genesis/vendor-follower.ts",
|
|
8446
|
+
"declarations": [],
|
|
8447
|
+
"exports": []
|
|
8448
|
+
},
|
|
8449
|
+
{
|
|
8450
|
+
"kind": "javascript-module",
|
|
8451
|
+
"path": "src/genesis/vendor-pick.ts",
|
|
8452
|
+
"declarations": [],
|
|
8453
|
+
"exports": []
|
|
8454
|
+
},
|
|
8455
|
+
{
|
|
8456
|
+
"kind": "javascript-module",
|
|
8457
|
+
"path": "src/genesis/write-commit.ts",
|
|
8458
|
+
"declarations": [],
|
|
8459
|
+
"exports": []
|
|
8460
|
+
},
|
|
8461
|
+
{
|
|
8462
|
+
"kind": "javascript-module",
|
|
8463
|
+
"path": "src/genesis/write-op.ts",
|
|
8464
|
+
"declarations": [],
|
|
8465
|
+
"exports": []
|
|
8466
|
+
},
|
|
8467
|
+
{
|
|
8468
|
+
"kind": "javascript-module",
|
|
8469
|
+
"path": "src/genesis/write-outcome.ts",
|
|
8470
|
+
"declarations": [],
|
|
8471
|
+
"exports": []
|
|
8472
|
+
},
|
|
8473
|
+
{
|
|
8474
|
+
"kind": "javascript-module",
|
|
8475
|
+
"path": "src/genesis/write-payload.ts",
|
|
8476
|
+
"declarations": [
|
|
8540
8477
|
{
|
|
8541
|
-
"kind": "
|
|
8542
|
-
"name": "
|
|
8543
|
-
"
|
|
8544
|
-
"
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8478
|
+
"kind": "function",
|
|
8479
|
+
"name": "buildEventPayload",
|
|
8480
|
+
"return": {
|
|
8481
|
+
"type": {
|
|
8482
|
+
"text": "PayloadResult"
|
|
8483
|
+
}
|
|
8484
|
+
},
|
|
8485
|
+
"parameters": [
|
|
8486
|
+
{
|
|
8487
|
+
"name": "fields",
|
|
8488
|
+
"type": {
|
|
8489
|
+
"text": "readonly GenesisEventField[]"
|
|
8490
|
+
}
|
|
8491
|
+
},
|
|
8492
|
+
{
|
|
8493
|
+
"name": "row",
|
|
8494
|
+
"type": {
|
|
8495
|
+
"text": "unknown"
|
|
8496
|
+
}
|
|
8497
|
+
},
|
|
8498
|
+
{
|
|
8499
|
+
"name": "{ op, preImage, unchecked }",
|
|
8500
|
+
"type": {
|
|
8501
|
+
"text": "BuildPayloadOptions"
|
|
8502
|
+
}
|
|
8503
|
+
}
|
|
8504
|
+
]
|
|
8505
|
+
}
|
|
8506
|
+
],
|
|
8507
|
+
"exports": [
|
|
8548
8508
|
{
|
|
8549
8509
|
"kind": "js",
|
|
8550
|
-
"name": "
|
|
8510
|
+
"name": "buildEventPayload",
|
|
8551
8511
|
"declaration": {
|
|
8552
|
-
"name": "
|
|
8553
|
-
"module": "
|
|
8512
|
+
"name": "buildEventPayload",
|
|
8513
|
+
"module": "src/genesis/write-payload.ts"
|
|
8554
8514
|
}
|
|
8555
|
-
}
|
|
8515
|
+
}
|
|
8516
|
+
]
|
|
8517
|
+
},
|
|
8518
|
+
{
|
|
8519
|
+
"kind": "javascript-module",
|
|
8520
|
+
"path": "src/genesis/write-plan.ts",
|
|
8521
|
+
"declarations": [
|
|
8556
8522
|
{
|
|
8557
|
-
"kind": "
|
|
8558
|
-
"name": "
|
|
8559
|
-
"
|
|
8560
|
-
"
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
|
|
8523
|
+
"kind": "variable",
|
|
8524
|
+
"name": "MAX_WRITE_ROWS",
|
|
8525
|
+
"type": {
|
|
8526
|
+
"text": "number"
|
|
8527
|
+
},
|
|
8528
|
+
"default": "25",
|
|
8529
|
+
"description": "A batch a person can actually read before approving it."
|
|
8530
|
+
}
|
|
8531
|
+
],
|
|
8532
|
+
"exports": [
|
|
8564
8533
|
{
|
|
8565
8534
|
"kind": "js",
|
|
8566
|
-
"name": "
|
|
8535
|
+
"name": "MAX_WRITE_ROWS",
|
|
8567
8536
|
"declaration": {
|
|
8568
|
-
"name": "
|
|
8569
|
-
"module": "
|
|
8537
|
+
"name": "MAX_WRITE_ROWS",
|
|
8538
|
+
"module": "src/genesis/write-plan.ts"
|
|
8570
8539
|
}
|
|
8571
|
-
}
|
|
8540
|
+
}
|
|
8541
|
+
]
|
|
8542
|
+
},
|
|
8543
|
+
{
|
|
8544
|
+
"kind": "javascript-module",
|
|
8545
|
+
"path": "src/genesis/write-tools.ts",
|
|
8546
|
+
"declarations": [
|
|
8572
8547
|
{
|
|
8573
|
-
"kind": "
|
|
8574
|
-
"name": "
|
|
8575
|
-
"
|
|
8576
|
-
"
|
|
8577
|
-
|
|
8578
|
-
|
|
8579
|
-
|
|
8548
|
+
"kind": "function",
|
|
8549
|
+
"name": "createGenesisWriteTools",
|
|
8550
|
+
"return": {
|
|
8551
|
+
"type": {
|
|
8552
|
+
"text": "{\n toolDefinitions: () => Promise<ChatToolDefinition[]>;\n toolHandlers: ChatToolHandlers;\n /**\n * The events that can get a write tool, as far as the config can tell: an event refused for its\n * op, its rowSources entry or a malformed references, or a modify or delete with no row source,\n * is not among them. Their metadata, read when the tools are first listed, can still withhold one.\n */\n writableEvents: readonly string[];\n}"
|
|
8553
|
+
}
|
|
8554
|
+
},
|
|
8555
|
+
"parameters": [
|
|
8556
|
+
{
|
|
8557
|
+
"name": "resources",
|
|
8558
|
+
"type": {
|
|
8559
|
+
"text": "readonly GenesisAiResource[]"
|
|
8560
|
+
}
|
|
8561
|
+
},
|
|
8562
|
+
{
|
|
8563
|
+
"name": "options",
|
|
8564
|
+
"default": "{}",
|
|
8565
|
+
"type": {
|
|
8566
|
+
"text": "GenesisWriteToolsOptions"
|
|
8567
|
+
}
|
|
8568
|
+
}
|
|
8569
|
+
],
|
|
8570
|
+
"description": "Builds the assistant's write tools from an app's event resources."
|
|
8571
|
+
}
|
|
8572
|
+
],
|
|
8573
|
+
"exports": [
|
|
8580
8574
|
{
|
|
8581
8575
|
"kind": "js",
|
|
8582
|
-
"name": "
|
|
8576
|
+
"name": "createGenesisWriteTools",
|
|
8583
8577
|
"declaration": {
|
|
8584
|
-
"name": "
|
|
8585
|
-
"module": "
|
|
8578
|
+
"name": "createGenesisWriteTools",
|
|
8579
|
+
"module": "src/genesis/write-tools.ts"
|
|
8586
8580
|
}
|
|
8587
8581
|
}
|
|
8588
8582
|
]
|
|
8589
8583
|
},
|
|
8584
|
+
{
|
|
8585
|
+
"kind": "javascript-module",
|
|
8586
|
+
"path": "src/genesis/write-turn.ts",
|
|
8587
|
+
"declarations": [],
|
|
8588
|
+
"exports": []
|
|
8589
|
+
},
|
|
8590
8590
|
{
|
|
8591
8591
|
"kind": "javascript-module",
|
|
8592
8592
|
"path": "src/headless-server/compact.ts",
|