Skip to content

[FEATURE]: Include todos in session export/import #20117

@qike-ms

Description

@qike-ms

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

When exporting a session with opencode export, the todos associated with that session are lost. When importing a session, there is no way to restore them.

The export command should include the todo list in the JSON output, and the import command should restore todos when present. This enables full session round-trips (e.g. for backup, sharing, or migration between machines).

The change is minimal: Todo.get() on export, Todo.update() on import, with backward compatibility for old export files that lack the field.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions