Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

ci: document preserveTokenBoundaries option in crate chain check

Steven Enamakeld32b520712cb
diff --git a/scripts/ci/check-crate-chain.mjs b/scripts/ci/check-crate-chain.mjs
index 625440c204..fb604a9733 100644
--- a/scripts/ci/check-crate-chain.mjs
+++ b/scripts/ci/check-crate-chain.mjs
@@ -129,6 +129,7 @@ export const HOST_RPC_INTERNAL_PATTERNS = [
* mistaken for code. Handles nested block comments, escapes and raw strings.
* Optional literal preservation and code-whitespace compaction support type
* signatures; default masking is unchanged. Compaction leaves literal contents intact.
+ * preserveTokenBoundaries retains separators that prevent lexical token merging.
*/
export function stripRustComments(text, { preserveLiterals = false, compact = false, preserveTokenBoundaries = false } = {}) {
let out = '';