Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

middleware add domain routes

Ahmed Essamb2d0b8da46d4
diff --git a/.vscode/launch.json b/.vscode/launch.json
index ea3de4c4..22522325 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -19,10 +19,11 @@
"name": "SmythOS Middleware",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/packages/middleware/dist/index.js",
- "preLaunchTask": "npm: build",
+ "preLaunchTask": "build-middleware",
"outFiles": ["${workspaceFolder}/packages/middleware/dist/**/*.js"],
"sourceMaps": true,
"env": {},
+
"outputCapture": "std"
},
{
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 00000000..be145b72
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,15 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "build-middleware",
+ "type": "shell",
+ "command": "npm run build",
+ "options": {
+ "cwd": "${workspaceFolder}/packages/middleware"
+ },
+ "problemMatcher": []
+ }
+ ]
+ }
+
\ No newline at end of file