@steerable/agent-shell-web 0.6.45 → 0.6.47
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steerable/agent-shell-web",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.47",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Steerable framework — product-neutral renderer SPA source for @steerable/agent-shell (React + Vite). Consumed by product web entry points via the `@/` alias (anchored at this package's src/) and the createProductViteConfig factory. Published as a source package (src/), plus the compiled vite.base config factory (vite.base.js + .d.ts) for Node-side config loading.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
"react-router-dom": "^6.30.0",
|
|
46
46
|
"rehype-raw": "^7.0.0",
|
|
47
47
|
"remark-gfm": "^4.0.1",
|
|
48
|
-
"@steerable/agent-protocol": "0.6.
|
|
49
|
-
"@steerable/agent-ui": "0.6.
|
|
48
|
+
"@steerable/agent-protocol": "0.6.47",
|
|
49
|
+
"@steerable/agent-ui": "0.6.47"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@tailwindcss/vite": "^4.3.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"typescript": "^5.8.3",
|
|
60
60
|
"vite": "^5.4.21",
|
|
61
61
|
"vitest": "^3.2.4",
|
|
62
|
-
"@steerable/pack-sdk": "0.6.
|
|
62
|
+
"@steerable/pack-sdk": "0.6.47"
|
|
63
63
|
},
|
|
64
64
|
"scripts": {
|
|
65
65
|
"gen": "echo agent-shell-web",
|
|
@@ -1443,10 +1443,11 @@ export const ChatInput = forwardRef<ChatInputHandle, ChatInputProps>(
|
|
|
1443
1443
|
const handleKeyDown = (event: KeyboardEvent<HTMLDivElement>) => {
|
|
1444
1444
|
// Honor IME composition (`isComposing` true while Chinese input is mid-
|
|
1445
1445
|
// selection) — only intercept on plain key events.
|
|
1446
|
-
|
|
1447
|
-
//
|
|
1448
|
-
//
|
|
1449
|
-
if (event.
|
|
1446
|
+
// WKWebView reports keyCode 229 for Enter itself. Treating that as IME
|
|
1447
|
+
// composition sticks isComposing and swallows every later Enter, so the
|
|
1448
|
+
// send shortcut never runs. Only non-Enter 229 starts composition.
|
|
1449
|
+
if (event.key !== 'Enter' && (isComposingRef.current || event.nativeEvent.isComposing)) return;
|
|
1450
|
+
if (event.key !== 'Enter' && event.keyCode === 229) {
|
|
1450
1451
|
markComposing();
|
|
1451
1452
|
return;
|
|
1452
1453
|
}
|