aline-ai 0.1.9__py3-none-any.whl → 0.1.10__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.9.dist-info → aline_ai-0.1.10.dist-info}/METADATA +1 -1
- {aline_ai-0.1.9.dist-info → aline_ai-0.1.10.dist-info}/RECORD +7 -7
- realign/commands/init.py +20 -20
- {aline_ai-0.1.9.dist-info → aline_ai-0.1.10.dist-info}/WHEEL +0 -0
- {aline_ai-0.1.9.dist-info → aline_ai-0.1.10.dist-info}/entry_points.txt +0 -0
- {aline_ai-0.1.9.dist-info → aline_ai-0.1.10.dist-info}/licenses/LICENSE +0 -0
- {aline_ai-0.1.9.dist-info → aline_ai-0.1.10.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
aline_ai-0.1.
|
|
1
|
+
aline_ai-0.1.10.dist-info/licenses/LICENSE,sha256=H8wTqV5IF1oHw_HbBtS1PSDU8G_q81yblEIL_JfV8Vo,1077
|
|
2
2
|
realign/__init__.py,sha256=XAZn0QmHa9QpFynxcqvNBgMblMHb6ppHrHzvnAj8p1s,68
|
|
3
3
|
realign/claude_detector.py,sha256=NLxI0zJWcqNxNha9jAy9AslTMwHKakCc9yPGdkrbiFE,3028
|
|
4
4
|
realign/cli.py,sha256=bkwS329jMDEkrUEihXRN2DDyeTKE6HbAysoDxxskZ8g,941
|
|
@@ -13,11 +13,11 @@ realign/commands/__init__.py,sha256=GG6IMw6fUBQAXGJDFJvOOQgv6pkiRSfMh8z3AYXTyRM,
|
|
|
13
13
|
realign/commands/auto_commit.py,sha256=_DOw7nt9q3tD_Y3qDL9IFKAUG1hM4qH_xZ-9nyBc2Bc,7451
|
|
14
14
|
realign/commands/commit.py,sha256=yjhOrkRY_UvAa5EXufwwcYZaqE83L9Bzd0YPUc59fic,9196
|
|
15
15
|
realign/commands/config.py,sha256=oarvn6UuGT8svd2h5_8M_ueV5QWOCUOn8SYoa4XYjs8,6500
|
|
16
|
-
realign/commands/init.py,sha256=
|
|
16
|
+
realign/commands/init.py,sha256=QURhANbtLog6oFZB34sKtLeSGSdMG5qSVL8-5i1qzwk,11809
|
|
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.10.dist-info/METADATA,sha256=qJL5p2Vn5LAW9_A5mtlfdItwYLq9-FxdYPLcbWZaYbc,1399
|
|
20
|
+
aline_ai-0.1.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
21
|
+
aline_ai-0.1.10.dist-info/entry_points.txt,sha256=h-NocHDzSueXfsepHTIdRPNQzhNZQPAztJfldd-mQTE,202
|
|
22
|
+
aline_ai-0.1.10.dist-info/top_level.txt,sha256=yIL3s2xv9nf1GwD5n71Aq_JEIV4AfzCIDNKBzewuRm4,8
|
|
23
|
+
aline_ai-0.1.10.dist-info/RECORD,,
|
realign/commands/init.py
CHANGED
|
@@ -246,23 +246,23 @@ def get_pre_commit_hook() -> str:
|
|
|
246
246
|
# ReAlign pre-commit hook
|
|
247
247
|
# Finds and stages agent session files before commit
|
|
248
248
|
|
|
249
|
-
# 1. Try to find
|
|
250
|
-
if command -v
|
|
251
|
-
VERSION=$(
|
|
252
|
-
echo "
|
|
253
|
-
exec
|
|
249
|
+
# 1. Try to find aline-hook-pre-commit in PATH first (pipx/pip installations)
|
|
250
|
+
if command -v aline-hook-pre-commit >/dev/null 2>&1; then
|
|
251
|
+
VERSION=$(aline version 2>/dev/null | grep -oE '[0-9]+\\.[0-9]+\\.[0-9]+' || echo "unknown")
|
|
252
|
+
echo "Aline pre-commit hook (dev-$VERSION)" >&2
|
|
253
|
+
exec aline-hook-pre-commit "$@"
|
|
254
254
|
fi
|
|
255
255
|
|
|
256
256
|
# 2. Try using uvx (for MCP installations where command is in uvx cache)
|
|
257
257
|
if command -v uvx >/dev/null 2>&1; then
|
|
258
|
-
VERSION=$(uvx --from
|
|
259
|
-
echo "
|
|
260
|
-
exec uvx --from
|
|
258
|
+
VERSION=$(uvx --from aline-ai aline version 2>/dev/null | grep -oE '[0-9]+\\.[0-9]+\\.[0-9]+' || echo "unknown")
|
|
259
|
+
echo "Aline pre-commit hook (release-$VERSION)" >&2
|
|
260
|
+
exec uvx --from aline-ai aline-hook-pre-commit "$@"
|
|
261
261
|
fi
|
|
262
262
|
|
|
263
263
|
# If all else fails, print an error
|
|
264
|
-
echo "Error: Cannot find
|
|
265
|
-
echo " - For CLI: pipx install
|
|
264
|
+
echo "Error: Cannot find aline. Please ensure it's installed:" >&2
|
|
265
|
+
echo " - For CLI: pipx install aline-ai" >&2
|
|
266
266
|
echo " - For MCP: Ensure uvx is available" >&2
|
|
267
267
|
exit 1
|
|
268
268
|
'''
|
|
@@ -282,23 +282,23 @@ if [ "$COMMIT_SOURCE" = "merge" ] || [ "$COMMIT_SOURCE" = "squash" ] || [ "$COMM
|
|
|
282
282
|
exit 0
|
|
283
283
|
fi
|
|
284
284
|
|
|
285
|
-
# 1. Try to find
|
|
286
|
-
if command -v
|
|
287
|
-
VERSION=$(
|
|
288
|
-
echo "
|
|
289
|
-
exec
|
|
285
|
+
# 1. Try to find aline-hook-prepare-commit-msg in PATH first (pipx/pip installations)
|
|
286
|
+
if command -v aline-hook-prepare-commit-msg >/dev/null 2>&1; then
|
|
287
|
+
VERSION=$(aline version 2>/dev/null | grep -oE '[0-9]+\\.[0-9]+\\.[0-9]+' || echo "unknown")
|
|
288
|
+
echo "Aline prepare-commit-msg hook (dev-$VERSION)" >&2
|
|
289
|
+
exec aline-hook-prepare-commit-msg "$@"
|
|
290
290
|
fi
|
|
291
291
|
|
|
292
292
|
# 2. Try using uvx (for MCP installations where command is in uvx cache)
|
|
293
293
|
if command -v uvx >/dev/null 2>&1; then
|
|
294
|
-
VERSION=$(uvx --from
|
|
295
|
-
echo "
|
|
296
|
-
exec uvx --from
|
|
294
|
+
VERSION=$(uvx --from aline-ai aline version 2>/dev/null | grep -oE '[0-9]+\\.[0-9]+\\.[0-9]+' || echo "unknown")
|
|
295
|
+
echo "Aline prepare-commit-msg hook (release-$VERSION)" >&2
|
|
296
|
+
exec uvx --from aline-ai aline-hook-prepare-commit-msg "$@"
|
|
297
297
|
fi
|
|
298
298
|
|
|
299
299
|
# If all else fails, print an error
|
|
300
|
-
echo "Error: Cannot find
|
|
301
|
-
echo " - For CLI: pipx install
|
|
300
|
+
echo "Error: Cannot find aline. Please ensure it's installed:" >&2
|
|
301
|
+
echo " - For CLI: pipx install aline-ai" >&2
|
|
302
302
|
echo " - For MCP: Ensure uvx is available" >&2
|
|
303
303
|
exit 1
|
|
304
304
|
'''
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|