@learnaltitude/cli 0.1.0 → 0.2.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/README.md +39 -0
- package/bin/altitude.js +0 -0
- package/dist/cli.js +32 -26
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,3 +11,42 @@ npm install -g @learnaltitude/cli
|
|
|
11
11
|
|
|
12
12
|
Pair the CLI with your account at [app.learnaltitude.com](https://app.learnaltitude.com).
|
|
13
13
|
Supported agents are Claude Code and Codex.
|
|
14
|
+
|
|
15
|
+
## Copied skills installs and updates
|
|
16
|
+
|
|
17
|
+
Claude Code marketplace installs remain the recommended Claude path and update through that
|
|
18
|
+
marketplace. For Codex or a manual Claude Code copy, install the public skills through the target
|
|
19
|
+
declaration shipped by the relevant adapter:
|
|
20
|
+
|
|
21
|
+
```sh
|
|
22
|
+
altitude skills install --adapter-config /path/to/adapter/skills-install.json
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The first install remembers the resolved target in the CLI data directory (by default,
|
|
26
|
+
`~/.altitude/skills-manifest.json`), including the exact `jasonku09/altitude-skills` commit and a
|
|
27
|
+
SHA-256 content hash for every managed file. Later updates need no adapter flag:
|
|
28
|
+
|
|
29
|
+
```sh
|
|
30
|
+
altitude update
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Use `--ref <commit-sha>` with either command to pin or roll back to a particular public-repository
|
|
34
|
+
commit. Updates change only manifest-managed files plus new upstream paths; unrelated skills in a
|
|
35
|
+
shared target are left alone, while managed files removed upstream are removed locally. An edited
|
|
36
|
+
managed file or colliding pre-CLI copy is backed up in the CLI data directory (by default,
|
|
37
|
+
`~/.altitude/skills-backups/`) before the upstream version replaces or removes it. Backups never
|
|
38
|
+
live in an agent skills directory. If no copied install is configured, the skills step is an
|
|
39
|
+
informative no-op because marketplace or plugin-managed skills update through the agent.
|
|
40
|
+
After the skills step completes or is skipped, `altitude update` asks the detected global package
|
|
41
|
+
manager to update `@learnaltitude/cli`; if detection or execution fails, it prints the exact manual
|
|
42
|
+
command instead. A genuine copied-skills sync failure stops before the CLI self-update.
|
|
43
|
+
|
|
44
|
+
## Network disclosure
|
|
45
|
+
|
|
46
|
+
The distributed client uses the user's own agent subscription and no Altitude-held API key.
|
|
47
|
+
Interactive `connect`, `diagnostics`, and `update` commands make anonymous, direct version checks
|
|
48
|
+
to GitHub (the public skills repository's `main` commit) and the npm registry (the CLI's latest
|
|
49
|
+
version). Results are cached in the CLI data directory for about 24 hours. Skills downloads also
|
|
50
|
+
come directly from GitHub. These requests do not pass through the Altitude service and carry no
|
|
51
|
+
Altitude credentials. Hooks, gates, queue flushers, and other non-interactive paths never perform
|
|
52
|
+
the version check; all check failures are silent and cannot change a command's exit code.
|
package/bin/altitude.js
CHANGED
|
File without changes
|