Skip to content

Commit 3935f84

Browse files
authored
Merge pull request #3180 from TencentCloud/release/1.0.3b8
chore: release 1.0.3b8
2 parents 30f4aec + 6731d5c commit 3935f84

677 files changed

Lines changed: 55846 additions & 5588 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.env.example‎

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,15 @@ OCTOP_PORT=8088
88
OCTOP_LOG_LEVEL=info
99
OCTOP_BIND_HOST=0.0.0.0
1010

11-
# Docker Compose only: host directory bind-mounted to /data/.octop
12-
# OCTOP_DATA=~/.octop
11+
# Optional memory service. For a shared ingress, forward /mcp/ to Memory,
12+
# keep its admin API private, and advertise the dashboard origin to MCP clients.
13+
# OCTOP_MEMORY_SERVICE_URL=http://127.0.0.1:8790
14+
# OCTOP_MEMORY_SAME_ORIGIN=1
15+
16+
# Docker Compose only: host directory bind-mounted to /data/.octop.
17+
# Leave unset to keep the historical default (the invoking user's ~/.octop).
18+
# Set an absolute path only when the data dir should move.
19+
# OCTOP_DATA=
1320

1421
# Docker first-run bootstrap (only used when ~/.octop/octop.db is absent)
1522
# Password must be ≥8 chars with letters and digits (same policy as change-password).
@@ -56,6 +63,18 @@ LANGFUSE_PUBLIC_KEY=
5663
LANGFUSE_SECRET_KEY=
5764
LANGFUSE_BASE_URL=
5865

66+
# Tencent Cloud CLS / AgentObs observability (optional env-var fallback).
67+
# Prefer configuring in Dashboard → Settings → Advanced → Observability (supports
68+
# encrypted SecretId/SecretKey storage, auto-creating CLS apps via CreateAgentApplication,
69+
# or binding an existing Topic ID). Restart after changing env vars.
70+
# OCTOP_AGENTOBS_ENABLED=true
71+
# CLS_DEFAULT_REGION=ap-guangzhou
72+
# CLS_TOPIC_ID=
73+
# CLS_ACCESS_TYPE=Langfuse
74+
# TENCENTCLOUD_SECRET_ID=
75+
# TENCENTCLOUD_SECRET_KEY=
76+
# TENCENTCLOUD_TOKEN= # Optional, required only for STS credentials
77+
5978
# ---------------------------------------------------------------------------
6079
# Live integration tests (tests/live/*): REAL credentials.
6180
#

