-
Notifications
You must be signed in to change notification settings - Fork 587
Expand file tree
/
Copy pathnative_codex_goal.py
More file actions
75 lines (72 loc) · 2.42 KB
/
Copy pathnative_codex_goal.py
File metadata and controls
75 lines (72 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
"""Benchmark-source compatibility import for the shipped native Goal runtime.
Real adapters should import from
``loopx.capabilities.benchmark_toolkit.native_codex_goal``. This facade keeps
the research tree's original import path thin so it cannot become a second
Goal state-machine implementation.
"""
from loopx.capabilities.benchmark_toolkit.native_codex_goal import (
NativeGoalConfig,
NativeGoalDeadlineExceeded,
NativeGoalEventTransport,
NativeGoalProtocolError,
NativeGoalTransport,
NativeGoalTurn,
StdioNativeGoalTransport,
attach_native_goal,
compact_native_goal_receipt,
observe_native_goal_event,
probe_native_goal_process,
refresh_native_goal_status,
run_native_goal_process,
run_native_goal_process_until_terminal,
run_native_goal_turn,
run_native_goal_until_terminal,
start_native_goal_turn,
wait_native_goal_turn,
)
from loopx.capabilities.benchmark_toolkit.native_codex_profile import (
NATIVE_CODEX_GOAL_PROMPT_SCHEMA_VERSION,
NATIVE_CODEX_PROFILE_REQUIRED_SKILL_IDS,
NativeCodexGoalPrompt,
NativeCodexProfile,
NativeCodexProfileError,
compact_native_codex_goal_prompt_receipt,
compact_native_codex_profile_receipt,
inspect_native_codex_profile,
install_native_codex_profile,
native_codex_app_server_shell_policy_args,
native_codex_profile_environment,
render_native_codex_goal_prompt,
)
__all__ = [
"NATIVE_CODEX_GOAL_PROMPT_SCHEMA_VERSION",
"NATIVE_CODEX_PROFILE_REQUIRED_SKILL_IDS",
"NativeCodexGoalPrompt",
"NativeCodexProfile",
"NativeCodexProfileError",
"NativeGoalConfig",
"NativeGoalDeadlineExceeded",
"NativeGoalEventTransport",
"NativeGoalProtocolError",
"NativeGoalTransport",
"NativeGoalTurn",
"StdioNativeGoalTransport",
"attach_native_goal",
"compact_native_codex_goal_prompt_receipt",
"compact_native_codex_profile_receipt",
"compact_native_goal_receipt",
"inspect_native_codex_profile",
"install_native_codex_profile",
"native_codex_app_server_shell_policy_args",
"native_codex_profile_environment",
"observe_native_goal_event",
"probe_native_goal_process",
"refresh_native_goal_status",
"render_native_codex_goal_prompt",
"run_native_goal_process",
"run_native_goal_process_until_terminal",
"run_native_goal_turn",
"run_native_goal_until_terminal",
"start_native_goal_turn",
"wait_native_goal_turn",
]