@bendyline/gezel 0.1.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/LICENSE +21 -0
- package/README.md +39 -0
- package/dist/checks/index.d.ts +693 -0
- package/dist/checks/index.js +1848 -0
- package/dist/device-safety-DezzpNyR.d.ts +10 -0
- package/dist/index-D_dch9Qh.d.ts +59398 -0
- package/dist/index.d.ts +3217 -0
- package/dist/index.js +25602 -0
- package/dist/markdown/index.d.ts +174 -0
- package/dist/markdown/index.js +4022 -0
- package/dist/native/index.d.ts +650 -0
- package/dist/native/index.js +1121 -0
- package/dist/paths.d.ts +578 -0
- package/dist/paths.js +573 -0
- package/dist/report-action-DzdQHzGG.d.ts +4270 -0
- package/dist/schemas/index.d.ts +3 -0
- package/dist/schemas/index.js +15382 -0
- package/package.json +85 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Bendyline
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# @bendyline/gezel
|
|
2
|
+
|
|
3
|
+
Core types, Zod schemas, path helpers and the gezel-markdown parser shared by
|
|
4
|
+
every part of [gezel](https://github.com/bendyline/gezel).
|
|
5
|
+
|
|
6
|
+
This package is the single source of truth for gezel's wire types. Both the
|
|
7
|
+
daemon and the web UI import it; its small runtime dependency set is limited to
|
|
8
|
+
Zod and YAML parsing in addition to Node built-ins.
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @bendyline/gezel
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Entry points
|
|
15
|
+
|
|
16
|
+
| Subpath | Contents |
|
|
17
|
+
|---|---|
|
|
18
|
+
| `@bendyline/gezel` | Logger, shared types, and the re-exported surface below |
|
|
19
|
+
| `@bendyline/gezel/schemas` | Every Zod schema and its inferred TypeScript type |
|
|
20
|
+
| `@bendyline/gezel/paths` | `gezelPaths()` and every path helper for `~/.gezel/` |
|
|
21
|
+
| `@bendyline/gezel/markdown` | The `gezel.md` frontmatter + sections parser |
|
|
22
|
+
| `@bendyline/gezel/native` | Native binary discovery and platform keys |
|
|
23
|
+
| `@bendyline/gezel/checks` | Gate-check primitives used by craftbook scripts |
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
import { GezelFrontmatterSchema } from '@bendyline/gezel/schemas';
|
|
27
|
+
import { gezelPaths } from '@bendyline/gezel/paths';
|
|
28
|
+
|
|
29
|
+
const paths = gezelPaths();
|
|
30
|
+
const gezel = GezelFrontmatterSchema.parse({ name: 'Ada', role: 'Reviewer' });
|
|
31
|
+
console.log(paths.gezels, gezel.name);
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Stability
|
|
35
|
+
|
|
36
|
+
Public API under semver. Adding a new schema field is a minor; removing or
|
|
37
|
+
narrowing one is a major.
|
|
38
|
+
|
|
39
|
+
MIT © Bendyline
|