tierview 0.1.0 → 0.1.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.
@@ -245,6 +245,18 @@ categories:
245
245
  path:
246
246
  - '(^|/)(package\.json|requirements[^/]*\.txt|pyproject\.toml|go\.mod|Cargo\.toml|pom\.xml|build\.gradle(\.kts)?|Gemfile)$'
247
247
 
248
+ # Added after the benchmark (v0.1.0 feedback): changed timeouts, deadlines, retry limits and backoff. These
249
+ # pass tests and fail under load. Not part of bench-config-v2, so the published benchmark ran without it.
250
+ resilience_limits:
251
+ weight: 25
252
+ content:
253
+ - '\b\w*(timeout|deadline)\w*["'']?\s*[:=]\s*(?:[\w.]*\d|none|null|nil|inf\w*|false)'
254
+ # bench-config-v3: `ttl` only as the end of a name or with a unit/segment after it (ttl, cacheTtl, ttlMs,
255
+ # session_ttl, ttl_seconds); the old `\w*ttl\w*` also matched settled, little, bottle, throttle.
256
+ - '\b\w*ttl(?:_\w+|ms|s|secs?|seconds|millis\w*)?["'']?\s*[:=]\s*(?:[\w.]*\d|none|null|nil|inf\w*|false)'
257
+ - '\b\w*(retr(y|ies)|attempts|backoff)\w*["'']?\s*[:=]\s*(?:[\w.*]*\d|none|null|nil|inf\w*|false)'
258
+ - '\b(set_?timeout|with_?timeout|with_?deadline|set_?(read_?|write_?)?deadline)\s*\('
259
+
248
260
  boundary:
249
261
  weight: 25 # Phase 4 (P4-09, dev split): 10 -> 25
250
262
  logic:
package/dist/bin.js CHANGED
@@ -2465,7 +2465,7 @@ function addSharedOptions(cmd) {
2465
2465
  return cmd.option("--dry-run", "show routing and estimated cost; make zero model calls").option("--backend <name>", "claude-code (the official claude CLI, default) or api (ANTHROPIC_API_KEY)").option("--max-cost <usd>", "hard budget cap for this run, in USD (API-equivalent on claude-code)", Number.parseFloat).option("--max-calls <n>", "hard cap on model calls for this run (useful within plan limits)", (v) => Number(v)).option("--json", "print the review as JSON").option("--sarif <file>", "write SARIF 2.1.0 to a file").option("--fail-on <severity>", "exit 1 if a finding is at or above this severity").option("--config <file>", "path to a config file (default: .tierview.yml in the current directory)").option("--allow-fable", "claude-code backend: allow Fable 5.2 (may use paid extra usage on some plans)");
2466
2466
  }
2467
2467
  function buildProgram() {
2468
- const program = new Command().name("tierview").description("AI code review that escalates through Claude model tiers and prints a cost receipt.").version("0.1.0");
2468
+ const program = new Command().name("tierview").description("AI code review that escalates through Claude model tiers and prints a cost receipt.").version("0.1.1");
2469
2469
  addSharedOptions(
2470
2470
  program.command("review").description("review a local git diff").option("--base <ref>", "base ref", "HEAD").option("--head <ref>", "head ref (default: the working tree)").option("--staged", "review staged changes only").option("--include-untracked", "also review new files git does not track yet (working tree only)").option("--diff-file <path>", "review a saved unified diff instead of running git (no file context)")
2471
2471
  ).action(async (opts) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tierview",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "AI code review that escalates through Claude model tiers and prints a cost receipt.",
5
5
  "license": "MIT",
6
6
  "author": "Mohamed Elsaka",
@@ -26,7 +26,7 @@
26
26
  "typecheck": "tsc --noEmit",
27
27
  "test": "vitest run",
28
28
  "check": "npm run typecheck && npm run test",
29
- "bench:build": "tsup bench/mine.ts bench/validate.ts bench/routing.ts bench/run.ts bench/metrics.ts bench/tune.ts bench/tune-grid.ts bench/chart.ts bench/audit.ts --format esm --target node22 --out-dir .bench-build --silent",
29
+ "bench:build": "tsup bench/mine.ts bench/validate.ts bench/routing.ts bench/run.ts bench/metrics.ts bench/tune.ts bench/tune-grid.ts bench/chart.ts bench/audit.ts bench/signal-report.ts --format esm --target node22 --out-dir .bench-build --silent",
30
30
  "bench:mine": "npm run bench:build && node .bench-build/mine.js",
31
31
  "bench:validate": "npm run bench:build && node .bench-build/validate.js",
32
32
  "prepack": "npm run build",