@lorekit/cli 1.71.1 → 1.71.2

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": "@lorekit/cli",
3
- "version": "1.71.1",
3
+ "version": "1.71.2",
4
4
  "description": "Install the LoreKit shared-memory skill and run health checks for the LoreKit MCP server.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -56,7 +56,8 @@ export const ORG_TOOL_NAMES = [
56
56
  ];
57
57
 
58
58
  /**
59
- * The `tools/list` payload: name, description and inputSchema per op.
59
+ * The `tools/list` payload: name, description, inputSchema and MCP
60
+ * annotations per op.
60
61
  * Identical projection to the edge server's, from the same declaration, so the
61
62
  * local stdio server and the hosted server advertise the same contract.
62
63
  */
@@ -156,6 +157,12 @@ export const MCP_TOOL_DEFS = [
156
157
  "description": "The lessons that actually shaped this run, as `scope::key` strings — exactly the labels they were injected under. Name only the ones you applied; an empty or omitted list is the honest answer when none were. Silently ignored where a reference names nothing you can see, so a wrong guess costs nothing and the write always succeeds."
157
158
  }
158
159
  }
160
+ },
161
+ "annotations": {
162
+ "readOnlyHint": false,
163
+ "destructiveHint": true,
164
+ "idempotentHint": false,
165
+ "openWorldHint": false
159
166
  }
160
167
  },
161
168
  {
@@ -180,6 +187,12 @@ export const MCP_TOOL_DEFS = [
180
187
  "description": "Batch mode: one or more `scope::key` references, fetched in a single call. Cannot be combined with `scope`/`key`. Each entry is parsed by the same reference grammar `memory.write`'s `cited` field uses (`scope::key`, verbatim scope — never lowercased). Silently truncated past 32 entries."
181
188
  }
182
189
  }
190
+ },
191
+ "annotations": {
192
+ "readOnlyHint": true,
193
+ "destructiveHint": false,
194
+ "idempotentHint": true,
195
+ "openWorldHint": false
183
196
  }
184
197
  },
185
198
  {
@@ -242,6 +255,12 @@ export const MCP_TOOL_DEFS = [
242
255
  "description": "full (default) returns each entry's complete `value`. summary omits `value` and returns `value_bytes` + a 200-character `preview` instead — the cheap discovery read for deciding WHICH lessons to then fetch with `memory.read`."
243
256
  }
244
257
  }
258
+ },
259
+ "annotations": {
260
+ "readOnlyHint": true,
261
+ "destructiveHint": false,
262
+ "idempotentHint": true,
263
+ "openWorldHint": false
245
264
  }
246
265
  },
247
266
  {
@@ -272,6 +291,12 @@ export const MCP_TOOL_DEFS = [
272
291
  "description": "Org slug to delete under (org-owned delete). Omit for a personal memory. Soft-archive requires a member/admin/owner role; hard-delete (force: true) requires admin/owner — verified server-side."
273
292
  }
274
293
  }
294
+ },
295
+ "annotations": {
296
+ "readOnlyHint": false,
297
+ "destructiveHint": true,
298
+ "idempotentHint": true,
299
+ "openWorldHint": false
275
300
  }
276
301
  },
277
302
  {
@@ -313,6 +338,12 @@ export const MCP_TOOL_DEFS = [
313
338
  "description": "Opaque cursor from a previous response's `nextCursor`. Omit to start from the first page."
314
339
  }
315
340
  }
341
+ },
342
+ "annotations": {
343
+ "readOnlyHint": true,
344
+ "destructiveHint": false,
345
+ "idempotentHint": true,
346
+ "openWorldHint": false
316
347
  }
317
348
  },
318
349
  {
@@ -334,6 +365,12 @@ export const MCP_TOOL_DEFS = [
334
365
  "description": "Lesson identifier, unique within the scope. Max 512 characters."
335
366
  }
336
367
  }
368
+ },
369
+ "annotations": {
370
+ "readOnlyHint": false,
371
+ "destructiveHint": false,
372
+ "idempotentHint": true,
373
+ "openWorldHint": false
337
374
  }
338
375
  },
339
376
  {
@@ -342,6 +379,12 @@ export const MCP_TOOL_DEFS = [
342
379
  "inputSchema": {
343
380
  "type": "object",
344
381
  "properties": {}
382
+ },
383
+ "annotations": {
384
+ "readOnlyHint": true,
385
+ "destructiveHint": false,
386
+ "idempotentHint": true,
387
+ "openWorldHint": false
345
388
  }
346
389
  },
347
390
  {
@@ -362,6 +405,12 @@ export const MCP_TOOL_DEFS = [
362
405
  "description": "Maximum entries to return."
363
406
  }
364
407
  }
408
+ },
409
+ "annotations": {
410
+ "readOnlyHint": true,
411
+ "destructiveHint": false,
412
+ "idempotentHint": true,
413
+ "openWorldHint": false
365
414
  }
366
415
  },
367
416
  {
@@ -383,6 +432,12 @@ export const MCP_TOOL_DEFS = [
383
432
  "description": "Lesson identifier, unique within the scope. Max 512 characters."
384
433
  }
385
434
  }
435
+ },
436
+ "annotations": {
437
+ "readOnlyHint": false,
438
+ "destructiveHint": false,
439
+ "idempotentHint": true,
440
+ "openWorldHint": false
386
441
  }
387
442
  },
388
443
  {
@@ -399,6 +454,12 @@ export const MCP_TOOL_DEFS = [
399
454
  "description": "Only purge archived lessons older than this many days."
400
455
  }
401
456
  }
