- Go 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
Suite release / check-manifest (push) Has been skipped
Suite release / publish (push) Has been skipped
Suite release / deliver-prune (push) Has been skipped
Suite release / scope (push) Successful in 36s
Suite release / reserve (push) Has been skipped
Suite release / check-build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / check-package (push) Has been skipped
Suite release / reused-checks (push) Has been skipped
Suite release / build (none, ubuntu-latest) (ubuntu-latest, none) (push) Has been skipped
Suite release / finalize (push) Has been skipped
Suite release / deliver (push) Has been skipped
Suite release / deploy-image (push) Has been skipped
Suite release / module (push) Successful in 48s
|
||
| attend.go | ||
| attend_test.go | ||
| go.mod | ||
| README.md | ||
attend
Says whether a person is at the Claude Code session a hook runs for. claude-pane and tmux-strip both ask it, so they can't disagree about a session.
Claude Code marks an interactive session CLAUDE_CODE_SESSION_ATTENDED=1 and every claude -p
run 0. at-claude runs claude -p for the person at its window and names the session it runs in
AT_CLAUDE_SESSION (ATC-49). A claude -p
started by one of that session's tool calls inherits AT_CLAUDE_SESSION but has its own session
id, so nobody is at it. A run Claude Code didn't mark is neither attended nor unattended.
It was agent-tools' attend package until shared packages got repositories of their own
(AGT-85,
AHT-258).
Using it
require forgejo.romaine.life/romaine-life/attend v0.1.0
import "forgejo.romaine.life/romaine-life/attend"
if attend.Attended(sessionID, os.Getenv) { ... }
Testing
go test ./....
Shipping
A library: the release-module topic in
pipeline-templates' fleet.json
tags each merge that changes the code, and every fleet repository whose go.mod requires it
gets a take-up. Forgejo pushes it to its public GitHub copy, which proxy.golang.org serves to
builds outside CI.