@ai-switch/tauri-plugin-runtime 0.1.0

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 (77) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +327 -0
  3. package/THIRD_PARTY_NOTICES.md +210 -0
  4. package/dist/bridge/handshake.d.ts +11 -0
  5. package/dist/bridge/json-codec.d.ts +4 -0
  6. package/dist/bridge/rpc-peer.d.ts +7 -0
  7. package/dist/bridge/rpc-types.d.ts +20 -0
  8. package/dist/chunk-CFQSUF5W.js +1794 -0
  9. package/dist/chunk-JSBRDJBE.js +30 -0
  10. package/dist/chunk-K5YWIJN6.js +389 -0
  11. package/dist/chunk-PW7XHHWG.js +403 -0
  12. package/dist/chunk-RKQEK7DY.js +13879 -0
  13. package/dist/chunk-WT62GTMC.js +18 -0
  14. package/dist/chunk-YI6NQ6WR.js +513 -0
  15. package/dist/host/event-router.d.ts +19 -0
  16. package/dist/host/file-handles.d.ts +15 -0
  17. package/dist/host/host.d.ts +2 -0
  18. package/dist/host/index.d.ts +4 -0
  19. package/dist/host/index.js +791 -0
  20. package/dist/host/policy.d.ts +7 -0
  21. package/dist/host/requests.d.ts +13 -0
  22. package/dist/host/types.d.ts +19 -0
  23. package/dist/host/view.d.ts +18 -0
  24. package/dist/index.d.ts +2 -0
  25. package/dist/index.js +9 -0
  26. package/dist/node/buffer.d.ts +7 -0
  27. package/dist/node/buffer.js +8 -0
  28. package/dist/node/events.d.ts +12 -0
  29. package/dist/node/events.js +458 -0
  30. package/dist/node/fs/backend.d.ts +8 -0
  31. package/dist/node/fs/callback-types.d.ts +43 -0
  32. package/dist/node/fs/callbacks.d.ts +3 -0
  33. package/dist/node/fs/client.d.ts +3 -0
  34. package/dist/node/fs/errors.d.ts +5 -0
  35. package/dist/node/fs/lifecycle.d.ts +11 -0
  36. package/dist/node/fs/options.d.ts +7 -0
  37. package/dist/node/fs/promises.d.ts +33 -0
  38. package/dist/node/fs/promises.js +30 -0
  39. package/dist/node/fs/transfer.d.ts +7 -0
  40. package/dist/node/fs/types.d.ts +86 -0
  41. package/dist/node/fs.d.ts +36 -0
  42. package/dist/node/fs.js +92 -0
  43. package/dist/node/path.d.ts +20 -0
  44. package/dist/node/path.js +434 -0
  45. package/dist/plugin/client.d.ts +4 -0
  46. package/dist/plugin/connection.d.ts +6 -0
  47. package/dist/plugin/errors.d.ts +3 -0
  48. package/dist/plugin/index.d.ts +6 -0
  49. package/dist/plugin/index.js +12 -0
  50. package/dist/plugin/types.d.ts +28 -0
  51. package/dist/protocol/capabilities.d.ts +8 -0
  52. package/dist/protocol/errors.d.ts +14 -0
  53. package/dist/protocol/generated/capabilities.generated.d.ts +56 -0
  54. package/dist/protocol/generated/fs.generated.d.ts +178 -0
  55. package/dist/protocol/generated/host-event.generated.d.ts +17 -0
  56. package/dist/protocol/generated/manifest.generated.d.ts +64 -0
  57. package/dist/protocol/generated/session.generated.d.ts +93 -0
  58. package/dist/protocol/generated/types.generated.d.ts +6 -0
  59. package/dist/protocol/generated/validators.generated.d.mts +24 -0
  60. package/dist/protocol/generated/wire.generated.d.ts +63 -0
  61. package/dist/protocol/index.d.ts +18 -0
  62. package/dist/protocol/index.js +746 -0
  63. package/dist/protocol/json-safety.d.ts +3 -0
  64. package/dist/protocol/limits.d.ts +11 -0
  65. package/dist/protocol/manifest.d.ts +5 -0
  66. package/dist/protocol/path-policy.d.ts +2 -0
  67. package/dist/protocol/schema/capabilities.schema.json +301 -0
  68. package/dist/protocol/schema/fs.schema.json +900 -0
  69. package/dist/protocol/schema/host-event.schema.json +116 -0
  70. package/dist/protocol/schema/manifest.schema.json +60 -0
  71. package/dist/protocol/schema/session.schema.json +145 -0
  72. package/dist/protocol/schema/wire.schema.json +358 -0
  73. package/dist/protocol/session.d.ts +3 -0
  74. package/dist/protocol/types.d.ts +27 -0
  75. package/dist/protocol/validation.d.ts +2 -0
  76. package/dist/protocol/wire.d.ts +16 -0
  77. package/package.json +95 -0
