AS AgentScopeAPI 手册 / API Reference

已弃用 APIDeprecated API

从 docstring 中提取的已弃用类型与成员。Deprecated types and members extracted from docstrings.

API类型Kind弃用说明Deprecation
MessageBus.session_run方法method
设置会话运行。
Acquire the session lock, yield, then trim the replay log.
MessageBus.session_is_running方法method
设置会话是运行中。
Check whether some process holds the session lock.
MessageBus.session_publish_event方法method
执行会话发布事件相关操作。
Append + fan-out a session event.
MessageBus.session_read_events方法method
执行会话读取事件相关操作。
Read events from the session's replay log.
MessageBus.session_subscribe_events方法method
执行会话订阅事件相关操作。
Live-subscribe to session events, stripping _entry_id.
MessageBus.session_publish_cancel方法method
设置会话发布取消。
Broadcast a session cancel request.
MessageBus.session_subscribe_cancel方法method
设置会话订阅取消。
Subscribe to session cancel broadcasts, yielding session ids.
MessageBus.session_purge方法method
设置该参数。
Delete all per-session bus state.
MessageBus.inbox_push方法method
执行收件箱推送相关操作。
Push a message to a session's inbox.
MessageBus.inbox_drain方法method
执行 `inbox_drain` 方法。
Drain pending inbox messages for a session.
MessageBus.enqueue_wakeup方法method
执行 `enqueue_wakeup` 方法。
Enqueue an idle-session wake-up.
MessageBus.enqueue_input方法method
执行 `enqueue_input` 方法。
Enqueue a typed run trigger.
MessageBus.dequeue_wakeups方法method
设置该参数。
Drain pending run-trigger entries.
MessageBus.subscribe_wakeup_signal方法method
订阅 `subscribe_wakeup_signal`。
Subscribe to the shared wake-up signal channel.
MessageBus.bg_task_register方法method
执行bg 任务注册相关操作。
Register a background task.
MessageBus.bg_task_unregister方法method
执行bg 任务注销相关操作。
Unregister a background task.
MessageBus.bg_task_exists方法method
执行 `bg_task_exists` 方法。
Check whether a background task is registered.
MessageBus.bg_task_list方法method
设置bg 任务列表。
List all background tasks for a session.
MessageBus.bg_task_purge方法method
设置该参数。
Delete all background task entries for a session.
MessageBus.task_publish_cancel方法method
设置任务发布取消。
Broadcast a cancel request for a single background task.
MessageBus.task_subscribe_cancel方法method
设置任务订阅取消。
Subscribe to task cancel broadcasts, yielding task ids.
SessionRecord.source属性property
获取来源。
The origin's tag, under the name it used to have.
SessionRecord.source_schedule_id属性property
获取来源调度标识。
The schedule that created this session, if one did.
SessionRecord.source_channel_id属性property
获取来源渠道标识。
The owning channel, if an inbound message created this.
SessionRecord.source_chat_id属性property
获取来源聊天标识。
The platform chat this session serves, if any.
SessionRecord.source_chat_name属性property
获取来源聊天名称。
That chat's title, when the platform supplied one.
BubblewrapWorkspaceManager.create_workspace方法method
创建工作区。
Build a brand-new workspace and track it.
DockerWorkspaceManager.create_workspace方法method
创建工作区。
Use :meth:`get_workspace` with ``workspace_id=None`` — it falls back to :meth:`assign_workspace_id` under the manager's isolation policy and reuses the cache path.
E2BWorkspaceManager.create_workspace方法method
创建工作区。
Use :meth:`get_workspace` with ``workspace_id=None`` — it falls back to :meth:`assign_workspace_id` under the manager's isolation policy and reuses the cache path.
K8sWorkspaceManager.create_workspace方法method
创建工作区。
Use :meth:`get_workspace` with ``workspace_id=None`` — it falls back to :meth:`assign_workspace_id` under the manager's isolation policy and reuses the cache path.
LocalWorkspaceManager.create_workspace方法method
创建工作区。
Use :meth:`get_workspace` with ``workspace_id=None`` — it falls back to :meth:`assign_workspace_id` under the manager's isolation policy and reuses the cache path.