@lih-x-x/kmr 1.0.37 → 1.0.38

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/cli.js CHANGED
@@ -6,9 +6,9 @@ async function checkUpdate() {
6
6
  try {
7
7
  const res = await fetch(`https://registry.npmjs.org/${"@lih-x-x/kmr"}/latest`, { signal: AbortSignal.timeout(3e3) });
8
8
  const data = await res.json();
9
- if (data.version && data.version !== "1.0.37") {
9
+ if (data.version && data.version !== "1.0.38") {
10
10
  console.log(`
11
- \u2B06\uFE0F \u65B0\u7248\u672C\u53EF\u7528: ${"1.0.37"} \u2192 ${data.version}`);
11
+ \u2B06\uFE0F \u65B0\u7248\u672C\u53EF\u7528: ${"1.0.38"} \u2192 ${data.version}`);
12
12
  console.log(` \u8FD0\u884C npm install -g ${"@lih-x-x/kmr"} \u66F4\u65B0
13
13
  `);
14
14
  }
@@ -55,7 +55,7 @@ KMR\uFF08Key Meetings Record\uFF09\u2014 \u4F1A\u8BAE\u6316\u6398\u673A
55
55
  kmr --help \u663E\u793A\u5E2E\u52A9
56
56
  `);
57
57
  } else if (command === "--version" || command === "-v") {
58
- console.log("1.0.37");
58
+ console.log("1.0.38");
59
59
  } else if (command === "list") {
60
60
  const { loadConfig } = await import("./config-L2SVVMAR.js");
61
61
  const { JsonStore } = await import("./jsonStore-AL73KEUG.js");
package/dist/index.js CHANGED
@@ -787,6 +787,9 @@ async function main() {
787
787
  }
788
788
  }
789
789
  try {
790
+ if (/任务/.test(text)) {
791
+ await syncTaskStatuses(store, taskCreator);
792
+ }
790
793
  switch (parsed.type) {
791
794
  case "document_link" /* DOCUMENT_LINK */: {
792
795
  console.log(`[process] \u5904\u7406\u6587\u6863\u94FE\u63A5, documentId=${parsed.documentId}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lih-x-x/kmr",
3
- "version": "1.0.37",
3
+ "version": "1.0.38",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {