Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

feat: sessions files and sessions by-file subcommands

Aperta
#611 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

Start by reading the existing sessions search, list, and stats implementations that parse JSONL session files, then compare them with scripts/session-files.py in the cto-executive-system project. Trace how tool_input fields are extracted and how CLI output supports human-readable and JSON formats. Done means both proposed subcommands report the requested read/write file and session information with --json support.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Feature Request

Add file-level tracking to the sessions subcommand group:

sessions files <session-id>

List files touched by a specific session, extracted from tool invocations in the JSONL data.

Extraction targets:

  • Read tool -> tool_input.file_path
  • Edit tool -> tool_input.file_path
  • Write tool -> tool_input.file_path
  • MultiEdit tool -> tool_input.file_path
  • NotebookEdit tool -> tool_input.notebook_path
  • Glob tool -> tool_input.path
  • Grep tool -> tool_input.path

Output:

  • Categorize as "read" vs "written" (Edit/Write/MultiEdit/NotebookEdit = written)
  • Support --json for programmatic use
  • Default: human-readable table
sessions by-file <file-path>

List sessions that touched a given file path (substring match).

Output:

  • Session ID, topic, read/write mode
  • Support --json
Context

terraphim-agent already parses JSONL session files for sessions search, sessions list, and sessions stats. This extends extraction to the tool_input fields for file path tracking.

A temporary bridge script exists at scripts/session-files.py in the cto-executive-system project. This upstream implementation would supersede it.

Proposed CLI
terraphim-agent sessions files <session-id> [--json]
terraphim-agent sessions by-file <file-path> [--json]
Lingua principale
Rust
Stelle
62
Fork
5
Merge medio
2h 27m
PR unite (30g)
1

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di terraphim/terraphim-ai

Tutte le issue di terraphim/terraphim-ai

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.