craft-code 0.1.0__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. craft_code-0.1.2/PKG-INFO +39 -0
  2. {craft_code-0.1.0 → craft_code-0.1.2}/pyproject.toml +3 -4
  3. craft_code-0.1.0/PKG-INFO +0 -121
  4. {craft_code-0.1.0 → craft_code-0.1.2}/.env.example +0 -0
  5. {craft_code-0.1.0 → craft_code-0.1.2}/.github/workflows/claude-code-review.yml +0 -0
  6. {craft_code-0.1.0 → craft_code-0.1.2}/.github/workflows/claude.yml +0 -0
  7. {craft_code-0.1.0 → craft_code-0.1.2}/.gitignore +0 -0
  8. {craft_code-0.1.0 → craft_code-0.1.2}/AGENTS.md +0 -0
  9. {craft_code-0.1.0 → craft_code-0.1.2}/LICENSE +0 -0
  10. {craft_code-0.1.0 → craft_code-0.1.2}/README.md +0 -0
  11. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/AGENTS.md +0 -0
  12. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/__init__.py +0 -0
  13. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/__main__.py +0 -0
  14. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/agent.py +0 -0
  15. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/auth.py +0 -0
  16. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/cli.py +0 -0
  17. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/config.py +0 -0
  18. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/interrupt_handler.py +0 -0
  19. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/prompts.py +0 -0
  20. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/skills/code-review/SKILL.md +0 -0
  21. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/skills/testing/SKILL.md +0 -0
  22. {craft_code-0.1.0 → craft_code-0.1.2}/code_craft/tools.py +0 -0
  23. {craft_code-0.1.0 → craft_code-0.1.2}/example.py +0 -0
  24. {craft_code-0.1.0 → craft_code-0.1.2}/skills/code-review/SKILL.md +0 -0
  25. {craft_code-0.1.0 → craft_code-0.1.2}/skills/testing/SKILL.md +0 -0
@@ -0,0 +1,39 @@
1
+ Metadata-Version: 2.4
2
+ Name: craft-code
3
+ Version: 0.1.2
4
+ Summary: An AI coding assistant
5
+ Project-URL: Homepage, https://github.com/shubhamagarwal/code-craft
6
+ Project-URL: Repository, https://github.com/shubhamagarwal/code-craft
7
+ Project-URL: Bug Tracker, https://github.com/shubhamagarwal/code-craft/issues
8
+ Author: Shubham Agarwal
9
+ License: MIT
10
+ License-File: LICENSE
11
+ Keywords: agent,ai,claude,coding-assistant,langchain,llm
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
+ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
22
+ Requires-Python: >=3.11
23
+ Requires-Dist: deepagents>=0.4.0
24
+ Requires-Dist: langchain-anthropic>=0.3.0
25
+ Requires-Dist: langchain-openrouter>=0.1.0
26
+ Requires-Dist: langgraph-checkpoint>=2.0.0
27
+ Requires-Dist: langgraph>=0.3.0
28
+ Requires-Dist: prompt-toolkit>=3.0.0
29
+ Requires-Dist: python-dotenv>=1.0.0
30
+ Requires-Dist: rich>=13.0.0
31
+ Provides-Extra: dev
32
+ Requires-Dist: build>=1.0; extra == 'dev'
33
+ Requires-Dist: pytest>=8.0; extra == 'dev'
34
+ Requires-Dist: ruff>=0.8.0; extra == 'dev'
35
+ Requires-Dist: twine>=5.0; extra == 'dev'
36
+ Provides-Extra: openrouter
37
+ Requires-Dist: langchain-openrouter>=0.1.0; extra == 'openrouter'
38
+ Provides-Extra: sandbox
39
+ Requires-Dist: langchain-daytona>=0.1.0; extra == 'sandbox'
@@ -1,8 +1,7 @@
1
1
  [project]
2
2
  name = "craft-code"
3
- version = "0.1.0"
4
- description = "A Claude Code-like AI coding assistant built with LangChain Deep Agents"
5
- readme = "README.md"
3
+ version = "0.1.2"
4
+ description = "An AI coding assistant"
6
5
  requires-python = ">=3.11"
7
6
  license = { text = "MIT" }
