@wooksjs/event-core 0.6.5 → 0.7.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 +34 -4
- package/dist/index.cjs +440 -221
- package/dist/index.d.ts +386 -107
- package/dist/index.mjs +422 -211
- package/package.json +11 -13
- package/scripts/setup-skills.js +78 -0
- package/skills/wooksjs-event-core/.gitkeep +0 -0
- package/skills/wooksjs-event-core/SKILL.md +50 -0
- package/skills/wooksjs-event-core/composables.md +200 -0
- package/skills/wooksjs-event-core/context.md +270 -0
- package/skills/wooksjs-event-core/core.md +91 -0
- package/skills/wooksjs-event-core/primitives.md +213 -0
package/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# @wooksjs/event-core
|
|
2
2
|
|
|
3
|
-
**!!! This is work-in-progress library, breaking changes are expected !!!**
|
|
4
|
-
|
|
5
3
|
<p align="center">
|
|
6
4
|
<img src="../../wooks-logo.png" width="450px"><br>
|
|
7
5
|
<a href="https://github.com/wooksjs/wooksjs/blob/main/LICENSE">
|
|
@@ -9,8 +7,40 @@
|
|
|
9
7
|
</a>
|
|
10
8
|
</p>
|
|
11
9
|
|
|
12
|
-
|
|
10
|
+
Typed, per-event context with lazy cached computations, composable API, and AsyncLocalStorage propagation. The foundation of the Wooks event processing framework.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```sh
|
|
15
|
+
npm install @wooksjs/event-core
|
|
16
|
+
```
|
|
13
17
|
|
|
14
18
|
## Documentation
|
|
15
19
|
|
|
16
|
-
|
|
20
|
+
For full documentation, visit [wooks.moost.org](https://wooks.moost.org/wooks/).
|
|
21
|
+
|
|
22
|
+
## AI Agent Skills
|
|
23
|
+
|
|
24
|
+
This package ships with structured skill files for AI coding agents (Claude Code, Cursor, Windsurf, Codex, etc.).
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
# Project-local (recommended — version-locked, commits with your repo)
|
|
28
|
+
npx wooksjs-event-core-skill
|
|
29
|
+
|
|
30
|
+
# Global (available across all your projects)
|
|
31
|
+
npx wooksjs-event-core-skill --global
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
To keep skills automatically up-to-date, add a postinstall script to your `package.json`:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"scripts": {
|
|
39
|
+
"postinstall": "wooksjs-event-core-skill --postinstall"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
MIT
|