@newrelic/preflight 1.39.0 → 1.41.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 +4 -1
- package/dist/data/dashboards/ai-coding-assistant-adoption-cost.json +1948 -0
- package/dist/deploy/data-paths.d.ts +3 -2
- package/dist/deploy/data-paths.d.ts.map +1 -1
- package/dist/deploy/data-paths.js +2 -1
- package/dist/deploy/data-paths.js.map +1 -1
- package/dist/install/cli.d.ts.map +1 -1
- package/dist/install/cli.js +302 -4
- package/dist/install/cli.js.map +1 -1
- package/dist/install/copilot-install-helper.d.ts +84 -0
- package/dist/install/copilot-install-helper.d.ts.map +1 -0
- package/dist/install/copilot-install-helper.js +385 -0
- package/dist/install/copilot-install-helper.js.map +1 -0
- package/dist/install/schedule.d.ts +1 -0
- package/dist/install/schedule.d.ts.map +1 -1
- package/dist/install/schedule.js +9 -6
- package/dist/install/schedule.js.map +1 -1
- package/dist/install/setup-wizard.d.ts.map +1 -1
- package/dist/install/setup-wizard.js +30 -0
- package/dist/install/setup-wizard.js.map +1 -1
- package/dist/metrics/local-session-aggregator.d.ts +11 -0
- package/dist/metrics/local-session-aggregator.d.ts.map +1 -1
- package/dist/metrics/local-session-aggregator.js +7 -1
- package/dist/metrics/local-session-aggregator.js.map +1 -1
- package/dist/platforms/copilot-adapter.d.ts.map +1 -1
- package/dist/platforms/copilot-adapter.js +12 -4
- package/dist/platforms/copilot-adapter.js.map +1 -1
- package/dist/platforms/copilot-sdk-adapter.d.ts.map +1 -1
- package/dist/platforms/copilot-sdk-adapter.js +9 -2
- package/dist/platforms/copilot-sdk-adapter.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -57,12 +57,13 @@ See cost breakdown, efficiency scoring, anti-patterns, and live session tracking
|
|
|
57
57
|
### Dashboards
|
|
58
58
|
|
|
59
59
|
- **Local dashboard** — live session view at `localhost:7777`, no account required
|
|
60
|
-
- **
|
|
60
|
+
- **8 pre-built New Relic dashboards** — deploy in seconds _(New Relic mode)_:
|
|
61
61
|
- **Overview** — session stats, cost summary, top tools
|
|
62
62
|
- **Personal** — 30-day self-reflection scoped to you
|
|
63
63
|
- **Session Detail** — deep-dive into a single session's tool calls
|
|
64
64
|
- **Team View** — aggregated cost and efficiency across developers
|
|
65
65
|
- **Manager View** — high-level team metrics, no tool-call content
|
|
66
|
+
- **Adoption & Cost** — adoption momentum, spend, MCP usage, and per-developer outcomes for engineering managers
|
|
66
67
|
- **Platform Comparison** — Claude Code vs. Cursor vs. Windsurf, etc.
|
|
67
68
|
- **Security Audit** — audit trail of sensitive file access
|
|
68
69
|
|
|
@@ -86,6 +87,8 @@ preflight setup
|
|
|
86
87
|
|
|
87
88
|
The wizard defaults to **local mode** — press Enter through the prompts and you're set. It wires Preflight into your AI tool (hooks + MCP server) and writes config to `~/.newrelic-preflight/`. Takes under a minute, no account required.
|
|
88
89
|
|
|
90
|
+
> **Using GitHub Copilot?** The wizard also asks to install Copilot hooks — saying yes configures both the Copilot CLI and VS Code Copilot Chat automatically (hooks, MCP registration, and the fix for VS Code's hook double-capture), so Copilot gets the same tool-call and cost metrics Claude Code does. Run it standalone anytime with `preflight install --copilot`. See [docs/ADAPTERS.md](./docs/ADAPTERS.md#github-copilot-copilot) for details.
|
|
91
|
+
|
|
89
92
|
When prompted, pick a mode:
|
|
90
93
|
|
|
91
94
|
| Mode | What it does | New Relic account? |
|