@sylphx/cli 0.16.0 → 0.18.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 CHANGED
@@ -1,5 +1,35 @@
1
1
  # @sylphx/cli
2
2
 
3
+ ## 0.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 873c8c8: Add provider-neutral managed mobile device-test runtime contracts and
8
+ Management SDK helpers for project-scoped create/list plus handle-scoped
9
+ poll/cancel flows.
10
+
11
+ ### Patch Changes
12
+
13
+ - @sylphx/sdk@0.20.1
14
+
15
+ ## 0.17.1
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [[`8259c44`](https://github.com/SylphxAI/platform/commit/8259c4415fa6ec6aa640d78288b943bd43cc0afb), [`9a01f3f`](https://github.com/SylphxAI/platform/commit/9a01f3f23e08ca87e578a3e3f6134648568936ee), [`4eacc55`](https://github.com/SylphxAI/platform/commit/4eacc5562189afc100d8936c0a6272194c0d9999), [`61c97c6`](https://github.com/SylphxAI/platform/commit/61c97c65ad8653989ad90774bf092f1e621b59fc)]:
20
+ - @sylphx/sdk@0.20.0
21
+
22
+ ## 0.17.0
23
+
24
+ ### Minor Changes
25
+
26
+ - [#2290](https://github.com/SylphxAI/platform/pull/2290) [`b3f3a65`](https://github.com/SylphxAI/platform/commit/b3f3a653b26b966012aeacec2b46b5fda3db3217) Thanks [@shtse8](https://github.com/shtse8)! - Expose project preview capacity as a public contract, CLI, and management surface so operators can set per-project preview quotas without database or cluster mutations.
27
+
28
+ ### Patch Changes
29
+
30
+ - Updated dependencies [[`dfa9a75`](https://github.com/SylphxAI/platform/commit/dfa9a752323676e74225fe8903152a2375598618)]:
31
+ - @sylphx/sdk@0.19.3
32
+
3
33
  ## 0.16.0
4
34
 
5
35
  ### Minor Changes
package/README.md CHANGED
@@ -223,6 +223,45 @@ The home config is private operator state only. It does not store per-directory
223
223
  | `sylphx tail` | Follow runtime logs with structured formatting; accepts the same filters as `logs` |
224
224
  | `sylphx run-cmd` | Run a local command with remote env from a linked or explicit project |
225
225
 
226
+ When `sylphx.toml` exists in the working directory, `sylphx deploy` validates
227
+ and publishes that manifest before triggering the deployment. This is the path
228
+ that makes config-as-code fields such as `[database.migrations]` visible to the
229
+ management deploy pipeline. For explicit deploys, pass both project and org
230
+ scope, for example `sylphx deploy --project=proj_abc123 --org=my-org`; the CLI
231
+ uses the same resolved org scope for the manifest publish, deployment trigger,
232
+ log stream, and final deployment-state verification.
233
+
234
+ `--skip-manifest` is an operator recovery escape hatch only. It bypasses local
235
+ manifest publication, so any local `sylphx.toml` changes that have not already
236
+ been persisted, including migration command changes, are not part of that
237
+ deployment.
238
+
239
+ ### Preview capacity and service build context
240
+
241
+ Project preview capacity is a public project-level override. It controls how
242
+ many PR preview environments may be active for that project before platform
243
+ backpressure leaves new preview webhooks queued under `sylphx/preview`. Leave
244
+ the value unset to follow the organization plan.
245
+
246
+ ```bash
247
+ sylphx projects preview-capacity get proj_abc123 --output json
248
+ sylphx projects preview-capacity set proj_abc123 10
249
+ sylphx projects preview-capacity clear proj_abc123
250
+ ```
251
+
252
+ Service build source layout remains service-scoped. Use
253
+ `sylphx services update` when a service needs a Dockerfile path, build context,
254
+ or command override without changing the project-level manifest contract.
255
+
256
+ ```bash
257
+ sylphx services update web \
258
+ --project=proj_abc123 \
259
+ --org=my-org \
260
+ --dockerfile=apps/web/Dockerfile \
261
+ --build-context=. \
262
+ --build-command="bun run build"
263
+ ```
264
+
226
265
  ### Managed primitives
227
266
 
228
267
  | Command | Purpose |
@@ -233,6 +272,7 @@ The home config is private operator state only. It does not store per-directory
233
272
  | `sylphx storage` | Manage object storage buckets for a linked or explicit project (Ceph S3) |
234
273
  | `sylphx volumes` | Manage persistent volumes for a linked or explicit project (Rook-Ceph RWO/RWX) |
235
274
  | `sylphx workspaces` | Manage Platform workspace handles for a linked or explicit project |
275
+ | `sylphx mobile-device-tests` | Create, list, poll, and cancel managed Android/iOS device-runtime test requests |
236
276
  | `sylphx resources` | Bind / unbind shared resources for a linked or explicit project |
237
277
  | `sylphx services` | List + deploy service blueprints |
238
278
  | `sylphx config` | Per-environment app config for a linked or explicit project |
@@ -243,6 +283,25 @@ The home config is private operator state only. It does not store per-directory
243
283
  | `sylphx sandbox` | Interactive sandbox environments for a linked or explicit project |
244
284
  | `sylphx runners` | Self-hosted runner admin |
245
285
 
286
+ Mobile device tests run on the managed device-runtime plane, not inside the
287
+ default sandbox workspace. Build APK/AAB/IPA artifacts in CI, store them behind
288
+ artifact handles, then submit the handles and device matrix:
289
+
290
+ ```bash
291
+ sylphx mobile-device-tests create \
292
+ --project=proj_abc123 \
293
+ --framework=maestro \
294
+ --app-kind=apk \
295
+ --app-uri=resource://artifacts/app-debug.apk \
296
+ --test-kind=zip \
297
+ --test-uri=resource://artifacts/mobile-tests.zip \
298
+ --device=android:emulator:35:Pixel-8
299
+
300
+ sylphx mobile-device-tests list --project=proj_abc123 --status=waiting-for-capacity
301
+ sylphx mobile-device-tests get mdt_abc123
302
+ sylphx mobile-device-tests cancel mdt_abc123
303
+ ```
304
+
246
305
  ### Integration primitives
247
306
 
248
307
  | Command | Purpose |
@@ -324,6 +383,12 @@ bun run build # Build production bundle via tsup
324
383
  bun test # Run test suite (bun test)
325
384
  ```
326
385
 
386
+ Shared table-formatting helpers under `packages/cli/src/utils/` are internal
387
+ presentation utilities. Moving identical helpers out of command modules must
388
+ preserve command names, flags, JSON fields, and human-readable output strings;
389
+ otherwise update this README, the public docs, and command tests in the same
390
+ change.
391
+
327
392
  ## Related packages
328
393
 
329
394
  - [`@sylphx/management`](https://www.npmjs.com/package/@sylphx/management) — Promise SDK the CLI is built on (bundled).