GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [FEATURE]: Add explicit hidden or ephemeral sessions for plugin background tasks · Issue #40863 · anomalyco/opencode Closed as not planned Closed as not planned Copy link DescriptionFeature hasn't been suggested before.
Describe the enhancement you want to requestPlugins sometimes need to run LLM tasks in the background without exposing those tasks as normal user conversations. I built a local long-term memory plugin that uses this pattern:
This works, but it relies on child sessions being excluded from user-facing root session lists. A child session can still appear in unfiltered session queries and may remain orphaned if the process exits before cleanup. I would like to propose an explicit opt-in property when creating a session, for example: client.session.create({ body: { title: "memory-consolidation", parentID, hidden: true, ephemeral: true, }, }) Possible semantics: hidden: true excludes the session from normal user-facing session lists and pickers. This would support background use cases such as: memory consolidation; I have a working plugin and end-to-end tests demonstrating that child sessions can execute prompts, remain absent from root session listings, return structured results, and be deleted after completion. Related discussions include #19999 and #20849, but this request is intentionally narrower: it concerns only session visibility and lifecycle for plugin-created background tasks. I am happy to contribute documentation and tests first, or an implementation after the maintainers confirm the preferred API and semantics. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |