notoken-core 1.5.1 → 1.8.0
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/config/ascii-art.json +12 -0
- package/config/chat-responses.json +1019 -0
- package/config/cheat-sheets.json +94 -0
- package/config/concept-clusters.json +31 -0
- package/config/daily-tips.json +105 -0
- package/config/entities.json +93 -0
- package/config/history-today.json +9762 -0
- package/config/image-prompts.json +20 -0
- package/config/intent-vectors.json +1 -0
- package/config/intents.json +5431 -67
- package/config/ollama-models.json +193 -0
- package/config/rules.json +32 -1
- package/config/startup-quotes.json +45 -0
- package/dist/automation/discordPatchright.d.ts +35 -0
- package/dist/automation/discordPatchright.js +424 -0
- package/dist/automation/discordSetup.d.ts +31 -0
- package/dist/automation/discordSetup.js +338 -0
- package/dist/automation/smAutomation.d.ts +82 -0
- package/dist/automation/smAutomation.js +448 -0
- package/dist/conversation/coreference.js +44 -4
- package/dist/conversation/pendingActions.d.ts +55 -0
- package/dist/conversation/pendingActions.js +127 -0
- package/dist/conversation/store.d.ts +72 -0
- package/dist/conversation/store.js +140 -1
- package/dist/conversation/topicTracker.d.ts +36 -0
- package/dist/conversation/topicTracker.js +141 -0
- package/dist/execution/ssh.d.ts +42 -1
- package/dist/execution/ssh.js +538 -3
- package/dist/handlers/executor.d.ts +2 -0
- package/dist/handlers/executor.js +4234 -31
- package/dist/index.d.ts +35 -4
- package/dist/index.js +51 -3
- package/dist/nlp/batchParser.d.ts +30 -0
- package/dist/nlp/batchParser.js +77 -0
- package/dist/nlp/conceptExpansion.d.ts +54 -0
- package/dist/nlp/conceptExpansion.js +136 -0
- package/dist/nlp/conceptRouter.d.ts +49 -0
- package/dist/nlp/conceptRouter.js +302 -0
- package/dist/nlp/confidenceCalibrator.d.ts +62 -0
- package/dist/nlp/confidenceCalibrator.js +116 -0
- package/dist/nlp/correctionLearner.d.ts +45 -0
- package/dist/nlp/correctionLearner.js +207 -0
- package/dist/nlp/entitySpellCorrect.d.ts +35 -0
- package/dist/nlp/entitySpellCorrect.js +141 -0
- package/dist/nlp/knowledgeGraph.d.ts +70 -0
- package/dist/nlp/knowledgeGraph.js +380 -0
- package/dist/nlp/llmFallback.js +28 -1
- package/dist/nlp/multiClassifier.js +91 -6
- package/dist/nlp/multiIntent.d.ts +43 -0
- package/dist/nlp/multiIntent.js +154 -0
- package/dist/nlp/parseIntent.d.ts +6 -1
- package/dist/nlp/parseIntent.js +180 -5
- package/dist/nlp/ruleParser.js +317 -0
- package/dist/nlp/semanticSimilarity.d.ts +30 -0
- package/dist/nlp/semanticSimilarity.js +174 -0
- package/dist/nlp/vocabularyBuilder.d.ts +43 -0
- package/dist/nlp/vocabularyBuilder.js +224 -0
- package/dist/nlp/wikidata.d.ts +49 -0
- package/dist/nlp/wikidata.js +228 -0
- package/dist/policy/confirm.d.ts +10 -0
- package/dist/policy/confirm.js +39 -0
- package/dist/policy/safety.js +6 -4
- package/dist/types/intent.d.ts +8 -0
- package/dist/types/intent.js +1 -0
- package/dist/utils/achievements.d.ts +38 -0
- package/dist/utils/achievements.js +126 -0
- package/dist/utils/aliases.d.ts +5 -0
- package/dist/utils/aliases.js +39 -0
- package/dist/utils/analysis.js +71 -15
- package/dist/utils/bookmarks.d.ts +13 -0
- package/dist/utils/bookmarks.js +51 -0
- package/dist/utils/browser.d.ts +64 -0
- package/dist/utils/browser.js +364 -0
- package/dist/utils/commandHistory.d.ts +20 -0
- package/dist/utils/commandHistory.js +108 -0
- package/dist/utils/completer.d.ts +17 -0
- package/dist/utils/completer.js +79 -0
- package/dist/utils/config.js +32 -2
- package/dist/utils/dbQuery.d.ts +25 -0
- package/dist/utils/dbQuery.js +248 -0
- package/dist/utils/devTools.d.ts +35 -0
- package/dist/utils/devTools.js +95 -0
- package/dist/utils/discordDiag.d.ts +35 -0
- package/dist/utils/discordDiag.js +826 -0
- package/dist/utils/diskCleanup.d.ts +36 -0
- package/dist/utils/diskCleanup.js +775 -0
- package/dist/utils/entityResolver.d.ts +107 -0
- package/dist/utils/entityResolver.js +468 -0
- package/dist/utils/imageGen.d.ts +92 -0
- package/dist/utils/imageGen.js +2031 -0
- package/dist/utils/installTracker.d.ts +57 -0
- package/dist/utils/installTracker.js +160 -0
- package/dist/utils/multiExec.d.ts +21 -0
- package/dist/utils/multiExec.js +141 -0
- package/dist/utils/openclawDiag.d.ts +29 -0
- package/dist/utils/openclawDiag.js +1035 -0
- package/dist/utils/output.js +4 -0
- package/dist/utils/platform.js +2 -1
- package/dist/utils/progressReporter.d.ts +50 -0
- package/dist/utils/progressReporter.js +58 -0
- package/dist/utils/projectDetect.d.ts +44 -0
- package/dist/utils/projectDetect.js +319 -0
- package/dist/utils/projectScanner.d.ts +44 -0
- package/dist/utils/projectScanner.js +312 -0
- package/dist/utils/shellCompat.d.ts +78 -0
- package/dist/utils/shellCompat.js +186 -0
- package/dist/utils/smartArchive.d.ts +16 -0
- package/dist/utils/smartArchive.js +172 -0
- package/dist/utils/smartRetry.d.ts +26 -0
- package/dist/utils/smartRetry.js +114 -0
- package/dist/utils/snippets.d.ts +13 -0
- package/dist/utils/snippets.js +53 -0
- package/dist/utils/stabilityMatrixManager.d.ts +80 -0
- package/dist/utils/stabilityMatrixManager.js +268 -0
- package/dist/utils/teachMode.d.ts +41 -0
- package/dist/utils/teachMode.js +100 -0
- package/dist/utils/timer.d.ts +22 -0
- package/dist/utils/timer.js +52 -0
- package/dist/utils/updater.d.ts +1 -0
- package/dist/utils/updater.js +1 -1
- package/dist/utils/version.d.ts +20 -0
- package/dist/utils/version.js +212 -0
- package/package.json +6 -3
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sheets": {
|
|
3
|
+
"docker": {
|
|
4
|
+
"title": "Docker Cheat Sheet",
|
|
5
|
+
"commands": [
|
|
6
|
+
{"cmd": "docker run -d --name <name> <image>", "desc": "Run a container in detached mode"},
|
|
7
|
+
{"cmd": "docker build -t <tag> .", "desc": "Build image from Dockerfile in current directory"},
|
|
8
|
+
{"cmd": "docker ps", "desc": "List running containers"},
|
|
9
|
+
{"cmd": "docker ps -a", "desc": "List all containers (including stopped)"},
|
|
10
|
+
{"cmd": "docker stop <container>", "desc": "Stop a running container"},
|
|
11
|
+
{"cmd": "docker rm <container>", "desc": "Remove a stopped container"},
|
|
12
|
+
{"cmd": "docker logs -f <container>", "desc": "Follow container logs"},
|
|
13
|
+
{"cmd": "docker exec -it <container> /bin/sh", "desc": "Open a shell inside a running container"},
|
|
14
|
+
{"cmd": "docker images", "desc": "List all local images"},
|
|
15
|
+
{"cmd": "docker volume ls", "desc": "List all volumes"},
|
|
16
|
+
{"cmd": "docker network ls", "desc": "List all networks"},
|
|
17
|
+
{"cmd": "docker compose up -d", "desc": "Start services defined in docker-compose.yml"},
|
|
18
|
+
{"cmd": "docker compose down", "desc": "Stop and remove compose services"},
|
|
19
|
+
{"cmd": "docker system prune -a", "desc": "Remove all unused images, containers, and networks"},
|
|
20
|
+
{"cmd": "docker inspect <container>", "desc": "Show detailed container/image info as JSON"}
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"git": {
|
|
24
|
+
"title": "Git Cheat Sheet",
|
|
25
|
+
"commands": [
|
|
26
|
+
{"cmd": "git status", "desc": "Show working tree status"},
|
|
27
|
+
{"cmd": "git add <file>", "desc": "Stage file(s) for commit"},
|
|
28
|
+
{"cmd": "git commit -m \"<msg>\"", "desc": "Commit staged changes with a message"},
|
|
29
|
+
{"cmd": "git push origin <branch>", "desc": "Push branch to remote"},
|
|
30
|
+
{"cmd": "git pull", "desc": "Fetch and merge remote changes"},
|
|
31
|
+
{"cmd": "git branch", "desc": "List local branches"},
|
|
32
|
+
{"cmd": "git checkout <branch>", "desc": "Switch to a branch"},
|
|
33
|
+
{"cmd": "git merge <branch>", "desc": "Merge a branch into current branch"},
|
|
34
|
+
{"cmd": "git rebase <branch>", "desc": "Rebase current branch onto another"},
|
|
35
|
+
{"cmd": "git stash", "desc": "Stash uncommitted changes"},
|
|
36
|
+
{"cmd": "git log --oneline -20", "desc": "Show last 20 commits (compact)"},
|
|
37
|
+
{"cmd": "git diff", "desc": "Show unstaged changes"},
|
|
38
|
+
{"cmd": "git reset --soft HEAD~1", "desc": "Undo last commit, keep changes staged"},
|
|
39
|
+
{"cmd": "git cherry-pick <hash>", "desc": "Apply a specific commit to current branch"},
|
|
40
|
+
{"cmd": "git tag -a v1.0 -m \"<msg>\"", "desc": "Create an annotated tag"}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"nginx": {
|
|
44
|
+
"title": "Nginx Cheat Sheet",
|
|
45
|
+
"commands": [
|
|
46
|
+
{"cmd": "sudo systemctl start nginx", "desc": "Start nginx service"},
|
|
47
|
+
{"cmd": "sudo systemctl stop nginx", "desc": "Stop nginx service"},
|
|
48
|
+
{"cmd": "sudo systemctl reload nginx", "desc": "Reload config without downtime"},
|
|
49
|
+
{"cmd": "sudo nginx -t", "desc": "Test configuration for syntax errors"},
|
|
50
|
+
{"cmd": "tail -f /var/log/nginx/access.log", "desc": "Follow the access log"},
|
|
51
|
+
{"cmd": "tail -f /var/log/nginx/error.log", "desc": "Follow the error log"},
|
|
52
|
+
{"cmd": "ls /etc/nginx/sites-available/", "desc": "List available virtual host configs"},
|
|
53
|
+
{"cmd": "sudo certbot --nginx -d <domain>", "desc": "Set up SSL with Let's Encrypt"},
|
|
54
|
+
{"cmd": "proxy_pass http://localhost:3000;", "desc": "Reverse proxy to a backend (in location block)"},
|
|
55
|
+
{"cmd": "return 301 https://$host$request_uri;", "desc": "Redirect HTTP to HTTPS (in server block)"}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"linux": {
|
|
59
|
+
"title": "Linux Cheat Sheet",
|
|
60
|
+
"commands": [
|
|
61
|
+
{"cmd": "ls -la", "desc": "List all files with details and hidden files"},
|
|
62
|
+
{"cmd": "cd <dir>", "desc": "Change directory"},
|
|
63
|
+
{"cmd": "cp -r <src> <dest>", "desc": "Copy files/directories recursively"},
|
|
64
|
+
{"cmd": "mv <src> <dest>", "desc": "Move or rename files/directories"},
|
|
65
|
+
{"cmd": "rm -rf <path>", "desc": "Remove files/directories recursively (use with caution)"},
|
|
66
|
+
{"cmd": "chmod 755 <file>", "desc": "Set file permissions (rwxr-xr-x)"},
|
|
67
|
+
{"cmd": "chown user:group <file>", "desc": "Change file owner and group"},
|
|
68
|
+
{"cmd": "find . -name \"*.log\" -mtime +7", "desc": "Find .log files older than 7 days"},
|
|
69
|
+
{"cmd": "grep -rn \"pattern\" <dir>", "desc": "Search for pattern recursively with line numbers"},
|
|
70
|
+
{"cmd": "awk '{print $1}' <file>", "desc": "Print first column of each line"},
|
|
71
|
+
{"cmd": "sed -i 's/old/new/g' <file>", "desc": "Replace all occurrences in-place"},
|
|
72
|
+
{"cmd": "tar -czf archive.tar.gz <dir>", "desc": "Create gzipped tar archive"},
|
|
73
|
+
{"cmd": "curl -s https://example.com", "desc": "Fetch URL silently"},
|
|
74
|
+
{"cmd": "wget -O file.zip <url>", "desc": "Download file from URL"},
|
|
75
|
+
{"cmd": "ssh user@host", "desc": "Connect to remote server via SSH"}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
"npm": {
|
|
79
|
+
"title": "npm Cheat Sheet",
|
|
80
|
+
"commands": [
|
|
81
|
+
{"cmd": "npm install", "desc": "Install all dependencies from package.json"},
|
|
82
|
+
{"cmd": "npm update", "desc": "Update packages to latest compatible versions"},
|
|
83
|
+
{"cmd": "npm run <script>", "desc": "Run a script defined in package.json"},
|
|
84
|
+
{"cmd": "npm test", "desc": "Run the test script"},
|
|
85
|
+
{"cmd": "npm init -y", "desc": "Create a new package.json with defaults"},
|
|
86
|
+
{"cmd": "npm publish", "desc": "Publish package to npm registry"},
|
|
87
|
+
{"cmd": "npm link", "desc": "Symlink package globally for local development"},
|
|
88
|
+
{"cmd": "npm audit fix", "desc": "Fix known security vulnerabilities"},
|
|
89
|
+
{"cmd": "npm outdated", "desc": "Show packages with newer versions available"},
|
|
90
|
+
{"cmd": "npm cache clean --force", "desc": "Clear the npm cache"}
|
|
91
|
+
]
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"synonymClusters": {
|
|
3
|
+
"attack": ["intrusion", "breach", "compromise", "hack", "exploit", "unauthorized", "malware", "virus"],
|
|
4
|
+
"slow": ["sluggish", "laggy", "unresponsive", "hanging", "frozen", "stuck", "crawling"],
|
|
5
|
+
"fast": ["quick", "speedy", "responsive", "snappy"],
|
|
6
|
+
"error": ["bug", "crash", "failure", "exception", "fault", "broken", "issue", "problem"],
|
|
7
|
+
"big": ["large", "huge", "enormous", "massive", "bloated", "oversized"],
|
|
8
|
+
"delete": ["remove", "drop", "purge", "wipe", "destroy", "erase", "clean"],
|
|
9
|
+
"install": ["setup", "deploy", "configure", "provision", "add"],
|
|
10
|
+
"check": ["verify", "test", "validate", "inspect", "examine", "audit", "scan", "diagnose"],
|
|
11
|
+
"restart": ["reboot", "bounce", "cycle", "reload"],
|
|
12
|
+
"stop": ["kill", "halt", "terminate", "shutdown", "disable"],
|
|
13
|
+
"start": ["launch", "boot", "enable", "activate", "spin up"],
|
|
14
|
+
"show": ["display", "list", "print", "view", "get", "see"],
|
|
15
|
+
"bandwidth": ["throughput", "transfer rate", "data rate", "network speed"],
|
|
16
|
+
"space": ["storage", "disk", "capacity", "room"],
|
|
17
|
+
"update": ["upgrade", "patch", "refresh"],
|
|
18
|
+
"backup": ["snapshot", "archive", "save", "preserve"],
|
|
19
|
+
"monitor": ["watch", "observe", "track", "tail", "follow"],
|
|
20
|
+
"connect": ["ssh", "login", "access", "reach"]
|
|
21
|
+
},
|
|
22
|
+
"domainConcepts": {
|
|
23
|
+
"service.*": ["restart", "stop", "start", "check"],
|
|
24
|
+
"server.*": ["check", "monitor"],
|
|
25
|
+
"docker.*": ["restart", "stop", "start", "show"],
|
|
26
|
+
"network.*": ["check", "connect", "bandwidth"],
|
|
27
|
+
"security.*": ["attack", "check"],
|
|
28
|
+
"disk.*": ["space", "big", "delete"],
|
|
29
|
+
"logs.*": ["error", "show", "monitor"]
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tips": [
|
|
3
|
+
"Use Ctrl+R to search command history",
|
|
4
|
+
"Use !! to repeat the last command",
|
|
5
|
+
"Use !$ to reuse the last argument of the previous command",
|
|
6
|
+
"Use cd - to go back to the previous directory",
|
|
7
|
+
"Use Ctrl+A to jump to the beginning of the line",
|
|
8
|
+
"Use Ctrl+E to jump to the end of the line",
|
|
9
|
+
"Use Ctrl+W to delete the word before the cursor",
|
|
10
|
+
"Use Ctrl+U to clear the line before the cursor",
|
|
11
|
+
"Use Ctrl+K to clear the line after the cursor",
|
|
12
|
+
"Use Alt+. to insert the last argument of the previous command",
|
|
13
|
+
"Use 'less +F' as a better alternative to 'tail -f'",
|
|
14
|
+
"Wrap a command in $() to use its output as an argument",
|
|
15
|
+
"Use 'command1 && command2' to run command2 only if command1 succeeds",
|
|
16
|
+
"Use 'command1 || command2' to run command2 only if command1 fails",
|
|
17
|
+
"Use 'tee' to write output to both a file and stdout: cmd | tee file.txt",
|
|
18
|
+
"Add a space before a command to keep it out of history (if HISTCONTROL=ignorespace)",
|
|
19
|
+
"Use 'xargs' to convert stdin to arguments: find . -name '*.log' | xargs rm",
|
|
20
|
+
"Use 'watch -n 5 command' to run a command every 5 seconds",
|
|
21
|
+
"Use 'nohup command &' to run a command that survives logout",
|
|
22
|
+
"Use 'jobs' to see background processes and 'fg %N' to bring one forward",
|
|
23
|
+
"Use 'Ctrl+Z' to suspend a process, then 'bg' to resume it in background",
|
|
24
|
+
"Use 'du -sh *' to see disk usage per item in the current directory",
|
|
25
|
+
"Use 'df -h' to see filesystem disk space usage in human-readable format",
|
|
26
|
+
"Use 'history | grep keyword' to find commands you ran before",
|
|
27
|
+
"Use 'man -k keyword' to search man pages by keyword",
|
|
28
|
+
"Use 'type command' to find out if something is an alias, function, or binary",
|
|
29
|
+
"Use 'which command' to find the full path of a binary",
|
|
30
|
+
"Use 'alias ll=\"ls -la\"' to create a shorthand command",
|
|
31
|
+
"Use 'screen' or 'tmux' to keep sessions alive across disconnects",
|
|
32
|
+
"Use 'ssh-copy-id user@host' to set up passwordless SSH login",
|
|
33
|
+
"Use 'rsync -avz src/ dest/' for efficient file synchronization",
|
|
34
|
+
"Use 'lsof -i :PORT' to see what process is using a specific port",
|
|
35
|
+
"Use 'ss -tlnp' to list all listening TCP ports with process info",
|
|
36
|
+
"Use 'htop' for a better interactive process viewer than 'top'",
|
|
37
|
+
"Use 'ncdu' for an interactive disk usage analyzer",
|
|
38
|
+
"Redirect stderr to stdout with 2>&1 to capture all output",
|
|
39
|
+
"Use 'set -e' in scripts to exit on first error",
|
|
40
|
+
"Use 'set -x' in scripts to print each command before executing",
|
|
41
|
+
"Use 'trap cleanup EXIT' to ensure cleanup runs when a script exits",
|
|
42
|
+
"Use 'mktemp' to create temporary files safely: tmp=$(mktemp)",
|
|
43
|
+
"Use 'column -t' to format output into aligned columns",
|
|
44
|
+
"Use 'sort -u' to sort and remove duplicates in one step",
|
|
45
|
+
"Use 'wc -l' to count lines in a file or pipe output",
|
|
46
|
+
"Use 'diff <(cmd1) <(cmd2)' to compare output of two commands",
|
|
47
|
+
"Use 'yes | command' to auto-answer yes to all prompts",
|
|
48
|
+
"Use 'timeout 10 command' to kill a command after 10 seconds",
|
|
49
|
+
"Use 'date +%Y-%m-%d' for ISO-formatted dates in scripts",
|
|
50
|
+
"Use 'basename' and 'dirname' to extract parts of file paths",
|
|
51
|
+
"Use 'env' or 'printenv' to see all environment variables",
|
|
52
|
+
"Use 'export VAR=value' to set an environment variable for child processes",
|
|
53
|
+
"Use 'git stash' to temporarily shelve changes you're not ready to commit",
|
|
54
|
+
"Use 'git log --graph --oneline' for a visual branch history",
|
|
55
|
+
"Use 'git diff --cached' to see what's staged for the next commit",
|
|
56
|
+
"Use 'git blame file' to see who last modified each line",
|
|
57
|
+
"Use 'git bisect' to binary-search for the commit that introduced a bug",
|
|
58
|
+
"Use 'docker system prune' to reclaim disk space from unused containers/images",
|
|
59
|
+
"Use 'docker compose logs -f service' to follow logs of a specific service",
|
|
60
|
+
"Use 'docker stats' to see real-time resource usage of running containers",
|
|
61
|
+
"Use 'docker cp container:path local_path' to copy files from a container",
|
|
62
|
+
"Use 'docker exec -it container sh' to get a shell inside a running container",
|
|
63
|
+
"Use 'npm ls --depth=0' to see only top-level installed packages",
|
|
64
|
+
"Use 'npx' to run packages without installing them globally",
|
|
65
|
+
"Use 'npm ci' instead of 'npm install' in CI for reproducible builds",
|
|
66
|
+
"Use 'npm run env' to see the environment npm scripts run in",
|
|
67
|
+
"Use 'npm pack' to preview what files would be included in a publish",
|
|
68
|
+
"Use 'jq' to parse and filter JSON from the command line",
|
|
69
|
+
"Use 'curl -I url' to fetch only HTTP headers",
|
|
70
|
+
"Use 'curl -o /dev/null -s -w \"%{http_code}\" url' to get just the status code",
|
|
71
|
+
"Use 'netcat (nc) -z host port' to test if a port is open",
|
|
72
|
+
"Use 'ping -c 4 host' to send exactly 4 pings then stop",
|
|
73
|
+
"Use 'dig +short domain' for a quick DNS lookup",
|
|
74
|
+
"Use 'ip addr show' (or 'ifconfig') to see your network interfaces",
|
|
75
|
+
"Use 'chmod +x script.sh' to make a script executable",
|
|
76
|
+
"Use 'chown -R user:group dir/' to recursively change ownership",
|
|
77
|
+
"Use 'ln -s target link' to create a symbolic link",
|
|
78
|
+
"Use 'head -n 20 file' and 'tail -n 20 file' to peek at file boundaries",
|
|
79
|
+
"Use 'tail -f file | grep pattern' to watch a log for specific events",
|
|
80
|
+
"Use 'find . -type f -name \"*.js\" -exec grep -l \"pattern\" {} +' for targeted searches",
|
|
81
|
+
"Use process substitution: diff <(sort file1) <(sort file2)",
|
|
82
|
+
"Use 'cat << EOF > file' for multi-line file creation (heredoc)",
|
|
83
|
+
"Use 'Ctrl+L' to clear the terminal screen",
|
|
84
|
+
"Use 'fc' to open the last command in your editor for modification",
|
|
85
|
+
"Use 'disown %N' to detach a background job from the shell",
|
|
86
|
+
"Use 'pgrep -f pattern' to find processes matching a pattern",
|
|
87
|
+
"Use 'pkill -f pattern' to kill processes matching a pattern",
|
|
88
|
+
"Use 'strace -p PID' to trace system calls of a running process",
|
|
89
|
+
"Use 'iotop' to see which processes are doing the most disk I/O",
|
|
90
|
+
"Use 'free -h' to see memory usage in human-readable format",
|
|
91
|
+
"Use 'uptime' to see how long the system has been running and load averages",
|
|
92
|
+
"Use 'uname -a' to see full system information",
|
|
93
|
+
"Use 'crontab -e' to edit your scheduled tasks",
|
|
94
|
+
"Use 'systemctl list-units --failed' to see failed systemd services",
|
|
95
|
+
"Use 'journalctl -u service -f' to follow systemd service logs",
|
|
96
|
+
"Use 'tar -xzf archive.tar.gz -C /dest' to extract to a specific directory",
|
|
97
|
+
"Use 'zip -r archive.zip dir/' to create a zip archive",
|
|
98
|
+
"Use 'scp file user@host:/path' to copy files over SSH",
|
|
99
|
+
"Use 'ssh -L 8080:localhost:80 user@host' for SSH port forwarding",
|
|
100
|
+
"Use 'awk -F: '{print $1}' /etc/passwd' to list all user accounts",
|
|
101
|
+
"Use 'cut -d: -f1 file' to extract the first field with : delimiter",
|
|
102
|
+
"Use 'tr -d '\\n'' to remove newlines from input",
|
|
103
|
+
"Use 'seq 1 10 | xargs -P 4 -I {} cmd {}' for parallel execution"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
{
|
|
2
|
+
"servers": {
|
|
3
|
+
"testbot": {
|
|
4
|
+
"host": "10.20.30.40",
|
|
5
|
+
"aliases": [
|
|
6
|
+
"the 10 server",
|
|
7
|
+
"10 server",
|
|
8
|
+
"10 box",
|
|
9
|
+
"the 40 server",
|
|
10
|
+
"40 server",
|
|
11
|
+
"40 box"
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
"metroplex": {
|
|
15
|
+
"host": "66.94.115.165",
|
|
16
|
+
"user": "root",
|
|
17
|
+
"description": "Main production server",
|
|
18
|
+
"aliases": [
|
|
19
|
+
"the 66 server",
|
|
20
|
+
"66 server",
|
|
21
|
+
"66 box",
|
|
22
|
+
"main server",
|
|
23
|
+
"the 165 server",
|
|
24
|
+
"165 server",
|
|
25
|
+
"165 box"
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
"astrotrain": {
|
|
29
|
+
"host": "197.0.0.1",
|
|
30
|
+
"user": "deploy",
|
|
31
|
+
"description": "Staging server",
|
|
32
|
+
"aliases": [
|
|
33
|
+
"the 197 server",
|
|
34
|
+
"197 server",
|
|
35
|
+
"197 box",
|
|
36
|
+
"the 1 server",
|
|
37
|
+
"1 server",
|
|
38
|
+
"1 box"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"databases": {
|
|
43
|
+
"maindb": {
|
|
44
|
+
"type": "postgres",
|
|
45
|
+
"host": "localhost",
|
|
46
|
+
"name": "myapp_production",
|
|
47
|
+
"user": "postgres",
|
|
48
|
+
"aliases": [
|
|
49
|
+
"main database",
|
|
50
|
+
"production db",
|
|
51
|
+
"prod db",
|
|
52
|
+
"the database"
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"services": {},
|
|
57
|
+
"installations": {
|
|
58
|
+
"openclaw-wsl": {
|
|
59
|
+
"service": "openclaw",
|
|
60
|
+
"environment": "wsl",
|
|
61
|
+
"path": "/usr/local/bin/openclaw",
|
|
62
|
+
"version": "2026.4.2",
|
|
63
|
+
"port": 18789,
|
|
64
|
+
"model": "anthropic/claude-sonnet-4-6",
|
|
65
|
+
"status": "running",
|
|
66
|
+
"aliases": [
|
|
67
|
+
"wsl openclaw",
|
|
68
|
+
"the wsl one",
|
|
69
|
+
"openclaw in wsl",
|
|
70
|
+
"linux openclaw",
|
|
71
|
+
"openclaw #1"
|
|
72
|
+
],
|
|
73
|
+
"lastSeen": "2026-04-03T16:49:12.166Z"
|
|
74
|
+
},
|
|
75
|
+
"openclaw-windows": {
|
|
76
|
+
"service": "openclaw",
|
|
77
|
+
"environment": "windows",
|
|
78
|
+
"path": "C:\\Users\\Dino\\AppData\\Roaming\\npm\\openclaw",
|
|
79
|
+
"version": "2026.3.28",
|
|
80
|
+
"port": 18789,
|
|
81
|
+
"status": "running",
|
|
82
|
+
"aliases": [
|
|
83
|
+
"windows openclaw",
|
|
84
|
+
"the windows one",
|
|
85
|
+
"openclaw on windows",
|
|
86
|
+
"host openclaw",
|
|
87
|
+
"the other openclaw",
|
|
88
|
+
"openclaw #2"
|
|
89
|
+
],
|
|
90
|
+
"lastSeen": "2026-04-03T16:49:12.166Z"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|