@qvac/skills 0.1.0 → 0.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 -27
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
# qvac
|
|
1
|
+
# @qvac/skills
|
|
2
2
|
|
|
3
|
-
Skills for
|
|
3
|
+
Skills for QV.AC.
|
|
4
4
|
|
|
5
|
-
A skill is a directory under `skills/`
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
`*.applescript`, `cli.schema.json`.
|
|
5
|
+
A skill is a directory under `skills/` with a `SKILL.md` in it, plus whatever
|
|
6
|
+
else it needs alongside — reference notes, scripts, a schema. The `SKILL.md`
|
|
7
|
+
front matter is what the harness reads to build its catalog.
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
reads `node_modules` directly.
|
|
9
|
+
The package ships the tree itself and a bundled copy of it, so consumers that
|
|
10
|
+
can't read a filesystem still get the same bytes.
|
|
13
11
|
|
|
14
12
|
## Entry points
|
|
15
13
|
|
|
@@ -20,29 +18,22 @@ reads `node_modules` directly.
|
|
|
20
18
|
| `@qvac/skills/hash` | `SKILLS_HASH` alone | no |
|
|
21
19
|
| `@qvac/skills/skills/*` | a single file by path | no |
|
|
22
20
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
`node_modules`, so it imports `./bundled` and
|
|
21
|
+
All of them work on Node and Bare. `skillsDir` only points at anything real
|
|
22
|
+
where the package was installed to disk, though — a Bare worklet ships no
|
|
23
|
+
`node_modules`, so it imports `./bundled` and writes the tree out itself.
|
|
26
24
|
|
|
27
|
-
`
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
`SKILLS_HASH` is sha256 over the sorted `path\0content\0` stream, truncated to
|
|
32
|
-
16 hex chars. It is the content address consumers key a materialized directory
|
|
33
|
-
on, so it must match `hashBundledSkills` in the harness byte for byte.
|
|
34
|
-
|
|
35
|
-
## Release
|
|
25
|
+
`SKILLS_HASH` is a sha256 over the sorted `path\0content\0` stream, truncated
|
|
26
|
+
to 16 hex chars. Consumers key a materialized directory on it, so it has to
|
|
27
|
+
match `hashBundledSkills` in the harness byte for byte.
|
|
36
28
|
|
|
37
|
-
|
|
38
|
-
publishes to npmjs through OIDC trusted publishing, so there is no token to
|
|
39
|
-
rotate.
|
|
29
|
+
## Development
|
|
40
30
|
|
|
41
|
-
```
|
|
42
|
-
npm
|
|
31
|
+
```sh
|
|
32
|
+
npm test # node + bare
|
|
33
|
+
npm run lint
|
|
43
34
|
```
|
|
44
35
|
|
|
45
|
-
|
|
36
|
+
`bundled.js` and `hash.js` are generated from `skills/` by `scripts/build.mjs`
|
|
46
37
|
|
|
47
38
|
## License
|
|
48
39
|
|