code-puppy 0.0.341__py3-none-any.whl → 0.0.342__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.
- code_puppy/command_line/prompt_toolkit_completion.py +5 -19
- {code_puppy-0.0.341.dist-info → code_puppy-0.0.342.dist-info}/METADATA +1 -1
- {code_puppy-0.0.341.dist-info → code_puppy-0.0.342.dist-info}/RECORD +8 -8
- {code_puppy-0.0.341.data → code_puppy-0.0.342.data}/data/code_puppy/models.json +0 -0
- {code_puppy-0.0.341.data → code_puppy-0.0.342.data}/data/code_puppy/models_dev_api.json +0 -0
- {code_puppy-0.0.341.dist-info → code_puppy-0.0.342.dist-info}/WHEEL +0 -0
- {code_puppy-0.0.341.dist-info → code_puppy-0.0.342.dist-info}/entry_points.txt +0 -0
- {code_puppy-0.0.341.dist-info → code_puppy-0.0.342.dist-info}/licenses/LICENSE +0 -0
|
@@ -648,28 +648,14 @@ async def get_input_with_combined_completion(
|
|
|
648
648
|
else:
|
|
649
649
|
event.current_buffer.validate_and_handle()
|
|
650
650
|
|
|
651
|
-
# Handle bracketed paste
|
|
652
|
-
#
|
|
651
|
+
# Handle bracketed paste - TEXT ONLY, never check clipboard for images.
|
|
652
|
+
# Drag-and-drop sends file paths through this handler (as text), and paste
|
|
653
|
+
# operations send text through here too. We should NOT conflate this with
|
|
654
|
+
# clipboard image capture - those are separate operations (Ctrl+V / F3).
|
|
653
655
|
@bindings.add(Keys.BracketedPaste)
|
|
654
656
|
def handle_bracketed_paste(event):
|
|
655
|
-
"""Handle bracketed paste -
|
|
656
|
-
# The pasted data is in event.data
|
|
657
|
+
"""Handle bracketed paste - insert text data only."""
|
|
657
658
|
pasted_data = event.data
|
|
658
|
-
|
|
659
|
-
# Check if clipboard has an image (the pasted text might just be empty or a file path)
|
|
660
|
-
try:
|
|
661
|
-
if has_image_in_clipboard():
|
|
662
|
-
placeholder = capture_clipboard_image_to_pending()
|
|
663
|
-
if placeholder:
|
|
664
|
-
event.app.current_buffer.insert_text(placeholder + " ")
|
|
665
|
-
# The placeholder itself is visible feedback - no need for extra output
|
|
666
|
-
# Use bell for audible feedback (works in most terminals)
|
|
667
|
-
event.app.output.bell()
|
|
668
|
-
return # Don't also paste the text data
|
|
669
|
-
except Exception:
|
|
670
|
-
pass
|
|
671
|
-
|
|
672
|
-
# No image - insert the pasted text as normal, sanitizing Windows newlines
|
|
673
659
|
if pasted_data:
|
|
674
660
|
# Normalize Windows line endings to Unix style
|
|
675
661
|
sanitized_data = pasted_data.replace("\r\n", "\n").replace("\r", "\n")
|
|
@@ -63,7 +63,7 @@ code_puppy/command_line/motd.py,sha256=XuIk3UTLawwVFM-NfoaJGU5F2hPLASTFXq84UdDMT
|
|
|
63
63
|
code_puppy/command_line/onboarding_slides.py,sha256=tHob7rB_n32dfjtPH-RSG0WLMjDHhlmNxfsF7WCgcVc,7191
|
|
64
64
|
code_puppy/command_line/onboarding_wizard.py,sha256=U5lV_1P3IwDYZUHar0zKgdp121zzkvOwwORvdCZwFcw,10241
|
|
65
65
|
code_puppy/command_line/pin_command_completion.py,sha256=juSvdqRpk7AdfkPy1DJx5NzfEUU5KYGlChvP0hisM18,11667
|
|
66
|
-
code_puppy/command_line/prompt_toolkit_completion.py,sha256=
|
|
66
|
+
code_puppy/command_line/prompt_toolkit_completion.py,sha256=ytfP6c9G9xdhSS5aTmCCGdmWN7zr6Vauq1uRHCglEzg,31910
|
|
67
67
|
code_puppy/command_line/session_commands.py,sha256=Jh8GGfhlfBAEVfucKLbcZjNaXYd0twImiOwq2ZnGdQQ,9902
|
|
68
68
|
code_puppy/command_line/utils.py,sha256=7eyxDHjPjPB9wGDJQQcXV_zOsGdYsFgI0SGCetVmTqE,1251
|
|
69
69
|
code_puppy/command_line/mcp/__init__.py,sha256=0-OQuwjq_pLiTVJ1_NrirVwdRerghyKs_MTZkwPC7YY,315
|
|
@@ -175,10 +175,10 @@ code_puppy/tools/browser/browser_scripts.py,sha256=sNb8eLEyzhasy5hV4B9OjM8yIVMLV
|
|
|
175
175
|
code_puppy/tools/browser/browser_workflows.py,sha256=nitW42vCf0ieTX1gLabozTugNQ8phtoFzZbiAhw1V90,6491
|
|
176
176
|
code_puppy/tools/browser/camoufox_manager.py,sha256=RZjGOEftE5sI_tsercUyXFSZI2wpStXf-q0PdYh2G3I,8680
|
|
177
177
|
code_puppy/tools/browser/vqa_agent.py,sha256=DBn9HKloILqJSTSdNZzH_PYWT0B2h9VwmY6akFQI_uU,2913
|
|
178
|
-
code_puppy-0.0.
|
|
179
|
-
code_puppy-0.0.
|
|
180
|
-
code_puppy-0.0.
|
|
181
|
-
code_puppy-0.0.
|
|
182
|
-
code_puppy-0.0.
|
|
183
|
-
code_puppy-0.0.
|
|
184
|
-
code_puppy-0.0.
|
|
178
|
+
code_puppy-0.0.342.data/data/code_puppy/models.json,sha256=FMQdE_yvP_8y0xxt3K918UkFL9cZMYAqW1SfXcQkU_k,3105
|
|
179
|
+
code_puppy-0.0.342.data/data/code_puppy/models_dev_api.json,sha256=wHjkj-IM_fx1oHki6-GqtOoCrRMR0ScK0f-Iz0UEcy8,548187
|
|
180
|
+
code_puppy-0.0.342.dist-info/METADATA,sha256=rW8RfH48CIeoHIe49cVy1DU7161RkVjjhh_Rm2sA-Ok,27550
|
|
181
|
+
code_puppy-0.0.342.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
182
|
+
code_puppy-0.0.342.dist-info/entry_points.txt,sha256=Tp4eQC99WY3HOKd3sdvb22vZODRq0XkZVNpXOag_KdI,91
|
|
183
|
+
code_puppy-0.0.342.dist-info/licenses/LICENSE,sha256=31u8x0SPgdOq3izJX41kgFazWsM43zPEF9eskzqbJMY,1075
|
|
184
|
+
code_puppy-0.0.342.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|