@genesislcap/ai-assistant 15.37.0 → 15.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +638 -0
- package/dist/dts/genesis/calendar.d.ts +25 -0
- package/dist/dts/genesis/calendar.d.ts.map +1 -0
- package/dist/dts/genesis/config.d.ts +16 -0
- package/dist/dts/genesis/config.d.ts.map +1 -1
- package/dist/dts/genesis/criteria.d.ts +24 -2
- package/dist/dts/genesis/criteria.d.ts.map +1 -1
- package/dist/dts/genesis/event-fields.d.ts +84 -0
- package/dist/dts/genesis/event-fields.d.ts.map +1 -0
- package/dist/dts/genesis/filter-fields.d.ts +69 -5
- package/dist/dts/genesis/filter-fields.d.ts.map +1 -1
- package/dist/dts/genesis/index.d.ts +3 -0
- package/dist/dts/genesis/index.d.ts.map +1 -1
- package/dist/dts/genesis/register-genesis-assistant.d.ts +13 -0
- package/dist/dts/genesis/register-genesis-assistant.d.ts.map +1 -1
- package/dist/dts/genesis/resource-tools.d.ts.map +1 -1
- package/dist/dts/genesis/review-model.d.ts +202 -0
- package/dist/dts/genesis/review-model.d.ts.map +1 -0
- package/dist/dts/genesis/row-source.d.ts +102 -0
- package/dist/dts/genesis/row-source.d.ts.map +1 -0
- package/dist/dts/genesis/serialisable.d.ts +25 -0
- package/dist/dts/genesis/serialisable.d.ts.map +1 -0
- package/dist/dts/genesis/server-text.d.ts +63 -0
- package/dist/dts/genesis/server-text.d.ts.map +1 -0
- package/dist/dts/genesis/type-name.d.ts +18 -0
- package/dist/dts/genesis/type-name.d.ts.map +1 -0
- package/dist/dts/genesis/types.d.ts +7 -0
- package/dist/dts/genesis/types.d.ts.map +1 -1
- package/dist/dts/genesis/value-compare.d.ts +19 -0
- package/dist/dts/genesis/value-compare.d.ts.map +1 -0
- package/dist/dts/genesis/write-commit.d.ts +53 -0
- package/dist/dts/genesis/write-commit.d.ts.map +1 -0
- package/dist/dts/genesis/write-outcome.d.ts +133 -0
- package/dist/dts/genesis/write-outcome.d.ts.map +1 -0
- package/dist/dts/genesis/write-payload.d.ts +129 -0
- package/dist/dts/genesis/write-payload.d.ts.map +1 -0
- package/dist/dts/genesis/write-plan.d.ts +109 -0
- package/dist/dts/genesis/write-plan.d.ts.map +1 -0
- package/dist/dts/genesis/write-review/write-review.d.ts +127 -0
- package/dist/dts/genesis/write-review/write-review.d.ts.map +1 -0
- package/dist/dts/genesis/write-review/write-review.styles.d.ts +2 -0
- package/dist/dts/genesis/write-review/write-review.styles.d.ts.map +1 -0
- package/dist/dts/genesis/write-review/write-review.template.d.ts +4 -0
- package/dist/dts/genesis/write-review/write-review.template.d.ts.map +1 -0
- package/dist/dts/genesis/write-tools.d.ts +99 -0
- package/dist/dts/genesis/write-tools.d.ts.map +1 -0
- package/dist/dts/react.d.ts +10 -0
- package/dist/esm/genesis/calendar.js +38 -0
- package/dist/esm/genesis/config.js +36 -1
- package/dist/esm/genesis/criteria.js +59 -55
- package/dist/esm/genesis/event-fields.js +158 -0
- package/dist/esm/genesis/filter-fields.js +111 -20
- package/dist/esm/genesis/index.js +2 -0
- package/dist/esm/genesis/register-genesis-assistant.js +76 -4
- package/dist/esm/genesis/resource-tools.js +21 -103
- package/dist/esm/genesis/review-model.js +248 -0
- package/dist/esm/genesis/row-source.js +127 -0
- package/dist/esm/genesis/serialisable.js +38 -0
- package/dist/esm/genesis/server-text.js +186 -0
- package/dist/esm/genesis/type-name.js +20 -0
- package/dist/esm/genesis/value-compare.js +87 -0
- package/dist/esm/genesis/write-commit.js +78 -0
- package/dist/esm/genesis/write-outcome.js +299 -0
- package/dist/esm/genesis/write-payload.js +632 -0
- package/dist/esm/genesis/write-plan.js +275 -0
- package/dist/esm/genesis/write-review/write-review.js +252 -0
- package/dist/esm/genesis/write-review/write-review.styles.js +214 -0
- package/dist/esm/genesis/write-review/write-review.template.js +182 -0
- package/dist/esm/genesis/write-tools.js +660 -0
- package/dist/react.cjs +7 -0
- package/dist/react.mjs +6 -0
- package/docs/genesis.md +152 -10
- package/package.json +18 -18
package/dist/react.cjs
CHANGED
|
@@ -16,6 +16,7 @@ const { AiHaloOverlay: AiHaloOverlayWC } = require('./esm/components/halo-overla
|
|
|
16
16
|
const { AiPlasmaOrbIndicator: AiPlasmaOrbIndicatorWC } = require('./esm/components/plasma-orb-indicator.js');
|
|
17
17
|
const { FoundationAiPopoutManager: FoundationAiPopoutManagerWC } = require('./esm/components/popout-manager/popout-manager.js');
|
|
18
18
|
const { AiWavesIndicator: AiWavesIndicatorWC } = require('./esm/components/waves-indicator.js');
|
|
19
|
+
const { GenesisWriteReview: GenesisWriteReviewWC } = require('./esm/genesis/write-review/write-review.js');
|
|
19
20
|
const { FoundationAiAssistant: FoundationAiAssistantWC } = require('./esm/main/main.js');
|
|
20
21
|
const { ChatSuggestions: ChatSuggestionsWC } = require('./esm/suggestions/chat-suggestions.js');
|
|
21
22
|
|
|
@@ -144,6 +145,11 @@ const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutMa
|
|
|
144
145
|
return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
|
|
145
146
|
});
|
|
146
147
|
|
|
148
|
+
const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
|
|
149
|
+
const { children, ...rest } = props;
|
|
150
|
+
return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref }, children);
|
|
151
|
+
});
|
|
152
|
+
|
|
147
153
|
module.exports = {
|
|
148
154
|
AiFlowingWavesIndicator,
|
|
149
155
|
AiHaloOverlay,
|
|
@@ -157,4 +163,5 @@ module.exports = {
|
|
|
157
163
|
AiChatInteractionWrapper,
|
|
158
164
|
AiChatMarkdown,
|
|
159
165
|
FoundationAiPopoutManager,
|
|
166
|
+
GenesisWriteReview,
|
|
160
167
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -14,6 +14,7 @@ import { AiHaloOverlay as AiHaloOverlayWC } from './esm/components/halo-overlay.
|
|
|
14
14
|
import { AiPlasmaOrbIndicator as AiPlasmaOrbIndicatorWC } from './esm/components/plasma-orb-indicator.js';
|
|
15
15
|
import { FoundationAiPopoutManager as FoundationAiPopoutManagerWC } from './esm/components/popout-manager/popout-manager.js';
|
|
16
16
|
import { AiWavesIndicator as AiWavesIndicatorWC } from './esm/components/waves-indicator.js';
|
|
17
|
+
import { GenesisWriteReview as GenesisWriteReviewWC } from './esm/genesis/write-review/write-review.js';
|
|
17
18
|
import { FoundationAiAssistant as FoundationAiAssistantWC } from './esm/main/main.js';
|
|
18
19
|
import { ChatSuggestions as ChatSuggestionsWC } from './esm/suggestions/chat-suggestions.js';
|
|
19
20
|
|
|
@@ -141,3 +142,8 @@ export const FoundationAiPopoutManager = React.forwardRef(function FoundationAiP
|
|
|
141
142
|
const { children, ...rest } = props;
|
|
142
143
|
return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
|
|
143
144
|
});
|
|
145
|
+
|
|
146
|
+
export const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
|
|
147
|
+
const { children, ...rest } = props;
|
|
148
|
+
return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref }, children);
|
|
149
|
+
});
|
package/docs/genesis.md
CHANGED
|
@@ -7,9 +7,9 @@ model providers from the platform tier table, turns the app's resources into cha
|
|
|
7
7
|
hands back one agent to bind to `<foundation-ai-assistant>`. It is what a generated app's mount
|
|
8
8
|
code calls; the app supplies configuration, never a model id, endpoint or key.
|
|
9
9
|
|
|
10
|
-
The API is `@beta`.
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
The API is `@beta`. Each `REQ_` resource becomes a read tool. An `EVENT_` resource becomes a write
|
|
11
|
+
tool that shows the user every row it would write and commits only the ones they select, unless
|
|
12
|
+
it is one of the shapes that get none (see [Write tools](#write-tools)).
|
|
13
13
|
|
|
14
14
|
---
|
|
15
15
|
|
|
@@ -28,14 +28,17 @@ if (blockedReason) assistant.setBlocked(true, blockedReason);
|
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
`registerGenesisAssistant` is synchronous and **never throws**. Anything that stops the assistant
|
|
31
|
-
from running comes back as `blockedReason` (
|
|
32
|
-
|
|
31
|
+
from running comes back as `blockedReason` (logged as an error — except AI being switched off, in
|
|
32
|
+
the build or in the config, which is a choice rather than a fault and is logged at debug) with an
|
|
33
|
+
empty `agents` list, so a bad config or a tool-name clash costs the app its assistant, never its
|
|
34
|
+
start-up:
|
|
33
35
|
|
|
34
36
|
- AI is switched off for the build (`feature.ai` flag) or in the config (`enabled: false`);
|
|
35
37
|
- the config is invalid (see below);
|
|
36
|
-
- an extension tool reuses a name derived from a resource
|
|
37
|
-
release that exposes writes cannot collide with a tool the app already ships;
|
|
38
|
+
- an extension tool reuses a name derived from a resource, reads and writes alike;
|
|
38
39
|
- an extension tool is declared twice or has no handler;
|
|
40
|
+
- `rowSources` is not an object, or names a read that is not one of the config's `REQ_`
|
|
41
|
+
resources, or an event that is not one of its `EVENT_` resources;
|
|
39
42
|
- the providers cannot be registered (for example `vendors` leaves out the configured vendor).
|
|
40
43
|
|
|
41
44
|
A blocked registration registers no providers.
|
|
@@ -50,10 +53,12 @@ A blocked registration registers no providers.
|
|
|
50
53
|
| `vendors` | `[config.vendor]` | Vendors the user may switch between. One by default: a proxy holding one key cannot answer for another vendor. |
|
|
51
54
|
| `connect` | the app's `Connect`, from DI | Resolved when a tool first runs, not at registration. |
|
|
52
55
|
| `extensions` | none | `{ toolDefinitions, toolHandlers, systemPrompt }` — the app's hand-written tools, added after the generated ones. |
|
|
56
|
+
| `rowSources` | the `REQ_` for the same table | `{ [event]: request }` — which read a modify or delete takes its rows from. See [Write tools](#write-tools). |
|
|
53
57
|
|
|
54
58
|
The agent runs on the registry's default provider, which is the configured tier. Its system prompt
|
|
55
59
|
is the configured prompt, then a fixed rule that tool results are app data and never
|
|
56
|
-
instructions, then
|
|
60
|
+
instructions, then a fixed rule for reading a write's per-row outcome (never write an `unknown`
|
|
61
|
+
row again), then the extensions' prompt.
|
|
57
62
|
|
|
58
63
|
---
|
|
59
64
|
|
|
@@ -82,6 +87,10 @@ instructions, then the extensions' prompt.
|
|
|
82
87
|
| `op` | Events only: `insert`, `modify`, `delete` or `custom`. |
|
|
83
88
|
| `maxRows` | Requests only: a whole number from 1 to 1000. Defaults to 50. |
|
|
84
89
|
|
|
90
|
+
No `resources` at all, absent or `[]`, is accepted: an assistant whose tools all come from the
|
|
91
|
+
app's extensions, or a chat helper with none, is a real configuration. It is also exactly what a
|
|
92
|
+
list that came out empty by mistake looks like, so registration logs a warning naming both.
|
|
93
|
+
|
|
85
94
|
---
|
|
86
95
|
|
|
87
96
|
## Read tools
|
|
@@ -103,8 +112,14 @@ free-text criteria parameter.**
|
|
|
103
112
|
fetched under the resource's **unprefixed** name (`REQ_TRADE` is read as `REQ_TRADE`, but its
|
|
104
113
|
metadata is published as `TRADE`). `CRITERIA_FIELDS` is used when the resource publishes one;
|
|
105
114
|
a request server usually does not, and its criteria are evaluated against the row, so its
|
|
106
|
-
|
|
107
|
-
|
|
115
|
+
reply's fields are what can be filtered on: `REPLY_FIELD`, or `REPLY.FIELD` on a class-typed
|
|
116
|
+
`requestReply<Input, Output>`. A top-level `FIELD` there describes the **input** class and is
|
|
117
|
+
never read as the reply. Types and any `VALID_VALUES` come from the same reply. A resource that
|
|
118
|
+
describes no fields gets a tool with no `filters` parameter.
|
|
119
|
+
- A field whose allowed values cannot be read — an `ENUM` with no values, or a `VALID_VALUES`
|
|
120
|
+
that is neither an array nor a pipe-separated string, or a list with any member that does not
|
|
121
|
+
read — is **not offered as a filter**, and the console names it. Offered without its list, a
|
|
122
|
+
near miss such as `SIDE equals 'buy'` would go out valid and match nothing.
|
|
108
123
|
- `op` is one of `equals`, `not_equals`, `contains`, `greater_than`, `greater_or_equal`,
|
|
109
124
|
`less_than`, `less_or_equal`, `is_blank`, `is_not_blank`. Which ones apply depends on the field's
|
|
110
125
|
type; the tool tells the model what a field holds, including an enum's values.
|
|
@@ -143,6 +158,133 @@ anything, for an app that assembles its own agent.
|
|
|
143
158
|
|
|
144
159
|
---
|
|
145
160
|
|
|
161
|
+
## Write tools
|
|
162
|
+
|
|
163
|
+
An event resource becomes a write tool **when its rows can be read** — see *A modify needs
|
|
164
|
+
somewhere to read its rows from* below; an insert always can. **Nothing is written without a
|
|
165
|
+
person selecting it.** The tool shows the rows it would write in a review, the user ticks the
|
|
166
|
+
ones they want, and only those are committed — so the model proposes the whole change rather
|
|
167
|
+
than asking in chat and then acting on a "yes".
|
|
168
|
+
|
|
169
|
+
The order matters, and is the whole safety argument:
|
|
170
|
+
|
|
171
|
+
1. the model's arguments become payloads, built against the event's own metadata. A modify is
|
|
172
|
+
merged over the row as it currently stands; a delete is built from that row's own key;
|
|
173
|
+
2. those payload objects are rendered in the review, **by reference**;
|
|
174
|
+
3. the review resolves with row **indexes**, never rows, so nothing that comes back could be a
|
|
175
|
+
rebuilt payload;
|
|
176
|
+
4. each selected modify or delete is re-read immediately before it is committed, and compared
|
|
177
|
+
on every column the review showed. For a delete that is the whole row, not just the key it
|
|
178
|
+
sends;
|
|
179
|
+
5. what survives is committed — the objects from step 2.
|
|
180
|
+
|
|
181
|
+
Step 4 is there because a review is open for as long as a person takes to read it, and the same
|
|
182
|
+
row can be changed in that time. Committing the payload built from the row as it *was* would
|
|
183
|
+
write the reviewed values straight over somebody else's change, and the server would ACK it.
|
|
184
|
+
A row that moved is reported as `changed_since_review` and left alone.
|
|
185
|
+
|
|
186
|
+
### A modify needs somewhere to read its rows from
|
|
187
|
+
|
|
188
|
+
A generated CRUD modify **replaces** the record, so a payload carrying only the fields the model
|
|
189
|
+
named writes null over every field it did not. The bridge therefore reads the current row and
|
|
190
|
+
fills in the rest — and it reads it through a resource the assistant can already read, so a write
|
|
191
|
+
can never see fields no read tool was allowed to return.
|
|
192
|
+
|
|
193
|
+
**It must be one of the app's own `REQ_` resources**, and that is a rule rather than a
|
|
194
|
+
convenience: the read tools are the assistant's whole view of the app's data, so sourcing a row
|
|
195
|
+
anywhere else would let a write see — and show a user, and carry into the chat's saved history —
|
|
196
|
+
fields no read tool was allowed to return. A name that is not a configured request resource is
|
|
197
|
+
refused at registration.
|
|
198
|
+
|
|
199
|
+
For a **modify**, the resource also has to **return every field the event writes**. A generated
|
|
200
|
+
modify replaces the record, so a column the read cannot see is a column written null, and no
|
|
201
|
+
row-by-row check can catch it: a field the row omits and one it genuinely holds as null look
|
|
202
|
+
identical. A modify whose source falls short gets no tool, and the console names the missing
|
|
203
|
+
columns.
|
|
204
|
+
|
|
205
|
+
A **delete** is held to neither rule beyond being readable. It sends the fields its event
|
|
206
|
+
declares, each read from the row, never from the model: for a delete declared over an index
|
|
207
|
+
(`eventHandler<Trade.ById>`, the generated shape) that is exactly the key, whether or not the
|
|
208
|
+
metadata marks it read-only. A key field the row has no value for refuses the row by name. The
|
|
209
|
+
review still shows the whole row — what is being approved is the removal of a row, not the sending
|
|
210
|
+
of a key.
|
|
211
|
+
|
|
212
|
+
By default the source is the `REQ_` resource for the same table (`EVENT_TRADE_MODIFY` reads
|
|
213
|
+
`REQ_TRADE`). Name a different one per event with `rowSources`:
|
|
214
|
+
|
|
215
|
+
```ts
|
|
216
|
+
registerGenesisAssistant({ config, rowSources: { EVENT_TRADE_MODIFY: 'REQ_TRADE_RAW' } });
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### What gets no write tool
|
|
220
|
+
|
|
221
|
+
- An event whose **`op` is missing** and whose name does not end in `_INSERT`, `_MODIFY` or
|
|
222
|
+
`_DELETE`. The name settles it where it can; otherwise the resource is refused rather than
|
|
223
|
+
guessed at, because the guess used to be `custom` — the path with the fewest guarantees.
|
|
224
|
+
- An event declared **`custom`** — which the app generator emits for every exposed custom
|
|
225
|
+
handler, so this is not a rare shape. Every rule the write path follows was learned from
|
|
226
|
+
Create-generated CRUD handlers, and a custom handler is the app's own code: **we do not know
|
|
227
|
+
whether it replaces the record**, and a wrong guess writes nulls into columns nobody was
|
|
228
|
+
shown, because the review renders the fields being *sent*. Nor can its answer be trusted the
|
|
229
|
+
way a generated handler's can: a hand-written `onCommit` that writes and then returns `nack()`
|
|
230
|
+
commits those writes (genesis-server 8.15.14, `TransactionalEventHandlerContainer`), so its
|
|
231
|
+
NACK does not mean "not written". This is a deliberate hold, not a
|
|
232
|
+
pending task — it will be revisited when custom handlers are next worked on, and until then
|
|
233
|
+
the refusal is enforced by the type system rather than by a check somebody could relax.
|
|
234
|
+
- An event whose `op` **disagrees with its name** (an `EVENT_TRADE_DELETE` declared `insert`).
|
|
235
|
+
One of the two is wrong, and the write path will not guess which.
|
|
236
|
+
- An event whose metadata **cannot be read**, **describes no fields**, or names a field **without
|
|
237
|
+
a type this assistant can write**. A type decides how a value travels (epoch millis, digits, an
|
|
238
|
+
enum, text), and a guess writes the wrong value or fails the schema. The whole event, not just
|
|
239
|
+
the field, because the field left out may be a required one.
|
|
240
|
+
- A **modify** whose row source does not return every field it writes (above).
|
|
241
|
+
- A **modify or delete** whose row source can be searched by **none of its fields**. The key a
|
|
242
|
+
model may send is offered only from fields the row source can match by equality — its
|
|
243
|
+
`CRITERIA_FIELDS` when it publishes them, typed, with readable allowed values, and not a
|
|
244
|
+
timestamp — because that is what the read composes its criteria against. A field outside that
|
|
245
|
+
set would only come back refused.
|
|
246
|
+
- An **insert or a modify with nothing a model may set**: every field is its key, maintained by
|
|
247
|
+
the platform, or a `NANO_TIMESTAMP`. Every call to it would be refused. (A delete sets nothing
|
|
248
|
+
by design — it sends the row's key — and is not affected.)
|
|
249
|
+
- An event with a field whose **allowed values cannot be read** (as for filters, above). Its
|
|
250
|
+
value would be written unchecked, and the model would never be told the list.
|
|
251
|
+
- An **insert that requires a `NANO_TIMESTAMP`**. Its unit has not been confirmed on a live app,
|
|
252
|
+
so a model may not set one. A modify carries the row's own value through unchanged, and is
|
|
253
|
+
refused if a JSON number cannot hold that value exactly.
|
|
254
|
+
|
|
255
|
+
An event with no usable row source **gets no tool at all**, and the console says which resource
|
|
256
|
+
to add. So does every case above: each is logged once, with the reason, and not asked about again
|
|
257
|
+
unless asking again could help — a request that failed, or a metadata reply that came back empty
|
|
258
|
+
(Connect caches every other reply, errors included, so asking again would only repeat it). A tool that refused every call would teach the model nothing and cost a turn each time,
|
|
259
|
+
and the tool list should be a true map of what the assistant can do.
|
|
260
|
+
|
|
261
|
+
### Reading the result
|
|
262
|
+
|
|
263
|
+
Each row gets its own outcome; a failure does not stop the rest of the batch. `committed: true`
|
|
264
|
+
means the row reached the database. `committed: false` does **not** mean it did not: a row whose
|
|
265
|
+
status is `unknown` was sent, and no answer settled it: none came, the one that came could not be
|
|
266
|
+
read, or it was a `MSG_NACK` other than a 404. The server may well have written it. Never retry
|
|
267
|
+
one — that is how a row gets written twice.
|
|
268
|
+
|
|
269
|
+
| status | what happened |
|
|
270
|
+
| ---------------------- | ------------------------------------------------------------------------------------ |
|
|
271
|
+
| `written` | Committed. |
|
|
272
|
+
| `not_selected` | The user did not tick it. Nothing was sent. |
|
|
273
|
+
| `invalid_payload` | Refused before the review, or the server found the details malformed. |
|
|
274
|
+
| `changed_since_review` | Somebody changed the row while the review was open. Nothing was sent. |
|
|
275
|
+
| `gone` | The row a modify or delete named no longer exists. |
|
|
276
|
+
| `duplicate` | A record with that key already exists. |
|
|
277
|
+
| `refused_by_app` | The app's own validation said no. Nothing to retry. |
|
|
278
|
+
| `database_error` | The database refused it for another reason. |
|
|
279
|
+
| `unavailable` | The event is not mapped to a service (a 404 `MSG_NACK`). |
|
|
280
|
+
| `failed` | Nothing was sent: the app was not connected, or the row could not be checked first. |
|
|
281
|
+
| `unknown` | Sent, and no answer this can read came back. It may have been written. Never retry. |
|
|
282
|
+
|
|
283
|
+
`createGenesisWriteTools(resources, { connect, rowSources })` builds these without registering
|
|
284
|
+
anything, for an app that assembles its own agent.
|
|
285
|
+
|
|
286
|
+
---
|
|
287
|
+
|
|
146
288
|
## Why a separate entry point
|
|
147
289
|
|
|
148
290
|
The bridge imports `@genesislcap/foundation-comms`. This package declares no `sideEffects`, so
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/ai-assistant",
|
|
3
3
|
"description": "Genesis AI Assistant micro-frontend",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.38.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/ai-assistant.d.ts",
|
|
@@ -82,32 +82,32 @@
|
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
|
-
"@genesislcap/foundation-comms": "15.
|
|
86
|
-
"@genesislcap/foundation-testing": "15.
|
|
87
|
-
"@genesislcap/genx": "15.
|
|
88
|
-
"@genesislcap/rollup-builder": "15.
|
|
89
|
-
"@genesislcap/ts-builder": "15.
|
|
90
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
91
|
-
"@genesislcap/vite-builder": "15.
|
|
92
|
-
"@genesislcap/webpack-builder": "15.
|
|
85
|
+
"@genesislcap/foundation-comms": "15.38.0",
|
|
86
|
+
"@genesislcap/foundation-testing": "15.38.0",
|
|
87
|
+
"@genesislcap/genx": "15.38.0",
|
|
88
|
+
"@genesislcap/rollup-builder": "15.38.0",
|
|
89
|
+
"@genesislcap/ts-builder": "15.38.0",
|
|
90
|
+
"@genesislcap/uvu-playwright-builder": "15.38.0",
|
|
91
|
+
"@genesislcap/vite-builder": "15.38.0",
|
|
92
|
+
"@genesislcap/webpack-builder": "15.38.0",
|
|
93
93
|
"@types/dompurify": "^3.0.5",
|
|
94
94
|
"@types/marked": "^5.0.2",
|
|
95
95
|
"esbuild": "0.25.12"
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"@genesislcap/foundation-ai": "15.
|
|
99
|
-
"@genesislcap/foundation-logger": "15.
|
|
100
|
-
"@genesislcap/foundation-notifications": "15.
|
|
101
|
-
"@genesislcap/foundation-redux": "15.
|
|
102
|
-
"@genesislcap/foundation-ui": "15.
|
|
103
|
-
"@genesislcap/foundation-utils": "15.
|
|
104
|
-
"@genesislcap/rapid-design-system": "15.
|
|
105
|
-
"@genesislcap/web-core": "15.
|
|
98
|
+
"@genesislcap/foundation-ai": "15.38.0",
|
|
99
|
+
"@genesislcap/foundation-logger": "15.38.0",
|
|
100
|
+
"@genesislcap/foundation-notifications": "15.38.0",
|
|
101
|
+
"@genesislcap/foundation-redux": "15.38.0",
|
|
102
|
+
"@genesislcap/foundation-ui": "15.38.0",
|
|
103
|
+
"@genesislcap/foundation-utils": "15.38.0",
|
|
104
|
+
"@genesislcap/rapid-design-system": "15.38.0",
|
|
105
|
+
"@genesislcap/web-core": "15.38.0",
|
|
106
106
|
"dompurify": "^3.3.1",
|
|
107
107
|
"marked": "^17.0.3"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
|
-
"@genesislcap/foundation-comms": "^15.
|
|
110
|
+
"@genesislcap/foundation-comms": "^15.38.0"
|
|
111
111
|
},
|
|
112
112
|
"peerDependenciesMeta": {
|
|
113
113
|
"@genesislcap/foundation-comms": {
|