@genesislcap/ai-assistant 15.88.0 → 15.88.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,23 +112,23 @@ export declare const ChatSuggestions: React.ForwardRefExoticComponent<
112
112
  >;
113
113
  export type ChatSuggestionsRef = ChatSuggestionsWC;
114
114
 
115
- export declare const AutopilotHandBack: React.ForwardRefExoticComponent<
115
+ export declare const AiActivityHalo: React.ForwardRefExoticComponent<
116
116
  React.PropsWithChildren<
117
- Omit<PublicOf<AutopilotHandBackWC>, 'children' | 'style'> &
117
+ Omit<PublicOf<AiActivityHaloWC>, 'children' | 'style'> &
118
118
  HTMLWCProps & {
119
119
  }
120
- > & React.RefAttributes<AutopilotHandBackWC>
120
+ > & React.RefAttributes<AiActivityHaloWC>
121
121
  >;
122
- export type AutopilotHandBackRef = AutopilotHandBackWC;
122
+ export type AiActivityHaloRef = AiActivityHaloWC;
123
123
 
124
- export declare const AiActivityHalo: React.ForwardRefExoticComponent<
124
+ export declare const AutopilotHandBack: React.ForwardRefExoticComponent<
125
125
  React.PropsWithChildren<
126
- Omit<PublicOf<AiActivityHaloWC>, 'children' | 'style'> &
126
+ Omit<PublicOf<AutopilotHandBackWC>, 'children' | 'style'> &
127
127
  HTMLWCProps & {
128
128
  }
129
- > & React.RefAttributes<AiActivityHaloWC>
129
+ > & React.RefAttributes<AutopilotHandBackWC>
130
130
  >;
131
- export type AiActivityHaloRef = AiActivityHaloWC;
131
+ export type AutopilotHandBackRef = AutopilotHandBackWC;
132
132
 
133
133
  export declare const AgentPicker: React.ForwardRefExoticComponent<
134
134
  React.PropsWithChildren<
package/dist/react.cjs CHANGED
@@ -104,14 +104,14 @@ const ChatSuggestions = React.forwardRef(function ChatSuggestions(props, ref) {
104
104
  return React.createElement(customElements.getName(ChatSuggestionsWC) ?? 'chat-suggestions', { ...rest, ref }, children);
105
105
  });
106
106
 
107
- const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref) {
107
+ const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
108
108
  const { children, ...rest } = props;
109
- return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
109
+ return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
110
110
  });
111
111
 
112
- const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
112
+ const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref) {
113
113
  const { children, ...rest } = props;
114
- return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
114
+ return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
115
115
  });
116
116
 
117
117
  const AgentPicker = React.forwardRef(function AgentPicker(props, ref) {
@@ -207,8 +207,8 @@ module.exports = {
207
207
  AiWavesIndicator,
208
208
  FoundationAiAssistant,
209
209
  ChatSuggestions,
210
- AutopilotHandBack,
211
210
  AiActivityHalo,
211
+ AutopilotHandBack,
212
212
  AgentPicker,
213
213
  AiChatBubble,
214
214
  AiChatInteractionWrapper,
package/dist/react.mjs CHANGED
@@ -102,14 +102,14 @@ export const ChatSuggestions = React.forwardRef(function ChatSuggestions(props,
102
102
  return React.createElement(customElements.getName(ChatSuggestionsWC) ?? 'chat-suggestions', { ...rest, ref }, children);
103
103
  });
104
104
 
105
- export const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref) {
105
+ export const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
106
106
  const { children, ...rest } = props;
107
- return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
107
+ return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
108
108
  });
109
109
 
110
- export const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
110
+ export const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref) {
111
111
  const { children, ...rest } = props;
112
- return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
112
+ return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
113
113
  });
114
114
 
