ciceroyang / dsh-trajectory

목록에 있음

Render a DeepSeek Harness session log into a shareable HTML trajectory document

main세션 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:ciceroyang/dsh-trajectory

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 70d5fbb동기화 2026. 8. 18.

dsh-trajectory

Renders a DeepSeek Harness session log into a shareable HTML trajectory document — the offline, zero-dependency cousin of the official Trajectory view. "Every run leaves a trace", made portable.

Usage

node trajectory.mjs <session.jsonl.zstd>
node trajectory.mjs <sessions-dir>      # newest log wins
node trajectory.mjs <sessions-dir> --all # merge every session into one chronological volume
node trajectory.mjs <log> --since 2026-08-11 --until 2026-08-17   # time-window slice (single and --all modes)
node trajectory.mjs <log> --out report.html

Output: one self-contained HTML file (inline CSS, no external assets) plus the first 16 hex chars of its SHA-256.

What the document contains

  • session metadata (id / workspace / time range / turn count / token ledger)
  • per-turn timeline: user asks, tool calls (argument briefs + error markers), assistant excerpts
  • end-reason annotations (completed / blocked / error / …)

Technical notes

  • multi-frame zstd frame scan + per-frame decode (the single-shot-decompress pitfall, algorithm ported from the official format.ts)
  • zero dependencies, plain ESM; the HTML renderer is a pure function, fully unit-testable
  • all output is HTML-escaped, so hostile log text cannot become script

Use cases

  • delivery audit: hand the trajectory to a reviewer with a checkable SHA-256
  • incident review: tool errors visible in their exact timeline position
  • sharing: no DSH installation needed — open in any browser

Sibling tools

  • dsh-report-studio: session → daily/weekly/handoff reports with receipts
  • dsh-plugin-starter / dsh-doctor: plugin scaffold / environment doctor

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨

저장소 정보

언어
JavaScript
라이선스
MIT
최신 릴리스
v0.4.1
마지막 업데이트
2026. 8. 18. 오후 12:07

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.