aline-ai 0.1.1__py3-none-any.whl → 0.1.2__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.
- {aline_ai-0.1.1.dist-info → aline_ai-0.1.2.dist-info}/METADATA +1 -1
- {aline_ai-0.1.1.dist-info → aline_ai-0.1.2.dist-info}/RECORD +8 -8
- realign/__init__.py +1 -1
- realign/mcp_watcher.py +8 -0
- {aline_ai-0.1.1.dist-info → aline_ai-0.1.2.dist-info}/WHEEL +0 -0
- {aline_ai-0.1.1.dist-info → aline_ai-0.1.2.dist-info}/entry_points.txt +0 -0
- {aline_ai-0.1.1.dist-info → aline_ai-0.1.2.dist-info}/licenses/LICENSE +0 -0
- {aline_ai-0.1.1.dist-info → aline_ai-0.1.2.dist-info}/top_level.txt +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
aline_ai-0.1.
|
|
2
|
-
realign/__init__.py,sha256=
|
|
1
|
+
aline_ai-0.1.2.dist-info/licenses/LICENSE,sha256=H8wTqV5IF1oHw_HbBtS1PSDU8G_q81yblEIL_JfV8Vo,1077
|
|
2
|
+
realign/__init__.py,sha256=vbGKpkjVJG35eBo-5-ncGbNP095pDzKws749XISLcJg,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
|
|
@@ -7,7 +7,7 @@ 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
9
|
realign/mcp_server.py,sha256=NaT1c7dCNfOvmBPkBMpWI63wqmJQ3wQP2MiMqNUmFIQ,15346
|
|
10
|
-
realign/mcp_watcher.py,sha256=
|
|
10
|
+
realign/mcp_watcher.py,sha256=jxr4em27hw79N9d-lYCbu4dGclzG7OyPuPFtPeeadMM,13122
|
|
11
11
|
realign/redactor.py,sha256=uZvLKKGrRGJm-qM8S4XJyJK6i0CSSby_wbKiay7VGJw,8148
|
|
12
12
|
realign/commands/__init__.py,sha256=GG6IMw6fUBQAXGJDFJvOOQgv6pkiRSfMh8z3AYXTyRM,31
|
|
13
13
|
realign/commands/auto_commit.py,sha256=_DOw7nt9q3tD_Y3qDL9IFKAUG1hM4qH_xZ-9nyBc2Bc,7451
|
|
@@ -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.
|
|
20
|
-
aline_ai-0.1.
|
|
21
|
-
aline_ai-0.1.
|
|
22
|
-
aline_ai-0.1.
|
|
23
|
-
aline_ai-0.1.
|
|
19
|
+
aline_ai-0.1.2.dist-info/METADATA,sha256=MLVqx9fJTsUyeAxe9ZZogkfYBv9GGb-DXbcdwPwbxt0,1398
|
|
20
|
+
aline_ai-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
21
|
+
aline_ai-0.1.2.dist-info/entry_points.txt,sha256=h-NocHDzSueXfsepHTIdRPNQzhNZQPAztJfldd-mQTE,202
|
|
22
|
+
aline_ai-0.1.2.dist-info/top_level.txt,sha256=yIL3s2xv9nf1GwD5n71Aq_JEIV4AfzCIDNKBzewuRm4,8
|
|
23
|
+
aline_ai-0.1.2.dist-info/RECORD,,
|
realign/__init__.py
CHANGED
realign/mcp_watcher.py
CHANGED
|
@@ -119,12 +119,18 @@ class DialogueWatcher:
|
|
|
119
119
|
try:
|
|
120
120
|
current_sizes = self._get_session_sizes()
|
|
121
121
|
|
|
122
|
+
# Debug: log if no sessions found (only once)
|
|
123
|
+
if not current_sizes and not hasattr(self, '_no_session_warned'):
|
|
124
|
+
print(f"[MCP Watcher] Warning: No active sessions found for repo: {self.repo_path}", file=sys.stderr)
|
|
125
|
+
self._no_session_warned = True
|
|
126
|
+
|
|
122
127
|
# Detect changed files
|
|
123
128
|
changed_files = []
|
|
124
129
|
for path, size in current_sizes.items():
|
|
125
130
|
old_size = self.last_session_sizes.get(path, 0)
|
|
126
131
|
if size > old_size:
|
|
127
132
|
changed_files.append(Path(path))
|
|
133
|
+
print(f"[MCP Watcher] Session file changed: {Path(path).name} ({old_size} -> {size} bytes)", file=sys.stderr)
|
|
128
134
|
|
|
129
135
|
if changed_files:
|
|
130
136
|
# File changed - cancel any pending commit and schedule a new one
|
|
@@ -211,6 +217,8 @@ class DialogueWatcher:
|
|
|
211
217
|
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
|
212
218
|
message = f"chore: Auto-commit MCP session ({timestamp})"
|
|
213
219
|
|
|
220
|
+
print(f"[MCP Watcher] Attempting commit with message: {message}", file=sys.stderr)
|
|
221
|
+
|
|
214
222
|
# Use realign commit command
|
|
215
223
|
result = await asyncio.get_event_loop().run_in_executor(
|
|
216
224
|
None,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|