115
115
  export const AgentPicker = React.forwardRef(function AgentPicker(props, ref) {
package/docs/genesis.md CHANGED
@@ -862,7 +862,7 @@ everything reachable from its root ends up in every consumer's bundle — includ
862
862
  not Genesis apps. Keeping the bridge on its own entry point keeps it out of theirs; a test walks
863
863
  the root's import graph to hold that line.
864
864
 
865
- ### Why `foundation-comms` is an optional peer at `workspace:^`
865
+ ### Why `foundation-comms` is an optional peer at `workspace:*`
866
866
 
867
867
  `foundation-comms` is a **peer dependency** so the bridge uses the app's own `Connect`. It is
868
868
  installed either way (`foundation-ui` depends on it); the peer is about which copy.
@@ -881,12 +881,18 @@ loudly when it is not.
881
881
  It is **optional** because only `./genesis` uses it: a host that never imports the bridge should
882
882
  not be asked to install comms.
883
883
 
884
- The range is a **caret, not `workspace:*`**. `workspace:*` publishes as an exact version, and an
885
- exact peer means any patch-level difference between the app's copy and this package's is an
886
- ERESOLVE at install time — a hard failure over a difference that cannot matter. `workspace:^`
887
- publishes as `^<version>`, which is what the requirement actually is.
888
-
889
- Two things are new here and were chosen rather than defaulted into: this is the first
890
- `workspace:^` in the monorepo, and the first internal package declared as a peer. Whatever lands
891
- here is what the next package copies, which is the reason the argument is written down rather
892
- than left in the `package.json` line.
884
+ The range is **exact, `workspace:*`**, like every other internal dependency in the monorepo (the
885
+ platform is released in lockstep). It was a caret (`workspace:^`) at first, to spare a host an
886
+ ERESOLVE over a patch-level difference, but a caret broke the one thing the peer is for. A host
887
+ that does not declare comms itself has the peer filled by npm with the **newest** release in
888
+ range, while every other platform package pins comms exactly to the version it was released
889
+ with. Those pins then miss the top-level copy, and npm nests a second copy under each of them: the
890
+ two-copy install described above (GENC-1780).
891
+
892
+ The cost of the exact pin is that a host on a different comms version gets an install-time peer
893
+ conflict. That is the loud failure this section argues for, and the fix is to align the host's
894
+ `@genesislcap` versions, which it needs anyway.
895
+
896
+ This is the first internal package declared as a peer. Whatever lands here is what the next
897
+ package copies, which is the reason the argument is written down rather than left in the
898
+ `package.json` line.
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.88.0",
4
+ "version": "15.88.2",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/dts/index.d.ts",
@@ -102,31 +102,31 @@
102
102
  }
103
103
  },
104
104
  "devDependencies": {
105
- "@genesislcap/foundation-comms": "15.88.0",
106
- "@genesislcap/foundation-testing": "15.88.0",
107
- "@genesislcap/genx": "15.88.0",
108
- "@genesislcap/ts-builder": "15.88.0",
109
- "@genesislcap/uvu-playwright-builder": "15.88.0",
110
- "@genesislcap/vite-builder": "15.88.0",
111
- "@genesislcap/webpack-builder": "15.88.0",
105
+ "@genesislcap/foundation-comms": "15.88.2",
106
+ "@genesislcap/foundation-testing": "15.88.2",
107
+ "@genesislcap/genx": "15.88.2",
108
+ "@genesislcap/ts-builder": "15.88.2",
109
+ "@genesislcap/uvu-playwright-builder": "15.88.2",
110
+ "@genesislcap/vite-builder": "15.88.2",
111
+ "@genesislcap/webpack-builder": "15.88.2",
112
112
  "@types/dompurify": "^3.0.5",
113
113
  "@types/marked": "^5.0.2",
114
114
  "esbuild": "0.25.12"
115
115
  },
116
116
  "dependencies": {
117
- "@genesislcap/foundation-ai": "15.88.0",
118
- "@genesislcap/foundation-logger": "15.88.0",
119
- "@genesislcap/foundation-notifications": "15.88.0",
120
- "@genesislcap/foundation-redux": "15.88.0",
121
- "@genesislcap/foundation-ui": "15.88.0",
122
- "@genesislcap/foundation-utils": "15.88.0",
123
- "@genesislcap/rapid-design-system": "15.88.0",
124
- "@genesislcap/web-core": "15.88.0",
117
+ "@genesislcap/foundation-ai": "15.88.2",
118
+ "@genesislcap/foundation-logger": "15.88.2",
119
+ "@genesislcap/foundation-notifications": "15.88.2",
120
+ "@genesislcap/foundation-redux": "15.88.2",
121
+ "@genesislcap/foundation-ui": "15.88.2",
122
+ "@genesislcap/foundation-utils": "15.88.2",
123
+ "@genesislcap/rapid-design-system": "15.88.2",
124
+ "@genesislcap/web-core": "15.88.2",
125
125
  "dompurify": "^3.3.1",
126
126
  "marked": "^17.0.3"
127
127
  },
128
128
  "peerDependencies": {
129
- "@genesislcap/foundation-comms": "^15.88.0"
129
+ "@genesislcap/foundation-comms": "15.88.2"
130
130
  },
131
131
  "peerDependenciesMeta": {
132
132
  "@genesislcap/foundation-comms": {