Implemented the next parity slice.

New runtime/code:

  - src/ask_user_runtime.py
  - src/team_runtime.py

  New real tools in src/agent_tools.py:

  - ask_user_question
  - team_create
  - team_delete
  - team_list
  - team_get
  - send_message
  - team_messages
  - notebook_edit
This commit is contained in:
Abdelrahman Abdallah
2026-04-07 02:51:30 +02:00
parent a54c90b18f
commit a5629295ac
21 changed files with 1886 additions and 24 deletions
+8
View File
@@ -1,6 +1,7 @@
"""Python porting workspace for the Claude Code rewrite effort."""
from .account_runtime import AccountRuntime, AccountProfile, AccountSessionState, AccountStatusReport
from .ask_user_runtime import AskUserRuntime, AskUserResponse, QueuedUserAnswer
from .agent_context import (
AgentContextSnapshot,
build_context_snapshot,
@@ -29,6 +30,7 @@ from .session_store import StoredSession, load_session, save_session
from .system_init import build_system_init_message
from .task import PortingTask
from .task_runtime import TaskRuntime
from .team_runtime import TeamDefinition, TeamMessage, TeamRuntime
from .tokenizer_runtime import TokenCounterInfo, clear_token_counter_cache, count_tokens, describe_token_counter
from .tools import PORTED_TOOLS, build_tool_backlog
@@ -42,6 +44,8 @@ __all__ = [
'AccountRuntime',
'AccountSessionState',
'AccountStatusReport',
'AskUserResponse',
'AskUserRuntime',
'AgentMessage',
'AgentSessionState',
'BackgroundSessionRuntime',
@@ -60,6 +64,7 @@ __all__ = [
'PortRuntime',
'PluginRuntime',
'PortingTask',
'QueuedUserAnswer',
'QueryEnginePort',
'RuntimeSession',
'SearchProviderProfile',
@@ -68,6 +73,9 @@ __all__ = [
'SearchStatusReport',
'StoredSession',
'TaskRuntime',
'TeamDefinition',
'TeamMessage',
'TeamRuntime',
'TokenCounterInfo',
'TurnResult',
'PORTED_COMMANDS',