Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
0333ece
chore: code formatting and lint
SofiaBillBerg Aug 4, 2026
bf0374e
feat: add easy format, doc and class visualization scripts.
SofiaBillBerg Aug 4, 2026
66d1f28
feat: integrate llm-cli worktree work into feat-llm-dev
SofiaBillBerg Aug 5, 2026
5bdb681
chore: cleaning worktree
SofiaBillBerg Aug 5, 2026
c2895ec
refactor: Update .gitignore rules and reorganize code_agent package e…
SofiaBillBerg Aug 8, 2026
24840fd
refactor(code_agent): Refactor exports in code_agent and clean whites…
SofiaBillBerg Aug 8, 2026
291b8ca
refactor(tests): Fix imports, cleanup whitespace and improve git igno…
SofiaBillBerg Aug 8, 2026
6681d39
fix: cleanup repo
SofiaBillBerg Aug 8, 2026
10cc7a6
repo: add git-config and temporarily disabled github workflow.
SofiaBillBerg Aug 8, 2026
cd8e9b5
chore(docs): add class diagram SVG to visualizations
SofiaBillBerg Aug 8, 2026
d84e190
chore: update dependencies ..
SofiaBillBerg Aug 8, 2026
bb11d0e
chore: update dependencies ..
SofiaBillBerg Aug 8, 2026
eaf70fc
refactor: update docstrings in code_agent
SofiaBillBerg Aug 9, 2026
e0f28f7
refactor: cleaned up duplicated functions and dead code in code_agent.
SofiaBillBerg Aug 9, 2026
b02b248
tests: refactored test files to match the updated code
SofiaBillBerg Aug 9, 2026
2bd6f1c
feat: update code quality automation.
SofiaBillBerg Aug 9, 2026
22b22fb
fix(webapp): align @vitejs/plugin-react with Vite 8 and build UI on d…
SofiaBillBerg Aug 9, 2026
ed88240
refactor: improve code quality and consistency across code_agent
SofiaBillBerg Aug 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copy this file to `.env` and adjust values for your environment.
# `.env` is gitignored; this template is committed as a reference.
# All values are optional — the application has safe defaults.
# Every key is prefixed with CODE_AGENT_ so it never collides with the
# provider's own environment variables (e.g. Ollama's OLLAMA_HOST).

# Ollama connection (defaults: http://localhost:11434)
CODE_AGENT_OLLAMA_SCHEME=http
CODE_AGENT_OLLAMA_HOST=localhost
CODE_AGENT_OLLAMA_PORT=11434
CODE_AGENT_OLLAMA_MODEL=gpt-oss:20b-cloud

# OpenAI (optional; when omitted, OpenAIProvider falls back to OPENAI_API_KEY)
CODE_AGENT_OPENAI_API_KEY=
CODE_AGENT_OPENAI_MODEL=gpt-4o
CODE_AGENT_OPENAI_BASE_URL=

# Sampling / behaviour
CODE_AGENT_PROVIDER=ollama
CODE_AGENT_TEMPERATURE=0.7
CODE_AGENT_MAX_TOKENS=6000
CODE_AGENT_STREAM=true
CODE_AGENT_ROOT_DIR=.
CODE_AGENT_VERBOSE=true
CODE_AGENT_LOG_LEVEL=INFO
CODE_AGENT_MAX_ITERATIONS=50
CODE_AGENT_MAX_EXECUTION_TIME=5000
69 changes: 0 additions & 69 deletions .github/workflows/ci.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/docs.yml

This file was deleted.

27 changes: 19 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,21 @@
.idea/
*.iml
*.ipr
.*
apidocs
stubs/
th*
docs/visualizations/*.mmd
.tmp
**/pdf_docs
mermaid-magic.json

# CMake
cmake-build-*/

_extensions
# File-based project format
*.iws

!.pre-commit*
# IntelliJ
out/

Expand All @@ -31,10 +39,12 @@ __pycache__/
*.so

# Distribution / packaging
**/node_modules/
.Python
build/
develop-eggs/
dist/
node_modules/
downloads/
eggs/
.eggs/
Expand Down Expand Up @@ -69,9 +79,6 @@ htmlcov/
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

Expand All @@ -80,8 +87,6 @@ cover/
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

Expand All @@ -100,7 +105,7 @@ docs/_build/

# IPython
profile_default/
ipython_config.py
# ipython_config.py # temp disabled during this work

# pyenv
# For a library or package, you might want to ignore these files since the code is
Expand Down Expand Up @@ -216,3 +221,9 @@ _site/
docs/docs_web/
/renv/.gitignore
/renv/activate.R

# MemPalace per-project files (issue #185)
mempalace.yaml
entities.json
/.tmp/
pdf_docs/
59 changes: 45 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,58 @@
exclude: '^packrat(/|$)' # Exclude the packrat folder

repos:
# Local hooks must be defined inline (repo: local does not read
# .pre-commit-hooks.yaml); the script entries live in project_management/.
- repo: local
hooks:
# - id: run-autofix
# name: run-autofix
# entry: project_management/run_autofix.sh
# language: script
# stages: [pre-commit, manual]
- id: pre-push-quick
name: pre-push-quick
entry: pre-push-quick
language: script
stages: [pre-push, manual]
- id: run-formatters
name: run-formatters
entry: project_management/run_formatters.sh
language: script
stages: [pre-push, manual]
- id: run-vis
name: run-vis
entry: project_management/run_vis.sh
language: script
stages: [pre-push, manual]
- id: run-analyzers
name: run-analyzers
entry: project_management/run_analyzers.sh
language: script
stages: [manual]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: requirements-txt-fixer
- id: check-added-large-files
- id: check-builtin-literals
- id: check-case-conflict
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-symlinks
- id: check-vcs-permalinks
- id: debug-statements
- id: check-toml
- id: check-ast
- id: destroyed-symlinks
- id: sort-simple-yaml
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v3.1.0
rev: v3.2.0
hooks:
- id: setup-cfg-fmt
- repo: https://github.com/asottile/pyupgrade
rev: v3.21.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: [ --py310-plus ]
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.14.3
hooks: # Run the linter.
- id: ruff-check
args: [ --fix ]
# Run the formatter.
- id: ruff-format
Loading