Skip to content

Commit 636fe5c

Browse files
committed
fix(cli): Expose projectPath/workspacePath as CLI flags for list-schemes (#271)
The session-aware public schema omitted both projectPath and workspacePath, which are the only parameters for list-schemes. This left the CLI with zero tool argument flags, making the command unusable without session defaults or --json.
1 parent 2769119 commit 636fe5c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/mcp/tools/project-discovery/list_schemes.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,8 @@ export async function listSchemesLogic(
137137
}
138138
}
139139

140-
const publicSchemaObject = baseSchemaObject.omit({
141-
projectPath: true,
142-
workspacePath: true,
143-
} as const);
144-
145140
export const schema = getSessionAwareToolSchemaShape({
146-
sessionAware: publicSchemaObject,
141+
sessionAware: baseSchemaObject,
147142
legacy: baseSchemaObject,
148143
});
149144

0 commit comments

Comments
 (0)