@genesislcap/ai-assistant 15.71.0-FUI-2650.1 → 15.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-assistant.api.json +0 -97
- package/dist/ai-assistant.d.ts +0 -65
- package/dist/chat-driver.cjs +0 -18031
- package/dist/chat-driver.cjs.map +4 -4
- package/dist/chat-driver.mjs +0 -18024
- package/dist/chat-driver.mjs.map +4 -4
- package/dist/custom-elements.json +6856 -9696
- package/dist/dts/chat-driver-node.d.ts +0 -2
- package/dist/dts/chat-driver-node.d.ts.map +1 -1
- package/dist/dts/index.d.ts +0 -1
- package/dist/dts/index.d.ts.map +1 -1
- package/dist/dts/react.d.ts +0 -10
- package/dist/esm/chat-driver-node.js +0 -6
- package/dist/esm/index.js +0 -3
- package/dist/react.cjs +0 -7
- package/dist/react.mjs +0 -6
- package/package.json +17 -24
- package/scripts/smoke-chat-driver-node.mjs +0 -15
- package/dist/dts/code-review/code-review.types.d.ts +0 -76
- package/dist/dts/code-review/code-review.types.d.ts.map +0 -1
- package/dist/dts/code-review/code-reviewer.agent.d.ts +0 -77
- package/dist/dts/code-review/code-reviewer.agent.d.ts.map +0 -1
- package/dist/dts/code-review/code-reviewer.prompt.d.ts +0 -23
- package/dist/dts/code-review/code-reviewer.prompt.d.ts.map +0 -1
- package/dist/dts/code-review/gate.d.ts +0 -44
- package/dist/dts/code-review/gate.d.ts.map +0 -1
- package/dist/dts/code-review/index.d.ts +0 -27
- package/dist/dts/code-review/index.d.ts.map +0 -1
- package/dist/dts/code-review/review-changes.d.ts +0 -70
- package/dist/dts/code-review/review-changes.d.ts.map +0 -1
- package/dist/dts/code-review/rules/context-trigger-map.d.ts +0 -6
- package/dist/dts/code-review/rules/context-trigger-map.d.ts.map +0 -1
- package/dist/dts/code-review/rules/context.registry.d.ts +0 -123
- package/dist/dts/code-review/rules/context.registry.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-ai-extensions.d.ts +0 -13
- package/dist/dts/code-review/rules/fui-ai-extensions.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-blotter.d.ts +0 -16
- package/dist/dts/code-review/rules/fui-blotter.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-chart.d.ts +0 -20
- package/dist/dts/code-review/rules/fui-chart.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-column-defs.d.ts +0 -21
- package/dist/dts/code-review/rules/fui-column-defs.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-components.d.ts +0 -9
- package/dist/dts/code-review/rules/fui-components.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-criteria.d.ts +0 -32
- package/dist/dts/code-review/rules/fui-criteria.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-custom-renderer.d.ts +0 -15
- package/dist/dts/code-review/rules/fui-custom-renderer.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-dashboard.d.ts +0 -19
- package/dist/dts/code-review/rules/fui-dashboard.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-dialogs.d.ts +0 -19
- package/dist/dts/code-review/rules/fui-dialogs.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-entity-management.d.ts +0 -19
- package/dist/dts/code-review/rules/fui-entity-management.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-error-boundary.d.ts +0 -9
- package/dist/dts/code-review/rules/fui-error-boundary.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-eventing.d.ts +0 -8
- package/dist/dts/code-review/rules/fui-eventing.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-flexlayout.d.ts +0 -17
- package/dist/dts/code-review/rules/fui-flexlayout.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-flyout-panel.d.ts +0 -10
- package/dist/dts/code-review/rules/fui-flyout-panel.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-form-component.d.ts +0 -9
- package/dist/dts/code-review/rules/fui-form-component.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-formatters.d.ts +0 -12
- package/dist/dts/code-review/rules/fui-formatters.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-foundation-comms.d.ts +0 -10
- package/dist/dts/code-review/rules/fui-foundation-comms.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-global-filters.d.ts +0 -33
- package/dist/dts/code-review/rules/fui-global-filters.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-import-surface.d.ts +0 -37
- package/dist/dts/code-review/rules/fui-import-surface.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-inline-editing.d.ts +0 -10
- package/dist/dts/code-review/rules/fui-inline-editing.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-layout.d.ts +0 -7
- package/dist/dts/code-review/rules/fui-layout.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-notifications.d.ts +0 -12
- package/dist/dts/code-review/rules/fui-notifications.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-primitives.d.ts +0 -26
- package/dist/dts/code-review/rules/fui-primitives.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-rapid-grid-pro.d.ts +0 -18
- package/dist/dts/code-review/rules/fui-rapid-grid-pro.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-redux-store.d.ts +0 -8
- package/dist/dts/code-review/rules/fui-redux-store.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-reporting.d.ts +0 -19
- package/dist/dts/code-review/rules/fui-reporting.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-styling.d.ts +0 -15
- package/dist/dts/code-review/rules/fui-styling.d.ts.map +0 -1
- package/dist/dts/code-review/rules/fui-trade-form.d.ts +0 -13
- package/dist/dts/code-review/rules/fui-trade-form.d.ts.map +0 -1
- package/dist/dts/code-review/submit-code-review.tool.d.ts +0 -12
- package/dist/dts/code-review/submit-code-review.tool.d.ts.map +0 -1
- package/dist/dts/code-review/unified-diff.d.ts +0 -7
- package/dist/dts/code-review/unified-diff.d.ts.map +0 -1
- package/dist/dts/code-review/verdict.d.ts +0 -23
- package/dist/dts/code-review/verdict.d.ts.map +0 -1
- package/dist/dts/components/code-review-result/code-review-result.d.ts +0 -26
- package/dist/dts/components/code-review-result/code-review-result.d.ts.map +0 -1
- package/dist/esm/code-review/code-review.types.js +0 -6
- package/dist/esm/code-review/code-reviewer.agent.js +0 -167
- package/dist/esm/code-review/code-reviewer.prompt.js +0 -103
- package/dist/esm/code-review/gate.js +0 -93
- package/dist/esm/code-review/index.js +0 -28
- package/dist/esm/code-review/review-changes.js +0 -123
- package/dist/esm/code-review/rules/context-trigger-map.js +0 -20
- package/dist/esm/code-review/rules/context.registry.js +0 -772
- package/dist/esm/code-review/rules/fui-ai-extensions.js +0 -306
- package/dist/esm/code-review/rules/fui-blotter.js +0 -596
- package/dist/esm/code-review/rules/fui-chart.js +0 -669
- package/dist/esm/code-review/rules/fui-column-defs.js +0 -862
- package/dist/esm/code-review/rules/fui-components.js +0 -245
- package/dist/esm/code-review/rules/fui-criteria.js +0 -538
- package/dist/esm/code-review/rules/fui-custom-renderer.js +0 -612
- package/dist/esm/code-review/rules/fui-dashboard.js +0 -604
- package/dist/esm/code-review/rules/fui-dialogs.js +0 -588
- package/dist/esm/code-review/rules/fui-entity-management.js +0 -1014
- package/dist/esm/code-review/rules/fui-error-boundary.js +0 -244
- package/dist/esm/code-review/rules/fui-eventing.js +0 -628
- package/dist/esm/code-review/rules/fui-flexlayout.js +0 -860
- package/dist/esm/code-review/rules/fui-flyout-panel.js +0 -432
- package/dist/esm/code-review/rules/fui-form-component.js +0 -898
- package/dist/esm/code-review/rules/fui-formatters.js +0 -415
- package/dist/esm/code-review/rules/fui-foundation-comms.js +0 -518
- package/dist/esm/code-review/rules/fui-global-filters.js +0 -778
- package/dist/esm/code-review/rules/fui-import-surface.js +0 -452
- package/dist/esm/code-review/rules/fui-inline-editing.js +0 -445
- package/dist/esm/code-review/rules/fui-layout.js +0 -431
- package/dist/esm/code-review/rules/fui-notifications.js +0 -439
- package/dist/esm/code-review/rules/fui-primitives.js +0 -1216
- package/dist/esm/code-review/rules/fui-rapid-grid-pro.js +0 -650
- package/dist/esm/code-review/rules/fui-redux-store.js +0 -522
- package/dist/esm/code-review/rules/fui-reporting.js +0 -506
- package/dist/esm/code-review/rules/fui-styling.js +0 -1229
- package/dist/esm/code-review/rules/fui-trade-form.js +0 -618
- package/dist/esm/code-review/submit-code-review.tool.js +0 -43
- package/dist/esm/code-review/unified-diff.js +0 -96
- package/dist/esm/code-review/verdict.js +0 -24
- package/dist/esm/components/code-review-result/code-review-result.js +0 -89
- package/docs/code-review.md +0 -137
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import type { ChatToolDefinition, ChatToolHandlers } from '@genesislcap/foundation-ai';
|
|
2
|
-
/**
|
|
3
|
-
* One rule module: reference material the reviewer (and a writer) loads with `read_context`.
|
|
4
|
-
* @beta
|
|
5
|
-
*/
|
|
6
|
-
export interface ContextEntry {
|
|
7
|
-
title: string;
|
|
8
|
-
description: string;
|
|
9
|
-
whenToUse: string[];
|
|
10
|
-
relatedContexts: string[];
|
|
11
|
-
/**
|
|
12
|
-
* Modules this one cannot be applied correctly WITHOUT. Load-bearing since GENC-1560:
|
|
13
|
-
* read_context attaches each of these modules' content to the response (depth 1 — see
|
|
14
|
-
* resolveContextDependencies). Contrast `relatedContexts`, which stays documentation-only
|
|
15
|
-
* ("you might also want…"). Only add a name here when reading the parent without it
|
|
16
|
-
* produces wrong code — every entry is paid for in prompt characters on every read.
|
|
17
|
-
*/
|
|
18
|
-
dependsOn?: string[];
|
|
19
|
-
content: string;
|
|
20
|
-
tags: string[];
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* True if `name` is a real context module that read_context can load. Used to
|
|
24
|
-
* validate planner-supplied requiredContextModules before they reach the
|
|
25
|
-
* vfs_snapshot gate — an unknown name there can never be loaded, so the gate
|
|
26
|
-
* would reject the snapshot forever (snapshot↔read_context loop).
|
|
27
|
-
*/
|
|
28
|
-
export declare function isKnownContext(name: string): boolean;
|
|
29
|
-
/**
|
|
30
|
-
* One module from the default pack, or `undefined` for an unknown name. For hosts and tests that
|
|
31
|
-
* need a module's text without going through `read_context`. One argument, so it is safe to pass
|
|
32
|
-
* point-free (`names.map(getContextModule)`).
|
|
33
|
-
* @beta
|
|
34
|
-
*/
|
|
35
|
-
export declare function getContextModule(name: string): ContextEntry | undefined;
|
|
36
|
-
/**
|
|
37
|
-
* A host's own rule module, added to the default Genesis web pack. A module whose `name` matches
|
|
38
|
-
* a default module replaces it.
|
|
39
|
-
* @beta
|
|
40
|
-
*/
|
|
41
|
-
export interface RuleModule extends ContextEntry {
|
|
42
|
-
name: string;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Names of every module in the default Genesis web pack.
|
|
46
|
-
* @beta
|
|
47
|
-
*/
|
|
48
|
-
export declare const GENESIS_WEB_RULE_MODULE_NAMES: readonly string[];
|
|
49
|
-
/** A context module's payload as read_context returns it. */
|
|
50
|
-
export interface ResolvedContextModule {
|
|
51
|
-
name: string;
|
|
52
|
-
title: string;
|
|
53
|
-
content: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* How many dependency modules one read_context response may carry, and the total
|
|
57
|
-
* dependency content it may carry. The widest dependsOn list is fui-dashboard's three
|
|
58
|
-
* (fui-styling + fui-chart + fui-flexlayout). fui-styling alone grew past 45k chars once
|
|
59
|
-
* GENC-1560's container-chrome/token rules landed in it — this cap was measured at ~93k
|
|
60
|
-
* for the same three modules before that, so it is raised here with real headroom rather
|
|
61
|
-
* than left to silently start dropping a dependency on the next content edit to any of the
|
|
62
|
-
* three (GENC-1560: this exact drop reproduced during that work — fui-styling, listed last
|
|
63
|
-
* in FUI_DASHBOARD_DEPS at the time, fell into `omitted` the moment the combined total
|
|
64
|
-
* crossed 100k). fui-styling is now ALSO ordered first in FUI_DASHBOARD_DEPS so that even
|
|
65
|
-
* if a future edit pushes the total back over budget, the module actually needed for
|
|
66
|
-
* styling correctness is never the one silently dropped — fui-chart / fui-flexlayout are
|
|
67
|
-
* large reference material that degrades gracefully if the model reads them itself instead.
|
|
68
|
-
* Over-budget dependencies are NAMED in the response rather than dropped silently, so the
|
|
69
|
-
* model can still read_context them itself.
|
|
70
|
-
*/
|
|
71
|
-
export declare const MAX_DEPENDENCY_CONTEXT_MODULES = 4;
|
|
72
|
-
export declare const MAX_DEPENDENCY_CONTEXT_CHARS = 150000;
|
|
73
|
-
/**
|
|
74
|
-
* GENC-1560 — the dependsOn edges, resolved to actual content.
|
|
75
|
-
*
|
|
76
|
-
* Until now `dependsOn` was inert: read_context returned only the module it was asked for
|
|
77
|
-
* and read_contextIndex merely listed the names, so a module could declare a dependency the
|
|
78
|
-
* agent never received. That is exactly how fui-styling stayed invisible to the agent that
|
|
79
|
-
* writes CSS: fui-dashboard has declared 'fui-styling' as a dependency all along (its
|
|
80
|
-
* layering rules are why the KPI-strip-over-FlexLayout shape works), and reading
|
|
81
|
-
* fui-dashboard delivered none of it.
|
|
82
|
-
*
|
|
83
|
-
* DEPTH 1 — direct dependencies only, never dependencies-of-dependencies. Depth 1 makes the
|
|
84
|
-
* payload trivially bounded and provably cycle-free (there is no recursion to loop): the
|
|
85
|
-
* declared graph already contains a cycle, fui-column-defs ⇄ fui-formatters, which any
|
|
86
|
-
* deeper walk would have to special-case. A depth-2 walk from fui-blotter would also pull
|
|
87
|
-
* eight modules / ~200k chars for one read — far past the point where attaching beats
|
|
88
|
-
* letting the model ask. Self-references and unknown names are skipped.
|
|
89
|
-
*
|
|
90
|
-
* The budget is a parameter so the overflow path can be exercised: with the real caps no
|
|
91
|
-
* declared dependsOn list comes close, yet that path is the whole point of the guard (the
|
|
92
|
-
* silent drop it replaces is the incident above), so it must be provable rather than assumed.
|
|
93
|
-
*/
|
|
94
|
-
export declare function resolveContextDependencies(name: string, budget?: {
|
|
95
|
-
maxModules?: number;
|
|
96
|
-
maxChars?: number;
|
|
97
|
-
}, registry?: Record<string, ContextEntry>): {
|
|
98
|
-
dependencies: ResolvedContextModule[];
|
|
99
|
-
omitted: string[];
|
|
100
|
-
};
|
|
101
|
-
export declare function searchContextModules(query: string): Array<{
|
|
102
|
-
name: string;
|
|
103
|
-
score: number;
|
|
104
|
-
title: string;
|
|
105
|
-
description: string;
|
|
106
|
-
}>;
|
|
107
|
-
/**
|
|
108
|
-
* The rule-pack tools: `search_context`, `read_contextIndex` and `read_context`. A host's own
|
|
109
|
-
* modules are named alongside the default pack in `read_context`'s valid-name list.
|
|
110
|
-
* @beta
|
|
111
|
-
*/
|
|
112
|
-
export declare function createContextToolDefinitions(extraModules?: RuleModule[]): ChatToolDefinition[];
|
|
113
|
-
/**
|
|
114
|
-
* The default pack's rule-pack tool definitions.
|
|
115
|
-
* @beta
|
|
116
|
-
*/
|
|
117
|
-
export declare const contextToolDefinitions: ChatToolDefinition[];
|
|
118
|
-
/**
|
|
119
|
-
* Handlers for the rule-pack tools, over the default pack plus a host's own modules.
|
|
120
|
-
* @beta
|
|
121
|
-
*/
|
|
122
|
-
export declare const createContextToolHandlers: (extraModules?: RuleModule[]) => ChatToolHandlers;
|
|
123
|
-
//# sourceMappingURL=context.registry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.registry.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/context.registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAkEvF;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AA6eD;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAEpD;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAEvE;AAED;;;;GAIG;AACH,MAAM,WAAW,UAAW,SAAQ,YAAY;IAC9C,IAAI,EAAE,MAAM,CAAC;CACd;AAWD;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,SAAS,MAAM,EAAkC,CAAC;AAE9F,6DAA6D;AAC7D,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,8BAA8B,IAAI,CAAC;AAChD,eAAO,MAAM,4BAA4B,SAAU,CAAC;AAEpD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,MAAM,EACZ,MAAM,GAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAO,EACvD,QAAQ,GAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAoB,GACxD;IACD,YAAY,EAAE,qBAAqB,EAAE,CAAC;IACtC,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB,CAwBA;AAYD,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,MAAM,GACZ,KAAK,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAE5E;AA0CD;;;;GAIG;AACH,wBAAgB,4BAA4B,CAC1C,YAAY,GAAE,UAAU,EAAO,GAC9B,kBAAkB,EAAE,CAWtB;AA8DD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE,kBAAkB,EAAmC,CAAC;AAE3F;;;GAGG;AACH,eAAO,MAAM,yBAAyB,GAAI,eAAc,UAAU,EAAO,KAAG,gBAsE3E,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context for the generated app's own AI chat additions under ai/extensions/: tools, the widgets
|
|
3
|
-
* they open with requestInteraction, and writes. The widget contract, the write traps and the
|
|
4
|
-
* shape checks are read from @genesislcap/ai-assistant 15.54 (chat-interaction-wrapper,
|
|
5
|
-
* interaction-controller, genesis/write-commit, register-genesis-assistant), the version the seed's
|
|
6
|
-
* assistant runs on.
|
|
7
|
-
*
|
|
8
|
-
* Tags for selective context injection — inject when conversation mentions these keywords.
|
|
9
|
-
*/
|
|
10
|
-
export declare const FUI_AI_EXTENSIONS_TAGS: string[];
|
|
11
|
-
export declare const FUI_AI_EXTENSIONS_DEPS: string[];
|
|
12
|
-
export declare const FUI_AI_EXTENSIONS_CONTEXT = "\n## AI CHAT EXTENSIONS \u2014 the app's own chat tools, widgets and writes (`ai/extensions/`)\n\nThe generated app's AI chat already has tools made from the project: `req_*` reads for its request servers, and `event_*` actions for the events the project offers the chat. `ai/extensions/` is where the app adds its own: a tool those do not cover, a widget the chat shows, a rule for the chat's system prompt. This is guidance for doing that well, not a gate: build what the user asks for.\n\n**A widget reaches the chat only through a tool in `ai/extensions/index.ts`**, whose handler opens it with `context.requestInteraction`. **A widget file on its own does nothing**: no tool opens it, so the chat never shows it. **Never tell the user a tool or widget is ready** until `index.ts` exports a definition and a handler that open it.\n\n### Where the files go\n- Path keys under `ai/extensions/` map to `client/src/ai/extensions/`. The entry is `ai/extensions/index.ts`: the seed writes it as `export const extensions = {};` and the assistant reads it. **`vfs_read` it first** and keep every tool already in it.\n- Put each widget in its own file beside it (e.g. `ai/extensions/cancel-order-review.ts`) and import that file from `index.ts`, so the element is registered before any tool asks for it. **Write the tool that opens it in `index.ts` in the same change**: the widget file alone does nothing.\n- Only an app whose project selected AI Chat has this folder (the app then depends on `@genesislcap/ai-assistant`). In any other app an `ai/` write is skipped, and the write's `warnings` say so: AI Chat has to be on in the project first.\n- Never write `ai/generated/`: it is rewritten from the project's AI config on every generate.\n- **Import nothing from `@genesislcap/ai-assistant` or `@genesislcap/foundation-ai`** in these files. The app does not depend on foundation-ai, and the assistant checks the shape of `extensions` where it reads it, so type what you need structurally (section 1). Import only packages every generated app has: `@genesislcap/foundation-comms`, `@genesislcap/web-core`, `@genesislcap/foundation-events`, `@genesislcap/rapid-grid-pro`.\n- **No secrets and no AI vendor calls.** Never put an API key, token or password in these files, and never call an AI vendor (OpenAI, Anthropic, Gemini, \u2026) from them: the app's chat proxy holds the key and meters the spend. A tool talks to the app's own server through Connect, and to nothing else.\n- Extensions add tools, widgets and prompt text only. They cannot declare agents or sub-agents.\n\n### 1. The tool shape\nOne definition the model sees, and one handler that runs it, under the same name:\n\n```ts\n// ai/extensions/index.ts\nimport { getConnect } from '@genesislcap/foundation-comms';\nimport './cancel-order-review'; // registers <cancel-order-review> before a tool opens it\n\n// Typed here, not imported: the assistant checks `extensions` against its own types where it reads it.\ntype InteractionResult<T = unknown> = {\n status: 'approved' | 'rejected' | 'timeout';\n payload?: T;\n message?: string;\n};\ntype ToolContext = {\n requestInteraction: <T = unknown>(\n componentName: string,\n data: unknown,\n options?: { timeoutMs?: number; signal?: AbortSignal },\n ) => Promise<T>;\n turnSignal?: AbortSignal;\n};\ntype ToolHandler = (args: Record<string, unknown>, context: ToolContext) => Promise<unknown>;\n\n/** A criteria string literal: backslashes, then quotes, escaped, so a value can never end the expression. */\nconst quoted = (value: string) => `'${value.replace(/\\\\/g, '\\\\\\\\').replace(/'/g, \"\\\\'\")}'`;\n\nconst openOrders: ToolHandler = async (args) => {\n const counterpartyId = String(args.counterpartyId ?? '').trim();\n if (!counterpartyId) return 'Say which counterparty (its COUNTERPARTY_ID).';\n const reply = await getConnect().request('REQ_ORDER', {\n REQUEST: {},\n DETAILS: { CRITERIA_MATCH: `COUNTERPARTY_ID == ${quoted(counterpartyId)} && STATUS == 'OPEN'` },\n });\n return serialisable((reply.REPLY ?? []).slice(0, 20));\n};\n\nexport const extensions = {\n toolDefinitions: [\n {\n name: 'open_orders_for_counterparty',\n description:\n 'Lists the OPEN orders of one counterparty, at most 20. Use it when the user asks what a ' +\n 'counterparty still has open. Returns rows of ORDER_ID, INSTRUMENT_ID, QUANTITY, PRICE.',\n parameters: {\n type: 'object',\n properties: {\n counterpartyId: { type: 'string', description: 'The COUNTERPARTY_ID, exactly as stored.' },\n },\n required: ['counterpartyId'],\n },\n },\n ],\n toolHandlers: { open_orders_for_counterparty: openOrders },\n};\n```\n- **Name**: snake_case and unique. Never `req_*` or `event_*`: those are the generated tools' names, and an extension tool with one of them replaces the generated tool, so the chat silently loses a tool that worked.\n- **A wrong shape blocks the whole chat.** The assistant checks `extensions` when it starts, and turns itself off with a fault message if:\n - a definition has no name;\n - a name is defined twice;\n - a definition has no handler of the same name, or a handler has no definition;\n - `systemPrompt` is not a string.\n\n Keep `toolDefinitions` and `toolHandlers` in step.\n- **Description**: written for the model. What it does, when to use it, what it returns, and for a write whether it asks the user first.\n- **Parameters**: a JSON schema. Mark the required ones, and describe each value's form (an id as text, a date as `YYYY-MM-DD`).\n- **What the handler returns** is what the model reads: a short string, or a small object that `JSON.stringify` can take. Return a refusal or a failure as text the model can relay (`'Not written: \u2026'`) rather than throwing.\n- The app's tsconfig is `strict` with `noUnusedParameters`, so an unused parameter is named `_args` or `_context`.\n- **A handler returns a Promise** (write it `async`), as the assistant's `ChatToolHandlers` requires. The assistant checks `extensions` against that type in `ai/generated/assistant.ts`, and the type check of the files you wrote does not report a mismatch there, so a handler typed `=> unknown` passes your check and still breaks the app's build.\n- Confirm every resource and event name with `query_project_schema` before using it. The names here (`REQ_ORDER`, `EVENT_ORDER_CANCEL`) are examples.\n\n### 2. Reads\n- Read with Connect: `getConnect().request('REQ_<TABLE>', \u2026)` for a request server, or `snapshot(resource, { CRITERIA_MATCH, MAX_ROWS })` for a data server. See `fui-foundation-comms` for the shapes.\n- **Filter a request server with `DETAILS.CRITERIA_MATCH`.** The Genesis server also applies fields put in `REQUEST`, but Create's instant preview does not. That is the mock backend the app runs on until the user switches to the live server, and there every row comes back. So `REQUEST: { ORDER_ID }` followed by `REPLY[0]` reads somebody else's order in the preview. Both apply `CRITERIA_MATCH` (string values single-quoted, with backslashes and quotes escaped, as `quoted` does above).\n- **Use the row whose key is the one you asked for**, never `REPLY[0]` blindly.\n- **Cap the rows in code** (`.slice(0, N)`): the instant preview does not apply `MAX_ROWS`. Return only the fields the model needs, since everything a tool returns goes into the conversation.\n- **A LONG beyond 2^53 arrives as a `BigInt`.** That covers ids, `RECORD_ID`, sequences and nano timestamps. `JSON.stringify` throws on one (\"Do not know how to serialize a BigInt\"), and the chat stringifies every tool result and every widget's `data`. So pass rows through a helper first:\n```ts\n/** A safe integer becomes a number; anything larger becomes its exact digits, never a rounded number. */\nfunction serialisable(value: unknown): unknown {\n if (typeof value === 'bigint') {\n const asNumber = Number(value);\n return Number.isSafeInteger(asNumber) ? asNumber : value.toString();\n }\n if (Array.isArray(value)) return value.map(serialisable);\n if (value && typeof value === 'object') {\n return Object.fromEntries(Object.entries(value).map(([k, v]) => [k, serialisable(v)]));\n }\n return value;\n}\n```\n- **DATE and DATETIME travel as epoch millis** (UTC), both ways. Show them formatted, and send millis.\n- Reads run as the signed-in user, so the server's rights apply to them.\n\n### 3. Widgets: `context.requestInteraction`\nA handler can put a widget in the chat and wait for the user: `await context.requestInteraction(tag, data, options)`. This is the contract (`@genesislcap/ai-assistant` 15.54):\n- The widget is a **custom element**, created by its tag. It does **not** get `data` as a property. It gets `interaction`:\n - `{ status: 'pending', data, \u2026 }` while it waits;\n - `{ status: 'resolved', data, result }` once answered, set again on the live element when the answer lands.\n- It answers by dispatching **`interaction-completed`** on itself, with the result as the event's detail: `{ status: 'approved', payload? }` or `{ status: 'rejected', message? }`. Only the first answer counts.\n- `requestInteraction` **resolves** with that result. It never rejects for a refusal. With `timeoutMs`, or when `signal` aborts, it resolves `{ status: 'timeout', message }` and the widget turns read-only. **Pass `signal: context.turnSignal`**, so the user's Stop closes a widget left open.\n- **Only one interaction may be open at a time**: a second `requestInteraction` while one waits throws at once. Open widgets one after another, never from parallel calls.\n- A tag that is not registered shows \"Component \u2026 is not available\" and the call never settles. That is why `index.ts` imports the widget file.\n- The tag must contain a hyphen and be unique in the app. Prefix it with something of the app's (e.g. `orders-cancel-review`) rather than a generic name.\n- The app registers the rapid design system and grid-pro app-wide, so a widget's template can use `<rapid-button>`, `<rapid-text-field>` and `<rapid-grid-pro>` directly.\n- **Render the widget through its own template** (the `template` given to `@customElement`, as below), even though the app's pages are React. A `GenesisElement` has its own shadow root with no slot, so anything rendered into the element itself never shows, and the widget opens blank. That covers `createRoot(this)`, `this.innerHTML` and React in the light DOM. Keep React out of chat widgets.\n\nA review widget, in the app's own `GenesisElement` (decorators are on in the app's tsconfig):\n```ts\n// ai/extensions/cancel-order-review.ts\nimport { css, customElement, GenesisElement, html, observable, when } from '@genesislcap/web-core';\n\ntype Review = { orderId: string; rows: Record<string, unknown>[] };\ntype Interaction =\n | { status: 'pending'; data: Review }\n | { status: 'resolved'; data: Review; result?: { status: string; message?: string } };\n\nconst template = html<CancelOrderReview>`\n <rapid-grid-pro\n :rowData=\"${(x) => x.review?.rows ?? []}\"\n :gridOptions=\"${(x) => x.gridOptions}\"\n domLayout=\"autoHeight\"\n ></rapid-grid-pro>\n ${when(\n (x) => x.interaction?.status === 'pending',\n html<CancelOrderReview>`\n <rapid-button @click=\"${(x) => x.answer('approved')}\">Cancel the order</rapid-button>\n <rapid-button @click=\"${(x) => x.answer('rejected')}\">Keep it</rapid-button>\n `,\n )}\n ${when(\n (x) => x.interaction?.status === 'resolved',\n html<CancelOrderReview>`<span>${(x) => x.outcome}</span>`,\n )}\n`;\n\n@customElement({\n name: 'orders-cancel-review',\n template,\n styles: css`:host { display: block; }`,\n})\nexport class CancelOrderReview extends GenesisElement {\n @observable interaction?: Interaction;\n\n gridOptions = {\n columnDefs: [\n { field: 'ORDER_ID', headerName: 'Order' },\n { field: 'STATUS', headerName: 'Status' },\n { field: 'QUANTITY', headerName: 'Quantity' },\n ],\n };\n\n get review(): Review | undefined {\n return this.interaction?.data;\n }\n\n get outcome(): string {\n const result = this.interaction?.status === 'resolved' ? this.interaction.result : undefined;\n return result?.status === 'approved' ? 'Approved' : result?.message ?? 'Not approved';\n }\n\n answer(status: 'approved' | 'rejected') {\n this.$emit(\n 'interaction-completed',\n status === 'approved' ? { status } : { status, message: 'The user kept the order.' },\n );\n }\n}\n```\n- A widget can show anything the user needs to decide: a grid of the rows (as above), a form to edit values before approving (return them as `payload`), or a choice between options.\n- **An inline `@keydown` or `@input` handler on an input must `return true`.** A FAST event handler that returns anything but `true` makes FAST call `preventDefault()`, so a handler that returns nothing stops the user typing in the field. A `@click` on a button gets away with it, because a button has no default to lose.\n- Show the values exactly as they will be sent, and tell the model what the user decided through the result.\n\n### 4. Writes: show a review first, by default\nUnless the user explicitly asks for a tool that writes without asking, every write tool follows this order:\n1. **Read the row by its key, from its table's own request server** (`REQ_<TABLE>` for the table the event writes; `CRITERIA_MATCH`, then the row with that key): the pre-image. Not a view or a query over the table: it can hold other rows or other fields, and in the instant preview a view's request server returns no rows, so the tool reports \"not found\" for a row that exists.\n2. **Show the review**: `requestInteraction` with the row and the exact values that will be sent.\n3. **Not approved: stop.** `rejected` gives `'Not written: <message>'`, and `timeout` gives `'Not written: no answer.'`\n4. **Read the row again by its key, just before committing.** If any value the review showed has changed, refuse: `'Not written: the order changed since the review (QUANTITY).'` Leave out `RECORD_ID` and `TIMESTAMP`, which move on every write, and compare as text, so that a `BigInt` and its digits match.\n5. **Commit exactly what was approved**, then report what the server said.\n\n```ts\nconst SHOWN = ['ORDER_ID', 'STATUS', 'QUANTITY'];\n// By CRITERIA_MATCH, and only the row with the asked key: the instant preview ignores REQUEST fields (see Reads).\nconst rowOf = async (orderId: string) => {\n const reply = await getConnect().request('REQ_ORDER', {\n REQUEST: {},\n DETAILS: { CRITERIA_MATCH: `ORDER_ID == ${quoted(orderId)}` },\n });\n return (reply.REPLY ?? []).find((r: Record<string, unknown>) => String(r.ORDER_ID) === orderId) as\n | Record<string, unknown>\n | undefined;\n};\n\nconst cancelOrder: ToolHandler = async (args, context) => {\n const orderId = String(args.orderId ?? '').trim();\n const before = orderId ? await rowOf(orderId) : undefined;\n if (!before) return `Not written: there is no order ${orderId}.`;\n\n const answer = await context.requestInteraction<InteractionResult>(\n 'orders-cancel-review',\n { orderId, rows: [serialisable(before)] },\n { signal: context.turnSignal },\n );\n if (answer.status !== 'approved') {\n return `Not written: ${answer.status === 'timeout' ? 'no answer' : answer.message ?? 'the user declined'}.`;\n }\n\n const now = await rowOf(orderId);\n const changed = SHOWN.filter((f) => String(now?.[f] ?? '') !== String(before[f] ?? ''));\n if (!now || changed.length) {\n return `Not written: the order changed since the review (${changed.join(', ') || 'it is gone'}).`;\n }\n\n try {\n const reply = await getConnect().commitEvent('EVENT_ORDER_CANCEL', { DETAILS: { ORDER_ID: orderId } });\n if (reply.MESSAGE_TYPE === 'EVENT_ACK') return `Order ${orderId} cancelled.`;\n return `Not written: ${(reply.ERROR ?? []).map((e: { TEXT?: string }) => e.TEXT).join('; ') || 'the server refused it'}.`;\n } catch (error) {\n const received = (error as { receivedMessage?: { MESSAGE_TYPE?: string; ERROR?: { TEXT?: string }[] } })\n ?.receivedMessage;\n if (received?.MESSAGE_TYPE === 'EVENT_NACK' || received?.MESSAGE_TYPE === 'MSG_NACK') {\n return `Not written: ${(received.ERROR ?? []).map((e) => e.TEXT).join('; ') || 'the server refused it'}.`;\n }\n return 'The app did not answer, so whether the order was cancelled is unknown.';\n }\n};\n```\n- **A write that skips the review** is written only when the user asks for one. Its description then says so plainly, e.g. `'Cancels the order immediately, without asking the user to review it.'`\n\n### 5. Write traps\n- **`commitEvent` RESOLVES on a NACK.** Check `MESSAGE_TYPE === 'EVENT_ACK'`, and never report \"written\" without one. A NACK carries the server's reasons in `ERROR[].TEXT`: relay those.\n- **The instant preview ignores `REQUEST` fields.** Read by `DETAILS.CRITERIA_MATCH`, which the preview and the server both apply, and act only on the row whose key you asked for. Otherwise, in the preview, a tool cancels or refuses the wrong order.\n- **A throw is not a refusal.** A rejection carrying `receivedMessage` with `EVENT_NACK` or `MSG_NACK` is the server's refusal. Anything else means the connection gave up, and the write may or may not have landed, so say that it is unknown.\n- **Never send `VALIDATE: true` as a dry run.** A handler without an `onValidate` block (`hasValidate: false` in `query_project_schema`) COMMITS the row anyway, and even with one it is not a preview of the write. Show the review widget instead.\n- **Whole numbers beyond 2^53 cannot be sent as numbers.** A key read as a `BigInt` or as digits must not go through `Number()`, because a rounded id writes against the wrong record. If the event takes it as a number and it is not a safe integer, refuse rather than round.\n- **DATE and DATETIME are epoch millis.** Convert a date the user typed before sending, and show the date back in the review.\n- **Field sizes**: a plain `STRING` field holds 64 characters on the app's H2 database, and `INT` is 32-bit. Check a value fits before sending it, or the server refuses it, sometimes with an SQL error.\n- **It runs as the signed-in user.** The event's permission codes, and the handler's own validation, still apply. A refusal is an answer to relay, not a bug to work around.\n- **Do not hand raw `Error.message` to the model.** A transport error can carry internal host names: return your own plain text.\n- Send `IGNORE_WARNINGS` only if the user asked to.\n\n### 6. Rules for the system prompt\n`systemPrompt` is appended to the chat's configured prompt. Use it to tell the model when each of your tools applies, and what the server will refuse:\n```ts\nexport const extensions = {\n toolDefinitions: [/* \u2026 */],\n toolHandlers: { /* \u2026 */ },\n systemPrompt: [\n 'Use cancel_order only for an order the user names; it shows the order for review before cancelling.',\n 'Cancelling needs the ORDER_CANCEL right; without it the server refuses and you say so.',\n 'Only an OPEN order can be cancelled: the server refuses any other with \"Order is already <status>\".',\n 'If the server refuses, relay its reason word for word.',\n ].join('\\n'),\n};\n```\n- Derive the rules from `query_project_schema('events', NAME)`:\n - **`refusals`**: each message the handler's own code refuses with, as `{ block, line, text }`. A `validate` one is checked before anything is written, and a `commit` one while writing. `${\u2026}` is a value the server fills in. Turn each into a rule the model can act on, e.g. `Order is already ${\u2026}` becomes \"only an OPEN order can be cancelled\".\n - `permissionCodes`: the rights it needs.\n - `writes` and `enumWrites`: what it changes.\n - `entity` and `inputType`.\n- `refusals` is a floor, not a complete list: a message built in code, or a check in a function it calls, is not in it. For a Spring handler, or a spec from an older preview, it is unknown; the answer's `refusalsNote` says which. **Anything not listed there, ask the user** rather than invent it, or write the general form (\"the server may refuse it; relay its reason\").\n- Keep it short and specific to the app's own tools. The chat's base prompt already covers the generated tools.\n";
|
|
13
|
-
//# sourceMappingURL=fui-ai-extensions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-ai-extensions.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-ai-extensions.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,UAelC,CAAC;AAEF,eAAO,MAAM,sBAAsB,UAA2B,CAAC;AAE/D,eAAO,MAAM,yBAAyB,m5nBAuRrC,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers trade blotter / order management page patterns.
|
|
4
|
-
*
|
|
5
|
-
* Sources verified against:
|
|
6
|
-
* - sales-trader-hub client/src/pages/column.tsx (column def patterns)
|
|
7
|
-
* - sales-trader-hub client/src/components/Blotter/BlotterGrid/BlotterGrid.tsx
|
|
8
|
-
* - sales-trader-hub client/src/components/Blotter/BlotterGridControlBar/BlotterGridControlBar.tsx
|
|
9
|
-
* - sales-trader-hub client/src/pages/Home/BlotterManager/BlotterComponent.tsx
|
|
10
|
-
* - fui-entity-management.ts (master-detail cross-tile pattern)
|
|
11
|
-
* - fui-eventing.ts (Redux-based row-selection eventing)
|
|
12
|
-
*/
|
|
13
|
-
export declare const FUI_BLOTTER_TAGS: string[];
|
|
14
|
-
export declare const FUI_BLOTTER_DEPS: string[];
|
|
15
|
-
export declare const FUI_BLOTTER_CONTEXT: string;
|
|
16
|
-
//# sourceMappingURL=fui-blotter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-blotter.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-blotter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,eAAO,MAAM,gBAAgB,UAyB5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAA+D,CAAC;AAE7F,eAAO,MAAM,mBAAmB,QA4iBxB,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context: G2PlotChart — chart component from @genesislcap/g2plot-chart/react
|
|
3
|
-
*
|
|
4
|
-
* Sources verified against:
|
|
5
|
-
* - foundation-marketplace/charts/g2plot-chart/dist/dts/react.d.ts
|
|
6
|
-
* - foundation-marketplace/charts/g2plot-chart/dist/dts/chart.types.d.ts
|
|
7
|
-
* - foundation-marketplace/charts/g2plot-chart/src/chart.ts (initalizeConfiguration → legend behaviour)
|
|
8
|
-
* - foundation-marketplace/charts/g2plot-chart/src/chart-datasource/chart-datasource.ts
|
|
9
|
-
* - foundation-marketplace/charts/g2plot-chart/src/chart-datasource/chart-datasource.utils.ts
|
|
10
|
-
* (getReduced, getNormalizedFieldValue — BigDecimal string → number normalization)
|
|
11
|
-
* - foundation-marketplace/charts/g2plot-chart/src/models/*.ts (per-type Rapid styling defaults)
|
|
12
|
-
* - foundation-marketplace/charts/g2plot-chart/src/settings/colors.ts (chartsGradients palette)
|
|
13
|
-
* - node_modules/@antv/g2plot@2.4.35 typings (lib/types/common.d.ts Options, per-plot types.d.ts)
|
|
14
|
-
* - showcase react-client/src/pages/Charts (tabbed charts reference page)
|
|
15
|
-
* - blank-app-seed/.genx/templates/react/chart.hbs
|
|
16
|
-
*/
|
|
17
|
-
export declare const FUI_CHART_DEPS: string[];
|
|
18
|
-
export declare const FUI_CHART_TAGS: string[];
|
|
19
|
-
export declare const FUI_CHART_CONTEXT: string;
|
|
20
|
-
//# sourceMappingURL=fui-chart.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-chart.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-chart.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAIH,eAAO,MAAM,cAAc,EAAE,MAAM,EAAO,CAAC;AAE3C,eAAO,MAAM,cAAc,UA0D1B,CAAC;AAEF,eAAO,MAAM,iBAAiB,QA8kBtB,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers column definitions, cell renderers, value formatters, GridProColumn usage,
|
|
4
|
-
* and form schema patterns for Genesis grid-pro grids.
|
|
5
|
-
*
|
|
6
|
-
* Sources verified against:
|
|
7
|
-
* - @genesislcap/grid-pro/react.d.ts (grid-pro/dist/dts/react.d.ts)
|
|
8
|
-
* - @genesislcap/rapid-grid-pro/react.d.ts (rapid-grid-pro/dist/dts/react.d.ts)
|
|
9
|
-
* - grid-pro/src/grid-pro.types.ts (GridProRendererTypes, GridProCaseType, GridOptionsConfig,
|
|
10
|
-
* GridProStatusBarConfig, GridProStatusBarTypes)
|
|
11
|
-
* - grid-pro/src/cell-renderers/*.ts (StatusPillRendererParams, BooleanRendererParams,
|
|
12
|
-
* ActionRendererParams, IconRendererParams, getActionsMenuDef)
|
|
13
|
-
* - foundation-ui/src/actions-menu/actions-menu.ts (ActionMenuItem.callback — NOT actionClick)
|
|
14
|
-
* - sales-trader-hub/client/src/pages/column.tsx + BlotterGrid.tsx (real usage)
|
|
15
|
-
* - showcase react-client/src/pages/Admin/* (ColDef usage)
|
|
16
|
-
* - blank-app-seed/.genx/templates/react/component/component.column.defs.hbs
|
|
17
|
-
*/
|
|
18
|
-
export declare const FUI_COLUMN_DEFS_TAGS: string[];
|
|
19
|
-
export declare const FUI_COLUMN_DEFS_DEPS: string[];
|
|
20
|
-
export declare const FUI_COLUMN_DEFS_CONTEXT: string;
|
|
21
|
-
//# sourceMappingURL=fui-column-defs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-column-defs.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-column-defs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,oBAAoB,UA4ChC,CAAC;AAEF,eAAO,MAAM,oBAAoB,UAA4C,CAAC;AAE9E,eAAO,MAAM,uBAAuB,QA8xB5B,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context: Genesis UI overview — react.d.ts / types.d.ts VFS-key table, docs URLs,
|
|
3
|
-
* import rules, type import patterns, and module navigation guide for all components.
|
|
4
|
-
* For component-specific details use the focused context modules listed in MODULE GUIDE below.
|
|
5
|
-
*/
|
|
6
|
-
export declare const FUI_COMPONENTS_TAGS: string[];
|
|
7
|
-
export declare const FUI_COMPONENTS_DEPS: string[];
|
|
8
|
-
export declare const FUI_COMPONENTS_CONTEXT: string;
|
|
9
|
-
//# sourceMappingURL=fui-components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-components.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-components.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,UA4B/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,MAAM,EAAO,CAAC;AAEhD,eAAO,MAAM,sBAAsB,QAiN3B,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers the programmatic criteria / expression API:
|
|
4
|
-
* - CriteriaBuilder, ExpressionBuilder, Serialisers, Join (foundation-criteria)
|
|
5
|
-
* - getCriteriaBuilder, AvailableOption, INPUT_MIN_LENGTH (foundation-ui search-bar helpers)
|
|
6
|
-
* - EntityManagement enableSearchBar + searchBarConfig pattern
|
|
7
|
-
* - React SegmentedControl/SegmentedItem for segmented filter UIs
|
|
8
|
-
*
|
|
9
|
-
* SOURCE NOTES:
|
|
10
|
-
* - CriteriaBuilder / ExpressionBuilder / Serialisers / Join / CriteriaSegmentedControlOption verified against:
|
|
11
|
-
* foundation-criteria/dist/dts/{criteria-builder,expression-builder,serialisers,types}.d.ts
|
|
12
|
-
* foundation-criteria/src/{criteria-builder,expression-builder,form-criteria-builder,serialisers,types}.ts
|
|
13
|
-
* - getCriteriaBuilder / AvailableOption / INPUT_MIN_LENGTH verified against:
|
|
14
|
-
* foundation-ui/dist/dts/search-bar/search-bar.types.d.ts
|
|
15
|
-
* - EntityManagement searchBarConfig / enableSearchBar verified against:
|
|
16
|
-
* foundation-entity-management/dist/dts/entities/entities.d.ts (enableSearchBar boolean attr; searchBarConfig AvailableOption[])
|
|
17
|
-
* showcase react-client Admin.tsx + AdminEntityManagementSSMRColumnActions.tsx (real usage)
|
|
18
|
-
* - SegmentedControl / SegmentedItem React wrappers verified against:
|
|
19
|
-
* rapid-design-system/dist/dts/react.d.ts
|
|
20
|
-
* - CriteriaSegmentedControl is a WC only — NO /react subpath; use SegmentedControl from rapid-design-system/react instead
|
|
21
|
-
* - @genesislcap/foundation-criteria has NO /react subpath — all exports are from the package root
|
|
22
|
-
*
|
|
23
|
-
* RELATIONSHIP TO fui-global-filters:
|
|
24
|
-
* fui-global-filters covers the full Filters component (Option A) and the global Redux filter pattern (Option B).
|
|
25
|
-
* THIS module covers the lower-level building blocks: CriteriaBuilder/ExpressionBuilder API, Serialisers reference,
|
|
26
|
-
* EntityManagement search bar config, and the React segmented filter control pattern.
|
|
27
|
-
* When the user asks for a filter UI backed by the Filters component, load fui-global-filters instead.
|
|
28
|
-
*/
|
|
29
|
-
export declare const FUI_CRITERIA_TAGS: string[];
|
|
30
|
-
export declare const FUI_CRITERIA_DEPS: string[];
|
|
31
|
-
export declare const FUI_CRITERIA_CONTEXT: string;
|
|
32
|
-
//# sourceMappingURL=fui-criteria.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-criteria.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-criteria.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,eAAO,MAAM,iBAAiB,UAqC7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,UAAyB,CAAC;AAExD,eAAO,MAAM,oBAAoB,QAsdzB,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers:
|
|
4
|
-
* (A) Grid cell renderers — statusPill, actionsMenu, action, icon, boolean — set via ColDef
|
|
5
|
-
* cellRenderer/cellRendererParams in .ts column-def files.
|
|
6
|
-
* (B) Foundation Form React slot renderer — the correct React-native way to embed a React
|
|
7
|
-
* component inside a FoundationForm field via options.render + renderersWithReact.
|
|
8
|
-
*
|
|
9
|
-
* Load when the user asks for status pills, coloured badges, action buttons in a grid row,
|
|
10
|
-
* icon-only columns, boolean toggles, or bespoke React controls inside a FoundationForm field.
|
|
11
|
-
*/
|
|
12
|
-
export declare const FUI_CUSTOM_RENDERER_TAGS: string[];
|
|
13
|
-
export declare const FUI_CUSTOM_RENDERER_DEPS: string[];
|
|
14
|
-
export declare const FUI_CUSTOM_RENDERER_CONTEXT: string;
|
|
15
|
-
//# sourceMappingURL=fui-custom-renderer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-custom-renderer.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-custom-renderer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,UA4CpC,CAAC;AAEF,eAAO,MAAM,wBAAwB,UAAsB,CAAC;AAE5D,eAAO,MAAM,2BAA2B,QA0iBhC,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context: multi-tile dashboard composition — KPI cards, charts, grids, shared filters.
|
|
3
|
-
*
|
|
4
|
-
* Sources verified against:
|
|
5
|
-
* - showcase react-client/src/pages/FlexLayout/FlexLayout.tsx (primary real usage)
|
|
6
|
-
* - fui-chart.ts (G2PlotChart API — see that module for full chart reference)
|
|
7
|
-
* - fui-flexlayout.ts (Layout / Model / factory pattern)
|
|
8
|
-
* - sales-trader-hub/client/src/layouts/ and /pages/
|
|
9
|
-
*
|
|
10
|
-
* DANGEROUS PATTERNS ported from the old module and corrected:
|
|
11
|
-
* - Wrong G2PlotChart import package
|
|
12
|
-
* - Wrong ChartConfiguration type name
|
|
13
|
-
* - KPI cards placed inside componentMap
|
|
14
|
-
* - Missing style={{ height: '100%' }} on tiles inside Layout
|
|
15
|
-
*/
|
|
16
|
-
export declare const FUI_DASHBOARD_TAGS: string[];
|
|
17
|
-
export declare const FUI_DASHBOARD_DEPS: string[];
|
|
18
|
-
export declare const FUI_DASHBOARD_CONTEXT: string;
|
|
19
|
-
//# sourceMappingURL=fui-dashboard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-dashboard.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-dashboard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,kBAAkB,UA2C9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,UAc9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,QAihB1B,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context: Dialog, Modal, Flyout components — imperative ref API (Dialog/Modal),
|
|
3
|
-
* controlled prop API (Flyout), confirm flows via showNotificationDialog.
|
|
4
|
-
*
|
|
5
|
-
* Sources verified against:
|
|
6
|
-
* - foundation-ui/packages/foundation/foundation-ds/rapid-design-system/dist/dts/react.d.ts
|
|
7
|
-
* - foundation-ui/packages/foundation/foundation-ui/src/dialog/dialog.ts
|
|
8
|
-
* - foundation-ui/packages/foundation/foundation-ui/src/dialog/dialog.types.ts
|
|
9
|
-
* - foundation-ui/packages/foundation/foundation-ui/src/modal/modal.ts
|
|
10
|
-
* - foundation-ui/packages/foundation/foundation-ui/src/flyout/flyout.ts
|
|
11
|
-
* - foundation-ui/packages/foundation/foundation-notifications/src/dialog/dialog-builder.ts
|
|
12
|
-
* - foundation-ui/packages/foundation/foundation-notifications/src/types.ts
|
|
13
|
-
* - sales-trader-hub: IrVolDeskPanel.tsx, RFQPanel.tsx
|
|
14
|
-
* - showcase: client-app/react-client/src/utils/customEvents.ts
|
|
15
|
-
*/
|
|
16
|
-
export declare const FUI_DIALOGS_DEPS: string[];
|
|
17
|
-
export declare const FUI_DIALOGS_TAGS: string[];
|
|
18
|
-
export declare const FUI_DIALOGS_CONTEXT: string;
|
|
19
|
-
//# sourceMappingURL=fui-dialogs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-dialogs.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-dialogs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gBAAgB,EAAE,MAAM,EAAuB,CAAC;AAE7D,eAAO,MAAM,gBAAgB,UA4C5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,QA8gBxB,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context: EntityManagement, SmartFormModal, List — full CRUD grid from
|
|
3
|
-
* @genesislcap/foundation-entity-management/react
|
|
4
|
-
*
|
|
5
|
-
* Sources verified against:
|
|
6
|
-
* - dist/dts/react.d.ts (exported component signatures + on* events)
|
|
7
|
-
* - dist/dts/types.d.ts (enums: CrudMenuPosition, CrudAction, ModalFormType, ActionsMenuStyle)
|
|
8
|
-
* - dist/dts/entities/entities.d.ts (full @attr / @observable props)
|
|
9
|
-
* - dist/dts/entities/smartFormModal.d.ts (SmartFormModal extends EntityManagement)
|
|
10
|
-
* - dist/dts/list/list.d.ts (List props + events incl. onCustomAction)
|
|
11
|
-
* - Showcase React pages: Admin/components/AdminCounterpartyEm.tsx,
|
|
12
|
-
* AdminEntityManagementFilters.tsx, AdminEntityManagementSSMR.tsx,
|
|
13
|
-
* AdminEntityManagementSSMRColumnActions.tsx, AdminEntityManagementSlotTest.tsx
|
|
14
|
-
* - blank-app-seed/.genx/templates/react/entityManager.hbs
|
|
15
|
-
*/
|
|
16
|
-
export declare const FUI_ENTITY_MANAGEMENT_DEPS: string[];
|
|
17
|
-
export declare const FUI_ENTITY_MANAGEMENT_TAGS: string[];
|
|
18
|
-
export declare const FUI_ENTITY_MANAGEMENT_CONTEXT: string;
|
|
19
|
-
//# sourceMappingURL=fui-entity-management.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-entity-management.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-entity-management.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,eAAO,MAAM,0BAA0B,EAAE,MAAM,EAA8C,CAAC;AAE9F,eAAO,MAAM,0BAA0B,UA2CtC,CAAC;AAEF,eAAO,MAAM,6BAA6B,QAy7BlC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers the TileErrorBoundary pattern for new custom component files.
|
|
4
|
-
*
|
|
5
|
-
* Tags for selective context injection — loaded when the conversation mentions these keywords.
|
|
6
|
-
*/
|
|
7
|
-
export declare const FUI_ERROR_BOUNDARY_TAGS: string[];
|
|
8
|
-
export declare const FUI_ERROR_BOUNDARY_CONTEXT: string;
|
|
9
|
-
//# sourceMappingURL=fui-error-boundary.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-error-boundary.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-error-boundary.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,UAkBnC,CAAC;AAEF,eAAO,MAAM,0BAA0B,QA0N/B,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers cross-tile eventing: Redux store, route eventing (publish/subscribe),
|
|
4
|
-
* custom slices, broadcast channel, and subscribeKey.
|
|
5
|
-
*/
|
|
6
|
-
export declare const FUI_EVENTING_TAGS: string[];
|
|
7
|
-
export declare const FUI_EVENTING_CONTEXT: string;
|
|
8
|
-
//# sourceMappingURL=fui-eventing.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-eventing.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-eventing.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,UA6B7B,CAAC;AAEF,eAAO,MAAM,oBAAoB,QAglBzB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context module for the UI Builder — flexlayout-react multi-panel layout.
|
|
3
|
-
*
|
|
4
|
-
* This app uses flexlayout-react (caplin/FlexLayout) for all multi-panel, resizable,
|
|
5
|
-
* drag-and-drop layouts. foundation-layout is OUT OF SCOPE — never use it.
|
|
6
|
-
*
|
|
7
|
-
* API surface verified against:
|
|
8
|
-
* - flexlayout-react@0.8.19 types (node_modules: model/IJsonModel.d.ts, model/Actions.d.ts,
|
|
9
|
-
* model/Model.d.ts, view/Layout.d.ts, DockLocation.d.ts)
|
|
10
|
-
* - @genesislcap/rapid-design-system dist/dts/flexlayout-react-theme (platform-owned theme)
|
|
11
|
-
* - GENERATED-APP GROUND TRUTH: preview client src/pages/Home/Home.tsx + Home.css,
|
|
12
|
-
* src/utils/layout.ts (getFlexLayoutStorageKey), src/components/error-boundary/ErrorBoundary.tsx
|
|
13
|
-
* (TileErrorBoundary), src/main.tsx (installRapidFlexLayoutReactStyles)
|
|
14
|
-
*/
|
|
15
|
-
export declare const FUI_FLEXLAYOUT_TAGS: string[];
|
|
16
|
-
export declare const FUI_FLEXLAYOUT_CONTEXT: string;
|
|
17
|
-
//# sourceMappingURL=fui-flexlayout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-flexlayout.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-flexlayout.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,eAAO,MAAM,mBAAmB,UAkE/B,CAAC;AAOF,eAAO,MAAM,sBAAsB,QAswB3B,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers the flyout/side-panel pattern with multi-step form navigation.
|
|
4
|
-
* Load when the user asks for a sliding panel, drawer, or multi-step form
|
|
5
|
-
* workflow where one form can navigate to another (e.g., QTE → FTE).
|
|
6
|
-
*/
|
|
7
|
-
export declare const FUI_FLYOUT_PANEL_TAGS: string[];
|
|
8
|
-
export declare const FUI_FLYOUT_PANEL_DEPS: string[];
|
|
9
|
-
export declare const FUI_FLYOUT_PANEL_CONTEXT: string;
|
|
10
|
-
//# sourceMappingURL=fui-flyout-panel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-flyout-panel.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-flyout-panel.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,UA2BjC,CAAC;AAEF,eAAO,MAAM,qBAAqB,UAAqB,CAAC;AAExD,eAAO,MAAM,wBAAwB,QA4Y7B,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context: Form component + UiSchema renderer catalog from @genesislcap/foundation-forms/react
|
|
3
|
-
*
|
|
4
|
-
* Tags for selective context injection — loaded when the conversation mentions these keywords.
|
|
5
|
-
*/
|
|
6
|
-
export declare const FUI_FORM_COMPONENT_TAGS: string[];
|
|
7
|
-
export declare const FUI_FORM_COMPONENT_DEPS: string[];
|
|
8
|
-
export declare const FUI_FORM_COMPONENT_CONTEXT: string;
|
|
9
|
-
//# sourceMappingURL=fui-form-component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-form-component.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-form-component.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,UAqDnC,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,MAAM,EAAuB,CAAC;AAEpE,eAAO,MAAM,0BAA0B,QAq0B/B,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers number/date/currency formatters, timestamp helpers, and locale-aware parsers
|
|
4
|
-
* from @genesislcap/foundation-utils. Used primarily as ColDef valueFormatter functions
|
|
5
|
-
* and for parsing user-entered numeric/date strings.
|
|
6
|
-
*
|
|
7
|
-
* Tags for conditional injection — inject when the conversation mentions these keywords.
|
|
8
|
-
*/
|
|
9
|
-
export declare const FUI_FORMATTERS_TAGS: string[];
|
|
10
|
-
export declare const FUI_FORMATTERS_DEPS: string[];
|
|
11
|
-
export declare const FUI_FORMATTERS_CONTEXT: string;
|
|
12
|
-
//# sourceMappingURL=fui-formatters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-formatters.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-formatters.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,eAAO,MAAM,mBAAmB,UAkC/B,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAAsB,CAAC;AAEvD,eAAO,MAAM,sBAAsB,QAkX3B,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers the correct usage of the Connect service from @genesislcap/foundation-comms
|
|
4
|
-
* for direct server communication in custom React components.
|
|
5
|
-
*
|
|
6
|
-
* Tags for selective context injection — inject when conversation mentions these keywords.
|
|
7
|
-
*/
|
|
8
|
-
export declare const FUI_FOUNDATION_COMMS_TAGS: string[];
|
|
9
|
-
export declare const FUI_FOUNDATION_COMMS_CONTEXT: string;
|
|
10
|
-
//# sourceMappingURL=fui-foundation-comms.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-foundation-comms.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-foundation-comms.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,UAuBrC,CAAC;AAEF,eAAO,MAAM,4BAA4B,QAsejC,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context injected into the UI Builder system prompt.
|
|
3
|
-
* Covers the global filters pattern: a shared filter bar (header or per-page) whose
|
|
4
|
-
* criteria string flows into every data tile across all routes via a Redux slice.
|
|
5
|
-
*
|
|
6
|
-
* SOURCE NOTES:
|
|
7
|
-
* - `Filters` component lives in `@genesislcap/foundation-forms/react` (NOT foundation-filters).
|
|
8
|
-
* `foundation-filters` is a feature-flag / URL-targeting utility package (clientFilter,
|
|
9
|
-
* timeWindow, percentage, urlTargeting — no /react subpath), not a UI component.
|
|
10
|
-
* Verified: foundation-filters src at foundation-ui repo v14.481.1 + package exports {'.', './package.json'}.
|
|
11
|
-
* - Filters WC props + `change`/`submit` events verified against the INSTALLED client
|
|
12
|
-
* (14.480.0): foundation-forms/dist/dts/filters/filters.d.ts (public props: resourceName,
|
|
13
|
-
* uischema, jsonSchema, data, value, prefix, renderers, showFilterPersistenceControls; @fires
|
|
14
|
-
* change/submit) + dist/esm filters.js (valueChanged→dispatch 'change' no-detail;
|
|
15
|
-
* searchFilters→$emit 'submit' {payload}) + filters.template.js (Clear[neutral]/Search[accent]
|
|
16
|
-
* buttons, slots actions-start/actions-end, parts container/container-forms/actions).
|
|
17
|
-
* - GENERATED-APP RUNTIME NOTE: generated apps run foundation-forms **14.481.1** (see
|
|
18
|
-
* the generated client package.json under server/preview-service/temp/projects), which is AHEAD
|
|
19
|
-
* of the create-tool client's 14.480.0. The ORIENTATION (`layout-direction` attr auto-derived from a HorizontalLayout
|
|
20
|
-
* uischema), the `:host` flex-column/height:100%/min-height:0/overflow:hidden sizing, the
|
|
21
|
-
* `.filters-dropdown-overflow` opt-in host class, and the `--filter-horizontal-field-min-width`
|
|
22
|
-
* token exist ONLY at 14.481.0+ — verify them against foundation-ui repo v14.481.1
|
|
23
|
-
* filters.styles.ts + filters.ts (getter layoutMode: uischema.type==='HorizontalLayout'?
|
|
24
|
-
* 'horizontal':'vertical'), NOT the 14.480.0 client (which styles the light-DOM `foundation-filters`
|
|
25
|
-
* element with no :host / no layout-direction). All correct for the 14.481.1 runtime the ui-builder
|
|
26
|
-
* targets.
|
|
27
|
-
* - CriteriaBuilder / ExpressionBuilder / Serialisers / Join verified against:
|
|
28
|
-
* foundation-criteria/dist/dts/{criteria-builder,expression-builder,serialisers,types}.d.ts (14.480.0).
|
|
29
|
-
*/
|
|
30
|
-
export declare const FUI_GLOBAL_FILTERS_TAGS: string[];
|
|
31
|
-
export declare const FUI_GLOBAL_FILTERS_DEPS: string[];
|
|
32
|
-
export declare const FUI_GLOBAL_FILTERS_CONTEXT: string;
|
|
33
|
-
//# sourceMappingURL=fui-global-filters.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-global-filters.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-global-filters.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,eAAO,MAAM,uBAAuB,UA8BnC,CAAC;AAIF,eAAO,MAAM,uBAAuB,UAAkC,CAAC;AAEvE,eAAO,MAAM,0BAA0B,QA0sB/B,CAAC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Context: Complete @genesislcap import surface — runtime paths, type-only paths, subpath rules, anti-patterns.
|
|
3
|
-
* Always-auto-injected (Tier 1) since correct import paths are universally required.
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* The `@genesislcap/rapid-design-system/react` components the architecture planner may name.
|
|
7
|
-
*
|
|
8
|
-
* This is a STRUCTURAL GATE, not documentation. The planner's COMPONENT EXISTENCE RULE
|
|
9
|
-
* (architecture-planner.prompt.ts) forbids planning any Genesis component absent from the
|
|
10
|
-
* import-surface table below — so a component missing from this array is unreachable no matter
|
|
11
|
-
* how well the model is prompted, and the agent hand-rolls `<div>`/`<button>` markup instead.
|
|
12
|
-
*
|
|
13
|
-
* **Curated, not derived.** The installed dist exports 83 React components; this list is a
|
|
14
|
-
* deliberate subset. What is left out, and why (every name below IS a real rapid-design-system
|
|
15
|
-
* React export — this list is scoped to that package, so foundation-ui-only exports such as
|
|
16
|
-
* `DataGrid` and `FlexLayout` were never candidates here in the first place):
|
|
17
|
-
*
|
|
18
|
-
* - Infrastructure the agent must never place by hand: `DesignSystemProvider`, `AnchoredRegion`,
|
|
19
|
-
* `RapidRouter`, `SystemHealthOverlay`, `Flipper`.
|
|
20
|
-
* - Owned by a dedicated package + context module: `RapidExpressionBuilder`,
|
|
21
|
-
* `RapidRuleExpressionBuilder`, `RapidValueExpressionBuilder` (see `fui-criteria`);
|
|
22
|
-
* `FilterBar` / `Filter` (see `fui-global-filters`); `ActionsMenu` (reached through
|
|
23
|
-
* `GridProRendererTypes.actionsMenu`, see `fui-column-defs`).
|
|
24
|
-
* - Niche enough that a wrong guess costs more than the omission: `Scheduler*`,
|
|
25
|
-
* `VerificationCodeInput`, `StackingIcons`, `TreeView` / `TreeItem`, `Calendar`.
|
|
26
|
-
*
|
|
27
|
-
* Auto-deriving the full export set would trade "substituted a div" for "used the wrong
|
|
28
|
-
* component" and would carry no usage guidance — so entries are added deliberately, and each
|
|
29
|
-
* newly surfaced one is paired with a usage example in the context below.
|
|
30
|
-
*
|
|
31
|
-
* Every name here is pinned to the installed dist by `fui-import-surface.test.ts`, which fails if
|
|
32
|
-
* a name is not a real export (typo / upstream removal) or if a required component is dropped.
|
|
33
|
-
*/
|
|
34
|
-
export declare const RAPID_DESIGN_SYSTEM_REACT_COMPONENTS: readonly ["Button", "TextField", "Select", "ListboxOption", "Optgroup", "Combobox", "Multiselect", "Checkbox", "Switch", "Radio", "RadioGroup", "DatePicker", "NumberField", "TextArea", "FileUpload", "SearchBar", "Slider", "SliderLabel", "Dialog", "Modal", "Flyout", "Tooltip", "DropdownMenu", "Card", "Divider", "Toolbar", "Accordion", "AccordionItem", "Tabs", "Tab", "TabPanel", "Stepper", "StepperTab", "StepperTabPanel", "SegmentedControl", "SegmentedItem", "Icon", "Badge", "StatusPill", "Pill", "Banner", "Snackbar", "Toast", "Skeleton", "Progress", "ProgressRing", "Avatar", "Anchor", "Breadcrumb", "BreadcrumbItem"];
|
|
35
|
-
export declare const FUI_IMPORT_SURFACE_TAGS: string[];
|
|
36
|
-
export declare const FUI_IMPORT_SURFACE_CONTEXT: string;
|
|
37
|
-
//# sourceMappingURL=fui-import-surface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fui-import-surface.d.ts","sourceRoot":"","sources":["../../../../src/code-review/rules/fui-import-surface.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,oCAAoC,gnBAwDvC,CAAC;AAEX,eAAO,MAAM,uBAAuB,UAmBnC,CAAC;AAEF,eAAO,MAAM,0BAA0B,QAqV/B,CAAC"}
|