vybe 0.8.2__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.
vybe-0.8.2/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Homer Morrill
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
vybe-0.8.2/PKG-INFO ADDED
@@ -0,0 +1,263 @@
1
+ Metadata-Version: 2.4
2
+ Name: vybe
3
+ Version: 0.8.2
4
+ Summary: Vibe coding terminal capture toolkit
5
+ Author: Homer Morrill
6
+ License: MIT
7
+ Requires-Python: >=3.8
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Dynamic: license-file
11
+
12
+ # Vybe
13
+
14
+ ```text
15
+ ____ ____ ___
16
+ \ \ / /___ __ | |__ ____
17
+ \ Y /( | || __ \ / __ \
18
+ \ / \___ || \_\ \ ___/
19
+ \___/ (_____||_____/\____)
20
+ ```
21
+
22
+ Vybe is a **vibe coding terminal toolkit**: run a command, capture its output, and instantly reuse it —
23
+ copy to clipboard, wrap in Markdown, search errors, jump to the last failure, or grab tmux scrollback.
24
+
25
+ ## Highlights
26
+ - **`vybe run ...`** streams output live *and* saves it.
27
+ - **`vybe retry`** reruns your last `vybe run` command.
28
+ - **`vybe snipclip`** copies *output only* (perfect for issues/ChatGPT).
29
+ - **`vybe snipclip --redact`** copies output with common secrets masked.
30
+ - **`vybe errors`** extracts likely error blocks from latest capture.
31
+ - **`vybe export --last --json`** emits machine-readable context for agents.
32
+ - **`vybe run --tag <name>`** groups captures by task/session.
33
+ - **`vybe diff`** shows what changed between your latest two captures.
34
+ - **`vybe share`** builds a Markdown-ready report for issues/LLM chats.
35
+ - **`vybe doctor`** prints a fast environment snapshot for debugging setup issues.
36
+ - **`vybe fail`** jumps back to the most recent failing run.
37
+ - Works great on Kali (zsh) and supports tmux scrollback capture.
38
+
39
+ ## Install (dev / from source)
40
+ ```bash
41
+ python -m venv .venv
42
+ source .venv/bin/activate
43
+ pip install -e .
44
+ vybe --help
45
+ python -m vybe --help
46
+ ```
47
+
48
+ ## Install (recommended on Kali/Ubuntu)
49
+ Use `pipx` to avoid PEP 668 "externally-managed-environment" issues:
50
+ ```bash
51
+ sudo apt install pipx
52
+ pipx ensurepath
53
+ pipx install vybe
54
+ ```
55
+
56
+ From a local checkout:
57
+ ```bash
58
+ cd ~/dev/Vybe
59
+ pipx install . --force
60
+ ```
61
+
62
+ Check install/update guidance:
63
+ ```bash
64
+ vybe self-check
65
+ vybe self-check --json
66
+ ```
67
+
68
+ ## Usage
69
+ ```bash
70
+ vybe run pytest -q
71
+ vybe retry
72
+ vybe r pytest -q
73
+ vybe run --tag auth pytest -q
74
+ vybe rr --cwd
75
+ vybe fail
76
+ vybe s
77
+ vybe sc
78
+ vybe sc --redact
79
+ vybe ll 5
80
+ vybe ls --tag auth
81
+ vybe snipclip
82
+ vybe errors
83
+ vybe export --last --json --snip
84
+ vybe diff
85
+ vybe share --redact --errors
86
+ vybe share --clip
87
+ vybe share --json
88
+ vybe share --json --errors --redact
89
+ vybe doctor
90
+ vybe self-check
91
+ vybe cfg
92
+ vybe init
93
+ vybe completion install zsh
94
+ vybe md bash
95
+ vybe grep "Traceback|ERROR" --i
96
+ ```
97
+
98
+ ## Speed aliases
99
+ - `vybe r ...` is the same as `vybe run ...`
100
+ - `vybe rr` is the same as `vybe retry`
101
+ - `vybe rr --cwd` retries in the original working directory
102
+ - `vybe rr --tag <name>` retries and assigns a tag
103
+ - `vybe l` is the same as `vybe last`
104
+ - `vybe s` is the same as `vybe snip`
105
+ - `vybe sc` is the same as `vybe snipclip`
106
+ - `vybe o` is the same as `vybe open`
107
+ - `vybe ll [N]` is the same as `vybe ls [N]`
108
+ - Full commands remain the canonical docs and are recommended in scripts/automation
109
+
110
+ ## Quick recipes
111
+ Fast debug loop:
112
+ ```bash
113
+ vybe r pytest -q
114
+ vybe errors
115
+ vybe share --redact --errors --clip
116
+ vybe rr
117
+ ```
118
+
119
+ Tagged task loop:
120
+ ```bash
121
+ vybe run --tag auth pytest -q
122
+ vybe rr --tag auth
123
+ vybe ls --tag auth
124
+ vybe diff --tag auth
125
+ ```
126
+
127
+ Agent handoff loop:
128
+ ```bash
129
+ vybe export --last --json --snip --redact
130
+ vybe share --json --errors --redact
131
+ vybe doctor --json
132
+ ```
133
+
134
+ ## LLM-friendly JSON export
135
+ Use this to hand structured context to coding agents.
136
+ ```bash
137
+ vybe export --last --json
138
+ vybe export --last --json --snip
139
+ vybe export --last --json --snip --redact
140
+ ```
141
+
142
+ ## Tagging and diffs
143
+ Use tags to keep one debugging thread grouped:
144
+ ```bash
145
+ vybe run --tag auth pytest -q
146
+ vybe rr --tag auth
147
+ vybe ls --tag auth
148
+ vybe tags
149
+ ```
150
+
151
+ See exactly what changed between your latest two captures:
152
+ ```bash
153
+ vybe diff
154
+ vybe diff --tag auth
155
+ vybe diff --full
156
+ ```
157
+
158
+ ## Share bundles and doctor
159
+ Generate a ready-to-paste Markdown bundle:
160
+ ```bash
161
+ vybe share
162
+ vybe share --redact --errors
163
+ vybe share --clip
164
+ vybe share --json
165
+ vybe share --json --errors --redact
166
+ ```
167
+
168
+ Get quick environment diagnostics:
169
+ ```bash
170
+ vybe doctor
171
+ vybe doctor --json
172
+ vybe self-check
173
+ vybe self-check --json
174
+ vybe cfg --json
175
+ vybe init
176
+ ```
177
+
178
+ ## CLI stability
179
+ Vybe keeps a stable v1 CLI contract for humans, scripts, and agents:
180
+ - See `docs/CLI_CONTRACT.md`
181
+ - Machine-readable JSON outputs are additive: existing keys remain, new keys may be added
182
+
183
+ ## Agent quickstart (human + LLM loop)
184
+ Use this when pairing with ChatGPT/Codex/Claude during debugging.
185
+
186
+ 1) Run and capture
187
+ ```bash
188
+ vybe r pytest -q
189
+ ```
190
+
191
+ 2) Copy output-only to clipboard for your LLM
192
+ ```bash
193
+ vybe sc
194
+ ```
195
+
196
+ 3) Apply changes, then retry quickly
197
+ ```bash
198
+ vybe rr
199
+ ```
200
+
201
+ 4) If you moved directories, retry in the original working dir
202
+ ```bash
203
+ vybe rr --cwd
204
+ ```
205
+
206
+ 5) Check recent attempts fast
207
+ ```bash
208
+ vybe ll 8
209
+ ```
210
+
211
+ Failure-first loop:
212
+ ```bash
213
+ vybe fail
214
+ vybe s
215
+ vybe sc
216
+ ```
217
+
218
+ Tip for agents and scripts:
219
+ - Prefer full commands in automation (`vybe run`, `vybe retry`) for clarity.
220
+ - Use aliases interactively for speed.
221
+
222
+ ### Command reference
223
+ Run:
224
+ ```bash
225
+ vybe --help
226
+ ```
227
+
228
+ ## Clipboard support
229
+ Vybe auto-detects clipboard tools:
230
+ - X11: `xclip` or `xsel`
231
+ - Wayland: `wl-copy`
232
+
233
+ ## Shell completion install
234
+ Install directly from the CLI:
235
+ ```bash
236
+ vybe completion install zsh
237
+ vybe completion install bash
238
+ vybe completion install fish
239
+ ```
240
+
241
+ ## tmux scrollback capture
242
+ ```bash
243
+ vybe pane 4000
244
+ vybe open
245
+ ```
246
+
247
+ ## Environment variables
248
+ - `VYBE_DIR` log dir (default `~/.cache/vybe`)
249
+ - `VYBE_STATE` state file (default `~/.config/vybe/state.json`)
250
+ - `VYBE_INDEX` index file (default `~/.cache/vybe/index.jsonl`)
251
+ - `VYBE_CONFIG` config file (default `~/.config/vybe/config.json`)
252
+ - `VYBE_MAX_INDEX` max index entries (default `2000`)
253
+
254
+ ## Shell completions
255
+ See `completions/`:
256
+ - bash: `completions/vybe.bash`
257
+ - zsh: `completions/_vybe`
258
+ - fish: `completions/vybe.fish`
259
+
260
+ Use `vybe completion install <shell>` instead of copying files manually.
261
+
262
+ ## License
263
+ MIT
vybe-0.8.2/README.md ADDED
@@ -0,0 +1,252 @@
1
+ # Vybe
2
+
3
+ ```text
4
+ ____ ____ ___
5
+ \ \ / /___ __ | |__ ____
6
+ \ Y /( | || __ \ / __ \
7
+ \ / \___ || \_\ \ ___/
8
+ \___/ (_____||_____/\____)
9
+ ```
10
+
11
+ Vybe is a **vibe coding terminal toolkit**: run a command, capture its output, and instantly reuse it —
12
+ copy to clipboard, wrap in Markdown, search errors, jump to the last failure, or grab tmux scrollback.
13
+
14
+ ## Highlights
15
+ - **`vybe run ...`** streams output live *and* saves it.
16
+ - **`vybe retry`** reruns your last `vybe run` command.
17
+ - **`vybe snipclip`** copies *output only* (perfect for issues/ChatGPT).
18
+ - **`vybe snipclip --redact`** copies output with common secrets masked.
19
+ - **`vybe errors`** extracts likely error blocks from latest capture.
20
+ - **`vybe export --last --json`** emits machine-readable context for agents.
21
+ - **`vybe run --tag <name>`** groups captures by task/session.
22
+ - **`vybe diff`** shows what changed between your latest two captures.
23
+ - **`vybe share`** builds a Markdown-ready report for issues/LLM chats.
24
+ - **`vybe doctor`** prints a fast environment snapshot for debugging setup issues.
25
+ - **`vybe fail`** jumps back to the most recent failing run.
26
+ - Works great on Kali (zsh) and supports tmux scrollback capture.
27
+
28
+ ## Install (dev / from source)
29
+ ```bash
30
+ python -m venv .venv
31
+ source .venv/bin/activate
32
+ pip install -e .
33
+ vybe --help
34
+ python -m vybe --help
35
+ ```
36
+
37
+ ## Install (recommended on Kali/Ubuntu)
38
+ Use `pipx` to avoid PEP 668 "externally-managed-environment" issues:
39
+ ```bash
40
+ sudo apt install pipx
41
+ pipx ensurepath
42
+ pipx install vybe
43
+ ```
44
+
45
+ From a local checkout:
46
+ ```bash
47
+ cd ~/dev/Vybe
48
+ pipx install . --force
49
+ ```
50
+
51
+ Check install/update guidance:
52
+ ```bash
53
+ vybe self-check
54
+ vybe self-check --json
55
+ ```
56
+
57
+ ## Usage
58
+ ```bash
59
+ vybe run pytest -q
60
+ vybe retry
61
+ vybe r pytest -q
62
+ vybe run --tag auth pytest -q
63
+ vybe rr --cwd
64
+ vybe fail
65
+ vybe s
66
+ vybe sc
67
+ vybe sc --redact
68
+ vybe ll 5
69
+ vybe ls --tag auth
70
+ vybe snipclip
71
+ vybe errors
72
+ vybe export --last --json --snip
73
+ vybe diff
74
+ vybe share --redact --errors
75
+ vybe share --clip
76
+ vybe share --json
77
+ vybe share --json --errors --redact
78
+ vybe doctor
79
+ vybe self-check
80
+ vybe cfg
81
+ vybe init
82
+ vybe completion install zsh
83
+ vybe md bash
84
+ vybe grep "Traceback|ERROR" --i
85
+ ```
86
+
87
+ ## Speed aliases
88
+ - `vybe r ...` is the same as `vybe run ...`
89
+ - `vybe rr` is the same as `vybe retry`
90
+ - `vybe rr --cwd` retries in the original working directory
91
+ - `vybe rr --tag <name>` retries and assigns a tag
92
+ - `vybe l` is the same as `vybe last`
93
+ - `vybe s` is the same as `vybe snip`
94
+ - `vybe sc` is the same as `vybe snipclip`
95
+ - `vybe o` is the same as `vybe open`
96
+ - `vybe ll [N]` is the same as `vybe ls [N]`
97
+ - Full commands remain the canonical docs and are recommended in scripts/automation
98
+
99
+ ## Quick recipes
100
+ Fast debug loop:
101
+ ```bash
102
+ vybe r pytest -q
103
+ vybe errors
104
+ vybe share --redact --errors --clip
105
+ vybe rr
106
+ ```
107
+
108
+ Tagged task loop:
109
+ ```bash
110
+ vybe run --tag auth pytest -q
111
+ vybe rr --tag auth
112
+ vybe ls --tag auth
113
+ vybe diff --tag auth
114
+ ```
115
+
116
+ Agent handoff loop:
117
+ ```bash
118
+ vybe export --last --json --snip --redact
119
+ vybe share --json --errors --redact
120
+ vybe doctor --json
121
+ ```
122
+
123
+ ## LLM-friendly JSON export
124
+ Use this to hand structured context to coding agents.
125
+ ```bash
126
+ vybe export --last --json
127
+ vybe export --last --json --snip
128
+ vybe export --last --json --snip --redact
129
+ ```
130
+
131
+ ## Tagging and diffs
132
+ Use tags to keep one debugging thread grouped:
133
+ ```bash
134
+ vybe run --tag auth pytest -q
135
+ vybe rr --tag auth
136
+ vybe ls --tag auth
137
+ vybe tags
138
+ ```
139
+
140
+ See exactly what changed between your latest two captures:
141
+ ```bash
142
+ vybe diff
143
+ vybe diff --tag auth
144
+ vybe diff --full
145
+ ```
146
+
147
+ ## Share bundles and doctor
148
+ Generate a ready-to-paste Markdown bundle:
149
+ ```bash
150
+ vybe share
151
+ vybe share --redact --errors
152
+ vybe share --clip
153
+ vybe share --json
154
+ vybe share --json --errors --redact
155
+ ```
156
+
157
+ Get quick environment diagnostics:
158
+ ```bash
159
+ vybe doctor
160
+ vybe doctor --json
161
+ vybe self-check
162
+ vybe self-check --json
163
+ vybe cfg --json
164
+ vybe init
165
+ ```
166
+
167
+ ## CLI stability
168
+ Vybe keeps a stable v1 CLI contract for humans, scripts, and agents:
169
+ - See `docs/CLI_CONTRACT.md`
170
+ - Machine-readable JSON outputs are additive: existing keys remain, new keys may be added
171
+
172
+ ## Agent quickstart (human + LLM loop)
173
+ Use this when pairing with ChatGPT/Codex/Claude during debugging.
174
+
175
+ 1) Run and capture
176
+ ```bash
177
+ vybe r pytest -q
178
+ ```
179
+
180
+ 2) Copy output-only to clipboard for your LLM
181
+ ```bash
182
+ vybe sc
183
+ ```
184
+
185
+ 3) Apply changes, then retry quickly
186
+ ```bash
187
+ vybe rr
188
+ ```
189
+
190
+ 4) If you moved directories, retry in the original working dir
191
+ ```bash
192
+ vybe rr --cwd
193
+ ```
194
+
195
+ 5) Check recent attempts fast
196
+ ```bash
197
+ vybe ll 8
198
+ ```
199
+
200
+ Failure-first loop:
201
+ ```bash
202
+ vybe fail
203
+ vybe s
204
+ vybe sc
205
+ ```
206
+
207
+ Tip for agents and scripts:
208
+ - Prefer full commands in automation (`vybe run`, `vybe retry`) for clarity.
209
+ - Use aliases interactively for speed.
210
+
211
+ ### Command reference
212
+ Run:
213
+ ```bash
214
+ vybe --help
215
+ ```
216
+
217
+ ## Clipboard support
218
+ Vybe auto-detects clipboard tools:
219
+ - X11: `xclip` or `xsel`
220
+ - Wayland: `wl-copy`
221
+
222
+ ## Shell completion install
223
+ Install directly from the CLI:
224
+ ```bash
225
+ vybe completion install zsh
226
+ vybe completion install bash
227
+ vybe completion install fish
228
+ ```
229
+
230
+ ## tmux scrollback capture
231
+ ```bash
232
+ vybe pane 4000
233
+ vybe open
234
+ ```
235
+
236
+ ## Environment variables
237
+ - `VYBE_DIR` log dir (default `~/.cache/vybe`)
238
+ - `VYBE_STATE` state file (default `~/.config/vybe/state.json`)
239
+ - `VYBE_INDEX` index file (default `~/.cache/vybe/index.jsonl`)
240
+ - `VYBE_CONFIG` config file (default `~/.config/vybe/config.json`)
241
+ - `VYBE_MAX_INDEX` max index entries (default `2000`)
242
+
243
+ ## Shell completions
244
+ See `completions/`:
245
+ - bash: `completions/vybe.bash`
246
+ - zsh: `completions/_vybe`
247
+ - fish: `completions/vybe.fish`
248
+
249
+ Use `vybe completion install <shell>` instead of copying files manually.
250
+
251
+ ## License
252
+ MIT
@@ -0,0 +1,15 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "vybe"
7
+ version = "0.8.2"
8
+ description = "Vibe coding terminal capture toolkit"
9
+ authors = [{name = "Homer Morrill"}]
10
+ license = {text = "MIT"}
11
+ readme = "README.md"
12
+ requires-python = ">=3.8"
13
+
14
+ [project.scripts]
15
+ vybe = "vybe.cli:main"
vybe-0.8.2/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,2 @@
1
+ __all__ = ["__version__"]
2
+ __version__ = "0.8.2"
@@ -0,0 +1,5 @@
1
+ from .cli import main
2
+
3
+
4
+ if __name__ == "__main__":
5
+ raise SystemExit(main())