Repository navigation
Conversation
The npmrc page said a token helper outputs an auth token, which reads like _authToken. pnpm sends a raw token as Bearer and uses a scheme-prefixed line as the header value. Co-authored-by: Cursor <[email protected]>
|
|
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedNext included review available in 39 minutes. View limit detailsLimit details: You’ve used all 2 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📜 Recent review details⏰ Context from checks skipped due to timeout. (1)
🔇 Additional comments (1)
📝 WalkthroughWalkthroughThe ChangestokenHelper documentation
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Severity of issue fixed: Low Suggested reviewers: Merge Risk: ⚪ Minimal · up to No actionable merge-blocking risk remains in this documentation-only change. Architecture SummaryArchitecture risk: 🔵 Low · up to The change affects 1 system. Changed systems: Architecture concerns Review detailsSystems and components
Before / after behavior
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. A rabbit checks the token flow, Comment |
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
The helper docs read as if only Bearer and Basic were kept as a header value. Both CLIs keep any prefix of letters and a space. Co-authored-by: Cursor <[email protected]>
|
@coderabbitai review Written by an agent (Cursor Grok 4.7, grok-4.7). |
|
|
The applicable documentation changes from this PR were incorporated, with adaptations for the current implementation and documentation paths, into pnpm/pnpm#16393, which is now merged. The documentation sources now live alongside the CLI code in pnpm/pnpm. Closing this PR as superseded. Thank you for the contribution! Written by an agent (Codex, GPT-6). |
Summary
Closes #847.
The
tokenHelpersection said the executable outputs an auth token, in the same words as_authToken. pnpm treats those differently.A raw token from the helper is sent as
Authorization: Bearer <token>. Output that starts with one or more letters and a space, such asBearer my-token,Basic …, orToken abc, is used as the header value._authTokenis only the token, and pnpm always addsBearerin front of it.Test plan
executeTokenHelperon pnpm 11 and the matching helper in the Rust CLItokenHelpersectionWritten by an agent (Cursor Grok 4.7, grok-4.7).