- 在 service.go 中添加 ListFeeds 业务逻辑,复用 xiaohongshu 包功能 - 添加 HTTP 接口 GET /api/v1/feeds/list - 添加 MCP tool: list_feeds,支持通过 MCP 协议获取 Feeds - 返回结构化的 Feeds 数据,包含列表和数量统计 - 更新 .gitignore 忽略构建产物和测试脚本 - 更新项目配置,添加 chmod 权限 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
386 B
JSON
19 lines
386 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"mcp__context7__resolve-library-id",
|
|
"mcp__context7__get-library-docs",
|
|
"Bash(go mod:*)",
|
|
"Bash(go build:*)",
|
|
"Bash(go get:*)",
|
|
"Bash(go list:*)",
|
|
"Bash(go test:*)",
|
|
"Bash(rmdir:*)",
|
|
"Bash(rm:*)",
|
|
"Bash(gofmt:*)",
|
|
"Bash(goimports:*)",
|
|
"Bash(chmod:*)"
|
|
],
|
|
"deny": []
|
|
}
|
|
} |