You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "vercel-plugin",
3
-
"version": "0.32.7",
3
+
"version": "0.40.0",
4
4
"description": "Comprehensive Vercel ecosystem plugin — relational knowledge graph, skills for every major product, specialized agents, and Vercel conventions. Turns any AI agent into a Vercel expert.",
1.**SessionStart**: For greenfield directories or detected Vercel/Next.js projects, the profiler scans the project → sets `VERCEL_PLUGIN_LIKELY_SKILLS`
65
57
2.**PreToolUse** (on Read/Edit/Write/Bash): Match file paths (glob), bash commands (regex), imports (regex+flags) → apply vercel.json routing → apply profiler boost → rank by priority → dedup → inject up to 3 skills within 18KB budget
66
58
3.**UserPromptSubmit**: Score prompt text against `promptSignals` (phrases/allOf/anyOf/noneOf) → inject up to 2 skills within 8KB budget
67
59
-**3b. Lexical fallback** (when `VERCEL_PLUGIN_LEXICAL_PROMPT=on`): If phrase/allOf/anyOf scoring yields no matches above `minScore`, re-score using a lexical stemmer that normalizes prompt tokens before comparison — catches natural phrasing that exact-substring matching misses
68
-
4.**PostToolUse** (on Write/Edit): Match written file to skills → run `validate` rules → return fix instructions on error
60
+
4.**SessionEnd**: Clean up session-scoped temp files
69
61
70
62
Special triggers in PreToolUse:
71
63
-**TSX review**: After N `.tsx` edits (default 3), injects `react-best-practices`
@@ -154,7 +146,7 @@ Heading extraction is case-insensitive and captures everything from the heading
Copy file name to clipboardExpand all lines: README.md
+10-18Lines changed: 10 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,15 +22,15 @@
22
22
npx plugins add vercel/vercel-plugin
23
23
```
24
24
25
-
That's it. The plugin activates automatically — no setup, no commands to learn. Just build.
25
+
That's it. The plugin installs Vercel context, skills, and a lightweight default hook profile.
26
26
27
27
## What It Does
28
28
29
-
This plugin pre-loads AI agents with a **relational knowledge graph** of the entire Vercel ecosystem — every product, library, CLI, API, and service — showing how they relate, when to use each, and providing deep guidance through bundled skills.
29
+
This plugin gives AI agents a **relational knowledge graph** of the Vercel ecosystem plus a bundled skill library covering products, libraries, CLI, APIs, and workflows.
30
30
31
31
## How Do I Use This?
32
32
33
-
After installing, there's nothing to learn — all Vercel guidance happens automatically. The plugin detects what you're working on from your tool calls, file paths, and project config, then injects the right expertise at the right time. Just use your AI agent as you normally would and the plugin handles the rest.
33
+
After installing, the plugin keeps automatic behavior lightweight. Session-start activation now only kicks in for empty directories and detected Vercel/Next.js projects, and Vercel skills are no longer auto-injected on every tool call or every prompt by default. The default post-tool path is now observer-only. The skills remain available for direct use, and the repo still keeps the injection engine for targeted or future opt-in workflows.
34
34
35
35
## Components
36
36
@@ -94,14 +94,12 @@ A text-form relational graph covering:
94
94
95
95
Lifecycle hooks that run automatically during your session:
96
96
97
-
-**Session start context injection** — Injects `vercel.md` (ecosystem graph + conventions) into every session
98
-
-**Session start repo profiler** — Scans config files and dependencies to pre-prime skill matching for faster first tool call
99
-
-**Pre-tool-use skill injection** — Matches tool calls to skills and injects relevant guidance with dedup
100
-
-**Pre-write/edit validation** — Catches deprecated patterns before they're written (sunset packages, old API names, renamed files)
97
+
-**Session start context injection** — Injects a thin Vercel session context plus the knowledge-update guidance for empty directories and detected Vercel/Next.js projects
98
+
-**Session start repo profiler** — Scans config files and dependencies to set likely-skill hints, but only after that same activation check passes
101
99
102
100
## Usage
103
101
104
-
After installing, skills and context are injected automatically. You can also invoke skills directly via slash commands:
102
+
After installing, session context is injected automatically only for empty directories and detected Vercel/Next.js projects. Vercel skills are available on demand, and you can invoke them directly via slash commands:
105
103
106
104
```
107
105
/vercel-plugin:nextjs
@@ -111,31 +109,25 @@ After installing, skills and context are injected automatically. You can also in
111
109
112
110
## Telemetry
113
111
114
-
The plugin has two separate telemetry controls:
115
-
116
-
-`~/.claude/vercel-plugin-telemetry-preference` controls prompt text only.
117
-
-`VERCEL_PLUGIN_TELEMETRY=off` disables all telemetry.
112
+
Prompt text and bash/tool-call telemetry are not collected.
118
113
119
114
Behavior:
120
115
121
-
-`echo 'enabled' > ~/.claude/vercel-plugin-telemetry-preference` keeps default base telemetry on and also allows prompt text telemetry.
122
-
-`echo 'disabled' > ~/.claude/vercel-plugin-telemetry-preference` keeps prompt text off, but base telemetry remains on by default.
123
-
-`VERCEL_PLUGIN_TELEMETRY=off` disables all telemetry, including prompt text, session metadata, tool names, and skill-injection telemetry.
-`VERCEL_PLUGIN_TELEMETRY=off`: disables all telemetry, including the default DAU-only session-start event.
124
118
125
-
Where to set `VERCEL_PLUGIN_TELEMETRY=off`:
119
+
Where to set `VERCEL_PLUGIN_TELEMETRY`:
126
120
127
121
- macOS / Linux: add it to the shell profile for the environment that launches your agent, such as `~/.zshrc`, `~/.bashrc`, `~/.bash_profile`, or `~/.config/fish/config.fish`, then restart that terminal or app session.
128
122
- Windows: set it in the PowerShell environment that launches your agent, add it to your PowerShell profile (`$PROFILE`), or set it as a persistent user environment variable.
0 commit comments