@miphamai/cli 0.32.3 → 0.32.4
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/package.json +1 -1
- package/src/ui/app.tsx +6 -18
- package/src/ui/chat.tsx +9 -11
package/package.json
CHANGED
package/src/ui/app.tsx
CHANGED
|
@@ -444,7 +444,12 @@ export function App({
|
|
|
444
444
|
|
|
445
445
|
// Start agent progress indicator immediately for ALL processing
|
|
446
446
|
const progressStart = Date.now()
|
|
447
|
-
const progress: AgentProgress = {
|
|
447
|
+
const progress: AgentProgress = {
|
|
448
|
+
name: '',
|
|
449
|
+
description: '',
|
|
450
|
+
startTime: progressStart,
|
|
451
|
+
tokensUsed: 0,
|
|
452
|
+
}
|
|
448
453
|
agentProgressRef.current = progress
|
|
449
454
|
setAgentProgress(progress)
|
|
450
455
|
setAgentTick((t) => t + 1)
|
|
@@ -700,14 +705,6 @@ export function App({
|
|
|
700
705
|
if (apiKeyPrompt) {
|
|
701
706
|
return (
|
|
702
707
|
<Box flexDirection="column" padding={1} height="100%">
|
|
703
|
-
{/* Header */}
|
|
704
|
-
<Box flexDirection="column" marginBottom={1}>
|
|
705
|
-
<Text color="#FFD700" bold>
|
|
706
|
-
Mipham Code
|
|
707
|
-
</Text>
|
|
708
|
-
<Text dimColor>v{version || '0.0.0'}</Text>
|
|
709
|
-
</Box>
|
|
710
|
-
|
|
711
708
|
{/* Chat panel — show existing messages */}
|
|
712
709
|
<ChatPanel messages={messages} focusMode={false} />
|
|
713
710
|
|
|
@@ -747,15 +744,6 @@ export function App({
|
|
|
747
744
|
|
|
748
745
|
return (
|
|
749
746
|
<Box flexDirection="column" padding={1} height="100%">
|
|
750
|
-
{/* Header — left-aligned */}
|
|
751
|
-
<Box flexDirection="column" marginBottom={1}>
|
|
752
|
-
<Text color="#FFD700" bold>
|
|
753
|
-
Mipham Code
|
|
754
|
-
</Text>
|
|
755
|
-
<Text dimColor>v{version || '0.0.0'}</Text>
|
|
756
|
-
<Text dimColor>{modelId}</Text>
|
|
757
|
-
</Box>
|
|
758
|
-
|
|
759
747
|
{/* Workflow progress — auto-detects active workflows, renders nothing when idle */}
|
|
760
748
|
<WorkflowProgress />
|
|
761
749
|
|
package/src/ui/chat.tsx
CHANGED
|
@@ -79,17 +79,15 @@ const MessageRow = React.memo(
|
|
|
79
79
|
</Box>
|
|
80
80
|
) : (
|
|
81
81
|
<>
|
|
82
|
-
|
|
83
|
-
bold
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
:
|
|
92
|
-
</Text>
|
|
82
|
+
{msg.role === 'user' ? (
|
|
83
|
+
<Text bold color="green">
|
|
84
|
+
▸ {displayCwd()}:
|
|
85
|
+
</Text>
|
|
86
|
+
) : msg.role === 'system' ? (
|
|
87
|
+
<Text bold color="yellow">
|
|
88
|
+
⚠ {t('ui.system.role_label')}:
|
|
89
|
+
</Text>
|
|
90
|
+
) : null}
|
|
93
91
|
<Text>{msg.content}</Text>
|
|
94
92
|
</>
|
|
95
93
|
)}
|