@skylence-ai/skyline 1.2.5 → 1.3.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/LICENSE.md CHANGED
@@ -1,54 +1,56 @@
1
- # skyline Beta License Agreement
1
+ # skyline License Agreement
2
2
 
3
3
  **Licensor:** skylence-org ("skylence", "we")
4
4
  **Software:** the skyline binary, its installers, and the npm packages that
5
5
  distribute it
6
- **Version of these terms:** identified by the content hash of this file
6
+ **Version of these terms:** the copy published at the URL in section 9
7
7
 
8
- skyline is licensed, not sold, and this beta is by invitation. Read this before
9
- you activate. If you do not agree with it, do not activate the software, and
10
- delete the copies you hold.
8
+ skyline is licensed, not sold. Read this before you log in. If you do not agree
9
+ with it, do not use the software, and delete the copies you hold.
11
10
 
12
11
  ## 1. Your license
13
12
 
14
- While you hold an activation key we issued to you, and that key has not been
15
- revoked, skylence grants you a personal, non-exclusive, non-transferable,
16
- revocable license to install and run the software, in binary form, on machines
17
- you own or control, for your own work.
13
+ While you hold a Skylence account with a current subscription, skylence grants
14
+ you a personal, non-exclusive, non-transferable, revocable license to install
15
+ and run the software, in binary form, on machines you own or control, for your
16
+ own work.
18
17
 
19
- That is the whole grant. It is conditional on the key, on your acceptance under
20
- section 2, and on you staying within section 3. It gives you no rights to the
21
- source code, and it transfers ownership of nothing.
18
+ That is the whole grant. It is conditional on the subscription and on you
19
+ staying within section 3. It gives you no rights to the source code, and it
20
+ transfers ownership of nothing.
21
+
22
+ The grant lapses with the subscription. When your subscription ends, expires,
23
+ or goes unpaid, the software stops serving its tools until the subscription is
24
+ current again. Your local files, configuration, and history are untouched by
25
+ this; only the license to run the software pauses.
22
26
 
23
27
  ## 2. Acceptance
24
28
 
25
- You accept these terms by running `skyline license accept`: it shows you the
26
- terms and asks for your explicit assent, and `skyline license accept --yes` in
27
- a script is the same assent given expressly. Until you accept, the software's
28
- tools are unavailable, and gated commands refuse with a pointer to this step.
29
- Beta activation (`skyline license unlock`) is a separate step that only validates your
30
- key; it neither asks for nor implies acceptance.
29
+ You accept these terms when you create your Skylence account, and again each
30
+ time your subscription renews.
31
+
32
+ Acceptance happens once, at the account, on our servers. The copy of the
33
+ software on your machine neither asks for your assent nor records it: there is
34
+ no command that accepts these terms, no local acceptance record, and nothing in
35
+ the binary that reads this file. Earlier versions did all three; that mechanism
36
+ is gone.
31
37
 
32
- Acceptance is recorded. The record is the content hash of the terms you
33
- accepted, the moment you accepted them, and the activation key you held at the
34
- time, when one exists; it is stored with your local state as proof of
35
- acceptance. The hash is also how the software knows the terms
36
- changed: it asks you again only when this file's content changes (section 9),
37
- never on routine runs.
38
+ Your account is the record of what you agreed to and when.
38
39
 
39
40
  ## 3. What you must not do
40
41
 
41
42
  - Do not redistribute, publish, sell, rent, lease, or host the software for
42
43
  others; do not sublicense it.
43
- - Do not share or transfer your activation key, or use one key beyond the
44
- people or machines it was issued for.
44
+ - Do not share or transfer your account credentials or the tokens the software
45
+ stores for you, and do not use one subscription beyond the people or machines
46
+ it covers.
45
47
  - Do not reverse engineer, decompile, or disassemble the software or otherwise
46
48
  attempt to derive its source. Where the law of your jurisdiction grants you a
47
49
  narrow right to do some of this despite this clause (the EU's
48
50
  interoperability and error-correction rights, for example), that right stands
49
51
  and this clause does not shrink it.
50
- - Do not circumvent or tamper with activation, license enforcement, acceptance,
51
- or usage limits.
52
+ - Do not circumvent or tamper with authentication, the subscription check, or
53
+ usage limits.
52
54
  - Do not remove copyright, license, or attribution notices.
53
55
 
54
56
  ## 4. Ownership and third-party components
@@ -58,44 +60,59 @@ right in it; everything not expressly granted is reserved. Open-source
58
60
  components inside the binary remain under their own licenses, which continue to
59
61
  govern those components.
60
62
 
