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