Repository navigation
Expand file tree
/
Copy pathplugin.package.json
More file actions
375 lines (375 loc) · 15 KB
/
Copy pathplugin.package.json
File metadata and controls
375 lines (375 loc) · 15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
{
"config_schema": {
"plugin_name": "capsules",
"schema_version": 1,
"allow_unvalidated_config": false,
"settings": [
{
"key": "share_history_segments",
"value_schema": {
"kind": "enum",
"enum_values": [
"counterparties",
"prospective",
"peers",
"off"
],
"allow_additional_properties": false
},
"required": false,
"default_json": "\"counterparties\"",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "Who may read your records and correlations: past counterparties (the default), any peer, or nobody. prospective is deprecated and read as counterparties. A refusal says nothing about the peer asking.",
"presentation": {
"label": "History segments",
"category_id": "show",
"category_label": "What you show others",
"category_summary": "What this node answers when a peer asks about you. Peers can only admit you on what you let them see.",
"category_order": 0,
"setting_order": 0
}
},
{
"key": "share_standard_history",
"value_schema": {
"kind": "enum",
"enum_values": [
"off",
"on"
],
"allow_additional_properties": false
},
"required": false,
"default_json": "\"off\"",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "Answer a node you've never dealt with when it asks what you serve. No records are included. Checkpoints and the history card go to anyone who asks, whatever this is set to.",
"presentation": {
"label": "Service history to strangers",
"category_id": "show",
"category_label": "What you show others",
"category_summary": "What this node answers when a peer asks about you. Peers can only admit you on what you let them see.",
"category_order": 0,
"setting_order": 1
}
},
{
"key": "share_exchange_corroboration",
"value_schema": {
"kind": "enum",
"enum_values": [
"on",
"off"
],
"allow_additional_properties": false
},
"required": false,
"default_json": "\"on\"",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "Tell a stranger whether you hold your half of one exchange, by its nonce. Ids and digests only, never who was on the other side.",
"presentation": {
"label": "Exchange corroboration",
"category_id": "show",
"category_label": "What you show others",
"category_summary": "What this node answers when a peer asks about you. Peers can only admit you on what you let them see.",
"category_order": 0,
"setting_order": 2
}
},
{
"key": "advertise_evidence_requests",
"value_schema": {
"kind": "enum",
"enum_values": [
"off",
"on"
],
"allow_additional_properties": false
},
"required": false,
"default_json": "\"off\"",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "Publish your signed commitment to public Nostr relays so others can find this node's record. It carries your latest checkpoint and history card, which show your log's size. Asks sent there are not read yet. Off publishes nothing.",
"presentation": {
"label": "Advertise evidence requests",
"category_id": "show",
"category_label": "What you show others",
"category_summary": "What this node answers when a peer asks about you. Peers can only admit you on what you let them see.",
"category_order": 0,
"setting_order": 3
}
},
{
"key": "adjudicate_differing_twins",
"value_schema": {
"kind": "enum",
"enum_values": [
"off",
"on"
],
"allow_additional_properties": false
},
"required": false,
"default_json": "\"off\"",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "Send the prompt and both answers to a third node to re-answer. Once per pair, never retried. Only you turn this on.",
"presentation": {
"label": "Ask a referee",
"category_id": "differ",
"category_label": "When answers differ",
"category_summary": "A client can send one request to two machines. These settings decide what happens when the two answers don't match.",
"category_order": 1,
"setting_order": 4
}
},
{
"key": "stop_routing_after_contradictions",
"value_schema": {
"kind": "integer",
"allow_additional_properties": false
},
"required": false,
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "Stop routing to a peer after this many contradictions (0 or empty: never, the default). Only verdicts you asked for and signature-checked count, once per referee and pair. With N of 2 or more, no single referee can trigger it. Needs `allow_peer_blocks = true` for this plugin in mesh-llm's config.",
"presentation": {
"label": "Stop routing after N contradictions",
"category_id": "differ",
"category_label": "When answers differ",
"category_summary": "A client can send one request to two machines. These settings decide what happens when the two answers don't match.",
"category_order": 1,
"setting_order": 5
}
},
{
"key": "stop_routing_window_days",
"value_schema": {
"kind": "integer",
"allow_additional_properties": false
},
"required": false,
"default_json": "30",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "The window, in days, the contradictions must fall in (default 30).",
"presentation": {
"label": "In D days",
"category_id": "differ",
"category_label": "When answers differ",
"category_summary": "A client can send one request to two machines. These settings decide what happens when the two answers don't match.",
"category_order": 1,
"setting_order": 6
}
},
{
"key": "referee_bar_days",
"value_schema": {
"kind": "integer",
"allow_additional_properties": false
},
"required": false,
"default_json": "30",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "After a referee-signed contradiction for a model, don't ask that node to referee that model for this many days (default 30).",
"presentation": {
"label": "Bar a contradicted referee for",
"category_id": "differ",
"category_label": "When answers differ",
"category_summary": "A client can send one request to two machines. These settings decide what happens when the two answers don't match.",
"category_order": 1,
"setting_order": 7
}
},
{
"key": "split_margin_threshold",
"value_schema": {
"kind": "float",
"allow_additional_properties": false
},
"required": false,
"default_json": "4.41",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "Referee margin (4.41). When two nodes give different answers to the same request, a third node re-answers it and checks how sure the model was at the word where they split. It only names a node as wrong if it was sure by at least this margin. Honest machines with different hardware differ by up to about 2.2, so 4.41 leaves a safety gap. Below the margin the result is \"inconclusive\" and counts against no one. Lowering it lets small demo models reach a verdict, but honest nodes can then be accused. Every verdict records the margin and the threshold it was judged by; the Evidence page says when the margin is below 4.41.",
"presentation": {
"label": "Referee's least margin to name a twin",
"category_id": "differ",
"category_label": "When answers differ",
"category_summary": "A client can send one request to two machines. These settings decide what happens when the two answers don't match.",
"category_order": 1,
"setting_order": 8
}
},
{
"key": "share_adjudications",
"value_schema": {
"kind": "enum",
"enum_values": [
"deliver_to_subjects",
"off"
],
"allow_additional_properties": false
},
"required": false,
"default_json": "\"deliver_to_subjects\"",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "They ack or dispute on their own side. Delivery only, never a standing. A verdict already delivered cannot be recalled by turning this off.",
"presentation": {
"label": "Deliver verdicts to the nodes judged",
"category_id": "differ",
"category_label": "When answers differ",
"category_summary": "A client can send one request to two machines. These settings decide what happens when the two answers don't match.",
"category_order": 1,
"setting_order": 9
}
},
{
"key": "share_record_at_completion",
"value_schema": {
"kind": "enum",
"enum_values": [
"counterparty",
"off"
],
"allow_additional_properties": false
},
"required": false,
"default_json": "\"counterparty\"",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "Push your sealed record of each exchange to the counterparty. Symmetric: off means you don't receive theirs either. It governs pushes only: a record you ask the other side for is checked and held either way. With checkpointing on, the push carries a checkpoint, which shows your log's size and time; the public checkpoint list shows when your exchanges ended.",
"presentation": {
"label": "Send your record to the other side",
"category_id": "records",
"category_label": "Keeping records",
"category_summary": "Who else holds a copy of what you sealed. This is what makes a later rewrite provable by someone other than you.",
"category_order": 2,
"setting_order": 10
}
},
{
"key": "witness",
"value_schema": {
"kind": "array",
"items": {
"kind": "object",
"object_properties": [
{
"key": "endpoint",
"value_schema": {
"kind": "url",
"allow_additional_properties": false
},
"required": true,
"description": "The witness service's URL."
},
{
"key": "public_key",
"value_schema": {
"kind": "string",
"allow_additional_properties": false
},
"required": false,
"description": "The witness's Ed25519 public key in hex, as its operator publishes it. Leave empty to have the plugin fetch it from the witness once and keep it; the Evidence page then says the key was pinned on first contact, not configured."
}
],
"allow_additional_properties": false
},
"allow_additional_properties": false
},
"required": false,
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "Witness services to offer this node's checkpoints to: each one's URL, and its public key if you have it. Empty is off (the default): there is no default witness, and the plugin contacts none until you add one. The Evidence page shows what each witness holds. Takes effect when mesh-llm is restarted.",
"presentation": {
"label": "Witnesses",
"category_id": "records",
"category_label": "Keeping records",
"category_summary": "Who else holds a copy of what you sealed. This is what makes a later rewrite provable by someone other than you.",
"category_order": 2,
"setting_order": 11,
"placeholder": "https://witness.agentactioncapsule.org",
"renderer_id": "set-value"
}
},
{
"key": "join_network",
"value_schema": {
"kind": "enum",
"enum_values": [
"off",
"on"
],
"allow_additional_properties": false
},
"required": false,
"default_json": "\"off\"",
"apply_mode": "static_on_load",
"restart_scope": "none",
"visibility": "user",
"description": "I add this node to the evidence network to help improve the evidence layer. The network may ask it for its history summary, usually daily, and never for the content of any request, answer or payment. A summary of its answers, or that it did not answer, is published at https://evidence-network.github.io/loop/stats/. To leave, turn this switch off: the asks stop on the next run, and past reports stay.",
"presentation": {
"label": "Join the evidence network",
"category_id": "network",
"category_label": "Evidence network",
"category_summary": "Whether this node is on the evidence network's list. Off by default.",
"category_order": 3,
"setting_order": 12
}
}
]
},
"web_ui": {
"pages": [
{
"id": "evidence",
"label": "Evidence",
"route": "evidence",
"bundle_id": "main",
"entry_script": "register-mesh-plugin-ui.js",
"placement": "primary",
"host_header": false
}
],
"contributions": [
{
"id": "evidence-chat",
"slot": "chat_message",
"label": "Evidence",
"bundle_id": "main",
"entry_script": "register-mesh-plugin-ui.js"
},
{
"id": "evidence-logs",
"slot": "logs_request",
"label": "Evidence",
"bundle_id": "main",
"entry_script": "register-mesh-plugin-ui.js"
}
],
"bundles": [
{
"id": "main",
"root_path": "bundle"
}
]
}
}