koishi-plugin-chatluna 1.4.1 → 1.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/lib/index.cjs CHANGED
@@ -2978,7 +2978,7 @@ __name(apply12, "apply");
2978
2978
 
2979
2979
  // src/middlewares/chat/censor.ts
2980
2980
  var import_koishi6 = require("koishi");
2981
- var import_langchain2 = require("../../utils/langchain");
2981
+ var import_langchain2 = require("koishi-plugin-chatluna/utils/langchain");
2982
2982
  function apply13(ctx, config, chain) {
2983
2983
  chain.middleware("censor", async (session, context) => {
2984
2984
  const message = context.options.responseMessage;
package/lib/index.mjs CHANGED
@@ -2985,7 +2985,7 @@ __name(apply12, "apply");
2985
2985
 
2986
2986
  // src/middlewares/chat/censor.ts
2987
2987
  import { h as h4 } from "koishi";
2988
- import { isMessageContentText as isMessageContentText2 } from "./utils/langchain.cjs";
2988
+ import { isMessageContentText as isMessageContentText2 } from "koishi-plugin-chatluna/utils/langchain";
2989
2989
  function apply13(ctx, config, chain) {
2990
2990
  chain.middleware("censor", async (session, context) => {
2991
2991
  const message = context.options.responseMessage;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-chatluna",
3
3
  "description": "chatluna for koishi",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "main": "lib/index.cjs",
6
6
  "module": "lib/index.mjs",
7
7
  "typings": "lib/index.d.ts",