fix: eliminate duplicate WebSocket messages during agent history priming
- Skip dispatching individual agent_stream events when replaying history (the snapshot is sent after priming anyway, so individual events were wasted) - Add WebSocket message logging on client (type, size, id) for debugging - Change default daemon URL from dev to localhost - Clean up unused imports in session.ts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ const REGISTRY_STORAGE_KEY = "@paseo:daemon-registry";
|
||||
const LEGACY_SETTINGS_KEY = "@paseo:settings";
|
||||
const FALLBACK_DAEMON_URL = "ws://localhost:6767/ws";
|
||||
const DEFAULT_DAEMONS: Array<{ label: string; wsUrl: string; restUrl?: string | null }> = [
|
||||
{ label: "dev", wsUrl: "ws://dev:6767/ws" },
|
||||
{ label: "localhost", wsUrl: "ws://localhost:6767/ws" },
|
||||
{ label: "macbook", wsUrl: "ws://mohameds-macbook-pro:6767/ws" },
|
||||
];
|
||||
const DAEMON_REGISTRY_QUERY_KEY = ["daemon-registry"];
|
||||
|
||||
Reference in New Issue
Block a user