61
- ## 5. Beta reality
63
+ ## 5. Pre-release software, and what you pay for
62
64
 
63
65
  This is pre-release software. It may break, change, or lose features without
64
66
  notice; its formats and interfaces are not stable; treat it as one tool in your
65
67
  workflow, not the safety net. Keep backups and version control; skyline's own
66
68
  guidance says the same.
67
69
 
68
- The beta is free. We may end it, or begin charging, on notice.
70
+ Access is by paid subscription. Plans, prices, billing period, and any trial
71
+ are stated at the point of purchase and in your account portal, and they govern
72
+ over anything implied here. A trial converts or ends exactly as stated when you
73
+ start it. You may cancel at any time; cancellation stops the next renewal and
74
+ the license lapses at the end of the period you have paid for.
69
75
 
70
76
  ## 6. What the software sends, and when
71
77
 
72
- Four channels exist. None of them carries your code, file contents, file
78
+ The channels below are all of them. None carries your code, file contents, file
73
79
  names, repository names, or command arguments. Each is described exactly as the
74
80
  shipped release behaves; if a later release changes any of this, this section
75
81
  changes in the same release.
76
82
 
77
- **The acceptance record** (section 2) is written locally with your activation
78
- state and stays on your machine; it is not transmitted.
83
+ **Signing in.** `skyline login` runs the OAuth 2.0 device authorization flow
84
+ against the account server over HTTPS: the software shows you a URL and a short
85
+ code, your browser completes the sign-in there, and the software receives an
86
+ access token and a refresh token. It stores them under your configuration
87
+ directory with owner-only permissions. It never sees, handles, or stores your
88
+ password. `skyline logout` revokes the token and removes the local copy.
89
+
90
+ **The subscription check.** While you are signed in, the software asks the
91
+ account server whether your subscription is current: when the daemon starts and
92
+ periodically while it runs, and from the command line only when the last answer
93
+ has already lapsed. The request carries your access token, the software
94
+ version, and a coarse day number (days since 1 January 1970, dated to the day
95
+ and no finer). Nothing else. The reply is the verdict and how long it is good
96
+ for; the software caches that verdict locally and reads the cache rather than
97
+ the network on ordinary runs, so a brief outage or an offline machine does not
98
+ interrupt your work. Like any network request, the connection itself shows the
99
+ server your IP address; the message does not contain it.
100
+
101
+ **The legacy key heartbeat.** Installations still configured with an older
102
+ license key send one heartbeat over HTTPS when the daemon starts, carrying
103
+ exactly four values: the key, the tier, the software version, and the same
104
+ coarse day number. The endpoint must be HTTPS: the software refuses to send a
105
+ key over a plaintext connection. With no key configured, this channel sends
106
+ nothing at all.
79
107
 
80
108
  **The update check.** Unless you turn it off (`auto_update = false` in the
81
- config), the software asks GitHub's public releases API
82
- (api.github.com, repository skylence-org/binary-skyline) at most once every
83
- 24 hours whether a newer version exists, and caches the answer in a local
84
- file. The request carries no key, no identifiers, and none of your data;
85
- like any network request, the connection itself shows GitHub your IP
86
- address. This check also runs before you have accepted these terms: it is
87
- how an installation learns that an update exists at all.
88
-
89
- **License activation and heartbeat.** With a key configured, the software sends
90
- one heartbeat over HTTPS when the daemon starts and one when you run the
91
- `license` command. A paid-tier heartbeat carries exactly four values: the key,
92
- the tier, the software version, and a coarse day number (days since 1 January
93
- 1970, dated to the day and no finer). A free-tier key sends the same ping minus
94
- the tier field; it exists to meter the free tier's usage cap. With no key
95
- configured, nothing is sent at all. The endpoint must be HTTPS: the software
96
- refuses to send a key over a plaintext connection. Like any network request,
97
- the connection itself shows the server your IP address; the message does not
98
- contain it.
109
+ config), the software asks GitHub's public releases API (api.github.com,
110
+ repository skylence-org/binary-skyline) at most once every 24 hours whether a
111
+ newer version exists, and caches the answer in a local file. The request
112
+ carries no token, no identifiers, and none of your data; like any network
113
+ request, the connection itself shows GitHub your IP address. This check also
114
+ runs before you have signed in: it is how an installation learns that an update
115
+ exists at all.
99
116
 
100
117
  **Research telemetry** is off until you turn it on, and the software ships with
101
118
  no telemetry endpoint built in; both the consent and the destination are
@@ -119,20 +136,25 @@ rights in your material. Never include confidential information in feedback.
119
136
 
120
137
  ## 8. Termination
