Merged
Conversation
Expand core Linear entity coverage, add workflow commands and shared query flags, and upgrade the TUI and human-readable output for the v2 experience.
There was a problem hiding this comment.
Pull request overview
Adds “v2 foundation” capabilities across linear-core, CLI, and TUI: expanded entity support, shared query/presentation flags, richer human output, and a revamped TUI issues layout.
Changes:
- Expanded
LinearGateway+ SDK typings/models to cover customers, customer needs, milestones, project/initiative updates, and notifications (plus richerIssueRecord). - Introduced shared CLI query plumbing (global options + local filtering/sorting + view/fields output shaping) and added workflow commands (
doctor,my-work,triage,updates,project status). - Updated TUI layout (persistent navigation + details pane) and adjusted tests accordingly.
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/tui/tests/app.test.tsx | Updates assertions to reflect new navigation/details UI copy. |
| packages/tui/src/screens/IssuesScreen.tsx | Splits issues list and selected-issue details into side-by-side panes. |
| packages/tui/src/components/Layout.tsx | Adds persistent navigation sidebar and relocates key hints/status. |
| packages/linear-core/tests/v2-gateway.test.ts | Adds gateway-level tests for new v2 entities and enriched issue fields. |
| packages/linear-core/src/types/public.ts | Extends entity union and introduces shared list/query typing (view/fields/sort/filter). |
| packages/linear-core/src/entities/sdk-types.ts | Extends SdkLinearClient surface + related SDK type aliases. |
| packages/linear-core/src/entities/models.ts | Expands records for enriched issues and new entities (customers, milestones, updates, notifications). |
| packages/linear-core/src/entities/linear-gateway.ts | Implements new list/get/create/update/delete methods and enriched issue mapping. |
| packages/cli/tests/output.test.ts | Adds coverage for --view detail + --fields rendering behavior. |
| packages/cli/tests/options.test.ts | Adds coverage for parsing shared global v2 query/presentation options. |
| packages/cli/tests/help.test.ts | Updates expectations for new v2 commands/entities appearing in help output. |
| packages/cli/src/utils/guards.ts | Extends numeric guard to parse numeric strings. |
| packages/cli/src/runtime/query.ts | Adds local filtering/sorting and “page draining” collection helper. |
| packages/cli/src/runtime/options.ts | Adds shared global query/presentation options parsing. |
| packages/cli/src/index.ts | Wires new commands, applies shared query/filter behavior, adds workflow commands. |
| packages/cli/src/help/root-help.ts | Updates root/issues help text with v2 workflows and flags. |
| packages/cli/src/formatters/output.ts | Adds --view detail and --fields support for human-readable output. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Tighten local page collection, fix project matching for customer needs and related filters, and ensure my-work resolves the authenticated viewer before filtering.
github-actions bot
pushed a commit
that referenced
this pull request
Mar 20, 2026
# [1.5.0-alpha.2](v1.5.0-alpha.1...v1.5.0-alpha.2) (2026-03-20) ### Features * **cli:** add linear cli v2 foundations ([#2](#2)) ([854d165](854d165))
|
🎉 This PR is included in version 1.5.0-alpha.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
doctor,my-work,triage,updates, andproject statusTesting
Notes