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