@sylphx/cli 0.5.2 → 0.6.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,25 @@
1
1
  # @sylphx/cli
2
2
 
3
+ ## 0.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#531](https://github.com/SylphxAI/platform/pull/531) [`2ff1de4`](https://github.com/SylphxAI/platform/commit/2ff1de40fd1e2a785a7daa764ddad4a56d7b48c8) Thanks [@shtse8](https://github.com/shtse8)! - Restore dogfooded deployment operations by allowing `sylphx deploy`, `sylphx status`, `sylphx logs`, `sylphx tail`, `sylphx open`, `sylphx env`, `sylphx config`, `sylphx secrets`, `sylphx storage`, `sylphx volumes`, `sylphx resources`, `sylphx domains`, `sylphx tasks`, `sylphx sandbox`, `sylphx plan`, `sylphx run-cmd`, `sylphx promote`, `sylphx releases`, `sylphx bisect`, and `sylphx rollback` to target explicit projects from unlinked directories, carrying org scoping through Management SDK calls and SSE log streams, and exposing scoped project/log/environment/service helpers in the Management SDK.
8
+
9
+ Prune scaffold-only surfaces from the published CLI/Management SDK surface (`restart`, task `run`, direct `scale`, `functions`, `edge`, `regions`, and the no-op `deploy --region` flag) until their Management API or infra paths are real.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [[`5697b98`](https://github.com/SylphxAI/platform/commit/5697b985237565e6ee3f6ef1469ff276db00e57c)]:
14
+ - @sylphx/sdk@0.10.1
15
+
16
+ ## 0.5.3
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies [[`ba02c04`](https://github.com/SylphxAI/platform/commit/ba02c0412712dc8a5f19d17c16707eb5ae11ec47)]:
21
+ - @sylphx/sdk@0.10.0
22
+
3
23
  ## 0.5.2
4
24
 
5
25
  ### Patch Changes
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](./LICENSE)
5
5
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.9-blue?logo=typescript)](https://www.typescriptlang.org/)
6
6
 
7
- The official CLI for the [Sylphx Platform](https://sylphx.com). Deploy and operate your applications — 60 commands across deployment, logs, env vars, domains, managed databases, object storage, monitoring, webhooks, feature flags, and more directly from your terminal.
7
+ The official CLI for the [Sylphx Platform](https://sylphx.com). Deploy and operate your applications across deployment, logs, env vars, domains, managed databases, object storage, monitoring, webhooks, feature flags, and more directly from your terminal.
8
8
 
9
9
  Full documentation: [sylphx.com/docs/cli](https://sylphx.com/docs/cli)
10
10
 
@@ -57,6 +57,17 @@ sylphx logout
57
57
  export SYLPHX_TOKEN=svc_…
58
58
  sylphx whoami # → "Auth: SYLPHX_TOKEN env var"
59
59
  sylphx deploy --env=production
60
+ sylphx status --project=proj_abc123 --org=my-org
61
+ sylphx logs --project=proj_abc123 --org=my-org --tail=100
62
+ sylphx env set DATABASE_URL=postgres://... --project=proj_abc123 --org=my-org --secret
63
+ sylphx config set PUBLIC_URL=https://app.example.com --project=proj_abc123 --org=my-org
64
+ sylphx secrets set --project=proj_abc123 --org=my-org --key STRIPE_SECRET --value sk_live_...
65
+ sylphx storage list --project=proj_abc123 --org=my-org
66
+ sylphx volumes list --project=proj_abc123 --org=my-org
67
+ sylphx resources bind res_abc123 --project=proj_abc123 --org=my-org --env=production
68
+ sylphx run-cmd --project=proj_abc123 --org=my-org --env=production -- bun test
69
+ sylphx promote --project=proj_abc123 --org=my-org --from=staging --to=production --yes
70
+ sylphx releases list --project=proj_abc123 --org=my-org
60
71
  ```
61
72
 
62
73
  ### Non-interactive use (CI / agents)
@@ -105,7 +116,7 @@ Stored at `~/.sylphx/config.json`:
105
116
  }
106
117
  ```
107
118
 
108
- Per-project overrides live in `./sylphx.json` (git-committable); the home config is a per-user fallback.
119
+ Per-project deployment intent lives in `./sylphx.toml` (git-committable); the home config is a per-user fallback for credentials and local links.
109
120
 
110
121
  ## Environment variables
111
122
 
@@ -115,7 +126,7 @@ Per-project overrides live in `./sylphx.json` (git-committable); the home config
115
126
  | `SYLPHX_CONFIG_DIR` | Advanced automation override for the CLI config directory. Use in CI, tests, and hermetic agent sandboxes to avoid reading or writing the operator's real `~/.sylphx` credentials. |
116
127
  | `SYLPHX_API_URL` | Override API base URL (default: `https://sylphx.com`) |
117
128
 
118
- ## Commands (60)
129
+ ## Commands
119
130
 
120
131
  ### Authentication & identity
121
132
 
@@ -132,7 +143,7 @@ Per-project overrides live in `./sylphx.json` (git-committable); the home config
132
143
  | `sylphx init` | Scaffold a new project |
133
144
  | `sylphx link` | Link current directory to a Sylphx app |
134
145
  | `sylphx unlink` | Remove the project link |
135
- | `sylphx open` | Open the app in the browser |
146
+ | `sylphx open` | Open the linked app, or an explicit project with `--project/--org` |
136
147
  | `sylphx projects` | List / manage projects |
137
148
  | `sylphx orgs` | List / switch organizations |
138
149
 
@@ -140,34 +151,33 @@ Per-project overrides live in `./sylphx.json` (git-committable); the home config
140
151
 
141
152
  | Command | Purpose |
142
153
  |---|---|
143
- | `sylphx deploy` | Deploy the linked app |
154
+ | `sylphx deploy` | Deploy the linked app, or an explicit project with `--project/--org` |
144
155
  | `sylphx deployments` | List / inspect deployments |
145
- | `sylphx releases` | Manage release tags |
146
- | `sylphx restart` | Restart running deployment |
156
+ | `sylphx releases` | Browse release history for a linked or explicit project |
147
157
  | `sylphx inspect` | Inspect a deployment's build + run metadata |
148
- | `sylphx bisect` | Git-bisect-style regression hunt across deployments |
149
- | `sylphx promote` | Promote staging → production |
150
- | `sylphx rollback` | Roll back to a previous deployment |
151
- | `sylphx status` | Deployment + health status |
152
- | `sylphx logs` | Tail application logs |
158
+ | `sylphx bisect` | Git-bisect-style regression hunt across deployments for a linked or explicit project |
159
+ | `sylphx promote` | Promote staging → production for a linked or explicit project |
160
+ | `sylphx rollback` | Roll back a linked or explicit project deployment |
161
+ | `sylphx status` | Deployment + health status for a linked or explicit project |
162
+ | `sylphx logs` | Tail application logs for a linked or explicit project |
153
163
  | `sylphx tail` | Alias for `logs -f` |
154
- | `sylphx run` | Run a one-off command in the live environment |
164
+ | `sylphx run-cmd` | Run a local command with remote env from a linked or explicit project |
155
165
 
156
166
  ### Managed primitives
157
167
 
158
168
  | Command | Purpose |
159
169
  |---|---|
160
170
  | `sylphx db` | Manage PostgreSQL databases (CNPG-backed) |
161
- | `sylphx storage` | Manage object storage buckets (Ceph S3) |
162
- | `sylphx volumes` | Manage persistent volumes (Rook-Ceph RWO/RWX) |
163
- | `sylphx resources` | Bind / unbind shared resources |
171
+ | `sylphx storage` | Manage object storage buckets for a linked or explicit project (Ceph S3) |
172
+ | `sylphx volumes` | Manage persistent volumes for a linked or explicit project (Rook-Ceph RWO/RWX) |
173
+ | `sylphx resources` | Bind / unbind shared resources for a linked or explicit project |
164
174
  | `sylphx services` | List + deploy service blueprints |
165
- | `sylphx config` | Per-environment app config |
166
- | `sylphx env` | Environment variables (`list` / `set` / `rm`) |
167
- | `sylphx tasks` | Task definitions (job / cron / service) |
168
- | `sylphx domains` | Custom domains + TLS |
169
- | `sylphx functions` | Serverless function deploy / invoke / logs |
170
- | `sylphx sandbox` | Interactive sandbox environments |
175
+ | `sylphx config` | Per-environment app config for a linked or explicit project |
176
+ | `sylphx env` | Environment variables and environments for a linked or explicit project |
177
+ | `sylphx secrets` | Encrypted project secrets for a linked or explicit project |
178
+ | `sylphx tasks` | Task definitions (job / cron / service) for a linked or explicit project |
179
+ | `sylphx domains` | Custom domains + TLS for a linked or explicit project |
180
+ | `sylphx sandbox` | Interactive sandbox environments for a linked or explicit project |
171
181
  | `sylphx runners` | Self-hosted runner admin |
172
182
 
173
183
  ### Integration primitives
@@ -193,7 +203,7 @@ Per-project overrides live in `./sylphx.json` (git-committable); the home config
193
203
 
194
204
  | Command | Purpose |
195
205
  |---|---|
196
- | `sylphx plan` | View / upgrade plan |
206
+ | `sylphx plan` | View / upgrade plan for a linked or explicit project |
197
207
  | `sylphx billing` | Invoices, payment methods |
198
208
  | `sylphx experiments` | A/B experiment admin |
199
209
  | `sylphx analytics` | Analytics admin queries |