8
7
  authors = [
@@ -52,7 +51,7 @@ sandbox = [
52
51
  ]
53
52
 
54
53
  [project.scripts]
55
- code-craft = "code_craft.cli:main"
54
+ craft-code = "code_craft.cli:main"
56
55
 
57
56
  [build-system]
58
57
  requires = ["hatchling"]
craft_code-0.1.0/PKG-INFO DELETED
@@ -1,121 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: craft-code
3
- Version: 0.1.0
4
- Summary: A Claude Code-like AI coding assistant built with LangChain Deep Agents
5
- Project-URL: Homepage, https://github.com/shubhamagarwal/code-craft
6
- Project-URL: Repository, https://github.com/shubhamagarwal/code-craft
7
- Project-URL: Bug Tracker, https://github.com/shubhamagarwal/code-craft/issues
8
- Author: Shubham Agarwal
9
- License: MIT
10
- License-File: LICENSE
11
- Keywords: agent,ai,claude,coding-assistant,langchain,llm
12
- Classifier: Development Status :: 3 - Alpha
13
- Classifier: Environment :: Console
14
- Classifier: Intended Audience :: Developers
15
- Classifier: License :: OSI Approved :: MIT License
16
- Classifier: Programming Language :: Python :: 3
17
- Classifier: Programming Language :: Python :: 3.11
18
- Classifier: Programming Language :: Python :: 3.12
19
- Classifier: Programming Language :: Python :: 3.13
20
- Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
21
- Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
22
- Requires-Python: >=3.11
23
- Requires-Dist: deepagents>=0.4.0
24
- Requires-Dist: langchain-anthropic>=0.3.0
25
- Requires-Dist: langchain-openrouter>=0.1.0
26
- Requires-Dist: langgraph-checkpoint>=2.0.0
27
- Requires-Dist: langgraph>=0.3.0
28
- Requires-Dist: prompt-toolkit>=3.0.0
29
- Requires-Dist: python-dotenv>=1.0.0
30
- Requires-Dist: rich>=13.0.0
31
- Provides-Extra: dev
32
- Requires-Dist: build>=1.0; extra == 'dev'
33
- Requires-Dist: pytest>=8.0; extra == 'dev'
34
- Requires-Dist: ruff>=0.8.0; extra == 'dev'
35
- Requires-Dist: twine>=5.0; extra == 'dev'
36
- Provides-Extra: openrouter
37
- Requires-Dist: langchain-openrouter>=0.1.0; extra == 'openrouter'
38
- Provides-Extra: sandbox
39
- Requires-Dist: langchain-daytona>=0.1.0; extra == 'sandbox'
40
- Description-Content-Type: text/markdown
41
-
42
- # Code Craft
43
-
44
- A Claude Code-like AI coding assistant built with [LangChain Deep Agents](https://docs.langchain.com/oss/python/deepagents/overview).
45
-
46
- ## Features
47
-
48
- - **File system access** — reads, writes, and edits project files
49
- - **Shell execution** — runs commands (tests, linters, build tools)
50
- - **Agentic planning** — breaks tasks into steps with `write_todos`
51
- - **Human-in-the-loop** — asks approval before destructive operations
52
- - **Persistent memory** — remembers project context across sessions
53
- - **Subagent delegation** — spawns code-reviewer and researcher subagents
54
- - **Skill system** — lazy-loaded workflows for testing, code review, etc.
55
-
56
- ## Quick Start
57
-
58
- ```bash
59
- # 1. Clone and install
60
- cd code-craft
61
- uv venv && source .venv/bin/activate
62
- uv pip install -e .
63
-
64
- # 2. Set your API key
65
- cp .env.example .env
66
- # Edit .env and add your ANTHROPIC_API_KEY
67
-
68
- # 3. Run
69
- coding-agent
70
- ```
71
-
72
- ## Usage
73
-
74
- ```bash
75
- # Interactive CLI
76
- coding-agent
77
-
78
- # Or run directly
79
- python -m code_craft
80
- ```
81
-
82
- Inside the CLI:
83
- - Type your coding request
84
- - The agent will ask for approval before file writes and shell commands
85
- - Use `/new` to start a fresh thread, `/quit` to exit
86
-
87
- ## Programmatic Usage
88
-
89
- ```python
90
- from code_craft.agent import build_agent
91
- from code_craft.config import AgentConfig
92
-
93
- config = AgentConfig(project_root="/path/to/your/project")
94
- agent, checkpointer, store = build_agent(config)
95
- ```
96
-
97
- ## Configuration
98
-
99
- Set these in `.env` or as environment variables:
100
-
101
- | Variable | Default | Description |
102
- |---|---|---|
103
- | `ANTHROPIC_API_KEY` | (required) | Your Anthropic API key |
104
- | `MODEL` | `anthropic:claude-sonnet-4-6` | Model to use |
105
- | `PROJECT_ROOT` | `.` | Root directory for file operations |
106
-
107
- ## Architecture
108
-
109
- ```
110
- code_craft/
111
- agent.py — Agent factory with backends, subagents, skills
112
- cli.py — Interactive Rich-powered CLI
113
- config.py — AgentConfig dataclass
114
- interrupt_handler.py — Human-in-the-loop approval UI
115
- prompts.py — System prompts
116
- tools.py — Custom tools (git, delete, tests)
117
- skills/
118
- testing/SKILL.md — Test writing workflow
119
- code_review/SKILL.md — Code review workflow
120
- AGENTS.md — Project context for the agent
121
- ```
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes