@kyaukyuai/linear-cli 2.3.0 → 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 CHANGED
@@ -2,6 +2,13 @@
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
+
5
12
  ## [2.3.0] - 2026-03-17
6
13
 
7
14
  ### Added
package/README.md CHANGED
@@ -167,6 +167,7 @@ linear issue start # create/switch to issue branch and mark as started
167
167
  linear issue create # create a new issue (interactive prompts)
168
168
  linear issue create -t "title" -d "description" # create with flags
169
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
170
171
  linear issue create --project "My Project" --milestone "Phase 1" # create with milestone
171
172
  linear issue update # update an issue (interactive prompts)
172
173
  linear issue update ENG-123 --due-date 2026-03-31 # set an issue due date
@@ -177,8 +178,30 @@ linear issue delete # delete an issue
177
178
  linear issue comment list # list comments on current issue
178
179
  linear issue comment add # add a comment to current issue
179
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
180
183
  linear issue comment update <id> # update a comment
181
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
+ }
182
205
  ```
183
206
 
184
207
  ### team commands
@@ -187,6 +210,7 @@ linear issue commits # show all commits for an issue (jj only)
187
210
  linear team list # list teams
188
211
  linear team id # print out the team id (e.g. for scripts)
189
212
  linear team members # list team members
213
+ linear team members ENG --json # emit assignable candidates for a team
190
214
  linear team create # create a new team
191
215
  linear team autolinks # configure GitHub repository autolinks for Linear issues
192
216
  ```
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@kyaukyuai/linear-cli",
26
- "version": "2.3.0"
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.3.0"
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.0"
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.3.0",
88
+ "version": "2.4.0",
89
89
  "volta": {
90
90
  "node": "18.14.1",
91
91
  "npm": "9.5.0"