Pular para conteúdo

Scripts auxiliares

Integration setup scripts.

setup

Integration setup for Claude Code, Cursor, Copilot, and Codex.

Creates necessary config files (e.g., .claude/mcp.json) automatically when running semtree setup --auto.

Supports --dry-run to preview changes without writing.

setup_integration

setup_integration(root, target='all', dry_run=False, host='127.0.0.1', port=5137)

Set up semtree integration for the specified AI assistant.

Returns a dict of {file_path: "created"|"updated"|"skipped"|"error"}.