457
+ },
458
+ "annotations": {
459
+ "readOnlyHint": false,
460
+ "destructiveHint": true,
461
+ "idempotentHint": true,
462
+ "openWorldHint": false
402
463
  }
403
464
  },
404
465
  {
@@ -407,6 +468,12 @@ export const MCP_TOOL_DEFS = [
407
468
  "inputSchema": {
408
469
  "type": "object",
409
470
  "properties": {}
471
+ },
472
+ "annotations": {
473
+ "readOnlyHint": false,
474
+ "destructiveHint": true,
475
+ "idempotentHint": true,
476
+ "openWorldHint": false
410
477
  }
411
478
  },
412
479
  {
@@ -428,6 +495,12 @@ export const MCP_TOOL_DEFS = [
428
495
  "description": "Human-readable display name"
429
496
  }
430
497
  }
498
+ },
499
+ "annotations": {
500
+ "readOnlyHint": false,
501
+ "destructiveHint": false,
502
+ "idempotentHint": false,
503
+ "openWorldHint": false
431
504
  }
432
505
  },
433
506
  {
@@ -436,6 +509,12 @@ export const MCP_TOOL_DEFS = [
436
509
  "inputSchema": {
437
510
  "type": "object",
438
511
  "properties": {}
512
+ },
513
+ "annotations": {
514
+ "readOnlyHint": true,
515
+ "destructiveHint": false,
516
+ "idempotentHint": true,
517
+ "openWorldHint": false
439
518
  }
440
519
  },
441
520
  {
@@ -457,6 +536,12 @@ export const MCP_TOOL_DEFS = [
457
536
  "description": "New display name"
458
537
  }
459
538
  }
539
+ },
540
+ "annotations": {
541
+ "readOnlyHint": false,
542
+ "destructiveHint": true,
543
+ "idempotentHint": true,
544
+ "openWorldHint": false
460
545
  }
461
546
  },
462
547
  {
@@ -473,6 +558,12 @@ export const MCP_TOOL_DEFS = [
473
558
  "description": "The org slug to delete"
474
559
  }
475
560
  }
561
+ },
562
+ "annotations": {
563
+ "readOnlyHint": false,
564
+ "destructiveHint": true,
565
+ "idempotentHint": true,
566
+ "openWorldHint": false
476
567
  }
477
568
  },
478
569
  {
@@ -481,6 +572,12 @@ export const MCP_TOOL_DEFS = [
481
572
  "inputSchema": {
482
573
  "type": "object",
483
574
  "properties": {}
575
+ },
576
+ "annotations": {
577
+ "readOnlyHint": true,
578
+ "destructiveHint": false,
579
+ "idempotentHint": true,
580
+ "openWorldHint": false
484
581
  }
485
582
  },
486
583
  {
@@ -675,6 +772,12 @@ export const MCP_TOOL_DEFS = [
675
772
  "description": "How the origin_pr filter combines."
676
773
  }
677
774
  }
775
+ },
776
+ "annotations": {
777
+ "readOnlyHint": false,
778
+ "destructiveHint": false,
779
+ "idempotentHint": false,
780
+ "openWorldHint": false
678
781
  }
679
782
  },
680
783
  {
@@ -866,6 +969,12 @@ export const MCP_TOOL_DEFS = [
866
969
  "description": "How the origin_pr filter combines. Omit to leave unchanged; pass explicit null to clear."
867
970
  }
868
971
  }
972
+ },
973
+ "annotations": {
974
+ "readOnlyHint": false,
975
+ "destructiveHint": true,
976
+ "idempotentHint": true,
977
+ "openWorldHint": false
869
978
  }
870
979
  },
871
980
  {
@@ -882,6 +991,12 @@ export const MCP_TOOL_DEFS = [
882
991
  "description": "The policy id to delete."
883
992
  }
884
993
  }
994
+ },
995
+ "annotations": {
996
+ "readOnlyHint": false,
997
+ "destructiveHint": true,
998
+ "idempotentHint": true,
999
+ "openWorldHint": false
885
1000
  }
886
1001
  },
887
1002
  {
@@ -1058,6 +1173,12 @@ export const MCP_TOOL_DEFS = [
1058
1173
  "description": "How the origin_pr filter combines."
1059
1174
  }
1060
1175
  }
1176
+ },
1177
+ "annotations": {
1178
+ "readOnlyHint": true,
1179
+ "destructiveHint": false,
1180
+ "idempotentHint": true,
1181
+ "openWorldHint": false
1061
1182
  }
1062
1183
  },
1063
1184
  {
@@ -1234,6 +1355,12 @@ export const MCP_TOOL_DEFS = [
1234
1355
  "description": "How the origin_pr filter combines."
1235
1356
  }
1236
1357
  }
1358
+ },
1359
+ "annotations": {
1360
+ "readOnlyHint": false,
1361
+ "destructiveHint": false,
1362
+ "idempotentHint": true,
1363
+ "openWorldHint": false
1237
1364
  }
1238
1365
  },
1239
1366
  {
@@ -1260,6 +1387,12 @@ export const MCP_TOOL_DEFS = [
1260
1387
  "description": "true to protect, false to unprotect."
1261
1388
  }
1262
1389
  }
1390
+ },
1391
+ "annotations": {
1392
+ "readOnlyHint": false,
1393
+ "destructiveHint": false,
1394
+ "idempotentHint": true,
1395
+ "openWorldHint": false
1263
1396
  }
1264
1397
  }
1265
1398
  ];