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
50 changes: 17 additions & 33 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,39 +6,23 @@

## [Unreleased]

- Linux 桌面客户端无边框窗口支持拖拽边缘与角落调整大小。

### 新增
- 对话里写过或改过文件的一轮,直接列出文件名(带上一级目录)和增减行数。同一文件多次修改按合并后的结果计行。点文件名打开该文件;超过 4 个时其余收成「还有 N 个」
- 对话侧栏的专家可以按最近对话、最近创建或最早创建排序,默认最近对话。置顶仍然排在最前,最近对话只看你自己的会话
- 对话侧栏在专家、团队、云端标签下可以直接新建,从右侧抽屉打开,不离开对话页
- Telegram 渠道可配置群聊触发、允许列表、话题隔离、流式与发送选项;模型菜单和单选问答使用原生按钮,由 Octop 在会话队列内重新校验权限与待答状态。
- 技能包支持「是否共享」:默认仅创建者可见,开启后其他用户可查看与挂载;创建时可同时设置复制策略与是否允许下载
- 技能包查看/编辑技能时展示左侧文件树(与个性化技能一致),并支持预览同级文件

### 修复
- 托管 Cursor 在同一轮里同时申请多项审批时按顺序处理,不再让后一次审批顶掉前一次,导致对话停在开场白。后续工具更新没带标题时沿用第一次的工具名;目录里没有译名则显示原始名称
- 左侧导航可在版本号右侧收起,聊天记录栏的展开收起不变
- 极简模式的专家行用展开标记代替头像,会话上方的搜索框更矮
- 「更多工具」里的菜单文字改为常规字重,颜色稍浅
- 输入框上方的已选模型只显示模型名;对话记录上的标签仍保留供应商和模型
- 专家预置头像去掉几张几乎相同的肖像,已经在用的头像地址不变
- 新手引导开头不再介绍产品本身,欢迎标题也更靠近卡通形象
- Telegram 按钮操作入队后立即返回,停止响应会联动取消 Harness 执行;群聊新消息不会使仍有效的问答卡片失效,原生按钮发送失败时回退文字卡片。
- Telegram 话题隔离保留旧会话与定时投递路由;引用在构造模型请求时按用户语言加入,命令和问答控制文本保持原文。
- 浏览器工作台支持中文等输入法组合输入与整段粘贴,恢复退格、删除、方向键和全选等编辑操作;提高预览刷新频率并减少重复的标签状态查询
- 回复还在生成时删除会话,会提示先停止再删,会话留在原地。不再在这一轮还在写记录时把会话删掉,从而把外键错误显示成「模型调用失败」
- 未登录、令牌无效或过期时,API 错误信息会按请求的 `Accept-Language` 语言返回(如中文返回「认证失败。」),不再固定英文;无请求头时保持原默认回退语言(#2187)
- `SKILL.md` 带 UTF-8 BOM(如 Windows 记事本 / PowerShell 5.1 保存)时不再丢失 YAML frontmatter;技能路由改为复用统一的 `parse_frontmatter`(#2215)
- `OCTOP_HOME` 迁移数据目录后,首次配置向导密码文件随之写入 `<OCTOP_HOME>/octop-login.txt`;旧位置 `~/octop-login.txt` 自动继承,不再生成冲突密码(#2171)
- 知识库卡片视图的文件名不再被操作按钮挤掉,窄窗口下卡片不再超出边框
- 从专家市场创建专家时,配置文件里的 `AGENTS.md` 不再被编辑器空占位覆盖成空白文件;空占位只用于编辑器展示,不再作为用户改动提交,模板种进工作区的内容原样保留
- 团队主持人给成员派活时,任务简报改走模型请求的系统提示,不再写入成员对话。严格的模型服务不再因中段系统消息拒单,成员第一次被派活也能收到简报(#1945)

### 变更
- 新建和编辑专家时默认只展示名称、描述、标题语等基本信息。存储后端、根目录和工作区目录放在「谁可以使用」前面;自定义 ID、对话模式、模型、轨迹、页面配置、技能和高级选项收进居中的「更多配置」
- 技能包编辑抽屉:过滤无中文文案的预设图标;自定义图标 URL 增加 http(s) 校验;复制策略移至自定义图标下方
- 云端协同的连接卡片与表格默认隐藏对端地址和账号(地址保留前二后二、IPv4 打码中间两段、账号保留前二后二,过短账号只留首位),顶部开关统一控制,单条连接可临时揭开;避免截图或共享屏幕时泄露
## [1.0.3b6] - 2026-11-15

### 新增
- 支持 Helm 集群部署。多实例共用一个 PostgreSQL
- 管理员可以限制创建专家时能选的存储后端
- 新增托管专家,对话可以交给后端 Agent,如 OpenCode
- 知识库支持知识图谱和重排序
- 新增本地模型供应商 Magpie
- 定时任务可以跟最新对话,也可以固定到某一场历史对话
- 对话里列出本轮改过的文件、所在目录和增删行数

### 修复
- 编辑托管专家时,不显示存储后端也能保存

### 安全
- 不能再把宿主机目录挂进 Docker 专家
- 腾讯云登录按用户隔离

## [1.0.3b5] - 2026-11-11

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<p align="center">
<a href="https://www.python.org/downloads/"><img alt="Python 3.12+" src="https://img.shields.io/badge/python-3.12%2B-blue?logo=python&logoColor=white" /></a>
<a href="https://github.com/TencentCloud/Octop/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-green" /></a>
<a href="https://github.com/TencentCloud/Octop/releases"><img alt="Version" src="https://img.shields.io/badge/version-1.0.3b5-orange" /></a>
<a href="https://github.com/TencentCloud/Octop/releases"><img alt="Version" src="https://img.shields.io/badge/version-1.0.3b6-orange" /></a>
<a href="https://pypi.org/project/octop/"><img src="https://img.shields.io/pypi/v/octop" alt="PyPI" /></a>
<a href="https://github.com/astral-sh/ruff"><img alt="Code Style: Ruff" src="https://img.shields.io/badge/code%20style-ruff-000000?logo=ruff&logoColor=white" /></a>
<a href="https://github.com/TencentCloud/Octop"><img alt="GitHub stars" src="https://img.shields.io/github/stars/TencentCloud/Octop?style=social" /></a>
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<p align="center">
<a href="https://www.python.org/downloads/"><img alt="Python 3.12+" src="https://img.shields.io/badge/python-3.12%2B-blue?logo=python&logoColor=white" /></a>
<a href="https://github.com/TencentCloud/Octop/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-green" /></a>
<a href="https://github.com/TencentCloud/Octop/releases"><img alt="Version" src="https://img.shields.io/badge/version-1.0.3b5-orange" /></a>
<a href="https://github.com/TencentCloud/Octop/releases"><img alt="Version" src="https://img.shields.io/badge/version-1.0.3b6-orange" /></a>
<a href="https://pypi.org/project/octop/"><img src="https://img.shields.io/pypi/v/octop" alt="PyPI" /></a>
<a href="https://github.com/astral-sh/ruff"><img alt="Code Style: Ruff" src="https://img.shields.io/badge/code%20style-ruff-000000?logo=ruff&logoColor=white" /></a>
<a href="https://github.com/TencentCloud/Octop"><img alt="GitHub stars" src="https://img.shields.io/github/stars/TencentCloud/Octop?style=social" /></a>
Expand Down
2 changes: 1 addition & 1 deletion deploy/helm/octop/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name: octop
description: Octop with shared PostgreSQL, sticky replicas, and single-active cron and channels
type: application
version: 0.1.0
appVersion: "1.0.3b5"
appVersion: "1.0.3b6"
kubeVersion: ">=1.25.0-0"
18 changes: 9 additions & 9 deletions deploy/helm/octop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ The longer multi-replica guide is [docs/cluster_CN.md](../../../docs/cluster_CN.

## Where to install from

Install the chart from GHCR. A clone is not required. The chart sits next to the image. There is no separate HTTP Helm repository. A `v*` tag publishes the package. `appVersion` is the image tag, for example `1.0.3b5`. Helm chart `version` must be SemVer, so `1.0.3b5` is published as `1.0.3-b5` and `1.0.3` stays `1.0.3`. The published `appVersion` is already the image tag, so the install does not set `image.tag`.
Install the chart from GHCR. A clone is not required. The chart sits next to the image. There is no separate HTTP Helm repository. A `v*` tag publishes the package. `appVersion` is the image tag, for example `1.0.3b6`. Helm chart `version` must be SemVer, so `1.0.3b6` is published as `1.0.3-b6` and `1.0.3` stays `1.0.3`. The published `appVersion` is already the image tag, so the install does not set `image.tag`.

```bash
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set ingress.host=octop.example.com
```
Expand All @@ -25,11 +25,11 @@ Edit chart source in `deploy/helm/octop` and install that directory from the rep

## What you set

The chart does not store passwords and does not create Secrets from values. Published defaults are `helm show values oci://ghcr.io/tencentcloud/octop/charts/octop --version 1.0.3-b5`. In this repository, `values.example.yaml` is the same knobs with comments, and `secrets.example.yaml` is the password sample. Copy them, change the hostname and image, replace the placeholders, and do not commit filled-in passwords.
The chart does not store passwords and does not create Secrets from values. Published defaults are `helm show values oci://ghcr.io/tencentcloud/octop/charts/octop --version 1.0.3-b6`. In this repository, `values.example.yaml` is the same knobs with comments, and `secrets.example.yaml` is the password sample. Copy them, change the hostname and image, replace the placeholders, and do not commit filled-in passwords.

```bash
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
-f my-values.yaml
```
Expand Down Expand Up @@ -95,7 +95,7 @@ kubectl -n octop create secret tls octop-tls \
--cert=fullchain.pem --key=privkey.pem

helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set ingress.host=octop.example.com
```
Expand All @@ -104,7 +104,7 @@ Without a public hostname, or when the ingress controller is not Ingress NGINX,

```bash
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set ingress.enabled=false

Expand Down Expand Up @@ -138,7 +138,7 @@ Sign in through the Ingress host with the `octop-admin` username and password. T

```bash
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--reuse-values \
--set ingress.host=octop.example.com
Expand All @@ -150,7 +150,7 @@ Keep the TLS secret's names in step with that host. If TLS is turned off, also s

```bash
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--reuse-values \
--set replicaCount=3
Expand All @@ -164,7 +164,7 @@ Leave the extension to the database operator (`CREATE EXTENSION vector`). The ch

```bash
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set postgresql.enabled=false \
--set database.host=pg.example.com \
Expand Down
18 changes: 9 additions & 9 deletions deploy/helm/octop/README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

## 从哪里安装

安装用 GHCR 上的 chart,不必克隆仓库。地址和镜像在同一个仓库,没有单独的 HTTP Helm 仓库。打 `v*` 标签时流水线推包。`appVersion` 是镜像 tag,例如 `1.0.3b5`。Helm 的 chart `version` 必须是 SemVer,所以 `1.0.3b5` 会发成 `1.0.3-b5`,`1.0.3` 保持 `1.0.3`。发布包里的 `appVersion` 已经是镜像 tag,安装时不用再写 `image.tag`。
安装用 GHCR 上的 chart,不必克隆仓库。地址和镜像在同一个仓库,没有单独的 HTTP Helm 仓库。打 `v*` 标签时流水线推包。`appVersion` 是镜像 tag,例如 `1.0.3b6`。Helm 的 chart `version` 必须是 SemVer,所以 `1.0.3b6` 会发成 `1.0.3-b6`,`1.0.3` 保持 `1.0.3`。发布包里的 `appVersion` 已经是镜像 tag,安装时不用再写 `image.tag`。

```bash
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set ingress.host=octop.example.com
```
Expand All @@ -25,11 +25,11 @@ helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \

## 要准备什么

Chart 不保存口令,也不会在 values 里生成 Secret。线上包的默认值用 `helm show values oci://ghcr.io/tencentcloud/octop/charts/octop --version 1.0.3-b5` 查看。仓库里的 `values.example.yaml` 把同一批参数写成带注释的样例,`secrets.example.yaml` 是口令样例。复制后改域名和镜像,占位符换成真实口令,不要把填好的口令文件提交进仓库。
Chart 不保存口令,也不会在 values 里生成 Secret。线上包的默认值用 `helm show values oci://ghcr.io/tencentcloud/octop/charts/octop --version 1.0.3-b6` 查看。仓库里的 `values.example.yaml` 把同一批参数写成带注释的样例,`secrets.example.yaml` 是口令样例。复制后改域名和镜像,占位符换成真实口令,不要把填好的口令文件提交进仓库。

```bash
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
-f my-values.yaml
```
Expand Down Expand Up @@ -95,7 +95,7 @@ kubectl -n octop create secret tls octop-tls \
--cert=fullchain.pem --key=privkey.pem

helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set ingress.host=octop.example.com
```
Expand All @@ -104,7 +104,7 @@ helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \

```bash
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set ingress.enabled=false

Expand Down Expand Up @@ -138,7 +138,7 @@ curl -fsS http://127.0.0.1:8088/api/health

```bash
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--reuse-values \
--set ingress.host=octop.example.com
Expand All @@ -150,7 +150,7 @@ TLS Secret 里的域名要和这里一致。如果关掉 TLS,把注解 `nginx.

```bash
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--reuse-values \
--set replicaCount=3
Expand All @@ -164,7 +164,7 @@ helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \

```bash
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set postgresql.enabled=false \
--set database.host=pg.example.com \
Expand Down
4 changes: 2 additions & 2 deletions deploy/helm/octop/values.example.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 安装样例。复制后改域名、镜像和资源,再:
# helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
# --version 1.0.3-b5 -n octop -f my-values.yaml
# --version 1.0.3-b6 -n octop -f my-values.yaml
#
# 口令不要写在这个文件里。安装前另建 Secret,见 secrets.example.yaml。
# octop-admin username / password 控制台账号,只在第一次初始化时创建
Expand All @@ -14,7 +14,7 @@ image:
repository: ghcr.io/tencentcloud/octop
# 留空则用 chart 的 appVersion。请写成仓库里真实存在的版本。
# 精简版没有虚拟桌面、本地向量和 OCR。那些能力用 <版本>-full,并打开下面的 shm。
tag: "1.0.3b5"
tag: "1.0.3b6"
pullPolicy: IfNotPresent

# 完整版镜像需要约 1Gi 的 /dev/shm。精简版保持 false。
Expand Down
12 changes: 6 additions & 6 deletions docs/cluster_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ curl -fsS http://127.0.0.1:8089/api/health

机器已经在 Kubernetes 里时,用 Helm 一次装上三部分:带 pgvector 的 PostgreSQL、默认两个副本的 Octop,以及对外的 Ingress。数据库是单副本,数据卷 20Gi,集群需要有默认的 StorageClass。要能拉取 `pgvector/pgvector:pg16` 和 `ghcr.io/tencentcloud/octop:<版本>`。需要 Kubernetes 1.25 或更新版本,以及 Helm 3。参数说明写在 [deploy/helm/octop/README_CN.md](../deploy/helm/octop/README_CN.md)。Chart 不安装 HorizontalPodAutoscaler,副本数只通过 `replicaCount` 修改。

安装直接用线上包 `oci://ghcr.io/tencentcloud/octop/charts/octop`,不必克隆仓库。打 `v*` 标签时流水线推这个包。镜像 tag 是 `1.0.3b5` 这种形式。Helm 要求 chart 版本是 SemVer,所以同一次发布里 chart 版本写成 `1.0.3-b5`;没有字母后缀的 `1.0.3` 两边相同。发布包里的 `appVersion` 已经是镜像 tag,安装命令不用再写 `image.tag`。要虚拟桌面、本地向量或 OCR 时,把 `image.tag` 设为 `<版本>-full`,并设 `shm.enabled=true`。改 chart 源码时仍用仓库目录 `deploy/helm/octop`。已经发出的 `v1.0.3b5` 不含这份 chart,要等下一次版本标签。
安装直接用线上包 `oci://ghcr.io/tencentcloud/octop/charts/octop`,不必克隆仓库。打 `v*` 标签时流水线推这个包。镜像 tag 是 `1.0.3b6` 这种形式。Helm 要求 chart 版本是 SemVer,所以同一次发布里 chart 版本写成 `1.0.3-b6`;没有字母后缀的 `1.0.3` 两边相同。发布包里的 `appVersion` 已经是镜像 tag,安装命令不用再写 `image.tag`。要虚拟桌面、本地向量或 OCR 时,把 `image.tag` 设为 `<版本>-full`,并设 `shm.enabled=true`。改 chart 源码时仍用仓库目录 `deploy/helm/octop`。已经发出的 `v1.0.3b5` 不含这份 chart,要等下一次版本标签。

【插图 5】Kubernetes 里的三个部分

Expand All @@ -227,7 +227,7 @@ curl -fsS http://127.0.0.1:8089/api/health
Chart 不保存口令,也不会根据 values 生成 Secret。线上包的默认值用下面这条命令查看:

```bash
helm show values oci://ghcr.io/tencentcloud/octop/charts/octop --version 1.0.3-b5
helm show values oci://ghcr.io/tencentcloud/octop/charts/octop --version 1.0.3-b6
```

仓库里的 `deploy/helm/octop/values.example.yaml` 是带注释的同一批参数,`secrets.example.yaml` 是口令样例。复制后改域名,占位符换成真实口令。填好的口令文件不要提交进仓库。
Expand Down Expand Up @@ -265,7 +265,7 @@ kubectl -n octop create secret tls octop-tls \
--cert=fullchain.pem --key=privkey.pem

helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set ingress.host=octop.example.com
```
Expand All @@ -278,7 +278,7 @@ helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \

```bash
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--reuse-values \
--set ingress.host=octop.example.com
Expand Down Expand Up @@ -307,7 +307,7 @@ curl -fsS http://127.0.0.1:8088/api/health

```bash
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--set postgresql.enabled=false \
--set database.host=pg.example.com \
Expand All @@ -318,7 +318,7 @@ helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \

```bash
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
--version 1.0.3-b5 \
--version 1.0.3-b6 \
-n octop \
--reuse-values \
--set replicaCount=3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "octop"
version = "1.0.3b5"
version = "1.0.3b6"
description = "Smarter self-hosted AI assistant for multiple users and agents, built on octop-harness"
readme = "README.md"
license = { text = "MIT" }
Expand Down
2 changes: 1 addition & 1 deletion src/octop/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from octop.infra.utils.httpx_proxy import install_httpx_cidr_no_proxy

__version__ = "1.0.3b5"
__version__ = "1.0.3b6"

# httpx 0.28 treats NO_PROXY CIDR as an exact IP (see issue #1347). Patch once
# at import so CLI, ``octop run``, and in-process harness clients all honor it.
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading