autotel-cli 0.17.1 → 0.18.1

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 (2) hide show
  1. package/dist/index.js +8 -9
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -1681,12 +1681,12 @@ const drizzle = {
1681
1681
  //#endregion
1682
1682
  //#region src/presets/plugins/sentry.ts
1683
1683
  /**
1684
- * Sentry preset — wires Sentry as the OTLP destination + error linker.
1684
+ * Sentry preset — wires Sentry as the OTLP destination.
1685
1685
  *
1686
- * Uses `sentryOtlpConfig(DSN)` to build endpoint/headers from the user's DSN
1687
- * and `linkSentryErrors(Sentry)` to thread captured errors onto the active
1688
- * trace context. Sentry's own OpenTelemetry setup is skipped
1689
- * (`skipOpenTelemetrySetup: true`) — autotel owns the OTel side.
1686
+ * Uses `sentryOtlpConfig(DSN)` to build endpoint/headers from the user's DSN.
1687
+ * Sentry's own OpenTelemetry setup is skipped (`skipOpenTelemetrySetup: true`)
1688
+ * — autotel owns the OTel side. Sentry still links captured errors to the
1689
+ * active span itself, so nothing here does that.
1690
1690
  */
1691
1691
  const sentry = {
1692
1692
  name: "Sentry",
@@ -1713,19 +1713,18 @@ const sentry = {
1713
1713
  default: "* as Sentry"
1714
1714
  }, {
1715
1715
  source: "autotel-sentry",
1716
- specifiers: ["sentryOtlpConfig", "linkSentryErrors"]
1716
+ specifiers: ["sentryOtlpConfig"]
1717
1717
  }],
1718
1718
  configBlock: {
1719
1719
  type: "plugin",
1720
1720
  code: `// Sentry OTLP setup
1721
1721
  const sentryConfig = sentryOtlpConfig(process.env.SENTRY_DSN!);
1722
- Sentry.init({ dsn: sentryConfig.dsn, skipOpenTelemetrySetup: true });
1723
- linkSentryErrors(Sentry);`,
1722
+ Sentry.init({ dsn: sentryConfig.dsn, skipOpenTelemetrySetup: true });`,
1724
1723
  section: "PLUGIN_INIT"
1725
1724
  },
1726
1725
  nextSteps: [
1727
1726
  "Set SENTRY_DSN in .env (from Sentry → Settings → Projects → Client Keys)",
1728
- "Captured Sentry errors will now be linked to active OTel traces",
1727
+ "Captured Sentry errors are linked to the active OTel trace by @sentry/node itself",
1729
1728
  "Pass sentryConfig.endpoint and sentryConfig.headers to init() if you want Sentry as the trace backend"
1730
1729
  ]
1731
1730
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autotel-cli",
3
- "version": "0.17.1",
3
+ "version": "0.18.1",
4
4
  "description": "CLI for autotel - setup wizard, diagnostics, and incremental features",
5
5
  "type": "module",
6
6
  "bin": {
@@ -17,21 +17,22 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "@inquirer/prompts": "^8.5.2",
20
- "@opentelemetry/otlp-transformer": "^0.221.0",
20
+ "@opentelemetry/otlp-transformer": "^0.222.0",
21
+ "autotel-mcp": "0.7.0",
21
22
  "chalk": "^5.6.2",
22
23
  "commander": "^15.0.0",
23
24
  "glob": "^13.0.6",
24
25
  "ora": "^9.4.1",
25
26
  "semver": "^7.8.5",
26
27
  "ts-morph": "^28.0.0",
27
- "yaml": "^2.9.0",
28
- "autotel-mcp": "0.6.0"
28
+ "yaml": "^2.9.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@eslint/js": "^10.0.1",
32
32
  "@types/eslint-config-prettier": "^6.11.3",
33
33
  "@types/node": "^26.1.2",
34
34
  "@types/semver": "^7.7.1",
35
+ "autotel-telemetry": "0.2.0",
35
36
  "eslint": "^10.7.0",
36
37
  "eslint-config-prettier": "^10.1.8",
37
38
  "eslint-plugin-unicorn": "^64.0.0",
@@ -39,8 +40,7 @@
39
40
  "tsx": "^4.23.1",
40
41
  "typescript": "^6.0.3",
41
42
  "typescript-eslint": "^8.65.0",
42
- "vitest": "^4.1.10",
43
- "autotel-telemetry": "0.2.0"
43
+ "vitest": "^4.1.10"
44
44
  },
45
45
  "engines": {
46
46
  "node": ">=22.0.0"