@enjoys/context-engine 1.0.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.
Files changed (138) hide show
  1. package/README.md +213 -0
  2. package/data/commands/air.json +59 -0
  3. package/data/commands/ansible.json +24 -0
  4. package/data/commands/apachectl.json +87 -0
  5. package/data/commands/apt-get.json +81 -0
  6. package/data/commands/apt.json +91 -0
  7. package/data/commands/awk.json +26 -0
  8. package/data/commands/aws-vault.json +140 -0
  9. package/data/commands/aws.json +229 -0
  10. package/data/commands/az.json +36 -0
  11. package/data/commands/bazel.json +103 -0
  12. package/data/commands/brew.json +140 -0
  13. package/data/commands/bun.json +230 -0
  14. package/data/commands/caddy.json +194 -0
  15. package/data/commands/cargo.json +1048 -0
  16. package/data/commands/cat.json +18 -0
  17. package/data/commands/cd.json +48 -0
  18. package/data/commands/certbot.json +148 -0
  19. package/data/commands/chmod.json +97 -0
  20. package/data/commands/choco.json +134 -0
  21. package/data/commands/chown.json +59 -0
  22. package/data/commands/clickhouse-client.json +74 -0
  23. package/data/commands/cloudflare.json +226 -0
  24. package/data/commands/cmake.json +110 -0
  25. package/data/commands/cockroach.json +92 -0
  26. package/data/commands/conda.json +94 -0
  27. package/data/commands/consul.json +125 -0
  28. package/data/commands/cp.json +86 -0
  29. package/data/commands/curl.json +44 -0
  30. package/data/commands/cypress.json +100 -0
  31. package/data/commands/deno.json +29 -0
  32. package/data/commands/django-admin.json +86 -0
  33. package/data/commands/dnf.json +137 -0
  34. package/data/commands/docker.json +1100 -0
  35. package/data/commands/doctl.json +156 -0
  36. package/data/commands/eslint.json +69 -0
  37. package/data/commands/find.json +44 -0
  38. package/data/commands/firebase.json +97 -0
  39. package/data/commands/flask.json +79 -0
  40. package/data/commands/flyctl.json +148 -0
  41. package/data/commands/gcloud.json +227 -0
  42. package/data/commands/gh.json +39 -0
  43. package/data/commands/git.json +527 -0
  44. package/data/commands/glab.json +116 -0
  45. package/data/commands/go.json +161 -0
  46. package/data/commands/gofmt.json +51 -0
  47. package/data/commands/golangci-lint.json +89 -0
  48. package/data/commands/gradle.json +44 -0
  49. package/data/commands/grep.json +47 -0
  50. package/data/commands/gunicorn.json +83 -0
  51. package/data/commands/helm.json +1104 -0
  52. package/data/commands/hg.json +92 -0
  53. package/data/commands/httpd.json +147 -0
  54. package/data/commands/influx.json +119 -0
  55. package/data/commands/iptables.json +86 -0
  56. package/data/commands/java.json +31 -0
  57. package/data/commands/jest.json +82 -0
  58. package/data/commands/journalctl.json +88 -0
  59. package/data/commands/just.json +93 -0
  60. package/data/commands/k6.json +84 -0
  61. package/data/commands/kubectl.json +1277 -0
  62. package/data/commands/linode-cli.json +117 -0
  63. package/data/commands/locust.json +83 -0
  64. package/data/commands/ls.json +115 -0
  65. package/data/commands/make.json +86 -0
  66. package/data/commands/mocha.json +75 -0
  67. package/data/commands/mongosh.json +73 -0
  68. package/data/commands/mv.json +68 -0
  69. package/data/commands/mvn.json +45 -0
  70. package/data/commands/mysql.json +81 -0
  71. package/data/commands/nest.json +69 -0
  72. package/data/commands/netlify.json +92 -0
  73. package/data/commands/next.json +71 -0
  74. package/data/commands/nft.json +105 -0
  75. package/data/commands/nginx.json +146 -0
  76. package/data/commands/nmap.json +92 -0
  77. package/data/commands/node.json +43 -0
  78. package/data/commands/nomad.json +139 -0
  79. package/data/commands/npm.json +1265 -0
  80. package/data/commands/npx.json +58 -0
  81. package/data/commands/nx.json +82 -0
  82. package/data/commands/openssl.json +288 -0
  83. package/data/commands/packer.json +92 -0
  84. package/data/commands/pacman.json +82 -0
  85. package/data/commands/pg_dump.json +83 -0
  86. package/data/commands/pg_restore.json +74 -0
  87. package/data/commands/pip.json +95 -0
  88. package/data/commands/pipenv.json +79 -0
  89. package/data/commands/pipx.json +53 -0
  90. package/data/commands/playwright.json +97 -0
  91. package/data/commands/pnpm.json +29 -0
  92. package/data/commands/poetry.json +96 -0
  93. package/data/commands/prettier.json +71 -0
  94. package/data/commands/ps.json +31 -0
  95. package/data/commands/psql.json +124 -0
  96. package/data/commands/pulumi.json +130 -0
  97. package/data/commands/pytest.json +92 -0
  98. package/data/commands/python.json +30 -0
  99. package/data/commands/railway.json +91 -0
  100. package/data/commands/redis-cli.json +148 -0
  101. package/data/commands/render.json +72 -0
  102. package/data/commands/rm.json +79 -0
  103. package/data/commands/rsync.json +36 -0
  104. package/data/commands/rust.json +35 -0
  105. package/data/commands/rustup.json +103 -0
  106. package/data/commands/scp.json +60 -0
  107. package/data/commands/sed.json +28 -0
  108. package/data/commands/sqlite3.json +68 -0
  109. package/data/commands/ssh-keygen.json +112 -0
  110. package/data/commands/ssh.json +37 -0
  111. package/data/commands/sudo.json +147 -0
  112. package/data/commands/supabase.json +108 -0
  113. package/data/commands/svn.json +75 -0
  114. package/data/commands/systemctl.json +31 -0
  115. package/data/commands/tar.json +35 -0
  116. package/data/commands/tcpdump.json +77 -0
  117. package/data/commands/terraform.json +824 -0
  118. package/data/commands/terragrunt.json +83 -0
  119. package/data/commands/tsc.json +85 -0
  120. package/data/commands/turbo.json +72 -0
  121. package/data/commands/ufw.json +76 -0
  122. package/data/commands/unzip.json +59 -0
  123. package/data/commands/uvicorn.json +73 -0
  124. package/data/commands/vault.json +144 -0
  125. package/data/commands/vercel.json +98 -0
  126. package/data/commands/vite.json +63 -0
  127. package/data/commands/vitest.json +88 -0
  128. package/data/commands/wasm-pack.json +90 -0
  129. package/data/commands/wget.json +38 -0
  130. package/data/commands/winget.json +131 -0
  131. package/data/commands/wireshark.json +81 -0
  132. package/data/commands/yarn.json +28 -0
  133. package/data/commands/yum.json +98 -0
  134. package/data/commands/zip.json +59 -0
  135. package/index.d.ts +131 -0
  136. package/index.js +189 -0
  137. package/index.mjs +21 -0
  138. package/package.json +64 -0
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "journalctl",
3
+ "description": "Query and display systemd journal logs",
4
+ "category": "Linux Coreutils",
5
+ "platforms": ["linux"],
6
+ "shells": ["bash", "zsh", "fish"],
7
+ "subcommands": [],
8
+ "globalOptions": [
9
+ { "name": "--unit", "shorthand": "-u", "description": "Filter by systemd unit", "takesValue": true },
10
+ { "name": "--user-unit", "description": "Filter by user unit", "takesValue": true },
11
+ { "name": "--follow", "shorthand": "-f", "description": "Follow log output (like tail -f)" },
12
+ { "name": "--lines", "shorthand": "-n", "description": "Number of lines to show", "takesValue": true },
13
+ { "name": "--reverse", "shorthand": "-r", "description": "Reverse output (newest first)" },
14
+ { "name": "--output", "shorthand": "-o", "description": "Output format (short, json, cat, verbose, export)", "takesValue": true },
15
+ { "name": "--priority", "shorthand": "-p", "description": "Filter by priority (emerg, alert, crit, err, warning, notice, info, debug)", "takesValue": true },
16
+ { "name": "--since", "shorthand": "-S", "description": "Show entries since time", "takesValue": true },
17
+ { "name": "--until", "shorthand": "-U", "description": "Show entries until time", "takesValue": true },
18
+ { "name": "--boot", "shorthand": "-b", "description": "Show messages from specific boot", "takesValue": true },
19
+ { "name": "--kernel", "shorthand": "-k", "description": "Show kernel messages" },
20
+ { "name": "--dmesg", "description": "Show kernel ring buffer" },
21
+ { "name": "--identifier", "shorthand": "-t", "description": "Filter by syslog identifier", "takesValue": true },
22
+ { "name": "--grep", "shorthand": "-g", "description": "Filter by regex pattern", "takesValue": true },
23
+ { "name": "--case-sensitive", "description": "Case sensitive grep", "takesValue": true },
24
+ { "name": "--catalog", "shorthand": "-x", "description": "Add message explanations" },
25
+ { "name": "--no-pager", "description": "Don't pipe through pager" },
26
+ { "name": "--all", "shorthand": "-a", "description": "Show all fields" },
27
+ { "name": "--disk-usage", "description": "Show journal disk usage" },
28
+ { "name": "--list-boots", "description": "List boot entries" },
29
+ { "name": "--vacuum-size", "description": "Reduce journal size to limit", "takesValue": true },
30
+ { "name": "--vacuum-time", "description": "Remove journal older than", "takesValue": true },
31
+ { "name": "--vacuum-files", "description": "Keep only N journal files", "takesValue": true },
32
+ { "name": "--verify", "description": "Verify journal file consistency" },
33
+ { "name": "--field", "shorthand": "-F", "description": "List unique values of field", "takesValue": true },
34
+ { "name": "--header", "description": "Show journal header" },
35
+ { "name": "_PID", "description": "Filter by PID", "takesValue": true },
36
+ { "name": "_UID", "description": "Filter by UID", "takesValue": true },
37
+ { "name": "_COMM", "description": "Filter by command name", "takesValue": true }
38
+ ],
39
+ "examples": [
40
+ { "command": "journalctl -u nginx", "description": "Show nginx logs" },
41
+ { "command": "journalctl -u nginx -f", "description": "Follow nginx logs" },
42
+ { "command": "journalctl -u nginx --since '1 hour ago'", "description": "Last hour of logs" },
43
+ { "command": "journalctl -p err", "description": "Show only errors" },
44
+ { "command": "journalctl -k", "description": "Kernel messages" },
45
+ { "command": "journalctl -b -1", "description": "Previous boot logs" },
46
+ { "command": "journalctl --disk-usage", "description": "Show disk usage" },
47
+ { "command": "journalctl -o json-pretty -n 10", "description": "JSON output" },
48
+ { "command": "journalctl --vacuum-time=7d", "description": "Clean logs older than 7 days" },
49
+ { "command": "journalctl -u docker -g 'error|fail' --since today", "description": "Docker errors today" }
50
+ ],
51
+ "relatedCommands": ["systemctl", "dmesg"],
52
+ "contextEngine": {
53
+ "detectors": [
54
+ {
55
+ "name": "units",
56
+ "description": "Active systemd units",
57
+ "command": "systemctl list-units --type=service --state=running --no-pager --plain 2>/dev/null | awk '{print $1}' | head -30",
58
+ "parser": "lines",
59
+ "cacheFor": 30,
60
+ "requiresCmd": "systemctl"
61
+ },
62
+ {
63
+ "name": "boots",
64
+ "description": "Boot entries",
65
+ "command": "journalctl --list-boots --no-pager 2>/dev/null | head -10",
66
+ "parser": "lines",
67
+ "cacheFor": 120,
68
+ "requiresCmd": "journalctl"
69
+ },
70
+ {
71
+ "name": "disk_usage",
72
+ "description": "Journal disk usage",
73
+ "command": "journalctl --disk-usage 2>/dev/null",
74
+ "parser": "text",
75
+ "cacheFor": 60,
76
+ "requiresCmd": "journalctl"
77
+ },
78
+ {
79
+ "name": "recent_errors",
80
+ "description": "Recent error messages",
81
+ "command": "journalctl -p err --no-pager -n 5 2>/dev/null",
82
+ "parser": "lines",
83
+ "cacheFor": 15,
84
+ "requiresCmd": "journalctl"
85
+ }
86
+ ]
87
+ }
88
+ }
@@ -0,0 +1,93 @@
1
+ {
2
+ "name": "just",
3
+ "description": "Handy command runner (modern alternative to Make)",
4
+ "category": "Build Tools",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "powershell", "fish"],
7
+ "subcommands": [
8
+ { "name": "--list", "description": "List available recipes", "options": [
9
+ { "name": "--unsorted", "description": "Don't sort recipes" },
10
+ { "name": "--list-heading", "description": "List heading text", "takesValue": true },
11
+ { "name": "--list-prefix", "description": "Prefix for each recipe", "takesValue": true }
12
+ ]},
13
+ { "name": "--summary", "description": "List recipe names" },
14
+ { "name": "--show", "description": "Show recipe source", "args": [{ "name": "recipe", "description": "Recipe name", "required": true }] },
15
+ { "name": "--choose", "description": "Interactive recipe chooser" },
16
+ { "name": "--init", "description": "Create empty justfile" },
17
+ { "name": "--edit", "description": "Open justfile in editor" },
18
+ { "name": "--evaluate", "description": "Evaluate and print variables" },
19
+ { "name": "--dump", "description": "Dump justfile as JSON or just format", "options": [
20
+ { "name": "--dump-format", "description": "Format (just, json)", "takesValue": true }
21
+ ]},
22
+ { "name": "--fmt", "description": "Format justfile", "options": [
23
+ { "name": "--check", "description": "Check without writing" }
24
+ ]},
25
+ { "name": "--completions", "description": "Generate shell completions", "args": [{ "name": "shell", "description": "Shell (bash, zsh, fish, powershell)", "required": true }] },
26
+ { "name": "--variables", "description": "List variables" }
27
+ ],
28
+ "globalOptions": [
29
+ { "name": "--justfile", "shorthand": "-f", "description": "Justfile path", "takesValue": true },
30
+ { "name": "--working-directory", "shorthand": "-d", "description": "Working directory", "takesValue": true },
31
+ { "name": "--set", "description": "Override variable", "takesValue": true },
32
+ { "name": "--dotenv-filename", "description": "Dotenv filename", "takesValue": true },
33
+ { "name": "--dotenv-path", "description": "Dotenv path", "takesValue": true },
34
+ { "name": "--shell", "description": "Shell to use", "takesValue": true },
35
+ { "name": "--shell-arg", "description": "Shell argument", "takesValue": true },
36
+ { "name": "--dry-run", "shorthand": "-n", "description": "Dry run mode" },
37
+ { "name": "--highlight", "description": "Highlight echoed commands" },
38
+ { "name": "--no-highlight", "description": "Don't highlight" },
39
+ { "name": "--verbose", "shorthand": "-v", "description": "Verbose mode" },
40
+ { "name": "--quiet", "shorthand": "-q", "description": "Quiet mode" },
41
+ { "name": "--yes", "description": "Auto-confirm prompts" },
42
+ { "name": "--color", "description": "Color output (auto, always, never)", "takesValue": true },
43
+ { "name": "--help", "shorthand": "-h", "description": "Show help" },
44
+ { "name": "--version", "shorthand": "-V", "description": "Show version" }
45
+ ],
46
+ "examples": [
47
+ { "command": "just", "description": "Run default recipe" },
48
+ { "command": "just build", "description": "Run build recipe" },
49
+ { "command": "just --list", "description": "List available recipes" },
50
+ { "command": "just --show build", "description": "Show recipe source" },
51
+ { "command": "just test arg1 arg2", "description": "Run recipe with arguments" },
52
+ { "command": "just --set version 1.0.0 release", "description": "Override variable" },
53
+ { "command": "just --choose", "description": "Interactive chooser" },
54
+ { "command": "just --dry-run deploy", "description": "Dry run deploy" },
55
+ { "command": "just --fmt --check", "description": "Check formatting" }
56
+ ],
57
+ "relatedCommands": ["make"],
58
+ "contextEngine": {
59
+ "detectors": [
60
+ {
61
+ "name": "recipes",
62
+ "description": "Available recipes",
63
+ "command": "just --list 2>/dev/null",
64
+ "parser": "text",
65
+ "cacheFor": 15,
66
+ "requiresCmd": "just"
67
+ },
68
+ {
69
+ "name": "variables",
70
+ "description": "Justfile variables",
71
+ "command": "just --evaluate 2>/dev/null | head -20",
72
+ "parser": "keyvalue",
73
+ "cacheFor": 15,
74
+ "requiresCmd": "just"
75
+ },
76
+ {
77
+ "name": "justfile",
78
+ "description": "Justfile contents",
79
+ "command": "cat justfile 2>/dev/null || cat Justfile 2>/dev/null | head -40",
80
+ "parser": "text",
81
+ "cacheFor": 15
82
+ },
83
+ {
84
+ "name": "summary",
85
+ "description": "Recipe names list",
86
+ "command": "just --summary 2>/dev/null",
87
+ "parser": "text",
88
+ "cacheFor": 15,
89
+ "requiresCmd": "just"
90
+ }
91
+ ]
92
+ }
93
+ }
@@ -0,0 +1,84 @@
1
+ {
2
+ "name": "k6",
3
+ "description": "Modern load testing tool for developers and testers",
4
+ "category": "Testing Tools",
5
+ "platforms": ["linux", "macos", "windows"],
6
+ "shells": ["bash", "zsh", "powershell", "fish"],
7
+ "subcommands": [
8
+ { "name": "run", "description": "Run a test script", "args": [{ "name": "script", "description": "Test script file", "required": true }], "options": [
9
+ { "name": "--vus", "shorthand": "-u", "description": "Virtual users", "takesValue": true },
10
+ { "name": "--duration", "shorthand": "-d", "description": "Test duration", "takesValue": true },
11
+ { "name": "--iterations", "shorthand": "-i", "description": "Total iterations", "takesValue": true },
12
+ { "name": "--stage", "shorthand": "-s", "description": "Ramp stage (duration:vus)", "takesValue": true },
13
+ { "name": "--env", "shorthand": "-e", "description": "Set environment variable", "takesValue": true },
14
+ { "name": "--tag", "description": "Test run tag", "takesValue": true },
15
+ { "name": "--out", "shorthand": "-o", "description": "Output (json, csv, influxdb, cloud, prometheus, etc.)", "takesValue": true },
16
+ { "name": "--http-debug", "description": "Log HTTP requests (full, headers)" },
17
+ { "name": "--no-color", "description": "Disable color output" },
18
+ { "name": "--log-output", "description": "Log output destination", "takesValue": true },
19
+ { "name": "--linger", "description": "Keep running after test completion" },
20
+ { "name": "--no-thresholds", "description": "Ignore thresholds" },
21
+ { "name": "--no-usage-report", "description": "Disable usage reporting" },
22
+ { "name": "--throw", "description": "throw on failed test" },
23
+ { "name": "--include-system-env-vars", "description": "Pass system env vars" },
24
+ { "name": "--compatibility-mode", "description": "Script compatibility (extended, base)", "takesValue": true },
25
+ { "name": "--insecure-skip-tls-verify", "description": "Skip TLS verification" }
26
+ ]},
27
+ { "name": "cloud", "description": "Run test in k6 Cloud", "args": [{ "name": "script", "description": "Test script", "required": true }] },
28
+ { "name": "inspect", "description": "Inspect a test script", "args": [{ "name": "script", "description": "Script file", "required": true }] },
29
+ { "name": "archive", "description": "Create test archive", "args": [{ "name": "script", "description": "Script file", "required": true }] },
30
+ { "name": "login", "description": "Login to k6 cloud", "subcommands": [
31
+ { "name": "cloud", "description": "Login to k6 Cloud" },
32
+ { "name": "influxdb", "description": "Login to InfluxDB" }
33
+ ]},
34
+ { "name": "pause", "description": "Pause a running test" },
35
+ { "name": "resume", "description": "Resume a paused test" },
36
+ { "name": "scale", "description": "Scale VUs of a running test" },
37
+ { "name": "stats", "description": "Show test stats" },
38
+ { "name": "status", "description": "Show test status" },
39
+ { "name": "version", "description": "Show version" }
40
+ ],
41
+ "globalOptions": [
42
+ { "name": "--verbose", "shorthand": "-v", "description": "Verbose output" },
43
+ { "name": "--quiet", "shorthand": "-q", "description": "Quiet mode" },
44
+ { "name": "--address", "shorthand": "-a", "description": "API address", "takesValue": true },
45
+ { "name": "--config", "description": "Config file", "takesValue": true },
46
+ { "name": "--help", "shorthand": "-h", "description": "Show help" }
47
+ ],
48
+ "examples": [
49
+ { "command": "k6 run script.js", "description": "Run load test" },
50
+ { "command": "k6 run --vus 50 --duration 30s script.js", "description": "50 VUs for 30 seconds" },
51
+ { "command": "k6 run -s 10s:10 -s 1m:50 -s 10s:0 script.js", "description": "Ramping stages" },
52
+ { "command": "k6 run --out json=results.json script.js", "description": "JSON output" },
53
+ { "command": "k6 run --out influxdb=http://localhost:8086/k6 script.js", "description": "InfluxDB output" },
54
+ { "command": "k6 run -e BASE_URL=http://localhost:3000 script.js", "description": "With env variable" },
55
+ { "command": "k6 cloud script.js", "description": "Run in k6 Cloud" }
56
+ ],
57
+ "relatedCommands": ["locust"],
58
+ "contextEngine": {
59
+ "detectors": [
60
+ {
61
+ "name": "scripts",
62
+ "description": "k6 test scripts",
63
+ "command": "find . -maxdepth 2 -name '*.js' -exec grep -l 'import.*k6' {} \\; 2>/dev/null | head -10",
64
+ "parser": "lines",
65
+ "cacheFor": 30
66
+ },
67
+ {
68
+ "name": "config",
69
+ "description": "k6 configuration",
70
+ "command": "cat k6.config.js 2>/dev/null || cat k6.json 2>/dev/null",
71
+ "parser": "text",
72
+ "cacheFor": 60
73
+ },
74
+ {
75
+ "name": "version",
76
+ "description": "k6 version",
77
+ "command": "k6 version 2>/dev/null",
78
+ "parser": "text",
79
+ "cacheFor": 300,
80
+ "requiresCmd": "k6"
81
+ }
82
+ ]
83
+ }
84
+ }