TRANSITIONAL: stateless code completion as a package function. Intent is to unify with Agent struct — a full Agent composes a one-shot.