From cba331cb03e8208313e3e1148561110e9af0862e Mon Sep 17 00:00:00 2001 From: jubaoliang Date: Tue, 17 Nov 2026 16:36:49 +0000 Subject: [PATCH] chore: release 1.0.3b7 Co-authored-by: Cursor --- CHANGELOG.md | 25 +++++++++++-------------- README.md | 2 +- README_CN.md | 2 +- deploy/helm/octop/Chart.yaml | 2 +- deploy/helm/octop/README.md | 18 +++++++++--------- deploy/helm/octop/README_CN.md | 18 +++++++++--------- deploy/helm/octop/values.example.yaml | 4 ++-- docs/cluster_CN.md | 12 ++++++------ pyproject.toml | 2 +- src/octop/__init__.py | 2 +- uv.lock | 2 +- 11 files changed, 43 insertions(+), 46 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a818aac69..1a0dd92cba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,25 +6,22 @@ ## [Unreleased] +## [1.0.3b7] - 2026-11-17 + ### 新增 -- 托管专家可以选择底层智能体的会话模式。该智能体提供 YOLO 一类模式时,由所选模式决定是否审批 -- 托管专家在对话里可以使用连接器、知识库,并回调其他专家、发送文件、定时任务、记忆和已启用的插件 -- 群组调度成员时,会带上该专家自己的知识库和连接器 -- 工作台「云服务器」页的地域筛选器改为控制台风格下拉面板:按大区分组展示各地域并标注节点数量,只有有节点的地域才显示红点,同时记住最近访问的地域 +- 托管专家可选会话模式,并能使用连接器、知识库、专家回调和已启用的插件 +- 云服务器页的地域筛选改为按大区分组的下拉面板 ### 变更 -- 单轮工具调用上限改为只拦截连续、参数相同的重复调用。不同工具不再共用这一额度 -- 升级 octop-memory 至 1.0.5、octop-harness 至 1.0.11、octop-gateway 至 1.0.4。 -- 云服务器页节点侧栏改用与对话页一致的折叠手柄;未授权时不再在工具栏显示冗余的「未授权」标签;统一页面字号为 12px(辅助信息)与 13px(正文/名称)两档 +- 工具调用上限只拦截连续的相同调用 +- 云服务器页侧栏折叠、字号和未授权提示与对话页对齐 ### 修复 -- Docker 部署的 Octop 可以继续把宿主机目录挂进 Docker 专家。直接装在宿主机上时仍然忽略 `volumes` -- 编辑托管专家时标题改为「编辑托管专家」,并显示托管智能体和工作区目录 -- Telegram 普通回复本机器人消息时也向模型提供引用正文,避免引用来自其他专家、话题或已离开当前历史的内容时丢失上下文;仍只在模型请求阶段加入引用,保持命令和问答控制文本不变。 -- 修复记忆面板切换专家、分页或筛选时旧响应覆盖当前列表的问题;切换或离开面板时清理详情和操作弹窗,并忽略旧操作的提示与回调。 -- MCP OAuth 对带路径的授权服务器按 RFC 8414 §3.1 发现 metadata,不再拼成 404;授权端点自带查询参数时也会保留并正确追加 OAuth 参数(#2926) -- 手机、侧边栏等窄屏预览 Word 文档(以及放大后的 PDF)时,页面左侧被裁掉且无法滚动查看;页面改为起始对齐 + 自动外边距居中,放得下时仍居中,放不下时向右滚动(Fixes #1262) -- 新手引导的遮罩原来只盖住左侧一窄条,现在铺满整个窗口;暗色主题下与开场卡片同样深。引导卡片不再贴着窗口上下边缘,开场、导览、完成三段切换时遮罩不再闪一下 +- Docker 部署时仍可将宿主机目录挂进 Docker 专家 +- Telegram 回复本机器人时保留引用;记忆列表不再被过期响应覆盖 +- PostgreSQL 清理孤儿 checkpoint 时只统计,不再误删其他智能体的对话 +- 带路径的 MCP OAuth 按规范发现授权信息 +- 窄屏下 Word / PDF 左侧可以滚到;新手引导遮罩铺满窗口 ## [1.0.3b6] - 2026-11-15 diff --git a/README.md b/README.md index a00f12febb..b09fe64747 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@

