v0
This commit is contained in:
53
plugin-log-viewer/src/manifest.ts
Normal file
53
plugin-log-viewer/src/manifest.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
import type { PaperclipPluginManifestV1 } from "@paperclipai/plugin-sdk";
|
||||
|
||||
const manifest: PaperclipPluginManifestV1 = {
|
||||
id: "paperclipai.plugin-log-viewer",
|
||||
apiVersion: 1,
|
||||
version: "0.1.0",
|
||||
displayName: "Log Viewer",
|
||||
description: "Monitor and view agent run logs and activity in real-time",
|
||||
author: "FrenoCorp",
|
||||
categories: ["automation", "ui"],
|
||||
capabilities: [
|
||||
"events.subscribe",
|
||||
"plugin.state.read",
|
||||
"plugin.state.write",
|
||||
"activity.read"
|
||||
],
|
||||
entrypoints: {
|
||||
worker: "./dist/worker.js",
|
||||
ui: "./dist/ui"
|
||||
},
|
||||
ui: {
|
||||
slots: [
|
||||
{
|
||||
type: "dashboardWidget",
|
||||
id: "log-viewer-widget",
|
||||
displayName: "Log Activity",
|
||||
exportName: "DashboardWidget"
|
||||
},
|
||||
{
|
||||
type: "page",
|
||||
id: "logs",
|
||||
displayName: "Log Viewer",
|
||||
exportName: "LogsPage"
|
||||
}
|
||||
],
|
||||
launchers: [
|
||||
{
|
||||
id: "open-logs",
|
||||
displayName: "View Logs",
|
||||
placementZone: "globalToolbarButton",
|
||||
action: {
|
||||
type: "navigate",
|
||||
target: "/plugins/log-viewer"
|
||||
},
|
||||
render: {
|
||||
environment: "hostRoute"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
export default manifest;
|
||||
Reference in New Issue
Block a user