• v0.7.0 73a401e0fb

    v0.7.0
    All checks were successful
    release / plan (push) Successful in 5s
    test / changelog (push) Successful in 5s
    release / image (push) Successful in 27s
    release / release (push) Successful in 1s
    test / go (push) Successful in 43s
    Stable

    mikluko released this 2026-11-16 09:45:21 +00:00 | 38 commits to main since this release

    Added

    • [server] purge_every, a duration such as "1m" (default one hour): how often the transcripts past their transcript_term are removed. A short term and a short gap let a transcript be watched going.
    • !reset in a room, from a holder of the owner's role, starts the session afresh: the server asks gc, with gc session reset, to stop it and start it again, and the room says when it has begun anew. !help lists it. A reset that cannot be asked, for a session that is not running or one that has no gc id recorded, is answered with the reason.

    Changed

    • The variables by which gc knows who is calling (GC_AGENT, GC_ALIAS, GC_SESSION_ID, GC_SESSION_NAME, GC_TEMPLATE, GC_SESSION_ORIGIN, GC_INSTANCE_TOKEN, GC_CONTINUATION_EPOCH, GC_RUNTIME_EPOCH, GC_PROVIDER, GC_STARTUP_PROMPT_DELIVERED) are set from what the server kept of the session's start, in the session's marks, and no longer from what each request says, so that a session cannot speak to gc as another. The first three are the marks gc itself stamps in a session's life, and are read at each call. A session started before this release has no record and is still taken at its word, until it is started again.
    • A session has one transcript for each of its starts. The page /-/<session>/<n> is the transcript of the nth start (and /-/<session>/<n>/raw its stream), /-/<session> the latest; the card says which start of how many, links the others, and says how the start ended (stop, reset, failed or lost), the chat room it was shown in and gc's id of the session. Registry.Transcript takes the start's number, 0 for the latest, and session.Service has Starts and SetRoom.
    • The 90 days of transcript_term are counted for each start from its own end: a start that is not the session's latest is removed with its events once it ended that long ago, and the session whole once its last event is that old and it has ended. Registry.Purge returns how many starts it removed.
    • The journal's notice that a session began anew links the transcript of the start that just closed. The chat side records the room of each start with SetRoom.
    Downloads