moved

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package moved defines how hopsesh marks the copy of a session left behind after a handoff. The mark is an ordinary `custom-title` record (the one /rename writes), so Claude Code's own resume picker shows the old copy as "↪ moved to <host> · <title>", and hopsesh can read where the session went.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsTitle

func IsTitle(t string) bool

IsTitle reports whether a custom title is a moved mark.

func Parse

func Parse(t string) (host, title string, ok bool)

Parse reports whether t is a moved title, the host the session moved to, and the original title.

func Record

func Record(sessionID, host, title string) []byte

Record is the JSONL line appended to the old copy (with its trailing newline).

func Title

func Title(host, title string) string

Title is the title given to the copy left on the old machine.

Types

This section is empty.

Jump to

Keyboard shortcuts

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