codepilot-cli-app 0.9.6__py3-none-any.whl

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.
cli/__init__.py ADDED
@@ -0,0 +1 @@
1
+ # cli package
cli/__main__.py ADDED
@@ -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()
cli/agent.yaml ADDED
@@ -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