@jhytabest/plashboard 0.1.6 → 0.1.7
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/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/src/plugin.ts +15 -0
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
package/src/plugin.ts
CHANGED
|
@@ -558,6 +558,11 @@ export function registerPlashboardPlugin(api: UnknownApi): void {
|
|
|
558
558
|
name: 'plashboard_init',
|
|
559
559
|
description: 'Initialize plashboard state directories and optional default template.',
|
|
560
560
|
optional: true,
|
|
561
|
+
parameters: {
|
|
562
|
+
type: 'object',
|
|
563
|
+
properties: {},
|
|
564
|
+
additionalProperties: false
|
|
565
|
+
},
|
|
561
566
|
execute: async () => toToolResult(await runtime.init())
|
|
562
567
|
});
|
|
563
568
|
|
|
@@ -598,6 +603,11 @@ export function registerPlashboardPlugin(api: UnknownApi): void {
|
|
|
598
603
|
name: 'plashboard_template_list',
|
|
599
604
|
description: 'List available dashboard templates with schedule and run state.',
|
|
600
605
|
optional: true,
|
|
606
|
+
parameters: {
|
|
607
|
+
type: 'object',
|
|
608
|
+
properties: {},
|
|
609
|
+
additionalProperties: false
|
|
610
|
+
},
|
|
601
611
|
execute: async () => toToolResult(await runtime.templateList())
|
|
602
612
|
});
|
|
603
613
|
|
|
@@ -703,6 +713,11 @@ export function registerPlashboardPlugin(api: UnknownApi): void {
|
|
|
703
713
|
name: 'plashboard_status',
|
|
704
714
|
description: 'Read current plashboard runtime status.',
|
|
705
715
|
optional: true,
|
|
716
|
+
parameters: {
|
|
717
|
+
type: 'object',
|
|
718
|
+
properties: {},
|
|
719
|
+
additionalProperties: false
|
|
720
|
+
},
|
|
706
721
|
execute: async () => toToolResult(await runtime.status())
|
|
707
722
|
});
|
|
708
723
|
|