(no commit message)

This commit is contained in:
2026-01-18 22:37:06 -08:00
parent 2945d17b91
commit 192a744884
12 changed files with 599 additions and 0 deletions

50
utils/__init__.py Normal file
View File

@@ -0,0 +1,50 @@
"""Utility modules for nanocode."""
from .display import (
RESET,
BOLD,
DIM,
BLUE,
CYAN,
GREEN,
YELLOW,
RED,
MAGENTA,
separator,
render_markdown,
)
from .file_ops import (
read_file,
write_file,
edit_file,
glob_files,
grep_files,
)
from .shell_ops import run_bash
from .model_selection import AVAILABLE_MODELS, select_model
__all__ = [
# Display
"RESET",
"BOLD",
"DIM",
"BLUE",
"CYAN",
"GREEN",
"YELLOW",
"RED",
"MAGENTA",
"separator",
"render_markdown",
# File operations
"read_file",
"write_file",
"edit_file",
"glob_files",
"grep_files",
# Shell operations
"run_bash",
# Model selection
"AVAILABLE_MODELS",
"select_model",
]