Skip to content
Merged
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 loopx/agy_goal_mode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,28 @@
from typing import Any

from ..command_invocation import loopx_cli_argv
from ..hosts.capabilities import (
HostHarnessCapabilities,
_register_builtin_host_capabilities,
)

AGY_HOST_CAPABILITIES: HostHarnessCapabilities = _register_builtin_host_capabilities(
HostHarnessCapabilities(
host_id="agy",
integration_tier="orchestrated_app",
adapter_module="loopx.agy_goal_mode",
supported_capabilities=(),
hook_events=("Stop",),
requires_utf8_stdio=True,
native_goal_primitive=True,
native_scheduler_primitive=True,
description=(
"Antigravity CLI and App orchestrated adapter with native /goal, "
"schedule wake tools, Stop EOF recovery hook, and "
"ANTIGRAVITY_CONVERSATION_ID binding."
),
)
)

AGY_INSTALL_SURFACE = "agy"
ANTIGRAVITY_APP_INSTALL_SURFACE = "antigravity-app"
Expand Down
1 change: 1 addition & 0 deletions loopx/agy_goal_mode/host_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
from ..command_invocation import loopx_cli_argv
from ..entrypoint import pin_utf8_stdio
from ..file_lock import exclusive_file_lock
from . import AGY_HOST_CAPABILITIES as AGY_HOST_CAPABILITIES
from .launchd_watchdog import (
DEFAULT_LAUNCHD_INTERVAL_SECONDS,
DEFAULT_LONG_IDLE_SECONDS,
Expand Down
3 changes: 3 additions & 0 deletions loopx/capabilities/native_chat/codex_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
)
from ...chat.codex_goal import CodexGoalDriver
from ...control_plane.content_digest import BARE_SHA256_PATTERN
from ...hosts.codex_capabilities import (
CODEX_APP_SERVER_HOST_CAPABILITIES as CODEX_APP_SERVER_HOST_CAPABILITIES,
)

if TYPE_CHECKING:
from ...chat_runtime import ChatRuntimeController
Expand Down
27 changes: 26 additions & 1 deletion loopx/claude_goal_mode/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,29 @@
no longer part of the working tree or a LoopX runtime module.
"""

__all__: list[str] = []
from __future__ import annotations

from ..hosts.capabilities import (
HostHarnessCapabilities,
_register_builtin_host_capabilities,
)

CLAUDE_HOST_CAPABILITIES: HostHarnessCapabilities = _register_builtin_host_capabilities(
HostHarnessCapabilities(
host_id="claude",
integration_tier="boundary_cli",
adapter_module="loopx.claude_goal_mode",
supported_capabilities=("verifier_hook",),
hook_events=("PreToolUse",),
requires_utf8_stdio=True,
native_goal_primitive=False,
native_scheduler_primitive=True,
description=(
"Claude Code boundary CLI adapter driven by native /loop, MCP "
"control-plane tools, and opt-in PreToolUse should_run/write_scope "
"policy verification."
),
)
)

__all__: list[str] = ["CLAUDE_HOST_CAPABILITIES"]
3 changes: 3 additions & 0 deletions loopx/codex_app_thread_activity.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
from pathlib import Path
from typing import Any

from .hosts.codex_capabilities import (
CODEX_APP_HOST_CAPABILITIES as CODEX_APP_HOST_CAPABILITIES,
)
from .hosts.codex_rollout_cursor import Reader, RolloutCursor
from .hosts.codex_rollout_file import open_rollout
from .control_plane.agents.host_thread_activity import (
Expand Down
Loading
Loading