robotcode 2.9.0.dev87__tar.gz → 2.9.0.dev124__tar.gz

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.
@@ -61,6 +61,33 @@ All notable changes to this project will be documented in this file. See [conven
61
61
 
62
62
  #### REPL
63
63
 
64
+ - Stop at a line breakpoint given with a root but no drive on Windows ([ab061f4](https://github.com/robotcodedev/robotcode/commit/ab061f4846d8a1fd957eebda05b00459fa79f613))
65
+
66
+ `--break \tests\login.robot:42` names one file on the current drive, but it was
67
+ compared with the end of the path and never stopped.
68
+
69
+ - Leave a result that can be read after .abort ([dd29519](https://github.com/robotcodedev/robotcode/commit/dd295192d85d66033e7401d518c6462f20a6f6c3))
70
+
71
+ `.abort`, `session stop`, `session restart` and the idle timeout left an
72
+ `output.xml` that `robotcode results` couldn't read. A debug run now ends as on
73
+ SIGTERM: the current test fails, the remaining tests don't run, teardowns run and
74
+ the output files are written. The exit code stays 253, and `--skipteardownonexit`
75
+ skips the teardowns.
76
+
77
+ - Exit with 1 from session send when a dot command fails ([8982bda](https://github.com/robotcodedev/robotcode/commit/8982bda643087d6f651ea9552b6a0a4e218b4715))
78
+
79
+ `.foo`, `.print ${nope}` or `.doc` without a target looked like a success to a
80
+ script or an agent, because `robotcode session send` exited with 0. It now exits
81
+ with 1 when a dot command can't do what was asked, and the session goes on.
82
+
83
+ - Stop at a line breakpoint given by file name and warn about one never reached ([b2c7502](https://github.com/robotcodedev/robotcode/commit/b2c75026238c4ffafc0674b79837bd4dd68272eb))
84
+
85
+ `--break login.robot:42` now stops in `tests/login.robot`, as the docs have
86
+ always shown: the end of the path is enough, as in gdb, and `.breakpoints` lists
87
+ a breakpoint as it was given. A breakpoint that no keyword reached, with a
88
+ mistyped path or on the line of a test's name, no longer looks like a run that
89
+ simply went through: a warning at the end of the run names it.
90
+
64
91
  - Say why a session can't start when it can't write its file ([aef19d3](https://github.com/robotcodedev/robotcode/commit/aef19d34b51908d127013eb0ef39eec0bcbdb795))
65
92
 
66
93
  In the sandbox of an agent on Windows, `robotcode session start` now says that it can't create the files of the session and exits with 252, instead of showing a traceback.
@@ -95,6 +122,21 @@ All notable changes to this project will be documented in this file. See [conven
95
122
 
96
123
  #### Robot
97
124
 
125
+ - Keep plain text in Robot-format documentation as written ([b00d267](https://github.com/robotcodedev/robotcode/commit/b00d267a7fbb3187de7ca728ead8011b3f196af0))
126
+
127
+ Documentation written in Robot Framework's format now shows the same
128
+ characters as in Libdoc. `\\d+` no longer becomes `\d+`, `*HTML*Test` keeps
129
+ its stars, `__init__` its underscores, and `<b>` in a heading or in the name
130
+ of a keyword or test stays visible. Markdown syntax and numbered paragraphs
131
+ in such documentation stay text too, as in Libdoc.
132
+
133
+ - Keep code in Robot-format documentation as written ([a1a9073](https://github.com/robotcodedev/robotcode/commit/a1a9073c0e3defd1aaabd0f88d7bc91be404e884))
134
+
135
+ Code in documentation written in Robot Framework's format can now be copied
136
+ and pasted without rework. A code span shows `vscode/<n>` instead of
137
+ `vscode/\<n>`, and code blocks no longer keep the backticks around keyword
138
+ names. A link in code becomes its text, since Markdown code can't hold a link.
139
+
98
140
  - Find a library class whose name differs from its module ([598239d](https://github.com/robotcodedev/robotcode/commit/598239d4a35cd7faf605b0e34271a4a45609abe2))
99
141
 
100
142
  Since Robot Framework 7.2 a library module may hold its library class
@@ -110,6 +152,31 @@ All notable changes to this project will be documented in this file. See [conven
110
152
  text in hovers and in the Documentation Viewer instead of a link or an image.
111
153
 
112
154
 
155
+ #### RobotCode
156
+
157
+ - Find a setting by its exact name in config info ([dcd2c48](https://github.com/robotcodedev/robotcode/commit/dcd2c481cd86cadc763c1686abcd23df96c0b9fe))
158
+
159
+ `robotcode config info desc "[profile].precedence"` printed nothing, because the
160
+ brackets were read as a pattern. Exact names now work, and patterns as before.
161
+
162
+
163
+ #### Runner
164
+
165
+ - Show the suites above a test in results log --suite-info ([989344d](https://github.com/robotcodedev/robotcode/commit/989344d994597d4c5942b1a5bbb23a03a10e8f8d))
166
+
167
+ The text output of `robotcode results log --suite-info` showed only the suite a
168
+ test lies in, so the documentation and metadata of the suites above it, such as
169
+ the top suite, were missing, although the JSON and `log.html` have them. Now the
170
+ suites above a test come first, each with a header of its own.
171
+
172
+ - Correct the example in results --help ([48fce9e](https://github.com/robotcodedev/robotcode/commit/48fce9ec5b80279ad4f0e322f20d87176847da4b))
173
+ - Report an expression in robot.toml that can't be evaluated ([82a3080](https://github.com/robotcodedev/robotcode/commit/82a3080cbc8f6b6ff9eeb5771cbe5a4d088db110))
174
+
175
+ A `{ expr }` that can't be evaluated ended a run with a Python traceback and exit
176
+ code 1. It is now reported as `[ ERROR ]` with the name of the setting, and
177
+ `robotcode robot` exits with 252, as for an invalid `robot.toml`.
178
+
179
+
113
180
  #### VS Code
114
181
 
115
182
  - Stay quiet in folders without Robot Framework ([9691d40](https://github.com/robotcodedev/robotcode/commit/9691d40e180a7a68a85f94ab94a15667877123d4))
@@ -136,6 +203,31 @@ All notable changes to this project will be documented in this file. See [conven
136
203
 
137
204
  #### Website
138
205
 
206
+ - Say that results log --suite-info shows the suites above a test ([9fcb44b](https://github.com/robotcodedev/robotcode/commit/9fcb44b285fcc1dc964bd1854531128ea4d3984f))
207
+
208
+ The guide on analyzing results describes the new output with an example, and the
209
+ CLI reference is regenerated.
210
+
211
+ - Record the AI agents tutorial's sessions again with the corrected skill ([2eb5d33](https://github.com/robotcodedev/robotcode/commit/2eb5d332a76933103f3e79bd3e57c180e6c1212e))
212
+
213
+ The sessions now show the agent driving the REPL and the debugger with
214
+ `robotcode session`, and the steps explain what these sessions do. The example
215
+ `AGENTS.md` names the skill instead of a rule on how to run the tests.
216
+
217
+ - Say what line breakpoints match and what .abort does now ([47f5ae5](https://github.com/robotcodedev/robotcode/commit/47f5ae524d06430096b7ed6f14c5c2a57088e9ee))
218
+
219
+ The guides on `robot-debug` and on sessions describe the new behaviour, the CLI
220
+ reference is regenerated, and the guide on AI agents uses `profiles show` for what
221
+ is in effect under a profile.
222
+
223
+ - Turn the guide on AI agents into a group of pages ([7c64045](https://github.com/robotcodedev/robotcode/commit/7c6404564c3788a4d5516b99ddc7775af17fb9d9))
224
+
225
+ The single page on AI agents becomes a group: setting up, how the skill works,
226
+ working with the agent, with a page per task and its recorded session, the
227
+ briefing and troubleshooting. Pages that linked to the old page now link to the
228
+ section they mean. The recorded sessions get recorded again with the corrected
229
+ skill before the release.
230
+
139
231
  - Say where sessions work in a sandbox ([572283b](https://github.com/robotcodedev/robotcode/commit/572283ba868c79a676b5985d912351b3b5f0ebc4))
140
232
 
141
233
  The guide on sessions now tells a sandbox around the whole agent from a sandbox for each command, and says what an agent does in the second.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: robotcode
3
- Version: 2.9.0-dev.87
3
+ Version: 2.9.0-dev.124
4
4
  Summary: Command line interface for RobotCode
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -34,35 +34,35 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
34
34
  Classifier: Topic :: Utilities
35
35
  Classifier: Typing :: Typed
36
36
  Requires-Python: >=3.10
37
- Requires-Dist: robotcode-core==2.9.0-dev.87
38
- Requires-Dist: robotcode-plugin==2.9.0-dev.87
39
- Requires-Dist: robotcode-robot==2.9.0-dev.87
37
+ Requires-Dist: robotcode-core==2.9.0-dev.124
38
+ Requires-Dist: robotcode-plugin==2.9.0-dev.124
39
+ Requires-Dist: robotcode-robot==2.9.0-dev.124
40
40
  Provides-Extra: all
41
41
  Requires-Dist: docutils; extra == 'all'
42
42
  Requires-Dist: pyyaml>=5.4; extra == 'all'
43
- Requires-Dist: robotcode-analyze==2.9.0-dev.87; extra == 'all'
44
- Requires-Dist: robotcode-debugger==2.9.0-dev.87; extra == 'all'
45
- Requires-Dist: robotcode-language-server==2.9.0-dev.87; extra == 'all'
46
- Requires-Dist: robotcode-repl-server==2.9.0-dev.87; extra == 'all'
47
- Requires-Dist: robotcode-repl==2.9.0-dev.87; extra == 'all'
48
- Requires-Dist: robotcode-runner==2.9.0-dev.87; extra == 'all'
43
+ Requires-Dist: robotcode-analyze==2.9.0-dev.124; extra == 'all'
44
+ Requires-Dist: robotcode-debugger==2.9.0-dev.124; extra == 'all'
45
+ Requires-Dist: robotcode-language-server==2.9.0-dev.124; extra == 'all'
46
+ Requires-Dist: robotcode-repl-server==2.9.0-dev.124; extra == 'all'
47
+ Requires-Dist: robotcode-repl==2.9.0-dev.124; extra == 'all'
48
+ Requires-Dist: robotcode-runner==2.9.0-dev.124; extra == 'all'
49
49
  Requires-Dist: robotframework-robocop>=6.0.0; extra == 'all'
50
50
  Provides-Extra: analyze
51
- Requires-Dist: robotcode-analyze==2.9.0-dev.87; extra == 'analyze'
51
+ Requires-Dist: robotcode-analyze==2.9.0-dev.124; extra == 'analyze'
52
52
  Provides-Extra: debugger
53
- Requires-Dist: robotcode-debugger==2.9.0-dev.87; extra == 'debugger'
53
+ Requires-Dist: robotcode-debugger==2.9.0-dev.124; extra == 'debugger'
54
54
  Provides-Extra: languageserver
55
- Requires-Dist: robotcode-language-server==2.9.0-dev.87; extra == 'languageserver'
55
+ Requires-Dist: robotcode-language-server==2.9.0-dev.124; extra == 'languageserver'
56
56
  Provides-Extra: lint
57
57
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
58
58
  Provides-Extra: repl
59
- Requires-Dist: robotcode-repl==2.9.0-dev.87; extra == 'repl'
59
+ Requires-Dist: robotcode-repl==2.9.0-dev.124; extra == 'repl'
60
60
  Provides-Extra: replserver
61
- Requires-Dist: robotcode-repl-server==2.9.0-dev.87; extra == 'replserver'
61
+ Requires-Dist: robotcode-repl-server==2.9.0-dev.124; extra == 'replserver'
62
62
  Provides-Extra: rest
63
63
  Requires-Dist: docutils; extra == 'rest'
64
64
  Provides-Extra: runner
65
- Requires-Dist: robotcode-runner==2.9.0-dev.87; extra == 'runner'
65
+ Requires-Dist: robotcode-runner==2.9.0-dev.124; extra == 'runner'
66
66
  Provides-Extra: yaml
67
67
  Requires-Dist: pyyaml>=5.4; extra == 'yaml'
68
68
  Description-Content-Type: text/markdown
@@ -49,26 +49,26 @@ classifiers = [
49
49
  "Framework :: Robot Framework :: Tool",
50
50
  ]
51
51
  requires-python = ">=3.10"
52
- dependencies = ["robotcode-core==2.9.0-dev.87", "robotcode-plugin==2.9.0-dev.87", "robotcode-robot==2.9.0-dev.87"]
52
+ dependencies = ["robotcode-core==2.9.0-dev.124", "robotcode-plugin==2.9.0-dev.124", "robotcode-robot==2.9.0-dev.124"]
53
53
  dynamic = ["version"]
54
54
 
55
55
  [project.optional-dependencies]
56
- debugger = ["robotcode-debugger==2.9.0-dev.87"]
57
- languageserver = ["robotcode-language-server==2.9.0-dev.87"]
58
- runner = ["robotcode-runner==2.9.0-dev.87"]
59
- analyze = ["robotcode-analyze==2.9.0-dev.87"]
56
+ debugger = ["robotcode-debugger==2.9.0-dev.124"]
57
+ languageserver = ["robotcode-language-server==2.9.0-dev.124"]
58
+ runner = ["robotcode-runner==2.9.0-dev.124"]
59
+ analyze = ["robotcode-analyze==2.9.0-dev.124"]
60
60
  yaml = ["PyYAML>=5.4"]
61
61
  lint = ["robotframework-robocop>=2.0.0"]
62
62
  rest = ["docutils"]
63
- repl = ["robotcode-repl==2.9.0-dev.87"]
64
- replserver = ["robotcode-repl-server==2.9.0-dev.87"]
63
+ repl = ["robotcode-repl==2.9.0-dev.124"]
64
+ replserver = ["robotcode-repl-server==2.9.0-dev.124"]
65
65
  all = [
66
- "robotcode-debugger==2.9.0-dev.87",
67
- "robotcode-language-server==2.9.0-dev.87",
68
- "robotcode-runner==2.9.0-dev.87",
69
- "robotcode-analyze==2.9.0-dev.87",
70
- "robotcode-repl==2.9.0-dev.87",
71
- "robotcode-repl-server==2.9.0-dev.87",
66
+ "robotcode-debugger==2.9.0-dev.124",
67
+ "robotcode-language-server==2.9.0-dev.124",
68
+ "robotcode-runner==2.9.0-dev.124",
69
+ "robotcode-analyze==2.9.0-dev.124",
70
+ "robotcode-repl==2.9.0-dev.124",
71
+ "robotcode-repl-server==2.9.0-dev.124",
72
72
  "PyYAML>=5.4",
73
73
  "robotframework-robocop>=6.0.0",
74
74
  "docutils"
@@ -0,0 +1 @@
1
+ __version__ = "2.9.0-dev.124"
@@ -287,7 +287,7 @@ def list(app: Application, name: Optional[List[str]] = None) -> None:
287
287
  result = []
288
288
  for n in name:
289
289
  for field in config_fields.keys():
290
- if fnmatchcase(field, n):
290
+ if field == n or fnmatchcase(field, n):
291
291
  result.append(field)
292
292
 
293
293
  if app.config.output_format is None or app.config.output_format == OutputFormat.TEXT:
@@ -327,7 +327,9 @@ def desc(app: Application, name: Optional[List[str]] = None) -> None:
327
327
  name = ["*"]
328
328
 
329
329
  config_fields = [
330
- (field, value) for field, value in get_config_fields().items() if any(fnmatchcase(field, n) for n in name)
330
+ (field, value)
331
+ for field, value in get_config_fields().items()
332
+ if any(field == n or fnmatchcase(field, n) for n in name)
331
333
  ]
332
334
 
333
335
  if app.config.output_format is None or app.config.output_format == OutputFormat.TEXT:
@@ -1 +0,0 @@
1
- __version__ = "2.9.0-dev.87"