Skip to content

100x is a skill by a former Cursor engineer that turns prompts into formally verified, production-ready code

Write the CLI link in doctor with the separator of the system

Glitcha3d93062981f
diff --git a/lib/doctor.mjs b/lib/doctor.mjs
index a89b262..334a971 100644
--- a/lib/doctor.mjs
+++ b/lib/doctor.mjs
@@ -206,7 +206,7 @@ export async function runDoctor({ deep = false } = {}) {
} else {
add('home', 'ok', home);
const bin = linkState(path.join(home, 'bin', '100x'), path.join(REPO_ROOT, 'bin', '100x.mjs'));
- add('cli link', bin === 'ok' ? 'ok' : bin === 'missing' ? 'warn' : 'fail', `${home}/bin/100x is ${bin}`, bin === 'ok' ? '' : INSTALL);
+ add('cli link', bin === 'ok' ? 'ok' : bin === 'missing' ? 'warn' : 'fail', `${path.join(home, 'bin', '100x')} is ${bin}`, bin === 'ok' ? '' : INSTALL);
const onPath = (process.env.PATH ?? '').split(path.delimiter).some((entry) => entry && (linkState(path.join(entry, '100x'), path.join(REPO_ROOT, 'bin', '100x.mjs')) === 'ok' || npmShimRuns(path.join(entry, '100x.cmd'))));
add('on PATH', onPath ? 'ok' : 'warn', onPath ? '`100x` resolves in this shell' : '`100x` is not on PATH in this shell', onPath ? '' : `Call ${path.join(home, 'bin', isWindows ? '100x.cmd' : '100x')}, or put ${isWindows ? path.join(os.homedir(), '.local', 'bin') : '~/.local/bin'} on PATH.`);
add('profile', fs.existsSync(path.join(home, 'profile.md')) ? 'ok' : 'warn', path.join(home, 'profile.md'), 'Run `100x install`. It writes a default profile.');