openclaw-agent-dashboard 1.0.21 → 1.0.23

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.
Files changed (135) hide show
  1. package/README.md +55 -321
  2. package/frontend-dist/assets/index-B7XqKAxm.css +1 -0
  3. package/frontend-dist/assets/index-CxJaSYyo.js +24 -0
  4. package/{frontend → frontend-dist}/index.html +2 -1
  5. package/{plugin/openclaw.plugin.json → openclaw.plugin.json} +2 -2
  6. package/package.json +21 -13
  7. package/.github/workflows/release.yml +0 -56
  8. package/VERSION_DISPLAY_delivery.md +0 -242
  9. package/VERSION_DISPLAY_implementation_summary.md +0 -315
  10. package/design_manifest.md +0 -100
  11. package/docs/CHANGELOG_AGENT_MODIFICATIONS.md +0 -132
  12. package/docs/MAINTAINER_RELEASE_WORKFLOW.md +0 -211
  13. package/docs/Openclaw-Agent-Dashboard/345/217/221/345/270/203/344/270/216/346/233/264/346/226/260.md +0 -147
  14. package/docs/RELEASE-LATEST.md +0 -189
  15. package/docs/RELEASE-MODEL-CONFIG.md +0 -95
  16. package/docs/WINDOWS_INSTALL_TROUBLESHOOTING.md +0 -171
  17. package/docs/design/.gitkeep +0 -0
  18. package/docs/design/VERSION_DISPLAY_design.md +0 -1236
  19. package/docs/release-guide.md +0 -259
  20. package/docs/release-operations-manual.md +0 -167
  21. package/docs/reviews/.gitkeep +0 -0
  22. package/docs/reviews/approval_history.json +0 -14
  23. package/docs/reviews/cr_VERSION_DISPLAY.md +0 -397
  24. package/docs/reviews/traceability_manifest.json +0 -279
  25. package/docs/specs/VERSION_DISPLAY_spec.md +0 -371
  26. package/docs/specs/tr3-install-system.md +0 -580
  27. package/docs/windows-collaboration-model-paths-troubleshooting.md +0 -0
  28. package/frontend/package-lock.json +0 -1240
  29. package/frontend/package.json +0 -19
  30. package/frontend/src/App.vue +0 -355
  31. package/frontend/src/components/AgentCard.vue +0 -796
  32. package/frontend/src/components/AgentConfigPanel.vue +0 -539
  33. package/frontend/src/components/AgentDetailPanel.vue +0 -738
  34. package/frontend/src/components/ErrorAnalysisView.vue +0 -546
  35. package/frontend/src/components/ErrorCenterPanel.vue +0 -844
  36. package/frontend/src/components/PerformanceMonitor.vue +0 -515
  37. package/frontend/src/components/SettingsPanel.vue +0 -236
  38. package/frontend/src/components/TokenAnalysisPanel.vue +0 -683
  39. package/frontend/src/components/chain/ChainEdge.vue +0 -85
  40. package/frontend/src/components/chain/ChainNode.vue +0 -166
  41. package/frontend/src/components/chain/TaskChainView.vue +0 -425
  42. package/frontend/src/components/chain/index.ts +0 -3
  43. package/frontend/src/components/chain/types.ts +0 -70
  44. package/frontend/src/components/collaboration/CollaborationFlowSection.vue +0 -1032
  45. package/frontend/src/components/collaboration/CollaborationFlowWrapper.vue +0 -113
  46. package/frontend/src/components/common/VersionDisplay.vue +0 -187
  47. package/frontend/src/components/performance/PerformancePanel.vue +0 -119
  48. package/frontend/src/components/performance/PerformanceSection.vue +0 -1137
  49. package/frontend/src/components/tasks/TaskStatusSection.vue +0 -973
  50. package/frontend/src/components/timeline/TimelineConnector.vue +0 -31
  51. package/frontend/src/components/timeline/TimelineRound.vue +0 -135
  52. package/frontend/src/components/timeline/TimelineStep.vue +0 -691
  53. package/frontend/src/components/timeline/TimelineToolLink.vue +0 -109
  54. package/frontend/src/components/timeline/TimelineView.vue +0 -540
  55. package/frontend/src/components/timeline/index.ts +0 -5
  56. package/frontend/src/components/timeline/types.ts +0 -120
  57. package/frontend/src/composables/index.ts +0 -7
  58. package/frontend/src/composables/useDebounce.ts +0 -48
  59. package/frontend/src/composables/useRealtime.ts +0 -52
  60. package/frontend/src/composables/useState.ts +0 -52
  61. package/frontend/src/composables/useThrottle.ts +0 -46
  62. package/frontend/src/composables/useVirtualScroll.ts +0 -106
  63. package/frontend/src/main.ts +0 -4
  64. package/frontend/src/managers/EventDispatcher.ts +0 -127
  65. package/frontend/src/managers/RealtimeDataManager.ts +0 -302
  66. package/frontend/src/managers/StateManager.ts +0 -128
  67. package/frontend/src/managers/index.ts +0 -5
  68. package/frontend/src/types/collaboration.ts +0 -135
  69. package/frontend/src/types/index.ts +0 -20
  70. package/frontend/src/types/performance.ts +0 -105
  71. package/frontend/src/types/task.ts +0 -38
  72. package/frontend/vite.config.ts +0 -18
  73. package/legacy_code_anatomy.md +0 -518
  74. package/plugin/README.md +0 -99
  75. package/plugin/config.json.example +0 -1
  76. package/plugin/package.json +0 -26
  77. package/scripts/build-plugin.js +0 -81
  78. package/scripts/bundle.sh +0 -62
  79. package/scripts/install-plugin.sh +0 -162
  80. package/scripts/install-python-deps.sh +0 -226
  81. package/scripts/install.js +0 -684
  82. package/scripts/install.sh +0 -367
  83. package/scripts/lib/common.sh +0 -137
  84. package/scripts/release-pack.sh +0 -110
  85. package/scripts/start.js +0 -50
  86. package/scripts/test_available_models.py +0 -284
  87. package/scripts/test_version_display.sh +0 -128
  88. package/scripts/test_websocket_ping.py +0 -44
  89. package/session_registry.json +0 -58
  90. package/tests/.gitkeep +0 -0
  91. package/tests/qa_regression_report.md +0 -359
  92. package/tests/qa_version_display_report.md +0 -598
  93. /package/{src/backend → dashboard}/agents.py +0 -0
  94. /package/{src/backend → dashboard}/api/__init__.py +0 -0
  95. /package/{src/backend → dashboard}/api/agent_config_api.py +0 -0
  96. /package/{src/backend → dashboard}/api/agents.py +0 -0
  97. /package/{src/backend → dashboard}/api/agents_config.py +0 -0
  98. /package/{src/backend → dashboard}/api/chains.py +0 -0
  99. /package/{src/backend → dashboard}/api/collaboration.py +0 -0
  100. /package/{src/backend → dashboard}/api/debug_paths.py +0 -0
  101. /package/{src/backend → dashboard}/api/error_analysis.py +0 -0
  102. /package/{src/backend → dashboard}/api/errors.py +0 -0
  103. /package/{src/backend → dashboard}/api/performance.py +0 -0
  104. /package/{src/backend → dashboard}/api/subagents.py +0 -0
  105. /package/{src/backend → dashboard}/api/timeline.py +0 -0
  106. /package/{src/backend → dashboard}/api/version.py +0 -0
  107. /package/{src/backend → dashboard}/api/websocket.py +0 -0
  108. /package/{src/backend → dashboard}/collaboration.py +0 -0
  109. /package/{src/backend → dashboard}/data/__init__.py +0 -0
  110. /package/{src/backend → dashboard}/data/agent_config_manager.py +0 -0
  111. /package/{src/backend → dashboard}/data/chain_reader.py +0 -0
  112. /package/{src/backend → dashboard}/data/config_reader.py +0 -0
  113. /package/{src/backend → dashboard}/data/error_analyzer.py +0 -0
  114. /package/{src/backend → dashboard}/data/session_reader.py +0 -0
  115. /package/{src/backend → dashboard}/data/subagent_reader.py +0 -0
  116. /package/{src/backend → dashboard}/data/task_history.py +0 -0
  117. /package/{src/backend → dashboard}/data/timeline_reader.py +0 -0
  118. /package/{src/backend → dashboard}/data/version_info_reader.py +0 -0
  119. /package/{src/backend → dashboard}/errors.py +0 -0
  120. /package/{src/backend → dashboard}/main.py +0 -0
  121. /package/{src/backend → dashboard}/mechanism_reader.py +0 -0
  122. /package/{src/backend → dashboard}/mechanisms.py +0 -0
  123. /package/{src/backend → dashboard}/performance.py +0 -0
  124. /package/{src/backend → dashboard}/requirements.txt +0 -0
  125. /package/{src/backend → dashboard}/session_reader.py +0 -0
  126. /package/{src/backend → dashboard}/status/__init__.py +0 -0
  127. /package/{src/backend → dashboard}/status/change_tracker.py +0 -0
  128. /package/{src/backend → dashboard}/status/error_detector.py +0 -0
  129. /package/{src/backend → dashboard}/status/status_cache.py +0 -0
  130. /package/{src/backend → dashboard}/status/status_calculator.py +0 -0
  131. /package/{src/backend → dashboard}/status_calculator.py +0 -0
  132. /package/{src/backend → dashboard}/subagent_reader.py +0 -0
  133. /package/{src/backend → dashboard}/watchers/__init__.py +0 -0
  134. /package/{src/backend → dashboard}/watchers/file_watcher.py +0 -0
  135. /package/{plugin/index.js → index.js} +0 -0
