Commit Graph

55 Commits

Author SHA1 Message Date
administrator 39e578af2d .mcp.json: doplnen vbcz-email vypadly pri sjednoceni cest
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 10:24:57 +02:00
administrator e5a9c90004 .mcp.json: sjednoceni vsech serveru na repo venv U:\janssen\.venv
- mongo/postgres/jnjemails/trilium prepnuty z bare python + stare cesty U:\PythonProject\Janssen na repo venv a U:\janssen\...

- odstraneny mrtve servery owa a vbcz-email (mirily na neexistujici U:\PythonProject\Janssen\OutlookVBCZ, skripty nejsou v repu)

- diky tomu .mcp.json funguje identicky na notebooku i Z230, staci mit repo dostupne pod U:\janssen + vytvoreny .venv

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-12 08:06:47 +02:00
administrator 9c675459fa Sjednoceni MCP cest na U:\janssen + trilium hostname fallback
.mcp.json: vsechny repo MCP servery na U:\janssen (na Z230 vyresi junction
U:\janssen -> U:\PythonProject\Janssen), owa/vbcz-email zustavaji Z230-only.
TrilliumMCP: COMPUTERNAME fallback na socket.gethostname().

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 07:16:05 +02:00
administrator 8ef7d1cfd1 notebook 2026-06-11 21:49:04 +02:00
administrator 8e760d3adf z230 2026-06-11 19:45:31 +02:00
administrator d2e8a70bfe z230 - Joplin mirror skripty, store_cda_batch v1.2, vyrazeni Evernote exportu a en_backup.db z gitu
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 19:45:04 +02:00
administrator c4d353a343 z230 2026-06-11 09:34:01 +02:00
administrator bff5cc4cac z230 2026-06-10 20:16:38 +02:00
administrator 7b2f69ad85 z230 2026-06-10 11:59:19 +02:00
administrator a41f97b86b z230 2026-06-10 11:59:03 +02:00
administrator 033c3e5046 z230 2026-06-10 09:26:06 +02:00
administrator a2a5147521 Merge remote-tracking branch 'origin/master' 2026-06-10 09:25:57 +02:00
administrator 30f045e350 z230 2026-06-10 09:25:49 +02:00
administrator 3f3b8c5baa notebook 2026-06-10 08:54:10 +02:00
administrator bc9b874f3b z230: vyřazení Playwright browser profilů z gitu + .gitignore
Profily Covance/browser_profile{,_1..4} (Chromium cache, leveldb, .pma) se
verzovaly a způsobovaly v PyCharmu 'mmap failed: Invalid argument' při commitu.
Soubory zůstávají na disku, nově ignorovány přes **/browser_profile{,_*}/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 08:11:25 +02:00
administrator b55bb53e90 z230 2026-06-10 08:07:01 +02:00
administrator 96f3b2c280 notebook 2026-06-09 15:46:34 +02:00
administrator 8c01fd6e1a Pridani novych skriptu, reportu a zpracovanych dat
- EmailsImport: jnj_mailbox_sync_v1.0 (sync JNJ schranky)
- Covance: create_lab_results_report_v1.0 + zpracovane CSV (samples/kits/equeries/test-results), browser profily
- Feasibility UCO2001: store_cda_*, store_sipiq_links, classify_krok, mark_sipiq_sent, report v1.1 (stary report do TRASH)
- IWRS/Drugs: pregenerovane onsite inventory / shipment reporty
- TrilliumMCP server + trilium upload/diacritics skripty
- .mcp.json

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-09 15:10:21 +02:00
administrator f8f5d3b15d z230 2026-06-09 09:56:14 +02:00
administrator 915357cca9 z230 2026-06-09 08:22:49 +02:00
administrator cf5e681a42 z230 2026-06-09 08:21:52 +02:00
administrator bfae1a50eb Ignore oversized corrupt test .msg file
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 16:07:10 +02:00
administrator 5545f05eee Add CentralLogging stack, Covance/EDC sources, email import + IWRS scripts
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-08 16:06:21 +02:00
administrator af787d9f02 z230 2026-06-08 13:09:26 +02:00
administrator 69553d1759 z230 2026-06-08 13:08:30 +02:00
administrator 70899149e4 notebook 2026-06-08 07:20:37 +02:00
administrator 0d3407e664 Default search without Voyage AI — semantic=False by default
Full-text search is the default (fast, no API calls).
Pass semantic=True explicitly when vector similarity is needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 06:53:53 +02:00
administrator 797de01e60 Add batch embeddings to avoid MCP timeout on store_conversation
store_conversation now collects all texts (summary + key_memories)
and calls Voyage AI once via get_embeddings_batch() instead of N
sequential calls. Prevents MCP timeout for sessions with many memories.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 06:45:28 +02:00
administrator 586c2c4484 Fix vector search parameter ordering for pgvector
%s placeholders in SQL are positional — SELECT score param must come
before WHERE conditions in the params list, not after.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 06:41:30 +02:00
administrator 82d7bc375f Fix pgvector integration: VECTOR(512) for voyage-3-lite, register_vector on connect
- voyage-3-lite returns 512 dims (not 1024) — migrated column + schema
- register_vector now called once at connection time, not per-query
- Removes per-function register_vector calls that caused type cast conflicts

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-07 06:16:16 +02:00
administrator 66475d48d2 file_receive: přejmenování endpointů /pending-files,/download-file → /status,/item
Pokus obejít blokaci JNJ web-proxy, která zařezává GET na "mluvící" názvy
(403 Forbidden + přepis URL na ?_sm_nck=1). POST /upload prochází, GET ne.
Neutrální názvy /status a /item, metoda zůstává GET — izoluje vliv názvu URL.

