@invergent/agent-chat-react 2.5.6 → 2.5.7
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/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6246,7 +6246,7 @@ function ChatComposerInner({
|
|
|
6246
6246
|
}, [buttonMenuOpen, textInput.value]);
|
|
6247
6247
|
react.useEffect(() => {
|
|
6248
6248
|
if (showSlashMenu && (menuMode === "skills" || menuMode === "all")) {
|
|
6249
|
-
adapter.listSlashCommands?.().then(setAdapterCommands).catch(() => {
|
|
6249
|
+
adapter.listSlashCommands?.().then((commands) => setAdapterCommands(commands.filter((c) => !c.isBuiltin))).catch(() => {
|
|
6250
6250
|
});
|
|
6251
6251
|
}
|
|
6252
6252
|
}, [adapter, showSlashMenu, menuMode]);
|