Files
jiangchang-platform-kit/src/jiangchang_desktop_wake/__init__.py
chendelian 71091e38a9
All checks were successful
Publish Python Package to Gitea / publish (push) Successful in 29s
feat(desktop-wake): add WeCom UIA warm-tree and ship n2-wake in 1.2.3
Expose ensure_ui_ready via DuiLib GetAccessible inject path; package x86 native helpers for host/skill consumers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 08:42:38 +08:00

42 lines
967 B
Python

"""jiangchang_desktop_wake — 桌面 UIA Provider 暖树(可整包删除)。
与 ``jiangchang_skill_core`` / ``jiangchang_desktop_sdk`` 平级,互不强制依赖。
用法::
from jiangchang_desktop_wake import ensure_ui_ready, probe
r = ensure_ui_ready("wecom")
print(r.probe_after.findall_count, r.warm)
CLI::
python -m jiangchang_desktop_wake probe --profile wecom
python -m jiangchang_desktop_wake ensure --profile wecom
"""
from __future__ import annotations
from .c2 import wake_c2
from .ensure import ensure_ui_ready
from .errors import DesktopWakeError
from .inject import inject_probe
from .probe import probe
from .profiles import list_profiles, load_profile
from .wake import wake, wake_or_raise
__version__ = "0.5.0"
__all__ = [
"__version__",
"DesktopWakeError",
"ensure_ui_ready",
"inject_probe",
"probe",
"wake",
"wake_c2",
"wake_or_raise",
"load_profile",
"list_profiles",
]