ollanet 0.6.12 → 0.6.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 (3) hide show
  1. package/README.md +2 -2
  2. package/dist/mcp.js +33 -0
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -79,9 +79,9 @@ ollanet bench studio gemma4-ctx32k --hot --runs 5
79
79
 
80
80
  `bench` `quick` reports median tok/s on a 256-token counted decode, plus ping, math, and haiku checks, for that host, model, suite, and run count. Those checks are not a general quality ranking and do not compare across hardware without the same conditions.
81
81
 
82
- <!-- xfacts-nutrition-label -->
82
+ <!-- xfacts-label -->
83
83
 
84
- ## Nutrition label
84
+ ## xFacts label
85
85
 
86
86
  - **AppFacts:** [viewer](https://appfacts.dev/v#af1.eNpVkU9LAzEQxb9KeCeF2OI1NymolepFbyKSZqe7sdkkZCbVpfS7S6r1z2nCzLx5P1722MFcakQ7EgxSCDaSQEOm3BqL1VJJSgEaLFYqw8A68TuCRvCOIre1--XT14bbwuwRbOyr7dvkacr06IrPotWd3dmvNzRKjeKPpg-po9kbQ2NILD72zTek2m2CLYSDRkeZYZ73iDAQ_oBGhgF9kKtNoH5d1MYHYvXuZUhVlEtj9sGKTxEH_X1gysQnjPyPUZ3IFdecUxEcXjR4537c_4BpFJgTs9qkorrk6khRjn6KvdBRv64-dC2XbN3W9vQ62mh7auoc89jSJpZG1oqG8zC48XJb1-rKtVusznJdB8_DbBrDecukUE7sJZWpQYhkNvN572Wo65lL43xhxYaJ5eI6lZ4uVqvF_PS7h0996atz) · [raw](https://github.com/Catalyst-Forge-LLC/ollanet/blob/main/APP_FACTS.md)
87
87
  - **ToolFacts:** [viewer](https://toolfacts.dev/v#tf1.eNrFlstuUzEQhl_F8gqkXAqLLtJVVcQqQNWwq6rKtSc5Vn052OOEKOq78_vkBHoJ0KKi7CJ7Lv83M2fijVzKybuBDMqTnMjonArE4tPZuZhRWlKSA2loSS62-D2RZ4qVW2cWH2NaEC5hkm0MuDoaHY-OcZJZcck4UJrtsto4qynkGv-0Vbqh4fvREY5vbTA487od5l2uVALbKmUj6TvpwtvYLmrlhm2KmnKGGScVchsT4y6zsVHeDaROZAjuyuXqn-hbsTiSk8sr3NIiVV9cMDnyxGkN5xADdYiZbVA1W-7tOcYa53LzqDbXyVdIa-ia5nPSXFGrfyo73kSgrJnm1lFGtcj_SoUQq5hucVBCqm5WM0QOZE9HiDcHAkEDkvg2MqD6M1iV1Maulhfk45KEEj4acmKeohcqiC-Q6ZVoYmYU5Yl6ZPEtPyVYJcu_1541-m9eU_2MgoH2rRzB8ZF0EZPQEc0MpSJmtSQjdKP4RHi1Fm2dOlh1c6CTRYhuRNx6H7NGDpXo8NAXJQhuCDieduhqoWwAii-Obeuow8_jrqkZVTEiEZcUUIUth834JPZ1tjj3UsTXnslzaBBvTFwFF5V5-3M40Ul0GCQenn8b0axVeAoCAPO_OPDtPsD4YNF7LCTRZVM37oHmbVdcN38N2bRlzCcitnWBKCemp5_FV6zQjmQfYRNXhyWcQUHfG6xCZbDWn71B8mGlT2vh-89Dl5Rg5NaizhtWRAzPIKitu67L5KUkezZCD_cvDP3Gurfc7u2zvE_4gra6DyYbRUaJ6c_Sxc1aWCPvrgayiZ5atai-DXObJ-NxzzLCq6ITjNCWY_dnvDNZWG7KzQjrbrx7bwy798ZwOj3bBeheASVoVYeoU3r3Azp1G68) · [raw](https://github.com/Catalyst-Forge-LLC/ollanet/blob/main/TOOL_FACTS.md)
package/dist/mcp.js CHANGED
@@ -26,6 +26,30 @@ import { isHelpFlag, printHelp } from "./argv.js";
26
26
  // Pin to the oldest widely-supported MCP revision. Clients may request a newer
27
27
  // date; we still answer with this — legal negotiation, max compatibility.
28
28
  const PROTOCOL_VERSION = "2024-11-05";
29
+ const NET_READ = {
30
+ readOnlyHint: true,
31
+ destructiveHint: false,
32
+ idempotentHint: true,
33
+ openWorldHint: true,
34
+ };
35
+ const NET_WRITE = {
36
+ readOnlyHint: false,
37
+ destructiveHint: false,
38
+ idempotentHint: false,
39
+ openWorldHint: true,
40
+ };
41
+ const NET_DESTROY = {
42
+ readOnlyHint: false,
43
+ destructiveHint: true,
44
+ idempotentHint: false,
45
+ openWorldHint: true,
46
+ };
47
+ const LOCAL_READ = {
48
+ readOnlyHint: true,
49
+ destructiveHint: false,
50
+ idempotentHint: true,
51
+ openWorldHint: false,
52
+ };
29
53
  const TOOLS = [
30
54
  {
31
55
  name: "ollanet_scan",
@@ -51,6 +75,7 @@ const TOOLS = [
51
75
  },
52
76
  additionalProperties: false,
53
77
  },
78
+ annotations: NET_READ,
54
79
  },
55
80
  {
56
81
  name: "ollanet_prompt",
@@ -101,6 +126,7 @@ const TOOLS = [
101
126
  },
102
127
  additionalProperties: false,
103
128
  },
129
+ annotations: NET_WRITE,
104
130
  },
105
131
  {
106
132
  name: "ollanet_compare",
@@ -141,6 +167,7 @@ const TOOLS = [
141
167
  required: ["machine", "models"],
142
168
  additionalProperties: false,
143
169
  },
170
+ annotations: NET_WRITE,
144
171
  },
145
172
  {
146
173
  name: "ollanet_pull",
@@ -166,6 +193,7 @@ const TOOLS = [
166
193
  required: ["machine", "model"],
167
194
  additionalProperties: false,
168
195
  },
196
+ annotations: NET_WRITE,
169
197
  },
170
198
  {
171
199
  name: "ollanet_show",
@@ -180,6 +208,7 @@ const TOOLS = [
180
208
  required: ["machine", "model"],
181
209
  additionalProperties: false,
182
210
  },
211
+ annotations: NET_READ,
183
212
  },
184
213
  {
185
214
  name: "ollanet_rm",
@@ -198,6 +227,7 @@ const TOOLS = [
198
227
  required: ["machine", "model", "confirm"],
199
228
  additionalProperties: false,
200
229
  },
230
+ annotations: NET_DESTROY,
201
231
  },
202
232
  {
203
233
  name: "ollanet_ps",
@@ -213,6 +243,7 @@ const TOOLS = [
213
243
  },
214
244
  additionalProperties: false,
215
245
  },
246
+ annotations: NET_READ,
216
247
  },
217
248
  {
218
249
  name: "ollanet_list_chats",
@@ -222,6 +253,7 @@ const TOOLS = [
222
253
  properties: {},
223
254
  additionalProperties: false,
224
255
  },
256
+ annotations: LOCAL_READ,
225
257
  },
226
258
  {
227
259
  name: "ollanet_get_chat",
@@ -237,6 +269,7 @@ const TOOLS = [
237
269
  required: ["chat_id"],
238
270
  additionalProperties: false,
239
271
  },
272
+ annotations: LOCAL_READ,
240
273
  },
241
274
  ];
242
275
  function writeMessage(msg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ollanet",
3
- "version": "0.6.12",
3
+ "version": "0.6.13",
4
4
  "description": "Find, manage, and use Ollama models on the hosts you choose. CLI for humans, MCP for agents, Node for apps",
5
5
  "type": "module",
6
6
  "bin": {