尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證conversational Trading Intelligence and Assistant That Learns And Grows With You
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Live: https://www.axecompanion.com (IONOS)
Private, mobile-first companion for one operator and one AI assistant — chat, alerts, vault, and guarded trade approvals. Not the full TradingOS terminal.
cd tradingos-companion
npm install
npm run dev
Open http://localhost:3000. Use Private demo channel on the login screen when Supabase env vars are not set.
For real authentication, copy .env.local.example to .env.local, add your Supabase URL and anon key, then sign in with email + password (enable Email provider in Supabase).
Apply the SQL migration in the Supabase SQL editor (or CLI):
supabase/migrations/20260329120000_init.sqlCreate buckets, for example:
vault — screenshots, files, voice objects (private)chat-attachments — message attachments (private)Add RLS policies on storage.objects scoped by auth.uid() path prefix.
| Path | Role |
|---|---|
src/app/(auth)/login | Login + demo session |
src/app/(app)/* | Main shell: chat, alerts, vault, actions, settings |
src/app/api/auth/demo | Sets/clears httpOnly companion_demo cookie |
src/components/shell | Mobile frame, bottom nav, screen headers |
src/components/ui | Glass panels, badges (design system primitives) |
src/components/chat | Thread, composer, pinned context, inline action cards |
src/components/alerts | Filterable alert feed (client) |
src/components/vault | Search + tabs for notes / media / voice |
src/components/actions | Execution request cards with approve/reject UI |
src/services/* | Data façade — currently mock; swap for Supabase calls |
src/lib/tradingos | TradingOSClient contract + MockTradingOSClient** |
src/lib/supabase | Browser/server/middleware Supabase helpers |
middleware.ts | Session refresh + route guard + demo cookie |
src/app/globals.css | Design tokens (premium dark, warm accent) |
Core tables (all with RLS on user_id / ownership):
profiles — extends auth.usersconversations, messages — private AI threadsattachments — files linked to messages or vaultnotes — text notesvault_items — screenshots, charts, files, voice metadata (+ optional note_id)alerts — terminal → companion feed (read_at, related refs)execution_requests — proposed trades; status includes pending_approval / approved / etc.setup_reviews — structured review cards linked optionally to an execution requestassistant_memory_entries — assistant-visible memory (embeddings later)assistant_learning_signals — append-only events (approvals, rejections, corrections, preferences, risk behavior…)assistant_learning_metrics — rolled-up metrics keyed by metric_key + period_startassistant_cockpit_snapshots — alignment score, confidence trend JSON, behavior maps — for Assistant Cockpit UIRule: no blind automation — execution stays blocked until explicit user confirmation; broker/terminal execution is a later integration.
Replace or wrap MockTradingOSClient (src/lib/tradingos/MockTradingOSClient.ts) with a real client (REST/WebSocket) that:
alerts rows or realtime payloadssubmitApprovedExecution only after Companion marks an execution_request approvedServices (src/services/*.ts) become thin wrappers over Supabase + that client instead of mock/seed.ts.
Realtime — Supabase Realtime on alerts, messages, or a dedicated terminal_events table if you prefer DB-first fan-out.
assistant_learning_signals (and optionally recompute assistant_learning_metrics via Edge Function or cron).assistant_cockpit_snapshots for charts (alignment, confidence trends, behavior mapping).Live site: https://www.axecompanion.com on the IONOS Ubuntu/nginx host (Next on port 5000). Deploy on that box with ./scripts/deploy-vps.sh — see docs/vps-deploy.md.
npm run dev — developmentnpm run build — production buildnpm run start — serve production buildnpm run lint — ESLintDisplay name: TradingOS Companion. Package folder: tradingos-companion (npm naming).