@napuketto/adapter 0.23.0 → 0.23.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/dist/index.d.mts CHANGED
@@ -8,7 +8,7 @@
8
8
  * 重要(路径契约,勿删):
9
9
  * 1. `package.json` 的 `"."` 子路径需要真实文件存在,`import.meta.resolve()` /
10
10
  * `createRequire().resolve()` 才解析得到本包(外部消费方据此定位 dist);
11
- * 2. cli 把解析结果注入 `NAPUTO_ADAPTER_ENTRY`,loader 再按 `index.mjs` →
11
+ * 2. cli 把解析结果注入 `NAPUKETTO_ADAPTER_ENTRY`,loader 再按 `index.mjs` →
12
12
  * `core|onebot11|satori|kurobot|milky/index.mjs` 字符串替换推出各协议入口
13
13
  * (见 loader `assemble-protocols.ts` / `ipc-ob11.ts` 的 `INDEX_MJS_RE`)。
14
14
  *
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { f as ActionRegistry, n as ProtocolConfig, o as BaseProtocolAdapter, p as runAction, r as createServerSchema, t as ConfigBase } from "./framework-CA3087JP.mjs";
2
2
  import { N as kurobotConfigSchema, t as NapukettoKurobotAdapter } from "./kurobot-BrKT5cJA.mjs";
3
3
  import { r as milkyConfigSchema, t as NapukettoMilkyAdapter } from "./milky-6O1JM1A9.mjs";
4
- import { t as NapukettoOneBot11Adapter, u as ob11ConfigSchema } from "./onebot11-NQ-VRJma.mjs";
4
+ import { t as NapukettoOneBot11Adapter, u as ob11ConfigSchema } from "./onebot11-CgylJN92.mjs";
5
5
  import { m as satoriConfigSchema, t as NapukettoSatoriAdapter } from "./satori-DdcfE1nh.mjs";
6
6
  export { ActionRegistry, BaseProtocolAdapter, ConfigBase, NapukettoKurobotAdapter, NapukettoMilkyAdapter, NapukettoOneBot11Adapter, NapukettoSatoriAdapter, ProtocolConfig, createServerSchema, kurobotConfigSchema, milkyConfigSchema, ob11ConfigSchema, runAction, satoriConfigSchema };
@@ -1 +1 @@
1
- export { y as MessageUnique, t as NapukettoOneBot11Adapter, r as OneBotApi, n as assembleOb11Transports, a as canonicalToCqMessage, o as canonicalToSegments, s as cqMessageToCanonical, c as cqMessageToSegments, i as createOb11ActionRegistry, f as encodeCqCode, p as escapeCqParam, m as escapeCqText, u as ob11ConfigSchema, v as ob11ErrorCodeMap, h as parseCqMessage, l as segmentsToCanonical, d as segmentsToCqMessage, g as serializeCqParts, _ as unescapeCqText } from "../onebot11-NQ-VRJma.mjs";
1
+ export { y as MessageUnique, t as NapukettoOneBot11Adapter, r as OneBotApi, n as assembleOb11Transports, a as canonicalToCqMessage, o as canonicalToSegments, s as cqMessageToCanonical, c as cqMessageToSegments, i as createOb11ActionRegistry, f as encodeCqCode, p as escapeCqParam, m as escapeCqText, u as ob11ConfigSchema, v as ob11ErrorCodeMap, h as parseCqMessage, l as segmentsToCanonical, d as segmentsToCqMessage, g as serializeCqParts, _ as unescapeCqText } from "../onebot11-CgylJN92.mjs";
@@ -2676,7 +2676,7 @@ function createSystemFileActions(api) {
2676
2676
  *
2677
2677
  * - get_login_info:self 由装配方注入(接 kernel selfInfo 取真实昵称)
2678
2678
  * - get_version_info:appVersion 由装配方注入(kernel wrapper 版本或
2679
- * NAPUTO_QQ_VERSION)
2679
+ * NAPUKETTO_QQ_VERSION)
2680
2680
  * - get_status:返回与心跳 status 同构的 OB11Status(online/good)
2681
2681
  * - get_robot_uin_range:NapCat 从配置返回;这里给通用范围(min/max)
2682
2682
  * - translate_en2zh:kernel RichMediaApi.translateWords(词条数组限长)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@napuketto/adapter",
4
- "version": "0.23.0",
4
+ "version": "0.23.1",
5
5
  "type": "module",
6
6
  "description": "Protocol adapters (OneBot11 / Satori / KuroBot / Milky) for NapukettoQQ",
7
7
  "keywords": [
@@ -83,7 +83,7 @@
83
83
  "dev": "tsdown --watch"
84
84
  },
85
85
  "dependencies": {
86
- "@napuketto/kernel": "^0.18.1",
86
+ "@napuketto/kernel": "^0.19.0",
87
87
  "@napuketto/media": "^0.4.0",
88
88
  "@napuketto/network": "^0.5.0",
89
89
  "zod": "^4.6.7"