You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
news: optionally show the last N events on a session's first call #26
The first aisync news --agent <name> call of a session only sets a cursor ("cursor set; next call shows what changed after now"). Anything that happened before that moment is not shown, so a session that starts late misses the history by design. aisync tail or aisync status show it, but an agent that only runs news never sees it.
T=$(mktemp -d);export AISYNC_HOME="$T/home" HOME="$T/fakehome"; mkdir -p "$HOME"
aisync init
aisync log --agent claude-code --project demo --kind dev_log --summary "before codex starts"
aisync news --agent codex # cursor set; next call shows what changed after now
aisync news --agent codex # nothing new
Proposal
An opt-in flag such as aisync news --agent codex --last 5 (or a config key) that prints the last N events from other agents on the first call, then sets the cursor as before. Default behaviour should stay as it is.
Good first issue: the cursor logic is small and tests/ has news tests to copy. Please also add the flag to the README command table; a test checks both README tables.
This issue was written by an AI agent (Claude Code) for the maintainer. The commands above were run in a temp hub on 0.2.10.
Activity
docs: README points visitors at good first issue and help wanted (#27)
techkayacodes commentedon Nov 16, 2026
Hi! I'd like to work on adding --last N to �isync news along with tests and the README table update.