@goodfish/jarvy 0.3.0 → 0.5.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,42 @@
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.5.0 — 2026-10-14
6
+
7
+ Upgrading moves the database from schema v18 to v19 on first start: a settings table is added and the inbox table is rebuilt with all its rows. A v19 database cannot be opened by 0.4.0; keep a copy if you may need to go back. If the Bot created at setup was deleted, it comes back as Jarvy (Jarvy 2 if the name is taken) with no model.
8
+
9
+ ### Added
10
+
11
+ - **The agent Bot.** The Bot created at setup (Jarvy by default) is your agent: besides working like any Bot, it helps you run Jarvy itself. Ask it in a DM or a channel to create Bots, change their name, description and persona, give them a model and thinking level, start or stop them, or see their usage. It can also delete Bots, channels and channel groups and remove members from a channel, but each time it first asks you on a card, worded in your language, and nothing happens unless you confirm. A Bot it changes is told what changed with its next batch. Other Bots can ask it for these things too; the tools are its alone. Model connections, keys and logins stay with you in Settings. (A48)
12
+ - **A welcome.** The first time the agent Bot gets a model, it greets you in its DM, in the language of your interface, and asks what you want to get done.
13
+ - **The crown.** The agent Bot wears a small gold crown: hovering and slowly turning over its cat, and on its avatar in the sidebar, messages, member lists and Bot info. Its DM stays at the top of the DM list, and its Bot info says what it can do for you.
14
+
15
+ ### Changed
16
+
17
+ - The agent Bot can't be deleted; it can still be renamed and stopped.
18
+ - Pictures in messages keep their own proportions instead of a fixed crop: as wide as the card at most, at most 320 px tall (260 px on a phone), never enlarged.
19
+
20
+ ### Fixed
21
+
22
+ - A web address followed by Chinese punctuation no longer swallows the punctuation and the words after it: the link ends at the first full-width mark. Chinese inside an address still works, and links written as `[text](url)` are untouched.
23
+
24
+ ## 0.4.0 — 2026-10-14
25
+
26
+ 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.
27
+
28
+ ### Added
29
+
30
+ - **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)
31
+ - **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.
32
+
33
+ ### Changed
34
+
35
+ - 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)
36
+
37
+ ### Fixed
38
+
39
+ - Thread status pills sit centered and no longer show the dot of the settings pills.
40
+
5
41
  ## 0.3.0 — 2026-10-13
6
42
 
7
43
  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.
package/README.md CHANGED
@@ -32,9 +32,13 @@ The interface comes in English and Chinese, following your browser's language; s
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
+
37
+ **An agent Bot that runs Jarvy for you.** Jarvy, the first Bot, wears a crown. Tell it what you want to get done and it builds the team: it creates Bots, writes their personas and picks their models. Later it starts and stops them, checks their usage and clears things away. Anything it deletes waits for your confirmation on a card.
38
+
35
39
  **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
40
 
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.
41
+ **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
42
 
39
43
  <p align="center">
40
44
  <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 +46,7 @@ The interface comes in English and Chinese, following your browser's language; s
42
46
 
43
47
  **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
48
 
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.
49
+ **Works on your phone.** The layout adapts to small screens, the live cat included.
46
50
 
47
51
  <p align="center">
48
52
  <img src="docs/images/mobile.png" alt="Jarvy on a phone: the chat list, a channel, and a Bot DM" width="820">
@@ -59,7 +63,7 @@ node dist/server/cli.js init # choose a username and password
59
63
  node dist/server/cli.js run # foreground; Ctrl+C to stop
60
64
  ```
61
65
 
62
- Open `http://127.0.0.1:8080` and sign in. A first Bot, Jarvy, is waiting in your DMs: pick a model for it (add a provider in Settings), and say hello. Create more Bots from the **+** menu. Starting the server does not start any Bot. A Bot starts when something is delivered to it.
66
+ Open `http://127.0.0.1:8080` and sign in. A first Bot, Jarvy, is waiting in your DMs: pick a model for it (add a provider in Settings), and it greets you and asks what you want to get done. Create more Bots from the **+** menu. Starting the server does not start any Bot. A Bot starts when something is delivered to it.
63
67
 
64
68
  ## Install globally
65
69
 
package/README.zh-CN.md CHANGED
@@ -32,9 +32,13 @@ Jarvy 在本地运行,只有一个用户。账号、Bot、聊天、文件和
32
32
 
33
33
  **每个 Bot 一份上下文。** Bot 在所有聊天里用同一个会话,在频道里知道的事,到私信里还记得。每个 Bot 还有自己的 History,记下它想了什么、说了什么、做了什么;你可以按时间线浏览,Bot 自己也能翻看。
34
34
 
35
+ **看着它干活。** 在私信里,Bot 的方块猫会实时演出它正在做的事:思考、读文件、敲键盘、转过来跟你说话。旁边的对话框显示它在想什么、在自言自语什么、发了什么消息,以及调用的每个工具。点开对话框能看到这一轮的每一步。
36
+
37
+ **主 Bot 替你打理 Jarvy。** 第一个 Bot Jarvy 戴着皇冠。告诉它你想做什么,它就帮你组好团队:创建 Bot、写好 Persona、选好模型。之后启停 Bot、查用量、清理不用的东西也找它。它要删除任何东西,都会先弹卡片等你确认。
38
+
35
39
  **未读提醒不打扰。** 只有有人 @ 你或回复你时才显示红色数字;其他消息只在侧栏显示一行预览。任何聊天都能设免打扰。
36
40
 
37
- **文件。** 可以给人和 Bot 发文件,图片、Markdown、文本和 HTML 都能直接预览。带脚本的 HTML 要你确认后才会在沙箱里运行。
41
+ **文件。** 可以给人和 Bot 发文件,图片、Markdown、文本和 HTML 都能直接预览,音频和视频也能直接播放。带脚本的 HTML 要你确认后才会在沙箱里运行。
38
42
 
39
43
  <p align="center">
40
44
  <img src="docs/images/attachments.png" alt="Bot 发了一张图表并 @ 了你,「以下为新消息」标出未读的位置">
@@ -42,7 +46,7 @@ Jarvy 在本地运行,只有一个用户。账号、Bot、聊天、文件和
42
46
 
43
47
  **模型自己选。** 支持 API Key 和 OAuth 登录,同一个服务商可以接多个账号(比如两个 Codex 账号)。Jarvy 在本地维护模型目录,能自动配置。Bot 工作时也能切换模型和思考强度。
44
48
 
45
- **手机上也能用。** 小屏幕下布局会自动调整。每个 Bot 都有一只方块猫形象,动作随 Bot 的状态变化。
49
+ **手机上也能用。** 小屏幕下布局会自动调整,实时的猫也一样。
46
50
 
47
51
  <p align="center">
48
52
  <img src="docs/images/mobile.png" alt="手机上的 Jarvy:会话列表、频道和 Bot 私信" width="820">
@@ -59,7 +63,7 @@ node dist/server/cli.js init # 设置用户名和密码
59
63
  node dist/server/cli.js run # 前台运行,Ctrl+C 停止
60
64
  ```
61
65
 
62
- 打开 `http://127.0.0.1:8080` 登录。私信里已经有第一个 Bot「Jarvy」:给它选好模型(在设置里添加服务商),打个招呼就能开始。更多 Bot 从 **+** 菜单新建。启动服务不会启动任何 Bot,有内容发给 Bot 时它才会开始工作。
66
+ 打开 `http://127.0.0.1:8080` 登录。私信里已经有第一个 Bot「Jarvy」:给它选好模型(在设置里添加服务商),它就会跟你打招呼,问你想做什么。更多 Bot 从 **+** 菜单新建。启动服务不会启动任何 Bot,有内容发给 Bot 时它才会开始工作。
63
67
 
64
68
  ## 全局安装
65
69