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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ WeChat original voice can be prepared for playback, native quotes and retained l

### Added

- Every Bot now has a Profile banner at the top of its Profile and its popover. New Bots get a pixel scene picked from their name, which a rename doesn't change; existing Bots get one at the next start. **Change banner** picks one of ten scenes, rerolls the picture, uploads an image cropped to 3:1, or resets to the generated scene. `.botharness/bot.json` records the banner, `.botharness/banner.png` is always written, and Bot Zip export, import and Git import keep it ([#1092](https://github.com/BotHarness/BotHarness/issues/1092)).
- After a first real Bot-mode reply, an optional Bind app action opens the existing platform picker and website tutorials; Not now leaves completion intact, and only canonical binding and reception facts determine the result ([#1203](https://github.com/BotHarness/DeepSeekBot/issues/1203)).

- After the first real Bot-mode reply, an optional welcome action opens existing Memory files and changes or sends a freeform preference as a normal DM request; skipping stays quiet and only actual files and changes show what was saved ([#1200](https://github.com/BotHarness/DeepSeekBot/issues/1200)).
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

### Added

- 每个 Bot 的资料页和资料小窗顶部都有了横幅。新建的 Bot 会按名字挑一张像素场景,改名不会变;已有的 Bot 在下次启动时补上一张。点 **更换横幅** 可以从十个场景里挑、换一张、上传图片并裁成 3:1,或恢复生成的场景。`.botharness/bot.json` 记录横幅,`.botharness/banner.png` 总会写入,Bot Zip 导出、导入和从 Git 导入都会保留它([#1092](https://github.com/BotHarness/BotHarness/issues/1092))。
- 完成首次真实 Bot 对话后,欢迎消息提供可选的「绑定应用」入口,复用既有平台选择和官网教程;选择「暂时不绑定」保留完成状态,绑定结果与接收状态以真实记录为准([#1203](https://github.com/BotHarness/DeepSeekBot/issues/1203))。

- Bot 模式首次真实回复后,欢迎消息提供可选的记忆体验:查看现有记忆文件与实际变更,或将自由填写的偏好作为普通私聊请求发送;跳过不打扰,也不会把初始模板或回复当作保存成功的证据([#1200](https://github.com/BotHarness/DeepSeekBot/issues/1200))。
Expand Down
32 changes: 32 additions & 0 deletions docs/assets/pr/1092-profile-banner/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# #1092 Profile banner

Captured on a real isolated DSH instance (1440 × 900). Ada had no banner before this change; the Host gave her a name-seeded autumn scene at startup.

## Profile

| | zh | en |
| ----- | -------------------------- | -------------------------- |
| Light | ![](profile-zh-light.webp) | ![](profile-en-light.webp) |
| Dark | ![](profile-zh-dark.webp) | ![](profile-en-dark.webp) |

## Change banner

| | zh | en |
| ----- | ------------------------- | ------------------------- |
| Light | ![](editor-zh-light.webp) | ![](editor-en-light.webp) |
| Dark | ![](editor-zh-dark.webp) | ![](editor-en-dark.webp) |

## Upload: 3:1 crop, then the saved image

| Crop (zh) | Crop (en) | Saved (zh) |
| ----------------------- | ----------------------- | --------------------------- |
| ![](crop-zh-light.webp) | ![](crop-en-light.webp) | ![](uploaded-zh-light.webp) |

## Popover

| | zh | en |
| ----- | -------------------------- | -------------------------- |
| Light | ![](popover-zh-light.webp) | ![](popover-en-light.webp) |
| Dark | ![](popover-zh-dark.webp) | ![](popover-en-dark.webp) |

`guide-05-banner-zh.webp` and `guide-05-banner-en.webp` are the guide images that `docs/share-bot` references as `/guides/share-bot/05-banner-*.webp`; the site copies them into `public/guides/share-bot/` when it next syncs docs.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions docs/bot-zip.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ A Bot can be packed into a zip file to send to a friend or colleague, or to move

## What is in the zip

| Included | Never included |
| ------------------------------------------------------------- | ------------------------------------------------------------- |
| The Bot's Memory files, uncommitted changes included | Files ignored by `.gitignore`, symbolic links |
| `.botharness/bot.json` (name, tags, bio) and the avatar image | Sessions, chat history, the Bot Inbox |
| Optional: Git history (every branch, tag and commit) | IM connections, Workspace grants, model settings, credentials |
| | Git remotes, Git config and recovery checkpoints |
| Included | Never included |
| --------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| The Bot's Memory files, uncommitted changes included | Files ignored by `.gitignore`, symbolic links |
| `.botharness/bot.json` (name, tags, bio), the avatar image and `.botharness/banner.png` | Sessions, chat history, the Bot Inbox |
| Optional: Git history (every branch, tag and commit) | IM connections, Workspace grants, model settings, credentials |
| | Git remotes, Git config and recovery checkpoints |

## Export

Expand All @@ -18,7 +18,7 @@ A Bot can be packed into a zip file to send to a friend or colleague, or to move

![Share at the top right of the Bot profile](/guides/bot-zip/02-export-section-en.webp)

3. In the export window, choose the files to put in the zip. Everything is ticked by default. Click the arrow in front of a folder to expand it, and untick files or whole folders you don't want to share, or use **Select all** and **Select none**. `.botharness/bot.json` and the avatar are always included and can't be unticked.
3. In the export window, choose the files to put in the zip. Everything is ticked by default. Click the arrow in front of a folder to expand it, and untick files or whole folders you don't want to share, or use **Select all** and **Select none**. `.botharness/bot.json`, the avatar and the banner are always included and can't be unticked.
4. To let the other person see how the Bot's memory changed over time, tick **Include Git history**.
5. Click **Export**. Your browser downloads a zip named after the Bot.

Expand All @@ -42,7 +42,7 @@ Git history also keeps older content that was deleted or changed. That is why **

Importing creates a new Bot and opens its DM:

- Its name, tags, bio and avatar come from `.botharness/bot.json` in the zip; `roles` in an older zip are imported as tags. Without that file, the zip's file name becomes the Bot's name.
- Its name, tags, bio, avatar and banner come from `.botharness/bot.json` in the zip; `roles` in an older zip are imported as tags. Without that file, the zip's file name becomes the Bot's name.
- A zip without Git history gives the new Bot's Memory a single initial commit.
- A zip with Git history keeps every branch, tag and commit and checks out the branch the Bot was on when exported; changes that were uncommitted then are still uncommitted. You can see them in [Memory evolution](/docs/channel-sidebar/memory-evolution).

Expand Down
16 changes: 8 additions & 8 deletions docs/bot-zip.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ Bot 可以打包成一个 zip 文件:发给朋友、同事,或者搬到另

## zip 里有什么

| 会放进去 | 不会放进去 |
| ---------------------------------------------------- | ------------------------------------ |
| Bot 的 Memory 文件,包括还没提交的修改 | 被 `.gitignore` 忽略的文件、符号链接 |
| `.botharness/bot.json`(名称、标签、简介)和头像图片 | 会话、聊天记录、Bot 收件箱 |
| 可选:Git 历史(所有分支、标签和提交) | IM 连接、工作区授权、模型设置、凭证 |
| | Git 远程地址、Git 配置和恢复检查点 |
| 会放进去 | 不会放进去 |
| ------------------------------------------------------------------------------- | ------------------------------------ |
| Bot 的 Memory 文件,包括还没提交的修改 | 被 `.gitignore` 忽略的文件、符号链接 |
| `.botharness/bot.json`(名称、标签、简介)、头像图片和 `.botharness/banner.png` | 会话、聊天记录、Bot 收件箱 |
| 可选:Git 历史(所有分支、标签和提交) | IM 连接、工作区授权、模型设置、凭证 |
| | Git 远程地址、Git 配置和恢复检查点 |

## 导出

Expand All @@ -18,7 +18,7 @@ Bot 可以打包成一个 zip 文件:发给朋友、同事,或者搬到另

![Bot 资料页右上角的「分享」](/guides/bot-zip/02-export-section-zh.webp)

3. 在导出窗口里选择要放进 zip 的文件。默认全部勾选;点文件夹前的箭头展开,取消勾选不想分享的文件或整个文件夹,也可以用 **全选** 和 **全不选**。`.botharness/bot.json` 和头像始终包含,不能取消。
3. 在导出窗口里选择要放进 zip 的文件。默认全部勾选;点文件夹前的箭头展开,取消勾选不想分享的文件或整个文件夹,也可以用 **全选** 和 **全不选**。`.botharness/bot.json`、头像和横幅始终包含,不能取消。
4. 想让对方看到这个 Bot 的记忆是怎么一步步变化的,勾选 **包含 Git 历史**。
5. 点 **导出**,浏览器会下载一个以 Bot 名称命名的 zip。

Expand All @@ -42,7 +42,7 @@ Git 历史里也保存着已经删掉或改掉的旧内容。所以只有在全

导入会创建一个新的 Bot,并打开它的私聊:

- 名称、标签、简介和头像来自 zip 里的 `.botharness/bot.json`;旧 zip 里的 `roles` 会作为标签导入。没有这个文件时,名称用 zip 的文件名。
- 名称、标签、简介、头像和横幅来自 zip 里的 `.botharness/bot.json`;旧 zip 里的 `roles` 会作为标签导入。没有这个文件时,名称用 zip 的文件名。
- zip 不带 Git 历史时,新 Bot 的 Memory 只有一个初始提交。
- zip 带 Git 历史时,所有分支、标签和提交都会保留,并切到导出时所在的分支;导出时还没提交的修改,导入后仍是未提交状态。可以在 [记忆演化](/zh/docs/channel-sidebar/memory-evolution) 里查看。

Expand Down
35 changes: 26 additions & 9 deletions docs/share-bot.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ When listing fails, the Bot Marketplace says why:
| This repository was just listed | One repository is fetched at most once per 5 minutes; retry later. |
| This repository is blocked or hidden after reports | Open an Issue on the BotHarness repository to contact us. |

## Name, tags, bio and avatar: `.botharness/bot.json`
## Name, tags, bio, avatar and banner: `.botharness/bot.json`

DeepSeekBot writes `.botharness/bot.json` into every Bot's Memory and keeps it up to date: when you create a Bot, and each time you change its name, tags, bio or avatar in **Edit profile**. Bots created before this get the file the next time DeepSeekBot starts. The Marketplace and the installed Bot read it, so they show the same name, tags, bio and avatar as your sidebar. An uploaded avatar image is saved next to it as `.botharness/avatar.png` (or `.jpg`, `.webp`).
DeepSeekBot writes `.botharness/bot.json` into every Bot's Memory and keeps it up to date: when you create a Bot, and each time you change its name, tags, bio or avatar in **Edit profile**. Bots created before this get the file the next time DeepSeekBot starts. The Marketplace and the installed Bot read it, so they show the same name, tags, bio and avatar as your sidebar. An uploaded avatar image is saved next to it as `.botharness/avatar.png` (or `.jpg`, `.webp`). The Profile banner is always saved as `.botharness/banner.png` (1500 × 500), whether it is a generated pixel scene or an uploaded image.

You can also edit the file by hand. DeepSeekBot keeps any other keys you add, and keeps your edits until you next change the name, tags, bio or avatar in DeepSeekBot:

Expand All @@ -80,17 +80,34 @@ You can also edit the file by hand. DeepSeekBot keeps any other keys you add, an
"name": "BotPixel",
"tags": ["Pixel art", "Avatar design"],
"bio": "Turns a one-line description into a pixel avatar.",
"avatar": { "image": "assets/avatar.png" }
"avatar": { "image": "assets/avatar.png" },
"banner": { "recipe": { "scene": "sea", "seed": 2786543041 } }
}
```

| Field | Meaning |
| -------- | ------------------------------------------------------------------------------------------------------------------ |
| `name` | Name shown in the Marketplace, up to 60 characters. |
| `tags` | Tags, up to 8, each up to 32 characters. Older files that use `roles` are still read as tags. |
| `bio` | A short introduction, up to 160 characters. Without it the Marketplace shows the GitHub repository description. |
| `avatar` | `{ "image": "path in the repository" }` (PNG, JPEG or WebP, at most 128 KiB), or a pixel avatar `{ "recipe": … }`. |
| Field | Meaning |
| -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name` | Name shown in the Marketplace, up to 60 characters. |
| `tags` | Tags, up to 8, each up to 32 characters. Older files that use `roles` are still read as tags. |
| `bio` | A short introduction, up to 160 characters. Without it the Marketplace shows the GitHub repository description. |
| `avatar` | `{ "image": "path in the repository" }` (PNG, JPEG or WebP, at most 128 KiB), or a pixel avatar `{ "recipe": … }`. |
| `banner` | A generated pixel scene `{ "recipe": { "scene", "seed" } }`, or `{ "image": ".botharness/banner.png" }` (a 3:1 PNG, at most 2 MB). Scenes: `spring`, `summer`, `autumn`, `winter`, `sea`, `mountain`, `desert`, `forest`, `night-sky`, `space`. |

Every field is optional. An invalid file is ignored as a whole, and the Marketplace falls back to the repository name and a generated pixel avatar.

## Profile banner

Every Bot has a banner at the top of its Profile and of the popover you get from the name at the top of a DM. A new Bot gets a pixel scene picked from its name, and renaming the Bot doesn't change it; Bots created before banners existed get one the next time DeepSeekBot starts.

Hover the banner and click **Change banner** to:

- pick one of ten scenes: spring, summer, autumn, winter, sea, mountain, desert, forest, night sky or space;
- **Reroll** for another picture of the same scene;
- **Upload** your own image and crop it to 3:1;
- **Reset** to the scene picked from the Bot's current name.

![Change banner: a preview, Reroll, Upload, Reset and the ten scenes](/guides/share-bot/05-banner-en.webp)

The banner travels with the Bot: Bot Zip export and import, and installing from GitHub, keep it.

Related: [Memory files](/docs/channel-sidebar/memory-files), [Memory evolution](/docs/channel-sidebar/memory-evolution).
Loading
Loading