@newrelic/preflight 1.24.0 → 1.26.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 +11 -0
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -98,6 +98,17 @@ When prompted, pick a mode:
|
|
|
98
98
|
|
|
99
99
|
Restart your AI tool — hooks and the MCP server load at session start. Every tool call is captured automatically. Open **http://localhost:7777** to watch your session live.
|
|
100
100
|
|
|
101
|
+
> **Using Claude Code?** You can skip the npm install above and add Preflight as a [Claude Code plugin](docs/PLUGIN.md) instead:
|
|
102
|
+
>
|
|
103
|
+
> ```
|
|
104
|
+
> /plugin marketplace add newrelic-experimental/preflight
|
|
105
|
+
> /plugin install newrelic-preflight@newrelic-preflight-marketplace
|
|
106
|
+
> ```
|
|
107
|
+
|
|
108
|
+
### Other ways to install
|
|
109
|
+
|
|
110
|
+
**Cursor** — [Add to Cursor](https://cursor.com/en/install-mcp?name=newrelic-preflight&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBuZXdyZWxpYy9wcmVmbGlnaHQiLCItLXN0ZGlvIl19) installs the MCP server via a one-click deeplink; run `preflight setup` afterwards for hook capture.
|
|
111
|
+
|
|
101
112
|
---
|
|
102
113
|
|
|
103
114
|
## Works With
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newrelic/preflight",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
4
|
+
"mcpName": "io.github.newrelic-experimental/preflight",
|
|
4
5
|
"type": "module",
|
|
5
6
|
"license": "Apache-2.0",
|
|
6
7
|
"private": false,
|
|
@@ -41,6 +42,8 @@
|
|
|
41
42
|
"build:web": "vite build",
|
|
42
43
|
"build": "npm run build:server && npm run build:web",
|
|
43
44
|
"build:clean": "tsc --build --clean && rimraf dist/web",
|
|
45
|
+
"build:plugin-hook": "esbuild src/hooks/collector-script.ts --bundle --platform=node --target=node22 --format=esm --outfile=plugin/.claude-plugin/scripts/collector-script.js",
|
|
46
|
+
"verify:plugin-hook": "npm run build:plugin-hook && git diff --exit-code plugin/.claude-plugin/scripts/collector-script.js",
|
|
44
47
|
"dev:web": "vite",
|
|
45
48
|
"test": "jest",
|
|
46
49
|
"test:integration": "jest --testPathPattern='src/multi-instance\\.integration\\.test\\.ts' --testTimeout=120000",
|
|
@@ -116,6 +119,7 @@
|
|
|
116
119
|
"@typescript-eslint/parser": "8.68.0",
|
|
117
120
|
"@vitejs/plugin-react": "6.0.2",
|
|
118
121
|
"@vitest/coverage-v8": "4.1.11",
|
|
122
|
+
"esbuild": "0.28.2",
|
|
119
123
|
"eslint": "10.9.1",
|
|
120
124
|
"eslint-config-prettier": "^10.1.8",
|
|
121
125
|
"eslint-plugin-react": "7.37.5",
|