正在自动登录…
Balanov/ uncut
UNCUT 是一个轻量级的编码代理工具,专为 shell 管道、CI 作业和本地模型设计,强调无损传输,不截断上下文。适用于需要在自动化流程中集成编码代理的开发者。
AI 中文解读 · 根据仓库描述与 README 生成 · 2026/11/2 03:36:10 · 查看原文
- 累计 Stars
- 149
- 当前热度
- 1 天内 · 小火
- 仓库创建时间
选用指南
AI 根据 README 整理 · 2026/11/2 03:36:10
- 使用方式
通过命令行使用,支持管道输入和 JSONL 事件输出,可配置会话恢复。
查看 README 依据
export UNCUT_BASE_URL="http://localhost:11434/v1" export UNCUT_MODEL="qwen3:8b" uncut "Explain this repository" ``` No API key is required by default for local endpoints. In PowerShell, set variables with `$env:UNCUT_BASE_URL = "..."` and `$env:UNCUT_MODEL = "..."`. Replace the example model with one actually installed on your machine; tool-call behavior depends on the model. ### Unix pipelines ```sh git diff | uncut "Review this diff. Do not edit files." cat failing-test.log | uncut "Find the likely cause" ```
Piped input is appended to the prompt verbatim. UNCUT accepts valid UTF-8 text and rejects invalid input rather than replacing bytes silently. ### JSONL events ```sh uncut --json "Run the tests and fix the failure" ``` The event stream contains `user`, `assistant`, `assistant_meta`, `tool`, and finally `done` or `error` records. Assistant messages include complete tool calls; tool messages include complete results. Usage and finish reasons are separate `assistant_meta` events. ### Sessions ```sh uncut --session .uncut/work.jsonl "Start the refactor"
- 部署要求
需要 Go 1.26 或更高版本以从源码构建,或直接下载预编译二进制。运行时需要配置模型和 API 密钥,本地模型可无需密钥。
查看 README 依据
[](LICENSE) [](go.mod) UNCUT is a tiny coding-agent harness for shell pipelines, CI jobs, containers, and agent experiments. It deliberately has no TUI, telemetry, plugin system, background agents, automatic retries, or context compaction.
go build -trimpath -ldflags="-s -w" -o bin/uncut ./cmd/uncut ``` On Windows, use `bin/uncut.exe` as the output path. ## Quick start Set a model and API key: ```sh export UNCUT_API_KEY="your-api-key" export UNCUT_MODEL="your-model-id" uncut "Inspect this repository and fix the failing tests" ``` For an OpenAI-compatible provider, also set its base URL: ```sh export UNCUT_BASE_URL="https://openrouter.ai/api/v1" ``` For a local Ollama server with an installed tool-capable model (this exact setup was smoke-tested with `qwen3:8b`): ```sh ollama pull qwen3:8b
- 已知限制
不支持图像输入,拒绝二进制文件和无效 UTF-8,且不提供沙箱保护,模型可执行系统命令。
查看 README 依据
Binary files and invalid UTF-8 are rejected explicitly. UNCUT uses non-streaming Chat Completions and supports text plus tool calls, not images. ## Safety **UNCUT is not a sandbox.** The model can execute shell commands with your operating-system user's permissions. Workspace checks on file tools do not constrain what a shell command can access. Run untrusted tasks in a disposable container or isolated environment, and review sessions and changes yourself. There are no approval popups, automatic commits, automatic retries, or hidden recovery loops. ## Verify the lossless contract
README
正在加载 README…
收录信息
- 仓库创建时间
- 2026/11/2 01:19:30
- 首次达标收录
- 2026/11/2 03:31:54
- 统计更新时间
- 2026/11/2 05:01:07
按创建时长与累计 Stars 判断等级。首次达标收录后,即使未达当前门槛仍保留;累计 Stars 和仓库状态会定期更新。确认只有 README 及辅助文件的仓库会停止公开。
模型评估
值得看加权总分 4.1 / 5
由 Jev 模型根据仓库描述与 README 评估,2026/11/2 03:31:54 生成。评分仅供参考,不是代码、安全或许可证审查;热度等级另按创建时长与累计 Stars 计算。
仓库信息
- 最近推送
- 2026/11/2 02:25:56
- 许可证标识
- MIT
- Fork 数
- 0
- 当前状态
- 未归档
收录记录
按创建时长与累计 Stars 首次收录:小火
首次发现项目