diff --git a/.github/workflows/wingbox.yml b/.github/workflows/wingbox.yml new file mode 100644 index 0000000..a684cc3 --- /dev/null +++ b/.github/workflows/wingbox.yml @@ -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 diff --git a/packages/ccbox/src/infra/session_detail.rs b/packages/ccbox/src/infra/session_detail.rs index a5e5bfb..23070c6 100644 --- a/packages/ccbox/src/infra/session_detail.rs +++ b/packages/ccbox/src/infra/session_detail.rs @@ -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, }; @@ -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,