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.

fix errors mw

Ahmed Essamef61f585ddc0
diff --git a/.vscode/launch.json b/.vscode/launch.json
index ea3de4c4..4cfe641b 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -1,25 +1,27 @@
{
"version": "0.2.0",
- "configurations": [
+ "configurations": [
{
"type": "node",
"request": "launch",
- "name": "SmythOS UI Backend",
+ "name": "Debug UI App (Backend Only)",
"skipFiles": ["<node_internals>/**"],
- "preLaunchTask": "cd ${workspaceFolder}/packages/app && pnpm run bundle:backend",
"program": "${workspaceFolder}/packages/app/dist/server/index.js",
- "outFiles": ["${workspaceFolder}/packages/app/dist/server/**/*.js"],
- "sourceMap": true,
- "outputCapture": "std"
+ "preLaunchTask": "start-ui-debug",
+ "outFiles": ["${workspaceFolder}/packages/app/dist/**/*.js"],
+ "sourceMaps": true,
+ "cwd": "${workspaceFolder}/packages/app",
+ "env": {},
+ "outputCapture": "std",
+ "console": "integratedTerminal"
},
-
{
"type": "node",
"request": "launch",
"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": {},
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 00000000..a3f86568
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,48 @@
+{
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "build-middleware",
+ "type": "shell",
+ "command": "npm run build",
+ "options": {
+ "cwd": "${workspaceFolder}/packages/middleware"
+ },
+ "problemMatcher": []
+ },
+ {
+ "label": "build-app-backend",
+ "type": "shell",
+ "command": "npm run build:backend",
+ "options": {
+ "cwd": "${workspaceFolder}/packages/app"
+ },
+ "problemMatcher": []
+ },
+ {
+ "label": "start-frontend-processes",
+ "type": "shell",
+ "command": "npx concurrently --kill-others-on-fail -n VIEWS,BUILDER-UI,REACT -c blue,green,cyan \"nodemon --config ./scripts/watch/nodemon-views.json\" \"nodemon --config ./scripts/watch/nodemon-vanilla.json\" \"pnpm run dev:react\"",
+ "options": {
+ "cwd": "${workspaceFolder}/packages/app"
+ },
+ "isBackground": true,
+ "problemMatcher": {
+ "pattern": {
+ "regexp": "^$"
+ },
+ "background": {
+ "activeOnStart": true,
+ "beginsPattern": ".*",
+ "endsPattern": ".*"
+ }
+ }
+ },
+ {
+ "label": "start-ui-debug",
+ "dependsOrder": "sequence",
+ "dependsOn": ["build-app-backend", "start-frontend-processes"]
+ }
+ ]
+ }
+
\ No newline at end of file