@genesislcap/ai-assistant 15.110.3 → 15.111.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +1098 -1098
- package/package.json +17 -17
|
@@ -7394,685 +7394,534 @@
|
|
|
7394
7394
|
},
|
|
7395
7395
|
{
|
|
7396
7396
|
"kind": "javascript-module",
|
|
7397
|
-
"path": "src/
|
|
7397
|
+
"path": "src/genesis/calendar.ts",
|
|
7398
|
+
"declarations": [],
|
|
7399
|
+
"exports": []
|
|
7400
|
+
},
|
|
7401
|
+
{
|
|
7402
|
+
"kind": "javascript-module",
|
|
7403
|
+
"path": "src/genesis/config.ts",
|
|
7398
7404
|
"declarations": [
|
|
7399
7405
|
{
|
|
7400
|
-
"kind": "
|
|
7401
|
-
"name": "
|
|
7402
|
-
"
|
|
7403
|
-
"
|
|
7404
|
-
"text": "{ text: string; chars?: number }"
|
|
7405
|
-
}
|
|
7406
|
+
"kind": "variable",
|
|
7407
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7408
|
+
"type": {
|
|
7409
|
+
"text": "number"
|
|
7406
7410
|
},
|
|
7407
|
-
"
|
|
7408
|
-
|
|
7409
|
-
"name": "text",
|
|
7410
|
-
"type": {
|
|
7411
|
-
"text": "string"
|
|
7412
|
-
}
|
|
7413
|
-
},
|
|
7414
|
-
{
|
|
7415
|
-
"name": "lines",
|
|
7416
|
-
"type": {
|
|
7417
|
-
"text": "number"
|
|
7418
|
-
}
|
|
7419
|
-
},
|
|
7420
|
-
{
|
|
7421
|
-
"name": "chars",
|
|
7422
|
-
"type": {
|
|
7423
|
-
"text": "number"
|
|
7424
|
-
}
|
|
7425
|
-
}
|
|
7426
|
-
],
|
|
7427
|
-
"description": "The first `lines` lines of `text`, at most `chars` characters, and its full length when it was cut."
|
|
7411
|
+
"default": "50",
|
|
7412
|
+
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
7428
7413
|
},
|
|
7429
7414
|
{
|
|
7430
|
-
"kind": "
|
|
7431
|
-
"name": "
|
|
7432
|
-
"
|
|
7433
|
-
"
|
|
7434
|
-
"text": "Partial<T>"
|
|
7435
|
-
}
|
|
7415
|
+
"kind": "variable",
|
|
7416
|
+
"name": "MAX_ROWS_CEILING",
|
|
7417
|
+
"type": {
|
|
7418
|
+
"text": "number"
|
|
7436
7419
|
},
|
|
7437
|
-
"
|
|
7438
|
-
{
|
|
7439
|
-
"name": "source",
|
|
7440
|
-
"type": {
|
|
7441
|
-
"text": "T"
|
|
7442
|
-
}
|
|
7443
|
-
}
|
|
7444
|
-
],
|
|
7445
|
-
"description": "The keys of `source` that are set, as a new object: a field with nothing to say is dropped."
|
|
7420
|
+
"default": "1000"
|
|
7446
7421
|
},
|
|
7447
7422
|
{
|
|
7448
7423
|
"kind": "function",
|
|
7449
|
-
"name": "
|
|
7424
|
+
"name": "toolNameOf",
|
|
7450
7425
|
"return": {
|
|
7451
7426
|
"type": {
|
|
7452
|
-
"text": "
|
|
7427
|
+
"text": "string"
|
|
7453
7428
|
}
|
|
7454
7429
|
},
|
|
7455
7430
|
"parameters": [
|
|
7456
7431
|
{
|
|
7457
|
-
"name": "
|
|
7458
|
-
"type": {
|
|
7459
|
-
"text": "HeadlessEvent"
|
|
7460
|
-
}
|
|
7461
|
-
},
|
|
7462
|
-
{
|
|
7463
|
-
"name": "options",
|
|
7464
|
-
"default": "{}",
|
|
7432
|
+
"name": "resourceName",
|
|
7465
7433
|
"type": {
|
|
7466
|
-
"text": "
|
|
7434
|
+
"text": "string"
|
|
7467
7435
|
}
|
|
7468
7436
|
}
|
|
7469
7437
|
],
|
|
7470
|
-
"description": "
|
|
7438
|
+
"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."
|
|
7471
7439
|
},
|
|
7472
7440
|
{
|
|
7473
7441
|
"kind": "function",
|
|
7474
|
-
"name": "
|
|
7442
|
+
"name": "rowActionProblem",
|
|
7475
7443
|
"return": {
|
|
7476
7444
|
"type": {
|
|
7477
|
-
"text": "string"
|
|
7445
|
+
"text": "string | undefined"
|
|
7478
7446
|
}
|
|
7479
7447
|
},
|
|
7480
7448
|
"parameters": [
|
|
7481
7449
|
{
|
|
7482
|
-
"name": "
|
|
7450
|
+
"name": "resource",
|
|
7483
7451
|
"type": {
|
|
7484
|
-
"text": "
|
|
7452
|
+
"text": "Partial<GenesisAiResource> | null"
|
|
7485
7453
|
}
|
|
7486
7454
|
},
|
|
7487
7455
|
{
|
|
7488
|
-
"name": "
|
|
7489
|
-
"optional": true,
|
|
7490
|
-
"type": {
|
|
7491
|
-
"text": "Readonly<Record<string, string>>"
|
|
7492
|
-
}
|
|
7493
|
-
}
|
|
7494
|
-
],
|
|
7495
|
-
"description": "A decision's text without its `Now: <the preview view as JSON>` line, and nothing else (`decisionText:\n\"lean\"`). `renderDecision` writes the preview as `Now: ${capRead(JSON.stringify(view))}`: `JSON.stringify`\nwith no indent never breaks a line, so the JSON is the one line, and `capRead` adds a second, `[Cut at …]`,\nonly when it cut it. Both go; in their place is a pointer to `read`. The line is found by position, not\nby prefix alone: it follows the Views list, whose entry for the preview ends `(shown below as Now)`, so a\ncard that itself has a line starting `Now: ` is not mistaken for it.\n\nThe text comes back as it was when there is no preview to find (a card with no preview view, or a short-form\ndecision, which shows no `Now:`), or when `views` does not name the one the Views list marks."
|
|
7496
|
-
},
|
|
7497
|
-
{
|
|
7498
|
-
"kind": "function",
|
|
7499
|
-
"name": "compactDecision",
|
|
7500
|
-
"return": {
|
|
7501
|
-
"type": {
|
|
7502
|
-
"text": "CompactDecision"
|
|
7503
|
-
}
|
|
7504
|
-
},
|
|
7505
|
-
"parameters": [
|
|
7506
|
-
{
|
|
7507
|
-
"name": "description",
|
|
7456
|
+
"name": "requestNames",
|
|
7508
7457
|
"type": {
|
|
7509
|
-
"text": "
|
|
7510
|
-
}
|
|
7458
|
+
"text": "ReadonlySet<string>"
|
|
7459
|
+
},
|
|
7460
|
+
"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."
|
|
7511
7461
|
},
|
|
7512
7462
|
{
|
|
7513
|
-
"name": "
|
|
7514
|
-
"default": "
|
|
7463
|
+
"name": "whyNotReadable",
|
|
7464
|
+
"default": "notReadableReason({})",
|
|
7515
7465
|
"type": {
|
|
7516
|
-
"text": "
|
|
7517
|
-
}
|
|
7466
|
+
"text": "(name: string) => string"
|
|
7467
|
+
},
|
|
7468
|
+
"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."
|
|
7518
7469
|
}
|
|
7519
7470
|
],
|
|
7520
|
-
"description": "
|
|
7471
|
+
"description": "What is wrong with a resource's row-action fields (contracts C-18.7.2), if anything."
|
|
7521
7472
|
},
|
|
7522
7473
|
{
|
|
7523
7474
|
"kind": "function",
|
|
7524
|
-
"name": "
|
|
7475
|
+
"name": "validateGenesisAiConfig",
|
|
7525
7476
|
"return": {
|
|
7526
7477
|
"type": {
|
|
7527
|
-
"text": "
|
|
7478
|
+
"text": "GenesisAiConfigCheck"
|
|
7528
7479
|
}
|
|
7529
7480
|
},
|
|
7530
7481
|
"parameters": [
|
|
7531
7482
|
{
|
|
7532
|
-
"name": "
|
|
7533
|
-
"type": {
|
|
7534
|
-
"text": "string"
|
|
7535
|
-
}
|
|
7536
|
-
},
|
|
7537
|
-
{
|
|
7538
|
-
"name": "component",
|
|
7539
|
-
"type": {
|
|
7540
|
-
"text": "string"
|
|
7541
|
-
}
|
|
7542
|
-
},
|
|
7543
|
-
{
|
|
7544
|
-
"name": "actions",
|
|
7483
|
+
"name": "config",
|
|
7545
7484
|
"type": {
|
|
7546
|
-
"text": "
|
|
7485
|
+
"text": "unknown"
|
|
7547
7486
|
}
|
|
7548
7487
|
}
|
|
7549
7488
|
],
|
|
7550
|
-
"description": "
|
|
7489
|
+
"description": "Checks a generated AI config before anything is registered, and says what can be kept."
|
|
7551
7490
|
},
|
|
7552
7491
|
{
|
|
7553
7492
|
"kind": "function",
|
|
7554
|
-
"name": "
|
|
7493
|
+
"name": "customCodeOf",
|
|
7555
7494
|
"return": {
|
|
7556
7495
|
"type": {
|
|
7557
|
-
"text": "
|
|
7496
|
+
"text": "GenesisCustomCodeCheck"
|
|
7558
7497
|
}
|
|
7559
7498
|
},
|
|
7560
7499
|
"parameters": [
|
|
7561
7500
|
{
|
|
7562
|
-
"name": "
|
|
7501
|
+
"name": "resource",
|
|
7563
7502
|
"type": {
|
|
7564
|
-
"text": "
|
|
7503
|
+
"text": "GenesisAiResource"
|
|
7565
7504
|
}
|
|
7566
7505
|
}
|
|
7567
7506
|
],
|
|
7568
|
-
"description": "
|
|
7507
|
+
"description": "A resource's `customCode` as it is used: the one reader of the field."
|
|
7569
7508
|
}
|
|
7570
7509
|
],
|
|
7571
7510
|
"exports": [
|
|
7572
7511
|
{
|
|
7573
7512
|
"kind": "js",
|
|
7574
|
-
"name": "
|
|
7575
|
-
"declaration": {
|
|
7576
|
-
"name": "firstLines",
|
|
7577
|
-
"module": "src/headless-server/compact.ts"
|
|
7578
|
-
}
|
|
7579
|
-
},
|
|
7580
|
-
{
|
|
7581
|
-
"kind": "js",
|
|
7582
|
-
"name": "present",
|
|
7513
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7583
7514
|
"declaration": {
|
|
7584
|
-
"name": "
|
|
7585
|
-
"module": "src/
|
|
7515
|
+
"name": "DEFAULT_MAX_ROWS",
|
|
7516
|
+
"module": "src/genesis/config.ts"
|
|
7586
7517
|
}
|
|
7587
7518
|
},
|
|
7588
7519
|
{
|
|
7589
7520
|
"kind": "js",
|
|
7590
|
-
"name": "
|
|
7521
|
+
"name": "MAX_ROWS_CEILING",
|
|
7591
7522
|
"declaration": {
|
|
7592
|
-
"name": "
|
|
7593
|
-
"module": "src/
|
|
7523
|
+
"name": "MAX_ROWS_CEILING",
|
|
7524
|
+
"module": "src/genesis/config.ts"
|
|
7594
7525
|
}
|
|
7595
7526
|
},
|
|
7596
7527
|
{
|
|
7597
7528
|
"kind": "js",
|
|
7598
|
-
"name": "
|
|
7529
|
+
"name": "toolNameOf",
|
|
7599
7530
|
"declaration": {
|
|
7600
|
-
"name": "
|
|
7601
|
-
"module": "src/
|
|
7531
|
+
"name": "toolNameOf",
|
|
7532
|
+
"module": "src/genesis/config.ts"
|
|
7602
7533
|
}
|
|
7603
7534
|
},
|
|
7604
7535
|
{
|
|
7605
7536
|
"kind": "js",
|
|
7606
|
-
"name": "
|
|
7537
|
+
"name": "rowActionProblem",
|
|
7607
7538
|
"declaration": {
|
|
7608
|
-
"name": "
|
|
7609
|
-
"module": "src/
|
|
7539
|
+
"name": "rowActionProblem",
|
|
7540
|
+
"module": "src/genesis/config.ts"
|
|
7610
7541
|
}
|
|
7611
7542
|
},
|
|
7612
7543
|
{
|
|
7613
7544
|
"kind": "js",
|
|
7614
|
-
"name": "
|
|
7545
|
+
"name": "validateGenesisAiConfig",
|
|
7615
7546
|
"declaration": {
|
|
7616
|
-
"name": "
|
|
7617
|
-
"module": "src/
|
|
7547
|
+
"name": "validateGenesisAiConfig",
|
|
7548
|
+
"module": "src/genesis/config.ts"
|
|
7618
7549
|
}
|
|
7619
7550
|
},
|
|
7620
7551
|
{
|
|
7621
7552
|
"kind": "js",
|
|
7622
|
-
"name": "
|
|
7553
|
+
"name": "customCodeOf",
|
|
7623
7554
|
"declaration": {
|
|
7624
|
-
"name": "
|
|
7625
|
-
"module": "src/
|
|
7555
|
+
"name": "customCodeOf",
|
|
7556
|
+
"module": "src/genesis/config.ts"
|
|
7626
7557
|
}
|
|
7627
7558
|
}
|
|
7628
7559
|
]
|
|
7629
7560
|
},
|
|
7630
7561
|
{
|
|
7631
7562
|
"kind": "javascript-module",
|
|
7632
|
-
"path": "src/
|
|
7633
|
-
"declarations": [
|
|
7634
|
-
"exports": [
|
|
7635
|
-
{
|
|
7636
|
-
"kind": "js",
|
|
7637
|
-
"name": "capOutput",
|
|
7638
|
-
"declaration": {
|
|
7639
|
-
"name": "capOutput",
|
|
7640
|
-
"module": "./compact"
|
|
7641
|
-
}
|
|
7642
|
-
},
|
|
7643
|
-
{
|
|
7644
|
-
"kind": "js",
|
|
7645
|
-
"name": "compactDecision",
|
|
7646
|
-
"declaration": {
|
|
7647
|
-
"name": "compactDecision",
|
|
7648
|
-
"module": "./compact"
|
|
7649
|
-
}
|
|
7650
|
-
},
|
|
7563
|
+
"path": "src/genesis/consumes.ts",
|
|
7564
|
+
"declarations": [
|
|
7651
7565
|
{
|
|
7652
|
-
"kind": "
|
|
7653
|
-
"name": "
|
|
7654
|
-
"
|
|
7655
|
-
"
|
|
7656
|
-
|
|
7657
|
-
|
|
7658
|
-
}
|
|
7566
|
+
"kind": "variable",
|
|
7567
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7568
|
+
"type": {
|
|
7569
|
+
"text": "GenesisAiConsumes"
|
|
7570
|
+
},
|
|
7571
|
+
"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."
|
|
7572
|
+
}
|
|
7573
|
+
],
|
|
7574
|
+
"exports": [
|
|
7659
7575
|
{
|
|
7660
7576
|
"kind": "js",
|
|
7661
|
-
"name": "
|
|
7577
|
+
"name": "GenesisAiConsumes",
|
|
7662
7578
|
"declaration": {
|
|
7663
|
-
"name": "
|
|
7664
|
-
"module": "./
|
|
7579
|
+
"name": "GenesisAiConsumes",
|
|
7580
|
+
"module": "./types"
|
|
7665
7581
|
}
|
|
7666
7582
|
},
|
|
7667
7583
|
{
|
|
7668
7584
|
"kind": "js",
|
|
7669
|
-
"name": "
|
|
7585
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7670
7586
|
"declaration": {
|
|
7671
|
-
"name": "
|
|
7672
|
-
"module": "
|
|
7587
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7588
|
+
"module": "src/genesis/consumes.ts"
|
|
7673
7589
|
}
|
|
7674
|
-
}
|
|
7590
|
+
}
|
|
7591
|
+
]
|
|
7592
|
+
},
|
|
7593
|
+
{
|
|
7594
|
+
"kind": "javascript-module",
|
|
7595
|
+
"path": "src/genesis/criteria.ts",
|
|
7596
|
+
"declarations": [
|
|
7597
|
+
{
|
|
7598
|
+
"kind": "function",
|
|
7599
|
+
"name": "dateFragment",
|
|
7600
|
+
"return": {
|
|
7601
|
+
"type": {
|
|
7602
|
+
"text": "string | undefined"
|
|
7603
|
+
}
|
|
7604
|
+
},
|
|
7605
|
+
"parameters": [
|
|
7606
|
+
{
|
|
7607
|
+
"name": "field",
|
|
7608
|
+
"type": {
|
|
7609
|
+
"text": "string"
|
|
7610
|
+
}
|
|
7611
|
+
},
|
|
7612
|
+
{
|
|
7613
|
+
"name": "op",
|
|
7614
|
+
"type": {
|
|
7615
|
+
"text": "GenesisFilterOp"
|
|
7616
|
+
}
|
|
7617
|
+
},
|
|
7618
|
+
{
|
|
7619
|
+
"name": "date",
|
|
7620
|
+
"type": {
|
|
7621
|
+
"text": "string"
|
|
7622
|
+
}
|
|
7623
|
+
}
|
|
7624
|
+
]
|
|
7625
|
+
},
|
|
7626
|
+
{
|
|
7627
|
+
"kind": "function",
|
|
7628
|
+
"name": "dateTimeFragment",
|
|
7629
|
+
"return": {
|
|
7630
|
+
"type": {
|
|
7631
|
+
"text": "string | undefined"
|
|
7632
|
+
}
|
|
7633
|
+
},
|
|
7634
|
+
"parameters": [
|
|
7635
|
+
{
|
|
7636
|
+
"name": "field",
|
|
7637
|
+
"type": {
|
|
7638
|
+
"text": "string"
|
|
7639
|
+
}
|
|
7640
|
+
},
|
|
7641
|
+
{
|
|
7642
|
+
"name": "op",
|
|
7643
|
+
"type": {
|
|
7644
|
+
"text": "GenesisFilterOp"
|
|
7645
|
+
}
|
|
7646
|
+
},
|
|
7647
|
+
{
|
|
7648
|
+
"name": "bound",
|
|
7649
|
+
"type": {
|
|
7650
|
+
"text": "string"
|
|
7651
|
+
}
|
|
7652
|
+
}
|
|
7653
|
+
],
|
|
7654
|
+
"description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
|
|
7655
|
+
}
|
|
7656
|
+
],
|
|
7657
|
+
"exports": [
|
|
7675
7658
|
{
|
|
7676
7659
|
"kind": "js",
|
|
7677
|
-
"name": "
|
|
7660
|
+
"name": "dateFragment",
|
|
7678
7661
|
"declaration": {
|
|
7679
|
-
"name": "
|
|
7680
|
-
"module": "
|
|
7662
|
+
"name": "dateFragment",
|
|
7663
|
+
"module": "src/genesis/criteria.ts"
|
|
7681
7664
|
}
|
|
7682
7665
|
},
|
|
7683
7666
|
{
|
|
7684
7667
|
"kind": "js",
|
|
7685
|
-
"name": "
|
|
7668
|
+
"name": "dateTimeFragment",
|
|
7686
7669
|
"declaration": {
|
|
7687
|
-
"name": "
|
|
7688
|
-
"module": "
|
|
7670
|
+
"name": "dateTimeFragment",
|
|
7671
|
+
"module": "src/genesis/criteria.ts"
|
|
7689
7672
|
}
|
|
7690
|
-
}
|
|
7673
|
+
}
|
|
7674
|
+
]
|
|
7675
|
+
},
|
|
7676
|
+
{
|
|
7677
|
+
"kind": "javascript-module",
|
|
7678
|
+
"path": "src/genesis/event-fields.ts",
|
|
7679
|
+
"declarations": [],
|
|
7680
|
+
"exports": []
|
|
7681
|
+
},
|
|
7682
|
+
{
|
|
7683
|
+
"kind": "javascript-module",
|
|
7684
|
+
"path": "src/genesis/filter-fields.ts",
|
|
7685
|
+
"declarations": [],
|
|
7686
|
+
"exports": []
|
|
7687
|
+
},
|
|
7688
|
+
{
|
|
7689
|
+
"kind": "javascript-module",
|
|
7690
|
+
"path": "src/genesis/index.ts",
|
|
7691
|
+
"declarations": [],
|
|
7692
|
+
"exports": [
|
|
7691
7693
|
{
|
|
7692
7694
|
"kind": "js",
|
|
7693
|
-
"name": "
|
|
7695
|
+
"name": "GENESIS_AGENT_NAME",
|
|
7694
7696
|
"declaration": {
|
|
7695
|
-
"name": "
|
|
7696
|
-
"module": "./
|
|
7697
|
+
"name": "GENESIS_AGENT_NAME",
|
|
7698
|
+
"module": "./register-genesis-assistant"
|
|
7697
7699
|
}
|
|
7698
7700
|
},
|
|
7699
7701
|
{
|
|
7700
7702
|
"kind": "js",
|
|
7701
|
-
"name": "
|
|
7703
|
+
"name": "registerGenesisAssistant",
|
|
7702
7704
|
"declaration": {
|
|
7703
|
-
"name": "
|
|
7704
|
-
"module": "./
|
|
7705
|
+
"name": "registerGenesisAssistant",
|
|
7706
|
+
"module": "./register-genesis-assistant"
|
|
7705
7707
|
}
|
|
7706
7708
|
},
|
|
7707
7709
|
{
|
|
7708
7710
|
"kind": "js",
|
|
7709
|
-
"name": "
|
|
7711
|
+
"name": "customCodeOf",
|
|
7710
7712
|
"declaration": {
|
|
7711
|
-
"name": "
|
|
7712
|
-
"module": "./
|
|
7713
|
+
"name": "customCodeOf",
|
|
7714
|
+
"module": "./config"
|
|
7713
7715
|
}
|
|
7714
7716
|
},
|
|
7715
7717
|
{
|
|
7716
7718
|
"kind": "js",
|
|
7717
|
-
"name": "
|
|
7719
|
+
"name": "rowActionProblem",
|
|
7718
7720
|
"declaration": {
|
|
7719
|
-
"name": "
|
|
7720
|
-
"module": "./
|
|
7721
|
+
"name": "rowActionProblem",
|
|
7722
|
+
"module": "./config"
|
|
7721
7723
|
}
|
|
7722
7724
|
},
|
|
7723
7725
|
{
|
|
7724
7726
|
"kind": "js",
|
|
7725
|
-
"name": "
|
|
7727
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7726
7728
|
"declaration": {
|
|
7727
|
-
"name": "
|
|
7728
|
-
"module": "./
|
|
7729
|
+
"name": "GENESIS_AI_CONSUMES",
|
|
7730
|
+
"module": "./consumes"
|
|
7729
7731
|
}
|
|
7730
7732
|
},
|
|
7731
7733
|
{
|
|
7732
7734
|
"kind": "js",
|
|
7733
|
-
"name": "
|
|
7735
|
+
"name": "validateGenesisAiConfig",
|
|
7734
7736
|
"declaration": {
|
|
7735
|
-
"name": "
|
|
7736
|
-
"module": "./
|
|
7737
|
+
"name": "validateGenesisAiConfig",
|
|
7738
|
+
"module": "./config"
|
|
7737
7739
|
}
|
|
7738
7740
|
},
|
|
7739
7741
|
{
|
|
7740
7742
|
"kind": "js",
|
|
7741
|
-
"name": "
|
|
7743
|
+
"name": "DroppedResource",
|
|
7742
7744
|
"declaration": {
|
|
7743
|
-
"name": "
|
|
7744
|
-
"module": "./
|
|
7745
|
+
"name": "DroppedResource",
|
|
7746
|
+
"module": "./config"
|
|
7745
7747
|
}
|
|
7746
7748
|
},
|
|
7747
7749
|
{
|
|
7748
7750
|
"kind": "js",
|
|
7749
|
-
"name": "
|
|
7751
|
+
"name": "GenesisAiConfigCheck",
|
|
7750
7752
|
"declaration": {
|
|
7751
|
-
"name": "
|
|
7752
|
-
"module": "./
|
|
7753
|
+
"name": "GenesisAiConfigCheck",
|
|
7754
|
+
"module": "./config"
|
|
7753
7755
|
}
|
|
7754
7756
|
},
|
|
7755
7757
|
{
|
|
7756
7758
|
"kind": "js",
|
|
7757
|
-
"name": "
|
|
7759
|
+
"name": "GenesisFilter",
|
|
7758
7760
|
"declaration": {
|
|
7759
|
-
"name": "
|
|
7760
|
-
"module": "./
|
|
7761
|
+
"name": "GenesisFilter",
|
|
7762
|
+
"module": "./criteria"
|
|
7761
7763
|
}
|
|
7762
7764
|
},
|
|
7763
7765
|
{
|
|
7764
7766
|
"kind": "js",
|
|
7765
|
-
"name": "
|
|
7767
|
+
"name": "GenesisFilterField",
|
|
7766
7768
|
"declaration": {
|
|
7767
|
-
"name": "
|
|
7768
|
-
"module": "./
|
|
7769
|
+
"name": "GenesisFilterField",
|
|
7770
|
+
"module": "./criteria"
|
|
7769
7771
|
}
|
|
7770
7772
|
},
|
|
7771
7773
|
{
|
|
7772
7774
|
"kind": "js",
|
|
7773
|
-
"name": "
|
|
7775
|
+
"name": "GenesisFilterOp",
|
|
7774
7776
|
"declaration": {
|
|
7775
|
-
"name": "
|
|
7776
|
-
"module": "./
|
|
7777
|
+
"name": "GenesisFilterOp",
|
|
7778
|
+
"module": "./criteria"
|
|
7777
7779
|
}
|
|
7778
7780
|
},
|
|
7779
7781
|
{
|
|
7780
7782
|
"kind": "js",
|
|
7781
|
-
"name": "
|
|
7783
|
+
"name": "createGenesisResourceTools",
|
|
7782
7784
|
"declaration": {
|
|
7783
|
-
"name": "
|
|
7784
|
-
"module": "./
|
|
7785
|
+
"name": "createGenesisResourceTools",
|
|
7786
|
+
"module": "./resource-tools"
|
|
7785
7787
|
}
|
|
7786
7788
|
},
|
|
7787
7789
|
{
|
|
7788
7790
|
"kind": "js",
|
|
7789
|
-
"name": "
|
|
7791
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
7790
7792
|
"declaration": {
|
|
7791
|
-
"name": "
|
|
7792
|
-
"module": "./
|
|
7793
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
7794
|
+
"module": "./resource-tools"
|
|
7793
7795
|
}
|
|
7794
7796
|
},
|
|
7795
7797
|
{
|
|
7796
7798
|
"kind": "js",
|
|
7797
|
-
"name": "
|
|
7799
|
+
"name": "createGenesisWriteTools",
|
|
7798
7800
|
"declaration": {
|
|
7799
|
-
"name": "
|
|
7800
|
-
"module": "./
|
|
7801
|
+
"name": "createGenesisWriteTools",
|
|
7802
|
+
"module": "./write-tools"
|
|
7801
7803
|
}
|
|
7802
7804
|
},
|
|
7803
7805
|
{
|
|
7804
7806
|
"kind": "js",
|
|
7805
|
-
"name": "
|
|
7807
|
+
"name": "GenesisWriteDecision",
|
|
7806
7808
|
"declaration": {
|
|
7807
|
-
"name": "
|
|
7808
|
-
"module": "./
|
|
7809
|
+
"name": "GenesisWriteDecision",
|
|
7810
|
+
"module": "./write-tools"
|
|
7809
7811
|
}
|
|
7810
7812
|
},
|
|
7811
7813
|
{
|
|
7812
7814
|
"kind": "js",
|
|
7813
|
-
"name": "
|
|
7815
|
+
"name": "GenesisWriteResult",
|
|
7814
7816
|
"declaration": {
|
|
7815
|
-
"name": "
|
|
7816
|
-
"module": "./
|
|
7817
|
+
"name": "GenesisWriteResult",
|
|
7818
|
+
"module": "./write-tools"
|
|
7817
7819
|
}
|
|
7818
|
-
}
|
|
7819
|
-
]
|
|
7820
|
-
},
|
|
7821
|
-
{
|
|
7822
|
-
"kind": "javascript-module",
|
|
7823
|
-
"path": "src/headless-server/server.ts",
|
|
7824
|
-
"declarations": [
|
|
7825
|
-
{
|
|
7826
|
-
"kind": "function",
|
|
7827
|
-
"name": "createHeadlessServer",
|
|
7828
|
-
"return": {
|
|
7829
|
-
"type": {
|
|
7830
|
-
"text": "HeadlessServer"
|
|
7831
|
-
}
|
|
7832
|
-
},
|
|
7833
|
-
"parameters": [
|
|
7834
|
-
{
|
|
7835
|
-
"name": "options",
|
|
7836
|
-
"type": {
|
|
7837
|
-
"text": "ServerOptions"
|
|
7838
|
-
}
|
|
7839
|
-
}
|
|
7840
|
-
],
|
|
7841
|
-
"description": "The headless server (PLAN §5, D7): `node:http` on 127.0.0.1, `GET /health` and `POST /cmd`.\n\nEvery command is APPLIED and then LONG-POLLS (§5.5): the reply comes when the journey next needs the\nperson (an interaction is held by them and ready), a turn ends, the run ends, or something fails, or at\n`maxWaitMs` with `status: \"working\"`. Nothing is lost on a client timeout: the command was applied before\nthe wait, events carry `seq`, and `{op: \"wait\", since}` returns everything after it.\n\nThe session is the only thing it drives; what the host owns is reached through ServerOptions."
|
|
7842
|
-
}
|
|
7843
|
-
],
|
|
7844
|
-
"exports": [
|
|
7820
|
+
},
|
|
7845
7821
|
{
|
|
7846
7822
|
"kind": "js",
|
|
7847
|
-
"name": "
|
|
7823
|
+
"name": "GenesisWriteRowStatus",
|
|
7848
7824
|
"declaration": {
|
|
7849
|
-
"name": "
|
|
7850
|
-
"module": "
|
|
7825
|
+
"name": "GenesisWriteRowStatus",
|
|
7826
|
+
"module": "./write-tools"
|
|
7851
7827
|
}
|
|
7852
|
-
}
|
|
7853
|
-
]
|
|
7854
|
-
},
|
|
7855
|
-
{
|
|
7856
|
-
"kind": "javascript-module",
|
|
7857
|
-
"path": "src/headless-server/types.ts",
|
|
7858
|
-
"declarations": [
|
|
7859
|
-
{
|
|
7860
|
-
"kind": "variable",
|
|
7861
|
-
"name": "DECISION_TEXTS",
|
|
7862
|
-
"type": {
|
|
7863
|
-
"text": "readonly DecisionText[]"
|
|
7864
|
-
},
|
|
7865
|
-
"default": "['full', 'lean']"
|
|
7866
7828
|
},
|
|
7867
|
-
{
|
|
7868
|
-
"kind": "variable",
|
|
7869
|
-
"name": "DEFAULT_DECISION_TEXT",
|
|
7870
|
-
"type": {
|
|
7871
|
-
"text": "DecisionText"
|
|
7872
|
-
},
|
|
7873
|
-
"default": "'lean'",
|
|
7874
|
-
"description": "What the server uses when neither it nor the command says. Its readers are models that can `read` a view."
|
|
7875
|
-
}
|
|
7876
|
-
],
|
|
7877
|
-
"exports": [
|
|
7878
7829
|
{
|
|
7879
7830
|
"kind": "js",
|
|
7880
|
-
"name": "
|
|
7831
|
+
"name": "GenesisWriteToolsOptions",
|
|
7881
7832
|
"declaration": {
|
|
7882
|
-
"name": "
|
|
7883
|
-
"module": "
|
|
7833
|
+
"name": "GenesisWriteToolsOptions",
|
|
7834
|
+
"module": "./write-tools"
|
|
7884
7835
|
}
|
|
7885
7836
|
},
|
|
7886
7837
|
{
|
|
7887
7838
|
"kind": "js",
|
|
7888
|
-
"name": "
|
|
7839
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
7889
7840
|
"declaration": {
|
|
7890
|
-
"name": "
|
|
7891
|
-
"module": "
|
|
7841
|
+
"name": "GENESIS_WRITE_REVIEW",
|
|
7842
|
+
"module": "./write-review/write-review"
|
|
7892
7843
|
}
|
|
7893
|
-
}
|
|
7894
|
-
]
|
|
7895
|
-
},
|
|
7896
|
-
{
|
|
7897
|
-
"kind": "javascript-module",
|
|
7898
|
-
"path": "src/genesis/calendar.ts",
|
|
7899
|
-
"declarations": [],
|
|
7900
|
-
"exports": []
|
|
7901
|
-
},
|
|
7902
|
-
{
|
|
7903
|
-
"kind": "javascript-module",
|
|
7904
|
-
"path": "src/genesis/config.ts",
|
|
7905
|
-
"declarations": [
|
|
7906
|
-
{
|
|
7907
|
-
"kind": "variable",
|
|
7908
|
-
"name": "DEFAULT_MAX_ROWS",
|
|
7909
|
-
"type": {
|
|
7910
|
-
"text": "number"
|
|
7911
|
-
},
|
|
7912
|
-
"default": "50",
|
|
7913
|
-
"description": "The default read cap, and the ceiling the config may raise it to."
|
|
7914
7844
|
},
|
|
7915
7845
|
{
|
|
7916
|
-
"kind": "
|
|
7917
|
-
"name": "
|
|
7918
|
-
"
|
|
7919
|
-
"
|
|
7920
|
-
|
|
7921
|
-
|
|
7846
|
+
"kind": "js",
|
|
7847
|
+
"name": "GenesisWriteReview",
|
|
7848
|
+
"declaration": {
|
|
7849
|
+
"name": "GenesisWriteReview",
|
|
7850
|
+
"module": "./write-review/write-review"
|
|
7851
|
+
}
|
|
7922
7852
|
},
|
|
7923
7853
|
{
|
|
7924
|
-
"kind": "
|
|
7925
|
-
"name": "
|
|
7926
|
-
"
|
|
7927
|
-
"
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
},
|
|
7931
|
-
"parameters": [
|
|
7932
|
-
{
|
|
7933
|
-
"name": "resourceName",
|
|
7934
|
-
"type": {
|
|
7935
|
-
"text": "string"
|
|
7936
|
-
}
|
|
7937
|
-
}
|
|
7938
|
-
],
|
|
7939
|
-
"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."
|
|
7854
|
+
"kind": "js",
|
|
7855
|
+
"name": "GenesisChangeRequest",
|
|
7856
|
+
"declaration": {
|
|
7857
|
+
"name": "GenesisChangeRequest",
|
|
7858
|
+
"module": "./review-payload"
|
|
7859
|
+
}
|
|
7940
7860
|
},
|
|
7941
7861
|
{
|
|
7942
|
-
"kind": "
|
|
7943
|
-
"name": "
|
|
7944
|
-
"
|
|
7945
|
-
"
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
},
|
|
7949
|
-
"parameters": [
|
|
7950
|
-
{
|
|
7951
|
-
"name": "resource",
|
|
7952
|
-
"type": {
|
|
7953
|
-
"text": "Partial<GenesisAiResource> | null"
|
|
7954
|
-
}
|
|
7955
|
-
},
|
|
7956
|
-
{
|
|
7957
|
-
"name": "requestNames",
|
|
7958
|
-
"type": {
|
|
7959
|
-
"text": "ReadonlySet<string>"
|
|
7960
|
-
},
|
|
7961
|
-
"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."
|
|
7962
|
-
},
|
|
7963
|
-
{
|
|
7964
|
-
"name": "whyNotReadable",
|
|
7965
|
-
"default": "notReadableReason({})",
|
|
7966
|
-
"type": {
|
|
7967
|
-
"text": "(name: string) => string"
|
|
7968
|
-
},
|
|
7969
|
-
"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."
|
|
7970
|
-
}
|
|
7971
|
-
],
|
|
7972
|
-
"description": "What is wrong with a resource's row-action fields (contracts C-18.7.2), if anything."
|
|
7862
|
+
"kind": "js",
|
|
7863
|
+
"name": "GenesisReviewPayload",
|
|
7864
|
+
"declaration": {
|
|
7865
|
+
"name": "GenesisReviewPayload",
|
|
7866
|
+
"module": "./review-payload"
|
|
7867
|
+
}
|
|
7973
7868
|
},
|
|
7974
7869
|
{
|
|
7975
|
-
"kind": "
|
|
7976
|
-
"name": "
|
|
7977
|
-
"
|
|
7978
|
-
"
|
|
7979
|
-
|
|
7980
|
-
|
|
7981
|
-
},
|
|
7982
|
-
"parameters": [
|
|
7983
|
-
{
|
|
7984
|
-
"name": "config",
|
|
7985
|
-
"type": {
|
|
7986
|
-
"text": "unknown"
|
|
7987
|
-
}
|
|
7988
|
-
}
|
|
7989
|
-
],
|
|
7990
|
-
"description": "Checks a generated AI config before anything is registered, and says what can be kept."
|
|
7870
|
+
"kind": "js",
|
|
7871
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
7872
|
+
"declaration": {
|
|
7873
|
+
"name": "GenesisWriteReviewCompletedEventDetail",
|
|
7874
|
+
"module": "./review-payload"
|
|
7875
|
+
}
|
|
7991
7876
|
},
|
|
7992
|
-
{
|
|
7993
|
-
"kind": "function",
|
|
7994
|
-
"name": "customCodeOf",
|
|
7995
|
-
"return": {
|
|
7996
|
-
"type": {
|
|
7997
|
-
"text": "GenesisCustomCodeCheck"
|
|
7998
|
-
}
|
|
7999
|
-
},
|
|
8000
|
-
"parameters": [
|
|
8001
|
-
{
|
|
8002
|
-
"name": "resource",
|
|
8003
|
-
"type": {
|
|
8004
|
-
"text": "GenesisAiResource"
|
|
8005
|
-
}
|
|
8006
|
-
}
|
|
8007
|
-
],
|
|
8008
|
-
"description": "A resource's `customCode` as it is used: the one reader of the field."
|
|
8009
|
-
}
|
|
8010
|
-
],
|
|
8011
|
-
"exports": [
|
|
8012
7877
|
{
|
|
8013
7878
|
"kind": "js",
|
|
8014
|
-
"name": "
|
|
7879
|
+
"name": "GenesisReadResult",
|
|
8015
7880
|
"declaration": {
|
|
8016
|
-
"name": "
|
|
8017
|
-
"module": "
|
|
7881
|
+
"name": "GenesisReadResult",
|
|
7882
|
+
"module": "./resource-tools"
|
|
8018
7883
|
}
|
|
8019
7884
|
},
|
|
8020
7885
|
{
|
|
8021
7886
|
"kind": "js",
|
|
8022
|
-
"name": "
|
|
7887
|
+
"name": "GenesisResourceTools",
|
|
8023
7888
|
"declaration": {
|
|
8024
|
-
"name": "
|
|
8025
|
-
"module": "
|
|
7889
|
+
"name": "GenesisResourceTools",
|
|
7890
|
+
"module": "./resource-tools"
|
|
8026
7891
|
}
|
|
8027
7892
|
},
|
|
8028
7893
|
{
|
|
8029
7894
|
"kind": "js",
|
|
8030
|
-
"name": "
|
|
7895
|
+
"name": "GenesisResourceToolsOptions",
|
|
8031
7896
|
"declaration": {
|
|
8032
|
-
"name": "
|
|
8033
|
-
"module": "
|
|
7897
|
+
"name": "GenesisResourceToolsOptions",
|
|
7898
|
+
"module": "./resource-tools"
|
|
8034
7899
|
}
|
|
8035
7900
|
},
|
|
8036
7901
|
{
|
|
8037
7902
|
"kind": "js",
|
|
8038
|
-
"name": "
|
|
7903
|
+
"name": "GenesisToolError",
|
|
8039
7904
|
"declaration": {
|
|
8040
|
-
"name": "
|
|
8041
|
-
"module": "
|
|
7905
|
+
"name": "GenesisToolError",
|
|
7906
|
+
"module": "./resource-tools"
|
|
8042
7907
|
}
|
|
8043
7908
|
},
|
|
8044
7909
|
{
|
|
8045
7910
|
"kind": "js",
|
|
8046
|
-
"name": "
|
|
7911
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8047
7912
|
"declaration": {
|
|
8048
|
-
"name": "
|
|
8049
|
-
"module": "
|
|
7913
|
+
"name": "GENESIS_EVENT_OPS",
|
|
7914
|
+
"module": "./types"
|
|
8050
7915
|
}
|
|
8051
7916
|
},
|
|
8052
7917
|
{
|
|
8053
7918
|
"kind": "js",
|
|
8054
|
-
"name": "
|
|
7919
|
+
"name": "GenesisAiConfig",
|
|
8055
7920
|
"declaration": {
|
|
8056
|
-
"name": "
|
|
8057
|
-
"module": "
|
|
7921
|
+
"name": "GenesisAiConfig",
|
|
7922
|
+
"module": "./types"
|
|
8058
7923
|
}
|
|
8059
|
-
}
|
|
8060
|
-
]
|
|
8061
|
-
},
|
|
8062
|
-
{
|
|
8063
|
-
"kind": "javascript-module",
|
|
8064
|
-
"path": "src/genesis/consumes.ts",
|
|
8065
|
-
"declarations": [
|
|
8066
|
-
{
|
|
8067
|
-
"kind": "variable",
|
|
8068
|
-
"name": "GENESIS_AI_CONSUMES",
|
|
8069
|
-
"type": {
|
|
8070
|
-
"text": "GenesisAiConsumes"
|
|
8071
|
-
},
|
|
8072
|
-
"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."
|
|
8073
|
-
}
|
|
8074
|
-
],
|
|
8075
|
-
"exports": [
|
|
7924
|
+
},
|
|
8076
7925
|
{
|
|
8077
7926
|
"kind": "js",
|
|
8078
7927
|
"name": "GenesisAiConsumes",
|
|
@@ -8083,274 +7932,373 @@
|
|
|
8083
7932
|
},
|
|
8084
7933
|
{
|
|
8085
7934
|
"kind": "js",
|
|
8086
|
-
"name": "
|
|
7935
|
+
"name": "GenesisAiResource",
|
|
8087
7936
|
"declaration": {
|
|
8088
|
-
"name": "
|
|
8089
|
-
"module": "
|
|
7937
|
+
"name": "GenesisAiResource",
|
|
7938
|
+
"module": "./types"
|
|
8090
7939
|
}
|
|
8091
|
-
}
|
|
8092
|
-
]
|
|
8093
|
-
},
|
|
8094
|
-
{
|
|
8095
|
-
"kind": "javascript-module",
|
|
8096
|
-
"path": "src/genesis/criteria.ts",
|
|
8097
|
-
"declarations": [
|
|
7940
|
+
},
|
|
8098
7941
|
{
|
|
8099
|
-
"kind": "
|
|
8100
|
-
"name": "
|
|
8101
|
-
"
|
|
8102
|
-
"
|
|
8103
|
-
|
|
8104
|
-
|
|
8105
|
-
},
|
|
8106
|
-
"parameters": [
|
|
8107
|
-
{
|
|
8108
|
-
"name": "field",
|
|
8109
|
-
"type": {
|
|
8110
|
-
"text": "string"
|
|
8111
|
-
}
|
|
8112
|
-
},
|
|
8113
|
-
{
|
|
8114
|
-
"name": "op",
|
|
8115
|
-
"type": {
|
|
8116
|
-
"text": "GenesisFilterOp"
|
|
8117
|
-
}
|
|
8118
|
-
},
|
|
8119
|
-
{
|
|
8120
|
-
"name": "date",
|
|
8121
|
-
"type": {
|
|
8122
|
-
"text": "string"
|
|
8123
|
-
}
|
|
8124
|
-
}
|
|
8125
|
-
]
|
|
7942
|
+
"kind": "js",
|
|
7943
|
+
"name": "GenesisAssistantExtensions",
|
|
7944
|
+
"declaration": {
|
|
7945
|
+
"name": "GenesisAssistantExtensions",
|
|
7946
|
+
"module": "./types"
|
|
7947
|
+
}
|
|
8126
7948
|
},
|
|
8127
|
-
{
|
|
8128
|
-
"kind": "function",
|
|
8129
|
-
"name": "dateTimeFragment",
|
|
8130
|
-
"return": {
|
|
8131
|
-
"type": {
|
|
8132
|
-
"text": "string | undefined"
|
|
8133
|
-
}
|
|
8134
|
-
},
|
|
8135
|
-
"parameters": [
|
|
8136
|
-
{
|
|
8137
|
-
"name": "field",
|
|
8138
|
-
"type": {
|
|
8139
|
-
"text": "string"
|
|
8140
|
-
}
|
|
8141
|
-
},
|
|
8142
|
-
{
|
|
8143
|
-
"name": "op",
|
|
8144
|
-
"type": {
|
|
8145
|
-
"text": "GenesisFilterOp"
|
|
8146
|
-
}
|
|
8147
|
-
},
|
|
8148
|
-
{
|
|
8149
|
-
"name": "bound",
|
|
8150
|
-
"type": {
|
|
8151
|
-
"text": "string"
|
|
8152
|
-
}
|
|
8153
|
-
}
|
|
8154
|
-
],
|
|
8155
|
-
"description": "Timestamp columns get the dateTime helpers, which take a `yyyyMMdd-HH:mm:ss` bound."
|
|
8156
|
-
}
|
|
8157
|
-
],
|
|
8158
|
-
"exports": [
|
|
8159
7949
|
{
|
|
8160
7950
|
"kind": "js",
|
|
8161
|
-
"name": "
|
|
7951
|
+
"name": "GenesisAssistantRegistration",
|
|
8162
7952
|
"declaration": {
|
|
8163
|
-
"name": "
|
|
8164
|
-
"module": "
|
|
7953
|
+
"name": "GenesisAssistantRegistration",
|
|
7954
|
+
"module": "./types"
|
|
8165
7955
|
}
|
|
8166
7956
|
},
|
|
8167
7957
|
{
|
|
8168
7958
|
"kind": "js",
|
|
8169
|
-
"name": "
|
|
8170
|
-
"declaration": {
|
|
8171
|
-
"name": "dateTimeFragment",
|
|
8172
|
-
"module": "src/genesis/criteria.ts"
|
|
8173
|
-
}
|
|
8174
|
-
}
|
|
8175
|
-
]
|
|
8176
|
-
},
|
|
8177
|
-
{
|
|
8178
|
-
"kind": "javascript-module",
|
|
8179
|
-
"path": "src/genesis/event-fields.ts",
|
|
8180
|
-
"declarations": [],
|
|
8181
|
-
"exports": []
|
|
8182
|
-
},
|
|
8183
|
-
{
|
|
8184
|
-
"kind": "javascript-module",
|
|
8185
|
-
"path": "src/genesis/filter-fields.ts",
|
|
8186
|
-
"declarations": [],
|
|
8187
|
-
"exports": []
|
|
8188
|
-
},
|
|
8189
|
-
{
|
|
8190
|
-
"kind": "javascript-module",
|
|
8191
|
-
"path": "src/genesis/index.ts",
|
|
8192
|
-
"declarations": [],
|
|
8193
|
-
"exports": [
|
|
8194
|
-
{
|
|
8195
|
-
"kind": "js",
|
|
8196
|
-
"name": "GENESIS_AGENT_NAME",
|
|
7959
|
+
"name": "GenesisCustomCode",
|
|
8197
7960
|
"declaration": {
|
|
8198
|
-
"name": "
|
|
8199
|
-
"module": "./
|
|
7961
|
+
"name": "GenesisCustomCode",
|
|
7962
|
+
"module": "./types"
|
|
8200
7963
|
}
|
|
8201
7964
|
},
|
|
8202
7965
|
{
|
|
8203
7966
|
"kind": "js",
|
|
8204
|
-
"name": "
|
|
7967
|
+
"name": "GenesisCustomCodeCheck",
|
|
8205
7968
|
"declaration": {
|
|
8206
|
-
"name": "
|
|
8207
|
-
"module": "./
|
|
7969
|
+
"name": "GenesisCustomCodeCheck",
|
|
7970
|
+
"module": "./types"
|
|
8208
7971
|
}
|
|
8209
7972
|
},
|
|
8210
7973
|
{
|
|
8211
7974
|
"kind": "js",
|
|
8212
|
-
"name": "
|
|
7975
|
+
"name": "GenesisEventOp",
|
|
8213
7976
|
"declaration": {
|
|
8214
|
-
"name": "
|
|
8215
|
-
"module": "./
|
|
7977
|
+
"name": "GenesisEventOp",
|
|
7978
|
+
"module": "./types"
|
|
8216
7979
|
}
|
|
8217
7980
|
},
|
|
8218
7981
|
{
|
|
8219
7982
|
"kind": "js",
|
|
8220
|
-
"name": "
|
|
7983
|
+
"name": "GenesisReference",
|
|
8221
7984
|
"declaration": {
|
|
8222
|
-
"name": "
|
|
8223
|
-
"module": "./
|
|
7985
|
+
"name": "GenesisReference",
|
|
7986
|
+
"module": "./types"
|
|
8224
7987
|
}
|
|
8225
7988
|
},
|
|
8226
7989
|
{
|
|
8227
7990
|
"kind": "js",
|
|
8228
|
-
"name": "
|
|
7991
|
+
"name": "GenesisResourceKind",
|
|
8229
7992
|
"declaration": {
|
|
8230
|
-
"name": "
|
|
8231
|
-
"module": "./
|
|
7993
|
+
"name": "GenesisResourceKind",
|
|
7994
|
+
"module": "./types"
|
|
8232
7995
|
}
|
|
8233
7996
|
},
|
|
8234
7997
|
{
|
|
8235
7998
|
"kind": "js",
|
|
8236
|
-
"name": "
|
|
7999
|
+
"name": "GenesisRowEffect",
|
|
8237
8000
|
"declaration": {
|
|
8238
|
-
"name": "
|
|
8239
|
-
"module": "./
|
|
8001
|
+
"name": "GenesisRowEffect",
|
|
8002
|
+
"module": "./types"
|
|
8240
8003
|
}
|
|
8241
8004
|
},
|
|
8242
8005
|
{
|
|
8243
8006
|
"kind": "js",
|
|
8244
|
-
"name": "
|
|
8007
|
+
"name": "GenesisRowInput",
|
|
8245
8008
|
"declaration": {
|
|
8246
|
-
"name": "
|
|
8247
|
-
"module": "./
|
|
8009
|
+
"name": "GenesisRowInput",
|
|
8010
|
+
"module": "./types"
|
|
8248
8011
|
}
|
|
8249
8012
|
},
|
|
8250
8013
|
{
|
|
8251
8014
|
"kind": "js",
|
|
8252
|
-
"name": "
|
|
8015
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
8253
8016
|
"declaration": {
|
|
8254
|
-
"name": "
|
|
8255
|
-
"module": "./
|
|
8017
|
+
"name": "RegisterGenesisAssistantOptions",
|
|
8018
|
+
"module": "./types"
|
|
8256
8019
|
}
|
|
8257
|
-
}
|
|
8020
|
+
}
|
|
8021
|
+
]
|
|
8022
|
+
},
|
|
8023
|
+
{
|
|
8024
|
+
"kind": "javascript-module",
|
|
8025
|
+
"path": "src/genesis/reference-check.ts",
|
|
8026
|
+
"declarations": [
|
|
8258
8027
|
{
|
|
8259
|
-
"kind": "
|
|
8260
|
-
"name": "
|
|
8261
|
-
"
|
|
8262
|
-
"
|
|
8263
|
-
|
|
8264
|
-
|
|
8028
|
+
"kind": "function",
|
|
8029
|
+
"name": "tableOf",
|
|
8030
|
+
"return": {
|
|
8031
|
+
"type": {
|
|
8032
|
+
"text": "string"
|
|
8033
|
+
}
|
|
8034
|
+
},
|
|
8035
|
+
"parameters": [
|
|
8036
|
+
{
|
|
8037
|
+
"name": "resource",
|
|
8038
|
+
"type": {
|
|
8039
|
+
"text": "string"
|
|
8040
|
+
}
|
|
8041
|
+
}
|
|
8042
|
+
],
|
|
8043
|
+
"description": "The table a `REQ_<T>` reads."
|
|
8265
8044
|
},
|
|
8266
8045
|
{
|
|
8267
|
-
"kind": "
|
|
8268
|
-
"name": "
|
|
8269
|
-
"
|
|
8270
|
-
"
|
|
8271
|
-
|
|
8272
|
-
|
|
8046
|
+
"kind": "function",
|
|
8047
|
+
"name": "notAcceptedHere",
|
|
8048
|
+
"return": {
|
|
8049
|
+
"type": {
|
|
8050
|
+
"text": "string"
|
|
8051
|
+
}
|
|
8052
|
+
},
|
|
8053
|
+
"parameters": [
|
|
8054
|
+
{
|
|
8055
|
+
"name": "field",
|
|
8056
|
+
"type": {
|
|
8057
|
+
"text": "string"
|
|
8058
|
+
}
|
|
8059
|
+
},
|
|
8060
|
+
{
|
|
8061
|
+
"name": "{ resource, reason }",
|
|
8062
|
+
"type": {
|
|
8063
|
+
"text": "UncheckedField"
|
|
8064
|
+
}
|
|
8065
|
+
}
|
|
8066
|
+
],
|
|
8067
|
+
"description": "What an insert says about a value it cannot check."
|
|
8273
8068
|
},
|
|
8274
8069
|
{
|
|
8275
|
-
"kind": "
|
|
8276
|
-
"name": "
|
|
8277
|
-
"
|
|
8278
|
-
"
|
|
8279
|
-
|
|
8280
|
-
|
|
8281
|
-
|
|
8070
|
+
"kind": "function",
|
|
8071
|
+
"name": "cannotBeChanged",
|
|
8072
|
+
"return": {
|
|
8073
|
+
"type": {
|
|
8074
|
+
"text": "string"
|
|
8075
|
+
}
|
|
8076
|
+
},
|
|
8077
|
+
"parameters": [
|
|
8078
|
+
{
|
|
8079
|
+
"name": "field",
|
|
8080
|
+
"type": {
|
|
8081
|
+
"text": "string"
|
|
8082
|
+
}
|
|
8083
|
+
},
|
|
8084
|
+
{
|
|
8085
|
+
"name": "{ resource, reason }",
|
|
8086
|
+
"type": {
|
|
8087
|
+
"text": "UncheckedField"
|
|
8088
|
+
}
|
|
8089
|
+
}
|
|
8090
|
+
],
|
|
8091
|
+
"description": "What a modify says about a new value it cannot check."
|
|
8092
|
+
}
|
|
8093
|
+
],
|
|
8094
|
+
"exports": [
|
|
8282
8095
|
{
|
|
8283
8096
|
"kind": "js",
|
|
8284
|
-
"name": "
|
|
8097
|
+
"name": "tableOf",
|
|
8285
8098
|
"declaration": {
|
|
8286
|
-
"name": "
|
|
8287
|
-
"module": "
|
|
8099
|
+
"name": "tableOf",
|
|
8100
|
+
"module": "src/genesis/reference-check.ts"
|
|
8288
8101
|
}
|
|
8289
8102
|
},
|
|
8290
8103
|
{
|
|
8291
8104
|
"kind": "js",
|
|
8292
|
-
"name": "
|
|
8105
|
+
"name": "notAcceptedHere",
|
|
8293
8106
|
"declaration": {
|
|
8294
|
-
"name": "
|
|
8295
|
-
"module": "
|
|
8107
|
+
"name": "notAcceptedHere",
|
|
8108
|
+
"module": "src/genesis/reference-check.ts"
|
|
8296
8109
|
}
|
|
8297
8110
|
},
|
|
8298
8111
|
{
|
|
8299
8112
|
"kind": "js",
|
|
8300
|
-
"name": "
|
|
8113
|
+
"name": "cannotBeChanged",
|
|
8301
8114
|
"declaration": {
|
|
8302
|
-
"name": "
|
|
8303
|
-
"module": "
|
|
8115
|
+
"name": "cannotBeChanged",
|
|
8116
|
+
"module": "src/genesis/reference-check.ts"
|
|
8304
8117
|
}
|
|
8118
|
+
}
|
|
8119
|
+
]
|
|
8120
|
+
},
|
|
8121
|
+
{
|
|
8122
|
+
"kind": "javascript-module",
|
|
8123
|
+
"path": "src/genesis/reference-existence.ts",
|
|
8124
|
+
"declarations": [
|
|
8125
|
+
{
|
|
8126
|
+
"kind": "variable",
|
|
8127
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8128
|
+
"type": {
|
|
8129
|
+
"text": "number"
|
|
8130
|
+
},
|
|
8131
|
+
"default": "50",
|
|
8132
|
+
"description": "The most distinct values one call may check."
|
|
8305
8133
|
},
|
|
8134
|
+
{
|
|
8135
|
+
"kind": "function",
|
|
8136
|
+
"name": "withReferenceProblems",
|
|
8137
|
+
"return": {
|
|
8138
|
+
"type": {
|
|
8139
|
+
"text": "T[]"
|
|
8140
|
+
}
|
|
8141
|
+
},
|
|
8142
|
+
"parameters": [
|
|
8143
|
+
{
|
|
8144
|
+
"name": "rows",
|
|
8145
|
+
"type": {
|
|
8146
|
+
"text": "readonly T[]"
|
|
8147
|
+
}
|
|
8148
|
+
},
|
|
8149
|
+
{
|
|
8150
|
+
"name": "problems",
|
|
8151
|
+
"type": {
|
|
8152
|
+
"text": "ReadonlyMap<number, string[]>"
|
|
8153
|
+
}
|
|
8154
|
+
}
|
|
8155
|
+
],
|
|
8156
|
+
"description": "The rows with what the check found added to their problems."
|
|
8157
|
+
}
|
|
8158
|
+
],
|
|
8159
|
+
"exports": [
|
|
8306
8160
|
{
|
|
8307
8161
|
"kind": "js",
|
|
8308
|
-
"name": "
|
|
8162
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8309
8163
|
"declaration": {
|
|
8310
|
-
"name": "
|
|
8311
|
-
"module": "
|
|
8164
|
+
"name": "MAX_REFERENCE_CHECKS",
|
|
8165
|
+
"module": "src/genesis/reference-existence.ts"
|
|
8312
8166
|
}
|
|
8313
8167
|
},
|
|
8314
8168
|
{
|
|
8315
8169
|
"kind": "js",
|
|
8316
|
-
"name": "
|
|
8170
|
+
"name": "withReferenceProblems",
|
|
8317
8171
|
"declaration": {
|
|
8318
|
-
"name": "
|
|
8319
|
-
"module": "
|
|
8172
|
+
"name": "withReferenceProblems",
|
|
8173
|
+
"module": "src/genesis/reference-existence.ts"
|
|
8320
8174
|
}
|
|
8175
|
+
}
|
|
8176
|
+
]
|
|
8177
|
+
},
|
|
8178
|
+
{
|
|
8179
|
+
"kind": "javascript-module",
|
|
8180
|
+
"path": "src/genesis/register-genesis-assistant.ts",
|
|
8181
|
+
"declarations": [
|
|
8182
|
+
{
|
|
8183
|
+
"kind": "variable",
|
|
8184
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8185
|
+
"type": {
|
|
8186
|
+
"text": "string"
|
|
8187
|
+
},
|
|
8188
|
+
"default": "'genesis-assistant'",
|
|
8189
|
+
"description": "The name of the agent registerGenesisAssistant builds."
|
|
8321
8190
|
},
|
|
8191
|
+
{
|
|
8192
|
+
"kind": "function",
|
|
8193
|
+
"name": "registerGenesisAssistant",
|
|
8194
|
+
"return": {
|
|
8195
|
+
"type": {
|
|
8196
|
+
"text": "GenesisAssistantRegistration"
|
|
8197
|
+
}
|
|
8198
|
+
},
|
|
8199
|
+
"parameters": [
|
|
8200
|
+
{
|
|
8201
|
+
"name": "options",
|
|
8202
|
+
"type": {
|
|
8203
|
+
"text": "RegisterGenesisAssistantOptions"
|
|
8204
|
+
}
|
|
8205
|
+
}
|
|
8206
|
+
],
|
|
8207
|
+
"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."
|
|
8208
|
+
}
|
|
8209
|
+
],
|
|
8210
|
+
"exports": [
|
|
8322
8211
|
{
|
|
8323
8212
|
"kind": "js",
|
|
8324
|
-
"name": "
|
|
8213
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8325
8214
|
"declaration": {
|
|
8326
|
-
"name": "
|
|
8327
|
-
"module": "
|
|
8215
|
+
"name": "GENESIS_AGENT_NAME",
|
|
8216
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
8328
8217
|
}
|
|
8329
8218
|
},
|
|
8330
8219
|
{
|
|
8331
8220
|
"kind": "js",
|
|
8332
|
-
"name": "
|
|
8221
|
+
"name": "registerGenesisAssistant",
|
|
8333
8222
|
"declaration": {
|
|
8334
|
-
"name": "
|
|
8335
|
-
"module": "
|
|
8223
|
+
"name": "registerGenesisAssistant",
|
|
8224
|
+
"module": "src/genesis/register-genesis-assistant.ts"
|
|
8336
8225
|
}
|
|
8226
|
+
}
|
|
8227
|
+
]
|
|
8228
|
+
},
|
|
8229
|
+
{
|
|
8230
|
+
"kind": "javascript-module",
|
|
8231
|
+
"path": "src/genesis/resource-tools.ts",
|
|
8232
|
+
"declarations": [
|
|
8233
|
+
{
|
|
8234
|
+
"kind": "variable",
|
|
8235
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8236
|
+
"type": {
|
|
8237
|
+
"text": "string"
|
|
8238
|
+
},
|
|
8239
|
+
"default": "'app-database'",
|
|
8240
|
+
"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."
|
|
8337
8241
|
},
|
|
8242
|
+
{
|
|
8243
|
+
"kind": "function",
|
|
8244
|
+
"name": "createGenesisResourceTools",
|
|
8245
|
+
"return": {
|
|
8246
|
+
"type": {
|
|
8247
|
+
"text": "GenesisResourceTools"
|
|
8248
|
+
}
|
|
8249
|
+
},
|
|
8250
|
+
"parameters": [
|
|
8251
|
+
{
|
|
8252
|
+
"name": "resources",
|
|
8253
|
+
"type": {
|
|
8254
|
+
"text": "readonly GenesisAiResource[]"
|
|
8255
|
+
}
|
|
8256
|
+
},
|
|
8257
|
+
{
|
|
8258
|
+
"name": "options",
|
|
8259
|
+
"default": "{}",
|
|
8260
|
+
"type": {
|
|
8261
|
+
"text": "GenesisResourceToolsOptions"
|
|
8262
|
+
}
|
|
8263
|
+
}
|
|
8264
|
+
],
|
|
8265
|
+
"description": "Builds the assistant's tools from an app's resources."
|
|
8266
|
+
}
|
|
8267
|
+
],
|
|
8268
|
+
"exports": [
|
|
8338
8269
|
{
|
|
8339
8270
|
"kind": "js",
|
|
8340
|
-
"name": "
|
|
8271
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8341
8272
|
"declaration": {
|
|
8342
|
-
"name": "
|
|
8343
|
-
"module": "
|
|
8273
|
+
"name": "GENESIS_DATA_SOURCE",
|
|
8274
|
+
"module": "src/genesis/resource-tools.ts"
|
|
8344
8275
|
}
|
|
8345
8276
|
},
|
|
8346
8277
|
{
|
|
8347
8278
|
"kind": "js",
|
|
8348
|
-
"name": "
|
|
8279
|
+
"name": "createGenesisResourceTools",
|
|
8349
8280
|
"declaration": {
|
|
8350
|
-
"name": "
|
|
8351
|
-
"module": "
|
|
8281
|
+
"name": "createGenesisResourceTools",
|
|
8282
|
+
"module": "src/genesis/resource-tools.ts"
|
|
8352
8283
|
}
|
|
8353
|
-
}
|
|
8284
|
+
}
|
|
8285
|
+
]
|
|
8286
|
+
},
|
|
8287
|
+
{
|
|
8288
|
+
"kind": "javascript-module",
|
|
8289
|
+
"path": "src/genesis/review-model.ts",
|
|
8290
|
+
"declarations": [
|
|
8291
|
+
{
|
|
8292
|
+
"kind": "variable",
|
|
8293
|
+
"name": "LONG_VALUE",
|
|
8294
|
+
"type": {
|
|
8295
|
+
"text": "number"
|
|
8296
|
+
},
|
|
8297
|
+
"default": "24",
|
|
8298
|
+
"description": "Past this many characters a value wraps; at or under it, it stays on one line."
|
|
8299
|
+
}
|
|
8300
|
+
],
|
|
8301
|
+
"exports": [
|
|
8354
8302
|
{
|
|
8355
8303
|
"kind": "js",
|
|
8356
8304
|
"name": "GenesisChangeRequest",
|
|
@@ -8369,183 +8317,356 @@
|
|
|
8369
8317
|
},
|
|
8370
8318
|
{
|
|
8371
8319
|
"kind": "js",
|
|
8372
|
-
"name": "
|
|
8320
|
+
"name": "LONG_VALUE",
|
|
8373
8321
|
"declaration": {
|
|
8374
|
-
"name": "
|
|
8375
|
-
"module": "
|
|
8322
|
+
"name": "LONG_VALUE",
|
|
8323
|
+
"module": "src/genesis/review-model.ts"
|
|
8376
8324
|
}
|
|
8377
|
-
}
|
|
8325
|
+
}
|
|
8326
|
+
]
|
|
8327
|
+
},
|
|
8328
|
+
{
|
|
8329
|
+
"kind": "javascript-module",
|
|
8330
|
+
"path": "src/genesis/review-payload.ts",
|
|
8331
|
+
"declarations": [],
|
|
8332
|
+
"exports": []
|
|
8333
|
+
},
|
|
8334
|
+
{
|
|
8335
|
+
"kind": "javascript-module",
|
|
8336
|
+
"path": "src/genesis/row-source.ts",
|
|
8337
|
+
"declarations": [],
|
|
8338
|
+
"exports": []
|
|
8339
|
+
},
|
|
8340
|
+
{
|
|
8341
|
+
"kind": "javascript-module",
|
|
8342
|
+
"path": "src/genesis/serialisable.ts",
|
|
8343
|
+
"declarations": [],
|
|
8344
|
+
"exports": []
|
|
8345
|
+
},
|
|
8346
|
+
{
|
|
8347
|
+
"kind": "javascript-module",
|
|
8348
|
+
"path": "src/genesis/server-text.ts",
|
|
8349
|
+
"declarations": [
|
|
8378
8350
|
{
|
|
8379
|
-
"kind": "
|
|
8380
|
-
"name": "
|
|
8381
|
-
"
|
|
8382
|
-
"
|
|
8383
|
-
|
|
8384
|
-
|
|
8351
|
+
"kind": "function",
|
|
8352
|
+
"name": "readsLikeFieldName",
|
|
8353
|
+
"return": {
|
|
8354
|
+
"type": {
|
|
8355
|
+
"text": "boolean"
|
|
8356
|
+
}
|
|
8357
|
+
},
|
|
8358
|
+
"parameters": [
|
|
8359
|
+
{
|
|
8360
|
+
"name": "text",
|
|
8361
|
+
"type": {
|
|
8362
|
+
"text": "string"
|
|
8363
|
+
}
|
|
8364
|
+
}
|
|
8365
|
+
],
|
|
8366
|
+
"description": "Whether text is a Genesis identifier, the FIELD_NAME shape. @internal"
|
|
8385
8367
|
},
|
|
8386
8368
|
{
|
|
8387
|
-
"kind": "
|
|
8388
|
-
"name": "
|
|
8389
|
-
"
|
|
8390
|
-
"
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8369
|
+
"kind": "function",
|
|
8370
|
+
"name": "describeFailure",
|
|
8371
|
+
"return": {
|
|
8372
|
+
"type": {
|
|
8373
|
+
"text": "string | undefined"
|
|
8374
|
+
}
|
|
8375
|
+
},
|
|
8376
|
+
"parameters": [
|
|
8377
|
+
{
|
|
8378
|
+
"name": "error",
|
|
8379
|
+
"type": {
|
|
8380
|
+
"text": "unknown"
|
|
8381
|
+
}
|
|
8382
|
+
}
|
|
8383
|
+
],
|
|
8384
|
+
"description": "Whatever a rejection turns out to be, as a sentence."
|
|
8385
|
+
}
|
|
8386
|
+
],
|
|
8387
|
+
"exports": [
|
|
8394
8388
|
{
|
|
8395
8389
|
"kind": "js",
|
|
8396
|
-
"name": "
|
|
8390
|
+
"name": "readsLikeFieldName",
|
|
8397
8391
|
"declaration": {
|
|
8398
|
-
"name": "
|
|
8399
|
-
"module": "
|
|
8392
|
+
"name": "readsLikeFieldName",
|
|
8393
|
+
"module": "src/genesis/server-text.ts"
|
|
8400
8394
|
}
|
|
8401
8395
|
},
|
|
8402
8396
|
{
|
|
8403
8397
|
"kind": "js",
|
|
8404
|
-
"name": "
|
|
8398
|
+
"name": "describeFailure",
|
|
8405
8399
|
"declaration": {
|
|
8406
|
-
"name": "
|
|
8407
|
-
"module": "
|
|
8400
|
+
"name": "describeFailure",
|
|
8401
|
+
"module": "src/genesis/server-text.ts"
|
|
8408
8402
|
}
|
|
8409
|
-
}
|
|
8403
|
+
}
|
|
8404
|
+
]
|
|
8405
|
+
},
|
|
8406
|
+
{
|
|
8407
|
+
"kind": "javascript-module",
|
|
8408
|
+
"path": "src/genesis/type-name.ts",
|
|
8409
|
+
"declarations": [],
|
|
8410
|
+
"exports": []
|
|
8411
|
+
},
|
|
8412
|
+
{
|
|
8413
|
+
"kind": "javascript-module",
|
|
8414
|
+
"path": "src/genesis/types.ts",
|
|
8415
|
+
"declarations": [
|
|
8410
8416
|
{
|
|
8411
|
-
"kind": "
|
|
8417
|
+
"kind": "variable",
|
|
8412
8418
|
"name": "GENESIS_EVENT_OPS",
|
|
8413
|
-
"
|
|
8414
|
-
"
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
"declaration": {
|
|
8422
|
-
"name": "GenesisAiConfig",
|
|
8423
|
-
"module": "./types"
|
|
8424
|
-
}
|
|
8425
|
-
},
|
|
8426
|
-
{
|
|
8427
|
-
"kind": "js",
|
|
8428
|
-
"name": "GenesisAiConsumes",
|
|
8429
|
-
"declaration": {
|
|
8430
|
-
"name": "GenesisAiConsumes",
|
|
8431
|
-
"module": "./types"
|
|
8432
|
-
}
|
|
8433
|
-
},
|
|
8434
|
-
{
|
|
8435
|
-
"kind": "js",
|
|
8436
|
-
"name": "GenesisAiResource",
|
|
8437
|
-
"declaration": {
|
|
8438
|
-
"name": "GenesisAiResource",
|
|
8439
|
-
"module": "./types"
|
|
8440
|
-
}
|
|
8441
|
-
},
|
|
8442
|
-
{
|
|
8443
|
-
"kind": "js",
|
|
8444
|
-
"name": "GenesisAssistantExtensions",
|
|
8445
|
-
"declaration": {
|
|
8446
|
-
"name": "GenesisAssistantExtensions",
|
|
8447
|
-
"module": "./types"
|
|
8448
|
-
}
|
|
8449
|
-
},
|
|
8450
|
-
{
|
|
8451
|
-
"kind": "js",
|
|
8452
|
-
"name": "GenesisAssistantRegistration",
|
|
8453
|
-
"declaration": {
|
|
8454
|
-
"name": "GenesisAssistantRegistration",
|
|
8455
|
-
"module": "./types"
|
|
8456
|
-
}
|
|
8457
|
-
},
|
|
8458
|
-
{
|
|
8459
|
-
"kind": "js",
|
|
8460
|
-
"name": "GenesisCustomCode",
|
|
8461
|
-
"declaration": {
|
|
8462
|
-
"name": "GenesisCustomCode",
|
|
8463
|
-
"module": "./types"
|
|
8464
|
-
}
|
|
8465
|
-
},
|
|
8419
|
+
"type": {
|
|
8420
|
+
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
8421
|
+
},
|
|
8422
|
+
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
8423
|
+
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
8424
|
+
}
|
|
8425
|
+
],
|
|
8426
|
+
"exports": [
|
|
8466
8427
|
{
|
|
8467
8428
|
"kind": "js",
|
|
8468
|
-
"name": "
|
|
8429
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8469
8430
|
"declaration": {
|
|
8470
|
-
"name": "
|
|
8471
|
-
"module": "
|
|
8431
|
+
"name": "GENESIS_EVENT_OPS",
|
|
8432
|
+
"module": "src/genesis/types.ts"
|
|
8472
8433
|
}
|
|
8473
|
-
}
|
|
8434
|
+
}
|
|
8435
|
+
]
|
|
8436
|
+
},
|
|
8437
|
+
{
|
|
8438
|
+
"kind": "javascript-module",
|
|
8439
|
+
"path": "src/genesis/value-compare.ts",
|
|
8440
|
+
"declarations": [],
|
|
8441
|
+
"exports": []
|
|
8442
|
+
},
|
|
8443
|
+
{
|
|
8444
|
+
"kind": "javascript-module",
|
|
8445
|
+
"path": "src/genesis/vendor-follower.ts",
|
|
8446
|
+
"declarations": [],
|
|
8447
|
+
"exports": []
|
|
8448
|
+
},
|
|
8449
|
+
{
|
|
8450
|
+
"kind": "javascript-module",
|
|
8451
|
+
"path": "src/genesis/vendor-pick.ts",
|
|
8452
|
+
"declarations": [],
|
|
8453
|
+
"exports": []
|
|
8454
|
+
},
|
|
8455
|
+
{
|
|
8456
|
+
"kind": "javascript-module",
|
|
8457
|
+
"path": "src/genesis/write-commit.ts",
|
|
8458
|
+
"declarations": [],
|
|
8459
|
+
"exports": []
|
|
8460
|
+
},
|
|
8461
|
+
{
|
|
8462
|
+
"kind": "javascript-module",
|
|
8463
|
+
"path": "src/genesis/write-op.ts",
|
|
8464
|
+
"declarations": [],
|
|
8465
|
+
"exports": []
|
|
8466
|
+
},
|
|
8467
|
+
{
|
|
8468
|
+
"kind": "javascript-module",
|
|
8469
|
+
"path": "src/genesis/write-outcome.ts",
|
|
8470
|
+
"declarations": [],
|
|
8471
|
+
"exports": []
|
|
8472
|
+
},
|
|
8473
|
+
{
|
|
8474
|
+
"kind": "javascript-module",
|
|
8475
|
+
"path": "src/genesis/write-payload.ts",
|
|
8476
|
+
"declarations": [
|
|
8474
8477
|
{
|
|
8475
|
-
"kind": "
|
|
8476
|
-
"name": "
|
|
8477
|
-
"
|
|
8478
|
-
"
|
|
8479
|
-
|
|
8480
|
-
|
|
8481
|
-
|
|
8478
|
+
"kind": "function",
|
|
8479
|
+
"name": "buildEventPayload",
|
|
8480
|
+
"return": {
|
|
8481
|
+
"type": {
|
|
8482
|
+
"text": "PayloadResult"
|
|
8483
|
+
}
|
|
8484
|
+
},
|
|
8485
|
+
"parameters": [
|
|
8486
|
+
{
|
|
8487
|
+
"name": "fields",
|
|
8488
|
+
"type": {
|
|
8489
|
+
"text": "readonly GenesisEventField[]"
|
|
8490
|
+
}
|
|
8491
|
+
},
|
|
8492
|
+
{
|
|
8493
|
+
"name": "row",
|
|
8494
|
+
"type": {
|
|
8495
|
+
"text": "unknown"
|
|
8496
|
+
}
|
|
8497
|
+
},
|
|
8498
|
+
{
|
|
8499
|
+
"name": "{ op, preImage, unchecked }",
|
|
8500
|
+
"type": {
|
|
8501
|
+
"text": "BuildPayloadOptions"
|
|
8502
|
+
}
|
|
8503
|
+
}
|
|
8504
|
+
]
|
|
8505
|
+
}
|
|
8506
|
+
],
|
|
8507
|
+
"exports": [
|
|
8482
8508
|
{
|
|
8483
8509
|
"kind": "js",
|
|
8484
|
-
"name": "
|
|
8510
|
+
"name": "buildEventPayload",
|
|
8485
8511
|
"declaration": {
|
|
8486
|
-
"name": "
|
|
8487
|
-
"module": "
|
|
8512
|
+
"name": "buildEventPayload",
|
|
8513
|
+
"module": "src/genesis/write-payload.ts"
|
|
8488
8514
|
}
|
|
8489
|
-
}
|
|
8515
|
+
}
|
|
8516
|
+
]
|
|
8517
|
+
},
|
|
8518
|
+
{
|
|
8519
|
+
"kind": "javascript-module",
|
|
8520
|
+
"path": "src/genesis/write-plan.ts",
|
|
8521
|
+
"declarations": [
|
|
8490
8522
|
{
|
|
8491
|
-
"kind": "
|
|
8492
|
-
"name": "
|
|
8493
|
-
"
|
|
8494
|
-
"
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8523
|
+
"kind": "variable",
|
|
8524
|
+
"name": "MAX_WRITE_ROWS",
|
|
8525
|
+
"type": {
|
|
8526
|
+
"text": "number"
|
|
8527
|
+
},
|
|
8528
|
+
"default": "25",
|
|
8529
|
+
"description": "A batch a person can actually read before approving it."
|
|
8530
|
+
}
|
|
8531
|
+
],
|
|
8532
|
+
"exports": [
|
|
8498
8533
|
{
|
|
8499
8534
|
"kind": "js",
|
|
8500
|
-
"name": "
|
|
8535
|
+
"name": "MAX_WRITE_ROWS",
|
|
8501
8536
|
"declaration": {
|
|
8502
|
-
"name": "
|
|
8503
|
-
"module": "
|
|
8537
|
+
"name": "MAX_WRITE_ROWS",
|
|
8538
|
+
"module": "src/genesis/write-plan.ts"
|
|
8504
8539
|
}
|
|
8505
|
-
}
|
|
8540
|
+
}
|
|
8541
|
+
]
|
|
8542
|
+
},
|
|
8543
|
+
{
|
|
8544
|
+
"kind": "javascript-module",
|
|
8545
|
+
"path": "src/genesis/write-tools.ts",
|
|
8546
|
+
"declarations": [
|
|
8506
8547
|
{
|
|
8507
|
-
"kind": "
|
|
8508
|
-
"name": "
|
|
8509
|
-
"
|
|
8510
|
-
"
|
|
8511
|
-
|
|
8512
|
-
|
|
8513
|
-
|
|
8548
|
+
"kind": "function",
|
|
8549
|
+
"name": "createGenesisWriteTools",
|
|
8550
|
+
"return": {
|
|
8551
|
+
"type": {
|
|
8552
|
+
"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}"
|
|
8553
|
+
}
|
|
8554
|
+
},
|
|
8555
|
+
"parameters": [
|
|
8556
|
+
{
|
|
8557
|
+
"name": "resources",
|
|
8558
|
+
"type": {
|
|
8559
|
+
"text": "readonly GenesisAiResource[]"
|
|
8560
|
+
}
|
|
8561
|
+
},
|
|
8562
|
+
{
|
|
8563
|
+
"name": "options",
|
|
8564
|
+
"default": "{}",
|
|
8565
|
+
"type": {
|
|
8566
|
+
"text": "GenesisWriteToolsOptions"
|
|
8567
|
+
}
|
|
8568
|
+
}
|
|
8569
|
+
],
|
|
8570
|
+
"description": "Builds the assistant's write tools from an app's event resources."
|
|
8571
|
+
}
|
|
8572
|
+
],
|
|
8573
|
+
"exports": [
|
|
8514
8574
|
{
|
|
8515
8575
|
"kind": "js",
|
|
8516
|
-
"name": "
|
|
8576
|
+
"name": "createGenesisWriteTools",
|
|
8517
8577
|
"declaration": {
|
|
8518
|
-
"name": "
|
|
8519
|
-
"module": "
|
|
8578
|
+
"name": "createGenesisWriteTools",
|
|
8579
|
+
"module": "src/genesis/write-tools.ts"
|
|
8520
8580
|
}
|
|
8521
8581
|
}
|
|
8522
8582
|
]
|
|
8523
8583
|
},
|
|
8524
8584
|
{
|
|
8525
8585
|
"kind": "javascript-module",
|
|
8526
|
-
"path": "src/genesis/
|
|
8586
|
+
"path": "src/genesis/write-turn.ts",
|
|
8587
|
+
"declarations": [],
|
|
8588
|
+
"exports": []
|
|
8589
|
+
},
|
|
8590
|
+
{
|
|
8591
|
+
"kind": "javascript-module",
|
|
8592
|
+
"path": "src/headless-server/compact.ts",
|
|
8527
8593
|
"declarations": [
|
|
8528
8594
|
{
|
|
8529
8595
|
"kind": "function",
|
|
8530
|
-
"name": "
|
|
8596
|
+
"name": "firstLines",
|
|
8531
8597
|
"return": {
|
|
8532
8598
|
"type": {
|
|
8533
|
-
"text": "string"
|
|
8599
|
+
"text": "{ text: string; chars?: number }"
|
|
8534
8600
|
}
|
|
8535
8601
|
},
|
|
8536
8602
|
"parameters": [
|
|
8537
8603
|
{
|
|
8538
|
-
"name": "
|
|
8604
|
+
"name": "text",
|
|
8539
8605
|
"type": {
|
|
8540
8606
|
"text": "string"
|
|
8541
8607
|
}
|
|
8608
|
+
},
|
|
8609
|
+
{
|
|
8610
|
+
"name": "lines",
|
|
8611
|
+
"type": {
|
|
8612
|
+
"text": "number"
|
|
8613
|
+
}
|
|
8614
|
+
},
|
|
8615
|
+
{
|
|
8616
|
+
"name": "chars",
|
|
8617
|
+
"type": {
|
|
8618
|
+
"text": "number"
|
|
8619
|
+
}
|
|
8542
8620
|
}
|
|
8543
8621
|
],
|
|
8544
|
-
"description": "The
|
|
8622
|
+
"description": "The first `lines` lines of `text`, at most `chars` characters, and its full length when it was cut."
|
|
8545
8623
|
},
|
|
8546
8624
|
{
|
|
8547
8625
|
"kind": "function",
|
|
8548
|
-
"name": "
|
|
8626
|
+
"name": "present",
|
|
8627
|
+
"return": {
|
|
8628
|
+
"type": {
|
|
8629
|
+
"text": "Partial<T>"
|
|
8630
|
+
}
|
|
8631
|
+
},
|
|
8632
|
+
"parameters": [
|
|
8633
|
+
{
|
|
8634
|
+
"name": "source",
|
|
8635
|
+
"type": {
|
|
8636
|
+
"text": "T"
|
|
8637
|
+
}
|
|
8638
|
+
}
|
|
8639
|
+
],
|
|
8640
|
+
"description": "The keys of `source` that are set, as a new object: a field with nothing to say is dropped."
|
|
8641
|
+
},
|
|
8642
|
+
{
|
|
8643
|
+
"kind": "function",
|
|
8644
|
+
"name": "compactEvent",
|
|
8645
|
+
"return": {
|
|
8646
|
+
"type": {
|
|
8647
|
+
"text": "CompactEvent | undefined"
|
|
8648
|
+
}
|
|
8649
|
+
},
|
|
8650
|
+
"parameters": [
|
|
8651
|
+
{
|
|
8652
|
+
"name": "event",
|
|
8653
|
+
"type": {
|
|
8654
|
+
"text": "HeadlessEvent"
|
|
8655
|
+
}
|
|
8656
|
+
},
|
|
8657
|
+
{
|
|
8658
|
+
"name": "options",
|
|
8659
|
+
"default": "{}",
|
|
8660
|
+
"type": {
|
|
8661
|
+
"text": "CompactOptions"
|
|
8662
|
+
}
|
|
8663
|
+
}
|
|
8664
|
+
],
|
|
8665
|
+
"description": "One session event, compact. `decision` and `working` are not reported as events: what the person is asked\nis the reply's `decision`, and what is working is its `working`. A message carries its first lines and\nits length; a probe event is the host's view of it (see `ServerOptions.probeEvent`)."
|
|
8666
|
+
},
|
|
8667
|
+
{
|
|
8668
|
+
"kind": "function",
|
|
8669
|
+
"name": "leanDecisionText",
|
|
8549
8670
|
"return": {
|
|
8550
8671
|
"type": {
|
|
8551
8672
|
"text": "string"
|
|
@@ -8553,541 +8674,420 @@
|
|
|
8553
8674
|
},
|
|
8554
8675
|
"parameters": [
|
|
8555
8676
|
{
|
|
8556
|
-
"name": "
|
|
8677
|
+
"name": "text",
|
|
8557
8678
|
"type": {
|
|
8558
8679
|
"text": "string"
|
|
8559
8680
|
}
|
|
8560
8681
|
},
|
|
8561
8682
|
{
|
|
8562
|
-
"name": "
|
|
8683
|
+
"name": "views",
|
|
8684
|
+
"optional": true,
|
|
8563
8685
|
"type": {
|
|
8564
|
-
"text": "
|
|
8686
|
+
"text": "Readonly<Record<string, string>>"
|
|
8565
8687
|
}
|
|
8566
8688
|
}
|
|
8567
8689
|
],
|
|
8568
|
-
"description": "
|
|
8690
|
+
"description": "A decision's text without its `Now: <the preview view as JSON>` line, and nothing else (`decisionText:\n\"lean\"`). `renderDecision` writes the preview as `Now: ${capRead(JSON.stringify(view))}`: `JSON.stringify`\nwith no indent never breaks a line, so the JSON is the one line, and `capRead` adds a second, `[Cut at …]`,\nonly when it cut it. Both go; in their place is a pointer to `read`. The line is found by position, not\nby prefix alone: it follows the Views list, whose entry for the preview ends `(shown below as Now)`, so a\ncard that itself has a line starting `Now: ` is not mistaken for it.\n\nThe text comes back as it was when there is no preview to find (a card with no preview view, or a short-form\ndecision, which shows no `Now:`), or when `views` does not name the one the Views list marks."
|
|
8569
8691
|
},
|
|
8570
8692
|
{
|
|
8571
8693
|
"kind": "function",
|
|
8572
|
-
"name": "
|
|
8694
|
+
"name": "compactDecision",
|
|
8573
8695
|
"return": {
|
|
8574
8696
|
"type": {
|
|
8575
|
-
"text": "
|
|
8697
|
+
"text": "CompactDecision"
|
|
8576
8698
|
}
|
|
8577
8699
|
},
|
|
8578
8700
|
"parameters": [
|
|
8579
8701
|
{
|
|
8580
|
-
"name": "
|
|
8702
|
+
"name": "description",
|
|
8703
|
+
"type": {
|
|
8704
|
+
"text": "InteractionDescription"
|
|
8705
|
+
}
|
|
8706
|
+
},
|
|
8707
|
+
{
|
|
8708
|
+
"name": "decisionText",
|
|
8709
|
+
"default": "'full'",
|
|
8710
|
+
"type": {
|
|
8711
|
+
"text": "DecisionText"
|
|
8712
|
+
}
|
|
8713
|
+
}
|
|
8714
|
+
],
|
|
8715
|
+
"description": "A decision as the reply carries it: what to read and what to choose from, and nothing empty. With\n`decisionText: \"lean\"` its `text` leaves out the preview view's JSON (leanDecisionText); nothing\nelse about it changes."
|
|
8716
|
+
},
|
|
8717
|
+
{
|
|
8718
|
+
"kind": "function",
|
|
8719
|
+
"name": "shortDecision",
|
|
8720
|
+
"return": {
|
|
8721
|
+
"type": {
|
|
8722
|
+
"text": "CompactDecision"
|
|
8723
|
+
}
|
|
8724
|
+
},
|
|
8725
|
+
"parameters": [
|
|
8726
|
+
{
|
|
8727
|
+
"name": "interactionId",
|
|
8581
8728
|
"type": {
|
|
8582
8729
|
"text": "string"
|
|
8583
8730
|
}
|
|
8584
8731
|
},
|
|
8585
8732
|
{
|
|
8586
|
-
"name": "
|
|
8733
|
+
"name": "component",
|
|
8587
8734
|
"type": {
|
|
8588
|
-
"text": "
|
|
8735
|
+
"text": "string"
|
|
8736
|
+
}
|
|
8737
|
+
},
|
|
8738
|
+
{
|
|
8739
|
+
"name": "actions",
|
|
8740
|
+
"type": {
|
|
8741
|
+
"text": "ReadonlyArray<{ n?: number; name: string; enabled: boolean }>"
|
|
8589
8742
|
}
|
|
8590
8743
|
}
|
|
8591
8744
|
],
|
|
8592
|
-
"description": "
|
|
8745
|
+
"description": "A decision cut to what a caller who has already read the card needs: which interaction, and the actions as\n`n`, `name`, `enabled`. For the reply to an edit, and to a refused action, where the card has not changed\nenough to be worth sending again."
|
|
8746
|
+
},
|
|
8747
|
+
{
|
|
8748
|
+
"kind": "function",
|
|
8749
|
+
"name": "capOutput",
|
|
8750
|
+
"return": {
|
|
8751
|
+
"type": {
|
|
8752
|
+
"text": "unknown"
|
|
8753
|
+
}
|
|
8754
|
+
},
|
|
8755
|
+
"parameters": [
|
|
8756
|
+
{
|
|
8757
|
+
"name": "output",
|
|
8758
|
+
"type": {
|
|
8759
|
+
"text": "unknown"
|
|
8760
|
+
}
|
|
8761
|
+
}
|
|
8762
|
+
],
|
|
8763
|
+
"description": "What an editing action returned, as the reply carries it: whole when small, else its first characters."
|
|
8764
|
+
}
|
|
8765
|
+
],
|
|
8766
|
+
"exports": [
|
|
8767
|
+
{
|
|
8768
|
+
"kind": "js",
|
|
8769
|
+
"name": "firstLines",
|
|
8770
|
+
"declaration": {
|
|
8771
|
+
"name": "firstLines",
|
|
8772
|
+
"module": "src/headless-server/compact.ts"
|
|
8773
|
+
}
|
|
8774
|
+
},
|
|
8775
|
+
{
|
|
8776
|
+
"kind": "js",
|
|
8777
|
+
"name": "present",
|
|
8778
|
+
"declaration": {
|
|
8779
|
+
"name": "present",
|
|
8780
|
+
"module": "src/headless-server/compact.ts"
|
|
8781
|
+
}
|
|
8782
|
+
},
|
|
8783
|
+
{
|
|
8784
|
+
"kind": "js",
|
|
8785
|
+
"name": "compactEvent",
|
|
8786
|
+
"declaration": {
|
|
8787
|
+
"name": "compactEvent",
|
|
8788
|
+
"module": "src/headless-server/compact.ts"
|
|
8789
|
+
}
|
|
8790
|
+
},
|
|
8791
|
+
{
|
|
8792
|
+
"kind": "js",
|
|
8793
|
+
"name": "leanDecisionText",
|
|
8794
|
+
"declaration": {
|
|
8795
|
+
"name": "leanDecisionText",
|
|
8796
|
+
"module": "src/headless-server/compact.ts"
|
|
8797
|
+
}
|
|
8798
|
+
},
|
|
8799
|
+
{
|
|
8800
|
+
"kind": "js",
|
|
8801
|
+
"name": "compactDecision",
|
|
8802
|
+
"declaration": {
|
|
8803
|
+
"name": "compactDecision",
|
|
8804
|
+
"module": "src/headless-server/compact.ts"
|
|
8805
|
+
}
|
|
8806
|
+
},
|
|
8807
|
+
{
|
|
8808
|
+
"kind": "js",
|
|
8809
|
+
"name": "shortDecision",
|
|
8810
|
+
"declaration": {
|
|
8811
|
+
"name": "shortDecision",
|
|
8812
|
+
"module": "src/headless-server/compact.ts"
|
|
8813
|
+
}
|
|
8814
|
+
},
|
|
8815
|
+
{
|
|
8816
|
+
"kind": "js",
|
|
8817
|
+
"name": "capOutput",
|
|
8818
|
+
"declaration": {
|
|
8819
|
+
"name": "capOutput",
|
|
8820
|
+
"module": "src/headless-server/compact.ts"
|
|
8821
|
+
}
|
|
8593
8822
|
}
|
|
8594
|
-
]
|
|
8823
|
+
]
|
|
8824
|
+
},
|
|
8825
|
+
{
|
|
8826
|
+
"kind": "javascript-module",
|
|
8827
|
+
"path": "src/headless-server/index.ts",
|
|
8828
|
+
"declarations": [],
|
|
8595
8829
|
"exports": [
|
|
8596
8830
|
{
|
|
8597
8831
|
"kind": "js",
|
|
8598
|
-
"name": "
|
|
8832
|
+
"name": "capOutput",
|
|
8599
8833
|
"declaration": {
|
|
8600
|
-
"name": "
|
|
8601
|
-
"module": "
|
|
8834
|
+
"name": "capOutput",
|
|
8835
|
+
"module": "./compact"
|
|
8602
8836
|
}
|
|
8603
8837
|
},
|
|
8604
8838
|
{
|
|
8605
8839
|
"kind": "js",
|
|
8606
|
-
"name": "
|
|
8840
|
+
"name": "compactDecision",
|
|
8607
8841
|
"declaration": {
|
|
8608
|
-
"name": "
|
|
8609
|
-
"module": "
|
|
8842
|
+
"name": "compactDecision",
|
|
8843
|
+
"module": "./compact"
|
|
8610
8844
|
}
|
|
8611
8845
|
},
|
|
8612
8846
|
{
|
|
8613
8847
|
"kind": "js",
|
|
8614
|
-
"name": "
|
|
8848
|
+
"name": "compactEvent",
|
|
8615
8849
|
"declaration": {
|
|
8616
|
-
"name": "
|
|
8617
|
-
"module": "
|
|
8850
|
+
"name": "compactEvent",
|
|
8851
|
+
"module": "./compact"
|
|
8618
8852
|
}
|
|
8619
|
-
}
|
|
8620
|
-
]
|
|
8621
|
-
},
|
|
8622
|
-
{
|
|
8623
|
-
"kind": "javascript-module",
|
|
8624
|
-
"path": "src/genesis/reference-existence.ts",
|
|
8625
|
-
"declarations": [
|
|
8853
|
+
},
|
|
8626
8854
|
{
|
|
8627
|
-
"kind": "
|
|
8628
|
-
"name": "
|
|
8629
|
-
"
|
|
8630
|
-
"
|
|
8631
|
-
|
|
8632
|
-
|
|
8633
|
-
"description": "The most distinct values one call may check."
|
|
8855
|
+
"kind": "js",
|
|
8856
|
+
"name": "firstLines",
|
|
8857
|
+
"declaration": {
|
|
8858
|
+
"name": "firstLines",
|
|
8859
|
+
"module": "./compact"
|
|
8860
|
+
}
|
|
8634
8861
|
},
|
|
8635
8862
|
{
|
|
8636
|
-
"kind": "
|
|
8637
|
-
"name": "
|
|
8638
|
-
"
|
|
8639
|
-
"
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
"parameters": [
|
|
8644
|
-
{
|
|
8645
|
-
"name": "rows",
|
|
8646
|
-
"type": {
|
|
8647
|
-
"text": "readonly T[]"
|
|
8648
|
-
}
|
|
8649
|
-
},
|
|
8650
|
-
{
|
|
8651
|
-
"name": "problems",
|
|
8652
|
-
"type": {
|
|
8653
|
-
"text": "ReadonlyMap<number, string[]>"
|
|
8654
|
-
}
|
|
8655
|
-
}
|
|
8656
|
-
],
|
|
8657
|
-
"description": "The rows with what the check found added to their problems."
|
|
8658
|
-
}
|
|
8659
|
-
],
|
|
8660
|
-
"exports": [
|
|
8863
|
+
"kind": "js",
|
|
8864
|
+
"name": "leanDecisionText",
|
|
8865
|
+
"declaration": {
|
|
8866
|
+
"name": "leanDecisionText",
|
|
8867
|
+
"module": "./compact"
|
|
8868
|
+
}
|
|
8869
|
+
},
|
|
8661
8870
|
{
|
|
8662
8871
|
"kind": "js",
|
|
8663
|
-
"name": "
|
|
8872
|
+
"name": "shortDecision",
|
|
8664
8873
|
"declaration": {
|
|
8665
|
-
"name": "
|
|
8666
|
-
"module": "
|
|
8874
|
+
"name": "shortDecision",
|
|
8875
|
+
"module": "./compact"
|
|
8667
8876
|
}
|
|
8668
8877
|
},
|
|
8669
8878
|
{
|
|
8670
8879
|
"kind": "js",
|
|
8671
|
-
"name": "
|
|
8880
|
+
"name": "createHeadlessServer",
|
|
8672
8881
|
"declaration": {
|
|
8673
|
-
"name": "
|
|
8674
|
-
"module": "
|
|
8882
|
+
"name": "createHeadlessServer",
|
|
8883
|
+
"module": "./server"
|
|
8675
8884
|
}
|
|
8676
|
-
}
|
|
8677
|
-
]
|
|
8678
|
-
},
|
|
8679
|
-
{
|
|
8680
|
-
"kind": "javascript-module",
|
|
8681
|
-
"path": "src/genesis/register-genesis-assistant.ts",
|
|
8682
|
-
"declarations": [
|
|
8885
|
+
},
|
|
8683
8886
|
{
|
|
8684
|
-
"kind": "
|
|
8685
|
-
"name": "
|
|
8686
|
-
"
|
|
8687
|
-
"
|
|
8688
|
-
|
|
8689
|
-
|
|
8690
|
-
"description": "The name of the agent registerGenesisAssistant builds."
|
|
8887
|
+
"kind": "js",
|
|
8888
|
+
"name": "DECISION_TEXTS",
|
|
8889
|
+
"declaration": {
|
|
8890
|
+
"name": "DECISION_TEXTS",
|
|
8891
|
+
"module": "./types"
|
|
8892
|
+
}
|
|
8691
8893
|
},
|
|
8692
8894
|
{
|
|
8693
|
-
"kind": "
|
|
8694
|
-
"name": "
|
|
8695
|
-
"
|
|
8696
|
-
"
|
|
8697
|
-
|
|
8698
|
-
|
|
8699
|
-
|
|
8700
|
-
"parameters": [
|
|
8701
|
-
{
|
|
8702
|
-
"name": "options",
|
|
8703
|
-
"type": {
|
|
8704
|
-
"text": "RegisterGenesisAssistantOptions"
|
|
8705
|
-
}
|
|
8706
|
-
}
|
|
8707
|
-
],
|
|
8708
|
-
"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."
|
|
8709
|
-
}
|
|
8710
|
-
],
|
|
8711
|
-
"exports": [
|
|
8895
|
+
"kind": "js",
|
|
8896
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
8897
|
+
"declaration": {
|
|
8898
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
8899
|
+
"module": "./types"
|
|
8900
|
+
}
|
|
8901
|
+
},
|
|
8712
8902
|
{
|
|
8713
8903
|
"kind": "js",
|
|
8714
|
-
"name": "
|
|
8904
|
+
"name": "Command",
|
|
8715
8905
|
"declaration": {
|
|
8716
|
-
"name": "
|
|
8717
|
-
"module": "
|
|
8906
|
+
"name": "Command",
|
|
8907
|
+
"module": "./types"
|
|
8718
8908
|
}
|
|
8719
8909
|
},
|
|
8720
8910
|
{
|
|
8721
8911
|
"kind": "js",
|
|
8722
|
-
"name": "
|
|
8912
|
+
"name": "CompactAction",
|
|
8723
8913
|
"declaration": {
|
|
8724
|
-
"name": "
|
|
8725
|
-
"module": "
|
|
8914
|
+
"name": "CompactAction",
|
|
8915
|
+
"module": "./types"
|
|
8726
8916
|
}
|
|
8727
|
-
}
|
|
8728
|
-
]
|
|
8729
|
-
},
|
|
8730
|
-
{
|
|
8731
|
-
"kind": "javascript-module",
|
|
8732
|
-
"path": "src/genesis/resource-tools.ts",
|
|
8733
|
-
"declarations": [
|
|
8917
|
+
},
|
|
8734
8918
|
{
|
|
8735
|
-
"kind": "
|
|
8736
|
-
"name": "
|
|
8737
|
-
"
|
|
8738
|
-
"
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
"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."
|
|
8919
|
+
"kind": "js",
|
|
8920
|
+
"name": "CompactDecision",
|
|
8921
|
+
"declaration": {
|
|
8922
|
+
"name": "CompactDecision",
|
|
8923
|
+
"module": "./types"
|
|
8924
|
+
}
|
|
8742
8925
|
},
|
|
8743
8926
|
{
|
|
8744
|
-
"kind": "
|
|
8745
|
-
"name": "
|
|
8746
|
-
"
|
|
8747
|
-
"
|
|
8748
|
-
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
"parameters": [
|
|
8752
|
-
{
|
|
8753
|
-
"name": "resources",
|
|
8754
|
-
"type": {
|
|
8755
|
-
"text": "readonly GenesisAiResource[]"
|
|
8756
|
-
}
|
|
8757
|
-
},
|
|
8758
|
-
{
|
|
8759
|
-
"name": "options",
|
|
8760
|
-
"default": "{}",
|
|
8761
|
-
"type": {
|
|
8762
|
-
"text": "GenesisResourceToolsOptions"
|
|
8763
|
-
}
|
|
8764
|
-
}
|
|
8765
|
-
],
|
|
8766
|
-
"description": "Builds the assistant's tools from an app's resources."
|
|
8767
|
-
}
|
|
8768
|
-
],
|
|
8769
|
-
"exports": [
|
|
8927
|
+
"kind": "js",
|
|
8928
|
+
"name": "CompactEvent",
|
|
8929
|
+
"declaration": {
|
|
8930
|
+
"name": "CompactEvent",
|
|
8931
|
+
"module": "./types"
|
|
8932
|
+
}
|
|
8933
|
+
},
|
|
8770
8934
|
{
|
|
8771
8935
|
"kind": "js",
|
|
8772
|
-
"name": "
|
|
8936
|
+
"name": "Composer",
|
|
8773
8937
|
"declaration": {
|
|
8774
|
-
"name": "
|
|
8775
|
-
"module": "
|
|
8938
|
+
"name": "Composer",
|
|
8939
|
+
"module": "./types"
|
|
8776
8940
|
}
|
|
8777
8941
|
},
|
|
8778
8942
|
{
|
|
8779
8943
|
"kind": "js",
|
|
8780
|
-
"name": "
|
|
8944
|
+
"name": "DecisionText",
|
|
8781
8945
|
"declaration": {
|
|
8782
|
-
"name": "
|
|
8783
|
-
"module": "
|
|
8946
|
+
"name": "DecisionText",
|
|
8947
|
+
"module": "./types"
|
|
8784
8948
|
}
|
|
8785
|
-
}
|
|
8786
|
-
]
|
|
8787
|
-
},
|
|
8788
|
-
{
|
|
8789
|
-
"kind": "javascript-module",
|
|
8790
|
-
"path": "src/genesis/review-model.ts",
|
|
8791
|
-
"declarations": [
|
|
8949
|
+
},
|
|
8792
8950
|
{
|
|
8793
|
-
"kind": "
|
|
8794
|
-
"name": "
|
|
8795
|
-
"
|
|
8796
|
-
"
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
}
|
|
8801
|
-
],
|
|
8802
|
-
"exports": [
|
|
8951
|
+
"kind": "js",
|
|
8952
|
+
"name": "ExtraOp",
|
|
8953
|
+
"declaration": {
|
|
8954
|
+
"name": "ExtraOp",
|
|
8955
|
+
"module": "./types"
|
|
8956
|
+
}
|
|
8957
|
+
},
|
|
8803
8958
|
{
|
|
8804
8959
|
"kind": "js",
|
|
8805
|
-
"name": "
|
|
8960
|
+
"name": "ExtraOpResult",
|
|
8806
8961
|
"declaration": {
|
|
8807
|
-
"name": "
|
|
8808
|
-
"module": "./
|
|
8962
|
+
"name": "ExtraOpResult",
|
|
8963
|
+
"module": "./types"
|
|
8964
|
+
}
|
|
8965
|
+
},
|
|
8966
|
+
{
|
|
8967
|
+
"kind": "js",
|
|
8968
|
+
"name": "HeadlessServer",
|
|
8969
|
+
"declaration": {
|
|
8970
|
+
"name": "HeadlessServer",
|
|
8971
|
+
"module": "./types"
|
|
8809
8972
|
}
|
|
8810
8973
|
},
|
|
8811
8974
|
{
|
|
8812
8975
|
"kind": "js",
|
|
8813
|
-
"name": "
|
|
8976
|
+
"name": "HeadlessServerHandle",
|
|
8814
8977
|
"declaration": {
|
|
8815
|
-
"name": "
|
|
8816
|
-
"module": "./
|
|
8978
|
+
"name": "HeadlessServerHandle",
|
|
8979
|
+
"module": "./types"
|
|
8817
8980
|
}
|
|
8818
8981
|
},
|
|
8819
8982
|
{
|
|
8820
8983
|
"kind": "js",
|
|
8821
|
-
"name": "
|
|
8984
|
+
"name": "Reply",
|
|
8822
8985
|
"declaration": {
|
|
8823
|
-
"name": "
|
|
8824
|
-
"module": "
|
|
8986
|
+
"name": "Reply",
|
|
8987
|
+
"module": "./types"
|
|
8825
8988
|
}
|
|
8826
|
-
}
|
|
8827
|
-
]
|
|
8828
|
-
},
|
|
8829
|
-
{
|
|
8830
|
-
"kind": "javascript-module",
|
|
8831
|
-
"path": "src/genesis/review-payload.ts",
|
|
8832
|
-
"declarations": [],
|
|
8833
|
-
"exports": []
|
|
8834
|
-
},
|
|
8835
|
-
{
|
|
8836
|
-
"kind": "javascript-module",
|
|
8837
|
-
"path": "src/genesis/row-source.ts",
|
|
8838
|
-
"declarations": [],
|
|
8839
|
-
"exports": []
|
|
8840
|
-
},
|
|
8841
|
-
{
|
|
8842
|
-
"kind": "javascript-module",
|
|
8843
|
-
"path": "src/genesis/serialisable.ts",
|
|
8844
|
-
"declarations": [],
|
|
8845
|
-
"exports": []
|
|
8846
|
-
},
|
|
8847
|
-
{
|
|
8848
|
-
"kind": "javascript-module",
|
|
8849
|
-
"path": "src/genesis/server-text.ts",
|
|
8850
|
-
"declarations": [
|
|
8851
|
-
{
|
|
8852
|
-
"kind": "function",
|
|
8853
|
-
"name": "readsLikeFieldName",
|
|
8854
|
-
"return": {
|
|
8855
|
-
"type": {
|
|
8856
|
-
"text": "boolean"
|
|
8857
|
-
}
|
|
8858
|
-
},
|
|
8859
|
-
"parameters": [
|
|
8860
|
-
{
|
|
8861
|
-
"name": "text",
|
|
8862
|
-
"type": {
|
|
8863
|
-
"text": "string"
|
|
8864
|
-
}
|
|
8865
|
-
}
|
|
8866
|
-
],
|
|
8867
|
-
"description": "Whether text is a Genesis identifier, the FIELD_NAME shape. @internal"
|
|
8868
8989
|
},
|
|
8869
|
-
{
|
|
8870
|
-
"kind": "function",
|
|
8871
|
-
"name": "describeFailure",
|
|
8872
|
-
"return": {
|
|
8873
|
-
"type": {
|
|
8874
|
-
"text": "string | undefined"
|
|
8875
|
-
}
|
|
8876
|
-
},
|
|
8877
|
-
"parameters": [
|
|
8878
|
-
{
|
|
8879
|
-
"name": "error",
|
|
8880
|
-
"type": {
|
|
8881
|
-
"text": "unknown"
|
|
8882
|
-
}
|
|
8883
|
-
}
|
|
8884
|
-
],
|
|
8885
|
-
"description": "Whatever a rejection turns out to be, as a sentence."
|
|
8886
|
-
}
|
|
8887
|
-
],
|
|
8888
|
-
"exports": [
|
|
8889
8990
|
{
|
|
8890
8991
|
"kind": "js",
|
|
8891
|
-
"name": "
|
|
8992
|
+
"name": "ServerOptions",
|
|
8892
8993
|
"declaration": {
|
|
8893
|
-
"name": "
|
|
8894
|
-
"module": "
|
|
8994
|
+
"name": "ServerOptions",
|
|
8995
|
+
"module": "./types"
|
|
8895
8996
|
}
|
|
8896
8997
|
},
|
|
8897
8998
|
{
|
|
8898
8999
|
"kind": "js",
|
|
8899
|
-
"name": "
|
|
9000
|
+
"name": "Status",
|
|
8900
9001
|
"declaration": {
|
|
8901
|
-
"name": "
|
|
8902
|
-
"module": "
|
|
9002
|
+
"name": "Status",
|
|
9003
|
+
"module": "./types"
|
|
8903
9004
|
}
|
|
8904
|
-
}
|
|
8905
|
-
]
|
|
8906
|
-
},
|
|
8907
|
-
{
|
|
8908
|
-
"kind": "javascript-module",
|
|
8909
|
-
"path": "src/genesis/type-name.ts",
|
|
8910
|
-
"declarations": [],
|
|
8911
|
-
"exports": []
|
|
8912
|
-
},
|
|
8913
|
-
{
|
|
8914
|
-
"kind": "javascript-module",
|
|
8915
|
-
"path": "src/genesis/types.ts",
|
|
8916
|
-
"declarations": [
|
|
8917
|
-
{
|
|
8918
|
-
"kind": "variable",
|
|
8919
|
-
"name": "GENESIS_EVENT_OPS",
|
|
8920
|
-
"type": {
|
|
8921
|
-
"text": "['insert', 'modify', 'delete', 'custom']"
|
|
8922
|
-
},
|
|
8923
|
-
"default": "['insert', 'modify', 'delete', 'custom']",
|
|
8924
|
-
"description": "The wire vocabulary for an event resource's operation. Custom handlers keep their own name."
|
|
8925
|
-
}
|
|
8926
|
-
],
|
|
8927
|
-
"exports": [
|
|
9005
|
+
},
|
|
8928
9006
|
{
|
|
8929
9007
|
"kind": "js",
|
|
8930
|
-
"name": "
|
|
9008
|
+
"name": "WorkingInfo",
|
|
8931
9009
|
"declaration": {
|
|
8932
|
-
"name": "
|
|
8933
|
-
"module": "
|
|
9010
|
+
"name": "WorkingInfo",
|
|
9011
|
+
"module": "./types"
|
|
8934
9012
|
}
|
|
8935
9013
|
}
|
|
8936
9014
|
]
|
|
8937
9015
|
},
|
|
8938
9016
|
{
|
|
8939
9017
|
"kind": "javascript-module",
|
|
8940
|
-
"path": "src/
|
|
8941
|
-
"declarations": [],
|
|
8942
|
-
"exports": []
|
|
8943
|
-
},
|
|
8944
|
-
{
|
|
8945
|
-
"kind": "javascript-module",
|
|
8946
|
-
"path": "src/genesis/vendor-follower.ts",
|
|
8947
|
-
"declarations": [],
|
|
8948
|
-
"exports": []
|
|
8949
|
-
},
|
|
8950
|
-
{
|
|
8951
|
-
"kind": "javascript-module",
|
|
8952
|
-
"path": "src/genesis/vendor-pick.ts",
|
|
8953
|
-
"declarations": [],
|
|
8954
|
-
"exports": []
|
|
8955
|
-
},
|
|
8956
|
-
{
|
|
8957
|
-
"kind": "javascript-module",
|
|
8958
|
-
"path": "src/genesis/write-commit.ts",
|
|
8959
|
-
"declarations": [],
|
|
8960
|
-
"exports": []
|
|
8961
|
-
},
|
|
8962
|
-
{
|
|
8963
|
-
"kind": "javascript-module",
|
|
8964
|
-
"path": "src/genesis/write-op.ts",
|
|
8965
|
-
"declarations": [],
|
|
8966
|
-
"exports": []
|
|
8967
|
-
},
|
|
8968
|
-
{
|
|
8969
|
-
"kind": "javascript-module",
|
|
8970
|
-
"path": "src/genesis/write-outcome.ts",
|
|
8971
|
-
"declarations": [],
|
|
8972
|
-
"exports": []
|
|
8973
|
-
},
|
|
8974
|
-
{
|
|
8975
|
-
"kind": "javascript-module",
|
|
8976
|
-
"path": "src/genesis/write-payload.ts",
|
|
9018
|
+
"path": "src/headless-server/server.ts",
|
|
8977
9019
|
"declarations": [
|
|
8978
9020
|
{
|
|
8979
9021
|
"kind": "function",
|
|
8980
|
-
"name": "
|
|
9022
|
+
"name": "createHeadlessServer",
|
|
8981
9023
|
"return": {
|
|
8982
9024
|
"type": {
|
|
8983
|
-
"text": "
|
|
9025
|
+
"text": "HeadlessServer"
|
|
8984
9026
|
}
|
|
8985
9027
|
},
|
|
8986
9028
|
"parameters": [
|
|
8987
9029
|
{
|
|
8988
|
-
"name": "
|
|
8989
|
-
"type": {
|
|
8990
|
-
"text": "readonly GenesisEventField[]"
|
|
8991
|
-
}
|
|
8992
|
-
},
|
|
8993
|
-
{
|
|
8994
|
-
"name": "row",
|
|
8995
|
-
"type": {
|
|
8996
|
-
"text": "unknown"
|
|
8997
|
-
}
|
|
8998
|
-
},
|
|
8999
|
-
{
|
|
9000
|
-
"name": "{ op, preImage, unchecked }",
|
|
9030
|
+
"name": "options",
|
|
9001
9031
|
"type": {
|
|
9002
|
-
"text": "
|
|
9032
|
+
"text": "ServerOptions"
|
|
9003
9033
|
}
|
|
9004
9034
|
}
|
|
9005
|
-
]
|
|
9035
|
+
],
|
|
9036
|
+
"description": "The headless server (PLAN §5, D7): `node:http` on 127.0.0.1, `GET /health` and `POST /cmd`.\n\nEvery command is APPLIED and then LONG-POLLS (§5.5): the reply comes when the journey next needs the\nperson (an interaction is held by them and ready), a turn ends, the run ends, or something fails, or at\n`maxWaitMs` with `status: \"working\"`. Nothing is lost on a client timeout: the command was applied before\nthe wait, events carry `seq`, and `{op: \"wait\", since}` returns everything after it.\n\nThe session is the only thing it drives; what the host owns is reached through ServerOptions."
|
|
9006
9037
|
}
|
|
9007
9038
|
],
|
|
9008
9039
|
"exports": [
|
|
9009
9040
|
{
|
|
9010
9041
|
"kind": "js",
|
|
9011
|
-
"name": "
|
|
9042
|
+
"name": "createHeadlessServer",
|
|
9012
9043
|
"declaration": {
|
|
9013
|
-
"name": "
|
|
9014
|
-
"module": "src/
|
|
9044
|
+
"name": "createHeadlessServer",
|
|
9045
|
+
"module": "src/headless-server/server.ts"
|
|
9015
9046
|
}
|
|
9016
9047
|
}
|
|
9017
9048
|
]
|
|
9018
9049
|
},
|
|
9019
9050
|
{
|
|
9020
9051
|
"kind": "javascript-module",
|
|
9021
|
-
"path": "src/
|
|
9052
|
+
"path": "src/headless-server/types.ts",
|
|
9022
9053
|
"declarations": [
|
|
9023
9054
|
{
|
|
9024
9055
|
"kind": "variable",
|
|
9025
|
-
"name": "
|
|
9056
|
+
"name": "DECISION_TEXTS",
|
|
9026
9057
|
"type": {
|
|
9027
|
-
"text": "
|
|
9058
|
+
"text": "readonly DecisionText[]"
|
|
9028
9059
|
},
|
|
9029
|
-
"default": "
|
|
9030
|
-
|
|
9060
|
+
"default": "['full', 'lean']"
|
|
9061
|
+
},
|
|
9062
|
+
{
|
|
9063
|
+
"kind": "variable",
|
|
9064
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
9065
|
+
"type": {
|
|
9066
|
+
"text": "DecisionText"
|
|
9067
|
+
},
|
|
9068
|
+
"default": "'lean'",
|
|
9069
|
+
"description": "What the server uses when neither it nor the command says. Its readers are models that can `read` a view."
|
|
9031
9070
|
}
|
|
9032
9071
|
],
|
|
9033
9072
|
"exports": [
|
|
9034
9073
|
{
|
|
9035
9074
|
"kind": "js",
|
|
9036
|
-
"name": "
|
|
9075
|
+
"name": "DECISION_TEXTS",
|
|
9037
9076
|
"declaration": {
|
|
9038
|
-
"name": "
|
|
9039
|
-
"module": "src/
|
|
9077
|
+
"name": "DECISION_TEXTS",
|
|
9078
|
+
"module": "src/headless-server/types.ts"
|
|
9040
9079
|
}
|
|
9041
|
-
}
|
|
9042
|
-
]
|
|
9043
|
-
},
|
|
9044
|
-
{
|
|
9045
|
-
"kind": "javascript-module",
|
|
9046
|
-
"path": "src/genesis/write-tools.ts",
|
|
9047
|
-
"declarations": [
|
|
9048
|
-
{
|
|
9049
|
-
"kind": "function",
|
|
9050
|
-
"name": "createGenesisWriteTools",
|
|
9051
|
-
"return": {
|
|
9052
|
-
"type": {
|
|
9053
|
-
"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}"
|
|
9054
|
-
}
|
|
9055
|
-
},
|
|
9056
|
-
"parameters": [
|
|
9057
|
-
{
|
|
9058
|
-
"name": "resources",
|
|
9059
|
-
"type": {
|
|
9060
|
-
"text": "readonly GenesisAiResource[]"
|
|
9061
|
-
}
|
|
9062
|
-
},
|
|
9063
|
-
{
|
|
9064
|
-
"name": "options",
|
|
9065
|
-
"default": "{}",
|
|
9066
|
-
"type": {
|
|
9067
|
-
"text": "GenesisWriteToolsOptions"
|
|
9068
|
-
}
|
|
9069
|
-
}
|
|
9070
|
-
],
|
|
9071
|
-
"description": "Builds the assistant's write tools from an app's event resources."
|
|
9072
|
-
}
|
|
9073
|
-
],
|
|
9074
|
-
"exports": [
|
|
9080
|
+
},
|
|
9075
9081
|
{
|
|
9076
9082
|
"kind": "js",
|
|
9077
|
-
"name": "
|
|
9083
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
9078
9084
|
"declaration": {
|
|
9079
|
-
"name": "
|
|
9080
|
-
"module": "src/
|
|
9085
|
+
"name": "DEFAULT_DECISION_TEXT",
|
|
9086
|
+
"module": "src/headless-server/types.ts"
|
|
9081
9087
|
}
|
|
9082
9088
|
}
|
|
9083
9089
|
]
|
|
9084
9090
|
},
|
|
9085
|
-
{
|
|
9086
|
-
"kind": "javascript-module",
|
|
9087
|
-
"path": "src/genesis/write-turn.ts",
|
|
9088
|
-
"declarations": [],
|
|
9089
|
-
"exports": []
|
|
9090
|
-
},
|
|
9091
9091
|
{
|
|
9092
9092
|
"kind": "javascript-module",
|
|
9093
9093
|
"path": "src/main/attachment-controller.ts",
|