feat: add CliStreamMonitor and related components for CLI output streaming

- Implemented CliStreamMonitor component for real-time CLI output monitoring with multi-execution support.
- Created JsonFormatter component for displaying JSON content in various formats (text, card, inline).
- Added utility functions for JSON detection and formatting in jsonUtils.ts.
- Introduced LogBlock utility functions for styling CLI output lines.
- Developed a new Collapsible component for better UI interactions.
- Created IssueHubPage for managing issues, queue, and discovery with tab navigation.
This commit is contained in:
catlog22
2026-01-31 23:12:39 +08:00
parent 2f10305945
commit a2206df50f
43 changed files with 5843 additions and 466 deletions

View File

@@ -1,6 +1,6 @@
{
"title": "CLI Stream Monitor",
"searchPlaceholder": "Search output...",
"searchPlaceholder": "Search logs...",
"noExecutions": "No active CLI executions",
"noExecutionsHint": "Start a CLI command to see streaming output",
"selectExecution": "Select an execution to view output",
@@ -14,5 +14,36 @@
"autoScroll": "Auto-scroll",
"scrollToBottom": "Scroll to bottom",
"close": "Close",
"refresh": "Refresh"
"refresh": "Refresh",
"refreshing": "Refreshing...",
"live": "Live",
"executions": "{count} execution{count, plural, =1 {} other {s}}",
"active": "{count} active",
"filter": {
"all": "All",
"errors": "Errors",
"content": "Content",
"system": "System"
},
"view": {
"preview": "Preview",
"json": "JSON",
"raw": "Raw"
},
"viewMode": "View Mode",
"settings": "Settings",
"noMessages": "Waiting for messages...",
"noMatch": "No matching messages found",
"statusBar": "{total} executions | {active} active | {error} error | {lines} lines",
"copy": "Copy",
"copied": "Copied",
"rawJson": "Raw JSON",
"retry": "Retry",
"dismiss": "Dismiss",
"thinking": "Thinking...",
"streaming": "Streaming...",
"tokens": "Tokens: {count}",
"duration": "Duration: {value}",
"model": "Model: {name}",
"user": "User"
}