skydive-cli 0.2.0-beta.742 → 0.3.0-beta.764

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 (34) hide show
  1. package/CHANGELOG.md +37 -3
  2. package/dist/js/bin.mjs +5 -5
  3. package/dist/js/{boot-DhorgAxS.mjs → boot-Bs-IF23f.mjs} +115 -16
  4. package/dist/js/chat/tui/chunks/grammars/assets/bash.highlights.scm +56 -0
  5. package/dist/js/chat/tui/chunks/grammars/assets/bash.wasm +0 -0
  6. package/dist/js/chat/tui/chunks/grammars/assets/c.highlights.scm +81 -0
  7. package/dist/js/chat/tui/chunks/grammars/assets/c.wasm +0 -0
  8. package/dist/js/chat/tui/chunks/grammars/assets/cpp.highlights.scm +70 -0
  9. package/dist/js/chat/tui/chunks/grammars/assets/cpp.wasm +0 -0
  10. package/dist/js/chat/tui/chunks/grammars/assets/css.highlights.scm +76 -0
  11. package/dist/js/chat/tui/chunks/grammars/assets/css.wasm +0 -0
  12. package/dist/js/chat/tui/chunks/grammars/assets/go.highlights.scm +123 -0
  13. package/dist/js/chat/tui/chunks/grammars/assets/go.wasm +0 -0
  14. package/dist/js/chat/tui/chunks/grammars/assets/html.highlights.scm +13 -0
  15. package/dist/js/chat/tui/chunks/grammars/assets/html.wasm +0 -0
  16. package/dist/js/chat/tui/chunks/grammars/assets/java.highlights.scm +149 -0
  17. package/dist/js/chat/tui/chunks/grammars/assets/java.wasm +0 -0
  18. package/dist/js/chat/tui/chunks/grammars/assets/json.highlights.scm +16 -0
  19. package/dist/js/chat/tui/chunks/grammars/assets/json.wasm +0 -0
  20. package/dist/js/chat/tui/chunks/grammars/assets/lua.highlights.scm +201 -0
  21. package/dist/js/chat/tui/chunks/grammars/assets/lua.wasm +0 -0
  22. package/dist/js/chat/tui/chunks/grammars/assets/python.highlights.scm +137 -0
  23. package/dist/js/chat/tui/chunks/grammars/assets/python.wasm +0 -0
  24. package/dist/js/chat/tui/chunks/grammars/assets/ruby.highlights.scm +154 -0
  25. package/dist/js/chat/tui/chunks/grammars/assets/ruby.wasm +0 -0
  26. package/dist/js/chat/tui/chunks/grammars/assets/rust.highlights.scm +161 -0
  27. package/dist/js/chat/tui/chunks/grammars/assets/rust.wasm +0 -0
  28. package/dist/js/chat/tui/chunks/grammars/assets/toml.highlights.scm +53 -0
  29. package/dist/js/chat/tui/chunks/grammars/assets/toml.wasm +0 -0
  30. package/dist/js/chat/tui/chunks/grammars/assets/yaml.highlights.scm +79 -0
  31. package/dist/js/chat/tui/chunks/grammars/assets/yaml.wasm +0 -0
  32. package/dist/js/chat/tui/chunks/grammars/grammars.ts +146 -0
  33. package/dist/js/{install-Cv3sBZxr.mjs → install-DEZmJLGH.mjs} +1 -1
  34. package/package.json +1 -1
