From c20018745bbb873f5b65e68317222729eed3c0d1 Mon Sep 17 00:00:00 2001 From: Oleksandr Bezdieniezhnykh Date: Sat, 28 Mar 2026 00:12:54 +0200 Subject: [PATCH] Add core functionality for API client, CDN management, and data augmentation - Introduced `ApiClient` for handling API interactions, including file uploads and downloads. - Implemented `CDNManager` for managing CDN operations with AWS S3. - Added `Augmentator` class for image augmentation, including bounding box corrections and transformations. - Created utility functions for annotation conversion and dataset visualization. - Established a new rules file for sound notifications during human input requests. These additions enhance the system's capabilities for data handling and user interaction, laying the groundwork for future features. Simplify autopilot state file to minimal current-step pointer; add execution safety rule to cursor-meta; remove Completed Steps/Key Decisions/Retry Log/Blockers from state template and all references. --- .../rules/{human-input-sound.mdc => human-attention-sound.mdc} | 0 .../annotation-queue}/annotation_queue_dto.py | 0 .../annotation-queue}/annotation_queue_handler.py | 0 {annotation-queue => src/annotation-queue}/classes.json | 0 {annotation-queue => src/annotation-queue}/config.yaml | 0 {annotation-queue => src/annotation-queue}/offset.yaml | 0 {annotation-queue => src/annotation-queue}/requirements.txt | 0 {annotation-queue => src/annotation-queue}/run.sh | 0 api_client.py => src/api_client.py | 0 augmentation.py => src/augmentation.py | 0 cdn_manager.py => src/cdn_manager.py | 0 classes.json => src/classes.json | 0 constants.py => src/constants.py | 0 convert-annotations.py => src/convert-annotations.py | 0 dataset-visualiser.py => src/dataset-visualiser.py | 0 {dto => src/dto}/annotationClass.py | 0 {dto => src/dto}/annotation_bulk_message.py | 0 {dto => src/dto}/annotation_message.py | 0 {dto => src/dto}/imageLabel.py | 0 exports.py => src/exports.py | 0 hardware_service.py => src/hardware_service.py | 0 {inference => src/inference}/__init__.py | 0 {inference => src/inference}/dto.py | 0 {inference => src/inference}/inference.py | 0 {inference => src/inference}/onnx_engine.py | 0 {inference => src/inference}/tensorrt_engine.py | 0 manual_run.py => src/manual_run.py | 0 security.py => src/security.py | 0 start_inference.py => src/start_inference.py | 0 train.py => src/train.py | 0 utils.py => src/utils.py | 0 31 files changed, 0 insertions(+), 0 deletions(-) rename .cursor/rules/{human-input-sound.mdc => human-attention-sound.mdc} (100%) rename {annotation-queue => src/annotation-queue}/annotation_queue_dto.py (100%) rename {annotation-queue => src/annotation-queue}/annotation_queue_handler.py (100%) rename {annotation-queue => src/annotation-queue}/classes.json (100%) rename {annotation-queue => src/annotation-queue}/config.yaml (100%) rename {annotation-queue => src/annotation-queue}/offset.yaml (100%) rename {annotation-queue => src/annotation-queue}/requirements.txt (100%) rename {annotation-queue => src/annotation-queue}/run.sh (100%) rename api_client.py => src/api_client.py (100%) rename augmentation.py => src/augmentation.py (100%) rename cdn_manager.py => src/cdn_manager.py (100%) rename classes.json => src/classes.json (100%) rename constants.py => src/constants.py (100%) rename convert-annotations.py => src/convert-annotations.py (100%) rename dataset-visualiser.py => src/dataset-visualiser.py (100%) rename {dto => src/dto}/annotationClass.py (100%) rename {dto => src/dto}/annotation_bulk_message.py (100%) rename {dto => src/dto}/annotation_message.py (100%) rename {dto => src/dto}/imageLabel.py (100%) rename exports.py => src/exports.py (100%) rename hardware_service.py => src/hardware_service.py (100%) rename {inference => src/inference}/__init__.py (100%) rename {inference => src/inference}/dto.py (100%) rename {inference => src/inference}/inference.py (100%) rename {inference => src/inference}/onnx_engine.py (100%) rename {inference => src/inference}/tensorrt_engine.py (100%) rename manual_run.py => src/manual_run.py (100%) rename security.py => src/security.py (100%) rename start_inference.py => src/start_inference.py (100%) rename train.py => src/train.py (100%) rename utils.py => src/utils.py (100%) diff --git a/.cursor/rules/human-input-sound.mdc b/.cursor/rules/human-attention-sound.mdc similarity index 100% rename from .cursor/rules/human-input-sound.mdc rename to .cursor/rules/human-attention-sound.mdc diff --git a/annotation-queue/annotation_queue_dto.py b/src/annotation-queue/annotation_queue_dto.py similarity index 100% rename from annotation-queue/annotation_queue_dto.py rename to src/annotation-queue/annotation_queue_dto.py diff --git a/annotation-queue/annotation_queue_handler.py b/src/annotation-queue/annotation_queue_handler.py similarity index 100% rename from annotation-queue/annotation_queue_handler.py rename to src/annotation-queue/annotation_queue_handler.py diff --git a/annotation-queue/classes.json b/src/annotation-queue/classes.json similarity index 100% rename from annotation-queue/classes.json rename to src/annotation-queue/classes.json diff --git a/annotation-queue/config.yaml b/src/annotation-queue/config.yaml similarity index 100% rename from annotation-queue/config.yaml rename to src/annotation-queue/config.yaml diff --git a/annotation-queue/offset.yaml b/src/annotation-queue/offset.yaml similarity index 100% rename from annotation-queue/offset.yaml rename to src/annotation-queue/offset.yaml diff --git a/annotation-queue/requirements.txt b/src/annotation-queue/requirements.txt similarity index 100% rename from annotation-queue/requirements.txt rename to src/annotation-queue/requirements.txt diff --git a/annotation-queue/run.sh b/src/annotation-queue/run.sh similarity index 100% rename from annotation-queue/run.sh rename to src/annotation-queue/run.sh diff --git a/api_client.py b/src/api_client.py similarity index 100% rename from api_client.py rename to src/api_client.py diff --git a/augmentation.py b/src/augmentation.py similarity index 100% rename from augmentation.py rename to src/augmentation.py diff --git a/cdn_manager.py b/src/cdn_manager.py similarity index 100% rename from cdn_manager.py rename to src/cdn_manager.py diff --git a/classes.json b/src/classes.json similarity index 100% rename from classes.json rename to src/classes.json diff --git a/constants.py b/src/constants.py similarity index 100% rename from constants.py rename to src/constants.py diff --git a/convert-annotations.py b/src/convert-annotations.py similarity index 100% rename from convert-annotations.py rename to src/convert-annotations.py diff --git a/dataset-visualiser.py b/src/dataset-visualiser.py similarity index 100% rename from dataset-visualiser.py rename to src/dataset-visualiser.py diff --git a/dto/annotationClass.py b/src/dto/annotationClass.py similarity index 100% rename from dto/annotationClass.py rename to src/dto/annotationClass.py diff --git a/dto/annotation_bulk_message.py b/src/dto/annotation_bulk_message.py similarity index 100% rename from dto/annotation_bulk_message.py rename to src/dto/annotation_bulk_message.py diff --git a/dto/annotation_message.py b/src/dto/annotation_message.py similarity index 100% rename from dto/annotation_message.py rename to src/dto/annotation_message.py diff --git a/dto/imageLabel.py b/src/dto/imageLabel.py similarity index 100% rename from dto/imageLabel.py rename to src/dto/imageLabel.py diff --git a/exports.py b/src/exports.py similarity index 100% rename from exports.py rename to src/exports.py diff --git a/hardware_service.py b/src/hardware_service.py similarity index 100% rename from hardware_service.py rename to src/hardware_service.py diff --git a/inference/__init__.py b/src/inference/__init__.py similarity index 100% rename from inference/__init__.py rename to src/inference/__init__.py diff --git a/inference/dto.py b/src/inference/dto.py similarity index 100% rename from inference/dto.py rename to src/inference/dto.py diff --git a/inference/inference.py b/src/inference/inference.py similarity index 100% rename from inference/inference.py rename to src/inference/inference.py diff --git a/inference/onnx_engine.py b/src/inference/onnx_engine.py similarity index 100% rename from inference/onnx_engine.py rename to src/inference/onnx_engine.py diff --git a/inference/tensorrt_engine.py b/src/inference/tensorrt_engine.py similarity index 100% rename from inference/tensorrt_engine.py rename to src/inference/tensorrt_engine.py diff --git a/manual_run.py b/src/manual_run.py similarity index 100% rename from manual_run.py rename to src/manual_run.py diff --git a/security.py b/src/security.py similarity index 100% rename from security.py rename to src/security.py diff --git a/start_inference.py b/src/start_inference.py similarity index 100% rename from start_inference.py rename to src/start_inference.py diff --git a/train.py b/src/train.py similarity index 100% rename from train.py rename to src/train.py diff --git a/utils.py b/src/utils.py similarity index 100% rename from utils.py rename to src/utils.py