runtime.ts · part 1
Full reference60 text occurrences from packages/codemode/src/interpreter/runtime.ts, part 1. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
async function codemode () { n${code} n}
Source: packages/codemode/src/interpreter/runtime.ts, characters 2812–2857, SHA-256 351aec88eac3f5f2.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: async function __codemode__() {\n${code}\n}
async function __codemode__() {\n${code}\n}
Failed to parse TypeScript: ${flattenDiagnosticMessageText(diagnostic.messageTex
Source: packages/codemode/src/interpreter/runtime.ts, characters 3163–3254, SHA-256 c12e1bb8a93a9767.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Failed to parse TypeScript: ${flattenDiagnosticMessageText(diagnostic.messageText, "\n")}
Failed to parse TypeScript: ${flattenDiagnosticMessageText(diagnostic.messageText, "\n")}
Failed to parse script as a Program node.
Source: packages/codemode/src/interpreter/runtime.ts, characters 3825–3868, SHA-256 0ddfcad9fcdaaabf.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Failed to parse script as a Program node.
Failed to parse script as a Program node.
${error.message}${formatLocation(error.node)}
Source: packages/codemode/src/interpreter/runtime.ts, characters 4219–4266, SHA-256 1b571a1cbaec77ee.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${error.message}${formatLocation(error.node)}
${error.message}${formatLocation(error.node)}
a non-data value
Source: packages/codemode/src/interpreter/runtime.ts, characters 4983–5001, SHA-256 197abb83a2c66d7f.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: a non-data value
a non-data value
Uncaught: ${message}
Source: packages/codemode/src/interpreter/runtime.ts, characters 5474–5496, SHA-256 c280b64ee023f53c.
Jev judged not model-facing (confidence 0.05; role human). This is a classifier judgment, not proof of delivery.
Readable text: Uncaught: ${message}
Uncaught: ${message}
Execution exceeded the maximum nesting depth.
Source: packages/codemode/src/interpreter/runtime.ts, characters 5648–5695, SHA-256 e95e46f3b6a421ca.
Jev judged not model-facing (confidence 0.05; role human). This is a classifier judgment, not proof of delivery.
Readable text: Execution exceeded the maximum nesting depth.
Execution exceeded the maximum nesting depth.
JSON
Source: packages/codemode/src/interpreter/runtime.ts, characters 9253–9259, SHA-256 910ddabffa76a633.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: JSON
JSON
URL
Source: packages/codemode/src/interpreter/runtime.ts, characters 10275–10280, SHA-256 c6ef2fb0345c4753.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: URL
URL
The right-hand side of 'instanceof' must be a constructor CodeMode knows: Error
Source: packages/codemode/src/interpreter/runtime.ts, characters 11014–11211, SHA-256 9fa80555989612ee.
Jev judged not model-facing (confidence 0.16; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: The right-hand side of 'instanceof' must be a constructor CodeMode knows: Error (or a specific error type like TypeError), Date, RegExp, Map, Set, URL, URLSearchParams, Array, Object, or Promise.
The right-hand side of 'instanceof' must be a constructor CodeMode knows: Error (or a specific error type like TypeError), Date, RegExp, Map, Set, URL, URLSearchParams, Array, Object, or Promise.
String.${name} expects argument ${index + 1} to be a string.
Source: packages/codemode/src/interpreter/runtime.ts, characters 11482–11544, SHA-256 089d86cef3135bea.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: String.${name} expects argument ${index + 1} to be a string.
String.${name} expects argument ${index + 1} to be a string.
String.${name} expects argument ${index + 1} to be a number.
Source: packages/codemode/src/interpreter/runtime.ts, characters 11715–11777, SHA-256 a72499e8ac78c2ca.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: String.${name} expects argument ${index + 1} to be a number.
String.${name} expects argument ${index + 1} to be a number.
String.normalize expects the form "NFC", "NFD", "NFKC", or "NFKD" (got ${JSON.st
Source: packages/codemode/src/interpreter/runtime.ts, characters 12964–13062, SHA-256 5fe7679e5e014de1.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: String.normalize expects the form "NFC", "NFD", "NFKC", or "NFKD" (got ${JSON.stringify(form)}).
String.normalize expects the form "NFC", "NFD", "NFKC", or "NFKD" (got ${JSON.stringify(form)}).
String.replaceAll requires a regular expression with the global (g) flag: write
Source: packages/codemode/src/interpreter/runtime.ts, characters 14323–14497, SHA-256 96d8551302f93a77.
Jev judged not model-facing (confidence 0.13; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: String.replaceAll requires a regular expression with the global (g) flag: write /${pattern.source}/${pattern.flags}g, or use String.replace to replace only the first match.
String.replaceAll requires a regular expression with the global (g) flag: write /${pattern.source}/${pattern.flags}g, or use String.replace to replace only the first match.
String.match result
Source: packages/codemode/src/interpreter/runtime.ts, characters 15233–15254, SHA-256 6e52cddb6a3795eb.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: String.match result
String.match result
String.matchAll requires a regular expression with the global (g) flag: write /$
Source: packages/codemode/src/interpreter/runtime.ts, characters 15462–15619, SHA-256 27ccfb1d4e6f3254.
Jev judged not model-facing (confidence 0.13; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: String.matchAll requires a regular expression with the global (g) flag: write /${pattern.source}/${pattern.flags}g, or use String.match for a single match.
String.matchAll requires a regular expression with the global (g) flag: write /${pattern.source}/${pattern.flags}g, or use String.match for a single match.
String.repeat expects a finite non-negative count.
Source: packages/codemode/src/interpreter/runtime.ts, characters 16133–16185, SHA-256 9f8236e554e64955.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: String.repeat expects a finite non-negative count.
String.repeat expects a finite non-negative count.
String method '${name}' is not available in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 17285–17340, SHA-256 a4588cb3975c411a.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: String method '${name}' is not available in CodeMode.
String method '${name}' is not available in CodeMode.
String.${name} result
Source: packages/codemode/src/interpreter/runtime.ts, characters 17381–17404, SHA-256 7ebb1acd0c6f31be.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: String.${name} result
String.${name} result
Array.from(...) does not support a map function in CodeMode; call .map() on the
Source: packages/codemode/src/interpreter/runtime.ts, characters 17714–17811, SHA-256 5389e555267438d0.
Jev judged not model-facing (confidence 0.13; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Array.from(...) does not support a map function in CodeMode; call .map() on the result instead.
Array.from(...) does not support a map function in CodeMode; call .map() on the result instead.
Array.from input
Source: packages/codemode/src/interpreter/runtime.ts, characters 18424–18442, SHA-256 0d02ad5dc37b2829.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Array.from input
Array.from input
Array.from expects an array, string, Map, Set, or array-like value.
Source: packages/codemode/src/interpreter/runtime.ts, characters 18818–18887, SHA-256 f958f8c649497582.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Array.from expects an array, string, Map, Set, or array-like value.
Array.from expects an array, string, Map, Set, or array-like value.
Array.${name} is not available in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 18954–18999, SHA-256 48e01661cec6f7a4.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Array.${name} is not available in CodeMode.
Array.${name} is not available in CodeMode.
console.${ref.name} is not available in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 19194–19245, SHA-256 803e59137b79ce0e.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: console.${ref.name} is not available in CodeMode.
console.${ref.name} is not available in CodeMode.
URL · character 19681
Source: packages/codemode/src/interpreter/runtime.ts, characters 19681–19686, SHA-256 c6ef2fb0345c4753.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: URL
URL
Date.${ref.name} is not available in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 19843–19891, SHA-256 5b9b3e5aebf014c0.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Date.${ref.name} is not available in CodeMode.
Date.${ref.name} is not available in CodeMode.
${ref.namespace}.${ref.name} is not available in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 20140–20200, SHA-256 72f80d6aebfa532f.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${ref.namespace}.${ref.name} is not available in CodeMode.
${ref.namespace}.${ref.name} is not available in CodeMode.
JSON · character 23134
Source: packages/codemode/src/interpreter/runtime.ts, characters 23134–23140, SHA-256 910ddabffa76a633.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: JSON
JSON
JSON · character 23187
Source: packages/codemode/src/interpreter/runtime.ts, characters 23187–23193, SHA-256 910ddabffa76a633.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: JSON
JSON
URL · character 24189
Source: packages/codemode/src/interpreter/runtime.ts, characters 24189–24194, SHA-256 c6ef2fb0345c4753.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: URL
URL
URL · character 24241
Source: packages/codemode/src/interpreter/runtime.ts, characters 24241–24246, SHA-256 c6ef2fb0345c4753.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: URL
URL
Unexpected '${result.kind}' outside of a loop.
Source: packages/codemode/src/interpreter/runtime.ts, characters 26254–26302, SHA-256 bd9b4d0d5c6d7102.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unexpected '${result.kind}' outside of a loop.
Unexpected '${result.kind}' outside of a loop.
Unhandled rejection from an un-awaited tool call: ${failure.message}
Source: packages/codemode/src/interpreter/runtime.ts, characters 27719–27789, SHA-256 50c391d05ebad036.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unhandled rejection from an un-awaited tool call: ${failure.message}
Unhandled rejection from an un-awaited tool call: ${failure.message}
Await tool calls - const result = await tools.ns.tool(...) - so failures can b
Source: packages/codemode/src/interpreter/runtime.ts, characters 27847–27950, SHA-256 7f982befe08f4013.
Jev judged not model-facing (confidence 0.12; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Await tool calls - 'const result = await tools.ns.tool(...)' - so failures can be caught and handled.
Await tool calls - `const result = await tools.ns.tool(...)` - so failures can be caught and handled.
This tool call was interrupted because another value settled a Promise.race firs
Source: packages/codemode/src/interpreter/runtime.ts, characters 30394–30478, SHA-256 3a34db2999c9370e.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: This tool call was interrupted because another value settled a Promise.race first.
This tool call was interrupted because another value settled a Promise.race first.
Generator functions are not supported in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 33354–33406, SHA-256 47b0453d1f1269ad.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Generator functions are not supported in CodeMode.
Generator functions are not supported in CodeMode.
Switch discriminants must be data values in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 35097–35152, SHA-256 75a088f16914b8e5.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Switch discriminants must be data values in CodeMode.
Switch discriminants must be data values in CodeMode.
Switch case values must be data values in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 35759–35812, SHA-256 a57a41ed39971c99.
Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Switch case values must be data values in CodeMode.
Switch case values must be data values in CodeMode.
for await...of is not supported.
Source: packages/codemode/src/interpreter/runtime.ts, characters 40742–40776, SHA-256 a21e8315efc001d4.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: for await...of is not supported.
for await...of is not supported.
for...of requires an array, string, Map, or Set value in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 41340–41408, SHA-256 2c0fd1faa7f006c2.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: for...of requires an array, string, Map, or Set value in CodeMode.
for...of requires an array, string, Map, or Set value in CodeMode.
for...of supports one declared binding.
Source: packages/codemode/src/interpreter/runtime.ts, characters 41757–41798, SHA-256 622092a182093fd5.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: for...of supports one declared binding.
for...of supports one declared binding.
Unsupported for...of binding.
Source: packages/codemode/src/interpreter/runtime.ts, characters 42147–42178, SHA-256 804e31152cffa004.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported for...of binding.
Unsupported for...of binding.
for...in requires a plain object, array, or tools reference in CodeMode. Use for
Source: packages/codemode/src/interpreter/runtime.ts, characters 44888–45043, SHA-256 d1ac916f1d9ef2b3.
Jev judged not model-facing (confidence 0.22; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: for...in requires a plain object, array, or tools reference in CodeMode. Use for...of for arrays/strings/Maps/Sets, or Object.keys(value) for a key list.
for...in requires a plain object, array, or tools reference in CodeMode. Use for...of for arrays/strings/Maps/Sets, or Object.keys(value) for a key list.
for...in supports one declared binding.
Source: packages/codemode/src/interpreter/runtime.ts, characters 45412–45453, SHA-256 fb36dc245f570162.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: for...in supports one declared binding.
for...in supports one declared binding.
Unsupported for...in binding.
Source: packages/codemode/src/interpreter/runtime.ts, characters 45802–45833, SHA-256 876ebddbaa5bfd1e.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported for...in binding.
Unsupported for...in binding.
Labeled break is not supported in v1.
Source: packages/codemode/src/interpreter/runtime.ts, characters 46899–46938, SHA-256 14707e43423281b9.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Labeled break is not supported in v1.
Labeled break is not supported in v1.
Labeled continue is not supported in v1.
Source: packages/codemode/src/interpreter/runtime.ts, characters 47172–47214, SHA-256 f6086fcc759e5836.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Labeled continue is not supported in v1.
Labeled continue is not supported in v1.
Unsupported variable declaration shape.
Source: packages/codemode/src/interpreter/runtime.ts, characters 49835–49876, SHA-256 d9b01129ecd4244d.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported variable declaration shape.
Unsupported variable declaration shape.
Object destructuring requires a data object value.
Source: packages/codemode/src/interpreter/runtime.ts, characters 51103–51155, SHA-256 bc081c0e5c3b15b2.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object destructuring requires a data object value.
Object destructuring requires a data object value.
Only named object destructuring properties are supported.
Source: packages/codemode/src/interpreter/runtime.ts, characters 52134–52193, SHA-256 046117fc330178e7.
Jev judged not model-facing (confidence 0.12; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Only named object destructuring properties are supported.
Only named object destructuring properties are supported.
Property '${key}' is not available in CodeMode.
Source: packages/codemode/src/interpreter/runtime.ts, characters 52458–52507, SHA-256 85836ce7333f5ddc.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Property '${key}' is not available in CodeMode.
Property '${key}' is not available in CodeMode.
Array destructuring requires an array value.
Source: packages/codemode/src/interpreter/runtime.ts, characters 52830–52876, SHA-256 78884f520c492c17.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Array destructuring requires an array value.
Array destructuring requires an array value.
Unsupported binding pattern '${pattern.type}'.
Source: packages/codemode/src/interpreter/runtime.ts, characters 53503–53551, SHA-256 9caa98315e46006f.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unsupported binding pattern '${pattern.type}'.
Unsupported binding pattern '${pattern.type}'.
new Promise(...) is not supported in CodeMode; tool calls already return promise
Source: packages/codemode/src/interpreter/runtime.ts, characters 56552–56673, SHA-256 2201c78b32781268.
Jev judged not model-facing (confidence 0.13; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: new Promise(...) is not supported in CodeMode; tool calls already return promises - call the tool and await the result.
new Promise(...) is not supported in CodeMode; tool calls already return promises - call the tool and await the result.
URL · character 57549
Source: packages/codemode/src/interpreter/runtime.ts, characters 57549–57554, SHA-256 c6ef2fb0345c4753.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: URL
URL
RegExp flags must be a string of flag characters (e.g. "g", "gi"), not ${flagsAr
Source: packages/codemode/src/interpreter/runtime.ts, characters 58820–58941, SHA-256 8ef0c9a260d19ac0.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: RegExp flags must be a string of flag characters (e.g. "g", "gi"), not ${flagsArg === null ? "null" : typeof flagsArg}.
RegExp flags must be a string of flag characters (e.g. "g", "gi"), not ${flagsArg === null ? "null" : typeof flagsArg}.
new RegExp(...) received invalid flags ${JSON.stringify(flags)} (${reason}). Val
Source: packages/codemode/src/interpreter/runtime.ts, characters 59537–59659, SHA-256 ac65f8ffa7b918c4.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: new RegExp(...) received invalid flags ${JSON.stringify(flags)} (${reason}). Valid flags are d, g, i, m, s, u, v, and y.
new RegExp(...) received invalid flags ${JSON.stringify(flags)} (${reason}). Valid flags are d, g, i, m, s, u, v, and y.
new RegExp(...) received ${JSON.stringify(pattern)}, which is not a valid regula
Source: packages/codemode/src/interpreter/runtime.ts, characters 59672–59806, SHA-256 d5b10b12d556c02a.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: new RegExp(...) received ${JSON.stringify(pattern)}, which is not a valid regular expression pattern (${reason}). ${escapeRegexHint}
new RegExp(...) received ${JSON.stringify(pattern)}, which is not a valid regular expression pattern (${reason}). ${escapeRegexHint}
new Map(...) expects an array of key, value pairs, a Map, or no argument.
Source: packages/codemode/src/interpreter/runtime.ts, characters 60298–60375, SHA-256 dad734b351e33d0e.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: new Map(...) expects an array of [key, value] pairs, a Map, or no argument.
new Map(...) expects an array of [key, value] pairs, a Map, or no argument.
new Map(...) expects key, value pairs.
Source: packages/codemode/src/interpreter/runtime.ts, characters 60515–60557, SHA-256 5f8f070b4b37e35b.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: new Map(...) expects [key, value] pairs.
new Map(...) expects [key, value] pairs.