Add read-only orca linear CLI with trusted launch-prompt pointer (V1) (#5126)

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Brennan Benson
2026-06-10 20:20:50 -07:00
committed by GitHub
co-authored by Orca
parent 519cc5d1c3
commit cdc0ca5e53
68 changed files with 4379 additions and 283 deletions
+2
View File
@@ -10,6 +10,7 @@ import { ENVIRONMENT_COMMAND_SPECS } from './environment'
import { AGENT_HOOK_COMMAND_SPECS } from './agent-hooks'
import { DIAGNOSTICS_COMMAND_SPECS } from './diagnostics'
import { EMULATOR_COMMAND_SPECS } from './emulator'
import { LINEAR_COMMAND_SPECS } from './linear'
export const COMMAND_SPECS: CommandSpec[] = [
...CORE_COMMAND_SPECS,
@@ -22,5 +23,6 @@ export const COMMAND_SPECS: CommandSpec[] = [
...AGENT_HOOK_COMMAND_SPECS,
...DIAGNOSTICS_COMMAND_SPECS,
...ENVIRONMENT_COMMAND_SPECS,
...LINEAR_COMMAND_SPECS,
...EMULATOR_COMMAND_SPECS
]
+37
View File
@@ -0,0 +1,37 @@
import type { CommandSpec } from '../args'
import { GLOBAL_FLAGS } from '../args'
export const LINEAR_COMMAND_SPECS: CommandSpec[] = [
{
path: ['linear', 'issue'],
summary: 'Read Linear issue context for agents',
usage:
'orca linear issue [<id>] [--current] [--comments] [--children] [--depth <n>] [--attachments] [--relations] [--full] [--workspace <id>] [--json]',
allowedFlags: [
...GLOBAL_FLAGS,
'current',
'comments',
'children',
'depth',
'attachments',
'relations',
'full',
'workspace',
'id'
],
positionalArgs: ['id'],
examples: [
'orca linear issue ENG-123',
'orca linear issue --current --comments',
'orca linear issue https://linear.app/acme/issue/ENG-123 --full --json'
]
},
{
path: ['linear', 'search'],
summary: 'Search connected Linear workspaces',
usage: 'orca linear search <query> [--limit <n>] [--workspace <id>|all] [--json]',
allowedFlags: [...GLOBAL_FLAGS, 'limit', 'workspace', 'query'],
positionalArgs: ['query'],
examples: ['orca linear search "auth bug"', 'orca linear search ENG --workspace all --json']
}
]