@genesislcap/ai-assistant 15.46.5-FUI-2648.1 → 15.47.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.
Files changed (63) hide show
  1. package/dist/ai-assistant.api.json +0 -65
  2. package/dist/ai-assistant.d.ts +16 -35
  3. package/dist/custom-elements.json +215 -21
  4. package/dist/dts/genesis/config.d.ts +30 -6
  5. package/dist/dts/genesis/config.d.ts.map +1 -1
  6. package/dist/dts/genesis/consumes.d.ts.map +1 -1
  7. package/dist/dts/genesis/event-fields.d.ts.map +1 -1
  8. package/dist/dts/genesis/filter-fields.d.ts +31 -0
  9. package/dist/dts/genesis/filter-fields.d.ts.map +1 -1
  10. package/dist/dts/genesis/index.d.ts +3 -1
  11. package/dist/dts/genesis/index.d.ts.map +1 -1
  12. package/dist/dts/genesis/reference-check.d.ts +83 -0
  13. package/dist/dts/genesis/reference-check.d.ts.map +1 -0
  14. package/dist/dts/genesis/reference-existence.d.ts +110 -0
  15. package/dist/dts/genesis/reference-existence.d.ts.map +1 -0
  16. package/dist/dts/genesis/resource-tools.d.ts +4 -4
  17. package/dist/dts/genesis/resource-tools.d.ts.map +1 -1
  18. package/dist/dts/genesis/review-model.d.ts +2 -2
  19. package/dist/dts/genesis/review-model.d.ts.map +1 -1
  20. package/dist/dts/genesis/row-source.d.ts +32 -0
  21. package/dist/dts/genesis/row-source.d.ts.map +1 -1
  22. package/dist/dts/genesis/server-text.d.ts +29 -0
  23. package/dist/dts/genesis/server-text.d.ts.map +1 -1
  24. package/dist/dts/genesis/types.d.ts +32 -5
  25. package/dist/dts/genesis/types.d.ts.map +1 -1
  26. package/dist/dts/genesis/write-payload.d.ts +14 -1
  27. package/dist/dts/genesis/write-payload.d.ts.map +1 -1
  28. package/dist/dts/genesis/write-plan.d.ts +8 -2
  29. package/dist/dts/genesis/write-plan.d.ts.map +1 -1
  30. package/dist/dts/genesis/write-tools.d.ts +5 -3
  31. package/dist/dts/genesis/write-tools.d.ts.map +1 -1
  32. package/dist/dts/genesis/write-turn.d.ts +4 -1
  33. package/dist/dts/genesis/write-turn.d.ts.map +1 -1
  34. package/dist/dts/main/main.d.ts +0 -16
  35. package/dist/dts/main/main.d.ts.map +1 -1
  36. package/dist/dts/main/main.styles.d.ts.map +1 -1
  37. package/dist/dts/main/main.template.d.ts +4 -7
  38. package/dist/dts/main/main.template.d.ts.map +1 -1
  39. package/dist/esm/genesis/config.js +152 -20
  40. package/dist/esm/genesis/consumes.js +2 -1
  41. package/dist/esm/genesis/event-fields.js +5 -8
  42. package/dist/esm/genesis/filter-fields.js +159 -78
  43. package/dist/esm/genesis/index.js +1 -0
  44. package/dist/esm/genesis/reference-check.js +132 -0
  45. package/dist/esm/genesis/reference-existence.js +283 -0
  46. package/dist/esm/genesis/resource-tools.js +135 -18
  47. package/dist/esm/genesis/review-model.js +3 -1
  48. package/dist/esm/genesis/row-source.js +107 -16
  49. package/dist/esm/genesis/server-text.js +52 -0
  50. package/dist/esm/genesis/write-payload.js +32 -4
  51. package/dist/esm/genesis/write-plan.js +3 -2
  52. package/dist/esm/genesis/write-tools.js +248 -44
  53. package/dist/esm/main/main.js +0 -21
  54. package/dist/esm/main/main.styles.js +0 -25
  55. package/dist/esm/main/main.template.js +34 -76
  56. package/dist/genesis-consumes.cjs +3 -2
  57. package/dist/genesis-consumes.cjs.map +2 -2
  58. package/dist/genesis-consumes.mjs +3 -2
  59. package/dist/genesis-consumes.mjs.map +2 -2
  60. package/docs/genesis.md +131 -21
  61. package/docs/styling.md +0 -130
  62. package/package.json +17 -17
  63. package/scripts/smoke-genesis-consumes-node.mjs +2 -2
@@ -12198,36 +12198,6 @@
12198
12198
  "isProtected": false,
12199
12199
  "isAbstract": false
12200
12200
  },
12201
- {
12202
- "kind": "Property",
12203
- "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#hasStepper:member",
12204
- "docComment": "/**\n * Whether anything is slotted alongside the conversation.\n *\n * Drives the `conversation-has-stepper` part, which is what lets an app apply a side-by-side layout only when there is a second thing to lay out — a `flex-direction: row` that applied unconditionally would do nothing visible but would still be live CSS to reason about.\n */\n",
12205
- "excerptTokens": [
12206
- {
12207
- "kind": "Content",
12208
- "text": "get hasStepper(): "
12209
- },
12210
- {
12211
- "kind": "Content",
12212
- "text": "boolean"
12213
- },
12214
- {
12215
- "kind": "Content",
12216
- "text": ";"
12217
- }
12218
- ],
12219
- "isReadonly": true,
12220
- "isOptional": false,
12221
- "releaseTag": "Beta",
12222
- "name": "hasStepper",
12223
- "propertyTypeTokenRange": {
12224
- "startIndex": 1,
12225
- "endIndex": 2
12226
- },
12227
- "isStatic": false,
12228
- "isProtected": false,
12229
- "isAbstract": false
12230
- },
12231
12201
  {
12232
12202
  "kind": "Property",
12233
12203
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#headerTitle:member",
@@ -16044,41 +16014,6 @@
16044
16014
  "isProtected": false,
16045
16015
  "isAbstract": false
16046
16016
  },
