Skip to content

feat(plugin): expose session history reads - #43556

Open
opencode-agent[bot] wants to merge 1 commit into
v2from
session-history-api
Open

feat(plugin): expose session history reads#43556
opencode-agent[bot] wants to merge 1 commit into
v2from
session-history-api

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Summary

  • expose paginated persisted session enumeration through ctx.session.list
  • add ctx.session.children for direct child traversal and ctx.session.messages for retained message history
  • support both Effect and Promise plugin entrypoints with the same bounded cursor behavior as the server APIs
  • document the new plugin capabilities

Validation

  • bun typecheck (packages/client)
  • bun typecheck (packages/plugin)
  • bun typecheck (packages/core)
  • bun test test/plugin.test.ts test/plugin/promise.test.ts (packages/core)
  • Prettier check for changed files

Requested by: @rekram1-node (Aiden via Slack)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant