Commit Graph

17 Commits

Author SHA1 Message Date
dd0ac92518 fix: propagate recognized person names across local DOCX segments
The local DOCX flow analyzes each paragraph separately, so the backend's
per-text person propagation never crosses paragraph boundaries. A name
recognized once ("Frau Jorinde Quastenberg") stayed in clear text wherever
the model missed it in context ("bei Quastenberg nachfragen").

After all segment batches of a file, add the remaining occurrences of
confidently recognized full names, their parts (3+ characters) and names
after a salutation (including a genitive s) as reviewable PERSON hits.
Whitelist, placeholder filtering and the hit review still apply.

Synthetic reproduction with de_core_news_lg: 59 unmasked name occurrences
before, 0 after; comments, insertions, deletions and anchors verified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 15:48:09 +00:00
muena
d2ed7130f0 feat: run Velum project jobs in the background and process DOCX locally 2026-11-30 16:12:11 +01:00
muena
11ddd6d70f fix: stream large project texts and scope API capabilities
Analyze UTF-8 text files as bounded batches of complete lines and reassemble only approved spans without loading entire files. Preserve line endings, BOM, Unicode offsets and source-change checks.

Scope capability checks to selected file types, report missing features and HTTP failures, and retain the required Office image-policy handling. Cover large files, chunk boundaries, mappings and failure cleanup with regression tests.
2026-11-08 10:43:40 +01:00
muena
c3ef1a6aed Recheck project filenames and Word commenters 2026-09-25 10:49:21 +02:00
muena
d0d6a29ef6 Allow revising saved Velum project mappings 2026-09-25 10:31:45 +02:00
muena
e7e21e9281 feat: remember project exclusions and merge selected people 2026-09-25 08:08:20 +02:00
muena
226d230b6d feat: review project pseudonyms by category 2026-09-24 20:11:10 +02:00
muena
8b254eb87d fix: complete Finder project workflow and add in-place output 2026-09-24 19:55:34 +02:00
muena
ae62c6f95c feat: add migration preview report 2026-09-24 19:21:07 +02:00
muena
c1229e1d14 Add Velum project workflow and standalone migration tool 2026-09-24 18:14:44 +02:00
muena
2a5c9a66a9 feat: add project-status command for steering-committee updates
Turn raw project notes into a structured weekly Steering-Update with
fixed sections (Status traffic light, Fortschritt, Top-Risiken,
Entscheidung, Nächster Schritt, GF-Summary). Calendar week and today's
date are injected automatically so KW [Nummer] resolves correctly.

The optional trigger phrases from the prompt ("Mach mir auch eine
GF-Mail dazu.", "Wo sind blinde Flecken?", "Kürzer.") flow through the
existing "Zusätzliche Anweisungen" textarea, so the user can append
them per call without leaving the form. Signature name comes from
userFullName preference, falling back to "Raphael".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 13:34:35 +02:00
muena
9bc621307c feat: persist last-used model in LocalStorage instead of preference
Drop the summaryModel preference (and the awkward textfield holding a
raw model ID nobody could discover without poking the SDK types). Each
AI view now controls its model dropdown, loads the shared
velum.ai.last-model on mount, and writes it back on submit — so picking
Claude 4.7 Opus in the summarize command becomes the prefilled default
in briefing, action-items, structured-data, and reply next time around.

Also drops 'model' from ReplyDefaults; the shared key supersedes it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 07:33:27 +02:00
muena
cc4742cf38 fix: hardcode model list — Raycast runtime doesn't expose AI.Model object
@raycast/api ships only types, no runtime JS. AI.Model is injected by
Raycast at runtime and Object.entries() returned an unpredictable
(and incomplete) subset — so half the current models were missing
from the in-view dropdown.

Replace the dynamic derivation with an explicit curated list covering
all 55+ non-deprecated entries from the SDK type defs, ordered by
provider with the strongest models first. Update README to point at
src/ai.ts as the place to keep this in sync with future SDK bumps.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 07:18:27 +02:00
muena
c0078ce339 feat: derive AI model list from Raycast SDK enum
Generate MODEL_OPTIONS at runtime from AI.Model (dedupe by value, drop
@deprecated aliases), so the AI-view dropdowns show every model the
installed @raycast/api ships — no more hand-maintained six-entry list.

Switch the summaryModel preference from a static dropdown to a textfield
holding a model ID. The discoverable picker lives in the AI views (now
fully dynamic), and the preference just stores the chosen default.

Drop duplicate MODEL_OPTIONS / CREATIVITY_OPTIONS constants from
summarize-email.tsx and reply-email.tsx; both pull from ./ai now like
the briefing and extract views already do.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 07:08:58 +02:00
muena
c8b3cf44e3 docs: note model and signature overrides in AI views
Clarify in the preferences list that summaryModel acts as a default
overridable per AI view, and that userFullName is overridable in the
reply-email form. Also lock closeAfterAction as a required preference.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 07:01:35 +02:00
muena
3bff4bcad0 docs: refresh README to current command and preference surface
Cover the AI workflows (summarize / reply / briefing / action-items /
structured-data), the symmetrical depseudonymize commands, all
preferences including the new close-after-action checkbox, and the
Raycast 2.0 Beta workarounds the codebase relies on.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 06:48:25 +02:00
muena
1843479884 Initial commit: Velum Raycast extension
Pseudonymize-and-AI workflow for handling PII-sensitive text via the
Velum API and Raycast AI. Commands cover end-to-end email summary and
reply, briefing/action-items/structured-data extraction, manual
pseudonymize/depseudonymize on selection or clipboard, and session
management. Includes Raycast 2.0 Beta workarounds for selection capture
and rich-text clipboard.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 06:46:42 +02:00