@genesislcap/ai-assistant 15.96.3 → 15.97.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 +1589 -1589
- package/package.json +17 -17
|
@@ -6046,1564 +6046,882 @@
|
|
|
6046
6046
|
},
|
|
6047
6047
|
{
|
|
6048
6048
|
"kind": "javascript-module",
|
|
6049
|
-
"path": "src/
|
|
6050
|
-
"declarations": [],
|
|
6051
|
-
"exports": []
|
|
6052
|
-
},
|
|
6053
|
-
{
|
|
6054
|
-
"kind": "javascript-module",
|
|
6055
|
-
"path": "src/genesis/config.ts",
|
|
6049
|
+
"path": "src/headless-server/compact.ts",
|
|
6056
6050
|
"declarations": [
|
|
6057
6051
|
{
|
|
6058
|
-
"kind": "
|
|
6059
|
-
"name": "
|
|
6060
|
-
"
|
|
6061
|
-
"
|
|
6052
|
+
"kind": "function",
|
|
6053
|
+
"name": "firstLines",
|
|
6054
|
+
"return": {
|
|
6055
|
+
"type": {
|
|
6056
|
+
"text": "{ text: string; chars?: number }"
|
|
6057
|
+
}
|
|
6062
6058
|
},
|
|
6063
|
-
"
|
|
6064
|
-
|
|
6059
|
+
"parameters": [
|
|
6060
|
+
{
|
|
6061
|
+
"name": "text",
|
|
6062
|
+
"type": {
|
|
6063
|
+
"text": "string"
|
|
6064
|
+
}
|
|
6065
|
+
},
|
|
6066
|
+
{
|
|
6067
|
+
"name": "lines",
|
|
6068
|
+
"type": {
|
|
6069
|
+
"text": "number"
|
|
6070
|
+
}
|
|
6071
|
+
},
|
|
6072
|
+
{
|
|
6073
|
+
"name": "chars",
|
|
6074
|
+
"type": {
|
|
6075
|
+
"text": "number"
|
|
6076
|
+
}
|
|
6077
|
+
}
|
|
6078
|
+
],
|
|
6079
|
+
"description": "The first `lines` lines of `text`, at most `chars` characters, and its full length when it was cut."
|
|
6065
6080
|
},
|
|
6066
6081
|
{
|
|
6067
|
-
"kind": "
|
|
6068
|
-
"name": "
|
|
6069
|
-
"
|
|
6070
|
-
"
|
|
6082
|
+
"kind": "function",
|
|
6083
|
+
"name": "present",
|
|
6084
|
+
"return": {
|
|
6085
|
+
"type": {
|
|
6086
|
+
"text": "Partial<T>"
|
|
6087
|
+
}
|
|
6071
6088
|
},
|
|
6072
|
-
"
|
|
6089
|
+
"parameters": [
|
|
6090
|
+
{
|
|
6091
|
+
"name": "source",
|
|
6092
|
+
"type": {
|
|
6093
|
+
"text": "T"
|
|
6094
|
+
}
|
|
6095
|
+
}
|
|
6096
|
+
],
|
|
6097
|
+
"description": "The keys of `source` that are set, as a new object: a field with nothing to say is dropped."
|
|
6073
6098
|
},
|
|
6074
6099
|
{
|
|
6075
6100
|
"kind": "function",
|
|
6076
|
-
"name": "
|
|
6101
|
+
"name": "compactEvent",
|
|
6077
6102
|
"return": {
|
|
6078
6103
|
"type": {
|
|
6079
|
-
"text": "
|
|
6104
|
+
"text": "CompactEvent | undefined"
|
|
6080
6105
|
}
|
|
6081
6106
|
},
|
|
6082
6107
|
"parameters": [
|
|
6083
6108
|
{
|
|
6084
|
-
"name": "
|
|
6109
|
+
"name": "event",
|
|
6085
6110
|
"type": {
|
|
6086
|
-
"text": "
|
|
6111
|
+
"text": "HeadlessEvent"
|
|
6112
|
+
}
|
|
6113
|
+
},
|
|
6114
|
+
{
|
|
6115
|
+
"name": "options",
|
|
6116
|
+
"default": "{}",
|
|
6117
|
+
"type": {
|
|
6118
|
+
"text": "CompactOptions"
|
|
6087
6119
|
}
|
|
6088
6120
|
}
|
|
6089
6121
|
],
|
|
6090
|
-
"description": "
|
|
6122
|
+
"description": "One session event, compact. `decision` and `working` are not reported as events: what the person is asked\nis the reply's `decision`, and what is working is its `working`. A message carries its first lines and\nits length; a probe event is the host's view of it (see `ServerOptions.probeEvent`)."
|
|
6091
6123
|
},
|
|
6092
6124
|
{
|
|
6093
6125
|
"kind": "function",
|
|
6094
|
-
"name": "
|
|
6126
|
+
"name": "leanDecisionText",
|
|
6095
6127
|
"return": {
|
|
6096
6128
|
"type": {
|
|
6097
|
-
"text": "string
|
|
6129
|
+
"text": "string"
|
|
6098
6130
|
}
|
|
6099
6131
|
},
|
|
6100
6132
|
"parameters": [
|
|
6101
6133
|
{
|
|
6102
|
-
"name": "
|
|
6134
|
+
"name": "text",
|
|
6103
6135
|
"type": {
|
|
6104
|
-
"text": "
|
|
6136
|
+
"text": "string"
|
|
6105
6137
|
}
|
|
6106
6138
|
},
|
|
6107
6139
|
{
|
|
6108
|
-
"name": "
|
|
6140
|
+
"name": "views",
|
|
6141
|
+
"optional": true,
|
|
6109
6142
|
"type": {
|
|
6110
|
-
"text": "
|
|
6111
|
-
}
|
|
6112
|
-
|
|
6143
|
+
"text": "Readonly<Record<string, string>>"
|
|
6144
|
+
}
|
|
6145
|
+
}
|
|
6146
|
+
],
|
|
6147
|
+
"description": "A decision's text without its `Now: <the preview view as JSON>` line, and nothing else (`decisionText:\n\"lean\"`). `renderDecision` writes the preview as `Now: ${capRead(JSON.stringify(view))}`: `JSON.stringify`\nwith no indent never breaks a line, so the JSON is the one line, and `capRead` adds a second, `[Cut at …]`,\nonly when it cut it. Both go; in their place is a pointer to `read`. The line is found by position, not\nby prefix alone: it follows the Views list, whose entry for the preview ends `(shown below as Now)`, so a\ncard that itself has a line starting `Now: ` is not mistaken for it.\n\nThe text comes back as it was when there is no preview to find (a card with no preview view, or a short-form\ndecision, which shows no `Now:`), or when `views` does not name the one the Views list marks."
|
|
6148
|
+
},
|
|
6149
|
+
{
|
|
6150
|
+
"kind": "function",
|
|
6151
|
+
"name": "compactDecision",
|
|
6152
|
+
"return": {
|
|
6153
|
+
"type": {
|
|
6154
|
+
"text": "CompactDecision"
|
|
6155
|
+
}
|
|
6156
|
+
},
|
|
6157
|
+
"parameters": [
|
|
6158
|
+
{
|
|
6159
|
+
"name": "description",
|
|
6160
|
+
"type": {
|
|
6161
|
+
"text": "InteractionDescription"
|
|
6162
|
+
}
|
|
6113
6163
|
},
|
|
6114
6164
|
{
|
|
6115
|
-
"name": "
|
|
6116
|
-
"default": "
|
|
6165
|
+
"name": "decisionText",
|
|
6166
|
+
"default": "'full'",
|
|
6117
6167
|
"type": {
|
|
6118
|
-
"text": "
|
|
6119
|
-
}
|
|
6120
|
-
"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."
|
|
6168
|
+
"text": "DecisionText"
|
|
6169
|
+
}
|
|
6121
6170
|
}
|
|
6122
6171
|
],
|
|
6123
|
-
"description": "
|
|
6172
|
+
"description": "A decision as the reply carries it: what to read and what to choose from, and nothing empty. With\n`decisionText: \"lean\"` its `text` leaves out the preview view's JSON (leanDecisionText); nothing\nelse about it changes."
|
|
6124
6173
|
},
|
|
6125
6174
|
{
|
|
6126
6175
|
"kind": "function",
|
|
6127
|
-
"name": "
|
|
6176
|
+
"name": "shortDecision",
|
|
6128
6177
|
"return": {
|
|
6129
6178
|
"type": {
|
|
6130
|
-
"text": "
|
|
6179
|
+
"text": "CompactDecision"
|
|
6131
6180
|
}
|
|
6132
6181
|
},
|
|
6133
6182
|
"parameters": [
|
|
6134
6183
|
{
|
|
6135
|
-
"name": "
|
|
6184
|
+
"name": "interactionId",
|
|
6136
6185
|
"type": {
|
|
6137
|
-
"text": "
|
|
6186
|
+
"text": "string"
|
|
6187
|
+
}
|
|
6188
|
+
},
|
|
6189
|
+
{
|
|
6190
|
+
"name": "component",
|
|
6191
|
+
"type": {
|
|
6192
|
+
"text": "string"
|
|
6193
|
+
}
|
|
6194
|
+
},
|
|
6195
|
+
{
|
|
6196
|
+
"name": "actions",
|
|
6197
|
+
"type": {
|
|
6198
|
+
"text": "ReadonlyArray<{ n?: number; name: string; enabled: boolean }>"
|
|
6138
6199
|
}
|
|
6139
6200
|
}
|
|
6140
6201
|
],
|
|
6141
|
-
"description": "
|
|
6202
|
+
"description": "A decision cut to what a caller who has already read the card needs: which interaction, and the actions as\n`n`, `name`, `enabled`. For the reply to an edit, and to a refused action, where the card has not changed\nenough to be worth sending again."
|
|
6142
6203
|
},
|
|
6143
6204
|
{
|
|
6144
6205
|
"kind": "function",
|
|
6145
|
-
"name": "
|
|
6206
|
+
"name": "capOutput",
|
|
6146
6207
|
"return": {
|
|
6147
6208
|
"type": {
|
|
6148
|
-
"text": "
|
|
6209
|
+
"text": "unknown"
|
|
6149
6210
|
}
|
|
6150
6211
|
},
|
|
6151
6212
|
"parameters": [
|
|
6152
6213
|
{
|
|
6153
|
-
"name": "
|
|
6214
|
+
"name": "output",
|
|
6154
6215
|
"type": {
|
|
6155
|
-
"text": "
|
|
6216
|
+
"text": "unknown"
|
|
6156
6217
|
}
|
|
6157
6218
|
}
|
|
6158
6219
|
],
|
|
6159
|
-
"description": "
|
|
6220
|
+
"description": "What an editing action returned, as the reply carries it: whole when small, else its first characters."
|
|
6160
6221
|
}
|
|
6161
6222
|
],
|
|
6162
6223
|
"exports": [
|
|
6163
6224
|
{
|
|
6164
6225
|
"kind": "js",
|
|
6165
|
-
"name": "
|
|
6226
|
+
"name": "firstLines",
|
|
6166
6227
|
"declaration": {
|
|
6167
|
-
"name": "
|
|
6168
|
-
"module": "src/
|
|
6228
|
+
"name": "firstLines",
|
|
6229
|
+
"module": "src/headless-server/compact.ts"
|
|
6169
6230
|
}
|
|
6170
6231
|
},
|
|
6171
6232
|
{
|
|
6172
6233
|
"kind": "js",
|
|
6173
|
-
"name": "
|
|
6234
|
+
"name": "present",
|
|
6174
6235
|
"declaration": {
|
|
6175
|
-
"name": "
|
|
6176
|
-
"module": "src/
|
|
6236
|
+
"name": "present",
|
|
6237
|
+
"module": "src/headless-server/compact.ts"
|
|
6177
6238
|
}
|
|
6178
6239
|
},
|
|
6179
6240
|
{
|
|
6180
6241
|
"kind": "js",
|
|
6181
|
-
"name": "
|
|
6242
|
+
"name": "compactEvent",
|
|
6182
6243
|
"declaration": {
|
|
6183
|
-
"name": "
|
|
6184
|
-
"module": "src/
|
|
6244
|
+
"name": "compactEvent",
|
|
6245
|
+
"module": "src/headless-server/compact.ts"
|
|
6185
6246
|
}
|
|
6186
6247
|
},
|
|
6187
6248
|
{
|
|
6188
6249
|
"kind": "js",
|
|
6189
|
-
"name": "
|
|
6250
|
+
"name": "leanDecisionText",
|
|
6190
6251
|
"declaration": {
|
|
6191
|
-
"name": "
|
|
6192
|
-
"module": "src/
|
|
6252
|
+
"name": "leanDecisionText",
|
|
6253
|
+
"module": "src/headless-server/compact.ts"
|
|
6193
6254
|
}
|
|
6194
6255
|
},
|
|
6195
6256
|
{
|
|
6196
6257
|
"kind": "js",
|
|
6197
|
-
"name": "
|
|
6258
|
+
"name": "compactDecision",
|
|
6198
6259
|
"declaration": {
|
|
6199
|
-
"name": "
|
|
6200
|
-
"module": "src/
|
|
6260
|
+
"name": "compactDecision",
|
|
6261
|
+
"module": "src/headless-server/compact.ts"
|
|
6201
6262
|
}
|
|
6202
6263
|
},
|
|
6203
6264
|
{
|
|
6204
6265
|
"kind": "js",
|
|
6205
|
-
"name": "
|
|
6266
|
+
"name": "shortDecision",
|
|
6206
6267
|
"declaration": {
|
|
6207
|
-
"name": "
|
|
6208
|
-
"module": "src/
|
|
6268
|
+
"name": "shortDecision",
|
|
6269
|
+
"module": "src/headless-server/compact.ts"
|
|
6270
|
+
}
|
|
6271
|
+
},
|
|
6272
|
+
{
|
|
6273
|
+
"kind": "js",
|
|
6274
|
+
"name": "capOutput",
|
|
6275
|
+
"declaration": {
|
|
6276
|
+
"name": "capOutput",
|
|
6277
|
+
"module": "src/headless-server/compact.ts"
|
|
6209
6278
|
}
|
|
6210
6279
|
}
|
|
6211
6280
|
]
|
|
6212
6281
|
},
|
|
6213
6282
|
{
|
|
6214
6283
|
"kind": "javascript-module",
|
|
6215
|
-
"path": "src/
|
|
6216
|
-
"declarations": [
|
|
6217
|
-
{
|
|
6218
|
-
"kind": "variable",
|
|
6219
|
-
"name": "GENESIS_AI_CONSUMES",
|
|
6220
|
-
"type": {
|
|
6221
|
-
"text": "GenesisAiConsumes"
|
|
6222
|
-
},
|
|
6223
|
-
"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."
|
|
6224
|
-
}
|
|
6225
|
-
],
|
|
6284
|
+
"path": "src/headless-server/index.ts",
|
|
6285
|
+
"declarations": [],
|
|
6226
6286
|
"exports": [
|
|
6227
6287
|
{
|
|
6228
6288
|
"kind": "js",
|
|
6229
|
-
"name": "
|
|
6289
|
+
"name": "capOutput",
|
|
6230
6290
|
"declaration": {
|
|
6231
|
-
"name": "
|
|
6232
|
-
"module": "./
|
|
6291
|
+
"name": "capOutput",
|
|
6292
|
+
"module": "./compact"
|
|
6233
6293
|
}
|
|
6234
6294
|
},
|
|
6235
6295
|
{
|
|
6236
6296
|
"kind": "js",
|
|
6237
|
-
"name": "
|
|
6297
|
+
"name": "compactDecision",
|
|
6238
6298
|
"declaration": {
|
|
6239
|
-
"name": "
|
|
6240
|
-
"module": "
|
|
6299
|
+
"name": "compactDecision",
|
|
6300
|
+
"module": "./compact"
|
|
6241
6301
|
}
|
|
6242
|
-
}
|
|
6243
|
-
]
|
|
6244
|
-
},
|
|
6245
|
-
{
|
|
6246
|
-
"kind": "javascript-module",
|
|
6247
|
-
"path": "src/genesis/criteria.ts",
|
|
6248
|
-
"declarations": [
|
|
6249
|
-
{
|
|
6250
|
-
"kind": "function",
|
|
6251
|
-
"name": "dateFragment",
|
|
6252
|
-
"return": {
|
|
6253
|
-
"type": {
|
|
6254
|
-
"text": "string | undefined"
|
|
6255
|
-
}
|
|
6256
|
-
},
|
|
6257
|
-
"parameters": [
|
|
6258
|
-
{
|
|
6259
|
-
"name": "field",
|
|
6260
|
-
"type": {
|
|
6261
|
-
"text": "string"
|
|
6262
|
-
}
|
|
6263
|
-
},
|
|
6264
|
-
{
|
|
6265
|
-
"name": "op",
|
|
6266
|
-
"type": {
|
|
6267
|
-
"text": "GenesisFilterOp"
|
|
6268
|
-
}
|
|
6269
|
-
},
|
|
6270
|
-
{
|
|
6271
|
-
"name": "date",
|
|
6272
|
-
"type": {
|
|
6273
|
-
"text": "string"
|
|
6274
|
-
}
|
|
6275
|
-
}
|
|
6276
|
-
]
|
|
6277
|
-
},
|
|
6278
|
-
{
|
|
6279
|
-
"kind": "function",
|
|
6280
|
-
"name": "dateTimeFragment",
|
|
6281
|
-
"return": {
|
|
6282
|
-
"type": {
|
|
6283
|
-
"text": "string | undefined"
|
|
6284
|
-
}
|
|
6285
|
-
},
|
|
6286
|
-
"parameters": [
|
|
6287
|
-
{
|
|
6288
|
-
"name": "field",
|
|
6289
|
-
"type": {
|
|
6290
|
-
"text": "string"
|
|
6291
|
-
}
|
|
6292
|
-
},
|
|
6293
|
-
{
|
|
6294
|
-
"name": "op",
|
|
6295
|
-
"type": {
|
|
6296
|
-
"text": "GenesisFilterOp"
|
|
6297
|
-
}
|
|
6298
|
-
},
|
|
6299
|
-
{
|
|
6300
|
-
"name": "bound",
|
|
6301
|
-
"type": {
|
|
6302
|
-
"text": "string"
|
|
6303
|
-
}
|
|
6304
|
-
}
|
|
6305
|
-
],
|
|
6306
|
-
"description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
|
|
6307
|
-
}
|
|
6308
|
-
],
|
|
6309
|
-
"exports": [
|
|
6302
|
+
},
|
|
6310
6303
|
{
|
|
6311
6304
|
"kind": "js",
|
|
6312
|
-
"name": "
|
|
6305
|
+
"name": "compactEvent",
|
|
6313
6306
|
"declaration": {
|
|
6314
|
-
"name": "
|
|
6315
|
-
"module": "
|
|
6307
|
+
"name": "compactEvent",
|
|
6308
|
+
"module": "./compact"
|
|
6316
6309
|
}
|
|
6317
6310
|
},
|
|
6318
6311
|
{
|
|
6319
6312
|
"kind": "js",
|
|
6320
|
-
"name": "
|
|
6313
|
+
"name": "firstLines",
|
|
6321
6314
|
"declaration": {
|
|
6322
|
-
"name": "
|
|
6323
|
-
"module": "
|
|
6315
|
+
"name": "firstLines",
|
|
6316
|
+
"module": "./compact"
|
|
6324
6317
|
}
|
|
6325
|
-
}
|
|
6326
|
-
]
|
|
6327
|
-
},
|
|
6328
|
-
{
|
|
6329
|
-
"kind": "javascript-module",
|
|
6330
|
-
"path": "src/genesis/event-fields.ts",
|
|
6331
|
-
"declarations": [],
|
|
6332
|
-
"exports": []
|
|
6333
|
-
},
|
|
6334
|
-
{
|
|
6335
|
-
"kind": "javascript-module",
|
|
6336
|
-
"path": "src/genesis/filter-fields.ts",
|
|
6337
|
-
"declarations": [],
|
|
6338
|
-
"exports": []
|
|
6339
|
-
},
|
|
6340
|
-
{
|
|
6341
|
-
"kind": "javascript-module",
|
|
6342
|
-
"path": "src/genesis/index.ts",
|
|
6343
|
-
"declarations": [],
|
|
6344
|
-
"exports": [
|
|
6318
|
+
},
|
|
6345
6319
|
{
|
|
6346
6320
|
"kind": "js",
|
|
6347
|
-
"name": "
|
|
6321
|
+
"name": "leanDecisionText",
|
|
6348
6322
|
"declaration": {
|
|
6349
|
-
"name": "
|
|
6350
|
-
"module": "./
|
|
6323
|
+
"name": "leanDecisionText",
|
|
6324
|
+
"module": "./compact"
|
|
6351
6325
|
}
|
|
6352
6326
|
},
|
|
6353
6327
|
{
|
|
6354
6328
|
"kind": "js",
|
|
6355
|
-
"name": "
|
|
6329
|
+
"name": "shortDecision",
|
|
6356
6330
|
"declaration": {
|
|
6357
|
-
"name": "
|
|
6358
|
-
"module": "./
|
|
6331
|
+
"name": "shortDecision",
|
|
6332
|
+
"module": "./compact"
|
|
6359
6333
|
}
|
|
6360
6334
|
},
|
|
6361
6335
|
{
|
|
6362
6336
|
"kind": "js",
|
|
6363
|
-
"name": "
|
|
6337
|
+
"name": "createHeadlessServer",
|
|
6364
6338
|
"declaration": {
|
|
6365
|
-
"name": "
|
|
6366
|
-
"module": "./
|
|
6339
|
+
"name": "createHeadlessServer",
|
|
6340
|
+
"module": "./server"
|
|
6367
6341
|
}
|
|
6368
6342
|
},
|
|
6369
6343
|
{
|
|
6370
6344
|
"kind": "js",
|
|
6371
|
-
"name": "
|
|
6345
|
+
"name": "DECISION_TEXTS",
|
|
6372
6346
|
"declaration": {
|
|
6373
|
-
"name": "
|
|
6374
|
-
"module": "./
|
|
6347
|
+
"name": "DECISION_TEXTS",
|
|
6348
|
+
"module": "./types"
|
|
6375
6349
|
}
|
|
6376
6350
|
},
|
|
6377
6351
|
{
|
|
6378
6352
|
"kind": "js",
|
|
6379
|
-
"name": "
|
|
6353
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
6380
6354
|
"declaration": {
|
|
6381
|
-
"name": "
|
|
6382
|
-
"module": "./
|
|
6355
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
6356
|
+
"module": "./types"
|
|
6383
6357
|
}
|
|
6384
6358
|
},
|
|
6385
6359
|
{
|
|
6386
6360
|
"kind": "js",
|
|
6387
|
-
"name": "
|
|
6361
|
+
"name": "Command",
|
|
6388
6362
|
"declaration": {
|
|
6389
|
-
"name": "
|
|
6390
|
-
"module": "./
|
|
6363
|
+
"name": "Command",
|
|
6364
|
+
"module": "./types"
|
|
6391
6365
|
}
|
|
6392
6366
|
},
|
|
6393
6367
|
{
|
|
6394
6368
|
"kind": "js",
|
|
6395
|
-
"name": "
|
|
6369
|
+
"name": "CompactAction",
|
|
6396
6370
|
"declaration": {
|
|
6397
|
-
"name": "
|
|
6398
|
-
"module": "./
|
|
6371
|
+
"name": "CompactAction",
|
|
6372
|
+
"module": "./types"
|
|
6399
6373
|
}
|
|
6400
6374
|
},
|
|
6401
6375
|
{
|
|
6402
6376
|
"kind": "js",
|
|
6403
|
-
"name": "
|
|
6377
|
+
"name": "CompactDecision",
|
|
6404
6378
|
"declaration": {
|
|
6405
|
-
"name": "
|
|
6406
|
-
"module": "./
|
|
6379
|
+
"name": "CompactDecision",
|
|
6380
|
+
"module": "./types"
|
|
6407
6381
|
}
|
|
6408
6382
|
},
|
|
6409
6383
|
{
|
|
6410
6384
|
"kind": "js",
|
|
6411
|
-
"name": "
|
|
6385
|
+
"name": "CompactEvent",
|
|
6412
6386
|
"declaration": {
|
|
6413
|
-
"name": "
|
|
6414
|
-
"module": "./
|
|
6387
|
+
"name": "CompactEvent",
|
|
6388
|
+
"module": "./types"
|
|
6415
6389
|
}
|
|
6416
6390
|
},
|
|
6417
6391
|
{
|
|
6418
6392
|
"kind": "js",
|
|
6419
|
-
"name": "
|
|
6393
|
+
"name": "Composer",
|
|
6420
6394
|
"declaration": {
|
|
6421
|
-
"name": "
|
|
6422
|
-
"module": "./
|
|
6395
|
+
"name": "Composer",
|
|
6396
|
+
"module": "./types"
|
|
6423
6397
|
}
|
|
6424
6398
|
},
|
|
6425
6399
|
{
|
|
6426
6400
|
"kind": "js",
|
|
6427
|
-
"name": "
|
|
6401
|
+
"name": "DecisionText",
|
|
6428
6402
|
"declaration": {
|
|
6429
|
-
"name": "
|
|
6430
|
-
"module": "./
|
|
6403
|
+
"name": "DecisionText",
|
|
6404
|
+
"module": "./types"
|
|
6431
6405
|
}
|
|
6432
6406
|
},
|
|
6433
6407
|
{
|
|
6434
6408
|
"kind": "js",
|
|
6435
|
-
"name": "
|
|
6409
|
+
"name": "ExtraOp",
|
|
6436
6410
|
"declaration": {
|
|
6437
|
-
"name": "
|
|
6438
|
-
"module": "./
|
|
6411
|
+
"name": "ExtraOp",
|
|
6412
|
+
"module": "./types"
|
|
6439
6413
|
}
|
|
6440
6414
|
},
|
|
6441
6415
|
{
|
|
6442
6416
|
"kind": "js",
|
|
6443
|
-
"name": "
|
|
6417
|
+
"name": "ExtraOpResult",
|
|
6444
6418
|
"declaration": {
|
|
6445
|
-
"name": "
|
|
6446
|
-
"module": "./
|
|
6419
|
+
"name": "ExtraOpResult",
|
|
6420
|
+
"module": "./types"
|
|
6447
6421
|
}
|
|
6448
6422
|
},
|
|
6449
6423
|
{
|
|
6450
6424
|
"kind": "js",
|
|
6451
|
-
"name": "
|
|
6425
|
+
"name": "HeadlessServer",
|
|
6452
6426
|
"declaration": {
|
|
6453
|
-
"name": "
|
|
6454
|
-
"module": "./
|
|
6427
|
+
"name": "HeadlessServer",
|
|
6428
|
+
"module": "./types"
|
|
6455
6429
|
}
|
|
6456
6430
|
},
|
|
6457
6431
|
{
|
|
6458
6432
|
"kind": "js",
|
|
6459
|
-
"name": "
|
|
6433
|
+
"name": "HeadlessServerHandle",
|
|
6460
6434
|
"declaration": {
|
|
6461
|
-
"name": "
|
|
6462
|
-
"module": "./
|
|
6435
|
+
"name": "HeadlessServerHandle",
|
|
6436
|
+
"module": "./types"
|
|
6463
6437
|
}
|
|
6464
6438
|
},
|
|
6465
6439
|
{
|
|
6466
6440
|
"kind": "js",
|
|
6467
|
-
"name": "
|
|
6441
|
+
"name": "Reply",
|
|
6468
6442
|
"declaration": {
|
|
6469
|
-
"name": "
|
|
6470
|
-
"module": "./
|
|
6443
|
+
"name": "Reply",
|
|
6444
|
+
"module": "./types"
|
|
6471
6445
|
}
|
|
6472
6446
|
},
|
|
6473
6447
|
{
|
|
6474
6448
|
"kind": "js",
|
|
6475
|
-
"name": "
|
|
6449
|
+
"name": "ServerOptions",
|
|
6476
6450
|
"declaration": {
|
|
6477
|
-
"name": "
|
|
6478
|
-
"module": "./
|
|
6451
|
+
"name": "ServerOptions",
|
|
6452
|
+
"module": "./types"
|
|
6479
6453
|
}
|
|
6480
6454
|
},
|
|
6481
6455
|
{
|
|
6482
6456
|
"kind": "js",
|
|
6483
|
-
"name": "
|
|
6457
|
+
"name": "Status",
|
|
6484
6458
|
"declaration": {
|
|
6485
|
-
"name": "
|
|
6486
|
-
"module": "./
|
|
6459
|
+
"name": "Status",
|
|
6460
|
+
"module": "./types"
|
|
6487
6461
|
}
|
|
6488
6462
|
},
|
|
6489
6463
|
{
|
|
6490
6464
|
"kind": "js",
|
|
6491
|
-
"name": "
|
|
6465
|
+
"name": "WorkingInfo",
|
|
6492
6466
|
"declaration": {
|
|
6493
|
-
"name": "
|
|
6494
|
-
"module": "./
|
|
6467
|
+
"name": "WorkingInfo",
|
|
6468
|
+
"module": "./types"
|
|
6495
6469
|
}
|
|
6496
|
-
}
|
|
6470
|
+
}
|
|
6471
|
+
]
|
|
6472
|
+
},
|
|
6473
|
+
{
|
|
6474
|
+
"kind": "javascript-module",
|
|
6475
|
+
"path": "src/headless-server/server.ts",
|
|
6476
|
+
"declarations": [
|
|
6477
|
+
{
|
|
6478
|
+
"kind": "function",
|
|
6479
|
+
"name": "createHeadlessServer",
|
|
6480
|
+
"return": {
|
|
6481
|
+
"type": {
|
|
6482
|
+
"text": "HeadlessServer"
|
|
6483
|
+
}
|
|
6484
|
+
},
|
|
6485
|
+
"parameters": [
|
|
6486
|
+
{
|
|
6487
|
+
"name": "options",
|
|
6488
|
+
"type": {
|
|
6489
|
+
"text": "ServerOptions"
|
|
6490
|
+
}
|
|
6491
|
+
}
|
|
6492
|
+
],
|
|
6493
|
+
"description": "The headless server (PLAN §5, D7): `node:http` on 127.0.0.1, `GET /health` and `POST /cmd`.\n\nEvery command is APPLIED and then LONG-POLLS (§5.5): the reply comes when the journey next needs the\nperson (an interaction is held by them and ready), a turn ends, the run ends, or something fails, or at\n`maxWaitMs` with `status: \"working\"`. Nothing is lost on a client timeout: the command was applied before\nthe wait, events carry `seq`, and `{op: \"wait\", since}` returns everything after it.\n\nThe session is the only thing it drives; what the host owns is reached through ServerOptions."
|
|
6494
|
+
}
|
|
6495
|
+
],
|
|
6496
|
+
"exports": [
|
|
6497
6497
|
{
|
|
6498
6498
|
"kind": "js",
|
|
6499
|
-
"name": "
|
|
6499
|
+
"name": "createHeadlessServer",
|
|
6500
6500
|
"declaration": {
|
|
6501
|
-
"name": "
|
|
6502
|
-
"module": "
|
|
6501
|
+
"name": "createHeadlessServer",
|
|
6502
|
+
"module": "src/headless-server/server.ts"
|
|
6503
6503
|
}
|
|
6504
|
+
}
|
|
6505
|
+
]
|
|
6506
|
+
},
|
|
6507
|
+
{
|
|
6508
|
+
"kind": "javascript-module",
|
|
6509
|
+
"path": "src/headless-server/types.ts",
|
|
6510
|
+
"declarations": [
|
|
6511
|
+
{
|
|
6512
|
+
"kind": "variable",
|
|
6513
|
+
"name": "DECISION_TEXTS",
|
|
6514
|
+
"type": {
|
|
6515
|
+
"text": "readonly DecisionText[]"
|
|
6516
|
+
},
|
|
6517
|
+
"default": "['full', 'lean']"
|
|
6504
6518
|
},
|
|
6519
|
+
{
|
|
6520
|
+
"kind": "variable",
|
|
6521
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
6522
|
+
"type": {
|
|
6523
|
+
"text": "DecisionText"
|
|
6524
|
+
},
|
|
6525
|
+
"default": "'lean'",
|
|
6526
|
+
"description": "What the server uses when neither it nor the command says. Its readers are models that can `read` a view."
|
|
6527
|
+
}
|
|
6528
|
+
],
|
|
6529
|
+
"exports": [
|
|
6505
6530
|
{
|
|
6506
6531
|
"kind": "js",
|
|
6507
|
-
"name": "
|
|
6532
|
+
"name": "DECISION_TEXTS",
|
|
6508
6533
|
"declaration": {
|
|
6509
|
-
"name": "
|
|
6510
|
-
"module": "
|
|
6534
|
+
"name": "DECISION_TEXTS",
|
|
6535
|
+
"module": "src/headless-server/types.ts"
|
|
6511
6536
|
}
|
|
6512
6537
|
},
|
|
6513
6538
|
{
|
|
6514
6539
|
"kind": "js",
|
|
6515
|
-
"name": "
|
|
6540
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
6516
6541
|
"declaration": {
|
|
6517
|
-
"name": "
|
|
6518
|
-
"module": "
|
|
6542
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
6543
|
+
"module": "src/headless-server/types.ts"
|
|
6519
6544
|
}
|
|
6520
|
-
}
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
|
|
6527
|
-
}
|
|
6528
|
-
},
|
|
6529
|
-
{
|
|
6530
|
-
"kind": "js",
|
|
6531
|
-
"name": "GenesisReadResult",
|
|
6532
|
-
"declaration": {
|
|
6533
|
-
"name": "GenesisReadResult",
|
|
6534
|
-
"module": "./resource-tools"
|
|
6535
|
-
}
|
|
6536
|
-
},
|
|
6537
|
-
{
|
|
6538
|
-
"kind": "js",
|
|
6539
|
-
"name": "GenesisResourceTools",
|
|
6540
|
-
"declaration": {
|
|
6541
|
-
"name": "GenesisResourceTools",
|
|
6542
|
-
"module": "./resource-tools"
|
|
6543
|
-
}
|
|
6544
|
-
},
|
|
6545
|
-
{
|
|
6546
|
-
"kind": "js",
|
|
6547
|
-
"name": "GenesisResourceToolsOptions",
|
|
6548
|
-
"declaration": {
|
|
6549
|
-
"name": "GenesisResourceToolsOptions",
|
|
6550
|
-
"module": "./resource-tools"
|
|
6551
|
-
}
|
|
6552
|
-
},
|
|
6553
|
-
{
|
|
6554
|
-
"kind": "js",
|
|
6555
|
-
"name": "GenesisToolError",
|
|
6556
|
-
"declaration": {
|
|
6557
|
-
"name": "GenesisToolError",
|
|
6558
|
-
"module": "./resource-tools"
|
|
6559
|
-
}
|
|
6560
|
-
},
|
|
6561
|
-
{
|
|
6562
|
-
"kind": "js",
|
|
6563
|
-
"name": "GENESIS_EVENT_OPS",
|
|
6564
|
-
"declaration": {
|
|
6565
|
-
"name": "GENESIS_EVENT_OPS",
|
|
6566
|
-
"module": "./types"
|
|
6567
|
-
}
|
|
6568
|
-
},
|
|
6569
|
-
{
|
|
6570
|
-
"kind": "js",
|
|
6571
|
-
"name": "GenesisAiConfig",
|
|
6572
|
-
"declaration": {
|
|
6573
|
-
"name": "GenesisAiConfig",
|
|
6574
|
-
"module": "./types"
|
|
6575
|
-
}
|
|
6576
|
-
},
|
|
6577
|
-
{
|
|
6578
|
-
"kind": "js",
|
|
6579
|
-
"name": "GenesisAiConsumes",
|
|
6580
|
-
"declaration": {
|
|
6581
|
-
"name": "GenesisAiConsumes",
|
|
6582
|
-
"module": "./types"
|
|
6583
|
-
}
|
|
6584
|
-
},
|
|
6585
|
-
{
|
|
6586
|
-
"kind": "js",
|
|
6587
|
-
"name": "GenesisAiResource",
|
|
6588
|
-
"declaration": {
|
|
6589
|
-
"name": "GenesisAiResource",
|
|
6590
|
-
"module": "./types"
|
|
6591
|
-
}
|
|
6592
|
-
},
|
|
6593
|
-
{
|
|
6594
|
-
"kind": "js",
|
|
6595
|
-
"name": "GenesisAssistantExtensions",
|
|
6596
|
-
"declaration": {
|
|
6597
|
-
"name": "GenesisAssistantExtensions",
|
|
6598
|
-
"module": "./types"
|
|
6599
|
-
}
|
|
6600
|
-
},
|
|
6601
|
-
{
|
|
6602
|
-
"kind": "js",
|
|
6603
|
-
"name": "GenesisAssistantRegistration",
|
|
6604
|
-
"declaration": {
|
|
6605
|
-
"name": "GenesisAssistantRegistration",
|
|
6606
|
-
"module": "./types"
|
|
6607
|
-
}
|
|
6608
|
-
},
|
|
6609
|
-
{
|
|
6610
|
-
"kind": "js",
|
|
6611
|
-
"name": "GenesisCustomCode",
|
|
6612
|
-
"declaration": {
|
|
6613
|
-
"name": "GenesisCustomCode",
|
|
6614
|
-
"module": "./types"
|
|
6615
|
-
}
|
|
6616
|
-
},
|
|
6617
|
-
{
|
|
6618
|
-
"kind": "js",
|
|
6619
|
-
"name": "GenesisCustomCodeCheck",
|
|
6620
|
-
"declaration": {
|
|
6621
|
-
"name": "GenesisCustomCodeCheck",
|
|
6622
|
-
"module": "./types"
|
|
6623
|
-
}
|
|
6624
|
-
},
|
|
6625
|
-
{
|
|
6626
|
-
"kind": "js",
|
|
6627
|
-
"name": "GenesisEventOp",
|
|
6628
|
-
"declaration": {
|
|
6629
|
-
"name": "GenesisEventOp",
|
|
6630
|
-
"module": "./types"
|
|
6631
|
-
}
|
|
6632
|
-
},
|
|
6633
|
-
{
|
|
6634
|
-
"kind": "js",
|
|
6635
|
-
"name": "GenesisReference",
|
|
6636
|
-
"declaration": {
|
|
6637
|
-
"name": "GenesisReference",
|
|
6638
|
-
"module": "./types"
|
|
6639
|
-
}
|
|
6640
|
-
},
|
|
6641
|
-
{
|
|
6642
|
-
"kind": "js",
|
|
6643
|
-
"name": "GenesisResourceKind",
|
|
6644
|
-
"declaration": {
|
|
6645
|
-
"name": "GenesisResourceKind",
|
|
6646
|
-
"module": "./types"
|
|
6647
|
-
}
|
|
6648
|
-
},
|
|
6649
|
-
{
|
|
6650
|
-
"kind": "js",
|
|
6651
|
-
"name": "GenesisRowEffect",
|
|
6652
|
-
"declaration": {
|
|
6653
|
-
"name": "GenesisRowEffect",
|
|
6654
|
-
"module": "./types"
|
|
6655
|
-
}
|
|
6656
|
-
},
|
|
6545
|
+
}
|
|
6546
|
+
]
|
|
6547
|
+
},
|
|
6548
|
+
{
|
|
6549
|
+
"kind": "javascript-module",
|
|
6550
|
+
"path": "src/headless/describe-interaction.ts",
|
|
6551
|
+
"declarations": [
|
|
6657
6552
|
{
|
|
6658
|
-
"kind": "
|
|
6659
|
-
"name": "
|
|
6660
|
-
"
|
|
6661
|
-
"
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6553
|
+
"kind": "function",
|
|
6554
|
+
"name": "describeInteraction",
|
|
6555
|
+
"return": {
|
|
6556
|
+
"type": {
|
|
6557
|
+
"text": "InteractionDescription"
|
|
6558
|
+
}
|
|
6559
|
+
},
|
|
6560
|
+
"parameters": [
|
|
6561
|
+
{
|
|
6562
|
+
"name": "input",
|
|
6563
|
+
"type": {
|
|
6564
|
+
"text": "DescribeInteractionInput"
|
|
6565
|
+
}
|
|
6566
|
+
}
|
|
6567
|
+
],
|
|
6568
|
+
"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."
|
|
6569
|
+
}
|
|
6570
|
+
],
|
|
6571
|
+
"exports": [
|
|
6665
6572
|
{
|
|
6666
6573
|
"kind": "js",
|
|
6667
|
-
"name": "
|
|
6574
|
+
"name": "describeInteraction",
|
|
6668
6575
|
"declaration": {
|
|
6669
|
-
"name": "
|
|
6670
|
-
"module": "
|
|
6576
|
+
"name": "describeInteraction",
|
|
6577
|
+
"module": "src/headless/describe-interaction.ts"
|
|
6671
6578
|
}
|
|
6672
6579
|
}
|
|
6673
6580
|
]
|
|
6674
6581
|
},
|
|
6675
6582
|
{
|
|
6676
6583
|
"kind": "javascript-module",
|
|
6677
|
-
"path": "src/
|
|
6584
|
+
"path": "src/headless/headless-debug.ts",
|
|
6678
6585
|
"declarations": [
|
|
6679
6586
|
{
|
|
6680
6587
|
"kind": "function",
|
|
6681
|
-
"name": "
|
|
6588
|
+
"name": "headlessMetaSnapshot",
|
|
6682
6589
|
"return": {
|
|
6683
6590
|
"type": {
|
|
6684
|
-
"text": "
|
|
6591
|
+
"text": "DiagnosticEntry"
|
|
6685
6592
|
}
|
|
6686
6593
|
},
|
|
6687
6594
|
"parameters": [
|
|
6688
6595
|
{
|
|
6689
|
-
"name": "
|
|
6596
|
+
"name": "driver",
|
|
6690
6597
|
"type": {
|
|
6691
|
-
"text": "
|
|
6598
|
+
"text": "AiDriver"
|
|
6599
|
+
}
|
|
6600
|
+
},
|
|
6601
|
+
{
|
|
6602
|
+
"name": "options",
|
|
6603
|
+
"default": "{}",
|
|
6604
|
+
"type": {
|
|
6605
|
+
"text": "HeadlessDebugOptions"
|
|
6692
6606
|
}
|
|
6693
6607
|
}
|
|
6694
6608
|
],
|
|
6695
|
-
"description": "The
|
|
6609
|
+
"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."
|
|
6696
6610
|
},
|
|
6697
6611
|
{
|
|
6698
6612
|
"kind": "function",
|
|
6699
|
-
"name": "
|
|
6613
|
+
"name": "headlessDiagnosticEntries",
|
|
6700
6614
|
"return": {
|
|
6701
6615
|
"type": {
|
|
6702
|
-
"text": "
|
|
6616
|
+
"text": "DiagnosticEntry[]"
|
|
6703
6617
|
}
|
|
6704
6618
|
},
|
|
6705
6619
|
"parameters": [
|
|
6706
6620
|
{
|
|
6707
|
-
"name": "
|
|
6621
|
+
"name": "driver",
|
|
6622
|
+
"type": {
|
|
6623
|
+
"text": "AiDriver"
|
|
6624
|
+
}
|
|
6625
|
+
},
|
|
6626
|
+
{
|
|
6627
|
+
"name": "stateKey",
|
|
6708
6628
|
"type": {
|
|
6709
6629
|
"text": "string"
|
|
6710
6630
|
}
|
|
6711
6631
|
},
|
|
6712
6632
|
{
|
|
6713
|
-
"name": "
|
|
6633
|
+
"name": "options",
|
|
6634
|
+
"default": "{}",
|
|
6714
6635
|
"type": {
|
|
6715
|
-
"text": "
|
|
6636
|
+
"text": "HeadlessDebugOptions"
|
|
6716
6637
|
}
|
|
6717
6638
|
}
|
|
6718
6639
|
],
|
|
6719
|
-
"description": "
|
|
6640
|
+
"description": "The diagnostic entries for the session so far, from the same `buildDiagnosticEntries` the\nbrowser's element and its persister use."
|
|
6720
6641
|
},
|
|
6721
6642
|
{
|
|
6722
6643
|
"kind": "function",
|
|
6723
|
-
"name": "
|
|
6644
|
+
"name": "headlessCurrentDebugLog",
|
|
6724
6645
|
"return": {
|
|
6725
6646
|
"type": {
|
|
6726
|
-
"text": "
|
|
6647
|
+
"text": "DebugLog"
|
|
6727
6648
|
}
|
|
6728
6649
|
},
|
|
6729
6650
|
"parameters": [
|
|
6730
6651
|
{
|
|
6731
|
-
"name": "
|
|
6652
|
+
"name": "driver",
|
|
6653
|
+
"type": {
|
|
6654
|
+
"text": "AiDriver"
|
|
6655
|
+
}
|
|
6656
|
+
},
|
|
6657
|
+
{
|
|
6658
|
+
"name": "stateKey",
|
|
6732
6659
|
"type": {
|
|
6733
6660
|
"text": "string"
|
|
6734
6661
|
}
|
|
6735
6662
|
},
|
|
6736
6663
|
{
|
|
6737
|
-
"name": "
|
|
6664
|
+
"name": "options",
|
|
6665
|
+
"default": "{}",
|
|
6738
6666
|
"type": {
|
|
6739
|
-
"text": "
|
|
6667
|
+
"text": "HeadlessDebugOptions"
|
|
6740
6668
|
}
|
|
6741
6669
|
}
|
|
6742
6670
|
],
|
|
6743
|
-
"description": "
|
|
6671
|
+
"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."
|
|
6744
6672
|
}
|
|
6745
6673
|
],
|
|
6746
6674
|
"exports": [
|
|
6747
6675
|
{
|
|
6748
6676
|
"kind": "js",
|
|
6749
|
-
"name": "
|
|
6677
|
+
"name": "headlessMetaSnapshot",
|
|
6750
6678
|
"declaration": {
|
|
6751
|
-
"name": "
|
|
6752
|
-
"module": "src/
|
|
6679
|
+
"name": "headlessMetaSnapshot",
|
|
6680
|
+
"module": "src/headless/headless-debug.ts"
|
|
6753
6681
|
}
|
|
6754
6682
|
},
|
|
6755
6683
|
{
|
|
6756
6684
|
"kind": "js",
|
|
6757
|
-
"name": "
|
|
6685
|
+
"name": "headlessDiagnosticEntries",
|
|
6758
6686
|
"declaration": {
|
|
6759
|
-
"name": "
|
|
6760
|
-
"module": "src/
|
|
6687
|
+
"name": "headlessDiagnosticEntries",
|
|
6688
|
+
"module": "src/headless/headless-debug.ts"
|
|
6761
6689
|
}
|
|
6762
6690
|
},
|
|
6763
6691
|
{
|
|
6764
6692
|
"kind": "js",
|
|
6765
|
-
"name": "
|
|
6693
|
+
"name": "headlessCurrentDebugLog",
|
|
6766
6694
|
"declaration": {
|
|
6767
|
-
"name": "
|
|
6768
|
-
"module": "src/
|
|
6695
|
+
"name": "headlessCurrentDebugLog",
|
|
6696
|
+
"module": "src/headless/headless-debug.ts"
|
|
6769
6697
|
}
|
|
6770
6698
|
}
|
|
6771
6699
|
]
|
|
6772
6700
|
},
|
|
6773
6701
|
{
|
|
6774
6702
|
"kind": "javascript-module",
|
|
6775
|
-
"path": "src/
|
|
6703
|
+
"path": "src/headless/headless-persistence.ts",
|
|
6776
6704
|
"declarations": [
|
|
6777
|
-
{
|
|
6778
|
-
"kind": "variable",
|
|
6779
|
-
"name": "MAX_REFERENCE_CHECKS",
|
|
6780
|
-
"type": {
|
|
6781
|
-
"text": "number"
|
|
6782
|
-
},
|
|
6783
|
-
"default": "50",
|
|
6784
|
-
"description": "The most distinct values one call may check."
|
|
6785
|
-
},
|
|
6786
|
-
{
|
|
6787
|
-
"kind": "function",
|
|
6788
|
-
"name": "withReferenceProblems",
|
|
6789
|
-
"return": {
|
|
6790
|
-
"type": {
|
|
6791
|
-
"text": "T[]"
|
|
6792
|
-
}
|
|
6793
|
-
},
|
|
6794
|
-
"parameters": [
|
|
6795
|
-
{
|
|
6796
|
-
"name": "rows",
|
|
6797
|
-
"type": {
|
|
6798
|
-
"text": "readonly T[]"
|
|
6799
|
-
}
|
|
6800
|
-
},
|
|
6801
|
-
{
|
|
6802
|
-
"name": "problems",
|
|
6803
|
-
"type": {
|
|
6804
|
-
"text": "ReadonlyMap<number, string[]>"
|
|
6805
|
-
}
|
|
6806
|
-
}
|
|
6807
|
-
],
|
|
6808
|
-
"description": "The rows with what the check found added to their problems."
|
|
6809
|
-
}
|
|
6810
|
-
],
|
|
6811
|
-
"exports": [
|
|
6812
|
-
{
|
|
6813
|
-
"kind": "js",
|
|
6814
|
-
"name": "MAX_REFERENCE_CHECKS",
|
|
6815
|
-
"declaration": {
|
|
6816
|
-
"name": "MAX_REFERENCE_CHECKS",
|
|
6817
|
-
"module": "src/genesis/reference-existence.ts"
|
|
6818
|
-
}
|
|
6819
|
-
},
|
|
6820
|
-
{
|
|
6821
|
-
"kind": "js",
|
|
6822
|
-
"name": "withReferenceProblems",
|
|
6823
|
-
"declaration": {
|
|
6824
|
-
"name": "withReferenceProblems",
|
|
6825
|
-
"module": "src/genesis/reference-existence.ts"
|
|
6826
|
-
}
|
|
6827
|
-
}
|
|
6828
|
-
]
|
|
6829
|
-
},
|
|
6830
|
-
{
|
|
6831
|
-
"kind": "javascript-module",
|
|
6832
|
-
"path": "src/genesis/register-genesis-assistant.ts",
|
|
6833
|
-
"declarations": [
|
|
6834
|
-
{
|
|
6835
|
-
"kind": "variable",
|
|
6836
|
-
"name": "GENESIS_AGENT_NAME",
|
|
6837
|
-
"type": {
|
|
6838
|
-
"text": "string"
|
|
6839
|
-
},
|
|
6840
|
-
"default": "'genesis-assistant'",
|
|
6841
|
-
"description": "The name of the agent registerGenesisAssistant builds."
|
|
6842
|
-
},
|
|
6843
6705
|
{
|
|
6844
6706
|
"kind": "function",
|
|
6845
|
-
"name": "
|
|
6707
|
+
"name": "headlessPersistence",
|
|
6846
6708
|
"return": {
|
|
6847
6709
|
"type": {
|
|
6848
|
-
"text": "
|
|
6710
|
+
"text": "HeadlessPersistence"
|
|
6849
6711
|
}
|
|
6850
6712
|
},
|
|
6851
6713
|
"parameters": [
|
|
6852
6714
|
{
|
|
6853
6715
|
"name": "options",
|
|
6854
6716
|
"type": {
|
|
6855
|
-
"text": "
|
|
6717
|
+
"text": "HeadlessPersistenceOptions"
|
|
6856
6718
|
}
|
|
6857
6719
|
}
|
|
6858
6720
|
],
|
|
6859
|
-
"description": "
|
|
6721
|
+
"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)`."
|
|
6860
6722
|
}
|
|
6861
6723
|
],
|
|
6862
6724
|
"exports": [
|
|
6863
6725
|
{
|
|
6864
6726
|
"kind": "js",
|
|
6865
|
-
"name": "
|
|
6866
|
-
"declaration": {
|
|
6867
|
-
"name": "GENESIS_AGENT_NAME",
|
|
6868
|
-
"module": "src/genesis/register-genesis-assistant.ts"
|
|
6869
|
-
}
|
|
6870
|
-
},
|
|
6871
|
-
{
|
|
6872
|
-
"kind": "js",
|
|
6873
|
-
"name": "registerGenesisAssistant",
|
|
6727
|
+
"name": "headlessPersistence",
|
|
6874
6728
|
"declaration": {
|
|
6875
|
-
"name": "
|
|
6876
|
-
"module": "src/
|
|
6729
|
+
"name": "headlessPersistence",
|
|
6730
|
+
"module": "src/headless/headless-persistence.ts"
|
|
6877
6731
|
}
|
|
6878
6732
|
}
|
|
6879
6733
|
]
|
|
6880
6734
|
},
|
|
6881
6735
|
{
|
|
6882
6736
|
"kind": "javascript-module",
|
|
6883
|
-
"path": "src/
|
|
6737
|
+
"path": "src/headless/headless-session.ts",
|
|
6884
6738
|
"declarations": [
|
|
6885
6739
|
{
|
|
6886
|
-
"kind": "
|
|
6887
|
-
"
|
|
6888
|
-
"
|
|
6889
|
-
|
|
6890
|
-
},
|
|
6891
|
-
"default": "'app-database'",
|
|
6892
|
-
"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."
|
|
6893
|
-
},
|
|
6894
|
-
{
|
|
6895
|
-
"kind": "function",
|
|
6896
|
-
"name": "createGenesisResourceTools",
|
|
6897
|
-
"return": {
|
|
6898
|
-
"type": {
|
|
6899
|
-
"text": "GenesisResourceTools"
|
|
6900
|
-
}
|
|
6901
|
-
},
|
|
6902
|
-
"parameters": [
|
|
6740
|
+
"kind": "class",
|
|
6741
|
+
"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.",
|
|
6742
|
+
"name": "HeadlessSession",
|
|
6743
|
+
"members": [
|
|
6903
6744
|
{
|
|
6904
|
-
"
|
|
6745
|
+
"kind": "field",
|
|
6746
|
+
"name": "sessionKey",
|
|
6905
6747
|
"type": {
|
|
6906
|
-
"text": "
|
|
6907
|
-
}
|
|
6748
|
+
"text": "string"
|
|
6749
|
+
},
|
|
6750
|
+
"privacy": "private",
|
|
6751
|
+
"readonly": true
|
|
6908
6752
|
},
|
|
6909
6753
|
{
|
|
6910
|
-
"
|
|
6911
|
-
"
|
|
6754
|
+
"kind": "field",
|
|
6755
|
+
"name": "allowRaw",
|
|
6912
6756
|
"type": {
|
|
6913
|
-
"text": "
|
|
6914
|
-
}
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
}
|
|
6919
|
-
],
|
|
6920
|
-
"exports": [
|
|
6921
|
-
{
|
|
6922
|
-
"kind": "js",
|
|
6923
|
-
"name": "GENESIS_DATA_SOURCE",
|
|
6924
|
-
"declaration": {
|
|
6925
|
-
"name": "GENESIS_DATA_SOURCE",
|
|
6926
|
-
"module": "src/genesis/resource-tools.ts"
|
|
6927
|
-
}
|
|
6928
|
-
},
|
|
6929
|
-
{
|
|
6930
|
-
"kind": "js",
|
|
6931
|
-
"name": "createGenesisResourceTools",
|
|
6932
|
-
"declaration": {
|
|
6933
|
-
"name": "createGenesisResourceTools",
|
|
6934
|
-
"module": "src/genesis/resource-tools.ts"
|
|
6935
|
-
}
|
|
6936
|
-
}
|
|
6937
|
-
]
|
|
6938
|
-
},
|
|
6939
|
-
{
|
|
6940
|
-
"kind": "javascript-module",
|
|
6941
|
-
"path": "src/genesis/review-model.ts",
|
|
6942
|
-
"declarations": [
|
|
6943
|
-
{
|
|
6944
|
-
"kind": "variable",
|
|
6945
|
-
"name": "LONG_VALUE",
|
|
6946
|
-
"type": {
|
|
6947
|
-
"text": "number"
|
|
6948
|
-
},
|
|
6949
|
-
"default": "24",
|
|
6950
|
-
"description": "Past this many characters a value wraps; at or under it, it stays on one line."
|
|
6951
|
-
}
|
|
6952
|
-
],
|
|
6953
|
-
"exports": [
|
|
6954
|
-
{
|
|
6955
|
-
"kind": "js",
|
|
6956
|
-
"name": "GenesisChangeRequest",
|
|
6957
|
-
"declaration": {
|
|
6958
|
-
"name": "GenesisChangeRequest",
|
|
6959
|
-
"module": "./review-payload"
|
|
6960
|
-
}
|
|
6961
|
-
},
|
|
6962
|
-
{
|
|
6963
|
-
"kind": "js",
|
|
6964
|
-
"name": "GenesisReviewPayload",
|
|
6965
|
-
"declaration": {
|
|
6966
|
-
"name": "GenesisReviewPayload",
|
|
6967
|
-
"module": "./review-payload"
|
|
6968
|
-
}
|
|
6969
|
-
},
|
|
6970
|
-
{
|
|
6971
|
-
"kind": "js",
|
|
6972
|
-
"name": "LONG_VALUE",
|
|
6973
|
-
"declaration": {
|
|
6974
|
-
"name": "LONG_VALUE",
|
|
6975
|
-
"module": "src/genesis/review-model.ts"
|
|
6976
|
-
}
|
|
6977
|
-
}
|
|
6978
|
-
]
|
|
6979
|
-
},
|
|
6980
|
-
{
|
|
6981
|
-
"kind": "javascript-module",
|
|
6982
|
-
"path": "src/genesis/review-payload.ts",
|
|
6983
|
-
"declarations": [],
|
|
6984
|
-
"exports": []
|
|
6985
|
-
},
|
|
6986
|
-
{
|
|
6987
|
-
"kind": "javascript-module",
|
|
6988
|
-
"path": "src/genesis/row-source.ts",
|
|
6989
|
-
"declarations": [],
|
|
6990
|
-
"exports": []
|
|
6991
|
-
},
|
|
6992
|
-
{
|
|
6993
|
-
"kind": "javascript-module",
|
|
6994
|
-
"path": "src/genesis/serialisable.ts",
|
|
6995
|
-
"declarations": [],
|
|
6996
|
-
"exports": []
|
|
6997
|
-
},
|
|
6998
|
-
{
|
|
6999
|
-
"kind": "javascript-module",
|
|
7000
|
-
"path": "src/genesis/server-text.ts",
|
|
7001
|
-
"declarations": [
|
|
7002
|
-
{
|
|
7003
|
-
"kind": "function",
|
|
7004
|
-
"name": "readsLikeFieldName",
|
|
7005
|
-
"return": {
|
|
7006
|
-
"type": {
|
|
7007
|
-
"text": "boolean"
|
|
7008
|
-
}
|
|
7009
|
-
},
|
|
7010
|
-
"parameters": [
|
|
6757
|
+
"text": "boolean"
|
|
6758
|
+
},
|
|
6759
|
+
"privacy": "private",
|
|
6760
|
+
"readonly": true
|
|
6761
|
+
},
|
|
7011
6762
|
{
|
|
7012
|
-
"
|
|
6763
|
+
"kind": "field",
|
|
6764
|
+
"name": "clock",
|
|
7013
6765
|
"type": {
|
|
7014
|
-
"text": "
|
|
7015
|
-
}
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
|
|
7019
|
-
},
|
|
7020
|
-
{
|
|
7021
|
-
"kind": "function",
|
|
7022
|
-
"name": "describeFailure",
|
|
7023
|
-
"return": {
|
|
7024
|
-
"type": {
|
|
7025
|
-
"text": "string | undefined"
|
|
7026
|
-
}
|
|
7027
|
-
},
|
|
7028
|
-
"parameters": [
|
|
6766
|
+
"text": "() => number"
|
|
6767
|
+
},
|
|
6768
|
+
"privacy": "private",
|
|
6769
|
+
"readonly": true
|
|
6770
|
+
},
|
|
7029
6771
|
{
|
|
7030
|
-
"
|
|
6772
|
+
"kind": "field",
|
|
6773
|
+
"name": "autopilotHost",
|
|
7031
6774
|
"type": {
|
|
7032
|
-
"text": "
|
|
7033
|
-
}
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
],
|
|
7039
|
-
"exports": [
|
|
7040
|
-
{
|
|
7041
|
-
"kind": "js",
|
|
7042
|
-
"name": "readsLikeFieldName",
|
|
7043
|
-
"declaration": {
|
|
7044
|
-
"name": "readsLikeFieldName",
|
|
7045
|
-
"module": "src/genesis/server-text.ts"
|
|
7046
|
-
}
|
|
7047
|
-
},
|
|
7048
|
-
{
|
|
7049
|
-
"kind": "js",
|
|
7050
|
-
"name": "describeFailure",
|
|
7051
|
-
"declaration": {
|
|
7052
|
-
"name": "describeFailure",
|
|
7053
|
-
"module": "src/genesis/server-text.ts"
|
|
7054
|
-
}
|
|
7055
|
-
}
|
|
7056
|
-
]
|
|
7057
|
-
},
|
|
7058
|
-
{
|
|
7059
|
-
"kind": "javascript-module",
|
|
7060
|
-
"path": "src/genesis/type-name.ts",
|
|
7061
|
-
"declarations": [],
|
|
7062
|
-
"exports": []
|
|
7063
|
-
},
|
|
7064
|
-
{
|
|
7065
|
-
"kind": "javascript-module",
|
|
7066
|
-
"path": "src/genesis/types.ts",
|
|
7067
|
-
"declarations": [
|
|
7068
|
-
{
|
|
7069
|
-
"kind": "variable",
|
|
7070
|
-
"name": "GENESIS_EVENT_OPS",
|
|
7071
|
-
"type": {
|
|
7072
|
-
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
7073
|
-
},
|
|
7074
|
-
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
7075
|
-
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
7076
|
-
}
|
|
7077
|
-
],
|
|
7078
|
-
"exports": [
|
|
7079
|
-
{
|
|
7080
|
-
"kind": "js",
|
|
7081
|
-
"name": "GENESIS_EVENT_OPS",
|
|
7082
|
-
"declaration": {
|
|
7083
|
-
"name": "GENESIS_EVENT_OPS",
|
|
7084
|
-
"module": "src/genesis/types.ts"
|
|
7085
|
-
}
|
|
7086
|
-
}
|
|
7087
|
-
]
|
|
7088
|
-
},
|
|
7089
|
-
{
|
|
7090
|
-
"kind": "javascript-module",
|
|
7091
|
-
"path": "src/genesis/value-compare.ts",
|
|
7092
|
-
"declarations": [],
|
|
7093
|
-
"exports": []
|
|
7094
|
-
},
|
|
7095
|
-
{
|
|
7096
|
-
"kind": "javascript-module",
|
|
7097
|
-
"path": "src/genesis/write-commit.ts",
|
|
7098
|
-
"declarations": [],
|
|
7099
|
-
"exports": []
|
|
7100
|
-
},
|
|
7101
|
-
{
|
|
7102
|
-
"kind": "javascript-module",
|
|
7103
|
-
"path": "src/genesis/write-op.ts",
|
|
7104
|
-
"declarations": [],
|
|
7105
|
-
"exports": []
|
|
7106
|
-
},
|
|
7107
|
-
{
|
|
7108
|
-
"kind": "javascript-module",
|
|
7109
|
-
"path": "src/genesis/write-outcome.ts",
|
|
7110
|
-
"declarations": [],
|
|
7111
|
-
"exports": []
|
|
7112
|
-
},
|
|
7113
|
-
{
|
|
7114
|
-
"kind": "javascript-module",
|
|
7115
|
-
"path": "src/genesis/write-payload.ts",
|
|
7116
|
-
"declarations": [
|
|
7117
|
-
{
|
|
7118
|
-
"kind": "function",
|
|
7119
|
-
"name": "buildEventPayload",
|
|
7120
|
-
"return": {
|
|
7121
|
-
"type": {
|
|
7122
|
-
"text": "PayloadResult"
|
|
7123
|
-
}
|
|
7124
|
-
},
|
|
7125
|
-
"parameters": [
|
|
6775
|
+
"text": "AutopilotLike | undefined"
|
|
6776
|
+
},
|
|
6777
|
+
"privacy": "private",
|
|
6778
|
+
"readonly": true,
|
|
6779
|
+
"default": "autopilot"
|
|
6780
|
+
},
|
|
7126
6781
|
{
|
|
7127
|
-
"
|
|
6782
|
+
"kind": "field",
|
|
6783
|
+
"name": "events",
|
|
7128
6784
|
"type": {
|
|
7129
|
-
"text": "
|
|
7130
|
-
}
|
|
6785
|
+
"text": "HeadlessEvent[]"
|
|
6786
|
+
},
|
|
6787
|
+
"privacy": "private",
|
|
6788
|
+
"readonly": true,
|
|
6789
|
+
"default": "[]"
|
|
7131
6790
|
},
|
|
7132
6791
|
{
|
|
7133
|
-
"
|
|
6792
|
+
"kind": "field",
|
|
6793
|
+
"name": "seq",
|
|
7134
6794
|
"type": {
|
|
7135
|
-
"text": "
|
|
7136
|
-
}
|
|
6795
|
+
"text": "number"
|
|
6796
|
+
},
|
|
6797
|
+
"privacy": "private",
|
|
6798
|
+
"default": "0"
|
|
7137
6799
|
},
|
|
7138
6800
|
{
|
|
7139
|
-
"
|
|
6801
|
+
"kind": "field",
|
|
6802
|
+
"name": "tracked",
|
|
6803
|
+
"privacy": "private",
|
|
6804
|
+
"readonly": true,
|
|
6805
|
+
"default": "new Map<string, Tracked>()"
|
|
6806
|
+
},
|
|
6807
|
+
{
|
|
6808
|
+
"kind": "field",
|
|
6809
|
+
"name": "origin",
|
|
6810
|
+
"privacy": "private",
|
|
6811
|
+
"readonly": true,
|
|
6812
|
+
"default": "new Map<string, { auto?: boolean; raw?: boolean }>()",
|
|
6813
|
+
"description": "What the session did to an interaction itself, for `settled` to say when the driver reports it."
|
|
6814
|
+
},
|
|
6815
|
+
{
|
|
6816
|
+
"kind": "field",
|
|
6817
|
+
"name": "waiters",
|
|
6818
|
+
"privacy": "private",
|
|
6819
|
+
"readonly": true,
|
|
6820
|
+
"default": "new Set<Waiter>()"
|
|
6821
|
+
},
|
|
6822
|
+
{
|
|
6823
|
+
"kind": "field",
|
|
6824
|
+
"name": "teardown",
|
|
7140
6825
|
"type": {
|
|
7141
|
-
"text": "
|
|
7142
|
-
}
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
"exports": [
|
|
7148
|
-
{
|
|
7149
|
-
"kind": "js",
|
|
7150
|
-
"name": "buildEventPayload",
|
|
7151
|
-
"declaration": {
|
|
7152
|
-
"name": "buildEventPayload",
|
|
7153
|
-
"module": "src/genesis/write-payload.ts"
|
|
7154
|
-
}
|
|
7155
|
-
}
|
|
7156
|
-
]
|
|
7157
|
-
},
|
|
7158
|
-
{
|
|
7159
|
-
"kind": "javascript-module",
|
|
7160
|
-
"path": "src/genesis/write-plan.ts",
|
|
7161
|
-
"declarations": [
|
|
7162
|
-
{
|
|
7163
|
-
"kind": "variable",
|
|
7164
|
-
"name": "MAX_WRITE_ROWS",
|
|
7165
|
-
"type": {
|
|
7166
|
-
"text": "number"
|
|
7167
|
-
},
|
|
7168
|
-
"default": "25",
|
|
7169
|
-
"description": "A batch a person can actually read before approving it."
|
|
7170
|
-
}
|
|
7171
|
-
],
|
|
7172
|
-
"exports": [
|
|
7173
|
-
{
|
|
7174
|
-
"kind": "js",
|
|
7175
|
-
"name": "MAX_WRITE_ROWS",
|
|
7176
|
-
"declaration": {
|
|
7177
|
-
"name": "MAX_WRITE_ROWS",
|
|
7178
|
-
"module": "src/genesis/write-plan.ts"
|
|
7179
|
-
}
|
|
7180
|
-
}
|
|
7181
|
-
]
|
|
7182
|
-
},
|
|
7183
|
-
{
|
|
7184
|
-
"kind": "javascript-module",
|
|
7185
|
-
"path": "src/genesis/write-tools.ts",
|
|
7186
|
-
"declarations": [
|
|
7187
|
-
{
|
|
7188
|
-
"kind": "function",
|
|
7189
|
-
"name": "createGenesisWriteTools",
|
|
7190
|
-
"return": {
|
|
7191
|
-
"type": {
|
|
7192
|
-
"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}"
|
|
7193
|
-
}
|
|
7194
|
-
},
|
|
7195
|
-
"parameters": [
|
|
6826
|
+
"text": "Array<() => void>"
|
|
6827
|
+
},
|
|
6828
|
+
"privacy": "private",
|
|
6829
|
+
"readonly": true,
|
|
6830
|
+
"default": "[]"
|
|
6831
|
+
},
|
|
7196
6832
|
{
|
|
7197
|
-
"
|
|
6833
|
+
"kind": "field",
|
|
6834
|
+
"name": "seen",
|
|
7198
6835
|
"type": {
|
|
7199
|
-
"text": "
|
|
7200
|
-
}
|
|
6836
|
+
"text": "number"
|
|
6837
|
+
},
|
|
6838
|
+
"privacy": "private",
|
|
6839
|
+
"description": "How much of the driver's history has been reported as messages."
|
|
7201
6840
|
},
|
|
7202
6841
|
{
|
|
7203
|
-
"
|
|
7204
|
-
"
|
|
6842
|
+
"kind": "field",
|
|
6843
|
+
"name": "turn",
|
|
7205
6844
|
"type": {
|
|
7206
|
-
"text": "
|
|
7207
|
-
}
|
|
7208
|
-
|
|
7209
|
-
|
|
7210
|
-
|
|
7211
|
-
}
|
|
7212
|
-
],
|
|
7213
|
-
"exports": [
|
|
7214
|
-
{
|
|
7215
|
-
"kind": "js",
|
|
7216
|
-
"name": "createGenesisWriteTools",
|
|
7217
|
-
"declaration": {
|
|
7218
|
-
"name": "createGenesisWriteTools",
|
|
7219
|
-
"module": "src/genesis/write-tools.ts"
|
|
7220
|
-
}
|
|
7221
|
-
}
|
|
7222
|
-
]
|
|
7223
|
-
},
|
|
7224
|
-
{
|
|
7225
|
-
"kind": "javascript-module",
|
|
7226
|
-
"path": "src/genesis/write-turn.ts",
|
|
7227
|
-
"declarations": [],
|
|
7228
|
-
"exports": []
|
|
7229
|
-
},
|
|
7230
|
-
{
|
|
7231
|
-
"kind": "javascript-module",
|
|
7232
|
-
"path": "src/headless/describe-interaction.ts",
|
|
7233
|
-
"declarations": [
|
|
7234
|
-
{
|
|
7235
|
-
"kind": "function",
|
|
7236
|
-
"name": "describeInteraction",
|
|
7237
|
-
"return": {
|
|
7238
|
-
"type": {
|
|
7239
|
-
"text": "InteractionDescription"
|
|
7240
|
-
}
|
|
7241
|
-
},
|
|
7242
|
-
"parameters": [
|
|
6845
|
+
"text": "Promise<unknown> | undefined"
|
|
6846
|
+
},
|
|
6847
|
+
"privacy": "private",
|
|
6848
|
+
"description": "The `send` in flight, if any."
|
|
6849
|
+
},
|
|
7243
6850
|
{
|
|
7244
|
-
"
|
|
6851
|
+
"kind": "field",
|
|
6852
|
+
"name": "open",
|
|
7245
6853
|
"type": {
|
|
7246
|
-
"text": "
|
|
7247
|
-
}
|
|
7248
|
-
}
|
|
7249
|
-
],
|
|
7250
|
-
"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."
|
|
7251
|
-
}
|
|
7252
|
-
],
|
|
7253
|
-
"exports": [
|
|
7254
|
-
{
|
|
7255
|
-
"kind": "js",
|
|
7256
|
-
"name": "describeInteraction",
|
|
7257
|
-
"declaration": {
|
|
7258
|
-
"name": "describeInteraction",
|
|
7259
|
-
"module": "src/headless/describe-interaction.ts"
|
|
7260
|
-
}
|
|
7261
|
-
}
|
|
7262
|
-
]
|
|
7263
|
-
},
|
|
7264
|
-
{
|
|
7265
|
-
"kind": "javascript-module",
|
|
7266
|
-
"path": "src/headless/headless-debug.ts",
|
|
7267
|
-
"declarations": [
|
|
7268
|
-
{
|
|
7269
|
-
"kind": "function",
|
|
7270
|
-
"name": "headlessMetaSnapshot",
|
|
7271
|
-
"return": {
|
|
7272
|
-
"type": {
|
|
7273
|
-
"text": "DiagnosticEntry"
|
|
7274
|
-
}
|
|
7275
|
-
},
|
|
7276
|
-
"parameters": [
|
|
7277
|
-
{
|
|
7278
|
-
"name": "driver",
|
|
7279
|
-
"type": {
|
|
7280
|
-
"text": "AiDriver"
|
|
7281
|
-
}
|
|
7282
|
-
},
|
|
7283
|
-
{
|
|
7284
|
-
"name": "options",
|
|
7285
|
-
"default": "{}",
|
|
7286
|
-
"type": {
|
|
7287
|
-
"text": "HeadlessDebugOptions"
|
|
7288
|
-
}
|
|
7289
|
-
}
|
|
7290
|
-
],
|
|
7291
|
-
"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."
|
|
7292
|
-
},
|
|
7293
|
-
{
|
|
7294
|
-
"kind": "function",
|
|
7295
|
-
"name": "headlessDiagnosticEntries",
|
|
7296
|
-
"return": {
|
|
7297
|
-
"type": {
|
|
7298
|
-
"text": "DiagnosticEntry[]"
|
|
7299
|
-
}
|
|
7300
|
-
},
|
|
7301
|
-
"parameters": [
|
|
7302
|
-
{
|
|
7303
|
-
"name": "driver",
|
|
7304
|
-
"type": {
|
|
7305
|
-
"text": "AiDriver"
|
|
7306
|
-
}
|
|
7307
|
-
},
|
|
7308
|
-
{
|
|
7309
|
-
"name": "stateKey",
|
|
7310
|
-
"type": {
|
|
7311
|
-
"text": "string"
|
|
7312
|
-
}
|
|
7313
|
-
},
|
|
7314
|
-
{
|
|
7315
|
-
"name": "options",
|
|
7316
|
-
"default": "{}",
|
|
7317
|
-
"type": {
|
|
7318
|
-
"text": "HeadlessDebugOptions"
|
|
7319
|
-
}
|
|
7320
|
-
}
|
|
7321
|
-
],
|
|
7322
|
-
"description": "The diagnostic entries for the session so far, from the same `buildDiagnosticEntries` the\nbrowser's element and its persister use."
|
|
7323
|
-
},
|
|
7324
|
-
{
|
|
7325
|
-
"kind": "function",
|
|
7326
|
-
"name": "headlessCurrentDebugLog",
|
|
7327
|
-
"return": {
|
|
7328
|
-
"type": {
|
|
7329
|
-
"text": "DebugLog"
|
|
7330
|
-
}
|
|
7331
|
-
},
|
|
7332
|
-
"parameters": [
|
|
7333
|
-
{
|
|
7334
|
-
"name": "driver",
|
|
7335
|
-
"type": {
|
|
7336
|
-
"text": "AiDriver"
|
|
7337
|
-
}
|
|
7338
|
-
},
|
|
7339
|
-
{
|
|
7340
|
-
"name": "stateKey",
|
|
7341
|
-
"type": {
|
|
7342
|
-
"text": "string"
|
|
7343
|
-
}
|
|
7344
|
-
},
|
|
7345
|
-
{
|
|
7346
|
-
"name": "options",
|
|
7347
|
-
"default": "{}",
|
|
7348
|
-
"type": {
|
|
7349
|
-
"text": "HeadlessDebugOptions"
|
|
7350
|
-
}
|
|
7351
|
-
}
|
|
7352
|
-
],
|
|
7353
|
-
"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."
|
|
7354
|
-
}
|
|
7355
|
-
],
|
|
7356
|
-
"exports": [
|
|
7357
|
-
{
|
|
7358
|
-
"kind": "js",
|
|
7359
|
-
"name": "headlessMetaSnapshot",
|
|
7360
|
-
"declaration": {
|
|
7361
|
-
"name": "headlessMetaSnapshot",
|
|
7362
|
-
"module": "src/headless/headless-debug.ts"
|
|
7363
|
-
}
|
|
7364
|
-
},
|
|
7365
|
-
{
|
|
7366
|
-
"kind": "js",
|
|
7367
|
-
"name": "headlessDiagnosticEntries",
|
|
7368
|
-
"declaration": {
|
|
7369
|
-
"name": "headlessDiagnosticEntries",
|
|
7370
|
-
"module": "src/headless/headless-debug.ts"
|
|
7371
|
-
}
|
|
7372
|
-
},
|
|
7373
|
-
{
|
|
7374
|
-
"kind": "js",
|
|
7375
|
-
"name": "headlessCurrentDebugLog",
|
|
7376
|
-
"declaration": {
|
|
7377
|
-
"name": "headlessCurrentDebugLog",
|
|
7378
|
-
"module": "src/headless/headless-debug.ts"
|
|
7379
|
-
}
|
|
7380
|
-
}
|
|
7381
|
-
]
|
|
7382
|
-
},
|
|
7383
|
-
{
|
|
7384
|
-
"kind": "javascript-module",
|
|
7385
|
-
"path": "src/headless/headless-persistence.ts",
|
|
7386
|
-
"declarations": [
|
|
7387
|
-
{
|
|
7388
|
-
"kind": "function",
|
|
7389
|
-
"name": "headlessPersistence",
|
|
7390
|
-
"return": {
|
|
7391
|
-
"type": {
|
|
7392
|
-
"text": "HeadlessPersistence"
|
|
7393
|
-
}
|
|
7394
|
-
},
|
|
7395
|
-
"parameters": [
|
|
7396
|
-
{
|
|
7397
|
-
"name": "options",
|
|
7398
|
-
"type": {
|
|
7399
|
-
"text": "HeadlessPersistenceOptions"
|
|
7400
|
-
}
|
|
7401
|
-
}
|
|
7402
|
-
],
|
|
7403
|
-
"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)`."
|
|
7404
|
-
}
|
|
7405
|
-
],
|
|
7406
|
-
"exports": [
|
|
7407
|
-
{
|
|
7408
|
-
"kind": "js",
|
|
7409
|
-
"name": "headlessPersistence",
|
|
7410
|
-
"declaration": {
|
|
7411
|
-
"name": "headlessPersistence",
|
|
7412
|
-
"module": "src/headless/headless-persistence.ts"
|
|
7413
|
-
}
|
|
7414
|
-
}
|
|
7415
|
-
]
|
|
7416
|
-
},
|
|
7417
|
-
{
|
|
7418
|
-
"kind": "javascript-module",
|
|
7419
|
-
"path": "src/headless/headless-session.ts",
|
|
7420
|
-
"declarations": [
|
|
7421
|
-
{
|
|
7422
|
-
"kind": "class",
|
|
7423
|
-
"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.",
|
|
7424
|
-
"name": "HeadlessSession",
|
|
7425
|
-
"members": [
|
|
7426
|
-
{
|
|
7427
|
-
"kind": "field",
|
|
7428
|
-
"name": "sessionKey",
|
|
7429
|
-
"type": {
|
|
7430
|
-
"text": "string"
|
|
6854
|
+
"text": "{ start: number; reason?: string; failureReason?: string } | undefined"
|
|
7431
6855
|
},
|
|
7432
6856
|
"privacy": "private",
|
|
7433
|
-
"
|
|
6857
|
+
"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."
|
|
7434
6858
|
},
|
|
7435
6859
|
{
|
|
7436
6860
|
"kind": "field",
|
|
7437
|
-
"name": "
|
|
6861
|
+
"name": "base",
|
|
7438
6862
|
"type": {
|
|
7439
|
-
"text": "
|
|
6863
|
+
"text": "number"
|
|
7440
6864
|
},
|
|
7441
6865
|
"privacy": "private",
|
|
7442
|
-
"
|
|
6866
|
+
"description": "History length when the last turn closed: where a turn the session did not start begins."
|
|
7443
6867
|
},
|
|
7444
6868
|
{
|
|
7445
6869
|
"kind": "field",
|
|
7446
|
-
"name": "
|
|
6870
|
+
"name": "quiesceTimer",
|
|
7447
6871
|
"type": {
|
|
7448
|
-
"text": "
|
|
6872
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
7449
6873
|
},
|
|
7450
|
-
"privacy": "private"
|
|
7451
|
-
"readonly": true
|
|
6874
|
+
"privacy": "private"
|
|
7452
6875
|
},
|
|
7453
6876
|
{
|
|
7454
6877
|
"kind": "field",
|
|
7455
|
-
"name": "
|
|
6878
|
+
"name": "poller",
|
|
7456
6879
|
"type": {
|
|
7457
|
-
"text": "
|
|
6880
|
+
"text": "ReturnType<typeof setInterval> | undefined"
|
|
7458
6881
|
},
|
|
7459
|
-
"privacy": "private"
|
|
7460
|
-
"readonly": true,
|
|
7461
|
-
"default": "autopilot"
|
|
6882
|
+
"privacy": "private"
|
|
7462
6883
|
},
|
|
7463
6884
|
{
|
|
7464
6885
|
"kind": "field",
|
|
7465
|
-
"name": "
|
|
6886
|
+
"name": "persistence",
|
|
7466
6887
|
"type": {
|
|
7467
|
-
"text": "
|
|
6888
|
+
"text": "HeadlessPersistenceBinding | undefined"
|
|
7468
6889
|
},
|
|
7469
6890
|
"privacy": "private",
|
|
7470
|
-
"readonly": true
|
|
7471
|
-
"default": "[]"
|
|
6891
|
+
"readonly": true
|
|
7472
6892
|
},
|
|
7473
6893
|
{
|
|
7474
6894
|
"kind": "field",
|
|
7475
|
-
"name": "
|
|
6895
|
+
"name": "lastProbe",
|
|
7476
6896
|
"type": {
|
|
7477
|
-
"text": "
|
|
6897
|
+
"text": "Record<string, unknown>"
|
|
7478
6898
|
},
|
|
7479
6899
|
"privacy": "private",
|
|
7480
|
-
"default": "
|
|
7481
|
-
},
|
|
7482
|
-
{
|
|
7483
|
-
"kind": "field",
|
|
7484
|
-
"name": "tracked",
|
|
7485
|
-
"privacy": "private",
|
|
7486
|
-
"readonly": true,
|
|
7487
|
-
"default": "new Map<string, Tracked>()"
|
|
7488
|
-
},
|
|
7489
|
-
{
|
|
7490
|
-
"kind": "field",
|
|
7491
|
-
"name": "origin",
|
|
7492
|
-
"privacy": "private",
|
|
7493
|
-
"readonly": true,
|
|
7494
|
-
"default": "new Map<string, { auto?: boolean; raw?: boolean }>()",
|
|
7495
|
-
"description": "What the session did to an interaction itself, for `settled` to say when the driver reports it."
|
|
6900
|
+
"default": "{}"
|
|
7496
6901
|
},
|
|
7497
6902
|
{
|
|
7498
6903
|
"kind": "field",
|
|
7499
|
-
"name": "
|
|
6904
|
+
"name": "lastAutopilot",
|
|
6905
|
+
"type": {
|
|
6906
|
+
"text": "string"
|
|
6907
|
+
},
|
|
7500
6908
|
"privacy": "private",
|
|
7501
|
-
"
|
|
7502
|
-
"default": "new Set<Waiter>()"
|
|
6909
|
+
"default": "''"
|
|
7503
6910
|
},
|
|
7504
6911
|
{
|
|
7505
6912
|
"kind": "field",
|
|
7506
|
-
"name": "
|
|
6913
|
+
"name": "disposed",
|
|
7507
6914
|
"type": {
|
|
7508
|
-
"text": "
|
|
6915
|
+
"text": "boolean"
|
|
7509
6916
|
},
|
|
7510
6917
|
"privacy": "private",
|
|
7511
|
-
"
|
|
7512
|
-
"default": "[]"
|
|
6918
|
+
"default": "false"
|
|
7513
6919
|
},
|
|
7514
6920
|
{
|
|
7515
6921
|
"kind": "field",
|
|
7516
|
-
"name": "
|
|
6922
|
+
"name": "restoring",
|
|
7517
6923
|
"type": {
|
|
7518
|
-
"text": "
|
|
7519
|
-
},
|
|
7520
|
-
"privacy": "private",
|
|
7521
|
-
"description": "How much of the driver's history has been reported as messages."
|
|
7522
|
-
},
|
|
7523
|
-
{
|
|
7524
|
-
"kind": "field",
|
|
7525
|
-
"name": "turn",
|
|
7526
|
-
"type": {
|
|
7527
|
-
"text": "Promise<unknown> | undefined"
|
|
7528
|
-
},
|
|
7529
|
-
"privacy": "private",
|
|
7530
|
-
"description": "The `send` in flight, if any."
|
|
7531
|
-
},
|
|
7532
|
-
{
|
|
7533
|
-
"kind": "field",
|
|
7534
|
-
"name": "open",
|
|
7535
|
-
"type": {
|
|
7536
|
-
"text": "{ start: number; reason?: string; failureReason?: string } | undefined"
|
|
7537
|
-
},
|
|
7538
|
-
"privacy": "private",
|
|
7539
|
-
"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."
|
|
7540
|
-
},
|
|
7541
|
-
{
|
|
7542
|
-
"kind": "field",
|
|
7543
|
-
"name": "base",
|
|
7544
|
-
"type": {
|
|
7545
|
-
"text": "number"
|
|
7546
|
-
},
|
|
7547
|
-
"privacy": "private",
|
|
7548
|
-
"description": "History length when the last turn closed: where a turn the session did not start begins."
|
|
7549
|
-
},
|
|
7550
|
-
{
|
|
7551
|
-
"kind": "field",
|
|
7552
|
-
"name": "quiesceTimer",
|
|
7553
|
-
"type": {
|
|
7554
|
-
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
7555
|
-
},
|
|
7556
|
-
"privacy": "private"
|
|
7557
|
-
},
|
|
7558
|
-
{
|
|
7559
|
-
"kind": "field",
|
|
7560
|
-
"name": "poller",
|
|
7561
|
-
"type": {
|
|
7562
|
-
"text": "ReturnType<typeof setInterval> | undefined"
|
|
7563
|
-
},
|
|
7564
|
-
"privacy": "private"
|
|
7565
|
-
},
|
|
7566
|
-
{
|
|
7567
|
-
"kind": "field",
|
|
7568
|
-
"name": "persistence",
|
|
7569
|
-
"type": {
|
|
7570
|
-
"text": "HeadlessPersistenceBinding | undefined"
|
|
7571
|
-
},
|
|
7572
|
-
"privacy": "private",
|
|
7573
|
-
"readonly": true
|
|
7574
|
-
},
|
|
7575
|
-
{
|
|
7576
|
-
"kind": "field",
|
|
7577
|
-
"name": "lastProbe",
|
|
7578
|
-
"type": {
|
|
7579
|
-
"text": "Record<string, unknown>"
|
|
7580
|
-
},
|
|
7581
|
-
"privacy": "private",
|
|
7582
|
-
"default": "{}"
|
|
7583
|
-
},
|
|
7584
|
-
{
|
|
7585
|
-
"kind": "field",
|
|
7586
|
-
"name": "lastAutopilot",
|
|
7587
|
-
"type": {
|
|
7588
|
-
"text": "string"
|
|
7589
|
-
},
|
|
7590
|
-
"privacy": "private",
|
|
7591
|
-
"default": "''"
|
|
7592
|
-
},
|
|
7593
|
-
{
|
|
7594
|
-
"kind": "field",
|
|
7595
|
-
"name": "disposed",
|
|
7596
|
-
"type": {
|
|
7597
|
-
"text": "boolean"
|
|
7598
|
-
},
|
|
7599
|
-
"privacy": "private",
|
|
7600
|
-
"default": "false"
|
|
7601
|
-
},
|
|
7602
|
-
{
|
|
7603
|
-
"kind": "field",
|
|
7604
|
-
"name": "restoring",
|
|
7605
|
-
"type": {
|
|
7606
|
-
"text": "boolean"
|
|
6924
|
+
"text": "boolean"
|
|
7607
6925
|
},
|
|
7608
6926
|
"privacy": "private",
|
|
7609
6927
|
"default": "false",
|
|
@@ -8237,371 +7555,944 @@
|
|
|
8237
7555
|
}
|
|
8238
7556
|
},
|
|
8239
7557
|
{
|
|
8240
|
-
"kind": "method",
|
|
8241
|
-
"name": "checkProbe",
|
|
8242
|
-
"privacy": "private",
|
|
8243
|
-
"return": {
|
|
8244
|
-
"type": {
|
|
8245
|
-
"text": "void"
|
|
8246
|
-
}
|
|
8247
|
-
},
|
|
8248
|
-
"description": "Read the probe again; a change in any top-level value is a `probe` event."
|
|
7558
|
+
"kind": "method",
|
|
7559
|
+
"name": "checkProbe",
|
|
7560
|
+
"privacy": "private",
|
|
7561
|
+
"return": {
|
|
7562
|
+
"type": {
|
|
7563
|
+
"text": "void"
|
|
7564
|
+
}
|
|
7565
|
+
},
|
|
7566
|
+
"description": "Read the probe again; a change in any top-level value is a `probe` event."
|
|
7567
|
+
},
|
|
7568
|
+
{
|
|
7569
|
+
"kind": "method",
|
|
7570
|
+
"name": "waited",
|
|
7571
|
+
"privacy": "private",
|
|
7572
|
+
"return": {
|
|
7573
|
+
"type": {
|
|
7574
|
+
"text": "HeadlessWaitResult"
|
|
7575
|
+
}
|
|
7576
|
+
},
|
|
7577
|
+
"parameters": [
|
|
7578
|
+
{
|
|
7579
|
+
"name": "since",
|
|
7580
|
+
"type": {
|
|
7581
|
+
"text": "number"
|
|
7582
|
+
}
|
|
7583
|
+
},
|
|
7584
|
+
{
|
|
7585
|
+
"name": "status",
|
|
7586
|
+
"type": {
|
|
7587
|
+
"text": "HeadlessWaitResult['status']"
|
|
7588
|
+
}
|
|
7589
|
+
}
|
|
7590
|
+
]
|
|
7591
|
+
}
|
|
7592
|
+
]
|
|
7593
|
+
}
|
|
7594
|
+
],
|
|
7595
|
+
"exports": [
|
|
7596
|
+
{
|
|
7597
|
+
"kind": "js",
|
|
7598
|
+
"name": "HeadlessSession",
|
|
7599
|
+
"declaration": {
|
|
7600
|
+
"name": "HeadlessSession",
|
|
7601
|
+
"module": "src/headless/headless-session.ts"
|
|
7602
|
+
}
|
|
7603
|
+
}
|
|
7604
|
+
]
|
|
7605
|
+
},
|
|
7606
|
+
{
|
|
7607
|
+
"kind": "javascript-module",
|
|
7608
|
+
"path": "src/headless/headless.types.ts",
|
|
7609
|
+
"declarations": [],
|
|
7610
|
+
"exports": []
|
|
7611
|
+
},
|
|
7612
|
+
{
|
|
7613
|
+
"kind": "javascript-module",
|
|
7614
|
+
"path": "src/headless/index.ts",
|
|
7615
|
+
"declarations": [],
|
|
7616
|
+
"exports": [
|
|
7617
|
+
{
|
|
7618
|
+
"kind": "js",
|
|
7619
|
+
"name": "describeInteraction",
|
|
7620
|
+
"declaration": {
|
|
7621
|
+
"name": "describeInteraction",
|
|
7622
|
+
"module": "./describe-interaction"
|
|
7623
|
+
}
|
|
7624
|
+
},
|
|
7625
|
+
{
|
|
7626
|
+
"kind": "js",
|
|
7627
|
+
"name": "headlessCurrentDebugLog",
|
|
7628
|
+
"declaration": {
|
|
7629
|
+
"name": "headlessCurrentDebugLog",
|
|
7630
|
+
"module": "./headless-debug"
|
|
7631
|
+
}
|
|
7632
|
+
},
|
|
7633
|
+
{
|
|
7634
|
+
"kind": "js",
|
|
7635
|
+
"name": "headlessDiagnosticEntries",
|
|
7636
|
+
"declaration": {
|
|
7637
|
+
"name": "headlessDiagnosticEntries",
|
|
7638
|
+
"module": "./headless-debug"
|
|
7639
|
+
}
|
|
7640
|
+
},
|
|
7641
|
+
{
|
|
7642
|
+
"kind": "js",
|
|
7643
|
+
"name": "headlessMetaSnapshot",
|
|
7644
|
+
"declaration": {
|
|
7645
|
+
"name": "headlessMetaSnapshot",
|
|
7646
|
+
"module": "./headless-debug"
|
|
7647
|
+
}
|
|
7648
|
+
},
|
|
7649
|
+
{
|
|
7650
|
+
"kind": "js",
|
|
7651
|
+
"name": "HeadlessSession",
|
|
7652
|
+
"declaration": {
|
|
7653
|
+
"name": "HeadlessSession",
|
|
7654
|
+
"module": "./headless-session"
|
|
7655
|
+
}
|
|
7656
|
+
},
|
|
7657
|
+
{
|
|
7658
|
+
"kind": "js",
|
|
7659
|
+
"name": "AutopilotLike",
|
|
7660
|
+
"declaration": {
|
|
7661
|
+
"name": "AutopilotLike",
|
|
7662
|
+
"module": "./headless.types"
|
|
7663
|
+
}
|
|
7664
|
+
},
|
|
7665
|
+
{
|
|
7666
|
+
"kind": "js",
|
|
7667
|
+
"name": "DescribedAction",
|
|
7668
|
+
"declaration": {
|
|
7669
|
+
"name": "DescribedAction",
|
|
7670
|
+
"module": "./headless.types"
|
|
7671
|
+
}
|
|
7672
|
+
},
|
|
7673
|
+
{
|
|
7674
|
+
"kind": "js",
|
|
7675
|
+
"name": "DescribeInteractionInput",
|
|
7676
|
+
"declaration": {
|
|
7677
|
+
"name": "DescribeInteractionInput",
|
|
7678
|
+
"module": "./headless.types"
|
|
7679
|
+
}
|
|
7680
|
+
},
|
|
7681
|
+
{
|
|
7682
|
+
"kind": "js",
|
|
7683
|
+
"name": "HeadlessActArgs",
|
|
7684
|
+
"declaration": {
|
|
7685
|
+
"name": "HeadlessActArgs",
|
|
7686
|
+
"module": "./headless.types"
|
|
7687
|
+
}
|
|
7688
|
+
},
|
|
7689
|
+
{
|
|
7690
|
+
"kind": "js",
|
|
7691
|
+
"name": "HeadlessActResult",
|
|
7692
|
+
"declaration": {
|
|
7693
|
+
"name": "HeadlessActResult",
|
|
7694
|
+
"module": "./headless.types"
|
|
7695
|
+
}
|
|
7696
|
+
},
|
|
7697
|
+
{
|
|
7698
|
+
"kind": "js",
|
|
7699
|
+
"name": "HeadlessDebugOptions",
|
|
7700
|
+
"declaration": {
|
|
7701
|
+
"name": "HeadlessDebugOptions",
|
|
7702
|
+
"module": "./headless.types"
|
|
7703
|
+
}
|
|
7704
|
+
},
|
|
7705
|
+
{
|
|
7706
|
+
"kind": "js",
|
|
7707
|
+
"name": "HeadlessEvent",
|
|
7708
|
+
"declaration": {
|
|
7709
|
+
"name": "HeadlessEvent",
|
|
7710
|
+
"module": "./headless.types"
|
|
7711
|
+
}
|
|
7712
|
+
},
|
|
7713
|
+
{
|
|
7714
|
+
"kind": "js",
|
|
7715
|
+
"name": "HeadlessEventBase",
|
|
7716
|
+
"declaration": {
|
|
7717
|
+
"name": "HeadlessEventBase",
|
|
7718
|
+
"module": "./headless.types"
|
|
7719
|
+
}
|
|
7720
|
+
},
|
|
7721
|
+
{
|
|
7722
|
+
"kind": "js",
|
|
7723
|
+
"name": "HeadlessEventType",
|
|
7724
|
+
"declaration": {
|
|
7725
|
+
"name": "HeadlessEventType",
|
|
7726
|
+
"module": "./headless.types"
|
|
7727
|
+
}
|
|
7728
|
+
},
|
|
7729
|
+
{
|
|
7730
|
+
"kind": "js",
|
|
7731
|
+
"name": "HeadlessPersistence",
|
|
7732
|
+
"declaration": {
|
|
7733
|
+
"name": "HeadlessPersistence",
|
|
7734
|
+
"module": "./headless.types"
|
|
7735
|
+
}
|
|
7736
|
+
},
|
|
7737
|
+
{
|
|
7738
|
+
"kind": "js",
|
|
7739
|
+
"name": "HeadlessPersistenceBinding",
|
|
7740
|
+
"declaration": {
|
|
7741
|
+
"name": "HeadlessPersistenceBinding",
|
|
7742
|
+
"module": "./headless.types"
|
|
7743
|
+
}
|
|
7744
|
+
},
|
|
7745
|
+
{
|
|
7746
|
+
"kind": "js",
|
|
7747
|
+
"name": "HeadlessPersistenceHost",
|
|
7748
|
+
"declaration": {
|
|
7749
|
+
"name": "HeadlessPersistenceHost",
|
|
7750
|
+
"module": "./headless.types"
|
|
7751
|
+
}
|
|
7752
|
+
},
|
|
7753
|
+
{
|
|
7754
|
+
"kind": "js",
|
|
7755
|
+
"name": "HeadlessReadRequest",
|
|
7756
|
+
"declaration": {
|
|
7757
|
+
"name": "HeadlessReadRequest",
|
|
7758
|
+
"module": "./headless.types"
|
|
7759
|
+
}
|
|
7760
|
+
},
|
|
7761
|
+
{
|
|
7762
|
+
"kind": "js",
|
|
7763
|
+
"name": "HeadlessReadResult",
|
|
7764
|
+
"declaration": {
|
|
7765
|
+
"name": "HeadlessReadResult",
|
|
7766
|
+
"module": "./headless.types"
|
|
7767
|
+
}
|
|
7768
|
+
},
|
|
7769
|
+
{
|
|
7770
|
+
"kind": "js",
|
|
7771
|
+
"name": "HeadlessResult",
|
|
7772
|
+
"declaration": {
|
|
7773
|
+
"name": "HeadlessResult",
|
|
7774
|
+
"module": "./headless.types"
|
|
7775
|
+
}
|
|
7776
|
+
},
|
|
7777
|
+
{
|
|
7778
|
+
"kind": "js",
|
|
7779
|
+
"name": "HeadlessRestoreOutcome",
|
|
7780
|
+
"declaration": {
|
|
7781
|
+
"name": "HeadlessRestoreOutcome",
|
|
7782
|
+
"module": "./headless.types"
|
|
7783
|
+
}
|
|
7784
|
+
},
|
|
7785
|
+
{
|
|
7786
|
+
"kind": "js",
|
|
7787
|
+
"name": "HeadlessSendOptions",
|
|
7788
|
+
"declaration": {
|
|
7789
|
+
"name": "HeadlessSendOptions",
|
|
7790
|
+
"module": "./headless.types"
|
|
7791
|
+
}
|
|
7792
|
+
},
|
|
7793
|
+
{
|
|
7794
|
+
"kind": "js",
|
|
7795
|
+
"name": "HeadlessSessionOptions",
|
|
7796
|
+
"declaration": {
|
|
7797
|
+
"name": "HeadlessSessionOptions",
|
|
7798
|
+
"module": "./headless.types"
|
|
7799
|
+
}
|
|
7800
|
+
},
|
|
7801
|
+
{
|
|
7802
|
+
"kind": "js",
|
|
7803
|
+
"name": "HeadlessState",
|
|
7804
|
+
"declaration": {
|
|
7805
|
+
"name": "HeadlessState",
|
|
7806
|
+
"module": "./headless.types"
|
|
7807
|
+
}
|
|
7808
|
+
},
|
|
7809
|
+
{
|
|
7810
|
+
"kind": "js",
|
|
7811
|
+
"name": "HeadlessWaitRequest",
|
|
7812
|
+
"declaration": {
|
|
7813
|
+
"name": "HeadlessWaitRequest",
|
|
7814
|
+
"module": "./headless.types"
|
|
7815
|
+
}
|
|
7816
|
+
},
|
|
7817
|
+
{
|
|
7818
|
+
"kind": "js",
|
|
7819
|
+
"name": "HeadlessWaitResult",
|
|
7820
|
+
"declaration": {
|
|
7821
|
+
"name": "HeadlessWaitResult",
|
|
7822
|
+
"module": "./headless.types"
|
|
7823
|
+
}
|
|
7824
|
+
},
|
|
7825
|
+
{
|
|
7826
|
+
"kind": "js",
|
|
7827
|
+
"name": "InteractionDescription",
|
|
7828
|
+
"declaration": {
|
|
7829
|
+
"name": "InteractionDescription",
|
|
7830
|
+
"module": "./headless.types"
|
|
7831
|
+
}
|
|
7832
|
+
},
|
|
7833
|
+
{
|
|
7834
|
+
"kind": "js",
|
|
7835
|
+
"name": "PendingSummary",
|
|
7836
|
+
"declaration": {
|
|
7837
|
+
"name": "PendingSummary",
|
|
7838
|
+
"module": "./headless.types"
|
|
7839
|
+
}
|
|
7840
|
+
}
|
|
7841
|
+
]
|
|
7842
|
+
},
|
|
7843
|
+
{
|
|
7844
|
+
"kind": "javascript-module",
|
|
7845
|
+
"path": "src/genesis/calendar.ts",
|
|
7846
|
+
"declarations": [],
|
|
7847
|
+
"exports": []
|
|
7848
|
+
},
|
|
7849
|
+
{
|
|
7850
|
+
"kind": "javascript-module",
|
|
7851
|
+
"path": "src/genesis/config.ts",
|
|
7852
|
+
"declarations": [
|
|
7853
|
+
{
|
|
7854
|
+
"kind": "variable",
|
|
7855
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7856
|
+
"type": {
|
|
7857
|
+
"text": "number"
|
|
7858
|
+
},
|
|
7859
|
+
"default": "50",
|
|
7860
|
+
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
7861
|
+
},
|
|
7862
|
+
{
|
|
7863
|
+
"kind": "variable",
|
|
7864
|
+
"name": "MAX_ROWS_CEILING",
|
|
7865
|
+
"type": {
|
|
7866
|
+
"text": "number"
|
|
7867
|
+
},
|
|
7868
|
+
"default": "1000"
|
|
7869
|
+
},
|
|
7870
|
+
{
|
|
7871
|
+
"kind": "function",
|
|
7872
|
+
"name": "toolNameOf",
|
|
7873
|
+
"return": {
|
|
7874
|
+
"type": {
|
|
7875
|
+
"text": "string"
|
|
7876
|
+
}
|
|
7877
|
+
},
|
|
7878
|
+
"parameters": [
|
|
7879
|
+
{
|
|
7880
|
+
"name": "resourceName",
|
|
7881
|
+
"type": {
|
|
7882
|
+
"text": "string"
|
|
7883
|
+
}
|
|
7884
|
+
}
|
|
7885
|
+
],
|
|
7886
|
+
"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."
|
|
7887
|
+
},
|
|
7888
|
+
{
|
|
7889
|
+
"kind": "function",
|
|
7890
|
+
"name": "rowActionProblem",
|
|
7891
|
+
"return": {
|
|
7892
|
+
"type": {
|
|
7893
|
+
"text": "string | undefined"
|
|
7894
|
+
}
|
|
7895
|
+
},
|
|
7896
|
+
"parameters": [
|
|
7897
|
+
{
|
|
7898
|
+
"name": "resource",
|
|
7899
|
+
"type": {
|
|
7900
|
+
"text": "Partial<GenesisAiResource> | null"
|
|
7901
|
+
}
|
|
7902
|
+
},
|
|
7903
|
+
{
|
|
7904
|
+
"name": "requestNames",
|
|
7905
|
+
"type": {
|
|
7906
|
+
"text": "ReadonlySet<string>"
|
|
7907
|
+
},
|
|
7908
|
+
"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."
|
|
7909
|
+
},
|
|
7910
|
+
{
|
|
7911
|
+
"name": "whyNotReadable",
|
|
7912
|
+
"default": "notReadableReason({})",
|
|
7913
|
+
"type": {
|
|
7914
|
+
"text": "(name: string) => string"
|
|
7915
|
+
},
|
|
7916
|
+
"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."
|
|
7917
|
+
}
|
|
7918
|
+
],
|
|
7919
|
+
"description": "What is wrong with a resource's row-action fields (contracts C-18.7.2), if anything."
|
|
7920
|
+
},
|
|
7921
|
+
{
|
|
7922
|
+
"kind": "function",
|
|
7923
|
+
"name": "validateGenesisAiConfig",
|
|
7924
|
+
"return": {
|
|
7925
|
+
"type": {
|
|
7926
|
+
"text": "GenesisAiConfigCheck"
|
|
7927
|
+
}
|
|
7928
|
+
},
|
|
7929
|
+
"parameters": [
|
|
7930
|
+
{
|
|
7931
|
+
"name": "config",
|
|
7932
|
+
"type": {
|
|
7933
|
+
"text": "unknown"
|
|
7934
|
+
}
|
|
7935
|
+
}
|
|
7936
|
+
],
|
|
7937
|
+
"description": "Checks a generated AI config before anything is registered, and says what can be kept."
|
|
7938
|
+
},
|
|
7939
|
+
{
|
|
7940
|
+
"kind": "function",
|
|
7941
|
+
"name": "customCodeOf",
|
|
7942
|
+
"return": {
|
|
7943
|
+
"type": {
|
|
7944
|
+
"text": "GenesisCustomCodeCheck"
|
|
7945
|
+
}
|
|
7946
|
+
},
|
|
7947
|
+
"parameters": [
|
|
7948
|
+
{
|
|
7949
|
+
"name": "resource",
|
|
7950
|
+
"type": {
|
|
7951
|
+
"text": "GenesisAiResource"
|
|
7952
|
+
}
|
|
7953
|
+
}
|
|
7954
|
+
],
|
|
7955
|
+
"description": "A resource's `customCode` as it is used: the one reader of the field."
|
|
7956
|
+
}
|
|
7957
|
+
],
|
|
7958
|
+
"exports": [
|
|
7959
|
+
{
|
|
7960
|
+
"kind": "js",
|
|
7961
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7962
|
+
"declaration": {
|
|
7963
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7964
|
+
"module": "src/genesis/config.ts"
|
|
7965
|
+
}
|
|
7966
|
+
},
|
|
7967
|
+
{
|
|
7968
|
+
"kind": "js",
|
|
7969
|
+
"name": "MAX_ROWS_CEILING",
|
|
7970
|
+
"declaration": {
|
|
7971
|
+
"name": "MAX_ROWS_CEILING",
|
|
7972
|
+
"module": "src/genesis/config.ts"
|
|
7973
|
+
}
|
|
7974
|
+
},
|
|
7975
|
+
{
|
|
7976
|
+
"kind": "js",
|
|
7977
|
+
"name": "toolNameOf",
|
|
7978
|
+
"declaration": {
|
|
7979
|
+
"name": "toolNameOf",
|
|
7980
|
+
"module": "src/genesis/config.ts"
|
|
7981
|
+
}
|
|
7982
|
+
},
|
|
7983
|
+
{
|
|
7984
|
+
"kind": "js",
|
|
7985
|
+
"name": "rowActionProblem",
|
|
7986
|
+
"declaration": {
|
|
7987
|
+
"name": "rowActionProblem",
|
|
7988
|
+
"module": "src/genesis/config.ts"
|
|
7989
|
+
}
|
|
7990
|
+
},
|
|
7991
|
+
{
|
|
7992
|
+
"kind": "js",
|
|
7993
|
+
"name": "validateGenesisAiConfig",
|
|
7994
|
+
"declaration": {
|
|
7995
|
+
"name": "validateGenesisAiConfig",
|
|
7996
|
+
"module": "src/genesis/config.ts"
|
|
7997
|
+
}
|
|
7998
|
+
},
|
|
7999
|
+
{
|
|
8000
|
+
"kind": "js",
|
|
8001
|
+
"name": "customCodeOf",
|
|
8002
|
+
"declaration": {
|
|
8003
|
+
"name": "customCodeOf",
|
|
8004
|
+
"module": "src/genesis/config.ts"
|
|
8005
|
+
}
|
|
8006
|
+
}
|
|
8007
|
+
]
|
|
8008
|
+
},
|
|
8009
|
+
{
|
|
8010
|
+
"kind": "javascript-module",
|
|
8011
|
+
"path": "src/genesis/consumes.ts",
|
|
8012
|
+
"declarations": [
|
|
8013
|
+
{
|
|
8014
|
+
"kind": "variable",
|
|
8015
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8016
|
+
"type": {
|
|
8017
|
+
"text": "GenesisAiConsumes"
|
|
8018
|
+
},
|
|
8019
|
+
"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."
|
|
8020
|
+
}
|
|
8021
|
+
],
|
|
8022
|
+
"exports": [
|
|
8023
|
+
{
|
|
8024
|
+
"kind": "js",
|
|
8025
|
+
"name": "GenesisAiConsumes",
|
|
8026
|
+
"declaration": {
|
|
8027
|
+
"name": "GenesisAiConsumes",
|
|
8028
|
+
"module": "./types"
|
|
8029
|
+
}
|
|
8030
|
+
},
|
|
8031
|
+
{
|
|
8032
|
+
"kind": "js",
|
|
8033
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8034
|
+
"declaration": {
|
|
8035
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8036
|
+
"module": "src/genesis/consumes.ts"
|
|
8037
|
+
}
|
|
8038
|
+
}
|
|
8039
|
+
]
|
|
8040
|
+
},
|
|
8041
|
+
{
|
|
8042
|
+
"kind": "javascript-module",
|
|
8043
|
+
"path": "src/genesis/criteria.ts",
|
|
8044
|
+
"declarations": [
|
|
8045
|
+
{
|
|
8046
|
+
"kind": "function",
|
|
8047
|
+
"name": "dateFragment",
|
|
8048
|
+
"return": {
|
|
8049
|
+
"type": {
|
|
8050
|
+
"text": "string | undefined"
|
|
8051
|
+
}
|
|
8052
|
+
},
|
|
8053
|
+
"parameters": [
|
|
8054
|
+
{
|
|
8055
|
+
"name": "field",
|
|
8056
|
+
"type": {
|
|
8057
|
+
"text": "string"
|
|
8058
|
+
}
|
|
8059
|
+
},
|
|
8060
|
+
{
|
|
8061
|
+
"name": "op",
|
|
8062
|
+
"type": {
|
|
8063
|
+
"text": "GenesisFilterOp"
|
|
8064
|
+
}
|
|
8065
|
+
},
|
|
8066
|
+
{
|
|
8067
|
+
"name": "date",
|
|
8068
|
+
"type": {
|
|
8069
|
+
"text": "string"
|
|
8070
|
+
}
|
|
8071
|
+
}
|
|
8072
|
+
]
|
|
8073
|
+
},
|
|
8074
|
+
{
|
|
8075
|
+
"kind": "function",
|
|
8076
|
+
"name": "dateTimeFragment",
|
|
8077
|
+
"return": {
|
|
8078
|
+
"type": {
|
|
8079
|
+
"text": "string | undefined"
|
|
8080
|
+
}
|
|
8081
|
+
},
|
|
8082
|
+
"parameters": [
|
|
8083
|
+
{
|
|
8084
|
+
"name": "field",
|
|
8085
|
+
"type": {
|
|
8086
|
+
"text": "string"
|
|
8087
|
+
}
|
|
8088
|
+
},
|
|
8089
|
+
{
|
|
8090
|
+
"name": "op",
|
|
8091
|
+
"type": {
|
|
8092
|
+
"text": "GenesisFilterOp"
|
|
8093
|
+
}
|
|
8249
8094
|
},
|
|
8250
8095
|
{
|
|
8251
|
-
"
|
|
8252
|
-
"
|
|
8253
|
-
|
|
8254
|
-
|
|
8255
|
-
"type": {
|
|
8256
|
-
"text": "HeadlessWaitResult"
|
|
8257
|
-
}
|
|
8258
|
-
},
|
|
8259
|
-
"parameters": [
|
|
8260
|
-
{
|
|
8261
|
-
"name": "since",
|
|
8262
|
-
"type": {
|
|
8263
|
-
"text": "number"
|
|
8264
|
-
}
|
|
8265
|
-
},
|
|
8266
|
-
{
|
|
8267
|
-
"name": "status",
|
|
8268
|
-
"type": {
|
|
8269
|
-
"text": "HeadlessWaitResult['status']"
|
|
8270
|
-
}
|
|
8271
|
-
}
|
|
8272
|
-
]
|
|
8096
|
+
"name": "bound",
|
|
8097
|
+
"type": {
|
|
8098
|
+
"text": "string"
|
|
8099
|
+
}
|
|
8273
8100
|
}
|
|
8274
|
-
]
|
|
8101
|
+
],
|
|
8102
|
+
"description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
|
|
8275
8103
|
}
|
|
8276
8104
|
],
|
|
8277
8105
|
"exports": [
|
|
8278
8106
|
{
|
|
8279
8107
|
"kind": "js",
|
|
8280
|
-
"name": "
|
|
8108
|
+
"name": "dateFragment",
|
|
8281
8109
|
"declaration": {
|
|
8282
|
-
"name": "
|
|
8283
|
-
"module": "src/
|
|
8110
|
+
"name": "dateFragment",
|
|
8111
|
+
"module": "src/genesis/criteria.ts"
|
|
8112
|
+
}
|
|
8113
|
+
},
|
|
8114
|
+
{
|
|
8115
|
+
"kind": "js",
|
|
8116
|
+
"name": "dateTimeFragment",
|
|
8117
|
+
"declaration": {
|
|
8118
|
+
"name": "dateTimeFragment",
|
|
8119
|
+
"module": "src/genesis/criteria.ts"
|
|
8284
8120
|
}
|
|
8285
8121
|
}
|
|
8286
8122
|
]
|
|
8287
8123
|
},
|
|
8288
8124
|
{
|
|
8289
8125
|
"kind": "javascript-module",
|
|
8290
|
-
"path": "src/
|
|
8126
|
+
"path": "src/genesis/event-fields.ts",
|
|
8291
8127
|
"declarations": [],
|
|
8292
8128
|
"exports": []
|
|
8293
8129
|
},
|
|
8294
8130
|
{
|
|
8295
8131
|
"kind": "javascript-module",
|
|
8296
|
-
"path": "src/
|
|
8132
|
+
"path": "src/genesis/filter-fields.ts",
|
|
8133
|
+
"declarations": [],
|
|
8134
|
+
"exports": []
|
|
8135
|
+
},
|
|
8136
|
+
{
|
|
8137
|
+
"kind": "javascript-module",
|
|
8138
|
+
"path": "src/genesis/index.ts",
|
|
8297
8139
|
"declarations": [],
|
|
8298
8140
|
"exports": [
|
|
8299
8141
|
{
|
|
8300
8142
|
"kind": "js",
|
|
8301
|
-
"name": "
|
|
8143
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8302
8144
|
"declaration": {
|
|
8303
|
-
"name": "
|
|
8304
|
-
"module": "./
|
|
8145
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8146
|
+
"module": "./register-genesis-assistant"
|
|
8305
8147
|
}
|
|
8306
8148
|
},
|
|
8307
8149
|
{
|
|
8308
8150
|
"kind": "js",
|
|
8309
|
-
"name": "
|
|
8151
|
+
"name": "registerGenesisAssistant",
|
|
8310
8152
|
"declaration": {
|
|
8311
|
-
"name": "
|
|
8312
|
-
"module": "./
|
|
8153
|
+
"name": "registerGenesisAssistant",
|
|
8154
|
+
"module": "./register-genesis-assistant"
|
|
8313
8155
|
}
|
|
8314
8156
|
},
|
|
8315
8157
|
{
|
|
8316
8158
|
"kind": "js",
|
|
8317
|
-
"name": "
|
|
8159
|
+
"name": "customCodeOf",
|
|
8318
8160
|
"declaration": {
|
|
8319
|
-
"name": "
|
|
8320
|
-
"module": "./
|
|
8161
|
+
"name": "customCodeOf",
|
|
8162
|
+
"module": "./config"
|
|
8321
8163
|
}
|
|
8322
8164
|
},
|
|
8323
8165
|
{
|
|
8324
8166
|
"kind": "js",
|
|
8325
|
-
"name": "
|
|
8167
|
+
"name": "rowActionProblem",
|
|
8326
8168
|
"declaration": {
|
|
8327
|
-
"name": "
|
|
8328
|
-
"module": "./
|
|
8169
|
+
"name": "rowActionProblem",
|
|
8170
|
+
"module": "./config"
|
|
8329
8171
|
}
|
|
8330
8172
|
},
|
|
8331
8173
|
{
|
|
8332
8174
|
"kind": "js",
|
|
8333
|
-
"name": "
|
|
8175
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8334
8176
|
"declaration": {
|
|
8335
|
-
"name": "
|
|
8336
|
-
"module": "./
|
|
8177
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
8178
|
+
"module": "./consumes"
|
|
8337
8179
|
}
|
|
8338
8180
|
},
|
|
8339
8181
|
{
|
|
8340
8182
|
"kind": "js",
|
|
8341
|
-
"name": "
|
|
8183
|
+
"name": "validateGenesisAiConfig",
|
|
8342
8184
|
"declaration": {
|
|
8343
|
-
"name": "
|
|
8344
|
-
"module": "./
|
|
8185
|
+
"name": "validateGenesisAiConfig",
|
|
8186
|
+
"module": "./config"
|
|
8345
8187
|
}
|
|
8346
8188
|
},
|
|
8347
8189
|
{
|
|
8348
8190
|
"kind": "js",
|
|
8349
|
-
"name": "
|
|
8191
|
+
"name": "DroppedResource",
|
|
8350
8192
|
"declaration": {
|
|
8351
|
-
"name": "
|
|
8352
|
-
"module": "./
|
|
8193
|
+
"name": "DroppedResource",
|
|
8194
|
+
"module": "./config"
|
|
8353
8195
|
}
|
|
8354
8196
|
},
|
|
8355
8197
|
{
|
|
8356
8198
|
"kind": "js",
|
|
8357
|
-
"name": "
|
|
8199
|
+
"name": "GenesisAiConfigCheck",
|
|
8358
8200
|
"declaration": {
|
|
8359
|
-
"name": "
|
|
8360
|
-
"module": "./
|
|
8201
|
+
"name": "GenesisAiConfigCheck",
|
|
8202
|
+
"module": "./config"
|
|
8361
8203
|
}
|
|
8362
8204
|
},
|
|
8363
8205
|
{
|
|
8364
8206
|
"kind": "js",
|
|
8365
|
-
"name": "
|
|
8207
|
+
"name": "GenesisFilter",
|
|
8366
8208
|
"declaration": {
|
|
8367
|
-
"name": "
|
|
8368
|
-
"module": "./
|
|
8209
|
+
"name": "GenesisFilter",
|
|
8210
|
+
"module": "./criteria"
|
|
8369
8211
|
}
|
|
8370
8212
|
},
|
|
8371
8213
|
{
|
|
8372
8214
|
"kind": "js",
|
|
8373
|
-
"name": "
|
|
8215
|
+
"name": "GenesisFilterField",
|
|
8374
8216
|
"declaration": {
|
|
8375
|
-
"name": "
|
|
8376
|
-
"module": "./
|
|
8217
|
+
"name": "GenesisFilterField",
|
|
8218
|
+
"module": "./criteria"
|
|
8377
8219
|
}
|
|
8378
8220
|
},
|
|
8379
8221
|
{
|
|
8380
8222
|
"kind": "js",
|
|
8381
|
-
"name": "
|
|
8223
|
+
"name": "GenesisFilterOp",
|
|
8382
8224
|
"declaration": {
|
|
8383
|
-
"name": "
|
|
8384
|
-
"module": "./
|
|
8225
|
+
"name": "GenesisFilterOp",
|
|
8226
|
+
"module": "./criteria"
|
|
8385
8227
|
}
|
|
8386
8228
|
},
|
|
8387
8229
|
{
|
|
8388
8230
|
"kind": "js",
|
|
8389
|
-
"name": "
|
|
8231
|
+
"name": "createGenesisResourceTools",
|
|
8390
8232
|
"declaration": {
|
|
8391
|
-
"name": "
|
|
8392
|
-
"module": "./
|
|
8233
|
+
"name": "createGenesisResourceTools",
|
|
8234
|
+
"module": "./resource-tools"
|
|
8393
8235
|
}
|
|
8394
8236
|
},
|
|
8395
8237
|
{
|
|
8396
8238
|
"kind": "js",
|
|
8397
|
-
"name": "
|
|
8239
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8398
8240
|
"declaration": {
|
|
8399
|
-
"name": "
|
|
8400
|
-
"module": "./
|
|
8241
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8242
|
+
"module": "./resource-tools"
|
|
8401
8243
|
}
|
|
8402
8244
|
},
|
|
8403
8245
|
{
|
|
8404
8246
|
"kind": "js",
|
|
8405
|
-
"name": "
|
|
8247
|
+
"name": "createGenesisWriteTools",
|
|
8406
8248
|
"declaration": {
|
|
8407
|
-
"name": "
|
|
8408
|
-
"module": "./
|
|
8249
|
+
"name": "createGenesisWriteTools",
|
|
8250
|
+
"module": "./write-tools"
|
|
8251
|
+
}
|
|
8252
|
+
},
|
|
8253
|
+
{
|
|
8254
|
+
"kind": "js",
|
|
8255
|
+
"name": "GenesisWriteDecision",
|
|
8256
|
+
"declaration": {
|
|
8257
|
+
"name": "GenesisWriteDecision",
|
|
8258
|
+
"module": "./write-tools"
|
|
8259
|
+
}
|
|
8260
|
+
},
|
|
8261
|
+
{
|
|
8262
|
+
"kind": "js",
|
|
8263
|
+
"name": "GenesisWriteResult",
|
|
8264
|
+
"declaration": {
|
|
8265
|
+
"name": "GenesisWriteResult",
|
|
8266
|
+
"module": "./write-tools"
|
|
8267
|
+
}
|
|
8268
|
+
},
|
|
8269
|
+
{
|
|
8270
|
+
"kind": "js",
|
|
8271
|
+
"name": "GenesisWriteRowStatus",
|
|
8272
|
+
"declaration": {
|
|
8273
|
+
"name": "GenesisWriteRowStatus",
|
|
8274
|
+
"module": "./write-tools"
|
|
8275
|
+
}
|
|
8276
|
+
},
|
|
8277
|
+
{
|
|
8278
|
+
"kind": "js",
|
|
8279
|
+
"name": "GenesisWriteToolsOptions",
|
|
8280
|
+
"declaration": {
|
|
8281
|
+
"name": "GenesisWriteToolsOptions",
|
|
8282
|
+
"module": "./write-tools"
|
|
8283
|
+
}
|
|
8284
|
+
},
|
|
8285
|
+
{
|
|
8286
|
+
"kind": "js",
|
|
8287
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
8288
|
+
"declaration": {
|
|
8289
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
8290
|
+
"module": "./write-review/write-review"
|
|
8291
|
+
}
|
|
8292
|
+
},
|
|
8293
|
+
{
|
|
8294
|
+
"kind": "js",
|
|
8295
|
+
"name": "GenesisWriteReview",
|
|
8296
|
+
"declaration": {
|
|
8297
|
+
"name": "GenesisWriteReview",
|
|
8298
|
+
"module": "./write-review/write-review"
|
|
8299
|
+
}
|
|
8300
|
+
},
|
|
8301
|
+
{
|
|
8302
|
+
"kind": "js",
|
|
8303
|
+
"name": "GenesisChangeRequest",
|
|
8304
|
+
"declaration": {
|
|
8305
|
+
"name": "GenesisChangeRequest",
|
|
8306
|
+
"module": "./review-payload"
|
|
8307
|
+
}
|
|
8308
|
+
},
|
|
8309
|
+
{
|
|
8310
|
+
"kind": "js",
|
|
8311
|
+
"name": "GenesisReviewPayload",
|
|
8312
|
+
"declaration": {
|
|
8313
|
+
"name": "GenesisReviewPayload",
|
|
8314
|
+
"module": "./review-payload"
|
|
8315
|
+
}
|
|
8316
|
+
},
|
|
8317
|
+
{
|
|
8318
|
+
"kind": "js",
|
|
8319
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
8320
|
+
"declaration": {
|
|
8321
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
8322
|
+
"module": "./review-payload"
|
|
8323
|
+
}
|
|
8324
|
+
},
|
|
8325
|
+
{
|
|
8326
|
+
"kind": "js",
|
|
8327
|
+
"name": "GenesisReadResult",
|
|
8328
|
+
"declaration": {
|
|
8329
|
+
"name": "GenesisReadResult",
|
|
8330
|
+
"module": "./resource-tools"
|
|
8331
|
+
}
|
|
8332
|
+
},
|
|
8333
|
+
{
|
|
8334
|
+
"kind": "js",
|
|
8335
|
+
"name": "GenesisResourceTools",
|
|
8336
|
+
"declaration": {
|
|
8337
|
+
"name": "GenesisResourceTools",
|
|
8338
|
+
"module": "./resource-tools"
|
|
8339
|
+
}
|
|
8340
|
+
},
|
|
8341
|
+
{
|
|
8342
|
+
"kind": "js",
|
|
8343
|
+
"name": "GenesisResourceToolsOptions",
|
|
8344
|
+
"declaration": {
|
|
8345
|
+
"name": "GenesisResourceToolsOptions",
|
|
8346
|
+
"module": "./resource-tools"
|
|
8347
|
+
}
|
|
8348
|
+
},
|
|
8349
|
+
{
|
|
8350
|
+
"kind": "js",
|
|
8351
|
+
"name": "GenesisToolError",
|
|
8352
|
+
"declaration": {
|
|
8353
|
+
"name": "GenesisToolError",
|
|
8354
|
+
"module": "./resource-tools"
|
|
8409
8355
|
}
|
|
8410
8356
|
},
|
|
8411
8357
|
{
|
|
8412
8358
|
"kind": "js",
|
|
8413
|
-
"name": "
|
|
8359
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8414
8360
|
"declaration": {
|
|
8415
|
-
"name": "
|
|
8416
|
-
"module": "./
|
|
8361
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8362
|
+
"module": "./types"
|
|
8417
8363
|
}
|
|
8418
8364
|
},
|
|
8419
8365
|
{
|
|
8420
8366
|
"kind": "js",
|
|
8421
|
-
"name": "
|
|
8367
|
+
"name": "GenesisAiConfig",
|
|
8422
8368
|
"declaration": {
|
|
8423
|
-
"name": "
|
|
8424
|
-
"module": "./
|
|
8369
|
+
"name": "GenesisAiConfig",
|
|
8370
|
+
"module": "./types"
|
|
8425
8371
|
}
|
|
8426
8372
|
},
|
|
8427
8373
|
{
|
|
8428
8374
|
"kind": "js",
|
|
8429
|
-
"name": "
|
|
8375
|
+
"name": "GenesisAiConsumes",
|
|
8430
8376
|
"declaration": {
|
|
8431
|
-
"name": "
|
|
8432
|
-
"module": "./
|
|
8377
|
+
"name": "GenesisAiConsumes",
|
|
8378
|
+
"module": "./types"
|
|
8433
8379
|
}
|
|
8434
8380
|
},
|
|
8435
8381
|
{
|
|
8436
8382
|
"kind": "js",
|
|
8437
|
-
"name": "
|
|
8383
|
+
"name": "GenesisAiResource",
|
|
8438
8384
|
"declaration": {
|
|
8439
|
-
"name": "
|
|
8440
|
-
"module": "./
|
|
8385
|
+
"name": "GenesisAiResource",
|
|
8386
|
+
"module": "./types"
|
|
8441
8387
|
}
|
|
8442
8388
|
},
|
|
8443
8389
|
{
|
|
8444
8390
|
"kind": "js",
|
|
8445
|
-
"name": "
|
|
8391
|
+
"name": "GenesisAssistantExtensions",
|
|
8446
8392
|
"declaration": {
|
|
8447
|
-
"name": "
|
|
8448
|
-
"module": "./
|
|
8393
|
+
"name": "GenesisAssistantExtensions",
|
|
8394
|
+
"module": "./types"
|
|
8449
8395
|
}
|
|
8450
8396
|
},
|
|
8451
8397
|
{
|
|
8452
8398
|
"kind": "js",
|
|
8453
|
-
"name": "
|
|
8399
|
+
"name": "GenesisAssistantRegistration",
|
|
8454
8400
|
"declaration": {
|
|
8455
|
-
"name": "
|
|
8456
|
-
"module": "./
|
|
8401
|
+
"name": "GenesisAssistantRegistration",
|
|
8402
|
+
"module": "./types"
|
|
8457
8403
|
}
|
|
8458
8404
|
},
|
|
8459
8405
|
{
|
|
8460
8406
|
"kind": "js",
|
|
8461
|
-
"name": "
|
|
8407
|
+
"name": "GenesisCustomCode",
|
|
8462
8408
|
"declaration": {
|
|
8463
|
-
"name": "
|
|
8464
|
-
"module": "./
|
|
8409
|
+
"name": "GenesisCustomCode",
|
|
8410
|
+
"module": "./types"
|
|
8465
8411
|
}
|
|
8466
8412
|
},
|
|
8467
8413
|
{
|
|
8468
8414
|
"kind": "js",
|
|
8469
|
-
"name": "
|
|
8415
|
+
"name": "GenesisCustomCodeCheck",
|
|
8470
8416
|
"declaration": {
|
|
8471
|
-
"name": "
|
|
8472
|
-
"module": "./
|
|
8417
|
+
"name": "GenesisCustomCodeCheck",
|
|
8418
|
+
"module": "./types"
|
|
8473
8419
|
}
|
|
8474
8420
|
},
|
|
8475
8421
|
{
|
|
8476
8422
|
"kind": "js",
|
|
8477
|
-
"name": "
|
|
8423
|
+
"name": "GenesisEventOp",
|
|
8478
8424
|
"declaration": {
|
|
8479
|
-
"name": "
|
|
8480
|
-
"module": "./
|
|
8425
|
+
"name": "GenesisEventOp",
|
|
8426
|
+
"module": "./types"
|
|
8481
8427
|
}
|
|
8482
8428
|
},
|
|
8483
8429
|
{
|
|
8484
8430
|
"kind": "js",
|
|
8485
|
-
"name": "
|
|
8431
|
+
"name": "GenesisReference",
|
|
8486
8432
|
"declaration": {
|
|
8487
|
-
"name": "
|
|
8488
|
-
"module": "./
|
|
8433
|
+
"name": "GenesisReference",
|
|
8434
|
+
"module": "./types"
|
|
8489
8435
|
}
|
|
8490
8436
|
},
|
|
8491
8437
|
{
|
|
8492
8438
|
"kind": "js",
|
|
8493
|
-
"name": "
|
|
8439
|
+
"name": "GenesisResourceKind",
|
|
8494
8440
|
"declaration": {
|
|
8495
|
-
"name": "
|
|
8496
|
-
"module": "./
|
|
8441
|
+
"name": "GenesisResourceKind",
|
|
8442
|
+
"module": "./types"
|
|
8497
8443
|
}
|
|
8498
8444
|
},
|
|
8499
8445
|
{
|
|
8500
8446
|
"kind": "js",
|
|
8501
|
-
"name": "
|
|
8447
|
+
"name": "GenesisRowEffect",
|
|
8502
8448
|
"declaration": {
|
|
8503
|
-
"name": "
|
|
8504
|
-
"module": "./
|
|
8449
|
+
"name": "GenesisRowEffect",
|
|
8450
|
+
"module": "./types"
|
|
8505
8451
|
}
|
|
8506
8452
|
},
|
|
8507
8453
|
{
|
|
8508
8454
|
"kind": "js",
|
|
8509
|
-
"name": "
|
|
8455
|
+
"name": "GenesisRowInput",
|
|
8510
8456
|
"declaration": {
|
|
8511
|
-
"name": "
|
|
8512
|
-
"module": "./
|
|
8457
|
+
"name": "GenesisRowInput",
|
|
8458
|
+
"module": "./types"
|
|
8513
8459
|
}
|
|
8514
8460
|
},
|
|
8515
8461
|
{
|
|
8516
8462
|
"kind": "js",
|
|
8517
|
-
"name": "
|
|
8463
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
8518
8464
|
"declaration": {
|
|
8519
|
-
"name": "
|
|
8520
|
-
"module": "./
|
|
8465
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
8466
|
+
"module": "./types"
|
|
8521
8467
|
}
|
|
8522
8468
|
}
|
|
8523
8469
|
]
|
|
8524
8470
|
},
|
|
8525
8471
|
{
|
|
8526
8472
|
"kind": "javascript-module",
|
|
8527
|
-
"path": "src/
|
|
8473
|
+
"path": "src/genesis/reference-check.ts",
|
|
8528
8474
|
"declarations": [
|
|
8529
8475
|
{
|
|
8530
8476
|
"kind": "function",
|
|
8531
|
-
"name": "
|
|
8477
|
+
"name": "tableOf",
|
|
8532
8478
|
"return": {
|
|
8533
8479
|
"type": {
|
|
8534
|
-
"text": "
|
|
8480
|
+
"text": "string"
|
|
8535
8481
|
}
|
|
8536
8482
|
},
|
|
8537
8483
|
"parameters": [
|
|
8538
8484
|
{
|
|
8539
|
-
"name": "
|
|
8485
|
+
"name": "resource",
|
|
8540
8486
|
"type": {
|
|
8541
8487
|
"text": "string"
|
|
8542
8488
|
}
|
|
8543
|
-
},
|
|
8544
|
-
{
|
|
8545
|
-
"name": "lines",
|
|
8546
|
-
"type": {
|
|
8547
|
-
"text": "number"
|
|
8548
|
-
}
|
|
8549
|
-
},
|
|
8550
|
-
{
|
|
8551
|
-
"name": "chars",
|
|
8552
|
-
"type": {
|
|
8553
|
-
"text": "number"
|
|
8554
|
-
}
|
|
8555
|
-
}
|
|
8556
|
-
],
|
|
8557
|
-
"description": "The first `lines` lines of `text`, at most `chars` characters, and its full length when it was cut."
|
|
8558
|
-
},
|
|
8559
|
-
{
|
|
8560
|
-
"kind": "function",
|
|
8561
|
-
"name": "present",
|
|
8562
|
-
"return": {
|
|
8563
|
-
"type": {
|
|
8564
|
-
"text": "Partial<T>"
|
|
8565
|
-
}
|
|
8566
|
-
},
|
|
8567
|
-
"parameters": [
|
|
8568
|
-
{
|
|
8569
|
-
"name": "source",
|
|
8570
|
-
"type": {
|
|
8571
|
-
"text": "T"
|
|
8572
|
-
}
|
|
8573
|
-
}
|
|
8574
|
-
],
|
|
8575
|
-
"description": "The keys of `source` that are set, as a new object: a field with nothing to say is dropped."
|
|
8576
|
-
},
|
|
8577
|
-
{
|
|
8578
|
-
"kind": "function",
|
|
8579
|
-
"name": "compactEvent",
|
|
8580
|
-
"return": {
|
|
8581
|
-
"type": {
|
|
8582
|
-
"text": "CompactEvent | undefined"
|
|
8583
|
-
}
|
|
8584
|
-
},
|
|
8585
|
-
"parameters": [
|
|
8586
|
-
{
|
|
8587
|
-
"name": "event",
|
|
8588
|
-
"type": {
|
|
8589
|
-
"text": "HeadlessEvent"
|
|
8590
|
-
}
|
|
8591
|
-
},
|
|
8592
|
-
{
|
|
8593
|
-
"name": "options",
|
|
8594
|
-
"default": "{}",
|
|
8595
|
-
"type": {
|
|
8596
|
-
"text": "CompactOptions"
|
|
8597
|
-
}
|
|
8598
8489
|
}
|
|
8599
8490
|
],
|
|
8600
|
-
"description": "
|
|
8491
|
+
"description": "The table a `REQ_<T>` reads."
|
|
8601
8492
|
},
|
|
8602
8493
|
{
|
|
8603
8494
|
"kind": "function",
|
|
8604
|
-
"name": "
|
|
8495
|
+
"name": "notAcceptedHere",
|
|
8605
8496
|
"return": {
|
|
8606
8497
|
"type": {
|
|
8607
8498
|
"text": "string"
|
|
@@ -8609,420 +8500,529 @@
|
|
|
8609
8500
|
},
|
|
8610
8501
|
"parameters": [
|
|
8611
8502
|
{
|
|
8612
|
-
"name": "
|
|
8503
|
+
"name": "field",
|
|
8613
8504
|
"type": {
|
|
8614
8505
|
"text": "string"
|
|
8615
8506
|
}
|
|
8616
8507
|
},
|
|
8617
8508
|
{
|
|
8618
|
-
"name": "
|
|
8619
|
-
"optional": true,
|
|
8620
|
-
"type": {
|
|
8621
|
-
"text": "Readonly<Record<string, string>>"
|
|
8622
|
-
}
|
|
8623
|
-
}
|
|
8624
|
-
],
|
|
8625
|
-
"description": "A decision's text without its `Now: <the preview view as JSON>` line, and nothing else (`decisionText:\n\"lean\"`). `renderDecision` writes the preview as `Now: ${capRead(JSON.stringify(view))}`: `JSON.stringify`\nwith no indent never breaks a line, so the JSON is the one line, and `capRead` adds a second, `[Cut at …]`,\nonly when it cut it. Both go; in their place is a pointer to `read`. The line is found by position, not\nby prefix alone: it follows the Views list, whose entry for the preview ends `(shown below as Now)`, so a\ncard that itself has a line starting `Now: ` is not mistaken for it.\n\nThe text comes back as it was when there is no preview to find (a card with no preview view, or a short-form\ndecision, which shows no `Now:`), or when `views` does not name the one the Views list marks."
|
|
8626
|
-
},
|
|
8627
|
-
{
|
|
8628
|
-
"kind": "function",
|
|
8629
|
-
"name": "compactDecision",
|
|
8630
|
-
"return": {
|
|
8631
|
-
"type": {
|
|
8632
|
-
"text": "CompactDecision"
|
|
8633
|
-
}
|
|
8634
|
-
},
|
|
8635
|
-
"parameters": [
|
|
8636
|
-
{
|
|
8637
|
-
"name": "description",
|
|
8638
|
-
"type": {
|
|
8639
|
-
"text": "InteractionDescription"
|
|
8640
|
-
}
|
|
8641
|
-
},
|
|
8642
|
-
{
|
|
8643
|
-
"name": "decisionText",
|
|
8644
|
-
"default": "'full'",
|
|
8509
|
+
"name": "{ resource, reason }",
|
|
8645
8510
|
"type": {
|
|
8646
|
-
"text": "
|
|
8511
|
+
"text": "UncheckedField"
|
|
8647
8512
|
}
|
|
8648
8513
|
}
|
|
8649
8514
|
],
|
|
8650
|
-
"description": "
|
|
8515
|
+
"description": "What an insert says about a value it cannot check."
|
|
8651
8516
|
},
|
|
8652
8517
|
{
|
|
8653
8518
|
"kind": "function",
|
|
8654
|
-
"name": "
|
|
8519
|
+
"name": "cannotBeChanged",
|
|
8655
8520
|
"return": {
|
|
8656
8521
|
"type": {
|
|
8657
|
-
"text": "
|
|
8522
|
+
"text": "string"
|
|
8658
8523
|
}
|
|
8659
8524
|
},
|
|
8660
8525
|
"parameters": [
|
|
8661
8526
|
{
|
|
8662
|
-
"name": "
|
|
8663
|
-
"type": {
|
|
8664
|
-
"text": "string"
|
|
8665
|
-
}
|
|
8666
|
-
},
|
|
8667
|
-
{
|
|
8668
|
-
"name": "component",
|
|
8527
|
+
"name": "field",
|
|
8669
8528
|
"type": {
|
|
8670
8529
|
"text": "string"
|
|
8671
8530
|
}
|
|
8672
8531
|
},
|
|
8673
8532
|
{
|
|
8674
|
-
"name": "
|
|
8675
|
-
"type": {
|
|
8676
|
-
"text": "ReadonlyArray<{ n?: number; name: string; enabled: boolean }>"
|
|
8677
|
-
}
|
|
8678
|
-
}
|
|
8679
|
-
],
|
|
8680
|
-
"description": "A decision cut to what a caller who has already read the card needs: which interaction, and the actions as\n`n`, `name`, `enabled`. For the reply to an edit, and to a refused action, where the card has not changed\nenough to be worth sending again."
|
|
8681
|
-
},
|
|
8682
|
-
{
|
|
8683
|
-
"kind": "function",
|
|
8684
|
-
"name": "capOutput",
|
|
8685
|
-
"return": {
|
|
8686
|
-
"type": {
|
|
8687
|
-
"text": "unknown"
|
|
8688
|
-
}
|
|
8689
|
-
},
|
|
8690
|
-
"parameters": [
|
|
8691
|
-
{
|
|
8692
|
-
"name": "output",
|
|
8533
|
+
"name": "{ resource, reason }",
|
|
8693
8534
|
"type": {
|
|
8694
|
-
"text": "
|
|
8535
|
+
"text": "UncheckedField"
|
|
8695
8536
|
}
|
|
8696
8537
|
}
|
|
8697
8538
|
],
|
|
8698
|
-
"description": "What
|
|
8699
|
-
}
|
|
8700
|
-
],
|
|
8701
|
-
"exports": [
|
|
8702
|
-
{
|
|
8703
|
-
"kind": "js",
|
|
8704
|
-
"name": "firstLines",
|
|
8705
|
-
"declaration": {
|
|
8706
|
-
"name": "firstLines",
|
|
8707
|
-
"module": "src/headless-server/compact.ts"
|
|
8708
|
-
}
|
|
8709
|
-
},
|
|
8710
|
-
{
|
|
8711
|
-
"kind": "js",
|
|
8712
|
-
"name": "present",
|
|
8713
|
-
"declaration": {
|
|
8714
|
-
"name": "present",
|
|
8715
|
-
"module": "src/headless-server/compact.ts"
|
|
8716
|
-
}
|
|
8717
|
-
},
|
|
8718
|
-
{
|
|
8719
|
-
"kind": "js",
|
|
8720
|
-
"name": "compactEvent",
|
|
8721
|
-
"declaration": {
|
|
8722
|
-
"name": "compactEvent",
|
|
8723
|
-
"module": "src/headless-server/compact.ts"
|
|
8724
|
-
}
|
|
8725
|
-
},
|
|
8726
|
-
{
|
|
8727
|
-
"kind": "js",
|
|
8728
|
-
"name": "leanDecisionText",
|
|
8729
|
-
"declaration": {
|
|
8730
|
-
"name": "leanDecisionText",
|
|
8731
|
-
"module": "src/headless-server/compact.ts"
|
|
8732
|
-
}
|
|
8733
|
-
},
|
|
8539
|
+
"description": "What a modify says about a new value it cannot check."
|
|
8540
|
+
}
|
|
8541
|
+
],
|
|
8542
|
+
"exports": [
|
|
8734
8543
|
{
|
|
8735
8544
|
"kind": "js",
|
|
8736
|
-
"name": "
|
|
8545
|
+
"name": "tableOf",
|
|
8737
8546
|
"declaration": {
|
|
8738
|
-
"name": "
|
|
8739
|
-
"module": "src/
|
|
8547
|
+
"name": "tableOf",
|
|
8548
|
+
"module": "src/genesis/reference-check.ts"
|
|
8740
8549
|
}
|
|
8741
8550
|
},
|
|
8742
8551
|
{
|
|
8743
8552
|
"kind": "js",
|
|
8744
|
-
"name": "
|
|
8553
|
+
"name": "notAcceptedHere",
|
|
8745
8554
|
"declaration": {
|
|
8746
|
-
"name": "
|
|
8747
|
-
"module": "src/
|
|
8555
|
+
"name": "notAcceptedHere",
|
|
8556
|
+
"module": "src/genesis/reference-check.ts"
|
|
8748
8557
|
}
|
|
8749
8558
|
},
|
|
8750
8559
|
{
|
|
8751
8560
|
"kind": "js",
|
|
8752
|
-
"name": "
|
|
8561
|
+
"name": "cannotBeChanged",
|
|
8753
8562
|
"declaration": {
|
|
8754
|
-
"name": "
|
|
8755
|
-
"module": "src/
|
|
8563
|
+
"name": "cannotBeChanged",
|
|
8564
|
+
"module": "src/genesis/reference-check.ts"
|
|
8756
8565
|
}
|
|
8757
8566
|
}
|
|
8758
8567
|
]
|
|
8759
8568
|
},
|
|
8760
8569
|
{
|
|
8761
8570
|
"kind": "javascript-module",
|
|
8762
|
-
"path": "src/
|
|
8763
|
-
"declarations": [
|
|
8764
|
-
"exports": [
|
|
8765
|
-
{
|
|
8766
|
-
"kind": "js",
|
|
8767
|
-
"name": "capOutput",
|
|
8768
|
-
"declaration": {
|
|
8769
|
-
"name": "capOutput",
|
|
8770
|
-
"module": "./compact"
|
|
8771
|
-
}
|
|
8772
|
-
},
|
|
8773
|
-
{
|
|
8774
|
-
"kind": "js",
|
|
8775
|
-
"name": "compactDecision",
|
|
8776
|
-
"declaration": {
|
|
8777
|
-
"name": "compactDecision",
|
|
8778
|
-
"module": "./compact"
|
|
8779
|
-
}
|
|
8780
|
-
},
|
|
8781
|
-
{
|
|
8782
|
-
"kind": "js",
|
|
8783
|
-
"name": "compactEvent",
|
|
8784
|
-
"declaration": {
|
|
8785
|
-
"name": "compactEvent",
|
|
8786
|
-
"module": "./compact"
|
|
8787
|
-
}
|
|
8788
|
-
},
|
|
8571
|
+
"path": "src/genesis/reference-existence.ts",
|
|
8572
|
+
"declarations": [
|
|
8789
8573
|
{
|
|
8790
|
-
"kind": "
|
|
8791
|
-
"name": "
|
|
8792
|
-
"
|
|
8793
|
-
"
|
|
8794
|
-
|
|
8795
|
-
|
|
8574
|
+
"kind": "variable",
|
|
8575
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8576
|
+
"type": {
|
|
8577
|
+
"text": "number"
|
|
8578
|
+
},
|
|
8579
|
+
"default": "50",
|
|
8580
|
+
"description": "The most distinct values one call may check."
|
|
8796
8581
|
},
|
|
8797
8582
|
{
|
|
8798
|
-
"kind": "
|
|
8799
|
-
"name": "
|
|
8800
|
-
"
|
|
8801
|
-
"
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8583
|
+
"kind": "function",
|
|
8584
|
+
"name": "withReferenceProblems",
|
|
8585
|
+
"return": {
|
|
8586
|
+
"type": {
|
|
8587
|
+
"text": "T[]"
|
|
8588
|
+
}
|
|
8589
|
+
},
|
|
8590
|
+
"parameters": [
|
|
8591
|
+
{
|
|
8592
|
+
"name": "rows",
|
|
8593
|
+
"type": {
|
|
8594
|
+
"text": "readonly T[]"
|
|
8595
|
+
}
|
|
8596
|
+
},
|
|
8597
|
+
{
|
|
8598
|
+
"name": "problems",
|
|
8599
|
+
"type": {
|
|
8600
|
+
"text": "ReadonlyMap<number, string[]>"
|
|
8601
|
+
}
|
|
8602
|
+
}
|
|
8603
|
+
],
|
|
8604
|
+
"description": "The rows with what the check found added to their problems."
|
|
8605
|
+
}
|
|
8606
|
+
],
|
|
8607
|
+
"exports": [
|
|
8805
8608
|
{
|
|
8806
8609
|
"kind": "js",
|
|
8807
|
-
"name": "
|
|
8610
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8808
8611
|
"declaration": {
|
|
8809
|
-
"name": "
|
|
8810
|
-
"module": "
|
|
8612
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8613
|
+
"module": "src/genesis/reference-existence.ts"
|
|
8811
8614
|
}
|
|
8812
8615
|
},
|
|
8813
8616
|
{
|
|
8814
8617
|
"kind": "js",
|
|
8815
|
-
"name": "
|
|
8618
|
+
"name": "withReferenceProblems",
|
|
8816
8619
|
"declaration": {
|
|
8817
|
-
"name": "
|
|
8818
|
-
"module": "
|
|
8620
|
+
"name": "withReferenceProblems",
|
|
8621
|
+
"module": "src/genesis/reference-existence.ts"
|
|
8819
8622
|
}
|
|
8820
|
-
}
|
|
8623
|
+
}
|
|
8624
|
+
]
|
|
8625
|
+
},
|
|
8626
|
+
{
|
|
8627
|
+
"kind": "javascript-module",
|
|
8628
|
+
"path": "src/genesis/register-genesis-assistant.ts",
|
|
8629
|
+
"declarations": [
|
|
8821
8630
|
{
|
|
8822
|
-
"kind": "
|
|
8823
|
-
"name": "
|
|
8824
|
-
"
|
|
8825
|
-
"
|
|
8826
|
-
|
|
8827
|
-
|
|
8631
|
+
"kind": "variable",
|
|
8632
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8633
|
+
"type": {
|
|
8634
|
+
"text": "string"
|
|
8635
|
+
},
|
|
8636
|
+
"default": "'genesis-assistant'",
|
|
8637
|
+
"description": "The name of the agent registerGenesisAssistant builds."
|
|
8828
8638
|
},
|
|
8829
8639
|
{
|
|
8830
|
-
"kind": "
|
|
8831
|
-
"name": "
|
|
8832
|
-
"
|
|
8833
|
-
"
|
|
8834
|
-
|
|
8835
|
-
|
|
8836
|
-
|
|
8640
|
+
"kind": "function",
|
|
8641
|
+
"name": "registerGenesisAssistant",
|
|
8642
|
+
"return": {
|
|
8643
|
+
"type": {
|
|
8644
|
+
"text": "GenesisAssistantRegistration"
|
|
8645
|
+
}
|
|
8646
|
+
},
|
|
8647
|
+
"parameters": [
|
|
8648
|
+
{
|
|
8649
|
+
"name": "options",
|
|
8650
|
+
"type": {
|
|
8651
|
+
"text": "RegisterGenesisAssistantOptions"
|
|
8652
|
+
}
|
|
8653
|
+
}
|
|
8654
|
+
],
|
|
8655
|
+
"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."
|
|
8656
|
+
}
|
|
8657
|
+
],
|
|
8658
|
+
"exports": [
|
|
8837
8659
|
{
|
|
8838
8660
|
"kind": "js",
|
|
8839
|
-
"name": "
|
|
8661
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8840
8662
|
"declaration": {
|
|
8841
|
-
"name": "
|
|
8842
|
-
"module": "
|
|
8663
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8664
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
8843
8665
|
}
|
|
8844
8666
|
},
|
|
8845
8667
|
{
|
|
8846
8668
|
"kind": "js",
|
|
8847
|
-
"name": "
|
|
8669
|
+
"name": "registerGenesisAssistant",
|
|
8848
8670
|
"declaration": {
|
|
8849
|
-
"name": "
|
|
8850
|
-
"module": "
|
|
8671
|
+
"name": "registerGenesisAssistant",
|
|
8672
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
8851
8673
|
}
|
|
8852
|
-
}
|
|
8674
|
+
}
|
|
8675
|
+
]
|
|
8676
|
+
},
|
|
8677
|
+
{
|
|
8678
|
+
"kind": "javascript-module",
|
|
8679
|
+
"path": "src/genesis/resource-tools.ts",
|
|
8680
|
+
"declarations": [
|
|
8853
8681
|
{
|
|
8854
|
-
"kind": "
|
|
8855
|
-
"name": "
|
|
8856
|
-
"
|
|
8857
|
-
"
|
|
8858
|
-
|
|
8859
|
-
|
|
8682
|
+
"kind": "variable",
|
|
8683
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8684
|
+
"type": {
|
|
8685
|
+
"text": "string"
|
|
8686
|
+
},
|
|
8687
|
+
"default": "'app-database'",
|
|
8688
|
+
"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."
|
|
8860
8689
|
},
|
|
8861
8690
|
{
|
|
8862
|
-
"kind": "
|
|
8863
|
-
"name": "
|
|
8864
|
-
"
|
|
8865
|
-
"
|
|
8866
|
-
|
|
8867
|
-
|
|
8868
|
-
|
|
8691
|
+
"kind": "function",
|
|
8692
|
+
"name": "createGenesisResourceTools",
|
|
8693
|
+
"return": {
|
|
8694
|
+
"type": {
|
|
8695
|
+
"text": "GenesisResourceTools"
|
|
8696
|
+
}
|
|
8697
|
+
},
|
|
8698
|
+
"parameters": [
|
|
8699
|
+
{
|
|
8700
|
+
"name": "resources",
|
|
8701
|
+
"type": {
|
|
8702
|
+
"text": "readonly GenesisAiResource[]"
|
|
8703
|
+
}
|
|
8704
|
+
},
|
|
8705
|
+
{
|
|
8706
|
+
"name": "options",
|
|
8707
|
+
"default": "{}",
|
|
8708
|
+
"type": {
|
|
8709
|
+
"text": "GenesisResourceToolsOptions"
|
|
8710
|
+
}
|
|
8711
|
+
}
|
|
8712
|
+
],
|
|
8713
|
+
"description": "Builds the assistant's tools from an app's resources."
|
|
8714
|
+
}
|
|
8715
|
+
],
|
|
8716
|
+
"exports": [
|
|
8869
8717
|
{
|
|
8870
8718
|
"kind": "js",
|
|
8871
|
-
"name": "
|
|
8719
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8872
8720
|
"declaration": {
|
|
8873
|
-
"name": "
|
|
8874
|
-
"module": "
|
|
8721
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8722
|
+
"module": "src/genesis/resource-tools.ts"
|
|
8875
8723
|
}
|
|
8876
8724
|
},
|
|
8877
8725
|
{
|
|
8878
8726
|
"kind": "js",
|
|
8879
|
-
"name": "
|
|
8727
|
+
"name": "createGenesisResourceTools",
|
|
8880
8728
|
"declaration": {
|
|
8881
|
-
"name": "
|
|
8882
|
-
"module": "
|
|
8729
|
+
"name": "createGenesisResourceTools",
|
|
8730
|
+
"module": "src/genesis/resource-tools.ts"
|
|
8883
8731
|
}
|
|
8884
|
-
}
|
|
8732
|
+
}
|
|
8733
|
+
]
|
|
8734
|
+
},
|
|
8735
|
+
{
|
|
8736
|
+
"kind": "javascript-module",
|
|
8737
|
+
"path": "src/genesis/review-model.ts",
|
|
8738
|
+
"declarations": [
|
|
8885
8739
|
{
|
|
8886
|
-
"kind": "
|
|
8887
|
-
"name": "
|
|
8888
|
-
"
|
|
8889
|
-
"
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
|
-
|
|
8740
|
+
"kind": "variable",
|
|
8741
|
+
"name": "LONG_VALUE",
|
|
8742
|
+
"type": {
|
|
8743
|
+
"text": "number"
|
|
8744
|
+
},
|
|
8745
|
+
"default": "24",
|
|
8746
|
+
"description": "Past this many characters a value wraps; at or under it, it stays on one line."
|
|
8747
|
+
}
|
|
8748
|
+
],
|
|
8749
|
+
"exports": [
|
|
8893
8750
|
{
|
|
8894
8751
|
"kind": "js",
|
|
8895
|
-
"name": "
|
|
8752
|
+
"name": "GenesisChangeRequest",
|
|
8896
8753
|
"declaration": {
|
|
8897
|
-
"name": "
|
|
8898
|
-
"module": "./
|
|
8754
|
+
"name": "GenesisChangeRequest",
|
|
8755
|
+
"module": "./review-payload"
|
|
8899
8756
|
}
|
|
8900
8757
|
},
|
|
8901
8758
|
{
|
|
8902
8759
|
"kind": "js",
|
|
8903
|
-
"name": "
|
|
8760
|
+
"name": "GenesisReviewPayload",
|
|
8904
8761
|
"declaration": {
|
|
8905
|
-
"name": "
|
|
8906
|
-
"module": "./
|
|
8762
|
+
"name": "GenesisReviewPayload",
|
|
8763
|
+
"module": "./review-payload"
|
|
8907
8764
|
}
|
|
8908
8765
|
},
|
|
8909
8766
|
{
|
|
8910
8767
|
"kind": "js",
|
|
8911
|
-
"name": "
|
|
8768
|
+
"name": "LONG_VALUE",
|
|
8912
8769
|
"declaration": {
|
|
8913
|
-
"name": "
|
|
8914
|
-
"module": "
|
|
8770
|
+
"name": "LONG_VALUE",
|
|
8771
|
+
"module": "src/genesis/review-model.ts"
|
|
8915
8772
|
}
|
|
8916
|
-
}
|
|
8773
|
+
}
|
|
8774
|
+
]
|
|
8775
|
+
},
|
|
8776
|
+
{
|
|
8777
|
+
"kind": "javascript-module",
|
|
8778
|
+
"path": "src/genesis/review-payload.ts",
|
|
8779
|
+
"declarations": [],
|
|
8780
|
+
"exports": []
|
|
8781
|
+
},
|
|
8782
|
+
{
|
|
8783
|
+
"kind": "javascript-module",
|
|
8784
|
+
"path": "src/genesis/row-source.ts",
|
|
8785
|
+
"declarations": [],
|
|
8786
|
+
"exports": []
|
|
8787
|
+
},
|
|
8788
|
+
{
|
|
8789
|
+
"kind": "javascript-module",
|
|
8790
|
+
"path": "src/genesis/serialisable.ts",
|
|
8791
|
+
"declarations": [],
|
|
8792
|
+
"exports": []
|
|
8793
|
+
},
|
|
8794
|
+
{
|
|
8795
|
+
"kind": "javascript-module",
|
|
8796
|
+
"path": "src/genesis/server-text.ts",
|
|
8797
|
+
"declarations": [
|
|
8917
8798
|
{
|
|
8918
|
-
"kind": "
|
|
8919
|
-
"name": "
|
|
8920
|
-
"
|
|
8921
|
-
"
|
|
8922
|
-
|
|
8923
|
-
|
|
8799
|
+
"kind": "function",
|
|
8800
|
+
"name": "readsLikeFieldName",
|
|
8801
|
+
"return": {
|
|
8802
|
+
"type": {
|
|
8803
|
+
"text": "boolean"
|
|
8804
|
+
}
|
|
8805
|
+
},
|
|
8806
|
+
"parameters": [
|
|
8807
|
+
{
|
|
8808
|
+
"name": "text",
|
|
8809
|
+
"type": {
|
|
8810
|
+
"text": "string"
|
|
8811
|
+
}
|
|
8812
|
+
}
|
|
8813
|
+
],
|
|
8814
|
+
"description": "Whether text is a Genesis identifier, the FIELD_NAME shape. @internal"
|
|
8924
8815
|
},
|
|
8816
|
+
{
|
|
8817
|
+
"kind": "function",
|
|
8818
|
+
"name": "describeFailure",
|
|
8819
|
+
"return": {
|
|
8820
|
+
"type": {
|
|
8821
|
+
"text": "string | undefined"
|
|
8822
|
+
}
|
|
8823
|
+
},
|
|
8824
|
+
"parameters": [
|
|
8825
|
+
{
|
|
8826
|
+
"name": "error",
|
|
8827
|
+
"type": {
|
|
8828
|
+
"text": "unknown"
|
|
8829
|
+
}
|
|
8830
|
+
}
|
|
8831
|
+
],
|
|
8832
|
+
"description": "Whatever a rejection turns out to be, as a sentence."
|
|
8833
|
+
}
|
|
8834
|
+
],
|
|
8835
|
+
"exports": [
|
|
8925
8836
|
{
|
|
8926
8837
|
"kind": "js",
|
|
8927
|
-
"name": "
|
|
8838
|
+
"name": "readsLikeFieldName",
|
|
8928
8839
|
"declaration": {
|
|
8929
|
-
"name": "
|
|
8930
|
-
"module": "
|
|
8840
|
+
"name": "readsLikeFieldName",
|
|
8841
|
+
"module": "src/genesis/server-text.ts"
|
|
8931
8842
|
}
|
|
8932
8843
|
},
|
|
8933
8844
|
{
|
|
8934
8845
|
"kind": "js",
|
|
8935
|
-
"name": "
|
|
8846
|
+
"name": "describeFailure",
|
|
8936
8847
|
"declaration": {
|
|
8937
|
-
"name": "
|
|
8938
|
-
"module": "
|
|
8848
|
+
"name": "describeFailure",
|
|
8849
|
+
"module": "src/genesis/server-text.ts"
|
|
8939
8850
|
}
|
|
8940
|
-
}
|
|
8851
|
+
}
|
|
8852
|
+
]
|
|
8853
|
+
},
|
|
8854
|
+
{
|
|
8855
|
+
"kind": "javascript-module",
|
|
8856
|
+
"path": "src/genesis/type-name.ts",
|
|
8857
|
+
"declarations": [],
|
|
8858
|
+
"exports": []
|
|
8859
|
+
},
|
|
8860
|
+
{
|
|
8861
|
+
"kind": "javascript-module",
|
|
8862
|
+
"path": "src/genesis/types.ts",
|
|
8863
|
+
"declarations": [
|
|
8864
|
+
{
|
|
8865
|
+
"kind": "variable",
|
|
8866
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8867
|
+
"type": {
|
|
8868
|
+
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
8869
|
+
},
|
|
8870
|
+
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
8871
|
+
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
8872
|
+
}
|
|
8873
|
+
],
|
|
8874
|
+
"exports": [
|
|
8941
8875
|
{
|
|
8942
8876
|
"kind": "js",
|
|
8943
|
-
"name": "
|
|
8877
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8944
8878
|
"declaration": {
|
|
8945
|
-
"name": "
|
|
8946
|
-
"module": "
|
|
8879
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8880
|
+
"module": "src/genesis/types.ts"
|
|
8947
8881
|
}
|
|
8948
8882
|
}
|
|
8949
8883
|
]
|
|
8950
8884
|
},
|
|
8951
8885
|
{
|
|
8952
8886
|
"kind": "javascript-module",
|
|
8953
|
-
"path": "src/
|
|
8887
|
+
"path": "src/genesis/value-compare.ts",
|
|
8888
|
+
"declarations": [],
|
|
8889
|
+
"exports": []
|
|
8890
|
+
},
|
|
8891
|
+
{
|
|
8892
|
+
"kind": "javascript-module",
|
|
8893
|
+
"path": "src/genesis/write-commit.ts",
|
|
8894
|
+
"declarations": [],
|
|
8895
|
+
"exports": []
|
|
8896
|
+
},
|
|
8897
|
+
{
|
|
8898
|
+
"kind": "javascript-module",
|
|
8899
|
+
"path": "src/genesis/write-op.ts",
|
|
8900
|
+
"declarations": [],
|
|
8901
|
+
"exports": []
|
|
8902
|
+
},
|
|
8903
|
+
{
|
|
8904
|
+
"kind": "javascript-module",
|
|
8905
|
+
"path": "src/genesis/write-outcome.ts",
|
|
8906
|
+
"declarations": [],
|
|
8907
|
+
"exports": []
|
|
8908
|
+
},
|
|
8909
|
+
{
|
|
8910
|
+
"kind": "javascript-module",
|
|
8911
|
+
"path": "src/genesis/write-payload.ts",
|
|
8954
8912
|
"declarations": [
|
|
8955
8913
|
{
|
|
8956
8914
|
"kind": "function",
|
|
8957
|
-
"name": "
|
|
8915
|
+
"name": "buildEventPayload",
|
|
8958
8916
|
"return": {
|
|
8959
8917
|
"type": {
|
|
8960
|
-
"text": "
|
|
8918
|
+
"text": "PayloadResult"
|
|
8961
8919
|
}
|
|
8962
8920
|
},
|
|
8963
8921
|
"parameters": [
|
|
8964
8922
|
{
|
|
8965
|
-
"name": "
|
|
8923
|
+
"name": "fields",
|
|
8966
8924
|
"type": {
|
|
8967
|
-
"text": "
|
|
8925
|
+
"text": "readonly GenesisEventField[]"
|
|
8926
|
+
}
|
|
8927
|
+
},
|
|
8928
|
+
{
|
|
8929
|
+
"name": "row",
|
|
8930
|
+
"type": {
|
|
8931
|
+
"text": "unknown"
|
|
8932
|
+
}
|
|
8933
|
+
},
|
|
8934
|
+
{
|
|
8935
|
+
"name": "{ op, preImage, unchecked }",
|
|
8936
|
+
"type": {
|
|
8937
|
+
"text": "BuildPayloadOptions"
|
|
8968
8938
|
}
|
|
8969
8939
|
}
|
|
8970
|
-
]
|
|
8971
|
-
"description": "The headless server (PLAN §5, D7): `node:http` on 127.0.0.1, `GET /health` and `POST /cmd`.\n\nEvery command is APPLIED and then LONG-POLLS (§5.5): the reply comes when the journey next needs the\nperson (an interaction is held by them and ready), a turn ends, the run ends, or something fails, or at\n`maxWaitMs` with `status: \"working\"`. Nothing is lost on a client timeout: the command was applied before\nthe wait, events carry `seq`, and `{op: \"wait\", since}` returns everything after it.\n\nThe session is the only thing it drives; what the host owns is reached through ServerOptions."
|
|
8940
|
+
]
|
|
8972
8941
|
}
|
|
8973
8942
|
],
|
|
8974
8943
|
"exports": [
|
|
8975
8944
|
{
|
|
8976
8945
|
"kind": "js",
|
|
8977
|
-
"name": "
|
|
8946
|
+
"name": "buildEventPayload",
|
|
8978
8947
|
"declaration": {
|
|
8979
|
-
"name": "
|
|
8980
|
-
"module": "src/
|
|
8948
|
+
"name": "buildEventPayload",
|
|
8949
|
+
"module": "src/genesis/write-payload.ts"
|
|
8981
8950
|
}
|
|
8982
8951
|
}
|
|
8983
8952
|
]
|
|
8984
8953
|
},
|
|
8985
8954
|
{
|
|
8986
8955
|
"kind": "javascript-module",
|
|
8987
|
-
"path": "src/
|
|
8956
|
+
"path": "src/genesis/write-plan.ts",
|
|
8988
8957
|
"declarations": [
|
|
8989
8958
|
{
|
|
8990
8959
|
"kind": "variable",
|
|
8991
|
-
"name": "
|
|
8992
|
-
"type": {
|
|
8993
|
-
"text": "readonly DecisionText[]"
|
|
8994
|
-
},
|
|
8995
|
-
"default": "['full', 'lean']"
|
|
8996
|
-
},
|
|
8997
|
-
{
|
|
8998
|
-
"kind": "variable",
|
|
8999
|
-
"name": "DEFAULT_DECISION_TEXT",
|
|
8960
|
+
"name": "MAX_WRITE_ROWS",
|
|
9000
8961
|
"type": {
|
|
9001
|
-
"text": "
|
|
8962
|
+
"text": "number"
|
|
9002
8963
|
},
|
|
9003
|
-
"default": "
|
|
9004
|
-
"description": "
|
|
8964
|
+
"default": "25",
|
|
8965
|
+
"description": "A batch a person can actually read before approving it."
|
|
9005
8966
|
}
|
|
9006
8967
|
],
|
|
9007
8968
|
"exports": [
|
|
9008
8969
|
{
|
|
9009
8970
|
"kind": "js",
|
|
9010
|
-
"name": "
|
|
8971
|
+
"name": "MAX_WRITE_ROWS",
|
|
9011
8972
|
"declaration": {
|
|
9012
|
-
"name": "
|
|
9013
|
-
"module": "src/
|
|
8973
|
+
"name": "MAX_WRITE_ROWS",
|
|
8974
|
+
"module": "src/genesis/write-plan.ts"
|
|
9014
8975
|
}
|
|
9015
|
-
}
|
|
8976
|
+
}
|
|
8977
|
+
]
|
|
8978
|
+
},
|
|
8979
|
+
{
|
|
8980
|
+
"kind": "javascript-module",
|
|
8981
|
+
"path": "src/genesis/write-tools.ts",
|
|
8982
|
+
"declarations": [
|
|
8983
|
+
{
|
|
8984
|
+
"kind": "function",
|
|
8985
|
+
"name": "createGenesisWriteTools",
|
|
8986
|
+
"return": {
|
|
8987
|
+
"type": {
|
|
8988
|
+
"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}"
|
|
8989
|
+
}
|
|
8990
|
+
},
|
|
8991
|
+
"parameters": [
|
|
8992
|
+
{
|
|
8993
|
+
"name": "resources",
|
|
8994
|
+
"type": {
|
|
8995
|
+
"text": "readonly GenesisAiResource[]"
|
|
8996
|
+
}
|
|
8997
|
+
},
|
|
8998
|
+
{
|
|
8999
|
+
"name": "options",
|
|
9000
|
+
"default": "{}",
|
|
9001
|
+
"type": {
|
|
9002
|
+
"text": "GenesisWriteToolsOptions"
|
|
9003
|
+
}
|
|
9004
|
+
}
|
|
9005
|
+
],
|
|
9006
|
+
"description": "Builds the assistant's write tools from an app's event resources."
|
|
9007
|
+
}
|
|
9008
|
+
],
|
|
9009
|
+
"exports": [
|
|
9016
9010
|
{
|
|
9017
9011
|
"kind": "js",
|
|
9018
|
-
"name": "
|
|
9012
|
+
"name": "createGenesisWriteTools",
|
|
9019
9013
|
"declaration": {
|
|
9020
|
-
"name": "
|
|
9021
|
-
"module": "src/
|
|
9014
|
+
"name": "createGenesisWriteTools",
|
|
9015
|
+
"module": "src/genesis/write-tools.ts"
|
|
9022
9016
|
}
|
|
9023
9017
|
}
|
|
9024
9018
|
]
|
|
9025
9019
|
},
|
|
9020
|
+
{
|
|
9021
|
+
"kind": "javascript-module",
|
|
9022
|
+
"path": "src/genesis/write-turn.ts",
|
|
9023
|
+
"declarations": [],
|
|
9024
|
+
"exports": []
|
|
9025
|
+
},
|
|
9026
9026
|
{
|
|
9027
9027
|
"kind": "javascript-module",
|
|
9028
9028
|
"path": "src/main/attachment-controller.ts",
|