@harness-reins/linux-x64 0.13.1 → 0.14.0-alpha.2

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 (36) hide show
  1. package/dist/reins/ZELLIJ-LICENSE.md +21 -0
  2. package/dist/reins/_internal/harness_reins/_build.txt +1 -1
  3. package/dist/reins/_internal/harness_reins/assets/skills/claude/SKILL.md +13 -11
  4. package/dist/reins/_internal/harness_reins/assets/skills/codex/SKILL.md +1 -1
  5. package/dist/reins/_internal/harness_reins/assets/skills/dsh/SKILL.md +1 -1
  6. package/dist/reins/_internal/harness_reins/assets/skills/pi/SKILL.md +1 -1
  7. package/dist/reins/_internal/lib-dynload/_asyncio.cpython-312-x86_64-linux-gnu.so +0 -0
  8. package/dist/reins/_internal/lib-dynload/_multiprocessing.cpython-312-x86_64-linux-gnu.so +0 -0
  9. package/dist/reins/_internal/lib-dynload/_posixshmem.cpython-312-x86_64-linux-gnu.so +0 -0
  10. package/dist/reins/_internal/lib-dynload/_queue.cpython-312-x86_64-linux-gnu.so +0 -0
  11. package/dist/reins/_internal/lib-dynload/mmap.cpython-312-x86_64-linux-gnu.so +0 -0
  12. package/dist/reins/_internal/textual/py.typed +0 -0
  13. package/dist/reins/_internal/textual/tree-sitter/highlights/bash.scm +56 -0
  14. package/dist/reins/_internal/textual/tree-sitter/highlights/css.scm +91 -0
  15. package/dist/reins/_internal/textual/tree-sitter/highlights/go.scm +123 -0
  16. package/dist/reins/_internal/textual/tree-sitter/highlights/html.scm +25 -0
  17. package/dist/reins/_internal/textual/tree-sitter/highlights/java.scm +142 -0
  18. package/dist/reins/_internal/textual/tree-sitter/highlights/javascript.scm +204 -0
  19. package/dist/reins/_internal/textual/tree-sitter/highlights/json.scm +32 -0
  20. package/dist/reins/_internal/textual/tree-sitter/highlights/markdown.scm +51 -0
  21. package/dist/reins/_internal/textual/tree-sitter/highlights/python.scm +313 -0
  22. package/dist/reins/_internal/textual/tree-sitter/highlights/regex.scm +50 -0
  23. package/dist/reins/_internal/textual/tree-sitter/highlights/rust.scm +155 -0
  24. package/dist/reins/_internal/textual/tree-sitter/highlights/sql.scm +444 -0
  25. package/dist/reins/_internal/textual/tree-sitter/highlights/toml.scm +36 -0
  26. package/dist/reins/_internal/textual/tree-sitter/highlights/xml.scm +168 -0
  27. package/dist/reins/_internal/textual/tree-sitter/highlights/yaml.scm +53 -0
  28. package/dist/reins/_internal/textual/widgets/__init__.pyi +43 -0
  29. package/dist/reins/_internal/textual-8.2.8.dist-info/INSTALLER +1 -0
  30. package/dist/reins/_internal/textual-8.2.8.dist-info/METADATA +266 -0
  31. package/dist/reins/_internal/textual-8.2.8.dist-info/RECORD +516 -0
  32. package/dist/reins/_internal/textual-8.2.8.dist-info/WHEEL +4 -0
  33. package/dist/reins/_internal/textual-8.2.8.dist-info/licenses/LICENSE +21 -0
  34. package/dist/reins/reins +0 -0
  35. package/dist/reins/zellij +4 -0
  36. package/package.json +1 -1
