[PR #13386] feat(opencode): add import and export endpoints for session data #14640

Open
opened 2026-02-16 18:19:25 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13386

State: open
Merged: No


What does this PR do?

Creates server endpoints for importing and exporting session data, follows the flow for the already existing cli commands opencode import <file> and opencode export

New endpoints are

/session/import and /session/<session_id>/export

How did you verify your code works?

Tested it on my local machine

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13386 **State:** open **Merged:** No --- ### What does this PR do? Creates server endpoints for importing and exporting session data, follows the flow for the already existing cli commands `opencode import <file>` and `opencode export` New endpoints are `/session/import` and `/session/<session_id>/export` ### How did you verify your code works? Tested it on my local machine
yindo added the pull-request label 2026-02-16 18:19:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14640