Skip to content

Commit f78eeae

Browse files
author
赵明俊
committed
chore(version): 升级至 2.0.0b1 并更新变更日志
同时补充忽略 *.tgz,避免本地打包产物误入库。 Made-with: Cursor
1 parent 8ea1a2b commit f78eeae

3 files changed

Lines changed: 29 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ dist/
5959
*.egg
6060
*.whl
6161
*.tar.gz
62+
*.tgz
6263

6364
# 数据目录(包含SQLite数据库和Docker数据)
6465
data/

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33
<!-- version list -->
44

5+
## v2.0.0b1 (2026-04-21)
6+
7+
### Features
8+
9+
- **context**: 新增 ContextAssembler 三层上下文组装(会话 + SQLite 历史 + 向量 episodic 记忆)
10+
- **session**: 穿插规划(Adaptive Replan):多 todo 首轮有失败子任务时自动补充规划与执行
11+
- **session**: persistTurn 统一持久化调用(SQLite 对话 + 上下文向量记忆)
12+
- **react**: 统一 REACT_OPERATING_POLICY 提示词策略块,与 npm 端对齐
13+
- **memory**: 新增 /api/memory REST 端点(remember/recall/context/vector/stats/clear)
14+
- **server**: 统一客户端错误映射与脱敏(HTTP + SSE),新增 ClientErrorCode 与 LLM 上游错误分类
15+
16+
### Enhancements
17+
18+
- **sse**: SSE 协议新增 step_key(并行子任务不串台)、scope(master/adaptive 规划区分)、context_debug 事件
19+
- **sse**: 移植 buildStreamSummaryPayload 精炼报告逻辑,report/response 分离
20+
- **llm**: 运行时无效 API Key 自清理(检测 401/auth 后自动删除 SQLite 持久化密钥)
21+
- **config**: normalize_bearer_api_key 自动去除误写的 Bearer 前缀
22+
23+
### CI/CD
24+
25+
- 新增独立 CI 工作流(.github/workflows/ci.yml),对 pypi-release 分支的 push/PR 执行 lint + build + test
26+
- 增强 release.yml:tag 与 pyproject.toml 版本校验、GitHub Release 上传 wheel/sdist、prerelease 自动判定
27+
28+
### Version
29+
30+
- 版本号升级至 2.0.0b1,与 npm 端 v2.0.0-b1 语义对齐
31+
532
## v1.10.0 (2026-04-03)
633

734
### Features

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "secbot"
7-
version = "1.10.1b2"
7+
version = "2.0.0b1"
88
description = "Hackbot: AI-powered automated penetration testing robot"
99
readme = "README.md"
1010
requires-python = ">=3.10"

0 commit comments

Comments
 (0)