Ingest test code is "Me oh my, what a successful test!"
I'm building reddit-mcp — an MCP (Model Context Protocol) server that integrates Reddit API with AgentBase.me, a secure multitenant chat platform. This enables AI agents on AgentBase to interact with Reddit on behalf of authenticated users.
GitHub: https://github.com/prmichaelsen/reddit-mcp
- AI agents on AgentBase can browse subreddits, search Reddit, read comments
- AI agents can post, comment, vote, save content on behalf of the authenticated user
- AI agents can manage messages, moderate subreddits, edit wiki pages
Read ALL files in @agent. We are going to understand this project then work on a generic task.
Then read KEY src files per your understanding.
Then read @agent again, update stale @agent/tasks, stale documentation, and update @/agent/progress.yaml.
| import yargs, { Arguments } from 'yargs'; | |
| import fs from 'fs'; | |
| export const cli = yargs(process.argv) | |
| .scriptName('confluence-sync') | |
| .usage('$0 <command> [options]') | |
| .demandCommand(1, 'You need to specify a command') | |
| .completion('completion', (current: string, argv: Arguments<any>, completionFilter, done) => { | |
| const [_, command] = argv._; | |
| /** |
We at XXXXX are building a Model Context Protocol (MCP) client that functions as an agentic AI root cause analysis bot, which will be integrated into our enterprise observability and incident management platform. This enterprise-grade product is following a phased deployment approach:
Phase 1 (Current - Development): Supporting 1-3 XXXXX developers who are actively building and testing the workflow. During this phase, our engineering team needs sufficient quota to iteratively test and refine the system's capabilities to:
- Use Claude to analyze user intent and determine appropriate investigative actions
- Invoke multiple MCP server tools to fetch operational data from XXXXX platforms (XXXXX)
| " https://stackoverflow.com/questions/3961859/how-to-copy-to-clipboard-in-vim | |
| " Enable Cmd + C | |
| vnoremap <C-c> :w !pbcopy<CR><CR> noremap <C-v> | |
| " Enable Cmd + P | |
| noremap <C-v> :r !pbpaste<CR><CR> |
| @Log4j2 | |
| public class ImageUtility { | |
| public MultipartFile removeExifAndApplyOrientation(MultipartFile file, String mimeType) throws Exception { | |
| final BufferedImage image = ImageIO.read(file.getInputStream()); | |
| final Path tempDir = Paths.get(System.getProperty("java.io.tmpdir")); | |
| final Path originalFile = Files.createTempFile(tempDir, "original-image-", ""); | |
| final String originalPath = originalFile.toAbsolutePath().toString(); | |
| final ByteArrayOutputStream originalBytes = new ByteArrayOutputStream(); | |
| // jpg is lossy, and in this case when we try to write the file out, |
| import { calcDist, canReachCorner, getRectIntersections, intersectsCircle, intersectsRect, isPointWithinBounds, solutionsForY, solutionsForX, getCircleIntersections } from "./leet"; | |
| describe('leet', () => { | |
| describe('calcDist', () => { | |
| it('calcs dist', () => { | |
| expect(calcDist([0, 0], [0, 1])).toEqual(1); | |
| }); |
| function compareSemver(a: string, b: string) { | |
| const aSemver = a.split('-')[1].split('.'); | |
| const bSember = b.split('-')[1].split('.'); | |
| for (let i = 0; i < 3; i++) { | |
| const aPart = parseInt(aSemver[i], 10); | |
| const bPart = parseInt(bSember[i], 10); | |
| if (aPart > bPart) { |