Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
783ae86
🚀 feat(config): 重构配置系统支持分层配置
echoVic Aug 29, 2025
ae92f65
docs: 添加Docsify文档配置和完整文档结构
echoVic Aug 29, 2025
95cebb1
chore: 清理不需要的测试文件和重复配置文件
echoVic Aug 29, 2025
d53526b
feat(ui): 添加主题系统支持,包含13种内置主题和自定义主题功能
echoVic Aug 29, 2025
4979509
feat(ui): 添加基于 Ink 的终端 UI 组件库
echoVic Aug 29, 2025
81914b1
feat: 重构项目为monorepo结构并实现核心功能
echoVic Aug 29, 2025
4053222
feat: 实现统一错误处理系统和重构工具包
echoVic Aug 29, 2025
f13d2cd
feat(配置系统): 实现统一配置管理系统和React上下文集成
echoVic Aug 29, 2025
aeacbef
🚀 重构 Blalie 项目为 Monorepo 结构并添加完整安全审计系统
echoVic Aug 29, 2025
f3279dc
docs: 添加PR创建指南和重构总结文档
echoVic Aug 29, 2025
9493695
merge: 成功合并两个功能分支到统一重构分支\n\n合并内容:\n- feature/monorepo-refactor-securi…
echoVic Sep 1, 2025
814f9b0
feat: 实现核心架构重构和功能扩展
echoVic Sep 1, 2025
38cb2e1
refactor(test): 将测试框架从jest迁移到vitest
echoVic Sep 1, 2025
f318f1d
🚀 完成Blade项目架构重构
echoVic Sep 2, 2025
7cf0e9c
📝 添加重构完成确认文件
echoVic Sep 2, 2025
3529370
refactor(core): 优化工具类和配置管理
echoVic Sep 2, 2025
ad951f6
refactor(cli): 更新入口文件路径以直接引用cli包
echoVic Sep 2, 2025
9073d9c
refactor: 移除UI组件库及相关代码
echoVic Sep 2, 2025
935fb0a
refactor(core): 合并types包到core并重构类型系统
echoVic Sep 2, 2025
61458f8
docs: 重构文档结构并更新内容
echoVic Sep 2, 2025
0537ab7
refactor: 移除废弃的配置文件和脚本
echoVic Sep 2, 2025
99efbc7
refactor(core): 重构核心模块和类型定义
echoVic Sep 3, 2025
d9b641c
test: 添加核心和CLI组件的单元测试
echoVic Sep 3, 2025
5e779d8
refactor(build): 迁移构建系统从 tsup 到 tsc + esbuild
echoVic Sep 3, 2025
579e04b
refactor(ui): 优化组件样式和类型定义
echoVic Sep 3, 2025
fd53c78
Remove tsconfig.tsbuildinfo from version control
echoVic Sep 3, 2025
f8f8db3
refactor: 重构构建系统并更新依赖配置
echoVic Sep 3, 2025
914a5b4
Add bin/ to .gitignore and remove build artifacts
echoVic Sep 3, 2025
b3f18eb
feat(agent): 添加Agent初始化、销毁及组件获取方法
echoVic Sep 3, 2025
5efdbac
feat: 统一LLM配置参数并优化UI交互
echoVic Sep 3, 2025
4afb130
refactor(cli): 重构CLI应用结构并添加新UI组件
echoVic Sep 3, 2025
49d9156
refactor(cli): 优化UI组件结构和样式
echoVic Sep 4, 2025
f516cc0
feat(ui): 重命名界面组件并添加API密钥状态显示
echoVic Sep 4, 2025
bde7118
feat(cli): 实现交互式命令行界面和统一命令执行入口
echoVic Sep 4, 2025
e1b48a2
refactor(ui/themes): 重构主题系统结构并优化代码组织
echoVic Sep 4, 2025
215192b
feat(ui): 实现Markdown渲染功能并添加语法高亮支持
echoVic Sep 4, 2025
9ad1365
feat: 添加新Agent架构及相关组件
echoVic Sep 6, 2025
c111424
feat: 添加CLAUDE.md文档并删除过时的CHANGELOG.md
echoVic Sep 6, 2025
eeb13d5
feat: 增强Agent架构,添加新组件及功能
echoVic Sep 7, 2025
9293ec7
refactor(core): 重构核心模块架构并简化代码结构
echoVic Sep 9, 2025
378d4f7
feat(cli): 重构CLI界面并添加新组件
echoVic Sep 9, 2025
f075010
refactor(core): 重构配置架构并统一类型定义
echoVic Sep 9, 2025
b857aaf
chore: 清理本地设置文件中的敏感信息和冗余配置
echoVic Sep 9, 2025
c788cfc
chore: 更新本地设置权限并删除旧的测试配置文件
echoVic Sep 10, 2025
8de263f
feat(tools): 重构工具系统架构并实现核心功能
echoVic Sep 10, 2025
c397e93
feat(tools): 实现文件操作和搜索工具集
echoVic Sep 10, 2025
4dc4184
feat(tools): 新增shell、web和task工具模块
echoVic Sep 11, 2025
ff53213
feat(mcp): 重构MCP协议实现并添加工具集成支持
echoVic Sep 11, 2025
22ab35c
feat(tools): 重构工具系统并添加工具调用支持
echoVic Sep 11, 2025
639f973
refactor: 重构项目结构并移除pnpm workspace配置
echoVic Sep 28, 2025
5ffa071
feat: 重构项目结构并添加新功能
echoVic Sep 28, 2025
c234352
refactor: 移除单例模式并重构agent创建逻辑
echoVic Sep 28, 2025
3a998aa
feat: 重构命令模块并添加新功能
echoVic Sep 29, 2025
110fb71
feat(system-prompt): 实现系统提示功能并集成到聊天服务
echoVic Sep 29, 2025
6172fd0
refactor(cli): 将 CLI 从 commander 迁移到 yargs
echoVic Sep 29, 2025
05b60e7
refactor: 将项目从blade-ai重命名为blade-code
echoVic Sep 29, 2025
e36775c
ci(workflows): 重构并简化CI/CD工作流配置
echoVic Sep 29, 2025
9d5681e
docs: 更新文档结构和内容,优化用户体验
echoVic Sep 29, 2025
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .blade/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"permissions": {}
}
1 change: 1 addition & 0 deletions .claude/agents
Submodule agents added at 167009
31 changes: 31 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"permissions": {
"allow": [
"Read(//usr/local/etc/**)",
"Bash(unset:*)",
"WebFetch(domain:github.com)",
"WebSearch",
"mcp__github__get_file_contents",
"Bash(npm run type-check:*)",
"Bash(npm test)",
"Bash(npx vitest:*)",
"Bash(npm run build:*)",
"Bash(npm run lint:*)",
"Bash(npx eslint:*)",
"mcp__sequential-thinking__sequentialthinking",
"Bash(npm run start:*)",
"Bash(find:*)",
"Bash(curl:*)",
"Bash(bash)",
"Bash(node:*)",
"Bash(pnpm add:*)",
"Bash(npx:*)",
"Bash(xargs sed:*)"
],
"deny": [],
"ask": [],
"additionalDirectories": [
"/Users/bytedance"
]
}
}
40 changes: 0 additions & 40 deletions .eslintignore

This file was deleted.

47 changes: 0 additions & 47 deletions .eslintrc.cjs

This file was deleted.

108 changes: 108 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
# Blade Code CI/CD Pipeline
name: CI/CD

on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]

jobs:
test:
name: Test Suite (${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm test

- name: Run type check
run: pnpm run type-check

- name: Build project
run: pnpm run build

- name: Test build
run: pnpm run start -- --help

code-quality:
name: Code Quality
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'pnpm'

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: Run linter and formatter
run: pnpm run check
continue-on-error: true # 暂时允许失败,避免阻塞 MR

cross-platform:
name: Cross Platform (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [20.x]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 8

- name: Install dependencies
run: pnpm install

- name: Build project
run: pnpm run build

- name: Test CLI basics
run: pnpm run start -- --help

env:
CI: true
NODE_ENV: test
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# 依赖目录
node_modules/
dist/
bundle/

# pnpm 相关文件
.pnpm/
Expand Down Expand Up @@ -46,9 +47,13 @@ config.env

# 构建输出
build/
bin/
coverage/
.nyc_output/

# TypeScript 构建信息
*.tsbuildinfo

# 临时文件
.tmp/
*.tmp
Expand All @@ -61,4 +66,4 @@ blade-context/

# 其他
.cache/
.parcel-cache/
.parcel-cache/
28 changes: 0 additions & 28 deletions .prettierignore

This file was deleted.

13 changes: 0 additions & 13 deletions .prettierrc

This file was deleted.

3 changes: 1 addition & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"biomejs.biome",
"bradlc.vscode-tailwindcss",
"ms-vscode.vscode-typescript-next"
]
Expand Down
19 changes: 13 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
},
"eslint.validate": ["javascript", "typescript"],
"eslint.enable": false,
"typescript.preferences.includePackageJsonAutoImports": "on",
"typescript.suggest.autoImports": true,
"files.associations": {
"*.ts": "typescript"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "biomejs.biome"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "biomejs.biome"
},
"[javascript]": {
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
}
}
Loading
Loading