121
138
 
122
- This license ends automatically if you breach it. We may revoke keys or end
123
- beta access at any time, with or without cause, and may end the beta itself.
124
- When the license ends, stop using the software and delete your copies.
125
- Sections 4, 7, 10, 11, and 12 survive.
139
+ This license ends automatically if you breach it, and pauses whenever your
140
+ subscription is not current (section 1). We may suspend or close an account for
141
+ breach, and may withdraw the software from sale. When the license ends, stop
142
+ using the software and delete your copies. Sections 4, 7, 10, 11, and 12
143
+ survive.
126
144
 
127
145
  ## 9. Changes to these terms
128
146
 
129
147
  The current terms always live at
130
- https://github.com/skylence-org/skyline/blob/main/LICENSE. We may change them
131
- during the beta; material changes are named in the release notes of the version
132
- that carries them. Because terms are identified by content hash, the software
133
- asks you to accept the changed version before gated commands run again. Continuing
134
- past that acceptance is agreement; declining means stopping use and
135
- uninstalling.
148
+ https://github.com/skylence-org/skyline/blob/main/LICENSE. We may change them.
149
+ Material changes are named in the release notes of the version that carries
150
+ them and sent to the address on your account; they take effect for you at your
151
+ next renewal, or thirty days after that notice, whichever comes first.
152
+ Continuing to use the software after that is agreement. If you do not agree,
153
+ cancel before the change takes effect and uninstall.
154
+
155
+ The software will not ask you again: nothing in the binary reads these terms or
156
+ gates on them. Notice reaches you through the release notes and your account,
157
+ not through the command line.
136
158
 
137
159
  ## 10. No warranty
138
160
 
@@ -167,8 +189,8 @@ residence grant you.
167
189
 
168
190
  ## 13. Contact
169
191
 
170
- Everything about this license, activation keys, beta access, and bug reports
171
- goes through the public tracker: https://github.com/skylence-org/skyline/issues
192
+ Everything about this license, accounts, billing, and bug reports goes through
193
+ the public tracker: https://github.com/skylence-org/skyline/issues
172
194
 
173
195
  ---
174
196
 
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # skyline
2
2
 
3
- > **Private beta — activation required.** skyline is gated: it only runs after you unlock it with an activation key (`skyline license unlock '<activation-key>'`).
3
+ > **Subscription required.** skyline runs while you are logged in to a Skylence account with a valid subscription (`skyline login`). There is no key to enter and nothing to accept on your machine.
4
4
 
5
5
  skyline is a search-and-edit toolkit that makes AI coding assistants both safer
6
6
  and sharper on your codebase. Every edit is pinned to a content fingerprint and
@@ -22,8 +22,7 @@ and npm picks the right platform for you.
22
22
 
23
23
  ```bash
24
24
  npm install -g @skylence-ai/skyline # prebuilt binary, no compile step
25
- skyline license unlock '<activation-key>' # private beta: validates your key
26
- skyline license accept # read + accept the terms (tools gate on this)
25
+ skyline login # opens the browser; device code flow
27
26
  skyline setup # daemon + agent plugins, idempotent
28
27
  ```
29
28
 
@@ -118,21 +117,21 @@ Puts `skyline`, `skyrift`, and `skylore` on your PATH via the matching
118
117
  that platform package), with no native installer or compile step. Prebuilt
119
118
  targets in this beta: macOS arm64, Windows x64, and Windows arm64.
120
119
 
121
- ### 2. Activate (private beta)
120
+ ### 2. Log in
122
121
 
