Structs§
Functions§
- edit_
distance - Compute the Levenshtein edit distance between two strings.
- find_
closest_ match - Find the closest match to
nameamongcandidates, withinmax_distedits. - harness_
clock_ replacement - Map an ambient clock-capability builtin to its
harness.clock.*replacement. Returns the new identifier text (including the receiver path) so thebindings/thread-harness-clockrepair can replace the call-site identifier in place. The mapping is the source of truth for the E4.3 → E4.6 migration; downstream replatform agents query it via [Code::repair_template]. - harness_
env_ replacement - Map an ambient env-capability builtin to its
harness.env.*replacement. Backs thebindings/thread-harness-envrepair. - harness_
fs_ replacement - Map an ambient fs-capability builtin to its
harness.fs.*replacement. Backs thebindings/thread-harness-fsrepair the E4.4 → E4.6 migration uses to rewrite.harnscripts off the legacy surface. - harness_
net_ replacement - Map an ambient net-capability builtin to its
harness.net.*replacement. Backs thebindings/thread-harness-netrepair. Only the basic verb surface is migrated mechanically; streaming, session, and server-mode builtins keep their ambient names today. - harness_
random_ replacement - Map an ambient random-capability builtin to its
harness.random.*replacement. Backs thebindings/thread-harness-randomrepair. - harness_
stdio_ replacement - Map an ambient stdio-capability builtin to its
harness.stdio.*replacement soharn fixcan replace the call in place once the relevant harness binding is available. - lexer_
error_ code - normalize_
diagnostic_ path - Normalize diagnostic filenames lexically for display.
- parser_
error_ code - parser_
error_ help - parser_
error_ label - parser_
error_ message - renamed_
stdlib_ symbol - Return the replacement for stdlib symbols that were directly renamed.
- render_
diagnostic - Render a Rust-style diagnostic message.
- render_
diagnostic_ with_ code - render_
diagnostic_ with_ related - render_
type_ diagnostic