@rikaidev/yomi 0.6.5 → 0.6.6

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.
@@ -110,11 +110,14 @@ export async function startDaemonServer(options = {}) {
110
110
  }
111
111
  else {
112
112
  log.info('session.resumed', { mid: service.profile?.mid ?? null });
113
- startCapture(service, getDefaultEmbedder()).catch((error) => {
114
- log.error('capture.start_failed', {
115
- error: error?.message ?? String(error),
113
+ if (process.env.YOMI_NO_CAPTURE !== '1') {
114
+ const embedder = process.env.YOMI_EMBEDDINGS === '1' ? getDefaultEmbedder() : undefined;
115
+ startCapture(service, embedder).catch((error) => {
116
+ log.error('capture.start_failed', {
117
+ error: error?.message ?? String(error),
118
+ });
116
119
  });
117
- });
120
+ }
118
121
  }
119
122
  const updateNotice = await checkForUpdate();
120
123
  if (updateNotice) {
@@ -248,11 +248,14 @@ async function main() {
248
248
  }
249
249
  else {
250
250
  log.info('session.resumed', { mid: service.profile?.mid ?? null });
251
- startCapture(service, getDefaultEmbedder()).catch((error) => {
252
- log.error('capture.start_failed', {
253
- error: error?.message ?? String(error),
251
+ if (process.env.YOMI_NO_CAPTURE !== '1') {
252
+ const embedder = process.env.YOMI_EMBEDDINGS === '1' ? getDefaultEmbedder() : undefined;
253
+ startCapture(service, embedder).catch((error) => {
254
+ log.error('capture.start_failed', {
255
+ error: error?.message ?? String(error),
256
+ });
254
257
  });
255
- });
258
+ }
256
259
  }
257
260
  const updateNotice = await checkForUpdate();
258
261
  if (updateNotice) {
package/dist/version.js CHANGED
@@ -4,4 +4,4 @@
4
4
  * virtual filesystem). MUST stay equal to the "version" field in
5
5
  * package.json — the test in version.test.ts enforces that.
6
6
  */
7
- export const YOMI_VERSION = '0.6.5';
7
+ export const YOMI_VERSION = '0.6.6';
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "engines": {
4
4
  "node": ">=22.13.0 <23.0.0 || >=23.4.0"
5
5
  },
6
- "version": "0.6.5",
6
+ "version": "0.6.6",
7
7
  "description": "Open-source personal LINE MCP server for AI agents. Read, reply, send images, and search LINE conversations locally with Letter-Sealing E2EE.",
8
8
  "type": "module",
9
9
  "license": "MIT",