@genkaku/dsh-worker-plugin 0.1.11 → 0.1.13

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.
Files changed (2) hide show
  1. package/lib/client.js +6 -0
  2. package/package.json +3 -3
package/lib/client.js CHANGED
@@ -366,6 +366,12 @@ function Page() {
366
366
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { style: { margin: 0 }, children: "GenKaKu worker" }),
367
367
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: { ...dim, marginTop: 4 }, children: status.role ?? "unknown role" }),
368
368
  notice != null && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: { ...box, borderColor: "var(--dsw-alias-border-l3)" }, children: notice }),
369
+ error != null && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: { ...dim, fontSize: 12, marginTop: 8 }, children: [
370
+ t("Worker restarting\u2026", "worker \u6B63\u5728\u91CD\u555F\u2026"),
371
+ " (",
372
+ error,
373
+ ")"
374
+ ] }),
369
375
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Section, { title: "Ollama", children: ollama == null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: dim, children: t("Checking the local Ollama service\u2026", "\u6B63\u5728\u6AA2\u67E5\u672C\u6A5F Ollama \u670D\u52D9\u2026") }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
370
376
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: row, children: [
371
377
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genkaku/dsh-worker-plugin",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "description": "Share this machine's Ollama models on the GenKaKu network",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -38,8 +38,8 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@genkaku/protocol": "0.1.10",
42
- "@genkaku/dsh-runtime": "0.1.11"
41
+ "@genkaku/dsh-runtime": "0.1.12",
42
+ "@genkaku/protocol": "0.1.10"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "@deepseek-ai/cordis": "^4.1.0"