Skip to content

Commit 6731d5c

Browse files
committed
chore: release 1.0.3b8
1 parent c1bcde3 commit 6731d5c

11 files changed

Lines changed: 51 additions & 58 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,33 @@
11
# Changelog
22

3-
## Unreleased
4-
5-
- 修复插件安装失败时错误正文泄漏到界面:普通请求、上传及安装 SSE 统一保留结构化错误与翻译,非 JSON 响应仅展示 HTTP 状态与请求编号,错误读取限制为 16 KiB / 2 秒。
6-
- 插件下载、解压和依赖安装移至后台,注册和运行时刷新保留在事件循环;加入下载超时、大小及总时间预算,同插件并发冲突和取消保护,更新失败恢复旧文件与注册,禁用插件更新后保持禁用。
7-
8-
93
本文件记录项目的所有重要变更。
104

115
格式遵循 [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),版本号遵循 [语义化版本规范](https://semver.org/spec/v2.0.0.html)。
126

137
## [Unreleased]
148

9+
## [1.0.3b8] - 2026-11-27
10+
1511
### 新增
16-
- 新增 `octop doctor db` 与 `octop doctor db --fix` 离线诊断修复命令,可扫描 `OCTOP_HOME` 下所有 SQLite 库执行完整性检查,并在备份后通过 `sqlite3 .recover` / Python 回退或重置修复损坏库(#2998)。
17-
- 可观测设置新增腾讯云 CLS(AgentObs)接入:支持填写腾讯云 SecretId / SecretKey 通过 Langfuse SDK(OTLP/HTTP Basic Auth)直接上报 Trace,支持自动调用 `CreateAgentApplication` 创建/复用 CLS 应用获取 Topic ID,也支持拉取或直接填写已有应用的 Topic ID,并提供内网接入点、内容脱敏及连通性校验。
18-
- 知识库设置新增「分块与检索」标签页,可配置分块大小、分块重叠、默认检索条数和上下文字符预算。
19-
- 用户管理支持创建限次邀请链接。链接在注册满员后自动停用,管理员也可以提前停用并查看已注册的用户。邀请管理 API 移除了 `used_at`、`used_by_user_id` 和 `revoked_at`,可通过注册记录和邀请状态查看使用情况。
20-
- 自托管可用环境变量放行内网出站目标:`OCTOP_SSRF_ALLOWLIST`(主机名、`.后缀` 或 CIDR)让语音服务、OAuth MCP 发现与令牌请求等指向内网服务,`OCTOP_SSRF_ALLOW_HTTP` 允许这些目标走 http;仍做 DNS 解析并固定连接 IP 防重绑定,不配置时行为不变(#2016)
21-
- 定时任务新增脚本类型,可执行 Python、Bash 或 PowerShell。脚本可以写在任务里,也可以选择专家工作区中的脚本文件;有可执行沙箱时在沙箱里跑,否则在服务器上跑,标准输出会推进会话。
22-
- 智能体定时任务可以打开「放通所有」。只作用于这一次运行,不改变对话里已保存的审批设置。原生专家放通除提问外的工具;托管专家使用无人值守模式。
23-
- 对话页新增独立 Git 面板:查看工作区改动与单文件 diff、暂存/取消暂存/丢弃、用当前模型生成提交信息、提交或提交并推送,以及带 merge 图、提交者与 OpenPGP 签名状态的提交历史。Git 在宿主机或 Docker 工作区内就地执行,并支持自定义 git 路径。
24-
- 每轮对话记录本轮写入过的文件;回合卡片可以打开本轮 diff,并在文件未被后续改动时撤销本轮写入。
25-
- 备份与恢复支持以「存储管理」中的 WebDAV / 腾讯云 COS / S3 后端作为备份目标;占用中的备份目标不可删除或改类型。远端路径由存储后端高级配置里的 `base_dir`(S3/COS 亦可用 `prefix`)决定:归档文件直接落在该目录下,不会再自动拼接固定子路径,也不会自动创建目录——请先在远端建好 `base_dir` 再选用。列表、创建、恢复、自动备份与保留清理都只作用于所选后端的该 `base_dir`。多副本部署时,每台 Octop 应使用各自的 `base_dir`(或不同后端),避免共用同一目录导致互写、互删;单机用一个 `base_dir` 即可。选远端时本地备份目录仅作缓存。
26-
- 会话可以生成只读分享链接。打开后能看到对话、思考和工具调用;用 localhost 或 127.0.0.1 打开时不提供分享
27-
- ACP 协作新增内置 Qwen Code Runner(`qwen --acp`),含主机探测、安装脚本与托管专家会话模式
28-
- 新增内置 Gitea 连接器:填写自建实例地址与个人访问令牌(按用户加密保存)后,智能体可浏览仓库、查询 Issue 与评论、查看 PR、读取文件并发表评论。
12+
- 新增 Slack 与双模式 WhatsApp 渠道。
13+
- 新增 CubeSandbox 专家沙箱,以及团队技能挂载、头像共享和工作区路径支持。
14+
- 新增腾讯云 CLS(AgentObs)可观测接入。
15+
- 新增 `octop doctor db` 与 `octop doctor db --fix`,用于诊断和修复 SQLite 数据库。
16+
- 新增 WebDAV、腾讯云 COS、S3 远程备份目标。
17+
- 新增对话只读分享、Git 面板与逐轮文件变更记录。
18+
- 新增 Qwen Code ACP Runner,以及 GitHub、Gitea 连接器。
19+
- 完善 Codex 与共享记忆服务的终端接入、模型配置和状态管理。
2920

3021
### 修复
31-
- 修复 SQLite 损坏时的报错与恢复闭环:`format_stream_error` 不再将 `database disk image is malformed` 误显示为「模型调用失败」;`memory/storage/restore` 支持恢复已损坏的 `memory.sqlite` 并识别自动裁剪备份 `memory.sqlite.pre-prune.bak`;为控制面与知识库 SQLite 补齐 `busy_timeout` / WAL 及关机 checkpoint,并延长飞牛原生 FPK 停服等待时间且在 btrfs 首次建目录时尝试 `chattr +C`(#2998)。
32-
- 删除 Dashboard 默认会话后,绑定该会话的定时任务会在下次运行时自动重建会话。
33-
- 修复模型把一个 emoji 拆到多个流式分片时,重新打开对话可能看不到历史的问题。
34-
- Dashboard 对话报错:以 HTTP 429 / 403 返回的余额不足与欠费(OpenAI `insufficient_quota`、智谱 1113、Moonshot、Anthropic、硅基流动、火山方舟)不再提示「被限流,请稍后重试」,改为提示充值;DashScope 借用额度文案的 TPM/RPM 限流仍按限流提示
35-
- 向量模型页可识别对话提供商中启用的 BGE 等向量模型。知识库的在线 Embedding 和 Rerank 分别列出可用模型,并复用已有提供商配置。
36-
- 个性化页只展示和编辑当前用户自己的专家:新账号未创建专家时不再显示其他用户共享专家的技能、工具与记忆,改为引导创建专家(Fixes #1097)
37-
- 修复 PostgreSQL 控制面凭证在配置保存重载时被重复编码的问题,并保留用户名和密码中的空格。
22+
- 修复 SQLite 损坏恢复、备份恢复及 PostgreSQL 清理相关问题。
23+
- 修复工作区、供应商密钥、设置和会话访问的权限隔离问题。
24+
- 修复插件安装、下载、覆盖更新失败时的恢复与错误提示。
25+
- 修复对话卡顿、历史错序、流式 emoji 丢失及定时任务会话恢复问题。
26+
- 修复知识库 Embedding/Rerank 模型复用和个人专家数据隔离问题。
27+
28+
### 变更
29+
- 升级 `octop-harness` 至 1.0.13,升级 `octop-memory` 至 1.0.7。
30+
- 支持通过 `octop.extensions` 为 Octop 安装扩展包。
3831

3932
## [1.0.3b7] - 2026-11-17
4033

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<p align="center">
1616
<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>
1717
<a href="https://github.com/TencentCloud/Octop/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-green" /></a>
18-
<a href="https://github.com/TencentCloud/Octop/releases"><img alt="Version" src="https://img.shields.io/badge/version-1.0.3b7-orange" /></a>
18+
<a href="https://github.com/TencentCloud/Octop/releases"><img alt="Version" src="https://img.shields.io/badge/version-1.0.3b8-orange" /></a>
1919
<a href="https://pypi.org/project/octop/"><img src="https://img.shields.io/pypi/v/octop" alt="PyPI" /></a>
2020
<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>
2121
<a href="https://github.com/TencentCloud/Octop"><img alt="GitHub stars" src="https://img.shields.io/github/stars/TencentCloud/Octop?style=social" /></a>

‎README_CN.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<p align="center">
1616
<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>
1717
<a href="https://github.com/TencentCloud/Octop/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-green" /></a>
18-
<a href="https://github.com/TencentCloud/Octop/releases"><img alt="Version" src="https://img.shields.io/badge/version-1.0.3b7-orange" /></a>
18+
<a href="https://github.com/TencentCloud/Octop/releases"><img alt="Version" src="https://img.shields.io/badge/version-1.0.3b8-orange" /></a>
1919
<a href="https://pypi.org/project/octop/"><img src="https://img.shields.io/pypi/v/octop" alt="PyPI" /></a>
2020
<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>
2121
<a href="https://github.com/TencentCloud/Octop"><img alt="GitHub stars" src="https://img.shields.io/github/stars/TencentCloud/Octop?style=social" /></a>

‎deploy/helm/octop/Chart.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: octop
33
description: Octop with shared PostgreSQL, sticky replicas, and single-active cron and channels
44
type: application
55
version: 0.1.0
6-
appVersion: "1.0.3b7"
6+
appVersion: "1.0.3b8"
77
kubeVersion: ">=1.25.0-0"

‎deploy/helm/octop/README.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ The longer multi-replica guide is [docs/cluster_CN.md](../../../docs/cluster_CN.
1212

1313
## Where to install from
1414

15-
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.3b7`. Helm chart `version` must be SemVer, so `1.0.3b7` is published as `1.0.3-b7` and `1.0.3` stays `1.0.3`. The published `appVersion` is already the image tag, so the install does not set `image.tag`.
15+
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.3b8`. Helm chart `version` must be SemVer, so `1.0.3b8` is published as `1.0.3-b8` and `1.0.3` stays `1.0.3`. The published `appVersion` is already the image tag, so the install does not set `image.tag`.
1616

1717
```bash
1818
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
19-
--version 1.0.3-b7 \
19+
--version 1.0.3-b8 \
2020
-n octop \
2121
--set ingress.host=octop.example.com
2222
```
@@ -25,11 +25,11 @@ Edit chart source in `deploy/helm/octop` and install that directory from the rep
2525

2626
## What you set
2727

28-
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-b7`. 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.
28+
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-b8`. 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.
2929

3030
```bash
3131
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
32-
--version 1.0.3-b7 \
32+
--version 1.0.3-b8 \
3333
-n octop \
3434
-f my-values.yaml
3535
```
@@ -95,7 +95,7 @@ kubectl -n octop create secret tls octop-tls \
9595
--cert=fullchain.pem --key=privkey.pem
9696

9797
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
98-
--version 1.0.3-b7 \
98+
--version 1.0.3-b8 \
9999
-n octop \
100100
--set ingress.host=octop.example.com
101101
```
@@ -104,7 +104,7 @@ Without a public hostname, or when the ingress controller is not Ingress NGINX,
104104

105105
```bash
106106
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
107-
--version 1.0.3-b7 \
107+
--version 1.0.3-b8 \
108108
-n octop \
109109
--set ingress.enabled=false
110110

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

139139
```bash
140140
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
141-
--version 1.0.3-b7 \
141+
--version 1.0.3-b8 \
142142
-n octop \
143143
--reuse-values \
144144
--set ingress.host=octop.example.com
@@ -150,7 +150,7 @@ Keep the TLS secret's names in step with that host. If TLS is turned off, also s
150150

151151
```bash
152152
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
153-
--version 1.0.3-b7 \
153+
--version 1.0.3-b8 \
154154
-n octop \
155155
--reuse-values \
156156
--set replicaCount=3
@@ -197,7 +197,7 @@ Leave the extension to the database operator (`CREATE EXTENSION vector`). The ch
197197

198198
```bash
199199
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
200-
--version 1.0.3-b7 \
200+
--version 1.0.3-b8 \
201201
-n octop \
202202
--set postgresql.enabled=false \
203203
--set database.host=pg.example.com \

‎deploy/helm/octop/README_CN.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
## 从哪里安装
1414

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

1717
```bash
1818
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
19-
--version 1.0.3-b7 \
19+
--version 1.0.3-b8 \
2020
-n octop \
2121
--set ingress.host=octop.example.com
2222
```
@@ -25,11 +25,11 @@ helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
2525

2626
## 要准备什么
2727

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

3030
```bash
3131
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
32-
--version 1.0.3-b7 \
32+
--version 1.0.3-b8 \
3333
-n octop \
3434
-f my-values.yaml
3535
```
@@ -95,7 +95,7 @@ kubectl -n octop create secret tls octop-tls \
9595
--cert=fullchain.pem --key=privkey.pem
9696

9797
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
98-
--version 1.0.3-b7 \
98+
--version 1.0.3-b8 \
9999
-n octop \
100100
--set ingress.host=octop.example.com
101101
```
@@ -104,7 +104,7 @@ helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
104104

105105
```bash
106106
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
107-
--version 1.0.3-b7 \
107+
--version 1.0.3-b8 \
108108
-n octop \
109109
--set ingress.enabled=false
110110

@@ -138,7 +138,7 @@ curl -fsS http://127.0.0.1:8088/api/health
138138

139139
```bash
140140
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
141-
--version 1.0.3-b7 \
141+
--version 1.0.3-b8 \
142142
-n octop \
143143
--reuse-values \
144144
--set ingress.host=octop.example.com
@@ -150,7 +150,7 @@ TLS Secret 里的域名要和这里一致。如果关掉 TLS,把注解 `nginx.
150150

151151
```bash
152152
helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \
153-
--version 1.0.3-b7 \
153+
--version 1.0.3-b8 \
154154
-n octop \
155155
--reuse-values \
156156
--set replicaCount=3
@@ -196,7 +196,7 @@ helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
196196

197197
```bash
198198
helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
199-
--version 1.0.3-b7 \
199+
--version 1.0.3-b8 \
200200
-n octop \
201201
--set postgresql.enabled=false \
202202
--set database.host=pg.example.com \

‎deploy/helm/octop/values.example.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Install sample. Copy it, change the hostname, image, and resources, then:
22
# helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \
3-
# --version 1.0.3-b7 -n octop -f my-values.yaml
3+
# --version 1.0.3-b8 -n octop -f my-values.yaml
44
#
55
# Do not put passwords in this file. Create Secrets before install. See secrets.example.yaml.
66
# octop-admin username / password console login; used only on first init
@@ -15,7 +15,7 @@ image:
1515
# Empty uses the chart appVersion. Set a tag that exists in the registry.
1616
# The lite image has no virtual desktop, local embeddings, or OCR. Those need
1717
# a <version>-full tag and shm below.
18-
tag: "1.0.3b7"
18+
tag: "1.0.3b8"
1919
pullPolicy: IfNotPresent
2020

2121
# The full image needs about 1Gi of /dev/shm. Leave this false for the lite image.

0 commit comments

Comments
 (0)