@tsuga/cli 1.0.17 → 1.0.19
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 +14 -2
- package/dist/cli.js +48 -48
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,6 +12,16 @@ npm install -g @tsuga/cli
|
|
|
12
12
|
tsuga --help
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
## Updating
|
|
16
|
+
|
|
17
|
+
Update to the latest published version:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
tsuga self-update
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
This runs `npm install -g @tsuga/cli@latest`. The CLI also checks for new versions once a day and prints a notice when one is available.
|
|
24
|
+
|
|
15
25
|
## Authentication
|
|
16
26
|
|
|
17
27
|
Before authenticating, generate an Operation API key from your [Tsuga account settings](https://app.tsuga.com/settings/api-keys?operation=true).
|
|
@@ -144,7 +154,9 @@ tsuga logs patterns --rationale "exploring telemetry to investigate prod outage"
|
|
|
144
154
|
>
|
|
145
155
|
> - `ingestion-api-keys` does not support `get <id>`.
|
|
146
156
|
> - `services` is read-only (`list`, `get`).
|
|
147
|
-
> - `cloud-resources` and `quality-reports` are read-only and only support `list`.
|
|
157
|
+
> - `cloud-resources` and `quality-reports` are read-only and only support `list`.
|
|
158
|
+
> - For `quality-reports list`, pass `--cluster <id>` (or set `TSUGA_CLUSTER_ID` / saved default) when the org has more than one cluster.
|
|
159
|
+
> - Pass `--team <name>` to `quality-reports list` to scope the response to a single team by name (omits cluster-wide global rows).
|
|
148
160
|
> - `investigations` is beta: it requires an operation API key with the `investigations` permission and the API may change.
|
|
149
161
|
|
|
150
162
|
### Generating a request skeleton
|
|
@@ -326,7 +338,7 @@ tsuga install plugin claude-code
|
|
|
326
338
|
tsuga install plugin codex
|
|
327
339
|
```
|
|
328
340
|
|
|
329
|
-
Adds the `tsuga` marketplace (`tsuga-dev/agent-plugins`) and installs the `tsuga` plugin via the target CLI (`claude` / `codex` must be on `PATH`).
|
|
341
|
+
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.
|
|
330
342
|
|
|
331
343
|
## Documentation
|
|
332
344
|
|