ticketlens 0.43.7 → 0.43.8

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
@@ -1151,6 +1151,7 @@ npm test
1151
1151
  See [ROADMAP.md](ROADMAP.md) for the full plan.
1152
1152
 
1153
1153
  Recently shipped:
1154
+ - **Upsell tip without a price** — the `--summarize` tip after a deep `fetch` now says "(Pro)" instead of a hardcoded price; plans and prices live in the Console
1154
1155
  - **Docs match the code** — every doc surface (README, `--help`, SKILL.md, USER_GUIDE, MCP help) re-audited against the CLI; install snippets now use `ticketlens@beta`, Node is `>=22.6`, and the CLI tip shows the real $9/mo Pro price
1155
1156
  - **Console: Behavior settings** — pick when the idle-warning appears (5 min, 10 min or 1 h) and a playful or plain tone, per user, in Settings > Behavior
1156
1157
  - **Console: session-expiry warning** — a stay-or-logout countdown appears shortly before your session ends; any activity resets it
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ticketlens",
3
- "version": "0.43.7",
3
+ "version": "0.43.8",
4
4
  "description": "Ticket CLI for developers (Jira, GitHub Issues, Linear) — fetch ticket context, triage your queue, and stop tab-switching. Zero dependencies, local-first.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -32,6 +32,7 @@ import { parseAge } from './lib/cache-manager.mjs';
32
32
  import { createStyler } from './lib/ansi.mjs';
33
33
  import { apiBase } from './lib/api-utils.mjs';
34
34
  import { isLicensed, showUpgradePrompt, readLicense } from './lib/license.mjs';
35
+ import { SUMMARIZE_TIP } from './lib/upsell-tips.mjs';
35
36
  import { detectVcs } from './lib/vcs-detector.mjs';
36
37
  import { runComplianceCheck } from './lib/compliance-checker.mjs';
37
38
  import { runConsensusCheck } from './lib/consensus-checker.mjs';
@@ -1456,7 +1457,7 @@ export async function run(args, envOrOpts = process.env, fetcher = globalThis.fe
1456
1457
  // Contextual upsell: after a deep traversal with a substantial graph, nudge toward --summarize
1457
1458
  if (depth > 1 && !args.includes('--summarize') && (ticket.linked?.length ?? 0) >= 2) {
1458
1459
  const s = createStyler({ isTTY: process.stderr.isTTY });
1459
- printErrFn(` ${s.dim('○')} ${s.dim('Tip: large briefs compress further — `--summarize` condenses this to a single AI digest ($9/mo)')}\n`);
1460
+ printErrFn(` ${s.dim('○')} ${s.dim(SUMMARIZE_TIP)}\n`);
1460
1461
  }
1461
1462
  }
1462
1463
 
@@ -0,0 +1,3 @@
1
+ // Plan prices live in the API's config/tiers.php; never hardcode them in CLI copy.
2
+ export const SUMMARIZE_TIP =
3
+ 'Tip: large briefs compress further — `--summarize` condenses this to a single AI digest (Pro)';