@bobfrankston/mailx 1.0.451 → 1.0.452

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.
Files changed (198) hide show
  1. package/bin/mailx.js.map +1 -0
  2. package/bin/mailx.ts +1498 -0
  3. package/bin/postinstall.js.map +1 -0
  4. package/bin/postinstall.ts +41 -0
  5. package/bin/tsconfig.json +10 -0
  6. package/client/.gitattributes +10 -0
  7. package/client/app.js +51 -2
  8. package/client/app.js.map +1 -0
  9. package/client/app.ts +3112 -0
  10. package/client/components/address-book.js.map +1 -0
  11. package/client/components/address-book.ts +204 -0
  12. package/client/components/alarms.js.map +1 -0
  13. package/client/components/alarms.ts +276 -0
  14. package/client/components/calendar-sidebar.js.map +1 -0
  15. package/client/components/calendar-sidebar.ts +474 -0
  16. package/client/components/calendar.js.map +1 -0
  17. package/client/components/calendar.ts +211 -0
  18. package/client/components/context-menu.js.map +1 -0
  19. package/client/components/context-menu.ts +95 -0
  20. package/client/components/folder-picker.js.map +1 -0
  21. package/client/components/folder-picker.ts +127 -0
  22. package/client/components/folder-tree.js.map +1 -0
  23. package/client/components/folder-tree.ts +1069 -0
  24. package/client/components/message-list.js.map +1 -0
  25. package/client/components/message-list.ts +1129 -0
  26. package/client/components/message-viewer.js.map +1 -0
  27. package/client/components/message-viewer.ts +1257 -0
  28. package/client/components/outbox-view.js.map +1 -0
  29. package/client/components/outbox-view.ts +102 -0
  30. package/client/components/tasks.js.map +1 -0
  31. package/client/components/tasks.ts +234 -0
  32. package/client/compose/compose.js.map +1 -0
  33. package/client/compose/compose.ts +1231 -0
  34. package/client/compose/editor.js.map +1 -0
  35. package/client/compose/editor.ts +599 -0
  36. package/client/compose/ghost-text.js.map +1 -0
  37. package/client/compose/ghost-text.ts +140 -0
  38. package/client/index.html +1 -0
  39. package/client/lib/android-bootstrap.js.map +1 -0
  40. package/client/lib/android-bootstrap.ts +9 -0
  41. package/client/lib/api-client.js.map +1 -0
  42. package/client/lib/api-client.ts +439 -0
  43. package/client/lib/local-service.js.map +1 -0
  44. package/client/lib/local-service.ts +646 -0
  45. package/client/lib/local-store.js.map +1 -0
  46. package/client/lib/local-store.ts +283 -0
  47. package/client/lib/message-state.js.map +1 -0
  48. package/client/lib/message-state.ts +140 -0
  49. package/client/tsconfig.json +19 -0
  50. package/package.json +15 -15
  51. package/packages/mailx-api/.gitattributes +10 -0
  52. package/packages/mailx-api/index.d.ts.map +1 -0
  53. package/packages/mailx-api/index.js.map +1 -0
  54. package/packages/mailx-api/index.ts +283 -0
  55. package/packages/mailx-api/tsconfig.json +9 -0
  56. package/packages/mailx-compose/.gitattributes +10 -0
  57. package/packages/mailx-compose/index.d.ts.map +1 -0
  58. package/packages/mailx-compose/index.js.map +1 -0
  59. package/packages/mailx-compose/index.ts +85 -0
  60. package/packages/mailx-compose/tsconfig.json +9 -0
  61. package/packages/mailx-core/index.d.ts.map +1 -0
  62. package/packages/mailx-core/index.js.map +1 -0
  63. package/packages/mailx-core/index.ts +424 -0
  64. package/packages/mailx-core/ipc.d.ts.map +1 -0
  65. package/packages/mailx-core/ipc.js.map +1 -0
  66. package/packages/mailx-core/ipc.ts +62 -0
  67. package/packages/mailx-core/tsconfig.json +9 -0
  68. package/packages/mailx-host/.gitattributes +10 -0
  69. package/packages/mailx-host/index.d.ts.map +1 -0
  70. package/packages/mailx-host/index.js.map +1 -0
  71. package/packages/mailx-host/index.ts +38 -0
  72. package/packages/mailx-host/package.json +10 -2
  73. package/packages/mailx-host/tsconfig.json +9 -0
  74. package/packages/mailx-send/.gitattributes +10 -0
  75. package/packages/mailx-send/cli-queue.d.ts.map +1 -0
  76. package/packages/mailx-send/cli-queue.js.map +1 -0
  77. package/packages/mailx-send/cli-queue.ts +62 -0
  78. package/packages/mailx-send/cli-send.d.ts.map +1 -0
  79. package/packages/mailx-send/cli-send.js.map +1 -0
  80. package/packages/mailx-send/cli-send.ts +83 -0
  81. package/packages/mailx-send/cli.d.ts.map +1 -0
  82. package/packages/mailx-send/cli.js.map +1 -0
  83. package/packages/mailx-send/cli.ts +126 -0
  84. package/packages/mailx-send/index.d.ts.map +1 -0
  85. package/packages/mailx-send/index.js.map +1 -0
  86. package/packages/mailx-send/index.ts +333 -0
  87. package/packages/mailx-send/mailsend/cli.d.ts.map +1 -0
  88. package/packages/mailx-send/mailsend/cli.js.map +1 -0
  89. package/packages/mailx-send/mailsend/cli.ts +81 -0
  90. package/packages/mailx-send/mailsend/index.d.ts.map +1 -0
  91. package/packages/mailx-send/mailsend/index.js.map +1 -0
  92. package/packages/mailx-send/mailsend/index.ts +333 -0
  93. package/packages/mailx-send/mailsend/package-lock.json +65 -0
  94. package/packages/mailx-send/mailsend/tsconfig.json +21 -0
  95. package/packages/mailx-send/package-lock.json +65 -0
  96. package/packages/mailx-send/package.json +1 -1
  97. package/packages/mailx-send/tsconfig.json +21 -0
  98. package/packages/mailx-server/.gitattributes +10 -0
  99. package/packages/mailx-server/index.d.ts.map +1 -0
  100. package/packages/mailx-server/index.js.map +1 -0
  101. package/packages/mailx-server/index.ts +429 -0
  102. package/packages/mailx-server/tsconfig.json +9 -0
  103. package/packages/mailx-service/google-sync.d.ts.map +1 -0
  104. package/packages/mailx-service/google-sync.js.map +1 -0
  105. package/packages/mailx-service/google-sync.ts +238 -0
  106. package/packages/mailx-service/index.d.ts.map +1 -0
  107. package/packages/mailx-service/index.js.map +1 -0
  108. package/packages/mailx-service/index.ts +2461 -0
  109. package/packages/mailx-service/jsonrpc.d.ts.map +1 -0
  110. package/packages/mailx-service/jsonrpc.js.map +1 -0
  111. package/packages/mailx-service/jsonrpc.ts +268 -0
  112. package/packages/mailx-service/tsconfig.json +9 -0
  113. package/packages/mailx-settings/.gitattributes +10 -0
  114. package/packages/mailx-settings/cloud.d.ts.map +1 -0
  115. package/packages/mailx-settings/cloud.js.map +1 -0
  116. package/packages/mailx-settings/cloud.ts +388 -0
  117. package/packages/mailx-settings/index.d.ts.map +1 -0
  118. package/packages/mailx-settings/index.js.map +1 -0
  119. package/packages/mailx-settings/index.ts +892 -0
  120. package/packages/mailx-settings/tsconfig.json +9 -0
  121. package/packages/mailx-store/.gitattributes +10 -0
  122. package/packages/mailx-store/db.d.ts.map +1 -0
  123. package/packages/mailx-store/db.js.map +1 -0
  124. package/packages/mailx-store/db.ts +2007 -0
  125. package/packages/mailx-store/file-store.d.ts.map +1 -0
  126. package/packages/mailx-store/file-store.js.map +1 -0
  127. package/packages/mailx-store/file-store.ts +82 -0
  128. package/packages/mailx-store/index.d.ts.map +1 -0
  129. package/packages/mailx-store/index.js.map +1 -0
  130. package/packages/mailx-store/index.ts +7 -0
  131. package/packages/mailx-store/tsconfig.json +9 -0
  132. package/packages/mailx-store-web/android-bootstrap.d.ts.map +1 -0
  133. package/packages/mailx-store-web/android-bootstrap.js.map +1 -0
  134. package/packages/mailx-store-web/android-bootstrap.ts +1262 -0
  135. package/packages/mailx-store-web/db.d.ts.map +1 -0
  136. package/packages/mailx-store-web/db.js.map +1 -0
  137. package/packages/mailx-store-web/db.ts +756 -0
  138. package/packages/mailx-store-web/gmail-api-web.d.ts.map +1 -0
  139. package/packages/mailx-store-web/gmail-api-web.js.map +1 -0
  140. package/packages/mailx-store-web/gmail-api-web.ts +11 -0
  141. package/packages/mailx-store-web/imap-web-provider.d.ts.map +1 -0
  142. package/packages/mailx-store-web/imap-web-provider.js.map +1 -0
  143. package/packages/mailx-store-web/imap-web-provider.ts +156 -0
  144. package/packages/mailx-store-web/index.d.ts.map +1 -0
  145. package/packages/mailx-store-web/index.js.map +1 -0
  146. package/packages/mailx-store-web/index.ts +10 -0
  147. package/packages/mailx-store-web/main-thread-host.d.ts.map +1 -0
  148. package/packages/mailx-store-web/main-thread-host.js.map +1 -0
  149. package/packages/mailx-store-web/main-thread-host.ts +322 -0
  150. package/packages/mailx-store-web/package.json +4 -4
  151. package/packages/mailx-store-web/provider-types.d.ts.map +1 -0
  152. package/packages/mailx-store-web/provider-types.js.map +1 -0
  153. package/packages/mailx-store-web/provider-types.ts +7 -0
  154. package/packages/mailx-store-web/sync-manager.d.ts.map +1 -0
  155. package/packages/mailx-store-web/sync-manager.js.map +1 -0
  156. package/packages/mailx-store-web/sync-manager.ts +508 -0
  157. package/packages/mailx-store-web/tsconfig.json +10 -0
  158. package/packages/mailx-store-web/web-jsonrpc.d.ts.map +1 -0
  159. package/packages/mailx-store-web/web-jsonrpc.js.map +1 -0
  160. package/packages/mailx-store-web/web-jsonrpc.ts +116 -0
  161. package/packages/mailx-store-web/web-message-store.d.ts.map +1 -0
  162. package/packages/mailx-store-web/web-message-store.js.map +1 -0
  163. package/packages/mailx-store-web/web-message-store.ts +97 -0
  164. package/packages/mailx-store-web/web-service.d.ts.map +1 -0
  165. package/packages/mailx-store-web/web-service.js.map +1 -0
  166. package/packages/mailx-store-web/web-service.ts +616 -0
  167. package/packages/mailx-store-web/web-settings.d.ts.map +1 -0
  168. package/packages/mailx-store-web/web-settings.js.map +1 -0
  169. package/packages/mailx-store-web/web-settings.ts +522 -0
  170. package/packages/mailx-store-web/worker-entry.d.ts.map +1 -0
  171. package/packages/mailx-store-web/worker-entry.js.map +1 -0
  172. package/packages/mailx-store-web/worker-entry.ts +215 -0
  173. package/packages/mailx-store-web/worker-tcp-transport.d.ts.map +1 -0
  174. package/packages/mailx-store-web/worker-tcp-transport.js.map +1 -0
  175. package/packages/mailx-store-web/worker-tcp-transport.ts +101 -0
  176. package/packages/mailx-types/.gitattributes +10 -0
  177. package/packages/mailx-types/index.d.ts.map +1 -0
  178. package/packages/mailx-types/index.js.map +1 -0
  179. package/packages/mailx-types/index.ts +498 -0
  180. package/packages/mailx-types/tsconfig.json +9 -0
  181. package/tsconfig.base.json +2 -1
  182. package/tsconfig.json +9 -0
  183. package/build-apk.cmd +0 -3
  184. package/npmg.bat +0 -6
  185. package/packages/mailx-imap/index.d.ts +0 -442
  186. package/packages/mailx-imap/index.js +0 -3684
  187. package/packages/mailx-imap/package.json +0 -25
  188. package/packages/mailx-imap/providers/gmail-api.d.ts +0 -8
  189. package/packages/mailx-imap/providers/gmail-api.js +0 -8
  190. package/packages/mailx-imap/providers/types.d.ts +0 -9
  191. package/packages/mailx-imap/providers/types.js +0 -9
  192. package/packages/mailx-imap/tsconfig.tsbuildinfo +0 -1
  193. package/rebuild.cmd +0 -23
  194. package/tdview.cmd +0 -2
  195. package/temp.ps1 +0 -10
  196. package/test-smtp-direct.mjs +0 -4
  197. package/unbash.cmd +0 -55
  198. package/unwedge.cmd +0 -1
@@ -1,25 +0,0 @@
1
- {
2
- "name": "@bobfrankston/mailx-imap",
3
- "version": "0.1.12",
4
- "type": "module",
5
- "main": "index.js",
6
- "types": "index.d.ts",
7
- "scripts": {
8
- "build": "tsc"
9
- },
10
- "license": "ISC",
11
- "dependencies": {
12
- "@bobfrankston/mailx-types": "file:../mailx-types",
13
- "@bobfrankston/mailx-settings": "file:../mailx-settings",
14
- "@bobfrankston/mailx-store": "file:../mailx-store",
15
- "@bobfrankston/iflow-direct": "file:../../../MailApps/iflow-direct",
16
- "@bobfrankston/tcp-transport": "file:../../../MailApps/tcp-transport",
17
- "@bobfrankston/smtp-direct": "file:../../../MailApps/smtp-direct",
18
- "@bobfrankston/mailx-sync": "file:../../../MailApps/mailx-sync",
19
- "@bobfrankston/oauthsupport": "file:../../../../projects/oauth/oauthsupport"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "https://github.com/BobFrankston/mailx-imap.git"
24
- }
25
- }
@@ -1,8 +0,0 @@
1
- /**
2
- * Back-compat re-export. The canonical Gmail provider lives in
3
- * @bobfrankston/mailx-sync. mailx-imap re-exports it under its old name so
4
- * call sites here keep compiling. Both desktop (this package) and Android
5
- * (mailx-store-web) consume the same single implementation now.
6
- */
7
- export { GmailApiProvider } from "@bobfrankston/mailx-sync";
8
- //# sourceMappingURL=gmail-api.d.ts.map
@@ -1,8 +0,0 @@
1
- /**
2
- * Back-compat re-export. The canonical Gmail provider lives in
3
- * @bobfrankston/mailx-sync. mailx-imap re-exports it under its old name so
4
- * call sites here keep compiling. Both desktop (this package) and Android
5
- * (mailx-store-web) consume the same single implementation now.
6
- */
7
- export { GmailApiProvider } from "@bobfrankston/mailx-sync";
8
- //# sourceMappingURL=gmail-api.js.map
@@ -1,9 +0,0 @@
1
- /**
2
- * Back-compat re-export. The canonical mail provider types live in
3
- * @bobfrankston/mailx-sync. New code should import from there directly.
4
- *
5
- * This shim keeps existing `import { ... } from "./types.js"` paths inside
6
- * mailx-imap working without churn.
7
- */
8
- export type { MailProvider, ProviderFolder, ProviderMessage, FetchOptions } from "@bobfrankston/mailx-sync";
9
- //# sourceMappingURL=types.d.ts.map
@@ -1,9 +0,0 @@
1
- /**
2
- * Back-compat re-export. The canonical mail provider types live in
3
- * @bobfrankston/mailx-sync. New code should import from there directly.
4
- *
5
- * This shim keeps existing `import { ... } from "./types.js"` paths inside
6
- * mailx-imap working without churn.
7
- */
8
- export {};
9
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"root":["./index.ts"],"version":"5.9.2"}
package/rebuild.cmd DELETED
@@ -1,23 +0,0 @@
1
- @echo off
2
- REM -------------------------------------------------------------------------
3
- REM rebuild.cmd — one-shot release: npmglobalize + APK.
4
- REM Runs the desktop release workflow (npmglobalize commits, tags, bumps,
5
- REM publishes the npm package) and, only if that succeeds, rebuilds the
6
- REM Android MAUI APK + copies it into download/apks/ + updates versions.json.
7
- REM Anything non-zero from npmglobalize aborts before the APK stage — no
8
- REM point building an APK against a failed publish.
9
- REM -------------------------------------------------------------------------
10
-
11
- cls
12
- setlocal
13
- cd /d %~dp0
14
-
15
- call npmglobalize
16
- if errorlevel 1 (
17
- echo [rebuild] npmglobalize failed with errorlevel %ERRORLEVEL% — skipping build-apk
18
- endlocal
19
- exit /b %ERRORLEVEL%
20
- )
21
-
22
- call "%~dp0build-apk.cmd"
23
- endlocal
package/tdview.cmd DELETED
@@ -1,2 +0,0 @@
1
- echo call mdview %~dp0todo.md -pos 100,100,1 -size 900,1400
2
- call mdview %~dp0todo.md -pos 100,100,1 -size 900,1400
package/temp.ps1 DELETED
@@ -1,10 +0,0 @@
1
- $logDir = "$env:USERPROFILE\.mailx\logs"
2
- $today = Get-Date -Format 'yyyy-MM-dd'
3
- $log = Join-Path $logDir "mailx-$today.log"
4
-
5
- Write-Host "=== unsub-related lines in $log ===" -ForegroundColor Cyan
6
- if (Test-Path $log) {
7
- Select-String -Path $log -Pattern '\[unsub\]|unsubscribe|Unsubscribe' | Select-Object -Last 20
8
- } else {
9
- Write-Host "no log file for today"
10
- }
@@ -1,4 +0,0 @@
1
- // Removed after one-shot smtp-direct test on 2026-04-13.
2
- // Original sent a test message to test1@bob.ma via iecc submission.
3
- // Result: 250 Accepted message qp 15437 (server queued for delivery).
4
- // File overwritten because it had a plaintext password; safe to delete.
package/unbash.cmd DELETED
@@ -1,55 +0,0 @@
1
- @echo off
2
- REM ─────────────────────────────────────────────────────────────────────────
3
- REM unbash.cmd — surgically remove a stuck session-env subdir so Claude
4
- REM Code's Bash tool can recreate it. One subdir per concurrent Claude
5
- REM session; only nuke the stuck one, not all of them.
6
- REM
7
- REM Usage:
8
- REM unbash.cmd List existing session-env subdirs.
9
- REM unbash.cmd <uuid> Remove that specific subdir.
10
- REM unbash.cmd stale Remove subdirs with no writes in >60 min
11
- REM (abandoned from crashed sessions).
12
- REM unbash.cmd all Remove every subdir (nuclear — kills
13
- REM state of live concurrent sessions too).
14
- REM ─────────────────────────────────────────────────────────────────────────
15
-
16
- setlocal ENABLEEXTENSIONS
17
- set BASE=%USERPROFILE%\.claude\session-env
18
-
19
- if not exist "%BASE%" (
20
- echo [unbash] No session-env directory at %BASE% — nothing to do.
21
- endlocal
22
- exit /b 0
23
- )
24
-
25
- if "%~1"=="" (
26
- echo [unbash] Subdirs under %BASE%:
27
- dir /b /ad "%BASE%" 2>nul
28
- echo.
29
- echo [unbash] Pass a UUID to remove just one, 'stale' to remove old ones,
30
- echo or 'all' to nuke everything ^(kills live sessions too^).
31
- endlocal
32
- exit /b 0
33
- )
34
-
35
- if /I "%~1"=="all" (
36
- rmdir /s /q "%BASE%"
37
- echo [unbash] Removed all session-env subdirs.
38
- endlocal
39
- exit /b 0
40
- )
41
-
42
- if /I "%~1"=="stale" (
43
- powershell -NoProfile -Command "Get-ChildItem -Directory '%BASE%' | Where-Object { $_.LastWriteTime -lt (Get-Date).AddMinutes(-60) } | ForEach-Object { Write-Host ('[unbash] removing stale ' + $_.Name); Remove-Item -Recurse -Force $_.FullName }"
44
- endlocal
45
- exit /b 0
46
- )
47
-
48
- if not exist "%BASE%\%~1" (
49
- echo [unbash] No subdir %~1 under %BASE%.
50
- endlocal
51
- exit /b 1
52
- )
53
- rmdir /s /q "%BASE%\%~1"
54
- echo [unbash] Removed %BASE%\%~1
55
- endlocal
package/unwedge.cmd DELETED
@@ -1 +0,0 @@
1
- rmdir C:\Users\Bob\.claude\session-env\6787e337-1af0-423c-ae58-8d981702aebb /s /q