Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
149af4f
update
May 6, 2026
0c8c932
update
May 6, 2026
72ee1dc
update
May 6, 2026
79d325e
refactor: add stateless HA runtime foundations
yaojin3616 May 6, 2026
b7246d6
fix(storage): align focus context with storage backend
yaojin3616 May 7, 2026
a4d8665
feat(ha): stateless HA storage runtime with async S3 and workspace lo…
yaojin3616 May 8, 2026
447c686
merge: integrate main into feature-ha with storage backend and focus …
yaojin3616 May 8, 2026
9cc5f5b
fix(files): restore list_files filtering for focus.md and .gitkeep
yaojin3616 May 8, 2026
a74d8d7
fix(security): restore missing focus guards and path traversal checks
yaojin3616 May 8, 2026
2b1dc34
feat(deploy): add all-in-one deployment for yaojin environment
yaojin3616 May 9, 2026
d556e1d
chore: remove deploy-all-in-one.sh
yaojin3616 May 9, 2026
9a4b6e5
chore(deploy): remove unused nginx configs
yaojin3616 May 9, 2026
d447b2b
Merge branch 'pr-510-release-fix' into feature-ha
May 11, 2026
49a3060
Add multi-instance deploy compose
yaojin3616 May 13, 2026
b5a2542
Merge latest changes for onboarding and deployment
yaojin3616 May 13, 2026
244cb8c
Add Atlas UI design system and enhance SSO/identity provider
yaojin3616 May 18, 2026
30fce16
Make bcrypt operations async to avoid blocking event loop
yaojin3616 May 18, 2026
4056d65
import error
yaojin3616 May 18, 2026
6eb2d37
perf: optimize registration queries and clean up trigger_daemon dead …
May 20, 2026
541e898
Merge branch 'feature-ha' of github.com:dataelement/Clawith into feat…
May 20, 2026
5a3c209
ci
May 20, 2026
b917423
fix(ci): fix drone.yml yaml parsing error
May 20, 2026
4266947
fix(ci): install git in build-images step
May 20, 2026
1042907
perf(backend): use ustc apt mirror to speed up apt-get update in Dock…
May 20, 2026
b9f059d
ci: remove feature-ha from triggers to prevent duplicate builds
May 20, 2026
9001214
Merge branch 'main' into feature-ha
yaojin3616 May 21, 2026
c458cc9
merge main into feature-ha: resolve auth.py import conflict
yaojin3616 May 21, 2026
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
34 changes: 34 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,30 @@ FEISHU_REDIRECT_URI=http://localhost:3000/auth/feishu/callback
# Default: local host -> ~/.clawith/data/agents ; container runtime -> /data/agents
# AGENT_DATA_DIR=

# File storage backend. Use "s3" for S3-compatible object storage.
# When STORAGE_BACKEND=s3, local fallback lets old files under STORAGE_LOCAL_ROOT
# be read and copied into S3 on first access during migration.
# STORAGE_BACKEND=local
# STORAGE_LOCAL_ROOT=
# STORAGE_LOCAL_FALLBACK_ENABLED=true
# S3_BUCKET=
# S3_REGION=
# S3_ENDPOINT_URL=
# S3_ACCESS_KEY_ID=
# S3_SECRET_ACCESS_KEY=
# S3_PREFIX=agents
# S3_MAX_POOL_CONNECTIONS=50
# S3_WRITE_WORKERS=32

# Local MinIO settings used by docker-compose.multi-instance.yml.
# Change the password before exposing MinIO outside local development.
MINIO_ROOT_USER=clawith
MINIO_ROOT_PASSWORD=clawith-minio-secret
MINIO_BUCKET=clawith
MINIO_API_PORT=9000
MINIO_CONSOLE_PORT=9001
API_PORT=8000

# Jina AI API key (for jina_search and jina_read tools — get one at https://jina.ai)
# Without a key, the tools still work but with lower rate limits
JINA_API_KEY=
Expand All @@ -37,3 +61,13 @@ PUBLIC_BASE_URL=

# Password reset token lifetime in minutes
PASSWORD_RESET_TOKEN_EXPIRE_MINUTES=30

# Frontend port (default: 3008)
# FRONTEND_PORT=3008

# API upstream for nginx proxy (default: backend:8000)
# API_UPSTREAM=backend:8000

# Python pip index URL (for China mirrors)
# CLAWITH_PIP_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple
# CLAWITH_PIP_TRUSTED_HOST=pypi.tuna.tsinghua.edu.cn
6 changes: 3 additions & 3 deletions .github/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ steps:
https_proxy:
from_secret: PROXY
commands:
- apk add --no-cache git
- echo "========================================"
- echo "开始构建 Docker 镜像"
- echo "事件 $DRONE_BUILD_EVENT"
Expand Down Expand Up @@ -172,7 +173,7 @@ steps:
- docker rm -f backend-upgrade-test 2>/dev/null || true

# 阶段 1: 部署旧版本
- echo "--- 阶段 1: 部署旧版本 ---"
- echo "--- 阶段 1 - 部署旧版本 ---"
- IMAGE_TAG=old docker compose -f docker-compose.ci.yml up -d postgres redis
- sleep 5
- timeout 30s bash -c 'until [ "$(docker inspect --format="{{.State.Health.Status}}" $(docker compose -f docker-compose.ci.yml ps -q postgres) 2>/dev/null)" = "healthy" ]; do sleep 2; done'
Expand Down Expand Up @@ -205,7 +206,7 @@ steps:
- docker rm backend-upgrade-test

# 阶段 2: 升级到新版本
- echo "--- 阶段 2: 升级到新版本 ---"
- echo "--- 阶段 2 - 升级到新版本 ---"
- |
docker run -d --name backend-upgrade-test \
--network clawith_network \
Expand Down Expand Up @@ -291,7 +292,6 @@ trigger:
branch:
- main
- release
- feat-devops
event:
- push
- pull_request
Expand Down
Loading