feat(peek-cli): peek connect add --local for local connector builds#153
Conversation
Sugar for registering a locally-built connector: --local <path> resolves to an absolute path and desugars to --command node --args=<abs path>. Mutual exclusion enforced: --local + --command or --local + --args prints a clear error and returns 1. USAGE updated; connector-slack README gains a local-build section. Changeset: @peekdev/cli minor. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Signed-off-by: harry-harish <22562634+harry-harish@users.noreply.github.com>
|
Warning Review limit reached
Next review available in: 9 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
✨ 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. Comment |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Replace POSIX-only startsWith('/') and endsWith(relPath) checks with
isAbsolute() and resolve(cwd, relPath) equality, which are correct on
both POSIX and Windows (drive-letter paths + backslash separators).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: harry-harish <22562634+harry-harish@users.noreply.github.com>
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@coderabbitai full review |
✅ Action performedFull review finished. Your plan includes PR reviews subject to rate limits. More reviews will be available in 10 minutes. |
|
@coderabbitai full review |
✅ Action performedFull review finished. Your plan includes PR reviews subject to rate limits. More reviews will be available in 9 minutes. |
Summary
--local <path>flag topeek connect addas sugar for registering a locally-built connector without npm publish--local <path>resolves the path to absolute (viaresolve(process.cwd(), path)) and desugars tocommand: 'node', args: [absPath]— identical to the verbose--command node --args=/abs/dist/index.jsform--localcombined with--commandor--argsprints a clear conflict message to stderr and returns 1packages/connector-slack/README.mdgains a "Run from a local build" section documenting the 3-step flow (build→connect add slack --local→connect start) plus keychain/env inheritance notes@peekdev/climinorLocal connector flow
This replaces the previous verbose form:
Test plan
--localresolves to absolute path, setscommand=node,args=[absPath]--local + --command→ returns 1 + stderr conflict message--local + --args→ returns 1 + stderr conflict messageadd slack(no--local) unchanged🤖 Generated with Claude Code