@goodfish/jarvy 0.12.0 → 0.12.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/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.12.2 — 2026-11-06
6
+
7
+ No database change: the schema stays v30, and upgrading from 0.12.1 needs nothing else.
8
+
9
+ ### Changed
10
+
11
+ - **Message IDs show as the messages they name.** Bots often point to a message by its ID ("as in m2250"), which you can't see on the page. Now an ID in a message's text shows as a tag of that message, 「name: its first words…」, when it is one you may open. With a mouse, hovering shows a preview (where, when, who and the start of the text) and a click goes to the message; on a touch screen a tap shows the preview, and 「查看消息」 goes there. Going there works like a quote's source: the message flashes in its chat, a thread's reply opens its thread beside the channel, and on a phone the thread pane gives way. A quote in a thread that points outside it now opens it there as well. An ID in code or a link, or one you can't open, stays as written.
12
+ - **Usage across all Bots.** Settings has a 用量 page after 模型: the token use and cost of every Bot together, for today, 7 days, 30 days or all time, by model with a total, and by Bot, most expensive first. A model without a price isn't counted as $0.
13
+ - **Bot info in tabs.** Bot info keeps who the Bot is, its state and Start or Stop at the top, and puts the rest in six tabs: 概览 (model, context, workspace, subscriptions), 设定 (name, description, Persona), 环境 (environment and forwarded ports), 任务, 活动 (the activity timeline) and 用量. The dialog keeps one size on every tab and always opens on 概览; a tab keeps its scroll and unsaved edits until the dialog closes.
14
+ - **Recent emoji have a tab.** Once you've used a reaction, the panel's first tab is 最近使用, selected when it opens.
15
+ - **API**:
16
+ - `GET /api/usage?since=<ms>` returns the usage of all Bots, by model and by Bot.
17
+ - A message carries `refs`: for the person reading it, each message its text names by ID that they may open (`id`, `senderId`, `content`, `quotes`, `createdAt`, and `chat` with `id`, `type`, `title` and `parentTitle`), at most 20.
18
+
19
+ ### Fixed
20
+
21
+ - The reaction panel no longer scrolls sideways where scrollbars take room, as on Windows: the last column of emoji stays in view.
22
+
23
+ ## 0.12.1 — 2026-11-05
24
+
25
+ No database change: the schema stays v30. Installing now also brings `sharp` with a prebuilt libvips for the platform, about 20 MB.
26
+
27
+ ### Changed
28
+
29
+ - **Reactions offer every emoji.** The reaction button opens a panel: a row of answers (👍 👎 👌 ✅ ❌ 👀 🙏 🤔), a search box, and every Unicode 15.1 emoji without skin tones in nine groups, with the last nine you picked on top. Search finds an emoji by its English or Chinese name or keyword: 「OK」 finds 🆗 first, 「收到」 🫡. The list, about 210 KB, loads the first time the panel opens.
30
+ - **A new notice doesn't wake a Bot.** A new version of a channel's notice or a thread's summary no longer wakes an idle Bot or starts a stopped one. A Bot that is working gets it in its current turn; the others see the latest version with their next batch of messages. A Bot still can't post in a chat whose notice it hasn't read, and your sidebar still shows "… updated the notice". On one instance over 30 days, 136 of 211 such deliveries had woken an idle Bot only to read it.
31
+ - **Going back to a chat is instant.** The page remembers the 20 chats and threads you opened last, as you left them: going back to one shows it at once, on the same message at the same height (or at the bottom, with what came meanwhile), without reading anything from the server. Live updates keep them current while they are off screen.
32
+ - **Large pictures get a thumbnail.** A picture's card loads a smaller copy (WebP, inside 1600 × 640), made the first time it is asked for and kept beside the original, so pictures sent before this get one too. The preview and the download still use the original. Ten real screenshots in a channel went from 11.4 MB to 0.67 MB.
33
+ - **Pictures are downloaded once.** The browser keeps an attachment for the session it was fetched with, so switching back to a chat or thread no longer downloads its pictures again. Once you sign out or the session expires, a kept copy isn't used, and signing out also clears them where the browser allows it (HTTPS or this machine).
34
+ - **API**: `GET /api/attachments/:id/thumb` returns a picture's thumbnail, or the original when it gets none. `GET /api/attachments/:id` and `/thumb` answer `Cache-Control: private, max-age=31536000, immutable` with `Vary: Cookie`; `POST /api/logout` answers `Clear-Site-Data: "cache"`.
35
+
36
+ ### Fixed
37
+
38
+ - Pictures over 1 MB open in the preview instead of offering only a download. Text, Markdown, HTML and SVG over 1 MB still do, as the page reads them whole.
39
+ - The Bot figure's outline is smooth instead of jagged, and avatars stay sharp after zooming the page or moving the window to another screen.
40
+
5
41
  ## 0.12.0 — 2026-11-04
