@tsuga/cli 1.57.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 +15 -0
  2. package/dist/cli.js +92 -92
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -272,6 +272,9 @@ tsuga dashboards get abc-123
272
272
  # List dashboards filtered by owner
273
273
  tsuga dashboards list -d '{"filters":{"owners":{"values":["team-1","team-2"]}}}'
274
274
 
275
+ # List prod services of a team whose name contains "checkout"
276
+ tsuga services list --envs prod --teams payments --search-query checkout
277
+
275
278
  # Get a specific service
276
279
  tsuga services get abc-123
277
280
 
@@ -592,6 +595,18 @@ tsuga install plugin codex
592
595
 
593
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.
594
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
+
595
610
  ## Documentation
596
611
 
597
612
  Search Tsuga documentation and the full API reference, then fetch a page by path: