vamp-cli 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.
- {vamp_cli-0.1.0/src/vamp_cli.egg-info → vamp_cli-0.1.2}/PKG-INFO +4 -4
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/README.md +2 -2
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/pyproject.toml +7 -2
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/main.py +1 -1
- vamp_cli-0.1.2/src/vamp_cli/prompts/agent.md +89 -0
- vamp_cli-0.1.2/src/vamp_cli/prompts/coder.md +91 -0
- vamp_cli-0.1.2/src/vamp_cli/prompts/planner.md +49 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2/src/vamp_cli.egg-info}/PKG-INFO +4 -4
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli.egg-info/SOURCES.txt +3 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/LICENSE +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/setup.cfg +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/context_sync.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/graph.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/instructions.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/nodes.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/roles.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/runtime/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/runtime/runtime.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/state.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/agent/status.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/config/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/config/loader.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/config/schema.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/llm/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/llm/adapter.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/llm/adapter_registry.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/llm/debug_callbacks.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/llm/router.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/llm/usage.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/logging_setup/logging_setup.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/persistence/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/persistence/compaction.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/persistence/emitter.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/persistence/event_log.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/persistence/fork.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/persistence/loader.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/persistence/transcript.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/prompts/prompts.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/sandbox/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/sandbox/base.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/sandbox/config.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/sandbox/docker.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/sandbox/manager.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/sandbox/result.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/sandbox/terminal.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/tools/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/tools/base.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/tools/diagnostic.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/tools/execute_cmd.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/tools/files.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/tools/registry.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/tools/tools_classes.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/utils/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/utils/error_codes.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/utils/ignore.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/utils/sha_256.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/utils/token_tracker.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/workspace/__init__.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli/workspace/workspace.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli.egg-info/dependency_links.txt +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli.egg-info/entry_points.txt +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli.egg-info/requires.txt +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/src/vamp_cli.egg-info/top_level.txt +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/tests/test_list_dir.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/tests/test_loader.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/tests/test_model_fallbacks.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/tests/test_persistence.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/tests/test_registry_async.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/tests/test_sandbox_roundtrip.py +0 -0
- {vamp_cli-0.1.0 → vamp_cli-0.1.2}/tests/test_system_verification.py +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vamp-cli
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: CLI coding agent.
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: VAMP-CLI is an interactive coding agent for working in a local repository. It combines a planner, a coder, model fallbacks, workspace-aware file tools, and a Docker-backed command sandbox in one terminal application. The agent can inspect and edit files, search a codebase, run commands, maintain a task list, and ask for confirmation before executing potentially dangerous operations.
|
|
5
5
|
Author-email: Satyam Kumar <satkr2208@gmail.com>
|
|
6
6
|
License: MIT License
|
|
7
7
|
|
|
@@ -91,10 +91,10 @@ The first run automatically builds the `vamp-sandbox:latest` image from [`src/va
|
|
|
91
91
|
Create and activate a virtual environment, then install the project (all dependencies will be installed itself):
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
|
-
python3 -m venv .venv
|
|
94
|
+
python3.11 -m venv .venv
|
|
95
95
|
source .venv/bin/activate
|
|
96
96
|
python -m pip install --upgrade pip
|
|
97
|
-
python -m pip install -
|
|
97
|
+
python -m pip install vamp-cli
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
Confirm that Docker is available before starting the agent:
|
|
@@ -37,10 +37,10 @@ The first run automatically builds the `vamp-sandbox:latest` image from [`src/va
|
|
|
37
37
|
Create and activate a virtual environment, then install the project (all dependencies will be installed itself):
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
|
-
python3 -m venv .venv
|
|
40
|
+
python3.11 -m venv .venv
|
|
41
41
|
source .venv/bin/activate
|
|
42
42
|
python -m pip install --upgrade pip
|
|
43
|
-
python -m pip install -
|
|
43
|
+
python -m pip install vamp-cli
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
Confirm that Docker is available before starting the agent:
|
|
@@ -4,11 +4,12 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "vamp-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.2"
|
|
8
8
|
authors = [
|
|
9
9
|
{ name = "Satyam Kumar", email = "satkr2208@gmail.com" }
|
|
10
10
|
]
|
|
11
|
-
description = "CLI coding agent."
|
|
11
|
+
description = "VAMP-CLI is an interactive coding agent for working in a local repository. It combines a planner, a coder, model fallbacks, workspace-aware file tools, and a Docker-backed command sandbox in one terminal application. The agent can inspect and edit files, search a codebase, run commands, maintain a task list, and ask for confirmation before executing potentially dangerous operations."
|
|
12
|
+
|
|
12
13
|
readme = "README.md"
|
|
13
14
|
requires-python = ">=3.11"
|
|
14
15
|
license = { file = "LICENSE" }
|
|
@@ -41,6 +42,10 @@ dependencies = [
|
|
|
41
42
|
[tool.setuptools.packages.find]
|
|
42
43
|
where = ["src"]
|
|
43
44
|
|
|
45
|
+
[tool.setuptools.package-data]
|
|
46
|
+
vamp_cli = ["*.md", "**/*.md"]
|
|
47
|
+
|
|
48
|
+
|
|
44
49
|
[project.scripts]
|
|
45
50
|
vamp = "vamp_cli.main:start"
|
|
46
51
|
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent
|
|
3
|
+
version: 1
|
|
4
|
+
variables: []
|
|
5
|
+
---
|
|
6
|
+
You are an autonomous coding agent operating inside a sandboxed workspace.
|
|
7
|
+
|
|
8
|
+
Your job is to complete the user's coding task end-to-end by inspecting the
|
|
9
|
+
workspace, understanding the relevant code, making the required changes, and
|
|
10
|
+
verifying the result.
|
|
11
|
+
|
|
12
|
+
### Rules
|
|
13
|
+
|
|
14
|
+
1. Read before editing. Never assume a file's contents. Inspect relevant files
|
|
15
|
+
first.
|
|
16
|
+
|
|
17
|
+
2. Determine the complexity of the task before making changes.
|
|
18
|
+
- For simple, localized tasks, you may proceed directly after understanding
|
|
19
|
+
the relevant code.
|
|
20
|
+
- For complex, multi-file, architectural, or risky tasks, investigate the
|
|
21
|
+
repository first and formulate a concrete implementation plan before
|
|
22
|
+
making changes.
|
|
23
|
+
|
|
24
|
+
3. When planning a complex task:
|
|
25
|
+
- Use read-only tools to investigate the relevant code and architecture.
|
|
26
|
+
- Do not modify files while investigating or planning.
|
|
27
|
+
- Base the plan on the repository as it actually exists.
|
|
28
|
+
- Once you have enough information to proceed, execute the plan.
|
|
29
|
+
|
|
30
|
+
4. Choose the most specific tool. Prefer dedicated file tools for file
|
|
31
|
+
operations; use `execute_command` when actual shell/CLI execution is
|
|
32
|
+
required.
|
|
33
|
+
|
|
34
|
+
5. Make minimal changes. Modify only what is necessary for the requested task
|
|
35
|
+
and preserve unrelated code.
|
|
36
|
+
|
|
37
|
+
6. Use targeted edits. Use `apply_search_replace` for localized changes to
|
|
38
|
+
existing files. Use `write_file` for new files or intentional full-file
|
|
39
|
+
replacement.
|
|
40
|
+
|
|
41
|
+
7. Protect existing files. Never overwrite an existing file unless replacement
|
|
42
|
+
is explicitly required.
|
|
43
|
+
|
|
44
|
+
8. Verify every edit. After modifying a file, verify that it parses/compiles.
|
|
45
|
+
Run relevant tests, linters, or other validation when appropriate.
|
|
46
|
+
|
|
47
|
+
9. Check the result. A successful tool call does not prove the task succeeded.
|
|
48
|
+
Inspect or test the final state.
|
|
49
|
+
|
|
50
|
+
10. Handle errors carefully. Read tool errors and adjust the approach before
|
|
51
|
+
retrying. Do not blindly repeat failed operations.
|
|
52
|
+
|
|
53
|
+
11. Stay within the workspace. Do not assume access to files outside the
|
|
54
|
+
sandbox.
|
|
55
|
+
|
|
56
|
+
12. Be truthful. Never claim a change, test, or command succeeded unless you
|
|
57
|
+
have evidence.
|
|
58
|
+
|
|
59
|
+
### Planning and execution
|
|
60
|
+
|
|
61
|
+
Planning is part of your reasoning process, not a separate task that must be
|
|
62
|
+
performed for every request.
|
|
63
|
+
|
|
64
|
+
Do not over-plan simple tasks.
|
|
65
|
+
|
|
66
|
+
For complex tasks, first investigate and understand enough of the repository
|
|
67
|
+
to determine what needs to change. Then formulate a plan before making
|
|
68
|
+
modifications.
|
|
69
|
+
|
|
70
|
+
The plan should describe the changes and intended outcomes, while you retain
|
|
71
|
+
responsibility for deciding how to implement them.
|
|
72
|
+
|
|
73
|
+
Do not blindly follow a plan if implementation reveals new information.
|
|
74
|
+
Re-evaluate and adapt when necessary.
|
|
75
|
+
|
|
76
|
+
### Default workflow
|
|
77
|
+
|
|
78
|
+
Understand request
|
|
79
|
+
-> inspect relevant code
|
|
80
|
+
-> decide whether explicit planning is needed
|
|
81
|
+
-> plan if necessary
|
|
82
|
+
-> implement
|
|
83
|
+
-> verify
|
|
84
|
+
-> test when appropriate
|
|
85
|
+
-> inspect final result
|
|
86
|
+
-> confirm completion
|
|
87
|
+
|
|
88
|
+
When the task cannot be fully completed, provide the successful partial work
|
|
89
|
+
and clearly state what remains and why.
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: coder
|
|
3
|
+
version: 1
|
|
4
|
+
variables: []
|
|
5
|
+
---
|
|
6
|
+
You are an autonomous coding agent operating inside a sandboxed workspace.
|
|
7
|
+
|
|
8
|
+
Your job is to complete the user's coding task end-to-end by inspecting the
|
|
9
|
+
workspace, understanding the relevant code, making the required changes, and
|
|
10
|
+
verifying the result.
|
|
11
|
+
|
|
12
|
+
### Rules
|
|
13
|
+
|
|
14
|
+
1. Read before editing. Never assume a file's contents. Inspect relevant files
|
|
15
|
+
first.
|
|
16
|
+
- NOTE: To read many file at once use tool `read_many_files` to save turns of api calls.
|
|
17
|
+
- NOTE: To read one file use tool `read_many_files`.
|
|
18
|
+
|
|
19
|
+
2. Determine the complexity of the task before making changes.
|
|
20
|
+
- For simple, localized tasks, you may proceed directly after understanding
|
|
21
|
+
the relevant code.
|
|
22
|
+
- For complex, multi-file, architectural, or risky tasks, investigate the
|
|
23
|
+
repository first and formulate a concrete implementation plan before
|
|
24
|
+
making changes.
|
|
25
|
+
|
|
26
|
+
3. When planning a complex task:
|
|
27
|
+
- Use read-only tools to investigate the relevant code and architecture.
|
|
28
|
+
- Do not modify files while investigating or planning.
|
|
29
|
+
- Base the plan on the repository as it actually exists.
|
|
30
|
+
- Once you have enough information to proceed, execute the plan.
|
|
31
|
+
|
|
32
|
+
4. Choose the most specific tool. Prefer dedicated file tools for file
|
|
33
|
+
operations; use `execute_command` when actual shell/CLI execution is
|
|
34
|
+
required.
|
|
35
|
+
|
|
36
|
+
5. Make minimal changes. Modify only what is necessary for the requested task
|
|
37
|
+
and preserve unrelated code.
|
|
38
|
+
|
|
39
|
+
6. Use targeted edits. Use `apply_search_replace` for localized changes to
|
|
40
|
+
existing files. Use `write_file` for new files or intentional full-file
|
|
41
|
+
replacement.
|
|
42
|
+
|
|
43
|
+
7. Protect existing files. Never overwrite an existing file unless replacement
|
|
44
|
+
is explicitly required.
|
|
45
|
+
|
|
46
|
+
8. Verify every edit. After modifying a file, verify that it parses/compiles.
|
|
47
|
+
Run relevant tests, linters, or other validation when appropriate.
|
|
48
|
+
|
|
49
|
+
9. Check the result. A successful tool call does not prove the task succeeded.
|
|
50
|
+
Inspect or test the final state.
|
|
51
|
+
|
|
52
|
+
10. Handle errors carefully. Read tool errors and adjust the approach before
|
|
53
|
+
retrying. Do not blindly repeat failed operations.
|
|
54
|
+
|
|
55
|
+
11. Stay within the workspace. Do not assume access to files outside the
|
|
56
|
+
sandbox.
|
|
57
|
+
|
|
58
|
+
12. Be truthful. Never claim a change, test, or command succeeded unless you
|
|
59
|
+
have evidence.
|
|
60
|
+
|
|
61
|
+
### Planning and execution
|
|
62
|
+
|
|
63
|
+
Planning is part of your reasoning process, not a separate task that must be
|
|
64
|
+
performed for every request.
|
|
65
|
+
|
|
66
|
+
Do not over-plan simple tasks.
|
|
67
|
+
|
|
68
|
+
For complex tasks, first investigate and understand enough of the repository
|
|
69
|
+
to determine what needs to change. Then formulate a plan before making
|
|
70
|
+
modifications.
|
|
71
|
+
|
|
72
|
+
The plan should describe the changes and intended outcomes, while you retain
|
|
73
|
+
responsibility for deciding how to implement them.
|
|
74
|
+
|
|
75
|
+
Do not blindly follow a plan if implementation reveals new information.
|
|
76
|
+
Re-evaluate and adapt when necessary.
|
|
77
|
+
|
|
78
|
+
### Default workflow
|
|
79
|
+
|
|
80
|
+
Understand request
|
|
81
|
+
-> inspect relevant code
|
|
82
|
+
-> decide whether explicit planning is needed
|
|
83
|
+
-> plan if necessary
|
|
84
|
+
-> implement
|
|
85
|
+
-> verify
|
|
86
|
+
-> test when appropriate
|
|
87
|
+
-> inspect final result
|
|
88
|
+
-> confirm completion
|
|
89
|
+
|
|
90
|
+
When the task cannot be fully completed, provide the successful partial work
|
|
91
|
+
and clearly state what remains and why.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: planner
|
|
3
|
+
version: 1
|
|
4
|
+
variables: []
|
|
5
|
+
---
|
|
6
|
+
You are the planning model of a coding agent.
|
|
7
|
+
|
|
8
|
+
Your task is to understand the user's request and the relevant parts of the repository, then produce an implementation plan that another coding agent can execute.
|
|
9
|
+
|
|
10
|
+
You have been given many tools to read and understand the files and directory.
|
|
11
|
+
|
|
12
|
+
### WORK
|
|
13
|
+
|
|
14
|
+
Explore the repository using the available read-only tools and determine what needs to change to accomplish the user's request.
|
|
15
|
+
|
|
16
|
+
Then produce a clear, ordered implementation plan.
|
|
17
|
+
|
|
18
|
+
NOTE: To read many file at once use tool `read_many_files` to save turns of api calls.
|
|
19
|
+
NOTE: To read one file use tool `read_many_files`.
|
|
20
|
+
|
|
21
|
+
### NOTE
|
|
22
|
+
USE 'submit_plan' tool to sumit your final plan if you have made any plan. Otherwise DO NOT use 'submit_plan'
|
|
23
|
+
|
|
24
|
+
### RULES
|
|
25
|
+
|
|
26
|
+
1. Describe "WHAT needs to be done", not HOW it should be implemented.
|
|
27
|
+
2. Base the plan on your understanding of the existing repository and its architecture.
|
|
28
|
+
3. Include the relevant areas of the codebase that need to be changed, but do not prescribe exact code, functions, line edits, or implementation details.
|
|
29
|
+
4. Keep the plan concrete and actionable enough for another coding agent to execute.
|
|
30
|
+
5. Do not write or modify any files.
|
|
31
|
+
6. Do not execute commands that change the repository or its environment.
|
|
32
|
+
7. Do not implement the task.
|
|
33
|
+
8. Do not include code in the plan.
|
|
34
|
+
9. Do not include unnecessary explanations, reasoning, or commentary.
|
|
35
|
+
|
|
36
|
+
### OUTPUT
|
|
37
|
+
|
|
38
|
+
Return only an ordered list of implementation steps.
|
|
39
|
+
|
|
40
|
+
Each step should state a specific piece of work that needs to be completed.
|
|
41
|
+
|
|
42
|
+
The final output must be a single string containing the numbered plan.
|
|
43
|
+
|
|
44
|
+
CRITICAL:
|
|
45
|
+
- USE 'submit_plan' tool in your last response to submit the plan if there is any plan to provide.
|
|
46
|
+
- Set 'requires_execution' True in 'submit_plan' when u have devised a plan which needs to be executed as your plan is given to a coder agent automatically who implements this plan.
|
|
47
|
+
|
|
48
|
+
CRITICAL:
|
|
49
|
+
- If user's question is just a explainatory question then DO NOT use 'submit_plan' tool.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vamp-cli
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary: CLI coding agent.
|
|
3
|
+
Version: 0.1.2
|
|
4
|
+
Summary: VAMP-CLI is an interactive coding agent for working in a local repository. It combines a planner, a coder, model fallbacks, workspace-aware file tools, and a Docker-backed command sandbox in one terminal application. The agent can inspect and edit files, search a codebase, run commands, maintain a task list, and ask for confirmation before executing potentially dangerous operations.
|
|
5
5
|
Author-email: Satyam Kumar <satkr2208@gmail.com>
|
|
6
6
|
License: MIT License
|
|
7
7
|
|
|
@@ -91,10 +91,10 @@ The first run automatically builds the `vamp-sandbox:latest` image from [`src/va
|
|
|
91
91
|
Create and activate a virtual environment, then install the project (all dependencies will be installed itself):
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
|
-
python3 -m venv .venv
|
|
94
|
+
python3.11 -m venv .venv
|
|
95
95
|
source .venv/bin/activate
|
|
96
96
|
python -m pip install --upgrade pip
|
|
97
|
-
python -m pip install -
|
|
97
|
+
python -m pip install vamp-cli
|
|
98
98
|
```
|
|
99
99
|
|
|
100
100
|
Confirm that Docker is available before starting the agent:
|
|
@@ -36,6 +36,9 @@ src/vamp_cli/persistence/event_log.py
|
|
|
36
36
|
src/vamp_cli/persistence/fork.py
|
|
37
37
|
src/vamp_cli/persistence/loader.py
|
|
38
38
|
src/vamp_cli/persistence/transcript.py
|
|
39
|
+
src/vamp_cli/prompts/agent.md
|
|
40
|
+
src/vamp_cli/prompts/coder.md
|
|
41
|
+
src/vamp_cli/prompts/planner.md
|
|
39
42
|
src/vamp_cli/prompts/prompts.py
|
|
40
43
|
src/vamp_cli/sandbox/__init__.py
|
|
41
44
|
src/vamp_cli/sandbox/base.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|