Photoshop bridge source functions
21 definitions in the current source checkout. This source map includes internal helpers and class methods. It is not a supported API contract or a promise that a function can be called through a bridge. For supported entry points use the Python API reference or bundled DCC wrapper pages.
Development-only: The Photoshop UXP bridge is disabled in production until entitlement-derived pairing is available.
Type to search all API references.
tech_connector.bridges.photoshop.photoshop_bridge
experimental_photoshop_bridge_allowed
def experimental_photoshop_bridge_allowed() -> boolmodule function · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:34
Allow the unauthenticated prototype only in explicit, non-frozen development.
PhotoshopBridge.session_registry
def PhotoshopBridge.session_registry(self, host: str='127.0.0.1') -> dict[str, Any]class method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:266
PhotoshopBridge.find_port
def PhotoshopBridge.find_port(self, host: str='127.0.0.1') -> int | Noneclass method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:271
PhotoshopBridge.find_ports
def PhotoshopBridge.find_ports(self, host: str='127.0.0.1') -> list[int]class method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:275
PhotoshopBridge.execute
def PhotoshopBridge.execute(self, code: str, timeout: float=10) -> tuple[bool, str]class method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:286
Send a command dict or raw batchPlay JSON to the Photoshop UXP bridge.
PhotoshopBridge.execute_on_port
def PhotoshopBridge.execute_on_port(self, code: str, *, port: int, timeout: float=10) -> tuple[bool, str]class method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:299
PhotoshopBridge._command
def PhotoshopBridge._command(self, command: str, params: dict | None=None) -> tuple[bool, str]class method · internal · tech_connector/bridges/photoshop/photoshop_bridge.py:343
PhotoshopBridge.execute_command
def PhotoshopBridge.execute_command(self, command: str, params: dict | None=None) -> tuple[bool, str]class method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:347
PhotoshopBridge.session_info
def PhotoshopBridge.session_info(self, port: int | None=None, timeout: float=3.0) -> dictclass method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:350
PhotoshopBridge.sessions
def PhotoshopBridge.sessions(self, host: str='127.0.0.1') -> list[dict]class method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:362
PhotoshopBridge.get_current_file_code
def PhotoshopBridge.get_current_file_code(self) -> strclass method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:365
PhotoshopBridge.get_project_status_code
def PhotoshopBridge.get_project_status_code(self) -> strclass method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:368
PhotoshopBridge.get_scene_objects_code
def PhotoshopBridge.get_scene_objects_code(self) -> strclass method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:371
PhotoshopBridge.get_selection_code
def PhotoshopBridge.get_selection_code(self) -> strclass method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:374
PhotoshopBridge.get_scene_snapshot
def PhotoshopBridge.get_scene_snapshot(self, *, timeout: float=10.0, port: int | None=None, **_kwargs) -> tuple[bool, object]class method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:377
PhotoshopBridge.parse_input
def PhotoshopBridge.parse_input(self, text: str)class method · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:430
plugin_dir_candidates
def plugin_dir_candidates() -> list[Path]module function · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:440
Return candidate paths for the Photoshop UXP plugin directory.
default_plugin_dir
def default_plugin_dir() -> Pathmodule function · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:449
plugin_needs_install
def plugin_needs_install(plugin_dir: Path) -> boolmodule function · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:457
install_to_plugin_dir
def install_to_plugin_dir(plugin_dir: Path, dry_run: bool=False) -> Pathmodule function · public name · tech_connector/bridges/photoshop/photoshop_bridge.py:468
tech_connector.bridges.photoshop.photoshop_td_prompt
build_for_prompt
def build_for_prompt(text: str='', raw_snapshot: str='', project_root: Optional[str]=None) -> strmodule function · public name · tech_connector/bridges/photoshop/photoshop_td_prompt.py:12