16047
- {
16048
- "kind": "Property",
16049
- "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#stepperNodes:member",
16050
- "docComment": "/**\n * Elements assigned to the `stepper` slot, tracked so the conversation container can say whether it is holding anything.\n *\n * Comment nodes and whitespace text are filtered out by the template's `slotted` filter, so an empty slot really is empty here and `hasStepper` does not go true for formatting whitespace.\n */\n",
16051
- "excerptTokens": [
16052
- {
16053
- "kind": "Content",
16054
- "text": "stepperNodes: "
16055
- },
16056
- {
16057
- "kind": "Reference",
16058
- "text": "Node",
16059
- "canonicalReference": "!Node:interface"
16060
- },
16061
- {
16062
- "kind": "Content",
16063
- "text": "[]"
16064
- },
16065
- {
16066
- "kind": "Content",
16067
- "text": ";"
16068
- }
16069
- ],
16070
- "isReadonly": false,
16071
- "isOptional": false,
16072
- "releaseTag": "Beta",
16073
- "name": "stepperNodes",
16074
- "propertyTypeTokenRange": {
16075
- "startIndex": 1,
16076
- "endIndex": 3
16077
- },
16078
- "isStatic": false,
16079
- "isProtected": false,
16080
- "isAbstract": false
16081
- },
16082
16017
  {
16083
16018
  "kind": "Property",
16084
16019
  "canonicalReference": "@genesislcap/ai-assistant!FoundationAiAssistant#stopButtonVisible:member",
@@ -1197,6 +1197,22 @@ export declare interface AssistantAppSettingsToggle {
1197
1197
  */
1198
1198
  export declare const assistantSettingsSectionTitleStyles: ElementStyles;
1199
1199
 
1200
+ /**
1201
+ * Part names for one avatar element: the bare name, a role-level name, and — on the assistant
1202
+ * side, whose rows vary — the message type.
1203
+ *
1204
+ * The role-level name is the one an app usually wants. `messageType` splits the assistant across
1205
+ * `ai`, `ai-thinking`, `ai-function` and `interaction`, so without it "style the assistant's
1206
+ * avatar, not the user's" takes four selectors and silently misses any type added later.
1207
+ * `::part()` names cannot be chained, so each has to be a name of its own rather than a
1208
+ * combination. The user side needs no extra name — its role and its type are both `user`.
1209
+ *
1210
+ * Exported for the unit test that pins the vocabulary; not part of the element API.
1211
+ *
1212
+ * @internal
1213
+ */
1214
+ export declare const avatarPartsFor: (base: string, type: string) => string;
1215
+
1200
1216
  declare interface BaseAgentConfig {
1201
1217
  /**
1202
1218
  * Stable identity for this agent. Used for classifier routing, manual
@@ -3924,22 +3940,6 @@ export declare class FoundationAiAssistant extends GenesisElement {
3924
3940
  /** Rejection messages for files the last pick refused. */
3925
3941
  get attachmentErrors(): string[];
3926
3942
  set attachmentErrors(value: string[]);
3927
- /**
3928
- * Elements assigned to the `stepper` slot, tracked so the conversation container can say
3929
- * whether it is holding anything.
3930
- *
3931
- * Comment nodes and whitespace text are filtered out by the template's `slotted` filter, so an
3932
- * empty slot really is empty here and `hasStepper` does not go true for formatting whitespace.
3933
- */
3934
- stepperNodes: Node[];
3935
- /**
3936
- * Whether anything is slotted alongside the conversation.
3937
- *
3938
- * Drives the `conversation-has-stepper` part, which is what lets an app apply a side-by-side
3939
- * layout only when there is a second thing to lay out — a `flex-direction: row` that applied
3940
- * unconditionally would do nothing visible but would still be live CSS to reason about.
3941
- */
3942
- get hasStepper(): boolean;
3943
3943
  /** Whether the loading spinner is currently visible. Controlled by the loading delay timer. */
3944
3944
  showLoadingIndicator: boolean;
3945
3945
  /** Bump to re-render app settings toggles when the host provider notifies a change. */
@@ -5857,25 +5857,6 @@ export declare function restoreMachine(machine: {
5857
5857
  }) => void;
5858
5858
  }, restored: unknown, key?: string): void;
5859
5859
 
5860
- /**
5861
- * The three names one element is exposed under: the bare name, a role-level name, and — on the
5862
- * assistant side, whose rows vary — the message type. `rolePartsFor('avatar', 'ai-thinking')` is
5863
- * `avatar avatar-assistant avatar-ai-thinking`.
5864
- *
5865
- * The role-level name is the one an app usually wants. `messageType` splits the assistant across
5866
- * `ai`, `ai-thinking`, `ai-function` and `interaction`, so without it "style the assistant's
5867
- * rows, not the user's" takes four selectors and silently misses any type added later.
5868
- * `::part()` names cannot be chained, so each has to be a name of its own rather than a
5869
- * combination. The user side needs no extra name — its role and its type are both `user`.
5870
- *
5871
- * Shared by the avatar and the message row so the two cannot drift.
5872
- *
5873
- * Exported for the unit test that pins the vocabulary; not part of the element API.
5874
- *
5875
- * @internal
5876
- */
5877
- export declare const rolePartsFor: (base: string, type: string) => string;
5878
-
5879
5860
  /**
5880
5861
  * Why {@link OrchestratingDriver.classify} returned the agent it did — reported on the
5881
5862
  * `routing.decided` timeline event.
@@ -2004,6 +2004,24 @@
2004
2004
  ],
2005
2005
  "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."
2006
2006
  },
2007
+ {
2008
+ "kind": "function",
2009
+ "name": "validateGenesisAiConfig",
2010
+ "return": {
2011
+ "type": {
2012
+ "text": "GenesisAiConfigCheck"
2013
+ }
2014
+ },
2015
+ "parameters": [
2016
+ {
2017
+ "name": "config",
2018
+ "type": {
2019
+ "text": "unknown"
2020
+ }
2021
+ }
2022
+ ],
2023
+ "description": "Checks a generated AI config before anything is registered, and says what can be kept."
2024
+ },
2007
2025
  {
2008
2026
  "kind": "function",
2009
2027
  "name": "customCodeOf",
@@ -2048,6 +2066,14 @@
2048
2066
  "module": "src/genesis/config.ts"
2049
2067
  }
2050
2068
  },
2069
+ {
2070
+ "kind": "js",
2071
+ "name": "validateGenesisAiConfig",
2072
+ "declaration": {
2073
+ "name": "validateGenesisAiConfig",
2074
+ "module": "src/genesis/config.ts"
2075
+ }
2076
+ },
2051
2077
  {
2052
2078
  "kind": "js",
2053
2079
  "name": "customCodeOf",
@@ -2222,6 +2248,30 @@
2222
2248
  "module": "./consumes"
2223
2249
  }
2224
2250
  },
2251
+ {
2252
+ "kind": "js",
2253
+ "name": "validateGenesisAiConfig",
2254
+ "declaration": {
2255
+ "name": "validateGenesisAiConfig",
2256
+ "module": "./config"
2257
+ }
2258
+ },
2259
+ {
2260
+ "kind": "js",
2261
+ "name": "DroppedResource",
2262
+ "declaration": {
2263
+ "name": "DroppedResource",
2264
+ "module": "./config"
2265
+ }
2266
+ },
2267
+ {
2268
+ "kind": "js",
2269
+ "name": "GenesisAiConfigCheck",
2270
+ "declaration": {
2271
+ "name": "GenesisAiConfigCheck",
2272
+ "module": "./config"
2273
+ }
2274
+ },
2225
2275
  {
2226
2276
  "kind": "js",
2227
2277
  "name": "GenesisFilter",
@@ -2446,6 +2496,14 @@
2446
2496
  "module": "./types"
2447
2497
  }
2448
2498
  },
2499
+ {
2500
+ "kind": "js",
2501
+ "name": "GenesisReference",
2502
+ "declaration": {
2503
+ "name": "GenesisReference",
2504
+ "module": "./types"
2505
+ }
2506
+ },
2449
2507
  {
2450
2508
  "kind": "js",
2451
2509
  "name": "GenesisResourceKind",
@@ -2464,6 +2522,161 @@
2464
2522
  }
2465
2523
  ]
2466
2524
  },
2525
+ {
2526
+ "kind": "javascript-module",
2527
+ "path": "src/genesis/reference-check.ts",
2528
+ "declarations": [
2529
+ {
2530
+ "kind": "function",
2531
+ "name": "tableOf",
2532
+ "return": {
2533
+ "type": {
2534
+ "text": "string"
2535
+ }
2536
+ },
2537
+ "parameters": [
2538
+ {
2539
+ "name": "resource",
2540
+ "type": {
2541
+ "text": "string"
2542
+ }
2543
+ }
2544
+ ],
2545
+ "description": "The table a `REQ_<T>` reads."
2546
+ },
2547
+ {
2548
+ "kind": "function",
2549
+ "name": "notAcceptedHere",
2550
+ "return": {
2551
+ "type": {
2552
+ "text": "string"
2553
+ }
2554
+ },
2555
+ "parameters": [
2556
+ {
2557
+ "name": "field",
2558
+ "type": {
2559
+ "text": "string"
2560
+ }
2561
+ },
2562
+ {
2563
+ "name": "{ resource, reason }",
2564
+ "type": {
2565
+ "text": "UncheckedField"
2566
+ }
2567
+ }
2568
+ ],
2569
+ "description": "What an insert says about a value it cannot check."
2570
+ },
2571
+ {
2572
+ "kind": "function",
2573
+ "name": "cannotBeChanged",
2574
+ "return": {
2575
+ "type": {
2576
+ "text": "string"
2577
+ }
2578
+ },
2579
+ "parameters": [
2580
+ {
2581
+ "name": "field",
2582
+ "type": {
2583
+ "text": "string"
2584
+ }
2585
+ },
2586
+ {
2587
+ "name": "{ resource, reason }",
2588
+ "type": {
2589
+ "text": "UncheckedField"
2590
+ }
2591
+ }
2592
+ ],
2593
+ "description": "What a modify says about a new value it cannot check."
2594
+ }
2595
+ ],
2596
+ "exports": [
2597
+ {
2598
+ "kind": "js",
2599
+ "name": "tableOf",
2600
+ "declaration": {
2601
+ "name": "tableOf",
2602
+ "module": "src/genesis/reference-check.ts"
2603
+ }
2604
+ },
2605
+ {
2606
+ "kind": "js",
2607
+ "name": "notAcceptedHere",
2608
+ "declaration": {
2609
+ "name": "notAcceptedHere",
2610
+ "module": "src/genesis/reference-check.ts"
2611
+ }
2612
+ },
2613
+ {
2614
+ "kind": "js",
2615
+ "name": "cannotBeChanged",
2616
+ "declaration": {
2617
+ "name": "cannotBeChanged",
2618
+ "module": "src/genesis/reference-check.ts"
2619
+ }
2620
+ }
2621
+ ]
2622
+ },
2623
+ {
2624
+ "kind": "javascript-module",
2625
+ "path": "src/genesis/reference-existence.ts",
2626
+ "declarations": [
2627
+ {
2628
+ "kind": "variable",
2629
+ "name": "MAX_REFERENCE_CHECKS",
2630
+ "type": {
2631
+ "text": "number"
2632
+ },
2633
+ "default": "50",
2634
+ "description": "The most distinct values one call may check."
2635
+ },
2636
+ {
2637
+ "kind": "function",
2638
+ "name": "withReferenceProblems",
2639
+ "return": {
2640
+ "type": {
2641
+ "text": "T[]"
2642
+ }
2643
+ },
2644
+ "parameters": [
2645
+ {
2646
+ "name": "rows",
2647
+ "type": {
2648
+ "text": "readonly T[]"
2649
+ }
2650
+ },
2651
+ {
2652
+ "name": "problems",
2653
+ "type": {
2654
+ "text": "ReadonlyMap<number, string[]>"
2655
+ }
2656
+ }
2657
+ ],
2658
+ "description": "The rows with what the check found added to their problems."
2659
+ }
2660
+ ],
2661
+ "exports": [
2662
+ {
2663
+ "kind": "js",
2664
+ "name": "MAX_REFERENCE_CHECKS",
2665
+ "declaration": {
2666
+ "name": "MAX_REFERENCE_CHECKS",
2667
+ "module": "src/genesis/reference-existence.ts"
2668
+ }
2669
+ },
2670
+ {
2671
+ "kind": "js",
2672
+ "name": "withReferenceProblems",
2673
+ "declaration": {
2674
+ "name": "withReferenceProblems",
2675
+ "module": "src/genesis/reference-existence.ts"
2676
+ }
2677
+ }
2678
+ ]
2679
+ },
2467
2680
  {
2468
2681
  "kind": "javascript-module",
2469
2682
  "path": "src/genesis/register-genesis-assistant.ts",
@@ -2767,8 +2980,7 @@
2767
2980
  }
2768
2981
  },
2769
2982
  {
2770
- "name": "{ op, preImage }",
2771
- "default": "{}",
2983
+ "name": "{ op, preImage, unchecked }",
2772
2984
  "type": {
2773
2985
  "text": "BuildPayloadOptions"
2774
2986
  }
@@ -2821,7 +3033,7 @@
2821
3033
  "name": "createGenesisWriteTools",
2822
3034
  "return": {
2823
3035
  "type": {
2824
- "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 or its rowSources entry, or a modify or delete with no row source, is not among them. Their\n * metadata, read when the tools are first listed, can still withhold one.\n */\n writableEvents: readonly string[];\n}"
3036
+ "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}"
2825
3037
  }
