@kyaukyuai/linear-cli 2.12.4 → 2.13.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,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.13.0] - 2026-04-02
6
+
7
+ ### Added
8
+
9
+ - enriched `linear capabilities --json --compat v2` with defaults, context resolution hints, input constraints, canonical argv examples, and explicit success/failure envelope fields so agents can assemble commands with less help-text scraping
10
+
5
11
  ## [2.12.4] - 2026-04-02
6
12
 
7
13
  ### Added
package/README.md CHANGED
@@ -21,7 +21,7 @@ interactive commands still exist for humans, but the primary design goal is that
21
21
 
22
22
  If an agent only reads one page, it should be this README plus the two contract docs below.
23
23
 
24
- - 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, stdin/file targets, and structured output semantics
24
+ - 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
25
25
  - 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
26
  - preview writes with `--dry-run --json` before mutating Linear
27
27
  - apply writes with `--json`, then inspect exit codes and `error.details` instead of parsing terminal text
@@ -156,7 +156,7 @@ Use the docs in this order if you are building an agent integration:
156
156
 
157
157
  for bot and org-wide automation use cases, `linear-cli` defines a stable JSON contract for a focused automation tier.
158
158
 
159
- to discover the curated agent-facing command surface programmatically, use `linear capabilities --json`. the default shape preserves the v1-compatible startup contract for existing bots. when you need richer metadata such as required vs optional primary inputs, constrained values, stdin/file targets, structured output semantics, and timeout/no-op traits, opt into `linear capabilities --json --compat v2`.
159
+ to discover the curated agent-facing command surface programmatically, use `linear capabilities --json`. the default shape preserves the v1-compatible startup contract for existing bots. when you need richer metadata such as required vs optional primary inputs, constrained values, defaults, context resolution hints, input constraints, canonical argv examples, stdin/file targets, structured output semantics, and timeout/no-op traits, opt into `linear capabilities --json --compat v2`.
160
160
 
161
161
  - 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`
162
162
  - v2 additions: `project list/view --json`, `cycle list/view/current/next --json`, `milestone list/view --json`
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@kyaukyuai/linear-cli",
26
- "version": "2.12.4"
26
+ "version": "2.13.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.12.4"
545
+ "version": "2.13.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.12.4"
3
+ "https://github.com/kyaukyuai/linear-cli/releases/download/v2.13.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.12.4",
88
+ "version": "2.13.0",
89
89
  "volta": {
90
90
  "node": "18.14.1",
91
91
  "npm": "9.5.0"