/** * @downcity/agent - Agent 内存索引与 HTTP/RPC 转发器。 * * City 维护多 Agent 运行时引用并提供可选 HTTP/RPC transport。 * Agent、Session 与 Plugin 执行能力由 `@/index.js` 提供,Workspace 资源由 * `@downcity/workspace` 提供。 */ export { City } from "./runtime/City.js"; export type { CityAgents, CityGroups, CityListenOptions, CityOptions, CityRuntimeOptions, CityWorkspaces, } from "./types/City.js"; export type { PluginHostContext, PluginHostExtensions, AgentPluginModule, } from "./types/PluginHostContext.js"; export { create_city_host_instance_id, get_city_host_state_path, is_process_alive, read_city_host_state, register_city_host, request_city_host_shutdown, unregister_city_host, wait_for_city_host_exit, } from "./host/CityHostRegistry.js"; export type { CityHostOwner, CityHostState } from "./host/CityHostRegistry.js"; /** Transport 实现由 City.http() / City.rpc() 持有,不作为独立构造器公开。 */ export type { AgentHttpBinding, AgentHttpListenOptions, } from "./transport/types/AgentHttpBinding.js"; export type { AgentHttpRuntimeOptions } from "./transport/types/AgentHttpRuntime.js"; export type { CityHttpRuntimeOptions } from "./transport/types/CityHttpRuntime.js"; export type { CityAgentHttpExtension } from "./transport/types/CityHttpRuntime.js"; export type { AgentRpcBinding, AgentRpcListenOptions, } from "./transport/types/AgentRpcBinding.js"; export type { AgentRpcRuntimeOptions } from "./transport/types/AgentRpcRuntime.js"; export type { CityRpcRuntimeOptions } from "./transport/types/CityRpcRuntime.js"; export type { AgentSessionModelResolver } from "./transport/types/AgentSessionModelResolver.js";