@skylence-ai/skyline 1.3.0 → 1.4.1
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 +53 -36
- package/README.md +32 -11
- package/package.json +7 -10
- package/postinstall.js +0 -20
package/LICENSE.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
distribute it
|
|
6
6
|
**Version of these terms:** the copy published at the URL in section 9
|
|
7
7
|
|
|
8
|
-
skyline is licensed, not sold. Read this before you
|
|
8
|
+
skyline is licensed, not sold. Read this before you use it. If you do not agree
|
|
9
9
|
with it, do not use the software, and delete the copies you hold.
|
|
10
10
|
|
|
11
11
|
## 1. Your license
|
|
@@ -15,27 +15,33 @@ you a personal, non-exclusive, non-transferable, revocable license to install
|
|
|
15
15
|
and run the software, in binary form, on machines you own or control, for your
|
|
16
16
|
own work.
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
Builds without the account gate (the `license-gate` build option, off by
|
|
19
|
+
default today) are licensed differently: skylence grants you the same license
|
|
20
|
+
with no account and no subscription, for as long as you run such a build.
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
That is the whole grant. It is conditional on you staying within section 3
|
|
23
|
+
and, in a build with the account gate, on the subscription. It gives you no
|
|
24
|
+
rights to the source code, and it transfers ownership of nothing.
|
|
25
|
+
|
|
26
|
+
In a build with the account gate, the grant lapses with the subscription. When
|
|
27
|
+
your subscription ends, expires, or goes unpaid, the software stops serving its
|
|
28
|
+
tools until the subscription is current again. Your local files,
|
|
29
|
+
configuration, and history are untouched by this; only the license to run the
|
|
30
|
+
software pauses.
|
|
26
31
|
|
|
27
32
|
## 2. Acceptance
|
|
28
33
|
|
|
29
34
|
You accept these terms when you create your Skylence account, and again each
|
|
30
|
-
time your subscription renews.
|
|
35
|
+
time your subscription renews. In a build without the account gate, you accept
|
|
36
|
+
them by installing or using the software.
|
|
31
37
|
|
|
32
|
-
|
|
33
|
-
software on your machine neither asks for your assent nor records it:
|
|
34
|
-
no command that accepts these terms, no local acceptance record, and
|
|
35
|
-
the binary that reads this file. Earlier versions did all three;
|
|
36
|
-
is gone.
|
|
38
|
+
With an account, acceptance happens at the account, on our servers. The copy
|
|
39
|
+
of the software on your machine neither asks for your assent nor records it:
|
|
40
|
+
there is no command that accepts these terms, no local acceptance record, and
|
|
41
|
+
nothing in the binary that reads this file. Earlier versions did all three;
|
|
42
|
+
that mechanism is gone.
|
|
37
43
|
|
|
38
|
-
|
|
44
|
+
With an account, your account is the record of what you agreed to and when.
|
|
39
45
|
|
|
40
46
|
## 3. What you must not do
|
|
41
47
|
|
|
@@ -67,11 +73,12 @@ notice; its formats and interfaces are not stable; treat it as one tool in your
|
|
|
67
73
|
workflow, not the safety net. Keep backups and version control; skyline's own
|
|
68
74
|
guidance says the same.
|
|
69
75
|
|
|
70
|
-
Access is by paid subscription. Plans, prices,
|
|
71
|
-
are stated at the point of purchase and in your
|
|
72
|
-
over anything implied here. A trial converts
|
|
73
|
-
start it. You may cancel at any time;
|
|
74
|
-
the license lapses at the end of the
|
|
76
|
+
Access to builds with the account gate is by paid subscription. Plans, prices,
|
|
77
|
+
billing period, and any trial are stated at the point of purchase and in your
|
|
78
|
+
account portal, and they govern over anything implied here. A trial converts
|
|
79
|
+
or ends exactly as stated when you start it. You may cancel at any time;
|
|
80
|
+
cancellation stops the next renewal and the license lapses at the end of the
|
|
81
|
+
period you have paid for.
|
|
75
82
|
|
|
76
83
|
## 6. What the software sends, and when
|
|
77
84
|
|
|
@@ -80,12 +87,15 @@ names, repository names, or command arguments. Each is described exactly as the
|
|
|
80
87
|
shipped release behaves; if a later release changes any of this, this section
|
|
81
88
|
changes in the same release.
|
|
82
89
|
|
|
83
|
-
**Signing in.**
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
90
|
+
**Signing in.** Builds made with the account gate (the `license-gate` build
|
|
91
|
+
option) include `skyline login`, which runs the OAuth 2.0 device authorization
|
|
92
|
+
flow against the account server over HTTPS: the software shows you a URL and a
|
|
93
|
+
short code, your browser completes the sign-in there, and the software receives
|
|
94
|
+
an access token and a refresh token. It stores them under your configuration
|
|
87
95
|
directory with owner-only permissions. It never sees, handles, or stores your
|
|
88
96
|
password. `skyline logout` revokes the token and removes the local copy.
|
|
97
|
+
Builds without the gate, which is the default today, have neither command and
|
|
98
|
+
never start a sign-in.
|
|
89
99
|
|
|
90
100
|
**The subscription check.** While you are signed in, the software asks the
|
|
91
101
|
account server whether your subscription is current: when the daemon starts and
|
|
@@ -98,6 +108,12 @@ the network on ordinary runs, so a brief outage or an offline machine does not
|
|
|
98
108
|
interrupt your work. Like any network request, the connection itself shows the
|
|
99
109
|
server your IP address; the message does not contain it.
|
|
100
110
|
|
|
111
|
+
In a build without the gate, the verdict gates nothing. If tokens from an
|
|
112
|
+
earlier signed-in build are still on disk, the daemon still sends this check
|
|
113
|
+
when it starts and periodically while it runs, and `skyline status` sends it
|
|
114
|
+
when the cached answer has lapsed; with no tokens on disk, this channel sends
|
|
115
|
+
nothing.
|
|
116
|
+
|
|
101
117
|
**The legacy key heartbeat.** Installations still configured with an older
|
|
102
118
|
license key send one heartbeat over HTTPS when the daemon starts, carrying
|
|
103
119
|
exactly four values: the key, the tier, the software version, and the same
|
|
@@ -111,8 +127,8 @@ repository skylence-org/binary-skyline) at most once every 24 hours whether a
|
|
|
111
127
|
newer version exists, and caches the answer in a local file. The request
|
|
112
128
|
carries no token, no identifiers, and none of your data; like any network
|
|
113
129
|
request, the connection itself shows GitHub your IP address. This check also
|
|
114
|
-
runs
|
|
115
|
-
exists at all.
|
|
130
|
+
runs without a signed-in account: it is how an installation learns that an
|
|
131
|
+
update exists at all.
|
|
116
132
|
|
|
117
133
|
**Research telemetry** is off until you turn it on, and the software ships with
|
|
118
134
|
no telemetry endpoint built in; both the consent and the destination are
|
|
@@ -136,25 +152,26 @@ rights in your material. Never include confidential information in feedback.
|
|
|
136
152
|
|
|
137
153
|
## 8. Termination
|
|
138
154
|
|
|
139
|
-
This license ends automatically if you breach it
|
|
140
|
-
subscription is not current (section 1). We
|
|
141
|
-
breach, and may withdraw the software from
|
|
142
|
-
using the software and delete your copies.
|
|
143
|
-
survive.
|
|
155
|
+
This license ends automatically if you breach it and, in a build with the
|
|
156
|
+
account gate, pauses whenever your subscription is not current (section 1). We
|
|
157
|
+
may suspend or close an account for breach, and may withdraw the software from
|
|
158
|
+
sale. When the license ends, stop using the software and delete your copies.
|
|
159
|
+
Sections 4, 7, 10, 11, and 12 survive.
|
|
144
160
|
|
|
145
161
|
## 9. Changes to these terms
|
|
146
162
|
|
|
147
163
|
The current terms always live at
|
|
148
164
|
https://github.com/skylence-org/skyline/blob/main/LICENSE. We may change them.
|
|
149
165
|
Material changes are named in the release notes of the version that carries
|
|
150
|
-
them and sent to
|
|
151
|
-
next renewal, or thirty days after that notice, whichever comes first.
|
|
166
|
+
them and, if you have an account, sent to its address; they take effect for you
|
|
167
|
+
at your next renewal, or thirty days after that notice, whichever comes first.
|
|
152
168
|
Continuing to use the software after that is agreement. If you do not agree,
|
|
153
|
-
cancel before the change takes
|
|
169
|
+
stop using the software (and cancel any subscription) before the change takes
|
|
170
|
+
effect, and uninstall.
|
|
154
171
|
|
|
155
172
|
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
|
|
157
|
-
not through the command line.
|
|
173
|
+
gates on them. Notice reaches you through the release notes and, if you have
|
|
174
|
+
one, your account, not through the command line.
|
|
158
175
|
|
|
159
176
|
## 10. No warranty
|
|
160
177
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# skyline
|
|
2
2
|
|
|
3
|
-
> **
|
|
3
|
+
> **No account needed for now.** The subscription gate is compiled out by default (`license-gate` Cargo feature, off), so skyline runs with no account, no key and nothing to accept, and has no `login`/`logout` commands. In a build that re-enables the gate, skyline runs while you are logged in to a Skylence account with a valid subscription (`skyline login`).
|
|
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,7 +22,6 @@ 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 login # opens the browser; device code flow
|
|
26
25
|
skyline setup # daemon + agent plugins, idempotent
|
|
27
26
|
```
|
|
28
27
|
|
|
@@ -117,12 +116,16 @@ Puts `skyline`, `skyrift`, and `skylore` on your PATH via the matching
|
|
|
117
116
|
that platform package), with no native installer or compile step. Prebuilt
|
|
118
117
|
targets in this beta: macOS arm64, Windows x64, and Windows arm64.
|
|
119
118
|
|
|
120
|
-
### 2. Log in
|
|
119
|
+
### 2. Log in (gated builds only)
|
|
121
120
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
Builds made today ship with the license gate compiled out: there is no
|
|
122
|
+
`skyline login` and nothing to log in to, so skip to step 3.
|
|
123
|
+
|
|
124
|
+
In a build that re-enables the gate (`--features license-gate`), release
|
|
125
|
+
binaries serve no tools until you are logged in to a Skylence account with a
|
|
126
|
+
valid subscription. Entitlement is decided by the account server on every
|
|
127
|
+
heartbeat, so there is no key to type, no password to activate with, and no
|
|
128
|
+
terms to accept locally: log in and the binary works, let the subscription
|
|
126
129
|
lapse and it stops.
|
|
127
130
|
|
|
128
131
|
```bash
|
|
@@ -143,8 +146,26 @@ the shared HTTP daemon as a supervised autostart service on port 7333 and
|
|
|
143
146
|
best-effort installs the Skyline marketplace plugins for agent CLIs already on
|
|
144
147
|
PATH. Re-run with `skyline setup --force` after changing agent installs or PATH.
|
|
145
148
|
|
|
146
|
-
|
|
147
|
-
|
|
149
|
+
Setup also runs automatically (never at install time) when all of these hold:
|
|
150
|
+
|
|
151
|
+
- the command is `read`, `edit`, `preview`, `grep`, `sgrep` or `srewrite`, or a
|
|
152
|
+
`skyline <verb>` whose `skyline-<verb>` executable is on PATH (an unknown
|
|
153
|
+
verb or a typo never runs setup);
|
|
154
|
+
- stdin and stdout are both an interactive terminal (no pipe or redirect), and
|
|
155
|
+
neither `CI` nor `SKYLINE_NO_AUTO_SETUP` is set;
|
|
156
|
+
- setup has never run for this user, or last ran for an older skyline version.
|
|
157
|
+
|
|
158
|
+
So it runs on first use and once more after each upgrade (never for a caller
|
|
159
|
+
whose stdout is always piped, who still gets the status/doctor pointer). That re-run may
|
|
160
|
+
restart the shared daemon, which ends its running background jobs. A failed
|
|
161
|
+
automatic run is retried by the next such command; a marketplace plugin that
|
|
162
|
+
fails to install is reported during that setup run only. `skyline status`,
|
|
163
|
+
`skyline doctor` and `skyline daemon status` never run setup; when it is due
|
|
164
|
+
they print one line on stderr pointing at `skyline setup`. On builds with
|
|
165
|
+
accounts, `login` and `logout` never trigger it. **Agents, CI and plugin-only
|
|
166
|
+
installs must run `skyline setup` explicitly**: none of them runs the binary
|
|
167
|
+
from an interactive terminal. `SKYLINE_NO_AUTO_SETUP=1` turns off both the
|
|
168
|
+
automatic run and the pointer.
|
|
148
169
|
|
|
149
170
|
Check it is up with `skyline daemon status` (the port should read `running`).
|
|
150
171
|
To remove the setup-installed daemon, optional plugins, package-manager install,
|
|
@@ -181,7 +202,7 @@ skyline's main job is the MCP server your agent talks to, installed by `skyline
|
|
|
181
202
|
| Command | What it does |
|
|
182
203
|
|---------|--------------|
|
|
183
204
|
| `skyline setup` | Install the daemon and agent plugins (idempotent; re-run with `--force`) |
|
|
184
|
-
| `skyline login` | Log in to your Skylence account (`logout` to sign out) |
|
|
205
|
+
| `skyline login` | Log in to your Skylence account (`logout` to sign out); only in builds with the `license-gate` feature |
|
|
185
206
|
| `skyline status` | Account and subscription state for this machine |
|
|
186
207
|
| `skyline daemon status` | Check the daemon (`start` / `stop` / `restart` also available) |
|
|
187
208
|
| `skyline daemon install` | Start the daemon automatically on every boot |
|
|
@@ -335,4 +356,4 @@ Proprietary. Free to use during the invited beta; activating the software means
|
|
|
335
356
|
accepting the terms. Full text:
|
|
336
357
|
https://github.com/skylence-org/skyline/blob/main/LICENSE
|
|
337
358
|
|
|
338
|
-
<!-- synced from README blob
|
|
359
|
+
<!-- synced from README blob 96ae49c69c1af90d5f822da7b79bc2ee370248bf -->
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skylence-ai/skyline",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Content-hash line editor — CLI and MCP server",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"repository": {
|
|
@@ -21,20 +21,17 @@
|
|
|
21
21
|
"node": ">=16"
|
|
22
22
|
},
|
|
23
23
|
"preferUnplugged": true,
|
|
24
|
-
"scripts": {
|
|
25
|
-
"postinstall": "node postinstall.js"
|
|
26
|
-
},
|
|
27
24
|
"bin": {
|
|
28
25
|
"skyline": "bin.js",
|
|
29
26
|
"skyrift": "skyrift.js",
|
|
30
27
|
"skylore": "skylore.js"
|
|
31
28
|
},
|
|
32
29
|
"optionalDependencies": {
|
|
33
|
-
"@skylence-ai/skyline-darwin-arm64": "1.
|
|
34
|
-
"@skylence-ai/skyline-darwin-x64": "1.
|
|
35
|
-
"@skylence-ai/skyline-linux-arm64": "1.
|
|
36
|
-
"@skylence-ai/skyline-linux-x64": "1.
|
|
37
|
-
"@skylence-ai/skyline-win32-x64": "1.
|
|
38
|
-
"@skylence-ai/skyline-win32-arm64": "1.
|
|
30
|
+
"@skylence-ai/skyline-darwin-arm64": "1.4.1",
|
|
31
|
+
"@skylence-ai/skyline-darwin-x64": "1.4.1",
|
|
32
|
+
"@skylence-ai/skyline-linux-arm64": "1.4.1",
|
|
33
|
+
"@skylence-ai/skyline-linux-x64": "1.4.1",
|
|
34
|
+
"@skylence-ai/skyline-win32-x64": "1.4.1",
|
|
35
|
+
"@skylence-ai/skyline-win32-arm64": "1.4.1"
|
|
39
36
|
}
|
|
40
37
|
}
|
package/postinstall.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";
|
|
3
|
-
|
|
4
|
-
// Package-manager lifecycle scripts are increasingly blocked by default. When
|
|
5
|
-
// this hook does run, treat it as a best-effort convenience; the real,
|
|
6
|
-
// idempotent bootstrap is `skyline setup`.
|
|
7
|
-
if (process.env.CI || process.env.SKYLINE_NO_AUTO_SETUP) process.exit(0);
|
|
8
|
-
|
|
9
|
-
const { spawnSync } = require("child_process");
|
|
10
|
-
const path = require("path");
|
|
11
|
-
const bin = path.join(__dirname, "bin.js");
|
|
12
|
-
const node = process.execPath;
|
|
13
|
-
|
|
14
|
-
const r = spawnSync(node, [bin, "setup"], { stdio: "inherit", windowsHide: true });
|
|
15
|
-
const code = r.status ?? 1;
|
|
16
|
-
if (r.error || code !== 0) {
|
|
17
|
-
console.warn(
|
|
18
|
-
"skyline: postinstall setup skipped or failed; run `skyline setup` once after install."
|
|
19
|
-
);
|
|
20
|
-
}
|