robotcode 2.9.0.dev79__tar.gz → 2.9.0.dev115__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,41 @@ 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
+
91
+ - Say why a session can't start when it can't write its file ([aef19d3](https://github.com/robotcodedev/robotcode/commit/aef19d34b51908d127013eb0ef39eec0bcbdb795))
92
+
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.
94
+
95
+ - Wait with the signal of a session until Robot Framework handles it ([80cf5f7](https://github.com/robotcodedev/robotcode/commit/80cf5f7cafa75127b68a0fa21af03f851dbe2bf8))
96
+
97
+ A `robotcode session stop` or `interrupt` that reaches a session while it restarts now waits until the new process can handle it, and then ends or interrupts the run as usual. Before, it ended the new process at once and the command failed.
98
+
64
99
  - Let a session command follow a restart that ends its connection ([f52da1b](https://github.com/robotcodedev/robotcode/commit/f52da1b4e8e1dfb88af521e7f7926c4b1ef9a917))
65
100
 
66
101
  A `robotcode session` command that reaches the old process of a restart just as it ends now goes on to the new process, and says that no session is open when there is none. Before, it failed with `doesn't answer:` and no reason.
@@ -87,6 +122,13 @@ All notable changes to this project will be documented in this file. See [conven
87
122
 
88
123
  #### Robot
89
124
 
125
+ - Keep code in Robot-format documentation as written ([a1a9073](https://github.com/robotcodedev/robotcode/commit/a1a9073c0e3defd1aaabd0f88d7bc91be404e884))
126
+
127
+ Code in documentation written in Robot Framework's format can now be copied
128
+ and pasted without rework. A code span shows `vscode/<n>` instead of
129
+ `vscode/\<n>`, and code blocks no longer keep the backticks around keyword
130
+ names. A link in code becomes its text, since Markdown code can't hold a link.
131
+
90
132
  - Find a library class whose name differs from its module ([598239d](https://github.com/robotcodedev/robotcode/commit/598239d4a35cd7faf605b0e34271a4a45609abe2))
91
133
 
92
134
  Since Robot Framework 7.2 a library module may hold its library class
@@ -102,6 +144,24 @@ All notable changes to this project will be documented in this file. See [conven
102
144
  text in hovers and in the Documentation Viewer instead of a link or an image.
103
145
 
104
146
 
147
+ #### RobotCode
148
+
149
+ - Find a setting by its exact name in config info ([dcd2c48](https://github.com/robotcodedev/robotcode/commit/dcd2c481cd86cadc763c1686abcd23df96c0b9fe))
150
+
151
+ `robotcode config info desc "[profile].precedence"` printed nothing, because the
152
+ brackets were read as a pattern. Exact names now work, and patterns as before.
153
+
154
+
155
+ #### Runner
156
+
157
+ - Correct the example in results --help ([48fce9e](https://github.com/robotcodedev/robotcode/commit/48fce9ec5b80279ad4f0e322f20d87176847da4b))
158
+ - Report an expression in robot.toml that can't be evaluated ([82a3080](https://github.com/robotcodedev/robotcode/commit/82a3080cbc8f6b6ff9eeb5771cbe5a4d088db110))
159
+
160
+ A `{ expr }` that can't be evaluated ended a run with a Python traceback and exit
161
+ code 1. It is now reported as `[ ERROR ]` with the name of the setting, and
162
+ `robotcode robot` exits with 252, as for an invalid `robot.toml`.
163
+
164
+
105
165
  #### VS Code
106
166
 
107
167
  - Stay quiet in folders without Robot Framework ([9691d40](https://github.com/robotcodedev/robotcode/commit/9691d40e180a7a68a85f94ab94a15667877123d4))
@@ -128,6 +188,30 @@ All notable changes to this project will be documented in this file. See [conven
128
188
 
129
189
  #### Website
130
190
 
191
+ - Record the AI agents tutorial's sessions again with the corrected skill ([2eb5d33](https://github.com/robotcodedev/robotcode/commit/2eb5d332a76933103f3e79bd3e57c180e6c1212e))
192
+
193
+ The sessions now show the agent driving the REPL and the debugger with
194
+ `robotcode session`, and the steps explain what these sessions do. The example
195
+ `AGENTS.md` names the skill instead of a rule on how to run the tests.
196
+
197
+ - Say what line breakpoints match and what .abort does now ([47f5ae5](https://github.com/robotcodedev/robotcode/commit/47f5ae524d06430096b7ed6f14c5c2a57088e9ee))
198
+
199
+ The guides on `robot-debug` and on sessions describe the new behaviour, the CLI
200
+ reference is regenerated, and the guide on AI agents uses `profiles show` for what
201
+ is in effect under a profile.
202
+
203
+ - Turn the guide on AI agents into a group of pages ([7c64045](https://github.com/robotcodedev/robotcode/commit/7c6404564c3788a4d5516b99ddc7775af17fb9d9))
204
+
205
+ The single page on AI agents becomes a group: setting up, how the skill works,
206
+ working with the agent, with a page per task and its recorded session, the
207
+ briefing and troubleshooting. Pages that linked to the old page now link to the
208
+ section they mean. The recorded sessions get recorded again with the corrected
209
+ skill before the release.
210
+
211
+ - Say where sessions work in a sandbox ([572283b](https://github.com/robotcodedev/robotcode/commit/572283ba868c79a676b5985d912351b3b5f0ebc4))
212
+
213
+ 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.
214
+
131
215
  - Describe "Attach Python" in the PyCharm guide ([c683167](https://github.com/robotcodedev/robotcode/commit/c683167b3aa38cce6522c1cb2e924e41bc63c903))
132
216
 
133
217
  The debugging page explains how to debug the Python code of libraries in a
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: robotcode
3
- Version: 2.9.0-dev.79
3
+ Version: 2.9.0-dev.115
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.79
38
- Requires-Dist: robotcode-plugin==2.9.0-dev.79
39
- Requires-Dist: robotcode-robot==2.9.0-dev.79
37
+ Requires-Dist: robotcode-core==2.9.0-dev.115
38
+ Requires-Dist: robotcode-plugin==2.9.0-dev.115
39
+ Requires-Dist: robotcode-robot==2.9.0-dev.115
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.79; extra == 'all'
44
- Requires-Dist: robotcode-debugger==2.9.0-dev.79; extra == 'all'
45
- Requires-Dist: robotcode-language-server==2.9.0-dev.79; extra == 'all'
46
- Requires-Dist: robotcode-repl-server==2.9.0-dev.79; extra == 'all'
47
- Requires-Dist: robotcode-repl==2.9.0-dev.79; extra == 'all'
48
- Requires-Dist: robotcode-runner==2.9.0-dev.79; extra == 'all'
43
+ Requires-Dist: robotcode-analyze==2.9.0-dev.115; extra == 'all'
44
+ Requires-Dist: robotcode-debugger==2.9.0-dev.115; extra == 'all'
45
+ Requires-Dist: robotcode-language-server==2.9.0-dev.115; extra == 'all'
46
+ Requires-Dist: robotcode-repl-server==2.9.0-dev.115; extra == 'all'
47
+ Requires-Dist: robotcode-repl==2.9.0-dev.115; extra == 'all'
48
+ Requires-Dist: robotcode-runner==2.9.0-dev.115; 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.79; extra == 'analyze'
51
+ Requires-Dist: robotcode-analyze==2.9.0-dev.115; extra == 'analyze'
52
52
  Provides-Extra: debugger
53
- Requires-Dist: robotcode-debugger==2.9.0-dev.79; extra == 'debugger'
53
+ Requires-Dist: robotcode-debugger==2.9.0-dev.115; extra == 'debugger'
54
54
  Provides-Extra: languageserver
55
- Requires-Dist: robotcode-language-server==2.9.0-dev.79; extra == 'languageserver'
55
+ Requires-Dist: robotcode-language-server==2.9.0-dev.115; 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.79; extra == 'repl'
59
+ Requires-Dist: robotcode-repl==2.9.0-dev.115; extra == 'repl'
60
60
  Provides-Extra: replserver
61
- Requires-Dist: robotcode-repl-server==2.9.0-dev.79; extra == 'replserver'
61
+ Requires-Dist: robotcode-repl-server==2.9.0-dev.115; 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.79; extra == 'runner'
65
+ Requires-Dist: robotcode-runner==2.9.0-dev.115; 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.79", "robotcode-plugin==2.9.0-dev.79", "robotcode-robot==2.9.0-dev.79"]
52
+ dependencies = ["robotcode-core==2.9.0-dev.115", "robotcode-plugin==2.9.0-dev.115", "robotcode-robot==2.9.0-dev.115"]
53
53
  dynamic = ["version"]
54
54
 
55
55
  [project.optional-dependencies]
56
- debugger = ["robotcode-debugger==2.9.0-dev.79"]
57
- languageserver = ["robotcode-language-server==2.9.0-dev.79"]
58
- runner = ["robotcode-runner==2.9.0-dev.79"]
59
- analyze = ["robotcode-analyze==2.9.0-dev.79"]
56
+ debugger = ["robotcode-debugger==2.9.0-dev.115"]
57
+ languageserver = ["robotcode-language-server==2.9.0-dev.115"]
58
+ runner = ["robotcode-runner==2.9.0-dev.115"]
59
+ analyze = ["robotcode-analyze==2.9.0-dev.115"]
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.79"]
64
- replserver = ["robotcode-repl-server==2.9.0-dev.79"]
63
+ repl = ["robotcode-repl==2.9.0-dev.115"]
64
+ replserver = ["robotcode-repl-server==2.9.0-dev.115"]
65
65
  all = [
66
- "robotcode-debugger==2.9.0-dev.79",
67
- "robotcode-language-server==2.9.0-dev.79",
68
- "robotcode-runner==2.9.0-dev.79",
69
- "robotcode-analyze==2.9.0-dev.79",
70
- "robotcode-repl==2.9.0-dev.79",
71
- "robotcode-repl-server==2.9.0-dev.79",
66
+ "robotcode-debugger==2.9.0-dev.115",
67
+ "robotcode-language-server==2.9.0-dev.115",
68
+ "robotcode-runner==2.9.0-dev.115",
69
+ "robotcode-analyze==2.9.0-dev.115",
70
+ "robotcode-repl==2.9.0-dev.115",
71
+ "robotcode-repl-server==2.9.0-dev.115",
72
72
  "PyYAML>=5.4",
73
73
  "robotframework-robocop>=6.0.0",
74
74
  "docutils"
@@ -0,0 +1 @@
1
+ __version__ = "2.9.0-dev.115"
@@ -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.79"