@kyaukyuai/linear-cli 2.13.0 → 2.14.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 +8 -0
- package/README.md +7 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [2.14.0] - 2026-04-03
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- added operation receipts to high-value write JSON results so agents can inspect resolved refs, applied changes, no-op state, partial success, and next safe actions from a shared receipt surface
|
|
10
|
+
- unified representative `--dry-run` previews and apply results under the same top-level `operation` contract family for safer plan/apply loops
|
|
11
|
+
- added Automation Contract v6 for `linear resolve issue/team/workflow-state/user/label --json`, giving agents a machine-readable reference resolution surface before previewing or applying writes
|
|
12
|
+
|
|
5
13
|
## [2.13.0] - 2026-04-02
|
|
6
14
|
|
|
7
15
|
### Added
|
package/README.md
CHANGED
|
@@ -7,6 +7,7 @@ if you want an agent to read Linear state, preview a write, apply it, and return
|
|
|
7
7
|
```bash
|
|
8
8
|
linear capabilities --json
|
|
9
9
|
linear capabilities --json --compat v2
|
|
10
|
+
linear resolve issue ENG-123 --json
|
|
10
11
|
linear issue list --json
|
|
11
12
|
linear issue view ENG-123 --json
|
|
12
13
|
linear issue create -t "Backfill webhook contract docs" --team ENG --dry-run --json
|
|
@@ -22,6 +23,7 @@ interactive commands still exist for humans, but the primary design goal is that
|
|
|
22
23
|
If an agent only reads one page, it should be this README plus the two contract docs below.
|
|
23
24
|
|
|
24
25
|
- start with `linear capabilities --json` for the stable startup-safe shape; use `linear capabilities --json --compat v2` when you also need required/optional input refs, constrained values, defaults, context resolution hints, input constraints, canonical argv examples, stdin/file targets, and structured output semantics
|
|
26
|
+
- resolve ambiguous issue/team/state/user/label refs with `linear resolve ... --json` before previewing or applying writes
|
|
25
27
|
- prefer stable read surfaces such as `issue`, `project`, `cycle`, `milestone`, `document`, `webhook`, `notification`, `team`, `user`, `workflow-state`, `label`, `initiative`, and update feeds with `--json`
|
|
26
28
|
- preview writes with `--dry-run --json` before mutating Linear
|
|
27
29
|
- apply writes with `--json`, then inspect exit codes and `error.details` instead of parsing terminal text
|
|
@@ -127,6 +129,8 @@ compared to upstream, this fork adds and maintains capabilities aimed at automat
|
|
|
127
129
|
- stable JSON contracts for the automation tier, with machine-readable failures for parser, validation, and runtime errors
|
|
128
130
|
- a self-describing `linear capabilities --json` surface with a backward-compatible default and an explicit `--compat v2` mode for richer schema and output metadata
|
|
129
131
|
- `--dry-run` previews for high-value write commands, including `issue start`, issue writes, and non-issue writes
|
|
132
|
+
- additive operation receipts on high-value JSON write success paths
|
|
133
|
+
- a shared top-level `operation` contract on representative preview/apply JSON write paths
|
|
130
134
|
- stdin and pipeline support for high-value write paths
|
|
131
135
|
- retry-safe semantics for relation add/delete, project label add/remove, notification read/archive, and structured partial-failure details
|
|
132
136
|
- canonical `--yes` confirmation bypass handling for destructive commands
|
|
@@ -163,6 +167,7 @@ to discover the curated agent-facing command surface programmatically, use `line
|
|
|
163
167
|
- v3 additions: `document list/view --json`, `webhook list/view --json`, `notification list/count --json`
|
|
164
168
|
- v4 additions: `team list/view --json`, `user list/view --json`, `workflow-state list/view --json`, `label list --json`, `project-label list --json`
|
|
165
169
|
- v5 additions: `initiative list/view --json`, `project-update list --json`, `initiative-update list --json`
|
|
170
|
+
- v6 additions: `resolve issue/team/workflow-state/user/label --json`
|
|
166
171
|
- out of scope: non-JSON terminal output, `linear api`, and other `--json` commands that are not listed above
|
|
167
172
|
|
|
168
173
|
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.
|
|
@@ -173,6 +178,8 @@ high-value write commands honor `LINEAR_WRITE_TIMEOUT_MS` and accept `--timeout-
|
|
|
173
178
|
|
|
174
179
|
the same document also defines the shared preview contract for future `--dry-run` write commands. those commands are not all implemented yet, but the contract now fixes the expected `stdout`, `exit code`, and `--json --dry-run` envelope shape ahead of rollout.
|
|
175
180
|
|
|
181
|
+
representative preview/apply JSON write paths may add a top-level `operation` field so agents can diff preview intent against apply results with one parser path. successful high-value JSON writes may also add a top-level `receipt` field. this gives agents a shared place to inspect `operationId`, `resolvedRefs`, `appliedChanges`, `noOp`, and `nextSafeAction` without inferring those traits from command-specific payload fields.
|
|
182
|
+
|
|
176
183
|
destructive commands use `--yes` as the canonical confirmation-bypass flag. legacy `--force` and `--confirm` flags are still accepted where older workflows already depended on them.
|
|
177
184
|
|
|
178
185
|
for retry behavior, prefer treating write commands in three buckets:
|
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.14.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.14.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.14.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.14.0",
|
|
89
89
|
"volta": {
|
|
90
90
|
"node": "18.14.1",
|
|
91
91
|
"npm": "9.5.0"
|