deepy-cli 0.2.9__tar.gz → 0.2.10__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.
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/PKG-INFO +1 -1
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/pyproject.toml +1 -1
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/__init__.py +1 -1
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/terminal.py +17 -10
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/README.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/__main__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/cli.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/config/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/config/settings.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/skills/skill-creator/SKILL.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/skills/skill-installer/SKILL.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/AskUserQuestion.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/WebFetch.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/WebSearch.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/edit.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/modify.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/read.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/shell.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/todo_write.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/data/tools/write.md +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/errors.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/input_suggestions.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/agent.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/compaction.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/context.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/events.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/model_capabilities.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/provider.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/replay.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/runner.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/llm/thinking.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/mcp.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/prompts/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/prompts/compact.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/prompts/init_agents.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/prompts/rules.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/prompts/runtime_context.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/prompts/system.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/prompts/tool_docs.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/sessions/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/sessions/jsonl.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/sessions/manager.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/skill_market.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/skills.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/status.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/todos.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tools/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tools/agents.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tools/builtin.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tools/file_state.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tools/result.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tools/shell_output.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tools/shell_utils.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tui/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tui/app.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tui/commands.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tui/compat.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tui/diff.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tui/runner.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tui/screens.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tui/state.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/tui/widgets.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/types/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/types/sdk.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/types/tool_payloads.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/app.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/ask_user_question.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/exit_summary.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/file_mentions.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/loading_text.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/local_command.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/markdown.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/message_view.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/model_picker.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/prompt_buffer.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/prompt_input.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/session_list.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/session_picker.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/skill_picker.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/slash_commands.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/status_footer.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/styles.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/theme_picker.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/thinking_state.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/ui/welcome.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/update_check.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/usage.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/utils/__init__.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/utils/debug_logger.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/utils/error_logger.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/utils/json.py +0 -0
- {deepy_cli-0.2.9 → deepy_cli-0.2.10}/src/deepy/utils/notify.py +0 -0
|
@@ -2464,19 +2464,12 @@ def _windows_terminal_cursor_row() -> int | None:
|
|
|
2464
2464
|
try:
|
|
2465
2465
|
windll = getattr(ctypes, "windll")
|
|
2466
2466
|
kernel32 = windll.kernel32
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
kernel32.GetStdHandle.restype = wintypes.HANDLE
|
|
2470
|
-
kernel32.GetConsoleScreenBufferInfo.argtypes = [
|
|
2471
|
-
wintypes.HANDLE,
|
|
2472
|
-
ctypes.POINTER(_WindowsConsoleScreenBufferInfo),
|
|
2473
|
-
]
|
|
2474
|
-
kernel32.GetConsoleScreenBufferInfo.restype = wintypes.BOOL
|
|
2475
|
-
handle = kernel32.GetStdHandle(_STD_OUTPUT_HANDLE)
|
|
2467
|
+
get_std_handle, get_console_screen_buffer_info = _windows_console_functions(kernel32)
|
|
2468
|
+
handle = get_std_handle(_STD_OUTPUT_HANDLE)
|
|
2476
2469
|
if handle in {None, 0, _INVALID_HANDLE_VALUE}:
|
|
2477
2470
|
return None
|
|
2478
2471
|
info = _WindowsConsoleScreenBufferInfo()
|
|
2479
|
-
if not
|
|
2472
|
+
if not get_console_screen_buffer_info(handle, ctypes.byref(info)):
|
|
2480
2473
|
return None
|
|
2481
2474
|
return _visible_cursor_row_from_windows_buffer(
|
|
2482
2475
|
cursor_y=int(info.dwCursorPosition.Y),
|
|
@@ -2487,6 +2480,20 @@ def _windows_terminal_cursor_row() -> int | None:
|
|
|
2487
2480
|
return None
|
|
2488
2481
|
|
|
2489
2482
|
|
|
2483
|
+
def _windows_console_functions(kernel32: Any) -> tuple[Callable[[int], Any], Callable[[Any, Any], Any]]:
|
|
2484
|
+
prototype_factory = getattr(ctypes, "WINFUNCTYPE", None)
|
|
2485
|
+
if prototype_factory is None:
|
|
2486
|
+
return kernel32.GetStdHandle, kernel32.GetConsoleScreenBufferInfo
|
|
2487
|
+
return (
|
|
2488
|
+
prototype_factory(wintypes.HANDLE, wintypes.DWORD)(("GetStdHandle", kernel32)),
|
|
2489
|
+
prototype_factory(
|
|
2490
|
+
wintypes.BOOL,
|
|
2491
|
+
wintypes.HANDLE,
|
|
2492
|
+
ctypes.POINTER(_WindowsConsoleScreenBufferInfo),
|
|
2493
|
+
)(("GetConsoleScreenBufferInfo", kernel32)),
|
|
2494
|
+
)
|
|
2495
|
+
|
|
2496
|
+
|
|
2490
2497
|
def _visible_cursor_row_from_windows_buffer(
|
|
2491
2498
|
*,
|
|
2492
2499
|
cursor_y: int,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|