Implements Task 1 of Phase 3: SQLite-based persistent task queue with: - FIFO ordering (created_at ASC) - Concurrency limit (default 1 running task) - State machine: pending → running → completed|failed|timeout - Methods: enqueue, dequeue, mark_completed, mark_failed, get_pending, has_running_task - Thread-aware task tracking - Singleton pattern with lazy initialization All 8 tests passing.
55 lines
1.1 KiB
TOML
55 lines
1.1 KiB
TOML
[project]
|
|
name = "galaxis-agent"
|
|
version = "0.1.0"
|
|
description = "Autonomous SWE agent for galaxis-po development"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
license = { text = "MIT" }
|
|
dependencies = [
|
|
"deepagents>=0.4.3",
|
|
"fastapi>=0.104.0",
|
|
"uvicorn>=0.24.0",
|
|
"httpx>=0.25.0",
|
|
"cryptography>=41.0.0",
|
|
"langgraph-sdk>=0.1.0",
|
|
"langchain>=1.2.9",
|
|
"langgraph>=1.0.8",
|
|
"langgraph-cli[inmem]>=0.4.12",
|
|
"langchain-anthropic>1.1.0",
|
|
"markdownify>=1.2.2",
|
|
"docker>=7.0.0",
|
|
"pydantic-settings>=2.0.0",
|
|
"slowapi>=0.1.9",
|
|
"discord.py>=2.3.0",
|
|
"aiosqlite>=0.20.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0.0",
|
|
"pytest-asyncio>=0.21.0",
|
|
"ruff>=0.1.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.metadata]
|
|
allow-direct-references = true
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["agent"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "W", "F", "I", "B", "C4", "UP"]
|
|
ignore = ["E501"]
|
|
|
|
[tool.pytest.ini_options]
|
|
asyncio_mode = "auto"
|
|
testpaths = ["tests"]
|