Compare commits

..
3 Commits
Author SHA1 Message Date
jiantw83 57336a5e16 Merge pull request 'fix: 助理列與狀態列之間補上一行間距' (#14) from fix/companion-spacing into main
Reviewed-on: https://gitea.jsc.idv.tw/jiantw83/jsc-marketplace/pulls/14
2026-10-12 06:17:41 +00:00
rootandClaude Sonnet 5.5 cf97742f6a chore: companion 版本升至 0.0.2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:17:25 +08:00
rootandClaude Sonnet 5.5 1bc2a335ee fix: 助理列與狀態列之間補上一行間距
助理列到輸入框的間距由引擎固定留一行,狀態列到助理列原本沒有間距。
為助理列加上 marginTop,使兩段間距相同。

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 14:16:46 +08:00
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "companion",
"version": "0.0.1",
"version": "0.0.2",
"description": "小說角色陪伴:人設注入、語氣、心情與好感、互動記憶、主動關心與待辦,並可用 ingest skill 解析小說建立角色",
"license": "MIT",
"author": {
+9 -7
View File
@@ -36,13 +36,15 @@ export const register: Register = on => {
return (
<Box flexDirection="column">
{rest}
<Text wrap="truncate">
{line.map(s => (
<Text color={s.color} dimColor={s.dim} bold={s.bold}>
{s.text}
</Text>
))}
</Text>
<Box marginTop={1}>
<Text wrap="truncate">
{line.map(s => (
<Text color={s.color} dimColor={s.dim} bold={s.bold}>
{s.text}
</Text>
))}
</Text>
</Box>
</Box>
)
})