@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,107 @@
1
+ {
2
+ "language": "crontab",
3
+ "definitions": {
4
+ "minute": {
5
+ "signature": "0-59 | * | */n | n,m | n-m",
6
+ "description": "Minute field (first). Values 0-59. * means every minute. */5 means every 5 minutes.",
7
+ "type": "field",
8
+ "module": "cron(5)"
9
+ },
10
+ "hour": {
11
+ "signature": "0-23 | * | */n | n,m | n-m",
12
+ "description": "Hour field (second). Values 0-23. 0 is midnight, 23 is 11 PM.",
13
+ "type": "field",
14
+ "module": "cron(5)"
15
+ },
16
+ "day_of_month": {
17
+ "signature": "1-31 | * | */n | n,m | n-m",
18
+ "description": "Day of month field (third). Values 1-31.",
19
+ "type": "field",
20
+ "module": "cron(5)"
21
+ },
22
+ "month": {
23
+ "signature": "1-12 | jan-dec | * | */n",
24
+ "description": "Month field (fourth). Values 1-12 or jan-dec abbreviations.",
25
+ "type": "field",
26
+ "module": "cron(5)"
27
+ },
28
+ "day_of_week": {
29
+ "signature": "0-7 | sun-sat | * | n,m",
30
+ "description": "Day of week field (fifth). 0 and 7 are Sunday. Or use three-letter abbreviations.",
31
+ "type": "field",
32
+ "module": "cron(5)"
33
+ },
34
+ "asterisk": {
35
+ "signature": "*",
36
+ "description": "Wildcard matching every possible value for the field.",
37
+ "type": "operator",
38
+ "module": "cron(5)"
39
+ },
40
+ "step": {
41
+ "signature": "*/n",
42
+ "description": "Step value. */5 in the minute field means every 5 minutes.",
43
+ "type": "operator",
44
+ "module": "cron(5)"
45
+ },
46
+ "range": {
47
+ "signature": "n-m",
48
+ "description": "Range of values. 1-5 in day-of-week means Monday through Friday.",
49
+ "type": "operator",
50
+ "module": "cron(5)"
51
+ },
52
+ "list": {
53
+ "signature": "n,m,o",
54
+ "description": "Comma-separated list of values. 1,15 in day-of-month means 1st and 15th.",
55
+ "type": "operator",
56
+ "module": "cron(5)"
57
+ },
58
+ "reboot": {
59
+ "signature": "@reboot",
60
+ "description": "Special schedule that runs once when the cron daemon starts (system boot).",
61
+ "type": "shortcut",
62
+ "module": "cron(5)"
63
+ },
64
+ "daily": {
65
+ "signature": "@daily (0 0 * * *)",
66
+ "description": "Special schedule equivalent to midnight every day.",
67
+ "type": "shortcut",
68
+ "module": "cron(5)"
69
+ },
70
+ "hourly": {
71
+ "signature": "@hourly (0 * * * *)",
72
+ "description": "Special schedule equivalent to the start of every hour.",
73
+ "type": "shortcut",
74
+ "module": "cron(5)"
75
+ },
76
+ "weekly": {
77
+ "signature": "@weekly (0 0 * * 0)",
78
+ "description": "Special schedule equivalent to midnight every Sunday.",
79
+ "type": "shortcut",
80
+ "module": "cron(5)"
81
+ },
82
+ "monthly": {
83
+ "signature": "@monthly (0 0 1 * *)",
84
+ "description": "Special schedule equivalent to midnight on the first of every month.",
85
+ "type": "shortcut",
86
+ "module": "cron(5)"
87
+ },
88
+ "MAILTO": {
89
+ "signature": "MAILTO=email",
90
+ "description": "Environment variable that controls where cron output is emailed. Set to \"\" to disable.",
91
+ "type": "variable",
92
+ "module": "cron(5)"
93
+ },
94
+ "PATH": {
95
+ "signature": "PATH=/usr/bin:/bin",
96
+ "description": "The search path for commands. Cron has a minimal default PATH - always set it explicitly.",
97
+ "type": "variable",
98
+ "module": "cron(5)"
99
+ },
100
+ "SHELL": {
101
+ "signature": "SHELL=/bin/bash",
102
+ "description": "The shell used to run commands. Default is /bin/sh.",
103
+ "type": "variable",
104
+ "module": "cron(5)"
105
+ }
106
+ }
107
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "language": "dotenv",
3
+ "definitions": {
4
+ "variable": {
5
+ "signature": "KEY=value",
6
+ "description": "Environment variable assignment. No spaces around =. Loaded into process environment.",
7
+ "type": "syntax",
8
+ "module": ".env"
9
+ },
10
+ "comment": {
11
+ "signature": "# comment",
12
+ "description": "Lines starting with # are comments and are ignored.",
13
+ "type": "syntax",
14
+ "module": ".env"
15
+ },
16
+ "quoted_value": {
17
+ "signature": "KEY=\"value with spaces\"",
18
+ "description": "Double-quoted values can contain spaces and some escape sequences. Single quotes are treated literally.",
19
+ "type": "syntax",
20
+ "module": ".env"
21
+ },
22
+ "multiline": {
23
+ "signature": "KEY=\"line1\\nline2\"",
24
+ "description": "Multi-line values use double quotes with \\n for newlines, or actual newlines within quotes.",
25
+ "type": "syntax",
26
+ "module": ".env"
27
+ },
28
+ "interpolation": {
29
+ "signature": "KEY=${OTHER_KEY}",
30
+ "description": "Variable expansion references other variables. Supported by dotenv-expand and some loaders.",
31
+ "type": "syntax",
32
+ "module": "dotenv-expand"
33
+ },
34
+ "export": {
35
+ "signature": "export KEY=value",
36
+ "description": "The export prefix makes the variable available to child processes. Optional in .env files.",
37
+ "type": "syntax",
38
+ "module": ".env"
39
+ },
40
+ "DATABASE_URL": {
41
+ "signature": "protocol://user:pass@host:port/db",
42
+ "description": "Standard database connection URL format. Supports postgres://, mysql://, mongodb://.",
43
+ "type": "convention",
44
+ "module": "12-Factor App"
45
+ },
46
+ "NODE_ENV": {
47
+ "signature": "development | production | test",
48
+ "description": "Node.js environment variable. Controls debug output, optimizations, and dependency behavior.",
49
+ "type": "convention",
50
+ "module": "Node.js"
51
+ },
52
+ "PORT": {
53
+ "signature": "PORT=3000",
54
+ "description": "The port number the application listens on. Common convention across frameworks.",
55
+ "type": "convention",
56
+ "module": "12-Factor App"
57
+ },
58
+ "env_file": {
59
+ "signature": ".env, .env.local, .env.production",
60
+ "description": "Files are loaded in order: .env (shared), .env.local (local overrides), .env.{NODE_ENV} (environment-specific).",
61
+ "type": "convention",
62
+ "module": "dotenv"
63
+ },
64
+ "gitignore": {
65
+ "signature": ".env in .gitignore",
66
+ "description": ".env files with secrets should NEVER be committed to git. Add to .gitignore and use .env.example as a template.",
67
+ "type": "best_practice",
68
+ "module": "Security"
69
+ }
70
+ }
71
+ }