ali-tool 0.2.2__tar.gz → 0.2.3__tar.gz
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.
- {ali_tool-0.2.2 → ali_tool-0.2.3}/PKG-INFO +1 -1
- {ali_tool-0.2.2 → ali_tool-0.2.3}/pyproject.toml +1 -1
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/cli.py +1 -1
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/plugins/tmux/plugin.yaml +8 -2
- {ali_tool-0.2.2 → ali_tool-0.2.3}/README.md +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/__init__.py +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/core/__init__.py +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/core/logging.py +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/core/plugin.py +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/core/registry.py +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/core/resolver.py +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/core/router.py +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/plugins/broot/ali.hjson +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/plugins/broot/plugin.yaml +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/plugins/llms.txt +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/plugins/micro/plugin.yaml +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/plugins/tmux/scripts/distribute.py +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/plugins/tmux/tmux.conf.ali +0 -0
- {ali_tool-0.2.2 → ali_tool-0.2.3}/src/ali_tool/scripts.py +0 -0
|
@@ -132,7 +132,7 @@ def main():
|
|
|
132
132
|
if plugin.name == args.init:
|
|
133
133
|
sys.exit(plugin.init())
|
|
134
134
|
except Exception as e:
|
|
135
|
-
if
|
|
135
|
+
if yaml_path.parent.name == args.init:
|
|
136
136
|
print(f"Error loading plugin '{args.init}': {e}", file=sys.stderr)
|
|
137
137
|
sys.exit(EXIT_ERROR)
|
|
138
138
|
all_plugins = [p.parent.name for p in plugins_dir.glob("*/plugin.yaml")]
|
|
@@ -66,7 +66,7 @@ grammar:
|
|
|
66
66
|
description: "Any text, pane reference, or stream selector"
|
|
67
67
|
# Vocabulary
|
|
68
68
|
vocabulary:
|
|
69
|
-
verbs: [GO, KILL, SPLIT, CREATE, WIDTH, HEIGHT, JOIN, SWAP, COPY, ECHO, LAYOUT, TERMTAP]
|
|
69
|
+
verbs: [GO, KILL, SPLIT, CREATE, WIDTH, HEIGHT, JOIN, SWAP, COPY, ECHO, LAYOUT, TERMTAP, LAZYGIT, PWD]
|
|
70
70
|
# Expectations
|
|
71
71
|
expectations:
|
|
72
72
|
GO: [target]
|
|
@@ -81,6 +81,8 @@ expectations:
|
|
|
81
81
|
ECHO: [stream, "target?"]
|
|
82
82
|
LAYOUT: ["stream?"]
|
|
83
83
|
TERMTAP: []
|
|
84
|
+
LAZYGIT: []
|
|
85
|
+
PWD: []
|
|
84
86
|
# Inference
|
|
85
87
|
inference:
|
|
86
88
|
- when: {verb: GO, target: "?"}
|
|
@@ -118,7 +120,7 @@ commands:
|
|
|
118
120
|
- match: {verb: SWAP, source: present}
|
|
119
121
|
exec: "{swap} -s {source}{?dest: -t {dest}}"
|
|
120
122
|
- match: {verb: COPY, stream_exec: present}
|
|
121
|
-
exec: "{modal_popup} '{stream_exec} |
|
|
123
|
+
exec: "{modal_popup} '{stream_exec} | clip'"
|
|
122
124
|
- match: {verb: ECHO, stream_exec: present}
|
|
123
125
|
exec: "{modal_popup} '{stream_exec} | tmux load-buffer -b ali-echo - && tmux paste-buffer -b ali-echo{?target: -t {target}} && tmux delete-buffer -b ali-echo'"
|
|
124
126
|
- match: {verb: LAYOUT, stream: present}
|
|
@@ -127,6 +129,10 @@ commands:
|
|
|
127
129
|
exec: "tmux display-popup -E -w 50% -h 50% trelayout"
|
|
128
130
|
- match: {verb: TERMTAP}
|
|
129
131
|
exec: "tmux display-popup -E -w 80% -h 60% 'termtap companion --popup'"
|
|
132
|
+
- match: {verb: LAZYGIT}
|
|
133
|
+
exec: "{modal_popup} 'lazygit'"
|
|
134
|
+
- match: {verb: PWD}
|
|
135
|
+
exec: "printf '%s' \"$PWD\" | clip"
|
|
130
136
|
# Selectors
|
|
131
137
|
selectors:
|
|
132
138
|
.?:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|