@sylphx/cli 0.16.0 → 0.17.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 +11 -0
- package/README.md +45 -0
- package/dist/main.js +2696 -2249
- package/dist/main.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @sylphx/cli
|
|
2
2
|
|
|
3
|
+
## 0.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#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.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`dfa9a75`](https://github.com/SylphxAI/platform/commit/dfa9a752323676e74225fe8903152a2375598618)]:
|
|
12
|
+
- @sylphx/sdk@0.19.3
|
|
13
|
+
|
|
3
14
|
## 0.16.0
|
|
4
15
|
|
|
5
16
|
### 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 |
|
|
@@ -324,6 +363,12 @@ bun run build # Build production bundle via tsup
|
|
|
324
363
|
bun test # Run test suite (bun test)
|
|
325
364
|
```
|
|
326
365
|
|
|
366
|
+
Shared table-formatting helpers under `packages/cli/src/utils/` are internal
|
|
367
|
+
presentation utilities. Moving identical helpers out of command modules must
|
|
368
|
+
preserve command names, flags, JSON fields, and human-readable output strings;
|
|
369
|
+
otherwise update this README, the public docs, and command tests in the same
|
|
370
|
+
change.
|
|
371
|
+
|
|
327
372
|
## Related packages
|
|
328
373
|
|
|
329
374
|
- [`@sylphx/management`](https://www.npmjs.com/package/@sylphx/management) — Promise SDK the CLI is built on (bundled).
|