尚未检测到更新。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).