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.

rm templates api

Ahmed Essam87421b1879de
diff --git a/packages/app/src/backend/routes/api/page/index.ts b/packages/app/src/backend/routes/api/page/index.ts
index b21cc371..c58d5c3a 100644
--- a/packages/app/src/backend/routes/api/page/index.ts
+++ b/packages/app/src/backend/routes/api/page/index.ts
@@ -7,13 +7,11 @@ import collection from './collection';
import logs from './logs';
import { onboardRouter } from './onboard';
import teams from './teams';
-import templates from './templates';
import user from './user';
import vault from './vault';
const routers = {
agents,
- templates,
teams,
user,
builder,
diff --git a/packages/app/src/backend/routes/api/page/templates.ts b/packages/app/src/backend/routes/api/page/templates.ts
deleted file mode 100644
index d0d663f0..00000000
--- a/packages/app/src/backend/routes/api/page/templates.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import express from 'express';
-import { readAgentTemplates } from '../../router.utils';
-
-const router = express.Router();
-
-router.get('/agent-templates', async (req, res) => {
- try {
- const templates = await readAgentTemplates(req);
- return res.send({ success: true, data: templates });
- } catch (error) {
- return res.send({ success: true, data: {} });
- }
-});
-
-export default router;
diff --git a/packages/app/tsconfig.json b/packages/app/tsconfig.json
index 024c1687..d6dfd86f 100644
--- a/packages/app/tsconfig.json
+++ b/packages/app/tsconfig.json
@@ -22,7 +22,7 @@
"include": [
"src/**/*",
"node_modules/@types",
- "eslint.config.js", "../../../src/server/api/pages/quota.ts", "../../../src/react/features/subscriptions/utils", "../../../src/react/features/agent-settings/pages/AgentSettingsBulkCallPage.tsx", "../../../src/react/features/agent-settings/components/agent-bulk-call/BulkSkillCallForm.tsx", "../../../src/react/features/agent-settings/components/agent-bulk-call/meta/skill-calls-utils.tsx", "../../../src/react/features/agent-settings/components/agent-bulk-call/meta/UploadDataBtn.tsx", "../../../src/react/features/templates/components/AgentsPageTemplateSection.tsx",
+ "eslint.config.js", "../../../src/server/api/pages/quota.ts", "../../../src/react/features/subscriptions/utils", "../../../src/react/features/agent-settings/pages/AgentSettingsBulkCallPage.tsx", "../../../src/react/features/agent-settings/components/agent-bulk-call/BulkSkillCallForm.tsx", "../../../src/react/features/agent-settings/components/agent-bulk-call/meta/skill-calls-utils.tsx", "../../../src/react/features/agent-settings/components/agent-bulk-call/meta/UploadDataBtn.tsx", "../../../src/react/features/templates/components/AgentsPageTemplateSection.tsx", "../../../src/server/api/pages/templates.ts",
],
"exclude": ["node_modules"]
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index eb1f18e6..23fc8548 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -215,9 +215,6 @@ importers:
multer:
specifier: ^1.4.5-lts.1
version: 1.4.5-lts.2
- multer-s3:
- specifier: ^3.0.1
- version: 3.0.1(@aws-sdk/[email protected])
node-cache:
specifier: ^5.1.2
version: 5.1.2
@@ -381,9 +378,6 @@ importers:
'@types/multer':
specifier: ^1.4.7
version: 1.4.13
- '@types/multer-s3':
- specifier: ^3.0.0
- version: 3.0.3
'@types/node':
specifier: ^20.4.1
version: 20.19.4
@@ -3699,9 +3693,6 @@ packages:
resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==}
- '@types/[email protected]':
- resolution: {integrity: sha512-VgWygI9UwyS7loLithUUi0qAMIDWdNrERS2Sb06UuPYiLzKuIFn2NgL7satyl4v8sh/LLoU7DiPanvbQaRg9Yg==}
-
resolution: {integrity: sha512-bhhdtPw7JqCiEfC9Jimx5LqX9BDIPJEh2q/fQ4bqbBPtyEZYr3cvF22NwG0DmPZNYA0CAf2CnqDB4KIGGpJcaw==}
@@ -6390,12 +6381,6 @@ packages:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
- resolution: {integrity: sha512-BFwSO80a5EW4GJRBdUuSHblz2jhVSAze33ZbnGpcfEicoT0iRolx4kWR+AJV07THFRCQ78g+kelKFdjkCCaXeQ==}
- engines: {node: '>= 12.0.0'}
- peerDependencies:
- '@aws-sdk/client-s3': ^3.0.0
-
resolution: {integrity: sha512-VzGiVigcG9zUAoCNU+xShztrlr1auZOlurXynNvO9GiWD1/mTBbUljOKY+qMeazBqXgRnjzeEgJI/wyjJUHg9A==}
engines: {node: '>= 6.0.0'}
@@ -11915,14 +11900,6 @@ snapshots:
'@types/[email protected]': {}
- '@types/[email protected]':
- dependencies:
- '@aws-sdk/client-s3': 3.842.0
- '@types/multer': 1.4.13
- '@types/node': 20.19.4
- transitivePeerDependencies:
- - aws-crt
-
dependencies:
'@types/express': 4.17.23
@@ -15394,14 +15371,6 @@ snapshots:
- dependencies:
- '@aws-sdk/client-s3': 3.842.0
- '@aws-sdk/lib-storage': 3.437.0(@aws-sdk/[email protected])
- file-type: 3.9.0
- html-comment-regex: 1.1.2
- run-parallel: 1.2.0
-
dependencies:
append-field: 1.0.0