@goodfish/jarvy 0.2.0 → 0.4.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,50 @@
2
2
 
3
3
  All notable changes to Jarvy. Versions follow [semantic versioning](https://semver.org/) as used before 1.0: a patch release only fixes bugs; a minor release adds features or upgrades the database.
4
4
 
5
+ ## 0.4.0 — 2026-10-14
6
+
7
+ No database change: 0.4.0 opens a 0.3.0 database (schema v18) as it is, and 0.3.0 can still open it afterwards.
8
+
9
+ ### Added
10
+
11
+ - **The live cat.** In a DM, the floating cat acts out the Bot's real turn: it thinks, reads, types and turns to you as the Bot works, and a dialogue beside it shows the Bot's thinking, its own muttering in brackets, the messages it sends (with a 「→ #channel」 tag when they go elsewhere), each tool call as a short line, and 「做完了」 / "Done" with the time taken. Click the dialogue for every step of the turn; click a step for its full text. Within 10 minutes of a turn, clicking the cat shows that turn again. An interrupted turn says so, and a question can be answered on the card. The cat faces the middle of the screen, the dialogue comes out of the side it faces and keeps up while the cat is dragged, and lines that arrive in one piece are typed out. Only the Bot's owner sees it. (A47)
12
+ - **Audio and video preview.** Video (WebM, MP4, MOV) and audio (MP3, WAV, OGG) attachments play in the preview, with seeking, and never autoplay. A format the browser cannot play says so and offers the download. The attachment download answers byte ranges, which Safari needs to play video at all.
13
+
14
+ ### Changed
15
+
16
+ - Compaction keeps more room for its summary: a quarter of a small context window, 13% of a large one, at most 64k tokens, never less than before. With the old 16k a Bot thinking at a high level could not finish a summary, every compaction failed and the context filled until the Bot stopped answering. (A40)
17
+
18
+ ### Fixed
19
+
20
+ - Thread status pills sit centered and no longer show the dot of the settings pills.
21
+
22
+ ## 0.3.0 — 2026-10-13
23
+
24
+ Upgrading moves the database from schema v17 to v18 on first start: a DM that has no message yet loses its old placeholder title. A v18 database cannot be opened by 0.2.0; keep a copy if you may need to go back.
25
+
26
+ ### Added
27
+
28
+ - **Chinese and English.** Every screen comes in both languages. The first visit follows the browser's languages (`zh*` gives Chinese, anything else English); 设置 → 通用 / Settings → General and an EN / 中 switch on the login page change it, remembered in this browser. Dates, times and numbers follow the language. (A45)
29
+ - **English toward the model.** The system prompt, tool descriptions, batch notes and tool results are English for every Bot, and a new Language section tells a Bot to reply in the language of the people it talks to. Personas, notices, summaries and messages stay as people wrote them. (A45)
30
+ - **Bot usage.** Bot info → 运行 → 用量 / Usage shows calls, input, output, cache read and cache write tokens and cost per model for today, 7 days or 30 days, with a total row; a model with no price says so instead of showing 0. (A46)
31
+ - **Thread sorting and filters.** Both thread lists sort by last update, creation time or status, remembered per list; followed threads add Open and Done tabs with counts.
32
+ - **About page** in Settings: the version, the one-line description, and links to the source, the npm package, the license and the third-party notices.
33
+ - **Upload progress.** Pasted, dropped or picked files appear as cards above the composer at once, with a progress bar while they upload; the drop hint sits inside the composer, so nothing below it jumps.
34
+ - **Preview: the cat as an NPC.** Opening a DM with `?npc=demo` in the address plays a scripted turn of the floating cat: a thought bubble, muttering and speech, actions for reading, typing, waiting, yawning and stretching, and a panel with every step. It is not yet driven by the Bot's real work.
35
+
36
+ ### Changed
37
+
38
+ - **Question cards** are part of the Bot's message: options look like the bubbles, and a settled question folds to one line (「✓ 已选:…」 or 「已忽略」).
39
+ - Failures carry a stable code and the interface words them in its language; the server's own text is English.
40
+ - Stored titles no longer contain interface words: quotes are written as "passage", an attachment-only first message gives its file name, and a DM between two Bots is called "A · B".
41
+ - New Bots are named by the interface (New Bot / 新 Bot); the server requires a name.
42
+ - The root message's author follows a thread opened under it; the follow button uses a plain bell (the crossed-out bell is only for mute).
43
+
44
+ ### Fixed
45
+
46
+ - Getting a model list from a wrong address, an unreachable host or a web page gives a clear message instead of a server error.
47
+ - Uploading in one chat no longer blocks sending in another.
48
+
5
49
  ## 0.2.0 — 2026-10-12
6
50
 
7
51
  Upgrading moves the database from schema v16 to v17 on first start. A v17 database cannot be opened by 0.1.0; keep a copy if you may need to go back.
package/README.md CHANGED
@@ -20,7 +20,7 @@ Jarvy looks like the team chat you already know: direct messages, channels, thre
20
20
 
21
21
  It is local and single-user. Your account, Bots, chats, files and model keys stay in one SQLite database on your machine.
22
22
 
23
- > The interface is currently in Chinese.
23
+ The interface comes in English and Chinese, following your browser's language; switch it in Settings → General or on the login page. Bots answer in the language you write to them in.
24
24
 
25
25
  ## Highlights
26
26
 
@@ -32,9 +32,11 @@ It is local and single-user. Your account, Bots, chats, files and model keys sta
32
32
 
33
33
  **One context per Bot.** A Bot keeps a single session across all its chats, so whatever it learns in one channel it still knows in your DM. Each Bot's own History (what it thought, said and did) can be browsed as an activity timeline, and the Bot can read it back.
34
34
 
35
+ **Watch it work.** In a DM, the Bot's block cat acts out its turn as it happens: it thinks, reads, types and turns to you, and a dialogue beside it shows what it is thinking, muttering and sending, and each tool it runs. Click the dialogue to see every step.
36
+
35
37
  **Unread that respects your attention.** A red count appears only when someone @mentions you or replies to you. Everything else gets a quiet one-line preview, and you can mute any chat.
36
38
 
37
- **Files.** Share files with people and Bots. Images, Markdown, text and HTML preview in place. HTML that contains scripts runs in a sandbox, and only after you confirm.
39
+ **Files.** Share files with people and Bots. Images, Markdown, text and HTML preview in place, and audio and video play there. HTML that contains scripts runs in a sandbox, and only after you confirm.
38
40
 
39
41
  <p align="center">
40
42
  <img src="docs/images/attachments.png" alt="A Bot posts a chart with an @mention; the unread divider marks where new messages start">
@@ -42,7 +44,7 @@ It is local and single-user. Your account, Bots, chats, files and model keys sta
42
44
 
43
45
  **Bring your own models.** Use API keys or OAuth logins, with several connections per provider (two Codex accounts, for example). Jarvy keeps a local model catalogue with auto-configuration. You can switch a Bot's model or thinking level while it is working.
44
46
 
45
- **Works on your phone.** The layout adapts to small screens. Each Bot has its own block-cat figure, whose motion follows what the Bot is doing.
47
+ **Works on your phone.** The layout adapts to small screens, the live cat included.
46
48
 
47
49
  <p align="center">
48
50
  <img src="docs/images/mobile.png" alt="Jarvy on a phone: the chat list, a channel, and a Bot DM" width="820">
package/README.zh-CN.md CHANGED
@@ -20,6 +20,8 @@ Jarvy 用起来就像熟悉的团队聊天工具:私信、频道、线程,
20
20
 
21
21
  Jarvy 在本地运行,只有一个用户。账号、Bot、聊天、文件和模型密钥都存在你电脑上的一个 SQLite 数据库里。
22
22
 
23
+ 界面有中文和英文两种,默认跟随浏览器语言,可以在「设置 → 通用」或登录页切换。你用什么语言跟 Bot 说话,它就用什么语言回答。
24
+
23
25
  ## 亮点
24
26
 
25
27
  **Bot 是成员,不是侧边栏助手。** 在频道里 @ 它、回复它的消息,或者直接私信它。发给 Bot 的内容才会送到它那里,包括私信、@、回复和它关注的线程。它工作时你发了新消息,它会被打断,马上看到。它可以在有权限的聊天里发消息、建频道、关注线程,也能用选择题卡片问你。
@@ -30,9 +32,11 @@ Jarvy 在本地运行,只有一个用户。账号、Bot、聊天、文件和
30
32
 
31
33
  **每个 Bot 一份上下文。** Bot 在所有聊天里用同一个会话,在频道里知道的事,到私信里还记得。每个 Bot 还有自己的 History,记下它想了什么、说了什么、做了什么;你可以按时间线浏览,Bot 自己也能翻看。
32
34
 
35
+ **看着它干活。** 在私信里,Bot 的方块猫会实时演出它正在做的事:思考、读文件、敲键盘、转过来跟你说话。旁边的对话框显示它在想什么、在自言自语什么、发了什么消息,以及调用的每个工具。点开对话框能看到这一轮的每一步。
36
+
33
37
  **未读提醒不打扰。** 只有有人 @ 你或回复你时才显示红色数字;其他消息只在侧栏显示一行预览。任何聊天都能设免打扰。
34
38
 
35
- **文件。** 可以给人和 Bot 发文件,图片、Markdown、文本和 HTML 都能直接预览。带脚本的 HTML 要你确认后才会在沙箱里运行。
39
+ **文件。** 可以给人和 Bot 发文件,图片、Markdown、文本和 HTML 都能直接预览,音频和视频也能直接播放。带脚本的 HTML 要你确认后才会在沙箱里运行。
36
40
 
37
41
  <p align="center">
38
42
  <img src="docs/images/attachments.png" alt="Bot 发了一张图表并 @ 了你,「以下为新消息」标出未读的位置">
@@ -40,7 +44,7 @@ Jarvy 在本地运行,只有一个用户。账号、Bot、聊天、文件和
40
44
 
41
45
  **模型自己选。** 支持 API Key 和 OAuth 登录,同一个服务商可以接多个账号(比如两个 Codex 账号)。Jarvy 在本地维护模型目录,能自动配置。Bot 工作时也能切换模型和思考强度。
42
46
 
43
- **手机上也能用。** 小屏幕下布局会自动调整。每个 Bot 都有一只方块猫形象,动作随 Bot 的状态变化。
47
+ **手机上也能用。** 小屏幕下布局会自动调整,实时的猫也一样。
44
48
 
45
49
  <p align="center">
46
50
  <img src="docs/images/mobile.png" alt="手机上的 Jarvy:会话列表、频道和 Bot 私信" width="820">