{
	"version": "2.0.0",
	"tasks": [
		{
			"label": "MCP TomTom: Start Development Server",
			"type": "shell",
			"command": "npm",
			"args": ["run", "dev"],
			"group": {
				"kind": "build",
				"isDefault": true
			},
			"presentation": {
				"reveal": "always",
				"panel": "dedicated",
				"clear": true
			},
			"problemMatcher": []
		},
		{
			"label": "MCP TomTom: Start HTTP Server",
			"type": "shell",
			"command": "node",
			"args": ["./bin/mcp-tomtom-server.js", "--port", "3000"],
			"group": "build",
			"presentation": {
				"reveal": "always",
				"panel": "dedicated",
				"clear": true
			},
			"problemMatcher": []
		},
		{
			"label": "MCP TomTom: Build",
			"type": "shell",
			"command": "npm",
			"args": ["run", "build"],
			"group": "build",
			"presentation": {
				"reveal": "always",
				"panel": "shared",
				"clear": true
			},
			"problemMatcher": ["$tsc"]
		},
		{
			"label": "MCP TomTom: Run Setup Script",
			"type": "shell",
			"command": "npm",
			"args": ["run", "setup"],
			"group": "none",
			"presentation": {
				"reveal": "always",
				"panel": "shared",
				"clear": true
			},
			"problemMatcher": []
		},
		{
			"label": "MCP TomTom: Start JavaScript Server",
			"type": "shell",
			"command": "npm",
			"args": ["run", "dev:js"],
			"group": "test",
			"presentation": {
				"reveal": "always",
				"panel": "dedicated",
				"clear": true
			},
			"problemMatcher": []
		},
		{
			"label": "MCP TomTom: Test Traffic Incidents",
			"type": "shell",
			"command": "node",
			"args": ["test-traffic.js", "incidents", "${input:cityName}"],
			"group": "test",
			"presentation": {
				"reveal": "always",
				"panel": "shared",
				"clear": true
			},
			"problemMatcher": []
		},
		{
			"label": "MCP TomTom: Test Traffic Flow",
			"type": "shell",
			"command": "node",
			"args": ["test-traffic.js", "flow", "${input:latLon}"],
			"group": "test",
			"presentation": {
				"reveal": "always",
				"panel": "shared",
				"clear": true
			},
			"problemMatcher": []
		},
		{
			"label": "MCP TomTom: Test HTTP Client",
			"type": "shell",
			"command": "node",
			"args": ["test-http-client.js", "${input:httpPort}"],
			"group": "test",
			"presentation": {
				"reveal": "always",
				"panel": "shared",
				"clear": true
			},
			"problemMatcher": []
		}
	],
	"inputs": [
		{
			"id": "cityName",
			"description": "Enter city name for traffic incidents:",
			"default": "Amsterdam",
			"type": "promptString"
		},
		{
			"id": "latLon",
			"description": "Enter lat,lon coordinates for traffic flow:",
			"default": "52.3740,4.8897",
			"type": "promptString"
		},
		{
			"id": "httpPort",
			"description": "Enter HTTP port to connect to:",
			"default": "3000",
			"type": "promptString"
		}
	]
}