feat: allow configuring PlanBridge port#95
Merged
Conversation
…-specific-port # Conflicts: # README.md # packages/cli/src/annotation/runAnnotation.ts # packages/cli/src/cli.test.ts # packages/cli/src/commands/plan.test.ts # packages/cli/src/commands/plan.ts # packages/cli/src/planReview/runPlanReview.test.ts # packages/server/src/annotation.test.ts
blimmer
approved these changes
May 13, 2026
Contributor
blimmer
left a comment
There was a problem hiding this comment.
Only (soft) blocker for me is the README / website updates.
| - [Usage: Other agents](https://plan.contextbridge.ai/usage/other-agents/) | ||
| - [Privacy & Telemetry](https://plan.contextbridge.ai/privacy/) | ||
|
|
||
| ## Port configuration |
Contributor
There was a problem hiding this comment.
We should make this change in the website instead, I think.
It'd be nice if we could auto-gen from source all of the environment config properties (not a requirement for this PR). However, I'd like to keep the README succinct.
Even more reason for me to do #99 soon!
For now, could you:
- Remove this config from here.
- Create a PR in the private repo backing
tools/to add this in the relevant place. - If you don't tackle auto-generating the
CONTEXTBRIDGE_*env vars, could you open a github issue so we don't forget about it in the future?
| }); | ||
| } | ||
|
|
||
| function parsePortOption(value: string): number { |
Contributor
There was a problem hiding this comment.
This is duplicating logic that zod already has encoded. Can we lean on that instead?
Contributor
Author
|
Addressed the review feedback:
Verification:
|
blimmer
approved these changes
May 14, 2026
…-specific-port # Conflicts: # packages/cli/src/annotation/runAnnotation.test.ts # packages/cli/src/commands/plan.ts # packages/cli/src/environment.ts
blimmer
pushed a commit
that referenced
this pull request
May 14, 2026
🤖 I have created a release *beep* *boop* --- ## [0.6.0](v0.5.0...v0.6.0) (2026-05-14) ### Features * add global feedback submit shortcut ([#116](#116)) ([21b14a1](21b14a1)) * allow configuring PlanBridge port ([#95](#95)) ([bf53148](bf53148)) * tell Codex to run contextbridge open outside the sandbox ([#115](#115)) ([6cff1e9](6cff1e9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: contextbridge-pr-automation[bot] <259134118+contextbridge-pr-automation[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test Plan