squally-mcp 0.7.0 → 0.8.1

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/README.md CHANGED
@@ -142,7 +142,7 @@ squally-mcp trusts your operating system's certificate store, like your browser
142
142
  | `squally-get-run` | One run with its per-test rows, across all shards. Which test is red. | cheap |
143
143
  | `squally-debug-failure` | Every attempt of one test in one run: error, stack, full-context prompt. | cheap |
144
144
  | `squally-get-test-metrics` | One test's stability, flaky rate and failure rate over a period. | cheap — one test |
145
- | `squally-list-tests` | Every test with a CI run in the period, ranked by stability, flaky rate or failures. | cheap — two queries, paged |
145
+ | `squally-list-tests` | Every test with a run in the period, ranked by stability, flaky rate or failures. | cheap — two queries, paged |
146
146
  | `squally-list-errors` | Error signatures in a period: what keeps failing, grouped, and how its runs ended. | cheap |
147
147
 
148
148
  For a single test use `squally-get-test-metrics`, not `squally-list-tests` —
@@ -169,15 +169,15 @@ has one linked repository).
169
169
 
170
170
  ### What the numbers mean
171
171
 
172
- The two test tools count **finished CI runs** in the period (7, 14, 30 or 90
172
+ The two test tools count **finished runs, CI and local,** in the period (7, 14, 30 or 90
173
173
  days; 30 by default), on every branch unless you name one. A run finishes when
174
174
  all its shards have - or, once the run timeout has passed, with the results its
175
175
  shards reported, like a cancelled run; a shard stopped by the monthly result
176
176
  limit counts like one that timed out. A sharded run counts once, placed in the period
177
177
  by its first shard's start; a run that was a mass failure as a whole is left
178
- out. Local runs count only
179
- when you ask for them: `source` is `ci` (the default), `local` or `all`, and
180
- the response's `population` names which runs it counted. Per test:
178
+ out. `source` is `all` (the default since read API 1.0.0-beta.18; `ci`
179
+ before), `ci` or `local` - send `source=ci` for CI runs only - and the
180
+ response's `population` names which runs it counted. Per test:
181
181
 
182
182
  - **stability** — runs that passed on the first try ÷ runs;
183
183
  - **flakyRate** — runs that passed only after a retry ÷ runs;
@@ -23,6 +23,9 @@
23
23
  //
24
24
  // THE SOURCE SINCE 0.4.0 (API 1.0.0-beta.8): CI runs by default; local runs
25
25
  // count only when the agent asks for them - they were never counted before.
26
+ // ALL BY DEFAULT SINCE 0.8.0 (API 1.0.0-beta.18, 23.10.2026): CI and local
27
+ // runs both count unless the agent sends source=ci or source=local - the
28
+ // API's default moved, and the sentence follows it.
26
29
  //
27
30
  // THE RUN TIMEOUT (API 1.0.0-beta.10, since 0.5.0): a run whose shard died or
28
31
  // never started counts once the run timeout has passed, with the shards that
@@ -50,9 +53,9 @@
50
53
  export const INSTRUCTIONS = [
51
54
  "Start with squally-list-projects; every other tool needs a projectId from it.",
52
55
  "For one test, use squally-get-test-metrics, not squally-list-tests.",
53
- "Test metrics count the finished CI runs of the period - a sharded run counts once -",
54
- "without runs that were a mass failure as a whole; pass source=local or source=all",
55
- "to count local runs or both. A run still in progress counts once all its shards have",
56
+ "Test metrics count the finished runs of the period, CI and local - a sharded run counts once -",
57
+ "without runs that were a mass failure as a whole; pass source=ci or source=local",
58
+ "to count only one of them. A run still in progress counts once all its shards have",
56
59
  "finished, or once the run timeout has passed, with the results its shards reported -",
57
60
  "also when a shard was stopped by the monthly result limit.",
58
61
  "stability = runs that passed on the",