@@ -0,0 +1,204 @@
1
+ ; Variables
2
+ ;----------
3
+
4
+ (identifier) @variable
5
+
6
+ ; Properties
7
+ ;-----------
8
+
9
+ (property_identifier) @property
10
+
11
+ ; Function and method definitions
12
+ ;--------------------------------
13
+
14
+ (function_expression
15
+ name: (identifier) @function)
16
+ (function_declaration
17
+ name: (identifier) @function)
18
+ (method_definition
19
+ name: (property_identifier) @function.method)
20
+
21
+ (pair
22
+ key: (property_identifier) @function.method
23
+ value: [(function_expression) (arrow_function)])
24
+
25
+ (assignment_expression
26
+ left: (member_expression
27
+ property: (property_identifier) @function.method)
28
+ right: [(function_expression) (arrow_function)])
29
+
30
+ (variable_declarator
31
+ name: (identifier) @function
32
+ value: [(function_expression) (arrow_function)])
33
+
34
+ (assignment_expression
35
+ left: (identifier) @function
36
+ right: [(function_expression) (arrow_function)])
37
+
38
+ ; Function and method calls
39
+ ;--------------------------
40
+
41
+ (call_expression
42
+ function: (identifier) @function)
43
+
44
+ (call_expression
45
+ function: (member_expression
46
+ property: (property_identifier) @function.method))
47
+
48
+ ; Special identifiers
49
+ ;--------------------
50
+
51
+ ((identifier) @constructor
52
+ (#match? @constructor "^[A-Z]"))
53
+
54
+ ([
55
+ (identifier)
56
+ (shorthand_property_identifier)
57
+ (shorthand_property_identifier_pattern)
58
+ ] @constant
59
+ (#match? @constant "^[A-Z_][A-Z\\d_]+$"))
60
+
61
+ ((identifier) @variable.builtin
62
+ (#match? @variable.builtin "^(arguments|module|console|window|document)$")
63
+ (#is-not? local))
64
+
65
+ ((identifier) @function.builtin
66
+ (#eq? @function.builtin "require")
67
+ (#is-not? local))
68
+
69
+ ; Literals
70
+ ;---------
71
+
72
+ (this) @variable.builtin
73
+ (super) @variable.builtin
74
+
75
+ [
76
+ (true)
77
+ (false)
78
+ (null)
79
+ (undefined)
80
+ ] @constant.builtin
81
+
82
+ (comment) @comment
83
+
84
+ [
85
+ (string)
86
+ (template_string)
87
+ ] @string
88
+
89
+ (regex) @string.special
90
+ (number) @number
91
+
92
+ ; Tokens
93
+ ;-------
94
+
95
+ [
96
+ ";"
97
+ (optional_chain)
98
+ "."
99
+ ","
100
+ ] @punctuation.delimiter
101
+
102
+ [
103
+ "-"
104
+ "--"
105
+ "-="
106
+ "+"
107
+ "++"
108
+ "+="
109
+ "*"
110
+ "*="
111
+ "**"
112
+ "**="
113
+ "/"
114
+ "/="
115
+ "%"
116
+ "%="
117
+ "<"
118
+ "<="
119
+ "<<"
120
+ "<<="
121
+ "="
122
+ "=="
123
+ "==="
124
+ "!"
125
+ "!="
126
+ "!=="
127
+ "=>"
128
+ ">"
129
+ ">="
130
+ ">>"
131
+ ">>="
132
+ ">>>"
133
+ ">>>="
134
+ "~"
135
+ "^"
136
+ "&"
137
+ "|"
138
+ "^="
139
+ "&="
140
+ "|="
141
+ "&&"
142
+ "||"
143
+ "??"
144
+ "&&="
145
+ "||="
146
+ "??="
147
+ ] @operator
148
+
149
+ [
150
+ "("
151
+ ")"
152
+ "["
153
+ "]"
154
+ "{"
155
+ "}"
156
+ ] @punctuation.bracket
157
+
158
+ (template_substitution
159
+ "${" @punctuation.special
160
+ "}" @punctuation.special) @embedded
161
+
162
+ [
163
+ "as"
164
+ "async"
165
+ "await"
166
+ "break"
167
+ "case"
168
+ "catch"
169
+ "class"
170
+ "const"
171
+ "continue"
172
+ "debugger"
173
+ "default"
174
+ "delete"
175
+ "do"
176
+ "else"
177
+ "export"
178
+ "extends"
179
+ "finally"
180
+ "for"
181
+ "from"
182
+ "function"
183
+ "get"
184
+ "if"
185
+ "import"
186
+ "in"
187
+ "instanceof"
188
+ "let"
189
+ "new"
190
+ "of"
191
+ "return"
192
+ "set"
193
+ "static"
194
+ "switch"
195
+ "target"
196
+ "throw"
197
+ "try"
198
+ "typeof"
199
+ "var"
200
+ "void"
201
+ "while"
202
+ "with"
203
+ "yield"
204
+ ] @keyword
@@ -0,0 +1,32 @@
1
+ [
2
+ (true)
3
+ (false)
4
+ ] @boolean
5
+
6
+ (null) @json.null
7
+
8
+ (number) @number
9
+
10
+ (pair key: (string) @json.label)
11
+ (pair value: (string) @string)
12
+
13
+ (array (string) @string)
14
+
15
+ (string_content) @spell
16
+
17
+ (ERROR) @json.error
18
+
19
+ ["," ":"] @punctuation.delimiter
20
+
21
+ [
22
+ "[" "]"
23
+ "{" "}"
24
+ ] @punctuation.bracket
25
+
26
+ (("\"" @conceal)
27
+ (#set! conceal ""))
28
+
29
+ (escape_sequence) @string.escape
30
+ ((escape_sequence) @conceal
31
+ (#eq? @conceal "\\\"")
32
+ (#set! conceal "\""))
@@ -0,0 +1,51 @@
1
+ (atx_heading (inline) @heading)
2
+ (setext_heading (paragraph) @heading)
3
+
4
+ [
5
+ (atx_h1_marker)
6
+ (atx_h2_marker)
7
+ (atx_h3_marker)
8
+ (atx_h4_marker)
9
+ (atx_h5_marker)
10
+ (atx_h6_marker)
11
+ (setext_h1_underline)
12
+ (setext_h2_underline)
13
+ ] @heading.marker
14
+
15
+ [
16
+ (link_title)
17
+ (indented_code_block)
18
+ (fenced_code_block)
19
+ ] @text.literal
20
+
21
+ [
22
+ (fenced_code_block_delimiter)
23
+ ] @punctuation.delimiter
24
+
25
+ (code_fence_content) @none
26
+
27
+ [
28
+ (link_destination)
29
+ ] @link.uri
30
+
31
+ [
32
+ (link_label)
33
+ ] @link.label
34
+
35
+ [
36
+ (list_marker_plus)
37
+ (list_marker_minus)
38
+ (list_marker_star)
39
+ (list_marker_dot)
40
+ (list_marker_parenthesis)
41
+ (thematic_break)
42
+ ] @list.marker
43
+
44
+ [
45
+ (block_continuation)
46
+ (block_quote_marker)
47
+ ] @punctuation.special
48
+
49
+ [
50
+ (backslash_escape)
51
+ ] @string.escape
@@ -0,0 +1,313 @@
1
+ ;; From tree-sitter-python licensed under MIT License
2
+ ; Copyright (c) 2016 Max Brunsfeld
3
+ ; Adapted for Textual from:
4
+ ; https://github.com/nvim-treesitter/nvim-treesitter/blob/f95ffd09ed35880c3a46ad2b968df361fa592a76/queries/python/highlights.scm
5
+
6
+ ; Variables
7
+ (identifier) @variable
8
+
9
+ ; Reset highlighting in f-string interpolations
10
+ (interpolation) @none
11
+
12
+ ;; Identifier naming conventions
13
+ ((identifier) @type
14
+ (#match? @type "^[A-Z].*[a-z]"))
15
+ ((identifier) @constant
16
+ (#match? @constant "^[A-Z][A-Z_0-9]*$"))
17
+
18
+ ((attribute
19
+ attribute: (identifier) @field)
20
+ (#match? @field "^([A-Z])@!.*$"))
21
+
22
+ ((identifier) @type.builtin
23
+ (#any-of? @type.builtin
24
+ ;; https://docs.python.org/3/library/exceptions.html
25
+ "BaseException" "Exception" "ArithmeticError" "BufferError" "LookupError" "AssertionError" "AttributeError"
26
+ "EOFError" "FloatingPointError" "GeneratorExit" "ImportError" "ModuleNotFoundError" "IndexError" "KeyError"
27
+ "KeyboardInterrupt" "MemoryError" "NameError" "NotImplementedError" "OSError" "OverflowError" "RecursionError"
28
+ "ReferenceError" "RuntimeError" "StopIteration" "StopAsyncIteration" "SyntaxError" "IndentationError" "TabError"
29
+ "SystemError" "SystemExit" "TypeError" "UnboundLocalError" "UnicodeError" "UnicodeEncodeError" "UnicodeDecodeError"
30
+ "UnicodeTranslateError" "ValueError" "ZeroDivisionError" "EnvironmentError" "IOError" "WindowsError"
31
+ "BlockingIOError" "ChildProcessError" "ConnectionError" "BrokenPipeError" "ConnectionAbortedError"
32
+ "ConnectionRefusedError" "ConnectionResetError" "FileExistsError" "FileNotFoundError" "InterruptedError"
33
+ "IsADirectoryError" "NotADirectoryError" "PermissionError" "ProcessLookupError" "TimeoutError" "Warning"
34
+ "UserWarning" "DeprecationWarning" "PendingDeprecationWarning" "SyntaxWarning" "RuntimeWarning"
35
+ "FutureWarning" "ImportWarning" "UnicodeWarning" "BytesWarning" "ResourceWarning"
36
+ ;; https://docs.python.org/3/library/stdtypes.html
37
+ "bool" "int" "float" "complex" "list" "tuple" "range" "str"
38
+ "bytes" "bytearray" "memoryview" "set" "frozenset" "dict" "type"))
39
+
40
+ ((assignment
41
+ left: (identifier) @type.definition
42
+ (type (identifier) @_annotation))
43
+ (#eq? @_annotation "TypeAlias"))
44
+
45
+ ((assignment
46
+ left: (identifier) @type.definition
47
+ right: (call
48
+ function: (identifier) @_func))
49
+ (#any-of? @_func "TypeVar" "NewType"))
50
+
51
+ ; Function calls
52
+
53
+ (call
54
+ function: (identifier) @function.call)
55
+
56
+ (call
57
+ function: (attribute
58
+ attribute: (identifier) @method.call))
59
+
60
+ ((call
61
+ function: (identifier) @constructor)
62
+ (#match? @constructor "^[A-Z]"))
63
+
64
+ ((call
65
+ function: (attribute
66
+ attribute: (identifier) @constructor))
67
+ (#match? @constructor "^[A-Z]"))
68
+
69
+ ;; Decorators
70
+
71
+ ((decorator "@" @attribute)
72
+ (#set! "priority" 101))
73
+
74
+ (decorator
75
+ (identifier) @attribute)
76
+ (decorator
77
+ (attribute
78
+ attribute: (identifier) @attribute))
79
+ (decorator
80
+ (call (identifier) @attribute))
81
+ (decorator
82
+ (call (attribute
83
+ attribute: (identifier) @attribute)))
84
+
85
+ ((decorator
86
+ (identifier) @attribute.builtin)
87
+ (#any-of? @attribute.builtin "classmethod" "property"))
88
+
89
+ ;; Builtin functions
90
+
91
+ ((call
92
+ function: (identifier) @function.builtin)
93
+ (#any-of? @function.builtin
94
+ "abs" "all" "any" "ascii" "bin" "bool" "breakpoint" "bytearray" "bytes" "callable" "chr" "classmethod"
95
+ "compile" "complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval" "exec" "filter" "float" "format"
96
+ "frozenset" "getattr" "globals" "hasattr" "hash" "help" "hex" "id" "input" "int" "isinstance" "issubclass"
97
+ "iter" "len" "list" "locals" "map" "max" "memoryview" "min" "next" "object" "oct" "open" "ord" "pow"
98
+ "print" "property" "range" "repr" "reversed" "round" "set" "setattr" "slice" "sorted" "staticmethod" "str"
99
+ "sum" "super" "tuple" "type" "vars" "zip" "__import__"))
100
+
101
+ ;; Function definitions
102
+
103
+ (function_definition
104
+ name: (identifier) @function)
105
+
106
+ (type (identifier) @type)
107
+ (type
108
+ (subscript
109
+ (identifier) @type)) ; type subscript: Tuple[int]
110
+
111
+ ((call
112
+ function: (identifier) @_isinstance
113
+ arguments: (argument_list
114
+ (_)
115
+ (identifier) @type))
116
+ (#eq? @_isinstance "isinstance"))
117
+
118
+ ;; Normal parameters
119
+ (parameters
120
+ (identifier) @parameter)
121
+ ;; Lambda parameters
122
+ (lambda_parameters
123
+ (identifier) @parameter)
124
+ (lambda_parameters
125
+ (tuple_pattern
126
+ (identifier) @parameter))
127
+ ; Default parameters
128
+ (keyword_argument
129
+ name: (identifier) @parameter)
130
+ ; Naming parameters on call-site
131
+ (default_parameter
132
+ name: (identifier) @parameter)
133
+ (typed_parameter
134
+ (identifier) @parameter)
135
+ (typed_default_parameter
136
+ (identifier) @parameter)
137
+ ; Variadic parameters *args, **kwargs
138
+ (parameters
139
+ (list_splat_pattern ; *args
140
+ (identifier) @parameter))
141
+ (parameters
142
+ (dictionary_splat_pattern ; **kwargs
143
+ (identifier) @parameter))
144
+
145
+
146
+ ;; Literals
147
+
148
+ (none) @constant.builtin
149
+ [(true) (false)] @boolean
150
+ ((identifier) @variable.builtin
151
+ (#eq? @variable.builtin "self"))
152
+ ((identifier) @variable.builtin
153
+ (#eq? @variable.builtin "cls"))
154
+
155
+ (integer) @number
156
+ (float) @float
157
+
158
+ (comment) @comment @spell
159
+
160
+ ((module . (comment) @preproc)
161
+ (#match? @preproc "^#!/"))
162
+
163
+ (string) @string
164
+ (escape_sequence) @string.escape
165
+
166
+ ; doc-strings
167
+ (expression_statement (string) @spell)
168
+
169
+ ; Tokens
170
+
171
+ [
172
+ "-"
173
+ "-="
174
+ ":="
175
+ "!="
176
+ "*"
177
+ "**"
178
+ "**="
179
+ "*="
180
+ "/"
181
+ "//"
182
+ "//="
183
+ "/="
184
+ "&"
185
+ "&="
186
+ "%"
187
+ "%="
188
+ "^"
189
+ "^="
190
+ "+"
191
+ "+="
192
+ "<"
193
+ "<<"
194
+ "<<="
195
+ "<="
196
+ "<>"
197
+ "="
198
+ "=="
199
+ ">"
200
+ ">="
201
+ ">>"
202
+ ">>="
203
+ "@"
204
+ "@="
205
+ "|"
206
+ "|="
207
+ "~"
208
+ "->"
209
+ ] @operator
210
+
211
+ ; Keywords
212
+ [
213
+ "and"
214
+ "in"
215
+ "is"
216
+ "not"
217
+ "or"
218
+ "del"
219
+ ] @keyword.operator
220
+
221
+ [
222
+ "def"
223
+ "lambda"
224
+ ] @keyword.function
225
+
226
+ [
227
+ "assert"
228
+ "async"
229
+ "await"
230
+ "class"
231
+ "exec"
232
+ "global"
233
+ "nonlocal"
234
+ "pass"
235
+ "print"
236
+ "with"
237
+ "as"
238
+ ] @keyword
239
+
240
+ [
241
+ "return"
242
+ "yield"
243
+ ] @keyword.return
244
+ (yield "from" @keyword.return)
245
+
246
+ (future_import_statement
247
+ "from" @include
248
+ "__future__" @constant.builtin)
249
+ (import_from_statement "from" @include)
250
+ "import" @include
251
+
252
+ (aliased_import "as" @include)
253
+
254
+ ["if" "elif" "else" "match" "case"] @conditional
255
+
256
+ ["for" "while" "break" "continue"] @repeat
257
+
258
+ [
259
+ "try"
260
+ "except"
261
+ "raise"
262
+ "finally"
263
+ ] @exception
264
+
265
+ (raise_statement "from" @exception)
266
+
267
+ (try_statement
268
+ (else_clause
269
+ "else" @exception))
270
+
271
+ ["(" ")" "[" "]" "{" "}"] @punctuation.bracket
272
+
273
+ (interpolation
274
+ "{" @punctuation.special
275
+ "}" @punctuation.special)
276
+
277
+ ["," "." ":" ";" (ellipsis)] @punctuation.delimiter
278
+
279
+ ;; Class definitions
280
+
281
+ (class_definition name: (identifier) @type.class)
282
+
283
+ (class_definition
284
+ body: (block
285
+ (function_definition
286
+ name: (identifier) @method)))
287
+
288
+ (class_definition
289
+ superclasses: (argument_list
290
+ (identifier) @type))
291
+
292
+ ((class_definition
293
+ body: (block
294
+ (expression_statement
295
+ (assignment
296
+ left: (identifier) @field))))
297
+ (#match? @field "^([A-Z])@!.*$"))
298
+ ((class_definition
299
+ body: (block
300
+ (expression_statement
301
+ (assignment
302
+ left: (_
303
+ (identifier) @field)))))
304
+ (#match? @field "^([A-Z])@!.*$"))
305
+
306
+ ((class_definition
307
+ (block
308
+ (function_definition
309
+ name: (identifier) @constructor)))
310
+ (#any-of? @constructor "__new__" "__init__"))
311
+
312
+ ;; Error
313
+ (ERROR) @error
@@ -0,0 +1,50 @@
1
+ [
2
+ "("
3
+ ")"
4
+ "(?"
5
+ "(?:"
6
+ "(?<"
7
+ ">"
8
+ "["
9
+ "]"
10
+ "{"
11
+ "}"
12
+ ] @punctuation.bracket
13
+
14
+ (group_name) @property
15
+
16
+ [
17
+ (identity_escape)
18
+ (control_letter_escape)
19
+ (character_class_escape)
20
+ (control_escape)
21
+ (start_assertion)
22
+ (end_assertion)
23
+ (boundary_assertion)
24
+ (non_boundary_assertion)
25
+ ] @escape
26
+
27
+ [
28
+ "*"
29
+ "+"
30
+ "?"
31
+ "|"
32
+ "="
33
+ "!"
34
+ ] @operator
35
+
36
+ (count_quantifier
37
+ [
38
+ (decimal_digits) @number
39
+ "," @punctuation.delimiter
40
+ ])
41
+
42
+ (character_class
43
+ [
44
+ "^" @operator
45
+ (class_range "-" @operator)
46
+ ])
47
+
48
+ (class_character) @constant.character
49
+
50
+ (pattern_character) @string