@skylence-ai/skyline 1.4.0 → 1.5.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.
Files changed (3) hide show
  1. package/README.md +46 -3
  2. package/package.json +7 -10
  3. package/postinstall.js +0 -20
package/README.md CHANGED
@@ -146,8 +146,26 @@ the shared HTTP daemon as a supervised autostart service on port 7333 and
146
146
  best-effort installs the Skyline marketplace plugins for agent CLIs already on
147
147
  PATH. Re-run with `skyline setup --force` after changing agent installs or PATH.
148
148
 
149
- npm may run this for you as a best-effort postinstall hook, but modern package
150
- managers can block lifecycle scripts. If in doubt, run `skyline setup` once.
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.
151
169
 
152
170
  Check it is up with `skyline daemon status` (the port should read `running`).
153
171
  To remove the setup-installed daemon, optional plugins, package-manager install,
@@ -215,6 +233,31 @@ agent read before its first edit; the PHP code-intelligence headline:
215
233
  collapse an iterated call-hierarchy walk and a manual deletion audit into one
216
234
  call each.
217
235
 
236
+ ### Skills over MCP
237
+
238
+ The server also serves six agent skills (`feature-loop-skill`,
239
+ `debug-loop-skill`, `review-loop-skill`, `skylore-deposit-skill`,
240
+ `skyline-upgrade`, `skyline-uninstall`) over the MCP Skills extension
241
+ (SEP-2640, `io.modelcontextprotocol/skills`): `skills/list`, `skills/get`, and
242
+ `skill://<name>/SKILL.md` resources, compiled into the binary so they version
243
+ with the tools they describe. Claude Code >= 2.1.331 shows them as
244
+ `<server>:<skill>`.
245
+
246
+ `skyline-upgrade` and `skyline-uninstall` are served by the daemon, so they
247
+ cannot load while it is down. Daemon down or never installed: run
248
+ `skyline update --yes && skyline setup`, which needs no daemon; `skyline doctor`
249
+ prints the same line when no daemon is live.
250
+
251
+ Choose which skills are offered with `skyline config skills`
252
+ (`status`, `enable`, `disable`, `allow <names>`, `deny <names>`; no names clears
253
+ the list) or the `skills_set` MCP tool. It is stored in `config.json` next to
254
+ the observability streams and applies to the next fetch, no restart; clients may
255
+ cache the skills list for up to an hour.
256
+ `disable` drops the four configurable skills (`feature-loop-skill`,
257
+ `debug-loop-skill`, `review-loop-skill`, `skylore-deposit-skill`);
258
+ `skyline-upgrade` and `skyline-uninstall` are always served, and naming them or
259
+ an unknown skill is rejected. Default: all six.
260
+
218
261
  ### Memory that outlives the session
219
262
 
220
263
  skyline ships an operator-wide memory bank, skylore, as two more MCP tools.
@@ -338,4 +381,4 @@ Proprietary. Free to use during the invited beta; activating the software means
338
381
  accepting the terms. Full text:
339
382
  https://github.com/skylence-org/skyline/blob/main/LICENSE
340
383
 
341
- <!-- synced from README blob 6e66172d868c73d7b6cb937bef6afa57b96594c6 -->
384
+ <!-- synced from README blob 00c60b17ab2c7eda836ca3366c5ca2f2215dc95e -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skylence-ai/skyline",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
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.4.0",
34
- "@skylence-ai/skyline-darwin-x64": "1.4.0",
35
- "@skylence-ai/skyline-linux-arm64": "1.4.0",
36
- "@skylence-ai/skyline-linux-x64": "1.4.0",
37
- "@skylence-ai/skyline-win32-x64": "1.4.0",
38
- "@skylence-ai/skyline-win32-arm64": "1.4.0"
30
+ "@skylence-ai/skyline-darwin-arm64": "1.5.0",
31
+ "@skylence-ai/skyline-darwin-x64": "1.5.0",
32
+ "@skylence-ai/skyline-linux-arm64": "1.5.0",
33
+ "@skylence-ai/skyline-linux-x64": "1.5.0",
34
+ "@skylence-ai/skyline-win32-x64": "1.5.0",
35
+ "@skylence-ai/skyline-win32-arm64": "1.5.0"
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
- }