From 39a1c7580f8759c78fa57c4077c44841f8d91d96 Mon Sep 17 00:00:00 2001 From: Marcel Hild Date: Tue, 7 Jul 2026 09:10:34 +0200 Subject: [PATCH] feat: add team session sharing via git repo + SessionEnd hook 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 --- .claude/settings.json | 15 ++ .claude/skills/fullsend/SKILL.md | 4 + .../skills/fullsend/references/sessions.md | 146 ++++++++++++++++++ agentsview/Makefile | 9 +- agentsview/scripts/export-session.sh | 97 ++++++++++++ 5 files changed, 270 insertions(+), 1 deletion(-) create mode 100644 .claude/settings.json create mode 100644 .claude/skills/fullsend/references/sessions.md create mode 100755 agentsview/scripts/export-session.sh diff --git a/.claude/settings.json b/.claude/settings.json new file mode 100644 index 0000000..070675b --- /dev/null +++ b/.claude/settings.json @@ -0,0 +1,15 @@ +{ + "hooks": { + "SessionEnd": [ + { + "matcher": "", + "hooks": [ + { + "type": "command", + "command": "bash agentsview/scripts/export-session.sh" + } + ] + } + ] + } +} diff --git a/.claude/skills/fullsend/SKILL.md b/.claude/skills/fullsend/SKILL.md index d2238aa..635a077 100644 --- a/.claude/skills/fullsend/SKILL.md +++ b/.claude/skills/fullsend/SKILL.md @@ -17,6 +17,8 @@ description: | Also use when asked to browse, view, or search fullsend runs in AgentsView, download run transcripts, start or stop the AgentsView viewer, or check agent run history. + Also use when asked to share, export, push, or pull Claude Code sessions, + configure session sharing, or view shared team sessions. Also use when asked to upgrade fullsend, sync scaffold files with a new version, update the CLI, bump fullsend, or check what version we're on. --- @@ -100,6 +102,7 @@ To add a variable, create an env file and wire it via `host_files` in the harnes | `comment <#issue> [--repo]` | Post a comment on an issue or PR | | `label <#issue>