refactor(setup): accept retained fields from the registration schema
Setup keeps a registration field only when the schema doctor parses accepts it, and the OpenCode legacy disclosure follows that client's dialect.
This commit is contained in:
committed by
xeropresence
parent
ecd92970a4
commit
fb3fa1dc5f
@@ -1618,7 +1618,7 @@ export const describeClientRegistrationRetention = (
|
||||
? removed
|
||||
: `Setup replaces ${replaced.join(" and ")}. ${removed}`;
|
||||
const legacy =
|
||||
clientName === "opencode"
|
||||
dialect === "opencode"
|
||||
? " A legacy OpenCode entry moved into the native server table keeps only its environment."
|
||||
: "";
|
||||
return `On an existing local command entry, other user fields are kept. ${replacement} When that entry is remote, its other fields are replaced.${legacy}`;
|
||||
|
||||
Reference in New Issue
Block a user