@40rty/ams-ui 0.5.22 → 0.5.24

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.
@@ -2223,7 +2223,7 @@ function resolveShellSlot(slot, dock) {
2223
2223
 
2224
2224
  // src/shell/mobile/DefaultMobileShell.tsx
2225
2225
  import * as React26 from "react";
2226
- import { useSessionState, useFourtySession as useFourtySession7 } from "@40rty/ams-sdk";
2226
+ import { useSessionMessages, useFourtySession as useFourtySession7 } from "@40rty/ams-sdk";
2227
2227
 
2228
2228
  // src/shell/mobile/MobileChrome.tsx
2229
2229
  import { useScrollContainerRef } from "@40rty/ams-sdk";
@@ -3933,7 +3933,7 @@ function scrollToTop() {
3933
3933
  if (target !== null) target.scrollTop = 0;
3934
3934
  }
3935
3935
  function DefaultMobileShell(props) {
3936
- const { messages } = useSessionState();
3936
+ const messages = useSessionMessages();
3937
3937
  const { isSubmitting, isRunning } = useFourtySession7();
3938
3938
  const defaultPlaceholder = useLabels().composer.placeholder;
3939
3939
  const working = isSubmitting || isRunning;
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ComposerChipStrip,
4
4
  usePromptComposer
5
- } from "./chunk-NEM6YQKT.js";
5
+ } from "./chunk-5T4M4VDP.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-NEM6YQKT.js";
41
+ } from "./chunk-5T4M4VDP.js";
42
42
  import {
43
43
  SIDE_DOCK_EASE,
44
44
  SIDE_DOCK_REVEAL_MS,
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.22",
79
+ "@40rty/ams-sdk": "0.5.24",
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.22",
84
+ "version": "0.5.24",
85
85
  "homepage": "https://docs.40rty.ai",
86
86
  "license": "UNLICENSED",
87
87
  "engines": {