@openscout/scout 0.2.46 → 0.2.47
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/README.md +10 -2
- package/dist/control-plane-client/assets/{arc.es-CehM6B37.js → arc.es-BkYc1VKe.js} +1 -1
- package/dist/control-plane-client/assets/index-DLYQAPHm.js +9 -0
- package/dist/control-plane-client/index.html +1 -1
- package/dist/main.mjs +502 -60
- package/dist/scout-control-plane-web.mjs +5 -0
- package/dist/scout-web-server.mjs +5 -0
- package/package.json +2 -2
- package/dist/control-plane-client/assets/index-D17d1jzn.js +0 -9
|
@@ -14840,6 +14840,11 @@ function createScoutControlPlaneServer(options) {
|
|
|
14840
14840
|
const app = new Hono2;
|
|
14841
14841
|
const shellStateCache = createCachedSnapshot(() => loadControlPlaneShellState(currentDirectory), shellTtl);
|
|
14842
14842
|
installScoutApiMiddleware(app, "control-plane api");
|
|
14843
|
+
app.get("/api/health", (c) => c.json({
|
|
14844
|
+
ok: true,
|
|
14845
|
+
surface: "control-plane",
|
|
14846
|
+
currentDirectory
|
|
14847
|
+
}));
|
|
14843
14848
|
app.get("/api/pairing-state", async (c) => c.json(await loadPairingState(currentDirectory, false)));
|
|
14844
14849
|
app.get("/api/pairing-state/refresh", async (c) => c.json(await loadPairingState(currentDirectory, true)));
|
|
14845
14850
|
app.post("/api/pairing/control", async (c) => {
|
|
@@ -20954,6 +20954,11 @@ function createScoutWebServer(options) {
|
|
|
20954
20954
|
const currentDirectory = options.currentDirectory;
|
|
20955
20955
|
const app = new Hono2;
|
|
20956
20956
|
installScoutApiMiddleware(app, "api");
|
|
20957
|
+
app.get("/api/health", (c) => c.json({
|
|
20958
|
+
ok: true,
|
|
20959
|
+
surface: "full",
|
|
20960
|
+
currentDirectory
|
|
20961
|
+
}));
|
|
20957
20962
|
app.get("/api/app", async (c) => c.json(await services.getAppInfo()));
|
|
20958
20963
|
app.get("/api/app-info", async (c) => c.json(await services.getAppInfo()));
|
|
20959
20964
|
app.get("/api/services", async (c) => c.json(await getServicesStateCached()));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openscout/scout",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.47",
|
|
4
4
|
"description": "Published Scout package that installs the `scout` command",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"type": "module",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@openscout/runtime": "0.2.
|
|
26
|
+
"@openscout/runtime": "0.2.47"
|
|
27
27
|
}
|
|
28
28
|
}
|