Documentation
¶
Index ¶
- type Server
- func (s *Server) AgentDockContext(ctx context.Context) (app.Result, error)
- func (s *Server) AgentDockLocalContext(ctx context.Context) (map[string]any, error)
- func (s *Server) HTTPHandler() http.Handler
- func (s *Server) Invoke(ctx context.Context, name string, arguments map[string]any) (map[string]any, error)
- func (s *Server) ReadAppResource(uri string) (map[string]any, error)
- func (s *Server) ReadArtifactChunk(artifactID string, offset int64, maxBytes int) (map[string]any, error)
- func (s *Server) RuntimeCapabilities(ctx context.Context, refresh bool) (app.Result, error)
- func (s *Server) RuntimeEvolve(ctx context.Context, args map[string]any) (app.Result, error)
- func (s *Server) RuntimeMCPManage(ctx context.Context, args map[string]any) (app.Result, error)
- func (s *Server) RuntimeMCPServer(ctx context.Context, name string) (app.Result, error)
- func (s *Server) RuntimeMCPServers(ctx context.Context) (app.Result, error)
- func (s *Server) RuntimeSkill(skill string) (app.Result, error)
- func (s *Server) RuntimeSkillFile(skill, path string) (app.Result, error)
- func (s *Server) RuntimeSkillFiles(skill string) (app.Result, error)
- func (s *Server) RuntimeSkills() (app.Result, error)
- func (s *Server) RuntimeStatus() app.Result
- func (s *Server) RuntimeTask(id string) (app.Result, error)
- func (s *Server) RuntimeTaskDelete(id string) (app.Result, error)
- func (s *Server) RuntimeTasks(status string, limit int) (app.Result, error)
- func (s *Server) ServeStdio(in io.Reader, out io.Writer) error
- func (s *Server) ToolContractHash() string
- func (s *Server) ToolDescriptors() []map[string]any
- func (s *Server) ToolNames() []string
- func (s *Server) UIResources() []protocol.UIResourceCapability
- type ToolDefinition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) AgentDockContext ¶
func (*Server) AgentDockLocalContext ¶ added in v0.8.0
AgentDockLocalContext 为 Nexus Bridge 私有操作提供节点本地 Context, 返回结构沿用 agentdock_context 的标准工具结果 envelope。
func (*Server) HTTPHandler ¶ added in v0.6.0
func (*Server) ReadAppResource ¶ added in v0.8.0
ReadAppResource exposes only AgentDock-owned MCP App resources to the Nexus bridge. Tool execution and arbitrary local resources are intentionally not routed through this path.
func (*Server) ReadArtifactChunk ¶ added in v0.8.1
func (s *Server) ReadArtifactChunk(artifactID string, offset int64, maxBytes int) (map[string]any, error)
ReadArtifactChunk serves the private Bridge operation used by NexusDock's signed download proxy. It is not exposed as an MCP tool.
func (*Server) RuntimeCapabilities ¶
func (*Server) RuntimeEvolve ¶ added in v0.7.6
func (*Server) RuntimeMCPManage ¶
func (*Server) RuntimeMCPServer ¶
func (*Server) RuntimeMCPServers ¶
func (*Server) RuntimeSkillFile ¶ added in v0.5.3
func (*Server) RuntimeSkillFiles ¶ added in v0.5.3
func (*Server) RuntimeStatus ¶
func (*Server) RuntimeTaskDelete ¶
func (*Server) RuntimeTasks ¶
func (*Server) ToolContractHash ¶ added in v0.8.0
func (*Server) ToolDescriptors ¶ added in v0.8.0
func (*Server) UIResources ¶ added in v0.8.0
func (s *Server) UIResources() []protocol.UIResourceCapability
UIResources returns the exact MCP App resources this server can serve through the Nexus bridge. Capability discovery is derived from the resource registry, never from tool/result UI bindings.
type ToolDefinition ¶
type ToolDefinition = app.ToolDefinition
Source Files
¶
Click to show internal directories.
Click to hide internal directories.