@miphamai/cli 0.5.3 → 0.5.5

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/bin/mipham.ts CHANGED
@@ -180,7 +180,11 @@ async function runPluginCLI(): Promise<boolean> {
180
180
 
181
181
  async function main() {
182
182
  // ── Version flag ──────────────────────────────────────────────────────────
183
- if (process.argv.includes('--version') || process.argv.includes('-v') || process.argv.includes('-V')) {
183
+ if (
184
+ process.argv.includes('--version') ||
185
+ process.argv.includes('-v') ||
186
+ process.argv.includes('-V')
187
+ ) {
184
188
  const pkg = await import('../package.json')
185
189
  console.log(`${pkg.name} v${pkg.version}`)
186
190
  process.exit(0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@miphamai/cli",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
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
@@ -353,44 +353,6 @@ export function App({
353
353
 
354
354
  return (
355
355
  <Box flexDirection="column" padding={1} height="100%">
356
- {/* Header — brand mark + status line */}
357
- <Box marginBottom={1} flexDirection="column">
358
- <Box flexDirection="row">
359
- <Text bold color="cyan">
360
- Mipham Code
361
- </Text>
362
- <Text dimColor> v{VERSION}</Text>
363
- {sessionTitle ? (
364
- <Text color="yellow"> — {sessionTitle}</Text>
365
- ) : (
366
- <Text dimColor> — MiphamAI</Text>
367
- )}
368
- </Box>
369
- <Box flexDirection="row">
370
- <Text dimColor>
371
- {modelId} ({providerId}){fastMode && ' ⚡'}
372
- {effort !== 'high' && ` 🧠${effort}`}
373
- {focusMode && ' 🔍focus'}
374
- </Text>
375
- </Box>
376
- <Box flexDirection="row">
377
- <Text
378
- color={
379
- permissionMode === 'auto' ? 'green' : permissionMode === 'ask' ? 'yellow' : 'red'
380
- }
381
- >
382
- ● {PERMISSION_LABELS[permissionMode]}
383
- </Text>
384
- <Text dimColor> (Shift+Tab to cycle)</Text>
385
- <Text dimColor> · Ctrl+P pick · /help · Esc cancel</Text>
386
- </Box>
387
- {goalText && (
388
- <Box>
389
- <Text color="green">🎯 Goal: {goalText}</Text>
390
- </Box>
391
- )}
392
- </Box>
393
-
394
356
  {/* Agent progress banner */}
395
357
  {agentProgress && (
396
358
  <Box flexDirection="column" marginY={1}>
@@ -405,6 +367,14 @@ export function App({
405
367
  </Box>
406
368
  )}
407
369
 
370
+ {/* Brand mark — centered header above chat */}
371
+ <Box flexDirection="row" justifyContent="center" marginTop={1}>
372
+ <Text dimColor>╺━</Text>
373
+ <Text color="#FFD700" bold> Mipham Code </Text>
374
+ <Text dimColor>v{VERSION}</Text>
375
+ <Text dimColor> ━╸</Text>
376
+ </Box>
377
+
408
378
  {/* Chat panel */}
409
379
  <ChatPanel messages={messages} focusMode={focusMode} />
410
380
 
@@ -430,6 +400,33 @@ export function App({
430
400
  /* Input bar (hidden when picker is open) */
431
401
  <InputBar onSubmit={handleSubmit} isLoading={isLoading} />
432
402
  )}
403
+
404
+ {/* Footer — brand mark + status line */}
405
+ <Box marginTop={1} flexDirection="column">
406
+ {goalText && (
407
+ <Box>
408
+ <Text color="green">🎯 Goal: {goalText}</Text>
409
+ </Box>
410
+ )}
411
+ <Box flexDirection="row">
412
+ <Text dimColor>
413
+ {modelId} ({providerId}){fastMode && ' ⚡'}
414
+ {effort !== 'high' && ` 🧠${effort}`}
415
+ {focusMode && ' 🔍focus'}
416
+ </Text>
417
+ </Box>
418
+ <Box flexDirection="row">
419
+ <Text
420
+ color={
421
+ permissionMode === 'auto' ? 'green' : permissionMode === 'ask' ? 'yellow' : 'red'
422
+ }
423
+ >
424
+ ● {PERMISSION_LABELS[permissionMode]}
425
+ </Text>
426
+ <Text dimColor> (Shift+Tab to cycle)</Text>
427
+ <Text dimColor> · Ctrl+P pick · /help · Esc cancel</Text>
428
+ </Box>
429
+ </Box>
433
430
  </Box>
434
431
  )
435
432
  }