Skip to content

Commit bc7d92a

Browse files
committed
Enhance claude CLI with intuitive auto-fix defaults and watch mode
- Add parallel execution by default (3 workers) - Make auto-fix with accuracy the default for --fix command - Replace --no-auto with --prompt flag for manual approval mode - Add --watch flag for continuous monitoring - Add smart context loading for better performance - Add caching system with 5-minute TTL - Improve model selection strategy (pinky vs the-brain) - Add local run instructions to build output - Remove separate super-saiyan file, integrate capabilities as defaults
1 parent 230a15e commit bc7d92a

File tree

2 files changed

+882
-122
lines changed

2 files changed

+882
-122
lines changed

scripts/build.mjs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,12 @@ async function main() {
292292
if (existsSync(nodePath)) {
293293
const stats = statSync(nodePath)
294294
const sizeMB = (stats.size / 1024 / 1024).toFixed(1)
295+
const relativeNodePath = path.relative(process.cwd(), nodePath)
295296
printFooter(`Node.js built successfully! Size: ${sizeMB}MB`)
296297
console.log(`\n✨ To run locally:`)
297-
console.log(` ${nodePath} [script.js]`)
298+
console.log(` ./${relativeNodePath} [script.js]`)
298299
console.log(` # Or use with Socket CLI:`)
299-
console.log(` ${nodePath} bin/cli.js [command]`)
300+
console.log(` ./${relativeNodePath} bin/cli.js [command]`)
300301
} else {
301302
printFooter('Node.js built successfully!')
302303
console.log(`\n✨ To run locally:`)
@@ -325,12 +326,13 @@ async function main() {
325326
const stubExt = WIN32 ? '.exe' : ''
326327
const stubPath = path.join(rootPath, 'binaries', 'stub', `socket-${platformName}-${process.arch}${stubExt}`)
327328

329+
const relativeStubPath = path.relative(process.cwd(), stubPath)
328330
printFooter('Stub/SEA binary built successfully!')
329331
console.log(`\n✨ To run locally:`)
330-
console.log(` ${stubPath} [command]`)
332+
console.log(` ./${relativeStubPath} [command]`)
331333
console.log(` # Examples:`)
332-
console.log(` ${stubPath} --help`)
333-
console.log(` ${stubPath} scan .`)
334+
console.log(` ./${relativeStubPath} --help`)
335+
console.log(` ./${relativeStubPath} scan .`)
334336
}
335337
return
336338
}

0 commit comments

Comments
 (0)