2826
3038
  },
2827
3039
  "parameters": [
@@ -4004,24 +4216,6 @@
4004
4216
  },
4005
4217
  "description": "Rejection messages for files the last pick refused."
4006
4218
  },
4007
- {
4008
- "kind": "field",
4009
- "name": "stepperNodes",
4010
- "type": {
4011
- "text": "Node[]"
4012
- },
4013
- "default": "[]",
4014
- "description": "Elements assigned to the `stepper` slot, tracked so the conversation container can say\nwhether it is holding anything.\n\nComment nodes and whitespace text are filtered out by the template's `slotted` filter, so an\nempty slot really is empty here and `hasStepper` does not go true for formatting whitespace."
4015
- },
4016
- {
4017
- "kind": "field",
4018
- "name": "hasStepper",
4019
- "type": {
4020
- "text": "boolean"
4021
- },
4022
- "description": "Whether anything is slotted alongside the conversation.\n\nDrives the `conversation-has-stepper` part, which is what lets an app apply a side-by-side\nlayout only when there is a second thing to lay out — a `flex-direction: row` that applied\nunconditionally would do nothing visible but would still be live CSS to reason about.",
4023
- "readonly": true
4024
- },
4025
4219
  {
4026
4220
  "kind": "field",
4027
4221
  "name": "showLoadingIndicator",
@@ -3,11 +3,11 @@ import { type GenesisAiResource, type GenesisCustomCodeCheck, type GenesisEventO
3
3
  export declare const DEFAULT_MAX_ROWS = 50;
4
4
  export declare const MAX_ROWS_CEILING = 1000;
5
5
  /**
6
- * Whether a request's `maxRows` can be read as a cap: absent, so the default applies, or a finite
7
- * number, which is clamped into range.
6
+ * Whether a request's or a query's `maxRows` can be read as a cap: absent, so the default applies,
7
+ * or a finite number, which is clamped into range.
8
8
  *
9
9
  * @remarks
10
- * Anything else declares SOME cap, and none can be read from it, so the request gets no read tool.
10
+ * Anything else declares SOME cap, and none can be read from it, so the resource gets no read tool.
11
11
  * Having none, it is no row source for a write either: a modify reading through it would answer
12
12
  * "no row matches that key" about a table the model cannot read. One test for both factories, so
13
13
  * they cannot disagree about which requests the assistant reads. The validator is stricter (a
@@ -22,6 +22,17 @@ export declare const capIsReadable: (resource: GenesisAiResource) => boolean;
22
22
  * reaches the model through its description, not its name.
23
23
  */
24
24
  export declare const toolNameOf: (resourceName: string) => string;
25
+ /**
26
+ * The resources whose tool name no earlier one in the list already has.
27
+ *
28
+ * @remarks
29
+ * The tool factories are exported and skip the config validator, and they key handlers by tool
30
+ * name, so two resources that lowercase to one name used to overwrite each other there without a
31
+ * word. The first is kept, and each later one is left out with a warning naming both.
32
+ *
33
+ * @internal
34
+ */
35
+ export declare function firstPerToolName(resources: readonly GenesisAiResource[]): GenesisAiResource[];
25
36
  /**
26
37
  * The op a resource's NAME declares, when it declares one.
27
38
  *
@@ -38,10 +49,20 @@ export declare const toolNameOf: (resourceName: string) => string;
38
49
  */
39
50
  export declare const opFromName: (resourceName: string) => GenesisEventOp | undefined;
40
51
  /**
41
- * A resource the validator left out, and why.
52
+ * What is wrong with a resource's declared `references`, if anything. The validator and the write
53
+ * tools' own rules both use it, because the write tools are exported and a direct call never
54
+ * reaches the validator.
42
55
  *
56
+ * @param op - the op the write is judged by: the declared one for the validator, the decided one
57
+ * for the write tools, which take an op from the name as well.
43
58
  * @internal
44
59
  */
60
+ export declare function referencesProblems(resource: Partial<GenesisAiResource> | null, op?: unknown): string[];
61
+ /**
62
+ * A resource the validator left out, and why.
63
+ *
64
+ * @beta
65
+ */
45
66
  export interface DroppedResource {
46
67
  /** Where it was in the list: `resources[3]`. */
47
68
  at: string;
@@ -52,7 +73,7 @@ export interface DroppedResource {
52
73
  /**
53
74
  * What {@link validateGenesisAiConfig} found.
54
75
  *
55
- * @internal
76
+ * @beta
56
77
  */
57
78
  export interface GenesisAiConfigCheck {
58
79
  /** Problems with the config as a whole. Any one of them blocks the assistant. */
@@ -85,7 +106,10 @@ export interface GenesisAiConfigCheck {
85
106
  *
86
107
  * Leaving out a kind it does not know is survival, not support: the resource does nothing here.
87
108
  *
88
- * @internal
109
+ * Exported so a generator's tests, or an app's seed, can check a config against the rules of the
110
+ * assistant version it installs.
111
+ *
112
+ * @beta
89
113
  */
90
114
  export declare function validateGenesisAiConfig(config: unknown): GenesisAiConfigCheck;
91
115
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/genesis/config.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,iBAAiB,EAEtB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACpB,MAAM,SAAS,CAAC;AAEjB,wEAAwE;AACxE,eAAO,MAAM,gBAAgB,KAAK,CAAC;AACnC,eAAO,MAAM,gBAAgB,OAAO,CAAC;AAErC;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,GAAI,UAAU,iBAAiB,KAAG,OAG3D,CAAC;AAMF;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,cAAc,MAAM,KAAG,MAAoC,CAAC;AAEvF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,UAAU,GAAI,cAAc,MAAM,KAAG,cAAc,GAAG,SAGlE,CAAC;AAKF;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAC;IACX,yCAAyC;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,iFAAiF;IACjF,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,qEAAqE;IACrE,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,0DAA0D;IAC1D,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B;;;OAGG;IACH,QAAQ,EA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,EAAE,MAAM,EAAE,CAAC;CACpB;AAED;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACnC,iFAAiF;IACjF,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,qEAAqE;IACrE,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,0DAA0D;IAC1D,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B;;;OAGG;IACH,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpD;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,OAAO,GAAG,oBAAoB,CAoE7E;AASD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,iBAAiB,GAAG,sBAAsB,CA6ChF"}
@@ -1 +1 @@
1
- {"version":3,"file":"consumes.d.ts","sourceRoot":"","sources":["../../../src/genesis/consumes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,mBAAmB,EAAE,iBAYhC,CAAC"}
1
+ {"version":3,"file":"consumes.d.ts","sourceRoot":"","sources":["../../../src/genesis/consumes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,mBAAmB,EAAE,iBAahC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"event-fields.d.ts","sourceRoot":"","sources":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ldsFrom {
110
110
  */
111
111
  undescribed: string[];
112
112
  }
113
+ /**
114
+ * A metadata field list, or none when the reply holds something else there. A malformed list
115
+ * describes nothing rather than throwing out of the whole tool list.
116
+ *
117
+ * @internal
118
+ */
119
+ export declare const listOf: (value: unknown) => MetadataDetail[];
113
120
  /** @internal */
114
121
  export declare function filterFieldsFrom(metadata: Metadata): FilterFieldsFrom;
122
+ /**
123
+ * A dataserver query's filterable fields, from its own metadata.
124
+ *
125
+ * @remarks
126
+ * A dataserver publishes `TYPE: DATASERVER` and one top-level `FIELD` list: what the query returns,
127
+ * and what a criteria on it may name. That is a different shape from a request's, where a top-level
128
+ * `FIELD` is the INPUT class (see {@link filterFieldsFrom}), so the two are never read by one parser.
129
+ * Every typed field of a filterable type with readable values is offered, enriched ones too: the
130
+ * metadata does not mark them, and the server refuses a filter on one in its own words.
131
+ *
132
+ * @internal
133
+ */
134
+ export declare function queryFieldsFrom(metadata: Metadata): FilterFieldsFrom;
115
135
  /**
116
136
  * Fetches a resource's filterable fields. Never throws.
117
137
  *
@@ -123,4 +143,15 @@ export declare function filterFieldsFrom(metadata: Metadata): FilterFieldsFrom;
123
143
  * @internal
124
144
  */
125
145
  export declare function loadFilterFields(connect: Connect, resourceName: string, timeoutMs?: number): Promise<FilterFieldsResult>;
146
+ /**
147
+ * Fetches a dataserver query's filterable fields. Never throws.
148
+ *
149
+ * @remarks
150
+ * Asked for under the query's name exactly as configured: a query's metadata is published under its
151
+ * own name, and {@link metadataNameOf}'s `REQ_` rule is a request's, so a query that happens to be
152
+ * named `REQ_…` must not lose its prefix.
153
+ *
154
+ * @internal
155
+ */
156
+ export declare function loadQueryFields(connect: Connect, queryName: string, timeoutMs?: number): Promise<FilterFieldsResult>;
126
157
  //# sourceMappingURL=filter-fields.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"filter-fields.d.ts","sourceRoot":"","sources":["../../../src/genesis/filter-fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,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AkB,CAAC,CAAC;IACxC;;;OAGG;IACH,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB;;;OAGG;IACH,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B;;;OAGG;IACH,SAAS,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GAAI,OAAO,OAAO,KAAG,cAAc,EAAyC,CAAC;AAEhG,gBAAgB;AAChB,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,GAAG,gBAAgB,CA0CrE;AAkDD;;;;;;;;;;;GAWG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,QAAQ,GAAG,gBAAgB,CAUpE;AAED;;;;;;;;;GASG;AACH,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,OAAO,EAChB,YAAY,EAAE,MAAM,EACpB,SAAS,GAAE,MAA4B,GACtC,OAAO,CAAC,kBAAkB,CAAC,CAsB7B;AAED;;;;;;;;;GASG;AACH,wBAAsB,eAAe,CACnC,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,MAAM,EACjB,SAAS,GAAE,MAA4B,GACtC,OAAO,CAAC,kBAAkB,CAAC,CAW7B"}
@@ -13,6 +13,8 @@
13
13
  export { GENESIS_AGENT_NAME, registerGenesisAssistant } from './register-genesis-assistant';
14
14
  export { customCodeOf } from './config';
15
15
  export { GENESIS_AI_CONSUMES } from './consumes';
16
+ export { validateGenesisAiConfig } from './config';
17
+ export type { DroppedResource, GenesisAiConfigCheck } from './config';
16
18
  export type { GenesisFilter, GenesisFilterField, GenesisFilterOp } from './criteria';
17
19
  export { createGenesisResourceTools, GENESIS_DATA_SOURCE } from './resource-tools';
18
20
  export { createGenesisWriteTools } from './write-tools';
@@ -21,5 +23,5 @@ export { GENESIS_WRITE_REVIEW, GenesisWriteReview } from './write-review/write-r
21
23
  export type { GenesisChangeRequest, GenesisReviewPayload, GenesisWriteReviewCompletedEventDetail, } from './review-payload';
22
24
  export type { GenesisReadResult, GenesisResourceTools, GenesisResourceToolsOptions, GenesisToolError, } from './resource-tools';
23
25
  export { GENESIS_EVENT_OPS } from './types';
24
- export type { GenesisAiConfig, GenesisAiConsumes, GenesisAiResource, GenesisAssistantExtensions, GenesisAssistantRegistration, GenesisCustomCode, GenesisCustomCodeCheck, GenesisEventOp, GenesisResourceKind, RegisterGenesisAssistantOptions, } from './types';
26
+ export type { GenesisAiConfig, GenesisAiConsumes, GenesisAiResource, GenesisAssistantExtensions, GenesisAssistantRegistration, GenesisCustomCode, GenesisCustomCodeCheck, GenesisEventOp, GenesisReference, GenesisResourceKind, RegisterGenesisAssistantOptions, } from './types';
25
27
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/genesis/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AACH,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACjD,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AACrF,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,YAAY,EACV,oBAAoB,EACpB,kBAAkB,EAClB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,oBAAoB,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACvF,YAAY,EACV,oBAAoB,EACpB,oBAAoB,EACpB,sCAAsC,GACvC,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EAC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