@enjoys/context-engine 1.0.2 → 1.0.4

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 (58) hide show
  1. package/data/commands/linux.json +826 -21
  2. package/data/commands/manifest.json +3 -1
  3. package/data/completion/awk.json +203 -0
  4. package/data/completion/crontab.json +203 -0
  5. package/data/completion/dotenv.json +170 -0
  6. package/data/completion/go.json +9464 -773
  7. package/data/completion/graphql.json +181 -0
  8. package/data/completion/hcl.json +192 -0
  9. package/data/completion/ini.json +137 -0
  10. package/data/completion/json.json +170 -0
  11. package/data/completion/makefile.json +203 -0
  12. package/data/completion/markdown.json +225 -0
  13. package/data/completion/nginx.json +280 -0
  14. package/data/completion/perl.json +203 -0
  15. package/data/completion/powershell.json +225 -0
  16. package/data/completion/protobuf.json +181 -0
  17. package/data/completion/ssh_config.json +159 -0
  18. package/data/completion/systemd.json +170 -0
  19. package/data/completion/xml.json +159 -0
  20. package/data/completion/zsh.json +214 -0
  21. package/data/defination/awk.json +125 -0
  22. package/data/defination/crontab.json +107 -0
  23. package/data/defination/dotenv.json +71 -0
  24. package/data/defination/go.json +14555 -380
  25. package/data/defination/graphql.json +119 -0
  26. package/data/defination/hcl.json +125 -0
  27. package/data/defination/ini.json +77 -0
  28. package/data/defination/json.json +83 -0
  29. package/data/defination/makefile.json +113 -0
  30. package/data/defination/markdown.json +107 -0
  31. package/data/defination/nginx.json +131 -0
  32. package/data/defination/perl.json +101 -0
  33. package/data/defination/powershell.json +119 -0
  34. package/data/defination/protobuf.json +119 -0
  35. package/data/defination/ssh_config.json +89 -0
  36. package/data/defination/systemd.json +107 -0
  37. package/data/defination/xml.json +83 -0
  38. package/data/defination/zsh.json +113 -0
  39. package/data/hover/awk.json +47 -0
  40. package/data/hover/crontab.json +47 -0
  41. package/data/hover/dotenv.json +47 -0
  42. package/data/hover/go.json +4324 -202
  43. package/data/hover/graphql.json +47 -0
  44. package/data/hover/hcl.json +75 -0
  45. package/data/hover/ini.json +68 -0
  46. package/data/hover/json.json +89 -0
  47. package/data/hover/makefile.json +68 -0
  48. package/data/hover/markdown.json +68 -0
  49. package/data/hover/nginx.json +89 -0
  50. package/data/hover/perl.json +47 -0
  51. package/data/hover/powershell.json +54 -0
  52. package/data/hover/protobuf.json +47 -0
  53. package/data/hover/ssh_config.json +47 -0
  54. package/data/hover/systemd.json +54 -0
  55. package/data/hover/xml.json +61 -0
  56. package/data/hover/zsh.json +61 -0
  57. package/data/manifest.json +210 -6
  58. package/package.json +1 -1
