tractor/ai/prompt-io/opencode/20260818T193005Z_bf06b4f8_p...

907 B

Implement to_actor.run() with Trio-style positional target arguments, functools.partial keyword and Python 3.14 Placeholder binding, and a static context endpoint that links remote results, errors and caller cancellation.

git diff HEAD~1..HEAD -- tractor/to_actor/_api.py tractor/to_actor/__init__.py

Resolve target functions through Actor._get_rpc_func() so module authorization remains authoritative. Automatically expose the helper module for actors owned by to_actor.run() and document explicit exposure for a caller-owned portal.

git diff HEAD~1..HEAD -- tests/test_to_actor.py examples/parallelism/to_actor_one_shots.py

Cover placement modes, argument binding, nested partials, caller-linked cancellation, remote errors and module authorization.