e454fe189c
Надстройка над стадией-1 (сырой mxGraph XML) — помогает агенту рисовать
корректные диаграммы без бэкенд-рендеринга:
- hard-rules в описаниях drawio_create/drawio_update (геометрия, parent-
relative координаты, стили);
- drawio_guide (5 секций: skeleton / layout / containers / icons-aws /
icons-azure, каждая ≤4KB) — по требованию, не раздувает контекст;
- drawio_shapes — реальный jgraph shape-index (10446 фигур, gzip 437KB,
ленивый node:zlib gunzip) + курируемый оверлей (service-level паттерны
AWS/Azure, note-подсказки на пустые resIcon, палитра категорий);
ранжирование aws4>aws3; escapeRe в score (не ReDoS);
- layout:"elk" через elkjs (чистый JS, dependencies:{}) — compound-nesting,
best-effort (на сбое ELK возвращает нормализованный вход), 73→0 warnings
на 12-узловом графе;
- 6 типов quality-warnings в линтере (overlap, out-of-bounds, edge-cross,
и т.п.), геометрия Liang-Barsky; warnings НИКОГДА не блокируют write.
Оба новых инструмента в SHARED_TOOL_SPECS (tier:deferred) + SERVER_
INSTRUCTIONS; drift-guards зелёные. elkjs ^0.11.1 — единственный новый
рантайм-деп; lockfile синхронизирован (--frozen-lockfile --offline EXIT 0).
data/ едет с воркспейсом (.gitignore-негация !packages/mcp/data/).
Внутренний цикл: 1 проход внутреннего ревью (APPROVE WITH SUGGESTIONS);
все 59 профильных тестов зелёные.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
77 lines
1.8 KiB
Plaintext
77 lines
1.8 KiB
Plaintext
.env
|
|
.env.dev
|
|
.env.prod
|
|
data
|
|
# Exception: the committed draw.io shape catalog (issue #424) lives in a `data/`
|
|
# dir, but the bare `data` ignore above is meant for runtime state, not this
|
|
# bundled build asset. Re-include the directory and its contents.
|
|
!packages/mcp/data/
|
|
!packages/mcp/data/**
|
|
# compiled output
|
|
/dist
|
|
node_modules
|
|
|
|
# git-sync compiled output (built in CI/Docker via `pnpm build`, never committed,
|
|
# so src/ and prod can never silently diverge).
|
|
packages/git-sync/build/
|
|
|
|
# prosemirror-markdown compiled output (built in CI/Docker via `pnpm build`,
|
|
# never committed, so src/ and prod can never silently diverge).
|
|
packages/prosemirror-markdown/build/
|
|
|
|
# mcp compiled output (built in CI/Docker via `pnpm build`, never committed, so
|
|
# src/ and prod can never silently diverge). Matches the git-sync/prosemirror-
|
|
# markdown convention; the package is private and rebuilt at deploy.
|
|
packages/mcp/build/
|
|
|
|
# mcp REGISTRY_STAMP codegen output (issue #447). Regenerated into src/ by
|
|
# scripts/gen-registry-stamp.mjs on every `build`/`pretest` (before tsc), so it
|
|
# is a build artifact like build/ — never committed, always fresh.
|
|
packages/mcp/src/registry-stamp.generated.ts
|
|
|
|
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
pnpm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
lerna-debug.log*
|
|
|
|
# OS
|
|
.DS_Store
|
|
|
|
# Tests
|
|
/coverage
|
|
/.nyc_output
|
|
|
|
# IDEs and editors
|
|
/.idea
|
|
.project
|
|
.classpath
|
|
.c9/
|
|
*.launch
|
|
.settings/
|
|
*.sublime-workspace
|
|
|
|
# IDE - VSCode
|
|
.vscode/*
|
|
!.vscode/settings.json
|
|
!.vscode/tasks.json
|
|
!.vscode/launch.json
|
|
!.vscode/extensions.json
|
|
|
|
.nx
|
|
.nx/installation
|
|
.nx/cache
|
|
.claude/worktrees/
|
|
.claude/tmp/
|
|
# Local Chrome performance traces recorded by the AI-chat perf harness
|
|
.claude/perf-traces/
|
|
|
|
# TypeScript incremental build artifacts
|
|
*.tsbuildinfo
|
|
|
|
# Self-hosted VAD / onnxruntime-web assets (copied from node_modules at dev/build time)
|
|
apps/client/public/vad/
|