Skip to content

chore: add knip - #175

Merged
JustasMonkev merged 2 commits into
mainfrom
chore/add-knip
Aug 14, 2026
Merged

JustasMonkev merged 2 commits into
mainfrom
chore/add-knip

Conversation

@JustasMonkev

@JustasMonkev JustasMonkev commented Aug 13, 2026 •

Copy link
Copy Markdown
Owner

Summary by CodeRabbit

  • Developer Experience

    • Added commands for generating test coverage reports and checking unused code.
    • Clarified supported public APIs through improved documentation.
  • Maintenance

    • Removed obsolete debugging backend functionality and unused runtime components.
    • Reduced exposure of internal helpers and types to keep the public API focused.
    • Simplified platform-specific cache handling and removed outdated environment configuration support.
  • Documentation

    • Retired the legacy OpenWiki documentation and updated project guidance accordingly.

@coderabbitai

coderabbitai Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d8411364-a88b-4811-9d03-51c843fc9b81

📥 Commits

Reviewing files that changed from the base of the PR and between c4725a2 and 7f5bef3.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (14)
  • .claude/skills/pre-push-review/SKILL.md
  • AGENTS.md
  • CLAUDE.md
  • openwiki/.last-update.json
  • openwiki/INSTRUCTIONS.md
  • openwiki/architecture/overview.md
  • openwiki/architecture/source-map.md
  • openwiki/domain/accessibility-and-tools.md
  • openwiki/integrations/clients-and-browser-connections.md
  • openwiki/operations/configuration-and-runbook.md
  • openwiki/quickstart.md
  • openwiki/testing/strategy.md
  • openwiki/workflows/auditing-and-automation.md
  • package.json
💤 Files with no reviewable changes (11)
  • CLAUDE.md
  • openwiki/quickstart.md
  • openwiki/workflows/auditing-and-automation.md
  • openwiki/domain/accessibility-and-tools.md
  • openwiki/architecture/source-map.md
  • openwiki/INSTRUCTIONS.md
  • openwiki/.last-update.json
  • openwiki/integrations/clients-and-browser-connections.md
  • openwiki/testing/strategy.md
  • openwiki/architecture/overview.md
  • openwiki/operations/configuration-and-runbook.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • package.json

📝 Walkthrough

Walkthrough

The PR adds Knip configuration and scripts, marks supported APIs as public, narrows internal exports, and removes unused backend, dependency declarations, cache-directory code, and OpenWiki guidance.

Changes

Repository tooling and API cleanup

Layer / File(s) Summary
Knip and dependency configuration
knip.json, package.json, AGENTS.md
Adds Knip configuration, scripts, development dependencies, ignored worktree paths, and validation documentation.
Public API annotations and export boundaries
src/browserSessions.ts, src/config.ts, src/extension/protocol.ts, src/mcp/*, src/tab.ts, src/tools/*, src/utils/dataUrl.ts, src/utils/jsSource.ts, src/vscode/host.ts
Marks supported APIs as public and makes internal types and helpers module-local.
Obsolete code and guidance removal
src/mcp/mdb.ts, src/external-modules.d.ts, src/utils/fileUtils.ts, .claude/skills/pre-push-review/SKILL.md, openwiki/*
Removes the MCP debugging backend, dotenv declarations, platform-specific cache-directory resolution, and OpenWiki guidance. Updates the documentation checklist to omit OpenWiki searches.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Merge Risk: ⚪ Minimal · up to 7f5be

This change introduces no actionable merge-blocking risk based on the supplied evidence and is merge-ready after normal checks and review.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 63.16% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the primary change: adding Knip configuration, scripts, and development dependencies.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/add-knip

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c4725a2c9e

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json Resolved
Comment thread package.json Resolved
Comment thread src/mcp/mdb.ts Resolved
@JustasMonkev
JustasMonkev merged commit a239cfb into main Aug 14, 2026
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