mirror of
https://github.com/Heretek-AI/cod.ai.git
synced 2026-11-07 10:46:11 -10:00
Removes the Pi configs, the placeholder prompt, context, security and sub-agent modules, and the docs and tests that described them. Adds src/agent/: a streaming tool-use loop on the Messages API with file, search and shell tools, permission rules (.cod/settings.json), append-only JSONL sessions with resume, and a terminal front end (`cod`, `cod -p`, `--continue`, `--resume`). The web chat now shares the model table and history rules with the agent. Keeps the memory store and worktree runner, with a stricter memory key check and failed workers reported as failed. All tests use a fake client. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_015NGPpYxuPWkyJUoefut3Wo
24 lines
537 B
TOML
Executable File
24 lines
537 B
TOML
Executable File
[build-system]
|
|
requires = ["setuptools>=61.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "cod-ai"
|
|
version = "0.2.0"
|
|
description = "A terminal and web coding agent built on the Claude Messages API"
|
|
readme = "README.md"
|
|
requires-python = ">=3.11"
|
|
license = {text = "MIT"}
|
|
authors = [{name = "Heretek-AI", email = "[email protected]"}]
|
|
dependencies = [
|
|
"anthropic>=2.3",
|
|
"fastapi>=0.115",
|
|
"uvicorn>=0.30",
|
|
]
|
|
|
|
[project.scripts]
|
|
cod = "src.cli:main"
|
|
|
|
[tool.setuptools]
|
|
packages = ["src", "src.agent", "src.agents"]
|