orchestrata_ultimate.refactor

Reference › orchestrata_ultimate › refactor › init

The facade of the tool-calling refactor capability. It re-exports RefactorTools and TOOL_SCHEMAS from tools and refactor, arefactor and RefactorResult from agent. The scripts.refactor command-line script imports it. See the refactor package narrative.

At a glance

Source src/orchestrata_ultimate/refactor/__init__.py
Lines of code 14
Classes 0
Functions 0
Imports (internal) orchestrata_ultimate.refactor.agent, orchestrata_ultimate.refactor.tools
Imported by scripts.refactor
Tests that import it none

Class diagram

No classes; see Functions.

Dependency diagram

Dependency diagram orchestrata_ultimate.refactor

API

No public API: the module defines no classes, functions or constants.

Source

Permalink: https://gitlab.com/MSamy/orchestrata-ultimate-architecture/-/blob/a4cbc2bdf/src/orchestrata_ultimate/refactor/__init__.py

"""Tool-calling refactor capability.

Lets the system refactor an existing codebase via LLM function-calling on
DeepSeek: the model reads/searches/outlines real code with sandboxed tools,
applies exact-match edits, and verifies them — driven by a refactoring system
prompt. See :mod:`orchestrata_ultimate.refactor.tools` (the callable tools and
their JSON schemas) and :mod:`orchestrata_ultimate.refactor.agent` (the
tool-use loop and entry point).
"""

from orchestrata_ultimate.refactor.agent import RefactorResult, arefactor, refactor
from orchestrata_ultimate.refactor.tools import TOOL_SCHEMAS, RefactorTools

__all__ = ["RefactorTools", "TOOL_SCHEMAS", "refactor", "arefactor", "RefactorResult"]