@@ -0,0 +1,900 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "https://ai-switch.github.io/aplg/schema/v1/fs.schema.json",
4
+ "title": "FsCapabilityMessage",
5
+ "oneOf": [
6
+ {
7
+ "type": "object",
8
+ "additionalProperties": false,
9
+ "required": [
10
+ "capability",
11
+ "method",
12
+ "direction",
13
+ "value"
14
+ ],
15
+ "properties": {
16
+ "capability": {
17
+ "const": "aplg.fs"
18
+ },
19
+ "method": {
20
+ "const": "transfer.openRead"
21
+ },
22
+ "direction": {
23
+ "const": "request"
24
+ },
25
+ "value": {
26
+ "type": "object",
27
+ "additionalProperties": false,
28
+ "required": [
29
+ "path"
30
+ ],
31
+ "properties": {
32
+ "path": {
33
+ "type": "string",
34
+ "minLength": 1,
35
+ "maxLength": 4096
36
+ }
37
+ }
38
+ }
39
+ }
40
+ },
41
+ {
42
+ "type": "object",
43
+ "additionalProperties": false,
44
+ "required": [
45
+ "capability",
46
+ "method",
47
+ "direction",
48
+ "value"
49
+ ],
50
+ "properties": {
51
+ "capability": {
52
+ "const": "aplg.fs"
53
+ },
54
+ "method": {
55
+ "const": "transfer.openRead"
56
+ },
57
+ "direction": {
58
+ "const": "result"
59
+ },
60
+ "value": {
61
+ "type": "object",
62
+ "additionalProperties": false,
63
+ "required": [
64
+ "handle",
65
+ "size"
66
+ ],
67
+ "properties": {
68
+ "handle": {
69
+ "type": "string",
70
+ "minLength": 1,
71
+ "maxLength": 128,
72
+ "pattern": "^[\\x21-\\x7e]+$"
73
+ },
74
+ "size": {
75
+ "type": "integer",
76
+ "minimum": 0,
77
+ "maximum": 8388608
78
+ }
79
+ }
80
+ }
81
+ }
82
+ },
83
+ {
84
+ "type": "object",
85
+ "additionalProperties": false,
86
+ "required": [
87
+ "capability",
88
+ "method",
89
+ "direction",
90
+ "value"
91
+ ],
92
+ "properties": {
93
+ "capability": {
94
+ "const": "aplg.fs"
95
+ },
96
+ "method": {
97
+ "const": "transfer.openWrite"
98
+ },
99
+ "direction": {
100
+ "const": "request"
101
+ },
102
+ "value": {
103
+ "type": "object",
104
+ "additionalProperties": false,
105
+ "required": [
106
+ "path",
107
+ "size",
108
+ "mode"
109
+ ],
110
+ "properties": {
111
+ "path": {
112
+ "type": "string",
113
+ "minLength": 1,
114
+ "maxLength": 4096
115
+ },
116
+ "size": {
117
+ "type": "integer",
118
+ "minimum": 0,
119
+ "maximum": 8388608
120
+ },
121
+ "mode": {
122
+ "enum": [
123
+ "w",
124
+ "wx",
125
+ "a",
126
+ "ax"
127
+ ]
128
+ }
129
+ }
130
+ }
131
+ }
132
+ },
133
+ {
134
+ "type": "object",
135
+ "additionalProperties": false,
136
+ "required": [
137
+ "capability",
138
+ "method",
139
+ "direction",
140
+ "value"
141
+ ],
142
+ "properties": {
143
+ "capability": {
144
+ "const": "aplg.fs"
145
+ },
146
+ "method": {
147
+ "const": "transfer.openWrite"
148
+ },
149
+ "direction": {
150
+ "const": "result"
151
+ },
152
+ "value": {
153
+ "type": "object",
154
+ "additionalProperties": false,
155
+ "required": [
156
+ "handle"
157
+ ],
158
+ "properties": {
159
+ "handle": {
160
+ "type": "string",
161
+ "minLength": 1,
162
+ "maxLength": 128,
163
+ "pattern": "^[\\x21-\\x7e]+$"
164
+ }
165
+ }
166
+ }
167
+ }
168
+ },
169
+ {
170
+ "type": "object",
171
+ "additionalProperties": false,
172
+ "required": [
173
+ "capability",
174
+ "method",
175
+ "direction",
176
+ "value"
177
+ ],
178
+ "properties": {
179
+ "capability": {
180
+ "const": "aplg.fs"
181
+ },
182
+ "method": {
183
+ "const": "transfer.pull"
184
+ },
185
+ "direction": {
186
+ "const": "request"
187
+ },
188
+ "value": {
189
+ "type": "object",
190
+ "additionalProperties": false,
191
+ "required": [
192
+ "handle",
193
+ "offset",
194
+ "length"
195
+ ],
196
+ "properties": {
197
+ "handle": {
198
+ "type": "string",
199
+ "minLength": 1,
200
+ "maxLength": 128,
201
+ "pattern": "^[\\x21-\\x7e]+$"
202
+ },
203
+ "offset": {
204
+ "type": "integer",
205
+ "minimum": 0,
206
+ "maximum": 8388608
207
+ },
208
+ "length": {
209
+ "type": "integer",
210
+ "minimum": 1,
211
+ "maximum": 262144
212
+ }
213
+ }
214
+ }
215
+ }
216
+ },
217
+ {
218
+ "type": "object",
219
+ "additionalProperties": false,
220
+ "required": [
221
+ "capability",
222
+ "method",
223
+ "direction",
224
+ "value"
225
+ ],
226
+ "properties": {
227
+ "capability": {
228
+ "const": "aplg.fs"
229
+ },
230
+ "method": {
231
+ "const": "transfer.pull"
232
+ },
233
+ "direction": {
234
+ "const": "result"
235
+ },
236
+ "value": {
237
+ "type": "object",
238
+ "additionalProperties": false,
239
+ "required": [
240
+ "offset",
241
+ "dataBase64"
242
+ ],
243
+ "properties": {
244
+ "offset": {
245
+ "type": "integer",
246
+ "minimum": 0,
247
+ "maximum": 8388608
248
+ },
249
+ "dataBase64": {
250
+ "type": "string",
251
+ "maxLength": 349528
252
+ }
253
+ }
254
+ }
255
+ }
256
+ },
257
+ {
258
+ "type": "object",
259
+ "additionalProperties": false,
260
+ "required": [
261
+ "capability",
262
+ "method",
263
+ "direction",
264
+ "value"
265
+ ],
266
+ "properties": {
267
+ "capability": {
268
+ "const": "aplg.fs"
269
+ },
270
+ "method": {
271
+ "const": "transfer.push"
272
+ },
273
+ "direction": {
274
+ "const": "request"
275
+ },
276
+ "value": {
277
+ "type": "object",
278
+ "additionalProperties": false,
279
+ "required": [
280
+ "handle",
281
+ "offset",
282
+ "dataBase64"
283
+ ],
284
+ "properties": {
285
+ "handle": {
286
+ "type": "string",
287
+ "minLength": 1,
288
+ "maxLength": 128,
289
+ "pattern": "^[\\x21-\\x7e]+$"
290
+ },
291
+ "offset": {
292
+ "type": "integer",
293
+ "minimum": 0,
294
+ "maximum": 8388608
295
+ },
296
+ "dataBase64": {
297
+ "type": "string",
298
+ "maxLength": 349528
299
+ }
300
+ }
301
+ }
302
+ }
303
+ },
304
+ {
305
+ "type": "object",
306
+ "additionalProperties": false,
307
+ "required": [
308
+ "capability",
309
+ "method",
310
+ "direction",
311
+ "value"
312
+ ],
313
+ "properties": {
314
+ "capability": {
315
+ "const": "aplg.fs"
316
+ },
317
+ "method": {
318
+ "const": "transfer.push"
319
+ },
320
+ "direction": {
321
+ "const": "result"
322
+ },
323
+ "value": {
324
+ "type": "object",
325
+ "additionalProperties": false,
326
+ "required": [
327
+ "written"
328
+ ],
329
+ "properties": {
330
+ "written": {
331
+ "type": "integer",
332
+ "minimum": 0,
333
+ "maximum": 262144
334
+ }
335
+ }
336
+ }
337
+ }
338
+ },
339
+ {
340
+ "type": "object",
341
+ "additionalProperties": false,
342
+ "required": [
343
+ "capability",
344
+ "method",
345
+ "direction",
346
+ "value"
347
+ ],
348
+ "properties": {
349
+ "capability": {
350
+ "const": "aplg.fs"
351
+ },
352
+ "method": {
353
+ "const": "transfer.finish"
354
+ },
355
+ "direction": {
356
+ "const": "request"
357
+ },
358
+ "value": {
359
+ "type": "object",
360
+ "additionalProperties": false,
361
+ "required": [
362
+ "handle"
363
+ ],
364
+ "properties": {
365
+ "handle": {
366
+ "type": "string",
367
+ "minLength": 1,
368
+ "maxLength": 128,
369
+ "pattern": "^[\\x21-\\x7e]+$"
370
+ }
371
+ }
372
+ }
373
+ }
374
+ },
375
+ {
376
+ "type": "object",
377
+ "additionalProperties": false,
378
+ "required": [
379
+ "capability",
380
+ "method",
381
+ "direction",
382
+ "value"
383
+ ],
384
+ "properties": {
385
+ "capability": {
386
+ "const": "aplg.fs"
387
+ },
388
+ "method": {
389
+ "const": "transfer.finish"
390
+ },
391
+ "direction": {
392
+ "const": "result"
393
+ },
394
+ "value": {
395
+ "type": "null"
396
+ }
397
+ }
398
+ },
399
+ {
400
+ "type": "object",
401
+ "additionalProperties": false,
402
+ "required": [
403
+ "capability",
404
+ "method",
405
+ "direction",
406
+ "value"
407
+ ],
408
+ "properties": {
409
+ "capability": {
410
+ "const": "aplg.fs"
411
+ },
412
+ "method": {
413
+ "const": "transfer.abort"
414
+ },
415
+ "direction": {
416
+ "const": "request"
417
+ },
418
+ "value": {
419
+ "type": "object",
420
+ "additionalProperties": false,
421
+ "required": [
422
+ "handle"
423
+ ],
424
+ "properties": {
425
+ "handle": {
426
+ "type": "string",
427
+ "minLength": 1,
428
+ "maxLength": 128,
429
+ "pattern": "^[\\x21-\\x7e]+$"
430
+ }
431
+ }
432
+ }
433
+ }
434
+ },
435
+ {
436
+ "type": "object",
437
+ "additionalProperties": false,
438
+ "required": [
439
+ "capability",
440
+ "method",
441
+ "direction",
442
+ "value"
443
+ ],
444
+ "properties": {
445
+ "capability": {
446
+ "const": "aplg.fs"
447
+ },
448
+ "method": {
449
+ "const": "transfer.abort"
450
+ },
451
+ "direction": {
452
+ "const": "result"
453
+ },
454
+ "value": {
455
+ "type": "null"
456
+ }
457
+ }
458
+ },
459
+ {
460
+ "type": "object",
461
+ "additionalProperties": false,
462
+ "required": [
463
+ "capability",
464
+ "method",
465
+ "direction",
466
+ "value"
467
+ ],
468
+ "properties": {
469
+ "capability": {
470
+ "const": "aplg.fs"
471
+ },
472
+ "method": {
473
+ "const": "stat"
474
+ },
475
+ "direction": {
476
+ "const": "request"
477
+ },
478
+ "value": {
479
+ "type": "object",
480
+ "additionalProperties": false,
481
+ "required": [
482
+ "path"
483
+ ],
484
+ "properties": {
485
+ "path": {
486
+ "type": "string",
487
+ "minLength": 1,
488
+ "maxLength": 4096
489
+ }
490
+ }
491
+ }
492
+ }
493
+ },
494
+ {
495
+ "type": "object",
496
+ "additionalProperties": false,
497
+ "required": [
498
+ "capability",
499
+ "method",
500
+ "direction",
501
+ "value"
502
+ ],
503
+ "properties": {
504
+ "capability": {
505
+ "const": "aplg.fs"
506
+ },
507
+ "method": {
508
+ "const": "stat"
509
+ },
510
+ "direction": {
511
+ "const": "result"
512
+ },
513
+ "value": {
514
+ "type": "object",
515
+ "additionalProperties": false,
516
+ "required": [
517
+ "kind",
518
+ "size",
519
+ "mtimeMs"
520
+ ],
521
+ "properties": {
522
+ "kind": {
523
+ "enum": [
524
+ "file",
525
+ "directory"
526
+ ]
527
+ },
528
+ "size": {
529
+ "type": "integer",
530
+ "minimum": 0,
531
+ "maximum": 9007199254740991
532
+ },
533
+ "mtimeMs": {
534
+ "type": "number"
535
+ }
536
+ }
537
+ }
538
+ }
539
+ },
540
+ {
541
+ "type": "object",
542
+ "additionalProperties": false,
543
+ "required": [
544
+ "capability",
545
+ "method",
546
+ "direction",
547
+ "value"
548
+ ],
549
+ "properties": {
550
+ "capability": {
551
+ "const": "aplg.fs"
552
+ },
553
+ "method": {
554
+ "const": "readdir"
555
+ },
556
+ "direction": {
557
+ "const": "request"
558
+ },
559
+ "value": {
560
+ "type": "object",
561
+ "additionalProperties": false,
562
+ "required": [
563
+ "path"
564
+ ],
565
+ "properties": {
566
+ "path": {
567
+ "type": "string",
568
+ "minLength": 1,
569
+ "maxLength": 4096
570
+ }
571
+ }
572
+ }
573
+ }
574
+ },
575
+ {
576
+ "type": "object",
577
+ "additionalProperties": false,
578
+ "required": [
579
+ "capability",
580
+ "method",
581
+ "direction",
582
+ "value"
583
+ ],
584
+ "properties": {
585
+ "capability": {
586
+ "const": "aplg.fs"
587
+ },
588
+ "method": {
589
+ "const": "readdir"
590
+ },
591
+ "direction": {
592
+ "const": "result"
593
+ },
594
+ "value": {
595
+ "type": "array",
596
+ "maxItems": 10000,
597
+ "items": {
598
+ "type": "object",
599
+ "additionalProperties": false,
600
+ "required": [
601
+ "name",
602
+ "kind"
603
+ ],
604
+ "properties": {
605
+ "name": {
606
+ "type": "string",
607
+ "minLength": 1,
608
+ "maxLength": 255
609
+ },
610
+ "kind": {
611
+ "enum": [
612
+ "file",
613
+ "directory"
614
+ ]
615
+ }
616
+ }
617
+ }
618
+ }
619
+ }
620
+ },
621
+ {
622
+ "type": "object",
623
+ "additionalProperties": false,
624
+ "required": [
625
+ "capability",
626
+ "method",
627
+ "direction",
628
+ "value"
629
+ ],
630
+ "properties": {
631
+ "capability": {
632
+ "const": "aplg.fs"
633
+ },
634
+ "method": {
635
+ "const": "mkdir"
636
+ },
637
+ "direction": {
638
+ "const": "request"
639
+ },
640
+ "value": {
641
+ "type": "object",
642
+ "additionalProperties": false,
643
+ "required": [
644
+ "path",
645
+ "recursive"
646
+ ],
647
+ "properties": {
648
+ "path": {
649
+ "type": "string",
650
+ "minLength": 1,
651
+ "maxLength": 4096
652
+ },
653
+ "recursive": {
654
+ "type": "boolean"
655
+ }
656
+ }
657
+ }
658
+ }
659
+ },
660
+ {
661
+ "type": "object",
662
+ "additionalProperties": false,
663
+ "required": [
664
+ "capability",
665
+ "method",
666
+ "direction",
667
+ "value"
668
+ ],
669
+ "properties": {
670
+ "capability": {
671
+ "const": "aplg.fs"
672
+ },
673
+ "method": {
674
+ "const": "mkdir"
675
+ },
676
+ "direction": {
677
+ "const": "result"
678
+ },
679
+ "value": {
680
+ "type": "object",
681
+ "additionalProperties": false,
682
+ "required": [
683
+ "createdPath"
684
+ ],
685
+ "properties": {
686
+ "createdPath": {
687
+ "anyOf": [
688
+ {
689
+ "type": "null"
690
+ },
691
+ {
692
+ "type": "string",
693
+ "minLength": 1,
694
+ "maxLength": 4096
695
+ }
696
+ ]
697
+ }
698
+ }
699
+ }
700
+ }
701
+ },
702
+ {
703
+ "type": "object",
704
+ "additionalProperties": false,
705
+ "required": [
706
+ "capability",
707
+ "method",
708
+ "direction",
709
+ "value"
710
+ ],
711
+ "properties": {
712
+ "capability": {
713
+ "const": "aplg.fs"
714
+ },
715
+ "method": {
716
+ "const": "rename"
717
+ },
718
+ "direction": {
719
+ "const": "request"
720
+ },
721
+ "value": {
722
+ "type": "object",
723
+ "additionalProperties": false,
724
+ "required": [
725
+ "from",
726
+ "to"
727
+ ],
728
+ "properties": {
729
+ "from": {
730
+ "type": "string",
731
+ "minLength": 1,
732
+ "maxLength": 4096
733
+ },
734
+ "to": {
735
+ "type": "string",
736
+ "minLength": 1,
737
+ "maxLength": 4096
738
+ }
739
+ }
740
+ }
741
+ }
742
+ },
743
+ {
744
+ "type": "object",
745
+ "additionalProperties": false,
746
+ "required": [
747
+ "capability",
748
+ "method",
749
+ "direction",
750
+ "value"
751
+ ],
752
+ "properties": {
753
+ "capability": {
754
+ "const": "aplg.fs"
755
+ },
756
+ "method": {
757
+ "const": "rename"
758
+ },
759
+ "direction": {
760
+ "const": "result"
761
+ },
762
+ "value": {
763
+ "type": "null"
764
+ }
765
+ }
766
+ },
767
+ {
768
+ "type": "object",
769
+ "additionalProperties": false,
770
+ "required": [
771
+ "capability",
772
+ "method",
773
+ "direction",
774
+ "value"
775
+ ],
776
+ "properties": {
777
+ "capability": {
778
+ "const": "aplg.fs"
779
+ },
780
+ "method": {
781
+ "const": "copyFile"
782
+ },
783
+ "direction": {
784
+ "const": "request"
785
+ },
786
+ "value": {
787
+ "type": "object",
788
+ "additionalProperties": false,
789
+ "required": [
790
+ "from",
791
+ "to"
792
+ ],
793
+ "properties": {
794
+ "from": {
795
+ "type": "string",
796
+ "minLength": 1,
797
+ "maxLength": 4096
798
+ },
799
+ "to": {
800
+ "type": "string",
801
+ "minLength": 1,
802
+ "maxLength": 4096
803
+ }
804
+ }
805
+ }
806
+ }
807
+ },
808
+ {
809
+ "type": "object",
810
+ "additionalProperties": false,
811
+ "required": [
812
+ "capability",
813
+ "method",
814
+ "direction",
815
+ "value"
816
+ ],
817
+ "properties": {
818
+ "capability": {
819
+ "const": "aplg.fs"
820
+ },
821
+ "method": {
822
+ "const": "copyFile"
823
+ },
824
+ "direction": {
825
+ "const": "result"
826
+ },
827
+ "value": {
828
+ "type": "null"
829
+ }
830
+ }
831
+ },
832
+ {
833
+ "type": "object",
834
+ "additionalProperties": false,
835
+ "required": [
836
+ "capability",
837
+ "method",
838
+ "direction",
839
+ "value"
840
+ ],
841
+ "properties": {
842
+ "capability": {
843
+ "const": "aplg.fs"
844
+ },
845
+ "method": {
846
+ "const": "rm"
847
+ },
848
+ "direction": {
849
+ "const": "request"
850
+ },
851
+ "value": {
852
+ "type": "object",
853
+ "additionalProperties": false,
854
+ "required": [
855
+ "path",
856
+ "recursive",
857
+ "force"
858
+ ],
859
+ "properties": {
860
+ "path": {
861
+ "type": "string",
862
+ "minLength": 1,
863
+ "maxLength": 4096
864
+ },
865
+ "recursive": {
866
+ "type": "boolean"
867
+ },
868
+ "force": {
869
+ "type": "boolean"
870
+ }
871
+ }
872
+ }
873
+ }
874
+ },
875
+ {
876
+ "type": "object",
877
+ "additionalProperties": false,
878
+ "required": [
879
+ "capability",
880
+ "method",
881
+ "direction",
882
+ "value"
883
+ ],
884
+ "properties": {
885
+ "capability": {
886
+ "const": "aplg.fs"
887
+ },
888
+ "method": {
889
+ "const": "rm"
890
+ },
891
+ "direction": {
892
+ "const": "result"
893
+ },
894
+ "value": {
895
+ "type": "null"
896
+ }
897
+ }
898
+ }
899
+ ]
900
+ }