regcode 0.6.2__tar.gz → 0.7.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.
- {regcode-0.6.2 → regcode-0.7.0}/AGENTS.md +1 -9
- {regcode-0.6.2 → regcode-0.7.0}/PKG-INFO +2 -1
- {regcode-0.6.2 → regcode-0.7.0}/pyproject.toml +2 -1
- {regcode-0.6.2 → regcode-0.7.0}/regcode/__init__.py +1 -1
- {regcode-0.6.2 → regcode-0.7.0}/regcode/config.py +1 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/main.py +606 -262
- {regcode-0.6.2 → regcode-0.7.0}/regcode/tools/builtins.py +146 -2
- {regcode-0.6.2 → regcode-0.7.0}/regcode/tui.py +20 -7
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_main.py +12 -9
- {regcode-0.6.2 → regcode-0.7.0}/uv.lock +12 -1
- {regcode-0.6.2 → regcode-0.7.0}/.gitignore +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/.gitlab-ci.yml +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/.python-version +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/.qwen/settings.json +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/GOALS.md +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/README.md +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/config.yaml.template +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/main.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/cli.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/conversation_manager.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/dependencies.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/monty_sandbox.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/permissions.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/sandbox.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/tools/__init__.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/tools/base.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/tools/registry.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/tools/review_notes.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/tools/web_crawl.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/tools/web_search.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/regcode/tracing.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/__init__.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/conftest.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_api.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_cli.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_config.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_context_manager.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_dependencies.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_monty_sandbox.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_osv_cve.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_provider_extra.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_review_notes.py +0 -0
- {regcode-0.6.2 → regcode-0.7.0}/tests/test_web_search.py +0 -0
|
@@ -3,25 +3,17 @@ Always make sure to comply to these rules. Under Project Stack, you will find te
|
|
|
3
3
|
|
|
4
4
|
## Project Stack:
|
|
5
5
|
- `uv`: Dependency management for Python runtime
|
|
6
|
-
- Alembic: Database migrations
|
|
7
|
-
- FastAPI: Backend Logic
|
|
8
|
-
- SQLAlchemy ORM: Python database ORM
|
|
9
|
-
- PostgreSQL/SQLITE: Target databases
|
|
10
6
|
- Pytest: Test suite under `tests`
|
|
11
|
-
- NextJS/React: Frontend Code under `frontend/`
|
|
12
7
|
- GitLab: Code Repository/ CI CD
|
|
13
8
|
- .gitlab-ci.yml: Gitlab Runner Config
|
|
14
9
|
- `ruff`: Linting and Code Quality Control
|
|
15
|
-
- `docker`: Deployment is done via `docker-compose.yml`
|
|
16
10
|
- `pyproject.toml`: Project Setup Config
|
|
17
11
|
|
|
18
12
|
## Coding/Implentation Instructions:
|
|
19
|
-
|
|
20
|
-
- Use `alembic revision -m <revision explanation>` to create new revisions. Making arbitrary strings as versions etc. is PROHIBITED!
|
|
13
|
+
|
|
21
14
|
- ALWAYS run `uv run ruff check --fix` after all changes at the end and fix linting issues
|
|
22
15
|
- ALWAYS run `uv run pytest` to run test suite after all changes and fix issues shown by tests.
|
|
23
16
|
- ALWAYS add test cases if relevant.
|
|
24
|
-
- NEVER use emojis! Use icon packs (for example `lucid-react`) if needed.
|
|
25
17
|
- NEVER commit changes. It is upto user to review your code and commit and push it. Unless user specifically asks for it, commiting code is PROHIBITED!
|
|
26
18
|
|
|
27
19
|
## Project Vision
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: regcode
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Minimalistic coding agent with Python API and CLI
|
|
5
5
|
Requires-Python: >=3.10
|
|
6
6
|
Requires-Dist: click>=8.0
|
|
7
7
|
Requires-Dist: crawl4ai>=0.4.0
|
|
8
8
|
Requires-Dist: litellm>=1.83.17
|
|
9
9
|
Requires-Dist: mlflow>=3.14.0
|
|
10
|
+
Requires-Dist: pathspec>=1.1.1
|
|
10
11
|
Requires-Dist: pydantic-monty>=0.0.18
|
|
11
12
|
Requires-Dist: pydantic-settings>=2.14.2
|
|
12
13
|
Requires-Dist: pytest>=8.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "regcode"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.7.0"
|
|
4
4
|
description = "Minimalistic coding agent with Python API and CLI"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -15,6 +15,7 @@ dependencies = [
|
|
|
15
15
|
"pydantic-monty>=0.0.18",
|
|
16
16
|
"mlflow>=3.14.0",
|
|
17
17
|
"textual>=2.0.0",
|
|
18
|
+
"pathspec>=1.1.1",
|
|
18
19
|
]
|
|
19
20
|
|
|
20
21
|
[project.scripts]
|
|
@@ -125,6 +125,7 @@ class Config(BaseModel):
|
|
|
125
125
|
tool_budget: int = 20
|
|
126
126
|
permissions: list[AgentPermission] = [AgentPermission.READ, AgentPermission.EXECUTE]
|
|
127
127
|
toolset_config: ToolSetConfig = ToolSetConfig()
|
|
128
|
+
debug_mode: bool = False
|
|
128
129
|
|
|
129
130
|
@classmethod
|
|
130
131
|
def load(cls, path: str | None = None) -> "Config":
|