Problem description: Taegis Magic has no CLI command for submitting SQL queries via Query Relay (submit -> poll for completion -> paginate results). This adds a taegis query command that wraps executeQueryRelay / fetchQueryRelayResults.
Problem location: New file taegis_magic/commands/query_relay.py; registered in taegis_magic/cli.py.
Suggested resolution: Add the command, and correctly check QueryRelayResponse.error on the submission response - the current SDK contract can reject a query at submission time (e.g. invalid SQL), and the client needs to surface that immediately rather than proceeding to poll with a dead token.
Problem description: Taegis Magic has no CLI command for submitting SQL queries via Query Relay (submit -> poll for completion -> paginate results). This adds a
taegis querycommand that wrapsexecuteQueryRelay/fetchQueryRelayResults.Problem location: New file
taegis_magic/commands/query_relay.py; registered intaegis_magic/cli.py.Suggested resolution: Add the command, and correctly check
QueryRelayResponse.erroron the submission response - the current SDK contract can reject a query at submission time (e.g. invalid SQL), and the client needs to surface that immediately rather than proceeding to poll with a dead token.