Skip to content

feat: add team session sharing via git repo + SessionEnd hook#20

Open
durandom wants to merge 1 commit into
mainfrom
feat/session-sharing
Open

feat: add team session sharing via git repo + SessionEnd hook#20
durandom wants to merge 1 commit into
mainfrom
feat/session-sharing

Conversation

@durandom

@durandom durandom commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary

  • SessionEnd hook auto-exports Claude Code transcripts to a shared git repo (local commit only, push on demand)
  • /fullsend sessions skill subcommand for status, push, pull, and viewing shared sessions in AgentsView
  • make sessions target to browse shared sessions in the AgentsView container

How it works

Claude Code session ends
  → SessionEnd hook (.claude/settings.json)
  → export-session.sh (reads stdin JSON)
  → copies transcript + metadata header to <sessions-repo>/<user>_<project>/<session-id>.jsonl
  → git add + git commit (local only)

Configuration via ~/.config/fullsend/sessions.env:

FULLSEND_SESSIONS_REPO=/path/to/team-sessions-repo

The hook exits silently if sessions aren't configured — safe for all team members.

Files changed

File What
agentsview/scripts/export-session.sh New — session export script
.claude/settings.json New — project-level SessionEnd hook
.claude/skills/fullsend/references/sessions.md New — /fullsend sessions skill reference
.claude/skills/fullsend/SKILL.md Added sessions to command + routing tables
agentsview/Makefile Added sessions target

Test plan

  • Set up ~/.config/fullsend/sessions.env pointing to a test git repo
  • End a Claude session in this project, verify transcript appears in the sessions repo with a local commit
  • Run /fullsend sessions — verify status output shows config and session count
  • Run make sessions in agentsview/ — verify AgentsView starts with shared sessions
  • Verify silent exit when sessions.env is not configured (remove/rename the file)
  • Verify idempotency — re-export same session, confirm no duplicate

🤖 Generated with Claude Code

Enable sharing regular Claude Code session transcripts for review in
AgentsView. Sessions are auto-exported on session end via a project-level
hook, committed locally to a configurable shared git repo, and pushed on
demand via `/fullsend sessions push`.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@durandom durandom requested a review from kadel as a code owner July 7, 2026 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant