载入中...
搜索中...
未找到
AgentDevelopmentMcp.cpp
浏览该文件的文档.
75AgentDevelopmentResult invalid(std::string code, std::string message) { return {std::move(code), std::move(message)}; }
106 if (result.isAccepted()) result = session.start(stringField(args, "objective"), std::move(criteria));
130 return R"json({"name":"eve_agent_session_start","description":"Start an evidence-driven Agent game-development workflow with explicit acceptance criteria.","inputSchema":{"type":"object","properties":{"objective":{"type":"string"},"criteria":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"description":{"type":"string"},"required":{"type":"boolean"}},"required":["id","description"]}}},"required":["objective","criteria"]}},{"name":"eve_agent_session_advance","description":"Advance the active workflow through discover, modify, run, observe, verify, or recover.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string"},"phase":{"type":"string","enum":["discover","modify","run","observe","verify","recover"]}},"required":["sessionId","phase"]}},{"name":"eve_agent_session_evidence","description":"Record an immutable evidence receipt against one declared acceptance criterion.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string"},"criterionId":{"type":"string"},"kind":{"type":"string","enum":["runtime-observation","test","screenshot","checkpoint","artifact","manual","play-trace"]},"status":{"type":"string","enum":["pass","fail","pending"]},"summary":{"type":"string"},"artifact":{"type":"string"}},"required":["sessionId","criterionId","kind","status","summary"]}},{"name":"eve_agent_session_status","description":"Read the versioned workflow snapshot, criteria, evidence ledger, and completion readiness.","inputSchema":{"type":"object","properties":{}}},{"name":"eve_agent_session_complete","description":"Complete from verify only when every required criterion has passing evidence.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string"},"summary":{"type":"string"}},"required":["sessionId","summary"]}},{"name":"eve_agent_session_abort","description":"Abort an active workflow with an explicit reason.","inputSchema":{"type":"object","properties":{"sessionId":{"type":"string"},"reason":{"type":"string"}},"required":["sessionId","reason"]}})json";
static AgentDevelopmentSession & instance()
Return the process-lifetime session authority.
Definition AgentDevelopmentSession.cpp:34
Definition AgentDevelopmentMcp.cpp:12
bool isAgentDevelopmentTool(std::string_view name)
Whether a tool name belongs to the Agent development-session protocol.
Definition AgentDevelopmentMcp.cpp:79
std::string_view agentDevelopmentToolSchemas()
Comma-separated MCP tool schema fragments without surrounding array brackets.
Definition AgentDevelopmentMcp.cpp:129
AgentDevelopmentResult parseAgentDevelopmentPhase(std::string_view name, AgentDevelopmentPhase *phase)
Parse a stable JSON protocol phase name.
Definition AgentDevelopmentSession.cpp:164
AgentDevelopmentPhase
Ordered stage of an Agent-driven game-development session.
Definition AgentDevelopmentSession.hpp:13
std::string callAgentDevelopmentTool(std::string_view name, Poco::JSON::Object::Ptr args)
Execute one Agent development-session tool and return compact JSON.
Definition AgentDevelopmentMcp.cpp:85
std::string_view agentDevelopmentPhaseName(AgentDevelopmentPhase phase)
Stable JSON protocol name for a development phase.
Definition AgentDevelopmentSession.cpp:150
Immutable evidence recorded against an acceptance condition.
Definition AgentDevelopmentSession.hpp:24
std::string status
Definition AgentDevelopmentSession.hpp:28
std::string artifact
Definition AgentDevelopmentSession.hpp:30
std::string criterionId
Definition AgentDevelopmentSession.hpp:26
std::string summary
Definition AgentDevelopmentSession.hpp:29
Structured result for development-session state transitions.
Definition AgentDevelopmentSession.hpp:34
std::string message
Definition AgentDevelopmentSession.hpp:36