@@ -0,0 +1,123 @@
1
+ ; Function calls
2
+
3
+ (call_expression
4
+ function: (identifier) @function)
5
+
6
+ (call_expression
7
+ function: (identifier) @function.builtin
8
+ (#match? @function.builtin "^(append|cap|close|complex|copy|delete|imag|len|make|new|panic|print|println|real|recover)$"))
9
+
10
+ (call_expression
11
+ function: (selector_expression
12
+ field: (field_identifier) @function.method))
13
+
14
+ ; Function definitions
15
+
16
+ (function_declaration
17
+ name: (identifier) @function)
18
+
19
+ (method_declaration
20
+ name: (field_identifier) @function.method)
21
+
22
+ ; Identifiers
23
+
24
+ (type_identifier) @type
25
+ (field_identifier) @property
26
+ (identifier) @variable
27
+
28
+ ; Operators
29
+
30
+ [
31
+ "--"
32
+ "-"
33
+ "-="
34
+ ":="
35
+ "!"
36
+ "!="
37
+ "..."
38
+ "*"
39
+ "*"
40
+ "*="
41
+ "/"
42
+ "/="
43
+ "&"
44
+ "&&"
45
+ "&="
46
+ "%"
47
+ "%="
48
+ "^"
49
+ "^="
50
+ "+"
51
+ "++"
52
+ "+="
53
+ "<-"
54
+ "<"
55
+ "<<"
56
+ "<<="
57
+ "<="
58
+ "="
59
+ "=="
60
+ ">"
61
+ ">="
62
+ ">>"
63
+ ">>="
64
+ "|"
65
+ "|="
66
+ "||"
67
+ "~"
68
+ ] @operator
69
+
70
+ ; Keywords
71
+
72
+ [
73
+ "break"
74
+ "case"
75
+ "chan"
76
+ "const"
77
+ "continue"
78
+ "default"
79
+ "defer"
80
+ "else"
81
+ "fallthrough"
82
+ "for"
83
+ "func"
84
+ "go"
85
+ "goto"
86
+ "if"
87
+ "import"
88
+ "interface"
89
+ "map"
90
+ "package"
91
+ "range"
92
+ "return"
93
+ "select"
94
+ "struct"
95
+ "switch"
96
+ "type"
97
+ "var"
98
+ ] @keyword
99
+
100
+ ; Literals
101
+
102
+ [
103
+ (interpreted_string_literal)
104
+ (raw_string_literal)
105
+ (rune_literal)
106
+ ] @string
107
+
108
+ (escape_sequence) @escape
109
+
110
+ [
111
+ (int_literal)
112
+ (float_literal)
113
+ (imaginary_literal)
114
+ ] @number
115
+
116
+ [
117
+ (true)
118
+ (false)
119
+ (nil)
120
+ (iota)
121
+ ] @constant.builtin
122
+
123
+ (comment) @comment
@@ -0,0 +1,13 @@
1
+ (tag_name) @tag
2
+ (erroneous_end_tag_name) @tag.error
3
+ (doctype) @constant
4
+ (attribute_name) @attribute
5
+ (attribute_value) @string
6
+ (comment) @comment
7
+
8
+ [
9
+ "<"
10
+ ">"
11
+ "</"
12
+ "/>"
13
+ ] @punctuation.bracket
@@ -0,0 +1,149 @@
1
+ ; Variables
2
+
3
+ (identifier) @variable
4
+
5
+ ; Methods
6
+
7
+ (method_declaration
8
+ name: (identifier) @function.method)
9
+ (method_invocation
10
+ name: (identifier) @function.method)
11
+ (super) @function.builtin
12
+
13
+ ; Annotations
14
+
15
+ (annotation
16
+ name: (identifier) @attribute)
17
+ (marker_annotation
18
+ name: (identifier) @attribute)
19
+
20
+ "@" @operator
21
+
22
+ ; Types
23
+
24
+ (type_identifier) @type
25
+
26
+ (interface_declaration
27
+ name: (identifier) @type)
28
+ (class_declaration
29
+ name: (identifier) @type)
30
+ (enum_declaration
31
+ name: (identifier) @type)
32
+
33
+ ((field_access
34
+ object: (identifier) @type)
35
+ (#match? @type "^[A-Z]"))
36
+ ((scoped_identifier
37
+ scope: (identifier) @type)
38
+ (#match? @type "^[A-Z]"))
39
+ ((method_invocation
40
+ object: (identifier) @type)
41
+ (#match? @type "^[A-Z]"))
42
+ ((method_reference
43
+ . (identifier) @type)
44
+ (#match? @type "^[A-Z]"))
45
+
46
+ (constructor_declaration
47
+ name: (identifier) @type)
48
+
49
+ [
50
+ (boolean_type)
51
+ (integral_type)
52
+ (floating_point_type)
53
+ (floating_point_type)
54
+ (void_type)
55
+ ] @type.builtin
56
+
57
+ ; Constants
58
+
59
+ ((identifier) @constant
60
+ (#match? @constant "^_*[A-Z][A-Z\\d_]+$"))
61
+
62
+ ; Builtins
63
+
64
+ (this) @variable.builtin
65
+
66
+ ; Literals
67
+
68
+ [
69
+ (hex_integer_literal)
70
+ (decimal_integer_literal)
71
+ (octal_integer_literal)
72
+ (decimal_floating_point_literal)
73
+ (hex_floating_point_literal)
74
+ ] @number
75
+
76
+ [
77
+ (character_literal)
78
+ (string_literal)
79
+ ] @string
80
+ (escape_sequence) @string.escape
81
+
82
+ [
83
+ (true)
84
+ (false)
85
+ (null_literal)
86
+ ] @constant.builtin
87
+
88
+ [
89
+ (line_comment)
90
+ (block_comment)
91
+ ] @comment
92
+
93
+ ; Keywords
94
+
95
+ [
96
+ "abstract"
97
+ "assert"
98
+ "break"
99
+ "case"
100
+ "catch"
101
+ "class"
102
+ "continue"
103
+ "default"
104
+ "do"
105
+ "else"
106
+ "enum"
107
+ "exports"
108
+ "extends"
109
+ "final"
110
+ "finally"
111
+ "for"
112
+ "if"
113
+ "implements"
114
+ "import"
115
+ "instanceof"
116
+ "interface"
117
+ "module"
118
+ "native"
119
+ "new"
120
+ "non-sealed"
121
+ "open"
122
+ "opens"
123
+ "package"
124
+ "permits"
125
+ "private"
126
+ "protected"
127
+ "provides"
128
+ "public"
129
+ "requires"
130
+ "record"
131
+ "return"
132
+ "sealed"
133
+ "static"
134
+ "strictfp"
135
+ "switch"
136
+ "synchronized"
137
+ "throw"
138
+ "throws"
139
+ "to"
140
+ "transient"
141
+ "transitive"
142
+ "try"
143
+ "uses"
144
+ "volatile"
145
+ "when"
146
+ "while"
147
+ "with"
148
+ "yield"
149
+ ] @keyword
@@ -0,0 +1,16 @@
1
+ (pair
2
+ key: (_) @string.special.key)
3
+
4
+ (string) @string
5
+
6
+ (number) @number
7
+
8
+ [
9
+ (null)
10
+ (true)
11
+ (false)
12
+ ] @constant.builtin
13
+
14
+ (escape_sequence) @escape
15
+
16
+ (comment) @comment
@@ -0,0 +1,201 @@
1
+ ; Keywords
2
+ "return" @keyword.return
3
+
4
+ [
5
+ "goto"
6
+ "in"
7
+ "local"
8
+ ] @keyword
9
+
10
+ (label_statement) @label
11
+
12
+ (break_statement) @keyword
13
+
14
+ (do_statement
15
+ [
16
+ "do"
17
+ "end"
18
+ ] @keyword)
19
+
20
+ (while_statement
21
+ [
22
+ "while"
23
+ "do"
24
+ "end"
25
+ ] @repeat)
26
+
27
+ (repeat_statement
28
+ [
29
+ "repeat"
30
+ "until"
31
+ ] @repeat)
32
+
33
+ (if_statement
34
+ [
35
+ "if"
36
+ "elseif"
37
+ "else"
38
+ "then"
39
+ "end"
40
+ ] @conditional)
41
+
42
+ (elseif_statement
43
+ [
44
+ "elseif"
45
+ "then"
46
+ "end"
47
+ ] @conditional)
48
+
49
+ (else_statement
50
+ [
51
+ "else"
52
+ "end"
53
+ ] @conditional)
54
+
55
+ (for_statement
56
+ [
57
+ "for"
58
+ "do"
59
+ "end"
60
+ ] @repeat)
61
+
62
+ (function_declaration
63
+ [
64
+ "function"
65
+ "end"
66
+ ] @keyword.function)
67
+
68
+ (function_definition
69
+ [
70
+ "function"
71
+ "end"
72
+ ] @keyword.function)
73
+
74
+ ; Operators
75
+ (binary_expression
76
+ operator: _ @operator)
77
+
78
+ (unary_expression
79
+ operator: _ @operator)
80
+
81
+ [
82
+ "and"
83
+ "not"
84
+ "or"
85
+ ] @keyword.operator
86
+
87
+ ; Punctuations
88
+ [
89
+ ";"
90
+ ":"
91
+ ","
92
+ "."
93
+ ] @punctuation.delimiter
94
+
95
+ ; Brackets
96
+ [
97
+ "("
98
+ ")"
99
+ "["
100
+ "]"
101
+ "{"
102
+ "}"
103
+ ] @punctuation.bracket
104
+
105
+ ; Variables
106
+ (identifier) @variable
107
+
108
+ ((identifier) @variable.builtin
109
+ (#eq? @variable.builtin "self"))
110
+
111
+ (variable_list
112
+ (attribute
113
+ "<" @punctuation.bracket
114
+ (identifier) @attribute
115
+ ">" @punctuation.bracket))
116
+
117
+ ; Constants
118
+ ((identifier) @constant
119
+ (#match? @constant "^[A-Z][A-Z_0-9]*$"))
120
+
121
+ (vararg_expression) @constant
122
+
123
+ (nil) @constant.builtin
124
+
125
+ [
126
+ (false)
127
+ (true)
128
+ ] @boolean
129
+
130
+ ; Tables
131
+ (field
132
+ name: (identifier) @field)
133
+
134
+ (dot_index_expression
135
+ field: (identifier) @field)
136
+
137
+ (table_constructor
138
+ [
139
+ "{"
140
+ "}"
141
+ ] @constructor)
142
+
143
+ ; Functions
144
+ (parameters
145
+ (identifier) @parameter)
146
+
147
+ (function_declaration
148
+ name: [
149
+ (identifier) @function
150
+ (dot_index_expression
151
+ field: (identifier) @function)
152
+ ])
153
+
154
+ (function_declaration
155
+ name: (method_index_expression
156
+ method: (identifier) @method))
157
+
158
+ (assignment_statement
159
+ (variable_list
160
+ .
161
+ name: [
162
+ (identifier) @function
163
+ (dot_index_expression
164
+ field: (identifier) @function)
165
+ ])
166
+ (expression_list
167
+ .
168
+ value: (function_definition)))
169
+
170
+ (table_constructor
171
+ (field
172
+ name: (identifier) @function
173
+ value: (function_definition)))
174
+
175
+ (function_call
176
+ name: [
177
+ (identifier) @function.call
178
+ (dot_index_expression
179
+ field: (identifier) @function.call)
180
+ (method_index_expression
181
+ method: (identifier) @method.call)
182
+ ])
183
+
184
+ (function_call
185
+ (identifier) @function.builtin
186
+ (#any-of? @function.builtin
187
+ ; built-in functions in Lua 5.1
188
+ "assert" "collectgarbage" "dofile" "error" "getfenv" "getmetatable" "ipairs" "load" "loadfile"
189
+ "loadstring" "module" "next" "pairs" "pcall" "print" "rawequal" "rawget" "rawset" "require"
190
+ "select" "setfenv" "setmetatable" "tonumber" "tostring" "type" "unpack" "xpcall"))
191
+
192
+ ; Others
193
+ (comment) @comment
194
+
195
+ (hash_bang_line) @preproc
196
+
197
+ (number) @number
198
+
199
+ (string) @string
200
+
201
+ (escape_sequence) @string.escape
@@ -0,0 +1,137 @@
1
+ ; Identifier naming conventions
2
+
3
+ (identifier) @variable
4
+
5
+ ((identifier) @constructor
6
+ (#match? @constructor "^[A-Z]"))
7
+
8
+ ((identifier) @constant
9
+ (#match? @constant "^[A-Z][A-Z_]*$"))
10
+
11
+ ; Function calls
12
+
13
+ (decorator) @function
14
+ (decorator
15
+ (identifier) @function)
16
+
17
+ (call
18
+ function: (attribute attribute: (identifier) @function.method))
19
+ (call
20
+ function: (identifier) @function)
21
+
22
+ ; Builtin functions
23
+
24
+ ((call
25
+ function: (identifier) @function.builtin)
26
+ (#match?
27
+ @function.builtin
28
+ "^(abs|all|any|ascii|bin|bool|breakpoint|bytearray|bytes|callable|chr|classmethod|compile|complex|delattr|dict|dir|divmod|enumerate|eval|exec|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|isinstance|issubclass|iter|len|list|locals|map|max|memoryview|min|next|object|oct|open|ord|pow|print|property|range|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|vars|zip|__import__)$"))
29
+
30
+ ; Function definitions
31
+
32
+ (function_definition
33
+ name: (identifier) @function)
34
+
35
+ (attribute attribute: (identifier) @property)
36
+ (type (identifier) @type)
37
+
38
+ ; Literals
39
+
40
+ [
41
+ (none)
42
+ (true)
43
+ (false)
44
+ ] @constant.builtin
45
+
46
+ [
47
+ (integer)
48
+ (float)
49
+ ] @number
50
+
51
+ (comment) @comment
52
+ (string) @string
53
+ (escape_sequence) @escape
54
+
55
+ (interpolation
56
+ "{" @punctuation.special
57
+ "}" @punctuation.special) @embedded
58
+
59
+ [
60
+ "-"
61
+ "-="
62
+ "!="
63
+ "*"
64
+ "**"
65
+ "**="
66
+ "*="
67
+ "/"
68
+ "//"
69
+ "//="
70
+ "/="
71
+ "&"
72
+ "&="
73
+ "%"
74
+ "%="
75
+ "^"
76
+ "^="
77
+ "+"
78
+ "->"
79
+ "+="
80
+ "<"
81
+ "<<"
82
+ "<<="
83
+ "<="
84
+ "<>"
85
+ "="
86
+ ":="
87
+ "=="
88
+ ">"
89
+ ">="
90
+ ">>"
91
+ ">>="
92
+ "|"
93
+ "|="
94
+ "~"
95
+ "@="
96
+ "and"
97
+ "in"
98
+ "is"
99
+ "not"
100
+ "or"
101
+ "is not"
102
+ "not in"
103
+ ] @operator
104
+
105
+ [
106
+ "as"
107
+ "assert"
108
+ "async"
109
+ "await"
110
+ "break"
111
+ "class"
112
+ "continue"
113
+ "def"
114
+ "del"
115
+ "elif"
116
+ "else"
117
+ "except"
118
+ "exec"
119
+ "finally"
120
+ "for"
121
+ "from"
122
+ "global"
123
+ "if"
124
+ "import"
125
+ "lambda"
126
+ "nonlocal"
127
+ "pass"
128
+ "print"
129
+ "raise"
130
+ "return"
131
+ "try"
132
+ "while"
133
+ "with"
134
+ "yield"
135
+ "match"
136
+ "case"
137
+ ] @keyword