Help us shape the future of Go! Take the 2026 Go Developer Survey

codexsessions

package
v0.19.13 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package codexsessions opens Codex CLI threads as Orb conversations, to read and continue with any model, and takes in the turns Codex adds afterwards.

Codex indexes its threads in state_5.sqlite; each thread's rollout JSONL is the record its own resume reads, so it is the source here: the items the model saw, with reasoning still encrypted for replay.

Index

Constants

View Source
const Name = "codex-sessions"

Name is the plugin switch that enables opening Codex threads.

Variables

View Source
var ErrNoCodexSession = errors.New("no Codex session")

ErrNoCodexSession reports an ID that names no Codex thread.

Functions

func Extension

func Extension(env []string) extensions.Factory

Extension catches imported conversations up with their Codex threads when they open.

func ImportCodex

func ImportCodex(id string, env []string, create func(cwd string) (*session.SessionManager, error)) (*session.SessionManager, error)

ImportCodex opens a Codex thread in a new Orb conversation. create makes the conversation in the thread's directory, under the thread's own ID so opening it again finds the Orb conversation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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