@kyaukyuai/linear-cli 3.0.1 → 3.1.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,18 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [3.1.0] - 2026-04-05
6
+
7
+ ### Added
8
+
9
+ - expanded Automation Contract v7 across remaining high-value write surfaces, including issue assignment, estimate, move, priority, notification read/archive, project create and project-label mutations, and webhook create/update/delete flows
10
+ - enriched `linear capabilities` with more parser-complete metadata such as aliases, repeatability, variadic inputs, defaults, canonical examples, resolution sources, and stronger machine-readable constraints
11
+ - added machine-readable surface classification to `linear capabilities`, distinguishing `stable`, `partial`, and `escape_hatch` runtime surfaces for agent callers
12
+
13
+ ### Changed
14
+
15
+ - expanded downstream certification from a single generic suite into named startup-monitor, control-plane, diagnostics, compatibility-bridge, and timeout-recovery consumer paths so release gates match real agent-runtime usage more closely
16
+
5
17
  ## [3.0.1] - 2026-04-05
6
18
 
7
19
  ### Changed
package/README.md CHANGED
@@ -40,6 +40,7 @@ Treat `linear-cli` as a shell-native control plane for agents:
40
40
  - refs can be normalized with `linear resolve ...`
41
41
  - write previews use `--dry-run --json`
42
42
  - write results expose `operation`, `receipt`, and structured `error.details`
43
+ - `linear capabilities` classifies commands as `stable`, `partial`, or `escape_hatch`
43
44
  - human/debug behavior is explicit with `--text` and `--profile human-debug --interactive`
44
45
 
45
46
  The practical default loop is:
@@ -214,6 +215,8 @@ for bot and org-wide automation use cases, `linear-cli` defines a stable machine
214
215
 
215
216
  to discover the curated agent-facing command surface programmatically, use `linear capabilities`. the default shape now returns the richer v2 schema metadata for agent-native startup. when an older consumer still expects the trimmed legacy shape, pin it explicitly with `linear capabilities --compat v1`.
216
217
 
218
+ the default capabilities shape now carries parser-oriented metadata for representative commands, including repeatable/variadic inputs, deprecated aliases, default values, composition constraints, and concrete resolution sources such as env vars, config keys, git branch context, jj trailers, and implicit stdin fallbacks.
219
+
217
220
  `agent-safe` is now the default execution profile for agent-controlled runs. it disables pager-by-default behavior, extends the built-in write timeout to `45000ms` unless `--timeout-ms` or `LINEAR_WRITE_TIMEOUT_MS` is set, and keeps destructive confirmation bypass explicit with `--yes`. use `--profile human-debug` when a maintainer explicitly wants prompt-driven or pager-oriented debugging behavior.
218
221
 
219
222
  non-goals:
@@ -222,13 +225,21 @@ non-goals:
222
225
  - it does not auto-confirm destructive actions
223
226
  - it does not replace explicit human/debug prompt flows; callers should pass flags, stdin, file inputs, or opt into `--profile human-debug --interactive`
224
227
 
228
+ runtime surface classes:
229
+
230
+ - `stable`: startup-contract or automation-contract surface. safe for primary agent runtime paths.
231
+ - `partial`: agent-usable surface with shared dry-run or machine-readable traits, but not a full stable contract. pin explicit flags and avoid assuming long-term shape stability.
232
+ - `escape_hatch`: intentionally raw or human/debug-only path, such as `linear api`, `--text`, or `--profile human-debug --interactive`.
233
+
225
234
  - v1 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`
226
235
  - v2 additions: `project list/view --json`, `cycle list/view/current/next --json`, `milestone list/view --json`
227
236
  - v3 additions: `document list/view --json`, `webhook list/view --json`, `notification list/count --json`
228
237
  - v4 additions: `team list/view --json`, `user list/view --json`, `workflow-state list/view --json`, `label list --json`, `project-label list --json`
229
238
  - v5 additions: `initiative list/view --json`, `project-update list --json`, `initiative-update list --json`
230
239
  - v6 additions: `resolve issue/team/workflow-state/user/label --json`
231
- - out of scope: non-JSON terminal output, `linear api`, and other `--json` commands that are not listed above
240
+ - v7 additions: `issue assign/estimate/move/priority --json`, `notification read/archive --json`, `project create --json`, `project label add/remove --json`, `webhook create/update/delete --json`
241
+ - partial surfaces today include high-value dry-run adopters that do not yet expose a stable apply contract, such as `document create/update/delete`, `milestone create/update/delete`, `project update/delete`, and `issue start`
242
+ - escape-hatch only surfaces include non-JSON terminal flows, `linear api`, and explicit human/debug output paths
232
243
 
233
244
  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 the command is in machine-readable mode, whether that is the default or was requested explicitly with `--json`.
234
245
 
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@kyaukyuai/linear-cli",
26
- "version": "3.0.1"
26
+ "version": "3.1.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": "3.0.1"
545
+ "version": "3.1.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/v3.0.1"
3
+ "https://github.com/kyaukyuai/linear-cli/releases/download/v3.1.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": "3.0.1",
88
+ "version": "3.1.0",
89
89
  "volta": {
90
90
  "node": "18.14.1",
91
91
  "npm": "9.5.0"