spb/vquant Public MIT
VibeQuant — AI-powered institutional-grade financial intelligence platform.
TypeScript 84.3%
Python 11.7%
JavaScript 1.6%
CSS 1.5%
HTML 0.7%
1/*2 * =============================================================================3 * VibeQuant (vquant) — AI-Powered Financial Intelligence Platform4 * -----------------------------------------------------------------------------5 * File: shared/types.ts6 *7 * Author: Simon-Pierre Boucher8 * Contact: contact@spboucher.ai9 * Website: https://www.spboucher.ai10 * Demo: https://www.vquant.ai11 * License: MIT (see LICENSE)12 *13 * Copyright © 2026 Simon-Pierre Boucher. All rights reserved.14 * =============================================================================15 */1617/**18 * Shared types for API requests/responses.19 * These are decoupled from the ORM schema and used across client + server.20 */2122export interface SearchResult {23 title: string;24 url: string;25 snippet: string;26 favicon?: string;27 rank: number;28}2930export interface ClaudeMessage {31 role: "user" | "assistant";32 content: string;33}3435export interface ClaudeToolCall {36 name: string;37 input: Record<string, unknown>;38}3940export interface ClaudeToolResult {41 tool_use_id: string;42 content: string;43}4445export interface ChatRequest {46 query: string;47 sessionId?: string;48}4950export interface ChatResponse {51 answer: string;52 sources: SearchResult[];53 sessionId: string;54}5556export interface ConversationMessage {57 question: string;58 answer: string;59}60