@kyaukyuai/linear-cli 2.14.0 → 2.15.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,16 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.15.0] - 2026-04-03
6
+
7
+ ### Added
8
+
9
+ - added a global `--profile agent-safe` execution profile that disables pager by default, extends write timeouts, and requires explicit `--yes` for destructive confirmation flows in automation contexts
10
+
11
+ ### Changed
12
+
13
+ - added downstream consumer certification to the release gate so startup discovery, resolve, preview/apply, and timeout-recovery paths used by real agent workflows cannot drift silently
14
+
5
15
  ## [2.14.0] - 2026-04-03
6
16
 
7
17
  ### Added
package/README.md CHANGED
@@ -8,6 +8,7 @@ if you want an agent to read Linear state, preview a write, apply it, and return
8
8
  linear capabilities --json
9
9
  linear capabilities --json --compat v2
10
10
  linear resolve issue ENG-123 --json
11
+ linear --profile agent-safe issue update ENG-123 --state done --dry-run --json
11
12
  linear issue list --json
12
13
  linear issue view ENG-123 --json
13
14
  linear issue create -t "Backfill webhook contract docs" --team ENG --dry-run --json
@@ -23,6 +24,7 @@ interactive commands still exist for humans, but the primary design goal is that
23
24
  If an agent only reads one page, it should be this README plus the two contract docs below.
24
25
 
25
26
  - 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
27
+ - use `linear --profile agent-safe ...` when you want predictable non-interactive defaults for an automation run
26
28
  - resolve ambiguous issue/team/state/user/label refs with `linear resolve ... --json` before previewing or applying writes
27
29
  - prefer stable read surfaces such as `issue`, `project`, `cycle`, `milestone`, `document`, `webhook`, `notification`, `team`, `user`, `workflow-state`, `label`, `initiative`, and update feeds with `--json`
28
30
  - preview writes with `--dry-run --json` before mutating Linear
@@ -162,6 +164,14 @@ for bot and org-wide automation use cases, `linear-cli` defines a stable JSON co
162
164
 
163
165
  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`.
164
166
 
167
+ `linear --profile agent-safe ...` is the opt-in execution profile for agent-controlled runs. it currently disables pager-by-default behavior, extends the built-in write timeout to `45000ms` unless `--timeout-ms` or `LINEAR_WRITE_TIMEOUT_MS` is set, and rejects destructive confirmation prompts unless the caller passes `--yes`.
168
+
169
+ non-goals:
170
+
171
+ - it does not force `--json`
172
+ - it does not auto-confirm destructive actions
173
+ - it does not replace every interactive data-entry fallback; callers should still pass explicit flags, stdin, or file inputs
174
+
165
175
  - 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`
166
176
  - v2 additions: `project list/view --json`, `cycle list/view/current/next --json`, `milestone list/view --json`
167
177
  - v3 additions: `document list/view --json`, `webhook list/view --json`, `notification list/count --json`
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@kyaukyuai/linear-cli",
26
- "version": "2.14.0"
26
+ "version": "2.15.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.14.0"
545
+ "version": "2.15.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.14.0"
3
+ "https://github.com/kyaukyuai/linear-cli/releases/download/v2.15.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.14.0",
88
+ "version": "2.15.0",
89
89
  "volta": {
90
90
  "node": "18.14.1",
91
91
  "npm": "9.5.0"