@tsuga/cli 1.58.0 → 1.59.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.
Files changed (3) hide show
  1. package/README.md +12 -0
  2. package/dist/cli.js +89 -89
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -595,6 +595,18 @@ tsuga install plugin codex
595
595
 
596
596
  Adds the `tsuga` marketplace (`tsuga-dev/agent-plugins`) and installs the `tsuga` plugin via the target CLI (`claude` / `codex` must be on `PATH`). For Claude Code, marketplace auto-update is enabled by patching `~/.claude/settings.json` with `extraKnownMarketplaces.tsuga.autoUpdate = true`; pass `--no-auto-update` to skip. Restart any running `claude` / `codex` sessions afterward.
597
597
 
598
+ ## Shared links
599
+
600
+ Expand a short link copied from Logs or Traces, or a widget share link, and decode the query, filters, time range, cluster, and Analytics settings it carries. A full `app.tsuga.com` URL is decoded locally without an API call:
601
+
602
+ ```bash
603
+ tsuga unshorten https://app.tsuga.com/l/<CODE>
604
+ tsuga unshorten https://api.tsuga.com/v0/widget-shares/<ORG_ID>/<CODE>
605
+ tsuga unshorten 'https://app.tsuga.com/explorer?query=level%3AERROR'
606
+ ```
607
+
608
+ Malformed URL encoding or out-of-range timestamps produce a usage error (exit `2`). Exit `4` means the API returned an error; check the reported HTTP status. A `404` means the code is unknown, expired, or belongs to another organization.
609
+
598
610
  ## Documentation
599
611
 
600
612
  Search Tsuga documentation and the full API reference, then fetch a page by path: