mails 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.ja.md CHANGED
@@ -3,16 +3,9 @@
3
3
  AIエージェント向けのメールインフラ。プログラムでメールの送受信ができます。
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/mails)](https://www.npmjs.com/package/mails)
6
- [![license](https://img.shields.io/npm/l/mails)](LICENSE)
6
+ [![license](https://img.shields.io/npm/l/mails)](https://github.com/chekusu/mails/blob/main/LICENSE)
7
7
 
8
- [English](README.md) | [中文](README.zh.md)
9
-
10
- ## テストカバレッジ
11
-
12
- ```
13
- 全ファイル: 100.00% Functions | 100.00% Lines
14
- ユニットテスト 78件 + ライブ E2E テスト 8件(実際の Resend + Cloudflare Email Routing)
15
- ```
8
+ [English](https://github.com/chekusu/mails/blob/main/README.md) | [中文](https://github.com/chekusu/mails/blob/main/README.zh.md)
16
9
 
17
10
  ## 特徴
18
11
 
@@ -137,10 +130,13 @@ mails config set db9_database_id YOUR_DB_ID
137
130
  ## テスト
138
131
 
139
132
  ```bash
140
- bun test # 全テスト実行
141
- bun test --coverage # カバレッジレポート付き
133
+ bun test # 全テスト実行(ユニット78件 + E2E 1件)
134
+ bun test:coverage # カバレッジレポート付き
135
+ bun test:live # ライブE2E(実際の Resend + Cloudflare、.env が必要)
142
136
  ```
143
137
 
138
+ 全ファイル: 100.00% Functions | 100.00% Lines — ユニットテスト 78件 + ライブE2Eテスト 8件
139
+
144
140
  ## ライセンス
145
141
 
146
142
  MIT
package/README.md CHANGED
@@ -3,29 +3,9 @@
3
3
  Email infrastructure for AI agents. Send and receive emails programmatically.
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/mails)](https://www.npmjs.com/package/mails)
6
- [![license](https://img.shields.io/npm/l/mails)](LICENSE)
6
+ [![license](https://img.shields.io/npm/l/mails)](https://github.com/chekusu/mails/blob/main/LICENSE)
7
7
 
8
- [日本語](README.ja.md) | [中文](README.zh.md)
9
-
10
- ## Test Coverage
11
-
12
- ```
13
- ---------------------------------|---------|---------|
14
- File | % Funcs | % Lines |
15
- ---------------------------------|---------|---------|
16
- All files | 100.00 | 100.00 |
17
- src/cli/commands/help.ts | 100.00 | 100.00 |
18
- src/core/config.ts | 100.00 | 100.00 |
19
- src/core/send.ts | 100.00 | 100.00 |
20
- src/core/types.ts | 100.00 | 100.00 |
21
- src/providers/send/resend.ts | 100.00 | 100.00 |
22
- src/providers/storage/db9.ts | 100.00 | 100.00 |
23
- src/providers/storage/sqlite.ts | 100.00 | 100.00 |
24
- worker/src/extract-code.ts | 100.00 | 100.00 |
25
- ---------------------------------|---------|---------|
26
-
27
- 78 unit tests + 8 live E2E tests (real Resend + Cloudflare Email Routing)
28
- ```
8
+ [日本語](https://github.com/chekusu/mails/blob/main/README.ja.md) | [中文](https://github.com/chekusu/mails/blob/main/README.zh.md)
29
9
 
30
10
  ## Features
31
11
 
@@ -187,8 +167,29 @@ mails config set db9_database_id YOUR_DB_ID
187
167
  ## Testing
188
168
 
189
169
  ```bash
190
- bun test # Run all tests
191
- bun test --coverage # With coverage report
170
+ bun test # Run all tests (78 unit + 1 E2E)
171
+ bun test:coverage # With coverage report
172
+ bun test:live # Live E2E with real Resend + Cloudflare (requires .env)
173
+ ```
174
+
175
+ ### Test Coverage
176
+
177
+ ```
178
+ ---------------------------------|---------|---------|
179
+ File | % Funcs | % Lines |
180
+ ---------------------------------|---------|---------|
181
+ All files | 100.00 | 100.00 |
182
+ src/cli/commands/help.ts | 100.00 | 100.00 |
183
+ src/core/config.ts | 100.00 | 100.00 |
184
+ src/core/send.ts | 100.00 | 100.00 |
185
+ src/core/types.ts | 100.00 | 100.00 |
186
+ src/providers/send/resend.ts | 100.00 | 100.00 |
187
+ src/providers/storage/db9.ts | 100.00 | 100.00 |
188
+ src/providers/storage/sqlite.ts | 100.00 | 100.00 |
189
+ worker/src/extract-code.ts | 100.00 | 100.00 |
190
+ ---------------------------------|---------|---------|
191
+
192
+ 78 unit tests + 8 live E2E tests (real Resend + Cloudflare Email Routing)
192
193
  ```
193
194
 
194
195
  ## License
package/README.zh.md CHANGED
@@ -3,16 +3,9 @@
3
3
  面向 AI Agent 的邮件基础设施。通过编程方式收发邮件。
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/mails)](https://www.npmjs.com/package/mails)
6
- [![license](https://img.shields.io/npm/l/mails)](LICENSE)
6
+ [![license](https://img.shields.io/npm/l/mails)](https://github.com/chekusu/mails/blob/main/LICENSE)
7
7
 
8
- [English](README.md) | [日本語](README.ja.md)
9
-
10
- ## 测试覆盖率
11
-
12
- ```
13
- 全部文件: 100.00% Functions | 100.00% Lines
14
- 78 个单元测试 + 8 个 Live E2E 测试(真实 Resend + Cloudflare Email Routing)
15
- ```
8
+ [English](https://github.com/chekusu/mails/blob/main/README.md) | [日本語](https://github.com/chekusu/mails/blob/main/README.ja.md)
16
9
 
17
10
  ## 特性
18
11
 
@@ -151,10 +144,13 @@ mails config set db9_database_id YOUR_DB_ID
151
144
  ## 测试
152
145
 
153
146
  ```bash
154
- bun test # 运行所有测试
155
- bun test --coverage # 带覆盖率报告
147
+ bun test # 运行所有测试(单元 78 + E2E 1)
148
+ bun test:coverage # 带覆盖率报告
149
+ bun test:live # Live E2E(真实 Resend + Cloudflare,需要 .env)
156
150
  ```
157
151
 
152
+ 全部文件: 100.00% Functions | 100.00% Lines — 78 个单元测试 + 8 个 Live E2E 测试
153
+
158
154
  ## 许可证
159
155
 
160
156
  MIT
package/dist/cli.js CHANGED
@@ -654,7 +654,7 @@ async function main() {
654
654
  case "version":
655
655
  case "--version":
656
656
  case "-v":
657
- console.log("mails v1.0.0");
657
+ console.log("mails v1.0.1");
658
658
  break;
659
659
  default:
660
660
  console.error(`Unknown command: ${command}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mails",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Email infrastructure for AI agents",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -26,7 +26,10 @@
26
26
  },
27
27
  "files": [
28
28
  "dist",
29
- "skill.md"
29
+ "skill.md",
30
+ "README.md",
31
+ "README.ja.md",
32
+ "README.zh.md"
30
33
  ],
31
34
  "keywords": [
32
35
  "email",
@@ -37,6 +40,14 @@
37
40
  "cloudflare",
38
41
  "cli"
39
42
  ],
43
+ "repository": {
44
+ "type": "git",
45
+ "url": "git+https://github.com/chekusu/mails.git"
46
+ },
47
+ "homepage": "https://mails.dev",
48
+ "bugs": {
49
+ "url": "https://github.com/chekusu/mails/issues"
50
+ },
40
51
  "author": "turing <o.u.turing@gmail.com>",
41
52
  "license": "MIT",
42
53
  "dependencies": {},