@@ -1,31 +0,0 @@
1
- <template>
2
- <div class="timeline-connector">
3
- <div class="connector-line"></div>
4
- <div class="connector-arrow">▼</div>
5
- </div>
6
- </template>
7
-
8
- <script setup lang="ts">
9
- // 简单的连接线组件,无需逻辑
10
- </script>
11
-
12
- <style scoped>
13
- .timeline-connector {
14
- display: flex;
15
- flex-direction: column;
16
- align-items: center;
17
- padding: 4px 0;
18
- }
19
-
20
- .connector-line {
21
- width: 2px;
22
- height: 8px;
23
- background: #d1d5db;
24
- }
25
-
26
- .connector-arrow {
27
- font-size: 8px;
28
- color: #9ca3af;
29
- line-height: 1;
30
- }
31
- </style>
@@ -1,135 +0,0 @@
1
- <template>
2
- <div class="timeline-round" :class="`trigger-${round.trigger}`">
3
- <!-- 轮次标题 -->
4
- <div class="round-header">
5
- <span class="round-badge">LLM #{{ round.index }}</span>
6
- <span class="round-trigger">{{ triggerLabel }}</span>
7
- <span class="round-stats" v-if="round.tokens">
8
- {{ round.tokens.input + round.tokens.output }} tokens
9
- </span>
10
- </div>
11
-
12
- <!-- 轮次内容 -->
13
- <div class="round-content">
14
- <template v-for="(stepId, idx) in round.stepIds" :key="stepId">
15
- <TimelineConnector v-if="idx > 0" />
16
- <TimelineStepItem
17
- :step="getStep(stepId)"
18
- :prevStep="idx > 0 ? getStep(round.stepIds[idx - 1]) : undefined"
19
- :highlightedPair="highlightedPair"
20
- @highlight-pair="$emit('highlight-pair', $event)"
21
- />
22
- </template>
23
- </div>
24
- </div>
25
- </template>
26
-
27
- <script setup lang="ts">
28
- import { computed } from 'vue'
29
- import type { LLMRound, TimelineStep } from './types'
30
- import TimelineStepItem from './TimelineStep.vue'
31
- import TimelineConnector from './TimelineConnector.vue'
32
-
33
- const props = defineProps<{
34
- round: LLMRound
35
- steps: TimelineStep[]
36
- highlightedPair?: { callId: string; resultId: string } | null
37
- }>()
38
-
39
- defineEmits<{
40
- 'highlight-pair': [pair: { callId: string; resultId: string }]
41
- }>()
42
-
43
- const triggerLabels: Record<string, string> = {
44
- 'user_input': '👤 用户输入触发',
45
- 'subagent_result': '↩️ 子代理回传',
46
- 'tool_result': '🔧 工具结果触发',
47
- 'start': '🚀 会话开始'
48
- }
49
-
50
- const triggerLabel = computed(() => {
51
- const label = triggerLabels[props.round.trigger] || props.round.trigger
52
- // 如果有 triggerBy 且不是默认的"用户",显示详细信息
53
- if (props.round.triggerBy && props.round.triggerBy !== '用户') {
54
- return `${label} · ${props.round.triggerBy}`
55
- }
56
- return label
57
- })
58
-
59
- function getStep(stepId: string): TimelineStep {
60
- const step = props.steps.find(s => s.id === stepId)
61
- if (!step) {
62
- console.warn(`Step not found: ${stepId}`)
63
- return {
64
- id: stepId,
65
- type: 'text',
66
- status: 'success',
67
- timestamp: 0
68
- } as TimelineStep
69
- }
70
- return step
71
- }
72
- </script>
73
-
74
- <style scoped>
75
- .timeline-round {
76
- margin-bottom: 16px;
77
- border-radius: 8px;
78
- border: 1px solid #e5e7eb;
79
- overflow: hidden;
80
- background: #fff;
81
- }
82
-
83
- .round-header {
84
- display: flex;
85
- align-items: center;
86
- gap: 12px;
87
- padding: 8px 12px;
88
- background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
89
- border-bottom: 1px solid #e5e7eb;
90
- }
91
-
92
- .round-badge {
93
- font-size: 11px;
94
- font-weight: 600;
95
- color: #4338ca;
96
- background: #e0e7ff;
97
- padding: 2px 8px;
98
- border-radius: 4px;
99
- }
100
-
101
- .round-trigger {
102
- font-size: 12px;
103
- color: #64748b;
104
- flex: 1;
105
- }
106
-
107
- .round-stats {
108
- font-size: 11px;
109
- color: #9ca3af;
110
- background: rgba(0, 0, 0, 0.04);
111
- padding: 2px 6px;
112
- border-radius: 3px;
113
- }
114
-
115
- .round-content {
116
- padding: 12px;
117
- }
118
-
119
- /* 触发类型样式 */
120
- .trigger-user_input .round-header {
121
- border-left: 3px solid #3b82f6;
122
- }
123
-
124
- .trigger-subagent_result .round-header {
125
- border-left: 3px solid #10b981;
126
- }
127
-
128
- .trigger-tool_result .round-header {
129
- border-left: 3px solid #f59e0b;
130
- }
131
-
132
- .trigger-start .round-header {
133
- border-left: 3px solid #8b5cf6;
134
- }
135
- </style>