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.
- package/README.md +55 -321
- package/frontend-dist/assets/index-B7XqKAxm.css +1 -0
- package/frontend-dist/assets/index-CxJaSYyo.js +24 -0
- package/{frontend → frontend-dist}/index.html +2 -1
- package/{plugin/openclaw.plugin.json → openclaw.plugin.json} +2 -2
- package/package.json +21 -13
- package/.github/workflows/release.yml +0 -56
- package/VERSION_DISPLAY_delivery.md +0 -242
- package/VERSION_DISPLAY_implementation_summary.md +0 -315
- package/design_manifest.md +0 -100
- package/docs/CHANGELOG_AGENT_MODIFICATIONS.md +0 -132
- package/docs/MAINTAINER_RELEASE_WORKFLOW.md +0 -211
- package/docs/Openclaw-Agent-Dashboard/345/217/221/345/270/203/344/270/216/346/233/264/346/226/260.md +0 -147
- package/docs/RELEASE-LATEST.md +0 -189
- package/docs/RELEASE-MODEL-CONFIG.md +0 -95
- package/docs/WINDOWS_INSTALL_TROUBLESHOOTING.md +0 -171
- package/docs/design/.gitkeep +0 -0
- package/docs/design/VERSION_DISPLAY_design.md +0 -1236
- package/docs/release-guide.md +0 -259
- package/docs/release-operations-manual.md +0 -167
- package/docs/reviews/.gitkeep +0 -0
- package/docs/reviews/approval_history.json +0 -14
- package/docs/reviews/cr_VERSION_DISPLAY.md +0 -397
- package/docs/reviews/traceability_manifest.json +0 -279
- package/docs/specs/VERSION_DISPLAY_spec.md +0 -371
- package/docs/specs/tr3-install-system.md +0 -580
- package/docs/windows-collaboration-model-paths-troubleshooting.md +0 -0
- package/frontend/package-lock.json +0 -1240
- package/frontend/package.json +0 -19
- package/frontend/src/App.vue +0 -355
- package/frontend/src/components/AgentCard.vue +0 -796
- package/frontend/src/components/AgentConfigPanel.vue +0 -539
- package/frontend/src/components/AgentDetailPanel.vue +0 -738
- package/frontend/src/components/ErrorAnalysisView.vue +0 -546
- package/frontend/src/components/ErrorCenterPanel.vue +0 -844
- package/frontend/src/components/PerformanceMonitor.vue +0 -515
- package/frontend/src/components/SettingsPanel.vue +0 -236
- package/frontend/src/components/TokenAnalysisPanel.vue +0 -683
- package/frontend/src/components/chain/ChainEdge.vue +0 -85
- package/frontend/src/components/chain/ChainNode.vue +0 -166
- package/frontend/src/components/chain/TaskChainView.vue +0 -425
- package/frontend/src/components/chain/index.ts +0 -3
- package/frontend/src/components/chain/types.ts +0 -70
- package/frontend/src/components/collaboration/CollaborationFlowSection.vue +0 -1032
- package/frontend/src/components/collaboration/CollaborationFlowWrapper.vue +0 -113
- package/frontend/src/components/common/VersionDisplay.vue +0 -187
- package/frontend/src/components/performance/PerformancePanel.vue +0 -119
- package/frontend/src/components/performance/PerformanceSection.vue +0 -1137
- package/frontend/src/components/tasks/TaskStatusSection.vue +0 -973
- package/frontend/src/components/timeline/TimelineConnector.vue +0 -31
- package/frontend/src/components/timeline/TimelineRound.vue +0 -135
- package/frontend/src/components/timeline/TimelineStep.vue +0 -691
- package/frontend/src/components/timeline/TimelineToolLink.vue +0 -109
- package/frontend/src/components/timeline/TimelineView.vue +0 -540
- package/frontend/src/components/timeline/index.ts +0 -5
- package/frontend/src/components/timeline/types.ts +0 -120
- package/frontend/src/composables/index.ts +0 -7
- package/frontend/src/composables/useDebounce.ts +0 -48
- package/frontend/src/composables/useRealtime.ts +0 -52
- package/frontend/src/composables/useState.ts +0 -52
- package/frontend/src/composables/useThrottle.ts +0 -46
- package/frontend/src/composables/useVirtualScroll.ts +0 -106
- package/frontend/src/main.ts +0 -4
- package/frontend/src/managers/EventDispatcher.ts +0 -127
- package/frontend/src/managers/RealtimeDataManager.ts +0 -302
- package/frontend/src/managers/StateManager.ts +0 -128
- package/frontend/src/managers/index.ts +0 -5
- package/frontend/src/types/collaboration.ts +0 -135
- package/frontend/src/types/index.ts +0 -20
- package/frontend/src/types/performance.ts +0 -105
- package/frontend/src/types/task.ts +0 -38
- package/frontend/vite.config.ts +0 -18
- package/legacy_code_anatomy.md +0 -518
- package/plugin/README.md +0 -99
- package/plugin/config.json.example +0 -1
- package/plugin/package.json +0 -26
- package/scripts/build-plugin.js +0 -81
- package/scripts/bundle.sh +0 -62
- package/scripts/install-plugin.sh +0 -162
- package/scripts/install-python-deps.sh +0 -226
- package/scripts/install.js +0 -684
- package/scripts/install.sh +0 -367
- package/scripts/lib/common.sh +0 -137
- package/scripts/release-pack.sh +0 -110
- package/scripts/start.js +0 -50
- package/scripts/test_available_models.py +0 -284
- package/scripts/test_version_display.sh +0 -128
- package/scripts/test_websocket_ping.py +0 -44
- package/session_registry.json +0 -58
- package/tests/.gitkeep +0 -0
- package/tests/qa_regression_report.md +0 -359
- package/tests/qa_version_display_report.md +0 -598
- /package/{src/backend → dashboard}/agents.py +0 -0
- /package/{src/backend → dashboard}/api/__init__.py +0 -0
- /package/{src/backend → dashboard}/api/agent_config_api.py +0 -0
- /package/{src/backend → dashboard}/api/agents.py +0 -0
- /package/{src/backend → dashboard}/api/agents_config.py +0 -0
- /package/{src/backend → dashboard}/api/chains.py +0 -0
- /package/{src/backend → dashboard}/api/collaboration.py +0 -0
- /package/{src/backend → dashboard}/api/debug_paths.py +0 -0
- /package/{src/backend → dashboard}/api/error_analysis.py +0 -0
- /package/{src/backend → dashboard}/api/errors.py +0 -0
- /package/{src/backend → dashboard}/api/performance.py +0 -0
- /package/{src/backend → dashboard}/api/subagents.py +0 -0
- /package/{src/backend → dashboard}/api/timeline.py +0 -0
- /package/{src/backend → dashboard}/api/version.py +0 -0
- /package/{src/backend → dashboard}/api/websocket.py +0 -0
- /package/{src/backend → dashboard}/collaboration.py +0 -0
- /package/{src/backend → dashboard}/data/__init__.py +0 -0
- /package/{src/backend → dashboard}/data/agent_config_manager.py +0 -0
- /package/{src/backend → dashboard}/data/chain_reader.py +0 -0
- /package/{src/backend → dashboard}/data/config_reader.py +0 -0
- /package/{src/backend → dashboard}/data/error_analyzer.py +0 -0
- /package/{src/backend → dashboard}/data/session_reader.py +0 -0
- /package/{src/backend → dashboard}/data/subagent_reader.py +0 -0
- /package/{src/backend → dashboard}/data/task_history.py +0 -0
- /package/{src/backend → dashboard}/data/timeline_reader.py +0 -0
- /package/{src/backend → dashboard}/data/version_info_reader.py +0 -0
- /package/{src/backend → dashboard}/errors.py +0 -0
- /package/{src/backend → dashboard}/main.py +0 -0
- /package/{src/backend → dashboard}/mechanism_reader.py +0 -0
- /package/{src/backend → dashboard}/mechanisms.py +0 -0
- /package/{src/backend → dashboard}/performance.py +0 -0
- /package/{src/backend → dashboard}/requirements.txt +0 -0
- /package/{src/backend → dashboard}/session_reader.py +0 -0
- /package/{src/backend → dashboard}/status/__init__.py +0 -0
- /package/{src/backend → dashboard}/status/change_tracker.py +0 -0
- /package/{src/backend → dashboard}/status/error_detector.py +0 -0
- /package/{src/backend → dashboard}/status/status_cache.py +0 -0
- /package/{src/backend → dashboard}/status/status_calculator.py +0 -0
- /package/{src/backend → dashboard}/status_calculator.py +0 -0
- /package/{src/backend → dashboard}/subagent_reader.py +0 -0
- /package/{src/backend → dashboard}/watchers/__init__.py +0 -0
- /package/{src/backend → dashboard}/watchers/file_watcher.py +0 -0
- /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>
|