autotel-cli 0.11.2 → 0.13.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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # autotel-cli
2
2
 
3
- CLI for autotel — setup wizard, diagnostics, and incremental features.
3
+ CLI for autotel. Setup wizard, diagnostics, and incremental features.
4
4
 
5
5
  Designed for **both humans and AI agents**: every command supports `--json`,
6
6
  errors are returned as a structured envelope with stable `AUTOTEL_E_*` codes,
@@ -46,34 +46,35 @@ individually.
46
46
 
47
47
  **Options:**
48
48
 
49
- | Flag | What it does |
50
- | --- | --- |
51
- | `--yes, -y` | Auto-apply detected items; no prompts |
52
- | `--preset <name>` | Use a named quick preset (skips detection) |
53
- | `--dry-run` | Print plan; write nothing |
54
- | `--no-install` | Generate files only; print install command |
55
- | `--force` | Overwrite a hand-edited instrumentation file (backup written) |
56
- | `--no-detect` | Skip auto-detection; requires `--plan`, `--input`, or `--preset` |
57
- | `--detect-only` | Print the detected plan and exit |
58
- | `--plan <path>` | Apply a pre-built `InitPlan` JSON file |
59
- | `--input -` / `--input <path>` | Read `InitPlan` JSON from stdin or a file |
60
- | `--scan-env` | Consent to reading `.env` / `.env.local` for backend detection |
61
- | `--json` | Machine-readable JSON instead of human output |
62
- | `--output-file <path>` | Persist JSON output to a file |
63
- | `--no-secrets-in-output` | Redact secret-shaped values (`*KEY*`, `*TOKEN*`, etc.) |
64
- | `--no-interactive` | Fail fast instead of prompting |
49
+ | Flag | What it does |
50
+ | ------------------------------ | ---------------------------------------------------------------- |
51
+ | `--yes, -y` | Auto-apply detected items; no prompts |
52
+ | `--preset <name>` | Use a named quick preset (skips detection) |
53
+ | `--dry-run` | Print plan; write nothing |
54
+ | `--no-install` | Generate files only; print install command |
55
+ | `--force` | Overwrite a hand-edited instrumentation file (backup written) |
56
+ | `--no-detect` | Skip auto-detection; requires `--plan`, `--input`, or `--preset` |
57
+ | `--detect-only` | Print the detected plan and exit |
58
+ | `--plan <path>` | Apply a pre-built `InitPlan` JSON file |
59
+ | `--input -` / `--input <path>` | Read `InitPlan` JSON from stdin or a file |
60
+ | `--scan-env` | Consent to reading `.env` / `.env.local` for backend detection |
61
+ | `--json` | Machine-readable JSON instead of human output |
62
+ | `--output-file <path>` | Persist JSON output to a file |
63
+ | `--no-secrets-in-output` | Redact secret-shaped values (`*KEY*`, `*TOKEN*`, etc.) |
64
+ | `--no-interactive` | Fail fast instead of prompting |
65
65
 
66
66
  **Detection coverage:**
67
67
 
68
68
  - **Frameworks (auto-wired):** Hono, MCP servers/clients, TanStack Start
69
69
  - **Frameworks (via `auto-instrumentations-node`):** Express, Fastify, NestJS, Next.js, pg, mysql/2, redis, ioredis, GraphQL, AWS SDK
70
- - **Loggers:** Pino (first-class — `init({ logger })`), Winston/Bunyan (auto-instrumented)
70
+ - **Loggers:** Pino (first-class: `init({ logger })`), Winston/Bunyan (auto-instrumented)
71
71
  - **Subscribers:** PostHog, Mixpanel, Amplitude, Segment, Slack
72
72
  - **Plugins:** Mongoose, Drizzle, Sentry
73
73
  - **Platforms:** Cloudflare (from `wrangler.toml`), AWS Lambda, Edge
74
74
  - **Backends from env vars:** `DD_API_KEY` → Datadog, `HONEYCOMB_API_KEY` → Honeycomb, `OTEL_EXPORTER_OTLP_ENDPOINT` → OTLP
75
75
 
76
76
  **Quick presets:**
77
+
77
78
  - `node-datadog-pino` - Node.js + Datadog + Pino logging
78
79
  - `node-datadog-agent` - Node.js + Datadog Agent (local development)
79
80
  - `node-honeycomb` - Node.js + Honeycomb
@@ -128,12 +129,14 @@ npx autotel doctor --list-checks
128
129
  ```
129
130
 
130
131
  **Options:**
132
+
131
133
  - `--json` - Output machine-readable JSON
132
134
  - `--fix` - Auto-fix resolvable issues
133
135
  - `--list-checks` - List all available checks
134
136
  - `--env-file <path>` - Specify env file to check
135
137
 
136
138
  **Exit codes:**
139
+
137
140
  - `0` - All checks passed
138
141
  - `1` - Warnings found
139
142
  - `2` - Errors found
@@ -163,12 +166,14 @@ npx autotel add backend datadog --help
163
166
  ```
164
167
 
165
168
  **Types:**
169
+
166
170
  - `backend` - Telemetry backends (Datadog, Honeycomb, OTLP, etc.)
167
171
  - `subscriber` - Event subscribers (PostHog, Mixpanel, Segment, Slack, etc.)
168
172
  - `plugin` - Database/ORM plugins (Mongoose, Drizzle, etc.)
169
173
  - `platform` - Platform support (AWS Lambda, Cloudflare Workers, etc.)
170
174
 
171
175
  **Options:**
176
+
172
177
  - `--list` - List available presets
173
178
  - `--dry-run` - Skip installation and print what would be done
174
179
  - `--force` - Overwrite non-CLI-owned config (creates backup first)
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
 
2
- export { };
2
+ export {}