create-yeow 0.4.1 → 0.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-yeow",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "Scaffold a Yeow plugin project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -27,7 +27,7 @@
27
27
  | 封装 Service 的依赖包 | `https://yexin.wiki/yeow/v1/package-service` | 依赖包中封装 Service 的三种类型:SDK 调用封装 / JS 服务(全局唯一+降级)/ 原生服务(子进程),与"JS 门面 + 原生引擎"组合模式 |
28
28
  | 路线图 | `https://yexin.wiki/yeow/v1/todo` | v1 方向性规划:API/事件覆盖、调试工具、Folia 支持;Worker API 已实现 |
29
29
  | 索引(README) | `https://yexin.wiki/yeow/v1/` | 文档首页:快速上手命令、为什么用 Yeow(工程化/线程分离/平台无关/原生扩展)、对比表、文档与工具链索引 |
30
- | 更新日志 | `https://yexin.wiki/yeow/v1/changelog` | 按日期的更新记录(2026-08-11 起) |
30
+ | 更新日志 | `https://yexin.wiki/yeow/v1/changelog` | 按日期的更新记录(2026-08-08 起) |
31
31
 
32
32
  ## API 参考(/v1/api/)
33
33
 
@@ -61,6 +61,7 @@
61
61
  | FS | `https://yexin.wiki/yeow/v1/api/fs` | 文件系统:plugin/server/outer 三级(路径安全)、读写/追加/二进制、目录操作、systemPaths、path 工具 |
62
62
  | Assets | `https://yexin.wiki/yeow/v1/api/assets` | 打包资源:`getAssetsPath`(yeow-dev,构建期注入命名空间)+ 读取/解压(单文件与目录) |
63
63
  | PDC | `https://yexin.wiki/yeow/v1/api/pdc` | 持久数据容器:JSON 自动序列化、全量读取、插件命名空间(跨插件不冲突)、Player/Block 实例方法 |
64
+ | Util | `https://yexin.wiki/yeow/v1/api/util` | 数据工具:gzip 压缩/解压、UTF-8 ↔ 字节转换(含分块流式 Gzip) |
64
65
  | Log | `https://yexin.wiki/yeow/v1/api/log` | 日志:`log`/`Logger`/`console`(自动插件名前缀) |
65
66
  | Text | `https://yexin.wiki/yeow/v1/api/text` | 文本与 MiniMessage:标记语法、转义规则(真实换行 vs 字面 `\n`)、Message 对象(可翻译组件 {key,args,text}) |
66
67
 
@@ -79,7 +80,7 @@
79
80
 
80
81
  | 页面 | URL | 摘要 |
81
82
  | --------- | ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
82
- | 通道总览 | `https://yexin.wiki/yeow/v1/specifications/message/` | 全部通道索引(task/timer/fs/http/assets/lifecycle/log/env/debug/service/worker)+ 通用通道说明 |
83
+ | 通道总览 | `https://yexin.wiki/yeow/v1/specifications/message/` | 全部通道索引(task/timer/fs/http/assets/lifecycle/log/env/debug/service/util/worker)+ 通用通道说明 |
83
84
  | Task | `https://yexin.wiki/yeow/v1/specifications/message/task` | task 通道:游戏任务请求/响应格式、同步 vs 异步(cb)、错误格式 |
84
85
  | Timer | `https://yexin.wiki/yeow/v1/specifications/message/timer` | 定时器通道:timeout/interval 消息格式 |
85
86
  | FS | `https://yexin.wiki/yeow/v1/specifications/message/fs` | fs 通道:plugin/server/outer 三级、各操作(读写/删除/列出/base64/systemPaths)请求格式与路径规则 |
@@ -126,6 +127,6 @@
126
127
  开始:概览 · 快速开始 · CLI 参考 · 构建与分发 · 运行时警告 · 路线图 · 站点地图
127
128
  进阶(默认折叠):关于 Yeow · 进阶索引(架构/调度器/事件/生命周期/通道/服务/运维与安全)
128
129
  依赖包开发:编写依赖包
129
- API 参考:索引 → 玩家与服务器(Player/Server/Env) · 世界与方块(World/Chunk/Location/Block/Material) · 实体(Entity/Potion/Particle) · 交互界面(Inventory/BossBar/Scoreboard/Advancement/Recipe) · 事件与命令(Event/Command) · 物品(ItemStack) · 服务与网络(Service/HTTP/HTTP Server) · 多线程(Worker) · 文件与数据(FS/Assets/PDC) · 文本(Text) · 日志(Log)
130
+ API 参考:索引 → 玩家与服务器(Player/Server/Env) · 世界与方块(World/Chunk/Location/Block/Material) · 实体(Entity/Potion/Particle) · 交互界面(Inventory/BossBar/Scoreboard/Advancement/Recipe) · 事件与命令(Event/Command) · 物品(ItemStack) · 服务与网络(Service/HTTP/HTTP Server) · 多线程(Worker) · 文件与数据(FS/Assets/PDC/Util) · 文本(Text) · 日志(Log)
130
131
  平台规范:规范总览 → 消息通道 · 任务类型 · 事件 · 运行时 · 原生服务 · 适配器
131
132
  ```