dsh-plugin-mesh 0.5.7 → 0.5.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-mesh",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "type": "module",
5
5
  "description": "DSH Mesh:局域网自动发现同网段的 DSH 实例、显示每台机器上报的能力,并双向派发任务;可用内置的用户态 Tailscale 节点跨互联网组网。Discovers other DSH instances on the LAN, shows the capabilities each one reports, and dispatches tasks between machines in both directions, with an optional userspace Tailscale node for links across networks.",
6
6
  "license": "MIT",
@@ -67,8 +67,9 @@
67
67
  "selftest:diagnostics": "node lib/_selftest-diagnostics.mjs",
68
68
  "selftest:osinfo": "node lib/_selftest-osinfo.mjs",
69
69
  "selftest:update": "node lib/_selftest-update.mjs",
70
- "test": "npm run check && npm run selftest && npm run selftest:prompt && npm run selftest:pairing && npm run selftest:switch && npm run selftest:client && npm run selftest:caps && npm run selftest:release && npm run selftest:reply && npm run selftest:reasoning && npm run selftest:resume && npm run selftest:persist && npm run selftest:layout && npm run selftest:diagnostics && npm run selftest:osinfo && npm run selftest:update",
71
- "check": "node scripts/check-version.mjs && node scripts/check-tdz.mjs && node --check lib/index.js && node --check lib/layout.js && node --check lib/discovery.js && node --check lib/conversation.js && node --check lib/identity.js && node --check lib/capabilities.js && node --check lib/prompt.js && node --check lib/pairing.js && node --check lib/switch.js && node --check lib/scan.js && node --check lib/update.js && node --check lib/tsnet/download.js && node --check lib/tsnet/manager.js && node --check lib/tsnet/bridge.js && node --check lib/tsnet/channels.js && node --check client/client.js && node --check scripts/release-plan.mjs && npm run check:loadable && npm run check:docs",
70
+ "selftest:upgrade": "node lib/_selftest-upgrade.mjs",
71
+ "test": "npm run check && npm run selftest && npm run selftest:prompt && npm run selftest:at && npm run selftest:at:host && npm run selftest:pairing && npm run selftest:switch && npm run selftest:client && npm run selftest:caps && npm run selftest:release && npm run selftest:reply && npm run selftest:reasoning && npm run selftest:resume && npm run selftest:persist && npm run selftest:layout && npm run selftest:diagnostics && npm run selftest:osinfo && npm run selftest:update && npm run selftest:upgrade",
72
+ "check": "node scripts/check-version.mjs && node scripts/check-tdz.mjs && node --check lib/index.js && node --check lib/layout.js && node --check lib/discovery.js && node --check lib/conversation.js && node --check lib/identity.js && node --check lib/capabilities.js && node --check lib/prompt.js && node --check lib/at-mention.js && node --check lib/pairing.js && node --check lib/switch.js && node --check lib/scan.js && node --check lib/update.js && node --check lib/upgrade.js && node --check lib/tsnet/download.js && node --check lib/tsnet/manager.js && node --check lib/tsnet/bridge.js && node --check lib/tsnet/channels.js && node --check client/client.js && node --check scripts/release-plan.mjs && npm run check:loadable && npm run check:docs",
72
73
  "build:sidecar": "bash scripts/build-sidecar.sh",
73
74
  "verify:mirror": "node scripts/verify-lan-mirror.mjs",
74
75
  "release:plan": "node scripts/release-plan.mjs",
@@ -79,7 +80,9 @@
79
80
  "prepublishOnly": "npm test && node scripts/check-tarball.mjs",
80
81
  "check:docs": "node scripts/sync-llms.mjs",
81
82
  "selftest:pairing": "node lib/_selftest-pairing.mjs",
82
- "selftest:switch": "node lib/_selftest-switch.mjs"
83
+ "selftest:switch": "node lib/_selftest-switch.mjs",
84
+ "selftest:at": "node lib/_selftest-at-mention.mjs",
85
+ "selftest:at:host": "node --experimental-vm-modules lib/_selftest-at-mention-host.mjs"
83
86
  },
84
87
  "publishConfig": {
85
88
  "registry": "https://registry.npmjs.org/",
@@ -23,7 +23,7 @@ import { fileURLToPath } from "node:url";
23
23
  import { dirname, join } from "node:path";
24
24
 
25
25
  const root = join(dirname(fileURLToPath(import.meta.url)), "..");
26
- const files = ["lib/index.js", "lib/discovery.js", "lib/conversation.js", "lib/identity.js", "lib/update.js"];
26
+ const files = ["lib/index.js", "lib/discovery.js", "lib/conversation.js", "lib/identity.js", "lib/update.js", "lib/upgrade.js"];
27
27
  let problems = 0;
28
28
 
29
29
  /** 逐行计算花括号深度(粗略:不解析字符串/模板串,够用) */