diff --git a/.gitignore b/.gitignore index ceb2b98..96d6a21 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,22 @@ CLAUDE.md +.env +.venv/ +__pycache__/ +*.pyc +*.pyo +*.pyd +.Python +*.so +*.egg +*.egg-info/ +dist/ +build/ +*.db +navi.db +webclient/navi.db +debug/eval/navi.db +session_files/ +workspace/ +.tmp +.codex +ollama_backends.json diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..848fc7a --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Eugene Sukhodolskiy + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index ce7a8cb..2395a0d 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ Модульная агентная система с REST API и WebSocket. FastAPI бэкенд, Ollama LLM, Vue 3 + Pinia клиент. +Лицензия: [MIT](LICENSE) + ## Запуск ```bash diff --git a/pyproject.toml b/pyproject.toml index c67f150..1c45d60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,15 @@ name = "navi" version = "0.1.0" description = "Modular agent system with REST API and WebSocket" +license = {text = "MIT"} requires-python = ">=3.11" +classifiers = [ + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Operating System :: OS Independent", +] dependencies = [ # API @@ -60,6 +68,9 @@ "mypy>=1.10", ] +[tool.hatch.metadata] +allow-direct-references = true + [tool.ruff] line-length = 100 target-version = "py311"