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
フォーク
25

インストール方法

デフォルトでは、最初にソースを確認する 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で見る