@microtronics/studio-cli 0.50.0 → 0.51.0
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 +13 -1
- package/README.md +15 -0
- package/dist/main.js +24 -24
- package/dist/studio-cli.d.ts +3 -1
- package/out/log.js +8 -0
- package/out/myDatanetClient.js +7 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.51.0 (2026-03-17)
|
|
4
4
|
|
|
5
5
|
### Features
|
|
6
6
|
|
|
7
|
+
* **cli:** add custom site name option to run command ([b4556e0](https://bitbucket.org/microtronics-core/vscode-studio/commits/b4556e00c64b7d11474c8d01df53d13f9ea0cd14))
|
|
8
|
+
* **cli:** add JSON output mode for run command results ([eb07a4a](https://bitbucket.org/microtronics-core/vscode-studio/commits/eb07a4a28f0eef76686ea2176f1eb237864c7b00))
|
|
9
|
+
* **cli:** add silent mode option to suppress console output ([476f6b5](https://bitbucket.org/microtronics-core/vscode-studio/commits/476f6b5e54fa1b7ed69d44cbdb47c12e92c5dca9))
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* resolve ERR_UNSUPPORTED_TYPESCRIPT_SYNTAX error with node 22.22 ([7b6f1e8](https://bitbucket.org/microtronics-core/vscode-studio/commits/7b6f1e8e4cf6a852b593c34a9d9faa02e1673f9b))
|
|
14
|
+
|
|
15
|
+
## 0.50.0 (2026-02-12)
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
7
19
|
* **language-server:** add native desktop mode with direct filesystem access ([f9a3517](https://bitbucket.org/microtronics-core/vscode-studio/commits/f9a351787941bb7ffe95f8a1693af86d5ca4d5a9))
|
|
8
20
|
|
|
9
21
|
## 0.49.0 (2026-02-11)
|
package/README.md
CHANGED
|
@@ -135,6 +135,9 @@ $ studio-cli run -s <serial> --server <url> [options]
|
|
|
135
135
|
- Available environments: `lucky`, `wynni`, `production` (default)
|
|
136
136
|
- `--token <API-token>` - Studio API Access Token
|
|
137
137
|
- `--debug` - Enable debug logging
|
|
138
|
+
- `--silent` - Suppress intermediate progress output. Only the final result and errors are printed
|
|
139
|
+
- `--json` - Print the deployment result as a JSON object (`{"siteUid", "siteName", "apmId"}`) instead of the human-readable summary. Best combined with `--silent` for machine-readable output
|
|
140
|
+
- `--siteName <name>` - Override the auto-generated development site name (max 50 characters). By default, the site name is derived from the device serial number (for DLO projects) or from the app name and current user (e.g. `MyApp_JohnDoe`)
|
|
138
141
|
|
|
139
142
|
**Exit Codes:**
|
|
140
143
|
- `0` - Success
|
|
@@ -148,8 +151,14 @@ $ studio-cli run -s <serial> --server <url> [options]
|
|
|
148
151
|
**Output:**
|
|
149
152
|
On success, the command outputs:
|
|
150
153
|
- Site UID of the newly created/reused development site
|
|
154
|
+
- Site name
|
|
151
155
|
- APM ID of the development tag
|
|
152
156
|
|
|
157
|
+
With `--json`, the output is a single JSON line:
|
|
158
|
+
```json
|
|
159
|
+
{"siteUid":"<uid>","siteName":"<name>","apmId":"<id>"}
|
|
160
|
+
```
|
|
161
|
+
|
|
153
162
|
**Examples:**
|
|
154
163
|
```console
|
|
155
164
|
# Basic usage with environment variables
|
|
@@ -166,6 +175,12 @@ $ studio-cli run -s 1234567890ABCDEF --server myserver.mydatanet.net --part dlo
|
|
|
166
175
|
|
|
167
176
|
# With manifest overrides
|
|
168
177
|
$ studio-cli run -s 1234567890ABCDEF --server myserver.mydatanet.net --dlo.mainFile="./dlo/test.dlo"
|
|
178
|
+
|
|
179
|
+
# With custom site name
|
|
180
|
+
$ studio-cli run -s 1234567890ABCDEF --server myserver.mydatanet.net --siteName "My Test Site"
|
|
181
|
+
|
|
182
|
+
# Machine-readable output for CI/CD (suppress progress, output JSON)
|
|
183
|
+
$ studio-cli run -s 1234567890ABCDEF --server myserver.mydatanet.net --silent --json
|
|
169
184
|
```
|
|
170
185
|
|
|
171
186
|
### usb
|