mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 08:03:37 +00:00
feat(linear): add MCP-style save issue (#9670)
* feat(linear): add MCP-style save issue * fix(linear): harden save issue parity * fix(linear): close save issue contract gaps * docs(linear): bundle project discovery with save issue
This commit is contained in:
@@ -12,6 +12,9 @@ function matchesRemoteCommand(commandPath: string[], ...command: string[]): bool
|
||||
|
||||
export function getRemoteLinearWriteHelp(parsed: ParsedRemoteCli): string | null {
|
||||
const path = parsed.commandPath
|
||||
if (matchesRemoteCommand(path, 'linear', 'save-issue')) {
|
||||
return LINEAR_SAVE_ISSUE_HELP
|
||||
}
|
||||
if (matchesRemoteCommand(path, 'linear', 'relation', 'add')) {
|
||||
return LINEAR_RELATION_ADD_HELP
|
||||
}
|
||||
@@ -69,6 +72,7 @@ export function getRemoteLinearWriteHelp(parsed: ParsedRemoteCli): string | null
|
||||
return null
|
||||
}
|
||||
|
||||
const LINEAR_SAVE_ISSUE_HELP = `orca linear save-issue\n\nUsage: orca linear save-issue [<id>] [--current] [--team <key|id>] [--title <title>] [--description <text> | --body-file -] [--state <state>] [--assignee me|<user>|null] [--priority none|low|medium|high|urgent] [--estimate <number>|null] [--due-date <yyyy-mm-dd>|null] [--label <label>...] [--project <project>|null] [--parent-id <issue>|null] [--write-id <uuid>] [--workspace <id>] [--json]\n\nCreate or update a Linear issue`
|
||||
const LINEAR_RELATION_ADD_HELP = `orca linear relation add\n\nUsage: orca linear relation add [<id>] [--current] --related <issue> --type blocks|blocked-by|related|duplicate-of [--workspace <id>] [--json]\n\nAdd a Linear issue relation`
|
||||
const LINEAR_RELATION_REMOVE_HELP = `orca linear relation remove\n\nUsage: orca linear relation remove [<id>] [--current] --related <issue> --type blocks|blocked-by|related|duplicate-of [--workspace <id>] [--json]\n\nRemove a Linear issue relation`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user