external/yesimbot/packages/webui/src/index.ts:4:26 - error TS2307: Cannot find module 'koishi-plugin-yesimbot-memory' or its corresponding type declarations.
4 import { Metadata } from "koishi-plugin-yesimbot-memory";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/yesimbot/packages/webui/src/index.ts:35:16 - error TS2339: Property 'memory' does not exist on type 'Context'.
35 return ctx.memory.getAll();
~~~~~~
external/yesimbot/packages/webui/src/index.ts:40:18 - error TS2339: Property 'memory' does not exist on type 'Context'.
40 return ctx.memory.addText(content);
~~~~~~
external/yesimbot/packages/webui/src/index.ts:46:16 - error TS2339: Property 'memory' does not exist on type 'Context'.
46 return ctx.memory.delete(id);
~~~~~~
external/yesimbot/packages/webui/src/index.ts:51:16 - error TS2339: Property 'memory' does not exist on type 'Context'.
51 return ctx.memory.update(id, data);
~~~~~~
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/webui/lib/config.js
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/webui/lib/config.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/webui/lib/index.js
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/webui/lib/index.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/webui/tsconfig.tsbuildinfo
external/yesimbot/packages/memory/src/index.ts:2:31 - error TS2307: Cannot find module 'koishi-plugin-yesimbot/embeddings' or its corresponding type declarations.
2 import { EmbeddingBase } from "koishi-plugin-yesimbot/embeddings";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/yesimbot/packages/memory/src/index.ts:3:30 - error TS2307: Cannot find module 'koishi-plugin-yesimbot/utils' or its corresponding type declarations.
3 import { getEmbedding } from "koishi-plugin-yesimbot/utils";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/yesimbot/packages/memory/src/vectorStore.ts:5:30 - error TS2307: Cannot find module 'koishi-plugin-yesimbot' or its corresponding type declarations.
5 import { CacheManager } from "koishi-plugin-yesimbot";
~~~~~~~~~~~~~~~~~~~~~~~~
external/yesimbot/packages/memory/src/vectorStore.ts:6:43 - error TS2307: Cannot find module 'koishi-plugin-yesimbot/embeddings' or its corresponding type declarations.
6 import { calculateCosineSimilarity } from "koishi-plugin-yesimbot/embeddings";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/memory/lib/config.js
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/memory/lib/config.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/memory/lib/vectorStore.js
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/memory/lib/vectorStore.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/memory/lib/index.js
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/memory/lib/index.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/memory/lib/prompts.js
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/memory/lib/prompts.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/packages/memory/tsconfig.tsbuildinfo
external/yesimbot/src/bot.ts:428:31 - error TS2339: Property 'memory' does not exist on type 'Context'.
428 let selfMemory = this.ctx.memory.filterMemory(metadata => {
~~~~~~
external/yesimbot/src/bot.ts:435:18 - error TS2339: Property 'memory' does not exist on type 'Context'.
435 ${this.ctx.memory.getUserMemory(userId).join("\n")}
~~~~~~
external/yesimbot/src/commands/memory.ts:2:26 - error TS2307: Cannot find module 'koishi-plugin-yesimbot-memory' or its corresponding type declarations.
2 import { Metadata } from "koishi-plugin-yesimbot-memory";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/yesimbot/src/commands/memory.ts:15:26 - error TS2339: Property 'memory' does not exist on type 'Context'.
15 let id = await ctx.memory.addText(content, userId);
~~~~~~
external/yesimbot/src/commands/memory.ts:24:33 - error TS2339: Property 'memory' does not exist on type 'Context'.
24 const results = await ctx.memory.search(query, limit);
~~~~~~
external/yesimbot/src/commands/memory.ts:38:28 - error TS2339: Property 'memory' does not exist on type 'Context'.
38 const memory = ctx.memory.getUserMemory(userId);
~~~~~~
external/yesimbot/src/commands/memory.ts:47:34 - error TS2339: Property 'memory' does not exist on type 'Context'.
47 const memory = await ctx.memory.get(options.id);
~~~~~~
external/yesimbot/src/commands/memory.ts:60:26 - error TS2339: Property 'memory' does not exist on type 'Context'.
60 const memory = ctx.memory.getAll();
~~~~~~
external/yesimbot/src/commands/memory.ts:71:17 - error TS2339: Property 'memory' does not exist on type 'Context'.
71 await ctx.memory.update(id, content);
~~~~~~
external/yesimbot/src/commands/memory.ts:78:11 - error TS2339: Property 'memory' does not exist on type 'Context'.
78 ctx.memory.delete(id);
~~~~~~
external/yesimbot/src/commands/memory.ts:85:11 - error TS2339: Property 'memory' does not exist on type 'Context'.
85 ctx.memory.clear();
~~~~~~
external/yesimbot/src/extensions/ext_memory.ts:9:20 - error TS2339: Property 'memory' does not exist on type 'Context'.
9 await this.ctx.memory.addText(content);
~~~~~~
external/yesimbot/src/models/ChatMessage.ts:3:16 - error TS2307: Cannot find module 'koishi-plugin-adapter-onebot' or its corresponding type declarations.
3 import {} from "koishi-plugin-adapter-onebot";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
external/yesimbot/src/models/ChatMessage.ts:33:21 - error TS2339: Property 'onebot' does not exist on type 'Session<never, never, Context>'.
33 if (session.onebot) {
~~~~~~
external/yesimbot/src/models/ChatMessage.ts:34:46 - error TS2339: Property 'onebot' does not exist on type 'Session<never, never, Context>'.
34 const memberInfo = await session.onebot.getGroupMemberInfo(session.channelId, session.userId);
~~~~~~
external/yesimbot/src/utils/toolkit.ts:111:42 - error TS2339: Property 'onebot' does not exist on type 'Session<never, never, Context>'.
111 const memberInfo = await session.onebot?.getGroupMemberInfo(session.guildId, session.bot.userId);
~~~~~~
external/yesimbot/src/utils/toolkit.ts:133:38 - error TS2339: Property 'onebot' does not exist on type 'Session<never, never, Context>'.
133 const memberInfo = await session.onebot.getGroupMemberInfo(groupId, userId);
~~~~~~
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/config.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/config.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/config.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/config.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/config.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/config.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/string.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/string.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/http.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/http.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/creators/component.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/creators/component.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/creators/schema.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/creators/schema.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/base.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/base.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/cloudflare.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/cloudflare.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/custom.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/custom.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/ollama.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/ollama.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/openai.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/openai.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/managers/cacheManager.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/managers/cacheManager.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/base.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/base.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/custom.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/custom.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/ollama.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/ollama.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/openai.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/openai.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/index.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/embeddings/index.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/factory.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/factory.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/index.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/index.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/extensions/base.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/extensions/base.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/managers/emojiManager.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/managers/emojiManager.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/imageUtils.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/imageUtils.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/toolkit.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/toolkit.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/prompt.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/prompt.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/models/ChatMessage.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/models/ChatMessage.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/managers/queueManager.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/managers/queueManager.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/services/sendQueue.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/services/sendQueue.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/database/index.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/database/index.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/content.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/content.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/commands/memory.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/commands/memory.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/commands/sendQuene.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/commands/sendQuene.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/index.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/index.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/services/imageViewer.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/services/imageViewer.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/verifier.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/verifier.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/bot.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/bot.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/creators/base.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/adapters/creators/base.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/extensions/ext_command.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/extensions/ext_command.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/extensions/ext_memory.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/extensions/ext_memory.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/index.js
TSFILE: /home/lunarine/koishi/external/yesimbot/lib/utils/index.d.ts
TSFILE: /home/lunarine/koishi/external/yesimbot/tsconfig.tsbuildinfo
TSFILE: /home/lunarine/koishi/external/example/lib/index.d.ts
TSFILE: /home/lunarine/koishi/external/example/tsconfig.tsbuildinfo
Version: last commit 3dddd08 (2.0.0 pre-release)