aline-ai 0.5.11__py3-none-any.whl → 0.5.12__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.5.11
3
+ Version: 0.5.12
4
4
  Summary: Shared AI memory; everyone knows everything in teams
5
5
  Author: Sharemind
6
6
  License: MIT
@@ -1,5 +1,5 @@
1
- aline_ai-0.5.11.dist-info/licenses/LICENSE,sha256=H8wTqV5IF1oHw_HbBtS1PSDU8G_q81yblEIL_JfV8Vo,1077
2
- realign/__init__.py,sha256=J7JxBCOqQGzUmBxeTzF9YbnIPjgauOOl8ukALr-3pCM,1624
1
+ aline_ai-0.5.12.dist-info/licenses/LICENSE,sha256=H8wTqV5IF1oHw_HbBtS1PSDU8G_q81yblEIL_JfV8Vo,1077
2
+ realign/__init__.py,sha256=6cJg0KmEft8KkD6TMW5-Lib2T9w9w105TIzIZ8mfEao,1624
3
3
  realign/claude_detector.py,sha256=ZLSJacMo6zzQclXByABKA70UNpstxqIv3fPGqdpA934,2792
4
4
  realign/cli.py,sha256=9VS3WbysZ78NRK5EvkJVg8s6Uh2TQjsGX1E9Pl81pHc,31234
5
5
  realign/codex_detector.py,sha256=N9ulgMgvTzDfXE4s4vLd6OoS0hT7R6h2bDFFXWa-2hE,4183
@@ -37,7 +37,7 @@ realign/commands/config.py,sha256=nYnu_h2pk7GODcrzrV04K51D-s7v06FlRXHJ0HJ-gvU,67
37
37
  realign/commands/context.py,sha256=pM2KfZHVkB-ou4nBhFvKSwnYliLBzwN3zerLyBAbhfE,7095
38
38
  realign/commands/export_shares.py,sha256=Djy1aO7MoU1_ewzn6CZ43oNhSEEonV3sTkSQbHgiaKI,135806
39
39
  realign/commands/import_shares.py,sha256=ukX8huvLvEM5g0qEIoqrV1-imz1g-r0Jj2FqD-ojrIA,25297
40
- realign/commands/init.py,sha256=ef-q3Qz5D_0Eqld8qjtX26X2QrovBSYcva3uAjiJuwk,33015
40
+ realign/commands/init.py,sha256=tQyOX7csS8t9Ils3FKla41pS8_0Kd7I1Y1rz58a83aU,33511
41
41
  realign/commands/restore.py,sha256=s2BxQZHxQw9r12NzRVsK20KlGafy5AIoSjWMo5PcnHY,11173
42
42
  realign/commands/search.py,sha256=QJrC0hln9sCDFxXbpo0nPGMHXrud18qA5QfRyD0z6fQ,25926
43
43
  realign/commands/upgrade.py,sha256=L3PLOUIN5qAQTbkfoVtSsIbbzEezA_xjjk9F1GMVfjw,12781
@@ -89,8 +89,8 @@ realign/triggers/next_turn_trigger.py,sha256=BpP0PWn4mU1MZd6mv89jWcjs8Jtv0zEWapW
89
89
  realign/triggers/registry.py,sha256=cb-AVLbYB2pqwfWL3q1DQxLv4kOw7g7m-GshTdfFESc,3827
90
90
  realign/triggers/turn_status.py,sha256=wAZEhXDAmDoX5F-ohWfSnZZ0eA6DAJ9svSPiSv_f6sg,6041
91
91
  realign/triggers/turn_summary.py,sha256=f3hEUshgv9skJ9AbfWpoYs417lsv_HK2A_vpPjgryO4,4467
