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.

cleanup

ahmedcoder011a782f8dc4db
diff --git a/.gitignore b/.gitignore
index 2538727a..3aca2e90 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,7 +10,11 @@ lerna-debug.log*
.pnpm-debug.log*
dist
-
+# SQLite database files
+data/
+*.db
+*.sqlite
+*.sqlite3
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9bbce9ce..4ad249d4 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -201,6 +201,9 @@ importers:
husky:
specifier: ^8.0.0
version: 8.0.3
+ knip:
+ specifier: ^5.61.3
+ version: 5.61.3(@types/[email protected])([email protected])
lint-staged:
specifier: ^13.2.1
version: 13.3.0
@@ -376,6 +379,15 @@ packages:
'@date-fns/[email protected]':
resolution: {integrity: sha512-YLq+crMPJiBmIdkRmv9nZuZy1mVtMlDcUKlg4mvI0UsC/dZeIaGoGB5p/C4FrpeOhZ7zBTK03T58S0DFkRNMnw==}
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-A9CnAbC6ARNMKcIcrQwq6HeHCjpcBZ5wSx4U01WXCqEKlrzB9F9315WDNHkrs2xbx7YjjSxbUYxuN6EQzpcY2g==}
+
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-hHyapA4A3gPaDCNfiqyZUStTMqIkKRshqPIuDOXv1hcBnD4U3l8cP0T1HMCfGRxQ6V64TGCcoswChANyOAwbQg==}
+
+ '@emnapi/[email protected]':
+ resolution: {integrity: sha512-8K5IFFsQqF9wQNJptGbS6FNKgUTsSRYnTqNCG1vPP8jFdjSv18n2mQfJpkt2Oibo9iBEzcDnDxNwKTzC7svlJw==}
+
'@esbuild/[email protected]':
resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==}
engines: {node: '>=12'}
@@ -741,6 +753,9 @@ packages:
cpu: [x64]
os: [win32]
+ '@napi-rs/[email protected]':
+ resolution: {integrity: sha512-9DPkXtvHydrcOsopiYpUgPHpmj0HWZKMUnL2dZqpvC42lsratuBG06V5ipyno0fUek5VlFsNQ+AcFATSrJXgMA==}
+
resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==}
engines: {node: ^14.21.3 || >=16}
@@ -761,6 +776,71 @@ packages:
resolution: {integrity: sha512-3giAOQvZiH5F9bMlMiv8+GSPMeqg0dbaeo58/0SlA9sxSqZhnUtxzX9/2FzyhS9sWQf5S0GJE0AKBrFqjpeYcg==}
engines: {node: '>=8.0.0'}
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-IQZZP6xjGvVNbXVPEwZeCDTkG7iajFsVZSaq7QwxuiJqkcE/GKd0GxGQMs6jjE72nrgSGVHQD/yws1PNzP9j5w==}
+ cpu: [arm64]
+ os: [darwin]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-nY15IBY5NjOPKIDRJ2sSLr0GThFXz4J4lgIo4fmnXanJjeeXaM5aCOL3oIxT7RbONqyMki0lzMkbX7PWqW3/lw==}
+ cpu: [x64]
+ os: [darwin]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-WQibNtsWiJZ36Q2QKYSedN6c4xoZtLhU7UOFPGTMaw/J8eb+WYh5pfzTtZR9WGZQRoS3kj0E/9683Wuskz5mMQ==}
+ cpu: [x64]
+ os: [freebsd]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-oZj20OTnjGn1qnBGYTjRXEMyd0inlw127s+DTC+Y0kdxoz5BUMqUhq5M9mZ1BH4c1qPlRto6shOFVrK4hNkhhA==}
+ cpu: [arm]
+ os: [linux]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-zxFuO4Btd1BSFjuaO0mnIA9XRWP4FX3bTbVO9KjKvO8MX6Ig2+ZDNHpzzK2zkOunHGc4sJQm5oDTcMvww+hyag==}
+ cpu: [arm64]
+ os: [linux]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-mmDNrt2yyEnsPrmq3wzRsqEYM+cpVuv8itgYU++BNJrfzdJpK+OpvR3rPToTZSOZQt3iYLfqQ2hauIIraJnJGw==}
+ cpu: [arm64]
+ os: [linux]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-CxW3/uVUlSpIEJ3sLi5Q+lk7SVgQoxUKBTsMwpY2nFiCmtzHBOuwMMKES1Hk+w/Eirz09gDjoIrxkzg3ETDSGQ==}
+ cpu: [riscv64]
+ os: [linux]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-RxfVqJnmO7uEGzpEgEzVb5Sxjy8NAYpQj+7JZZunxIyJiDK1KgOJqVJ0NZnRC1UAe/yyEpO82wQIOInaLqFBgA==}
+ cpu: [s390x]
+ os: [linux]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-Ri36HuV91PVXFw1BpTisJOZ2x9dkfgsvrjVa3lPX+QS6QRvvcdogGjPTTqgg8WkzCh6RTzd7Lx9mCZQdw06HTQ==}
+ cpu: [x64]
+ os: [linux]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-xskd2J4Jnfuze2jYKiZx4J+PY4hJ5Z0MuVh8JPNvu/FY1+SAdRei9S95dhc399Nw6eINre7xOrsugr11td3k4Q==}
+ cpu: [x64]
+ os: [linux]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-ZAHTs0MzHUlHAqKffvutprVhO7OlENWisu1fW/bVY6r+TPxsl25Q0lzbOUhrxTIJ9f0Sl5meCI2fkPeovZA7bQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-4/3RJnkrKo7EbBdWAYsSHZEjgZ8TYYAt/HrHDo5yy/5dUvxvPoetNtAudCiYKNgJOlFLzmzIXyn713MljEy6RA==}
+ cpu: [arm64]
+ os: [win32]
+
+ '@oxc-resolver/[email protected]':
+ resolution: {integrity: sha512-poXrxQLJA770Xy3gAS9mrC/dp6GatYdvNlwCWwjL6lzBNToEK66kx3tgqIaOYIqtjJDKYR58P3jWgmwJyJxEAQ==}
+ cpu: [x64]
+ os: [win32]
+
'@paralleldrive/[email protected]':
resolution: {integrity: sha512-ZOBkgDwEdoYVlSeRbYYXs0S9MejQofiVYoTbKzy/6GQa39/q5tQU2IX46+shYnUkpEl3wc+J6wRlar7r2EK2xA==}
@@ -1115,6 +1195,9 @@ packages:
resolution: {integrity: sha512-slcr1wdRbX7NFphXZOxtxRNA7hXAAtJAXJDE/wdoMAos27SIquVCKiSqfB6/28YzQ8FCsB5NKkhdM5gMADbqxg==}
engines: {node: '>=18.0.0'}
+ '@tybys/[email protected]':
+ resolution: {integrity: sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==}
+
resolution: {integrity: sha512-8iHVLHsCCOBKjCF2KwFe0p9Z3rfM9mL+sSP8btyR5vTjJRAqpBYD28/ZLgXPf0pjG1VxOvtCV/BgXkQbpSe8Hw==}
@@ -2038,6 +2121,9 @@ packages:
resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==}
+ resolution: {integrity: sha512-jKmm9YtsNXN789RS/0mSzOC1NUq9mkVd65vbSSVsKdjGvYXBuE4oWe2QOEoFeRmJg+lPuZxpmrfFclNhoRMneQ==}
+
resolution: {integrity: sha512-OP2IUU6HeYKJi3i0z4A19kHMQoLVs4Hc+DPqqxI2h/DPZHTm/vjsfC6P0b4jCMy14XizLBqvndQ+UilD7707Jw==}
@@ -2091,6 +2177,11 @@ packages:
resolution: {integrity: sha512-qsITQPfmvMOSAdeyZ+12I1c+CKSstAFAwu+97zrnWAbIr5u8wfsExUzCesVLC8NgHuRUqNN4Zy6UPWUTRGslcA==}
engines: {node: '>= 6'}
+ resolution: {integrity: sha512-lIN7GpcvX/l/i24r/L9bnJ0I8Qn01qijWpQpDDvTLL29nKqSaJJu4h20+7VJ6m2CAhQ2/En/GbxDiHCzq/0MyA==}
+ engines: {node: '>=18.3.0'}
+ hasBin: true
+
resolution: {integrity: sha512-Oz5Hwvwak/DCaXVVUtPn4oLMLLy1CdclLKO1LFgU7XzDpVMUU5UjlSLpGMocyQNNk8F6IJW9M/YdooSn2MRI+Q==}
@@ -2460,6 +2551,10 @@ packages:
engines: {node: '>=10'}
hasBin: true
+ resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==}
+ hasBin: true
+
resolution: {integrity: sha512-otDA4ldcIx+ZXsKHWmp0YizCweVRZG96J10b0FevjfuncLO1oX59THoAmHkNubYJ+9gWsYsp5k8v4ib6oDv1fA==}
@@ -2507,6 +2602,14 @@ packages:
resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}
engines: {node: '>=6'}
+ resolution: {integrity: sha512-8iSz8i8ufIjuUwUKzEwye7ROAW0RzCze7T770bUiz0PKL+SSwbs4RS32fjMztLwcOzSsNPlXdUAeqmkdzXxJ1Q==}
+ engines: {node: '>=18.18.0'}
+ hasBin: true
+ peerDependencies:
+ '@types/node': '>=18'
+ typescript: '>=5.0.4'
+
resolution: {integrity: sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==}
@@ -2771,6 +2874,9 @@ packages:
resolution: {integrity: sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==}
engines: {node: '>= 0.4'}
+ resolution: {integrity: sha512-lG/AiquYQP/4OOXaKmlPvLeCOxtlZ535489H3yk4euimwnJXIViQus2Y9Mc4c45wFQ0UYM1rFduiJ8+RGjUtTQ==}
+
resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==}
engines: {node: '>=10'}
@@ -3152,6 +3258,10 @@ packages:
resolution: {integrity: sha512-FC+lgizVPfie0kkhqUScwRu1O/lF6NOgJmlCgK+/LYxDCTk8sGelYaHDhFcDN+Sn3Cv+3VSa4Byeo+IMCzpMgQ==}
engines: {node: '>=12'}
+ resolution: {integrity: sha512-CxdwHXyYTONGHThDbq5XdwbFsuY4wlClRGejfE2NtwUtiHYsP1QtNsHb/hnj31jKYSchztJsaA8pSQoVzkfCFg==}
+ engines: {node: '>= 18'}
+
resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==}
engines: {node: '>=0.10.0'}
@@ -3227,6 +3337,10 @@ packages:
resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==}
engines: {node: '>=8'}
+ resolution: {integrity: sha512-4X2FR3UwhNUE9G49aIsJW5hRRR3GXGTBTZRMfv568O60ojM8HcWjV/VxAxCDW3SUND33O6ZY66ZuRcdkj73q2g==}
+ engines: {node: '>=14.16'}
+
resolution: {integrity: sha512-631UJ6O00eNGfMiWG78ck80dfBab8X6IVFB51jZK5Icd7XAs60Z5y7QdSd/wGIklnWvRbUNloVzhOKKmutxQ6Q==}
@@ -3501,6 +3615,10 @@ packages:
jsdom:
optional: true
+ resolution: {integrity: sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A==}
+ engines: {node: 20 || >=22}
+
resolution: {integrity: sha512-+WhC6hh3ThX7fx78VI4X1mL8ifMTow4j95tLuiUqDP96jnV4Fa4xGIilpeeBAy5hZtbh0n+irgcySkq7iPwZ4w==}
engines: {node: ^18||>=20}
@@ -3567,6 +3685,15 @@ packages:
resolution: {integrity: sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==}
engines: {node: '>=12.20'}
+ resolution: {integrity: sha512-mdi7YOLtram5dzJ5aDtm1AG9+mxRma1iaMrZdYIpFO7epdKBUwLHIxTF8CPDeCQ828zAXYtizrKlEJAtzgfgrw==}
+ engines: {node: '>=18.0.0'}
+ peerDependencies:
+ zod: ^3.25.0
+
+ resolution: {integrity: sha512-OhpzAmVzabPOL6C3A3gpAifqr9MqihV/Msx3gor2b2kviCgcb+HM9SEOpMWwwNp9MRunWnhtAKUoo0AHhjyPPg==}
+
snapshots:
'@aws-crypto/[email protected]':
@@ -3948,6 +4075,22 @@ snapshots:
'@date-fns/[email protected]': {}
+ '@emnapi/[email protected]':
+ dependencies:
+ '@emnapi/wasi-threads': 1.0.3
+ tslib: 2.8.1
+ optional: true
+
+ '@emnapi/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
+
+ '@emnapi/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
+
'@esbuild/[email protected]':
optional: true
@@ -4161,6 +4304,13 @@ snapshots:
'@msgpackr-extract/[email protected]':
optional: true
+ '@napi-rs/[email protected]':
+ dependencies:
+ '@emnapi/core': 1.4.4
+ '@emnapi/runtime': 1.4.4
+ '@tybys/wasm-util': 0.9.0
+ optional: true
+
'@noble/[email protected]': {}
'@nodelib/[email protected]':
@@ -4177,6 +4327,47 @@ snapshots:
'@opentelemetry/[email protected]': {}
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ dependencies:
+ '@napi-rs/wasm-runtime': 0.2.11
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
+ '@oxc-resolver/[email protected]':
+ optional: true
+
'@paralleldrive/[email protected]':
dependencies:
'@noble/hashes': 1.8.0
@@ -4585,6 +4776,11 @@ snapshots:
'@smithy/types': 4.3.1
tslib: 2.8.1
+ '@tybys/[email protected]':
+ dependencies:
+ tslib: 2.8.1
+ optional: true
+
'@types/[email protected]': {}
@@ -5774,6 +5970,10 @@ snapshots:
dependencies:
reusify: 1.1.0
+ dependencies:
+ walk-up-path: 4.0.0
+
@@ -5833,6 +6033,10 @@ snapshots:
hasown: 2.0.2
mime-types: 2.1.35
+ dependencies:
+ fd-package-json: 2.0.0
+
dependencies:
'@paralleldrive/cuid2': 2.2.2
@@ -6203,6 +6407,8 @@ snapshots:
filelist: 1.0.4
minimatch: 3.1.2
+
dependencies:
'@hapi/hoek': 9.3.0
@@ -6249,6 +6455,24 @@ snapshots:
+ dependencies:
+ '@nodelib/fs.walk': 1.2.8
+ '@types/node': 20.19.4
+ fast-glob: 3.3.3
+ formatly: 0.2.4
+ jiti: 2.4.2
+ js-yaml: 4.1.0
+ minimist: 1.2.8
+ oxc-resolver: 11.5.0
+ picocolors: 1.1.1
+ picomatch: 4.0.2
+ smol-toml: 1.4.1
+ strip-json-comments: 5.0.2
+ typescript: 4.9.5
+ zod: 3.25.75
+ zod-validation-error: 3.5.2([email protected])
+
@@ -6544,6 +6768,22 @@ snapshots:
object-keys: 1.1.1
safe-push-apply: 1.0.0
+ optionalDependencies:
+ '@oxc-resolver/binding-darwin-arm64': 11.5.0
+ '@oxc-resolver/binding-darwin-x64': 11.5.0
+ '@oxc-resolver/binding-freebsd-x64': 11.5.0
+ '@oxc-resolver/binding-linux-arm-gnueabihf': 11.5.0
+ '@oxc-resolver/binding-linux-arm64-gnu': 11.5.0
+ '@oxc-resolver/binding-linux-arm64-musl': 11.5.0
+ '@oxc-resolver/binding-linux-riscv64-gnu': 11.5.0
+ '@oxc-resolver/binding-linux-s390x-gnu': 11.5.0
+ '@oxc-resolver/binding-linux-x64-gnu': 11.5.0
+ '@oxc-resolver/binding-linux-x64-musl': 11.5.0
+ '@oxc-resolver/binding-wasm32-wasi': 11.5.0
+ '@oxc-resolver/binding-win32-arm64-msvc': 11.5.0
+ '@oxc-resolver/binding-win32-x64-msvc': 11.5.0
+
dependencies:
yocto-queue: 0.1.0
@@ -6953,6 +7193,8 @@ snapshots:
ansi-styles: 6.2.1
is-fullwidth-code-point: 4.0.0
+
@@ -7030,6 +7272,8 @@ snapshots:
+
dependencies:
js-tokens: 9.0.1
@@ -7297,6 +7541,8 @@ snapshots:
- supports-color
- terser
+
@@ -7390,3 +7636,9 @@ snapshots:
+
+ dependencies:
+ zod: 3.25.75
+