Skip to content

Feature/clickable tour description webview - #335

Closed
maurice30120 wants to merge 14 commits into
microsoft:mainfrom
maurice30120:feature/clickable-tour-description-webview
Closed

Feature/clickable tour description webview#335
maurice30120 wants to merge 14 commits into
microsoft:mainfrom
maurice30120:feature/clickable-tour-description-webview

Conversation

@maurice30120

Copy link
Copy Markdown

No description provided.

Adds a standalone Node.js/TypeScript package at packages/mcp-server/
exposing a workspace-confined stdio MCP server with two tools:
create_project_tour (.tours/project.tour) and create_changes_tour
(.tours/changes.tour).

The server validates proposals deterministically (aggregated errors,
Tour Anchor rules, V1 security boundary: no commands/when/uri, no
active Markdown schemes, symlink confinement), applies the Git rules
(merge-base, full-head-SHA check, STALE_HEAD, NO_CHANGES, uncommitted
change handling) and atomically replaces the reserved tour file, then
validates its output against the general CodeTour schema.

Closes #1
…includeUncommittedChanges

- Updated README.md to reflect changes in parameter names for the Changes Tour.
- Modified package.json to include additional files in the distribution.
- Enhanced cli.ts to enforce single --workspace-root argument.
- Updated server.ts to use new parameter names and improve error handling.
- Refactored types.ts to rename parameters in ChangesParams interface.
- Adjusted validation.ts to validate new parameter names in Changes Tour.
- Updated test-utils.ts to support environment variable overrides in server tests.
- Refactored changes-tour.test.ts to use new parameter names and improve test coverage.
- Added cli.test.ts to ensure correct handling of command-line arguments.
- Created packaged-binary.test.ts to test the installed binary functionality.
- Updated validation.test.ts to validate new parameter names and ensure correct behavior.
Port the relevant guidance from 36f6d13 to the two-tool MCP API and clarify that blank lines, not Markdown soft breaks, create visible paragraphs.
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.

2 participants