Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
7b95a54
feat(memory-mcp): 用户级 token 存储与 HTTP API
ArvinQi Nov 9, 2026
df6a8b0
feat(memory-mcp): MCP 鉴权与工具面按 review 重做
ArvinQi Nov 9, 2026
da016b8
docs(memory-mcp): 更新接入文档与 CHANGELOG
ArvinQi Nov 9, 2026
3683574
feat(memory-mcp): vendor DSH 原生记忆插件 octop-memory-native(开源版)
ArvinQi Nov 9, 2026
f00ab5c
feat(memory-mcp): 本地终端接入——安装器 + hooks + transcript 导入
ArvinQi Nov 9, 2026
e55d3b7
docs(memory-mcp): 补充终端接入、DSH 原生插件与安装器说明
ArvinQi Nov 9, 2026
74d2160
test(memory-mcp): 脱敏断言的禁用词只保留废弃身份头
ArvinQi Nov 9, 2026
2deedab
docs(memory-mcp): 安装器注释去掉内网措辞
ArvinQi Nov 9, 2026
f4f9149
feat(dashboard): 记忆页新增「MCP 接入」token 管理
ArvinQi Nov 9, 2026
b8b0c2b
feat(memory-mcp): token 绑定单一专家,免 agent 头 + 切换专家 API
ArvinQi Nov 10, 2026
dc1d666
feat(dashboard): token 绑定/切换上报专家
ArvinQi Nov 10, 2026
235eb84
feat(memory-mcp): 安装器与 hooks 只带 token(不再传专家 ID)
ArvinQi Nov 10, 2026
da39471
docs(memory-mcp): 安装与配置指引 + Dashboard 展示 curl 一键命令
ArvinQi Nov 10, 2026
039dec9
fix(memory-mcp): Claude Code hook 改用 matcher 组形态
ArvinQi Nov 10, 2026
564ddc3
feat(dashboard): 安装命令紧贴 Token,并提供复制 Token / 复制命令
ArvinQi Nov 10, 2026
a7eed59
feat(memory-mcp): token 接入端统计 + 按接入端启用/禁用
ArvinQi Nov 10, 2026
a2f56ed
feat(dashboard): MCP 接入 tab 前移 + 接入说明链接 + 行内「接入命令」
ArvinQi Nov 10, 2026
fb04c96
feat(dashboard): 生成窗口固定为「Token + 一键安装命令」两段
ArvinQi Nov 10, 2026
17e9b9d
style(dashboard): 接入端开关补列标题,行内操作改紧凑链接按钮
ArvinQi Nov 10, 2026
515372a
style(dashboard): 行内操作改为图标按钮(接入命令/切换专家/撤销),操作列收窄到 132px
ArvinQi Nov 10, 2026
95ea788
fix(memory-mcp): 来源用 token 名、挂载只看显式开关、transcript 统一走 runtime.capture
ArvinQi Nov 10, 2026
734db49
style(dashboard): 接入端开关固定 44px(min-width + max-width),避免被压缩或撑开列宽
ArvinQi Nov 10, 2026
0b4dfd1
refactor(memory-mcp): 客户端侧代码拆出本 PR,服务端只留 MCP + token + UI
ArvinQi Nov 10, 2026
8726b70
docs(memory-mcp): 指向 DSH 原生插件的独立仓库
ArvinQi Nov 10, 2026
9058aa6
feat(dashboard): 专家记忆抽屉顶部显示 MCP 接入地址与鉴权说明
ArvinQi Nov 10, 2026
2cd7891
docs(memory-mcp): DSH 插件更名为 dsh-octop-memory
ArvinQi Nov 10, 2026
f01f8fc
feat(dashboard): 专家记忆抽屉改用「AI 终端接入」Tab(去掉顶部提示条)
ArvinQi Nov 10, 2026
b401735
style(dashboard): 接入 tab 改名为「终端接入」
ArvinQi Nov 10, 2026
a0fcda0
feat(dashboard,docs): 恢复一行接入命令(sh/ps1),文档补客户端插件安装
ArvinQi Nov 10, 2026
62f985b
style(dashboard): Token 弹窗加宽并改为分类 Tab(一键安装/Windows/手动配置),突出先保存 Token
ArvinQi Nov 11, 2026
cb21de3
style(dashboard): 终端接入页去掉顶部客户端配置提示(避免只提 MCP、漏掉 hooks)
ArvinQi Nov 11, 2026
f19a402
feat(dashboard): 终端接入页接入 AI 安装入口(复制含 token 的 AI 指令)
ArvinQi Nov 12, 2026
2f2407f
feat(dashboard): 「终端接入」从记忆面板独立为设置菜单页
ArvinQi Nov 13, 2026
fc34e74
style(dashboard): 终端接入操作列恢复文字按钮(接入配置/切换专家/撤销)
ArvinQi Nov 13, 2026
223eb6c
style(dashboard): 终端接入操作列对齐内部版本(图标 + 文字,宽 276,scroll.x 1120)
ArvinQi Nov 13, 2026
e81dff3
fix(memory-mcp): 事件批次超限显式报错 + 重试幂等
ArvinQi Nov 17, 2026
3464517
Merge upstream develop into feat/memory-mcp-extension-develop
ArvinQi Nov 17, 2026
51bea3b
refactor(memory-mcp): touch 节流 + 复用统一专家权限检查
ArvinQi Nov 17, 2026
20ffc01
fix(memory-mcp): greenfield(尚未绑定 DB)时跳过挂载,不让启动崩溃
ArvinQi Nov 17, 2026
1328a71
fix(memory-mcp): 复审 2 项阻塞 + 4 项非阻塞
ArvinQi Nov 17, 2026
4424fc1
Merge branch 'develop' into feat/memory-mcp-extension-develop
Bosheng0422 Nov 17, 2026
3d85f07
Merge pull request #3023 from TencentCloud/chore/sync-develop-after-1…
github-actions[bot] Nov 18, 2026
f258a5b
Merge branch 'develop' into feat/memory-mcp-extension-develop
Bosheng0422 Nov 18, 2026
96774d8
Merge pull request #3030 from TencentCloud/hotfix/dispatch-helm-publish
jubaoliang Nov 18, 2026
457699b
feat: share a conversation through a read-only link (#3031)
jubaoliang Nov 18, 2026
f44880a
feat(acp): add Qwen Code as built-in ACP runner (#3034)
huangcheng Nov 18, 2026
35c92b0
feat(backup): cloud-first remote destinations (WebDAV / COS / S3) (#3…
huangcheng Nov 19, 2026
61e7486
fix(config): 修复 PostgreSQL 凭证编码与配置重载 (#1364)
MakerFlyFly Nov 19, 2026
5670016
fix: scope provider keys, workspace paths, and setup access (#3050)
liukewia Nov 19, 2026
976803d
feat(cron): add script jobs and a one-run approval bypass (#3047)
jubaoliang Nov 19, 2026
02c25cd
feat: add global memory defaults with per-expert overrides
Bosheng0422 Nov 19, 2026
a216944
feat: add built-in GitHub connector (official remote MCP + PAT) (#3061)
wycocoyu Nov 20, 2026
fdb04e9
fix: send missing sessions to login and let shared teams dispatch (#3…
jubaoliang Nov 20, 2026
6dff7f7
feat: share one workspace across team turns and local cloud-collab ru…
jubaoliang Nov 20, 2026
7c11c63
feat(connectors): add built-in Gitea connector (Closes #3052) (#3067)
wycocoyu Nov 20, 2026
cffc4ce
test: isolate local download artifacts and suppress file reveal (#3046)
daguye918 Nov 20, 2026
48b6563
feat(memory): panel-driven shared memory via octop-memory service
ArvinQi Nov 21, 2026
d18f107
refactor(memory): retire Octop-hosted MCP server and token API
ArvinQi Nov 21, 2026
13b9214
feat(memory): persist sharing session encrypted; keep legacy token table
ArvinQi Nov 21, 2026
7ce94da
feat: add git review panel with per-turn file checkpoints (#3091)
huangcheng Nov 22, 2026
d433ab7
feat(memory): AI 终端接入 groups with per-terminal switches
ArvinQi Nov 22, 2026
2100e24
feat(memory): restore 终端接入 UX on top of octop-memory
ArvinQi Nov 22, 2026
4210d8f
refactor(memory): keep 终端接入 as the single entry; drop sharing panel
ArvinQi Nov 22, 2026
a274ea9
feat(memory): internal legacy-token migration script
ArvinQi Nov 22, 2026
469d37b
chore(memory): keep the internal token migration out of the community PR
ArvinQi Nov 22, 2026
288506b
fix: keep setup, backups, and agent paths within their owners (#3082)
liukewia Nov 23, 2026
25a967a
feat: add a default backend type to user and role policies (#3103)
jubaoliang Nov 23, 2026
920adcf
feat: team skill mounts, share portraits, and workspace file paths (#…
jubaoliang Nov 23, 2026
491ef59
feat(dashboard): redesign the four expert settings drawers (#3058)
ideshun Nov 23, 2026
a37f7e0
docs: add OctopLink (community HarmonyOS client) to Related projects …
DingXiaoWu0512 Nov 23, 2026
3137d2b
fix(plugins): support overwrite on URL install and unify install moda…
ideshun Nov 23, 2026
d7e33eb
fix(memory): stop issuing tokens on space binding conflicts
Nov 23, 2026
86128b5
fix(acp): start Windows npx runners with Node instead of the npx.cmd …
alison-xx Nov 23, 2026
9c585b6
fix(desktop): point the Window bridge types at the preload modules (#…
alison-xx Nov 23, 2026
34a8c22
build: declare aiohttp and httpx as runtime dependencies (#3121)
alison-xx Nov 23, 2026
6c0415c
fix(desktop): run the dashboard dev server's Vite directly (#3120)
alison-xx Nov 23, 2026
2cff355
fix(chat): show Copy on assistant replies that have nothing to read a…
alison-xx Nov 23, 2026
6dae98a
test(dashboard): bring vitest mocks in line with current code (#3124)
alison-xx Nov 23, 2026
f2dbf30
fix(dashboard): name the theme switcher buttons for screen readers (#…
alison-xx Nov 23, 2026
2a538b4
fix(desktop): order pre-releases by stage and number (#3118)
alison-xx Nov 23, 2026
3dad35a
feat(users): add limited-use invitation links (#3113)
daguye918 Nov 24, 2026
7d5c1ee
fix(chat): preserve history across split emoji deltas (#3057)
Bosheng0422 Nov 24, 2026
5a8354c
fix(history): read_file media is not a user message (#3132)
alison-xx Nov 24, 2026
fad3bcd
build: keep LF line endings on shell scripts (#3122)
alison-xx Nov 24, 2026
8837629
fix(experts): keep the old avatar until the new one is uploaded (#3116)
alison-xx Nov 24, 2026
a4a8dd4
fix(proactive): persist care messages to thread history and track rep…
Bosheng0422 Nov 24, 2026
875f614
feat(skills): add a built-in office-documents skill (#3117)
alison-xx Nov 24, 2026
1ef67fd
feat(server): octop.extensions entry points for packages built on Oct…
alison-xx Nov 24, 2026
625c1a7
fix(plugins): improve installation errors and update reliability (#2176)
ideshun Nov 24, 2026
81f260d
fix(dashboard): tell an exhausted balance apart from rate limiting in…
alison-xx Nov 24, 2026
cadbdd8
feat(security): let admins allowlist LAN targets for the outbound SSR…
alison-xx Nov 24, 2026
f4b2c73
fix(cron): recover deleted dashboard sessions at delivery (#3059)
Master-Frank Nov 24, 2026
4bfe852
feat(knowledge): expose chunking and retrieval settings (#3127)
Master-Frank Nov 24, 2026
01b5ba4
fix: mask stored secrets in configuration APIs (#3134)
liukewia Nov 24, 2026
cbdca5a
feat(memory): integrate Codex setup, review status and shared memory …
Nov 24, 2026
d2556c3
chore: update contributing guidelines and pull request template (#3139)
liukewia Nov 24, 2026
13a1896
feat(memory): select an Octop extraction model per external Codex token
Nov 24, 2026
e2ce97c
fix(dashboard): separate Codex model settings from terminal setup
Nov 24, 2026
3e4a7e2
fix(dashboard): scope Personalization to experts the user owns (#1287)
alison-xx Nov 24, 2026
895f3bc
fix(knowledge): reuse enabled embedding and rerank models across prov…
alison-xx Nov 24, 2026
952d40a
feat(connectors): manage custom connectors from the enabled list (#3126)
jubaoliang Nov 25, 2026
5c79253
chore: remove leftover PR evidence screenshots (#3153)
liukewia Nov 25, 2026
d0c454e
fix(channels): preserve plugin presentation metadata (#2162)
ideshun Nov 25, 2026
8a7dab0
feat(qq): configure group slash command owners
ideshun Nov 25, 2026
04d2f71
Merge branch 'develop' into feat/memory-mcp-extension-develop
ArvinQi Nov 25, 2026
a5faa16
fix(memory): drop retired token migration now that 026 is invite rede…
ArvinQi Nov 25, 2026
b44ae97
fix(memory): align terminal access with per-client token model
ArvinQi Nov 25, 2026
d5aea62
test: isolate skill archive and embedding dependency transports (#2619)
ideshun Nov 26, 2026
22585fa
feat(memory): publish Codex extraction settings and reconcile atomic …
Nov 26, 2026
5c3d969
ci: verify pip installation and cli command (#3163)
liukewia Nov 26, 2026
45adecd
style(chat): increase gap between session scope tabs for improved lay…
liukewia Nov 26, 2026
10504f8
feat(observability): add Tencent Cloud CLS (AgentObs) integration via…
Bosheng0422 Nov 26, 2026
2082404
feat(channels): add Slack and dual-mode WhatsApp channel integration …
ideshun Nov 26, 2026
892b8d4
chore: bump octop runtime dependencies (#3164)
liukewia Nov 26, 2026
4b11762
test(dashboard): fix the vitest cases that drifted behind the code (#…
alison-xx Nov 26, 2026
aa1f8c3
fix(chat): stop local workspace selection from hanging the turn (#3169)
jubaoliang Nov 26, 2026
9f014fd
test(dashboard): give the AvatarDropdown test a stable t (#3148)
alison-xx Nov 26, 2026
b48f981
Integrate Codex extraction model sync and secure terminal credentials
eileennchen Nov 26, 2026
9f82cd3
feat: integrate CubeSandbox with Octop experts (#3109)
liukewia Nov 26, 2026
41254f2
ci: type-check and test the dashboard on pull requests (#3145)
alison-xx Nov 26, 2026
b7733e7
build: sync develop and require octop-harness 1.0.13 with memory 1.0.7
eileennchen Nov 26, 2026
74bafe7
Merge pull request #2887 from ArvinQi/feat/memory-mcp-extension-develop
Bosheng0422 Nov 26, 2026
cf36379
Merge pull request #3156 from TencentCloud/fix/2998-sqlite-recovery-a…
Bosheng0422 Nov 26, 2026
1d32334
Merge develop into global memory defaults and preserve terminal settings
Nov 26, 2026
e6dac91
Respect the selected provider thinking switch during memory extraction
Nov 26, 2026
7050d5e
Merge pull request #3056 from TencentCloud/feat/global-memory-default…
Bosheng0422 Nov 26, 2026
01f7f95
ci: update test command to use logical pytest jobs in CI workflow (#3…
liukewia Nov 26, 2026
c1bcde3
feat: edit offline health check commands for SQLite databases (#3178)
liukewia Nov 27, 2026
6731d5c
chore: release 1.0.3b8
liukewia Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 21 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,15 @@ OCTOP_PORT=8088
OCTOP_LOG_LEVEL=info
OCTOP_BIND_HOST=0.0.0.0

# Docker Compose only: host directory bind-mounted to /data/.octop
# OCTOP_DATA=~/.octop
# Optional memory service. For a shared ingress, forward /mcp/ to Memory,
# keep its admin API private, and advertise the dashboard origin to MCP clients.
# OCTOP_MEMORY_SERVICE_URL=http://127.0.0.1:8790
# OCTOP_MEMORY_SAME_ORIGIN=1

# Docker Compose only: host directory bind-mounted to /data/.octop.
# Leave unset to keep the historical default (the invoking user's ~/.octop).
# Set an absolute path only when the data dir should move.
# OCTOP_DATA=

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

# Tencent Cloud CLS / AgentObs observability (optional env-var fallback).
# Prefer configuring in Dashboard → Settings → Advanced → Observability (supports
# encrypted SecretId/SecretKey storage, auto-creating CLS apps via CreateAgentApplication,
# or binding an existing Topic ID). Restart after changing env vars.
# OCTOP_AGENTOBS_ENABLED=true
# CLS_DEFAULT_REGION=ap-guangzhou
# CLS_TOPIC_ID=
# CLS_ACCESS_TYPE=Langfuse
# TENCENTCLOUD_SECRET_ID=
# TENCENTCLOUD_SECRET_KEY=
# TENCENTCLOUD_TOKEN= # Optional, required only for STS credentials

# ---------------------------------------------------------------------------
# Live integration tests (tests/live/*): REAL credentials.
#
Expand Down
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Shell scripts run in Linux images, fnOS packages and the curl installers.
# Keep LF on every checkout so a Windows clone with core.autocrlf=true
# does not build images whose scripts fail with "/bin/sh^M".
*.sh text eol=lf
fnos/*/cmd/* text eol=lf
# Extensionless launchers packaged into the native fnOS FPK.
fnos/native/app/bin/* text eol=lf
# Git hooks run through sh, including Git for Windows.
.githooks/* text eol=lf
1 change: 0 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,4 @@

## Checklist

- [ ] Updated `CHANGELOG.md` (if user-facing)
- [ ] README / docs updated (if needed)
87 changes: 85 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,90 @@ jobs:
run: make typecheck

- name: Test
run: make test
run: make test PYTEST_JOBS=logical

dashboard:
name: Dashboard
runs-on: ubuntu-latest
if: ${{ !startsWith(github.head_ref, 'chore/sync-develop-after-') }}
defaults:
run:
working-directory: dashboard
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v5
with:
# Same Node as deploy/docker/Dockerfile and release.yml.
node-version: "20"
cache: npm
cache-dependency-path: dashboard/package-lock.json

- name: Install dependencies
run: npm ci

- name: Type check
run: npx tsc -b

- name: Test
run: npm test

# `make install` follows uv.lock. A merged PR can still fail
# `pip install octop` when dependency ranges resolve differently in a clean
# environment. Build the wheel, install it with pip, and verify the
# published console command from an empty environment.
command-install:
name: Command install (${{ matrix.os }})
runs-on: ${{ matrix.os }}
if: ${{ !startsWith(github.head_ref, 'chore/sync-develop-after-') }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4

- uses: astral-sh/setup-uv@v4
with:
python-version: "3.12"

- name: Build wheel
run: uv build --wheel

- name: Install the wheel with pip (Linux)
if: runner.os == 'Linux'
run: |
set -euo pipefail
uv venv --no-project --python 3.12 --seed /tmp/octop-install
wheels=(dist/octop-*.whl)
if [ "${#wheels[@]}" -ne 1 ]; then
echo "expected one wheel, found: ${wheels[*]}"
exit 1
fi
/tmp/octop-install/bin/python -m pip install --upgrade pip
/tmp/octop-install/bin/python -m pip install "${wheels[0]}"

- name: Install the wheel with pip (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
$ErrorActionPreference = "Stop"
uv venv --no-project --python 3.12 --seed .octop-install
$wheels = @(Get-ChildItem -Path dist -Filter "octop-*.whl")
if ($wheels.Count -ne 1) {
throw "expected one wheel, found: $($wheels.Name -join ', ')"
}
.\.octop-install\Scripts\python.exe -m pip install --upgrade pip
.\.octop-install\Scripts\python.exe -m pip install $wheels[0].FullName

- name: Verify the installed command (Linux)
if: runner.os == 'Linux'
run: /tmp/octop-install/bin/octop --help

- name: Verify the installed command (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: .\.octop-install\Scripts\octop.exe --help

helm:
name: Helm chart
Expand Down Expand Up @@ -90,7 +173,7 @@ jobs:
run: make typecheck

- name: Test
run: make test
run: make test PYTEST_JOBS=logical

live-tests:
name: "Live tests (real credentials)"
Expand Down
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,34 @@

## [Unreleased]

## [1.0.3b8] - 2026-11-27

### 新增
- 新增 Slack 与双模式 WhatsApp 渠道。
- 新增 CubeSandbox 专家沙箱,以及团队技能挂载、头像共享和工作区路径支持。
- 新增腾讯云 CLS(AgentObs)可观测接入。
- 新增 `octop doctor db` 与 `octop doctor db --fix`,用于诊断和修复 SQLite 数据库。
- 新增 WebDAV、腾讯云 COS、S3 远程备份目标。
- 新增对话只读分享、Git 面板与逐轮文件变更记录。
- 新增 Qwen Code ACP Runner,以及 GitHub、Gitea 连接器。
- 完善 Codex 与共享记忆服务的终端接入、模型配置和状态管理。

### 修复
- 修复 SQLite 损坏恢复、备份恢复及 PostgreSQL 清理相关问题。
- 修复工作区、供应商密钥、设置和会话访问的权限隔离问题。
- 修复插件安装、下载、覆盖更新失败时的恢复与错误提示。
- 修复对话卡顿、历史错序、流式 emoji 丢失及定时任务会话恢复问题。
- 修复知识库 Embedding/Rerank 模型复用和个人专家数据隔离问题。

### 变更
- 升级 `octop-harness` 至 1.0.13,升级 `octop-memory` 至 1.0.7。
- 支持通过 `octop.extensions` 为 Octop 安装扩展包。

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

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

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

### 新增
- 专家市场默认打开「精选」,用书签标出接入市场前随安装包提供的 22 个专家模板
- 通道卡片与 `/api/health` 展示每个通道的入站、出站、重连和丢弃计数;记忆存储页显示 checkpoint 保留窗口与 VACUUM 提示
- 支持 Helm 集群部署。多实例共用一个 PostgreSQL
- 管理员可以限制创建专家时能选的存储后端
- 新增托管专家,对话可以交给后端 Agent,如 OpenCode
Expand Down
10 changes: 4 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ hotfix/* ──PR──► main (+ tag) and ──PR──► develop
2. Open the PR with base **`develop`** (not `main`, unless it is a release or hotfix)
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)
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
5. Update `CHANGELOG.md` when user-facing behavior changes
6. Open a PR with a clear description and test plan
5. Open a PR with a clear description and test plan

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

Expand Down Expand Up @@ -149,7 +148,7 @@ When using AI-assisted coding, **make sure both sides understand the same thing*

## Releases

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

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

Expand Down Expand Up @@ -299,7 +297,7 @@ make check-all # 全栈质量门禁

## 发版

1. 从最新 `develop` 切 `release/x.y.z`(在该分支 bump 版本与 CHANGELOG)
1. 从最新 `develop` 切 `release/x.y.z`(在该分支 bump 版本)
2. PR:`release/x.y.z` → `main`,合并通过后
3. 在 **main tip** 打并推送 `v<version>`,由 Actions 构建并发布
4. 删除 `release/x.y.z`;Actions 自动 sync `main` → `develop`(冲突或分支保护时会开 `chore/sync-develop-after-*` PR)
Expand Down
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ help:
@echo " publish-test Build + upload to TestPyPI"
@echo ""
@echo "Development targets:"
@echo " dev Start frontend + backend dev servers"
@echo " dev Start frontend + backend with auto-reload"
@echo " dev-frontend Start Vite dev server only"
@echo " dev-backend Start octop run only"
@echo " dev-backend Start backend with auto-reload"
@echo ""
@echo "Online-deps targets (local Octop source + PyPI harness components):"
@echo " install-online Create .venv-online: Octop editable + harness-* from PyPI"
Expand Down Expand Up @@ -156,12 +156,14 @@ publish-test:

# ─── Development ─────────────────────────────────────────────────────────────

DEV_BACKEND := $(RUN) watchfiles --filter python "octop run" src/octop

.PHONY: dev
dev:
@echo "[dev] Starting frontend and backend dev servers (Ctrl-C to stop both)..."
@trap 'kill 0' SIGINT; \
(cd $(DASHBOARD_DIR) && npm run dev) & \
($(RUN) octop run) & \
($(DEV_BACKEND)) & \
wait

.PHONY: dev-frontend
Expand All @@ -170,7 +172,7 @@ dev-frontend:

.PHONY: dev-backend
dev-backend:
$(RUN) octop run
$(DEV_BACKEND)

# ─── Online-deps dev (local Octop source + PyPI harness components) ───────────
# Keeps a dedicated .venv-online alongside .venv. Octop itself is installed
Expand Down
24 changes: 17 additions & 7 deletions 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.3b7-orange" /></a>
<a href="https://github.com/TencentCloud/Octop/releases"><img alt="Version" src="https://img.shields.io/badge/version-1.0.3b8-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 Expand Up @@ -66,7 +66,7 @@ Chat through the Web Dashboard, Feishu, DingTalk, QQ, WeChat, Telegram, Discord,

## 📌 Overview

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).
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).

> 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.

Expand Down Expand Up @@ -120,7 +120,7 @@ Instead of an external queue or message broker, Octop routes every surface — W
- Workspace backends (expert files): local disk, Docker sandbox, PostgreSQL, COS/S3, and other remote stores — distinct from the control-plane database

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

Expand Down Expand Up @@ -160,18 +160,18 @@ Here are our mid-to-long term plans:
- [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.
- [x] **Expert sharing** — publish your experts to other users in the same deployment, so good configurations are reused instead of recreated.
- [x] **PC client** — native desktop apps for Windows / macOS / Linux alongside the web dashboard and IM channels.
- [x] **Plugin marketplace** — live on [octop.cloud](https://octop.cloud); discover, install, and update third-party plugins from within Octop.

**In progress**
- [ ] **AgentTeams** *(Beta)* — let one coordinator autonomously schedule and orchestrate multiple experts to tackle multi-step tasks.
- [ ] **Mobile client** *(closed beta)* — native mobile apps currently in internal testing.
- [ ] **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.
- [ ] **Cloud–edge continuum** *(closed beta)* — cloud brain, local hands: run Octop on-device as the execution end while the cloud orchestrates and controls it.

**Planned**
- [ ] **Browser & terminal polishing** — browser skill *recording* (capture a workflow and replay it as a skill) and a more capable terminal AI assistant.
- [ ] **Self-evolution** — automatically distill everyday conversations into reusable skills, so the assistant grows with you.
- [ ] **Managed Agents** — platform-hosted agent lifecycle (provision, scale, and operate agents without managing the full self-hosted stack yourself).
- [ ] **Project** — project-scoped workspaces that group agents, files, and conversations around a shared goal.
- [ ] **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.
- [ ] **Plugin marketplace** — a curated market to discover, install, and update third-party plugins without leaving Octop.
- [ ] **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.

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

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

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

## 🔗 Related projects

### Official projects

| Project | Description |
|---------|-------------|
| [Octop Harness](https://github.com/TencentCloud/octop-harness) | Agent runtime — model routing, tools, skills, checkpointing |
| [Octop Gateway](https://github.com/TencentCloud/octop-gateway) | Multi-platform IM channel bridge |
| [Octop Memory](https://github.com/TencentCloud/octop-memory) | Hierarchical recall and FTS search |
| [Octop Browser](https://github.com/TencentCloud/octop-browser) | CDP browser automation with persistent profiles |
| [Octop Pet](https://github.com/jubaoliang/OctopPet) | A desktop pet for Octop |
| [Octop Marketplace](https://github.com/jubaoliang/OctopMarketplace) | Marketplace for Octop |
| [OctopBot](https://github.com/jubaoliang/OctopBot) | Mobile app for interacting with Octop on iOS and Android |

### Community projects

| Project | Description |
|---------|-------------|
| [OctopLink](https://github.com/DingXiaoWu0512/OctopLink) | Community HarmonyOS client — ArkTS app with streaming chat, workspace, memory |

## 💬 Community

Expand Down
Loading
Loading