content-grade 1.0.40 → 1.0.41

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/bin/telemetry.js CHANGED
@@ -30,7 +30,7 @@ const EVENTS_FILE = join(CONFIG_DIR, 'events.jsonl');
30
30
  const REMOTE_URL = process.env.CONTENT_GRADE_TELEMETRY_URL || 'https://content-grade.onrender.com/api/telemetry';
31
31
 
32
32
  // Lightweight ping endpoint — one POST per CLI run, 500ms hard timeout.
33
- const DEFAULT_PING_URL = 'https://content-grade.onrender.com/ping';
33
+ const DEFAULT_PING_URL = 'https://content-grade.onrender.com/api/ping';
34
34
 
35
35
  // ── Internal helpers ──────────────────────────────────────────────────────────
36
36
 
@@ -35,7 +35,7 @@ export function registerAnalyticsRoutes(app) {
35
35
  // Receives { command, version, timestamp, anonymous_id } from CLI.
36
36
  // No PII. Maps anonymous_id → install_id for unique user counts.
37
37
  // Always returns 200 — never interrupt a CLI session.
38
- app.post('/ping', async (req) => {
38
+ app.post('/api/ping', async (req) => {
39
39
  try {
40
40
  const body = req.body;
41
41
  const anonymousId = body?.anonymous_id ? String(body.anonymous_id).slice(0, 64) : null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "content-grade",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "AI-powered content analysis CLI. Score any blog post, landing page, or ad copy in under 30 seconds — runs on Claude CLI, no API key needed.",
5
5
  "type": "module",
6
6
  "bin": {