|
124 | 124 | "description": "WebSocket server endpoint path", |
125 | 125 | "title": "Path" |
126 | 126 | }, |
| 127 | + "secure": { |
| 128 | + "type": "boolean", |
| 129 | + "default": false, |
| 130 | + "description": "Whether to use HTTPS and WSS for the server connection", |
| 131 | + "title": "Secure" |
| 132 | + }, |
127 | 133 | "token": { |
128 | 134 | "type": "string", |
129 | 135 | "description": "Authentication token for the WebSocket server", |
|
171 | 177 | "description": "Webhook self-server endpoint path", |
172 | 178 | "title": "Path" |
173 | 179 | }, |
| 180 | + "secure": { |
| 181 | + "type": "boolean", |
| 182 | + "default": false, |
| 183 | + "description": "Whether to use HTTPS for the server connection", |
| 184 | + "title": "Secure" |
| 185 | + }, |
174 | 186 | "token": { |
175 | 187 | "type": "string", |
176 | 188 | "description": "Authentication token for the webhook", |
|
343 | 355 | "default": 50, |
344 | 356 | "description": "轮询间隔,单位为毫秒,默认为 50 毫秒", |
345 | 357 | "title": "Step" |
| 358 | + }, |
| 359 | + "$disable": { |
| 360 | + "type": "string", |
| 361 | + "description": "Expression for whether disable this plugin" |
| 362 | + }, |
| 363 | + "$prefix": { |
| 364 | + "type": "string", |
| 365 | + "description": "Plugin name prefix" |
| 366 | + }, |
| 367 | + "$priority": { |
| 368 | + "type": "integer", |
| 369 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 370 | + }, |
| 371 | + "$filter": { |
| 372 | + "type": "string", |
| 373 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
346 | 374 | } |
347 | 375 | }, |
348 | 376 | "additionalProperties": false, |
|
351 | 379 | "::echo": { |
352 | 380 | "type": "object", |
353 | 381 | "description": "Echo the content; no configuration required", |
354 | | - "additionalProperties": true |
| 382 | + "additionalProperties": true, |
| 383 | + "properties": { |
| 384 | + "$disable": { |
| 385 | + "type": "string", |
| 386 | + "description": "Expression for whether disable this plugin" |
| 387 | + }, |
| 388 | + "$prefix": { |
| 389 | + "type": "string", |
| 390 | + "description": "Plugin name prefix" |
| 391 | + }, |
| 392 | + "$priority": { |
| 393 | + "type": "integer", |
| 394 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 395 | + }, |
| 396 | + "$filter": { |
| 397 | + "type": "string", |
| 398 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
| 399 | + } |
| 400 | + } |
355 | 401 | }, |
356 | 402 | ".record_message": { |
357 | 403 | "type": "object", |
|
368 | 414 | "default": false, |
369 | 415 | "description": "是否记录发送的消息", |
370 | 416 | "title": "Record Send" |
| 417 | + }, |
| 418 | + "$disable": { |
| 419 | + "type": "string", |
| 420 | + "description": "Expression for whether disable this plugin" |
| 421 | + }, |
| 422 | + "$prefix": { |
| 423 | + "type": "string", |
| 424 | + "description": "Plugin name prefix" |
| 425 | + }, |
| 426 | + "$priority": { |
| 427 | + "type": "integer", |
| 428 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 429 | + }, |
| 430 | + "$filter": { |
| 431 | + "type": "string", |
| 432 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
371 | 433 | } |
372 | 434 | }, |
373 | 435 | "additionalProperties": false, |
|
376 | 438 | ".scheduler": { |
377 | 439 | "type": "object", |
378 | 440 | "description": "Simple Scheduler with interval / crontab task; no configuration required", |
379 | | - "additionalProperties": true |
| 441 | + "additionalProperties": true, |
| 442 | + "properties": { |
| 443 | + "$disable": { |
| 444 | + "type": "string", |
| 445 | + "description": "Expression for whether disable this plugin" |
| 446 | + }, |
| 447 | + "$prefix": { |
| 448 | + "type": "string", |
| 449 | + "description": "Plugin name prefix" |
| 450 | + }, |
| 451 | + "$priority": { |
| 452 | + "type": "integer", |
| 453 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 454 | + }, |
| 455 | + "$filter": { |
| 456 | + "type": "string", |
| 457 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
| 458 | + } |
| 459 | + } |
380 | 460 | }, |
381 | 461 | "example_reusable@1": { |
382 | 462 | "type": "object", |
|
389 | 469 | "output": { |
390 | 470 | "type": "string", |
391 | 471 | "title": "Output" |
| 472 | + }, |
| 473 | + "$disable": { |
| 474 | + "type": "string", |
| 475 | + "description": "Expression for whether disable this plugin" |
| 476 | + }, |
| 477 | + "$prefix": { |
| 478 | + "type": "string", |
| 479 | + "description": "Plugin name prefix" |
| 480 | + }, |
| 481 | + "$priority": { |
| 482 | + "type": "integer", |
| 483 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 484 | + }, |
| 485 | + "$filter": { |
| 486 | + "type": "string", |
| 487 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
392 | 488 | } |
393 | 489 | }, |
394 | 490 | "required": [ |
|
409 | 505 | "output": { |
410 | 506 | "type": "string", |
411 | 507 | "title": "Output" |
| 508 | + }, |
| 509 | + "$disable": { |
| 510 | + "type": "string", |
| 511 | + "description": "Expression for whether disable this plugin" |
| 512 | + }, |
| 513 | + "$prefix": { |
| 514 | + "type": "string", |
| 515 | + "description": "Plugin name prefix" |
| 516 | + }, |
| 517 | + "$priority": { |
| 518 | + "type": "integer", |
| 519 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 520 | + }, |
| 521 | + "$filter": { |
| 522 | + "type": "string", |
| 523 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
412 | 524 | } |
413 | 525 | }, |
414 | 526 | "required": [ |
|
421 | 533 | "example_plugin2": { |
422 | 534 | "type": "object", |
423 | 535 | "description": "D:\\Projects\\Entari\\example_plugins\\example_plugin2\\__init__.py; no configuration required", |
424 | | - "additionalProperties": true |
| 536 | + "additionalProperties": true, |
| 537 | + "properties": { |
| 538 | + "$disable": { |
| 539 | + "type": "string", |
| 540 | + "description": "Expression for whether disable this plugin" |
| 541 | + }, |
| 542 | + "$prefix": { |
| 543 | + "type": "string", |
| 544 | + "description": "Plugin name prefix" |
| 545 | + }, |
| 546 | + "$priority": { |
| 547 | + "type": "integer", |
| 548 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 549 | + }, |
| 550 | + "$filter": { |
| 551 | + "type": "string", |
| 552 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
| 553 | + } |
| 554 | + } |
425 | 555 | }, |
426 | 556 | "example_plugin": { |
427 | 557 | "type": "object", |
428 | 558 | "description": "D:\\Projects\\Entari\\example_plugin.py; no configuration required", |
429 | | - "additionalProperties": true |
| 559 | + "additionalProperties": true, |
| 560 | + "properties": { |
| 561 | + "$disable": { |
| 562 | + "type": "string", |
| 563 | + "description": "Expression for whether disable this plugin" |
| 564 | + }, |
| 565 | + "$prefix": { |
| 566 | + "type": "string", |
| 567 | + "description": "Plugin name prefix" |
| 568 | + }, |
| 569 | + "$priority": { |
| 570 | + "type": "integer", |
| 571 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 572 | + }, |
| 573 | + "$filter": { |
| 574 | + "type": "string", |
| 575 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
| 576 | + } |
| 577 | + } |
| 578 | + }, |
| 579 | + "example_plugin3": { |
| 580 | + "type": "object", |
| 581 | + "description": "No configuration required", |
| 582 | + "additionalProperties": true, |
| 583 | + "properties": { |
| 584 | + "$disable": { |
| 585 | + "type": "string", |
| 586 | + "description": "Expression for whether disable this plugin" |
| 587 | + }, |
| 588 | + "$prefix": { |
| 589 | + "type": "string", |
| 590 | + "description": "Plugin name prefix" |
| 591 | + }, |
| 592 | + "$priority": { |
| 593 | + "type": "integer", |
| 594 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 595 | + }, |
| 596 | + "$filter": { |
| 597 | + "type": "string", |
| 598 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
| 599 | + } |
| 600 | + } |
430 | 601 | }, |
431 | 602 | "example_plugin6": { |
432 | 603 | "type": "object", |
|
441 | 612 | "type": "string", |
442 | 613 | "default": "example_plugin6", |
443 | 614 | "title": "B" |
| 615 | + }, |
| 616 | + "$disable": { |
| 617 | + "type": "string", |
| 618 | + "description": "Expression for whether disable this plugin" |
| 619 | + }, |
| 620 | + "$prefix": { |
| 621 | + "type": "string", |
| 622 | + "description": "Plugin name prefix" |
| 623 | + }, |
| 624 | + "$priority": { |
| 625 | + "type": "integer", |
| 626 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 627 | + }, |
| 628 | + "$filter": { |
| 629 | + "type": "string", |
| 630 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
444 | 631 | } |
445 | 632 | }, |
446 | 633 | "additionalProperties": false, |
|
473 | 660 | "default": true, |
474 | 661 | "description": "是否使用配置前缀", |
475 | 662 | "title": "Use Config Prefix" |
| 663 | + }, |
| 664 | + "$disable": { |
| 665 | + "type": "string", |
| 666 | + "description": "Expression for whether disable this plugin" |
| 667 | + }, |
| 668 | + "$prefix": { |
| 669 | + "type": "string", |
| 670 | + "description": "Plugin name prefix" |
| 671 | + }, |
| 672 | + "$priority": { |
| 673 | + "type": "integer", |
| 674 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 675 | + }, |
| 676 | + "$filter": { |
| 677 | + "type": "string", |
| 678 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
476 | 679 | } |
477 | 680 | }, |
478 | 681 | "additionalProperties": false, |
|
498 | 701 | "type": "string", |
499 | 702 | "description": "基础目录,默认为空,表示使用 `app_name` 作为目录名,", |
500 | 703 | "title": "Base Dir" |
| 704 | + }, |
| 705 | + "$disable": { |
| 706 | + "type": "string", |
| 707 | + "description": "Expression for whether disable this plugin" |
| 708 | + }, |
| 709 | + "$prefix": { |
| 710 | + "type": "string", |
| 711 | + "description": "Plugin name prefix" |
| 712 | + }, |
| 713 | + "$priority": { |
| 714 | + "type": "integer", |
| 715 | + "description": "Plugin loading priority, lower value means higher priority (default: 16)" |
| 716 | + }, |
| 717 | + "$filter": { |
| 718 | + "type": "string", |
| 719 | + "description": "Plugin filter expression, which will be evaluated in the context of the plugin" |
501 | 720 | } |
502 | 721 | }, |
503 | 722 | "additionalProperties": false, |
|
0 commit comments