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.
Files changed (27) hide show
  1. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/PKG-INFO +19 -2
  2. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/README.md +17 -1
  3. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/PKG-INFO +19 -2
  4. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/SOURCES.txt +2 -0
  5. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/requires.txt +1 -0
  6. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/top_level.txt +2 -0
  7. closecode_ai-0.2.0/main.py +626 -0
  8. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/pyproject.toml +4 -1
  9. closecode_ai-0.2.0/render.py +98 -0
  10. closecode_ai-0.2.0/tui.py +1041 -0
  11. closecode_ai-0.1.0/main.py +0 -520
  12. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/agent.py +0 -0
  13. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/dependency_links.txt +0 -0
  14. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/closecode_ai.egg-info/entry_points.txt +0 -0
  15. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/debug_response.py +0 -0
  16. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/guardrails.py +0 -0
  17. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/harness.py +0 -0
  18. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/llm.py +0 -0
  19. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/mcp_tools.py +0 -0
  20. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/modes.py +0 -0
  21. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/search.py +0 -0
  22. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/session.py +0 -0
  23. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/setup.cfg +0 -0
  24. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/todos.py +0 -0
  25. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/token_tracker.py +0 -0
  26. {closecode_ai-0.1.0 → closecode_ai-0.2.0}/tools.py +0 -0
  27. {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.1.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 inside `./sandbox` (configurable via `AGENT_WORKDIR`) and
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 inside `./sandbox` (configurable via `AGENT_WORKDIR`) and
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.1.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 inside `./sandbox` (configurable via `AGENT_WORKDIR`) and
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
 
@@ -8,11 +8,13 @@ main.py
8
8
  mcp_tools.py
9
9
  modes.py
10
10
  pyproject.toml
11
+ render.py
11
12
  search.py
12
13
  session.py
13
14
  todos.py
14
15
  token_tracker.py
15
16
  tools.py
17
+ tui.py
16
18
  ui.py
17
19
  closecode_ai.egg-info/PKG-INFO
18
20
  closecode_ai.egg-info/SOURCES.txt
@@ -11,3 +11,4 @@ mcp-server-git
11
11
  langchain-openrouter
12
12
  rich
13
13
  pyfiglet
14
+ textual
@@ -6,9 +6,11 @@ llm
6
6
  main
7
7
  mcp_tools
8
8
  modes
9
+ render
9
10
  search
10
11
  session
11
12
  todos
12
13
  token_tracker
13
14
  tools
15
+ tui
14
16
  ui