You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
/export-session-locally is obviously missing, but is there a hidden idea behind that? #376
the /export takes as input the current session, and instead of sending it over the network, it just makes a file ./$date/session-export-agentcode.html which contains.
all the input and the output of the model, debugable
small toggle on div on js so we can expand and contract the model's output
some link somewhere to agentcode maybe at the beginning or the end
all the diffs, the patches, and the command executions
all the user prompts, since these are key to preserve, so we can have repeatable processes, and project documentation
ideally, a summary of the whole thing, so we can easily share it, but like, within our teams.
or some version of that.
I agree with the philosophy of open source and open code, but we can't force our users to share their work, we should be open and free to the idea that our users may not want to share the code everywhere, git doesn't force me to share my code with others, neither does vscode, why does this tool have no /export, that's a pretty basic feature.
I think the self-serving interests should be subservient to a greater good, if this is truly open source, why require users to share with a single domain? why not offer our users the same freedom and affordances offered to us by previous open source tool makes like linus et al? we stand in the shoulders of giants, let's not mess it up for those that come after us.
the main issue is ethics here, not the feature.
let's make a statement, we care about open source, we care about our users, we care that they can /export their work freely.
➜ ~ cd ~/.local/share/opencode/projects
cd: no such file or directory: /Users/b/.local/share/opencode/projects
➜ ~ uname -a
Darwin m1machine.local 23.6.0 Darwin Kernel Version 23.6.0: Thu Dec 19 20:47:33 PST 2024; root:xnu-10063.141.1.703.2~1/RELEASE_ARM64_T8103 arm64
➜ ~ cd ~/.local/share/opencode/projects
cd: no such file or directory: /Users/b/.local/share/opencode/projects
➜ ~
Activity
adamdotdevin commentedon Jun 24, 2025
prs welcome
thdxr commentedon Jun 25, 2025
your data is already available at
~/.local/share/opencode/project- you can implement a custom renderer for itdataf3l commentedon Jun 25, 2025
ndraiman commentedon Jun 27, 2025
I wanted the ability to export and view exported sessions in the web UI.
so I opened a PR here: #466
Still in Draft mode since I'm looking for feedback @thdxr @adamdotdevin 🙏🏻
There's a video example inside.
Edit (06/28):
Fixed conflicts with the new SDKs.
But now I need the Client SDK to be regenerated to support the Export commands
ndraiman commentedon Jun 28, 2025
With adding streaming support to the messages API we can invoke the agent from the Web UI:
Screen.Recording.2025-06-28.at.15.56.43.mp4