@@ -0,0 +1,131 @@
1
+ {
2
+ "language": "nginx",
3
+ "definitions": {
4
+ "server": {
5
+ "signature": "server { ... }",
6
+ "description": "Defines a virtual server. Each server block can listen on different ports and respond to different domain names.",
7
+ "type": "block",
8
+ "module": "ngx_http_core_module"
9
+ },
10
+ "location": {
11
+ "signature": "location [modifier] uri { ... }",
12
+ "description": "Sets configuration based on the request URI. Modifiers: = (exact), ~ (regex), ~* (case-insensitive regex), ^~ (prefix priority).",
13
+ "type": "block",
14
+ "module": "ngx_http_core_module"
15
+ },
16
+ "upstream": {
17
+ "signature": "upstream name { ... }",
18
+ "description": "Defines a group of servers for load balancing. Supports round-robin, least_conn, ip_hash, and hash methods.",
19
+ "type": "block",
20
+ "module": "ngx_http_upstream_module"
21
+ },
22
+ "listen": {
23
+ "signature": "listen address[:port] [ssl] [http2]",
24
+ "description": "Sets the address and port on which the server accepts requests. Can include ssl and http2 parameters.",
25
+ "type": "directive",
26
+ "module": "ngx_http_core_module"
27
+ },
28
+ "server_name": {
29
+ "signature": "server_name name [...]",
30
+ "description": "Sets the virtual server names. Supports exact names, wildcard names (*.example.com), and regex names.",
31
+ "type": "directive",
32
+ "module": "ngx_http_core_module"
33
+ },
34
+ "root": {
35
+ "signature": "root path",
36
+ "description": "Sets the root directory for requests. The full path is formed by appending the URI to the root path.",
37
+ "type": "directive",
38
+ "module": "ngx_http_core_module"
39
+ },
40
+ "proxy_pass": {
41
+ "signature": "proxy_pass URL",
42
+ "description": "Passes the request to a proxied server. The URL can include protocol, server address, and optional URI.",
43
+ "type": "directive",
44
+ "module": "ngx_http_proxy_module"
45
+ },
46
+ "proxy_set_header": {
47
+ "signature": "proxy_set_header field value",
48
+ "description": "Redefines or appends fields to the request header passed to the proxied server.",
49
+ "type": "directive",
50
+ "module": "ngx_http_proxy_module"
51
+ },
52
+ "ssl_certificate": {
53
+ "signature": "ssl_certificate file",
54
+ "description": "Specifies the PEM-format certificate file for the server. Can include intermediate certificates.",
55
+ "type": "directive",
56
+ "module": "ngx_http_ssl_module"
57
+ },
58
+ "ssl_certificate_key": {
59
+ "signature": "ssl_certificate_key file",
60
+ "description": "Specifies the PEM-format private key file for the server certificate.",
61
+ "type": "directive",
62
+ "module": "ngx_http_ssl_module"
63
+ },
64
+ "try_files": {
65
+ "signature": "try_files file ... uri | =code",
66
+ "description": "Checks the existence of files in order, and uses the first found. Often used for SPA routing with =404 fallback.",
67
+ "type": "directive",
68
+ "module": "ngx_http_core_module"
69
+ },
70
+ "rewrite": {
71
+ "signature": "rewrite regex replacement [flag]",
72
+ "description": "Rewrites the request URI using PCRE regex. Flags: last, break, redirect (302), permanent (301).",
73
+ "type": "directive",
74
+ "module": "ngx_http_rewrite_module"
75
+ },
76
+ "return": {
77
+ "signature": "return code [text|URL]",
78
+ "description": "Stops processing and returns the specified code. Commonly used with 301/302 for redirects.",
79
+ "type": "directive",
80
+ "module": "ngx_http_rewrite_module"
81
+ },
82
+ "gzip": {
83
+ "signature": "gzip on|off",
84
+ "description": "Enables or disables gzip compression of responses. Reduces transfer size at the cost of CPU.",
85
+ "type": "directive",
86
+ "module": "ngx_http_gzip_module"
87
+ },
88
+ "access_log": {
89
+ "signature": "access_log path [format]",
90
+ "description": "Sets the path, format, and configuration for the access log.",
91
+ "type": "directive",
92
+ "module": "ngx_http_log_module"
93
+ },
94
+ "error_log": {
95
+ "signature": "error_log file [level]",
96
+ "description": "Configures error logging. Levels: debug, info, notice, warn, error, crit, alert, emerg.",
97
+ "type": "directive",
98
+ "module": "ngx_core_module"
99
+ },
100
+ "client_max_body_size": {
101
+ "signature": "client_max_body_size size",
102
+ "description": "Sets the maximum allowed size of the client request body. Default is 1m. Set to 0 to disable checking.",
103
+ "type": "directive",
104
+ "module": "ngx_http_core_module"
105
+ },
106
+ "add_header": {
107
+ "signature": "add_header name value [always]",
108
+ "description": "Adds a custom header to the response. Use always to add header regardless of response code.",
109
+ "type": "directive",
110
+ "module": "ngx_http_headers_module"
111
+ },
112
+ "limit_req_zone": {
113
+ "signature": "limit_req_zone key zone=name:size rate=rate",
114
+ "description": "Defines a shared memory zone for rate limiting. Key is typically $binary_remote_addr.",
115
+ "type": "directive",
116
+ "module": "ngx_http_limit_req_module"
117
+ },
118
+ "expires": {
119
+ "signature": "expires [modified] time | epoch | max | off",
120
+ "description": "Sets the Expires header and Cache-Control max-age. Common values: 30d, 1h, max.",
121
+ "type": "directive",
122
+ "module": "ngx_http_headers_module"
123
+ },
124
+ "index": {
125
+ "signature": "index file [...]",
126
+ "description": "Defines files that will be used as an index. Checked in order, the first found is used.",
127
+ "type": "directive",
128
+ "module": "ngx_http_index_module"
129
+ }
130
+ }
131
+ }
@@ -0,0 +1,101 @@
1
+ {
2
+ "language": "perl",
3
+ "definitions": {
4
+ "scalar": {
5
+ "signature": "$variable",
6
+ "description": "A scalar variable holds a single value - string, number, or reference. Prefixed with $.",
7
+ "type": "type",
8
+ "module": "Perl"
9
+ },
10
+ "array": {
11
+ "signature": "@array",
12
+ "description": "An array holds an ordered list of scalars. Prefixed with @. Access elements with $array[index].",
13
+ "type": "type",
14
+ "module": "Perl"
15
+ },
16
+ "hash": {
17
+ "signature": "%hash",
18
+ "description": "A hash holds key-value pairs. Prefixed with %. Access values with $hash{key}.",
19
+ "type": "type",
20
+ "module": "Perl"
21
+ },
22
+ "sub": {
23
+ "signature": "sub name { ... }",
24
+ "description": "Defines a subroutine (function). Arguments are passed via @_.",
25
+ "type": "keyword",
26
+ "module": "Perl"
27
+ },
28
+ "my": {
29
+ "signature": "my $var = value",
30
+ "description": "Declares a lexically scoped variable. Always use with 'use strict'.",
31
+ "type": "keyword",
32
+ "module": "Perl"
33
+ },
34
+ "use": {
35
+ "signature": "use Module;",
36
+ "description": "Load and import a module at compile time.",
37
+ "type": "keyword",
38
+ "module": "Perl"
39
+ },
40
+ "regex": {
41
+ "signature": "=~ /pattern/flags",
42
+ "description": "Perl regex matching. Flags: g (global), i (case-insensitive), m (multiline), s (single-line), x (extended).",
43
+ "type": "operator",
44
+ "module": "Perl"
45
+ },
46
+ "substitution": {
47
+ "signature": "s/pattern/replacement/flags",
48
+ "description": "Regex substitution. Replaces matched text with replacement string.",
49
+ "type": "operator",
50
+ "module": "Perl"
51
+ },
52
+ "open": {
53
+ "signature": "open(FH, mode, file)",
54
+ "description": "Open a file. Modes: < (read), > (write), >> (append), +< (read/write).",
55
+ "type": "builtin",
56
+ "module": "Perl"
57
+ },
58
+ "chomp": {
59
+ "signature": "chomp($string)",
60
+ "description": "Removes the trailing newline from a string. Returns number of characters removed.",
61
+ "type": "builtin",
62
+ "module": "Perl"
63
+ },
64
+ "split": {
65
+ "signature": "split(/pattern/, $string, $limit)",
66
+ "description": "Split a string into a list based on a delimiter pattern.",
67
+ "type": "builtin",
68
+ "module": "Perl"
69
+ },
70
+ "join": {
71
+ "signature": "join($separator, @list)",
72
+ "description": "Join list elements into a single string with separator.",
73
+ "type": "builtin",
74
+ "module": "Perl"
75
+ },
76
+ "print": {
77
+ "signature": "print [FILEHANDLE] LIST",
78
+ "description": "Output to stdout or a filehandle. No newline added automatically.",
79
+ "type": "builtin",
80
+ "module": "Perl"
81
+ },
82
+ "die": {
83
+ "signature": "die \"message\"",
84
+ "description": "Raise an exception. Commonly used with or: open() or die \"...\";",
85
+ "type": "builtin",
86
+ "module": "Perl"
87
+ },
88
+ "strict": {
89
+ "signature": "use strict",
90
+ "description": "Enables strict mode - requires variable declaration, restricts barewords, and prevents soft references.",
91
+ "type": "pragma",
92
+ "module": "Perl"
93
+ },
94
+ "warnings": {
95
+ "signature": "use warnings",
96
+ "description": "Enables compile-time and runtime warnings for common mistakes.",
97
+ "type": "pragma",
98
+ "module": "Perl"
99
+ }
100
+ }
101
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ "language": "powershell",
3
+ "definitions": {
4
+ "function": {
5
+ "signature": "function Name { param() ... }",
6
+ "description": "Defines a reusable function. Supports parameters, pipeline input, and output.",
7
+ "type": "keyword",
8
+ "module": "PowerShell"
9
+ },
10
+ "param": {
11
+ "signature": "param([Type]$Name)",
12
+ "description": "Parameter block for functions and scripts. Supports mandatory, default values, validation.",
13
+ "type": "keyword",
14
+ "module": "PowerShell"
15
+ },
16
+ "if": {
17
+ "signature": "if (cond) { } elseif { } else { }",
18
+ "description": "Conditional execution. Conditions use comparison operators like -eq, -ne, -gt, -lt, -like, -match.",
19
+ "type": "keyword",
20
+ "module": "PowerShell"
21
+ },
22
+ "foreach": {
23
+ "signature": "foreach ($item in $collection) { }",
24
+ "description": "Iterate over each item in a collection.",
25
+ "type": "keyword",
26
+ "module": "PowerShell"
27
+ },
28
+ "try_catch": {
29
+ "signature": "try { } catch { } finally { }",
30
+ "description": "Error handling. $_ in catch block contains the error. finally always executes.",
31
+ "type": "keyword",
32
+ "module": "PowerShell"
33
+ },
34
+ "switch": {
35
+ "signature": "switch ($var) { 'val' { } default { } }",
36
+ "description": "Pattern matching. Supports -Regex, -Wildcard, and -File options.",
37
+ "type": "keyword",
38
+ "module": "PowerShell"
39
+ },
40
+ "pipeline": {
41
+ "signature": "cmd1 | cmd2 | cmd3",
42
+ "description": "Pipeline passes objects (not text) between commands. Each command processes the output of the previous.",
43
+ "type": "concept",
44
+ "module": "PowerShell"
45
+ },
46
+ "Get-Content": {
47
+ "signature": "Get-Content [-Path] <String>",
48
+ "description": "Reads content from a file. Alias: gc, cat, type.",
49
+ "type": "cmdlet",
50
+ "module": "Microsoft.PowerShell.Management"
51
+ },
52
+ "Set-Content": {
53
+ "signature": "Set-Content [-Path] <String> [-Value] <Object>",
54
+ "description": "Writes content to a file. Replaces existing content. Alias: sc.",
55
+ "type": "cmdlet",
56
+ "module": "Microsoft.PowerShell.Management"
57
+ },
58
+ "Get-ChildItem": {
59
+ "signature": "Get-ChildItem [-Path] [-Recurse] [-Filter]",
60
+ "description": "Lists files and directories. Alias: gci, ls, dir.",
61
+ "type": "cmdlet",
62
+ "module": "Microsoft.PowerShell.Management"
63
+ },
64
+ "Where-Object": {
65
+ "signature": "Where-Object { $_.Property -op Value }",
66
+ "description": "Filters objects in the pipeline. Alias: where, ?.",
67
+ "type": "cmdlet",
68
+ "module": "Microsoft.PowerShell.Core"
69
+ },
70
+ "Select-Object": {
71
+ "signature": "Select-Object [-Property] [-First] [-Last]",
72
+ "description": "Selects specific properties or a subset of objects. Alias: select.",
73
+ "type": "cmdlet",
74
+ "module": "Microsoft.PowerShell.Utility"
75
+ },
76
+ "ForEach-Object": {
77
+ "signature": "ForEach-Object { $_ }",
78
+ "description": "Processes each pipeline object. $_ is the current object. Alias: foreach, %.",
79
+ "type": "cmdlet",
80
+ "module": "Microsoft.PowerShell.Core"
81
+ },
82
+ "Invoke-WebRequest": {
83
+ "signature": "Invoke-WebRequest [-Uri] <String> [-Method]",
84
+ "description": "Makes HTTP/HTTPS requests. Alias: iwr, curl, wget.",
85
+ "type": "cmdlet",
86
+ "module": "Microsoft.PowerShell.Utility"
87
+ },
88
+ "Get-Service": {
89
+ "signature": "Get-Service [-Name] [-Status]",
90
+ "description": "Gets Windows services. Can filter by name or status.",
91
+ "type": "cmdlet",
92
+ "module": "Microsoft.PowerShell.Management"
93
+ },
94
+ "Get-Process": {
95
+ "signature": "Get-Process [-Name] [-Id]",
96
+ "description": "Gets running processes. Alias: gps, ps.",
97
+ "type": "cmdlet",
98
+ "module": "Microsoft.PowerShell.Management"
99
+ },
100
+ "comparison_operators": {
101
+ "signature": "-eq -ne -gt -lt -ge -le -like -match -contains -in",
102
+ "description": "PowerShell comparison operators. -like uses wildcards, -match uses regex.",
103
+ "type": "reference",
104
+ "module": "PowerShell"
105
+ },
106
+ "hashtable": {
107
+ "signature": "@{ Key = Value }",
108
+ "description": "Hash table (dictionary) literal. Keys are strings, values can be any type.",
109
+ "type": "type",
110
+ "module": "PowerShell"
111
+ },
112
+ "array": {
113
+ "signature": "@(item1, item2)",
114
+ "description": "Array literal. @() creates an empty array. Arrays are zero-indexed.",
115
+ "type": "type",
116
+ "module": "PowerShell"
117
+ }
118
+ }
119
+ }
@@ -0,0 +1,119 @@
1
+ {
2
+ "language": "protobuf",
3
+ "definitions": {
4
+ "syntax": {
5
+ "signature": "syntax = \"proto3\";",
6
+ "description": "Declares the protobuf syntax version. proto3 is the current version.",
7
+ "type": "keyword",
8
+ "module": "protobuf"
9
+ },
10
+ "message": {
11
+ "signature": "message Name { type field = number; }",
12
+ "description": "Defines a structured data type. Field numbers must be unique within a message.",
13
+ "type": "keyword",
14
+ "module": "protobuf"
15
+ },
16
+ "service": {
17
+ "signature": "service Name { rpc Method(Req) returns (Res); }",
18
+ "description": "Defines a gRPC service with RPC methods.",
19
+ "type": "keyword",
20
+ "module": "protobuf"
21
+ },
22
+ "rpc": {
23
+ "signature": "rpc Name(Request) returns (Response)",
24
+ "description": "Defines a remote procedure call method within a service.",
25
+ "type": "keyword",
26
+ "module": "protobuf"
27
+ },
28
+ "enum": {
29
+ "signature": "enum Name { VALUE = number; }",
30
+ "description": "Defines an enumeration. First value must be 0 (default/unspecified).",
31
+ "type": "keyword",
32
+ "module": "protobuf"
33
+ },
34
+ "oneof": {
35
+ "signature": "oneof name { type field = num; }",
36
+ "description": "At most one field in the oneof can be set at a time. Setting one clears others.",
37
+ "type": "keyword",
38
+ "module": "protobuf"
39
+ },
40
+ "repeated": {
41
+ "signature": "repeated Type name = num;",
42
+ "description": "A repeated field represents a list/array. Can contain zero or more elements.",
43
+ "type": "modifier",
44
+ "module": "protobuf"
45
+ },
46
+ "map": {
47
+ "signature": "map<KeyType, ValueType> name = num;",
48
+ "description": "Map field for key-value pairs. Keys must be integral or string types.",
49
+ "type": "modifier",
50
+ "module": "protobuf"
51
+ },
52
+ "import": {
53
+ "signature": "import \"file.proto\";",
54
+ "description": "Import definitions from another proto file.",
55
+ "type": "keyword",
56
+ "module": "protobuf"
57
+ },
58
+ "package": {
59
+ "signature": "package name;",
60
+ "description": "Declares the namespace to prevent name collisions between proto definitions.",
61
+ "type": "keyword",
62
+ "module": "protobuf"
63
+ },
64
+ "option": {
65
+ "signature": "option name = value;",
66
+ "description": "File, message, or field-level options. Common: go_package, java_package.",
67
+ "type": "keyword",
68
+ "module": "protobuf"
69
+ },
70
+ "stream": {
71
+ "signature": "stream Type",
72
+ "description": "Used in RPC definitions for client-streaming, server-streaming, or bidirectional streaming.",
73
+ "type": "modifier",
74
+ "module": "protobuf"
75
+ },
76
+ "double": {
77
+ "signature": "double",
78
+ "description": "64-bit floating point number.",
79
+ "type": "scalar",
80
+ "module": "protobuf"
81
+ },
82
+ "float": {
83
+ "signature": "float",
84
+ "description": "32-bit floating point number.",
85
+ "type": "scalar",
86
+ "module": "protobuf"
87
+ },
88
+ "int32": {
89
+ "signature": "int32",
90
+ "description": "32-bit signed integer. Inefficient for negative numbers; use sint32 instead.",
91
+ "type": "scalar",
92
+ "module": "protobuf"
93
+ },
94
+ "int64": {
95
+ "signature": "int64",
96
+ "description": "64-bit signed integer.",
97
+ "type": "scalar",
98
+ "module": "protobuf"
99
+ },
100
+ "bool": {
101
+ "signature": "bool",
102
+ "description": "Boolean true/false value.",
103
+ "type": "scalar",
104
+ "module": "protobuf"
105
+ },
106
+ "string": {
107
+ "signature": "string",
108
+ "description": "UTF-8 or 7-bit ASCII text string.",
109
+ "type": "scalar",
110
+ "module": "protobuf"
111
+ },
112
+ "bytes": {
113
+ "signature": "bytes",
114
+ "description": "Arbitrary byte sequence.",
115
+ "type": "scalar",
116
+ "module": "protobuf"
117
+ }
118
+ }
119
+ }
@@ -0,0 +1,89 @@
1
+ {
2
+ "language": "ssh_config",
3
+ "definitions": {
4
+ "Host": {
5
+ "signature": "Host pattern",
6
+ "description": "Restricts the following declarations to hosts matching the pattern. * matches all. Supports wildcards and negation (!).",
7
+ "type": "keyword",
8
+ "module": "ssh_config(5)"
9
+ },
10
+ "Match": {
11
+ "signature": "Match criteria",
12
+ "description": "Conditional block matching on host, user, address, etc. More flexible than Host.",
13
+ "type": "keyword",
14
+ "module": "ssh_config(5)"
15
+ },
16
+ "HostName": {
17
+ "signature": "HostName hostname",
18
+ "description": "The real hostname or IP to connect to. Allows using short aliases in Host.",
19
+ "type": "directive",
20
+ "module": "ssh_config(5)"
21
+ },
22
+ "User": {
23
+ "signature": "User username",
24
+ "description": "The remote username to log in as.",
25
+ "type": "directive",
26
+ "module": "ssh_config(5)"
27
+ },
28
+ "Port": {
29
+ "signature": "Port 22",
30
+ "description": "The port number to connect to on the remote host. Default is 22.",
31
+ "type": "directive",
32
+ "module": "ssh_config(5)"
33
+ },
34
+ "IdentityFile": {
35
+ "signature": "IdentityFile ~/.ssh/id_ed25519",
36
+ "description": "Path to the private key file. Multiple can be specified; they are tried in order.",
37
+ "type": "directive",
38
+ "module": "ssh_config(5)"
39
+ },
40
+ "ProxyJump": {
41
+ "signature": "ProxyJump host1,host2",
42
+ "description": "Connect through one or more jump hosts (bastion). Replacement for ProxyCommand.",
43
+ "type": "directive",
44
+ "module": "ssh_config(5)"
45
+ },
46
+ "LocalForward": {
47
+ "signature": "LocalForward localport host:remoteport",
48
+ "description": "Forward a local port through SSH to a destination accessible from the remote host.",
49
+ "type": "directive",
50
+ "module": "ssh_config(5)"
51
+ },
52
+ "RemoteForward": {
53
+ "signature": "RemoteForward remoteport host:localport",
54
+ "description": "Forward a remote port back to the local machine through the SSH tunnel.",
55
+ "type": "directive",
56
+ "module": "ssh_config(5)"
57
+ },
58
+ "DynamicForward": {
59
+ "signature": "DynamicForward port",
60
+ "description": "Set up a local SOCKS5 proxy forwarding through the SSH connection.",
61
+ "type": "directive",
62
+ "module": "ssh_config(5)"
63
+ },
64
+ "ForwardAgent": {
65
+ "signature": "ForwardAgent yes|no",
66
+ "description": "Forward the SSH authentication agent to the remote machine. Use with caution.",
67
+ "type": "directive",
68
+ "module": "ssh_config(5)"
69
+ },
70
+ "ServerAliveInterval": {
71
+ "signature": "ServerAliveInterval 60",
72
+ "description": "Send a keep-alive message every N seconds if no data has been received. Prevents connection drops.",
73
+ "type": "directive",
74
+ "module": "ssh_config(5)"
75
+ },
76
+ "StrictHostKeyChecking": {
77
+ "signature": "StrictHostKeyChecking yes|no|ask|accept-new",
78
+ "description": "Controls host key verification. accept-new adds unknown keys but rejects changed ones.",
79
+ "type": "directive",
80
+ "module": "ssh_config(5)"
81
+ },
82
+ "AddKeysToAgent": {
83
+ "signature": "AddKeysToAgent yes|no",
84
+ "description": "Automatically add keys to the running ssh-agent after authentication.",
85
+ "type": "directive",
86
+ "module": "ssh_config(5)"
87
+ }
88
+ }
89
+ }
@@ -0,0 +1,107 @@
1
+ {
2
+ "language": "systemd",
3
+ "definitions": {
4
+ "Unit": {
5
+ "signature": "[Unit]",
6
+ "description": "Contains generic information about the unit - description, dependencies, ordering.",
7
+ "type": "section",
8
+ "module": "systemd.unit"
9
+ },
10
+ "Service": {
11
+ "signature": "[Service]",
12
+ "description": "Configuration specific to service units - how to start, stop, and manage the process.",
13
+ "type": "section",
14
+ "module": "systemd.service"
15
+ },
16
+ "Install": {
17
+ "signature": "[Install]",
18
+ "description": "Installation info used by systemctl enable/disable. Defines which target pulls in this unit.",
19
+ "type": "section",
20
+ "module": "systemd.unit"
21
+ },
22
+ "Timer": {
23
+ "signature": "[Timer]",
24
+ "description": "Timer unit configuration. Modern replacement for cron jobs.",
25
+ "type": "section",
26
+ "module": "systemd.timer"
27
+ },
28
+ "Type": {
29
+ "signature": "Type=simple|forking|oneshot|notify|dbus",
30
+ "description": "Defines the process start-up type. simple: main process stays in foreground. forking: traditional daemon. oneshot: runs once.",
31
+ "type": "directive",
32
+ "module": "systemd.service"
33
+ },
34
+ "ExecStart": {
35
+ "signature": "ExecStart=/path/to/command",
36
+ "description": "The command to run when the service is started. Must be an absolute path.",
37
+ "type": "directive",
38
+ "module": "systemd.service"
39
+ },
40
+ "Restart": {
41
+ "signature": "Restart=no|on-success|on-failure|on-abnormal|on-watchdog|on-abort|always",
42
+ "description": "Configures when the service should be automatically restarted.",
43
+ "type": "directive",
44
+ "module": "systemd.service"
45
+ },
46
+ "RestartSec": {
47
+ "signature": "RestartSec=5",
48
+ "description": "Time to sleep before restarting a service. Default is 100ms.",
49
+ "type": "directive",
50
+ "module": "systemd.service"
51
+ },
52
+ "User": {
53
+ "signature": "User=username",
54
+ "description": "Run the service as the specified user.",
55
+ "type": "directive",
56
+ "module": "systemd.exec"
57
+ },
58
+ "WorkingDirectory": {
59
+ "signature": "WorkingDirectory=/path",
60
+ "description": "Set the working directory for the executed process.",
61
+ "type": "directive",
62
+ "module": "systemd.exec"
63
+ },
64
+ "Environment": {
65
+ "signature": "Environment=KEY=value",
66
+ "description": "Set environment variables for the service process.",
67
+ "type": "directive",
68
+ "module": "systemd.exec"
69
+ },
70
+ "EnvironmentFile": {
71
+ "signature": "EnvironmentFile=/path/to/file",
72
+ "description": "Load environment variables from a file. Prefix with - to ignore if missing.",
73
+ "type": "directive",
74
+ "module": "systemd.exec"
75
+ },
76
+ "After": {
77
+ "signature": "After=unit.target",
78
+ "description": "Defines ordering - start this unit after the listed units.",
79
+ "type": "directive",
80
+ "module": "systemd.unit"
81
+ },
82
+ "WantedBy": {
83
+ "signature": "WantedBy=multi-user.target",
84
+ "description": "When enabled, this unit will be started by the specified target.",
85
+ "type": "directive",
86
+ "module": "systemd.unit"
87
+ },
88
+ "OnCalendar": {
89
+ "signature": "OnCalendar=*-*-* 00:00:00",
90
+ "description": "Calendar event expression for timer units. Supports: daily, weekly, hourly, or specific timestamps.",
91
+ "type": "directive",
92
+ "module": "systemd.timer"
93
+ },
94
+ "LimitNOFILE": {
95
+ "signature": "LimitNOFILE=65536",
96
+ "description": "Set the max number of open file descriptors for the process.",
97
+ "type": "directive",
98
+ "module": "systemd.exec"
99
+ },
100
+ "ProtectSystem": {
101
+ "signature": "ProtectSystem=strict|full|true",
102
+ "description": "Mount /usr and /boot as read-only. strict also mounts /etc as read-only.",
103
+ "type": "directive",
104
+ "module": "systemd.exec"
105
+ }
106
+ }
107
+ }