Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

feat: sessions files and sessions by-file subcommands

Abierto
#611 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
rust
Área
cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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]
Lenguaje dominante
Rust
Estrellas
62
Forks
5
Merge medio
2 h 27 min
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de terraphim/terraphim-ai

Todos los issues de terraphim/terraphim-ai

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.