export

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package export writes a session's message history to disk as JSON Lines so users can inspect or archive a conversation outside the TUI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteSession

func WriteSession(exportsDir, sessionID string, msgs []message.Message) (string, error)

WriteSession writes msgs, in order, as JSON Lines to {exportsDir}/{sessionID}.jsonl, creating exportsDir if it does not already exist. Repeat calls for the same sessionID overwrite the file. It returns the full path written.

Types

This section is empty.

Source Files

  • export.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL