fix(setup-context7): accurate Phase 5/7 verification (whoami is OAuth-only, smoke = ctx7 library)
This commit is contained in:
BIN
dist/setup-context7.skill
vendored
BIN
dist/setup-context7.skill
vendored
Binary file not shown.
@@ -108,7 +108,7 @@ If the user prefers no global install: `npx -y ctx7 ...` works per-call (no inst
|
||||
|
||||
- **No key**: run `ctx7 login` (interactive OAuth, one-time, human runs it) or ask the user to paste a key.
|
||||
|
||||
Verify: `CONTEXT7_API_KEY=$(grep ... ctx7.env) ctx7 whoami` (or `ctx7 whoami` after exporting) — should resolve to the user's account. On Windows git-bash, set the var inline per call; the skill's `using-context7` documents how to source the env file.
|
||||
Verify: `ctx7 library Nuxt "config"` должен вернуть ID библиотеки — это функциональный smoke (работает анонимно; env-ключ даёт повышенные лимиты, но не меняет вывод). Примечание: `ctx7 whoami` отвечает "Not logged in" даже с env-ключом — это OAuth-идентичность (`ctx7 login`), не проверка ключа; не считать ошибкой setup.
|
||||
|
||||
### Phase 6 — Clean legacy MCP/plugin (migration)
|
||||
|
||||
@@ -147,7 +147,7 @@ Call the CLI with a benign query:
|
||||
ctx7 library Nuxt "Nuxt 4 config and route rules"
|
||||
```
|
||||
|
||||
If it returns library IDs / snippets — context7 works via CLI in *any* harness. Optionally `ctx7 whoami` to confirm the key.
|
||||
If it returns library IDs / snippets — context7 works via CLI in *any* harness. (`ctx7 whoami` — OAuth-идентичность, отвечает "Not logged in" при env-ключе; не смоук-критерий.)
|
||||
|
||||
### Phase 8 — Restart guidance + final report
|
||||
|
||||
|
||||
Reference in New Issue
Block a user