Import 9 alphaear finance skills

- alphaear-deepear-lite: DeepEar Lite API integration
- alphaear-logic-visualizer: Draw.io XML finance diagrams
- alphaear-news: Real-time finance news (10+ sources)
- alphaear-predictor: Kronos time-series forecasting
- alphaear-reporter: Professional financial reports
- alphaear-search: Web search + local RAG
- alphaear-sentiment: FinBERT/LLM sentiment analysis
- alphaear-signal-tracker: Signal evolution tracking
- alphaear-stock: A-Share/HK/US stock data

Updates:
- All scripts updated to use universal .env path
- Added JINA_API_KEY, LLM_*, DEEPSEEK_API_KEY to .env.example
- Updated load_dotenv() to use ~/.config/opencode/.env
This commit is contained in:
Kunthawat Greethong
2026-03-27 10:11:37 +07:00
parent 7edf5bc4d0
commit 58f9380ec4
149 changed files with 26867 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
import sys
import os
import unittest
# Add skill root to path
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
# try:
from scripts.visualizer import VisualizerTools
from scripts.report_agent import ReportAgent
from scripts.utils.database_manager import DatabaseManager
# except ImportError as e:
# print(f"Import Error: {e}")
# sys.exit(1)
class TestReporter(unittest.TestCase):
def test_visualizer(self):
print("Testing Visualizer...")
viz = VisualizerTools()
self.assertIsNotNone(viz)
def test_agent_init(self):
print("Testing ReportAgent...")
# Mocking or simplified init might be needed if agent requires extensive config
# Just checking import for now is a big win
pass
if __name__ == '__main__':
unittest.main()