Skip to content

Claude/awesome cannon 0d913f - #102

Open
DataAI123 wants to merge 2 commits into
zcaceres:mainfrom
DataAI123:claude/awesome-cannon-0d913f
Open

Claude/awesome cannon 0d913f#102
DataAI123 wants to merge 2 commits into
zcaceres:mainfrom
DataAI123:claude/awesome-cannon-0d913f

Conversation

@DataAI123

Copy link
Copy Markdown

No description provided.

DataAI123 and others added 2 commits May 12, 2026 11:26
Bug fixes:
- Markdownify.get(): use resolvedPath for existsSync/readFile (relative paths were silently broken)
- isWithinDirectory: fix prefix false-positive matching (e.g. /docs-other matched /docs)
- validateUrl: block IPv6 loopback (::1) and embedded credentials (user:pass@host)
- inferExtensionFromUrl: handle query strings and fragments before extension check
- isMarkdownFile: case-insensitive extension matching (.MD, .MARKDOWN)

Test improvements:
- Added server.test.ts: 17 MCP protocol integration tests (routing, errors, response format)
- Added tools.test.ts: 15 tool schema validation tests
- Added Markdownify.extended.test.ts: 16 edge case tests (redirects, injection, path restrictions)
- Extended utils.test.ts: +12 tests (IPv6, credentials, prefix boundaries, case sensitivity)
- Fixed test timeouts: PDF 15s (onnxruntime warmup), invalid-repo 120s (GitHub API latency)

Test count: 79 → 142 tests, 105 → 422 expectations

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Add GitHub Actions CI workflow (lint → build → test on PRs to main)
- Add Biome configuration for linting/formatting (tab indent, double quotes)
- Add CHANGELOG.md with full version history from v1.0.1 to unreleased
- Add .env.example with documentation for all environment variables
- Add Docker feature matrix in README
- Add git-repo-to-markdown to Available Tools list

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant