@bobfrankston/mailx 1.0.451 → 1.0.453
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/bin/mailx.js.map +1 -0
- package/bin/mailx.ts +1498 -0
- package/bin/postinstall.js.map +1 -0
- package/bin/postinstall.ts +41 -0
- package/bin/tsconfig.json +10 -0
- package/client/.gitattributes +10 -0
- package/client/app.js +51 -2
- package/client/app.js.map +1 -0
- package/client/app.ts +3112 -0
- package/client/components/address-book.js.map +1 -0
- package/client/components/address-book.ts +204 -0
- package/client/components/alarms.js.map +1 -0
- package/client/components/alarms.ts +276 -0
- package/client/components/calendar-sidebar.js.map +1 -0
- package/client/components/calendar-sidebar.ts +474 -0
- package/client/components/calendar.js.map +1 -0
- package/client/components/calendar.ts +211 -0
- package/client/components/context-menu.js.map +1 -0
- package/client/components/context-menu.ts +95 -0
- package/client/components/folder-picker.js.map +1 -0
- package/client/components/folder-picker.ts +127 -0
- package/client/components/folder-tree.js.map +1 -0
- package/client/components/folder-tree.ts +1069 -0
- package/client/components/message-list.js.map +1 -0
- package/client/components/message-list.ts +1129 -0
- package/client/components/message-viewer.js.map +1 -0
- package/client/components/message-viewer.ts +1257 -0
- package/client/components/outbox-view.js.map +1 -0
- package/client/components/outbox-view.ts +102 -0
- package/client/components/tasks.js.map +1 -0
- package/client/components/tasks.ts +234 -0
- package/client/compose/compose.js.map +1 -0
- package/client/compose/compose.ts +1231 -0
- package/client/compose/editor.js.map +1 -0
- package/client/compose/editor.ts +599 -0
- package/client/compose/ghost-text.js.map +1 -0
- package/client/compose/ghost-text.ts +140 -0
- package/client/index.html +1 -0
- package/client/lib/android-bootstrap.js.map +1 -0
- package/client/lib/android-bootstrap.ts +9 -0
- package/client/lib/api-client.js.map +1 -0
- package/client/lib/api-client.ts +439 -0
- package/client/lib/local-service.js.map +1 -0
- package/client/lib/local-service.ts +646 -0
- package/client/lib/local-store.js.map +1 -0
- package/client/lib/local-store.ts +283 -0
- package/client/lib/message-state.js.map +1 -0
- package/client/lib/message-state.ts +140 -0
- package/client/tsconfig.json +19 -0
- package/package.json +18 -16
- package/packages/mailx-api/.gitattributes +10 -0
- package/packages/mailx-api/index.d.ts.map +1 -0
- package/packages/mailx-api/index.js.map +1 -0
- package/packages/mailx-api/index.ts +283 -0
- package/packages/mailx-api/package.json +1 -1
- package/packages/mailx-api/tsconfig.json +9 -0
- package/packages/mailx-compose/.gitattributes +10 -0
- package/packages/mailx-compose/index.d.ts.map +1 -0
- package/packages/mailx-compose/index.js.map +1 -0
- package/packages/mailx-compose/index.ts +85 -0
- package/packages/mailx-compose/tsconfig.json +9 -0
- package/packages/mailx-core/index.d.ts.map +1 -0
- package/packages/mailx-core/index.js.map +1 -0
- package/packages/mailx-core/index.ts +424 -0
- package/packages/mailx-core/ipc.d.ts.map +1 -0
- package/packages/mailx-core/ipc.js.map +1 -0
- package/packages/mailx-core/ipc.ts +62 -0
- package/packages/mailx-core/package.json +1 -1
- package/packages/mailx-core/tsconfig.json +9 -0
- package/packages/mailx-host/.gitattributes +10 -0
- package/packages/mailx-host/index.d.ts.map +1 -0
- package/packages/mailx-host/index.js.map +1 -0
- package/packages/mailx-host/index.ts +38 -0
- package/packages/mailx-host/package.json +10 -2
- package/packages/mailx-host/tsconfig.json +9 -0
- package/packages/mailx-send/.gitattributes +10 -0
- package/packages/mailx-send/cli-queue.d.ts.map +1 -0
- package/packages/mailx-send/cli-queue.js.map +1 -0
- package/packages/mailx-send/cli-queue.ts +62 -0
- package/packages/mailx-send/cli-send.d.ts.map +1 -0
- package/packages/mailx-send/cli-send.js.map +1 -0
- package/packages/mailx-send/cli-send.ts +83 -0
- package/packages/mailx-send/cli.d.ts.map +1 -0
- package/packages/mailx-send/cli.js.map +1 -0
- package/packages/mailx-send/cli.ts +126 -0
- package/packages/mailx-send/index.d.ts.map +1 -0
- package/packages/mailx-send/index.js.map +1 -0
- package/packages/mailx-send/index.ts +333 -0
- package/packages/mailx-send/mailsend/cli.d.ts.map +1 -0
- package/packages/mailx-send/mailsend/cli.js.map +1 -0
- package/packages/mailx-send/mailsend/cli.ts +81 -0
- package/packages/mailx-send/mailsend/index.d.ts.map +1 -0
- package/packages/mailx-send/mailsend/index.js.map +1 -0
- package/packages/mailx-send/mailsend/index.ts +333 -0
- package/packages/mailx-send/mailsend/package-lock.json +65 -0
- package/packages/mailx-send/mailsend/tsconfig.json +21 -0
- package/packages/mailx-send/package-lock.json +65 -0
- package/packages/mailx-send/package.json +1 -1
- package/packages/mailx-send/tsconfig.json +21 -0
- package/packages/mailx-server/.gitattributes +10 -0
- package/packages/mailx-server/index.d.ts.map +1 -0
- package/packages/mailx-server/index.js.map +1 -0
- package/packages/mailx-server/index.ts +429 -0
- package/packages/mailx-server/package.json +1 -1
- package/packages/mailx-server/tsconfig.json +9 -0
- package/packages/mailx-service/google-sync.d.ts.map +1 -0
- package/packages/mailx-service/google-sync.js.map +1 -0
- package/packages/mailx-service/google-sync.ts +238 -0
- package/packages/mailx-service/index.d.ts.map +1 -0
- package/packages/mailx-service/index.js.map +1 -0
- package/packages/mailx-service/index.ts +2461 -0
- package/packages/mailx-service/jsonrpc.d.ts.map +1 -0
- package/packages/mailx-service/jsonrpc.js.map +1 -0
- package/packages/mailx-service/jsonrpc.ts +268 -0
- package/packages/mailx-service/package.json +1 -1
- package/packages/mailx-service/tsconfig.json +9 -0
- package/packages/mailx-settings/.gitattributes +10 -0
- package/packages/mailx-settings/cloud.d.ts.map +1 -0
- package/packages/mailx-settings/cloud.js.map +1 -0
- package/packages/mailx-settings/cloud.ts +388 -0
- package/packages/mailx-settings/index.d.ts.map +1 -0
- package/packages/mailx-settings/index.js.map +1 -0
- package/packages/mailx-settings/index.ts +892 -0
- package/packages/mailx-settings/package.json +1 -1
- package/packages/mailx-settings/tsconfig.json +9 -0
- package/packages/mailx-store/.gitattributes +10 -0
- package/packages/mailx-store/db.d.ts.map +1 -0
- package/packages/mailx-store/db.js.map +1 -0
- package/packages/mailx-store/db.ts +2007 -0
- package/packages/mailx-store/file-store.d.ts.map +1 -0
- package/packages/mailx-store/file-store.js.map +1 -0
- package/packages/mailx-store/file-store.ts +82 -0
- package/packages/mailx-store/index.d.ts.map +1 -0
- package/packages/mailx-store/index.js.map +1 -0
- package/packages/mailx-store/index.ts +7 -0
- package/packages/mailx-store/package.json +1 -1
- package/packages/mailx-store/tsconfig.json +9 -0
- package/packages/mailx-store-web/android-bootstrap.d.ts.map +1 -0
- package/packages/mailx-store-web/android-bootstrap.js.map +1 -0
- package/packages/mailx-store-web/android-bootstrap.ts +1262 -0
- package/packages/mailx-store-web/db.d.ts.map +1 -0
- package/packages/mailx-store-web/db.js.map +1 -0
- package/packages/mailx-store-web/db.ts +756 -0
- package/packages/mailx-store-web/gmail-api-web.d.ts.map +1 -0
- package/packages/mailx-store-web/gmail-api-web.js.map +1 -0
- package/packages/mailx-store-web/gmail-api-web.ts +11 -0
- package/packages/mailx-store-web/imap-web-provider.d.ts.map +1 -0
- package/packages/mailx-store-web/imap-web-provider.js.map +1 -0
- package/packages/mailx-store-web/imap-web-provider.ts +156 -0
- package/packages/mailx-store-web/index.d.ts.map +1 -0
- package/packages/mailx-store-web/index.js.map +1 -0
- package/packages/mailx-store-web/index.ts +10 -0
- package/packages/mailx-store-web/main-thread-host.d.ts.map +1 -0
- package/packages/mailx-store-web/main-thread-host.js.map +1 -0
- package/packages/mailx-store-web/main-thread-host.ts +322 -0
- package/packages/mailx-store-web/package.json +4 -4
- package/packages/mailx-store-web/provider-types.d.ts.map +1 -0
- package/packages/mailx-store-web/provider-types.js.map +1 -0
- package/packages/mailx-store-web/provider-types.ts +7 -0
- package/packages/mailx-store-web/sync-manager.d.ts.map +1 -0
- package/packages/mailx-store-web/sync-manager.js.map +1 -0
- package/packages/mailx-store-web/sync-manager.ts +508 -0
- package/packages/mailx-store-web/tsconfig.json +10 -0
- package/packages/mailx-store-web/web-jsonrpc.d.ts.map +1 -0
- package/packages/mailx-store-web/web-jsonrpc.js.map +1 -0
- package/packages/mailx-store-web/web-jsonrpc.ts +116 -0
- package/packages/mailx-store-web/web-message-store.d.ts.map +1 -0
- package/packages/mailx-store-web/web-message-store.js.map +1 -0
- package/packages/mailx-store-web/web-message-store.ts +97 -0
- package/packages/mailx-store-web/web-service.d.ts.map +1 -0
- package/packages/mailx-store-web/web-service.js.map +1 -0
- package/packages/mailx-store-web/web-service.ts +616 -0
- package/packages/mailx-store-web/web-settings.d.ts.map +1 -0
- package/packages/mailx-store-web/web-settings.js.map +1 -0
- package/packages/mailx-store-web/web-settings.ts +522 -0
- package/packages/mailx-store-web/worker-entry.d.ts.map +1 -0
- package/packages/mailx-store-web/worker-entry.js.map +1 -0
- package/packages/mailx-store-web/worker-entry.ts +215 -0
- package/packages/mailx-store-web/worker-tcp-transport.d.ts.map +1 -0
- package/packages/mailx-store-web/worker-tcp-transport.js.map +1 -0
- package/packages/mailx-store-web/worker-tcp-transport.ts +101 -0
- package/packages/mailx-types/.gitattributes +10 -0
- package/packages/mailx-types/index.d.ts.map +1 -0
- package/packages/mailx-types/index.js.map +1 -0
- package/packages/mailx-types/index.ts +498 -0
- package/packages/mailx-types/package.json +1 -1
- package/packages/mailx-types/tsconfig.json +9 -0
- package/tsconfig.base.json +2 -1
- package/tsconfig.json +9 -0
- package/build-apk.cmd +0 -3
- package/npmg.bat +0 -6
- package/packages/mailx-imap/index.d.ts +0 -442
- package/packages/mailx-imap/index.js +0 -3684
- package/packages/mailx-imap/package.json +0 -25
- package/packages/mailx-imap/providers/gmail-api.d.ts +0 -8
- package/packages/mailx-imap/providers/gmail-api.js +0 -8
- package/packages/mailx-imap/providers/types.d.ts +0 -9
- package/packages/mailx-imap/providers/types.js +0 -9
- package/packages/mailx-imap/tsconfig.tsbuildinfo +0 -1
- package/rebuild.cmd +0 -23
- package/tdview.cmd +0 -2
- package/temp.ps1 +0 -10
- package/test-smtp-direct.mjs +0 -4
- package/unbash.cmd +0 -55
- 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
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
|
-
}
|
package/test-smtp-direct.mjs
DELETED
|
@@ -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
|