Feature 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.
Feature 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.