Skip to content

Commit 2c45a72

Browse files
author
Your Name
committed
cleanup files
1 parent 8e8d7cd commit 2c45a72

29 files changed

Lines changed: 52 additions & 1566 deletions

AGENTS.md

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
4. **Git 用户配置** - 配置仓库的 Git 用户信息
1313
5. **任务管理** - 任务分发、同步和 GitHub 仓库创建
1414
6. **Gitcode 远程管理** - 为仓库添加 Gitcode 远程地址
15-
7. ~~**AI Agent 配置管理** - 管理多种 AI Agent(Claude Code、Codex、Kimi、GLM)的配置文件~~ (已禁用,待重新设计)
1615

1716
## 技术栈
1817

@@ -28,21 +27,16 @@
2827
spark/
2928
├── cmd/ # CLI 命令定义
3029
│ ├── root.go # 根命令和全局配置
31-
│ ├── agent.go # AI Agent 配置管理
32-
│ ├── agent_profile.go # Agent Profile 管理
3330
│ ├── task.go # 任务管理命令
3431
│ └── git/ # Git 相关命令
3532
│ ├── git.go # Git 父命令
3633
│ ├── config.go # Git 用户配置
3734
│ ├── update.go # 仓库更新命令
38-
3935
│ ├── sync.go # 子模块同步命令
4036
│ └── gitcode.go # Gitcode 远程管理
4137
├── internal/ # 内部业务逻辑
42-
│ ├── agent/ # AI Agent 管理器
4338
│ ├── config/ # 配置管理
4439
│ ├── git/ # Git 操作封装
45-
4640
│ ├── task/ # 任务管理器
4741
│ └── tui/ # 终端 UI 组件
4842
├── docs/ # 文档
@@ -312,35 +306,6 @@ spark:
312306

313307
**跨平台支持**: Mac、Linux、Windows
314308

315-
### AI Agent 管理 (已禁用)
316-
317-
> NOTE: 此功能当前已禁用,命令入口已关闭(`cmd/agent.go` 中 `rootCmd.AddCommand(agentCmd)` 已注释)。待后续重新设计后再启用。
318-
319-
#### `spark agent`
320-
管理多种 AI Agent 的配置文件。
321-
322-
支持的 Agent:
323-
- **claude-code** - Claude Code CLI
324-
- **codex** - OpenAI Codex
325-
- **kimi** - Kimi CLI
326-
- **glm** - GLM (智谱 AI)
327-
328-
```bash
329-
spark agent list # 列出所有支持的 Agent
330-
spark agent view claude-code # 查看配置
331-
spark agent edit kimi # 编辑配置
332-
spark agent edit claude-code --tui # TUI 模式选择配置文件
333-
334-
# Profile 配置模板管理
335-
spark agent profile list # 列出所有配置模板
336-
spark agent profile add my-glm --type glm # 创建一个 GLM 模板
337-
spark agent profile edit my-glm # 编辑模板配置
338-
spark agent use my-glm # 将模板应用到当前项目
339-
spark agent current # 查看当前项目使用的模板
340-
```
341-
342-
详细文档: [docs/usage/agent.md](docs/usage/agent.md)
343-
344309
### 任务管理
345310

346311
#### `spark task`
@@ -402,7 +367,7 @@ tasks/
402367
403368
## Spark Skills
404369
405-
个人 Skill 集合仓库,包含多个 AI Agent Skill,用于增强 spark-cli 的功能。
370+
个人 Skill 集合仓库,用于增强 spark-cli 的功能。
406371
407372
**仓库地址**: `variableway/spark-cli` 中的 `spark-skills/` 目录
408373

CLAUDE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Spark is a Go CLI tool (`module spark`, binary `spark`) for managing multiple Gi
3232
- `cmd/script/` — Script management commands
3333
- `cmd/task.go` — Top-level task commands in the root `cmd/` package
3434
- **`internal/`** — Business logic, separated by domain:
35-
- `agent/` — AI agent config management module (currently command entry disabled)
3635
- `config/` — Configuration loading and management
3736
- `git/` — Core Git operations (find repos, update, remote management, submodule, URL conversion)
3837
- `github/` — GitHub API interactions (list org repos, parse org URLs)

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,6 @@ go test ./internal/git/... -v -run TestFunctionName
8686

8787
---
8888

89-
### spark agent — AI Agent Configuration
90-
91-
Currently disabled in command registration. The `spark agent` entry is not added to root command.
92-
93-
---
94-
9589
### spark task — Task Management
9690

9791
| Command | Description |
@@ -160,5 +154,5 @@ Online docs: https://variableway.github.io/spark-cli/
160154
|------|---------|
161155
| [docs/usage/](docs/usage/) | Per-command usage guides |
162156
| [docs/analysis/](docs/analysis/) | Architecture & RFC documents |
163-
| [AGENTS.md](AGENTS.md) | AI agent integration guide |
157+
| [AGENTS.md](AGENTS.md) | AI integration guide |
164158
| [CLAUDE.md](CLAUDE.md) | Claude Code development guide |

cmd/agent.go

Lines changed: 0 additions & 208 deletions
This file was deleted.

0 commit comments

Comments
 (0)