JSPM

  • Created
  • Published
  • Downloads 1671
  • Score
    100M100P100Q115328F

Package Exports

  • @cc-claw/code

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cc-claw/code) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

cc-code

用开源模型跑 Agent Loop — Rust 写的终端编程助手,兼容 Claude Code 全家桶

npm License

安装

install

npm install -g @cc-claw/code

升级

npm update -g @cc-claw/code

快速开始

# 启动交互式 TUI
cc-code

# 直接给任务
cc-code "解释这个项目的目录结构"

# 指定模型
cc-code --model deepseek/deepseek-chat "重构这个函数"

支持的平台

平台 架构
Linux x86_64, aarch64, riscv64
macOS x86_64 (Intel), aarch64 (Apple Silicon)
Windows x86_64

为什么选 cc-code?

对比项 其他终端 Agent cc-code
运行时 Node.js / Bun,动辄吃 1GB 内存 Rust 原生,启动快,~50MB 内存
模型绑定 锁死一家 LLM 随便换:Anthropic、OpenAI 兼容、DeepSeek、GLM
Prompt 缓存 每轮重算,token 白烧 冻结 system prompt,95-99% 缓存命中率
Claude Code 生态 不兼容 直接用 .claude/ 配置、agents、skills、hooks、MCP

链接