@kyaukyuai/linear-cli 2.2.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +31 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [2.4.0] - 2026-03-17
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- added JSON output parity for `team members`, `issue relation list`, and `issue comment add` to support bot-friendly team lookup, dependency traversal, and comment ledger workflows
|
|
10
|
+
- added `issue parent`, `issue children`, and `issue create-batch --file` for explicit issue hierarchy traversal and batch decomposition workflows
|
|
11
|
+
|
|
12
|
+
## [2.3.0] - 2026-03-17
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- added `issue list --json` with bot-oriented filters for `query`, `parent`, `priority`, `updated-before`, and `due-before`
|
|
17
|
+
- stabilized `issue view --json` with a bot-friendly payload that includes assignee, due date, priority, relations, and comment summaries
|
|
18
|
+
- added `issue create --json` and `issue update --json` with stable response payloads for wrappers and bots
|
|
19
|
+
|
|
20
|
+
### Improved
|
|
21
|
+
|
|
22
|
+
- aligned npm trusted publishing with the `publish.yaml` workflow used by release automation
|
|
23
|
+
|
|
5
24
|
## [2.2.1] - 2026-03-17
|
|
6
25
|
|
|
7
26
|
### Fixed
|
package/README.md
CHANGED
|
@@ -148,6 +148,8 @@ note that [Linear's GitHub integration](https://linear.app/docs/github#branch-fo
|
|
|
148
148
|
linear issue view # view current issue details in terminal
|
|
149
149
|
linear issue view ABC-123
|
|
150
150
|
linear issue view 123
|
|
151
|
+
linear issue view ABC-123 --json # emit stable machine-readable issue details
|
|
152
|
+
linear issue view ABC-123 --json --no-comments # skip raw comments but keep commentsSummary
|
|
151
153
|
linear issue view -w # open issue in web browser
|
|
152
154
|
linear issue view -a # open issue in Linear.app
|
|
153
155
|
linear issue id # prints the issue id from current branch (e.g., "ENG-123")
|
|
@@ -156,22 +158,50 @@ linear issue url # prints the Linear.app URL for the issue
|
|
|
156
158
|
linear issue pr # creates a GitHub PR with issue details via `gh pr create`
|
|
157
159
|
linear issue list # list your issues in a table view (supports -s/--state and --sort)
|
|
158
160
|
linear issue list --project "My Project" --milestone "Phase 1" # filter by milestone
|
|
161
|
+
linear issue list --json # emit machine-readable issue data
|
|
162
|
+
linear issue list --all-states --query auth --priority high --updated-before 2026-03-31T00:00:00Z --due-before 2026-04-07 --json
|
|
163
|
+
linear issue list --parent ENG-100 --json # filter sub-issues of a parent issue
|
|
159
164
|
linear issue list -w # open issue list in web browser
|
|
160
165
|
linear issue list -a # open issue list in Linear.app
|
|
161
166
|
linear issue start # create/switch to issue branch and mark as started
|
|
162
167
|
linear issue create # create a new issue (interactive prompts)
|
|
163
168
|
linear issue create -t "title" -d "description" # create with flags
|
|
169
|
+
linear issue create -t "title" --team ENG --json # emit machine-readable created issue data
|
|
170
|
+
linear issue create-batch --file ./issue-batch.json --json # create a parent issue and child issues from JSON
|
|
164
171
|
linear issue create --project "My Project" --milestone "Phase 1" # create with milestone
|
|
165
172
|
linear issue update # update an issue (interactive prompts)
|
|
166
173
|
linear issue update ENG-123 --due-date 2026-03-31 # set an issue due date
|
|
167
174
|
linear issue update ENG-123 --clear-due-date # clear an issue due date
|
|
175
|
+
linear issue update ENG-123 --assignee self --json # emit machine-readable updated issue data
|
|
168
176
|
linear issue update ENG-123 --milestone "Phase 2" # set milestone on existing issue
|
|
169
177
|
linear issue delete # delete an issue
|
|
170
178
|
linear issue comment list # list comments on current issue
|
|
171
179
|
linear issue comment add # add a comment to current issue
|
|
172
180
|
linear issue comment add -p <id> # reply to a specific comment
|
|
181
|
+
linear issue comment add ENG-123 --body "follow-up" --json # emit created comment data
|
|
182
|
+
linear issue relation list ENG-123 --json # emit dependency graph for an issue
|
|
173
183
|
linear issue comment update <id> # update a comment
|
|
174
184
|
linear issue commits # show all commits for an issue (jj only)
|
|
185
|
+
linear issue parent ENG-123 --json # emit the parent issue, or null when absent
|
|
186
|
+
linear issue children ENG-123 --json # emit child issues for decomposition workflows
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
`issue create-batch` expects a JSON file shaped like:
|
|
190
|
+
|
|
191
|
+
```json
|
|
192
|
+
{
|
|
193
|
+
"team": "ENG",
|
|
194
|
+
"project": "Roadmap",
|
|
195
|
+
"parent": {
|
|
196
|
+
"title": "Manager bot rollout",
|
|
197
|
+
"description": "Coordinate rollout work",
|
|
198
|
+
"state": "started"
|
|
199
|
+
},
|
|
200
|
+
"children": [
|
|
201
|
+
{ "title": "Add issue list JSON", "assignee": "self" },
|
|
202
|
+
{ "title": "Add issue view JSON", "dueDate": "2026-04-15" }
|
|
203
|
+
]
|
|
204
|
+
}
|
|
175
205
|
```
|
|
176
206
|
|
|
177
207
|
### team commands
|
|
@@ -180,6 +210,7 @@ linear issue commits # show all commits for an issue (jj only)
|
|
|
180
210
|
linear team list # list teams
|
|
181
211
|
linear team id # print out the team id (e.g. for scripts)
|
|
182
212
|
linear team members # list team members
|
|
213
|
+
linear team members ENG --json # emit assignable candidates for a team
|
|
183
214
|
linear team create # create a new team
|
|
184
215
|
linear team autolinks # configure GitHub repository autolinks for Linear issues
|
|
185
216
|
```
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"hasInstallScript": true,
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"name": "@kyaukyuai/linear-cli",
|
|
26
|
-
"version": "2.
|
|
26
|
+
"version": "2.4.0"
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@isaacs/cliui": {
|
|
29
29
|
"engines": {
|
|
@@ -542,5 +542,5 @@
|
|
|
542
542
|
}
|
|
543
543
|
},
|
|
544
544
|
"requires": true,
|
|
545
|
-
"version": "2.
|
|
545
|
+
"version": "2.4.0"
|
|
546
546
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/kyaukyuai/linear-cli/releases/download/v2.
|
|
3
|
+
"https://github.com/kyaukyuai/linear-cli/releases/download/v2.4.0"
|
|
4
4
|
],
|
|
5
5
|
"bin": {
|
|
6
6
|
"linear": "run-linear.js"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"zipExt": ".tar.xz"
|
|
86
86
|
}
|
|
87
87
|
},
|
|
88
|
-
"version": "2.
|
|
88
|
+
"version": "2.4.0",
|
|
89
89
|
"volta": {
|
|
90
90
|
"node": "18.14.1",
|
|
91
91
|
"npm": "9.5.0"
|