Computer Chat app: render the user↔agent native chat (ClawChatSection), not the inter-agent inbox
The chat launcher was repointed to the computer's 'chat' app, which rendered the inter-agent inbox (ClawChatApp, §7.2) — empty for most agents. Point it at the original ClawChatSection (sessions + streaming composer) so launching Chat shows the user's actual conversation with the agent. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
c84f3bd386
commit
fadb1a084c
@@ -9,7 +9,9 @@ import { resolveAppView, type AppId } from "@/lib/url/panel-params";
|
|||||||
const FilesApp = dynamic(() => import("./apps/FilesApp"));
|
const FilesApp = dynamic(() => import("./apps/FilesApp"));
|
||||||
const SkillsApp = dynamic(() => import("./apps/SkillsApp"));
|
const SkillsApp = dynamic(() => import("./apps/SkillsApp"));
|
||||||
const RoutinesApp = dynamic(() => import("./apps/RoutinesApp"));
|
const RoutinesApp = dynamic(() => import("./apps/RoutinesApp"));
|
||||||
const ClawChatApp = dynamic(() => import("./apps/ClawChatApp"));
|
// The computer's "Chat" app is the user↔agent native chat (sessions + streaming
|
||||||
|
// composer) — the same surface that used to sit on the claw page.
|
||||||
|
const ClawChatSection = dynamic(() => import("@/components/dashboard/ClawChatSection").then((m) => m.ClawChatSection));
|
||||||
const SettingsApp = dynamic(() => import("./apps/SettingsApp"));
|
const SettingsApp = dynamic(() => import("./apps/SettingsApp"));
|
||||||
const SlackApp = dynamic(() => import("./apps/SlackApp"));
|
const SlackApp = dynamic(() => import("./apps/SlackApp"));
|
||||||
const AddAppsApp = dynamic(() => import("./apps/AddAppsApp"));
|
const AddAppsApp = dynamic(() => import("./apps/AddAppsApp"));
|
||||||
@@ -56,7 +58,7 @@ export function AppRouter({ app, agent }: { app: AppId; agent: Agent }) {
|
|||||||
case "obsidian":
|
case "obsidian":
|
||||||
return <ObsidianApp agent={agent} />;
|
return <ObsidianApp agent={agent} />;
|
||||||
case "chat":
|
case "chat":
|
||||||
return <ClawChatApp agent={agent} />;
|
return <ClawChatSection agent={agent} />;
|
||||||
case "skills":
|
case "skills":
|
||||||
return <SkillsApp agent={agent} />;
|
return <SkillsApp agent={agent} />;
|
||||||
case "files":
|
case "files":
|
||||||
|
|||||||
Reference in New Issue
Block a user