Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions src/ofw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
BenchmarkRunner,
BenchmarkStatus,
)
from ofw.candidate import (
CandidateBuilder,
CandidateError,
CandidateErrorCode,
CandidateEvidence,
CandidatePolicy,
ChangePrediction,
FileEdit,
LineRange,
)
from ofw.contracts import (
AssetAccess,
ComponentKind,
Expand All @@ -36,6 +46,7 @@
WorkspaceFile,
)
from ofw.diagnosis import (
ClusterId,
ClusterRevisionRef,
ClusterState,
DiagnosisError,
Expand Down Expand Up @@ -150,6 +161,8 @@ class _OfwNamespace:
ExportPolicy = ExportPolicy
BenchmarkPolicy = BenchmarkPolicy
BenchmarkRunner = BenchmarkRunner
CandidatePolicy = CandidatePolicy
CandidateBuilder = CandidateBuilder

def editable(self, path: Path) -> EditableFile:
return editable(path)
Expand Down Expand Up @@ -204,11 +217,18 @@ def read_snapshot_content(
"BenchmarkResult",
"BenchmarkRunner",
"BenchmarkStatus",
"CandidateBuilder",
"CandidateError",
"CandidateErrorCode",
"CandidateEvidence",
"CandidatePolicy",
"CanaryCase",
"CaseId",
"ClusterPartitionRule",
"ClusterFamilyId",
"ClusterId",
"ClusterState",
"ChangePrediction",
"ConsentStatus",
"ClusterRevisionRef",
"ComponentKind",
Expand All @@ -231,6 +251,7 @@ def read_snapshot_content(
"ExportPartition",
"ExportPolicy",
"FailureCluster",
"FileEdit",
"GitCommit",
"Harness",
"HarnessAsset",
Expand All @@ -246,6 +267,7 @@ def read_snapshot_content(
"LangfuseSpan",
"LeakageError",
"LeakageErrorCode",
"LineRange",
"LocalProcess",
"ModelFingerprint",
"ModuleName",
Expand Down
Loading