@40rty/ams-ui 0.5.28 → 0.5.29

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.
@@ -1665,14 +1665,14 @@ function Composer({
1665
1665
 
1666
1666
  // src/shell/ConversationTransition.tsx
1667
1667
  import * as React10 from "react";
1668
- import { useFourtySession as useFourtySession3 } from "@40rty/ams-sdk";
1668
+ import { conversationKeyOf, useFourtySession as useFourtySession3 } from "@40rty/ams-sdk";
1669
1669
  import { jsx as jsx9 } from "react/jsx-runtime";
1670
1670
  function ConversationTransition({
1671
1671
  children,
1672
1672
  className,
1673
1673
  style
1674
1674
  }) {
1675
- const { sessionId } = useFourtySession3();
1675
+ const sessionId = conversationKeyOf(useFourtySession3());
1676
1676
  const reduce = useReducedMotion();
1677
1677
  const firstSessionRef = React10.useRef(null);
1678
1678
  if (firstSessionRef.current === null && sessionId !== null) firstSessionRef.current = sessionId;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ComposerChipStrip,
4
4
  usePromptComposer
5
- } from "./chunk-5T4M4VDP.js";
5
+ } from "./chunk-4O3F5LAZ.js";
6
6
  import "./chunk-Y5TD4JQH.js";
7
7
  import "./chunk-I5QE47QY.js";
8
8
  import "./chunk-PD3UJKW7.js";
package/dist/shell.js CHANGED
@@ -38,7 +38,7 @@ import {
38
38
  useOnScreen,
39
39
  usePromptComposer,
40
40
  useShellDock
41
- } from "./chunk-5T4M4VDP.js";
41
+ } from "./chunk-4O3F5LAZ.js";
42
42
  import {
43
43
  SIDE_DOCK_EASE,
44
44
  SIDE_DOCK_REVEAL_MS,
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  /**
3
3
  * `ConversationTransition` — lays a freshly switched / started conversation
4
4
  * INTO view. Wrap the agent canvas AND the thread in one each; both key on
5
- * `sessionId`, so when the conversation changes they re-mount and rise in
6
- * together.
5
+ * the conversation's identity (`conversationKeyOf`), so when the
6
+ * conversation changes they re-mount and rise in together.
7
7
  *
8
8
  * No fade-out, no blank gap: the SDK holds the prior `sessionId` (and the prior
9
9
  * canvas view) through the switch's network round-trip — see
package/package.json CHANGED
@@ -76,12 +76,12 @@
76
76
  "zod": "^3.23.0"
77
77
  },
78
78
  "peerDependencies": {
79
- "@40rty/ams-sdk": "0.5.28",
79
+ "@40rty/ams-sdk": "0.5.29",
80
80
  "lucide-react": ">=0.400.0",
81
81
  "react": ">=18.0.0",
82
82
  "react-dom": ">=18.0.0"
83
83
  },
84
- "version": "0.5.28",
84
+ "version": "0.5.29",
85
85
  "homepage": "https://docs.40rty.ai",
86
86
  "license": "UNLICENSED",
87
87
  "engines": {