chinadoiphin
aa01f094f2
删除二进制
2025-12-18 10:54:23 +08:00
chinadoiphin
da5565503e
docs: 更新 README 添加技术架构说明
...
- 添加核心思路架构图
- 说明 TLS 指纹模拟实现
- 说明 x-is-human Token 生成机制
- 说明 Token 池管理(预热/轮询/自动刷新)
- 说明协议转换流程
- 说明 Tool Use 实现方式
- 更新项目结构
- 添加 token_pool_size 配置说明
2025-12-18 10:53:58 +08:00
chinadoiphin
6b8edb5ef3
feat: implement toolify function calling via VM sandbox prompt
...
- Add virtual machine sandbox prompt injection for tool calls
- Parse <vm_write> and <vm_exec> tags from model response
- Handle tool_result to avoid infinite loops
- Extract tool_result content for model to respond
- Optimize streaming with batch flush
- Remove unused MCP and tools modules
2025-12-18 02:46:51 +08:00
chinadoiphin
bc2d0558df
feat: 添加 MCP (Model Context Protocol) 服务器支持
...
- internal/mcp/server.go: MCP 服务器实现(stdio 模式)
- cmd/mcp/main.go: MCP 服务器入口
- README.md: MCP 使用文档
支持的 MCP 工具:bash, read_file, write_file, list_dir, edit
2025-12-16 20:46:18 +08:00
chinadoiphin
c68aa3bfb6
feat: 实现 Anthropic tool_use 协议支持
...
- internal/tools/types.go: 定义工具相关类型
- internal/tools/executor.go: 工具执行器(bash/文件操作)
- internal/tools/parser.go: 解析 AI 输出中的工具调用
- internal/handler/anthropic.go: 支持 tools 参数和 tool_use 响应
- internal/handler/tools.go: 工具执行和列表接口
- cmd/server/main.go: 注册工具路由
支持的工具:
- bash: 执行命令
- read_file: 读取文件
- write_file: 写入文件
- list_dir: 列出目录
- edit: 查找替换编辑
2025-12-16 20:32:16 +08:00
江西小徐
7b83db9dda
feat: 重构项目为标准 Go 结构
...
- 重构为标准 Go 项目结构 (cmd/server, internal/)
- 配置改为 YAML 格式
- 添加 Anthropic Messages API 支持
- 添加 OpenAI Chat API 支持
- 浏览器自动化处理人机验证
- 添加详细中文注释
- 添加免责声明
2025-12-16 19:50:35 +08:00