@sylphx/cli 0.12.0 → 0.13.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 +19 -0
- package/README.md +20 -13
- package/dist/main.js +8323 -8099
- package/dist/main.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @sylphx/cli
|
|
2
2
|
|
|
3
|
+
## 0.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1197](https://github.com/SylphxAI/platform/pull/1197) [`a83aad4`](https://github.com/SylphxAI/platform/commit/a83aad43d9745e3e16ab557e3f95c3074c5a28f0) Thanks [@shtse8](https://github.com/shtse8)! - Publish the cleaned CLI project configuration boundary: repo project bindings now live only in `sylphx.toml`, private OAuth/default-org state stays in `~/.sylphx/config.json`, and the retired `sylphx.json`/app-link surfaces are removed.
|
|
8
|
+
|
|
9
|
+
Also publish the Management SDK and Contract updates for canonical project manifest fields (`project.id`, `project.org_id`, `project.default_env`) and the removed legacy Management aliases.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies []:
|
|
14
|
+
- @sylphx/sdk@0.13.9
|
|
15
|
+
|
|
16
|
+
## 0.12.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#1172](https://github.com/SylphxAI/platform/pull/1172) [`c14a894`](https://github.com/SylphxAI/platform/commit/c14a894e9a3792a4f491f3acff3517008355e35f) Thanks [@shtse8](https://github.com/shtse8)! - Harden OAuth refresh for local agent fleets: stale refresh-token rejection no longer clears a newer stored session, refresh outages now surface as transient failures instead of hidden logouts, and handled CLI auth errors no longer print Effect runtime stack noise.
|
|
21
|
+
|
|
3
22
|
## 0.12.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ The CLI supports three auth paths (ADR-059 + ADR-074):
|
|
|
46
46
|
|
|
47
47
|
Legacy `slx_*` personal access tokens were eliminated 2026-04-21 (ADR-059 §1.4) and are no longer accepted by the API.
|
|
48
48
|
|
|
49
|
-
Under ADR-059, OAuth tokens are stored as an atomic `{ accessToken, refreshToken, expiresAt, refreshExpiresAt }` record with mode `0600` on disk. The refresh interceptor (`utils/oauth-refresh.ts`) transparently rotates the access token when it's within the refresh window
|
|
49
|
+
Under ADR-059, OAuth tokens are stored as an atomic `{ accessToken, refreshToken, expiresAt, refreshExpiresAt }` record with mode `0600` on disk. The refresh interceptor (`utils/oauth-refresh.ts`) transparently rotates the access token when it's within the refresh window. Reuse/expiry clears only the rejected refresh-token chain; refresh transport failures are reported as outages and never silently erase the stored login.
|
|
50
50
|
|
|
51
51
|
```bash
|
|
52
52
|
# Interactive (developers)
|
|
@@ -134,18 +134,25 @@ Stored at `~/.sylphx/config.json`:
|
|
|
134
134
|
"expiresAt": "2026-04-23T15:00:00.000Z",
|
|
135
135
|
"refreshExpiresAt": "2026-05-23T15:00:00.000Z"
|
|
136
136
|
},
|
|
137
|
-
"defaultOrg": "
|
|
138
|
-
"apps": {
|
|
139
|
-
"/Users/me/projects/my-app": {
|
|
140
|
-
"appId": "proj_abc123",
|
|
141
|
-
"orgId": "org_xyz789",
|
|
142
|
-
"defaultEnv": "production"
|
|
143
|
-
}
|
|
144
|
-
}
|
|
137
|
+
"defaultOrg": "org_xyz789"
|
|
145
138
|
}
|
|
146
139
|
```
|
|
147
140
|
|
|
148
|
-
|
|
141
|
+
Repo project binding and deployment intent live in `./sylphx.toml` (git-committable):
|
|
142
|
+
|
|
143
|
+
```toml
|
|
144
|
+
version = "1"
|
|
145
|
+
|
|
146
|
+
[project]
|
|
147
|
+
id = "proj_abc123"
|
|
148
|
+
name = "My Project"
|
|
149
|
+
slug = "my-project"
|
|
150
|
+
org_id = "org_xyz789"
|
|
151
|
+
org = "my-org"
|
|
152
|
+
default_env = "production"
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
The home config is private operator state only. It does not store per-directory project links.
|
|
149
156
|
|
|
150
157
|
## Environment variables
|
|
151
158
|
|
|
@@ -164,7 +171,7 @@ Per-project deployment intent lives in `./sylphx.toml` (git-committable); the ho
|
|
|
164
171
|
|---|---|
|
|
165
172
|
| `sylphx login` | OAuth device flow — browser-based, stores access + refresh tokens |
|
|
166
173
|
| `sylphx logout` | Clear stored credentials |
|
|
167
|
-
| `sylphx whoami` | Show current user + org + linked
|
|
174
|
+
| `sylphx whoami` | Show current user + org + linked project |
|
|
168
175
|
|
|
169
176
|
### Project lifecycle
|
|
170
177
|
|
|
@@ -173,7 +180,7 @@ Per-project deployment intent lives in `./sylphx.toml` (git-committable); the ho
|
|
|
173
180
|
| `sylphx init` | Scaffold a new project |
|
|
174
181
|
| `sylphx link` | Link current directory to a Sylphx app |
|
|
175
182
|
| `sylphx unlink` | Remove the project link |
|
|
176
|
-
| `sylphx open` | Open the linked
|
|
183
|
+
| `sylphx open` | Open the linked project, or an explicit project with `--project/--org` |
|
|
177
184
|
| `sylphx projects` | List / manage projects |
|
|
178
185
|
| `sylphx orgs` | List / switch organizations |
|
|
179
186
|
|
|
@@ -181,7 +188,7 @@ Per-project deployment intent lives in `./sylphx.toml` (git-committable); the ho
|
|
|
181
188
|
|
|
182
189
|
| Command | Purpose |
|
|
183
190
|
|---|---|
|
|
184
|
-
| `sylphx deploy` | Deploy the linked
|
|
191
|
+
| `sylphx deploy` | Deploy the linked project, or an explicit project with `--project/--org` |
|
|
185
192
|
| `sylphx deployments` | List / inspect deployments |
|
|
186
193
|
| `sylphx releases` | Browse release history for a linked or explicit project |
|
|
187
194
|
| `sylphx inspect` | Inspect a deployment's build + run metadata |
|