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