codepilot-cli-app 0.9.6__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.
- codepilot_cli_app-0.9.6/PKG-INFO +33 -0
- codepilot_cli_app-0.9.6/README.md +18 -0
- codepilot_cli_app-0.9.6/cli/__init__.py +1 -0
- codepilot_cli_app-0.9.6/cli/__main__.py +21 -0
- codepilot_cli_app-0.9.6/cli/agent.yaml +60 -0
- codepilot_cli_app-0.9.6/cli/app.py +1991 -0
- codepilot_cli_app-0.9.6/cli/modals.py +6 -0
- codepilot_cli_app-0.9.6/cli/sessions.py +65 -0
- codepilot_cli_app-0.9.6/cli/theme.py +121 -0
- codepilot_cli_app-0.9.6/codepilot_cli_app.egg-info/PKG-INFO +33 -0
- codepilot_cli_app-0.9.6/codepilot_cli_app.egg-info/SOURCES.txt +15 -0
- codepilot_cli_app-0.9.6/codepilot_cli_app.egg-info/dependency_links.txt +1 -0
- codepilot_cli_app-0.9.6/codepilot_cli_app.egg-info/entry_points.txt +2 -0
- codepilot_cli_app-0.9.6/codepilot_cli_app.egg-info/requires.txt +8 -0
- codepilot_cli_app-0.9.6/codepilot_cli_app.egg-info/top_level.txt +1 -0
- codepilot_cli_app-0.9.6/pyproject.toml +37 -0
- codepilot_cli_app-0.9.6/setup.cfg +4 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: codepilot-cli-app
|
|
3
|
+
Version: 0.9.6
|
|
4
|
+
Summary: CodePilot – agentic engineering CLI
|
|
5
|
+
Project-URL: Homepage, https://github.com/your-org/codepilot
|
|
6
|
+
Requires-Python: >=3.11
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
Requires-Dist: rich>=13.7.0
|
|
9
|
+
Requires-Dist: prompt_toolkit>=3.0.43
|
|
10
|
+
Requires-Dist: pyyaml>=6.0
|
|
11
|
+
Requires-Dist: codepilot-ai>=0.9.6
|
|
12
|
+
Provides-Extra: dev
|
|
13
|
+
Requires-Dist: build; extra == "dev"
|
|
14
|
+
Requires-Dist: twine; extra == "dev"
|
|
15
|
+
|
|
16
|
+
# CodePilot CLI
|
|
17
|
+
|
|
18
|
+
CodePilot CLI is a cross-platform command-line interface for the `codepilot-ai`
|
|
19
|
+
runtime.
|
|
20
|
+
|
|
21
|
+
## Install
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
pipx install codepilot-cli
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
After installation, run it from any directory:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
codepilot
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The CLI uses the current working directory as the agent workspace.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# CodePilot CLI
|
|
2
|
+
|
|
3
|
+
CodePilot CLI is a cross-platform command-line interface for the `codepilot-ai`
|
|
4
|
+
runtime.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
pipx install codepilot-cli
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
After installation, run it from any directory:
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
codepilot
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
The CLI uses the current working directory as the agent workspace.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# cli package
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"""
|
|
2
|
+
cli/__main__.py – Entry point for `codepilot` command and `python -m cli`
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
|
|
7
|
+
import sys
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def main() -> None:
|
|
11
|
+
"""Entry-point registered in pyproject.toml."""
|
|
12
|
+
try:
|
|
13
|
+
from .app import run_cli
|
|
14
|
+
run_cli()
|
|
15
|
+
except KeyboardInterrupt:
|
|
16
|
+
print("\n Goodbye.")
|
|
17
|
+
sys.exit(0)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
if __name__ == "__main__":
|
|
21
|
+
main()
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
agent:
|
|
2
|
+
name: codepilot CLI
|
|
3
|
+
role: An expert software engineering AI Agent expert in backend systems powered
|
|
4
|
+
by codepilot-ai agentic runtime interfaced through CLI application.
|
|
5
|
+
system_prompt: You're expert in backend systems, you can have unrestricted access
|
|
6
|
+
to host through built-in tools and raw python via ```codepilot fenced block to
|
|
7
|
+
solve task. You can have combination of raw python, tools, or only python runtime
|
|
8
|
+
code to solve a Task if needed. Prioritize to save tokens as much as you can through
|
|
9
|
+
smart tool usage or raw python!
|
|
10
|
+
model:
|
|
11
|
+
provider: deepseek
|
|
12
|
+
name: deepseek-v4-flash
|
|
13
|
+
api_key_env: DEEPSEEK_API_KEY
|
|
14
|
+
thinking:
|
|
15
|
+
enabled: false
|
|
16
|
+
reasoning_effort: high
|
|
17
|
+
runtime:
|
|
18
|
+
work_dir: ${WORK_DIR}
|
|
19
|
+
max_steps: 25
|
|
20
|
+
unsafe_mode: true
|
|
21
|
+
tools:
|
|
22
|
+
- name: file_editor
|
|
23
|
+
enabled: true
|
|
24
|
+
config:
|
|
25
|
+
require_permission: false
|
|
26
|
+
- name: read_file
|
|
27
|
+
enabled: true
|
|
28
|
+
- name: write_file
|
|
29
|
+
enabled: true
|
|
30
|
+
config:
|
|
31
|
+
require_permission: true
|
|
32
|
+
- name: execute
|
|
33
|
+
enabled: true
|
|
34
|
+
config:
|
|
35
|
+
require_permission: true
|
|
36
|
+
- name: read_output
|
|
37
|
+
enabled: true
|
|
38
|
+
- name: send_input
|
|
39
|
+
enabled: true
|
|
40
|
+
config:
|
|
41
|
+
require_permission: true
|
|
42
|
+
- name: terminate_terminal
|
|
43
|
+
enabled: true
|
|
44
|
+
- name: find
|
|
45
|
+
enabled: true
|
|
46
|
+
- name: ask_user
|
|
47
|
+
enabled: true
|
|
48
|
+
- name: semantic_search
|
|
49
|
+
enabled: true
|
|
50
|
+
config:
|
|
51
|
+
api_key_env: VOYAGE_API_KEY
|
|
52
|
+
model: voyage-code-3
|
|
53
|
+
base_url: https://api.voyageai.com/v1
|
|
54
|
+
provider: openai
|
|
55
|
+
max_results: 5
|
|
56
|
+
timeout: 60
|
|
57
|
+
max_output_chars: 8000
|
|
58
|
+
sub_agents:
|
|
59
|
+
enabled: false
|
|
60
|
+
max_steps: 20
|