Skip to content

liteclaw

本页为离线静态分析自动生成;分数为信号驱动启发式,请结合证据与人工复核使用。

项目概况

  • 名称: liteclaw
  • Git HEAD: db8d05aeb764
  • 最近提交: 2026-02-04T10:24:24+08:00
  • 许可证: LICENSE
  • 语言: Go(140), TypeScript(112), Markdown(78), Python(10), JSON(8), Shell(6)

README 摘要

LiteClaw is a high-performance personal AI assistant written in Golang. It is designed to be resource-efficient, fast, and easily deployable as a single binary.

评分(0-10)

维度分数等级
代码质量1.0🔴 不足
可维护性3.0🟠 较弱
健壮性2.5🟠 较弱
可持续性4.0🟡 一般
可迁移性0.0🔴 不足
综合2.1🟠 较弱

工程信号

CI / 测试

  • CI: 2 个 workflow
    • .github/workflows/ci.yml, .github/workflows/release.yml
  • CI 操作系统: linux
  • 测试信号: dir:test/, file:ui/src/ui/app-settings.test.ts, file:ui/src/ui/chat-markdown.browser.test.ts, file:ui/src/ui/config-form.browser.test.ts, file:ui/src/ui/focus-mode.browser.test.ts, file:ui/src/ui/format.test.ts, file:ui/src/ui/markdown.test.ts, file:ui/src/ui/navigation.browser.test.ts

架构与发布

  • 发布信号: ci-file:.github/workflows/release.yml, ci:release:.github/workflows/release.yml

技术栈与依赖

  • Go: module=github.com/liteclaw/liteclaw

评分依据(信号 → 证据)

代码质量

  • +1 CI: 2 workflow(s) (1–2)
  • +1 tests: 10 signal(s), density 4% (<5%)
  • -1 risky code patterns (2 hits)

可维护性

  • +1 README present
  • +1 docs dirs: docs/
  • +1 CI present

健壮性

  • +1.5 tests present (density 4%)
  • +1 config signals: dir:configs/, dir:docs/
  • +1 CI present
  • -1 risky code patterns (2 hits)

可持续性

  • +1 license present
  • +1 release signals: ci-file:.github/workflows/release.yml, ci:release:.github/workflows/release.yml
  • +0.5 tags: 2 tag(s)
  • +1.5 recent commit (≤30d)

可迁移性

  • (无信号)

安全与风险信号(静态扫描)

高风险模式(需人工复核)

  • eval() (code) at internal/agent/tools/nodes.go:149
  • eval() (code) at internal/agent/tools/nodes.go:283

改进建议

  • 在 CI 中启用 Go 静态检查:gofmt + go vet(或 golangci-lint)。
  • 在 CI 增加安全扫描(依赖审计/secret 扫描/静态分析等)并设为质量闸门。
  • 审计高风险执行路径(eval/exec/shell=True/curl|bash 等):最小权限、输入验证、隔离执行。

离线静态分析 · 信号驱动梯度评分 · 证据可追溯 · 不使用外部平台指标