- klient janssenpc_file_receive.py: PENDING_URL/DOWNLOAD_URL na /status,/item
- server DockerCustomApp/app.py: srovnáno s živou verzí z kontejneru
  (odstraněn drift) + routy přejmenovány, nasazeno na Unraid msgreceiver

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-07 05:34:51 +02:00
administrator eef9495ecb Upgrade Knowledgebase to native pgvector (VECTOR type + ivfflat index)
- Migrated embedding column from double precision[] to VECTOR(1024)
- Now uses native <=> cosine operator for SQL-level vector search
- Added pgvector to requirements
- Fixed collation mismatch on all DBs after pgvector/pgvector:pg18 image swap

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 13:21:37 +02:00
administrator f9dc61e32c Add Knowledgebase MCP server — persistent memory for Claude conversations
PostgreSQL-backed knowledge store with hybrid search:
- Full-text search via tsvector (always available)
- Semantic reranking via Voyage AI embeddings + Python cosine similarity
- Tables: kb_memories, kb_sessions, kb_messages
- Tools: store_memory, store_conversation, search, get_context, get_recent, stats

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-06 11:55:26 +02:00
administrator a347051145 notebook 2026-06-05 21:21:30 +02:00
administrator 1ec9e40196 z230 2026-06-05 11:57:04 +02:00
administrator 58ba9ca218 z230 2026-06-05 11:56:43 +02:00
administrator eb05691149 z230 2026-06-05 08:40:35 +02:00
administrator de2145899d z230 2026-06-04 11:40:45 +02:00
administrator 9b12745e1d notebook 2026-06-04 07:15:17 +02:00
administrator 6c57ab3ae6 Add Outlook/Soubory/Clario/Feasibility scripts and reports; ignore Incoming, Outlook downloads & profile 2026-06-03 16:15:19 +02:00
administrator 61c6aeea23 z230 2026-06-03 15:56:52 +02:00
administrator ea9d611719 Migrate IWRS from MySQL to MongoDB
- Add IWRS/common/mongo_writer.py with shared connection, indexes,
  upsert+snapshot helpers
- Add IWRS/Patients/import_to_mongo.py (subject_summary + visits)
- Add IWRS/Patients/import_notifications_to_mongo.py: parse PDF/JSON
  directly to Mongo (incl. PDF as BinData), replaces 2-step MySQL flow
- Add IWRS/Drugs/import_to_mongo.py (shipments, items, inventory,
  destruction)
- Add IWRS/backfill_mysql_to_mongo.py: one-shot history backfill
- Switch IWRS/Patients/run_all.py and IWRS/Drugs/run_all.py to Mongo
- Rewrite IWRS/Drugs/create_report.py data loaders to read from Mongo
- 8 main collections (upsert = latest state) + 5 snapshot collections
  (append-only with import_id) under studie database; notifications and
  destruction are immutable and need no snapshots

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-06-03 07:24:36 +02:00
administrator 681095d557 notebook 2026-06-03 07:10:15 +02:00
administrator 9ed9f97140 Document memory sync setup in memory store
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 22:58:36 +02:00
administrator 2d65ad2988 Add Claude memory store synced via Gitea
Move ~/.claude/projects/U--janssen/memory into repo (claude-memory/)
linked back via a directory junction so memory persists across machines.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-02 22:57:44 +02:00
administrator f11d407b73 z230 2026-06-02 17:29:41 +02:00
administrator b433ef0446 z230 2026-06-02 17:20:20 +02:00
administrator ec187e673a z230 2026-06-02 17:19:44 +02:00
administrator dd39339497 z230 2026-06-02 17:19:43 +02:00
administrator 06ad59a22a notebook 2026-06-02 06:15:02 +02:00