Commit Graph

14 Commits

Author SHA1 Message Date
jason 051a6a5c0a chore: bump plugin version to 0.1.2 2026-05-12 18:50:04 -05:00
jason 72b55f6d92 docs: update README to v0.1.2 — true auth process, 6-month token, renewal commands 2026-05-12 18:50:00 -05:00
jason c37fadf387 feat: v0.1.2 — fix auto_sum_note fetch; add _fetch_s3_text for non-JSON AI summary content 2026-05-12 18:49:12 -05:00
jason 49cf017733 fix: plaud_get_summary now reads auto_sum_note (Plaud AI Summary tab)
- Added _fetch_s3_text() helper that handles non-JSON content gracefully
  (auto_sum_note may be HTML/plain text, not JSON — previous code errored)
- plaud_get_summary now tries auto_sum_note first, falls back to outline
- plaud_get_notes now routes auto_sum_note through _fetch_s3_text
- plaud_get_recording_detail now correctly flags has_summary=true when
  auto_sum_note is present (previously only checked "outline")
- Response includes summary_type field: "auto_sum_note", "outline", or "none"
2026-05-12 16:10:05 -05:00
jason 2235fa6401 docs: document Electron safeStorage token approach (v0.1.2)
- Version bump to 0.1.2
- Full authentication section: token types, lifetimes, resolution order
- Setup instructions for plaud_decrypt_tokens.py
- Token renewal date: 2026-11-25
- Decryption internals (Chromium v10 / AES-128-CBC / PBKDF2-SHA1)
- Why OAuth route is blocked (no client_secret, Cloudflare blocks Node fetch)
- Updated file structure with docs/ and runtime files
- Changelog added
2026-05-12 15:52:58 -05:00
jason 381142a6ac feat: read 6-month desktop authToken from tokens-mcp.json (v0.1.2)
Token resolution order:
1. PLAUD_TOKEN env var
2. ~/.plaud/tokens-mcp.json (desktop app authToken, ~6-month expiry)
   Written by plaud_decrypt_tokens.py via Electron safeStorage decryption
3. ~/.plaud/config.json (legacy 24-hour web token fallback)

The Plaud desktop app stores a standard JWT authToken in Chromium v10
Electron safeStorage (AES-128-CBC / PBKDF2-SHA1). plaud_decrypt_tokens.py
extracts this token and saves it to tokens-mcp.json. Current token expires
2026-11-25; re-run the decrypt script on that date to renew.
2026-05-12 15:48:08 -05:00
jason 955097676e docs: add setup guide for Plaud MCP Plugin v0.1.1
Word document covering prerequisites, token acquisition, DXT install,
connection verification, token renewal, all 7 MCP tools, example prompts,
troubleshooting, and references.
2026-05-12 14:37:09 -05:00
jason 82b700e2e1 v0.1.1: Rewrite with curl-based HTTP (Cloudflare bypass), S3 gzip content fetching, correct API field names
- Switch urllib to curl subprocess to bypass Cloudflare Error 1010
- Add _fetch_s3_json() for gzipped content from signed S3 URLs  
- Fix list endpoint key: data_file_list (not data)
- Fix detail endpoint title field: file_name (not filename)
- Fix token key: support both token and accessToken in config
- Add _format_transcript() with speaker grouping
- plaud_get_transcript: fetch from content_list S3 URLs (transaction_polish → transaction)
- plaud_get_summary: fetch outline from S3
- plaud_get_notes: fetch all non-transcript content_list items from S3
- plaud_get_recording_detail: derive has_transcript from content_types list
2026-05-12 14:11:55 -05:00
jason 5cf373da97 Update README with full plugin documentation 2026-05-12 12:29:48 -05:00
jason 99f8aa7b8e Add Plaud MCP server (plaud_mcp.py) — 7 tools 2026-05-12 12:27:32 -05:00
jason e89096f9ce Add MCP server configuration 2026-05-12 12:26:42 -05:00
jason bdde092671 Add Plaud skill SKILL.md 2026-05-12 12:26:38 -05:00
jason a49fbfdeb2 Add plugin.json metadata 2026-05-12 12:26:32 -05:00
jason 55785a9227 Initial commit 2026-05-12 12:26:07 -05:00