agentflow-dashboard 0.8.2 → 0.8.3

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.
@@ -4,7 +4,7 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>AgentFlow Dashboard</title>
7
- <script type="module" crossorigin src="/assets/index-DCSWGDzI.js"></script>
7
+ <script type="module" crossorigin src="/assets/index-BgEw2MGK.js"></script>
8
8
  <link rel="stylesheet" crossorigin href="/assets/index-DHcSpTgM.css">
9
9
  </head>
10
10
  <body>
package/dist/index.cjs CHANGED
@@ -2449,10 +2449,6 @@ var DashboardServer = class {
2449
2449
  if (fs3.existsSync(clientDir)) {
2450
2450
  this.app.use(import_express.default.static(clientDir));
2451
2451
  }
2452
- const pkgVersion = JSON.parse(fs3.readFileSync(path3.resolve(__dirname, "../package.json"), "utf-8")).version;
2453
- this.app.get("/api/version", (_req, res) => {
2454
- res.json({ version: pkgVersion });
2455
- });
2456
2452
  this.app.get("/api/traces", (req, res) => {
2457
2453
  try {
2458
2454
  const limit = Math.min(Math.max(parseInt(req.query.limit, 10) || 50, 1), 200);
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  AgentStats,
4
4
  DashboardServer,
5
5
  TraceWatcher
6
- } from "./chunk-EG254FLY.js";
6
+ } from "./chunk-E5RJCBK2.js";
7
7
  export {
8
8
  AgentStats,
9
9
  DashboardServer,
package/dist/server.cjs CHANGED
@@ -2444,10 +2444,6 @@ var DashboardServer = class {
2444
2444
  if (fs3.existsSync(clientDir)) {
2445
2445
  this.app.use(import_express.default.static(clientDir));
2446
2446
  }
2447
- const pkgVersion = JSON.parse(fs3.readFileSync(path3.resolve(__dirname, "../package.json"), "utf-8")).version;
2448
- this.app.get("/api/version", (_req, res) => {
2449
- res.json({ version: pkgVersion });
2450
- });
2451
2447
  this.app.get("/api/traces", (req, res) => {
2452
2448
  try {
2453
2449
  const limit = Math.min(Math.max(parseInt(req.query.limit, 10) || 50, 1), 200);
package/dist/server.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DashboardServer
3
- } from "./chunk-EG254FLY.js";
3
+ } from "./chunk-E5RJCBK2.js";
4
4
  export {
5
5
  DashboardServer
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentflow-dashboard",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Real-time monitoring dashboard for AgentFlow - Visualize agent execution graphs and performance",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",