Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

expose agent sessions and their compaction

Offen
#232 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
javascript
Bereich
api

Rechercherichtung

Read the linked WebMCP browser agent and app driven observations proposals, especially issue #229, to understand the session and observation model. Then determine how session start and compaction events would fit MCPContext and the lifecycle described here. Done means the proposal defines when both events fire and how apps can send observations around compaction.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

I think it could be interesting to expose browser agent sessions to applications, in particular for efficient compaction by the app itself.

Couple of ideas:

  • new events on MCPContext: sessionstart, sessioncompaction:
    • sessionstart fire when the UA starts the session, which I guess would be soon after document load (except if the session is shared between documents and was started earlier?) and would allow the app to send it's first observation.
    • sessioncompaction: fired when the context reaches an implementation define limit. The UA could just clear the context, and then the app could use the event to send an observation for the compacted state
    • both would require app driven observations.

The main benefit would be to allow the app itself to manage the context of the session, given that it is likely the app dev itself who is best placed to decide how to compact; for example for a ui app it could just send an observation with the latest relevant state, and then from then on only send deltas, and then resend the full state on compaction.

Vorherrschende Sprache
Bikeshed
Sterne
4.7k
Forks
328
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
16

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus webmachinelearning/webmcp

Alle Issues in webmachinelearning/webmcp

Ähnliche Issues

Weitere Issues zu Backend & API Design

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.