Skip to content

AgentGate v0.4.0 — Continue.dev + Telegram + GitHub Actions

Choose a tag to compare

@FelixMa01 FelixMa01 released this 14 Aug 08:13
· 25 commits to main since this release

v0.4.0 — Continue.dev + Telegram + GitHub Actions

Three new integrations extend AgentGate's reach:

Continue.dev adapter (agentgate install-continue-hook)

Continue.dev reads the same PreToolUse hook format as Claude Code — so this adapter is the same wire format wrapped in a thin .continue/settings.json writer. Tests confirm the same payload works for both.

Telegram notification (AGENTGATE_TELEGRAM_BOT_TOKEN)

Telegram is now the first-priority notification channel when both Telegram creds are set:

  • AGENTGATE_TELEGRAM_BOT_TOKEN (from @Botfather)
  • AGENTGATE_TELEGRAM_CHAT_ID (chat or group ID)

Channel precedence: Telegram > Slack > file fallback.

GitHub Actions adapter (python -m agentgate.actions_annotate)

A post-step that runs after a coding agent (e.g. anthropics/claude-code-action) finishes in CI. Walks every changed line through AgentGate's policy and:

  • Emits ::error file=…,line=…::AgentGate: … annotations (visible in PR checks)
  • Posts a single PR review comment summarising denies/asks
  • Fails the step if any change is denied

Example workflow:

- uses: anthropics/claude-code-action@…
- name: AgentGate review
  env:
    AGENTGATE_POLICY: ./policy.yaml
    AGENTGATE_DB: ./audit.db
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  run: python -m agentgate.actions_annotate

Tests

71 → 81 unit tests. New:

  • tests/test_continue.py (4 tests)
  • tests/test_notify.py (7 tests — Slack/Telegram/file fallback)
  • tests/test_actions.py (3 tests — git diff parsing)

Verify script

scripts/verify.sh now runs 10 end-to-end steps (up from 8), including the new Continue and Actions adapters.