Enable daemon RPC support for delete operations to trigger auto-sync. This PR adds delete operation support to the RPC daemon, ensuring that delete operations emit mutation events and trigger auto-sync like other mutating operations. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This commit is contained in:
@@ -36,6 +36,7 @@ const (
|
||||
OpEpicStatus = "epic_status"
|
||||
OpGetMutations = "get_mutations"
|
||||
OpShutdown = "shutdown"
|
||||
OpDelete = "delete"
|
||||
)
|
||||
|
||||
// Request represents an RPC request from client to daemon
|
||||
@@ -97,6 +98,15 @@ type CloseArgs struct {
|
||||
Reason string `json:"reason,omitempty"`
|
||||
}
|
||||
|
||||
// DeleteArgs represents arguments for the delete operation
|
||||
type DeleteArgs struct {
|
||||
IDs []string `json:"ids"` // Issue IDs to delete
|
||||
Force bool `json:"force,omitempty"` // Force deletion without confirmation
|
||||
DryRun bool `json:"dry_run,omitempty"` // Preview mode
|
||||
Cascade bool `json:"cascade,omitempty"` // Recursively delete dependents
|
||||
Reason string `json:"reason,omitempty"` // Reason for deletion
|
||||
}
|
||||
|
||||
// ListArgs represents arguments for the list operation
|
||||
type ListArgs struct {
|
||||
Query string `json:"query,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user