@kyaukyuai/linear-cli 2.4.0 → 2.5.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 +20 -0
- package/README.md +11 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [2.5.0] - 2026-03-18
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- documented Automation Contract v1 for the bot-facing `--json` surface, including stable command coverage, shared value rules, and compatibility guarantees
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- automation-tier `--json` commands now return a machine-readable JSON error envelope on failure, including parser and argument validation failures before command actions run
|
|
14
|
+
|
|
15
|
+
### Improved
|
|
16
|
+
|
|
17
|
+
- added contract-focused tests for JSON error mapping and automation-tier failure output to catch breaking changes earlier
|
|
18
|
+
|
|
19
|
+
## [2.4.1] - 2026-03-17
|
|
20
|
+
|
|
21
|
+
### Added
|
|
22
|
+
|
|
23
|
+
- added JSON output for `issue relation add` and `issue relation delete` so bots and wrappers can create and remove dependencies without parsing terminal text
|
|
24
|
+
|
|
5
25
|
## [2.4.0] - 2026-03-17
|
|
6
26
|
|
|
7
27
|
### Added
|
package/README.md
CHANGED
|
@@ -100,6 +100,15 @@ compared to upstream, this fork adds and maintains several capabilities aimed at
|
|
|
100
100
|
- workspace-aware auth management with keyring migration and default workspace support
|
|
101
101
|
- generated AI-agent skill docs, Claude plugin metadata, npm publishing, and Homebrew tap release plumbing
|
|
102
102
|
|
|
103
|
+
## automation contract v1
|
|
104
|
+
|
|
105
|
+
for bot and org-wide automation use cases, `linear-cli` defines a stable JSON contract for a focused automation tier.
|
|
106
|
+
|
|
107
|
+
- in scope: `issue list/view/create/update --json`, `issue relation add/delete/list --json`, `issue comment add --json`, `team members --json`, `issue parent/children/create-batch --json`
|
|
108
|
+
- out of scope: non-JSON terminal output, `linear api`, and other `--json` commands that are not listed above
|
|
109
|
+
|
|
110
|
+
the contract fixes top-level success payload shapes and requires machine-readable failure payloads for the automation tier. see [docs/json-contracts.md](docs/json-contracts.md) for the full contract, compatibility rules, and example payloads. that guarantee also covers parser and argument validation failures when `--json` is present.
|
|
111
|
+
|
|
103
112
|
## differences from upstream
|
|
104
113
|
|
|
105
114
|
this fork is intentionally diverging from upstream in a few ways:
|
|
@@ -179,6 +188,8 @@ linear issue comment list # list comments on current issue
|
|
|
179
188
|
linear issue comment add # add a comment to current issue
|
|
180
189
|
linear issue comment add -p <id> # reply to a specific comment
|
|
181
190
|
linear issue comment add ENG-123 --body "follow-up" --json # emit created comment data
|
|
191
|
+
linear issue relation add ENG-123 blocked-by ENG-100 --json # emit machine-readable relation creation data
|
|
192
|
+
linear issue relation delete ENG-123 blocked-by ENG-100 --json # emit machine-readable relation deletion data
|
|
182
193
|
linear issue relation list ENG-123 --json # emit dependency graph for an issue
|
|
183
194
|
linear issue comment update <id> # update a comment
|
|
184
195
|
linear issue commits # show all commits for an issue (jj only)
|
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.5.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.5.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.5.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.5.0",
|
|
89
89
|
"volta": {
|
|
90
90
|
"node": "18.14.1",
|
|
91
91
|
"npm": "9.5.0"
|