Skip to content
Draft
15 changes: 15 additions & 0 deletions .github/workflows/wingbox.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: wingbox
on: pull_request
permissions:
contents: read
pull-requests: write
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: aileron-tech/wingbox-action@v1
with:
upload-map: true
4 changes: 3 additions & 1 deletion packages/ccbox/src/infra/session_detail.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Session detail: loads the timeline and the last assistant output of one session from its log file.

use crate::domain::{
ParsedLogLine, SessionTimeline, TimelineItem, TimelineItemKind, parse_log_value,
};
Expand Down Expand Up @@ -291,7 +293,7 @@ fn detect_log_format(path: &Path) -> LogFormat {
}

fn looks_like_claude_jsonl(path: &Path) -> bool {
for value in read_jsonl_values(path, 50) {
for value in read_jsonl_values(path, 100) {
let line_type = value.get("type").and_then(|v| v.as_str()).unwrap_or("");
if matches!(
line_type,
Expand Down
Loading