c61296a24e
- Add TestUserContext: tests for UserContext dataclass (creation, to_dict, from_dict) - Add TestUserContextManager: tests for manager initialization and load - Add TestAtomicWrites: tests for atomic save with backup rotation - Add TestMultiUser: tests for multi-user isolation and convenience methods - Add tmp_users_root and user_context_manager fixtures to conftest.py - Export UserContext and UserContextManager from __init__.py Note: Implementation was already done in commit 9bd29a2 as part of 04-02 plan. This commit adds the tests that should have been part of 04-01 TDD workflow. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
1.2 KiB
Python
40 lines
1.2 KiB
Python
"""
|
|
gsd-openclaw: GSD to OpenClaw bridge skill.
|
|
|
|
This package provides the bridge between OpenClaw and GSD (Get Shit Done),
|
|
enabling users to interact with GSD through messaging platforms.
|
|
"""
|
|
|
|
__version__ = "0.1.0"
|
|
|
|
from gsd_openclaw.state_manager import SessionState, StateManager, save_state, load_state
|
|
from gsd_openclaw.workspace import Workspace, WorkspaceManager
|
|
from gsd_openclaw.tmux_session import TmuxSession, TmuxSessionManager, SessionInfo
|
|
from gsd_openclaw.command_executor import CommandResult, OutputCapture, CommandExecutor
|
|
from gsd_openclaw.approval_handler import ApprovalHandler, ApprovalState
|
|
from gsd_openclaw.progress_monitor import ProgressMonitor, ProgressInfo
|
|
from gsd_openclaw.orchestrator import Orchestrator
|
|
from gsd_openclaw.user_context import UserContext, UserContextManager
|
|
|
|
__all__ = [
|
|
"SessionState",
|
|
"StateManager",
|
|
"save_state",
|
|
"load_state",
|
|
"Workspace",
|
|
"WorkspaceManager",
|
|
"TmuxSession",
|
|
"TmuxSessionManager",
|
|
"SessionInfo",
|
|
"CommandResult",
|
|
"OutputCapture",
|
|
"CommandExecutor",
|
|
"ApprovalHandler",
|
|
"ApprovalState",
|
|
"ProgressMonitor",
|
|
"ProgressInfo",
|
|
"Orchestrator",
|
|
"UserContext",
|
|
"UserContextManager",
|
|
]
|