123
- Release binaries are locked on first run and will not serve any tools until you
124
- activate them with the beta key issued with your download; access is
125
- invite-only, so please do not request a key at this time. Activation only
126
- validates your key. Accepting the
127
- [license terms](https://github.com/skylence-org/skyline/blob/main/LICENSE) is its
128
- own step, and skyline's tools stay gated until it happens:
129
- `skyline license accept` shows the terms and asks for your assent (scripts can
130
- pass `--yes`).
122
+ Release binaries serve no tools until you are logged in to a Skylence account
123
+ with a valid subscription. Entitlement is decided by the account server on
124
+ every heartbeat, so there is no key to type, no password to activate with, and
125
+ no terms to accept locally: log in and the binary works, let the subscription
126
+ lapse and it stops.
131
127
 
132
128
  ```bash
133
- skyline license unlock '<activation-key>'
129
+ skyline login
134
130
  ```
135
131
 
132
+ `skyline status` shows the account and subscription state this machine is
133
+ running on, and refreshes it from the server if the cached verdict has lapsed.
134
+
136
135
  ### 3. Bootstrap the daemon and plugins
137
136
 
138
137
  ```bash
@@ -182,7 +181,8 @@ skyline's main job is the MCP server your agent talks to, installed by `skyline
182
181
  | Command | What it does |
183
182
  |---------|--------------|
184
183
  | `skyline setup` | Install the daemon and agent plugins (idempotent; re-run with `--force`) |
185
- | `skyline license unlock '<activation-key>'` | Activate a locked beta build |
184
+ | `skyline login` | Log in to your Skylence account (`logout` to sign out) |
185
+ | `skyline status` | Account and subscription state for this machine |
186
186
  | `skyline daemon status` | Check the daemon (`start` / `stop` / `restart` also available) |
187
187
  | `skyline daemon install` | Start the daemon automatically on every boot |
188
188
  | `skyline doctor` | Health check |
@@ -335,4 +335,4 @@ Proprietary. Free to use during the invited beta; activating the software means
335
335
  accepting the terms. Full text:
336
336
  https://github.com/skylence-org/skyline/blob/main/LICENSE
337
337
 
338
- <!-- synced from README blob 658eaecd10ebf07dcbcfb4b5e589b81f5a2e4a84 -->
338
+ <!-- synced from README blob 24e9a19dbdea41c85469d3222f146b5271f25266 -->
package/bin.js CHANGED
@@ -19,4 +19,13 @@ const result = spawnSync(binaryPath, process.argv.slice(2), {
19
19
  // launchers) on Windows.
20
20
  windowsHide: true,
21
21
  });
22
+ // spawnSync reports a binary it could not start (missing, not executable,
23
+ // quarantined) through result.error with status null; say so instead of
24
+ // exiting 1 in silence.
25
+ if (result.error) {
26
+ process.stderr.write(
27
+ `skyline: failed to start ${binaryPath}: ${result.error.message}\n`
28
+ );
29
+ process.exit(1);
30
+ }
22
31
  process.exit(result.status ?? 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skylence-ai/skyline",
3
- "version": "1.2.5",
3
+ "version": "1.3.0",
4
4
  "description": "Content-hash line editor — CLI and MCP server",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "repository": {
@@ -30,11 +30,11 @@
30
30
  "skylore": "skylore.js"
31
31
  },
32
32
  "optionalDependencies": {
33
- "@skylence-ai/skyline-darwin-arm64": "1.2.5",
34
- "@skylence-ai/skyline-darwin-x64": "1.2.5",
35
- "@skylence-ai/skyline-linux-arm64": "1.2.5",
36
- "@skylence-ai/skyline-linux-x64": "1.2.5",
37
- "@skylence-ai/skyline-win32-x64": "1.2.5",
38
- "@skylence-ai/skyline-win32-arm64": "1.2.5"
33
+ "@skylence-ai/skyline-darwin-arm64": "1.3.0",
34
+ "@skylence-ai/skyline-darwin-x64": "1.3.0",
35
+ "@skylence-ai/skyline-linux-arm64": "1.3.0",
36
+ "@skylence-ai/skyline-linux-x64": "1.3.0",
37
+ "@skylence-ai/skyline-win32-x64": "1.3.0",
38
+ "@skylence-ai/skyline-win32-arm64": "1.3.0"
39
39
  }
40
40
  }
package/skylore.js CHANGED
@@ -16,4 +16,13 @@ const result = spawnSync(binaryPath, process.argv.slice(2), {
16
16
  stdio: "inherit",
17
17
  windowsHide: true,
18
18
  });
19
+ // spawnSync reports a binary it could not start (missing, not executable,
20
+ // quarantined) through result.error with status null; say so instead of
21
+ // exiting 1 in silence.
22
+ if (result.error) {
23
+ process.stderr.write(
24
+ `skylore: failed to start ${binaryPath}: ${result.error.message}\n`
25
+ );
26
+ process.exit(1);
27
+ }
19
28
  process.exit(result.status ?? 1);
package/skyrift.js CHANGED
@@ -16,4 +16,13 @@ const result = spawnSync(binaryPath, process.argv.slice(2), {
16
16
  stdio: "inherit",
17
17
  windowsHide: true,
18
18
  });
19
+ // spawnSync reports a binary it could not start (missing, not executable,
20
+ // quarantined) through result.error with status null; say so instead of
21
+ // exiting 1 in silence.
22
+ if (result.error) {
23
+ process.stderr.write(
24
+ `skyrift: failed to start ${binaryPath}: ${result.error.message}\n`
25
+ );
26
+ process.exit(1);
27
+ }
19
28
  process.exit(result.status ?? 1);