Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,542 changes: 1,542 additions & 0 deletions packages/plugins/official/email-automation/__tests__/index.test.ts

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions packages/plugins/official/email-automation/__tests__/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "../..",
"baseUrl": "..",
"lib": ["ES2022", "DOM"],
"types": ["jest", "node"],
"paths": {
"@agentbase/plugin-sdk": ["../../../sdk/src/index.ts"]
}
},
"include": ["../src/**/*", "./**/*"],
"exclude": ["node_modules", "dist"]
}
10 changes: 10 additions & 0 deletions packages/plugins/official/email-automation/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "email-automation",
"version": "1.0.0",
"description": "Transactional emails, drip campaigns, and AI-generated copy via Resend or SendGrid.",
"entryPoint": "dist/index.js",
"author": "Agentbase Team",
"agentbaseVersion": ">=1.0.0",
"permissions": ["network:external", "db:readwrite"],
"peerDependencies": {}
}
41 changes: 41 additions & 0 deletions packages/plugins/official/email-automation/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"name": "@agentbase/plugin-email-automation",
"version": "1.0.0",
"description": "Transactional emails, drip campaigns, and AI-generated copy via Resend or SendGrid.",
"private": true,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "GPL-3.0-or-later",
"scripts": {
"build": "tsc",
"test": "jest --passWithNoTests",
"test:cov": "jest --coverage --passWithNoTests"
},
"dependencies": {
"@agentbase/plugin-sdk": "workspace:*"
},
"devDependencies": {
"@types/jest": "^29.5.0",
"@types/node": "^25.5.2",
"jest": "^29.7.0",
"ts-jest": "^29.2.0",
"typescript": "^5.7.0"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testMatch": [
"**/__tests__/**/*.test.ts"
],
"globals": {
"ts-jest": {
"tsconfig": "./tsconfig.test.json"
}
},
"coverageThreshold": {
"global": {
"lines": 80
}
}
}
}
Loading
Loading