claude-code-emacs-mcp-server
Version:
MCP server for Claude Code Emacs integration
19 lines • 733 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCurrentSelectionOutputSchema = exports.getCurrentSelectionInputSchema = void 0;
const zod_1 = require("zod");
// Input schema for getCurrentSelection tool
exports.getCurrentSelectionInputSchema = zod_1.z.object({});
// Position schema
const positionSchema = zod_1.z.object({
line: zod_1.z.number(),
column: zod_1.z.number()
});
// Output schema for getCurrentSelection tool
exports.getCurrentSelectionOutputSchema = zod_1.z.object({
selection: zod_1.z.string().optional(),
file: zod_1.z.string().optional(),
start: positionSchema.optional(),
end: positionSchema.optional()
});
//# sourceMappingURL=selection-schema.js.map