@bopen-io/tortuga-plugin 0.0.4 → 0.0.5
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/dist/constants.js +48 -0
- package/dist/constants.js.map +7 -0
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
const PLUGIN_ID = "bopen-io.tortuga-plugin";
|
|
2
|
+
const PLUGIN_VERSION = "0.0.3";
|
|
3
|
+
const PAGE_ROUTE = "tortuga";
|
|
4
|
+
const SLOT_IDS = {
|
|
5
|
+
dashboardWidget: "tortuga-dashboard-widget",
|
|
6
|
+
page: "tortuga-page",
|
|
7
|
+
sidebar: "tortuga-sidebar-link"
|
|
8
|
+
};
|
|
9
|
+
const EXPORT_NAMES = {
|
|
10
|
+
dashboardWidget: "FleetStatusWidget",
|
|
11
|
+
page: "FleetMonitorPage",
|
|
12
|
+
sidebar: "TortugaSidebarLink"
|
|
13
|
+
};
|
|
14
|
+
const JOB_KEYS = {
|
|
15
|
+
fleetHealth: "fleet-health"
|
|
16
|
+
};
|
|
17
|
+
const STREAM_CHANNELS = {
|
|
18
|
+
fleetStatus: "fleet-status"
|
|
19
|
+
};
|
|
20
|
+
const DATA_KEYS = {
|
|
21
|
+
fleetOverview: "fleet-overview",
|
|
22
|
+
agentDetail: "agent-detail"
|
|
23
|
+
};
|
|
24
|
+
const ACTION_KEYS = {
|
|
25
|
+
pauseAgent: "pause-agent",
|
|
26
|
+
resumeAgent: "resume-agent",
|
|
27
|
+
invokeAgent: "invoke-agent"
|
|
28
|
+
};
|
|
29
|
+
const STATE_KEYS = {
|
|
30
|
+
agentHealth: "agent-health",
|
|
31
|
+
lastHealthCheck: "last-health-check",
|
|
32
|
+
runCount: "run-count",
|
|
33
|
+
lastRunAt: "last-run-at",
|
|
34
|
+
failureCount: "failure-count"
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
ACTION_KEYS,
|
|
38
|
+
DATA_KEYS,
|
|
39
|
+
EXPORT_NAMES,
|
|
40
|
+
JOB_KEYS,
|
|
41
|
+
PAGE_ROUTE,
|
|
42
|
+
PLUGIN_ID,
|
|
43
|
+
PLUGIN_VERSION,
|
|
44
|
+
SLOT_IDS,
|
|
45
|
+
STATE_KEYS,
|
|
46
|
+
STREAM_CHANNELS
|
|
47
|
+
};
|
|
48
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/constants.ts"],
|
|
4
|
+
"sourcesContent": ["export const PLUGIN_ID = \"bopen-io.tortuga-plugin\";\nexport const PLUGIN_VERSION = \"0.0.3\";\nexport const PAGE_ROUTE = \"tortuga\";\n\nexport const SLOT_IDS = {\n dashboardWidget: \"tortuga-dashboard-widget\",\n page: \"tortuga-page\",\n sidebar: \"tortuga-sidebar-link\",\n} as const;\n\nexport const EXPORT_NAMES = {\n dashboardWidget: \"FleetStatusWidget\",\n page: \"FleetMonitorPage\",\n sidebar: \"TortugaSidebarLink\",\n} as const;\n\nexport const JOB_KEYS = {\n fleetHealth: \"fleet-health\",\n} as const;\n\nexport const STREAM_CHANNELS = {\n fleetStatus: \"fleet-status\",\n} as const;\n\nexport const DATA_KEYS = {\n fleetOverview: \"fleet-overview\",\n agentDetail: \"agent-detail\",\n} as const;\n\nexport const ACTION_KEYS = {\n pauseAgent: \"pause-agent\",\n resumeAgent: \"resume-agent\",\n invokeAgent: \"invoke-agent\",\n} as const;\n\nexport const STATE_KEYS = {\n agentHealth: \"agent-health\",\n lastHealthCheck: \"last-health-check\",\n runCount: \"run-count\",\n lastRunAt: \"last-run-at\",\n failureCount: \"failure-count\",\n} as const;\n"],
|
|
5
|
+
"mappings": "AAAO,MAAM,YAAY;AAClB,MAAM,iBAAiB;AACvB,MAAM,aAAa;AAEnB,MAAM,WAAW;AAAA,EACtB,iBAAiB;AAAA,EACjB,MAAM;AAAA,EACN,SAAS;AACX;AAEO,MAAM,eAAe;AAAA,EAC1B,iBAAiB;AAAA,EACjB,MAAM;AAAA,EACN,SAAS;AACX;AAEO,MAAM,WAAW;AAAA,EACtB,aAAa;AACf;AAEO,MAAM,kBAAkB;AAAA,EAC7B,aAAa;AACf;AAEO,MAAM,YAAY;AAAA,EACvB,eAAe;AAAA,EACf,aAAa;AACf;AAEO,MAAM,cAAc;AAAA,EACzB,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,aAAa;AACf;AAEO,MAAM,aAAa;AAAA,EACxB,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,UAAU;AAAA,EACV,WAAW;AAAA,EACX,cAAc;AAChB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bopen-io/tortuga-plugin",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "bOpen agent fleet bridge: syncs agents from ClawNet registry, exposes skills as tools, fleet monitoring, webhook integrations",
|