‎.gitattributes‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Shell scripts run in Linux images, fnOS packages and the curl installers.
2+
# Keep LF on every checkout so a Windows clone with core.autocrlf=true
3+
# does not build images whose scripts fail with "/bin/sh^M".
4+
*.sh text eol=lf
5+
fnos/*/cmd/* text eol=lf
6+
# Extensionless launchers packaged into the native fnOS FPK.
7+
fnos/native/app/bin/* text eol=lf
8+
# Git hooks run through sh, including Git for Windows.
9+
.githooks/* text eol=lf

‎.github/pull_request_template.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@
2525

2626
## Checklist
2727

28-
- [ ] Updated `CHANGELOG.md` (if user-facing)
2928
- [ ] README / docs updated (if needed)

‎.github/workflows/ci.yml‎

Lines changed: 85 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,90 @@ jobs:
3939
run: make typecheck
4040

4141
- name: Test
42-
run: make test
42+
run: make test PYTEST_JOBS=logical
43+
44+
dashboard:
45+
name: Dashboard
46+
runs-on: ubuntu-latest
47+
if: ${{ !startsWith(github.head_ref, 'chore/sync-develop-after-') }}
48+
defaults:
49+
run:
50+
working-directory: dashboard
51+
steps:
52+
- uses: actions/checkout@v4
53+
54+
- uses: actions/setup-node@v5
55+
with:
56+
# Same Node as deploy/docker/Dockerfile and release.yml.
57+
node-version: "20"
58+
cache: npm
59+
cache-dependency-path: dashboard/package-lock.json
60+
61+
- name: Install dependencies
62+
run: npm ci
63+
64+
- name: Type check
65+
run: npx tsc -b
66+
67+
- name: Test
68+
run: npm test
69+
70+
# `make install` follows uv.lock. A merged PR can still fail
71+
# `pip install octop` when dependency ranges resolve differently in a clean
72+
# environment. Build the wheel, install it with pip, and verify the
73+
# published console command from an empty environment.
74+
command-install:
75+
name: Command install (${{ matrix.os }})
76+
runs-on: ${{ matrix.os }}
77+
if: ${{ !startsWith(github.head_ref, 'chore/sync-develop-after-') }}
78+
strategy:
79+
fail-fast: false
80+
matrix:
81+
os: [ubuntu-latest, windows-latest]
82+
steps:
83+
- uses: actions/checkout@v4
84+
85+
- uses: astral-sh/setup-uv@v4
86+
with:
87+
python-version: "3.12"
88+
89+
- name: Build wheel
90+
run: uv build --wheel
91+
92+
- name: Install the wheel with pip (Linux)
93+
if: runner.os == 'Linux'
94+
run: |
95+
set -euo pipefail
96+
uv venv --no-project --python 3.12 --seed /tmp/octop-install
97+
wheels=(dist/octop-*.whl)
98+
if [ "${#wheels[@]}" -ne 1 ]; then
99+
echo "expected one wheel, found: ${wheels[*]}"
100+
exit 1
101+
fi
102+
/tmp/octop-install/bin/python -m pip install --upgrade pip
103+
/tmp/octop-install/bin/python -m pip install "${wheels[0]}"
104+
105+
- name: Install the wheel with pip (Windows)
106+
if: runner.os == 'Windows'
107+
shell: pwsh
108+
run: |
109+
$ErrorActionPreference = "Stop"
110+
uv venv --no-project --python 3.12 --seed .octop-install
111+
$wheels = @(Get-ChildItem -Path dist -Filter "octop-*.whl")
112+
if ($wheels.Count -ne 1) {
113+
throw "expected one wheel, found: $($wheels.Name -join ', ')"
114+
}
115+
.\.octop-install\Scripts\python.exe -m pip install --upgrade pip
116+
.\.octop-install\Scripts\python.exe -m pip install $wheels[0].FullName
117+
118+
- name: Verify the installed command (Linux)
119+
if: runner.os == 'Linux'
120+
run: /tmp/octop-install/bin/octop --help
121+
122+
- name: Verify the installed command (Windows)
123+
if: runner.os == 'Windows'
124+
shell: pwsh
125+
run: .\.octop-install\Scripts\octop.exe --help
43126

44127
helm:
45128
name: Helm chart
@@ -90,7 +173,7 @@ jobs:
90173
run: make typecheck
91174

92175
- name: Test
93-
run: make test
176+
run: make test PYTEST_JOBS=logical
94177

95178
live-tests:
96179
name: "Live tests (real credentials)"

‎CHANGELOG.md‎

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,34 @@
66

77
## [Unreleased]
88

9+
## [1.0.3b8] - 2026-11-27
10+
11+
### 新增
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 与共享记忆服务的终端接入、模型配置和状态管理。
20+
21+
### 修复
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 安装扩展包。
31+
932
## [1.0.3b7] - 2026-11-17
1033

1134
### 新增
35+
- 共享记忆接入独立的 octop-memory 1.0.7 服务。面板按空间管理终端凭据,安装时在终端隐藏输入 Token。Codex 可以跟随聊天模型提取,也可在面板选择 HY4 等模型并应用到终端,分别查看终端回执和实际运行结果。
36+
- 工作台「云服务器」页的地域筛选器改为控制台风格下拉面板:按大区分组展示各地域并标注节点数量,只有有节点的地域才显示红点,同时记住最近访问的地域
1237
- 托管专家可选会话模式,并能使用连接器、知识库、专家回调和已启用的插件
1338
- 云服务器页的地域筛选改为按大区分组的下拉面板
1439

@@ -26,6 +51,8 @@
2651
## [1.0.3b6] - 2026-11-15
2752

2853
### 新增
54+
- 专家市场默认打开「精选」,用书签标出接入市场前随安装包提供的 22 个专家模板
55+
- 通道卡片与 `/api/health` 展示每个通道的入站、出站、重连和丢弃计数;记忆存储页显示 checkpoint 保留窗口与 VACUUM 提示
2956
- 支持 Helm 集群部署。多实例共用一个 PostgreSQL
3057
- 管理员可以限制创建专家时能选的存储后端
3158
- 新增托管专家,对话可以交给后端 Agent,如 OpenCode

‎CONTRIBUTING.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ hotfix/* ──PR──► main (+ tag) and ──PR──► develop
6161
2. Open the PR with base **`develop`** (not `main`, unless it is a release or hotfix)
6262
3. Add or update tests for behavior changes — CI runs on **Linux and Windows**; follow the cross-platform rules in [AGENTS.md](AGENTS.md) §7 (prefer `tmp_path` / `pathlib`, `fake_bin_path` for mocked binaries, `posix_only` for Unix-only cases)
6363
4. Ensure `make install-hooks` is enabled locally; run `make all` (backend) or `make check-all` (full stack) before submitting — pre-commit enforces the same gate
64-
5. Update `CHANGELOG.md` when user-facing behavior changes
65-
6. Open a PR with a clear description and test plan
64+
5. Open a PR with a clear description and test plan
6665

6766
See [AGENTS.md](AGENTS.md) for module boundaries and coding conventions.
6867

@@ -149,7 +148,7 @@ When using AI-assisted coding, **make sure both sides understand the same thing*
149148
150149
## Releases
151150

152-
1. Cut `release/x.y.z` from latest `develop` (version bump + CHANGELOG on that branch)
151+
1. Cut `release/x.y.z` from latest `develop` (version bump on that branch)
153152
2. Open PR: `release/x.y.z` → `main` and merge when green
154153
3. Tag `v<version>` on **main tip** and push — GitHub Actions builds, publishes to PyPI, and creates the GitHub Release
155154
4. Delete `release/x.y.z`; Actions syncs `main` → `develop` (or opens `chore/sync-develop-after-*` if merge conflicts / branch protection)
@@ -207,8 +206,7 @@ make check-all # 全栈质量门禁
207206
2. PR 的 base 选 **`develop`**(release / hotfix 除外)
208207
3. 补充测试(CI 同时跑 **Linux / Windows**,路径与假二进制遵循 [AGENTS.md](AGENTS.md) §7)
209208
4. 本地执行过 `make install-hooks`;提交前 `make all` 或 `make check-all` 必须绿(hooks 会强制执行)
210-
5. 用户可见变更时更新 `CHANGELOG.md`
211-
6. 提交 Pull Request
209+
5. 提交 Pull Request
212210

213211
模块边界与编码规范见 [AGENTS.md](AGENTS.md)。
214212

@@ -299,7 +297,7 @@ make check-all # 全栈质量门禁
299297
300298
## 发版
301299

302-
1. 从最新 `develop` 切 `release/x.y.z`(在该分支 bump 版本与 CHANGELOG)
300+
1. 从最新 `develop` 切 `release/x.y.z`(在该分支 bump 版本)
303301
2. PR:`release/x.y.z` → `main`,合并通过后
304302
3. 在 **main tip** 打并推送 `v<version>`,由 Actions 构建并发布
305303
4. 删除 `release/x.y.z`;Actions 自动 sync `main` → `develop`(冲突或分支保护时会开 `chore/sync-develop-after-*` PR)

‎Makefile‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ help:
4949
@echo " publish-test Build + upload to TestPyPI"
5050
@echo ""
5151
@echo "Development targets:"
52-
@echo " dev Start frontend + backend dev servers"
52+
@echo " dev Start frontend + backend with auto-reload"
5353
@echo " dev-frontend Start Vite dev server only"
54-
@echo " dev-backend Start octop run only"
54+
@echo " dev-backend Start backend with auto-reload"
5555
@echo ""
5656
@echo "Online-deps targets (local Octop source + PyPI harness components):"
5757
@echo " install-online Create .venv-online: Octop editable + harness-* from PyPI"
@@ -156,12 +156,14 @@ publish-test:
156156

157157
# ─── Development ─────────────────────────────────────────────────────────────
158158

159+
DEV_BACKEND := $(RUN) watchfiles --filter python "octop run" src/octop
160+
159161
.PHONY: dev
160162
dev:
161163
@echo "[dev] Starting frontend and backend dev servers (Ctrl-C to stop both)..."
162164
@trap 'kill 0' SIGINT; \
163165
(cd $(DASHBOARD_DIR) && npm run dev) & \
164-
($(RUN) octop run) & \
166+
($(DEV_BACKEND)) & \
165167
wait
166168

167169
.PHONY: dev-frontend
@@ -170,7 +172,7 @@ dev-frontend:
170172

171173
.PHONY: dev-backend
172174
dev-backend:
173-
$(RUN) octop run
175+
$(DEV_BACKEND)
174176

175177
# ─── Online-deps dev (local Octop source + PyPI harness components) ───────────
176178
# Keeps a dedicated .venv-online alongside .venv. Octop itself is installed

‎README.md‎

Lines changed: 17 additions & 7 deletions
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>
@@ -66,7 +66,7 @@ Chat through the Web Dashboard, Feishu, DingTalk, QQ, WeChat, Telegram, Discord,
6666

6767
## 📌 Overview
6868

69-
Octop is a self-hosted AI assistant platform for households and small teams. It runs a single process that serves a web dashboard, a CLI, IM channels (Feishu, DingTalk, QQ, WeChat, Telegram, Discord, WeCom, and more), and cron automation — all sharing one control-plane database under `~/.octop/` (SQLite by default; PostgreSQL optional).
69+
Octop is a self-hosted AI assistant platform for households and small teams. It runs a single process that serves a web dashboard, a CLI, IM channels (Feishu, DingTalk, QQ, WeChat, Telegram, Discord, Slack, WhatsApp, WeCom, and more), and cron automation — all sharing one control-plane database under `~/.octop/` (SQLite by default; PostgreSQL optional).
7070

7171
> Octop's design goal: keep every conversation, workspace, and credential on your own machine, while giving each user a personal team of specialized agents they can switch between per task.
7272
@@ -120,7 +120,7 @@ Instead of an external queue or message broker, Octop routes every surface — W
120120
- Workspace backends (expert files): local disk, Docker sandbox, PostgreSQL, COS/S3, and other remote stores — distinct from the control-plane database
121121

122122
### Channels & automation
123-
- IM channels: Feishu, DingTalk, QQ, WeChat, Telegram, Discord, WeCom, and more
123+
- IM channels: Feishu, DingTalk, QQ, WeChat, Telegram, Discord, Slack, WhatsApp, WeCom, and more
124124
- Proactive cron jobs with natural-language and slash-command triggers
125125
- Unified message processing across Web UI, IM, and cron surfaces
126126

@@ -160,18 +160,18 @@ Here are our mid-to-long term plans:
160160
- [x] **Shared resource pool** — a central pool of skills and sub-agents that any user can drop into a new expert without rebuilding from scratch.
161161
- [x] **Expert sharing** — publish your experts to other users in the same deployment, so good configurations are reused instead of recreated.
162162
- [x] **PC client** — native desktop apps for Windows / macOS / Linux alongside the web dashboard and IM channels.
163+
- [x] **Plugin marketplace** — live on [octop.cloud](https://octop.cloud); discover, install, and update third-party plugins from within Octop.
163164

164165
**In progress**
165166
- [ ] **AgentTeams** *(Beta)* — let one coordinator autonomously schedule and orchestrate multiple experts to tackle multi-step tasks.
166167
- [ ] **Mobile client** *(closed beta)* — native mobile apps currently in internal testing.
168+
- [ ] **Managed Agents** *(Beta)* — shipped as managed experts and now in Beta: platform-hosted agent lifecycle (provision, scale, and operate) without running the full self-hosted stack yourself.
169+
- [ ] **Cloud–edge continuum** *(closed beta)* — cloud brain, local hands: run Octop on-device as the execution end while the cloud orchestrates and controls it.
167170

168171
**Planned**
169172
- [ ] **Browser & terminal polishing** — browser skill *recording* (capture a workflow and replay it as a skill) and a more capable terminal AI assistant.
170173
- [ ] **Self-evolution** — automatically distill everyday conversations into reusable skills, so the assistant grows with you.
171-
- [ ] **Managed Agents** — platform-hosted agent lifecycle (provision, scale, and operate agents without managing the full self-hosted stack yourself).
172174
- [ ] **Project** — project-scoped workspaces that group agents, files, and conversations around a shared goal.
173-
- [ ] **Cloud–edge continuum** — run Octop locally while offloading selected tasks to the cloud, so light work stays on-device and heavier jobs use remote capacity when you need it.
174-
- [ ] **Plugin marketplace** — a curated market to discover, install, and update third-party plugins without leaving Octop.
175175
- [ ] **Conversational control plane** — deepen Octop’s own skills so chat can cover the full dashboard surface: create experts, wire channels, manage knowledge bases, and scaffold plugins end-to-end.
176176

177177
This roadmap may shift as the community grows; treat it as indicative only.
@@ -304,7 +304,7 @@ The Helm chart for a shared PostgreSQL and multiple replicas is documented in [d
304304
| `OCTOP_PORT` | `8088` | HTTP listen port |
305305
| `OCTOP_DEFAULT_PASSWORD` | _(unset)_ | First-run admin password (Docker bootstrap). Valid → create admin; unset or rejected → setup wizard |
306306
| `OCTOP_ADMIN_USERNAME` | `admin` | First-run admin username |
307-
| `OCTOP_DATA` | `~/.octop` | Host data directory (compose bind mount) |
307+
| `OCTOP_DATA` | `~/.octop` | Host data directory (compose bind mount). Unset keeps the invoking user's `~/.octop`; no migration on upgrade |
308308

309309
See [`.env.example`](.env.example) for the full list.
310310

@@ -570,13 +570,23 @@ See [CHANGELOG.md](CHANGELOG.md) for release history.
570570

571571
## 🔗 Related projects
572572

573+
### Official projects
574+
573575
| Project | Description |
574576
|---------|-------------|
575577
| [Octop Harness](https://github.com/TencentCloud/octop-harness) | Agent runtime — model routing, tools, skills, checkpointing |
576578
| [Octop Gateway](https://github.com/TencentCloud/octop-gateway) | Multi-platform IM channel bridge |
577579
| [Octop Memory](https://github.com/TencentCloud/octop-memory) | Hierarchical recall and FTS search |
578580
| [Octop Browser](https://github.com/TencentCloud/octop-browser) | CDP browser automation with persistent profiles |
579581
| [Octop Pet](https://github.com/jubaoliang/OctopPet) | A desktop pet for Octop |
582+
| [Octop Marketplace](https://github.com/jubaoliang/OctopMarketplace) | Marketplace for Octop |
583+
| [OctopBot](https://github.com/jubaoliang/OctopBot) | Mobile app for interacting with Octop on iOS and Android |
584+
585+
### Community projects
586+
587+
| Project | Description |
588+
|---------|-------------|
589+
| [OctopLink](https://github.com/DingXiaoWu0512/OctopLink) | Community HarmonyOS client — ArkTS app with streaming chat, workspace, memory |
580590

581591
## 💬 Community
582592

0 commit comments

Comments
 (0)