Python 3.12+ License: MIT - Version + Version PyPI Code Style: Ruff GitHub stars diff --git a/README_CN.md b/README_CN.md index 3dc81548c3..06fedae361 100644 --- a/README_CN.md +++ b/README_CN.md @@ -15,7 +15,7 @@

Python 3.12+ License: MIT - Version + Version PyPI Code Style: Ruff GitHub stars diff --git a/deploy/helm/octop/Chart.yaml b/deploy/helm/octop/Chart.yaml index ec0913b591..0741963c67 100644 --- a/deploy/helm/octop/Chart.yaml +++ b/deploy/helm/octop/Chart.yaml @@ -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.3b6" +appVersion: "1.0.3b7" kubeVersion: ">=1.25.0-0" diff --git a/deploy/helm/octop/README.md b/deploy/helm/octop/README.md index 8c343c4727..4ff7068bef 100644 --- a/deploy/helm/octop/README.md +++ b/deploy/helm/octop/README.md @@ -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.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`. +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`. ```bash helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \ - --version 1.0.3-b6 \ + --version 1.0.3-b7 \ -n octop \ --set ingress.host=octop.example.com ``` @@ -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-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. +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. ```bash helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \ - --version 1.0.3-b6 \ + --version 1.0.3-b7 \ -n octop \ -f my-values.yaml ``` @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --set ingress.host=octop.example.com ``` @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --set ingress.enabled=false @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --reuse-values \ --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 ```bash helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \ - --version 1.0.3-b6 \ + --version 1.0.3-b7 \ -n octop \ --reuse-values \ --set replicaCount=3 @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --set postgresql.enabled=false \ --set database.host=pg.example.com \ diff --git a/deploy/helm/octop/README_CN.md b/deploy/helm/octop/README_CN.md index 2328c376b8..2416e21579 100644 --- a/deploy/helm/octop/README_CN.md +++ b/deploy/helm/octop/README_CN.md @@ -12,11 +12,11 @@ ## 从哪里安装 -安装用 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`。 +安装用 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`。 ```bash helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \ - --version 1.0.3-b6 \ + --version 1.0.3-b7 \ -n octop \ --set ingress.host=octop.example.com ``` @@ -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-b6` 查看。仓库里的 `values.example.yaml` 把同一批参数写成带注释的样例,`secrets.example.yaml` 是口令样例。复制后改域名和镜像,占位符换成真实口令,不要把填好的口令文件提交进仓库。 +Chart 不保存口令,也不会在 values 里生成 Secret。线上包的默认值用 `helm show values oci://ghcr.io/tencentcloud/octop/charts/octop --version 1.0.3-b7` 查看。仓库里的 `values.example.yaml` 把同一批参数写成带注释的样例,`secrets.example.yaml` 是口令样例。复制后改域名和镜像,占位符换成真实口令,不要把填好的口令文件提交进仓库。 ```bash helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \ - --version 1.0.3-b6 \ + --version 1.0.3-b7 \ -n octop \ -f my-values.yaml ``` @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --set ingress.host=octop.example.com ``` @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --set ingress.enabled=false @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --reuse-values \ --set ingress.host=octop.example.com @@ -150,7 +150,7 @@ TLS Secret 里的域名要和这里一致。如果关掉 TLS,把注解 `nginx. ```bash helm upgrade octop oci://ghcr.io/tencentcloud/octop/charts/octop \ - --version 1.0.3-b6 \ + --version 1.0.3-b7 \ -n octop \ --reuse-values \ --set replicaCount=3 @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --set postgresql.enabled=false \ --set database.host=pg.example.com \ diff --git a/deploy/helm/octop/values.example.yaml b/deploy/helm/octop/values.example.yaml index 90aede8c60..cc8f0a2ac8 100644 --- a/deploy/helm/octop/values.example.yaml +++ b/deploy/helm/octop/values.example.yaml @@ -1,6 +1,6 @@ # 安装样例。复制后改域名、镜像和资源,再: # helm upgrade --install octop oci://ghcr.io/tencentcloud/octop/charts/octop \ -# --version 1.0.3-b6 -n octop -f my-values.yaml +# --version 1.0.3-b7 -n octop -f my-values.yaml # # 口令不要写在这个文件里。安装前另建 Secret,见 secrets.example.yaml。 # octop-admin username / password 控制台账号,只在第一次初始化时创建 @@ -14,7 +14,7 @@ image: repository: ghcr.io/tencentcloud/octop # 留空则用 chart 的 appVersion。请写成仓库里真实存在的版本。 # 精简版没有虚拟桌面、本地向量和 OCR。那些能力用 <版本>-full,并打开下面的 shm。 - tag: "1.0.3b6" + tag: "1.0.3b7" pullPolicy: IfNotPresent # 完整版镜像需要约 1Gi 的 /dev/shm。精简版保持 false。 diff --git a/docs/cluster_CN.md b/docs/cluster_CN.md index 7ee702b106..5b2a045964 100644 --- a/docs/cluster_CN.md +++ b/docs/cluster_CN.md @@ -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.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,要等下一次版本标签。 +安装直接用线上包 `oci://ghcr.io/tencentcloud/octop/charts/octop`,不必克隆仓库。打 `v*` 标签时流水线推这个包。镜像 tag 是 `1.0.3b7` 这种形式。Helm 要求 chart 版本是 SemVer,所以同一次发布里 chart 版本写成 `1.0.3-b7`;没有字母后缀的 `1.0.3` 两边相同。发布包里的 `appVersion` 已经是镜像 tag,安装命令不用再写 `image.tag`。要虚拟桌面、本地向量或 OCR 时,把 `image.tag` 设为 `<版本>-full`,并设 `shm.enabled=true`。改 chart 源码时仍用仓库目录 `deploy/helm/octop`。已经发出的 `v1.0.3b5` 不含这份 chart,要等下一次版本标签。 【插图 5】Kubernetes 里的三个部分 @@ -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-b6 +helm show values oci://ghcr.io/tencentcloud/octop/charts/octop --version 1.0.3-b7 ``` 仓库里的 `deploy/helm/octop/values.example.yaml` 是带注释的同一批参数,`secrets.example.yaml` 是口令样例。复制后改域名,占位符换成真实口令。填好的口令文件不要提交进仓库。 @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --set ingress.host=octop.example.com ``` @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --reuse-values \ --set ingress.host=octop.example.com @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --set postgresql.enabled=false \ --set database.host=pg.example.com \ @@ -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-b6 \ + --version 1.0.3-b7 \ -n octop \ --reuse-values \ --set replicaCount=3 diff --git a/pyproject.toml b/pyproject.toml index 8d994ee978..272a4e157b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "octop" -version = "1.0.3b6" +version = "1.0.3b7" description = "Smarter self-hosted AI assistant for multiple users and agents, built on octop-harness" readme = "README.md" license = { text = "MIT" } diff --git a/src/octop/__init__.py b/src/octop/__init__.py index 3f999fe4b9..56a8039f5e 100644 --- a/src/octop/__init__.py +++ b/src/octop/__init__.py @@ -4,7 +4,7 @@ from octop.infra.utils.httpx_proxy import install_httpx_cidr_no_proxy -__version__ = "1.0.3b6" +__version__ = "1.0.3b7" # 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. diff --git a/uv.lock b/uv.lock index 21beeafb34..c42412c904 100644 --- a/uv.lock +++ b/uv.lock @@ -2589,7 +2589,7 @@ wheels = [ [[package]] name = "octop" -version = "1.0.3b6" +version = "1.0.3b7" source = { editable = "." } dependencies = [ { name = "acme" },