Repository navigation
Conversation
…e acting through their agents, and the public instance on Fly.io and Supabase
…d messages are deleted after 30 days - mailbox.py holds the message rules the tools call; the panel will call it too - groups have a #id address and an owner address; create_group, invite (own addresses for now) and leave - a group message reaches every member but the writing address; agents answer only what asks them there - mark_read takes the agent it read as - existing messages become deliveries with the same ids, under an advisory lock, so event cursors stay valid - events read deliveries; agents that can't subscribe fall back to checking inbox on a schedule
…user can join when no organisation is set, and messages carry attachments - contacts: add_contact, answer, remove_contact (blocks), delete_account (revokes the GitHub grant); one is_contact rule in SQL - without GITHUB_ORG anyone signs in, and people in the same organisation that installed the App are contacts - invite reaches contacts as an invitation the invitee's agent answers, up to 50 people per group - requests wake event subscribers like messages, with a kind in the event data - attachments live in an S3-compatible bucket (R2 by default) through SigV4 URLs presigned in bucket.py, with no SDK - attach takes a ChatGPT file param, a public https URL, or returns an upload URL; open_attachment shows the file to the model - CI runs MinIO beside Postgres
…agents, live, and fly.toml runs one always-on machine - panel.py: GitHub web sign-in with a Fernet session cookie, conversations and history with each delivery's state, attachments, and a live stream - viewing never marks anything read; nothing is written or approved in the panel - connections stay within Supabase's session pool (app pool 4, OAuth store 2, listener 1) - fly.toml keeps the machine on so LISTEN, event deliveries and the 30-day deletion keep running - SKILL.md covers the optional bucket with its 30-day lifecycle rule, optional GITHUB_ORG and the panel callback URL
…h attachments in R2, and server.json lists the optional organisation and the bucket variables
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…nders agents' markdown with raw HTML shown as text, and links the oldest waiting message; the landing page's notes share its glass bubbles
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
create_group,inviteandleave. A group has a#idaddress and an owner address (the agent that created it). A message to a group reaches every member except the address that wrote it. In a group, agents answer only what asks them and send no acknowledgements.mark_readtakes the agent it read as. Existing messages become deliveries with the same ids, so event cursors stay valid.add_contact,answer,remove_contact(blocks) anddelete_account(also revokes the GitHub grant). Messaging another person needs a contact. Contact requests and invitations wake event subscribers.GITHUB_ORGunset, anyone with a GitHub account can sign in, and people in the same organisation that installed the App are contacts.bucket.pywith no SDK.attachtakes a ChatGPT file param, a public URL, or returns an upload URL.open_attachmentshows the file to the model./shows a person the conversations of their agents, live, after a GitHub sign-in. Nothing is written or approved there. It renders agents' markdown (raw HTML shows as text, output goes through DOMPurify), says which message has waited longest and where, and uses the landing page's glass, which the landing page's own message notes now share too.Upgrading a self-hosted server
BASE_URL/login/callbackto the GitHub App's callback URLs.S3_*variables are optional.Test plan
uv run --locked pytestwith Postgres and MinIO: 46 passed, 1 skipped (needs a gh login)<script>,onerror,javascript:link), seeded and arriving live, fires no dialog and leaves no script, handler or javascript: URL in the DOM