@genesislcap/ai-assistant 15.96.2 → 15.96.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +2083 -2083
- package/package.json +17 -17
|
@@ -5289,237 +5289,6 @@
|
|
|
5289
5289
|
}
|
|
5290
5290
|
]
|
|
5291
5291
|
},
|
|
5292
|
-
{
|
|
5293
|
-
"kind": "javascript-module",
|
|
5294
|
-
"path": "src/config/config.ts",
|
|
5295
|
-
"declarations": [
|
|
5296
|
-
{
|
|
5297
|
-
"kind": "function",
|
|
5298
|
-
"name": "defineAgent",
|
|
5299
|
-
"description": "Identity helper that infers the narrowest possible type for an agent config,\npreserving string literal types (including `name`) without requiring `as const`.\n\nUse this when you need `typeof myAgent` to carry the literal `name` type —\nfor example, when wiring `ChatToolHandlers<typeof myAgent>`.\n\n```ts\nconst myAgent = defineAgent({ name: 'my_agent', ... });\ntype Handlers = ChatToolHandlers<typeof myAgent>;\n// requestSubAgent name param is now typed as 'my_agent'\n```"
|
|
5300
|
-
}
|
|
5301
|
-
],
|
|
5302
|
-
"exports": [
|
|
5303
|
-
{
|
|
5304
|
-
"kind": "js",
|
|
5305
|
-
"name": "CachePolicy",
|
|
5306
|
-
"declaration": {
|
|
5307
|
-
"name": "CachePolicy",
|
|
5308
|
-
"module": "src/config/config.ts"
|
|
5309
|
-
}
|
|
5310
|
-
},
|
|
5311
|
-
{
|
|
5312
|
-
"kind": "js",
|
|
5313
|
-
"name": "ChatFallback",
|
|
5314
|
-
"declaration": {
|
|
5315
|
-
"name": "ChatFallback",
|
|
5316
|
-
"module": "src/config/config.ts"
|
|
5317
|
-
}
|
|
5318
|
-
},
|
|
5319
|
-
{
|
|
5320
|
-
"kind": "js",
|
|
5321
|
-
"name": "ChatInputDuringExecutionMode",
|
|
5322
|
-
"declaration": {
|
|
5323
|
-
"name": "ChatInputDuringExecutionMode",
|
|
5324
|
-
"module": "src/config/config.ts"
|
|
5325
|
-
}
|
|
5326
|
-
},
|
|
5327
|
-
{
|
|
5328
|
-
"kind": "js",
|
|
5329
|
-
"name": "ChatThinkingPolicy",
|
|
5330
|
-
"declaration": {
|
|
5331
|
-
"name": "ChatThinkingPolicy",
|
|
5332
|
-
"module": "src/config/config.ts"
|
|
5333
|
-
}
|
|
5334
|
-
},
|
|
5335
|
-
{
|
|
5336
|
-
"kind": "js",
|
|
5337
|
-
"name": "ChatToolChoice",
|
|
5338
|
-
"declaration": {
|
|
5339
|
-
"name": "ChatToolChoice",
|
|
5340
|
-
"module": "src/config/config.ts"
|
|
5341
|
-
}
|
|
5342
|
-
},
|
|
5343
|
-
{
|
|
5344
|
-
"kind": "js",
|
|
5345
|
-
"name": "defineAgent",
|
|
5346
|
-
"declaration": {
|
|
5347
|
-
"name": "defineAgent",
|
|
5348
|
-
"module": "src/config/config.ts"
|
|
5349
|
-
}
|
|
5350
|
-
}
|
|
5351
|
-
]
|
|
5352
|
-
},
|
|
5353
|
-
{
|
|
5354
|
-
"kind": "javascript-module",
|
|
5355
|
-
"path": "src/config/define-stateful-agent.ts",
|
|
5356
|
-
"declarations": [
|
|
5357
|
-
{
|
|
5358
|
-
"kind": "function",
|
|
5359
|
-
"name": "restoreMachine",
|
|
5360
|
-
"return": {
|
|
5361
|
-
"type": {
|
|
5362
|
-
"text": "void"
|
|
5363
|
-
}
|
|
5364
|
-
},
|
|
5365
|
-
"parameters": [
|
|
5366
|
-
{
|
|
5367
|
-
"name": "machine",
|
|
5368
|
-
"type": {
|
|
5369
|
-
"text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
|
|
5370
|
-
},
|
|
5371
|
-
"description": "the machine to restore (already constructed/started)."
|
|
5372
|
-
},
|
|
5373
|
-
{
|
|
5374
|
-
"name": "restored",
|
|
5375
|
-
"type": {
|
|
5376
|
-
"text": "unknown"
|
|
5377
|
-
},
|
|
5378
|
-
"description": "the agent's serialized image (`ctx.restored` in `init`)."
|
|
5379
|
-
},
|
|
5380
|
-
{
|
|
5381
|
-
"name": "key",
|
|
5382
|
-
"default": "'machine'",
|
|
5383
|
-
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
5384
|
-
}
|
|
5385
|
-
],
|
|
5386
|
-
"description": "Restore a foundation-state-machine instance from a snapshot produced by the\ndefault serializer (or `machine.getPersistedSnapshot()`). Call inside a\nstateful agent's `init` to resume the machine in its exact prior place:\n\n```ts\ninit: ({ restored }) => {\n const machine = new MyMachine();\n restoreMachine(machine, restored); // resume, or no-op on a fresh start\n return { machine };\n}\n```\n\nNo-ops when there is nothing to restore (a fresh session), leaving the\nfreshly-constructed machine in its initial state."
|
|
5387
|
-
},
|
|
5388
|
-
{
|
|
5389
|
-
"kind": "function",
|
|
5390
|
-
"name": "defineStatefulAgent",
|
|
5391
|
-
"return": {
|
|
5392
|
-
"type": {
|
|
5393
|
-
"text": "AgentConfig"
|
|
5394
|
-
}
|
|
5395
|
-
},
|
|
5396
|
-
"parameters": [
|
|
5397
|
-
{
|
|
5398
|
-
"name": "opts",
|
|
5399
|
-
"type": {
|
|
5400
|
-
"text": "StatefulAgentInit<S>"
|
|
5401
|
-
}
|
|
5402
|
-
}
|
|
5403
|
-
],
|
|
5404
|
-
"description": "Build an `AgentConfig` whose `systemPrompt`, `toolDefinitions`, and tool\nhandlers all close over a long-lived state object created on activation.\n\nThe framework wires the lifecycle: `init` on `onActivate`, `dispose` on\n`onDeactivate`. State is held inside the helper's closure — never exposed on\nthe resulting `AgentConfig` — so the redux serializer doesn't see it."
|
|
5405
|
-
},
|
|
5406
|
-
{
|
|
5407
|
-
"kind": "function",
|
|
5408
|
-
"name": "defineAutopilot",
|
|
5409
|
-
"return": {
|
|
5410
|
-
"type": {
|
|
5411
|
-
"text": "AutopilotConfig<S>"
|
|
5412
|
-
}
|
|
5413
|
-
},
|
|
5414
|
-
"parameters": [
|
|
5415
|
-
{
|
|
5416
|
-
"name": "config",
|
|
5417
|
-
"type": {
|
|
5418
|
-
"text": "AutopilotConfig<S>"
|
|
5419
|
-
}
|
|
5420
|
-
}
|
|
5421
|
-
],
|
|
5422
|
-
"description": "Define an autopilot for a stateful agent whose state is `S` (GENC-1660). An identity function\nthat exists for its type: the resolvers get `S`, and the result goes on `defineStatefulAgent`'s\n`autopilot` option."
|
|
5423
|
-
}
|
|
5424
|
-
],
|
|
5425
|
-
"exports": [
|
|
5426
|
-
{
|
|
5427
|
-
"kind": "js",
|
|
5428
|
-
"name": "restoreMachine",
|
|
5429
|
-
"declaration": {
|
|
5430
|
-
"name": "restoreMachine",
|
|
5431
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
5432
|
-
}
|
|
5433
|
-
},
|
|
5434
|
-
{
|
|
5435
|
-
"kind": "js",
|
|
5436
|
-
"name": "defineStatefulAgent",
|
|
5437
|
-
"declaration": {
|
|
5438
|
-
"name": "defineStatefulAgent",
|
|
5439
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
5440
|
-
}
|
|
5441
|
-
},
|
|
5442
|
-
{
|
|
5443
|
-
"kind": "js",
|
|
5444
|
-
"name": "defineAutopilot",
|
|
5445
|
-
"declaration": {
|
|
5446
|
-
"name": "defineAutopilot",
|
|
5447
|
-
"module": "src/config/define-stateful-agent.ts"
|
|
5448
|
-
}
|
|
5449
|
-
}
|
|
5450
|
-
]
|
|
5451
|
-
},
|
|
5452
|
-
{
|
|
5453
|
-
"kind": "javascript-module",
|
|
5454
|
-
"path": "src/config/fallback-agents.ts",
|
|
5455
|
-
"declarations": [
|
|
5456
|
-
{
|
|
5457
|
-
"kind": "variable",
|
|
5458
|
-
"name": "friendlyFallbackAgent",
|
|
5459
|
-
"type": {
|
|
5460
|
-
"text": "FallbackAgentConfig"
|
|
5461
|
-
},
|
|
5462
|
-
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a warm, friendly assistant. For general conversation like \"Hi\" or \"How are you\", you can have a friendly chat. For anything more complex, you cannot directly help, but you can explain what specialists are available. The available specialists are:\\n\\n{{agents}}\\n\\nPolitely let the user know what you can help with and invite them to rephrase their request if it is outside your scope.`,\n}",
|
|
5463
|
-
"description": "A warm, conversational fallback agent. Acknowledges it can't help directly,\nexplains what the available specialists can do, and invites the user to retry.\n\nThe system prompt is generated at runtime by `OrchestratingDriver` from the\nspecialist list — no manual authoring required."
|
|
5464
|
-
},
|
|
5465
|
-
{
|
|
5466
|
-
"kind": "variable",
|
|
5467
|
-
"name": "strictFallbackAgent",
|
|
5468
|
-
"type": {
|
|
5469
|
-
"text": "FallbackAgentConfig"
|
|
5470
|
-
},
|
|
5471
|
-
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a concise assistant. The user's request is outside your scope. The available specialists are: {{agents}}.\n\n{{unroutable}}\n\nAnswer in a single short sentence. Do not elaborate.`,\n}",
|
|
5472
|
-
"description": "A brief, professional fallback agent. States what is available without\nelaboration. The `{{agents}}` placeholder is replaced at runtime by\n`OrchestratingDriver` with the generated specialist list.\n\nThe `{{unroutable}}` placeholder positions `UNROUTABLE_INSTRUCTION` — the framework's\ninstruction for a substantive request no specialist covers, which is otherwise APPENDED to a\nstring-form prompt. Positioned rather than appended for one reason: this preset's whole point is\nbrevity, and appended text would be the last thing the model reads. Putting the block above the\nbrevity rule leaves \"a single short sentence\" with the recency, so the two compose instead of\ncompeting. A prompt whose tone rules matter should do the same."
|
|
5473
|
-
}
|
|
5474
|
-
],
|
|
5475
|
-
"exports": [
|
|
5476
|
-
{
|
|
5477
|
-
"kind": "js",
|
|
5478
|
-
"name": "friendlyFallbackAgent",
|
|
5479
|
-
"declaration": {
|
|
5480
|
-
"name": "friendlyFallbackAgent",
|
|
5481
|
-
"module": "src/config/fallback-agents.ts"
|
|
5482
|
-
}
|
|
5483
|
-
},
|
|
5484
|
-
{
|
|
5485
|
-
"kind": "js",
|
|
5486
|
-
"name": "strictFallbackAgent",
|
|
5487
|
-
"declaration": {
|
|
5488
|
-
"name": "strictFallbackAgent",
|
|
5489
|
-
"module": "src/config/fallback-agents.ts"
|
|
5490
|
-
}
|
|
5491
|
-
}
|
|
5492
|
-
]
|
|
5493
|
-
},
|
|
5494
|
-
{
|
|
5495
|
-
"kind": "javascript-module",
|
|
5496
|
-
"path": "src/config/index.ts",
|
|
5497
|
-
"declarations": [],
|
|
5498
|
-
"exports": [
|
|
5499
|
-
{
|
|
5500
|
-
"kind": "js",
|
|
5501
|
-
"name": "*",
|
|
5502
|
-
"declaration": {
|
|
5503
|
-
"name": "*",
|
|
5504
|
-
"package": "./config"
|
|
5505
|
-
}
|
|
5506
|
-
},
|
|
5507
|
-
{
|
|
5508
|
-
"kind": "js",
|
|
5509
|
-
"name": "*",
|
|
5510
|
-
"declaration": {
|
|
5511
|
-
"name": "*",
|
|
5512
|
-
"package": "./fallback-agents"
|
|
5513
|
-
}
|
|
5514
|
-
}
|
|
5515
|
-
]
|
|
5516
|
-
},
|
|
5517
|
-
{
|
|
5518
|
-
"kind": "javascript-module",
|
|
5519
|
-
"path": "src/config/validate-providers.ts",
|
|
5520
|
-
"declarations": [],
|
|
5521
|
-
"exports": []
|
|
5522
|
-
},
|
|
5523
5292
|
{
|
|
5524
5293
|
"kind": "javascript-module",
|
|
5525
5294
|
"path": "src/components/flowing-waves-indicator.ts",
|
|
@@ -6046,1536 +5815,915 @@
|
|
|
6046
5815
|
},
|
|
6047
5816
|
{
|
|
6048
5817
|
"kind": "javascript-module",
|
|
6049
|
-
"path": "src/
|
|
5818
|
+
"path": "src/config/config.ts",
|
|
6050
5819
|
"declarations": [
|
|
6051
5820
|
{
|
|
6052
5821
|
"kind": "function",
|
|
6053
|
-
"name": "
|
|
6054
|
-
"
|
|
6055
|
-
"type": {
|
|
6056
|
-
"text": "InteractionDescription"
|
|
6057
|
-
}
|
|
6058
|
-
},
|
|
6059
|
-
"parameters": [
|
|
6060
|
-
{
|
|
6061
|
-
"name": "input",
|
|
6062
|
-
"type": {
|
|
6063
|
-
"text": "DescribeInteractionInput"
|
|
6064
|
-
}
|
|
6065
|
-
}
|
|
6066
|
-
],
|
|
6067
|
-
"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."
|
|
5822
|
+
"name": "defineAgent",
|
|
5823
|
+
"description": "Identity helper that infers the narrowest possible type for an agent config,\npreserving string literal types (including `name`) without requiring `as const`.\n\nUse this when you need `typeof myAgent` to carry the literal `name` type —\nfor example, when wiring `ChatToolHandlers<typeof myAgent>`.\n\n```ts\nconst myAgent = defineAgent({ name: 'my_agent', ... });\ntype Handlers = ChatToolHandlers<typeof myAgent>;\n// requestSubAgent name param is now typed as 'my_agent'\n```"
|
|
6068
5824
|
}
|
|
6069
5825
|
],
|
|
6070
5826
|
"exports": [
|
|
6071
5827
|
{
|
|
6072
5828
|
"kind": "js",
|
|
6073
|
-
"name": "
|
|
5829
|
+
"name": "CachePolicy",
|
|
6074
5830
|
"declaration": {
|
|
6075
|
-
"name": "
|
|
6076
|
-
"module": "src/
|
|
5831
|
+
"name": "CachePolicy",
|
|
5832
|
+
"module": "src/config/config.ts"
|
|
5833
|
+
}
|
|
5834
|
+
},
|
|
5835
|
+
{
|
|
5836
|
+
"kind": "js",
|
|
5837
|
+
"name": "ChatFallback",
|
|
5838
|
+
"declaration": {
|
|
5839
|
+
"name": "ChatFallback",
|
|
5840
|
+
"module": "src/config/config.ts"
|
|
5841
|
+
}
|
|
5842
|
+
},
|
|
5843
|
+
{
|
|
5844
|
+
"kind": "js",
|
|
5845
|
+
"name": "ChatInputDuringExecutionMode",
|
|
5846
|
+
"declaration": {
|
|
5847
|
+
"name": "ChatInputDuringExecutionMode",
|
|
5848
|
+
"module": "src/config/config.ts"
|
|
5849
|
+
}
|
|
5850
|
+
},
|
|
5851
|
+
{
|
|
5852
|
+
"kind": "js",
|
|
5853
|
+
"name": "ChatThinkingPolicy",
|
|
5854
|
+
"declaration": {
|
|
5855
|
+
"name": "ChatThinkingPolicy",
|
|
5856
|
+
"module": "src/config/config.ts"
|
|
5857
|
+
}
|
|
5858
|
+
},
|
|
5859
|
+
{
|
|
5860
|
+
"kind": "js",
|
|
5861
|
+
"name": "ChatToolChoice",
|
|
5862
|
+
"declaration": {
|
|
5863
|
+
"name": "ChatToolChoice",
|
|
5864
|
+
"module": "src/config/config.ts"
|
|
5865
|
+
}
|
|
5866
|
+
},
|
|
5867
|
+
{
|
|
5868
|
+
"kind": "js",
|
|
5869
|
+
"name": "defineAgent",
|
|
5870
|
+
"declaration": {
|
|
5871
|
+
"name": "defineAgent",
|
|
5872
|
+
"module": "src/config/config.ts"
|
|
6077
5873
|
}
|
|
6078
5874
|
}
|
|
6079
5875
|
]
|
|
6080
5876
|
},
|
|
6081
5877
|
{
|
|
6082
5878
|
"kind": "javascript-module",
|
|
6083
|
-
"path": "src/
|
|
5879
|
+
"path": "src/config/define-stateful-agent.ts",
|
|
6084
5880
|
"declarations": [
|
|
6085
5881
|
{
|
|
6086
5882
|
"kind": "function",
|
|
6087
|
-
"name": "
|
|
5883
|
+
"name": "restoreMachine",
|
|
6088
5884
|
"return": {
|
|
6089
5885
|
"type": {
|
|
6090
|
-
"text": "
|
|
5886
|
+
"text": "void"
|
|
6091
5887
|
}
|
|
6092
5888
|
},
|
|
6093
5889
|
"parameters": [
|
|
6094
5890
|
{
|
|
6095
|
-
"name": "
|
|
5891
|
+
"name": "machine",
|
|
6096
5892
|
"type": {
|
|
6097
|
-
"text": "
|
|
6098
|
-
}
|
|
5893
|
+
"text": "{ stop: () => void; start: (options?: { state?: unknown }) => void }"
|
|
5894
|
+
},
|
|
5895
|
+
"description": "the machine to restore (already constructed/started)."
|
|
6099
5896
|
},
|
|
6100
5897
|
{
|
|
6101
|
-
"name": "
|
|
6102
|
-
"default": "{}",
|
|
5898
|
+
"name": "restored",
|
|
6103
5899
|
"type": {
|
|
6104
|
-
"text": "
|
|
6105
|
-
}
|
|
5900
|
+
"text": "unknown"
|
|
5901
|
+
},
|
|
5902
|
+
"description": "the agent's serialized image (`ctx.restored` in `init`)."
|
|
5903
|
+
},
|
|
5904
|
+
{
|
|
5905
|
+
"name": "key",
|
|
5906
|
+
"default": "'machine'",
|
|
5907
|
+
"description": "the property the machine occupies in the snapshot; defaults to\n`'machine'` to match the conventional `{ machine }` state bag."
|
|
6106
5908
|
}
|
|
6107
5909
|
],
|
|
6108
|
-
"description": "
|
|
5910
|
+
"description": "Restore a foundation-state-machine instance from a snapshot produced by the\ndefault serializer (or `machine.getPersistedSnapshot()`). Call inside a\nstateful agent's `init` to resume the machine in its exact prior place:\n\n```ts\ninit: ({ restored }) => {\n const machine = new MyMachine();\n restoreMachine(machine, restored); // resume, or no-op on a fresh start\n return { machine };\n}\n```\n\nNo-ops when there is nothing to restore (a fresh session), leaving the\nfreshly-constructed machine in its initial state."
|
|
6109
5911
|
},
|
|
6110
5912
|
{
|
|
6111
5913
|
"kind": "function",
|
|
6112
|
-
"name": "
|
|
5914
|
+
"name": "defineStatefulAgent",
|
|
6113
5915
|
"return": {
|
|
6114
5916
|
"type": {
|
|
6115
|
-
"text": "
|
|
5917
|
+
"text": "AgentConfig"
|
|
6116
5918
|
}
|
|
6117
5919
|
},
|
|
6118
5920
|
"parameters": [
|
|
6119
5921
|
{
|
|
6120
|
-
"name": "
|
|
6121
|
-
"type": {
|
|
6122
|
-
"text": "AiDriver"
|
|
6123
|
-
}
|
|
6124
|
-
},
|
|
6125
|
-
{
|
|
6126
|
-
"name": "stateKey",
|
|
6127
|
-
"type": {
|
|
6128
|
-
"text": "string"
|
|
6129
|
-
}
|
|
6130
|
-
},
|
|
6131
|
-
{
|
|
6132
|
-
"name": "options",
|
|
6133
|
-
"default": "{}",
|
|
5922
|
+
"name": "opts",
|
|
6134
5923
|
"type": {
|
|
6135
|
-
"text": "
|
|
5924
|
+
"text": "StatefulAgentInit<S>"
|
|
6136
5925
|
}
|
|
6137
5926
|
}
|
|
6138
5927
|
],
|
|
6139
|
-
"description": "
|
|
5928
|
+
"description": "Build an `AgentConfig` whose `systemPrompt`, `toolDefinitions`, and tool\nhandlers all close over a long-lived state object created on activation.\n\nThe framework wires the lifecycle: `init` on `onActivate`, `dispose` on\n`onDeactivate`. State is held inside the helper's closure — never exposed on\nthe resulting `AgentConfig` — so the redux serializer doesn't see it."
|
|
6140
5929
|
},
|
|
6141
5930
|
{
|
|
6142
5931
|
"kind": "function",
|
|
6143
|
-
"name": "
|
|
5932
|
+
"name": "defineAutopilot",
|
|
6144
5933
|
"return": {
|
|
6145
5934
|
"type": {
|
|
6146
|
-
"text": "
|
|
5935
|
+
"text": "AutopilotConfig<S>"
|
|
6147
5936
|
}
|
|
6148
5937
|
},
|
|
6149
5938
|
"parameters": [
|
|
6150
5939
|
{
|
|
6151
|
-
"name": "
|
|
6152
|
-
"type": {
|
|
6153
|
-
"text": "AiDriver"
|
|
6154
|
-
}
|
|
6155
|
-
},
|
|
6156
|
-
{
|
|
6157
|
-
"name": "stateKey",
|
|
6158
|
-
"type": {
|
|
6159
|
-
"text": "string"
|
|
6160
|
-
}
|
|
6161
|
-
},
|
|
6162
|
-
{
|
|
6163
|
-
"name": "options",
|
|
6164
|
-
"default": "{}",
|
|
5940
|
+
"name": "config",
|
|
6165
5941
|
"type": {
|
|
6166
|
-
"text": "
|
|
5942
|
+
"text": "AutopilotConfig<S>"
|
|
6167
5943
|
}
|
|
6168
5944
|
}
|
|
6169
5945
|
],
|
|
6170
|
-
"description": "
|
|
5946
|
+
"description": "Define an autopilot for a stateful agent whose state is `S` (GENC-1660). An identity function\nthat exists for its type: the resolvers get `S`, and the result goes on `defineStatefulAgent`'s\n`autopilot` option."
|
|
6171
5947
|
}
|
|
6172
5948
|
],
|
|
6173
5949
|
"exports": [
|
|
6174
5950
|
{
|
|
6175
5951
|
"kind": "js",
|
|
6176
|
-
"name": "
|
|
5952
|
+
"name": "restoreMachine",
|
|
6177
5953
|
"declaration": {
|
|
6178
|
-
"name": "
|
|
6179
|
-
"module": "src/
|
|
5954
|
+
"name": "restoreMachine",
|
|
5955
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
6180
5956
|
}
|
|
6181
5957
|
},
|
|
6182
5958
|
{
|
|
6183
5959
|
"kind": "js",
|
|
6184
|
-
"name": "
|
|
5960
|
+
"name": "defineStatefulAgent",
|
|
6185
5961
|
"declaration": {
|
|
6186
|
-
"name": "
|
|
6187
|
-
"module": "src/
|
|
5962
|
+
"name": "defineStatefulAgent",
|
|
5963
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
6188
5964
|
}
|
|
6189
5965
|
},
|
|
6190
5966
|
{
|
|
6191
5967
|
"kind": "js",
|
|
6192
|
-
"name": "
|
|
5968
|
+
"name": "defineAutopilot",
|
|
6193
5969
|
"declaration": {
|
|
6194
|
-
"name": "
|
|
6195
|
-
"module": "src/
|
|
5970
|
+
"name": "defineAutopilot",
|
|
5971
|
+
"module": "src/config/define-stateful-agent.ts"
|
|
6196
5972
|
}
|
|
6197
5973
|
}
|
|
6198
5974
|
]
|
|
6199
5975
|
},
|
|
6200
5976
|
{
|
|
6201
5977
|
"kind": "javascript-module",
|
|
6202
|
-
"path": "src/
|
|
5978
|
+
"path": "src/config/fallback-agents.ts",
|
|
6203
5979
|
"declarations": [
|
|
6204
5980
|
{
|
|
6205
|
-
"kind": "
|
|
6206
|
-
"name": "
|
|
6207
|
-
"
|
|
6208
|
-
"
|
|
6209
|
-
"text": "HeadlessPersistence"
|
|
6210
|
-
}
|
|
5981
|
+
"kind": "variable",
|
|
5982
|
+
"name": "friendlyFallbackAgent",
|
|
5983
|
+
"type": {
|
|
5984
|
+
"text": "FallbackAgentConfig"
|
|
6211
5985
|
},
|
|
6212
|
-
"
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
5986
|
+
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a warm, friendly assistant. For general conversation like \"Hi\" or \"How are you\", you can have a friendly chat. For anything more complex, you cannot directly help, but you can explain what specialists are available. The available specialists are:\\n\\n{{agents}}\\n\\nPolitely let the user know what you can help with and invite them to rephrase their request if it is outside your scope.`,\n}",
|
|
5987
|
+
"description": "A warm, conversational fallback agent. Acknowledges it can't help directly,\nexplains what the available specialists can do, and invites the user to retry.\n\nThe system prompt is generated at runtime by `OrchestratingDriver` from the\nspecialist list — no manual authoring required."
|
|
5988
|
+
},
|
|
5989
|
+
{
|
|
5990
|
+
"kind": "variable",
|
|
5991
|
+
"name": "strictFallbackAgent",
|
|
5992
|
+
"type": {
|
|
5993
|
+
"text": "FallbackAgentConfig"
|
|
5994
|
+
},
|
|
5995
|
+
"default": "{\n name: 'Assistant',\n fallback: true,\n systemPrompt: `You are a concise assistant. The user's request is outside your scope. The available specialists are: {{agents}}.\n\n{{unroutable}}\n\nAnswer in a single short sentence. Do not elaborate.`,\n}",
|
|
5996
|
+
"description": "A brief, professional fallback agent. States what is available without\nelaboration. The `{{agents}}` placeholder is replaced at runtime by\n`OrchestratingDriver` with the generated specialist list.\n\nThe `{{unroutable}}` placeholder positions `UNROUTABLE_INSTRUCTION` — the framework's\ninstruction for a substantive request no specialist covers, which is otherwise APPENDED to a\nstring-form prompt. Positioned rather than appended for one reason: this preset's whole point is\nbrevity, and appended text would be the last thing the model reads. Putting the block above the\nbrevity rule leaves \"a single short sentence\" with the recency, so the two compose instead of\ncompeting. A prompt whose tone rules matter should do the same."
|
|
6221
5997
|
}
|
|
6222
5998
|
],
|
|
6223
5999
|
"exports": [
|
|
6224
6000
|
{
|
|
6225
6001
|
"kind": "js",
|
|
6226
|
-
"name": "
|
|
6002
|
+
"name": "friendlyFallbackAgent",
|
|
6227
6003
|
"declaration": {
|
|
6228
|
-
"name": "
|
|
6229
|
-
"module": "src/
|
|
6004
|
+
"name": "friendlyFallbackAgent",
|
|
6005
|
+
"module": "src/config/fallback-agents.ts"
|
|
6006
|
+
}
|
|
6007
|
+
},
|
|
6008
|
+
{
|
|
6009
|
+
"kind": "js",
|
|
6010
|
+
"name": "strictFallbackAgent",
|
|
6011
|
+
"declaration": {
|
|
6012
|
+
"name": "strictFallbackAgent",
|
|
6013
|
+
"module": "src/config/fallback-agents.ts"
|
|
6230
6014
|
}
|
|
6231
6015
|
}
|
|
6232
6016
|
]
|
|
6233
6017
|
},
|
|
6234
6018
|
{
|
|
6235
6019
|
"kind": "javascript-module",
|
|
6236
|
-
"path": "src/
|
|
6020
|
+
"path": "src/config/index.ts",
|
|
6021
|
+
"declarations": [],
|
|
6022
|
+
"exports": [
|
|
6023
|
+
{
|
|
6024
|
+
"kind": "js",
|
|
6025
|
+
"name": "*",
|
|
6026
|
+
"declaration": {
|
|
6027
|
+
"name": "*",
|
|
6028
|
+
"package": "./config"
|
|
6029
|
+
}
|
|
6030
|
+
},
|
|
6031
|
+
{
|
|
6032
|
+
"kind": "js",
|
|
6033
|
+
"name": "*",
|
|
6034
|
+
"declaration": {
|
|
6035
|
+
"name": "*",
|
|
6036
|
+
"package": "./fallback-agents"
|
|
6037
|
+
}
|
|
6038
|
+
}
|
|
6039
|
+
]
|
|
6040
|
+
},
|
|
6041
|
+
{
|
|
6042
|
+
"kind": "javascript-module",
|
|
6043
|
+
"path": "src/config/validate-providers.ts",
|
|
6044
|
+
"declarations": [],
|
|
6045
|
+
"exports": []
|
|
6046
|
+
},
|
|
6047
|
+
{
|
|
6048
|
+
"kind": "javascript-module",
|
|
6049
|
+
"path": "src/genesis/calendar.ts",
|
|
6050
|
+
"declarations": [],
|
|
6051
|
+
"exports": []
|
|
6052
|
+
},
|
|
6053
|
+
{
|
|
6054
|
+
"kind": "javascript-module",
|
|
6055
|
+
"path": "src/genesis/config.ts",
|
|
6237
6056
|
"declarations": [
|
|
6238
6057
|
{
|
|
6239
|
-
"kind": "
|
|
6240
|
-
"
|
|
6241
|
-
"
|
|
6242
|
-
|
|
6058
|
+
"kind": "variable",
|
|
6059
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
6060
|
+
"type": {
|
|
6061
|
+
"text": "number"
|
|
6062
|
+
},
|
|
6063
|
+
"default": "50",
|
|
6064
|
+
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
6065
|
+
},
|
|
6066
|
+
{
|
|
6067
|
+
"kind": "variable",
|
|
6068
|
+
"name": "MAX_ROWS_CEILING",
|
|
6069
|
+
"type": {
|
|
6070
|
+
"text": "number"
|
|
6071
|
+
},
|
|
6072
|
+
"default": "1000"
|
|
6073
|
+
},
|
|
6074
|
+
{
|
|
6075
|
+
"kind": "function",
|
|
6076
|
+
"name": "toolNameOf",
|
|
6077
|
+
"return": {
|
|
6078
|
+
"type": {
|
|
6079
|
+
"text": "string"
|
|
6080
|
+
}
|
|
6081
|
+
},
|
|
6082
|
+
"parameters": [
|
|
6243
6083
|
{
|
|
6244
|
-
"
|
|
6245
|
-
"name": "sessionKey",
|
|
6084
|
+
"name": "resourceName",
|
|
6246
6085
|
"type": {
|
|
6247
6086
|
"text": "string"
|
|
6248
|
-
}
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
"
|
|
6259
|
-
|
|
6260
|
-
|
|
6087
|
+
}
|
|
6088
|
+
}
|
|
6089
|
+
],
|
|
6090
|
+
"description": "The model-facing tool name for a resource. Deterministic and collision-free (resource names\nare unique), and trivially mapped back to the resource in a debug log. What the tool is FOR\nreaches the model through its description, not its name."
|
|
6091
|
+
},
|
|
6092
|
+
{
|
|
6093
|
+
"kind": "function",
|
|
6094
|
+
"name": "rowActionProblem",
|
|
6095
|
+
"return": {
|
|
6096
|
+
"type": {
|
|
6097
|
+
"text": "string | undefined"
|
|
6098
|
+
}
|
|
6099
|
+
},
|
|
6100
|
+
"parameters": [
|
|
6261
6101
|
{
|
|
6262
|
-
"
|
|
6263
|
-
"name": "clock",
|
|
6102
|
+
"name": "resource",
|
|
6264
6103
|
"type": {
|
|
6265
|
-
"text": "
|
|
6266
|
-
}
|
|
6267
|
-
"privacy": "private",
|
|
6268
|
-
"readonly": true
|
|
6104
|
+
"text": "Partial<GenesisAiResource> | null"
|
|
6105
|
+
}
|
|
6269
6106
|
},
|
|
6270
6107
|
{
|
|
6271
|
-
"
|
|
6272
|
-
"name": "autopilotHost",
|
|
6108
|
+
"name": "requestNames",
|
|
6273
6109
|
"type": {
|
|
6274
|
-
"text": "
|
|
6110
|
+
"text": "ReadonlySet<string>"
|
|
6275
6111
|
},
|
|
6276
|
-
"
|
|
6277
|
-
"readonly": true,
|
|
6278
|
-
"default": "autopilot"
|
|
6112
|
+
"description": "The request resources whose rows can be read. A row action reads its rows\nthrough `REQ_<entity>`, and without one there is no row to review."
|
|
6279
6113
|
},
|
|
6280
6114
|
{
|
|
6281
|
-
"
|
|
6282
|
-
"
|
|
6115
|
+
"name": "whyNotReadable",
|
|
6116
|
+
"default": "notReadableReason({})",
|
|
6283
6117
|
"type": {
|
|
6284
|
-
"text": "
|
|
6118
|
+
"text": "(name: string) => string"
|
|
6285
6119
|
},
|
|
6286
|
-
"
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6120
|
+
"description": "Why a request is not among `requestNames`, when the caller knows: it was\nleft out, has no read tool, or is a query. Without it, the request is said to be missing."
|
|
6121
|
+
}
|
|
6122
|
+
],
|
|
6123
|
+
"description": "What is wrong with a resource's row-action fields (contracts C-18.7.2), if anything."
|
|
6124
|
+
},
|
|
6125
|
+
{
|
|
6126
|
+
"kind": "function",
|
|
6127
|
+
"name": "validateGenesisAiConfig",
|
|
6128
|
+
"return": {
|
|
6129
|
+
"type": {
|
|
6130
|
+
"text": "GenesisAiConfigCheck"
|
|
6131
|
+
}
|
|
6132
|
+
},
|
|
6133
|
+
"parameters": [
|
|
6290
6134
|
{
|
|
6291
|
-
"
|
|
6292
|
-
"name": "seq",
|
|
6135
|
+
"name": "config",
|
|
6293
6136
|
"type": {
|
|
6294
|
-
"text": "
|
|
6295
|
-
}
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6137
|
+
"text": "unknown"
|
|
6138
|
+
}
|
|
6139
|
+
}
|
|
6140
|
+
],
|
|
6141
|
+
"description": "Checks a generated AI config before anything is registered, and says what can be kept."
|
|
6142
|
+
},
|
|
6143
|
+
{
|
|
6144
|
+
"kind": "function",
|
|
6145
|
+
"name": "customCodeOf",
|
|
6146
|
+
"return": {
|
|
6147
|
+
"type": {
|
|
6148
|
+
"text": "GenesisCustomCodeCheck"
|
|
6149
|
+
}
|
|
6150
|
+
},
|
|
6151
|
+
"parameters": [
|
|
6299
6152
|
{
|
|
6300
|
-
"
|
|
6301
|
-
"
|
|
6302
|
-
|
|
6303
|
-
|
|
6304
|
-
|
|
6305
|
-
|
|
6153
|
+
"name": "resource",
|
|
6154
|
+
"type": {
|
|
6155
|
+
"text": "GenesisAiResource"
|
|
6156
|
+
}
|
|
6157
|
+
}
|
|
6158
|
+
],
|
|
6159
|
+
"description": "A resource's `customCode` as it is used: the one reader of the field."
|
|
6160
|
+
}
|
|
6161
|
+
],
|
|
6162
|
+
"exports": [
|
|
6163
|
+
{
|
|
6164
|
+
"kind": "js",
|
|
6165
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
6166
|
+
"declaration": {
|
|
6167
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
6168
|
+
"module": "src/genesis/config.ts"
|
|
6169
|
+
}
|
|
6170
|
+
},
|
|
6171
|
+
{
|
|
6172
|
+
"kind": "js",
|
|
6173
|
+
"name": "MAX_ROWS_CEILING",
|
|
6174
|
+
"declaration": {
|
|
6175
|
+
"name": "MAX_ROWS_CEILING",
|
|
6176
|
+
"module": "src/genesis/config.ts"
|
|
6177
|
+
}
|
|
6178
|
+
},
|
|
6179
|
+
{
|
|
6180
|
+
"kind": "js",
|
|
6181
|
+
"name": "toolNameOf",
|
|
6182
|
+
"declaration": {
|
|
6183
|
+
"name": "toolNameOf",
|
|
6184
|
+
"module": "src/genesis/config.ts"
|
|
6185
|
+
}
|
|
6186
|
+
},
|
|
6187
|
+
{
|
|
6188
|
+
"kind": "js",
|
|
6189
|
+
"name": "rowActionProblem",
|
|
6190
|
+
"declaration": {
|
|
6191
|
+
"name": "rowActionProblem",
|
|
6192
|
+
"module": "src/genesis/config.ts"
|
|
6193
|
+
}
|
|
6194
|
+
},
|
|
6195
|
+
{
|
|
6196
|
+
"kind": "js",
|
|
6197
|
+
"name": "validateGenesisAiConfig",
|
|
6198
|
+
"declaration": {
|
|
6199
|
+
"name": "validateGenesisAiConfig",
|
|
6200
|
+
"module": "src/genesis/config.ts"
|
|
6201
|
+
}
|
|
6202
|
+
},
|
|
6203
|
+
{
|
|
6204
|
+
"kind": "js",
|
|
6205
|
+
"name": "customCodeOf",
|
|
6206
|
+
"declaration": {
|
|
6207
|
+
"name": "customCodeOf",
|
|
6208
|
+
"module": "src/genesis/config.ts"
|
|
6209
|
+
}
|
|
6210
|
+
}
|
|
6211
|
+
]
|
|
6212
|
+
},
|
|
6213
|
+
{
|
|
6214
|
+
"kind": "javascript-module",
|
|
6215
|
+
"path": "src/genesis/consumes.ts",
|
|
6216
|
+
"declarations": [
|
|
6217
|
+
{
|
|
6218
|
+
"kind": "variable",
|
|
6219
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
6220
|
+
"type": {
|
|
6221
|
+
"text": "GenesisAiConsumes"
|
|
6222
|
+
},
|
|
6223
|
+
"description": "What this version of the assistant reads from a generated AI config: the resource kinds it\naccepts, the resource fields its validator or a tool reads, the `vendor` and `tier` values it\naccepts, and the row-action shapes it runs."
|
|
6224
|
+
}
|
|
6225
|
+
],
|
|
6226
|
+
"exports": [
|
|
6227
|
+
{
|
|
6228
|
+
"kind": "js",
|
|
6229
|
+
"name": "GenesisAiConsumes",
|
|
6230
|
+
"declaration": {
|
|
6231
|
+
"name": "GenesisAiConsumes",
|
|
6232
|
+
"module": "./types"
|
|
6233
|
+
}
|
|
6234
|
+
},
|
|
6235
|
+
{
|
|
6236
|
+
"kind": "js",
|
|
6237
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
6238
|
+
"declaration": {
|
|
6239
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
6240
|
+
"module": "src/genesis/consumes.ts"
|
|
6241
|
+
}
|
|
6242
|
+
}
|
|
6243
|
+
]
|
|
6244
|
+
},
|
|
6245
|
+
{
|
|
6246
|
+
"kind": "javascript-module",
|
|
6247
|
+
"path": "src/genesis/criteria.ts",
|
|
6248
|
+
"declarations": [
|
|
6249
|
+
{
|
|
6250
|
+
"kind": "function",
|
|
6251
|
+
"name": "dateFragment",
|
|
6252
|
+
"return": {
|
|
6253
|
+
"type": {
|
|
6254
|
+
"text": "string | undefined"
|
|
6255
|
+
}
|
|
6256
|
+
},
|
|
6257
|
+
"parameters": [
|
|
6306
6258
|
{
|
|
6307
|
-
"
|
|
6308
|
-
"
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
"default": "new Map<string, { auto?: boolean; raw?: boolean }>()",
|
|
6312
|
-
"description": "What the session did to an interaction itself, for `settled` to say when the driver reports it."
|
|
6259
|
+
"name": "field",
|
|
6260
|
+
"type": {
|
|
6261
|
+
"text": "string"
|
|
6262
|
+
}
|
|
6313
6263
|
},
|
|
6314
6264
|
{
|
|
6315
|
-
"
|
|
6316
|
-
"
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
"default": "new Set<Waiter>()"
|
|
6265
|
+
"name": "op",
|
|
6266
|
+
"type": {
|
|
6267
|
+
"text": "GenesisFilterOp"
|
|
6268
|
+
}
|
|
6320
6269
|
},
|
|
6321
6270
|
{
|
|
6322
|
-
"
|
|
6323
|
-
"name": "teardown",
|
|
6271
|
+
"name": "date",
|
|
6324
6272
|
"type": {
|
|
6325
|
-
"text": "
|
|
6326
|
-
}
|
|
6327
|
-
|
|
6328
|
-
|
|
6329
|
-
|
|
6330
|
-
|
|
6273
|
+
"text": "string"
|
|
6274
|
+
}
|
|
6275
|
+
}
|
|
6276
|
+
]
|
|
6277
|
+
},
|
|
6278
|
+
{
|
|
6279
|
+
"kind": "function",
|
|
6280
|
+
"name": "dateTimeFragment",
|
|
6281
|
+
"return": {
|
|
6282
|
+
"type": {
|
|
6283
|
+
"text": "string | undefined"
|
|
6284
|
+
}
|
|
6285
|
+
},
|
|
6286
|
+
"parameters": [
|
|
6331
6287
|
{
|
|
6332
|
-
"
|
|
6333
|
-
"name": "seen",
|
|
6288
|
+
"name": "field",
|
|
6334
6289
|
"type": {
|
|
6335
|
-
"text": "
|
|
6336
|
-
}
|
|
6337
|
-
"privacy": "private",
|
|
6338
|
-
"description": "How much of the driver's history has been reported as messages."
|
|
6290
|
+
"text": "string"
|
|
6291
|
+
}
|
|
6339
6292
|
},
|
|
6340
6293
|
{
|
|
6341
|
-
"
|
|
6342
|
-
"name": "turn",
|
|
6294
|
+
"name": "op",
|
|
6343
6295
|
"type": {
|
|
6344
|
-
"text": "
|
|
6345
|
-
}
|
|
6346
|
-
"privacy": "private",
|
|
6347
|
-
"description": "The `send` in flight, if any."
|
|
6296
|
+
"text": "GenesisFilterOp"
|
|
6297
|
+
}
|
|
6348
6298
|
},
|
|
6349
6299
|
{
|
|
6350
|
-
"
|
|
6351
|
-
"name": "open",
|
|
6352
|
-
"type": {
|
|
6353
|
-
"text": "{ start: number; reason?: string; failureReason?: string } | undefined"
|
|
6354
|
-
},
|
|
6355
|
-
"privacy": "private",
|
|
6356
|
-
"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."
|
|
6357
|
-
},
|
|
6358
|
-
{
|
|
6359
|
-
"kind": "field",
|
|
6360
|
-
"name": "base",
|
|
6361
|
-
"type": {
|
|
6362
|
-
"text": "number"
|
|
6363
|
-
},
|
|
6364
|
-
"privacy": "private",
|
|
6365
|
-
"description": "History length when the last turn closed: where a turn the session did not start begins."
|
|
6366
|
-
},
|
|
6367
|
-
{
|
|
6368
|
-
"kind": "field",
|
|
6369
|
-
"name": "quiesceTimer",
|
|
6370
|
-
"type": {
|
|
6371
|
-
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
6372
|
-
},
|
|
6373
|
-
"privacy": "private"
|
|
6374
|
-
},
|
|
6375
|
-
{
|
|
6376
|
-
"kind": "field",
|
|
6377
|
-
"name": "poller",
|
|
6378
|
-
"type": {
|
|
6379
|
-
"text": "ReturnType<typeof setInterval> | undefined"
|
|
6380
|
-
},
|
|
6381
|
-
"privacy": "private"
|
|
6382
|
-
},
|
|
6383
|
-
{
|
|
6384
|
-
"kind": "field",
|
|
6385
|
-
"name": "persistence",
|
|
6386
|
-
"type": {
|
|
6387
|
-
"text": "HeadlessPersistenceBinding | undefined"
|
|
6388
|
-
},
|
|
6389
|
-
"privacy": "private",
|
|
6390
|
-
"readonly": true
|
|
6391
|
-
},
|
|
6392
|
-
{
|
|
6393
|
-
"kind": "field",
|
|
6394
|
-
"name": "lastProbe",
|
|
6395
|
-
"type": {
|
|
6396
|
-
"text": "Record<string, unknown>"
|
|
6397
|
-
},
|
|
6398
|
-
"privacy": "private",
|
|
6399
|
-
"default": "{}"
|
|
6400
|
-
},
|
|
6401
|
-
{
|
|
6402
|
-
"kind": "field",
|
|
6403
|
-
"name": "lastAutopilot",
|
|
6300
|
+
"name": "bound",
|
|
6404
6301
|
"type": {
|
|
6405
6302
|
"text": "string"
|
|
6406
|
-
},
|
|
6407
|
-
"privacy": "private",
|
|
6408
|
-
"default": "''"
|
|
6409
|
-
},
|
|
6410
|
-
{
|
|
6411
|
-
"kind": "field",
|
|
6412
|
-
"name": "disposed",
|
|
6413
|
-
"type": {
|
|
6414
|
-
"text": "boolean"
|
|
6415
|
-
},
|
|
6416
|
-
"privacy": "private",
|
|
6417
|
-
"default": "false"
|
|
6418
|
-
},
|
|
6419
|
-
{
|
|
6420
|
-
"kind": "field",
|
|
6421
|
-
"name": "restoring",
|
|
6422
|
-
"type": {
|
|
6423
|
-
"text": "boolean"
|
|
6424
|
-
},
|
|
6425
|
-
"privacy": "private",
|
|
6426
|
-
"default": "false",
|
|
6427
|
-
"description": "While a restore loads the history, which is not new activity."
|
|
6428
|
-
},
|
|
6429
|
-
{
|
|
6430
|
-
"kind": "method",
|
|
6431
|
-
"name": "send",
|
|
6432
|
-
"return": {
|
|
6433
|
-
"type": {
|
|
6434
|
-
"text": "HeadlessResult"
|
|
6435
|
-
}
|
|
6436
|
-
},
|
|
6437
|
-
"parameters": [
|
|
6438
|
-
{
|
|
6439
|
-
"name": "text",
|
|
6440
|
-
"type": {
|
|
6441
|
-
"text": "string"
|
|
6442
|
-
}
|
|
6443
|
-
},
|
|
6444
|
-
{
|
|
6445
|
-
"name": "options",
|
|
6446
|
-
"default": "{}",
|
|
6447
|
-
"type": {
|
|
6448
|
-
"text": "HeadlessSendOptions"
|
|
6449
|
-
}
|
|
6450
|
-
}
|
|
6451
|
-
],
|
|
6452
|
-
"description": "Send the person's message, and start the turn. Returns as soon as the turn has started, not\nwhen it ends: a turn includes every interaction parked on the person, so it can run as long as\nthe journey. Its end is the `turn` event.\n\nRefused, never thrown, when the message is empty, or a turn is already running."
|
|
6453
|
-
},
|
|
6454
|
-
{
|
|
6455
|
-
"kind": "method",
|
|
6456
|
-
"name": "act",
|
|
6457
|
-
"return": {
|
|
6458
|
-
"type": {
|
|
6459
|
-
"text": "Promise<HeadlessActResult>"
|
|
6460
|
-
}
|
|
6461
|
-
},
|
|
6462
|
-
"parameters": [
|
|
6463
|
-
{
|
|
6464
|
-
"name": "interactionId",
|
|
6465
|
-
"type": {
|
|
6466
|
-
"text": "string"
|
|
6467
|
-
}
|
|
6468
|
-
},
|
|
6469
|
-
{
|
|
6470
|
-
"name": "action",
|
|
6471
|
-
"type": {
|
|
6472
|
-
"text": "string | number"
|
|
6473
|
-
}
|
|
6474
|
-
},
|
|
6475
|
-
{
|
|
6476
|
-
"name": "args",
|
|
6477
|
-
"default": "{}",
|
|
6478
|
-
"type": {
|
|
6479
|
-
"text": "HeadlessActArgs"
|
|
6480
|
-
}
|
|
6481
|
-
}
|
|
6482
|
-
],
|
|
6483
|
-
"description": "Run one of a pending interaction's actions as the person, as a click would (the answer is\ncredited `answeredBy: 'user'`). `action` is a number from the description's actions, or an\naction's name; `args` carry the text, the options (numbers or labels) or the form's fields it\ntakes. Refused, with the reason and what is enabled, when a claimant holds the interaction,\nthe action is unknown or disabled, or its arguments do not fit: nothing runs then.\n\nThe result is the driver's `InvokeResult`, plus `description` of the interaction when it is\nstill open."
|
|
6484
|
-
},
|
|
6485
|
-
{
|
|
6486
|
-
"kind": "method",
|
|
6487
|
-
"name": "resolve",
|
|
6488
|
-
"return": {
|
|
6489
|
-
"type": {
|
|
6490
|
-
"text": "HeadlessResult"
|
|
6491
|
-
}
|
|
6492
|
-
},
|
|
6493
|
-
"parameters": [
|
|
6494
|
-
{
|
|
6495
|
-
"name": "interactionId",
|
|
6496
|
-
"type": {
|
|
6497
|
-
"text": "string"
|
|
6498
|
-
}
|
|
6499
|
-
},
|
|
6500
|
-
{
|
|
6501
|
-
"name": "result",
|
|
6502
|
-
"type": {
|
|
6503
|
-
"text": "unknown"
|
|
6504
|
-
}
|
|
6505
|
-
}
|
|
6506
|
-
],
|
|
6507
|
-
"description": "Settle a pending interaction raw, with `result` as the widget would have resolved it,\nbypassing its actions and everything they check: an escape hatch for a widget with no\ncontroller, or one that cannot be acted on. Logs `settled` with `raw: true` and records\n`headless.raw-resolved`. Refused when `allowRaw` is `false`, when the interaction is not\npending, or when a claimant holds it: as for `act`, the person takes it back first."
|
|
6508
|
-
},
|
|
6509
|
-
{
|
|
6510
|
-
"kind": "method",
|
|
6511
|
-
"name": "read",
|
|
6512
|
-
"return": {
|
|
6513
|
-
"type": {
|
|
6514
|
-
"text": "Promise<HeadlessReadResult>"
|
|
6515
|
-
}
|
|
6516
|
-
},
|
|
6517
|
-
"parameters": [
|
|
6518
|
-
{
|
|
6519
|
-
"name": "interactionId",
|
|
6520
|
-
"type": {
|
|
6521
|
-
"text": "string"
|
|
6522
|
-
}
|
|
6523
|
-
},
|
|
6524
|
-
{
|
|
6525
|
-
"name": "request",
|
|
6526
|
-
"default": "{}",
|
|
6527
|
-
"type": {
|
|
6528
|
-
"text": "HeadlessReadRequest"
|
|
6529
|
-
}
|
|
6530
|
-
}
|
|
6531
|
-
],
|
|
6532
|
-
"description": "Read from a pending interaction without changing it: one of its views, or (with `tool`) one of\nthe widget tools given to the session. The text is capped. A view the surface does not list is\nrefused, naming those it does, as the autopilot's `widget_read` does."
|
|
6533
|
-
},
|
|
6534
|
-
{
|
|
6535
|
-
"kind": "method",
|
|
6536
|
-
"name": "wait",
|
|
6537
|
-
"return": {
|
|
6538
|
-
"type": {
|
|
6539
|
-
"text": "Promise<HeadlessWaitResult>"
|
|
6540
|
-
}
|
|
6541
|
-
},
|
|
6542
|
-
"parameters": [
|
|
6543
|
-
{
|
|
6544
|
-
"name": "request",
|
|
6545
|
-
"type": {
|
|
6546
|
-
"text": "HeadlessWaitRequest"
|
|
6547
|
-
}
|
|
6548
|
-
}
|
|
6549
|
-
],
|
|
6550
|
-
"description": "Wait for the log to say something, then return what it said. Resolves as soon as an event in\n`until` is in the log after `since` (immediately, when one already is), or at `maxWaitMs` with\nstatus `'working'`. Either way it returns every event after `since`, and `nextSeq`, the cursor\nfor the next call: poll with it and nothing is lost."
|
|
6551
|
-
},
|
|
6552
|
-
{
|
|
6553
|
-
"kind": "method",
|
|
6554
|
-
"name": "eventsSince",
|
|
6555
|
-
"return": {
|
|
6556
|
-
"type": {
|
|
6557
|
-
"text": "readonly HeadlessEvent[]"
|
|
6558
|
-
}
|
|
6559
|
-
},
|
|
6560
|
-
"parameters": [
|
|
6561
|
-
{
|
|
6562
|
-
"name": "since",
|
|
6563
|
-
"default": "0"
|
|
6564
|
-
}
|
|
6565
|
-
],
|
|
6566
|
-
"description": "Every event logged after `since` (default: all the log keeps), without waiting."
|
|
6567
|
-
},
|
|
6568
|
-
{
|
|
6569
|
-
"kind": "method",
|
|
6570
|
-
"name": "state",
|
|
6571
|
-
"return": {
|
|
6572
|
-
"type": {
|
|
6573
|
-
"text": "HeadlessState"
|
|
6574
|
-
}
|
|
6575
|
-
},
|
|
6576
|
-
"description": "What is going on now: whether a turn runs, the interaction the person should answer first (and\nthe others open behind it), the autopilot, what it has cost, and the host's probe."
|
|
6577
|
-
},
|
|
6578
|
-
{
|
|
6579
|
-
"kind": "method",
|
|
6580
|
-
"name": "restore",
|
|
6581
|
-
"return": {
|
|
6582
|
-
"type": {
|
|
6583
|
-
"text": "Promise<HeadlessRestoreOutcome | undefined>"
|
|
6584
|
-
}
|
|
6585
|
-
},
|
|
6586
|
-
"description": "Restore the saved session for this key, as the browser's element does on mount (see\n`HeadlessPersistenceBinding.restore`). Call it before the first `send`. The restored history is\nthe starting point, not news: it is not reported as `message` events or as a turn, and the\nevent log and its cursors carry on from where they are. A no-op without `persistence`."
|
|
6587
|
-
},
|
|
6588
|
-
{
|
|
6589
|
-
"kind": "method",
|
|
6590
|
-
"name": "flush",
|
|
6591
|
-
"return": {
|
|
6592
|
-
"type": {
|
|
6593
|
-
"text": "Promise<void>"
|
|
6594
|
-
}
|
|
6595
|
-
},
|
|
6596
|
-
"description": "Save the session now: the snapshot, and the diagnostics appended since the last flush, rather\nthan at the next throttled save. A no-op without `persistence`."
|
|
6597
|
-
},
|
|
6598
|
-
{
|
|
6599
|
-
"kind": "method",
|
|
6600
|
-
"name": "debugLog",
|
|
6601
|
-
"return": {
|
|
6602
|
-
"type": {
|
|
6603
|
-
"text": "Promise<DebugLog>"
|
|
6604
|
-
}
|
|
6605
|
-
},
|
|
6606
|
-
"description": "The debug log, the document the browser's Download gives. With `persistence`, the log of the\nwhole session stitched from the stored stream with a fresh `meta-snapshot` (`lifetimeDebugLog`,\nthe same code); without, the current page's, from `buildDiagnosticEntries`. Never throws."
|
|
6607
|
-
},
|
|
6608
|
-
{
|
|
6609
|
-
"kind": "method",
|
|
6610
|
-
"name": "stop",
|
|
6611
|
-
"return": {
|
|
6612
|
-
"type": {
|
|
6613
|
-
"text": "HeadlessResult"
|
|
6614
|
-
}
|
|
6615
|
-
},
|
|
6616
|
-
"description": "Stop the running turn, when the driver can."
|
|
6617
|
-
},
|
|
6618
|
-
{
|
|
6619
|
-
"kind": "method",
|
|
6620
|
-
"name": "autopilot",
|
|
6621
|
-
"return": {
|
|
6622
|
-
"type": {
|
|
6623
|
-
"text": "HeadlessResult"
|
|
6624
|
-
}
|
|
6625
|
-
},
|
|
6626
|
-
"parameters": [
|
|
6627
|
-
{
|
|
6628
|
-
"name": "mode",
|
|
6629
|
-
"type": {
|
|
6630
|
-
"text": "'pause' | 'resume' | 'stop' | 'keepPaused'"
|
|
6631
|
-
}
|
|
6632
|
-
},
|
|
6633
|
-
{
|
|
6634
|
-
"name": "interactionId",
|
|
6635
|
-
"optional": true,
|
|
6636
|
-
"type": {
|
|
6637
|
-
"text": "string"
|
|
6638
|
-
}
|
|
6639
|
-
}
|
|
6640
|
-
],
|
|
6641
|
-
"description": "Pause, resume or stop the autopilot, when there is one. Pausing hands what it holds to the\nperson, which then appears as a `decision`.\n\n`'keepPaused'` is the hand-back banner's \"Keep paused\": it turns the autopilot's own hand-back\nof one interaction into an ordinary pause, so it does not take the question back once it is\nanswered. `interactionId` names the interaction handed back; omitted, it is the one the\nautopilot's own pause is waiting on (`state().autopilot`'s hand-back, the `decision` it left\nwith the person). Refused, with why, when the autopilot has handed nothing back, when\n`interactionId` is not the one it handed back, or when the host cannot keep paused; the host's\nown `keepPaused` would do nothing in those cases without saying so."
|
|
6642
|
-
},
|
|
6643
|
-
{
|
|
6644
|
-
"kind": "method",
|
|
6645
|
-
"name": "keepPaused",
|
|
6646
|
-
"privacy": "private",
|
|
6647
|
-
"return": {
|
|
6648
|
-
"type": {
|
|
6649
|
-
"text": "HeadlessResult"
|
|
6650
|
-
}
|
|
6651
|
-
},
|
|
6652
|
-
"parameters": [
|
|
6653
|
-
{
|
|
6654
|
-
"name": "host",
|
|
6655
|
-
"type": {
|
|
6656
|
-
"text": "AutopilotLike"
|
|
6657
|
-
}
|
|
6658
|
-
},
|
|
6659
|
-
{
|
|
6660
|
-
"name": "interactionId",
|
|
6661
|
-
"type": {
|
|
6662
|
-
"text": "string | undefined"
|
|
6663
|
-
}
|
|
6664
|
-
}
|
|
6665
|
-
]
|
|
6666
|
-
},
|
|
6667
|
-
{
|
|
6668
|
-
"kind": "method",
|
|
6669
|
-
"name": "dispose",
|
|
6670
|
-
"return": {
|
|
6671
|
-
"type": {
|
|
6672
|
-
"text": "void"
|
|
6673
|
-
}
|
|
6674
|
-
},
|
|
6675
|
-
"description": "Detach: remove the interceptor and every subscription, and release anyone waiting."
|
|
6676
|
-
},
|
|
6677
|
-
{
|
|
6678
|
-
"kind": "method",
|
|
6679
|
-
"name": "listen",
|
|
6680
|
-
"privacy": "private",
|
|
6681
|
-
"return": {
|
|
6682
|
-
"type": {
|
|
6683
|
-
"text": "void"
|
|
6684
|
-
}
|
|
6685
|
-
},
|
|
6686
|
-
"parameters": [
|
|
6687
|
-
{
|
|
6688
|
-
"name": "type",
|
|
6689
|
-
"type": {
|
|
6690
|
-
"text": "string"
|
|
6691
|
-
}
|
|
6692
|
-
},
|
|
6693
|
-
{
|
|
6694
|
-
"name": "handler",
|
|
6695
|
-
"type": {
|
|
6696
|
-
"text": "(e: Event) => void"
|
|
6697
|
-
}
|
|
6698
|
-
}
|
|
6699
|
-
]
|
|
6700
|
-
},
|
|
6701
|
-
{
|
|
6702
|
-
"kind": "method",
|
|
6703
|
-
"name": "history",
|
|
6704
|
-
"privacy": "private",
|
|
6705
|
-
"return": {
|
|
6706
|
-
"type": {
|
|
6707
|
-
"text": "readonly ChatMessage[]"
|
|
6708
|
-
}
|
|
6709
|
-
}
|
|
6710
|
-
},
|
|
6711
|
-
{
|
|
6712
|
-
"kind": "method",
|
|
6713
|
-
"name": "onOpened",
|
|
6714
|
-
"privacy": "private",
|
|
6715
|
-
"return": {
|
|
6716
|
-
"type": {
|
|
6717
|
-
"text": "void"
|
|
6718
|
-
}
|
|
6719
|
-
},
|
|
6720
|
-
"parameters": [
|
|
6721
|
-
{
|
|
6722
|
-
"name": "opened",
|
|
6723
|
-
"type": {
|
|
6724
|
-
"text": "InteractionOpened"
|
|
6725
|
-
}
|
|
6726
|
-
}
|
|
6727
|
-
],
|
|
6728
|
-
"description": "An interaction opened: watch it. Who holds it is not decided yet, so it is reported later."
|
|
6729
|
-
},
|
|
6730
|
-
{
|
|
6731
|
-
"kind": "method",
|
|
6732
|
-
"name": "onSettled",
|
|
6733
|
-
"privacy": "private",
|
|
6734
|
-
"return": {
|
|
6735
|
-
"type": {
|
|
6736
|
-
"text": "void"
|
|
6737
|
-
}
|
|
6738
|
-
},
|
|
6739
|
-
"parameters": [
|
|
6740
|
-
{
|
|
6741
|
-
"name": "detail",
|
|
6742
|
-
"type": {
|
|
6743
|
-
"text": "{\n interactionId: string;\n answeredBy?: string;\n resolvedItself?: boolean;\n }"
|
|
6744
|
-
}
|
|
6745
|
-
}
|
|
6746
|
-
],
|
|
6747
|
-
"description": "The driver says an interaction settled, by whatever route."
|
|
6748
|
-
},
|
|
6749
|
-
{
|
|
6750
|
-
"kind": "method",
|
|
6751
|
-
"name": "onEnded",
|
|
6752
|
-
"privacy": "private",
|
|
6753
|
-
"return": {
|
|
6754
|
-
"type": {
|
|
6755
|
-
"text": "void"
|
|
6756
|
-
}
|
|
6757
|
-
},
|
|
6758
|
-
"parameters": [
|
|
6759
|
-
{
|
|
6760
|
-
"name": "t",
|
|
6761
|
-
"type": {
|
|
6762
|
-
"text": "Tracked"
|
|
6763
|
-
}
|
|
6764
|
-
}
|
|
6765
|
-
],
|
|
6766
|
-
"description": "The interaction's context was disposed: if nothing said it settled, say it did."
|
|
6767
|
-
},
|
|
6768
|
-
{
|
|
6769
|
-
"kind": "method",
|
|
6770
|
-
"name": "settle",
|
|
6771
|
-
"privacy": "private",
|
|
6772
|
-
"return": {
|
|
6773
|
-
"type": {
|
|
6774
|
-
"text": "void"
|
|
6775
|
-
}
|
|
6776
|
-
},
|
|
6777
|
-
"parameters": [
|
|
6778
|
-
{
|
|
6779
|
-
"name": "t",
|
|
6780
|
-
"type": {
|
|
6781
|
-
"text": "Tracked"
|
|
6782
|
-
}
|
|
6783
|
-
},
|
|
6784
|
-
{
|
|
6785
|
-
"name": "how",
|
|
6786
|
-
"type": {
|
|
6787
|
-
"text": "{ answeredBy?: string; resolvedItself?: boolean; auto?: boolean; raw?: boolean }"
|
|
6788
|
-
}
|
|
6789
|
-
}
|
|
6790
|
-
]
|
|
6791
|
-
},
|
|
6792
|
-
{
|
|
6793
|
-
"kind": "method",
|
|
6794
|
-
"name": "release",
|
|
6795
|
-
"privacy": "private",
|
|
6796
|
-
"return": {
|
|
6797
|
-
"type": {
|
|
6798
|
-
"text": "void"
|
|
6799
|
-
}
|
|
6800
|
-
},
|
|
6801
|
-
"parameters": [
|
|
6802
|
-
{
|
|
6803
|
-
"name": "t",
|
|
6804
|
-
"type": {
|
|
6805
|
-
"text": "Tracked"
|
|
6806
|
-
}
|
|
6807
|
-
}
|
|
6808
|
-
]
|
|
6809
|
-
},
|
|
6810
|
-
{
|
|
6811
|
-
"kind": "method",
|
|
6812
|
-
"name": "onHistory",
|
|
6813
|
-
"privacy": "private",
|
|
6814
|
-
"return": {
|
|
6815
|
-
"type": {
|
|
6816
|
-
"text": "void"
|
|
6817
|
-
}
|
|
6818
|
-
},
|
|
6819
|
-
"description": "New messages in the driver's history: report what the person would see of them."
|
|
6820
|
-
},
|
|
6821
|
-
{
|
|
6822
|
-
"kind": "method",
|
|
6823
|
-
"name": "reportMessages",
|
|
6824
|
-
"privacy": "private",
|
|
6825
|
-
"return": {
|
|
6826
|
-
"type": {
|
|
6827
|
-
"text": "void"
|
|
6828
|
-
}
|
|
6829
|
-
}
|
|
6830
|
-
},
|
|
6831
|
-
{
|
|
6832
|
-
"kind": "method",
|
|
6833
|
-
"name": "onAutopilot",
|
|
6834
|
-
"privacy": "private",
|
|
6835
|
-
"return": {
|
|
6836
|
-
"type": {
|
|
6837
|
-
"text": "void"
|
|
6838
|
-
}
|
|
6839
|
-
}
|
|
6840
|
-
},
|
|
6841
|
-
{
|
|
6842
|
-
"kind": "method",
|
|
6843
|
-
"name": "autopilotSignature",
|
|
6844
|
-
"privacy": "private",
|
|
6845
|
-
"return": {
|
|
6846
|
-
"type": {
|
|
6847
|
-
"text": "string"
|
|
6848
|
-
}
|
|
6849
6303
|
}
|
|
6850
|
-
},
|
|
6851
|
-
{
|
|
6852
|
-
"kind": "method",
|
|
6853
|
-
"name": "describe",
|
|
6854
|
-
"privacy": "private",
|
|
6855
|
-
"return": {
|
|
6856
|
-
"type": {
|
|
6857
|
-
"text": "InteractionDescription"
|
|
6858
|
-
}
|
|
6859
|
-
},
|
|
6860
|
-
"parameters": [
|
|
6861
|
-
{
|
|
6862
|
-
"name": "t",
|
|
6863
|
-
"type": {
|
|
6864
|
-
"text": "Tracked"
|
|
6865
|
-
}
|
|
6866
|
-
}
|
|
6867
|
-
]
|
|
6868
|
-
},
|
|
6869
|
-
{
|
|
6870
|
-
"kind": "method",
|
|
6871
|
-
"name": "evaluate",
|
|
6872
|
-
"privacy": "private",
|
|
6873
|
-
"return": {
|
|
6874
|
-
"type": {
|
|
6875
|
-
"text": "void"
|
|
6876
|
-
}
|
|
6877
|
-
},
|
|
6878
|
-
"parameters": [
|
|
6879
|
-
{
|
|
6880
|
-
"name": "t",
|
|
6881
|
-
"type": {
|
|
6882
|
-
"text": "Tracked"
|
|
6883
|
-
}
|
|
6884
|
-
}
|
|
6885
|
-
],
|
|
6886
|
-
"description": "Report where an interaction stands, when that has changed. A `decision` when the person holds\nit and can act; `working` when a claimant holds it or it is not ready yet. A `decision` is\nlogged again only when its description changed materially: who holds it, whether it is ready\nor has a controller, or which actions are enabled. The text and facts alone do not count."
|
|
6887
|
-
},
|
|
6888
|
-
{
|
|
6889
|
-
"kind": "method",
|
|
6890
|
-
"name": "autoSettle",
|
|
6891
|
-
"privacy": "private",
|
|
6892
|
-
"return": {
|
|
6893
|
-
"type": {
|
|
6894
|
-
"text": "boolean"
|
|
6895
|
-
}
|
|
6896
|
-
},
|
|
6897
|
-
"parameters": [
|
|
6898
|
-
{
|
|
6899
|
-
"name": "t",
|
|
6900
|
-
"type": {
|
|
6901
|
-
"text": "Tracked"
|
|
6902
|
-
}
|
|
6903
|
-
}
|
|
6904
|
-
],
|
|
6905
|
-
"description": "Settle a widget that settles itself in a browser, as it would on mounting. Once, and only when\nthe person holds it. Returns whether it settled it."
|
|
6906
|
-
},
|
|
6907
|
-
{
|
|
6908
|
-
"kind": "method",
|
|
6909
|
-
"name": "readTool",
|
|
6910
|
-
"privacy": "private",
|
|
6911
|
-
"return": {
|
|
6912
|
-
"type": {
|
|
6913
|
-
"text": "Promise<HeadlessReadResult>"
|
|
6914
|
-
}
|
|
6915
|
-
},
|
|
6916
|
-
"parameters": [
|
|
6917
|
-
{
|
|
6918
|
-
"name": "t",
|
|
6919
|
-
"type": {
|
|
6920
|
-
"text": "Tracked"
|
|
6921
|
-
}
|
|
6922
|
-
},
|
|
6923
|
-
{
|
|
6924
|
-
"name": "name",
|
|
6925
|
-
"type": {
|
|
6926
|
-
"text": "string"
|
|
6927
|
-
}
|
|
6928
|
-
},
|
|
6929
|
-
{
|
|
6930
|
-
"name": "args",
|
|
6931
|
-
"type": {
|
|
6932
|
-
"text": "Record<string, unknown> | undefined"
|
|
6933
|
-
}
|
|
6934
|
-
}
|
|
6935
|
-
]
|
|
6936
|
-
},
|
|
6937
|
-
{
|
|
6938
|
-
"kind": "method",
|
|
6939
|
-
"name": "observe",
|
|
6940
|
-
"privacy": "private",
|
|
6941
|
-
"return": {
|
|
6942
|
-
"type": {
|
|
6943
|
-
"text": "void"
|
|
6944
|
-
}
|
|
6945
|
-
},
|
|
6946
|
-
"description": "Notice a turn begin or end, whoever started it. The driver being busy (or a `send` in flight)\nis a turn; once it has been idle for a beat the turn is over and is reported, once. The beat\ncovers the gaps inside one turn, such as a hand-off continuing it, which are a microtask long.\nA turn that begins the instant another ends, with no idle between, is reported as one."
|
|
6947
|
-
},
|
|
6948
|
-
{
|
|
6949
|
-
"kind": "method",
|
|
6950
|
-
"name": "closeTurn",
|
|
6951
|
-
"privacy": "private",
|
|
6952
|
-
"return": {
|
|
6953
|
-
"type": {
|
|
6954
|
-
"text": "void"
|
|
6955
|
-
}
|
|
6956
|
-
},
|
|
6957
|
-
"description": "Report the open turn as ended, unless the driver is busy again."
|
|
6958
|
-
},
|
|
6959
|
-
{
|
|
6960
|
-
"kind": "method",
|
|
6961
|
-
"name": "startPolling",
|
|
6962
|
-
"privacy": "private",
|
|
6963
|
-
"return": {
|
|
6964
|
-
"type": {
|
|
6965
|
-
"text": "void"
|
|
6966
|
-
}
|
|
6967
|
-
},
|
|
6968
|
-
"description": "Without a shared bus nothing says a turn ended, so while one is open the driver is asked."
|
|
6969
|
-
},
|
|
6970
|
-
{
|
|
6971
|
-
"kind": "method",
|
|
6972
|
-
"name": "stopPolling",
|
|
6973
|
-
"privacy": "private",
|
|
6974
|
-
"return": {
|
|
6975
|
-
"type": {
|
|
6976
|
-
"text": "void"
|
|
6977
|
-
}
|
|
6978
|
-
}
|
|
6979
|
-
},
|
|
6980
|
-
{
|
|
6981
|
-
"kind": "method",
|
|
6982
|
-
"name": "logTurn",
|
|
6983
|
-
"privacy": "private",
|
|
6984
|
-
"return": {
|
|
6985
|
-
"type": {
|
|
6986
|
-
"text": "void"
|
|
6987
|
-
}
|
|
6988
|
-
},
|
|
6989
|
-
"parameters": [
|
|
6990
|
-
{
|
|
6991
|
-
"name": "reason",
|
|
6992
|
-
"type": {
|
|
6993
|
-
"text": "string"
|
|
6994
|
-
}
|
|
6995
|
-
},
|
|
6996
|
-
{
|
|
6997
|
-
"name": "failureReason",
|
|
6998
|
-
"type": {
|
|
6999
|
-
"text": "string | undefined"
|
|
7000
|
-
}
|
|
7001
|
-
},
|
|
7002
|
-
{
|
|
7003
|
-
"name": "start",
|
|
7004
|
-
"type": {
|
|
7005
|
-
"text": "number"
|
|
7006
|
-
}
|
|
7007
|
-
}
|
|
7008
|
-
]
|
|
7009
|
-
},
|
|
7010
|
-
{
|
|
7011
|
-
"kind": "method",
|
|
7012
|
-
"name": "log",
|
|
7013
|
-
"privacy": "private",
|
|
7014
|
-
"return": {
|
|
7015
|
-
"type": {
|
|
7016
|
-
"text": "void"
|
|
7017
|
-
}
|
|
7018
|
-
},
|
|
7019
|
-
"parameters": [
|
|
7020
|
-
{
|
|
7021
|
-
"name": "event",
|
|
7022
|
-
"type": {
|
|
7023
|
-
"text": "NewEvent"
|
|
7024
|
-
}
|
|
7025
|
-
}
|
|
7026
|
-
]
|
|
7027
|
-
},
|
|
7028
|
-
{
|
|
7029
|
-
"kind": "method",
|
|
7030
|
-
"name": "append",
|
|
7031
|
-
"privacy": "private",
|
|
7032
|
-
"return": {
|
|
7033
|
-
"type": {
|
|
7034
|
-
"text": "void"
|
|
7035
|
-
}
|
|
7036
|
-
},
|
|
7037
|
-
"parameters": [
|
|
7038
|
-
{
|
|
7039
|
-
"name": "event",
|
|
7040
|
-
"type": {
|
|
7041
|
-
"text": "NewEvent"
|
|
7042
|
-
}
|
|
7043
|
-
}
|
|
7044
|
-
]
|
|
7045
|
-
},
|
|
7046
|
-
{
|
|
7047
|
-
"kind": "method",
|
|
7048
|
-
"name": "readProbe",
|
|
7049
|
-
"privacy": "private",
|
|
7050
|
-
"return": {
|
|
7051
|
-
"type": {
|
|
7052
|
-
"text": "Record<string, unknown>"
|
|
7053
|
-
}
|
|
7054
|
-
}
|
|
7055
|
-
},
|
|
7056
|
-
{
|
|
7057
|
-
"kind": "method",
|
|
7058
|
-
"name": "checkProbe",
|
|
7059
|
-
"privacy": "private",
|
|
7060
|
-
"return": {
|
|
7061
|
-
"type": {
|
|
7062
|
-
"text": "void"
|
|
7063
|
-
}
|
|
7064
|
-
},
|
|
7065
|
-
"description": "Read the probe again; a change in any top-level value is a `probe` event."
|
|
7066
|
-
},
|
|
7067
|
-
{
|
|
7068
|
-
"kind": "method",
|
|
7069
|
-
"name": "waited",
|
|
7070
|
-
"privacy": "private",
|
|
7071
|
-
"return": {
|
|
7072
|
-
"type": {
|
|
7073
|
-
"text": "HeadlessWaitResult"
|
|
7074
|
-
}
|
|
7075
|
-
},
|
|
7076
|
-
"parameters": [
|
|
7077
|
-
{
|
|
7078
|
-
"name": "since",
|
|
7079
|
-
"type": {
|
|
7080
|
-
"text": "number"
|
|
7081
|
-
}
|
|
7082
|
-
},
|
|
7083
|
-
{
|
|
7084
|
-
"name": "status",
|
|
7085
|
-
"type": {
|
|
7086
|
-
"text": "HeadlessWaitResult['status']"
|
|
7087
|
-
}
|
|
7088
|
-
}
|
|
7089
|
-
]
|
|
7090
6304
|
}
|
|
7091
|
-
]
|
|
6305
|
+
],
|
|
6306
|
+
"description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
|
|
7092
6307
|
}
|
|
7093
6308
|
],
|
|
7094
6309
|
"exports": [
|
|
7095
6310
|
{
|
|
7096
6311
|
"kind": "js",
|
|
7097
|
-
"name": "
|
|
6312
|
+
"name": "dateFragment",
|
|
7098
6313
|
"declaration": {
|
|
7099
|
-
"name": "
|
|
7100
|
-
"module": "src/
|
|
6314
|
+
"name": "dateFragment",
|
|
6315
|
+
"module": "src/genesis/criteria.ts"
|
|
6316
|
+
}
|
|
6317
|
+
},
|
|
6318
|
+
{
|
|
6319
|
+
"kind": "js",
|
|
6320
|
+
"name": "dateTimeFragment",
|
|
6321
|
+
"declaration": {
|
|
6322
|
+
"name": "dateTimeFragment",
|
|
6323
|
+
"module": "src/genesis/criteria.ts"
|
|
7101
6324
|
}
|
|
7102
6325
|
}
|
|
7103
6326
|
]
|
|
7104
6327
|
},
|
|
7105
6328
|
{
|
|
7106
6329
|
"kind": "javascript-module",
|
|
7107
|
-
"path": "src/
|
|
6330
|
+
"path": "src/genesis/event-fields.ts",
|
|
7108
6331
|
"declarations": [],
|
|
7109
6332
|
"exports": []
|
|
7110
6333
|
},
|
|
7111
6334
|
{
|
|
7112
6335
|
"kind": "javascript-module",
|
|
7113
|
-
"path": "src/
|
|
6336
|
+
"path": "src/genesis/filter-fields.ts",
|
|
6337
|
+
"declarations": [],
|
|
6338
|
+
"exports": []
|
|
6339
|
+
},
|
|
6340
|
+
{
|
|
6341
|
+
"kind": "javascript-module",
|
|
6342
|
+
"path": "src/genesis/index.ts",
|
|
7114
6343
|
"declarations": [],
|
|
7115
6344
|
"exports": [
|
|
7116
6345
|
{
|
|
7117
6346
|
"kind": "js",
|
|
7118
|
-
"name": "
|
|
6347
|
+
"name": "GENESIS_AGENT_NAME",
|
|
7119
6348
|
"declaration": {
|
|
7120
|
-
"name": "
|
|
7121
|
-
"module": "./
|
|
7122
|
-
}
|
|
6349
|
+
"name": "GENESIS_AGENT_NAME",
|
|
6350
|
+
"module": "./register-genesis-assistant"
|
|
6351
|
+
}
|
|
7123
6352
|
},
|
|
7124
6353
|
{
|
|
7125
6354
|
"kind": "js",
|
|
7126
|
-
"name": "
|
|
6355
|
+
"name": "registerGenesisAssistant",
|
|
7127
6356
|
"declaration": {
|
|
7128
|
-
"name": "
|
|
7129
|
-
"module": "./
|
|
6357
|
+
"name": "registerGenesisAssistant",
|
|
6358
|
+
"module": "./register-genesis-assistant"
|
|
7130
6359
|
}
|
|
7131
6360
|
},
|
|
7132
6361
|
{
|
|
7133
6362
|
"kind": "js",
|
|
7134
|
-
"name": "
|
|
6363
|
+
"name": "customCodeOf",
|
|
7135
6364
|
"declaration": {
|
|
7136
|
-
"name": "
|
|
7137
|
-
"module": "./
|
|
6365
|
+
"name": "customCodeOf",
|
|
6366
|
+
"module": "./config"
|
|
7138
6367
|
}
|
|
7139
6368
|
},
|
|
7140
6369
|
{
|
|
7141
6370
|
"kind": "js",
|
|
7142
|
-
"name": "
|
|
6371
|
+
"name": "rowActionProblem",
|
|
7143
6372
|
"declaration": {
|
|
7144
|
-
"name": "
|
|
7145
|
-
"module": "./
|
|
6373
|
+
"name": "rowActionProblem",
|
|
6374
|
+
"module": "./config"
|
|
7146
6375
|
}
|
|
7147
6376
|
},
|
|
7148
6377
|
{
|
|
7149
6378
|
"kind": "js",
|
|
7150
|
-
"name": "
|
|
6379
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7151
6380
|
"declaration": {
|
|
7152
|
-
"name": "
|
|
7153
|
-
"module": "./
|
|
6381
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
6382
|
+
"module": "./consumes"
|
|
7154
6383
|
}
|
|
7155
6384
|
},
|
|
7156
6385
|
{
|
|
7157
6386
|
"kind": "js",
|
|
7158
|
-
"name": "
|
|
6387
|
+
"name": "validateGenesisAiConfig",
|
|
7159
6388
|
"declaration": {
|
|
7160
|
-
"name": "
|
|
7161
|
-
"module": "./
|
|
6389
|
+
"name": "validateGenesisAiConfig",
|
|
6390
|
+
"module": "./config"
|
|
7162
6391
|
}
|
|
7163
6392
|
},
|
|
7164
6393
|
{
|
|
7165
6394
|
"kind": "js",
|
|
7166
|
-
"name": "
|
|
6395
|
+
"name": "DroppedResource",
|
|
7167
6396
|
"declaration": {
|
|
7168
|
-
"name": "
|
|
7169
|
-
"module": "./
|
|
6397
|
+
"name": "DroppedResource",
|
|
6398
|
+
"module": "./config"
|
|
7170
6399
|
}
|
|
7171
6400
|
},
|
|
7172
6401
|
{
|
|
7173
6402
|
"kind": "js",
|
|
7174
|
-
"name": "
|
|
6403
|
+
"name": "GenesisAiConfigCheck",
|
|
7175
6404
|
"declaration": {
|
|
7176
|
-
"name": "
|
|
7177
|
-
"module": "./
|
|
6405
|
+
"name": "GenesisAiConfigCheck",
|
|
6406
|
+
"module": "./config"
|
|
7178
6407
|
}
|
|
7179
6408
|
},
|
|
7180
6409
|
{
|
|
7181
6410
|
"kind": "js",
|
|
7182
|
-
"name": "
|
|
6411
|
+
"name": "GenesisFilter",
|
|
7183
6412
|
"declaration": {
|
|
7184
|
-
"name": "
|
|
7185
|
-
"module": "./
|
|
6413
|
+
"name": "GenesisFilter",
|
|
6414
|
+
"module": "./criteria"
|
|
7186
6415
|
}
|
|
7187
6416
|
},
|
|
7188
6417
|
{
|
|
7189
6418
|
"kind": "js",
|
|
7190
|
-
"name": "
|
|
6419
|
+
"name": "GenesisFilterField",
|
|
7191
6420
|
"declaration": {
|
|
7192
|
-
"name": "
|
|
7193
|
-
"module": "./
|
|
6421
|
+
"name": "GenesisFilterField",
|
|
6422
|
+
"module": "./criteria"
|
|
7194
6423
|
}
|
|
7195
6424
|
},
|
|
7196
6425
|
{
|
|
7197
6426
|
"kind": "js",
|
|
7198
|
-
"name": "
|
|
6427
|
+
"name": "GenesisFilterOp",
|
|
7199
6428
|
"declaration": {
|
|
7200
|
-
"name": "
|
|
7201
|
-
"module": "./
|
|
6429
|
+
"name": "GenesisFilterOp",
|
|
6430
|
+
"module": "./criteria"
|
|
7202
6431
|
}
|
|
7203
6432
|
},
|
|
7204
6433
|
{
|
|
7205
6434
|
"kind": "js",
|
|
7206
|
-
"name": "
|
|
6435
|
+
"name": "createGenesisResourceTools",
|
|
7207
6436
|
"declaration": {
|
|
7208
|
-
"name": "
|
|
7209
|
-
"module": "./
|
|
6437
|
+
"name": "createGenesisResourceTools",
|
|
6438
|
+
"module": "./resource-tools"
|
|
7210
6439
|
}
|
|
7211
6440
|
},
|
|
7212
6441
|
{
|
|
7213
6442
|
"kind": "js",
|
|
7214
|
-
"name": "
|
|
6443
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
7215
6444
|
"declaration": {
|
|
7216
|
-
"name": "
|
|
7217
|
-
"module": "./
|
|
6445
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
6446
|
+
"module": "./resource-tools"
|
|
7218
6447
|
}
|
|
7219
6448
|
},
|
|
7220
6449
|
{
|
|
7221
6450
|
"kind": "js",
|
|
7222
|
-
"name": "
|
|
6451
|
+
"name": "createGenesisWriteTools",
|
|
7223
6452
|
"declaration": {
|
|
7224
|
-
"name": "
|
|
7225
|
-
"module": "./
|
|
6453
|
+
"name": "createGenesisWriteTools",
|
|
6454
|
+
"module": "./write-tools"
|
|
7226
6455
|
}
|
|
7227
6456
|
},
|
|
7228
6457
|
{
|
|
7229
6458
|
"kind": "js",
|
|
7230
|
-
"name": "
|
|
6459
|
+
"name": "GenesisWriteDecision",
|
|
7231
6460
|
"declaration": {
|
|
7232
|
-
"name": "
|
|
7233
|
-
"module": "./
|
|
6461
|
+
"name": "GenesisWriteDecision",
|
|
6462
|
+
"module": "./write-tools"
|
|
7234
6463
|
}
|
|
7235
6464
|
},
|
|
7236
6465
|
{
|
|
7237
6466
|
"kind": "js",
|
|
7238
|
-
"name": "
|
|
6467
|
+
"name": "GenesisWriteResult",
|
|
7239
6468
|
"declaration": {
|
|
7240
|
-
"name": "
|
|
7241
|
-
"module": "./
|
|
6469
|
+
"name": "GenesisWriteResult",
|
|
6470
|
+
"module": "./write-tools"
|
|
7242
6471
|
}
|
|
7243
6472
|
},
|
|
7244
6473
|
{
|
|
7245
6474
|
"kind": "js",
|
|
7246
|
-
"name": "
|
|
6475
|
+
"name": "GenesisWriteRowStatus",
|
|
7247
6476
|
"declaration": {
|
|
7248
|
-
"name": "
|
|
7249
|
-
"module": "./
|
|
6477
|
+
"name": "GenesisWriteRowStatus",
|
|
6478
|
+
"module": "./write-tools"
|
|
7250
6479
|
}
|
|
7251
6480
|
},
|
|
7252
6481
|
{
|
|
7253
6482
|
"kind": "js",
|
|
7254
|
-
"name": "
|
|
6483
|
+
"name": "GenesisWriteToolsOptions",
|
|
7255
6484
|
"declaration": {
|
|
7256
|
-
"name": "
|
|
7257
|
-
"module": "./
|
|
6485
|
+
"name": "GenesisWriteToolsOptions",
|
|
6486
|
+
"module": "./write-tools"
|
|
7258
6487
|
}
|
|
7259
6488
|
},
|
|
7260
6489
|
{
|
|
7261
6490
|
"kind": "js",
|
|
7262
|
-
"name": "
|
|
6491
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
7263
6492
|
"declaration": {
|
|
7264
|
-
"name": "
|
|
7265
|
-
"module": "./
|
|
6493
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
6494
|
+
"module": "./write-review/write-review"
|
|
7266
6495
|
}
|
|
7267
6496
|
},
|
|
7268
6497
|
{
|
|
7269
6498
|
"kind": "js",
|
|
7270
|
-
"name": "
|
|
6499
|
+
"name": "GenesisWriteReview",
|
|
7271
6500
|
"declaration": {
|
|
7272
|
-
"name": "
|
|
7273
|
-
"module": "./
|
|
6501
|
+
"name": "GenesisWriteReview",
|
|
6502
|
+
"module": "./write-review/write-review"
|
|
7274
6503
|
}
|
|
7275
6504
|
},
|
|
7276
6505
|
{
|
|
7277
6506
|
"kind": "js",
|
|
7278
|
-
"name": "
|
|
6507
|
+
"name": "GenesisChangeRequest",
|
|
7279
6508
|
"declaration": {
|
|
7280
|
-
"name": "
|
|
7281
|
-
"module": "./
|
|
6509
|
+
"name": "GenesisChangeRequest",
|
|
6510
|
+
"module": "./review-payload"
|
|
7282
6511
|
}
|
|
7283
6512
|
},
|
|
7284
6513
|
{
|
|
7285
6514
|
"kind": "js",
|
|
7286
|
-
"name": "
|
|
6515
|
+
"name": "GenesisReviewPayload",
|
|
7287
6516
|
"declaration": {
|
|
7288
|
-
"name": "
|
|
7289
|
-
"module": "./
|
|
6517
|
+
"name": "GenesisReviewPayload",
|
|
6518
|
+
"module": "./review-payload"
|
|
7290
6519
|
}
|
|
7291
6520
|
},
|
|
7292
6521
|
{
|
|
7293
6522
|
"kind": "js",
|
|
7294
|
-
"name": "
|
|
6523
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
7295
6524
|
"declaration": {
|
|
7296
|
-
"name": "
|
|
7297
|
-
"module": "./
|
|
6525
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
6526
|
+
"module": "./review-payload"
|
|
7298
6527
|
}
|
|
7299
6528
|
},
|
|
7300
6529
|
{
|
|
7301
6530
|
"kind": "js",
|
|
7302
|
-
"name": "
|
|
6531
|
+
"name": "GenesisReadResult",
|
|
7303
6532
|
"declaration": {
|
|
7304
|
-
"name": "
|
|
7305
|
-
"module": "./
|
|
6533
|
+
"name": "GenesisReadResult",
|
|
6534
|
+
"module": "./resource-tools"
|
|
7306
6535
|
}
|
|
7307
6536
|
},
|
|
7308
6537
|
{
|
|
7309
6538
|
"kind": "js",
|
|
7310
|
-
"name": "
|
|
6539
|
+
"name": "GenesisResourceTools",
|
|
7311
6540
|
"declaration": {
|
|
7312
|
-
"name": "
|
|
7313
|
-
"module": "./
|
|
6541
|
+
"name": "GenesisResourceTools",
|
|
6542
|
+
"module": "./resource-tools"
|
|
7314
6543
|
}
|
|
7315
6544
|
},
|
|
7316
6545
|
{
|
|
7317
6546
|
"kind": "js",
|
|
7318
|
-
"name": "
|
|
6547
|
+
"name": "GenesisResourceToolsOptions",
|
|
7319
6548
|
"declaration": {
|
|
7320
|
-
"name": "
|
|
7321
|
-
"module": "./
|
|
6549
|
+
"name": "GenesisResourceToolsOptions",
|
|
6550
|
+
"module": "./resource-tools"
|
|
7322
6551
|
}
|
|
7323
6552
|
},
|
|
7324
6553
|
{
|
|
7325
6554
|
"kind": "js",
|
|
7326
|
-
"name": "
|
|
6555
|
+
"name": "GenesisToolError",
|
|
7327
6556
|
"declaration": {
|
|
7328
|
-
"name": "
|
|
7329
|
-
"module": "./
|
|
6557
|
+
"name": "GenesisToolError",
|
|
6558
|
+
"module": "./resource-tools"
|
|
7330
6559
|
}
|
|
7331
6560
|
},
|
|
7332
6561
|
{
|
|
7333
6562
|
"kind": "js",
|
|
7334
|
-
"name": "
|
|
6563
|
+
"name": "GENESIS_EVENT_OPS",
|
|
7335
6564
|
"declaration": {
|
|
7336
|
-
"name": "
|
|
7337
|
-
"module": "./
|
|
6565
|
+
"name": "GENESIS_EVENT_OPS",
|
|
6566
|
+
"module": "./types"
|
|
7338
6567
|
}
|
|
7339
|
-
}
|
|
7340
|
-
]
|
|
7341
|
-
},
|
|
7342
|
-
{
|
|
7343
|
-
"kind": "javascript-module",
|
|
7344
|
-
"path": "src/genesis/calendar.ts",
|
|
7345
|
-
"declarations": [],
|
|
7346
|
-
"exports": []
|
|
7347
|
-
},
|
|
7348
|
-
{
|
|
7349
|
-
"kind": "javascript-module",
|
|
7350
|
-
"path": "src/genesis/config.ts",
|
|
7351
|
-
"declarations": [
|
|
6568
|
+
},
|
|
7352
6569
|
{
|
|
7353
|
-
"kind": "
|
|
7354
|
-
"name": "
|
|
7355
|
-
"
|
|
7356
|
-
"
|
|
7357
|
-
|
|
7358
|
-
|
|
7359
|
-
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
6570
|
+
"kind": "js",
|
|
6571
|
+
"name": "GenesisAiConfig",
|
|
6572
|
+
"declaration": {
|
|
6573
|
+
"name": "GenesisAiConfig",
|
|
6574
|
+
"module": "./types"
|
|
6575
|
+
}
|
|
7360
6576
|
},
|
|
7361
6577
|
{
|
|
7362
|
-
"kind": "
|
|
7363
|
-
"name": "
|
|
7364
|
-
"
|
|
7365
|
-
"
|
|
7366
|
-
|
|
7367
|
-
|
|
6578
|
+
"kind": "js",
|
|
6579
|
+
"name": "GenesisAiConsumes",
|
|
6580
|
+
"declaration": {
|
|
6581
|
+
"name": "GenesisAiConsumes",
|
|
6582
|
+
"module": "./types"
|
|
6583
|
+
}
|
|
7368
6584
|
},
|
|
7369
6585
|
{
|
|
7370
|
-
"kind": "
|
|
7371
|
-
"name": "
|
|
7372
|
-
"
|
|
7373
|
-
"
|
|
7374
|
-
|
|
7375
|
-
|
|
7376
|
-
},
|
|
7377
|
-
"parameters": [
|
|
7378
|
-
{
|
|
7379
|
-
"name": "resourceName",
|
|
7380
|
-
"type": {
|
|
7381
|
-
"text": "string"
|
|
7382
|
-
}
|
|
7383
|
-
}
|
|
7384
|
-
],
|
|
7385
|
-
"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."
|
|
6586
|
+
"kind": "js",
|
|
6587
|
+
"name": "GenesisAiResource",
|
|
6588
|
+
"declaration": {
|
|
6589
|
+
"name": "GenesisAiResource",
|
|
6590
|
+
"module": "./types"
|
|
6591
|
+
}
|
|
7386
6592
|
},
|
|
7387
6593
|
{
|
|
7388
|
-
"kind": "
|
|
7389
|
-
"name": "
|
|
7390
|
-
"
|
|
7391
|
-
"
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
},
|
|
7395
|
-
"parameters": [
|
|
7396
|
-
{
|
|
7397
|
-
"name": "resource",
|
|
7398
|
-
"type": {
|
|
7399
|
-
"text": "Partial<GenesisAiResource> | null"
|
|
7400
|
-
}
|
|
7401
|
-
},
|
|
7402
|
-
{
|
|
7403
|
-
"name": "requestNames",
|
|
7404
|
-
"type": {
|
|
7405
|
-
"text": "ReadonlySet<string>"
|
|
7406
|
-
},
|
|
7407
|
-
"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."
|
|
7408
|
-
},
|
|
7409
|
-
{
|
|
7410
|
-
"name": "whyNotReadable",
|
|
7411
|
-
"default": "notReadableReason({})",
|
|
7412
|
-
"type": {
|
|
7413
|
-
"text": "(name: string) => string"
|
|
7414
|
-
},
|
|
7415
|
-
"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."
|
|
7416
|
-
}
|
|
7417
|
-
],
|
|
7418
|
-
"description": "What is wrong with a resource's row-action fields (contracts C-18.7.2), if anything."
|
|
6594
|
+
"kind": "js",
|
|
6595
|
+
"name": "GenesisAssistantExtensions",
|
|
6596
|
+
"declaration": {
|
|
6597
|
+
"name": "GenesisAssistantExtensions",
|
|
6598
|
+
"module": "./types"
|
|
6599
|
+
}
|
|
7419
6600
|
},
|
|
7420
6601
|
{
|
|
7421
|
-
"kind": "
|
|
7422
|
-
"name": "
|
|
7423
|
-
"
|
|
7424
|
-
"
|
|
7425
|
-
|
|
7426
|
-
|
|
7427
|
-
},
|
|
7428
|
-
"parameters": [
|
|
7429
|
-
{
|
|
7430
|
-
"name": "config",
|
|
7431
|
-
"type": {
|
|
7432
|
-
"text": "unknown"
|
|
7433
|
-
}
|
|
7434
|
-
}
|
|
7435
|
-
],
|
|
7436
|
-
"description": "Checks a generated AI config before anything is registered, and says what can be kept."
|
|
6602
|
+
"kind": "js",
|
|
6603
|
+
"name": "GenesisAssistantRegistration",
|
|
6604
|
+
"declaration": {
|
|
6605
|
+
"name": "GenesisAssistantRegistration",
|
|
6606
|
+
"module": "./types"
|
|
6607
|
+
}
|
|
7437
6608
|
},
|
|
7438
|
-
{
|
|
7439
|
-
"kind": "function",
|
|
7440
|
-
"name": "customCodeOf",
|
|
7441
|
-
"return": {
|
|
7442
|
-
"type": {
|
|
7443
|
-
"text": "GenesisCustomCodeCheck"
|
|
7444
|
-
}
|
|
7445
|
-
},
|
|
7446
|
-
"parameters": [
|
|
7447
|
-
{
|
|
7448
|
-
"name": "resource",
|
|
7449
|
-
"type": {
|
|
7450
|
-
"text": "GenesisAiResource"
|
|
7451
|
-
}
|
|
7452
|
-
}
|
|
7453
|
-
],
|
|
7454
|
-
"description": "A resource's `customCode` as it is used: the one reader of the field."
|
|
7455
|
-
}
|
|
7456
|
-
],
|
|
7457
|
-
"exports": [
|
|
7458
6609
|
{
|
|
7459
6610
|
"kind": "js",
|
|
7460
|
-
"name": "
|
|
6611
|
+
"name": "GenesisCustomCode",
|
|
7461
6612
|
"declaration": {
|
|
7462
|
-
"name": "
|
|
7463
|
-
"module": "
|
|
6613
|
+
"name": "GenesisCustomCode",
|
|
6614
|
+
"module": "./types"
|
|
7464
6615
|
}
|
|
7465
6616
|
},
|
|
7466
6617
|
{
|
|
7467
6618
|
"kind": "js",
|
|
7468
|
-
"name": "
|
|
6619
|
+
"name": "GenesisCustomCodeCheck",
|
|
7469
6620
|
"declaration": {
|
|
7470
|
-
"name": "
|
|
7471
|
-
"module": "
|
|
6621
|
+
"name": "GenesisCustomCodeCheck",
|
|
6622
|
+
"module": "./types"
|
|
7472
6623
|
}
|
|
7473
6624
|
},
|
|
7474
6625
|
{
|
|
7475
6626
|
"kind": "js",
|
|
7476
|
-
"name": "
|
|
6627
|
+
"name": "GenesisEventOp",
|
|
7477
6628
|
"declaration": {
|
|
7478
|
-
"name": "
|
|
7479
|
-
"module": "
|
|
6629
|
+
"name": "GenesisEventOp",
|
|
6630
|
+
"module": "./types"
|
|
7480
6631
|
}
|
|
7481
6632
|
},
|
|
7482
6633
|
{
|
|
7483
6634
|
"kind": "js",
|
|
7484
|
-
"name": "
|
|
6635
|
+
"name": "GenesisReference",
|
|
7485
6636
|
"declaration": {
|
|
7486
|
-
"name": "
|
|
7487
|
-
"module": "
|
|
6637
|
+
"name": "GenesisReference",
|
|
6638
|
+
"module": "./types"
|
|
7488
6639
|
}
|
|
7489
6640
|
},
|
|
7490
6641
|
{
|
|
7491
6642
|
"kind": "js",
|
|
7492
|
-
"name": "
|
|
6643
|
+
"name": "GenesisResourceKind",
|
|
7493
6644
|
"declaration": {
|
|
7494
|
-
"name": "
|
|
7495
|
-
"module": "
|
|
6645
|
+
"name": "GenesisResourceKind",
|
|
6646
|
+
"module": "./types"
|
|
7496
6647
|
}
|
|
7497
6648
|
},
|
|
7498
6649
|
{
|
|
7499
6650
|
"kind": "js",
|
|
7500
|
-
"name": "
|
|
6651
|
+
"name": "GenesisRowEffect",
|
|
7501
6652
|
"declaration": {
|
|
7502
|
-
"name": "
|
|
7503
|
-
"module": "
|
|
6653
|
+
"name": "GenesisRowEffect",
|
|
6654
|
+
"module": "./types"
|
|
7504
6655
|
}
|
|
7505
|
-
}
|
|
7506
|
-
]
|
|
7507
|
-
},
|
|
7508
|
-
{
|
|
7509
|
-
"kind": "javascript-module",
|
|
7510
|
-
"path": "src/genesis/consumes.ts",
|
|
7511
|
-
"declarations": [
|
|
7512
|
-
{
|
|
7513
|
-
"kind": "variable",
|
|
7514
|
-
"name": "GENESIS_AI_CONSUMES",
|
|
7515
|
-
"type": {
|
|
7516
|
-
"text": "GenesisAiConsumes"
|
|
7517
|
-
},
|
|
7518
|
-
"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."
|
|
7519
|
-
}
|
|
7520
|
-
],
|
|
7521
|
-
"exports": [
|
|
6656
|
+
},
|
|
7522
6657
|
{
|
|
7523
6658
|
"kind": "js",
|
|
7524
|
-
"name": "
|
|
6659
|
+
"name": "GenesisRowInput",
|
|
7525
6660
|
"declaration": {
|
|
7526
|
-
"name": "
|
|
6661
|
+
"name": "GenesisRowInput",
|
|
7527
6662
|
"module": "./types"
|
|
7528
6663
|
}
|
|
7529
6664
|
},
|
|
7530
6665
|
{
|
|
7531
6666
|
"kind": "js",
|
|
7532
|
-
"name": "
|
|
6667
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
7533
6668
|
"declaration": {
|
|
7534
|
-
"name": "
|
|
7535
|
-
"module": "
|
|
6669
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
6670
|
+
"module": "./types"
|
|
7536
6671
|
}
|
|
7537
6672
|
}
|
|
7538
6673
|
]
|
|
7539
6674
|
},
|
|
7540
6675
|
{
|
|
7541
6676
|
"kind": "javascript-module",
|
|
7542
|
-
"path": "src/genesis/
|
|
6677
|
+
"path": "src/genesis/reference-check.ts",
|
|
7543
6678
|
"declarations": [
|
|
7544
6679
|
{
|
|
7545
6680
|
"kind": "function",
|
|
7546
|
-
"name": "
|
|
6681
|
+
"name": "tableOf",
|
|
7547
6682
|
"return": {
|
|
7548
6683
|
"type": {
|
|
7549
|
-
"text": "string
|
|
6684
|
+
"text": "string"
|
|
7550
6685
|
}
|
|
7551
6686
|
},
|
|
7552
6687
|
"parameters": [
|
|
7553
6688
|
{
|
|
7554
|
-
"name": "
|
|
6689
|
+
"name": "resource",
|
|
7555
6690
|
"type": {
|
|
7556
6691
|
"text": "string"
|
|
7557
6692
|
}
|
|
7558
|
-
}
|
|
6693
|
+
}
|
|
6694
|
+
],
|
|
6695
|
+
"description": "The table a `REQ_<T>` reads."
|
|
6696
|
+
},
|
|
6697
|
+
{
|
|
6698
|
+
"kind": "function",
|
|
6699
|
+
"name": "notAcceptedHere",
|
|
6700
|
+
"return": {
|
|
6701
|
+
"type": {
|
|
6702
|
+
"text": "string"
|
|
6703
|
+
}
|
|
6704
|
+
},
|
|
6705
|
+
"parameters": [
|
|
7559
6706
|
{
|
|
7560
|
-
"name": "
|
|
6707
|
+
"name": "field",
|
|
7561
6708
|
"type": {
|
|
7562
|
-
"text": "
|
|
6709
|
+
"text": "string"
|
|
7563
6710
|
}
|
|
7564
6711
|
},
|
|
7565
6712
|
{
|
|
7566
|
-
"name": "
|
|
6713
|
+
"name": "{ resource, reason }",
|
|
7567
6714
|
"type": {
|
|
7568
|
-
"text": "
|
|
6715
|
+
"text": "UncheckedField"
|
|
7569
6716
|
}
|
|
7570
6717
|
}
|
|
7571
|
-
]
|
|
6718
|
+
],
|
|
6719
|
+
"description": "What an insert says about a value it cannot check."
|
|
7572
6720
|
},
|
|
7573
6721
|
{
|
|
7574
6722
|
"kind": "function",
|
|
7575
|
-
"name": "
|
|
6723
|
+
"name": "cannotBeChanged",
|
|
7576
6724
|
"return": {
|
|
7577
6725
|
"type": {
|
|
7578
|
-
"text": "string
|
|
6726
|
+
"text": "string"
|
|
7579
6727
|
}
|
|
7580
6728
|
},
|
|
7581
6729
|
"parameters": [
|
|
@@ -7586,143 +6734,196 @@
|
|
|
7586
6734
|
}
|
|
7587
6735
|
},
|
|
7588
6736
|
{
|
|
7589
|
-
"name": "
|
|
7590
|
-
"type": {
|
|
7591
|
-
"text": "GenesisFilterOp"
|
|
7592
|
-
}
|
|
7593
|
-
},
|
|
7594
|
-
{
|
|
7595
|
-
"name": "bound",
|
|
6737
|
+
"name": "{ resource, reason }",
|
|
7596
6738
|
"type": {
|
|
7597
|
-
"text": "
|
|
6739
|
+
"text": "UncheckedField"
|
|
7598
6740
|
}
|
|
7599
6741
|
}
|
|
7600
6742
|
],
|
|
7601
|
-
"description": "
|
|
6743
|
+
"description": "What a modify says about a new value it cannot check."
|
|
7602
6744
|
}
|
|
7603
6745
|
],
|
|
7604
6746
|
"exports": [
|
|
7605
6747
|
{
|
|
7606
6748
|
"kind": "js",
|
|
7607
|
-
"name": "
|
|
6749
|
+
"name": "tableOf",
|
|
7608
6750
|
"declaration": {
|
|
7609
|
-
"name": "
|
|
7610
|
-
"module": "src/genesis/
|
|
6751
|
+
"name": "tableOf",
|
|
6752
|
+
"module": "src/genesis/reference-check.ts"
|
|
7611
6753
|
}
|
|
7612
6754
|
},
|
|
7613
6755
|
{
|
|
7614
6756
|
"kind": "js",
|
|
7615
|
-
"name": "
|
|
6757
|
+
"name": "notAcceptedHere",
|
|
7616
6758
|
"declaration": {
|
|
7617
|
-
"name": "
|
|
7618
|
-
"module": "src/genesis/
|
|
6759
|
+
"name": "notAcceptedHere",
|
|
6760
|
+
"module": "src/genesis/reference-check.ts"
|
|
6761
|
+
}
|
|
6762
|
+
},
|
|
6763
|
+
{
|
|
6764
|
+
"kind": "js",
|
|
6765
|
+
"name": "cannotBeChanged",
|
|
6766
|
+
"declaration": {
|
|
6767
|
+
"name": "cannotBeChanged",
|
|
6768
|
+
"module": "src/genesis/reference-check.ts"
|
|
7619
6769
|
}
|
|
7620
6770
|
}
|
|
7621
6771
|
]
|
|
7622
6772
|
},
|
|
7623
6773
|
{
|
|
7624
6774
|
"kind": "javascript-module",
|
|
7625
|
-
"path": "src/genesis/
|
|
7626
|
-
"declarations": [
|
|
7627
|
-
"exports": []
|
|
7628
|
-
},
|
|
7629
|
-
{
|
|
7630
|
-
"kind": "javascript-module",
|
|
7631
|
-
"path": "src/genesis/filter-fields.ts",
|
|
7632
|
-
"declarations": [],
|
|
7633
|
-
"exports": []
|
|
7634
|
-
},
|
|
7635
|
-
{
|
|
7636
|
-
"kind": "javascript-module",
|
|
7637
|
-
"path": "src/genesis/index.ts",
|
|
7638
|
-
"declarations": [],
|
|
7639
|
-
"exports": [
|
|
6775
|
+
"path": "src/genesis/reference-existence.ts",
|
|
6776
|
+
"declarations": [
|
|
7640
6777
|
{
|
|
7641
|
-
"kind": "
|
|
7642
|
-
"name": "
|
|
7643
|
-
"
|
|
7644
|
-
"
|
|
7645
|
-
|
|
7646
|
-
|
|
6778
|
+
"kind": "variable",
|
|
6779
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
6780
|
+
"type": {
|
|
6781
|
+
"text": "number"
|
|
6782
|
+
},
|
|
6783
|
+
"default": "50",
|
|
6784
|
+
"description": "The most distinct values one call may check."
|
|
7647
6785
|
},
|
|
7648
6786
|
{
|
|
7649
|
-
"kind": "
|
|
7650
|
-
"name": "
|
|
7651
|
-
"
|
|
7652
|
-
"
|
|
7653
|
-
|
|
7654
|
-
|
|
7655
|
-
|
|
6787
|
+
"kind": "function",
|
|
6788
|
+
"name": "withReferenceProblems",
|
|
6789
|
+
"return": {
|
|
6790
|
+
"type": {
|
|
6791
|
+
"text": "T[]"
|
|
6792
|
+
}
|
|
6793
|
+
},
|
|
6794
|
+
"parameters": [
|
|
6795
|
+
{
|
|
6796
|
+
"name": "rows",
|
|
6797
|
+
"type": {
|
|
6798
|
+
"text": "readonly T[]"
|
|
6799
|
+
}
|
|
6800
|
+
},
|
|
6801
|
+
{
|
|
6802
|
+
"name": "problems",
|
|
6803
|
+
"type": {
|
|
6804
|
+
"text": "ReadonlyMap<number, string[]>"
|
|
6805
|
+
}
|
|
6806
|
+
}
|
|
6807
|
+
],
|
|
6808
|
+
"description": "The rows with what the check found added to their problems."
|
|
6809
|
+
}
|
|
6810
|
+
],
|
|
6811
|
+
"exports": [
|
|
7656
6812
|
{
|
|
7657
6813
|
"kind": "js",
|
|
7658
|
-
"name": "
|
|
6814
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
7659
6815
|
"declaration": {
|
|
7660
|
-
"name": "
|
|
7661
|
-
"module": "
|
|
6816
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
6817
|
+
"module": "src/genesis/reference-existence.ts"
|
|
7662
6818
|
}
|
|
7663
6819
|
},
|
|
7664
6820
|
{
|
|
7665
6821
|
"kind": "js",
|
|
7666
|
-
"name": "
|
|
6822
|
+
"name": "withReferenceProblems",
|
|
7667
6823
|
"declaration": {
|
|
7668
|
-
"name": "
|
|
7669
|
-
"module": "
|
|
6824
|
+
"name": "withReferenceProblems",
|
|
6825
|
+
"module": "src/genesis/reference-existence.ts"
|
|
7670
6826
|
}
|
|
7671
|
-
}
|
|
6827
|
+
}
|
|
6828
|
+
]
|
|
6829
|
+
},
|
|
6830
|
+
{
|
|
6831
|
+
"kind": "javascript-module",
|
|
6832
|
+
"path": "src/genesis/register-genesis-assistant.ts",
|
|
6833
|
+
"declarations": [
|
|
7672
6834
|
{
|
|
7673
|
-
"kind": "
|
|
7674
|
-
"name": "
|
|
7675
|
-
"
|
|
7676
|
-
"
|
|
7677
|
-
|
|
7678
|
-
|
|
6835
|
+
"kind": "variable",
|
|
6836
|
+
"name": "GENESIS_AGENT_NAME",
|
|
6837
|
+
"type": {
|
|
6838
|
+
"text": "string"
|
|
6839
|
+
},
|
|
6840
|
+
"default": "'genesis-assistant'",
|
|
6841
|
+
"description": "The name of the agent registerGenesisAssistant builds."
|
|
7679
6842
|
},
|
|
7680
6843
|
{
|
|
7681
|
-
"kind": "
|
|
7682
|
-
"name": "
|
|
7683
|
-
"
|
|
7684
|
-
"
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
6844
|
+
"kind": "function",
|
|
6845
|
+
"name": "registerGenesisAssistant",
|
|
6846
|
+
"return": {
|
|
6847
|
+
"type": {
|
|
6848
|
+
"text": "GenesisAssistantRegistration"
|
|
6849
|
+
}
|
|
6850
|
+
},
|
|
6851
|
+
"parameters": [
|
|
6852
|
+
{
|
|
6853
|
+
"name": "options",
|
|
6854
|
+
"type": {
|
|
6855
|
+
"text": "RegisterGenesisAssistantOptions"
|
|
6856
|
+
}
|
|
6857
|
+
}
|
|
6858
|
+
],
|
|
6859
|
+
"description": "Sets up the AI assistant for a Genesis app from its generated AI config: providers by tier,\nand one agent whose tools read the app's resources."
|
|
6860
|
+
}
|
|
6861
|
+
],
|
|
6862
|
+
"exports": [
|
|
7688
6863
|
{
|
|
7689
6864
|
"kind": "js",
|
|
7690
|
-
"name": "
|
|
6865
|
+
"name": "GENESIS_AGENT_NAME",
|
|
7691
6866
|
"declaration": {
|
|
7692
|
-
"name": "
|
|
7693
|
-
"module": "
|
|
6867
|
+
"name": "GENESIS_AGENT_NAME",
|
|
6868
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
7694
6869
|
}
|
|
7695
6870
|
},
|
|
7696
6871
|
{
|
|
7697
6872
|
"kind": "js",
|
|
7698
|
-
"name": "
|
|
6873
|
+
"name": "registerGenesisAssistant",
|
|
7699
6874
|
"declaration": {
|
|
7700
|
-
"name": "
|
|
7701
|
-
"module": "
|
|
6875
|
+
"name": "registerGenesisAssistant",
|
|
6876
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
7702
6877
|
}
|
|
7703
|
-
}
|
|
6878
|
+
}
|
|
6879
|
+
]
|
|
6880
|
+
},
|
|
6881
|
+
{
|
|
6882
|
+
"kind": "javascript-module",
|
|
6883
|
+
"path": "src/genesis/resource-tools.ts",
|
|
6884
|
+
"declarations": [
|
|
7704
6885
|
{
|
|
7705
|
-
"kind": "
|
|
7706
|
-
"name": "
|
|
7707
|
-
"
|
|
7708
|
-
"
|
|
7709
|
-
|
|
7710
|
-
|
|
6886
|
+
"kind": "variable",
|
|
6887
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
6888
|
+
"type": {
|
|
6889
|
+
"text": "string"
|
|
6890
|
+
},
|
|
6891
|
+
"default": "'app-database'",
|
|
6892
|
+
"description": "The provenance stamped on everything a tool returns from the app (ADR P9). Rows are written by\nthe app's other users, so the model must treat their text as data, never as instructions; the\nsystem prompt says the same thing in words."
|
|
7711
6893
|
},
|
|
7712
6894
|
{
|
|
7713
|
-
"kind": "
|
|
7714
|
-
"name": "
|
|
7715
|
-
"
|
|
7716
|
-
"
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
6895
|
+
"kind": "function",
|
|
6896
|
+
"name": "createGenesisResourceTools",
|
|
6897
|
+
"return": {
|
|
6898
|
+
"type": {
|
|
6899
|
+
"text": "GenesisResourceTools"
|
|
6900
|
+
}
|
|
6901
|
+
},
|
|
6902
|
+
"parameters": [
|
|
6903
|
+
{
|
|
6904
|
+
"name": "resources",
|
|
6905
|
+
"type": {
|
|
6906
|
+
"text": "readonly GenesisAiResource[]"
|
|
6907
|
+
}
|
|
6908
|
+
},
|
|
6909
|
+
{
|
|
6910
|
+
"name": "options",
|
|
6911
|
+
"default": "{}",
|
|
6912
|
+
"type": {
|
|
6913
|
+
"text": "GenesisResourceToolsOptions"
|
|
6914
|
+
}
|
|
6915
|
+
}
|
|
6916
|
+
],
|
|
6917
|
+
"description": "Builds the assistant's tools from an app's resources."
|
|
6918
|
+
}
|
|
6919
|
+
],
|
|
6920
|
+
"exports": [
|
|
7720
6921
|
{
|
|
7721
6922
|
"kind": "js",
|
|
7722
|
-
"name": "
|
|
6923
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
7723
6924
|
"declaration": {
|
|
7724
|
-
"name": "
|
|
7725
|
-
"module": "
|
|
6925
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
6926
|
+
"module": "src/genesis/resource-tools.ts"
|
|
7726
6927
|
}
|
|
7727
6928
|
},
|
|
7728
6929
|
{
|
|
@@ -7730,798 +6931,1597 @@
|
|
|
7730
6931
|
"name": "createGenesisResourceTools",
|
|
7731
6932
|
"declaration": {
|
|
7732
6933
|
"name": "createGenesisResourceTools",
|
|
7733
|
-
"module": "
|
|
6934
|
+
"module": "src/genesis/resource-tools.ts"
|
|
7734
6935
|
}
|
|
7735
|
-
}
|
|
6936
|
+
}
|
|
6937
|
+
]
|
|
6938
|
+
},
|
|
6939
|
+
{
|
|
6940
|
+
"kind": "javascript-module",
|
|
6941
|
+
"path": "src/genesis/review-model.ts",
|
|
6942
|
+
"declarations": [
|
|
7736
6943
|
{
|
|
7737
|
-
"kind": "
|
|
7738
|
-
"name": "
|
|
7739
|
-
"
|
|
7740
|
-
"
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
6944
|
+
"kind": "variable",
|
|
6945
|
+
"name": "LONG_VALUE",
|
|
6946
|
+
"type": {
|
|
6947
|
+
"text": "number"
|
|
6948
|
+
},
|
|
6949
|
+
"default": "24",
|
|
6950
|
+
"description": "Past this many characters a value wraps; at or under it, it stays on one line."
|
|
6951
|
+
}
|
|
6952
|
+
],
|
|
6953
|
+
"exports": [
|
|
7744
6954
|
{
|
|
7745
6955
|
"kind": "js",
|
|
7746
|
-
"name": "
|
|
6956
|
+
"name": "GenesisChangeRequest",
|
|
7747
6957
|
"declaration": {
|
|
7748
|
-
"name": "
|
|
7749
|
-
"module": "./
|
|
6958
|
+
"name": "GenesisChangeRequest",
|
|
6959
|
+
"module": "./review-payload"
|
|
7750
6960
|
}
|
|
7751
6961
|
},
|
|
7752
6962
|
{
|
|
7753
6963
|
"kind": "js",
|
|
7754
|
-
"name": "
|
|
6964
|
+
"name": "GenesisReviewPayload",
|
|
7755
6965
|
"declaration": {
|
|
7756
|
-
"name": "
|
|
7757
|
-
"module": "./
|
|
6966
|
+
"name": "GenesisReviewPayload",
|
|
6967
|
+
"module": "./review-payload"
|
|
7758
6968
|
}
|
|
7759
6969
|
},
|
|
7760
6970
|
{
|
|
7761
6971
|
"kind": "js",
|
|
7762
|
-
"name": "
|
|
6972
|
+
"name": "LONG_VALUE",
|
|
7763
6973
|
"declaration": {
|
|
7764
|
-
"name": "
|
|
7765
|
-
"module": "
|
|
6974
|
+
"name": "LONG_VALUE",
|
|
6975
|
+
"module": "src/genesis/review-model.ts"
|
|
7766
6976
|
}
|
|
7767
|
-
}
|
|
6977
|
+
}
|
|
6978
|
+
]
|
|
6979
|
+
},
|
|
6980
|
+
{
|
|
6981
|
+
"kind": "javascript-module",
|
|
6982
|
+
"path": "src/genesis/review-payload.ts",
|
|
6983
|
+
"declarations": [],
|
|
6984
|
+
"exports": []
|
|
6985
|
+
},
|
|
6986
|
+
{
|
|
6987
|
+
"kind": "javascript-module",
|
|
6988
|
+
"path": "src/genesis/row-source.ts",
|
|
6989
|
+
"declarations": [],
|
|
6990
|
+
"exports": []
|
|
6991
|
+
},
|
|
6992
|
+
{
|
|
6993
|
+
"kind": "javascript-module",
|
|
6994
|
+
"path": "src/genesis/serialisable.ts",
|
|
6995
|
+
"declarations": [],
|
|
6996
|
+
"exports": []
|
|
6997
|
+
},
|
|
6998
|
+
{
|
|
6999
|
+
"kind": "javascript-module",
|
|
7000
|
+
"path": "src/genesis/server-text.ts",
|
|
7001
|
+
"declarations": [
|
|
7768
7002
|
{
|
|
7769
|
-
"kind": "
|
|
7770
|
-
"name": "
|
|
7771
|
-
"
|
|
7772
|
-
"
|
|
7773
|
-
|
|
7774
|
-
|
|
7003
|
+
"kind": "function",
|
|
7004
|
+
"name": "readsLikeFieldName",
|
|
7005
|
+
"return": {
|
|
7006
|
+
"type": {
|
|
7007
|
+
"text": "boolean"
|
|
7008
|
+
}
|
|
7009
|
+
},
|
|
7010
|
+
"parameters": [
|
|
7011
|
+
{
|
|
7012
|
+
"name": "text",
|
|
7013
|
+
"type": {
|
|
7014
|
+
"text": "string"
|
|
7015
|
+
}
|
|
7016
|
+
}
|
|
7017
|
+
],
|
|
7018
|
+
"description": "Whether text is a Genesis identifier, the FIELD_NAME shape. @internal"
|
|
7775
7019
|
},
|
|
7776
7020
|
{
|
|
7777
|
-
"kind": "
|
|
7778
|
-
"name": "
|
|
7779
|
-
"
|
|
7780
|
-
"
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7021
|
+
"kind": "function",
|
|
7022
|
+
"name": "describeFailure",
|
|
7023
|
+
"return": {
|
|
7024
|
+
"type": {
|
|
7025
|
+
"text": "string | undefined"
|
|
7026
|
+
}
|
|
7027
|
+
},
|
|
7028
|
+
"parameters": [
|
|
7029
|
+
{
|
|
7030
|
+
"name": "error",
|
|
7031
|
+
"type": {
|
|
7032
|
+
"text": "unknown"
|
|
7033
|
+
}
|
|
7034
|
+
}
|
|
7035
|
+
],
|
|
7036
|
+
"description": "Whatever a rejection turns out to be, as a sentence."
|
|
7037
|
+
}
|
|
7038
|
+
],
|
|
7039
|
+
"exports": [
|
|
7784
7040
|
{
|
|
7785
7041
|
"kind": "js",
|
|
7786
|
-
"name": "
|
|
7042
|
+
"name": "readsLikeFieldName",
|
|
7787
7043
|
"declaration": {
|
|
7788
|
-
"name": "
|
|
7789
|
-
"module": "
|
|
7044
|
+
"name": "readsLikeFieldName",
|
|
7045
|
+
"module": "src/genesis/server-text.ts"
|
|
7790
7046
|
}
|
|
7791
7047
|
},
|
|
7792
7048
|
{
|
|
7793
7049
|
"kind": "js",
|
|
7794
|
-
"name": "
|
|
7050
|
+
"name": "describeFailure",
|
|
7795
7051
|
"declaration": {
|
|
7796
|
-
"name": "
|
|
7797
|
-
"module": "
|
|
7052
|
+
"name": "describeFailure",
|
|
7053
|
+
"module": "src/genesis/server-text.ts"
|
|
7798
7054
|
}
|
|
7799
|
-
}
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
"name": "GenesisReviewPayload",
|
|
7813
|
-
"module": "./review-payload"
|
|
7814
|
-
}
|
|
7815
|
-
},
|
|
7055
|
+
}
|
|
7056
|
+
]
|
|
7057
|
+
},
|
|
7058
|
+
{
|
|
7059
|
+
"kind": "javascript-module",
|
|
7060
|
+
"path": "src/genesis/type-name.ts",
|
|
7061
|
+
"declarations": [],
|
|
7062
|
+
"exports": []
|
|
7063
|
+
},
|
|
7064
|
+
{
|
|
7065
|
+
"kind": "javascript-module",
|
|
7066
|
+
"path": "src/genesis/types.ts",
|
|
7067
|
+
"declarations": [
|
|
7816
7068
|
{
|
|
7817
|
-
"kind": "
|
|
7818
|
-
"name": "
|
|
7819
|
-
"
|
|
7820
|
-
"
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7069
|
+
"kind": "variable",
|
|
7070
|
+
"name": "GENESIS_EVENT_OPS",
|
|
7071
|
+
"type": {
|
|
7072
|
+
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
7073
|
+
},
|
|
7074
|
+
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
7075
|
+
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
7076
|
+
}
|
|
7077
|
+
],
|
|
7078
|
+
"exports": [
|
|
7824
7079
|
{
|
|
7825
7080
|
"kind": "js",
|
|
7826
|
-
"name": "
|
|
7081
|
+
"name": "GENESIS_EVENT_OPS",
|
|
7827
7082
|
"declaration": {
|
|
7828
|
-
"name": "
|
|
7829
|
-
"module": "
|
|
7083
|
+
"name": "GENESIS_EVENT_OPS",
|
|
7084
|
+
"module": "src/genesis/types.ts"
|
|
7830
7085
|
}
|
|
7831
|
-
}
|
|
7086
|
+
}
|
|
7087
|
+
]
|
|
7088
|
+
},
|
|
7089
|
+
{
|
|
7090
|
+
"kind": "javascript-module",
|
|
7091
|
+
"path": "src/genesis/value-compare.ts",
|
|
7092
|
+
"declarations": [],
|
|
7093
|
+
"exports": []
|
|
7094
|
+
},
|
|
7095
|
+
{
|
|
7096
|
+
"kind": "javascript-module",
|
|
7097
|
+
"path": "src/genesis/write-commit.ts",
|
|
7098
|
+
"declarations": [],
|
|
7099
|
+
"exports": []
|
|
7100
|
+
},
|
|
7101
|
+
{
|
|
7102
|
+
"kind": "javascript-module",
|
|
7103
|
+
"path": "src/genesis/write-op.ts",
|
|
7104
|
+
"declarations": [],
|
|
7105
|
+
"exports": []
|
|
7106
|
+
},
|
|
7107
|
+
{
|
|
7108
|
+
"kind": "javascript-module",
|
|
7109
|
+
"path": "src/genesis/write-outcome.ts",
|
|
7110
|
+
"declarations": [],
|
|
7111
|
+
"exports": []
|
|
7112
|
+
},
|
|
7113
|
+
{
|
|
7114
|
+
"kind": "javascript-module",
|
|
7115
|
+
"path": "src/genesis/write-payload.ts",
|
|
7116
|
+
"declarations": [
|
|
7832
7117
|
{
|
|
7833
|
-
"kind": "
|
|
7834
|
-
"name": "
|
|
7835
|
-
"
|
|
7836
|
-
"
|
|
7837
|
-
|
|
7838
|
-
|
|
7839
|
-
|
|
7118
|
+
"kind": "function",
|
|
7119
|
+
"name": "buildEventPayload",
|
|
7120
|
+
"return": {
|
|
7121
|
+
"type": {
|
|
7122
|
+
"text": "PayloadResult"
|
|
7123
|
+
}
|
|
7124
|
+
},
|
|
7125
|
+
"parameters": [
|
|
7126
|
+
{
|
|
7127
|
+
"name": "fields",
|
|
7128
|
+
"type": {
|
|
7129
|
+
"text": "readonly GenesisEventField[]"
|
|
7130
|
+
}
|
|
7131
|
+
},
|
|
7132
|
+
{
|
|
7133
|
+
"name": "row",
|
|
7134
|
+
"type": {
|
|
7135
|
+
"text": "unknown"
|
|
7136
|
+
}
|
|
7137
|
+
},
|
|
7138
|
+
{
|
|
7139
|
+
"name": "{ op, preImage, unchecked }",
|
|
7140
|
+
"type": {
|
|
7141
|
+
"text": "BuildPayloadOptions"
|
|
7142
|
+
}
|
|
7143
|
+
}
|
|
7144
|
+
]
|
|
7145
|
+
}
|
|
7146
|
+
],
|
|
7147
|
+
"exports": [
|
|
7840
7148
|
{
|
|
7841
7149
|
"kind": "js",
|
|
7842
|
-
"name": "
|
|
7150
|
+
"name": "buildEventPayload",
|
|
7843
7151
|
"declaration": {
|
|
7844
|
-
"name": "
|
|
7845
|
-
"module": "
|
|
7152
|
+
"name": "buildEventPayload",
|
|
7153
|
+
"module": "src/genesis/write-payload.ts"
|
|
7846
7154
|
}
|
|
7847
|
-
}
|
|
7155
|
+
}
|
|
7156
|
+
]
|
|
7157
|
+
},
|
|
7158
|
+
{
|
|
7159
|
+
"kind": "javascript-module",
|
|
7160
|
+
"path": "src/genesis/write-plan.ts",
|
|
7161
|
+
"declarations": [
|
|
7848
7162
|
{
|
|
7849
|
-
"kind": "
|
|
7850
|
-
"name": "
|
|
7851
|
-
"
|
|
7852
|
-
"
|
|
7853
|
-
|
|
7854
|
-
|
|
7855
|
-
|
|
7163
|
+
"kind": "variable",
|
|
7164
|
+
"name": "MAX_WRITE_ROWS",
|
|
7165
|
+
"type": {
|
|
7166
|
+
"text": "number"
|
|
7167
|
+
},
|
|
7168
|
+
"default": "25",
|
|
7169
|
+
"description": "A batch a person can actually read before approving it."
|
|
7170
|
+
}
|
|
7171
|
+
],
|
|
7172
|
+
"exports": [
|
|
7856
7173
|
{
|
|
7857
7174
|
"kind": "js",
|
|
7858
|
-
"name": "
|
|
7175
|
+
"name": "MAX_WRITE_ROWS",
|
|
7859
7176
|
"declaration": {
|
|
7860
|
-
"name": "
|
|
7861
|
-
"module": "
|
|
7177
|
+
"name": "MAX_WRITE_ROWS",
|
|
7178
|
+
"module": "src/genesis/write-plan.ts"
|
|
7862
7179
|
}
|
|
7863
|
-
}
|
|
7180
|
+
}
|
|
7181
|
+
]
|
|
7182
|
+
},
|
|
7183
|
+
{
|
|
7184
|
+
"kind": "javascript-module",
|
|
7185
|
+
"path": "src/genesis/write-tools.ts",
|
|
7186
|
+
"declarations": [
|
|
7864
7187
|
{
|
|
7865
|
-
"kind": "
|
|
7866
|
-
"name": "
|
|
7867
|
-
"
|
|
7868
|
-
"
|
|
7869
|
-
|
|
7870
|
-
|
|
7871
|
-
|
|
7188
|
+
"kind": "function",
|
|
7189
|
+
"name": "createGenesisWriteTools",
|
|
7190
|
+
"return": {
|
|
7191
|
+
"type": {
|
|
7192
|
+
"text": "{\n toolDefinitions: () => Promise<ChatToolDefinition[]>;\n toolHandlers: ChatToolHandlers;\n /**\n * The events that can get a write tool, as far as the config can tell: an event refused for its\n * op, its rowSources entry or a malformed references, or a modify or delete with no row source,\n * is not among them. Their metadata, read when the tools are first listed, can still withhold one.\n */\n writableEvents: readonly string[];\n}"
|
|
7193
|
+
}
|
|
7194
|
+
},
|
|
7195
|
+
"parameters": [
|
|
7196
|
+
{
|
|
7197
|
+
"name": "resources",
|
|
7198
|
+
"type": {
|
|
7199
|
+
"text": "readonly GenesisAiResource[]"
|
|
7200
|
+
}
|
|
7201
|
+
},
|
|
7202
|
+
{
|
|
7203
|
+
"name": "options",
|
|
7204
|
+
"default": "{}",
|
|
7205
|
+
"type": {
|
|
7206
|
+
"text": "GenesisWriteToolsOptions"
|
|
7207
|
+
}
|
|
7208
|
+
}
|
|
7209
|
+
],
|
|
7210
|
+
"description": "Builds the assistant's write tools from an app's event resources."
|
|
7211
|
+
}
|
|
7212
|
+
],
|
|
7213
|
+
"exports": [
|
|
7872
7214
|
{
|
|
7873
7215
|
"kind": "js",
|
|
7874
|
-
"name": "
|
|
7216
|
+
"name": "createGenesisWriteTools",
|
|
7875
7217
|
"declaration": {
|
|
7876
|
-
"name": "
|
|
7877
|
-
"module": "
|
|
7218
|
+
"name": "createGenesisWriteTools",
|
|
7219
|
+
"module": "src/genesis/write-tools.ts"
|
|
7878
7220
|
}
|
|
7879
|
-
}
|
|
7221
|
+
}
|
|
7222
|
+
]
|
|
7223
|
+
},
|
|
7224
|
+
{
|
|
7225
|
+
"kind": "javascript-module",
|
|
7226
|
+
"path": "src/genesis/write-turn.ts",
|
|
7227
|
+
"declarations": [],
|
|
7228
|
+
"exports": []
|
|
7229
|
+
},
|
|
7230
|
+
{
|
|
7231
|
+
"kind": "javascript-module",
|
|
7232
|
+
"path": "src/headless/describe-interaction.ts",
|
|
7233
|
+
"declarations": [
|
|
7880
7234
|
{
|
|
7881
|
-
"kind": "
|
|
7882
|
-
"name": "
|
|
7883
|
-
"
|
|
7884
|
-
"
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7235
|
+
"kind": "function",
|
|
7236
|
+
"name": "describeInteraction",
|
|
7237
|
+
"return": {
|
|
7238
|
+
"type": {
|
|
7239
|
+
"text": "InteractionDescription"
|
|
7240
|
+
}
|
|
7241
|
+
},
|
|
7242
|
+
"parameters": [
|
|
7243
|
+
{
|
|
7244
|
+
"name": "input",
|
|
7245
|
+
"type": {
|
|
7246
|
+
"text": "DescribeInteractionInput"
|
|
7247
|
+
}
|
|
7248
|
+
}
|
|
7249
|
+
],
|
|
7250
|
+
"description": "What the person is being asked, as a compact JSON-serialisable record a model can read and\nanswer (GENC-1660): the same text the autopilot is sent for the decision (`renderDecision`,\nso there is one rendering of a decision, not two), and its actions as data, numbered as that text\nnumbers them, so \"1\" means the same option here and there.\n\nWith no surface — a widget with no controller, or one that has not exposed anything yet — there\nis nothing to act on: `controller` is `false` (or `true` and not `ready`, while a controller that\nwill expose a surface has not yet), `actions` is empty, and `text` is the widget as text alone.\n\nReads the surface fresh each time, so it describes the widget as it is now."
|
|
7251
|
+
}
|
|
7252
|
+
],
|
|
7253
|
+
"exports": [
|
|
7888
7254
|
{
|
|
7889
7255
|
"kind": "js",
|
|
7890
|
-
"name": "
|
|
7256
|
+
"name": "describeInteraction",
|
|
7891
7257
|
"declaration": {
|
|
7892
|
-
"name": "
|
|
7893
|
-
"module": "
|
|
7258
|
+
"name": "describeInteraction",
|
|
7259
|
+
"module": "src/headless/describe-interaction.ts"
|
|
7894
7260
|
}
|
|
7895
|
-
}
|
|
7261
|
+
}
|
|
7262
|
+
]
|
|
7263
|
+
},
|
|
7264
|
+
{
|
|
7265
|
+
"kind": "javascript-module",
|
|
7266
|
+
"path": "src/headless/headless-debug.ts",
|
|
7267
|
+
"declarations": [
|
|
7896
7268
|
{
|
|
7897
|
-
"kind": "
|
|
7898
|
-
"name": "
|
|
7899
|
-
"
|
|
7900
|
-
"
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7905
|
-
|
|
7906
|
-
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7914
|
-
|
|
7915
|
-
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7919
|
-
|
|
7920
|
-
{
|
|
7921
|
-
"kind": "js",
|
|
7922
|
-
"name": "GenesisEventOp",
|
|
7923
|
-
"declaration": {
|
|
7924
|
-
"name": "GenesisEventOp",
|
|
7925
|
-
"module": "./types"
|
|
7926
|
-
}
|
|
7269
|
+
"kind": "function",
|
|
7270
|
+
"name": "headlessMetaSnapshot",
|
|
7271
|
+
"return": {
|
|
7272
|
+
"type": {
|
|
7273
|
+
"text": "DiagnosticEntry"
|
|
7274
|
+
}
|
|
7275
|
+
},
|
|
7276
|
+
"parameters": [
|
|
7277
|
+
{
|
|
7278
|
+
"name": "driver",
|
|
7279
|
+
"type": {
|
|
7280
|
+
"text": "AiDriver"
|
|
7281
|
+
}
|
|
7282
|
+
},
|
|
7283
|
+
{
|
|
7284
|
+
"name": "options",
|
|
7285
|
+
"default": "{}",
|
|
7286
|
+
"type": {
|
|
7287
|
+
"text": "HeadlessDebugOptions"
|
|
7288
|
+
}
|
|
7289
|
+
}
|
|
7290
|
+
],
|
|
7291
|
+
"description": "The `meta-snapshot` entry for right now, gathered the way the assistant element gathers it\n(`buildMetaSnapshot` does the assembly; this reads what it reports): the live agent comes from\nthe DRIVER, the transcript from its raw history, and the figures from the transcript, so what a\nheadless host logs is what the browser would. The context window and model, which the element\nlearns from its provider registry, are the host's to say."
|
|
7927
7292
|
},
|
|
7928
7293
|
{
|
|
7929
|
-
"kind": "
|
|
7930
|
-
"name": "
|
|
7931
|
-
"
|
|
7932
|
-
"
|
|
7933
|
-
|
|
7934
|
-
|
|
7294
|
+
"kind": "function",
|
|
7295
|
+
"name": "headlessDiagnosticEntries",
|
|
7296
|
+
"return": {
|
|
7297
|
+
"type": {
|
|
7298
|
+
"text": "DiagnosticEntry[]"
|
|
7299
|
+
}
|
|
7300
|
+
},
|
|
7301
|
+
"parameters": [
|
|
7302
|
+
{
|
|
7303
|
+
"name": "driver",
|
|
7304
|
+
"type": {
|
|
7305
|
+
"text": "AiDriver"
|
|
7306
|
+
}
|
|
7307
|
+
},
|
|
7308
|
+
{
|
|
7309
|
+
"name": "stateKey",
|
|
7310
|
+
"type": {
|
|
7311
|
+
"text": "string"
|
|
7312
|
+
}
|
|
7313
|
+
},
|
|
7314
|
+
{
|
|
7315
|
+
"name": "options",
|
|
7316
|
+
"default": "{}",
|
|
7317
|
+
"type": {
|
|
7318
|
+
"text": "HeadlessDebugOptions"
|
|
7319
|
+
}
|
|
7320
|
+
}
|
|
7321
|
+
],
|
|
7322
|
+
"description": "The diagnostic entries for the session so far, from the same `buildDiagnosticEntries` the\nbrowser's element and its persister use."
|
|
7935
7323
|
},
|
|
7936
7324
|
{
|
|
7937
|
-
"kind": "
|
|
7938
|
-
"name": "
|
|
7939
|
-
"
|
|
7940
|
-
"
|
|
7941
|
-
|
|
7942
|
-
|
|
7943
|
-
|
|
7325
|
+
"kind": "function",
|
|
7326
|
+
"name": "headlessCurrentDebugLog",
|
|
7327
|
+
"return": {
|
|
7328
|
+
"type": {
|
|
7329
|
+
"text": "DebugLog"
|
|
7330
|
+
}
|
|
7331
|
+
},
|
|
7332
|
+
"parameters": [
|
|
7333
|
+
{
|
|
7334
|
+
"name": "driver",
|
|
7335
|
+
"type": {
|
|
7336
|
+
"text": "AiDriver"
|
|
7337
|
+
}
|
|
7338
|
+
},
|
|
7339
|
+
{
|
|
7340
|
+
"name": "stateKey",
|
|
7341
|
+
"type": {
|
|
7342
|
+
"text": "string"
|
|
7343
|
+
}
|
|
7344
|
+
},
|
|
7345
|
+
{
|
|
7346
|
+
"name": "options",
|
|
7347
|
+
"default": "{}",
|
|
7348
|
+
"type": {
|
|
7349
|
+
"text": "HeadlessDebugOptions"
|
|
7350
|
+
}
|
|
7351
|
+
}
|
|
7352
|
+
],
|
|
7353
|
+
"description": "The current page's debug log: what `HeadlessSession.debugLog()` returns when nothing is\npersisted, and the fallback when the stored stream cannot be read."
|
|
7354
|
+
}
|
|
7355
|
+
],
|
|
7356
|
+
"exports": [
|
|
7944
7357
|
{
|
|
7945
7358
|
"kind": "js",
|
|
7946
|
-
"name": "
|
|
7359
|
+
"name": "headlessMetaSnapshot",
|
|
7947
7360
|
"declaration": {
|
|
7948
|
-
"name": "
|
|
7949
|
-
"module": "
|
|
7361
|
+
"name": "headlessMetaSnapshot",
|
|
7362
|
+
"module": "src/headless/headless-debug.ts"
|
|
7950
7363
|
}
|
|
7951
7364
|
},
|
|
7952
7365
|
{
|
|
7953
7366
|
"kind": "js",
|
|
7954
|
-
"name": "
|
|
7367
|
+
"name": "headlessDiagnosticEntries",
|
|
7955
7368
|
"declaration": {
|
|
7956
|
-
"name": "
|
|
7957
|
-
"module": "
|
|
7369
|
+
"name": "headlessDiagnosticEntries",
|
|
7370
|
+
"module": "src/headless/headless-debug.ts"
|
|
7958
7371
|
}
|
|
7959
7372
|
},
|
|
7960
7373
|
{
|
|
7961
7374
|
"kind": "js",
|
|
7962
|
-
"name": "
|
|
7375
|
+
"name": "headlessCurrentDebugLog",
|
|
7963
7376
|
"declaration": {
|
|
7964
|
-
"name": "
|
|
7965
|
-
"module": "
|
|
7377
|
+
"name": "headlessCurrentDebugLog",
|
|
7378
|
+
"module": "src/headless/headless-debug.ts"
|
|
7966
7379
|
}
|
|
7967
7380
|
}
|
|
7968
7381
|
]
|
|
7969
7382
|
},
|
|
7970
7383
|
{
|
|
7971
7384
|
"kind": "javascript-module",
|
|
7972
|
-
"path": "src/
|
|
7385
|
+
"path": "src/headless/headless-persistence.ts",
|
|
7973
7386
|
"declarations": [
|
|
7974
7387
|
{
|
|
7975
7388
|
"kind": "function",
|
|
7976
|
-
"name": "
|
|
7389
|
+
"name": "headlessPersistence",
|
|
7977
7390
|
"return": {
|
|
7978
7391
|
"type": {
|
|
7979
|
-
"text": "
|
|
7392
|
+
"text": "HeadlessPersistence"
|
|
7980
7393
|
}
|
|
7981
7394
|
},
|
|
7982
7395
|
"parameters": [
|
|
7983
7396
|
{
|
|
7984
|
-
"name": "
|
|
7985
|
-
"type": {
|
|
7986
|
-
"text": "
|
|
7987
|
-
}
|
|
7988
|
-
}
|
|
7989
|
-
],
|
|
7990
|
-
"description": "
|
|
7991
|
-
}
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
"
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
7397
|
+
"name": "options",
|
|
7398
|
+
"type": {
|
|
7399
|
+
"text": "HeadlessPersistenceOptions"
|
|
7400
|
+
}
|
|
7401
|
+
}
|
|
7402
|
+
],
|
|
7403
|
+
"description": "Persistence for a `HeadlessSession`: it writes exactly what the browser writes — the\n`sessions/<key>` snapshot and the `diag/<key>` stream — through the platform's\n`SessionPersister` and the host's `SessionPersistenceProvider`, and builds the lifetime debug log\nfrom the same code as the browser's Download.\n\nExported from the package's main entry only, NOT from the Node entry (`./chat-driver`): it\nreaches the session store, and through it `@genesislcap/foundation-redux`, which are not\nNode-clean. The `persister` it makes is the registry's, so a host can restore through\n`getPersister(stateKey)`."
|
|
7404
|
+
}
|
|
7405
|
+
],
|
|
7406
|
+
"exports": [
|
|
7407
|
+
{
|
|
7408
|
+
"kind": "js",
|
|
7409
|
+
"name": "headlessPersistence",
|
|
7410
|
+
"declaration": {
|
|
7411
|
+
"name": "headlessPersistence",
|
|
7412
|
+
"module": "src/headless/headless-persistence.ts"
|
|
7413
|
+
}
|
|
7414
|
+
}
|
|
7415
|
+
]
|
|
7416
|
+
},
|
|
7417
|
+
{
|
|
7418
|
+
"kind": "javascript-module",
|
|
7419
|
+
"path": "src/headless/headless-session.ts",
|
|
7420
|
+
"declarations": [
|
|
7421
|
+
{
|
|
7422
|
+
"kind": "class",
|
|
7423
|
+
"description": "A driver with no screen: a way for a host with no browser (a coding agent behind a small HTTP\nserver, a test) to run a whole assistant journey as the person (GENC-1660).\n\nIt watches the driver for interactions and turns the conversation into an append-only log of\nplain-data events (see HeadlessEvent): `decision` when the person has something to\nanswer, `working` when someone else has it, `settled`, the visible `message`s, the end of each\n`turn`, the autopilot's state, and the host's own `probe`. The caller reads the log with\nHeadlessSession.wait, a long poll cursored by `seq`, so nothing is lost between calls.\nIt answers with HeadlessSession.act, which runs a widget's action as a click would, with\nthe same numbered options the autopilot is shown.\n\nIt only observes: its interceptor never claims an interaction, so an autopilot on the same\ndriver works as it always does, and what the session reports as a `decision` is what the autopilot\nhas handed to the person. Plain classes only: no DOM, no FAST.",
|
|
7424
|
+
"name": "HeadlessSession",
|
|
7425
|
+
"members": [
|
|
7426
|
+
{
|
|
7427
|
+
"kind": "field",
|
|
7428
|
+
"name": "sessionKey",
|
|
7429
|
+
"type": {
|
|
7430
|
+
"text": "string"
|
|
7431
|
+
},
|
|
7432
|
+
"privacy": "private",
|
|
7433
|
+
"readonly": true
|
|
7434
|
+
},
|
|
7435
|
+
{
|
|
7436
|
+
"kind": "field",
|
|
7437
|
+
"name": "allowRaw",
|
|
7438
|
+
"type": {
|
|
7439
|
+
"text": "boolean"
|
|
7440
|
+
},
|
|
7441
|
+
"privacy": "private",
|
|
7442
|
+
"readonly": true
|
|
7443
|
+
},
|
|
7444
|
+
{
|
|
7445
|
+
"kind": "field",
|
|
7446
|
+
"name": "clock",
|
|
7447
|
+
"type": {
|
|
7448
|
+
"text": "() => number"
|
|
7449
|
+
},
|
|
7450
|
+
"privacy": "private",
|
|
7451
|
+
"readonly": true
|
|
7452
|
+
},
|
|
7453
|
+
{
|
|
7454
|
+
"kind": "field",
|
|
7455
|
+
"name": "autopilotHost",
|
|
7456
|
+
"type": {
|
|
7457
|
+
"text": "AutopilotLike | undefined"
|
|
7458
|
+
},
|
|
7459
|
+
"privacy": "private",
|
|
7460
|
+
"readonly": true,
|
|
7461
|
+
"default": "autopilot"
|
|
7462
|
+
},
|
|
7463
|
+
{
|
|
7464
|
+
"kind": "field",
|
|
7465
|
+
"name": "events",
|
|
7466
|
+
"type": {
|
|
7467
|
+
"text": "HeadlessEvent[]"
|
|
7468
|
+
},
|
|
7469
|
+
"privacy": "private",
|
|
7470
|
+
"readonly": true,
|
|
7471
|
+
"default": "[]"
|
|
7472
|
+
},
|
|
7473
|
+
{
|
|
7474
|
+
"kind": "field",
|
|
7475
|
+
"name": "seq",
|
|
7476
|
+
"type": {
|
|
7477
|
+
"text": "number"
|
|
7478
|
+
},
|
|
7479
|
+
"privacy": "private",
|
|
7480
|
+
"default": "0"
|
|
7481
|
+
},
|
|
7482
|
+
{
|
|
7483
|
+
"kind": "field",
|
|
7484
|
+
"name": "tracked",
|
|
7485
|
+
"privacy": "private",
|
|
7486
|
+
"readonly": true,
|
|
7487
|
+
"default": "new Map<string, Tracked>()"
|
|
7488
|
+
},
|
|
7489
|
+
{
|
|
7490
|
+
"kind": "field",
|
|
7491
|
+
"name": "origin",
|
|
7492
|
+
"privacy": "private",
|
|
7493
|
+
"readonly": true,
|
|
7494
|
+
"default": "new Map<string, { auto?: boolean; raw?: boolean }>()",
|
|
7495
|
+
"description": "What the session did to an interaction itself, for `settled` to say when the driver reports it."
|
|
7496
|
+
},
|
|
7497
|
+
{
|
|
7498
|
+
"kind": "field",
|
|
7499
|
+
"name": "waiters",
|
|
7500
|
+
"privacy": "private",
|
|
7501
|
+
"readonly": true,
|
|
7502
|
+
"default": "new Set<Waiter>()"
|
|
7503
|
+
},
|
|
7504
|
+
{
|
|
7505
|
+
"kind": "field",
|
|
7506
|
+
"name": "teardown",
|
|
7507
|
+
"type": {
|
|
7508
|
+
"text": "Array<() => void>"
|
|
7509
|
+
},
|
|
7510
|
+
"privacy": "private",
|
|
7511
|
+
"readonly": true,
|
|
7512
|
+
"default": "[]"
|
|
7513
|
+
},
|
|
7514
|
+
{
|
|
7515
|
+
"kind": "field",
|
|
7516
|
+
"name": "seen",
|
|
7517
|
+
"type": {
|
|
7518
|
+
"text": "number"
|
|
7519
|
+
},
|
|
7520
|
+
"privacy": "private",
|
|
7521
|
+
"description": "How much of the driver's history has been reported as messages."
|
|
7522
|
+
},
|
|
7523
|
+
{
|
|
7524
|
+
"kind": "field",
|
|
7525
|
+
"name": "turn",
|
|
7526
|
+
"type": {
|
|
7527
|
+
"text": "Promise<unknown> | undefined"
|
|
7528
|
+
},
|
|
7529
|
+
"privacy": "private",
|
|
7530
|
+
"description": "The `send` in flight, if any."
|
|
7531
|
+
},
|
|
7532
|
+
{
|
|
7533
|
+
"kind": "field",
|
|
7534
|
+
"name": "open",
|
|
7535
|
+
"type": {
|
|
7536
|
+
"text": "{ start: number; reason?: string; failureReason?: string } | undefined"
|
|
7537
|
+
},
|
|
7538
|
+
"privacy": "private",
|
|
7539
|
+
"description": "The turn that is running, whoever started it, until the driver has been idle for a beat:\n`start` is where its messages begin in the history. Its `reason` and `failureReason` are what\nended it, when something said."
|
|
7540
|
+
},
|
|
7541
|
+
{
|
|
7542
|
+
"kind": "field",
|
|
7543
|
+
"name": "base",
|
|
7544
|
+
"type": {
|
|
7545
|
+
"text": "number"
|
|
7546
|
+
},
|
|
7547
|
+
"privacy": "private",
|
|
7548
|
+
"description": "History length when the last turn closed: where a turn the session did not start begins."
|
|
7549
|
+
},
|
|
7550
|
+
{
|
|
7551
|
+
"kind": "field",
|
|
7552
|
+
"name": "quiesceTimer",
|
|
7553
|
+
"type": {
|
|
7554
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
7555
|
+
},
|
|
7556
|
+
"privacy": "private"
|
|
7557
|
+
},
|
|
7558
|
+
{
|
|
7559
|
+
"kind": "field",
|
|
7560
|
+
"name": "poller",
|
|
7561
|
+
"type": {
|
|
7562
|
+
"text": "ReturnType<typeof setInterval> | undefined"
|
|
7563
|
+
},
|
|
7564
|
+
"privacy": "private"
|
|
7565
|
+
},
|
|
7566
|
+
{
|
|
7567
|
+
"kind": "field",
|
|
7568
|
+
"name": "persistence",
|
|
7569
|
+
"type": {
|
|
7570
|
+
"text": "HeadlessPersistenceBinding | undefined"
|
|
7571
|
+
},
|
|
7572
|
+
"privacy": "private",
|
|
7573
|
+
"readonly": true
|
|
7574
|
+
},
|
|
7575
|
+
{
|
|
7576
|
+
"kind": "field",
|
|
7577
|
+
"name": "lastProbe",
|
|
7578
|
+
"type": {
|
|
7579
|
+
"text": "Record<string, unknown>"
|
|
7580
|
+
},
|
|
7581
|
+
"privacy": "private",
|
|
7582
|
+
"default": "{}"
|
|
7583
|
+
},
|
|
7584
|
+
{
|
|
7585
|
+
"kind": "field",
|
|
7586
|
+
"name": "lastAutopilot",
|
|
7587
|
+
"type": {
|
|
7588
|
+
"text": "string"
|
|
7589
|
+
},
|
|
7590
|
+
"privacy": "private",
|
|
7591
|
+
"default": "''"
|
|
7592
|
+
},
|
|
7593
|
+
{
|
|
7594
|
+
"kind": "field",
|
|
7595
|
+
"name": "disposed",
|
|
7596
|
+
"type": {
|
|
7597
|
+
"text": "boolean"
|
|
7598
|
+
},
|
|
7599
|
+
"privacy": "private",
|
|
7600
|
+
"default": "false"
|
|
7601
|
+
},
|
|
7602
|
+
{
|
|
7603
|
+
"kind": "field",
|
|
7604
|
+
"name": "restoring",
|
|
7605
|
+
"type": {
|
|
7606
|
+
"text": "boolean"
|
|
7607
|
+
},
|
|
7608
|
+
"privacy": "private",
|
|
7609
|
+
"default": "false",
|
|
7610
|
+
"description": "While a restore loads the history, which is not new activity."
|
|
7611
|
+
},
|
|
7612
|
+
{
|
|
7613
|
+
"kind": "method",
|
|
7614
|
+
"name": "send",
|
|
7615
|
+
"return": {
|
|
7616
|
+
"type": {
|
|
7617
|
+
"text": "HeadlessResult"
|
|
7618
|
+
}
|
|
7619
|
+
},
|
|
7620
|
+
"parameters": [
|
|
7621
|
+
{
|
|
7622
|
+
"name": "text",
|
|
7623
|
+
"type": {
|
|
7624
|
+
"text": "string"
|
|
7625
|
+
}
|
|
7626
|
+
},
|
|
7627
|
+
{
|
|
7628
|
+
"name": "options",
|
|
7629
|
+
"default": "{}",
|
|
7630
|
+
"type": {
|
|
7631
|
+
"text": "HeadlessSendOptions"
|
|
7632
|
+
}
|
|
7633
|
+
}
|
|
7634
|
+
],
|
|
7635
|
+
"description": "Send the person's message, and start the turn. Returns as soon as the turn has started, not\nwhen it ends: a turn includes every interaction parked on the person, so it can run as long as\nthe journey. Its end is the `turn` event.\n\nRefused, never thrown, when the message is empty, or a turn is already running."
|
|
7636
|
+
},
|
|
7637
|
+
{
|
|
7638
|
+
"kind": "method",
|
|
7639
|
+
"name": "act",
|
|
7640
|
+
"return": {
|
|
7641
|
+
"type": {
|
|
7642
|
+
"text": "Promise<HeadlessActResult>"
|
|
7643
|
+
}
|
|
7644
|
+
},
|
|
7645
|
+
"parameters": [
|
|
7646
|
+
{
|
|
7647
|
+
"name": "interactionId",
|
|
7648
|
+
"type": {
|
|
7649
|
+
"text": "string"
|
|
7650
|
+
}
|
|
7651
|
+
},
|
|
7652
|
+
{
|
|
7653
|
+
"name": "action",
|
|
7654
|
+
"type": {
|
|
7655
|
+
"text": "string | number"
|
|
7656
|
+
}
|
|
7657
|
+
},
|
|
7658
|
+
{
|
|
7659
|
+
"name": "args",
|
|
7660
|
+
"default": "{}",
|
|
7661
|
+
"type": {
|
|
7662
|
+
"text": "HeadlessActArgs"
|
|
7663
|
+
}
|
|
7664
|
+
}
|
|
7665
|
+
],
|
|
7666
|
+
"description": "Run one of a pending interaction's actions as the person, as a click would (the answer is\ncredited `answeredBy: 'user'`). `action` is a number from the description's actions, or an\naction's name; `args` carry the text, the options (numbers or labels) or the form's fields it\ntakes. Refused, with the reason and what is enabled, when a claimant holds the interaction,\nthe action is unknown or disabled, or its arguments do not fit: nothing runs then.\n\nThe result is the driver's `InvokeResult`, plus `description` of the interaction when it is\nstill open."
|
|
7667
|
+
},
|
|
7668
|
+
{
|
|
7669
|
+
"kind": "method",
|
|
7670
|
+
"name": "resolve",
|
|
7671
|
+
"return": {
|
|
7672
|
+
"type": {
|
|
7673
|
+
"text": "HeadlessResult"
|
|
7674
|
+
}
|
|
7675
|
+
},
|
|
7676
|
+
"parameters": [
|
|
7677
|
+
{
|
|
7678
|
+
"name": "interactionId",
|
|
7679
|
+
"type": {
|
|
7680
|
+
"text": "string"
|
|
7681
|
+
}
|
|
7682
|
+
},
|
|
7683
|
+
{
|
|
7684
|
+
"name": "result",
|
|
7685
|
+
"type": {
|
|
7686
|
+
"text": "unknown"
|
|
7687
|
+
}
|
|
7688
|
+
}
|
|
7689
|
+
],
|
|
7690
|
+
"description": "Settle a pending interaction raw, with `result` as the widget would have resolved it,\nbypassing its actions and everything they check: an escape hatch for a widget with no\ncontroller, or one that cannot be acted on. Logs `settled` with `raw: true` and records\n`headless.raw-resolved`. Refused when `allowRaw` is `false`, when the interaction is not\npending, or when a claimant holds it: as for `act`, the person takes it back first."
|
|
7691
|
+
},
|
|
7692
|
+
{
|
|
7693
|
+
"kind": "method",
|
|
7694
|
+
"name": "read",
|
|
7695
|
+
"return": {
|
|
7696
|
+
"type": {
|
|
7697
|
+
"text": "Promise<HeadlessReadResult>"
|
|
7698
|
+
}
|
|
7699
|
+
},
|
|
7700
|
+
"parameters": [
|
|
7701
|
+
{
|
|
7702
|
+
"name": "interactionId",
|
|
7703
|
+
"type": {
|
|
7704
|
+
"text": "string"
|
|
7705
|
+
}
|
|
7706
|
+
},
|
|
7707
|
+
{
|
|
7708
|
+
"name": "request",
|
|
7709
|
+
"default": "{}",
|
|
7710
|
+
"type": {
|
|
7711
|
+
"text": "HeadlessReadRequest"
|
|
7712
|
+
}
|
|
7713
|
+
}
|
|
7714
|
+
],
|
|
7715
|
+
"description": "Read from a pending interaction without changing it: one of its views, or (with `tool`) one of\nthe widget tools given to the session. The text is capped. A view the surface does not list is\nrefused, naming those it does, as the autopilot's `widget_read` does."
|
|
7716
|
+
},
|
|
7717
|
+
{
|
|
7718
|
+
"kind": "method",
|
|
7719
|
+
"name": "wait",
|
|
7720
|
+
"return": {
|
|
7721
|
+
"type": {
|
|
7722
|
+
"text": "Promise<HeadlessWaitResult>"
|
|
7723
|
+
}
|
|
7724
|
+
},
|
|
7725
|
+
"parameters": [
|
|
7726
|
+
{
|
|
7727
|
+
"name": "request",
|
|
7728
|
+
"type": {
|
|
7729
|
+
"text": "HeadlessWaitRequest"
|
|
7730
|
+
}
|
|
7731
|
+
}
|
|
7732
|
+
],
|
|
7733
|
+
"description": "Wait for the log to say something, then return what it said. Resolves as soon as an event in\n`until` is in the log after `since` (immediately, when one already is), or at `maxWaitMs` with\nstatus `'working'`. Either way it returns every event after `since`, and `nextSeq`, the cursor\nfor the next call: poll with it and nothing is lost."
|
|
7734
|
+
},
|
|
7735
|
+
{
|
|
7736
|
+
"kind": "method",
|
|
7737
|
+
"name": "eventsSince",
|
|
7738
|
+
"return": {
|
|
7739
|
+
"type": {
|
|
7740
|
+
"text": "readonly HeadlessEvent[]"
|
|
7741
|
+
}
|
|
7742
|
+
},
|
|
7743
|
+
"parameters": [
|
|
7744
|
+
{
|
|
7745
|
+
"name": "since",
|
|
7746
|
+
"default": "0"
|
|
7747
|
+
}
|
|
7748
|
+
],
|
|
7749
|
+
"description": "Every event logged after `since` (default: all the log keeps), without waiting."
|
|
7750
|
+
},
|
|
7751
|
+
{
|
|
7752
|
+
"kind": "method",
|
|
7753
|
+
"name": "state",
|
|
7754
|
+
"return": {
|
|
7755
|
+
"type": {
|
|
7756
|
+
"text": "HeadlessState"
|
|
7757
|
+
}
|
|
7758
|
+
},
|
|
7759
|
+
"description": "What is going on now: whether a turn runs, the interaction the person should answer first (and\nthe others open behind it), the autopilot, what it has cost, and the host's probe."
|
|
7760
|
+
},
|
|
7761
|
+
{
|
|
7762
|
+
"kind": "method",
|
|
7763
|
+
"name": "restore",
|
|
7764
|
+
"return": {
|
|
7765
|
+
"type": {
|
|
7766
|
+
"text": "Promise<HeadlessRestoreOutcome | undefined>"
|
|
7767
|
+
}
|
|
7768
|
+
},
|
|
7769
|
+
"description": "Restore the saved session for this key, as the browser's element does on mount (see\n`HeadlessPersistenceBinding.restore`). Call it before the first `send`. The restored history is\nthe starting point, not news: it is not reported as `message` events or as a turn, and the\nevent log and its cursors carry on from where they are. A no-op without `persistence`."
|
|
7770
|
+
},
|
|
7771
|
+
{
|
|
7772
|
+
"kind": "method",
|
|
7773
|
+
"name": "flush",
|
|
7774
|
+
"return": {
|
|
7775
|
+
"type": {
|
|
7776
|
+
"text": "Promise<void>"
|
|
7777
|
+
}
|
|
7778
|
+
},
|
|
7779
|
+
"description": "Save the session now: the snapshot, and the diagnostics appended since the last flush, rather\nthan at the next throttled save. A no-op without `persistence`."
|
|
7780
|
+
},
|
|
7781
|
+
{
|
|
7782
|
+
"kind": "method",
|
|
7783
|
+
"name": "debugLog",
|
|
7784
|
+
"return": {
|
|
7785
|
+
"type": {
|
|
7786
|
+
"text": "Promise<DebugLog>"
|
|
7787
|
+
}
|
|
7788
|
+
},
|
|
7789
|
+
"description": "The debug log, the document the browser's Download gives. With `persistence`, the log of the\nwhole session stitched from the stored stream with a fresh `meta-snapshot` (`lifetimeDebugLog`,\nthe same code); without, the current page's, from `buildDiagnosticEntries`. Never throws."
|
|
7790
|
+
},
|
|
7791
|
+
{
|
|
7792
|
+
"kind": "method",
|
|
7793
|
+
"name": "stop",
|
|
7794
|
+
"return": {
|
|
7795
|
+
"type": {
|
|
7796
|
+
"text": "HeadlessResult"
|
|
7797
|
+
}
|
|
7798
|
+
},
|
|
7799
|
+
"description": "Stop the running turn, when the driver can."
|
|
7800
|
+
},
|
|
7801
|
+
{
|
|
7802
|
+
"kind": "method",
|
|
7803
|
+
"name": "autopilot",
|
|
7804
|
+
"return": {
|
|
7805
|
+
"type": {
|
|
7806
|
+
"text": "HeadlessResult"
|
|
7807
|
+
}
|
|
7808
|
+
},
|
|
7809
|
+
"parameters": [
|
|
7810
|
+
{
|
|
7811
|
+
"name": "mode",
|
|
7812
|
+
"type": {
|
|
7813
|
+
"text": "'pause' | 'resume' | 'stop' | 'keepPaused'"
|
|
7814
|
+
}
|
|
7815
|
+
},
|
|
7816
|
+
{
|
|
7817
|
+
"name": "interactionId",
|
|
7818
|
+
"optional": true,
|
|
7819
|
+
"type": {
|
|
7820
|
+
"text": "string"
|
|
7821
|
+
}
|
|
7822
|
+
}
|
|
7823
|
+
],
|
|
7824
|
+
"description": "Pause, resume or stop the autopilot, when there is one. Pausing hands what it holds to the\nperson, which then appears as a `decision`.\n\n`'keepPaused'` is the hand-back banner's \"Keep paused\": it turns the autopilot's own hand-back\nof one interaction into an ordinary pause, so it does not take the question back once it is\nanswered. `interactionId` names the interaction handed back; omitted, it is the one the\nautopilot's own pause is waiting on (`state().autopilot`'s hand-back, the `decision` it left\nwith the person). Refused, with why, when the autopilot has handed nothing back, when\n`interactionId` is not the one it handed back, or when the host cannot keep paused; the host's\nown `keepPaused` would do nothing in those cases without saying so."
|
|
7825
|
+
},
|
|
7826
|
+
{
|
|
7827
|
+
"kind": "method",
|
|
7828
|
+
"name": "keepPaused",
|
|
7829
|
+
"privacy": "private",
|
|
7830
|
+
"return": {
|
|
7831
|
+
"type": {
|
|
7832
|
+
"text": "HeadlessResult"
|
|
7833
|
+
}
|
|
7834
|
+
},
|
|
7835
|
+
"parameters": [
|
|
7836
|
+
{
|
|
7837
|
+
"name": "host",
|
|
7838
|
+
"type": {
|
|
7839
|
+
"text": "AutopilotLike"
|
|
7840
|
+
}
|
|
7841
|
+
},
|
|
7842
|
+
{
|
|
7843
|
+
"name": "interactionId",
|
|
7844
|
+
"type": {
|
|
7845
|
+
"text": "string | undefined"
|
|
7846
|
+
}
|
|
7847
|
+
}
|
|
7848
|
+
]
|
|
7849
|
+
},
|
|
7850
|
+
{
|
|
7851
|
+
"kind": "method",
|
|
7852
|
+
"name": "dispose",
|
|
7853
|
+
"return": {
|
|
7854
|
+
"type": {
|
|
7855
|
+
"text": "void"
|
|
7856
|
+
}
|
|
7857
|
+
},
|
|
7858
|
+
"description": "Detach: remove the interceptor and every subscription, and release anyone waiting."
|
|
7859
|
+
},
|
|
7860
|
+
{
|
|
7861
|
+
"kind": "method",
|
|
7862
|
+
"name": "listen",
|
|
7863
|
+
"privacy": "private",
|
|
7864
|
+
"return": {
|
|
7865
|
+
"type": {
|
|
7866
|
+
"text": "void"
|
|
7867
|
+
}
|
|
7868
|
+
},
|
|
7869
|
+
"parameters": [
|
|
7870
|
+
{
|
|
7871
|
+
"name": "type",
|
|
7872
|
+
"type": {
|
|
7873
|
+
"text": "string"
|
|
7874
|
+
}
|
|
7875
|
+
},
|
|
7876
|
+
{
|
|
7877
|
+
"name": "handler",
|
|
7878
|
+
"type": {
|
|
7879
|
+
"text": "(e: Event) => void"
|
|
7880
|
+
}
|
|
7881
|
+
}
|
|
7882
|
+
]
|
|
7883
|
+
},
|
|
7884
|
+
{
|
|
7885
|
+
"kind": "method",
|
|
7886
|
+
"name": "history",
|
|
7887
|
+
"privacy": "private",
|
|
7888
|
+
"return": {
|
|
7889
|
+
"type": {
|
|
7890
|
+
"text": "readonly ChatMessage[]"
|
|
7891
|
+
}
|
|
7892
|
+
}
|
|
7893
|
+
},
|
|
7894
|
+
{
|
|
7895
|
+
"kind": "method",
|
|
7896
|
+
"name": "onOpened",
|
|
7897
|
+
"privacy": "private",
|
|
7898
|
+
"return": {
|
|
7899
|
+
"type": {
|
|
7900
|
+
"text": "void"
|
|
7901
|
+
}
|
|
7902
|
+
},
|
|
7903
|
+
"parameters": [
|
|
7904
|
+
{
|
|
7905
|
+
"name": "opened",
|
|
7906
|
+
"type": {
|
|
7907
|
+
"text": "InteractionOpened"
|
|
7908
|
+
}
|
|
7909
|
+
}
|
|
7910
|
+
],
|
|
7911
|
+
"description": "An interaction opened: watch it. Who holds it is not decided yet, so it is reported later."
|
|
7912
|
+
},
|
|
7913
|
+
{
|
|
7914
|
+
"kind": "method",
|
|
7915
|
+
"name": "onSettled",
|
|
7916
|
+
"privacy": "private",
|
|
7917
|
+
"return": {
|
|
7918
|
+
"type": {
|
|
7919
|
+
"text": "void"
|
|
7920
|
+
}
|
|
7921
|
+
},
|
|
7922
|
+
"parameters": [
|
|
7923
|
+
{
|
|
7924
|
+
"name": "detail",
|
|
7925
|
+
"type": {
|
|
7926
|
+
"text": "{\n interactionId: string;\n answeredBy?: string;\n resolvedItself?: boolean;\n }"
|
|
7927
|
+
}
|
|
7928
|
+
}
|
|
7929
|
+
],
|
|
7930
|
+
"description": "The driver says an interaction settled, by whatever route."
|
|
7931
|
+
},
|
|
7932
|
+
{
|
|
7933
|
+
"kind": "method",
|
|
7934
|
+
"name": "onEnded",
|
|
7935
|
+
"privacy": "private",
|
|
7936
|
+
"return": {
|
|
7937
|
+
"type": {
|
|
7938
|
+
"text": "void"
|
|
7939
|
+
}
|
|
7940
|
+
},
|
|
7941
|
+
"parameters": [
|
|
7942
|
+
{
|
|
7943
|
+
"name": "t",
|
|
7944
|
+
"type": {
|
|
7945
|
+
"text": "Tracked"
|
|
7946
|
+
}
|
|
7947
|
+
}
|
|
7948
|
+
],
|
|
7949
|
+
"description": "The interaction's context was disposed: if nothing said it settled, say it did."
|
|
7950
|
+
},
|
|
7951
|
+
{
|
|
7952
|
+
"kind": "method",
|
|
7953
|
+
"name": "settle",
|
|
7954
|
+
"privacy": "private",
|
|
7955
|
+
"return": {
|
|
7956
|
+
"type": {
|
|
7957
|
+
"text": "void"
|
|
7958
|
+
}
|
|
7959
|
+
},
|
|
7960
|
+
"parameters": [
|
|
7961
|
+
{
|
|
7962
|
+
"name": "t",
|
|
7963
|
+
"type": {
|
|
7964
|
+
"text": "Tracked"
|
|
7965
|
+
}
|
|
7966
|
+
},
|
|
7967
|
+
{
|
|
7968
|
+
"name": "how",
|
|
7969
|
+
"type": {
|
|
7970
|
+
"text": "{ answeredBy?: string; resolvedItself?: boolean; auto?: boolean; raw?: boolean }"
|
|
7971
|
+
}
|
|
7972
|
+
}
|
|
7973
|
+
]
|
|
7974
|
+
},
|
|
7975
|
+
{
|
|
7976
|
+
"kind": "method",
|
|
7977
|
+
"name": "release",
|
|
7978
|
+
"privacy": "private",
|
|
7979
|
+
"return": {
|
|
7980
|
+
"type": {
|
|
7981
|
+
"text": "void"
|
|
7982
|
+
}
|
|
7983
|
+
},
|
|
7984
|
+
"parameters": [
|
|
7985
|
+
{
|
|
7986
|
+
"name": "t",
|
|
7987
|
+
"type": {
|
|
7988
|
+
"text": "Tracked"
|
|
7989
|
+
}
|
|
7990
|
+
}
|
|
7991
|
+
]
|
|
7992
|
+
},
|
|
7993
|
+
{
|
|
7994
|
+
"kind": "method",
|
|
7995
|
+
"name": "onHistory",
|
|
7996
|
+
"privacy": "private",
|
|
7997
|
+
"return": {
|
|
7998
|
+
"type": {
|
|
7999
|
+
"text": "void"
|
|
8000
|
+
}
|
|
8001
|
+
},
|
|
8002
|
+
"description": "New messages in the driver's history: report what the person would see of them."
|
|
8003
|
+
},
|
|
8004
|
+
{
|
|
8005
|
+
"kind": "method",
|
|
8006
|
+
"name": "reportMessages",
|
|
8007
|
+
"privacy": "private",
|
|
8008
|
+
"return": {
|
|
8009
|
+
"type": {
|
|
8010
|
+
"text": "void"
|
|
8011
|
+
}
|
|
8012
|
+
}
|
|
8013
|
+
},
|
|
8014
|
+
{
|
|
8015
|
+
"kind": "method",
|
|
8016
|
+
"name": "onAutopilot",
|
|
8017
|
+
"privacy": "private",
|
|
8018
|
+
"return": {
|
|
8019
|
+
"type": {
|
|
8020
|
+
"text": "void"
|
|
8021
|
+
}
|
|
8022
|
+
}
|
|
8023
|
+
},
|
|
8024
|
+
{
|
|
8025
|
+
"kind": "method",
|
|
8026
|
+
"name": "autopilotSignature",
|
|
8027
|
+
"privacy": "private",
|
|
8028
|
+
"return": {
|
|
8029
|
+
"type": {
|
|
8030
|
+
"text": "string"
|
|
8031
|
+
}
|
|
8032
|
+
}
|
|
8033
|
+
},
|
|
8034
|
+
{
|
|
8035
|
+
"kind": "method",
|
|
8036
|
+
"name": "describe",
|
|
8037
|
+
"privacy": "private",
|
|
8038
|
+
"return": {
|
|
8039
|
+
"type": {
|
|
8040
|
+
"text": "InteractionDescription"
|
|
8041
|
+
}
|
|
8042
|
+
},
|
|
8043
|
+
"parameters": [
|
|
8044
|
+
{
|
|
8045
|
+
"name": "t",
|
|
8046
|
+
"type": {
|
|
8047
|
+
"text": "Tracked"
|
|
8048
|
+
}
|
|
8049
|
+
}
|
|
8050
|
+
]
|
|
8051
|
+
},
|
|
8052
|
+
{
|
|
8053
|
+
"kind": "method",
|
|
8054
|
+
"name": "evaluate",
|
|
8055
|
+
"privacy": "private",
|
|
8056
|
+
"return": {
|
|
8057
|
+
"type": {
|
|
8058
|
+
"text": "void"
|
|
8059
|
+
}
|
|
8060
|
+
},
|
|
8061
|
+
"parameters": [
|
|
8062
|
+
{
|
|
8063
|
+
"name": "t",
|
|
8064
|
+
"type": {
|
|
8065
|
+
"text": "Tracked"
|
|
8066
|
+
}
|
|
8067
|
+
}
|
|
8068
|
+
],
|
|
8069
|
+
"description": "Report where an interaction stands, when that has changed. A `decision` when the person holds\nit and can act; `working` when a claimant holds it or it is not ready yet. A `decision` is\nlogged again only when its description changed materially: who holds it, whether it is ready\nor has a controller, or which actions are enabled. The text and facts alone do not count."
|
|
8070
|
+
},
|
|
8071
|
+
{
|
|
8072
|
+
"kind": "method",
|
|
8073
|
+
"name": "autoSettle",
|
|
8074
|
+
"privacy": "private",
|
|
8075
|
+
"return": {
|
|
8076
|
+
"type": {
|
|
8077
|
+
"text": "boolean"
|
|
8078
|
+
}
|
|
8079
|
+
},
|
|
8080
|
+
"parameters": [
|
|
8081
|
+
{
|
|
8082
|
+
"name": "t",
|
|
8083
|
+
"type": {
|
|
8084
|
+
"text": "Tracked"
|
|
8085
|
+
}
|
|
8086
|
+
}
|
|
8087
|
+
],
|
|
8088
|
+
"description": "Settle a widget that settles itself in a browser, as it would on mounting. Once, and only when\nthe person holds it. Returns whether it settled it."
|
|
8089
|
+
},
|
|
8090
|
+
{
|
|
8091
|
+
"kind": "method",
|
|
8092
|
+
"name": "readTool",
|
|
8093
|
+
"privacy": "private",
|
|
8094
|
+
"return": {
|
|
8095
|
+
"type": {
|
|
8096
|
+
"text": "Promise<HeadlessReadResult>"
|
|
8097
|
+
}
|
|
8098
|
+
},
|
|
8099
|
+
"parameters": [
|
|
8100
|
+
{
|
|
8101
|
+
"name": "t",
|
|
8102
|
+
"type": {
|
|
8103
|
+
"text": "Tracked"
|
|
8104
|
+
}
|
|
8105
|
+
},
|
|
8106
|
+
{
|
|
8107
|
+
"name": "name",
|
|
8108
|
+
"type": {
|
|
8109
|
+
"text": "string"
|
|
8110
|
+
}
|
|
8111
|
+
},
|
|
8112
|
+
{
|
|
8113
|
+
"name": "args",
|
|
8114
|
+
"type": {
|
|
8115
|
+
"text": "Record<string, unknown> | undefined"
|
|
8116
|
+
}
|
|
8117
|
+
}
|
|
8118
|
+
]
|
|
8119
|
+
},
|
|
8001
8120
|
{
|
|
8002
|
-
"
|
|
8003
|
-
"
|
|
8004
|
-
|
|
8005
|
-
|
|
8121
|
+
"kind": "method",
|
|
8122
|
+
"name": "observe",
|
|
8123
|
+
"privacy": "private",
|
|
8124
|
+
"return": {
|
|
8125
|
+
"type": {
|
|
8126
|
+
"text": "void"
|
|
8127
|
+
}
|
|
8128
|
+
},
|
|
8129
|
+
"description": "Notice a turn begin or end, whoever started it. The driver being busy (or a `send` in flight)\nis a turn; once it has been idle for a beat the turn is over and is reported, once. The beat\ncovers the gaps inside one turn, such as a hand-off continuing it, which are a microtask long.\nA turn that begins the instant another ends, with no idle between, is reported as one."
|
|
8006
8130
|
},
|
|
8007
8131
|
{
|
|
8008
|
-
"
|
|
8009
|
-
"
|
|
8010
|
-
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
"name": "cannotBeChanged",
|
|
8019
|
-
"return": {
|
|
8020
|
-
"type": {
|
|
8021
|
-
"text": "string"
|
|
8022
|
-
}
|
|
8023
|
-
},
|
|
8024
|
-
"parameters": [
|
|
8132
|
+
"kind": "method",
|
|
8133
|
+
"name": "closeTurn",
|
|
8134
|
+
"privacy": "private",
|
|
8135
|
+
"return": {
|
|
8136
|
+
"type": {
|
|
8137
|
+
"text": "void"
|
|
8138
|
+
}
|
|
8139
|
+
},
|
|
8140
|
+
"description": "Report the open turn as ended, unless the driver is busy again."
|
|
8141
|
+
},
|
|
8025
8142
|
{
|
|
8026
|
-
"
|
|
8027
|
-
"
|
|
8028
|
-
|
|
8143
|
+
"kind": "method",
|
|
8144
|
+
"name": "startPolling",
|
|
8145
|
+
"privacy": "private",
|
|
8146
|
+
"return": {
|
|
8147
|
+
"type": {
|
|
8148
|
+
"text": "void"
|
|
8149
|
+
}
|
|
8150
|
+
},
|
|
8151
|
+
"description": "Without a shared bus nothing says a turn ended, so while one is open the driver is asked."
|
|
8152
|
+
},
|
|
8153
|
+
{
|
|
8154
|
+
"kind": "method",
|
|
8155
|
+
"name": "stopPolling",
|
|
8156
|
+
"privacy": "private",
|
|
8157
|
+
"return": {
|
|
8158
|
+
"type": {
|
|
8159
|
+
"text": "void"
|
|
8160
|
+
}
|
|
8029
8161
|
}
|
|
8030
8162
|
},
|
|
8031
8163
|
{
|
|
8032
|
-
"
|
|
8033
|
-
"
|
|
8034
|
-
|
|
8164
|
+
"kind": "method",
|
|
8165
|
+
"name": "logTurn",
|
|
8166
|
+
"privacy": "private",
|
|
8167
|
+
"return": {
|
|
8168
|
+
"type": {
|
|
8169
|
+
"text": "void"
|
|
8170
|
+
}
|
|
8171
|
+
},
|
|
8172
|
+
"parameters": [
|
|
8173
|
+
{
|
|
8174
|
+
"name": "reason",
|
|
8175
|
+
"type": {
|
|
8176
|
+
"text": "string"
|
|
8177
|
+
}
|
|
8178
|
+
},
|
|
8179
|
+
{
|
|
8180
|
+
"name": "failureReason",
|
|
8181
|
+
"type": {
|
|
8182
|
+
"text": "string | undefined"
|
|
8183
|
+
}
|
|
8184
|
+
},
|
|
8185
|
+
{
|
|
8186
|
+
"name": "start",
|
|
8187
|
+
"type": {
|
|
8188
|
+
"text": "number"
|
|
8189
|
+
}
|
|
8190
|
+
}
|
|
8191
|
+
]
|
|
8192
|
+
},
|
|
8193
|
+
{
|
|
8194
|
+
"kind": "method",
|
|
8195
|
+
"name": "log",
|
|
8196
|
+
"privacy": "private",
|
|
8197
|
+
"return": {
|
|
8198
|
+
"type": {
|
|
8199
|
+
"text": "void"
|
|
8200
|
+
}
|
|
8201
|
+
},
|
|
8202
|
+
"parameters": [
|
|
8203
|
+
{
|
|
8204
|
+
"name": "event",
|
|
8205
|
+
"type": {
|
|
8206
|
+
"text": "NewEvent"
|
|
8207
|
+
}
|
|
8208
|
+
}
|
|
8209
|
+
]
|
|
8210
|
+
},
|
|
8211
|
+
{
|
|
8212
|
+
"kind": "method",
|
|
8213
|
+
"name": "append",
|
|
8214
|
+
"privacy": "private",
|
|
8215
|
+
"return": {
|
|
8216
|
+
"type": {
|
|
8217
|
+
"text": "void"
|
|
8218
|
+
}
|
|
8219
|
+
},
|
|
8220
|
+
"parameters": [
|
|
8221
|
+
{
|
|
8222
|
+
"name": "event",
|
|
8223
|
+
"type": {
|
|
8224
|
+
"text": "NewEvent"
|
|
8225
|
+
}
|
|
8226
|
+
}
|
|
8227
|
+
]
|
|
8228
|
+
},
|
|
8229
|
+
{
|
|
8230
|
+
"kind": "method",
|
|
8231
|
+
"name": "readProbe",
|
|
8232
|
+
"privacy": "private",
|
|
8233
|
+
"return": {
|
|
8234
|
+
"type": {
|
|
8235
|
+
"text": "Record<string, unknown>"
|
|
8236
|
+
}
|
|
8035
8237
|
}
|
|
8238
|
+
},
|
|
8239
|
+
{
|
|
8240
|
+
"kind": "method",
|
|
8241
|
+
"name": "checkProbe",
|
|
8242
|
+
"privacy": "private",
|
|
8243
|
+
"return": {
|
|
8244
|
+
"type": {
|
|
8245
|
+
"text": "void"
|
|
8246
|
+
}
|
|
8247
|
+
},
|
|
8248
|
+
"description": "Read the probe again; a change in any top-level value is a `probe` event."
|
|
8249
|
+
},
|
|
8250
|
+
{
|
|
8251
|
+
"kind": "method",
|
|
8252
|
+
"name": "waited",
|
|
8253
|
+
"privacy": "private",
|
|
8254
|
+
"return": {
|
|
8255
|
+
"type": {
|
|
8256
|
+
"text": "HeadlessWaitResult"
|
|
8257
|
+
}
|
|
8258
|
+
},
|
|
8259
|
+
"parameters": [
|
|
8260
|
+
{
|
|
8261
|
+
"name": "since",
|
|
8262
|
+
"type": {
|
|
8263
|
+
"text": "number"
|
|
8264
|
+
}
|
|
8265
|
+
},
|
|
8266
|
+
{
|
|
8267
|
+
"name": "status",
|
|
8268
|
+
"type": {
|
|
8269
|
+
"text": "HeadlessWaitResult['status']"
|
|
8270
|
+
}
|
|
8271
|
+
}
|
|
8272
|
+
]
|
|
8036
8273
|
}
|
|
8037
|
-
]
|
|
8038
|
-
"description": "What a modify says about a new value it cannot check."
|
|
8274
|
+
]
|
|
8039
8275
|
}
|
|
8040
8276
|
],
|
|
8041
8277
|
"exports": [
|
|
8042
8278
|
{
|
|
8043
8279
|
"kind": "js",
|
|
8044
|
-
"name": "
|
|
8280
|
+
"name": "HeadlessSession",
|
|
8281
|
+
"declaration": {
|
|
8282
|
+
"name": "HeadlessSession",
|
|
8283
|
+
"module": "src/headless/headless-session.ts"
|
|
8284
|
+
}
|
|
8285
|
+
}
|
|
8286
|
+
]
|
|
8287
|
+
},
|
|
8288
|
+
{
|
|
8289
|
+
"kind": "javascript-module",
|
|
8290
|
+
"path": "src/headless/headless.types.ts",
|
|
8291
|
+
"declarations": [],
|
|
8292
|
+
"exports": []
|
|
8293
|
+
},
|
|
8294
|
+
{
|
|
8295
|
+
"kind": "javascript-module",
|
|
8296
|
+
"path": "src/headless/index.ts",
|
|
8297
|
+
"declarations": [],
|
|
8298
|
+
"exports": [
|
|
8299
|
+
{
|
|
8300
|
+
"kind": "js",
|
|
8301
|
+
"name": "describeInteraction",
|
|
8302
|
+
"declaration": {
|
|
8303
|
+
"name": "describeInteraction",
|
|
8304
|
+
"module": "./describe-interaction"
|
|
8305
|
+
}
|
|
8306
|
+
},
|
|
8307
|
+
{
|
|
8308
|
+
"kind": "js",
|
|
8309
|
+
"name": "headlessCurrentDebugLog",
|
|
8310
|
+
"declaration": {
|
|
8311
|
+
"name": "headlessCurrentDebugLog",
|
|
8312
|
+
"module": "./headless-debug"
|
|
8313
|
+
}
|
|
8314
|
+
},
|
|
8315
|
+
{
|
|
8316
|
+
"kind": "js",
|
|
8317
|
+
"name": "headlessDiagnosticEntries",
|
|
8045
8318
|
"declaration": {
|
|
8046
|
-
"name": "
|
|
8047
|
-
"module": "
|
|
8319
|
+
"name": "headlessDiagnosticEntries",
|
|
8320
|
+
"module": "./headless-debug"
|
|
8048
8321
|
}
|
|
8049
8322
|
},
|
|
8050
8323
|
{
|
|
8051
8324
|
"kind": "js",
|
|
8052
|
-
"name": "
|
|
8325
|
+
"name": "headlessMetaSnapshot",
|
|
8053
8326
|
"declaration": {
|
|
8054
|
-
"name": "
|
|
8055
|
-
"module": "
|
|
8327
|
+
"name": "headlessMetaSnapshot",
|
|
8328
|
+
"module": "./headless-debug"
|
|
8056
8329
|
}
|
|
8057
8330
|
},
|
|
8058
8331
|
{
|
|
8059
8332
|
"kind": "js",
|
|
8060
|
-
"name": "
|
|
8333
|
+
"name": "HeadlessSession",
|
|
8061
8334
|
"declaration": {
|
|
8062
|
-
"name": "
|
|
8063
|
-
"module": "
|
|
8335
|
+
"name": "HeadlessSession",
|
|
8336
|
+
"module": "./headless-session"
|
|
8064
8337
|
}
|
|
8065
|
-
}
|
|
8066
|
-
]
|
|
8067
|
-
},
|
|
8068
|
-
{
|
|
8069
|
-
"kind": "javascript-module",
|
|
8070
|
-
"path": "src/genesis/reference-existence.ts",
|
|
8071
|
-
"declarations": [
|
|
8338
|
+
},
|
|
8072
8339
|
{
|
|
8073
|
-
"kind": "
|
|
8074
|
-
"name": "
|
|
8075
|
-
"
|
|
8076
|
-
"
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
"description": "The most distinct values one call may check."
|
|
8340
|
+
"kind": "js",
|
|
8341
|
+
"name": "AutopilotLike",
|
|
8342
|
+
"declaration": {
|
|
8343
|
+
"name": "AutopilotLike",
|
|
8344
|
+
"module": "./headless.types"
|
|
8345
|
+
}
|
|
8080
8346
|
},
|
|
8081
8347
|
{
|
|
8082
|
-
"kind": "
|
|
8083
|
-
"name": "
|
|
8084
|
-
"
|
|
8085
|
-
"
|
|
8086
|
-
|
|
8087
|
-
|
|
8088
|
-
|
|
8089
|
-
"parameters": [
|
|
8090
|
-
{
|
|
8091
|
-
"name": "rows",
|
|
8092
|
-
"type": {
|
|
8093
|
-
"text": "readonly T[]"
|
|
8094
|
-
}
|
|
8095
|
-
},
|
|
8096
|
-
{
|
|
8097
|
-
"name": "problems",
|
|
8098
|
-
"type": {
|
|
8099
|
-
"text": "ReadonlyMap<number, string[]>"
|
|
8100
|
-
}
|
|
8101
|
-
}
|
|
8102
|
-
],
|
|
8103
|
-
"description": "The rows with what the check found added to their problems."
|
|
8104
|
-
}
|
|
8105
|
-
],
|
|
8106
|
-
"exports": [
|
|
8348
|
+
"kind": "js",
|
|
8349
|
+
"name": "DescribedAction",
|
|
8350
|
+
"declaration": {
|
|
8351
|
+
"name": "DescribedAction",
|
|
8352
|
+
"module": "./headless.types"
|
|
8353
|
+
}
|
|
8354
|
+
},
|
|
8107
8355
|
{
|
|
8108
8356
|
"kind": "js",
|
|
8109
|
-
"name": "
|
|
8357
|
+
"name": "DescribeInteractionInput",
|
|
8110
8358
|
"declaration": {
|
|
8111
|
-
"name": "
|
|
8112
|
-
"module": "
|
|
8359
|
+
"name": "DescribeInteractionInput",
|
|
8360
|
+
"module": "./headless.types"
|
|
8113
8361
|
}
|
|
8114
8362
|
},
|
|
8115
8363
|
{
|
|
8116
8364
|
"kind": "js",
|
|
8117
|
-
"name": "
|
|
8365
|
+
"name": "HeadlessActArgs",
|
|
8118
8366
|
"declaration": {
|
|
8119
|
-
"name": "
|
|
8120
|
-
"module": "
|
|
8367
|
+
"name": "HeadlessActArgs",
|
|
8368
|
+
"module": "./headless.types"
|
|
8121
8369
|
}
|
|
8122
|
-
}
|
|
8123
|
-
]
|
|
8124
|
-
},
|
|
8125
|
-
{
|
|
8126
|
-
"kind": "javascript-module",
|
|
8127
|
-
"path": "src/genesis/register-genesis-assistant.ts",
|
|
8128
|
-
"declarations": [
|
|
8370
|
+
},
|
|
8129
8371
|
{
|
|
8130
|
-
"kind": "
|
|
8131
|
-
"name": "
|
|
8132
|
-
"
|
|
8133
|
-
"
|
|
8134
|
-
|
|
8135
|
-
|
|
8136
|
-
"description": "The name of the agent registerGenesisAssistant builds."
|
|
8372
|
+
"kind": "js",
|
|
8373
|
+
"name": "HeadlessActResult",
|
|
8374
|
+
"declaration": {
|
|
8375
|
+
"name": "HeadlessActResult",
|
|
8376
|
+
"module": "./headless.types"
|
|
8377
|
+
}
|
|
8137
8378
|
},
|
|
8138
8379
|
{
|
|
8139
|
-
"kind": "
|
|
8140
|
-
"name": "
|
|
8141
|
-
"
|
|
8142
|
-
"
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8146
|
-
"parameters": [
|
|
8147
|
-
{
|
|
8148
|
-
"name": "options",
|
|
8149
|
-
"type": {
|
|
8150
|
-
"text": "RegisterGenesisAssistantOptions"
|
|
8151
|
-
}
|
|
8152
|
-
}
|
|
8153
|
-
],
|
|
8154
|
-
"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."
|
|
8155
|
-
}
|
|
8156
|
-
],
|
|
8157
|
-
"exports": [
|
|
8380
|
+
"kind": "js",
|
|
8381
|
+
"name": "HeadlessDebugOptions",
|
|
8382
|
+
"declaration": {
|
|
8383
|
+
"name": "HeadlessDebugOptions",
|
|
8384
|
+
"module": "./headless.types"
|
|
8385
|
+
}
|
|
8386
|
+
},
|
|
8158
8387
|
{
|
|
8159
8388
|
"kind": "js",
|
|
8160
|
-
"name": "
|
|
8389
|
+
"name": "HeadlessEvent",
|
|
8161
8390
|
"declaration": {
|
|
8162
|
-
"name": "
|
|
8163
|
-
"module": "
|
|
8391
|
+
"name": "HeadlessEvent",
|
|
8392
|
+
"module": "./headless.types"
|
|
8164
8393
|
}
|
|
8165
8394
|
},
|
|
8166
8395
|
{
|
|
8167
8396
|
"kind": "js",
|
|
8168
|
-
"name": "
|
|
8397
|
+
"name": "HeadlessEventBase",
|
|
8169
8398
|
"declaration": {
|
|
8170
|
-
"name": "
|
|
8171
|
-
"module": "
|
|
8399
|
+
"name": "HeadlessEventBase",
|
|
8400
|
+
"module": "./headless.types"
|
|
8172
8401
|
}
|
|
8173
|
-
}
|
|
8174
|
-
]
|
|
8175
|
-
},
|
|
8176
|
-
{
|
|
8177
|
-
"kind": "javascript-module",
|
|
8178
|
-
"path": "src/genesis/resource-tools.ts",
|
|
8179
|
-
"declarations": [
|
|
8402
|
+
},
|
|
8180
8403
|
{
|
|
8181
|
-
"kind": "
|
|
8182
|
-
"name": "
|
|
8183
|
-
"
|
|
8184
|
-
"
|
|
8185
|
-
|
|
8186
|
-
|
|
8187
|
-
"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."
|
|
8404
|
+
"kind": "js",
|
|
8405
|
+
"name": "HeadlessEventType",
|
|
8406
|
+
"declaration": {
|
|
8407
|
+
"name": "HeadlessEventType",
|
|
8408
|
+
"module": "./headless.types"
|
|
8409
|
+
}
|
|
8188
8410
|
},
|
|
8189
8411
|
{
|
|
8190
|
-
"kind": "
|
|
8191
|
-
"name": "
|
|
8192
|
-
"
|
|
8193
|
-
"
|
|
8194
|
-
|
|
8195
|
-
|
|
8196
|
-
|
|
8197
|
-
"parameters": [
|
|
8198
|
-
{
|
|
8199
|
-
"name": "resources",
|
|
8200
|
-
"type": {
|
|
8201
|
-
"text": "readonly GenesisAiResource[]"
|
|
8202
|
-
}
|
|
8203
|
-
},
|
|
8204
|
-
{
|
|
8205
|
-
"name": "options",
|
|
8206
|
-
"default": "{}",
|
|
8207
|
-
"type": {
|
|
8208
|
-
"text": "GenesisResourceToolsOptions"
|
|
8209
|
-
}
|
|
8210
|
-
}
|
|
8211
|
-
],
|
|
8212
|
-
"description": "Builds the assistant's tools from an app's resources."
|
|
8213
|
-
}
|
|
8214
|
-
],
|
|
8215
|
-
"exports": [
|
|
8412
|
+
"kind": "js",
|
|
8413
|
+
"name": "HeadlessPersistence",
|
|
8414
|
+
"declaration": {
|
|
8415
|
+
"name": "HeadlessPersistence",
|
|
8416
|
+
"module": "./headless.types"
|
|
8417
|
+
}
|
|
8418
|
+
},
|
|
8216
8419
|
{
|
|
8217
8420
|
"kind": "js",
|
|
8218
|
-
"name": "
|
|
8421
|
+
"name": "HeadlessPersistenceBinding",
|
|
8219
8422
|
"declaration": {
|
|
8220
|
-
"name": "
|
|
8221
|
-
"module": "
|
|
8423
|
+
"name": "HeadlessPersistenceBinding",
|
|
8424
|
+
"module": "./headless.types"
|
|
8222
8425
|
}
|
|
8223
8426
|
},
|
|
8224
8427
|
{
|
|
8225
8428
|
"kind": "js",
|
|
8226
|
-
"name": "
|
|
8429
|
+
"name": "HeadlessPersistenceHost",
|
|
8227
8430
|
"declaration": {
|
|
8228
|
-
"name": "
|
|
8229
|
-
"module": "
|
|
8431
|
+
"name": "HeadlessPersistenceHost",
|
|
8432
|
+
"module": "./headless.types"
|
|
8230
8433
|
}
|
|
8231
|
-
}
|
|
8232
|
-
]
|
|
8233
|
-
},
|
|
8234
|
-
{
|
|
8235
|
-
"kind": "javascript-module",
|
|
8236
|
-
"path": "src/genesis/review-model.ts",
|
|
8237
|
-
"declarations": [
|
|
8434
|
+
},
|
|
8238
8435
|
{
|
|
8239
|
-
"kind": "
|
|
8240
|
-
"name": "
|
|
8241
|
-
"
|
|
8242
|
-
"
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
}
|
|
8247
|
-
],
|
|
8248
|
-
"exports": [
|
|
8436
|
+
"kind": "js",
|
|
8437
|
+
"name": "HeadlessReadRequest",
|
|
8438
|
+
"declaration": {
|
|
8439
|
+
"name": "HeadlessReadRequest",
|
|
8440
|
+
"module": "./headless.types"
|
|
8441
|
+
}
|
|
8442
|
+
},
|
|
8249
8443
|
{
|
|
8250
8444
|
"kind": "js",
|
|
8251
|
-
"name": "
|
|
8445
|
+
"name": "HeadlessReadResult",
|
|
8252
8446
|
"declaration": {
|
|
8253
|
-
"name": "
|
|
8254
|
-
"module": "./
|
|
8447
|
+
"name": "HeadlessReadResult",
|
|
8448
|
+
"module": "./headless.types"
|
|
8255
8449
|
}
|
|
8256
8450
|
},
|
|
8257
8451
|
{
|
|
8258
8452
|
"kind": "js",
|
|
8259
|
-
"name": "
|
|
8453
|
+
"name": "HeadlessResult",
|
|
8454
|
+
"declaration": {
|
|
8455
|
+
"name": "HeadlessResult",
|
|
8456
|
+
"module": "./headless.types"
|
|
8457
|
+
}
|
|
8458
|
+
},
|
|
8459
|
+
{
|
|
8460
|
+
"kind": "js",
|
|
8461
|
+
"name": "HeadlessRestoreOutcome",
|
|
8260
8462
|
"declaration": {
|
|
8261
|
-
"name": "
|
|
8262
|
-
"module": "./
|
|
8463
|
+
"name": "HeadlessRestoreOutcome",
|
|
8464
|
+
"module": "./headless.types"
|
|
8263
8465
|
}
|
|
8264
8466
|
},
|
|
8265
8467
|
{
|
|
8266
8468
|
"kind": "js",
|
|
8267
|
-
"name": "
|
|
8469
|
+
"name": "HeadlessSendOptions",
|
|
8268
8470
|
"declaration": {
|
|
8269
|
-
"name": "
|
|
8270
|
-
"module": "
|
|
8471
|
+
"name": "HeadlessSendOptions",
|
|
8472
|
+
"module": "./headless.types"
|
|
8271
8473
|
}
|
|
8272
|
-
}
|
|
8273
|
-
]
|
|
8274
|
-
},
|
|
8275
|
-
{
|
|
8276
|
-
"kind": "javascript-module",
|
|
8277
|
-
"path": "src/genesis/review-payload.ts",
|
|
8278
|
-
"declarations": [],
|
|
8279
|
-
"exports": []
|
|
8280
|
-
},
|
|
8281
|
-
{
|
|
8282
|
-
"kind": "javascript-module",
|
|
8283
|
-
"path": "src/genesis/row-source.ts",
|
|
8284
|
-
"declarations": [],
|
|
8285
|
-
"exports": []
|
|
8286
|
-
},
|
|
8287
|
-
{
|
|
8288
|
-
"kind": "javascript-module",
|
|
8289
|
-
"path": "src/genesis/serialisable.ts",
|
|
8290
|
-
"declarations": [],
|
|
8291
|
-
"exports": []
|
|
8292
|
-
},
|
|
8293
|
-
{
|
|
8294
|
-
"kind": "javascript-module",
|
|
8295
|
-
"path": "src/genesis/server-text.ts",
|
|
8296
|
-
"declarations": [
|
|
8297
|
-
{
|
|
8298
|
-
"kind": "function",
|
|
8299
|
-
"name": "readsLikeFieldName",
|
|
8300
|
-
"return": {
|
|
8301
|
-
"type": {
|
|
8302
|
-
"text": "boolean"
|
|
8303
|
-
}
|
|
8304
|
-
},
|
|
8305
|
-
"parameters": [
|
|
8306
|
-
{
|
|
8307
|
-
"name": "text",
|
|
8308
|
-
"type": {
|
|
8309
|
-
"text": "string"
|
|
8310
|
-
}
|
|
8311
|
-
}
|
|
8312
|
-
],
|
|
8313
|
-
"description": "Whether text is a Genesis identifier, the FIELD_NAME shape. @internal"
|
|
8314
8474
|
},
|
|
8315
|
-
{
|
|
8316
|
-
"kind": "function",
|
|
8317
|
-
"name": "describeFailure",
|
|
8318
|
-
"return": {
|
|
8319
|
-
"type": {
|
|
8320
|
-
"text": "string | undefined"
|
|
8321
|
-
}
|
|
8322
|
-
},
|
|
8323
|
-
"parameters": [
|
|
8324
|
-
{
|
|
8325
|
-
"name": "error",
|
|
8326
|
-
"type": {
|
|
8327
|
-
"text": "unknown"
|
|
8328
|
-
}
|
|
8329
|
-
}
|
|
8330
|
-
],
|
|
8331
|
-
"description": "Whatever a rejection turns out to be, as a sentence."
|
|
8332
|
-
}
|
|
8333
|
-
],
|
|
8334
|
-
"exports": [
|
|
8335
8475
|
{
|
|
8336
8476
|
"kind": "js",
|
|
8337
|
-
"name": "
|
|
8477
|
+
"name": "HeadlessSessionOptions",
|
|
8338
8478
|
"declaration": {
|
|
8339
|
-
"name": "
|
|
8340
|
-
"module": "
|
|
8479
|
+
"name": "HeadlessSessionOptions",
|
|
8480
|
+
"module": "./headless.types"
|
|
8341
8481
|
}
|
|
8342
8482
|
},
|
|
8343
8483
|
{
|
|
8344
8484
|
"kind": "js",
|
|
8345
|
-
"name": "
|
|
8485
|
+
"name": "HeadlessState",
|
|
8346
8486
|
"declaration": {
|
|
8347
|
-
"name": "
|
|
8348
|
-
"module": "
|
|
8487
|
+
"name": "HeadlessState",
|
|
8488
|
+
"module": "./headless.types"
|
|
8349
8489
|
}
|
|
8350
|
-
}
|
|
8351
|
-
]
|
|
8352
|
-
},
|
|
8353
|
-
{
|
|
8354
|
-
"kind": "javascript-module",
|
|
8355
|
-
"path": "src/genesis/type-name.ts",
|
|
8356
|
-
"declarations": [],
|
|
8357
|
-
"exports": []
|
|
8358
|
-
},
|
|
8359
|
-
{
|
|
8360
|
-
"kind": "javascript-module",
|
|
8361
|
-
"path": "src/genesis/types.ts",
|
|
8362
|
-
"declarations": [
|
|
8363
|
-
{
|
|
8364
|
-
"kind": "variable",
|
|
8365
|
-
"name": "GENESIS_EVENT_OPS",
|
|
8366
|
-
"type": {
|
|
8367
|
-
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
8368
|
-
},
|
|
8369
|
-
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
8370
|
-
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
8371
|
-
}
|
|
8372
|
-
],
|
|
8373
|
-
"exports": [
|
|
8490
|
+
},
|
|
8374
8491
|
{
|
|
8375
8492
|
"kind": "js",
|
|
8376
|
-
"name": "
|
|
8493
|
+
"name": "HeadlessWaitRequest",
|
|
8377
8494
|
"declaration": {
|
|
8378
|
-
"name": "
|
|
8379
|
-
"module": "
|
|
8495
|
+
"name": "HeadlessWaitRequest",
|
|
8496
|
+
"module": "./headless.types"
|
|
8380
8497
|
}
|
|
8381
|
-
}
|
|
8382
|
-
]
|
|
8383
|
-
},
|
|
8384
|
-
{
|
|
8385
|
-
"kind": "javascript-module",
|
|
8386
|
-
"path": "src/genesis/value-compare.ts",
|
|
8387
|
-
"declarations": [],
|
|
8388
|
-
"exports": []
|
|
8389
|
-
},
|
|
8390
|
-
{
|
|
8391
|
-
"kind": "javascript-module",
|
|
8392
|
-
"path": "src/genesis/write-commit.ts",
|
|
8393
|
-
"declarations": [],
|
|
8394
|
-
"exports": []
|
|
8395
|
-
},
|
|
8396
|
-
{
|
|
8397
|
-
"kind": "javascript-module",
|
|
8398
|
-
"path": "src/genesis/write-op.ts",
|
|
8399
|
-
"declarations": [],
|
|
8400
|
-
"exports": []
|
|
8401
|
-
},
|
|
8402
|
-
{
|
|
8403
|
-
"kind": "javascript-module",
|
|
8404
|
-
"path": "src/genesis/write-outcome.ts",
|
|
8405
|
-
"declarations": [],
|
|
8406
|
-
"exports": []
|
|
8407
|
-
},
|
|
8408
|
-
{
|
|
8409
|
-
"kind": "javascript-module",
|
|
8410
|
-
"path": "src/genesis/write-payload.ts",
|
|
8411
|
-
"declarations": [
|
|
8412
|
-
{
|
|
8413
|
-
"kind": "function",
|
|
8414
|
-
"name": "buildEventPayload",
|
|
8415
|
-
"return": {
|
|
8416
|
-
"type": {
|
|
8417
|
-
"text": "PayloadResult"
|
|
8418
|
-
}
|
|
8419
|
-
},
|
|
8420
|
-
"parameters": [
|
|
8421
|
-
{
|
|
8422
|
-
"name": "fields",
|
|
8423
|
-
"type": {
|
|
8424
|
-
"text": "readonly GenesisEventField[]"
|
|
8425
|
-
}
|
|
8426
|
-
},
|
|
8427
|
-
{
|
|
8428
|
-
"name": "row",
|
|
8429
|
-
"type": {
|
|
8430
|
-
"text": "unknown"
|
|
8431
|
-
}
|
|
8432
|
-
},
|
|
8433
|
-
{
|
|
8434
|
-
"name": "{ op, preImage, unchecked }",
|
|
8435
|
-
"type": {
|
|
8436
|
-
"text": "BuildPayloadOptions"
|
|
8437
|
-
}
|
|
8438
|
-
}
|
|
8439
|
-
]
|
|
8440
|
-
}
|
|
8441
|
-
],
|
|
8442
|
-
"exports": [
|
|
8498
|
+
},
|
|
8443
8499
|
{
|
|
8444
8500
|
"kind": "js",
|
|
8445
|
-
"name": "
|
|
8501
|
+
"name": "HeadlessWaitResult",
|
|
8446
8502
|
"declaration": {
|
|
8447
|
-
"name": "
|
|
8448
|
-
"module": "
|
|
8503
|
+
"name": "HeadlessWaitResult",
|
|
8504
|
+
"module": "./headless.types"
|
|
8449
8505
|
}
|
|
8450
|
-
}
|
|
8451
|
-
]
|
|
8452
|
-
},
|
|
8453
|
-
{
|
|
8454
|
-
"kind": "javascript-module",
|
|
8455
|
-
"path": "src/genesis/write-plan.ts",
|
|
8456
|
-
"declarations": [
|
|
8457
|
-
{
|
|
8458
|
-
"kind": "variable",
|
|
8459
|
-
"name": "MAX_WRITE_ROWS",
|
|
8460
|
-
"type": {
|
|
8461
|
-
"text": "number"
|
|
8462
|
-
},
|
|
8463
|
-
"default": "25",
|
|
8464
|
-
"description": "A batch a person can actually read before approving it."
|
|
8465
|
-
}
|
|
8466
|
-
],
|
|
8467
|
-
"exports": [
|
|
8506
|
+
},
|
|
8468
8507
|
{
|
|
8469
8508
|
"kind": "js",
|
|
8470
|
-
"name": "
|
|
8509
|
+
"name": "InteractionDescription",
|
|
8471
8510
|
"declaration": {
|
|
8472
|
-
"name": "
|
|
8473
|
-
"module": "
|
|
8511
|
+
"name": "InteractionDescription",
|
|
8512
|
+
"module": "./headless.types"
|
|
8474
8513
|
}
|
|
8475
|
-
}
|
|
8476
|
-
]
|
|
8477
|
-
},
|
|
8478
|
-
{
|
|
8479
|
-
"kind": "javascript-module",
|
|
8480
|
-
"path": "src/genesis/write-tools.ts",
|
|
8481
|
-
"declarations": [
|
|
8482
|
-
{
|
|
8483
|
-
"kind": "function",
|
|
8484
|
-
"name": "createGenesisWriteTools",
|
|
8485
|
-
"return": {
|
|
8486
|
-
"type": {
|
|
8487
|
-
"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}"
|
|
8488
|
-
}
|
|
8489
|
-
},
|
|
8490
|
-
"parameters": [
|
|
8491
|
-
{
|
|
8492
|
-
"name": "resources",
|
|
8493
|
-
"type": {
|
|
8494
|
-
"text": "readonly GenesisAiResource[]"
|
|
8495
|
-
}
|
|
8496
|
-
},
|
|
8497
|
-
{
|
|
8498
|
-
"name": "options",
|
|
8499
|
-
"default": "{}",
|
|
8500
|
-
"type": {
|
|
8501
|
-
"text": "GenesisWriteToolsOptions"
|
|
8502
|
-
}
|
|
8503
|
-
}
|
|
8504
|
-
],
|
|
8505
|
-
"description": "Builds the assistant's write tools from an app's event resources."
|
|
8506
|
-
}
|
|
8507
|
-
],
|
|
8508
|
-
"exports": [
|
|
8514
|
+
},
|
|
8509
8515
|
{
|
|
8510
8516
|
"kind": "js",
|
|
8511
|
-
"name": "
|
|
8517
|
+
"name": "PendingSummary",
|
|
8512
8518
|
"declaration": {
|
|
8513
|
-
"name": "
|
|
8514
|
-
"module": "
|
|
8519
|
+
"name": "PendingSummary",
|
|
8520
|
+
"module": "./headless.types"
|
|
8515
8521
|
}
|
|
8516
8522
|
}
|
|
8517
8523
|
]
|
|
8518
8524
|
},
|
|
8519
|
-
{
|
|
8520
|
-
"kind": "javascript-module",
|
|
8521
|
-
"path": "src/genesis/write-turn.ts",
|
|
8522
|
-
"declarations": [],
|
|
8523
|
-
"exports": []
|
|
8524
|
-
},
|
|
8525
8525
|
{
|
|
8526
8526
|
"kind": "javascript-module",
|
|
8527
8527
|
"path": "src/headless-server/compact.ts",
|