@tsuga/cli 1.0.13 → 1.0.16
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 +12 -2
- package/dist/cli.js +51 -50
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -138,13 +138,14 @@ tsuga logs patterns --rationale "exploring telemetry to investigate prod outage"
|
|
|
138
138
|
|
|
139
139
|
### Available resources
|
|
140
140
|
|
|
141
|
-
`cloud-resources`, `dashboards`, `ingestion-api-keys`, `monitors`, `notification-rules`, `notification-silences`, `quality-reports`, `retention-policies`, `routes`, `services`, `tag-policies`, `teams`
|
|
141
|
+
`cloud-resources`, `dashboards`, `ingestion-api-keys`, `investigations`, `monitors`, `notification-rules`, `notification-silences`, `quality-reports`, `retention-policies`, `routes`, `services`, `tag-policies`, `teams`
|
|
142
142
|
|
|
143
143
|
> Notes:
|
|
144
144
|
>
|
|
145
145
|
> - `ingestion-api-keys` does not support `get <id>`.
|
|
146
146
|
> - `services` is read-only (`list`, `get`).
|
|
147
147
|
> - `cloud-resources` and `quality-reports` are read-only and only support `list`.
|
|
148
|
+
> - `investigations` is beta: it requires an operation API key with the `investigations` permission and the API may change.
|
|
148
149
|
|
|
149
150
|
### Generating a request skeleton
|
|
150
151
|
|
|
@@ -173,7 +174,7 @@ tsuga monitors list
|
|
|
173
174
|
tsuga dashboards get abc-123
|
|
174
175
|
|
|
175
176
|
# List dashboards filtered by owner
|
|
176
|
-
tsuga dashboards list
|
|
177
|
+
tsuga dashboards list -d '{"filters":{"owners":{"values":["team-1","team-2"]}}}'
|
|
177
178
|
|
|
178
179
|
# Get a specific service
|
|
179
180
|
tsuga services get abc-123
|
|
@@ -318,6 +319,15 @@ tsuga setup codex --endpoint <otlp-base-url> --ingestion-api-key <key>
|
|
|
318
319
|
|
|
319
320
|
Both options also read from env (`TSUGA_OTLP_ENDPOINT`, `TSUGA_INGESTION_API_KEY`). Pass `--no-include-prompts` to strip user prompts + tool content from telemetry (default: include). The previous config is saved alongside the file as `.bak.<ISO>`; restart any running `claude` / `codex` sessions afterward.
|
|
320
321
|
|
|
322
|
+
## LLM plugins
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
tsuga install plugin claude-code
|
|
326
|
+
tsuga install plugin codex
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
Adds the `tsuga` marketplace (`tsuga-dev/agent-plugins`) and installs the `tsuga` plugin via the target CLI (`claude` / `codex` must be on `PATH`). Pass `--include-telemetry` to also install the `telemetry` plugin. 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
|
+
|
|
321
331
|
## Documentation
|
|
322
332
|
|
|
323
333
|
Browse and search the Tsuga documentation:
|