92
- aline_ai-0.5.11.dist-info/METADATA,sha256=fq0cvqmYD9PExKiqsufTsOYkXU0Y90QcV4P0AyTQBMw,1598
93
- aline_ai-0.5.11.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
94
- aline_ai-0.5.11.dist-info/entry_points.txt,sha256=TvYELpMoWsUTcQdMV8tBHxCbEf_LbK4sESqK3r8PM6Y,78
95
- aline_ai-0.5.11.dist-info/top_level.txt,sha256=yIL3s2xv9nf1GwD5n71Aq_JEIV4AfzCIDNKBzewuRm4,8
96
- aline_ai-0.5.11.dist-info/RECORD,,
92
+ aline_ai-0.5.12.dist-info/METADATA,sha256=bMuapdLKzuZXb45akvIB6w7uhc5jXl31onpetDCEAxQ,1598
93
+ aline_ai-0.5.12.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
94
+ aline_ai-0.5.12.dist-info/entry_points.txt,sha256=TvYELpMoWsUTcQdMV8tBHxCbEf_LbK4sESqK3r8PM6Y,78
95
+ aline_ai-0.5.12.dist-info/top_level.txt,sha256=yIL3s2xv9nf1GwD5n71Aq_JEIV4AfzCIDNKBzewuRm4,8
96
+ aline_ai-0.5.12.dist-info/RECORD,,
realign/__init__.py CHANGED
@@ -3,7 +3,7 @@
3
3
  import hashlib
4
4
  from pathlib import Path
5
5
 
6
- __version__ = "0.5.11"
6
+ __version__ = "0.5.12"
7
7
 
8
8
 
9
9
  def get_realign_dir(project_root: Path) -> Path:
realign/commands/init.py CHANGED
@@ -19,7 +19,7 @@ console = Console()
19
19
  # tmux config template for Aline-managed dashboard sessions.
20
20
  # Stored at ~/.aline/tmux/tmux.conf and sourced by the dashboard tmux bootstrap.
21
21
  # Bump this version when the tmux config changes to trigger auto-update on `aline init`.
22
- _TMUX_CONFIG_VERSION = 2
22
+ _TMUX_CONFIG_VERSION = 8
23
23
 
24
24
 
25
25
  def _get_tmux_config() -> str:
@@ -53,16 +53,25 @@ set -s escape-time 0
53
53
  # Better scrolling: enter copy-mode with -e so scrolling to bottom exits it.
54
54
  bind-key -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e -t ='"
55
55
 
56
- # macOS clipboard (pbcopy). Only set bindings if pbcopy is available.
57
- if-shell 'command -v pbcopy >/dev/null 2>&1' '
58
- bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe "pbcopy" \; if -F "#{==:#{scroll_position},0}" "send -X cancel"
59
- bind -T copy-mode MouseDragEnd1Pane send -X copy-pipe "pbcopy" \; if -F "#{==:#{scroll_position},0}" "send -X cancel"
60
- ' ''
56
+ # macOS clipboard: copy selection to clipboard when drag ends.
57
+ # Use copy-pipe-no-clear to preserve selection highlight after copying.
58
+ bind -T copy-mode-vi MouseDragEnd1Pane send -X copy-pipe-no-clear "pbcopy"
59
+ bind -T copy-mode MouseDragEnd1Pane send -X copy-pipe-no-clear "pbcopy"
61
60
 
62
- # Prevent mouse click from exiting copy-mode (stay in copy mode, just clear selection).
61
+ # MouseDrag1Pane: Clear old selection and start new one when dragging begins.
62
+ # This ensures selection only clears when starting a NEW drag, not on click.
63
+ bind -T copy-mode-vi MouseDrag1Pane select-pane \; send -X clear-selection \; send -X begin-selection
64
+ bind -T copy-mode MouseDrag1Pane select-pane \; send -X clear-selection \; send -X begin-selection
65
+
66
+ # MouseDown1Pane: Click clears selection but stays in copy-mode (no scroll).
67
+ # To exit copy-mode: scroll to bottom (auto-exit) or press q/Escape.
63
68
  bind -T copy-mode-vi MouseDown1Pane select-pane \; send -X clear-selection
64
69
  bind -T copy-mode MouseDown1Pane select-pane \; send -X clear-selection
65
70
 
71
+ # Escape key: exit copy-mode (also use this before Cmd+V paste in copy-mode).
72
+ bind -T copy-mode-vi Escape send -X cancel
73
+ bind -T copy-mode Escape send -X cancel
74
+
66
75
  # Type-to-Exit: Typing any alphanumeric character exits copy-mode and sends the key.
67
76
  """
68
77
  def _tmux_quote(value: str) -> str: