Initial commit: VoIdeaAI - voice-first AI idea assistant

This commit is contained in:
2026-05-13 12:51:42 +03:00
commit 688d043dad
421 changed files with 47915 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
"""Generate version.json for frontend from VERSION file.
Run before frontend build:
python tools/generate_version.py > webui/public/version.json
"""
import json
from pathlib import Path
def main():
root = Path(__file__).resolve().parent.parent
# Read project version
version_file = root / "VERSION"
project_version = version_file.read_text(encoding="utf-8").strip()
# Read agent versions
agent_versions_file = root / "AGENT_VERSIONS.json"
agent_versions = {}
if agent_versions_file.exists():
agent_versions = json.loads(agent_versions_file.read_text(encoding="utf-8"))
output = {
"version": project_version,
"agentVersions": agent_versions,
}
print(json.dumps(output, ensure_ascii=False, indent=2))
if __name__ == "__main__":
main()