Skip to content

Add generic agent-session webhook trigger#1305

Open
cyrusagent wants to merge 1 commit into
mainfrom
cypack-1300
Open

Add generic agent-session webhook trigger#1305
cyrusagent wants to merge 1 commit into
mainfrom
cypack-1300

Conversation

@cyrusagent

Copy link
Copy Markdown
Contributor

Assignee: @PaytonWebber (payton)

Summary

  • Adds a first-class POST /agent-session-webhook endpoint for trusted generic surfaces, authenticated with CYRUS_API_KEY.
  • Defines a versioned generic webhook contract with stable session binding, prompt/resume/stop events, callback support, and idempotency handling.
  • Replaces the Slack-only ChatSessionHandler with AgentSessionLifecycleService, so Slack and generic surface sessions share one create/resume/inject/reply lifecycle backed by the primary AgentSessionManager.
  • Adds generic allowed-tool and MCP config settings, regenerates config JSON schemas, and updates exports/tests/F1 docs.

Validation

  • pnpm typecheck
  • pnpm lint (passes with existing warnings)
  • pnpm test:packages:run
  • pnpm build
  • F1 test drive: apps/f1/test-drives/2026-06-09-cypack-1300-generic-agent-session-webhook.md

Linear: https://linear.app/ceedar/issue/CYPACK-1300/add-generic-agent-session-webhook-trigger-copy


Tip: I will respond to comments that @ mention @cyrusagent on this PR/MR. You can also submit a review with all your feedback at once, and I will automatically wake up to address each comment.

@cyrusagent cyrusagent marked this pull request as ready for review June 9, 2026 19:40
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.

1 participant