Skip to content

feat: add compact changes output for agents#5

Merged
pikonha merged 2 commits into
mainfrom
feat/compact-changes-output
Jun 10, 2026
Merged

feat: add compact changes output for agents#5
pikonha merged 2 commits into
mainfrom
feat/compact-changes-output

Conversation

@pikonha

@pikonha pikonha commented Jun 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds clickup changes --compact for token-light agent activity feeds.
  • Adds --limit to cap returned tasks/docs while preserving full task_count/doc_count totals.
  • Updates README, AGENTS.md, changelog, and API docs with agent-focused usage examples.

Why

Full clickup changes output can be very large for agents because each task includes assignees, watchers, tags, custom fields, descriptions, and other metadata. In a live 1-hour Blockful workspace sample, --compact --limit 10 reduced output from 268,154 bytes to 4,064 bytes (~98.5% smaller) while preserving total counts.

Test Plan

  • PATH=/home/blockful/.local/go/bin:$PATH go test ./...
  • PATH=/home/blockful/.local/go/bin:$PATH go build -o /tmp/clickup-pr-test ./
  • Smoke tested against Blockful workspace with --since 1h --no-save --skip-docs --compact --limit 10.

hermes-agent and others added 2 commits June 10, 2026 19:02
Index into the tasks slice instead of ranging by value, which copied
672 bytes per iteration and failed the lint CI job.

https://claude.ai/code/session_01TnPGFjB1wd8dffJdR2WFQP
@pikonha pikonha merged commit 3c6cb1d into main Jun 10, 2026
3 checks passed
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.

3 participants