@kyaukyuai/linear-cli 2.3.0 → 2.4.1

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,19 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.4.1] - 2026-03-17
6
+
7
+ ### Added
8
+
9
+ - added JSON output for `issue relation add` and `issue relation delete` so bots and wrappers can create and remove dependencies without parsing terminal text
10
+
11
+ ## [2.4.0] - 2026-03-17
12
+
13
+ ### Added
14
+
15
+ - 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
16
+ - added `issue parent`, `issue children`, and `issue create-batch --file` for explicit issue hierarchy traversal and batch decomposition workflows
17
+
5
18
  ## [2.3.0] - 2026-03-17
6
19
 
7
20
  ### 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,32 @@ 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 add ENG-123 blocked-by ENG-100 --json # emit machine-readable relation creation data
183
+ linear issue relation delete ENG-123 blocked-by ENG-100 --json # emit machine-readable relation deletion data
184
+ linear issue relation list ENG-123 --json # emit dependency graph for an issue
180
185
  linear issue comment update <id> # update a comment
181
186
  linear issue commits # show all commits for an issue (jj only)
187
+ linear issue parent ENG-123 --json # emit the parent issue, or null when absent
188
+ linear issue children ENG-123 --json # emit child issues for decomposition workflows
189
+ ```
190
+
191
+ `issue create-batch` expects a JSON file shaped like:
192
+
193
+ ```json
194
+ {
195
+ "team": "ENG",
196
+ "project": "Roadmap",
197
+ "parent": {
198
+ "title": "Manager bot rollout",
199
+ "description": "Coordinate rollout work",
200
+ "state": "started"
201
+ },
202
+ "children": [
203
+ { "title": "Add issue list JSON", "assignee": "self" },
204
+ { "title": "Add issue view JSON", "dueDate": "2026-04-15" }
205
+ ]
206
+ }
182
207
  ```
183
208
 
184
209
  ### team commands
@@ -187,6 +212,7 @@ linear issue commits # show all commits for an issue (jj only)
187
212
  linear team list # list teams
188
213
  linear team id # print out the team id (e.g. for scripts)
189
214
  linear team members # list team members
215
+ linear team members ENG --json # emit assignable candidates for a team
190
216
  linear team create # create a new team
191
217
  linear team autolinks # configure GitHub repository autolinks for Linear issues
192
218
  ```
@@ -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.1"
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.1"
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.1"
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.1",
89
89
  "volta": {
90
90
  "node": "18.14.1",
91
91
  "npm": "9.5.0"