AgentscopeCommandsEndpoint
@Endpoint(id = "agentscope-commands") public class AgentscopeCommandsEndpoint
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeCommandsEndpoint.java:29–42Agentscope Commands 端点,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 list、AgentscopeCommandsEndpoint。
GET /actuator/agentscope-commands: machine-readable catalog of every admin command
exposed by this process. Equivalent to opencode's CLI /help dialog, but in JSON for CLI
/ Studio / Kubernetes operator clients to consume.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public AgentscopeCommandsEndpoint(AdminCommandRegistry registry) | 初始化 `AgentscopeCommandsEndpoint` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public List<AdminCommand> list() | 返回列表。 Returns the list. |
构造器详情Constructor Detail
AgentscopeCommandsEndpoint
public AgentscopeCommandsEndpoint(AdminCommandRegistry registry)
初始化 AgentscopeCommandsEndpoint 实例。
Creates a new instance.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
registry | AdminCommandRegistry | 注册表(类型 `AdminCommandRegistry`)。The registry. |
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeCommandsEndpoint.java:34–36方法详情Method Detail
list
public List<AdminCommand> list()
返回列表。
Returns the list.
List<AdminCommand>返回列出。Returns list.
源码Source
io/agentscope/spring/boot/admin/endpoint/AgentscopeCommandsEndpoint.java:38–41