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