@miphamai/cli 0.5.4 → 0.5.7
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/dist/mipham +0 -0
- package/package.json +1 -1
- package/src/ui/app.tsx +18 -10
package/dist/mipham
ADDED
|
Binary file
|
package/package.json
CHANGED
package/src/ui/app.tsx
CHANGED
|
@@ -367,10 +367,19 @@ export function App({
|
|
|
367
367
|
</Box>
|
|
368
368
|
)}
|
|
369
369
|
|
|
370
|
+
{/* Header — left-aligned */}
|
|
371
|
+
<Box flexDirection="column" marginBottom={1}>
|
|
372
|
+
<Text color="#FFD700" bold>
|
|
373
|
+
Mipham Code
|
|
374
|
+
</Text>
|
|
375
|
+
<Text dimColor>v{VERSION}</Text>
|
|
376
|
+
<Text dimColor>{modelId}</Text>
|
|
377
|
+
</Box>
|
|
378
|
+
|
|
370
379
|
{/* Chat panel */}
|
|
371
380
|
<ChatPanel messages={messages} focusMode={focusMode} />
|
|
372
381
|
|
|
373
|
-
{/*
|
|
382
|
+
{/* Input with separator lines */}
|
|
374
383
|
{pickerOpen ? (
|
|
375
384
|
<ModelPicker
|
|
376
385
|
config={config}
|
|
@@ -390,23 +399,20 @@ export function App({
|
|
|
390
399
|
/>
|
|
391
400
|
) : (
|
|
392
401
|
/* Input bar (hidden when picker is open) */
|
|
393
|
-
<
|
|
402
|
+
<Box flexDirection="column">
|
|
403
|
+
<Text dimColor>──────────────────────────────</Text>
|
|
404
|
+
<InputBar onSubmit={handleSubmit} isLoading={isLoading} />
|
|
405
|
+
<Text dimColor>──────────────────────────────</Text>
|
|
406
|
+
</Box>
|
|
394
407
|
)}
|
|
395
408
|
|
|
396
|
-
{/*
|
|
409
|
+
{/* Status line */}
|
|
397
410
|
<Box marginTop={1} flexDirection="column">
|
|
398
411
|
{goalText && (
|
|
399
412
|
<Box>
|
|
400
413
|
<Text color="green">🎯 Goal: {goalText}</Text>
|
|
401
414
|
</Box>
|
|
402
415
|
)}
|
|
403
|
-
<Box flexDirection="row">
|
|
404
|
-
<Text dimColor>
|
|
405
|
-
{modelId} ({providerId}){fastMode && ' ⚡'}
|
|
406
|
-
{effort !== 'high' && ` 🧠${effort}`}
|
|
407
|
-
{focusMode && ' 🔍focus'}
|
|
408
|
-
</Text>
|
|
409
|
-
</Box>
|
|
410
416
|
<Box flexDirection="row">
|
|
411
417
|
<Text
|
|
412
418
|
color={
|
|
@@ -415,8 +421,10 @@ export function App({
|
|
|
415
421
|
>
|
|
416
422
|
● {PERMISSION_LABELS[permissionMode]}
|
|
417
423
|
</Text>
|
|
424
|
+
<Text dimColor> · ⏵⏵ accept edits on</Text>
|
|
418
425
|
<Text dimColor> (Shift+Tab to cycle)</Text>
|
|
419
426
|
<Text dimColor> · Ctrl+P pick · /help · Esc cancel</Text>
|
|
427
|
+
<Text dimColor> · ← agents</Text>
|
|
420
428
|
</Box>
|
|
421
429
|
</Box>
|
|
422
430
|
</Box>
|