aline-ai 0.1.7__py3-none-any.whl → 0.1.8__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aline-ai
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: Shared AI memory; everyone knows everything in teams
5
5
  Author: Sharemind
6
6
  License: MIT
@@ -1,12 +1,12 @@
1
- aline_ai-0.1.7.dist-info/licenses/LICENSE,sha256=H8wTqV5IF1oHw_HbBtS1PSDU8G_q81yblEIL_JfV8Vo,1077
2
- realign/__init__.py,sha256=GAkpHLIQWfGF0lu7nkgDnXCA2GC4tJrr6dGTk8GMQB4,68
1
+ aline_ai-0.1.8.dist-info/licenses/LICENSE,sha256=H8wTqV5IF1oHw_HbBtS1PSDU8G_q81yblEIL_JfV8Vo,1077
2
+ realign/__init__.py,sha256=SinCCjUdQJgIbiL3QFxgLcSeMMNgu-2OIZmOD-_yaHM,68
3
3
  realign/claude_detector.py,sha256=NLxI0zJWcqNxNha9jAy9AslTMwHKakCc9yPGdkrbiFE,3028
4
4
  realign/cli.py,sha256=bkwS329jMDEkrUEihXRN2DDyeTKE6HbAysoDxxskZ8g,941
5
5
  realign/codex_detector.py,sha256=RI3JbZgebrhoqpRfTBMfclYCAISN7hZAHVW3bgftJpU,4428
6
6
  realign/config.py,sha256=jarinbr0mA6e5DmgY19b_VpMnxk6SOYTwyvB9luq0ww,7207
7
7
  realign/hooks.py,sha256=qhAeuln_62OgTq0vboZcUAuP2apOrNn58vSZqKwNmWQ,36456
8
8
  realign/logging_config.py,sha256=KvkKktF-bkUu031y9vgUoHpsbnOw7ud25jhpzliNZwA,4929
9
- realign/mcp_server.py,sha256=srR1leOYbPyi6L0KALkOs94_djELi-SRLFQgrubQuhc,17760
9
+ realign/mcp_server.py,sha256=HGg0nW9_cJnW-22bSBwBONpid3Lq8UICyWyzOAny4OM,18963
10
10
  realign/mcp_watcher.py,sha256=xL35Nz35YF6Mc9yu-nCbDzKzTFHQaYmtPNfyBzKKOhc,16038
11
11
  realign/redactor.py,sha256=uZvLKKGrRGJm-qM8S4XJyJK6i0CSSby_wbKiay7VGJw,8148
12
12
  realign/commands/__init__.py,sha256=GG6IMw6fUBQAXGJDFJvOOQgv6pkiRSfMh8z3AYXTyRM,31
@@ -16,8 +16,8 @@ realign/commands/config.py,sha256=oarvn6UuGT8svd2h5_8M_ueV5QWOCUOn8SYoa4XYjs8,65
16
16
  realign/commands/init.py,sha256=EpSzh2Dd2EmEQ_wo3vAsg6Uq7_YOlQWIpzIkZa_2y0A,11863
17
17
  realign/commands/search.py,sha256=0CZaXll99wtd01MRiZk5NAblxgogc4RUAzMyJunvckE,18044
18
18
  realign/commands/show.py,sha256=P1waa94-AKJr9XjagkE40OHMXzE6IwC74DpeDKqwsqw,16693
19
- aline_ai-0.1.7.dist-info/METADATA,sha256=lgNJRQ4b1lDkDVvchqzD9VbvXB7bTkxgy9LgmmNaq34,1398
20
- aline_ai-0.1.7.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- aline_ai-0.1.7.dist-info/entry_points.txt,sha256=h-NocHDzSueXfsepHTIdRPNQzhNZQPAztJfldd-mQTE,202
22
- aline_ai-0.1.7.dist-info/top_level.txt,sha256=yIL3s2xv9nf1GwD5n71Aq_JEIV4AfzCIDNKBzewuRm4,8
23
- aline_ai-0.1.7.dist-info/RECORD,,
19
+ aline_ai-0.1.8.dist-info/METADATA,sha256=_zzB8FOdgwI6cj1Ja6alPVifXEHVm4A8vN0G6P5_Joc,1398
20
+ aline_ai-0.1.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ aline_ai-0.1.8.dist-info/entry_points.txt,sha256=h-NocHDzSueXfsepHTIdRPNQzhNZQPAztJfldd-mQTE,202
22
+ aline_ai-0.1.8.dist-info/top_level.txt,sha256=yIL3s2xv9nf1GwD5n71Aq_JEIV4AfzCIDNKBzewuRm4,8
23
+ aline_ai-0.1.8.dist-info/RECORD,,
realign/__init__.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """Aline - AI Agent Chat Session Tracker."""
2
2
 
3
- __version__ = "0.1.7"
3
+ __version__ = "0.1.8"
realign/mcp_server.py CHANGED
@@ -410,6 +410,22 @@ def _server_log(msg: str):
410
410
  pass
411
411
 
412
412
 
413
+ # Log immediately when module is imported
414
+ _early_log_path = Path.home() / ".aline_mcp_startup.log"
415
+ try:
416
+ with open(_early_log_path, "a") as f:
417
+ from datetime import datetime
418
+ f.write(f"\n{'='*60}\n")
419
+ f.write(f"[{datetime.now()}] MCP SERVER MODULE LOADED\n")
420
+ f.write(f"Python: {sys.executable}\n")
421
+ f.write(f"CWD: {Path.cwd()}\n")
422
+ f.write(f"HOME: {Path.home()}\n")
423
+ f.write(f"Version: {__version__}\n")
424
+ f.write(f"{'='*60}\n")
425
+ except Exception as e:
426
+ print(f"[MCP Server] Early log failed: {e}", file=sys.stderr)
427
+
428
+
413
429
  async def async_main():
414
430
  """Run the MCP server (async)."""
415
431
  _server_log("Starting Aline MCP server...")
@@ -487,7 +503,27 @@ async def async_main():
487
503
 
488
504
  def main():
489
505
  """Entry point for the MCP server command."""
490
- asyncio.run(async_main())
506
+ # Log entry point
507
+ try:
508
+ with open(_early_log_path, "a") as f:
509
+ from datetime import datetime
510
+ f.write(f"[{datetime.now()}] main() called, starting asyncio.run\n")
511
+ except Exception:
512
+ pass
513
+
514
+ try:
515
+ asyncio.run(async_main())
516
+ except Exception as e:
517
+ # Log any exceptions
518
+ try:
519
+ with open(_early_log_path, "a") as f:
520
+ from datetime import datetime
521
+ import traceback
522
+ f.write(f"[{datetime.now()}] EXCEPTION in main: {e}\n")
523
+ f.write(traceback.format_exc())
524
+ except Exception:
525
+ pass
526
+ raise
491
527
 
492
528
 
493
529
  if __name__ == "__main__":