mcp-use
Version:
Opinionated MCP Framework for TypeScript (@modelcontextprotocol/sdk compatible) - Build MCP Agents, Clients and Servers with support for ChatGPT Apps, Code Mode, OAuth, Notifications, Sampling, Observability and more.
31 lines (27 loc) • 468 B
JavaScript
import {
CODE_MODE_AGENT_PROMPT
} from "./chunk-YTP55WBX.js";
import {
__name
} from "./chunk-3GQAWCBQ.js";
// src/agents/prompts/index.ts
var PROMPTS = {
CODE_MODE: CODE_MODE_AGENT_PROMPT
};
// src/agents/base.ts
var BaseAgent = class {
static {
__name(this, "BaseAgent");
}
session;
/**
* @param session MCP session used for tool invocation
*/
constructor(session) {
this.session = session;
}
};
export {
PROMPTS,
BaseAgent
};