Skip to content

Commit 4936ec8

Browse files
committed
feat: implement Claude CLI-inspired enhancements
- Add AI-powered natural language command interface (socket ai) - Add interactive fix mode for guided vulnerability remediation - Add project context awareness (auto-detect npm/yarn/pnpm/monorepos) - Add rich progress indicators for better UX - Add intelligent offline caching with TTL support - Auto-suggest commands based on project type and framework - Support 'socket ai "scan for vulnerabilities"' style commands - Detect and provide contextual help for React, Vue, Angular, etc
1 parent 7f5ad4e commit 4936ec8

File tree

5 files changed

+1386
-0
lines changed

5 files changed

+1386
-0
lines changed

src/commands.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ import { cmdUv } from './commands/uv/cmd-uv.mts'
3737
import { cmdWhoami } from './commands/whoami/cmd-whoami.mts'
3838
import { cmdWrapper } from './commands/wrapper/cmd-wrapper.mts'
3939
import { cmdYarn } from './commands/yarn/cmd-yarn.mts'
40+
import { cmdAi } from './commands/ai/cmd-ai.mts'
4041
import { isSeaBinary } from './utils/sea.mts'
4142

4243
export const rootCommands = {
44+
ai: cmdAi,
4345
analytics: cmdAnalytics,
4446
'audit-log': cmdAuditLog,
4547
cargo: cmdCargo,

0 commit comments

Comments
 (0)