Skip to main content

types

Reference for Splitrail's core data types. Use when working with ConversationMessage, Stats, DailyStats, or other type definitions.

설치로 이동

소스 정보

저장소
Piebald-AI/splitrail
최근 소스 활동
2026년 1월 1일 00:15
감지된 SKILL.md 언어
영어
스타
223
포크
24

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
types
description
Reference for Splitrail's core data types. Use when working with ConversationMessage, Stats, DailyStats, or other type definitions.
# Key Types Read `src/types.rs` for full definitions. ## Core Types - **ConversationMessage** - Normalized message format across all analyzers. Contains application source, timestamp, hashes for deduplication, model info, token/cost stats, and role. - **Stats** - Comprehensive usage metrics for a single message including token counts, costs, file operations, todo tracking, and composition stats by file type. - **DailyStats** - Pre-aggregated stats per date with message counts, conversation counts, model breakdown, and embedded Stats. - **Application** - Enum identifying which AI coding tool a message came from. - **MessageRole** - User or Assistant. ## Hashing Strategy - `local_hash`: Deduplication within a single analyzer - `global_hash`: Deduplication on upload to Splitrail Cloud ## Aggregation Use `crate::utils::aggregate_by_date()` to group messages into daily stats. See `src/utils.rs`.
GitHub에서 보기