// cs/apps/trycopilot.ai/protos/prompt.proto.hh
// cs/apps/trycopilot.ai/protos/prompt.proto.hh
// cs/apps/trycopilot.ai/protos/prompt.proto.hh
#ifndef CS_APPS_TRYCOPILOT_AI_PROTOS_PROMPT_PROTO_HH
#define CS_APPS_TRYCOPILOT_AI_PROTOS_PROMPT_PROTO_HH
#include <string>
#include "cs/net/proto/proto.hh"
namespace cs::apps::trycopilotai::protos {
// Prompt request payload.
DECLARE_PROTO(PromptRequest) {
// Prompt message text.
std::string msg;
};
// Prompt response payload.
DECLARE_PROTO(PromptResponse) {
// Response message.
std::string msg;
// Codex response text.
std::string codex_msg;
// Stdout content.
std::string stdout_output;
// Process exit code.
int exit_code;
// Success flag.
bool ok;
// Error message text.
std::string error_message;
};
} // namespace cs::apps::trycopilotai::protos
#endif // CS_APPS_TRYCOPILOT_AI_PROTOS_PROMPT_PROTO_HH