fix(desktop): preserve trailing spaces in desktop entry values (#9612)

* fix(desktop): preserve trailing spaces in desktop entry values

* test(mcp): cover source fitting and omitted delivery budgets

---------

Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
This commit is contained in:
morlutoandhhang authored and GitHub committed 2026-11-09 19:41:54 +08:00
1 parent 8c64eb511f
commit e66e92904e
5 files changed
+150 -12

No files matched your search

@@ -161,16 +161,6 @@ export interface DataEffectTraversalContext {
readonly ancestors: t.Node[];
}
/** Resolve built-in methods from the shared, unambiguous binding provenance. */
export const builtinDataEffectMethod = (
callee: t.Node,
state: JavaScriptSemanticAnalysisState,
specifiers: readonly string[],
): string | null => {
const path = builtinDataEffectCallablePath(callee, state, specifiers);
return path?.length === 1 ? (path[0] ?? null) : null;
};
/** Recover the complete callable export path using the shared mutation proof. */
export const builtinDataEffectCallablePath = (
callee: t.Node,