facult 2.0.1 → 2.1.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/README.md +18 -5
- package/bin/fclt.cjs +2 -2
- package/package.json +4 -4
- package/src/self-update.ts +1 -1
package/README.md
CHANGED
|
@@ -4,8 +4,11 @@
|
|
|
4
4
|
<a aria-label="NPM version" href="https://www.npmjs.com/package/facult">
|
|
5
5
|
<img alt="facult npm version" src="https://img.shields.io/npm/v/facult.svg?style=flat-square&logo=npm&labelColor=000000&label=facult">
|
|
6
6
|
</a>
|
|
7
|
-
<a aria-label="
|
|
8
|
-
<img alt="
|
|
7
|
+
<a aria-label="Homebrew tap" href="https://github.com/hack-dance/homebrew-tap">
|
|
8
|
+
<img alt="Homebrew tap" src="https://img.shields.io/badge/homebrew-hack--dance%2Ftap%2Ffclt-FBB040.svg?style=flat-square&logo=homebrew&logoColor=white&labelColor=000000">
|
|
9
|
+
</a>
|
|
10
|
+
<a aria-label="CI status" href="https://github.com/hack-dance/fclt/actions/workflows/ci.yml">
|
|
11
|
+
<img alt="CI" src="https://img.shields.io/github/actions/workflow/status/hack-dance/fclt/ci.yml?branch=main&style=flat-square&logo=github&label=ci&labelColor=000000">
|
|
9
12
|
</a>
|
|
10
13
|
<a aria-label="hack.dance" href="https://hack.dance">
|
|
11
14
|
<img alt="Made by hack.dance" src="https://img.shields.io/badge/MADE%20BY%20HACK.DANCE-000000.svg?style=flat-square&labelColor=000000">
|
|
@@ -170,6 +173,14 @@ That is the core idea behind `fclt`: not just syncing skills, but growing facult
|
|
|
170
173
|
|
|
171
174
|
Recommended global install:
|
|
172
175
|
|
|
176
|
+
```bash
|
|
177
|
+
brew tap hack-dance/tap
|
|
178
|
+
brew install hack-dance/tap/fclt
|
|
179
|
+
fclt --help
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
Package-manager install:
|
|
183
|
+
|
|
173
184
|
```bash
|
|
174
185
|
npm install -g facult
|
|
175
186
|
# or
|
|
@@ -188,7 +199,7 @@ npx --yes -p facult fclt --help
|
|
|
188
199
|
Direct binary install from GitHub Releases (macOS/Linux):
|
|
189
200
|
|
|
190
201
|
```bash
|
|
191
|
-
curl -fsSL https://github.com/hack-dance/
|
|
202
|
+
curl -fsSL https://github.com/hack-dance/fclt/releases/latest/download/fclt-install.sh | bash
|
|
192
203
|
```
|
|
193
204
|
|
|
194
205
|
Windows and manual installs can download the correct binary from each release page:
|
|
@@ -787,8 +798,9 @@ Release behavior:
|
|
|
787
798
|
2. `semantic-release` creates the version/tag and GitHub release (npm publish is disabled in this phase).
|
|
788
799
|
3. The same release workflow then builds platform binaries and uploads them to that GitHub release.
|
|
789
800
|
4. npm publish runs only after binary asset upload succeeds (`publish-npm` depends on `publish-assets`).
|
|
790
|
-
5. Published release assets include platform binaries, `facult-install.sh`, and `SHA256SUMS`.
|
|
791
|
-
6.
|
|
801
|
+
5. Published release assets include platform binaries, `fclt-install.sh`, `facult-install.sh`, and `SHA256SUMS`.
|
|
802
|
+
6. When `HOMEBREW_TAP_TOKEN` is configured, the release workflow also updates the Homebrew tap at `hack-dance/homebrew-tap`.
|
|
803
|
+
7. The npm package launcher resolves your platform, downloads the matching release binary, caches it under `~/.ai/.facult/runtime/<version>/<platform-arch>/`, and runs it.
|
|
792
804
|
|
|
793
805
|
Current prebuilt binary targets:
|
|
794
806
|
- `darwin-x64`
|
|
@@ -803,6 +815,7 @@ Self-update behavior:
|
|
|
803
815
|
|
|
804
816
|
Required secrets for publish:
|
|
805
817
|
- `NPM_TOKEN`
|
|
818
|
+
- `HOMEBREW_TAP_TOKEN` (fine-grained token with contents write access to `hack-dance/homebrew-tap`)
|
|
806
819
|
|
|
807
820
|
Local semantic-release dry-runs require a supported Node runtime (`>=24.10`).
|
|
808
821
|
|
package/bin/fclt.cjs
CHANGED
|
@@ -11,7 +11,7 @@ const { spawnSync } = require("node:child_process");
|
|
|
11
11
|
const pkg = require("../package.json");
|
|
12
12
|
|
|
13
13
|
const REPO_OWNER = "hack-dance";
|
|
14
|
-
const REPO_NAME = "
|
|
14
|
+
const REPO_NAME = "fclt";
|
|
15
15
|
const PACKAGE_NAME = "facult";
|
|
16
16
|
const DOWNLOAD_RETRIES = 12;
|
|
17
17
|
const DOWNLOAD_RETRY_DELAY_MS = 5000;
|
|
@@ -67,7 +67,7 @@ async function main() {
|
|
|
67
67
|
`Reason: ${message}`,
|
|
68
68
|
"",
|
|
69
69
|
"Try installing directly from releases:",
|
|
70
|
-
"https://github.com/hack-dance/
|
|
70
|
+
"https://github.com/hack-dance/fclt/releases",
|
|
71
71
|
].join("\n")
|
|
72
72
|
);
|
|
73
73
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "facult",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Manage canonical AI capabilities, sync surfaces, and evolution state.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/hack-dance/
|
|
9
|
+
"url": "git+https://github.com/hack-dance/fclt.git"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://github.com/hack-dance/
|
|
11
|
+
"homepage": "https://github.com/hack-dance/fclt#readme",
|
|
12
12
|
"bugs": {
|
|
13
|
-
"url": "https://github.com/hack-dance/
|
|
13
|
+
"url": "https://github.com/hack-dance/fclt/issues"
|
|
14
14
|
},
|
|
15
15
|
"keywords": [
|
|
16
16
|
"cli",
|
package/src/self-update.ts
CHANGED