Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 35 additions & 25 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,5 @@
# Changelog

All notable changes to BotUI are recorded here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the registry is versioned with the packages.

## [0.1.1] — 2026-09-30

### Added

- A README and full npm metadata for all three packages: `repository` (with the `directory`
that lands the link on that package's subtree), `homepage`, `bugs` and `keywords`. The 0.1.0
pages rendered with no body and no route back to the source.

### Changed

- **The playground opens on the CSS renderer**, as a switch on the stage beside the field it renders. It is the default because it costs zero JS per frame and SVG is the escape hatch for the motions CSS cannot express — so the field you see on arrival is the one most people will actually ship. The refusal note rides on the switch, so the reason a motion has no CSS form is where you would turn it on.
- **The picture cards scroll sideways instead of wrapping.** A wrapped grid grows taller as options are added, and the column it lives in is already taller than the viewport, so every extra shape pushed the sliders further down. A row costs the column nothing. `SHAPE` leads them, then `MOTION`, then `DOT SHAPE`.
- The playground opens at a denser dot/cell than the engine's default. At 55% a field reads as scattered pixels, and the page's subject is what a dot IS; the engine's own default is untouched, because that is the library's choice.
- The side column is not sticky again. Sticky on both columns made the sliders reachable but turned the whole right-hand side into a pane you had to scroll independently, which is worse than letting it travel with the page.

- **The playground's shape and motion controls are pictures now, not sliders.** `sides` and `silhouette` sat in one list under one "shape" heading, so a reader could not tell which moved the whole field and which moved each dot; the silhouette is now a card group whose cards change the field's outline and a second group whose cards change the dot inside it, each stating its scope in the same place. Presets were a `<select>` of bare names, which cannot convey that `spiral` and `ring` differ; they are cards that run the engine, and they animate once the pointer or focus reaches them rather than twelve at once.
- Every card draws the engine's own output — `field()` for a still, `cellsFor()` for a silhouette, the live field for a motion. A card that drew its own approximation of a dot would be a second implementation of the thing it advertises, and would drift the moment the glyph code changed. The phase is deliberately not 0: a traversal lives in the difference between cells, and at t=0 they are all at rest, so a still card showed a uniform blob.
- Rows and columns are steppers on the stage rather than sliders in the side column, and `dot/cell` moved onto the stage too: they are what you reach for while looking at the field. Overall `size` moved to last, because it decides how much room the field takes rather than what it looks like.

- `check-registry.mjs` now fails the build when a published package has no README, no
`repository` pointing at this repo, no homepage or no bugs URL.

## [Unreleased]

### Changed
Expand Down Expand Up @@ -116,6 +91,41 @@ All notable changes to BotUI are recorded here. The format follows
`paraglide compile` run from the CLI would have generated a runtime that disagreed with the
one that ships. Both now read `project.inlang/paraglide.options.js`.

All notable changes to BotUI are recorded here. The format follows
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the registry is versioned with the packages.

## [0.1.2] — 2026-09-30

### Fixed

- **`chasing` had no gradient — it was three shelves, not a wave.** `chase` carried `steps: 3`, so the whole motion had exactly three brightness values (0.16, 0.58, 1.00) and every cell crossing a shelf jumped. Measured across a cycle, `chase` had **3** distinct brightness levels where `comet` had **78**. With `spread: 0.34` around a ring, several cells crossed a shelf in the same frame, which is what read as unsmooth. It is now a stop table with a fast rise and a six-stop decay: **173** levels, and the largest step between neighbouring samples fell from ~0.42 to **0.03**. The trailing lit tail behind the crest is new.

### Removed

- **`Envelope.steps`.** With `chase` no longer quantised, nothing read it: the field on `Envelope`, the `level()` branch, the `data-timing="steps-N"` switch, and the `steps(3, end)` CSS rule were all describing a behaviour that no longer existed. **Anyone constructing a custom `Envelope` with `steps` must move to `stops`.** It was never in the documented option vocabulary and is not exported, and the package had no consumers at the time — so this is a clean migration rather than a deprecation.

## [0.1.1] — 2026-09-30

### Added

- A README and full npm metadata for all three packages: `repository` (with the `directory`
that lands the link on that package's subtree), `homepage`, `bugs` and `keywords`. The 0.1.0
pages rendered with no body and no route back to the source.

### Changed

- **The playground opens on the CSS renderer**, as a switch on the stage beside the field it renders. It is the default because it costs zero JS per frame and SVG is the escape hatch for the motions CSS cannot express — so the field you see on arrival is the one most people will actually ship. The refusal note rides on the switch, so the reason a motion has no CSS form is where you would turn it on.
- **The picture cards scroll sideways instead of wrapping.** A wrapped grid grows taller as options are added, and the column it lives in is already taller than the viewport, so every extra shape pushed the sliders further down. A row costs the column nothing. `SHAPE` leads them, then `MOTION`, then `DOT SHAPE`.
- The playground opens at a denser dot/cell than the engine's default. At 55% a field reads as scattered pixels, and the page's subject is what a dot IS; the engine's own default is untouched, because that is the library's choice.
- The side column is not sticky again. Sticky on both columns made the sliders reachable but turned the whole right-hand side into a pane you had to scroll independently, which is worse than letting it travel with the page.

- **The playground's shape and motion controls are pictures now, not sliders.** `sides` and `silhouette` sat in one list under one "shape" heading, so a reader could not tell which moved the whole field and which moved each dot; the silhouette is now a card group whose cards change the field's outline and a second group whose cards change the dot inside it, each stating its scope in the same place. Presets were a `<select>` of bare names, which cannot convey that `spiral` and `ring` differ; they are cards that run the engine, and they animate once the pointer or focus reaches them rather than twelve at once.
- Every card draws the engine's own output — `field()` for a still, `cellsFor()` for a silhouette, the live field for a motion. A card that drew its own approximation of a dot would be a second implementation of the thing it advertises, and would drift the moment the glyph code changed. The phase is deliberately not 0: a traversal lives in the difference between cells, and at t=0 they are all at rest, so a still card showed a uniform blob.
- Rows and columns are steppers on the stage rather than sliders in the side column, and `dot/cell` moved onto the stage too: they are what you reach for while looking at the field. Overall `size` moved to last, because it decides how much room the field takes rather than what it looks like.

- `check-registry.mjs` now fails the build when a published package has no README, no
`repository` pointing at this repo, no homepage or no bugs URL.

## [0.1.0] — 2026-09-30

### Added
Expand Down
58 changes: 34 additions & 24 deletions CHANGELOG.zh.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,5 @@
# 更新日志

BotUI 的所有值得注意的变更都记录在此。格式遵循
[Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),registry 与各 package 一起版本化。

## [0.1.1] — 2026-09-30

### 新增

- 三个包都补上了 README 和完整的 npm 元数据:`repository`(含 `directory`,让链接落到该包的
子目录)、`homepage`、`bugs`、`keywords`。0.1.0 的页面既没有正文,也没有回到源码的入口。

### 变更

- **Playground 默认使用 CSS 渲染器**,开关就放在它所渲染的点阵旁边。它是默认值,因为它每帧零 JS 开销,而 SVG 是留给 CSS 无法表达的动效的逃生舱 —— 所以你打开页面看到的就是大多数人真正会发布的那一个。拒绝说明挂在开关上:某个动效没有 CSS 形式的原因,就在你本来会去打开它的那个位置。
- **图片卡片改为横向滚动,不再换行。** 换行的 grid 会随选项增加而变高,而它所在的那一列本来就比视口高,于是每多一个形状就把滑杆再往下推。一行不占高度。`SHAPE` 打头,然后 `MOTION`,然后 `DOT SHAPE`。
- Playground 打开时的 dot/cell 比引擎默认更密。55% 的点阵读起来是散落的像素,而这个页面的主题正是"一个点是什么";引擎自己的默认值没有动,因为那是库的选择。
- 侧栏不再 sticky。两列都 sticky 确实让滑杆可达,但也把整个右侧变成了一个你要独立滚动的面板 —— 这比让它随页面走更糟。

- **Playground 的形状与动效控件改成了卡片,不再是滑杆。** `sides` 和 `silhouette` 曾挤在同一个列表、同一个"形状"标题下,读者无法分辨哪个改变整体点阵、哪个改变每一个点;现在剪影是一组卡片(改变整个点阵的外轮廓),点是另一组卡片(改变每一个点本身),每组都在同一位置写明自己的作用范围。preset 曾是一个只列名字的 `<select>`,它无法表达 `spiral` 和 `ring` 的区别;现在是运行真实引擎的卡片,并且只有指针或焦点移上去时才播放,而不是十二个一起动。
- 每张卡片画的都是引擎自己的输出 —— 静帧用 `field()`、剪影用 `cellsFor()`、动效用实时点阵。卡片若自己画一个"近似"的点,那就是给它推销的东西写了第二份实现,glyph 代码一改就会漂移。相位刻意不用 0:遍历的动感在于格子之间的**差异**,而在 t=0 所有格子都处于静止,静帧只会显示一团均匀的模糊。
- 行列改成预览区上的加减步进器,`dot/cell` 也一并移了过去:它们是你盯着点阵时最常调的三个。整体 `size` 挪到最后,因为它决定占多少空间,而不是看起来是什么样。

- `check-registry.mjs` 现在会在已发布的包缺少 README、`repository` 未指向本仓库、缺少 homepage
或 bugs URL 时让构建失败。

## [Unreleased]

### 变更
Expand Down Expand Up @@ -107,6 +83,40 @@ BotUI 的所有值得注意的变更都记录在此。格式遵循
`paraglide compile` 就会生成一个与线上不一致的 runtime。现在两份都读
`project.inlang/paraglide.options.js`。

BotUI 的所有值得注意的变更都记录在此。格式遵循
[Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),registry 与各 package 一起版本化。

## [0.1.2] — 2026-09-30

### 修复

- **`chasing` 没有渐变 —— 它是三级台阶,不是波。** `chase` 带着 `steps: 3`,所以整个动效只有三个亮度值(0.16、0.58、1.00),每个格子跨过台阶都是跳变。实测一个周期内 `chase` 只有 **3** 个亮度层,而 `comet` 有 **78** 层。环上 `spread: 0.34` 时,同一帧里有多格跨过同一个台阶 —— 这就是它读起来不 smooth 的原因。现在是一个"快升 + 六段衰减"的 stop 表:**173** 层,相邻采样最大跳变从 ~0.42 降到 **0.03**。波峰后面那道仍然亮着的拖尾是新增的。

### 移除

- **`Envelope.steps`。** `chase` 不再量化之后,没有任何东西再读它:`Envelope` 上的字段、`level()` 的分支、`data-timing="steps-N"` 切换、以及 `steps(3, end)` CSS 规则,四处都在描述一个已不存在的行为。**任何自定义 `Envelope` 并使用了 `steps` 的代码都需要改用 `stops`。** 它从未进入文档化的选项词汇,也未被导出,且发布时该包尚无使用者 —— 所以这是一次干净的迁移,而不是标记弃用。

## [0.1.1] — 2026-09-30

### 新增

- 三个包都补上了 README 和完整的 npm 元数据:`repository`(含 `directory`,让链接落到该包的
子目录)、`homepage`、`bugs`、`keywords`。0.1.0 的页面既没有正文,也没有回到源码的入口。

### 变更

- **Playground 默认使用 CSS 渲染器**,开关就放在它所渲染的点阵旁边。它是默认值,因为它每帧零 JS 开销,而 SVG 是留给 CSS 无法表达的动效的逃生舱 —— 所以你打开页面看到的就是大多数人真正会发布的那一个。拒绝说明挂在开关上:某个动效没有 CSS 形式的原因,就在你本来会去打开它的那个位置。
- **图片卡片改为横向滚动,不再换行。** 换行的 grid 会随选项增加而变高,而它所在的那一列本来就比视口高,于是每多一个形状就把滑杆再往下推。一行不占高度。`SHAPE` 打头,然后 `MOTION`,然后 `DOT SHAPE`。
- Playground 打开时的 dot/cell 比引擎默认更密。55% 的点阵读起来是散落的像素,而这个页面的主题正是"一个点是什么";引擎自己的默认值没有动,因为那是库的选择。
- 侧栏不再 sticky。两列都 sticky 确实让滑杆可达,但也把整个右侧变成了一个你要独立滚动的面板 —— 这比让它随页面走更糟。

- **Playground 的形状与动效控件改成了卡片,不再是滑杆。** `sides` 和 `silhouette` 曾挤在同一个列表、同一个"形状"标题下,读者无法分辨哪个改变整体点阵、哪个改变每一个点;现在剪影是一组卡片(改变整个点阵的外轮廓),点是另一组卡片(改变每一个点本身),每组都在同一位置写明自己的作用范围。preset 曾是一个只列名字的 `<select>`,它无法表达 `spiral` 和 `ring` 的区别;现在是运行真实引擎的卡片,并且只有指针或焦点移上去时才播放,而不是十二个一起动。
- 每张卡片画的都是引擎自己的输出 —— 静帧用 `field()`、剪影用 `cellsFor()`、动效用实时点阵。卡片若自己画一个"近似"的点,那就是给它推销的东西写了第二份实现,glyph 代码一改就会漂移。相位刻意不用 0:遍历的动感在于格子之间的**差异**,而在 t=0 所有格子都处于静止,静帧只会显示一团均匀的模糊。
- 行列改成预览区上的加减步进器,`dot/cell` 也一并移了过去:它们是你盯着点阵时最常调的三个。整体 `size` 挪到最后,因为它决定占多少空间,而不是看起来是什么样。

- `check-registry.mjs` 现在会在已发布的包缺少 README、`repository` 未指向本仓库、缺少 homepage
或 bugs URL 时让构建失败。

## [0.1.0] — 2026-09-30

### 新增
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botharness/botui",
"version": "0.1.1",
"version": "0.1.2",
"description": "Install BotUI components into your project — copy-and-own, like shadcn",
"keywords": [
"agent-ui",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botharness/botui-core",
"version": "0.1.1",
"version": "0.1.2",
"description": "The framework-agnostic engine behind BotUI components",
"keywords": [
"agent-ui",
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@botharness/botui-react",
"version": "0.1.1",
"version": "0.1.2",
"description": "React bindings for BotUI components",
"keywords": [
"agent-ui",
Expand Down
Loading