@bobfrankston/mailx 1.0.419 → 1.0.421
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/package.json +3 -3
- package/temp.ps1 +26 -0
- package/temp.cmd +0 -11
- package/tempfix.cmd +0 -77
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bobfrankston/mailx",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.421",
|
|
4
4
|
"description": "Local-first email client with IMAP sync and standalone native app",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "bin/mailx.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@bobfrankston/iflow-node": "^0.1.8",
|
|
36
36
|
"@bobfrankston/miscinfo": "^1.0.10",
|
|
37
37
|
"@bobfrankston/oauthsupport": "^1.0.25",
|
|
38
|
-
"@bobfrankston/msger": "^0.1.
|
|
38
|
+
"@bobfrankston/msger": "^0.1.359",
|
|
39
39
|
"@bobfrankston/mailx-host": "^0.1.7",
|
|
40
40
|
"@capacitor/android": "^8.3.0",
|
|
41
41
|
"@capacitor/cli": "^8.3.0",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"@bobfrankston/iflow-node": "^0.1.8",
|
|
100
100
|
"@bobfrankston/miscinfo": "^1.0.10",
|
|
101
101
|
"@bobfrankston/oauthsupport": "^1.0.25",
|
|
102
|
-
"@bobfrankston/msger": "^0.1.
|
|
102
|
+
"@bobfrankston/msger": "^0.1.359",
|
|
103
103
|
"@bobfrankston/mailx-host": "^0.1.7",
|
|
104
104
|
"@capacitor/android": "^8.3.0",
|
|
105
105
|
"@capacitor/cli": "^8.3.0",
|
package/temp.ps1
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
$msger = "$env:LOCALAPPDATA\msger\bin\msgernative.exe"
|
|
2
|
+
$mailx = "$env:LOCALAPPDATA\mailx\bin\mailx.exe"
|
|
3
|
+
|
|
4
|
+
function Probe($label, $path) {
|
|
5
|
+
Write-Host "=== $label ===" -ForegroundColor Cyan
|
|
6
|
+
if (-not (Test-Path $path)) { Write-Host "MISSING: $path"; return }
|
|
7
|
+
$f = Get-Item $path
|
|
8
|
+
Write-Host "Path : $path"
|
|
9
|
+
Write-Host "Size : $($f.Length)"
|
|
10
|
+
Write-Host "Mtime : $($f.LastWriteTime)"
|
|
11
|
+
$bytes = [System.IO.File]::ReadAllBytes($path)
|
|
12
|
+
$ascii = [System.Text.Encoding]::ASCII.GetString($bytes)
|
|
13
|
+
foreach ($s in @(
|
|
14
|
+
'CoTaskMemAlloc returned NULL',
|
|
15
|
+
'InitPropVariantFromString',
|
|
16
|
+
'IPropertyStore::SetValue',
|
|
17
|
+
'set_relaunch_command'
|
|
18
|
+
)) {
|
|
19
|
+
if ($ascii.Contains($s)) { Write-Host " FOUND : $s" -ForegroundColor Green }
|
|
20
|
+
else { Write-Host " MISSING : $s" -ForegroundColor Red }
|
|
21
|
+
}
|
|
22
|
+
Write-Host ""
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
Probe 'shared msgernative.exe' $msger
|
|
26
|
+
Probe 'per-app mailx.exe' $mailx
|
package/temp.cmd
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
@echo off
|
|
2
|
-
echo === Killing any running mailx ===
|
|
3
|
-
call mailx -kill
|
|
4
|
-
timeout /t 2 /nobreak >nul
|
|
5
|
-
echo.
|
|
6
|
-
echo === Launching mailx --verbose ===
|
|
7
|
-
echo === Wait for window, then close it (X). ===
|
|
8
|
-
mailx --verbose > mailx-out.log 2>&1
|
|
9
|
-
echo.
|
|
10
|
-
echo === [service] / relaunch / set_relaunch lines ===
|
|
11
|
-
powershell -NoProfile -Command "Select-String -Path mailx-out.log -Pattern 'service\]|relaunch|aumid|set_relaunch'"
|
package/tempfix.cmd
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
@echo off
|
|
2
|
-
rem --------------------------------------------------------------------
|
|
3
|
-
rem tempfix.cmd — recover Claude Code + msger build after session wedge
|
|
4
|
-
rem
|
|
5
|
-
rem Problem: Claude Code's Bash tool keeps throwing EEXIST on
|
|
6
|
-
rem C:\Users\Bob\.claude\session-env\<uuid> because the current session
|
|
7
|
-
rem left a stale dir and the tool's mkdir isn't recursive.
|
|
8
|
-
rem Separately: msger's Windows build and stable-hardlink update need
|
|
9
|
-
rem mailx NOT to be holding msgernative.exe when npmglobalize runs.
|
|
10
|
-
rem (Fixed in source via rename-aside, but we still want a clean slate
|
|
11
|
-
rem so the first rebuild doesn't have to juggle three generations of
|
|
12
|
-
rem .old-<ts> files on top of a running process.)
|
|
13
|
-
rem
|
|
14
|
-
rem What this script does, in order:
|
|
15
|
-
rem 1. Kill Claude Code so it releases its session-env lock.
|
|
16
|
-
rem 2. Kill mailx + any running msger window so msgernative.exe can be
|
|
17
|
-
rem replaced (strictly not required with the rename-aside fix, but
|
|
18
|
-
rem cleaner for this one-time recovery).
|
|
19
|
-
rem 3. Nuke the entire session-env dir so the NEXT Claude start gets
|
|
20
|
-
rem a fresh UUID subdir.
|
|
21
|
-
rem 4. Remind you of the next commands to run.
|
|
22
|
-
rem
|
|
23
|
-
rem Safe to re-run. Everything taskkill'd is optional — not-found is fine.
|
|
24
|
-
rem --------------------------------------------------------------------
|
|
25
|
-
|
|
26
|
-
echo.
|
|
27
|
-
echo === 1/3 Killing Claude Code ===
|
|
28
|
-
taskkill /F /IM claude.exe 2>nul
|
|
29
|
-
if %errorlevel% equ 0 ( echo claude.exe terminated ) else ( echo claude.exe was not running )
|
|
30
|
-
|
|
31
|
-
echo.
|
|
32
|
-
echo === 2/3 Killing mailx + msger so msgernative.exe is free ===
|
|
33
|
-
rem mailx runs as node.exe but node.exe runs EVERYTHING on this box, so
|
|
34
|
-
rem we do NOT blanket-kill node. Instead kill the msger native window and
|
|
35
|
-
rem any mailx launcher by image name. mailx's own node process stays up
|
|
36
|
-
rem unless you want to close the UI — uncomment the last line to kill it.
|
|
37
|
-
taskkill /F /IM msgernative.exe 2>nul
|
|
38
|
-
if %errorlevel% equ 0 ( echo msgernative.exe terminated ) else ( echo msgernative.exe was not running )
|
|
39
|
-
rem To also stop mailx's node service, uncomment:
|
|
40
|
-
rem taskkill /F /FI "WINDOWTITLE eq mailx*" 2>nul
|
|
41
|
-
|
|
42
|
-
echo.
|
|
43
|
-
echo === 3/3 Removing stale Claude session-env dir ===
|
|
44
|
-
if exist "%USERPROFILE%\.claude\session-env" (
|
|
45
|
-
rmdir /s /q "%USERPROFILE%\.claude\session-env"
|
|
46
|
-
if exist "%USERPROFILE%\.claude\session-env" (
|
|
47
|
-
echo WARNING: session-env still exists — something was holding it open
|
|
48
|
-
) else (
|
|
49
|
-
echo session-env removed
|
|
50
|
-
)
|
|
51
|
-
) else (
|
|
52
|
-
echo session-env already gone
|
|
53
|
-
)
|
|
54
|
-
|
|
55
|
-
echo.
|
|
56
|
-
echo --------------------------------------------------------------------
|
|
57
|
-
echo Done. Next steps:
|
|
58
|
-
echo.
|
|
59
|
-
echo 1. Start Claude Code again. Your in-flight state is saved in memory
|
|
60
|
-
echo at C:\Users\Bob\.claude\projects\Y--dev-email-mailx\memory\
|
|
61
|
-
echo (see project_session_apr20_state.md for the full handoff).
|
|
62
|
-
echo.
|
|
63
|
-
echo 2. Rebuild msger so the new binary is installed:
|
|
64
|
-
echo cd /d y:\dev\utils\msgx\msger
|
|
65
|
-
echo npmglobalize
|
|
66
|
-
echo.
|
|
67
|
-
echo 3. Once that succeeds, test keyboard input:
|
|
68
|
-
echo msger y:\dev\projects\Cards\bbt\bbs.json
|
|
69
|
-
echo Try typing + Ctrl+C. If fixed, stale-binary theory was correct.
|
|
70
|
-
echo If still broken, tell Claude and we'll dig into focus/MoveFocus.
|
|
71
|
-
echo.
|
|
72
|
-
echo 4. In mailx root, wire up the new mailx-host workspace:
|
|
73
|
-
echo cd /d y:\dev\email\mailx
|
|
74
|
-
echo npm install
|
|
75
|
-
echo cd packages\mailx-host
|
|
76
|
-
echo tsc
|
|
77
|
-
echo --------------------------------------------------------------------
|