@mairwunnx/ctxray 0.1.1-next.12 → 0.1.1-next.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/ctxray.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{spawnSync as H}from"node:child_process";import{readdirSync as F,readFileSync as I}from"node:fs";import{createRequire as z}from"node:module";import{dirname as j,join as D}from"node:path";import{fileURLToPath as E}from"node:url";var w={"count.harnesses":{one:"{count} harness",other:"{count} harnesses"},"count.tests":{one:"{count} test",other:"{count} tests"},"count.rules":{one:"{count} rule",other:"{count} rules"},"status.passed":"passed","status.failed":"failed","status.skipped":"skipped","status.inconclusive":"inconclusive","status.flaky":"flaky","lang.unsupported":"Language “{lang}” isn't supported yet, so ctxray speaks English","debug.missingMessage":"Message {key} is missing in the {lang} catalog, so it shows in English","cli.tagline":"X-ray for agent harnesses","help.usage":"Usage","help.command":"<command>","help.options":"[options]","help.commandsTitle":"Commands","help.optionsTitle":"Options","help.manual":"Manual: {url}","command.inspect":"Show what each harness loads here and how many tokens it costs","command.init":"Create ctxray.config.ts and an example test","command.config":"Show the config after extends and defaults","option.lang":"Interface language: {langs}","option.ci":"Run as in CI, with plain line output","option.plain":"Print plain lines instead of the live view","option.noColor":"Turn colours off, same as --plain","option.help":"Show help","option.version":"Show the version","option.force":"Overwrite files that already exist","option.config":"Config file to use instead of the one in the project root","option.harness":"Harnesses, comma-separated, like claude-code,codex","option.cwd":"Folder the agent starts in, the current one by default","option.files":"Files the agent works with, comma-separated: rules for them load too","option.json":"Print JSON instead of text","error.unknownCommand":"Unknown command “{name}”","error.unknownOption":"Unknown option {name}","error.missingValue":"Option {name} needs a value","error.unexpectedValue":"Option {name} takes no value","error.unexpectedArgument":"Unexpected argument “{value}”","error.hint":"Run {command} for the list of commands and options","error.internal":"ctxray failed unexpectedly: {message}","error.report":"Please report it with the output above: {url}","init.created":"created","init.overwritten":"overwritten","init.skipped":"skipped","init.updated":"updated","init.exists":"already exists, --force overwrites it","init.ignoreAdded":"now ignores .ctxray/","init.ignorePresent":"already ignores .ctxray/","init.next":"Next: describe your agent setup in {test} and run {command}","config.files":"Config: {files}","config.none":"No config file, so the defaults apply","config.failed":"The config has errors, so ctxray stops:","config.missing":"Config file {file} doesn't exist","config.ambiguous":"The project has several config files: {files}. Keep one","config.unreadable":"Can't load {file}: {message}","config.noDefault":"{file} exports no config. End it with export default defineConfig({ … })","config.invalid":"{where}: {message}","config.badPattern":"{where}: not a valid regular expression","config.emptyPolicy":"Policy “{id}” checks nothing. Give it maxTokens, denyMcp, requireMcp, or requireFiles in {files}","config.duplicatePolicy":"{where}: two policies share an id","config.caMissing":"{where}: CA file {file} doesn't exist","config.extendsMissing":"{where}: can't find “{name}” to extend. Install the package or fix the path","config.cycle":"Configs extend each other in a loop: {chain}","error.unknownHarness":"Unknown harness “{name}”. Known ones: {known}","inspect.noFolder":"Folder {dir} doesn't exist","inspect.cwd":"the agent starts in {cwd}","inspect.files":"and works with {files}","inspect.tokens":"≈ {tokens}","inspect.afterRun":"after a run","inspect.rules":"Rules","inspect.skills":"Skills","inspect.commands":"Commands","inspect.mcp":"MCP servers","inspect.system":"System prompt and built-in tools","inspect.nothing":"finds nothing to load here","inspect.elsewhere":{one:"and {count} problem elsewhere in the repository",other:"and {count} problems elsewhere in the repository"},"inspect.notYet":"{harness}: ctxray can't read its files yet","inspect.estimate":"≈ marks a local estimate with the {tokenizer} tokenizer","inspect.uncalibrated":"Claude models have a tokenizer of their own, so Claude Code numbers are rougher","inspect.capture":"The system prompt, built-in tools, and MCP tool schemas get counted once ctxray launches the harness","lint.frontmatter":"The frontmatter isn't valid YAML, so the harness ignores it: {message}","lint.looseFrontmatter":"The frontmatter isn't valid YAML. Claude Code and Codex still read it line by line, stricter tools won't: {message}","reach.nowhere":"No harness reads this file, and no file a harness reads links to it","reach.nowhereSkills":{one:"{count} skill here, and no harness looks in this folder, so no model ever sees it",other:"{count} skills here, and no harness looks in this folder, so no model ever sees them"},"lint.skillFolderName":"The skill calls itself “{name}” in a folder named “{folder}”: Claude Code lists it as {folder}, Codex and Cursor as {name}. Name the folder after the skill","size.lines":{one:"{count} line, over the limit of {limit}",other:"{count} lines, over the limit of {limit}"},"size.chars":{one:"{count} character, over the limit of {limit}",other:"{count} characters, over the limit of {limit}"},"size.tokens":{one:"{count} token, over the limit of {limit}",other:"{count} tokens, over the limit of {limit}"},"reach.otherHarness":"Only {harnesses} reads this file, and it isn't in the run","reach.otherHarnesses":"Only {harnesses} read this file, and none of them is in the run","reach.otherHarnessSkills":{one:"{count} skill here that only {harnesses} reads, and it isn't in the run",other:"{count} skills here that only {harnesses} reads, and it isn't in the run"},"reach.otherHarnessesSkills":{one:"{count} skill here that only {harnesses} read, and none of them is in the run",other:"{count} skills here that only {harnesses} read, and none of them is in the run"},"reach.differs":"{harness} doesn't read this file, and nothing it reads says the same, so the harnesses get different instructions. Only {by} reads it","reach.differsMany":"{harness} doesn't read this file, and nothing it reads says the same, so the harnesses get different instructions. Only {by} read it","reach.differsSkills":{one:"{harness} doesn't see the skill here and has no copy of it, so the harnesses get different skills. Only {by} sees it",other:"{harness} doesn't see {count} skills here and has no copies of them, so the harnesses get different skills. Only {by} sees them"},"reach.differsManySkills":{one:"{harness} doesn't see the skill here and has no copy of it, so the harnesses get different skills. Only {by} see it",other:"{harness} doesn't see {count} skills here and has no copies of them, so the harnesses get different skills. Only {by} see them"},"lint.ruleField":"Claude Code reads only “paths” in a rule, “{field}” does nothing","lint.tooLarge":"The file is over {limit}, so Claude Code skips all of it","lint.importMissing":"@{target} points to a file that doesn't exist","lint.importDepth":"@{target} is more than {hops} imports deep, so it never loads","lint.shadowedCommand":"The skill {by} has the same name “{name}”, so this command never runs","lint.noDescription":"Skill “{name}” has no description, so the model has little to pick it by","lint.longDescription":"The description is {length} characters long, and the listing cuts it at {limit}","lint.badJson":"Not valid JSON: {message}","lint.badToml":"Not valid TOML, so {harness} ignores the file: {message}","lint.mcpTransport":"MCP server “{name}” has neither command nor url","lint.empty":"The file is empty, so {harness} skips it","lint.shadowed":"Codex reads {by} instead, one file per directory","lint.skillField":"The frontmatter has no {field}, so {harness} skips the skill","lint.budget":"The AGENTS.md files above reach Codex's {budget}-byte budget here, so it cuts or drops this one","lint.overBudget":"The file alone is over Codex's {budget}-byte budget, so Codex cuts it","lint.globEmpty":"An empty glob matches nothing","lint.globUnbalanced":"Glob “{pattern}” has an unclosed bracket or brace, so it matches nothing","lint.globOutside":"Glob “{pattern}” points outside its folder with “..”, so it matches nothing","lint.skillName":"Skill name “{name}” works in some harnesses only: use lowercase letters, digits, and hyphens, up to 64","lint.duplicateSkill":"Another skill here has the name “{name}”: {other}","lint.duplicateText":"Same text as {other}, so the model reads it twice","lint.brokenLink":"The link to {target} leads nowhere","resolve.deadRule":"No file in the repository matches {patterns}, so the rule never loads","resolve.deadPattern":"No file in the repository matches {pattern}","policy.needsCapture":"The {component} limit needs a real run, a static view doesn't know these tokens","policy.overBudget":"{component}: {tokens} tokens, the limit is {limit}","policy.missingFile":"{path} is missing","policy.deniedMcp":"MCP server “{name}” isn't allowed","policy.missingMcp":"MCP server “{name}” is required but not configured","command.test":"Run the *.ctxray.ts tests and ctxray's own checks","option.backend":"Model backend: mock, replay, real, or a name from the config's backends","option.layer":"Layers to run, like L1-L3 or L3,L5","option.ignoreHarnessDifferences":"Don't warn when the harnesses get different instructions or skills","option.errorOnWarnings":"Fail the run on any L1 warning, as on an error","option.filter":"Run only the tests whose name holds this text","option.updateSnapshots":"Write new and changed loadout snapshots","test.unknownBackend":"Unknown backend “{name}”. Known ones: {known}","test.badLayer":"Can't read layers “{value}”. Name them like L1-L3 or L3,L5","test.backend":"backend: {backend}","test.checks":"ctxray checks","test.context":"starting context","test.tokens":{one:"≈ {count} token",other:"≈ {count} tokens"},"test.exactTokens":{one:"{count} token",other:"{count} tokens"},"test.notInstalled":"no {binary} on PATH","context.sentTwice":"{path} reaches the model twice in the first request","context.sameText":"{path} has the same text as {other}, and the model reads both","test.lint":"project files","test.unsupported":"needs {missing}","test.filtered":"filtered","test.unavailable":"{layer} doesn't run here yet","test.flaky":"flaky","test.inconclusive":"inconclusive","test.warnings":{one:"{count} warning",other:"{count} warnings"},"test.layers":"Layers","test.total":"Total","test.passed":"{count} passed","test.failed":"{count} failed","test.skipped":"{count} skipped","test.inconclusives":"{count} inconclusive","test.flakies":"{count} flaky","test.filteredOut":"{count} filtered","test.seconds":"{seconds} s","test.ms":"{ms} ms","test.snapshots":"Snapshots","test.written":"{count} written","test.updated":"{count} updated","test.noFiles":"No *.ctxray.ts files here yet: ctxray init writes an example","test.skew":"node_modules holds @mairwunnx/ctxray {installed}, and the tests run on this ctxray, {version}","test.updateHint":"ctxray test --update-snapshots writes the missing snapshots","test.broken":"The file failed to load","test.more":"and {count} more","test.progress":"{done} of {total}","test.timeout":"The test ran longer than {ms} ms","test.noFixture":"Fixture folder {dir} doesn't exist","dsl.outsideRun":"suite() and test() work only in a file that ctxray test runs","dsl.asyncSuite":"Suite “{name}” returns a promise. Register its tests right away and await inside a test","dsl.eachItem":'test.each for “{name}” takes a list of objects, like [{ file: "a.kt" }]',"dsl.outsideTest":"This works only inside a running test","discover.empty":"{selector} selects no rules for {harness}","discover.noCodeowners":"{selector} needs a CODEOWNERS file, and the project has none","declarative.invalid":"The test file doesn't fit the schema at {path}: {message}","corpus.unreadable":"Can't load prompts from {file}: {message}","corpus.invalid":"{file} must export positive and negative prompts as lists of strings","resolve.noAdapter":"ctxray can't read the files of {harness} yet","resolve.noFolder":"Folder {dir} doesn't exist in the project","expect.failed":"{call}","expect.expected":"Expected","expect.notExpected":"Expected not","expect.received":"Received","expect.missing":"Missing","expect.unexpected":"Present","expect.notNumber":"Not a number","expect.noEntry":"{what} holds no “{id}”. It holds: {present}","expect.noNot":"{matcher} has no .not form","expect.notLoadout":"toMatchLoadoutSnapshot() takes a loadout from resolve() or assemble(), not {received}","capture.noAdapter":"ctxray can't launch {harness} yet","capture.noRuntime":"{harness} runs on {runtime}: install {runtime} and put it on PATH","capture.notInstalled":"{harness} isn't installed: ctxray.lock doesn't pin it and PATH has no `{binary}`. Pin it with `ctxray harness add {harness}`","capture.exited":"{harness} stopped before the test was done (exit code {code})","capture.output":"Output","capture.trace":"Trace","capture.ended":"The session has ended: start another with startSession()","capture.egress":"{harness} tried to reach {hosts} past ctxray","activate.failed":"{subject} loaded at a rate of {rate} [{low}–{high}, 95% CI]","activate.inconclusive":"{subject} loaded at a rate of {rate} [{low}–{high}, 95% CI]: too few samples to tell","activate.runs":"Runs","activate.threshold":"Threshold","activate.needed":"Samples in all to tell","activate.notRuns":"{matcher} takes the runs of test.activate(), not {received}","activate.emptySet":"anyOf() got no rules or skills to look for","activate.noPrompts":"Give the test a prompt, or positive and negative prompts","activate.noBackend":"L6 and L7 need a model: run with --backend replay or --backend real","run.timeout":"The session ran longer than {ms} ms","cassette.none":"No cassette for this test on {harness}: record one with --backend real --record","cassette.miss":"The cassette has no answer for {path} at turn {turn}: the harness went another way. Record it again with --backend real --record","test.needsBackend":"needs --backend replay or real","test.budget":"budget spent","test.cost":"Model","test.dollars":"${amount}","test.modelTokens":{one:"{count} token",other:"{count} tokens"},"test.unpriced":"no price for {models}","test.cassettes":{one:"{count} cassette written",other:"{count} cassettes written"},"tokens.exactFailed":"The provider couldn't count the {protocol} request: {message}","report.total":"total","report.startingContext":"Starting context, tokens","report.against":"Against {ref}","report.changes":"Changes","report.failures":"Failed","report.full":"The whole report: {path}","html.needsScript":"This report needs JavaScript. The data is in report.json next to it.","html.tokens":{one:"{count} token",other:"{count} tokens"},"html.tokensUnit":{one:"token",other:"tokens"},"html.seconds":"{seconds} s","html.ms":"{ms} ms","html.language":"Language","html.theme":"Light or dark theme","html.tab.overview":"Overview","html.tab.tests":"Tests","html.tab.context":"Context","html.tab.evals":"Activation","html.tab.coverage":"Coverage","html.tab.diff":"Diff","html.layers":"Layers","html.harnesses":"Harnesses","html.tiers":"Capture tiers","html.startingContext":"Starting context","html.runsLoaded":{one:"loaded in {loaded} of {count} run",other:"loaded in {loaded} of {count} runs"},"html.needed":{one:"{count} sample in all would tell",other:"{count} samples in all would tell"},"html.turn":"turn {turn}","html.reason.unsupported":"The harness can't do what the test needs","html.reason.filtered":"Left out by --layer or --filter","html.reason.unavailable":"ctxray can't run this here","html.reason.backend":"Needs --backend replay or real","html.reason.budget":"The run's budget was spent","html.all":"All","html.search":"Find a test","html.test":"Test","html.nothing":"No test matches","html.component":"Component","html.component.system":"System prompt","html.component.tools":"Built-in tools","html.component.rules":"Rules","html.component.skills":"Skills","html.component.mcp":"MCP","html.component.commands":"Commands","html.component.framing":"Framing","html.component.messages":"Conversation","html.startAndPeak":"Start and peak of the largest session","html.start":"Start","html.peak":"Peak","html.added":"Added during the session:","html.nothingAdded":"Nothing joined during the session","html.noContext":"No harness of this run was launched, so there is no captured context. ctxray inspect shows what each harness reads from files.","html.byComponent":"Tokens by component","html.exact":"Counted by the provider ({method})","html.approx":"Estimated with a local tokenizer ({method}): marked ≈","html.noSessions":"No session of this harness ran past its first request","html.everyPiece":"Every piece of the context","html.piece":"Piece","html.tokensHead":"Tokens","html.provenance":"Source · reason · evidence","html.rates":"Activation rates","html.ratesHint":"The dot is the rate, the bar its 95% interval, the line the threshold. A pass needs the whole bar on the threshold's side.","html.untested":{one:"{count} rule or skill no test looked at",other:"{count} rules and skills no test looked at"},"html.dead":{one:"{count} rule whose globs match no file",other:"{count} rules whose globs match no file"},"html.noPrompts":{one:"{count} picked by description, but no eval loaded it",other:"{count} picked by description, but no eval loaded them"},"html.noChanges":"The loadout is the same","html.change.added":"added","html.change.removed":"removed","html.change.changed":"changed size","expect.notRequest":"{matcher} takes a request from session.nextRequest(), not {received}","drift.found":"Resolver drift: {harness} {version} doesn't load what ctxray predicts. If {harness} changed this on purpose, ctxray's adapter for it needs an update","drift.onlyHarness":"Harness only","drift.onlyResolver":"Prediction only","snapshot.missing":"Snapshot “{key}” isn't written yet","snapshot.mismatch":"The loadout differs from snapshot “{key}”","snapshot.changed":"Changed","snapshot.more":"More changes","provision.unsupported":'ctxray can\'t install {harness} yet: set `source: "system"` and put it on PATH',"provision.noVersion":"{harness} has no version that matches “{range}”","provision.noBuilds":"{harness} {version} has no build for any platform ctxray knows","provision.noBuild":"{harness} {version} has no build for {platform}","provision.readOnly":"No cache folder is writable: {dirs}","provision.badIntegrity":"{package} has no sha512 integrity in ctxray.lock","provision.integrity":"{package} doesn't match ctxray.lock: expected {expected}, got {actual}","provision.noBinary":"{package} has no `{bin}`","provision.notInArchive":"{package} isn't in {archive}","provision.unreachable":"Can't reach {url}: {message}","provision.httpError":"{url} answered {status}","lock.unreadable":"{file} isn't valid JSON: {message}","lock.invalid":"{file} is broken at {where}: {message}","lock.missing":"{harness} isn't in ctxray.lock: run `ctxray harness add {harness}`","lock.missingSystem":"{harness} from PATH isn't in ctxray.lock: run `ctxray harness add {harness}` to record its version","lock.sourceChanged":"ctxray.lock installs {harness} from `{locked}`, the config says `{configured}`: run `ctxray harness add {harness}`","lock.rangeChanged":"ctxray.lock has {harness} {locked}, the config asks for {configured}: run `ctxray harness add {harness}`","help.subcommand":"<subcommand>","help.subcommandsTitle":"Subcommands","error.noSubcommand":"`ctxray {command}` needs a subcommand","error.unknownSubcommand":"Unknown subcommand “{name}” of `ctxray {command}`","provision.offline":"Offline mode: ctxray won't reach {url}. Turn off `offline` or CTXRAY_OFFLINE, or install with `ctxray harness install --from <archive>`","provision.notInstalled":"{harness} {version} isn't in the cache: run `ctxray harness install` or drop `--no-install`","command.harness":"Install the harnesses ctxray.lock pins, or pin new ones","harness.add":"Pin harnesses in ctxray.lock: `add codex@0.169.x claude-code`","harness.install":"Install every harness ctxray.lock pins, for this machine","harness.list":"Show the pinned harnesses and whether this machine has them","harness.pack":"Pack the pinned builds into one archive for `install --from`","option.only":"Only these harnesses, comma-separated","option.frozen":"Fail when ctxray.lock doesn't match the config. On by itself in CI","option.from":"Install from an archive `ctxray harness pack` wrote, without a registry","option.output":"File to write","option.platform":"Platforms to pack, like darwin-arm64,linux-x64-glibc, or all. This machine's by default","units.megabytes":"{value} MB","units.gigabytes":"{value} GB","harness.unknown":"Unknown harness “{name}”. ctxray knows {known}","harness.notOnPath":"{harness} isn't on PATH: ctxray found no `{binary}`","harness.noLockfile":"There's no {file} yet: pin harnesses with `ctxray harness add`","harness.addWhat":"Name the harnesses to add, like `ctxray harness add codex claude-code@2.x`","harness.fromPath":"PATH","harness.fromCache":"in the cache","harness.installed":"installed in {time}","harness.added":"added","harness.was":"was {version}","harness.lockWritten":"Wrote {file}","harness.waiting":"Another ctxray installs {harness}, waiting for it…","harness.unpacking":"Unpacking {harness}…","harness.downloading":"Downloading {harness}","harness.pathDiffers":"ctxray.lock has {locked}","harness.missingOnPath":"not on PATH","harness.frozenFailed":"ctxray.lock doesn't match the config, and --frozen allows no changes. Run `ctxray harness add` and commit ctxray.lock","harness.nothingLocked":"ctxray.lock pins no harnesses: add some with `ctxray harness add`","harness.platform":"Platform: {platform}","harness.notLocked":"not in ctxray.lock","harness.inCache":"in the cache","harness.notInCache":"not installed here","harness.packed":{one:"Packed {count} build into {file}, {size}",other:"Packed {count} builds into {file}, {size}"},"command.mcp":"Serve inspect, test, and diff to an agent over MCP, on stdin and stdout","option.mcpHarness":"Harnesses a tool call looks at when it names none, like claude-code","command.spectate":"Watch your own Claude Code and Cursor sessions through their hooks","spectate.show":"Show what the latest sessions loaded (the default)","spectate.install":"Add ctxray's hooks to your Claude Code settings and Cursor hooks.json","spectate.uninstall":"Remove ctxray's hooks again","option.spectateHarness":"Hooks or sessions of these harnesses only, like claude-code-desktop,cursor-ide","option.last":"How many of the latest sessions to show, 5 by default","spectate.added":"{file}: ctxray's hook on {events}","spectate.removed":"{file}: ctxray's hook removed from {events}","spectate.already":"{file} already has ctxray's hooks","spectate.none":"{file} has no ctxray hooks","spectate.badFile":"{file} isn't valid JSON, so ctxray leaves it alone: {message}","spectate.where":"The hooks write to {dir}, and nothing leaves this machine","spectate.next":"Work as usual, then run `ctxray spectate` to see what each session loaded","spectate.noHooks":"{harnesses} have no hooks ctxray observes through: `ctxray test` launches them instead","spectate.badLast":"--last takes a number of sessions, not “{value}”","spectate.empty":"No sessions yet. Add the hooks with `ctxray spectate install`, then work as usual","spectate.log":"Log: {dir}","spectate.prompts":{one:"{count} prompt",other:"{count} prompts"},"spectate.loaded":"Loaded","spectate.atStart":"at start","spectate.onRead":"on reading {file}","spectate.onGlob":"glob, on reading {file}","spectate.imported":"imported by {file}","spectate.read":{one:"Read {count} file",other:"Read {count} files"},"spectate.resolved":"What L3 predicts for those files, as the project is now (Cursor's hooks don't name the rules)","option.session":"Show what one Claude Code session loaded, by its id: the plugin's `/ctxray` asks this","option.pluginRoot":"Where ctxray's plugin lives: what it loads stays out of the totals","session.total":"In the context","session.system":"System prompt","session.tools":"Built-in tools","session.mcpTools":{one:"{count} tool, {deferred} of them deferred",other:"{count} tools, {deferred} of them deferred"},"session.builtin":"ships with Claude Code","session.conversation":"Conversation","session.request":{one:"{count} request so far",other:"{count} requests so far"},"session.own":"ctxray itself: ≈ {tokens}, not counted","session.missing":"No session {id}: neither ctxray's log nor Claude Code's transcripts know it","session.noRequests":"Session {id} has no requests ctxray can read yet: older Claude Code versions don't write them to the transcript","command.cache":"Show or clean the harness cache this machine shares between projects","cache.dir":"Print the cache folder, for CI cache steps","cache.ls":"List the harness builds in the cache","cache.prune":"Remove builds unused for a while. The ones ctxray.lock pins stay","option.olderThan":"Prune builds unused for this many days, 30 by default","option.pruneAll":"Prune every build ctxray.lock doesn't pin, however recent","cache.badDays":"“{value}” isn't a number of days","cache.layer":"{dir} (read-only)","cache.empty":"No harnesses in the cache yet","cache.shared":"read-only layer","cache.used":"used {date}","cache.total":{one:"{count} build, {size}",other:"{count} builds, {size}"},"cache.nothingToPrune":"Nothing to prune: every build was used recently or ctxray.lock pins it","cache.pruned":{one:"Removed {count} build, freed {size}",other:"Removed {count} builds, freed {size}"},"option.record":"With --backend real, keep the model's answers as cassettes for --backend replay","option.budget":"US dollars a run with --backend real may spend","test.badBudget":"--budget takes US dollars, like 2.50, not “{value}”","command.calibrate":"Measure how a provider's tokenizer counts against o200k, with your key","option.provider":"Model provider","option.model":"Model to count with","option.calibrationOut":"Write the factors to this file instead of printing them","calibrate.usage":"Name a provider ({providers}) and a model: ctxray calibrate --provider anthropic --model claude-opus-5-5","calibrate.failed":"The provider couldn't count: {message}","calibrate.title":"{provider} {model} against o200k","calibrate.pieces":{one:"{count} piece",other:"{count} pieces"},"calibrate.written":"Factors written to {file}","command.genPrompts":"Write L6 prompts from the descriptions of rules and skills, to a file for review","option.fromDescriptions":"Write them from the description of each rule and skill the model picks by description","option.promptsOut":"The JSON file to write, for corpus() in a test","option.generatorModel":"The model that writes them, claude-opus-5-5 by default: not one under test","option.promptCount":"Prompts of each kind per rule or skill, 5 by default","genPrompts.usage":"ctxray gen-prompts --from-descriptions --out prompts/intents.json writes the prompts to a file","genPrompts.offline":"Writing prompts asks a model, and ctxray is offline","test.offline":"--backend real asks a model, and ctxray is offline: replay recorded answers with --backend replay","calibrate.offline":"Calibrating counts tokens with the provider, and ctxray is offline","genPrompts.exists":"{file} exists: review it, or pass --force to write it again","genPrompts.sameModel":{one:"{harnesses} runs {model} too: prompts from the model under test make its recall look better than it is",other:"{harnesses} run {model} too: prompts from the model under test make its recall look better than it is"},"genPrompts.nothing":"No rule or skill here is picked by its description","genPrompts.written":{one:"{file}: {prompts} prompts for {count} rule or skill",other:"{file}: {prompts} prompts for {count} rules and skills"},"genPrompts.review":"Read them before a test uses them: the corpus is frozen until you write it again","option.reporter":"Reporters, comma-separated: console, html, json, junit, allure, markdown","option.reportLang":"Languages of the HTML report, comma-separated, or all","option.reportDir":"Where reports go, .ctxray/report by default","test.unknownReporter":"Unknown reporter “{name}”. Known ones: {known}","test.unknownReportLang":"ctxray has no “{lang}” for reports. It has: {known}","test.base":"Base","test.baseDelta":{one:"{delta} ({changes} change)",other:"{delta} ({changes} changes)"},"test.baseline":"Baseline","test.baselineKnown":{one:"{count} finding {file} knows didn't fail the run",other:"{count} findings {file} knows didn't fail the run"},"test.report":"Report","command.showReport":"Open the latest report in the browser, live while tests run","option.port":"Port to listen on, a free one by default","option.open":"Open the page in the browser","showReport.none":"No report.json in {dir}: run ctxray test --reporter json,html first","showReport.serving":"The report is at","showReport.live":"The page reloads after each ctxray test. Ctrl+C stops it","command.diff":"Show how the loadout changed against another revision, origin/master by default","option.base":"The revision to compare with, like origin/master","diff.title":"Against {ref} ({commit}), as L3 predicts at the project root","diff.total":"≈ {before} → ≈ {after} tokens of files","diff.same":"Nothing changed","diff.unknownBase":"Git knows no revision “{ref}”: fetch it, or name another with --base","option.watch":"Run again after each change of the project's files","test.watching":"Watching the files: a change runs the tests again, Enter runs them now, q stops","command.baseline":"Write the findings of L1 and L2 to ctxray.baseline.json: later runs fail only on new ones","baseline.written":{one:"{file}: {count} finding",other:"{file}: {count} findings"},"baseline.hint":"Commit the file. ctxray test reads it, and ctxray baseline writes it again once you fix some","option.noInstall":"Don't install a pinned harness the cache lacks, fail instead","command.doctor":"Check what L4 and up need here: git, the network, the cache, and the pinned harnesses","doctor.titleSystem":"System","doctor.titleNetwork":"Network","doctor.titleHarnesses":"Harnesses","doctor.ctxray":"ctxray {version} on {platform}","doctor.git":"git {version}","doctor.noGit":"git isn't on PATH: L4 and up copy the project with it","doctor.node":"Node.js {version}","doctor.noNode":"Node.js isn't on PATH: MCP servers that run on it won't start","doctor.managed":"{path} holds settings an administrator set for every run, and ctxray can't isolate them","doctor.sandbox":"sandbox-exec runs the harnesses in a sandbox","doctor.noSandbox":"sandbox-exec is missing: project MCP servers and hooks run without a sandbox","doctor.containerSandbox":"No sandbox on this system: run L4 and up in a container, as CI does","doctor.proxy":"Proxy {proxy}","doctor.noProxy":"No proxy: requests go out directly","doctor.httpOnlyProxy":"HTTP_PROXY is set but HTTPS_PROXY isn't: ctxray sends HTTPS through it too, but the MCP servers it starts go past it","doctor.noProxyEntry":"NO_PROXY entry “{entry}” doesn't work in Bun as in curl: write “{fix}”","doctor.noProxyCidr":"NO_PROXY range “{entry}” doesn't work in Bun: list the hosts instead","doctor.ca":"CA certificates from {file}","doctor.caMissing":"CA file {file} doesn't exist","doctor.caNotPem":"{file} holds no PEM certificate","doctor.systemCa":"The system certificate store is trusted too","doctor.registry":"npm registry {registry}","doctor.npmrcCa":{one:"{count} CA certificate from .npmrc",other:"{count} CA certificates from .npmrc"},"doctor.offline":"Offline mode: ctxray doesn't reach the registry","doctor.registryUp":"The registry answers ({status})","doctor.registryDown":"The registry doesn't answer: {message}","doctor.cache":{one:"Cache {dir}: {count} build, {size} MB",other:"Cache {dir}: {count} builds, {size} MB"},"doctor.cacheReadOnly":"No cache folder is writable: {dirs}","doctor.cacheLayer":"Read-only cache layer {dir}","doctor.noLockfile":"No {file}: harnesses come from PATH. Pin them with `ctxray harness add`","doctor.lockfile":"Lockfile {file}","doctor.fromPath":"{harness} {version} from PATH","doctor.systemMissing":"{harness} isn't on PATH, and ctxray.lock takes it from there","doctor.systemDiffers":"{harness} {version} on PATH, ctxray.lock has {locked}","doctor.noBuild":"{harness} {version} has no build for {platform}","doctor.installed":"{harness} {version} installed","doctor.noRuntime":"{harness} runs on {runtime}, and {runtime} isn't on PATH","doctor.notInstalled":"{harness} {version} isn't installed yet: `ctxray harness install` or the first run installs it","doctor.errors":{one:"{count} error",other:"{count} errors"},"doctor.warnings":{one:"{count} warning",other:"{count} warnings"},"doctor.healthy":"Everything L4 and up need is in place","harness.upgrade":"Move a pinned harness to its newest version and show how its loadout changes","option.dryRun":"Show the upgrade without writing ctxray.lock","harness.upgradeWhat":"Name the harnesses to upgrade, like `ctxray harness upgrade codex`","harness.upgradeSystem":"{harness} comes from PATH: upgrade it there, then run `ctxray harness add {harness}`","harness.captureFailed":"ctxray couldn't capture the loadout: {message}","harness.capturing":"Capturing the starting context of {harness} {version}…","harness.upToDate":"{version} is the newest the range allows","harness.startingContext":"Starting context","harness.sameLoadout":"The loadout is the same","harness.dryRun":"Dry run: ctxray.lock stays as it was","npm.missing":"ctxray has no binary here: npm didn't install {package} for {platform}. Reinstall without --omit=optional, or install ctxray another way: https://github.com/MairwunNx/ctxray#install","npm.skew":"@mairwunnx/ctxray is {version}, and its binary {package} is {binary}. Reinstall it to line them up","npm.outside":"@mairwunnx/ctxray gives your editor the types, and ctxray runs these files: ctxray test"};var b={"count.harnesses":{one:"{count} харнесс",few:"{count} харнесса",many:"{count} харнессов",other:"{count} харнесса"},"count.tests":{one:"{count} тест",few:"{count} теста",many:"{count} тестов",other:"{count} теста"},"count.rules":{one:"{count} правило",few:"{count} правила",many:"{count} правил",other:"{count} правила"},"status.passed":"пройден","status.failed":"упал","status.skipped":"пропущен","status.inconclusive":"не определён","status.flaky":"нестабилен","lang.unsupported":"Язык «{lang}» пока не поддерживается, поэтому ctxray говорит по-английски","debug.missingMessage":"Строки {key} нет в каталоге {lang}, поэтому она показана по-английски","cli.tagline":"рентген для ИИ-харнессов","help.usage":"Использование","help.command":"<команда>","help.options":"[параметры]","help.commandsTitle":"Команды","help.optionsTitle":"Параметры","help.manual":"Документация: {url}","command.inspect":"Показать, что загружает каждый ИИ-харнесс и сколько это стоит в токенах","command.init":"Создать ctxray.config.ts и пример теста","command.config":"Показать итоговый конфиг с учётом extends и значений по умолчанию","option.lang":"Язык интерфейса: {langs}","option.ci":"Работать как в CI, с построчным выводом","option.plain":"Печатать простые строки вместо живого вывода","option.noColor":"Выключить цвета, то же, что --plain","option.help":"Показать справку","option.version":"Показать версию","option.force":"Перезаписать уже существующие файлы","option.config":"Файл конфига вместо того, что лежит в корне проекта","option.harness":"ИИ-харнессы через запятую, например claude-code,codex","option.cwd":"Папка, в которой стартует агент, по умолчанию текущая","option.files":"Файлы, с которыми работает агент, через запятую: правила для них тоже загрузятся","option.json":"Вывести JSON вместо текста","error.unknownCommand":"Неизвестная команда «{name}»","error.unknownOption":"Неизвестный параметр {name}","error.missingValue":"Параметру {name} нужно значение","error.unexpectedValue":"Параметр {name} не принимает значения","error.unexpectedArgument":"Лишний аргумент «{value}»","error.hint":"Список команд и параметров: {command}","error.internal":"ctxray неожиданно упал: {message}","error.report":"Пожалуйста, сообщите об этом и приложите вывод выше: {url}","init.created":"создан","init.overwritten":"перезаписан","init.skipped":"пропущен","init.updated":"обновлён","init.exists":"уже есть, --force перезапишет","init.ignoreAdded":"теперь игнорирует .ctxray/","init.ignorePresent":"уже игнорирует .ctxray/","init.next":"Дальше: опишите настройку агента в {test} и запустите {command}","config.files":"Конфиг: {files}","config.none":"Файла конфига нет, действуют значения по умолчанию","config.failed":"В конфиге ошибки, ctxray остановился:","config.missing":"Файла конфига {file} нет","config.ambiguous":"В проекте несколько файлов конфига: {files}. Оставьте один","config.unreadable":"Не удалось загрузить {file}: {message}","config.noDefault":"{file} не экспортирует конфиг. Добавьте в конец export default defineConfig({ … })","config.invalid":"{where}: {message}","config.badPattern":"{where}: это не регулярное выражение","config.emptyPolicy":"Политика «{id}» ничего не проверяет. Добавьте ей maxTokens, denyMcp, requireMcp или requireFiles в {files}","config.duplicatePolicy":"{where}: у двух политик одинаковый id","config.caMissing":"{where}: файла CA-сертификата {file} нет","config.extendsMissing":"{where}: не найден «{name}» для extends. Установите пакет или исправьте путь","config.cycle":"Конфиги расширяют друг друга по кругу: {chain}","error.unknownHarness":"Неизвестный ИИ-харнесс «{name}». Известные: {known}","inspect.noFolder":"Папки {dir} нет","inspect.cwd":"агент стартует в {cwd}","inspect.files":"и работает с {files}","inspect.tokens":"≈ {tokens}","inspect.afterRun":"после запуска","inspect.rules":"Правила","inspect.skills":"Скиллы","inspect.commands":"Команды","inspect.mcp":"MCP-серверы","inspect.system":"Системный промпт и встроенные инструменты","inspect.nothing":"здесь нечего загружать","inspect.elsewhere":{one:"и ещё {count} проблема в других частях репозитория",few:"и ещё {count} проблемы в других частях репозитория",many:"и ещё {count} проблем в других частях репозитория",other:"и ещё {count} проблемы в других частях репозитория"},"inspect.notYet":"{harness}: ctxray пока не читает его файлы","inspect.estimate":"≈ — локальная оценка токенайзером {tokenizer}","inspect.uncalibrated":"У моделей Claude собственный токенайзер, поэтому числа Claude Code грубее","inspect.capture":"Системный промпт, встроенные инструменты и схемы MCP-инструментов ctxray посчитает, когда запустит ИИ-харнесс","lint.frontmatter":"Frontmatter — не валидный YAML, харнесс его игнорирует: {message}","lint.looseFrontmatter":"Frontmatter — не валидный YAML. Claude Code и Codex всё равно читают его построчно, а более строгие инструменты не прочитают: {message}","reach.nowhere":"Этот файл не читает ни один ИИ-харнесс, и на него не ссылается ни один файл, который они читают","reach.nowhereSkills":{one:"Здесь {count} скилл, но ни один ИИ-харнесс не смотрит в эту папку, и модель его не увидит",few:"Здесь {count} скилла, но ни один ИИ-харнесс не смотрит в эту папку, и модель их не увидит",many:"Здесь {count} скиллов, но ни один ИИ-харнесс не смотрит в эту папку, и модель их не увидит",other:"Здесь {count} скилла, но ни один ИИ-харнесс не смотрит в эту папку, и модель их не увидит"},"lint.skillFolderName":"Скилл называет себя «{name}», а папка у него «{folder}»: Claude Code покажет его как {folder}, Codex и Cursor — как {name}. Назовите папку по имени скилла","size.lines":{one:"{count} строка при лимите {limit}",few:"{count} строки при лимите {limit}",many:"{count} строк при лимите {limit}",other:"{count} строки при лимите {limit}"},"size.chars":{one:"{count} символ при лимите {limit}",few:"{count} символа при лимите {limit}",many:"{count} символов при лимите {limit}",other:"{count} символа при лимите {limit}"},"size.tokens":{one:"{count} токен при лимите {limit}",few:"{count} токена при лимите {limit}",many:"{count} токенов при лимите {limit}",other:"{count} токена при лимите {limit}"},"reach.otherHarness":"Этот файл читает только {harnesses}, а его нет в прогоне","reach.otherHarnesses":"Этот файл читают только {harnesses}, а в прогоне нет ни одного из них","reach.otherHarnessSkills":{one:"Здесь {count} скилл, который видит только {harnesses}, а его нет в прогоне",few:"Здесь {count} скилла, которые видит только {harnesses}, а его нет в прогоне",many:"Здесь {count} скиллов, которые видит только {harnesses}, а его нет в прогоне",other:"Здесь {count} скилла, которые видит только {harnesses}, а его нет в прогоне"},"reach.otherHarnessesSkills":{one:"Здесь {count} скилл, который видят только {harnesses}, а в прогоне нет ни одного из них",few:"Здесь {count} скилла, которые видят только {harnesses}, а в прогоне нет ни одного из них",many:"Здесь {count} скиллов, которые видят только {harnesses}, а в прогоне нет ни одного из них",other:"Здесь {count} скилла, которые видят только {harnesses}, а в прогоне нет ни одного из них"},"reach.differs":"{harness} не читает этот файл, и такого текста нет ни в одном файле, который он читает, поэтому ИИ-харнессы получают разные инструкции. Этот файл читает только {by}","reach.differsMany":"{harness} не читает этот файл, и такого текста нет ни в одном файле, который он читает, поэтому ИИ-харнессы получают разные инструкции. Этот файл читают только {by}","reach.differsSkills":{one:"{harness} не видит здесь {count} скилл, и копии у него нет, поэтому ИИ-харнессы получают разные скиллы. Его видит только {by}",few:"{harness} не видит здесь {count} скилла, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видит только {by}",many:"{harness} не видит здесь {count} скиллов, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видит только {by}",other:"{harness} не видит здесь {count} скилла, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видит только {by}"},"reach.differsManySkills":{one:"{harness} не видит здесь {count} скилл, и копии у него нет, поэтому ИИ-харнессы получают разные скиллы. Его видят только {by}",few:"{harness} не видит здесь {count} скилла, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видят только {by}",many:"{harness} не видит здесь {count} скиллов, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видят только {by}",other:"{harness} не видит здесь {count} скилла, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видят только {by}"},"lint.ruleField":"Claude Code читает в правиле только «paths», «{field}» ничего не делает","lint.tooLarge":"Файл больше {limit}, Claude Code пропускает его целиком","lint.importMissing":"@{target} ссылается на файл, которого нет","lint.importDepth":"@{target} глубже {hops} импортов и не загрузится","lint.shadowedCommand":"У скилла {by} то же имя «{name}», эта команда никогда не запустится","lint.noDescription":"У скилла «{name}» нет описания, модели не по чему его выбрать","lint.longDescription":"Описание длиной {length} символов, в списке оно обрежется до {limit}","lint.badJson":"Не валидный JSON: {message}","lint.badToml":"Не валидный TOML, {harness} игнорирует файл: {message}","lint.mcpTransport":"У MCP-сервера «{name}» нет ни command, ни url","lint.empty":"Файл пустой, {harness} его пропускает","lint.shadowed":"Codex читает вместо него {by}, по одному файлу на папку","lint.skillField":"Во frontmatter нет {field}, {harness} пропускает скилл","lint.budget":"Файлы AGENTS.md выше упираются здесь в лимит Codex в {budget} байт, этот файл обрежется или выпадет","lint.overBudget":"Файл сам по себе больше лимита Codex в {budget} байт, поэтому Codex его обрезает","lint.globEmpty":"Пустой glob ничему не соответствует","lint.globUnbalanced":"В glob «{pattern}» не закрыта скобка, он ничему не соответствует","lint.globOutside":"Glob «{pattern}» выходит из своей папки через «..» и ничему не соответствует","lint.skillName":"Имя скилла «{name}» работает не во всех ИИ-харнессах: нужны строчные буквы, цифры и дефисы, до 64 символов","lint.duplicateSkill":"Здесь уже есть скилл с именем «{name}»: {other}","lint.duplicateText":"Тот же текст, что в {other}, модель прочитает его дважды","lint.brokenLink":"Ссылка на {target} никуда не ведёт","resolve.deadRule":"Ни один файл репозитория не подходит под {patterns}, правило никогда не загрузится","resolve.deadPattern":"Ни один файл репозитория не подходит под {pattern}","policy.needsCapture":"Лимит на {component} проверяется только на настоящем прогоне, статически эти токены не известны","policy.overBudget":"{component}: {tokens} токенов при лимите {limit}","policy.missingFile":"Нет файла {path}","policy.deniedMcp":"MCP-сервер «{name}» запрещён","policy.missingMcp":"MCP-сервер «{name}» обязателен, но не настроен","command.test":"Запустить тесты *.ctxray.ts и собственные проверки ctxray","option.backend":"Бэкенд модели: mock, replay, real или имя из backends в конфиге","option.layer":"Слои для прогона, например L1-L3 или L3,L5","option.ignoreHarnessDifferences":"Не предупреждать, если ИИ-харнессы получают разные инструкции или скиллы","option.errorOnWarnings":"Считать любое предупреждение L1 ошибкой","option.filter":"Запустить только тесты, в имени которых есть этот текст","option.updateSnapshots":"Записать новые и изменившиеся снапшоты loadout","test.unknownBackend":"Неизвестный бэкенд «{name}». Известные: {known}","test.badLayer":"Не удалось разобрать слои «{value}». Укажите их как L1-L3 или L3,L5","test.backend":"бэкенд: {backend}","test.checks":"проверки ctxray","test.context":"стартовый контекст","test.tokens":{one:"≈ {count} токен",few:"≈ {count} токена",many:"≈ {count} токенов",other:"≈ {count} токена"},"test.exactTokens":{one:"{count} токен",few:"{count} токена",many:"{count} токенов",other:"{count} токена"},"test.notInstalled":"в PATH нет {binary}","context.sentTwice":"{path} попадает к модели дважды уже в первом запросе","context.sameText":"В {path} тот же текст, что в {other}, и модель читает оба","test.lint":"файлы проекта","test.unsupported":"нужно {missing}","test.filtered":"отфильтрован","test.unavailable":"{layer} здесь пока не запускается","test.flaky":"нестабилен","test.inconclusive":"не определён","test.warnings":{one:"{count} предупреждение",few:"{count} предупреждения",many:"{count} предупреждений",other:"{count} предупреждения"},"test.layers":"Слои","test.total":"Итого","test.passed":"пройдено: {count}","test.failed":"упало: {count}","test.skipped":"пропущено: {count}","test.inconclusives":"не определено: {count}","test.flakies":"нестабильно: {count}","test.filteredOut":"отфильтровано: {count}","test.seconds":"{seconds} с","test.ms":"{ms} мс","test.snapshots":"Снапшоты","test.written":"записано: {count}","test.updated":"обновлено: {count}","test.noFiles":"Файлов *.ctxray.ts здесь пока нет: ctxray init создаст пример","test.skew":"В node_modules лежит @mairwunnx/ctxray {installed}, а тесты запускает этот ctxray, {version}","test.updateHint":"ctxray test --update-snapshots запишет недостающие снапшоты","test.broken":"Файл не загрузился","test.more":"и ещё {count}","test.progress":"{done} из {total}","test.timeout":"Тест шёл дольше {ms} мс","test.noFixture":"Папки фикстуры {dir} нет","dsl.outsideRun":"suite() и test() работают только в файле, который запускает ctxray test","dsl.asyncSuite":"Сьют «{name}» возвращает промис. Регистрируйте тесты сразу, а await пишите внутри теста","dsl.eachItem":'test.each для «{name}» принимает список объектов, например [{ file: "a.kt" }]',"dsl.outsideTest":"Это работает только внутри идущего теста","discover.empty":"{selector} не выбирает ни одного правила для {harness}","discover.noCodeowners":"{selector} нужен файл CODEOWNERS, а в проекте его нет","declarative.invalid":"Файл тестов не подходит под схему в {path}: {message}","corpus.unreadable":"Не удалось загрузить промпты из {file}: {message}","corpus.invalid":"{file} должен экспортировать positive и negative — списки строк","resolve.noAdapter":"ctxray пока не читает файлы {harness}","resolve.noFolder":"Папки {dir} в проекте нет","expect.failed":"{call}","expect.expected":"Ожидалось","expect.notExpected":"Не ожидалось","expect.received":"Получено","expect.missing":"Нет","expect.unexpected":"Есть","expect.notNumber":"Не число","expect.noEntry":"В {what} нет «{id}». Есть: {present}","expect.noNot":"У {matcher} нет формы .not","expect.notLoadout":"toMatchLoadoutSnapshot() принимает loadout из resolve() или assemble(), а не {received}","capture.noAdapter":"ctxray пока не умеет запускать {harness}","capture.noRuntime":"{harness} работает на {runtime}: установите {runtime} и добавьте в PATH","capture.notInstalled":"{harness} не установлен: в ctxray.lock его нет, а в PATH нет `{binary}`. Закрепите его через `ctxray harness add {harness}`","capture.exited":"{harness} завершился раньше теста (код выхода {code})","capture.output":"Вывод","capture.trace":"Трейс","capture.ended":"Сессия уже закончилась: начните новую через startSession()","capture.egress":"{harness} пытался выйти в сеть мимо ctxray: {hosts}","activate.failed":"{subject} загружался с долей {rate} [{low}–{high}, ДИ 95 %]","activate.inconclusive":"{subject} загружался с долей {rate} [{low}–{high}, ДИ 95 %]: сэмплов пока мало, чтобы судить","activate.runs":"Прогоны","activate.threshold":"Порог","activate.needed":"Сколько всего сэмплов нужно","activate.notRuns":"{matcher} принимает прогоны из test.activate(), а не {received}","activate.emptySet":"anyOf() не получил ни правил, ни скиллов","activate.noPrompts":"Дайте тесту prompt или списки positive и negative","activate.noBackend":"L6 и L7 нужна модель: запустите с --backend replay или --backend real","run.timeout":"Сессия шла дольше {ms} мс","cassette.none":"Для этого теста на {harness} нет кассеты: запишите её с --backend real --record","cassette.miss":"В кассете нет ответа на {path} на ходу {turn}: харнесс пошёл другим путём. Перезапишите её с --backend real --record","test.needsBackend":"нужен --backend replay или real","test.budget":"бюджет исчерпан","test.cost":"Модель","test.dollars":"${amount}","test.modelTokens":{one:"{count} токен",few:"{count} токена",many:"{count} токенов",other:"{count} токена"},"test.unpriced":"нет цены для {models}","test.cassettes":{one:"записана {count} кассета",few:"записаны {count} кассеты",many:"записано {count} кассет",other:"записано {count} кассеты"},"tokens.exactFailed":"Провайдер не смог посчитать запрос {protocol}: {message}","report.total":"всего","report.startingContext":"Стартовый контекст, токены","report.against":"Относительно {ref}","report.changes":"Изменения","report.failures":"Упали","report.full":"Полный отчёт: {path}","html.needsScript":"Этому отчёту нужен JavaScript. Данные лежат рядом, в report.json.","html.tokens":{one:"{count} токен",few:"{count} токена",many:"{count} токенов",other:"{count} токена"},"html.tokensUnit":{one:"токен",few:"токена",many:"токенов",other:"токена"},"html.seconds":"{seconds} с","html.ms":"{ms} мс","html.language":"Язык","html.theme":"Светлая или тёмная тема","html.tab.overview":"Обзор","html.tab.tests":"Тесты","html.tab.context":"Контекст","html.tab.evals":"Активация","html.tab.coverage":"Покрытие","html.tab.diff":"Разница","html.layers":"Слои","html.harnesses":"ИИ-харнессы","html.tiers":"Уровни захвата","html.startingContext":"Стартовый контекст","html.runsLoaded":{one:"загрузился в {loaded} из {count} прогона",few:"загрузился в {loaded} из {count} прогонов",many:"загрузился в {loaded} из {count} прогонов",other:"загрузился в {loaded} из {count} прогона"},"html.needed":{one:"Всего нужен {count} сэмпл, чтобы судить",few:"Всего нужно {count} сэмпла, чтобы судить",many:"Всего нужно {count} сэмплов, чтобы судить",other:"Всего нужно {count} сэмпла, чтобы судить"},"html.turn":"ход {turn}","html.reason.unsupported":"ИИ-харнесс не умеет того, что нужно тесту","html.reason.filtered":"Отфильтрован --layer или --filter","html.reason.unavailable":"Здесь ctxray не может это запустить","html.reason.backend":"Нужен --backend replay или real","html.reason.budget":"Бюджет прогона исчерпан","html.all":"Все","html.search":"Найти тест","html.test":"Тест","html.nothing":"Ни один тест не подходит","html.component":"Компонент","html.component.system":"Системный промпт","html.component.tools":"Встроенные инструменты","html.component.rules":"Правила","html.component.skills":"Скиллы","html.component.mcp":"MCP","html.component.commands":"Команды","html.component.framing":"Обрамление","html.component.messages":"Разговор","html.startAndPeak":"Старт и пик самой большой сессии","html.start":"Старт","html.peak":"Пик","html.added":"Добавилось по ходу сессии:","html.nothingAdded":"По ходу сессии ничего не добавилось","html.noContext":"В этом прогоне ни один ИИ-харнесс не запускался, поэтому снятого контекста нет. ctxray inspect покажет, что каждый харнесс читает из файлов.","html.byComponent":"Токены по компонентам","html.exact":"Посчитано провайдером ({method})","html.approx":"Оценено локальным токенайзером ({method}): помечено ≈","html.noSessions":"Ни одна сессия этого харнесса не прошла дальше первого запроса","html.everyPiece":"Каждый элемент контекста","html.piece":"Элемент","html.tokensHead":"Токены","html.provenance":"Источник · причина · доказательство","html.rates":"Доли активации","html.ratesHint":"Точка — доля, полоса — её 95-процентный интервал, линия — порог. Тест проходит, только если вся полоса по нужную сторону порога.","html.untested":{one:"{count} правило или скилл, на которые не смотрел ни один тест",few:"{count} правила и скилла, на которые не смотрел ни один тест",many:"{count} правил и скиллов, на которые не смотрел ни один тест",other:"{count} правила и скилла, на которые не смотрел ни один тест"},"html.dead":{one:"{count} правило, под глобы которого не подходит ни один файл",few:"{count} правила, под глобы которых не подходит ни один файл",many:"{count} правил, под глобы которых не подходит ни один файл",other:"{count} правила, под глобы которых не подходит ни один файл"},"html.noPrompts":{one:"{count} выбирается по описанию, но ни один eval его не загрузил",few:"{count} выбираются по описанию, но ни один eval их не загрузил",many:"{count} выбираются по описанию, но ни один eval их не загрузил",other:"{count} выбираются по описанию, но ни один eval их не загрузил"},"html.noChanges":"Loadout не изменился","html.change.added":"добавлено","html.change.removed":"убрано","html.change.changed":"изменился размер","expect.notRequest":"{matcher} принимает запрос из session.nextRequest(), а не {received}","drift.found":"Расхождение резолвера: {harness} {version} загружает не то, что предсказывает ctxray. Если {harness} изменил это намеренно, адаптер ctxray для него нужно обновить","drift.onlyHarness":"Только в ИИ-харнессе","drift.onlyResolver":"Только в предсказании","snapshot.missing":"Снапшот «{key}» ещё не записан","snapshot.mismatch":"Loadout расходится со снапшотом «{key}»","snapshot.changed":"Изменилось","snapshot.more":"Ещё изменений","provision.unsupported":'ctxray пока не умеет ставить {harness}: укажите `source: "system"` и положите его в PATH',"provision.noVersion":"У {harness} нет версии под «{range}»","provision.noBuilds":"У {harness} {version} нет сборки ни для одной известной ctxray платформы","provision.noBuild":"У {harness} {version} нет сборки для {platform}","provision.readOnly":"Ни в одну папку кеша нельзя писать: {dirs}","provision.badIntegrity":"У {package} в ctxray.lock нет хеша sha512","provision.integrity":"{package} не совпадает с ctxray.lock: ожидался {expected}, пришёл {actual}","provision.noBinary":"В {package} нет `{bin}`","provision.notInArchive":"{package} нет в {archive}","provision.unreachable":"Не удалось достучаться до {url}: {message}","provision.httpError":"{url} ответил {status}","lock.unreadable":"{file} — не JSON: {message}","lock.invalid":"{file} сломан в {where}: {message}","lock.missing":"{harness} нет в ctxray.lock: выполните `ctxray harness add {harness}`","lock.missingSystem":"{harness} из PATH нет в ctxray.lock: выполните `ctxray harness add {harness}`, чтобы записать его версию","lock.sourceChanged":"ctxray.lock ставит {harness} из `{locked}`, а в конфиге `{configured}`: выполните `ctxray harness add {harness}`","lock.rangeChanged":"В ctxray.lock {harness} {locked}, а конфиг просит {configured}: выполните `ctxray harness add {harness}`","help.subcommand":"<подкоманда>","help.subcommandsTitle":"Подкоманды","error.noSubcommand":"Команде `ctxray {command}` нужна подкоманда","error.unknownSubcommand":"У `ctxray {command}` нет подкоманды «{name}»","provision.offline":"Включён офлайн-режим: ctxray не пойдёт в {url}. Выключите `offline` или CTXRAY_OFFLINE либо поставьте харнессы через `ctxray harness install --from <архив>`","provision.notInstalled":"{harness} {version} нет в кеше: выполните `ctxray harness install` или уберите `--no-install`","command.harness":"Поставить харнессы из ctxray.lock или закрепить новые","harness.add":"Закрепить харнессы в ctxray.lock: `add codex@0.169.x claude-code`","harness.install":"Поставить на эту машину все харнессы из ctxray.lock","harness.list":"Показать закреплённые харнессы и есть ли они на этой машине","harness.pack":"Собрать закреплённые сборки в один архив для `install --from`","option.only":"Только эти харнессы, через запятую","option.frozen":"Падать, если ctxray.lock не совпадает с конфигом. В CI включён сам","option.from":"Поставить из архива `ctxray harness pack`, без registry","option.output":"Файл, куда писать","option.platform":"Платформы для архива, например darwin-arm64,linux-x64-glibc, или all. По умолчанию — платформа этой машины","units.megabytes":"{value} МБ","units.gigabytes":"{value} ГБ","harness.unknown":"Неизвестный харнесс «{name}». ctxray знает {known}","harness.notOnPath":"{harness} нет в PATH: ctxray не нашёл `{binary}`","harness.noLockfile":"{file} ещё нет: закрепите харнессы через `ctxray harness add`","harness.addWhat":"Назовите харнессы, например `ctxray harness add codex claude-code@2.x`","harness.fromPath":"PATH","harness.fromCache":"из кеша","harness.installed":"установлен за {time}","harness.added":"добавлен","harness.was":"был {version}","harness.lockWritten":"Записан {file}","harness.waiting":"{harness} уже ставит другой процесс ctxray, ждём…","harness.unpacking":"Распаковываем {harness}…","harness.downloading":"Скачиваем {harness}","harness.pathDiffers":"в ctxray.lock {locked}","harness.missingOnPath":"нет в PATH","harness.frozenFailed":"ctxray.lock не совпадает с конфигом, а --frozen не разрешает менять его. Выполните `ctxray harness add` и закоммитьте ctxray.lock","harness.nothingLocked":"В ctxray.lock нет харнессов: добавьте их через `ctxray harness add`","harness.platform":"Платформа: {platform}","harness.notLocked":"нет в ctxray.lock","harness.inCache":"в кеше","harness.notInCache":"не установлен здесь","harness.packed":{one:"{count} сборка упакована в {file}, {size}",few:"{count} сборки упакованы в {file}, {size}",many:"{count} сборок упаковано в {file}, {size}",other:"{count} сборки упаковано в {file}, {size}"},"command.mcp":"Отдать inspect, test и diff агенту по MCP через stdin и stdout","option.mcpHarness":"Харнессы, на которые смотрит вызов инструмента, если сам их не назвал, например claude-code","command.spectate":"Наблюдать за вашими сессиями Claude Code и Cursor через их hooks","spectate.show":"Показать, что загрузили последние сессии (по умолчанию)","spectate.install":"Добавить hooks ctxray в ваши настройки Claude Code и hooks.json Cursor","spectate.uninstall":"Убрать hooks ctxray","option.spectateHarness":"Hooks или сессии только этих харнессов, например claude-code-desktop,cursor-ide","option.last":"Сколько последних сессий показать, по умолчанию 5","spectate.added":"{file}: hook ctxray на {events}","spectate.removed":"{file}: hook ctxray убран из {events}","spectate.already":"В {file} hooks ctxray уже есть","spectate.none":"В {file} hooks ctxray нет","spectate.badFile":"{file} — не валидный JSON, ctxray его не трогает: {message}","spectate.where":"Hooks пишут в {dir}, и ничего не покидает эту машину","spectate.next":"Работайте как обычно, потом запустите `ctxray spectate` и посмотрите, что загрузила каждая сессия","spectate.noHooks":"У {harnesses} нет hooks, через которые наблюдает ctxray: их запускает `ctxray test`","spectate.badLast":"--last принимает число сессий, а не «{value}»","spectate.empty":"Сессий пока нет. Добавьте hooks через `ctxray spectate install` и работайте как обычно","spectate.log":"Журнал: {dir}","spectate.prompts":{one:"{count} запрос",few:"{count} запроса",many:"{count} запросов",other:"{count} запроса"},"spectate.loaded":"Загружено","spectate.atStart":"при старте","spectate.onRead":"при чтении {file}","spectate.onGlob":"по глобу, при чтении {file}","spectate.imported":"импорт из {file}","spectate.read":{one:"Прочитан {count} файл",few:"Прочитано {count} файла",many:"Прочитано {count} файлов",other:"Прочитано {count} файла"},"spectate.resolved":"Что предсказывает L3 для этих файлов по текущему проекту (hooks Cursor правила не называют)","option.session":"Показать, что загрузила одна сессия Claude Code, по её id: так спрашивает `/ctxray` плагина","option.pluginRoot":"Где лежит плагин ctxray: то, что он загружает, в итоги не входит","session.total":"В контексте","session.system":"Системный промпт","session.tools":"Встроенные инструменты","session.mcpTools":{one:"{count} инструмент, отложено {deferred}",few:"{count} инструмента, отложено {deferred}",many:"{count} инструментов, отложено {deferred}",other:"{count} инструмента, отложено {deferred}"},"session.builtin":"встроен в Claude Code","session.conversation":"Переписка","session.request":{one:"{count} запрос в сессии",few:"{count} запроса в сессии",many:"{count} запросов в сессии",other:"{count} запроса в сессии"},"session.own":"Сам ctxray: ≈ {tokens}, в итоги не входит","session.missing":"Сессии {id} нет ни в журнале ctxray, ни в транскриптах Claude Code","session.noRequests":"У сессии {id} пока нет запросов, которые ctxray может прочитать: старые версии Claude Code не пишут их в транскрипт","command.cache":"Показать или почистить кеш харнессов, общий для всех проектов на машине","cache.dir":"Напечатать папку кеша, для шагов кеширования в CI","cache.ls":"Показать сборки харнессов в кеше","cache.prune":"Удалить сборки, которыми давно не пользовались. Закреплённые в ctxray.lock остаются","option.olderThan":"Удалять сборки, которыми не пользовались столько дней, по умолчанию 30","option.pruneAll":"Удалить все сборки, которых нет в ctxray.lock, даже свежие","cache.badDays":"«{value}» — не число дней","cache.layer":"{dir} (только чтение)","cache.empty":"В кеше пока нет харнессов","cache.shared":"слой только для чтения","cache.used":"использовалась {date}","cache.total":{one:"{count} сборка, {size}",few:"{count} сборки, {size}",many:"{count} сборок, {size}",other:"{count} сборки, {size}"},"cache.nothingToPrune":"Удалять нечего: все сборки либо использовались недавно, либо закреплены в ctxray.lock","cache.pruned":{one:"Удалена {count} сборка, освобождено {size}",few:"Удалено {count} сборки, освобождено {size}",many:"Удалено {count} сборок, освобождено {size}",other:"Удалено {count} сборки, освобождено {size}"},"option.record":"С --backend real сохранить ответы модели кассетами для --backend replay","option.budget":"Сколько долларов может потратить прогон с --backend real","test.badBudget":"--budget принимает доллары, например 2.50, а не «{value}»","command.calibrate":"Измерить, как токенайзер провайдера считает относительно o200k, вашим ключом","option.provider":"Провайдер модели","option.model":"Модель, которой считать","option.calibrationOut":"Записать коэффициенты в этот файл, а не выводить их","calibrate.usage":"Укажите провайдера ({providers}) и модель: ctxray calibrate --provider anthropic --model claude-opus-5-5","calibrate.failed":"Провайдер не смог посчитать: {message}","calibrate.title":"{provider} {model} относительно o200k","calibrate.pieces":{one:"{count} фрагмент",few:"{count} фрагмента",many:"{count} фрагментов",other:"{count} фрагмента"},"calibrate.written":"Коэффициенты записаны в {file}","command.genPrompts":"Написать промпты для L6 по описаниям правил и скиллов, в файл для ревью","option.fromDescriptions":"Писать по описанию каждого правила и скилла, которые модель выбирает по описанию","option.promptsOut":"JSON-файл, куда писать, для corpus() в тесте","option.generatorModel":"Модель, которая пишет, по умолчанию claude-opus-5-5: не та, что под тестом","option.promptCount":"Сколько промптов каждого вида на правило или скилл, по умолчанию 5","genPrompts.usage":"ctxray gen-prompts --from-descriptions --out prompts/intents.json пишет промпты в файл","genPrompts.offline":"Чтобы написать промпты, нужно спросить модель, а ctxray работает офлайн","test.offline":"--backend real обращается к модели, а ctxray работает офлайн: записанные ответы воспроизводит --backend replay","calibrate.offline":"Калибровка считает токены у провайдера, а ctxray работает офлайн","genPrompts.exists":"{file} уже есть: проверьте его или передайте --force, чтобы записать заново","genPrompts.sameModel":{one:"{harnesses} тоже работает на {model}: промпты от тестируемой модели завышают её recall",few:"{harnesses} тоже работают на {model}: промпты от тестируемой модели завышают её recall",many:"{harnesses} тоже работают на {model}: промпты от тестируемой модели завышают её recall",other:"{harnesses} тоже работают на {model}: промпты от тестируемой модели завышают её recall"},"genPrompts.nothing":"Здесь нет правил и скиллов, которые модель выбирает по описанию","genPrompts.written":{one:"{file}: {prompts} промптов для {count} правила или скилла",few:"{file}: {prompts} промптов для {count} правил и скиллов",many:"{file}: {prompts} промптов для {count} правил и скиллов",other:"{file}: {prompts} промптов для {count} правила или скилла"},"genPrompts.review":"Прочитайте их, прежде чем тест их возьмёт: корпус заморожен, пока вы не запишете его заново","option.reporter":"Репортеры через запятую: console, html, json, junit, allure, markdown","option.reportLang":"Языки HTML-отчёта через запятую или all","option.reportDir":"Куда класть отчёты, по умолчанию .ctxray/report","test.unknownReporter":"Неизвестный репортер «{name}». Есть такие: {known}","test.unknownReportLang":"Языка «{lang}» для отчётов в ctxray нет. Есть: {known}","test.base":"База","test.baseDelta":{one:"{delta} ({changes} изменение)",few:"{delta} ({changes} изменения)",many:"{delta} ({changes} изменений)",other:"{delta} ({changes} изменения)"},"test.baseline":"Baseline","test.baselineKnown":{one:"{count} находка из {file} не уронила прогон",few:"{count} находки из {file} не уронили прогон",many:"{count} находок из {file} не уронили прогон",other:"{count} находки из {file} не уронили прогон"},"test.report":"Отчёт","command.showReport":"Открыть последний отчёт в браузере, с обновлением во время прогона","option.port":"Порт, по умолчанию свободный","option.open":"Открыть страницу в браузере","showReport.none":"В {dir} нет report.json: сначала запустите ctxray test --reporter json,html","showReport.serving":"Отчёт по адресу","showReport.live":"Страница обновляется после каждого ctxray test. Ctrl+C останавливает","command.diff":"Показать, как loadout изменился относительно другой ревизии, по умолчанию origin/master","option.base":"Ревизия для сравнения, например origin/master","diff.title":"Относительно {ref} ({commit}), как предсказывает L3 в корне проекта","diff.total":"≈ {before} → ≈ {after} токенов файлов","diff.same":"Ничего не изменилось","diff.unknownBase":"Git не знает ревизию «{ref}»: подтяните её или укажите другую через --base","option.watch":"Запускать заново после каждого изменения файлов проекта","test.watching":"Слежу за файлами: изменение перезапускает тесты, Enter запускает сейчас, q останавливает","command.baseline":"Записать находки L1 и L2 в ctxray.baseline.json: дальше прогон падает только на новых","baseline.written":{one:"{file}: {count} находка",few:"{file}: {count} находки",many:"{file}: {count} находок",other:"{file}: {count} находки"},"baseline.hint":"Закоммитьте файл. ctxray test его читает, а ctxray baseline перезаписывает, когда вы что-то исправите","option.noInstall":"Не ставить закреплённый харнесс, которого нет в кеше, а падать","command.doctor":"Проверить, что нужно для L4 и выше: git, сеть, кеш и закреплённые харнессы","doctor.titleSystem":"Система","doctor.titleNetwork":"Сеть","doctor.titleHarnesses":"Харнессы","doctor.ctxray":"ctxray {version} на {platform}","doctor.git":"git {version}","doctor.noGit":"git нет в PATH: L4 и выше копируют им проект","doctor.node":"Node.js {version}","doctor.noNode":"Node.js нет в PATH: MCP-серверы на нём не запустятся","doctor.managed":"В {path} настройки администратора для любого запуска, ctxray не может их изолировать","doctor.sandbox":"sandbox-exec запускает харнессы в песочнице","doctor.noSandbox":"sandbox-exec нет: MCP-серверы и hooks проекта работают без песочницы","doctor.containerSandbox":"На этой системе нет песочницы: запускайте L4 и выше в контейнере, как в CI","doctor.proxy":"Прокси {proxy}","doctor.noProxy":"Прокси нет: запросы идут напрямую","doctor.httpOnlyProxy":"HTTP_PROXY задан, а HTTPS_PROXY нет: сам ctxray шлёт HTTPS через него, а MCP-серверы, которые он запускает, — мимо","doctor.noProxyEntry":"Запись «{entry}» в NO_PROXY в Bun работает не так, как в curl: пишите «{fix}»","doctor.noProxyCidr":"Диапазон «{entry}» в NO_PROXY в Bun не работает: перечислите хосты","doctor.ca":"CA-сертификаты из {file}","doctor.caMissing":"CA-файла {file} нет","doctor.caNotPem":"В {file} нет PEM-сертификата","doctor.systemCa":"Системному хранилищу сертификатов тоже доверяем","doctor.registry":"npm registry {registry}","doctor.npmrcCa":{one:"{count} CA-сертификат из .npmrc",few:"{count} CA-сертификата из .npmrc",many:"{count} CA-сертификатов из .npmrc",other:"{count} CA-сертификата из .npmrc"},"doctor.offline":"Офлайн-режим: ctxray не ходит в registry","doctor.registryUp":"Registry отвечает ({status})","doctor.registryDown":"Registry не отвечает: {message}","doctor.cache":{one:"Кеш {dir}: {count} сборка, {size} МБ",few:"Кеш {dir}: {count} сборки, {size} МБ",many:"Кеш {dir}: {count} сборок, {size} МБ",other:"Кеш {dir}: {count} сборки, {size} МБ"},"doctor.cacheReadOnly":"Ни в одну папку кеша нельзя писать: {dirs}","doctor.cacheLayer":"Слой кеша только для чтения {dir}","doctor.noLockfile":"{file} нет: харнессы берутся из PATH. Закрепите их через `ctxray harness add`","doctor.lockfile":"Lockfile {file}","doctor.fromPath":"{harness} {version} из PATH","doctor.systemMissing":"{harness} нет в PATH, а ctxray.lock берёт его оттуда","doctor.systemDiffers":"В PATH {harness} {version}, а в ctxray.lock {locked}","doctor.noBuild":"У {harness} {version} нет сборки для {platform}","doctor.installed":"{harness} {version} установлен","doctor.noRuntime":"{harness} работает на {runtime}, а {runtime} нет в PATH","doctor.notInstalled":"{harness} {version} ещё не установлен: его поставит `ctxray harness install` или первый прогон","doctor.errors":{one:"{count} ошибка",few:"{count} ошибки",many:"{count} ошибок",other:"{count} ошибки"},"doctor.warnings":{one:"{count} предупреждение",few:"{count} предупреждения",many:"{count} предупреждений",other:"{count} предупреждения"},"doctor.healthy":"Всё, что нужно для L4 и выше, на месте","harness.upgrade":"Обновить закреплённый харнесс до новой версии и показать, как меняется его loadout","option.dryRun":"Показать обновление, не записывая ctxray.lock","harness.upgradeWhat":"Назовите харнессы, например `ctxray harness upgrade codex`","harness.upgradeSystem":"{harness} берётся из PATH: обновите его там и выполните `ctxray harness add {harness}`","harness.captureFailed":"Не удалось снять loadout: {message}","harness.capturing":"Снимаем стартовый контекст {harness} {version}…","harness.upToDate":"{version} — самая новая версия, которую разрешает диапазон","harness.startingContext":"Стартовый контекст","harness.sameLoadout":"Loadout не изменился","harness.dryRun":"Пробный запуск: ctxray.lock не изменился","npm.missing":"Исполняемого файла ctxray здесь нет: npm не поставил {package} для {platform}. Переустановите без --omit=optional или поставьте ctxray иначе: https://github.com/MairwunNx/ctxray/blob/master/README.RU.md#установка","npm.skew":"@mairwunnx/ctxray версии {version}, а пакет с исполняемым файлом {package} — версии {binary}. Переустановите пакет, чтобы версии совпали","npm.outside":"@mairwunnx/ctxray даёт редактору типы, а запускает эти файлы ctxray: ctxray test"};var r={en:w,ru:b},s="en";var v=(e)=>{let n=e?.trim();if(!n||n.toLowerCase()==="auto")return;let t=n.split(/[_.@-]/)[0]?.toLowerCase();if(!t||t==="c"||t==="posix")return;return/^[a-z]{2,3}$/.test(t)?t:void 0},m=(e,n)=>{let{env:t}=e,l=[e.flag,t.CTXRAY_LANG,e.config,t.LC_ALL,t.LC_MESSAGES,t.LANG,e.windowsUiLocale,e.intlLocale];for(let d of l){let a=v(d);if(a)return n.includes(a)?a:s}return s};var N=(e,n,t)=>{if(typeof e==="string")return e;return(t===void 0?void 0:e[n.select(t)])??e.other},p=(e,n=r,t=()=>{})=>{let l=new Intl.PluralRules(e),d=new Intl.NumberFormat(e),a=new Intl.ListFormat(e,{type:"conjunction"}),S=n[e],A=n[s];return(c,h={})=>{let k=S?.[c];if(k===void 0)t(c,e);let x=k??A?.[c];if(x===void 0)return c;let R=typeof h.count==="number"?h.count:void 0;return N(x,l,R).replace(/\{(\w+)\}/g,(M,O)=>{let o=h[O];if(o===void 0)return M;if(typeof o==="number")return d.format(o);return typeof o==="string"?o:a.format(o)})}};var u=p(m({env:process.env,intlLocale:Intl.DateTimeFormat().resolvedOptions().locale},Object.keys(r)));var B=z(import.meta.url),P=(e)=>JSON.parse(I(e,"utf8")).version,U=()=>{try{return F("/lib").some((e)=>e.startsWith("ld-musl-"))}catch{return!1}},f=process.platform==="win32"?"windows":process.platform,L=`${f}-${process.arch}${f==="linux"&&U()?"-musl":""}`,y=`@mairwunnx/ctxray-${L}`,g;try{g=B.resolve(`${y}/package.json`)}catch{console.error(u("npm.missing",{platform:L,package:y})),process.exit(1)}var C=P(E(new URL("../package.json",import.meta.url))),T=P(g);if(T!==C)console.error(u("npm.skew",{version:C,package:y,binary:T}));var q=D(j(g),f==="windows"?"ctxray.exe":"ctxray"),i=H(q,process.argv.slice(2),{stdio:"inherit"});if(i.error)throw i.error;if(i.signal)process.kill(process.pid,i.signal);process.exit(i.status??1);
2
+ import{spawnSync as H}from"node:child_process";import{readdirSync as F,readFileSync as I}from"node:fs";import{createRequire as D}from"node:module";import{dirname as z,join as j}from"node:path";import{fileURLToPath as B}from"node:url";var w={"count.harnesses":{one:"{count} harness",other:"{count} harnesses"},"count.tests":{one:"{count} test",other:"{count} tests"},"count.rules":{one:"{count} rule",other:"{count} rules"},"status.passed":"passed","status.failed":"failed","status.skipped":"skipped","status.inconclusive":"inconclusive","status.flaky":"flaky","lang.unsupported":"Language “{lang}” isn't supported yet, so ctxray speaks English","debug.missingMessage":"Message {key} is missing in the {lang} catalog, so it shows in English","cli.tagline":"X-ray for agent harnesses","help.usage":"Usage","help.command":"<command>","help.options":"[options]","help.commandsTitle":"Commands","help.optionsTitle":"Options","help.manual":"Manual: {url}","command.inspect":"Show what each harness loads here and how many tokens it costs","command.init":"Create ctxray.config.ts and an example test","command.config":"Show the config after extends and defaults","option.lang":"Interface language: {langs}","option.ci":"Run as in CI, with plain line output","option.plain":"Print plain lines instead of the live view","option.noColor":"Turn colours off, same as --plain","option.help":"Show help","option.version":"Show the version","option.force":"Overwrite files that already exist","option.config":"Config file to use instead of the one in the project root","option.harness":"Harnesses, comma-separated, like claude-code,codex","option.cwd":"Folder the agent starts in, the current one by default","option.files":"Files the agent works with, comma-separated: rules for them load too","option.json":"Print JSON instead of text","error.unknownCommand":"Unknown command “{name}”","error.unknownOption":"Unknown option {name}","error.missingValue":"Option {name} needs a value","error.unexpectedValue":"Option {name} takes no value","error.unexpectedArgument":"Unexpected argument “{value}”","error.hint":"Run {command} for the list of commands and options","error.internal":"ctxray failed unexpectedly: {message}","error.report":"Please report it with the output above: {url}","init.created":"created","init.overwritten":"overwritten","init.skipped":"skipped","init.updated":"updated","init.exists":"already exists, --force overwrites it","init.ignoreAdded":"now ignores .ctxray/","init.ignorePresent":"already ignores .ctxray/","init.next":"Next: describe your agent setup in {test} and run {command}","config.files":"Config: {files}","config.none":"No config file, so the defaults apply","config.failed":"The config has errors, so ctxray stops:","config.missing":"Config file {file} doesn't exist","config.ambiguous":"The project has several config files: {files}. Keep one","config.unreadable":"Can't load {file}: {message}","config.noDefault":"{file} exports no config. End it with export default defineConfig({ … })","config.invalid":"{where}: {message}","config.badPattern":"{where}: not a valid regular expression","config.emptyPolicy":"Policy “{id}” checks nothing. Give it maxTokens, denyMcp, requireMcp, or requireFiles in {files}","config.duplicatePolicy":"{where}: two policies share an id","config.caMissing":"{where}: CA file {file} doesn't exist","config.extendsMissing":"{where}: can't find “{name}” to extend. Install the package or fix the path","config.cycle":"Configs extend each other in a loop: {chain}","error.unknownHarness":"Unknown harness “{name}”. Known ones: {known}","inspect.noFolder":"Folder {dir} doesn't exist","inspect.cwd":"the agent starts in {cwd}","inspect.files":"and works with {files}","inspect.tokens":"≈ {tokens}","inspect.afterRun":"after a run","inspect.rules":"Rules","inspect.skills":"Skills","inspect.commands":"Commands","inspect.mcp":"MCP servers","inspect.system":"System prompt and built-in tools","inspect.nothing":"finds nothing to load here","inspect.elsewhere":{one:"and {count} problem elsewhere in the repository",other:"and {count} problems elsewhere in the repository"},"inspect.notYet":"{harness}: ctxray can't read its files yet","inspect.estimate":"≈ marks a local estimate with the {tokenizer} tokenizer","inspect.uncalibrated":"Claude models have a tokenizer of their own, so Claude Code numbers are rougher","inspect.capture":"The system prompt, built-in tools, and MCP tool schemas get counted once ctxray launches the harness","lint.frontmatter":"The frontmatter isn't valid YAML, so the harness ignores it: {message}","lint.looseFrontmatter":"The frontmatter isn't valid YAML. Claude Code and Codex still read it line by line, stricter tools won't: {message}","reach.nowhere":"No harness reads this file, and no file a harness reads links to it","reach.nowhereSkills":{one:"{count} skill here, and no harness looks in this folder, so no model ever sees it",other:"{count} skills here, and no harness looks in this folder, so no model ever sees them"},"lint.skillFolderName":"The skill calls itself “{name}” in a folder named “{folder}”: Claude Code lists it as {folder}, Codex and Cursor as {name}. Name the folder after the skill","size.lines":{one:"{count} line, over the limit of {limit}",other:"{count} lines, over the limit of {limit}"},"size.chars":{one:"{count} character, over the limit of {limit}",other:"{count} characters, over the limit of {limit}"},"size.tokens":{one:"{count} token, over the limit of {limit}",other:"{count} tokens, over the limit of {limit}"},"reach.otherHarness":"Only {harnesses} reads this file, and it isn't in the run","reach.otherHarnesses":"Only {harnesses} read this file, and none of them is in the run","reach.otherHarnessSkills":{one:"{count} skill here that only {harnesses} reads, and it isn't in the run",other:"{count} skills here that only {harnesses} reads, and it isn't in the run"},"reach.otherHarnessesSkills":{one:"{count} skill here that only {harnesses} read, and none of them is in the run",other:"{count} skills here that only {harnesses} read, and none of them is in the run"},"reach.differs":"{harness} doesn't read this file, and nothing it reads says the same, so the harnesses get different instructions. Only {by} reads it","reach.differsMany":"{harness} doesn't read this file, and nothing it reads says the same, so the harnesses get different instructions. Only {by} read it","reach.differsSkills":{one:"{harness} doesn't see the skill here and has no copy of it, so the harnesses get different skills. Only {by} sees it",other:"{harness} doesn't see {count} skills here and has no copies of them, so the harnesses get different skills. Only {by} sees them"},"reach.differsManySkills":{one:"{harness} doesn't see the skill here and has no copy of it, so the harnesses get different skills. Only {by} see it",other:"{harness} doesn't see {count} skills here and has no copies of them, so the harnesses get different skills. Only {by} see them"},"lint.ruleField":"Claude Code reads only “paths” in a rule, “{field}” does nothing","lint.tooLarge":"The file is over {limit}, so Claude Code skips all of it","lint.importMissing":"@{target} points to a file that doesn't exist","lint.importDepth":"@{target} is more than {hops} imports deep, so it never loads","lint.shadowedCommand":"The skill {by} has the same name “{name}”, so this command never runs","lint.noDescription":"Skill “{name}” has no description, so the model has little to pick it by","lint.longDescription":"The description is {length} characters long, and the listing cuts it at {limit}","lint.badJson":"Not valid JSON: {message}","lint.badToml":"Not valid TOML, so {harness} ignores the file: {message}","lint.mcpTransport":"MCP server “{name}” has neither command nor url","lint.empty":"The file is empty, so {harness} skips it","lint.shadowed":"Codex reads {by} instead, one file per directory","lint.skillField":"The frontmatter has no {field}, so {harness} skips the skill","lint.budget":"The AGENTS.md files above reach Codex's {budget}-byte budget here, so it cuts or drops this one","lint.overBudget":"The file alone is over Codex's {budget}-byte budget, so Codex cuts it","lint.globEmpty":"An empty glob matches nothing","lint.globUnbalanced":"Glob “{pattern}” has an unclosed bracket or brace, so it matches nothing","lint.globOutside":"Glob “{pattern}” points outside its folder with “..”, so it matches nothing","lint.skillName":"Skill name “{name}” works in some harnesses only: use lowercase letters, digits, and hyphens, up to 64","lint.duplicateSkill":"Another skill here has the name “{name}”: {other}","lint.duplicateText":"Same text as {other}, so the model reads it twice","lint.brokenLink":"The link to {target} leads nowhere","lint.absolutePath":"“{value}” leads into your home folder or onto your disk: the team and CI don't have it","lint.byteOrderMark":"The file starts with a byte order mark, so {harness} skips the skill. Save it as UTF-8 without BOM","lint.frontmatterTab":"A tab indents the frontmatter, which YAML forbids. The harnesses read it differently: Claude Code and Codex skip such a skill, the others take it. Indent with spaces","lint.alwaysApplyText":"Cursor reads alwaysApply only as true or false without quotes, so “{value}” does nothing and the rule never applies on its own","lint.ignoredFile":"{harness} reads this file here, but .gitignore hides it: the team and CI never get it","lint.ignoredFolder":{one:"{harness} reads {count} file from this folder here, but .gitignore hides the folder: the team and CI never get it",other:"{harness} reads {count} files from this folder here, but .gitignore hides the folder: the team and CI never get them"},"lint.uncommittedFile":"{harness} reads this file here, but it isn't committed yet: the team and CI don't have it","lint.brokenSymlink":"The link points to {target}, which doesn't exist, so {harness} reads nothing here","lint.outsideLink":"The link leads outside the repository, to {target}: the team and CI don't have it","lint.secret":"A secret sits on this line ({kind}): everyone with the repository and every model that reads the file sees it. Move it to an environment variable","lint.personalData":"Personal data sits on this line ({kind}), and every model that reads the file sees it","lint.misnamed":"{harness} never reads this file. Did you mean “{expected}”?","lint.letterCase":"Did you mean “{expected}”? {harness} looks for that name: macOS and Windows may take this file for it, Linux and CI won't","resolve.deadRule":"No file in the repository matches {patterns}, so the rule never loads","resolve.deadPattern":"No file in the repository matches {pattern}","policy.needsCapture":"The {component} limit needs a real run, a static view doesn't know these tokens","policy.overBudget":"{component}: {tokens} tokens, the limit is {limit}","policy.missingFile":"{path} is missing","policy.deniedMcp":"MCP server “{name}” isn't allowed","policy.missingMcp":"MCP server “{name}” is required but not configured","command.test":"Run the *.ctxray.ts tests and ctxray's own checks","option.backend":"Model backend: mock, replay, real, or a name from the config's backends","option.layer":"Layers to run, like L1-L3 or L3,L5","option.ignoreHarnessDifferences":"Don't warn when the harnesses get different instructions or skills","option.errorOnWarnings":"Fail the run on any L1 warning, as on an error","option.filter":"Run only the tests whose name holds this text","option.updateSnapshots":"Write new and changed loadout snapshots","test.unknownBackend":"Unknown backend “{name}”. Known ones: {known}","test.badLayer":"Can't read layers “{value}”. Name them like L1-L3 or L3,L5","test.backend":"backend: {backend}","test.checks":"ctxray checks","test.context":"starting context","test.tokens":{one:"≈ {count} token",other:"≈ {count} tokens"},"test.exactTokens":{one:"{count} token",other:"{count} tokens"},"test.notInstalled":"no {binary} on PATH","context.sentTwice":"{path} reaches the model twice in the first request","context.sameText":"{path} has the same text as {other}, and the model reads both","test.lint":"project files","test.unsupported":"needs {missing}","test.filtered":"filtered","test.unavailable":"{layer} doesn't run here yet","test.flaky":"flaky","test.inconclusive":"inconclusive","test.warnings":{one:"{count} warning",other:"{count} warnings"},"test.layers":"Layers","test.total":"Total","test.passed":"{count} passed","test.failed":"{count} failed","test.skipped":"{count} skipped","test.inconclusives":"{count} inconclusive","test.flakies":"{count} flaky","test.filteredOut":"{count} filtered","test.seconds":"{seconds} s","test.ms":"{ms} ms","test.snapshots":"Snapshots","test.written":"{count} written","test.updated":"{count} updated","test.noFiles":"No *.ctxray.ts files here yet: ctxray init writes an example","test.skew":"node_modules holds @mairwunnx/ctxray {installed}, and the tests run on this ctxray, {version}","test.updateHint":"ctxray test --update-snapshots writes the missing snapshots","test.broken":"The file failed to load","test.more":"and {count} more","test.progress":"{done} of {total}","test.timeout":"The test ran longer than {ms} ms","test.noFixture":"Fixture folder {dir} doesn't exist","dsl.outsideRun":"suite() and test() work only in a file that ctxray test runs","dsl.asyncSuite":"Suite “{name}” returns a promise. Register its tests right away and await inside a test","dsl.eachItem":'test.each for “{name}” takes a list of objects, like [{ file: "a.kt" }]',"dsl.outsideTest":"This works only inside a running test","discover.empty":"{selector} selects no rules for {harness}","discover.noCodeowners":"{selector} needs a CODEOWNERS file, and the project has none","declarative.invalid":"The test file doesn't fit the schema at {path}: {message}","corpus.unreadable":"Can't load prompts from {file}: {message}","corpus.invalid":"{file} must export positive and negative prompts as lists of strings","resolve.noAdapter":"ctxray can't read the files of {harness} yet","resolve.noFolder":"Folder {dir} doesn't exist in the project","expect.failed":"{call}","expect.expected":"Expected","expect.notExpected":"Expected not","expect.received":"Received","expect.missing":"Missing","expect.unexpected":"Present","expect.notNumber":"Not a number","expect.noEntry":"{what} holds no “{id}”. It holds: {present}","expect.noNot":"{matcher} has no .not form","expect.notLoadout":"toMatchLoadoutSnapshot() takes a loadout from resolve() or assemble(), not {received}","capture.noAdapter":"ctxray can't launch {harness} yet","capture.noRuntime":"{harness} runs on {runtime}: install {runtime} and put it on PATH","capture.notInstalled":"{harness} isn't installed: ctxray.lock doesn't pin it and PATH has no `{binary}`. Pin it with `ctxray harness add {harness}`","capture.exited":"{harness} stopped before the test was done (exit code {code})","capture.output":"Output","capture.trace":"Trace","capture.ended":"The session has ended: start another with startSession()","capture.egress":"{harness} tried to reach {hosts} past ctxray","activate.failed":"{subject} loaded at a rate of {rate} [{low}–{high}, 95% CI]","activate.inconclusive":"{subject} loaded at a rate of {rate} [{low}–{high}, 95% CI]: too few samples to tell","activate.runs":"Runs","activate.threshold":"Threshold","activate.needed":"Samples in all to tell","activate.notRuns":"{matcher} takes the runs of test.activate(), not {received}","activate.emptySet":"anyOf() got no rules or skills to look for","activate.noPrompts":"Give the test a prompt, or positive and negative prompts","activate.noBackend":"L6 and L7 need a model: run with --backend replay or --backend real","run.timeout":"The session ran longer than {ms} ms","cassette.none":"No cassette for this test on {harness}: record one with --backend real --record","cassette.miss":"The cassette has no answer for {path} at turn {turn}: the harness went another way. Record it again with --backend real --record","test.needsBackend":"needs --backend replay or real","test.budget":"budget spent","test.cost":"Model","test.dollars":"${amount}","test.modelTokens":{one:"{count} token",other:"{count} tokens"},"test.unpriced":"no price for {models}","test.cassettes":{one:"{count} cassette written",other:"{count} cassettes written"},"tokens.exactFailed":"The provider couldn't count the {protocol} request: {message}","report.total":"total","report.startingContext":"Starting context, tokens","report.against":"Against {ref}","report.changes":"Changes","report.failures":"Failed","report.full":"The whole report: {path}","html.needsScript":"This report needs JavaScript. The data is in report.json next to it.","html.tokens":{one:"{count} token",other:"{count} tokens"},"html.tokensUnit":{one:"token",other:"tokens"},"html.seconds":"{seconds} s","html.ms":"{ms} ms","html.language":"Language","html.theme":"Light or dark theme","html.tab.overview":"Overview","html.tab.tests":"Tests","html.tab.context":"Context","html.tab.evals":"Activation","html.tab.coverage":"Coverage","html.tab.diff":"Diff","html.layers":"Layers","html.harnesses":"Harnesses","html.tiers":"Capture tiers","html.startingContext":"Starting context","html.runsLoaded":{one:"loaded in {loaded} of {count} run",other:"loaded in {loaded} of {count} runs"},"html.needed":{one:"{count} sample in all would tell",other:"{count} samples in all would tell"},"html.turn":"turn {turn}","html.reason.unsupported":"The harness can't do what the test needs","html.reason.filtered":"Left out by --layer or --filter","html.reason.unavailable":"ctxray can't run this here","html.reason.backend":"Needs --backend replay or real","html.reason.budget":"The run's budget was spent","html.all":"All","html.search":"Find a test","html.test":"Test","html.nothing":"No test matches","html.component":"Component","html.component.system":"System prompt","html.component.tools":"Built-in tools","html.component.rules":"Rules","html.component.skills":"Skills","html.component.mcp":"MCP","html.component.commands":"Commands","html.component.framing":"Framing","html.component.messages":"Conversation","html.startAndPeak":"Start and peak of the largest session","html.start":"Start","html.peak":"Peak","html.added":"Added during the session:","html.nothingAdded":"Nothing joined during the session","html.noContext":"No harness of this run was launched, so there is no captured context. ctxray inspect shows what each harness reads from files.","html.byComponent":"Tokens by component","html.exact":"Counted by the provider ({method})","html.approx":"Estimated with a local tokenizer ({method}): marked ≈","html.noSessions":"No session of this harness ran past its first request","html.everyPiece":"Every piece of the context","html.piece":"Piece","html.tokensHead":"Tokens","html.provenance":"Source · reason · evidence","html.rates":"Activation rates","html.ratesHint":"The dot is the rate, the bar its 95% interval, the line the threshold. A pass needs the whole bar on the threshold's side.","html.untested":{one:"{count} rule or skill no test looked at",other:"{count} rules and skills no test looked at"},"html.dead":{one:"{count} rule whose globs match no file",other:"{count} rules whose globs match no file"},"html.noPrompts":{one:"{count} picked by description, but no eval loaded it",other:"{count} picked by description, but no eval loaded them"},"html.noChanges":"The loadout is the same","html.change.added":"added","html.change.removed":"removed","html.change.changed":"changed size","expect.notRequest":"{matcher} takes a request from session.nextRequest(), not {received}","drift.found":"Resolver drift: {harness} {version} doesn't load what ctxray predicts. If {harness} changed this on purpose, ctxray's adapter for it needs an update","drift.onlyHarness":"Harness only","drift.onlyResolver":"Prediction only","snapshot.missing":"Snapshot “{key}” isn't written yet","snapshot.mismatch":"The loadout differs from snapshot “{key}”","snapshot.changed":"Changed","snapshot.more":"More changes","provision.unsupported":'ctxray can\'t install {harness} yet: set `source: "system"` and put it on PATH',"provision.noVersion":"{harness} has no version that matches “{range}”","provision.noBuilds":"{harness} {version} has no build for any platform ctxray knows","provision.noBuild":"{harness} {version} has no build for {platform}","provision.readOnly":"No cache folder is writable: {dirs}","provision.badIntegrity":"{package} has no sha512 integrity in ctxray.lock","provision.integrity":"{package} doesn't match ctxray.lock: expected {expected}, got {actual}","provision.noBinary":"{package} has no `{bin}`","provision.notInArchive":"{package} isn't in {archive}","provision.unreachable":"Can't reach {url}: {message}","provision.httpError":"{url} answered {status}","lock.unreadable":"{file} isn't valid JSON: {message}","lock.invalid":"{file} is broken at {where}: {message}","lock.missing":"{harness} isn't in ctxray.lock: run `ctxray harness add {harness}`","lock.missingSystem":"{harness} from PATH isn't in ctxray.lock: run `ctxray harness add {harness}` to record its version","lock.sourceChanged":"ctxray.lock installs {harness} from `{locked}`, the config says `{configured}`: run `ctxray harness add {harness}`","lock.rangeChanged":"ctxray.lock has {harness} {locked}, the config asks for {configured}: run `ctxray harness add {harness}`","help.subcommand":"<subcommand>","help.subcommandsTitle":"Subcommands","error.noSubcommand":"`ctxray {command}` needs a subcommand","error.unknownSubcommand":"Unknown subcommand “{name}” of `ctxray {command}`","provision.offline":"Offline mode: ctxray won't reach {url}. Turn off `offline` or CTXRAY_OFFLINE, or install with `ctxray harness install --from <archive>`","provision.notInstalled":"{harness} {version} isn't in the cache: run `ctxray harness install` or drop `--no-install`","command.harness":"Install the harnesses ctxray.lock pins, or pin new ones","harness.add":"Pin harnesses in ctxray.lock: `add codex@0.169.x claude-code`","harness.install":"Install every harness ctxray.lock pins, for this machine","harness.list":"Show the pinned harnesses and whether this machine has them","harness.pack":"Pack the pinned builds into one archive for `install --from`","option.only":"Only these harnesses, comma-separated","option.frozen":"Fail when ctxray.lock doesn't match the config. On by itself in CI","option.from":"Install from an archive `ctxray harness pack` wrote, without a registry","option.output":"File to write","option.platform":"Platforms to pack, like darwin-arm64,linux-x64-glibc, or all. This machine's by default","units.megabytes":"{value} MB","units.gigabytes":"{value} GB","harness.unknown":"Unknown harness “{name}”. ctxray knows {known}","harness.notOnPath":"{harness} isn't on PATH: ctxray found no `{binary}`","harness.noLockfile":"There's no {file} yet: pin harnesses with `ctxray harness add`","harness.addWhat":"Name the harnesses to add, like `ctxray harness add codex claude-code@2.x`","harness.fromPath":"PATH","harness.fromCache":"in the cache","harness.installed":"installed in {time}","harness.added":"added","harness.was":"was {version}","harness.lockWritten":"Wrote {file}","harness.waiting":"Another ctxray installs {harness}, waiting for it…","harness.unpacking":"Unpacking {harness}…","harness.downloading":"Downloading {harness}","harness.pathDiffers":"ctxray.lock has {locked}","harness.missingOnPath":"not on PATH","harness.frozenFailed":"ctxray.lock doesn't match the config, and --frozen allows no changes. Run `ctxray harness add` and commit ctxray.lock","harness.nothingLocked":"ctxray.lock pins no harnesses: add some with `ctxray harness add`","harness.platform":"Platform: {platform}","harness.notLocked":"not in ctxray.lock","harness.inCache":"in the cache","harness.notInCache":"not installed here","harness.packed":{one:"Packed {count} build into {file}, {size}",other:"Packed {count} builds into {file}, {size}"},"command.mcp":"Serve inspect, test, and diff to an agent over MCP, on stdin and stdout","option.mcpHarness":"Harnesses a tool call looks at when it names none, like claude-code","command.spectate":"Watch your own Claude Code and Cursor sessions through their hooks","spectate.show":"Show what the latest sessions loaded (the default)","spectate.install":"Add ctxray's hooks to your Claude Code settings and Cursor hooks.json","spectate.uninstall":"Remove ctxray's hooks again","option.spectateHarness":"Hooks or sessions of these harnesses only, like claude-code-desktop,cursor-ide","option.last":"How many of the latest sessions to show, 5 by default","spectate.added":"{file}: ctxray's hook on {events}","spectate.removed":"{file}: ctxray's hook removed from {events}","spectate.already":"{file} already has ctxray's hooks","spectate.none":"{file} has no ctxray hooks","spectate.badFile":"{file} isn't valid JSON, so ctxray leaves it alone: {message}","spectate.where":"The hooks write to {dir}, and nothing leaves this machine","spectate.next":"Work as usual, then run `ctxray spectate` to see what each session loaded","spectate.noHooks":"{harnesses} have no hooks ctxray observes through: `ctxray test` launches them instead","spectate.badLast":"--last takes a number of sessions, not “{value}”","spectate.empty":"No sessions yet. Add the hooks with `ctxray spectate install`, then work as usual","spectate.log":"Log: {dir}","spectate.prompts":{one:"{count} prompt",other:"{count} prompts"},"spectate.loaded":"Loaded","spectate.atStart":"at start","spectate.onRead":"on reading {file}","spectate.onGlob":"glob, on reading {file}","spectate.imported":"imported by {file}","spectate.read":{one:"Read {count} file",other:"Read {count} files"},"spectate.resolved":"What L3 predicts for those files, as the project is now (Cursor's hooks don't name the rules)","option.session":"Show what one Claude Code session loaded, by its id: the plugin's `/ctxray` asks this","option.pluginRoot":"Where ctxray's plugin lives: what it loads stays out of the totals","session.total":"In the context","session.system":"System prompt","session.tools":"Built-in tools","session.mcpTools":{one:"{count} tool, {deferred} of them deferred",other:"{count} tools, {deferred} of them deferred"},"session.builtin":"ships with Claude Code","session.conversation":"Conversation","session.request":{one:"{count} request so far",other:"{count} requests so far"},"session.own":"ctxray itself: ≈ {tokens}, not counted","session.missing":"No session {id}: neither ctxray's log nor Claude Code's transcripts know it","session.noRequests":"Session {id} has no requests ctxray can read yet: older Claude Code versions don't write them to the transcript","command.cache":"Show or clean the harness cache this machine shares between projects","cache.dir":"Print the cache folder, for CI cache steps","cache.ls":"List the harness builds in the cache","cache.prune":"Remove builds unused for a while. The ones ctxray.lock pins stay","option.olderThan":"Prune builds unused for this many days, 30 by default","option.pruneAll":"Prune every build ctxray.lock doesn't pin, however recent","cache.badDays":"“{value}” isn't a number of days","cache.layer":"{dir} (read-only)","cache.empty":"No harnesses in the cache yet","cache.shared":"read-only layer","cache.used":"used {date}","cache.total":{one:"{count} build, {size}",other:"{count} builds, {size}"},"cache.nothingToPrune":"Nothing to prune: every build was used recently or ctxray.lock pins it","cache.pruned":{one:"Removed {count} build, freed {size}",other:"Removed {count} builds, freed {size}"},"option.record":"With --backend real, keep the model's answers as cassettes for --backend replay","option.budget":"US dollars a run with --backend real may spend","test.badBudget":"--budget takes US dollars, like 2.50, not “{value}”","command.calibrate":"Measure how a provider's tokenizer counts against o200k, with your key","option.provider":"Model provider","option.model":"Model to count with","option.calibrationOut":"Write the factors to this file instead of printing them","calibrate.usage":"Name a provider ({providers}) and a model: ctxray calibrate --provider anthropic --model claude-opus-5-5","calibrate.failed":"The provider couldn't count: {message}","calibrate.title":"{provider} {model} against o200k","calibrate.pieces":{one:"{count} piece",other:"{count} pieces"},"calibrate.written":"Factors written to {file}","command.genPrompts":"Write L6 prompts from the descriptions of rules and skills, to a file for review","option.fromDescriptions":"Write them from the description of each rule and skill the model picks by description","option.promptsOut":"The JSON file to write, for corpus() in a test","option.generatorModel":"The model that writes them, claude-opus-5-5 by default: not one under test","option.promptCount":"Prompts of each kind per rule or skill, 5 by default","genPrompts.usage":"ctxray gen-prompts --from-descriptions --out prompts/intents.json writes the prompts to a file","genPrompts.offline":"Writing prompts asks a model, and ctxray is offline","test.offline":"--backend real asks a model, and ctxray is offline: replay recorded answers with --backend replay","calibrate.offline":"Calibrating counts tokens with the provider, and ctxray is offline","genPrompts.exists":"{file} exists: review it, or pass --force to write it again","genPrompts.sameModel":{one:"{harnesses} runs {model} too: prompts from the model under test make its recall look better than it is",other:"{harnesses} run {model} too: prompts from the model under test make its recall look better than it is"},"genPrompts.nothing":"No rule or skill here is picked by its description","genPrompts.written":{one:"{file}: {prompts} prompts for {count} rule or skill",other:"{file}: {prompts} prompts for {count} rules and skills"},"genPrompts.review":"Read them before a test uses them: the corpus is frozen until you write it again","option.reporter":"Reporters, comma-separated: console, html, json, junit, allure, markdown","option.reportLang":"Languages of the HTML report, comma-separated, or all","option.reportDir":"Where reports go, .ctxray/report by default","test.unknownReporter":"Unknown reporter “{name}”. Known ones: {known}","test.unknownReportLang":"ctxray has no “{lang}” for reports. It has: {known}","test.base":"Base","test.baseDelta":{one:"{delta} ({changes} change)",other:"{delta} ({changes} changes)"},"test.baseline":"Baseline","test.baselineKnown":{one:"{count} finding {file} knows didn't fail the run",other:"{count} findings {file} knows didn't fail the run"},"test.report":"Report","command.showReport":"Open the latest report in the browser, live while tests run","option.port":"Port to listen on, a free one by default","option.open":"Open the page in the browser","showReport.none":"No report.json in {dir}: run ctxray test --reporter json,html first","showReport.serving":"The report is at","showReport.live":"The page reloads after each ctxray test. Ctrl+C stops it","command.diff":"Show how the loadout changed against another revision, origin/master by default","option.base":"The revision to compare with, like origin/master","diff.title":"Against {ref} ({commit}), as L3 predicts at the project root","diff.total":"≈ {before} → ≈ {after} tokens of files","diff.same":"Nothing changed","diff.unknownBase":"Git knows no revision “{ref}”: fetch it, or name another with --base","option.watch":"Run again after each change of the project's files","test.watching":"Watching the files: a change runs the tests again, Enter runs them now, q stops","command.baseline":"Write the findings of L1 and L2 to ctxray.baseline.json: later runs fail only on new ones","baseline.written":{one:"{file}: {count} finding",other:"{file}: {count} findings"},"baseline.hint":"Commit the file. ctxray test reads it, and ctxray baseline writes it again once you fix some","option.noInstall":"Don't install a pinned harness the cache lacks, fail instead","command.doctor":"Check what L4 and up need here: git, the network, the cache, and the pinned harnesses","doctor.titleSystem":"System","doctor.titleNetwork":"Network","doctor.titleHarnesses":"Harnesses","doctor.ctxray":"ctxray {version} on {platform}","doctor.git":"git {version}","doctor.noGit":"git isn't on PATH: L4 and up copy the project with it","doctor.node":"Node.js {version}","doctor.noNode":"Node.js isn't on PATH: MCP servers that run on it won't start","doctor.managed":"{path} holds settings an administrator set for every run, and ctxray can't isolate them","doctor.sandbox":"sandbox-exec runs the harnesses in a sandbox","doctor.noSandbox":"sandbox-exec is missing: project MCP servers and hooks run without a sandbox","doctor.containerSandbox":"No sandbox on this system: run L4 and up in a container, as CI does","doctor.proxy":"Proxy {proxy}","doctor.noProxy":"No proxy: requests go out directly","doctor.httpOnlyProxy":"HTTP_PROXY is set but HTTPS_PROXY isn't: ctxray sends HTTPS through it too, but the MCP servers it starts go past it","doctor.noProxyEntry":"NO_PROXY entry “{entry}” doesn't work in Bun as in curl: write “{fix}”","doctor.noProxyCidr":"NO_PROXY range “{entry}” doesn't work in Bun: list the hosts instead","doctor.ca":"CA certificates from {file}","doctor.caMissing":"CA file {file} doesn't exist","doctor.caNotPem":"{file} holds no PEM certificate","doctor.systemCa":"The system certificate store is trusted too","doctor.registry":"npm registry {registry}","doctor.npmrcCa":{one:"{count} CA certificate from .npmrc",other:"{count} CA certificates from .npmrc"},"doctor.offline":"Offline mode: ctxray doesn't reach the registry","doctor.registryUp":"The registry answers ({status})","doctor.registryDown":"The registry doesn't answer: {message}","doctor.cache":{one:"Cache {dir}: {count} build, {size} MB",other:"Cache {dir}: {count} builds, {size} MB"},"doctor.cacheReadOnly":"No cache folder is writable: {dirs}","doctor.cacheLayer":"Read-only cache layer {dir}","doctor.noLockfile":"No {file}: harnesses come from PATH. Pin them with `ctxray harness add`","doctor.lockfile":"Lockfile {file}","doctor.fromPath":"{harness} {version} from PATH","doctor.systemMissing":"{harness} isn't on PATH, and ctxray.lock takes it from there","doctor.systemDiffers":"{harness} {version} on PATH, ctxray.lock has {locked}","doctor.noBuild":"{harness} {version} has no build for {platform}","doctor.installed":"{harness} {version} installed","doctor.noRuntime":"{harness} runs on {runtime}, and {runtime} isn't on PATH","doctor.notInstalled":"{harness} {version} isn't installed yet: `ctxray harness install` or the first run installs it","doctor.errors":{one:"{count} error",other:"{count} errors"},"doctor.warnings":{one:"{count} warning",other:"{count} warnings"},"doctor.healthy":"Everything L4 and up need is in place","harness.upgrade":"Move a pinned harness to its newest version and show how its loadout changes","option.dryRun":"Show the upgrade without writing ctxray.lock","harness.upgradeWhat":"Name the harnesses to upgrade, like `ctxray harness upgrade codex`","harness.upgradeSystem":"{harness} comes from PATH: upgrade it there, then run `ctxray harness add {harness}`","harness.captureFailed":"ctxray couldn't capture the loadout: {message}","harness.capturing":"Capturing the starting context of {harness} {version}…","harness.upToDate":"{version} is the newest the range allows","harness.startingContext":"Starting context","harness.sameLoadout":"The loadout is the same","harness.dryRun":"Dry run: ctxray.lock stays as it was","npm.missing":"ctxray has no binary here: npm didn't install {package} for {platform}. Reinstall without --omit=optional, or install ctxray another way: https://github.com/MairwunNx/ctxray#install","npm.skew":"@mairwunnx/ctxray is {version}, and its binary {package} is {binary}. Reinstall it to line them up","npm.outside":"@mairwunnx/ctxray gives your editor the types, and ctxray runs these files: ctxray test"};var b={"count.harnesses":{one:"{count} харнесс",few:"{count} харнесса",many:"{count} харнессов",other:"{count} харнесса"},"count.tests":{one:"{count} тест",few:"{count} теста",many:"{count} тестов",other:"{count} теста"},"count.rules":{one:"{count} правило",few:"{count} правила",many:"{count} правил",other:"{count} правила"},"status.passed":"пройден","status.failed":"упал","status.skipped":"пропущен","status.inconclusive":"не определён","status.flaky":"нестабилен","lang.unsupported":"Язык «{lang}» пока не поддерживается, поэтому ctxray говорит по-английски","debug.missingMessage":"Строки {key} нет в каталоге {lang}, поэтому она показана по-английски","cli.tagline":"рентген для ИИ-харнессов","help.usage":"Использование","help.command":"<команда>","help.options":"[параметры]","help.commandsTitle":"Команды","help.optionsTitle":"Параметры","help.manual":"Документация: {url}","command.inspect":"Показать, что загружает каждый ИИ-харнесс и сколько это стоит в токенах","command.init":"Создать ctxray.config.ts и пример теста","command.config":"Показать итоговый конфиг с учётом extends и значений по умолчанию","option.lang":"Язык интерфейса: {langs}","option.ci":"Работать как в CI, с построчным выводом","option.plain":"Печатать простые строки вместо живого вывода","option.noColor":"Выключить цвета, то же, что --plain","option.help":"Показать справку","option.version":"Показать версию","option.force":"Перезаписать уже существующие файлы","option.config":"Файл конфига вместо того, что лежит в корне проекта","option.harness":"ИИ-харнессы через запятую, например claude-code,codex","option.cwd":"Папка, в которой стартует агент, по умолчанию текущая","option.files":"Файлы, с которыми работает агент, через запятую: правила для них тоже загрузятся","option.json":"Вывести JSON вместо текста","error.unknownCommand":"Неизвестная команда «{name}»","error.unknownOption":"Неизвестный параметр {name}","error.missingValue":"Параметру {name} нужно значение","error.unexpectedValue":"Параметр {name} не принимает значения","error.unexpectedArgument":"Лишний аргумент «{value}»","error.hint":"Список команд и параметров: {command}","error.internal":"ctxray неожиданно упал: {message}","error.report":"Пожалуйста, сообщите об этом и приложите вывод выше: {url}","init.created":"создан","init.overwritten":"перезаписан","init.skipped":"пропущен","init.updated":"обновлён","init.exists":"уже есть, --force перезапишет","init.ignoreAdded":"теперь игнорирует .ctxray/","init.ignorePresent":"уже игнорирует .ctxray/","init.next":"Дальше: опишите настройку агента в {test} и запустите {command}","config.files":"Конфиг: {files}","config.none":"Файла конфига нет, действуют значения по умолчанию","config.failed":"В конфиге ошибки, ctxray остановился:","config.missing":"Файла конфига {file} нет","config.ambiguous":"В проекте несколько файлов конфига: {files}. Оставьте один","config.unreadable":"Не удалось загрузить {file}: {message}","config.noDefault":"{file} не экспортирует конфиг. Добавьте в конец export default defineConfig({ … })","config.invalid":"{where}: {message}","config.badPattern":"{where}: это не регулярное выражение","config.emptyPolicy":"Политика «{id}» ничего не проверяет. Добавьте ей maxTokens, denyMcp, requireMcp или requireFiles в {files}","config.duplicatePolicy":"{where}: у двух политик одинаковый id","config.caMissing":"{where}: файла CA-сертификата {file} нет","config.extendsMissing":"{where}: не найден «{name}» для extends. Установите пакет или исправьте путь","config.cycle":"Конфиги расширяют друг друга по кругу: {chain}","error.unknownHarness":"Неизвестный ИИ-харнесс «{name}». Известные: {known}","inspect.noFolder":"Папки {dir} нет","inspect.cwd":"агент стартует в {cwd}","inspect.files":"и работает с {files}","inspect.tokens":"≈ {tokens}","inspect.afterRun":"после запуска","inspect.rules":"Правила","inspect.skills":"Скиллы","inspect.commands":"Команды","inspect.mcp":"MCP-серверы","inspect.system":"Системный промпт и встроенные инструменты","inspect.nothing":"здесь нечего загружать","inspect.elsewhere":{one:"и ещё {count} проблема в других частях репозитория",few:"и ещё {count} проблемы в других частях репозитория",many:"и ещё {count} проблем в других частях репозитория",other:"и ещё {count} проблемы в других частях репозитория"},"inspect.notYet":"{harness}: ctxray пока не читает его файлы","inspect.estimate":"≈ — локальная оценка токенайзером {tokenizer}","inspect.uncalibrated":"У моделей Claude собственный токенайзер, поэтому числа Claude Code грубее","inspect.capture":"Системный промпт, встроенные инструменты и схемы MCP-инструментов ctxray посчитает, когда запустит ИИ-харнесс","lint.frontmatter":"Frontmatter — не валидный YAML, харнесс его игнорирует: {message}","lint.looseFrontmatter":"Frontmatter — не валидный YAML. Claude Code и Codex всё равно читают его построчно, а более строгие инструменты не прочитают: {message}","reach.nowhere":"Этот файл не читает ни один ИИ-харнесс, и на него не ссылается ни один файл, который они читают","reach.nowhereSkills":{one:"Здесь {count} скилл, но ни один ИИ-харнесс не смотрит в эту папку, и модель его не увидит",few:"Здесь {count} скилла, но ни один ИИ-харнесс не смотрит в эту папку, и модель их не увидит",many:"Здесь {count} скиллов, но ни один ИИ-харнесс не смотрит в эту папку, и модель их не увидит",other:"Здесь {count} скилла, но ни один ИИ-харнесс не смотрит в эту папку, и модель их не увидит"},"lint.skillFolderName":"Скилл называет себя «{name}», а папка у него «{folder}»: Claude Code покажет его как {folder}, Codex и Cursor — как {name}. Назовите папку по имени скилла","size.lines":{one:"{count} строка при лимите {limit}",few:"{count} строки при лимите {limit}",many:"{count} строк при лимите {limit}",other:"{count} строки при лимите {limit}"},"size.chars":{one:"{count} символ при лимите {limit}",few:"{count} символа при лимите {limit}",many:"{count} символов при лимите {limit}",other:"{count} символа при лимите {limit}"},"size.tokens":{one:"{count} токен при лимите {limit}",few:"{count} токена при лимите {limit}",many:"{count} токенов при лимите {limit}",other:"{count} токена при лимите {limit}"},"reach.otherHarness":"Этот файл читает только {harnesses}, а его нет в прогоне","reach.otherHarnesses":"Этот файл читают только {harnesses}, а в прогоне нет ни одного из них","reach.otherHarnessSkills":{one:"Здесь {count} скилл, который видит только {harnesses}, а его нет в прогоне",few:"Здесь {count} скилла, которые видит только {harnesses}, а его нет в прогоне",many:"Здесь {count} скиллов, которые видит только {harnesses}, а его нет в прогоне",other:"Здесь {count} скилла, которые видит только {harnesses}, а его нет в прогоне"},"reach.otherHarnessesSkills":{one:"Здесь {count} скилл, который видят только {harnesses}, а в прогоне нет ни одного из них",few:"Здесь {count} скилла, которые видят только {harnesses}, а в прогоне нет ни одного из них",many:"Здесь {count} скиллов, которые видят только {harnesses}, а в прогоне нет ни одного из них",other:"Здесь {count} скилла, которые видят только {harnesses}, а в прогоне нет ни одного из них"},"reach.differs":"{harness} не читает этот файл, и такого текста нет ни в одном файле, который он читает, поэтому ИИ-харнессы получают разные инструкции. Этот файл читает только {by}","reach.differsMany":"{harness} не читает этот файл, и такого текста нет ни в одном файле, который он читает, поэтому ИИ-харнессы получают разные инструкции. Этот файл читают только {by}","reach.differsSkills":{one:"{harness} не видит здесь {count} скилл, и копии у него нет, поэтому ИИ-харнессы получают разные скиллы. Его видит только {by}",few:"{harness} не видит здесь {count} скилла, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видит только {by}",many:"{harness} не видит здесь {count} скиллов, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видит только {by}",other:"{harness} не видит здесь {count} скилла, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видит только {by}"},"reach.differsManySkills":{one:"{harness} не видит здесь {count} скилл, и копии у него нет, поэтому ИИ-харнессы получают разные скиллы. Его видят только {by}",few:"{harness} не видит здесь {count} скилла, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видят только {by}",many:"{harness} не видит здесь {count} скиллов, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видят только {by}",other:"{harness} не видит здесь {count} скилла, и копий у него нет, поэтому ИИ-харнессы получают разные скиллы. Их видят только {by}"},"lint.ruleField":"Claude Code читает в правиле только «paths», «{field}» ничего не делает","lint.tooLarge":"Файл больше {limit}, Claude Code пропускает его целиком","lint.importMissing":"@{target} ссылается на файл, которого нет","lint.importDepth":"@{target} глубже {hops} импортов и не загрузится","lint.shadowedCommand":"У скилла {by} то же имя «{name}», эта команда никогда не запустится","lint.noDescription":"У скилла «{name}» нет описания, модели не по чему его выбрать","lint.longDescription":"Описание длиной {length} символов, в списке оно обрежется до {limit}","lint.badJson":"Не валидный JSON: {message}","lint.badToml":"Не валидный TOML, {harness} игнорирует файл: {message}","lint.mcpTransport":"У MCP-сервера «{name}» нет ни command, ни url","lint.empty":"Файл пустой, {harness} его пропускает","lint.shadowed":"Codex читает вместо него {by}, по одному файлу на папку","lint.skillField":"Во frontmatter нет {field}, {harness} пропускает скилл","lint.budget":"Файлы AGENTS.md выше упираются здесь в лимит Codex в {budget} байт, этот файл обрежется или выпадет","lint.overBudget":"Файл сам по себе больше лимита Codex в {budget} байт, поэтому Codex его обрезает","lint.globEmpty":"Пустой glob ничему не соответствует","lint.globUnbalanced":"В glob «{pattern}» не закрыта скобка, он ничему не соответствует","lint.globOutside":"Glob «{pattern}» выходит из своей папки через «..» и ничему не соответствует","lint.skillName":"Имя скилла «{name}» работает не во всех ИИ-харнессах: нужны строчные буквы, цифры и дефисы, до 64 символов","lint.duplicateSkill":"Здесь уже есть скилл с именем «{name}»: {other}","lint.duplicateText":"Тот же текст, что в {other}, модель прочитает его дважды","lint.brokenLink":"Ссылка на {target} никуда не ведёт","lint.absolutePath":"„{value}“ ведёт в вашу домашнюю папку или на ваш диск: у команды и в CI такого пути нет","lint.byteOrderMark":"Файл начинается с метки порядка байтов (BOM), и {harness} пропускает скилл. Сохраните его в UTF-8 без BOM","lint.frontmatterTab":"Frontmatter отбит табуляцией, а YAML её запрещает. Харнессы читают такой файл по-разному: Claude Code и Codex пропускают такой скилл, остальные берут. Сделайте отступы пробелами","lint.alwaysApplyText":"Cursor понимает alwaysApply только как true или false без кавычек, поэтому „{value}“ ничего не делает, и правило само не применяется","lint.ignoredFile":"{harness} читает этот файл у вас, но его скрывает .gitignore: у команды и в CI его нет","lint.ignoredFolder":{one:"{harness} читает у вас {count} файл из этой папки, но её скрывает .gitignore: у команды и в CI его нет",few:"{harness} читает у вас {count} файла из этой папки, но её скрывает .gitignore: у команды и в CI их нет",many:"{harness} читает у вас {count} файлов из этой папки, но её скрывает .gitignore: у команды и в CI их нет",other:"{harness} читает у вас {count} файла из этой папки, но её скрывает .gitignore: у команды и в CI их нет"},"lint.uncommittedFile":"{harness} читает этот файл у вас, но он ещё не закоммичен: у команды и в CI его нет","lint.brokenSymlink":"Ссылка ведёт на {target}, которого нет, и {harness} здесь ничего не читает","lint.outsideLink":"Ссылка ведёт за пределы репозитория, на {target}: у команды и в CI его нет","lint.secret":"В этой строке секрет ({kind}): его видит любой с доступом к репозиторию и каждая модель, которая читает файл. Перенесите его в переменную окружения","lint.personalData":"В этой строке персональные данные ({kind}), и их видит каждая модель, которая читает файл","lint.misnamed":"{harness} не читает этот файл. Вы, видимо, имели в виду „{expected}“?","lint.letterCase":"Вы, видимо, имели в виду „{expected}“? {harness} ищет это имя: на macOS и Windows файл может под него подойти, в Linux и CI — нет","resolve.deadRule":"Ни один файл репозитория не подходит под {patterns}, правило никогда не загрузится","resolve.deadPattern":"Ни один файл репозитория не подходит под {pattern}","policy.needsCapture":"Лимит на {component} проверяется только на настоящем прогоне, статически эти токены не известны","policy.overBudget":"{component}: {tokens} токенов при лимите {limit}","policy.missingFile":"Нет файла {path}","policy.deniedMcp":"MCP-сервер «{name}» запрещён","policy.missingMcp":"MCP-сервер «{name}» обязателен, но не настроен","command.test":"Запустить тесты *.ctxray.ts и собственные проверки ctxray","option.backend":"Бэкенд модели: mock, replay, real или имя из backends в конфиге","option.layer":"Слои для прогона, например L1-L3 или L3,L5","option.ignoreHarnessDifferences":"Не предупреждать, если ИИ-харнессы получают разные инструкции или скиллы","option.errorOnWarnings":"Считать любое предупреждение L1 ошибкой","option.filter":"Запустить только тесты, в имени которых есть этот текст","option.updateSnapshots":"Записать новые и изменившиеся снапшоты loadout","test.unknownBackend":"Неизвестный бэкенд «{name}». Известные: {known}","test.badLayer":"Не удалось разобрать слои «{value}». Укажите их как L1-L3 или L3,L5","test.backend":"бэкенд: {backend}","test.checks":"проверки ctxray","test.context":"стартовый контекст","test.tokens":{one:"≈ {count} токен",few:"≈ {count} токена",many:"≈ {count} токенов",other:"≈ {count} токена"},"test.exactTokens":{one:"{count} токен",few:"{count} токена",many:"{count} токенов",other:"{count} токена"},"test.notInstalled":"в PATH нет {binary}","context.sentTwice":"{path} попадает к модели дважды уже в первом запросе","context.sameText":"В {path} тот же текст, что в {other}, и модель читает оба","test.lint":"файлы проекта","test.unsupported":"нужно {missing}","test.filtered":"отфильтрован","test.unavailable":"{layer} здесь пока не запускается","test.flaky":"нестабилен","test.inconclusive":"не определён","test.warnings":{one:"{count} предупреждение",few:"{count} предупреждения",many:"{count} предупреждений",other:"{count} предупреждения"},"test.layers":"Слои","test.total":"Итого","test.passed":"пройдено: {count}","test.failed":"упало: {count}","test.skipped":"пропущено: {count}","test.inconclusives":"не определено: {count}","test.flakies":"нестабильно: {count}","test.filteredOut":"отфильтровано: {count}","test.seconds":"{seconds} с","test.ms":"{ms} мс","test.snapshots":"Снапшоты","test.written":"записано: {count}","test.updated":"обновлено: {count}","test.noFiles":"Файлов *.ctxray.ts здесь пока нет: ctxray init создаст пример","test.skew":"В node_modules лежит @mairwunnx/ctxray {installed}, а тесты запускает этот ctxray, {version}","test.updateHint":"ctxray test --update-snapshots запишет недостающие снапшоты","test.broken":"Файл не загрузился","test.more":"и ещё {count}","test.progress":"{done} из {total}","test.timeout":"Тест шёл дольше {ms} мс","test.noFixture":"Папки фикстуры {dir} нет","dsl.outsideRun":"suite() и test() работают только в файле, который запускает ctxray test","dsl.asyncSuite":"Сьют «{name}» возвращает промис. Регистрируйте тесты сразу, а await пишите внутри теста","dsl.eachItem":'test.each для «{name}» принимает список объектов, например [{ file: "a.kt" }]',"dsl.outsideTest":"Это работает только внутри идущего теста","discover.empty":"{selector} не выбирает ни одного правила для {harness}","discover.noCodeowners":"{selector} нужен файл CODEOWNERS, а в проекте его нет","declarative.invalid":"Файл тестов не подходит под схему в {path}: {message}","corpus.unreadable":"Не удалось загрузить промпты из {file}: {message}","corpus.invalid":"{file} должен экспортировать positive и negative — списки строк","resolve.noAdapter":"ctxray пока не читает файлы {harness}","resolve.noFolder":"Папки {dir} в проекте нет","expect.failed":"{call}","expect.expected":"Ожидалось","expect.notExpected":"Не ожидалось","expect.received":"Получено","expect.missing":"Нет","expect.unexpected":"Есть","expect.notNumber":"Не число","expect.noEntry":"В {what} нет «{id}». Есть: {present}","expect.noNot":"У {matcher} нет формы .not","expect.notLoadout":"toMatchLoadoutSnapshot() принимает loadout из resolve() или assemble(), а не {received}","capture.noAdapter":"ctxray пока не умеет запускать {harness}","capture.noRuntime":"{harness} работает на {runtime}: установите {runtime} и добавьте в PATH","capture.notInstalled":"{harness} не установлен: в ctxray.lock его нет, а в PATH нет `{binary}`. Закрепите его через `ctxray harness add {harness}`","capture.exited":"{harness} завершился раньше теста (код выхода {code})","capture.output":"Вывод","capture.trace":"Трейс","capture.ended":"Сессия уже закончилась: начните новую через startSession()","capture.egress":"{harness} пытался выйти в сеть мимо ctxray: {hosts}","activate.failed":"{subject} загружался с долей {rate} [{low}–{high}, ДИ 95 %]","activate.inconclusive":"{subject} загружался с долей {rate} [{low}–{high}, ДИ 95 %]: сэмплов пока мало, чтобы судить","activate.runs":"Прогоны","activate.threshold":"Порог","activate.needed":"Сколько всего сэмплов нужно","activate.notRuns":"{matcher} принимает прогоны из test.activate(), а не {received}","activate.emptySet":"anyOf() не получил ни правил, ни скиллов","activate.noPrompts":"Дайте тесту prompt или списки positive и negative","activate.noBackend":"L6 и L7 нужна модель: запустите с --backend replay или --backend real","run.timeout":"Сессия шла дольше {ms} мс","cassette.none":"Для этого теста на {harness} нет кассеты: запишите её с --backend real --record","cassette.miss":"В кассете нет ответа на {path} на ходу {turn}: харнесс пошёл другим путём. Перезапишите её с --backend real --record","test.needsBackend":"нужен --backend replay или real","test.budget":"бюджет исчерпан","test.cost":"Модель","test.dollars":"${amount}","test.modelTokens":{one:"{count} токен",few:"{count} токена",many:"{count} токенов",other:"{count} токена"},"test.unpriced":"нет цены для {models}","test.cassettes":{one:"записана {count} кассета",few:"записаны {count} кассеты",many:"записано {count} кассет",other:"записано {count} кассеты"},"tokens.exactFailed":"Провайдер не смог посчитать запрос {protocol}: {message}","report.total":"всего","report.startingContext":"Стартовый контекст, токены","report.against":"Относительно {ref}","report.changes":"Изменения","report.failures":"Упали","report.full":"Полный отчёт: {path}","html.needsScript":"Этому отчёту нужен JavaScript. Данные лежат рядом, в report.json.","html.tokens":{one:"{count} токен",few:"{count} токена",many:"{count} токенов",other:"{count} токена"},"html.tokensUnit":{one:"токен",few:"токена",many:"токенов",other:"токена"},"html.seconds":"{seconds} с","html.ms":"{ms} мс","html.language":"Язык","html.theme":"Светлая или тёмная тема","html.tab.overview":"Обзор","html.tab.tests":"Тесты","html.tab.context":"Контекст","html.tab.evals":"Активация","html.tab.coverage":"Покрытие","html.tab.diff":"Разница","html.layers":"Слои","html.harnesses":"ИИ-харнессы","html.tiers":"Уровни захвата","html.startingContext":"Стартовый контекст","html.runsLoaded":{one:"загрузился в {loaded} из {count} прогона",few:"загрузился в {loaded} из {count} прогонов",many:"загрузился в {loaded} из {count} прогонов",other:"загрузился в {loaded} из {count} прогона"},"html.needed":{one:"Всего нужен {count} сэмпл, чтобы судить",few:"Всего нужно {count} сэмпла, чтобы судить",many:"Всего нужно {count} сэмплов, чтобы судить",other:"Всего нужно {count} сэмпла, чтобы судить"},"html.turn":"ход {turn}","html.reason.unsupported":"ИИ-харнесс не умеет того, что нужно тесту","html.reason.filtered":"Отфильтрован --layer или --filter","html.reason.unavailable":"Здесь ctxray не может это запустить","html.reason.backend":"Нужен --backend replay или real","html.reason.budget":"Бюджет прогона исчерпан","html.all":"Все","html.search":"Найти тест","html.test":"Тест","html.nothing":"Ни один тест не подходит","html.component":"Компонент","html.component.system":"Системный промпт","html.component.tools":"Встроенные инструменты","html.component.rules":"Правила","html.component.skills":"Скиллы","html.component.mcp":"MCP","html.component.commands":"Команды","html.component.framing":"Обрамление","html.component.messages":"Разговор","html.startAndPeak":"Старт и пик самой большой сессии","html.start":"Старт","html.peak":"Пик","html.added":"Добавилось по ходу сессии:","html.nothingAdded":"По ходу сессии ничего не добавилось","html.noContext":"В этом прогоне ни один ИИ-харнесс не запускался, поэтому снятого контекста нет. ctxray inspect покажет, что каждый харнесс читает из файлов.","html.byComponent":"Токены по компонентам","html.exact":"Посчитано провайдером ({method})","html.approx":"Оценено локальным токенайзером ({method}): помечено ≈","html.noSessions":"Ни одна сессия этого харнесса не прошла дальше первого запроса","html.everyPiece":"Каждый элемент контекста","html.piece":"Элемент","html.tokensHead":"Токены","html.provenance":"Источник · причина · доказательство","html.rates":"Доли активации","html.ratesHint":"Точка — доля, полоса — её 95-процентный интервал, линия — порог. Тест проходит, только если вся полоса по нужную сторону порога.","html.untested":{one:"{count} правило или скилл, на которые не смотрел ни один тест",few:"{count} правила и скилла, на которые не смотрел ни один тест",many:"{count} правил и скиллов, на которые не смотрел ни один тест",other:"{count} правила и скилла, на которые не смотрел ни один тест"},"html.dead":{one:"{count} правило, под глобы которого не подходит ни один файл",few:"{count} правила, под глобы которых не подходит ни один файл",many:"{count} правил, под глобы которых не подходит ни один файл",other:"{count} правила, под глобы которых не подходит ни один файл"},"html.noPrompts":{one:"{count} выбирается по описанию, но ни один eval его не загрузил",few:"{count} выбираются по описанию, но ни один eval их не загрузил",many:"{count} выбираются по описанию, но ни один eval их не загрузил",other:"{count} выбираются по описанию, но ни один eval их не загрузил"},"html.noChanges":"Loadout не изменился","html.change.added":"добавлено","html.change.removed":"убрано","html.change.changed":"изменился размер","expect.notRequest":"{matcher} принимает запрос из session.nextRequest(), а не {received}","drift.found":"Расхождение резолвера: {harness} {version} загружает не то, что предсказывает ctxray. Если {harness} изменил это намеренно, адаптер ctxray для него нужно обновить","drift.onlyHarness":"Только в ИИ-харнессе","drift.onlyResolver":"Только в предсказании","snapshot.missing":"Снапшот «{key}» ещё не записан","snapshot.mismatch":"Loadout расходится со снапшотом «{key}»","snapshot.changed":"Изменилось","snapshot.more":"Ещё изменений","provision.unsupported":'ctxray пока не умеет ставить {harness}: укажите `source: "system"` и положите его в PATH',"provision.noVersion":"У {harness} нет версии под «{range}»","provision.noBuilds":"У {harness} {version} нет сборки ни для одной известной ctxray платформы","provision.noBuild":"У {harness} {version} нет сборки для {platform}","provision.readOnly":"Ни в одну папку кеша нельзя писать: {dirs}","provision.badIntegrity":"У {package} в ctxray.lock нет хеша sha512","provision.integrity":"{package} не совпадает с ctxray.lock: ожидался {expected}, пришёл {actual}","provision.noBinary":"В {package} нет `{bin}`","provision.notInArchive":"{package} нет в {archive}","provision.unreachable":"Не удалось достучаться до {url}: {message}","provision.httpError":"{url} ответил {status}","lock.unreadable":"{file} — не JSON: {message}","lock.invalid":"{file} сломан в {where}: {message}","lock.missing":"{harness} нет в ctxray.lock: выполните `ctxray harness add {harness}`","lock.missingSystem":"{harness} из PATH нет в ctxray.lock: выполните `ctxray harness add {harness}`, чтобы записать его версию","lock.sourceChanged":"ctxray.lock ставит {harness} из `{locked}`, а в конфиге `{configured}`: выполните `ctxray harness add {harness}`","lock.rangeChanged":"В ctxray.lock {harness} {locked}, а конфиг просит {configured}: выполните `ctxray harness add {harness}`","help.subcommand":"<подкоманда>","help.subcommandsTitle":"Подкоманды","error.noSubcommand":"Команде `ctxray {command}` нужна подкоманда","error.unknownSubcommand":"У `ctxray {command}` нет подкоманды «{name}»","provision.offline":"Включён офлайн-режим: ctxray не пойдёт в {url}. Выключите `offline` или CTXRAY_OFFLINE либо поставьте харнессы через `ctxray harness install --from <архив>`","provision.notInstalled":"{harness} {version} нет в кеше: выполните `ctxray harness install` или уберите `--no-install`","command.harness":"Поставить харнессы из ctxray.lock или закрепить новые","harness.add":"Закрепить харнессы в ctxray.lock: `add codex@0.169.x claude-code`","harness.install":"Поставить на эту машину все харнессы из ctxray.lock","harness.list":"Показать закреплённые харнессы и есть ли они на этой машине","harness.pack":"Собрать закреплённые сборки в один архив для `install --from`","option.only":"Только эти харнессы, через запятую","option.frozen":"Падать, если ctxray.lock не совпадает с конфигом. В CI включён сам","option.from":"Поставить из архива `ctxray harness pack`, без registry","option.output":"Файл, куда писать","option.platform":"Платформы для архива, например darwin-arm64,linux-x64-glibc, или all. По умолчанию — платформа этой машины","units.megabytes":"{value} МБ","units.gigabytes":"{value} ГБ","harness.unknown":"Неизвестный харнесс «{name}». ctxray знает {known}","harness.notOnPath":"{harness} нет в PATH: ctxray не нашёл `{binary}`","harness.noLockfile":"{file} ещё нет: закрепите харнессы через `ctxray harness add`","harness.addWhat":"Назовите харнессы, например `ctxray harness add codex claude-code@2.x`","harness.fromPath":"PATH","harness.fromCache":"из кеша","harness.installed":"установлен за {time}","harness.added":"добавлен","harness.was":"был {version}","harness.lockWritten":"Записан {file}","harness.waiting":"{harness} уже ставит другой процесс ctxray, ждём…","harness.unpacking":"Распаковываем {harness}…","harness.downloading":"Скачиваем {harness}","harness.pathDiffers":"в ctxray.lock {locked}","harness.missingOnPath":"нет в PATH","harness.frozenFailed":"ctxray.lock не совпадает с конфигом, а --frozen не разрешает менять его. Выполните `ctxray harness add` и закоммитьте ctxray.lock","harness.nothingLocked":"В ctxray.lock нет харнессов: добавьте их через `ctxray harness add`","harness.platform":"Платформа: {platform}","harness.notLocked":"нет в ctxray.lock","harness.inCache":"в кеше","harness.notInCache":"не установлен здесь","harness.packed":{one:"{count} сборка упакована в {file}, {size}",few:"{count} сборки упакованы в {file}, {size}",many:"{count} сборок упаковано в {file}, {size}",other:"{count} сборки упаковано в {file}, {size}"},"command.mcp":"Отдать inspect, test и diff агенту по MCP через stdin и stdout","option.mcpHarness":"Харнессы, на которые смотрит вызов инструмента, если сам их не назвал, например claude-code","command.spectate":"Наблюдать за вашими сессиями Claude Code и Cursor через их hooks","spectate.show":"Показать, что загрузили последние сессии (по умолчанию)","spectate.install":"Добавить hooks ctxray в ваши настройки Claude Code и hooks.json Cursor","spectate.uninstall":"Убрать hooks ctxray","option.spectateHarness":"Hooks или сессии только этих харнессов, например claude-code-desktop,cursor-ide","option.last":"Сколько последних сессий показать, по умолчанию 5","spectate.added":"{file}: hook ctxray на {events}","spectate.removed":"{file}: hook ctxray убран из {events}","spectate.already":"В {file} hooks ctxray уже есть","spectate.none":"В {file} hooks ctxray нет","spectate.badFile":"{file} — не валидный JSON, ctxray его не трогает: {message}","spectate.where":"Hooks пишут в {dir}, и ничего не покидает эту машину","spectate.next":"Работайте как обычно, потом запустите `ctxray spectate` и посмотрите, что загрузила каждая сессия","spectate.noHooks":"У {harnesses} нет hooks, через которые наблюдает ctxray: их запускает `ctxray test`","spectate.badLast":"--last принимает число сессий, а не «{value}»","spectate.empty":"Сессий пока нет. Добавьте hooks через `ctxray spectate install` и работайте как обычно","spectate.log":"Журнал: {dir}","spectate.prompts":{one:"{count} запрос",few:"{count} запроса",many:"{count} запросов",other:"{count} запроса"},"spectate.loaded":"Загружено","spectate.atStart":"при старте","spectate.onRead":"при чтении {file}","spectate.onGlob":"по глобу, при чтении {file}","spectate.imported":"импорт из {file}","spectate.read":{one:"Прочитан {count} файл",few:"Прочитано {count} файла",many:"Прочитано {count} файлов",other:"Прочитано {count} файла"},"spectate.resolved":"Что предсказывает L3 для этих файлов по текущему проекту (hooks Cursor правила не называют)","option.session":"Показать, что загрузила одна сессия Claude Code, по её id: так спрашивает `/ctxray` плагина","option.pluginRoot":"Где лежит плагин ctxray: то, что он загружает, в итоги не входит","session.total":"В контексте","session.system":"Системный промпт","session.tools":"Встроенные инструменты","session.mcpTools":{one:"{count} инструмент, отложено {deferred}",few:"{count} инструмента, отложено {deferred}",many:"{count} инструментов, отложено {deferred}",other:"{count} инструмента, отложено {deferred}"},"session.builtin":"встроен в Claude Code","session.conversation":"Переписка","session.request":{one:"{count} запрос в сессии",few:"{count} запроса в сессии",many:"{count} запросов в сессии",other:"{count} запроса в сессии"},"session.own":"Сам ctxray: ≈ {tokens}, в итоги не входит","session.missing":"Сессии {id} нет ни в журнале ctxray, ни в транскриптах Claude Code","session.noRequests":"У сессии {id} пока нет запросов, которые ctxray может прочитать: старые версии Claude Code не пишут их в транскрипт","command.cache":"Показать или почистить кеш харнессов, общий для всех проектов на машине","cache.dir":"Напечатать папку кеша, для шагов кеширования в CI","cache.ls":"Показать сборки харнессов в кеше","cache.prune":"Удалить сборки, которыми давно не пользовались. Закреплённые в ctxray.lock остаются","option.olderThan":"Удалять сборки, которыми не пользовались столько дней, по умолчанию 30","option.pruneAll":"Удалить все сборки, которых нет в ctxray.lock, даже свежие","cache.badDays":"«{value}» — не число дней","cache.layer":"{dir} (только чтение)","cache.empty":"В кеше пока нет харнессов","cache.shared":"слой только для чтения","cache.used":"использовалась {date}","cache.total":{one:"{count} сборка, {size}",few:"{count} сборки, {size}",many:"{count} сборок, {size}",other:"{count} сборки, {size}"},"cache.nothingToPrune":"Удалять нечего: все сборки либо использовались недавно, либо закреплены в ctxray.lock","cache.pruned":{one:"Удалена {count} сборка, освобождено {size}",few:"Удалено {count} сборки, освобождено {size}",many:"Удалено {count} сборок, освобождено {size}",other:"Удалено {count} сборки, освобождено {size}"},"option.record":"С --backend real сохранить ответы модели кассетами для --backend replay","option.budget":"Сколько долларов может потратить прогон с --backend real","test.badBudget":"--budget принимает доллары, например 2.50, а не «{value}»","command.calibrate":"Измерить, как токенайзер провайдера считает относительно o200k, вашим ключом","option.provider":"Провайдер модели","option.model":"Модель, которой считать","option.calibrationOut":"Записать коэффициенты в этот файл, а не выводить их","calibrate.usage":"Укажите провайдера ({providers}) и модель: ctxray calibrate --provider anthropic --model claude-opus-5-5","calibrate.failed":"Провайдер не смог посчитать: {message}","calibrate.title":"{provider} {model} относительно o200k","calibrate.pieces":{one:"{count} фрагмент",few:"{count} фрагмента",many:"{count} фрагментов",other:"{count} фрагмента"},"calibrate.written":"Коэффициенты записаны в {file}","command.genPrompts":"Написать промпты для L6 по описаниям правил и скиллов, в файл для ревью","option.fromDescriptions":"Писать по описанию каждого правила и скилла, которые модель выбирает по описанию","option.promptsOut":"JSON-файл, куда писать, для corpus() в тесте","option.generatorModel":"Модель, которая пишет, по умолчанию claude-opus-5-5: не та, что под тестом","option.promptCount":"Сколько промптов каждого вида на правило или скилл, по умолчанию 5","genPrompts.usage":"ctxray gen-prompts --from-descriptions --out prompts/intents.json пишет промпты в файл","genPrompts.offline":"Чтобы написать промпты, нужно спросить модель, а ctxray работает офлайн","test.offline":"--backend real обращается к модели, а ctxray работает офлайн: записанные ответы воспроизводит --backend replay","calibrate.offline":"Калибровка считает токены у провайдера, а ctxray работает офлайн","genPrompts.exists":"{file} уже есть: проверьте его или передайте --force, чтобы записать заново","genPrompts.sameModel":{one:"{harnesses} тоже работает на {model}: промпты от тестируемой модели завышают её recall",few:"{harnesses} тоже работают на {model}: промпты от тестируемой модели завышают её recall",many:"{harnesses} тоже работают на {model}: промпты от тестируемой модели завышают её recall",other:"{harnesses} тоже работают на {model}: промпты от тестируемой модели завышают её recall"},"genPrompts.nothing":"Здесь нет правил и скиллов, которые модель выбирает по описанию","genPrompts.written":{one:"{file}: {prompts} промптов для {count} правила или скилла",few:"{file}: {prompts} промптов для {count} правил и скиллов",many:"{file}: {prompts} промптов для {count} правил и скиллов",other:"{file}: {prompts} промптов для {count} правила или скилла"},"genPrompts.review":"Прочитайте их, прежде чем тест их возьмёт: корпус заморожен, пока вы не запишете его заново","option.reporter":"Репортеры через запятую: console, html, json, junit, allure, markdown","option.reportLang":"Языки HTML-отчёта через запятую или all","option.reportDir":"Куда класть отчёты, по умолчанию .ctxray/report","test.unknownReporter":"Неизвестный репортер «{name}». Есть такие: {known}","test.unknownReportLang":"Языка «{lang}» для отчётов в ctxray нет. Есть: {known}","test.base":"База","test.baseDelta":{one:"{delta} ({changes} изменение)",few:"{delta} ({changes} изменения)",many:"{delta} ({changes} изменений)",other:"{delta} ({changes} изменения)"},"test.baseline":"Baseline","test.baselineKnown":{one:"{count} находка из {file} не уронила прогон",few:"{count} находки из {file} не уронили прогон",many:"{count} находок из {file} не уронили прогон",other:"{count} находки из {file} не уронили прогон"},"test.report":"Отчёт","command.showReport":"Открыть последний отчёт в браузере, с обновлением во время прогона","option.port":"Порт, по умолчанию свободный","option.open":"Открыть страницу в браузере","showReport.none":"В {dir} нет report.json: сначала запустите ctxray test --reporter json,html","showReport.serving":"Отчёт по адресу","showReport.live":"Страница обновляется после каждого ctxray test. Ctrl+C останавливает","command.diff":"Показать, как loadout изменился относительно другой ревизии, по умолчанию origin/master","option.base":"Ревизия для сравнения, например origin/master","diff.title":"Относительно {ref} ({commit}), как предсказывает L3 в корне проекта","diff.total":"≈ {before} → ≈ {after} токенов файлов","diff.same":"Ничего не изменилось","diff.unknownBase":"Git не знает ревизию «{ref}»: подтяните её или укажите другую через --base","option.watch":"Запускать заново после каждого изменения файлов проекта","test.watching":"Слежу за файлами: изменение перезапускает тесты, Enter запускает сейчас, q останавливает","command.baseline":"Записать находки L1 и L2 в ctxray.baseline.json: дальше прогон падает только на новых","baseline.written":{one:"{file}: {count} находка",few:"{file}: {count} находки",many:"{file}: {count} находок",other:"{file}: {count} находки"},"baseline.hint":"Закоммитьте файл. ctxray test его читает, а ctxray baseline перезаписывает, когда вы что-то исправите","option.noInstall":"Не ставить закреплённый харнесс, которого нет в кеше, а падать","command.doctor":"Проверить, что нужно для L4 и выше: git, сеть, кеш и закреплённые харнессы","doctor.titleSystem":"Система","doctor.titleNetwork":"Сеть","doctor.titleHarnesses":"Харнессы","doctor.ctxray":"ctxray {version} на {platform}","doctor.git":"git {version}","doctor.noGit":"git нет в PATH: L4 и выше копируют им проект","doctor.node":"Node.js {version}","doctor.noNode":"Node.js нет в PATH: MCP-серверы на нём не запустятся","doctor.managed":"В {path} настройки администратора для любого запуска, ctxray не может их изолировать","doctor.sandbox":"sandbox-exec запускает харнессы в песочнице","doctor.noSandbox":"sandbox-exec нет: MCP-серверы и hooks проекта работают без песочницы","doctor.containerSandbox":"На этой системе нет песочницы: запускайте L4 и выше в контейнере, как в CI","doctor.proxy":"Прокси {proxy}","doctor.noProxy":"Прокси нет: запросы идут напрямую","doctor.httpOnlyProxy":"HTTP_PROXY задан, а HTTPS_PROXY нет: сам ctxray шлёт HTTPS через него, а MCP-серверы, которые он запускает, — мимо","doctor.noProxyEntry":"Запись «{entry}» в NO_PROXY в Bun работает не так, как в curl: пишите «{fix}»","doctor.noProxyCidr":"Диапазон «{entry}» в NO_PROXY в Bun не работает: перечислите хосты","doctor.ca":"CA-сертификаты из {file}","doctor.caMissing":"CA-файла {file} нет","doctor.caNotPem":"В {file} нет PEM-сертификата","doctor.systemCa":"Системному хранилищу сертификатов тоже доверяем","doctor.registry":"npm registry {registry}","doctor.npmrcCa":{one:"{count} CA-сертификат из .npmrc",few:"{count} CA-сертификата из .npmrc",many:"{count} CA-сертификатов из .npmrc",other:"{count} CA-сертификата из .npmrc"},"doctor.offline":"Офлайн-режим: ctxray не ходит в registry","doctor.registryUp":"Registry отвечает ({status})","doctor.registryDown":"Registry не отвечает: {message}","doctor.cache":{one:"Кеш {dir}: {count} сборка, {size} МБ",few:"Кеш {dir}: {count} сборки, {size} МБ",many:"Кеш {dir}: {count} сборок, {size} МБ",other:"Кеш {dir}: {count} сборки, {size} МБ"},"doctor.cacheReadOnly":"Ни в одну папку кеша нельзя писать: {dirs}","doctor.cacheLayer":"Слой кеша только для чтения {dir}","doctor.noLockfile":"{file} нет: харнессы берутся из PATH. Закрепите их через `ctxray harness add`","doctor.lockfile":"Lockfile {file}","doctor.fromPath":"{harness} {version} из PATH","doctor.systemMissing":"{harness} нет в PATH, а ctxray.lock берёт его оттуда","doctor.systemDiffers":"В PATH {harness} {version}, а в ctxray.lock {locked}","doctor.noBuild":"У {harness} {version} нет сборки для {platform}","doctor.installed":"{harness} {version} установлен","doctor.noRuntime":"{harness} работает на {runtime}, а {runtime} нет в PATH","doctor.notInstalled":"{harness} {version} ещё не установлен: его поставит `ctxray harness install` или первый прогон","doctor.errors":{one:"{count} ошибка",few:"{count} ошибки",many:"{count} ошибок",other:"{count} ошибки"},"doctor.warnings":{one:"{count} предупреждение",few:"{count} предупреждения",many:"{count} предупреждений",other:"{count} предупреждения"},"doctor.healthy":"Всё, что нужно для L4 и выше, на месте","harness.upgrade":"Обновить закреплённый харнесс до новой версии и показать, как меняется его loadout","option.dryRun":"Показать обновление, не записывая ctxray.lock","harness.upgradeWhat":"Назовите харнессы, например `ctxray harness upgrade codex`","harness.upgradeSystem":"{harness} берётся из PATH: обновите его там и выполните `ctxray harness add {harness}`","harness.captureFailed":"Не удалось снять loadout: {message}","harness.capturing":"Снимаем стартовый контекст {harness} {version}…","harness.upToDate":"{version} — самая новая версия, которую разрешает диапазон","harness.startingContext":"Стартовый контекст","harness.sameLoadout":"Loadout не изменился","harness.dryRun":"Пробный запуск: ctxray.lock не изменился","npm.missing":"Исполняемого файла ctxray здесь нет: npm не поставил {package} для {platform}. Переустановите без --omit=optional или поставьте ctxray иначе: https://github.com/MairwunNx/ctxray/blob/master/README.RU.md#установка","npm.skew":"@mairwunnx/ctxray версии {version}, а пакет с исполняемым файлом {package} — версии {binary}. Переустановите пакет, чтобы версии совпали","npm.outside":"@mairwunnx/ctxray даёт редактору типы, а запускает эти файлы ctxray: ctxray test"};var r={en:w,ru:b},s="en";var v=(e)=>{let n=e?.trim();if(!n||n.toLowerCase()==="auto")return;let t=n.split(/[_.@-]/)[0]?.toLowerCase();if(!t||t==="c"||t==="posix")return;return/^[a-z]{2,3}$/.test(t)?t:void 0},m=(e,n)=>{let{env:t}=e,l=[e.flag,t.CTXRAY_LANG,e.config,t.LC_ALL,t.LC_MESSAGES,t.LANG,e.windowsUiLocale,e.intlLocale];for(let d of l){let a=v(d);if(a)return n.includes(a)?a:s}return s};var N=(e,n,t)=>{if(typeof e==="string")return e;return(t===void 0?void 0:e[n.select(t)])??e.other},u=(e,n=r,t=()=>{})=>{let l=new Intl.PluralRules(e),d=new Intl.NumberFormat(e),a=new Intl.ListFormat(e,{type:"conjunction"}),S=n[e],A=n[s];return(c,h={})=>{let k=S?.[c];if(k===void 0)t(c,e);let x=k??A?.[c];if(x===void 0)return c;let R=typeof h.count==="number"?h.count:void 0;return N(x,l,R).replace(/\{(\w+)\}/g,(M,O)=>{let o=h[O];if(o===void 0)return M;if(typeof o==="number")return d.format(o);return typeof o==="string"?o:a.format(o)})}};var p=u(m({env:process.env,intlLocale:Intl.DateTimeFormat().resolvedOptions().locale},Object.keys(r)));var E=D(import.meta.url),P=(e)=>JSON.parse(I(e,"utf8")).version,U=()=>{try{return F("/lib").some((e)=>e.startsWith("ld-musl-"))}catch{return!1}},f=process.platform==="win32"?"windows":process.platform,L=`${f}-${process.arch}${f==="linux"&&U()?"-musl":""}`,y=`@mairwunnx/ctxray-${L}`,g;try{g=E.resolve(`${y}/package.json`)}catch{console.error(p("npm.missing",{platform:L,package:y})),process.exit(1)}var C=P(B(new URL("../package.json",import.meta.url))),T=P(g);if(T!==C)console.error(p("npm.skew",{version:C,package:y,binary:T}));var W=j(z(g),f==="windows"?"ctxray.exe":"ctxray"),i=H(W,process.argv.slice(2),{stdio:"inherit"});if(i.error)throw i.error;if(i.signal)process.kill(process.pid,i.signal);process.exit(i.status??1);