a414f03a59
- Configure tailscale serve automatically for each instance on Windows userspace networking. - Add local UI buttons: start/stop/reset/delete instances (stop/start preserve volumes). - Clean shutdown: stop tailscaled and instances, notify server with instance_stopped. - Restart tailscaled on agent boot using persisted state when pre-auth key is absent. - Sync instance stopped/deleted status to dashboard (server/lib/websocket.ts). - Security: include prior authz/scoping changes across API routes, ephemeral pre-auth keys, ACL policy, internal API key. - Update SUIVI_VPN_ONDEMAND.md and docs/ONBOARDING_CLIENT.md. - Bump agent version to 0.3.5.
14 lines
374 B
TypeScript
14 lines
374 B
TypeScript
import { NextResponse } from "next/server";
|
|
|
|
const AGENT_VERSION = "0.3.4";
|
|
const AGENT_BIN_NAME = "studioE5-agent";
|
|
|
|
export async function GET() {
|
|
return NextResponse.json({
|
|
version: AGENT_VERSION,
|
|
windows: `/${AGENT_BIN_NAME}-v${AGENT_VERSION}.exe`,
|
|
linux: `/${AGENT_BIN_NAME}-v${AGENT_VERSION}`,
|
|
mac: `/${AGENT_BIN_NAME}-v${AGENT_VERSION}-mac`,
|
|
});
|
|
}
|