@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miphamai/cli",
3
- "version": "0.32.3",
3
+ "version": "0.32.4",
4
4
  "description": "Mipham Code — Multi-model open-core intelligent coding terminal by MiphamAI",
5
5
  "keywords": [
6
6
  "ai",
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 = { name: '', description: '', startTime: progressStart, tokensUsed: 0 }
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
- <Text
83
- bold
84
- color={msg.role === 'user' ? 'green' : msg.role === 'system' ? 'yellow' : 'blue'}
85
- >
86
- {msg.role === 'user'
87
- ? `▸ ${displayCwd()}`
88
- : msg.role === 'assistant'
89
- ? t('ui.assistant.role_label')
90
- : `⚠ ${t('ui.system.role_label')}`}
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
  )}