@genkaku/dsh-user-plugin 0.1.16 → 0.1.18
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/lib/client.js +8 -2
- package/package.json +2 -2
package/lib/client.js
CHANGED
|
@@ -141,7 +141,13 @@ function Page() {
|
|
|
141
141
|
] }),
|
|
142
142
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: box, children: [
|
|
143
143
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { style: { ...dim, fontSize: 12, textTransform: "uppercase", letterSpacing: 1 }, children: "Models on the network" }),
|
|
144
|
-
|
|
144
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("style", { children: `
|
|
145
|
+
.gk-net-models { max-height: min(360px, 45vh); overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-width: thin; }
|
|
146
|
+
.gk-net-models::-webkit-scrollbar { width: 10px; }
|
|
147
|
+
.gk-net-models::-webkit-scrollbar-track { background: transparent; }
|
|
148
|
+
.gk-net-models::-webkit-scrollbar-thumb { background: rgba(127,137,153,.55); border: 2px solid transparent; border-radius: 6px; background-clip: content-box; }
|
|
149
|
+
` }),
|
|
150
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "gk-net-models", children: offers.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { style: { ...dim, marginBottom: 0 }, children: "Nothing offered yet. The worker auto-lists local Ollama models on start." }) : offers.map((offer, i) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { style: row, children: [
|
|
145
151
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: offer.model ?? "\u2014" }),
|
|
146
152
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { style: dim, children: [
|
|
147
153
|
offer.pricePerHour ?? "?",
|
|
@@ -149,7 +155,7 @@ function Page() {
|
|
|
149
155
|
offer.tier === "chat" ? " \xB7 not for agents" : "",
|
|
150
156
|
offer.addr != null && status.transports?.[offer.addr] === "relay" ? " \xB7 via seed VM" : offer.addr != null && status.transports?.[offer.addr] === "direct" ? " \xB7 direct" : ""
|
|
151
157
|
] })
|
|
152
|
-
] }, `${offer.model ?? i}`))
|
|
158
|
+
] }, `${offer.model ?? i}`)) })
|
|
153
159
|
] })
|
|
154
160
|
] });
|
|
155
161
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genkaku/dsh-user-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"description": "Buy peer-to-peer inference from the GenKaKu network",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@deepseek-ai/dsh-llm": "0.2.2-rc.1",
|
|
42
|
-
"@genkaku/dsh-runtime": "0.1.
|
|
42
|
+
"@genkaku/dsh-runtime": "0.1.19",
|
|
43
43
|
"@genkaku/protocol": "0.1.13"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|