6
42
 
7
43
  The database upgrades to v30 on first start (a table for published ports). Sandboxes move to a Docker network of this Jarvy's own the next time they start, keeping what was installed in them.
@@ -4,6 +4,7 @@
4
4
 
5
5
  - **shadcn/ui** — `src/web/components/ui/` holds local copies of `badge`, `button`, `card`, `dialog`, `input`, `input-group`, `label`, `scroll-area`, `select` and `textarea` from shadcn/ui (`apps/v4/registry/new-york-v4/ui/`, commit `98a1fe67b439324ddc857f47fbdce056600a4329`), adapted to local imports. © shadcn, MIT; license at `licenses/SHADCN-UI-MIT.txt`.
6
6
  - **Bossmode** — `src/web/styles/login.css` adapts the login page layout of Bossmode 0.29.0 (commit `84e742f`, `web/src/styles/login.css`), now on Jarvy's own colours. The attachment preview in `src/web/files/` was reimplemented after Bossmode 0.29.1's file viewer behaviour (static HTML rendering, kinds, navigation). Apache-2.0; license at `licenses/BOSSMODE-APACHE-2.0.txt`.
7
+ - **Unicode emoji data** — `src/web/channel/emoji/data.json` is generated by `scripts/build-emoji.mjs` from Unicode Emoji 15.1's `emoji-test.txt` and the CLDR annotations and derived annotations in English and Chinese (`unicode-org/cldr-json`): the emoji list, its groups, names and keywords. © Unicode, Inc., Unicode License v3; license at `licenses/UNICODE-LICENSE-V3.txt`.
7
8
  - **lobe-icons** — `src/web/provider-logos/` holds provider logos copied from `@lobehub/icons-static-svg` 1.95.1 (the colour version where a brand has one), with their size, inline style and title removed. © 2023 LobeHub, MIT; license at `licenses/LOBE-ICONS-MIT.txt`. The logos are the trademarks of their owners and only name the provider.
8
9
 
9
10
  Jarvy's design tokens (`src/web/styles/tokens.css`) and the remaining styles are its own. Icons are [Lucide](https://lucide.dev) (ISC, via `lucide-react`).
@@ -16,6 +17,7 @@ Jarvy's design tokens (`src/web/styles/tokens.css`) and the remaining styles are
16
17
  ## Dependencies
17
18
 
18
19
  - Runtime: `@earendil-works/pi-coding-agent`, `@earendil-works/pi-ai` and `@earendil-works/pi-env` 1.2.0, `hono` 4.13.11, `@hono/node-server` 2.1.3, `typebox` 1.3.27, `proper-lockfile` 4.1.2, `undici` 8.10.2 — MIT. Jarvy calls Pi's native model, tool, OAuth and refresh APIs rather than copying provider login code.
20
+ - Thumbnails: `sharp` 0.35.5 (© Lovell Fuller and contributors, Apache-2.0). npm installs it with a prebuilt **libvips** for the platform (`@img/sharp-libvips-*`), LGPL-3.0-or-later, loaded as a shared library and unmodified; it can be replaced with another libvips build as sharp's documentation describes. Their licenses ship with the installed packages.
19
21
  - Frontend: React, Tailwind CSS, Radix UI, Lucide React, `cn`, class-variance-authority, react-markdown, remark-gfm, remark-breaks — under their own licenses, shipped with the installed packages.
20
22
  - Development only: **Agentation** (`agentation` 3.1.2, © Benji Taylor, PolyForm Shield 1.0.0) is loaded only in Vite development builds and is not part of the production build.
21
23