@napuketto/adapter 0.18.0 → 0.18.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/core/index.d.mts +1 -1
- package/dist/core/index.mjs +1 -1
- package/dist/{core-C7Nnl45P.mjs → core-4PwF_pJB.mjs} +7 -2
- package/dist/core-4PwF_pJB.mjs.map +1 -0
- package/dist/{index-B-HpCes-.d.mts → index-CKH8uaU-.d.mts} +2 -2
- package/dist/{index-B-HpCes-.d.mts.map → index-CKH8uaU-.d.mts.map} +1 -1
- package/dist/{index-d_RSpWyb.d.mts → index-CiitTshy.d.mts} +2 -2
- package/dist/{index-d_RSpWyb.d.mts.map → index-CiitTshy.d.mts.map} +1 -1
- package/dist/{index-DBjlR2dn.d.mts → index-D9Nwf0_4.d.mts} +5 -2
- package/dist/index-D9Nwf0_4.d.mts.map +1 -0
- package/dist/{index-dsurF2t_.d.mts → index-DAsCCf9S.d.mts} +2 -2
- package/dist/{index-dsurF2t_.d.mts.map → index-DAsCCf9S.d.mts.map} +1 -1
- package/dist/{index-B2Hf9yzT.d.mts → index-lKqnKSwo.d.mts} +2 -2
- package/dist/{index-B2Hf9yzT.d.mts.map → index-lKqnKSwo.d.mts.map} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +5 -5
- package/dist/kurobot/index.d.mts +1 -1
- package/dist/kurobot/index.mjs +1 -1
- package/dist/{kurobot-B3por6f4.mjs → kurobot-CG2qGU9G.mjs} +2 -2
- package/dist/{kurobot-B3por6f4.mjs.map → kurobot-CG2qGU9G.mjs.map} +1 -1
- package/dist/milky/index.d.mts +1 -1
- package/dist/milky/index.mjs +1 -1
- package/dist/{milky-Dpk2r5RV.mjs → milky-DMmeotN9.mjs} +2 -2
- package/dist/{milky-Dpk2r5RV.mjs.map → milky-DMmeotN9.mjs.map} +1 -1
- package/dist/onebot11/index.d.mts +1 -1
- package/dist/onebot11/index.mjs +1 -1
- package/dist/{onebot11-D_JlAsjy.mjs → onebot11-CAf9fBoJ.mjs} +2 -2
- package/dist/{onebot11-D_JlAsjy.mjs.map → onebot11-CAf9fBoJ.mjs.map} +1 -1
- package/dist/satori/index.d.mts +1 -1
- package/dist/satori/index.mjs +1 -1
- package/dist/{satori-Deamai7y.mjs → satori-D5lM6S3L.mjs} +2 -2
- package/dist/{satori-Deamai7y.mjs.map → satori-D5lM6S3L.mjs.map} +1 -1
- package/package.json +2 -2
- package/dist/core-C7Nnl45P.mjs.map +0 -1
- package/dist/index-DBjlR2dn.d.mts.map +0 -1
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* OneBot 11 协议适配器(当前主战场)
|
|
3
3
|
* 公共面:类型 + 动作注册表 + 配置 schema + 翻译层(adapter.ts 于 打通 kernel 事件后接入)。
|
|
4
4
|
*/
|
|
5
|
-
import { $ as OB11Return, A as Ob11ActionDeps, B as cqMessageToCanonical, C as CqCode, D as parseCqMessage, E as escapeCqText, F as OneBotApiOptions, G as GroupHonorInfo, H as segmentsToCanonical, I as OneBotSystemOptions, J as HonorMember, K as GroupInfo, L as MessageUnique, M as AtAllRemainInfo, N as ob11ErrorCodeMap, O as serializeCqParts, P as OneBotApi, Q as OB11MessageSegment, R as canonicalToCqMessage, S as segmentsToCqMessage, T as escapeCqParam, U as CurrentTalkative, V as cqMessageToSegments, W as FriendInfo, X as OB11Message, Y as LoginInfo, Z as OB11MessageInfo, _ as OB11PrivateMessageEvent, a as OneBot11AdapterOptions, b as OB11Config, c as OB11GroupRequestEvent, d as OB11HeartbeatMetaEvent, et as Sender, f as OB11LifecycleMetaEvent, g as OB11MessageEvent, h as OB11GroupMessageEvent, i as NapukettoOneBot11Adapter, j as createOb11ActionRegistry, k as unescapeCqText, l as OB11RequestEvent, m as OB11Status, n as Ob11TransportSet, nt as StrangerInfo, o as OB11Event, p as OB11MetaEvent, q as GroupMemberInfo, r as assembleOb11Transports, rt as VersionInfo, s as OB11FriendRequestEvent, t as AssembleOb11TransportsOptions, tt as Sex, u as OB11NoticeEvent, v as OB11BaseEvent, w as encodeCqCode, x as ob11ConfigSchema, y as OB11PostType, z as canonicalToSegments } from "../index-
|
|
5
|
+
import { $ as OB11Return, A as Ob11ActionDeps, B as cqMessageToCanonical, C as CqCode, D as parseCqMessage, E as escapeCqText, F as OneBotApiOptions, G as GroupHonorInfo, H as segmentsToCanonical, I as OneBotSystemOptions, J as HonorMember, K as GroupInfo, L as MessageUnique, M as AtAllRemainInfo, N as ob11ErrorCodeMap, O as serializeCqParts, P as OneBotApi, Q as OB11MessageSegment, R as canonicalToCqMessage, S as segmentsToCqMessage, T as escapeCqParam, U as CurrentTalkative, V as cqMessageToSegments, W as FriendInfo, X as OB11Message, Y as LoginInfo, Z as OB11MessageInfo, _ as OB11PrivateMessageEvent, a as OneBot11AdapterOptions, b as OB11Config, c as OB11GroupRequestEvent, d as OB11HeartbeatMetaEvent, et as Sender, f as OB11LifecycleMetaEvent, g as OB11MessageEvent, h as OB11GroupMessageEvent, i as NapukettoOneBot11Adapter, j as createOb11ActionRegistry, k as unescapeCqText, l as OB11RequestEvent, m as OB11Status, n as Ob11TransportSet, nt as StrangerInfo, o as OB11Event, p as OB11MetaEvent, q as GroupMemberInfo, r as assembleOb11Transports, rt as VersionInfo, s as OB11FriendRequestEvent, t as AssembleOb11TransportsOptions, tt as Sex, u as OB11NoticeEvent, v as OB11BaseEvent, w as encodeCqCode, x as ob11ConfigSchema, y as OB11PostType, z as canonicalToSegments } from "../index-lKqnKSwo.mjs";
|
|
6
6
|
export { type AssembleOb11TransportsOptions, type AtAllRemainInfo, type CqCode, type CurrentTalkative, type FriendInfo, type GroupHonorInfo, type GroupInfo, type GroupMemberInfo, type HonorMember, type LoginInfo, MessageUnique, NapukettoOneBot11Adapter, type OB11BaseEvent, type OB11Config, type OB11Event, type OB11FriendRequestEvent, type OB11GroupMessageEvent, type OB11GroupRequestEvent, type OB11HeartbeatMetaEvent, type OB11LifecycleMetaEvent, type OB11Message, type OB11MessageEvent, type OB11MessageInfo, type OB11MessageSegment, type OB11MetaEvent, type OB11NoticeEvent, type OB11PostType, type OB11PrivateMessageEvent, type OB11RequestEvent, type OB11Return, type OB11Status, type Ob11ActionDeps, type Ob11TransportSet, type OneBot11AdapterOptions, OneBotApi, type OneBotApiOptions, type OneBotSystemOptions, type Sender, type Sex, type StrangerInfo, type VersionInfo, assembleOb11Transports, canonicalToCqMessage, canonicalToSegments, cqMessageToCanonical, cqMessageToSegments, createOb11ActionRegistry, encodeCqCode, escapeCqParam, escapeCqText, ob11ConfigSchema, ob11ErrorCodeMap, parseCqMessage, segmentsToCanonical, segmentsToCqMessage, serializeCqParts, unescapeCqText };
|
package/dist/onebot11/index.mjs
CHANGED
|
@@ -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-
|
|
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-CAf9fBoJ.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as resolveProtocolConfig, i as BaseProtocolAdapter, o as ActionRegistry, r as createServerSchema, s as runAction } from "./core-
|
|
1
|
+
import { a as resolveProtocolConfig, i as BaseProtocolAdapter, o as ActionRegistry, r as createServerSchema, s as runAction } from "./core-4PwF_pJB.mjs";
|
|
2
2
|
import { a as firstNonEmptyString, c as MS_TO_SEC, f as toUin, i as toUnixSeconds, l as NUMERIC_RE, n as senderNickname, o as stringOrUndefined, r as subscribeRawMessages, s as startupBaselineSec, u as numericUin } from "./raw-message-Cs4vDKUU.mjs";
|
|
3
3
|
import { a as logEventFailure, c as downloadBufferToFile, d as prepareVideoElements, i as hasGrayTip, l as ensureSilk, o as sliceRaw, r as firstUntranslatedGrayTip, s as truncRaw, t as collectGrayTipUids, u as fileUriToPath } from "./gray-tip-DmZmdtjP.mjs";
|
|
4
4
|
import { a as EssenceListSync, c as OBSERVED_UNNAMED_SYSMSG_KEYS, d as processSysMsgBlob, f as recognizeSysMsg, i as narrowBuddyReqs, l as narrowSysMsgBlobs, n as batchUnreadNums, o as extractEssenceSetSysMsg, r as filterBuddyReqs, s as narrowEssenceGroupArg, t as BuddyReqDedup } from "./buddy-req-CN7gzJpq.mjs";
|
|
@@ -4001,4 +4001,4 @@ function echoFieldOf(req) {
|
|
|
4001
4001
|
}
|
|
4002
4002
|
export { unescapeCqText as _, canonicalToCqMessage as a, cqMessageToSegments as c, segmentsToCqMessage as d, encodeCqCode as f, serializeCqParts as g, parseCqMessage as h, createOb11ActionRegistry as i, segmentsToCanonical as l, escapeCqText as m, assembleOb11Transports as n, canonicalToSegments as o, escapeCqParam as p, OneBotApi as r, cqMessageToCanonical as s, NapukettoOneBot11Adapter as t, ob11ConfigSchema as u, ob11ErrorCodeMap as v, MessageUnique as y };
|
|
4003
4003
|
|
|
4004
|
-
//# sourceMappingURL=onebot11-
|
|
4004
|
+
//# sourceMappingURL=onebot11-CAf9fBoJ.mjs.map
|