@steerable/agent-shell-web 0.6.25 → 0.6.26
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.26",
|
|
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",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"react-router-dom": "^6.30.0",
|
|
47
47
|
"rehype-raw": "^7.0.0",
|
|
48
48
|
"remark-gfm": "^4.0.1",
|
|
49
|
-
"@steerable/agent-ui": "0.6.
|
|
50
|
-
"@steerable/agent-protocol": "0.6.
|
|
49
|
+
"@steerable/agent-ui": "0.6.26",
|
|
50
|
+
"@steerable/agent-protocol": "0.6.26"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@tailwindcss/vite": "^4.3.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"typescript": "^5.8.3",
|
|
61
61
|
"vite": "^5.4.21",
|
|
62
62
|
"vitest": "^3.2.4",
|
|
63
|
-
"@steerable/pack-sdk": "0.6.
|
|
63
|
+
"@steerable/pack-sdk": "0.6.26"
|
|
64
64
|
},
|
|
65
65
|
"scripts": {
|
|
66
66
|
"gen": "echo agent-shell-web",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* WorkBuddy-style follow-up chips:
|
|
3
|
-
*
|
|
2
|
+
* WorkBuddy-style follow-up chips: next-turn user inputs rendered under the
|
|
3
|
+
* latest assistant reply. Count follows the turn (skill next steps), not a
|
|
4
|
+
* fixed three. Clicking one sends that text immediately.
|
|
4
5
|
*/
|
|
5
6
|
export function SuggestedReplies({
|
|
6
7
|
suggestions,
|
|
@@ -17,7 +17,7 @@ function readSuggestedReplies(metadata: unknown): string[] | null {
|
|
|
17
17
|
parsed.suggestedReplies.length > 0 &&
|
|
18
18
|
parsed.suggestedReplies.every((item) => typeof item === 'string' && item.trim())
|
|
19
19
|
) {
|
|
20
|
-
return parsed.suggestedReplies.map((item) => item.trim()).slice(0,
|
|
20
|
+
return parsed.suggestedReplies.map((item) => item.trim()).slice(0, 8);
|
|
21
21
|
}
|
|
22
22
|
} catch {
|
|
23
23
|
return null;
|