feat(observabilidade): tabela worklog_comments + parser HTML + importer MCP

- Schema worklog_comments (id, discussion, parent, datas, staff, campos parseados em JSON)
- Parser HTML tolerante (h2/h3/h4) extrai title, task_ref, duration, work_items,
  files_modified, problems, patterns_text, actions
- Módulo worklog-import com paginação MCP get_discussion_comments
- Helper mcp-client.ts partilhado (gateway MCP JSON-RPC + SSE)
- Dep runtime: node-html-parser

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-23 03:07:09 +01:00
parent 86770b1570
commit 11f9833aac
5 changed files with 685 additions and 0 deletions
+1
View File
@@ -29,6 +29,7 @@
"googleapis": "^171.4.0",
"lucide-react": "^0.563.0",
"mysql2": "^3.11.5",
"node-html-parser": "^7.1.0",
"oidc-client-ts": "^3.0.1",
"pg": "^8.20.0",
"react": "^19.2.0",