closecode-ai 0.1.0__tar.gz → 0.2.0__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.
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/PKG-INFO +19 -2
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/README.md +17 -1
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/PKG-INFO +19 -2
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/SOURCES.txt +2 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/requires.txt +1 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/top_level.txt +2 -0
- closecode_ai-0.2.0/main.py +626 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/pyproject.toml +4 -1
- closecode_ai-0.2.0/render.py +98 -0
- closecode_ai-0.2.0/tui.py +1041 -0
- closecode_ai-0.1.0/main.py +0 -520
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/agent.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/dependency_links.txt +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/entry_points.txt +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/debug_response.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/guardrails.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/harness.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/llm.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/mcp_tools.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/modes.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/search.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/session.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/setup.cfg +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/todos.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/token_tracker.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/tools.py +0 -0
- {closecode_ai-0.1.0 → closecode_ai-0.2.0}/ui.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: closecode-ai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: CloseCode — an agentic terminal coding assistant (LangGraph + OpenRouter + MCP)
|
|
5
5
|
Author: Om Gite
|
|
6
6
|
License: MIT
|
|
@@ -19,6 +19,7 @@ Requires-Dist: mcp-server-git
|
|
|
19
19
|
Requires-Dist: langchain-openrouter
|
|
20
20
|
Requires-Dist: rich
|
|
21
21
|
Requires-Dist: pyfiglet
|
|
22
|
+
Requires-Dist: textual
|
|
22
23
|
|
|
23
24
|
# terminal-agent
|
|
24
25
|
|
|
@@ -49,6 +50,21 @@ If `OPENROUTER_API_KEY` isn't set (env or `.env`), the agent prompts you to
|
|
|
49
50
|
paste one at startup — input is hidden — and offers to save it to `.env`
|
|
50
51
|
for next time. You can rotate it later with the `/key` command.
|
|
51
52
|
|
|
53
|
+
## Tools
|
|
54
|
+
|
|
55
|
+
| Tool | What it does |
|
|
56
|
+
|---|---|
|
|
57
|
+
| `read_file` / `write_file` / `edit_file` / `list_dir` | file operations inside the working directory |
|
|
58
|
+
| `bash` / `run_tests` | foreground shell (capped at 5 min) |
|
|
59
|
+
| `bash_background` / `bash_poll` | long-running commands (servers, watchers, builds) |
|
|
60
|
+
| `glob` / `grep` | find files and search contents (work in plan mode too) |
|
|
61
|
+
| `todo_write` / `todo_read` | task list the agent maintains for multi-step work |
|
|
62
|
+
| `tavily_search` | web search (needs `TAVILY_API_KEY`) |
|
|
63
|
+
| git (MCP) | status/diff/log/commit… (needs `AGENT_ENABLE_GIT=true`) |
|
|
64
|
+
|
|
65
|
+
Commands: `/plan`, `/build`, `/models`, `/model`, `/key`, `/compact`,
|
|
66
|
+
`/sessions`, `/resume`, `/delete`, `/usage`, `/clear`, `/help`.
|
|
67
|
+
|
|
52
68
|
## Switching models
|
|
53
69
|
|
|
54
70
|
```text
|
|
@@ -65,7 +81,8 @@ shortlist. The model choice is saved per session, so `/resume` restores
|
|
|
65
81
|
the model you were using. Free-tier `:free` models cost nothing; check
|
|
66
82
|
https://openrouter.ai/models for paid-model pricing before switching.
|
|
67
83
|
|
|
68
|
-
The agent operates
|
|
84
|
+
The agent operates in the directory you launch it from (override with
|
|
85
|
+
`AGENT_WORKDIR=./sandbox` to jail it to a subfolder) and
|
|
69
86
|
will ask for permission before running shell commands or writing files,
|
|
70
87
|
unless `AGENT_AUTO_APPROVE=true`.
|
|
71
88
|
|
|
@@ -27,6 +27,21 @@ If `OPENROUTER_API_KEY` isn't set (env or `.env`), the agent prompts you to
|
|
|
27
27
|
paste one at startup — input is hidden — and offers to save it to `.env`
|
|
28
28
|
for next time. You can rotate it later with the `/key` command.
|
|
29
29
|
|
|
30
|
+
## Tools
|
|
31
|
+
|
|
32
|
+
| Tool | What it does |
|
|
33
|
+
|---|---|
|
|
34
|
+
| `read_file` / `write_file` / `edit_file` / `list_dir` | file operations inside the working directory |
|
|
35
|
+
| `bash` / `run_tests` | foreground shell (capped at 5 min) |
|
|
36
|
+
| `bash_background` / `bash_poll` | long-running commands (servers, watchers, builds) |
|
|
37
|
+
| `glob` / `grep` | find files and search contents (work in plan mode too) |
|
|
38
|
+
| `todo_write` / `todo_read` | task list the agent maintains for multi-step work |
|
|
39
|
+
| `tavily_search` | web search (needs `TAVILY_API_KEY`) |
|
|
40
|
+
| git (MCP) | status/diff/log/commit… (needs `AGENT_ENABLE_GIT=true`) |
|
|
41
|
+
|
|
42
|
+
Commands: `/plan`, `/build`, `/models`, `/model`, `/key`, `/compact`,
|
|
43
|
+
`/sessions`, `/resume`, `/delete`, `/usage`, `/clear`, `/help`.
|
|
44
|
+
|
|
30
45
|
## Switching models
|
|
31
46
|
|
|
32
47
|
```text
|
|
@@ -43,7 +58,8 @@ shortlist. The model choice is saved per session, so `/resume` restores
|
|
|
43
58
|
the model you were using. Free-tier `:free` models cost nothing; check
|
|
44
59
|
https://openrouter.ai/models for paid-model pricing before switching.
|
|
45
60
|
|
|
46
|
-
The agent operates
|
|
61
|
+
The agent operates in the directory you launch it from (override with
|
|
62
|
+
`AGENT_WORKDIR=./sandbox` to jail it to a subfolder) and
|
|
47
63
|
will ask for permission before running shell commands or writing files,
|
|
48
64
|
unless `AGENT_AUTO_APPROVE=true`.
|
|
49
65
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: closecode-ai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: CloseCode — an agentic terminal coding assistant (LangGraph + OpenRouter + MCP)
|
|
5
5
|
Author: Om Gite
|
|
6
6
|
License: MIT
|
|
@@ -19,6 +19,7 @@ Requires-Dist: mcp-server-git
|
|
|
19
19
|
Requires-Dist: langchain-openrouter
|
|
20
20
|
Requires-Dist: rich
|
|
21
21
|
Requires-Dist: pyfiglet
|
|
22
|
+
Requires-Dist: textual
|
|
22
23
|
|
|
23
24
|
# terminal-agent
|
|
24
25
|
|
|
@@ -49,6 +50,21 @@ If `OPENROUTER_API_KEY` isn't set (env or `.env`), the agent prompts you to
|
|
|
49
50
|
paste one at startup — input is hidden — and offers to save it to `.env`
|
|
50
51
|
for next time. You can rotate it later with the `/key` command.
|
|
51
52
|
|
|
53
|
+
## Tools
|
|
54
|
+
|
|
55
|
+
| Tool | What it does |
|
|
56
|
+
|---|---|
|
|
57
|
+
| `read_file` / `write_file` / `edit_file` / `list_dir` | file operations inside the working directory |
|
|
58
|
+
| `bash` / `run_tests` | foreground shell (capped at 5 min) |
|
|
59
|
+
| `bash_background` / `bash_poll` | long-running commands (servers, watchers, builds) |
|
|
60
|
+
| `glob` / `grep` | find files and search contents (work in plan mode too) |
|
|
61
|
+
| `todo_write` / `todo_read` | task list the agent maintains for multi-step work |
|
|
62
|
+
| `tavily_search` | web search (needs `TAVILY_API_KEY`) |
|
|
63
|
+
| git (MCP) | status/diff/log/commit… (needs `AGENT_ENABLE_GIT=true`) |
|
|
64
|
+
|
|
65
|
+
Commands: `/plan`, `/build`, `/models`, `/model`, `/key`, `/compact`,
|
|
66
|
+
`/sessions`, `/resume`, `/delete`, `/usage`, `/clear`, `/help`.
|
|
67
|
+
|
|
52
68
|
## Switching models
|
|
53
69
|
|
|
54
70
|
```text
|
|
@@ -65,7 +81,8 @@ shortlist. The model choice is saved per session, so `/resume` restores
|
|
|
65
81
|
the model you were using. Free-tier `:free` models cost nothing; check
|
|
66
82
|
https://openrouter.ai/models for paid-model pricing before switching.
|
|
67
83
|
|
|
68
|
-
The agent operates
|
|
84
|
+
The agent operates in the directory you launch it from (override with
|
|
85
|
+
`AGENT_WORKDIR=./sandbox` to jail it to a subfolder) and
|
|
69
86
|
will ask for permission before running shell commands or writing files,
|
|
70
87
|
unless `AGENT_AUTO_APPROVE=true`.
|
|
71
88
|
|