@trans-ai/trans-code 0.6.1 → 0.6.2
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/screens/REPL.tsx +9 -5
- package/src/version.ts +1 -1
package/package.json
CHANGED
package/src/screens/REPL.tsx
CHANGED
|
@@ -983,7 +983,7 @@ export default function REPL({ ctx, updateNotice }: REPLProps) {
|
|
|
983
983
|
)}
|
|
984
984
|
{entry.output && (
|
|
985
985
|
<Box marginLeft={2}>
|
|
986
|
-
<Text
|
|
986
|
+
<Text>{entry.output}</Text>
|
|
987
987
|
</Box>
|
|
988
988
|
)}
|
|
989
989
|
</Box>
|
|
@@ -1062,10 +1062,14 @@ export default function REPL({ ctx, updateNotice }: REPLProps) {
|
|
|
1062
1062
|
)}
|
|
1063
1063
|
|
|
1064
1064
|
{phase !== 'model_select' && (
|
|
1065
|
-
<Box>
|
|
1066
|
-
<Text color={
|
|
1067
|
-
<
|
|
1068
|
-
|
|
1065
|
+
<Box flexDirection="column">
|
|
1066
|
+
<Text color="gray" dimColor>{historyRule(stdout?.columns ?? 80)}</Text>
|
|
1067
|
+
<Box>
|
|
1068
|
+
<Text color={phase === 'idle' ? 'green' : 'yellow'}>{promptLabel}</Text>
|
|
1069
|
+
<Text>{phase === 'model_apikey' ? '*'.repeat(input.length) : input}</Text>
|
|
1070
|
+
<Text color="gray">▎</Text>
|
|
1071
|
+
</Box>
|
|
1072
|
+
<Text color="gray" dimColor>{historyRule(stdout?.columns ?? 80)}</Text>
|
|
1069
1073
|
</Box>
|
|
1070
1074
|
)}
|
|
1071
1075
|
|
package/src/version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Auto-generated from package.json by scripts/sync-version.ts (npm version hook)
|
|
2
|
-
export const VERSION = '0.6.
|
|
2
|
+
export const VERSION = '0.6.2';
|