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.
- package/dist/{chunk-EG254FLY.js → chunk-E5RJCBK2.js} +0 -4
- package/dist/cli.cjs +0 -4
- package/dist/cli.js +1 -1
- package/dist/client/assets/{index-DCSWGDzI.js → index-BgEw2MGK.js} +7 -7
- package/dist/client/index.html +1 -1
- package/dist/index.cjs +0 -4
- package/dist/index.js +1 -1
- package/dist/server.cjs +0 -4
- package/dist/server.js +1 -1
- package/package.json +1 -1
|
@@ -2425,10 +2425,6 @@ var DashboardServer = class {
|
|
|
2425
2425
|
if (fs3.existsSync(clientDir)) {
|
|
2426
2426
|
this.app.use(express.static(clientDir));
|
|
2427
2427
|
}
|
|
2428
|
-
const pkgVersion = JSON.parse(fs3.readFileSync(path3.resolve(__dirname, "../package.json"), "utf-8")).version;
|
|
2429
|
-
this.app.get("/api/version", (_req, res) => {
|
|
2430
|
-
res.json({ version: pkgVersion });
|
|
2431
|
-
});
|
|
2432
2428
|
this.app.get("/api/traces", (req, res) => {
|
|
2433
2429
|
try {
|
|
2434
2430
|
const limit = Math.min(Math.max(parseInt(req.query.limit, 10) || 50, 1), 200);
|
package/dist/cli.cjs
CHANGED
|
@@ -2267,10 +2267,6 @@ var DashboardServer = class {
|
|
|
2267
2267
|
if (fs2.existsSync(clientDir)) {
|
|
2268
2268
|
this.app.use(import_express.default.static(clientDir));
|
|
2269
2269
|
}
|
|
2270
|
-
const pkgVersion = JSON.parse(fs2.readFileSync(path2.resolve(__dirname, "../package.json"), "utf-8")).version;
|
|
2271
|
-
this.app.get("/api/version", (_req, res) => {
|
|
2272
|
-
res.json({ version: pkgVersion });
|
|
2273
|
-
});
|
|
2274
2270
|
this.app.get("/api/traces", (req, res) => {
|
|
2275
2271
|
try {
|
|
2276
2272
|
const limit = Math.min(Math.max(parseInt(req.query.limit, 10) || 50, 1), 200);
|