@kinlab/kin 0.5.45 → 0.5.47
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/README.md +30 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,36 @@ No native Windows ARM64 archive is published. An x64 Node process under Windows
|
|
|
21
21
|
emulation can provision the x86_64 archive; use WSL2 for the repository workflow
|
|
22
22
|
documented below.
|
|
23
23
|
|
|
24
|
+
## If the global install is refused
|
|
25
|
+
|
|
26
|
+
On a machine whose global npm prefix is root-owned, and where you are not root and have no
|
|
27
|
+
`sudo`, that first line fails before Kin runs:
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
npm error code EACCES
|
|
31
|
+
npm error syscall mkdir
|
|
32
|
+
npm error path /usr/local/lib/node_modules/@kinlab
|
|
33
|
+
npm error Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@kinlab'
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Containers whose default user is not root are the common case. Two ways out. The
|
|
37
|
+
zero-install path above needs no writable prefix and is the shorter one. Or move the prefix
|
|
38
|
+
somewhere you own, and put it on your `PATH`:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
npm config set prefix ~/.npm-global
|
|
42
|
+
export PATH="$HOME/.npm-global/bin:$PATH" # add this to your shell profile too
|
|
43
|
+
npm install -g @kinlab/kin
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
A user prefix is read by your interactive shell and by nothing else. Scripts, CI steps,
|
|
47
|
+
`docker exec`, and agent clients do not inherit it, so register `kin` with those by its
|
|
48
|
+
absolute path (`$(npm prefix -g)/bin/kin`, or `~/.kin/bin/kin` after `kin setup`) rather
|
|
49
|
+
than by name. Installing as root does not fix that on an image where every user shares one
|
|
50
|
+
`HOME`: root's npm reads the same `.npmrc`, reinstalls into the user prefix, and reports
|
|
51
|
+
success. Pass `npm install -g --prefix /usr/local @kinlab/kin` when you want the system
|
|
52
|
+
prefix.
|
|
53
|
+
|
|
24
54
|
## What it does
|
|
25
55
|
|
|
26
56
|
`@kinlab/kin` ships two thin launchers, not a JavaScript reimplementation:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinlab/kin",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.47",
|
|
4
4
|
"description": "Canonical installer and launcher for Kin, the system of record for AI-written software. Provisions and runs the managed kin + kin-daemon release. MCP is one included mode (kin mcp start).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|