@remixhq/mcp 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/server.js +2 -2
- package/dist/server.js.map +1 -1
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -205,7 +205,7 @@ function normalizeByMessage(err) {
|
|
|
205
205
|
category: "local_state"
|
|
206
206
|
});
|
|
207
207
|
}
|
|
208
|
-
if (code === ERROR_CODES.PREFERRED_BRANCH_MISMATCH || message.includes("preferred branch")) {
|
|
208
|
+
if (code === ERROR_CODES.PREFERRED_BRANCH_MISMATCH || message.includes("preferred branch") || message.includes("bound branch")) {
|
|
209
209
|
return makeNormalized({
|
|
210
210
|
code: ERROR_CODES.PREFERRED_BRANCH_MISMATCH,
|
|
211
211
|
message,
|
|
@@ -783,7 +783,7 @@ function getRiskLevel(status) {
|
|
|
783
783
|
function getRecommendedNextActions(status) {
|
|
784
784
|
if (status.repo.branchMismatch) {
|
|
785
785
|
return [
|
|
786
|
-
`Switch to the
|
|
786
|
+
`Switch to the bound branch (${status.binding.branchName ?? "configured in the binding"}) before using Remix mutation tools, or rerun with allowBranchMismatch=true if this deviation is intentional.`
|
|
787
787
|
];
|
|
788
788
|
}
|
|
789
789
|
switch (status.recommendedAction) {
|