Skip to content

Conversation

@StuartFenton
Copy link

Summary

Adds support for delegating issues to Linear agents, managing agent sessions, and @mentioning agents.

Changes

  • Add --delegate flag to issue create and issue update for agent assignment
  • Add --label flag to issue create for setting labels (repeatable, case-insensitive)
  • Add linctl agent <ID> command to view agent session status and activities
  • Add linctl agent mention <ID> <message> to @mention agents
  • Add GetTeamLabels(), GetOrganization(), MentionAgent(), DeleteComment() API functions
  • Add comprehensive tests for new functionality

Usage

# Create issue and delegate to agent
linctl issue create --title "Task" --team ENG --delegate "Agent Name"

# Create with labels
linctl issue create --title "Task" --team ENG --label mylabel

# Check agent session status
linctl agent ENG-123
linctl agent ENG-123 --json

# @mention an agent to trigger them
linctl agent mention ENG-123 "Please fix the authentication bug"

Testing

All tests pass: go test ./...

- Add `--delegate` flag to assign issues to agents
- Add `--label` flag for issue creation (repeatable, case-insensitive)
- Add `linctl agent <ID>` to view agent session status and activities
- Add `linctl agent mention <ID> <message>` to @mention agents
- Add GetTeamLabels(), GetOrganization(), MentionAgent(), DeleteComment() API functions

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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