@beyondwork/wb-cli 0.1.40 → 0.1.42
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.
- package/CHANGELOG.md +14 -0
- package/out/cli.js +721 -159
- package/out/extension.js +93 -93
- package/out/headless-host.js +20 -20
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v0.1.42
|
|
4
|
+
|
|
5
|
+
- `clone` and `pull` write the query files in `data_model/queries/` and the generated repository files in `data_model/repositories/`. The platform generates a Python and a TypeScript file for each repository from the change files and the query files.
|
|
6
|
+
- `push` sends the query files as they are on disk. A query file is an author file: you can edit it, add it and delete it.
|
|
7
|
+
- `push` refuses an edited or added file in `data_model/repositories/` with `model_file_edited`, as it refuses an edited `model.json`. Nothing is saved, and your files stay as they are. Put the change in a change file or a query file.
|
|
8
|
+
- When the platform no longer generates a repository file, for example because you removed its entity, `pull` and `push` remove the file from the checkout.
|
|
9
|
+
|
|
10
|
+
## v0.1.41
|
|
11
|
+
|
|
12
|
+
- Carry the generated `data_model/types.ts` like `model.json`. `clone` and `pull` write the TypeScript row types and table/query descriptors. The platform generates the file from the change files, next to `model.json`.
|
|
13
|
+
- `push` sends `types.ts` back as it is on disk. `push` refuses an edited `types.ts` with `model_file_edited`, as it refuses an edited `model.json`. Nothing is saved, and your files stay as they are. `push` no longer reports `types.ts` as an `unexpected_file`.
|
|
14
|
+
- When you delete `types.ts`, `push` does not refuse it. The platform writes the file again, and `push` writes it back into the checkout.
|
|
15
|
+
- Carry the generated `data_model/types.py` the same way: the Python row types and table/query descriptors.
|
|
16
|
+
|
|
3
17
|
## v0.1.40
|
|
4
18
|
|
|
5
19
|
- `ui <module|task>` shows a task UI in a headless browser on this machine, so a coding agent can see and use it without the user's browser. A task shows a preview of its UI with the data of `--data <file>`, or with the data that the task showed in the workspace's latest run. Submit in a preview records the data and sends nothing. A UI-only module shows its UI as a Space does. The tenant builds the UI from the workspace's last commit. A preview takes the runtime and the CSP of the task's UI from the latest run; `--runtime`, `--csp` and `--asset` set them. The UI's task calls and collaborative documents go to the tenant on the workspace; `ui` refuses every other request of the page.
|