- Migrate OpenClaw from HTTP (port 8004) to WebSocket (port 18789) - Add workspace file list and content preview handlers - Add OpenClawStatus component with agent/skills view - Add OpenClawView panel in trader interface - Add Zustand store for OpenClaw state management - Fix gateway logging noise (yfinance, websockets) - Fix RunWorkspaceManager.get_agent_asset_dir attribute error - Handle missing workspace files gracefully in preview Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
37 lines
723 B
Python
37 lines
723 B
Python
# -*- coding: utf-8 -*-
|
|
"""Shared data models."""
|
|
|
|
from shared.models.openclaw import (
|
|
OpenClawStatus,
|
|
SessionEntry,
|
|
SessionHistory,
|
|
SessionHistoryEvent,
|
|
SessionsList,
|
|
CronJob,
|
|
CronList,
|
|
ApprovalRequest,
|
|
ApprovalsList,
|
|
normalize_status,
|
|
normalize_sessions,
|
|
normalize_session_history,
|
|
normalize_cron_jobs,
|
|
normalize_approvals,
|
|
)
|
|
|
|
__all__ = [
|
|
"OpenClawStatus",
|
|
"SessionEntry",
|
|
"SessionHistory",
|
|
"SessionHistoryEvent",
|
|
"SessionsList",
|
|
"CronJob",
|
|
"CronList",
|
|
"ApprovalRequest",
|
|
"ApprovalsList",
|
|
"normalize_status",
|
|
"normalize_sessions",
|
|
"normalize_session_history",
|
|
"normalize_cron_jobs",
|
|
"normalize_approvals",
|
|
]
|