Commit graph

637 commits

Author SHA1 Message Date
Research Assistant
acd1d21334 fix(base): filter by zotero_key != "" instead of filename exclusion 2026-05-11 17:11:51 +08:00
Research Assistant
4b13d8e8d1 fix(base): exclude fulltext.md from Base views to prevent workspace clutter 2026-05-11 17:10:34 +08:00
Research Assistant
5f8396c483 feat(update): add zip fallback when pip/git update fails (e.g. missing git) 2026-05-11 17:04:30 +08:00
Research Assistant
a6b90f8538 chore: remove CI workflows pending rewrite 2026-05-11 17:00:23 +08:00
Research Assistant
755359dc59 chore: bump version to v1.5.1 2026-05-11 16:50:07 +08:00
Research Assistant
560c6b5121 hotfix: fix Base filter syntax error, = to == 2026-05-11 16:43:58 +08:00
Research Assistant
2220fe0fe5 hotfix: remove py launcher from auto-detection to prevent spawn ENOENT on Windows 2026-05-11 16:40:22 +08:00
Research Assistant
112b001466 docs: update README version refs to v1.5.0, add Dashboard three-mode / pf-end sections 2026-05-11 12:55:31 +08:00
Research Assistant
20c7f475f2 docs: add v1.5.0 changelog entries 2026-05-11 00:56:39 +08:00
Research Assistant
08c74fd8da fix: deep_reading_status read from frontmatter, key extraction walkup, remove body status fields
- _build_entry: read deep_reading_status from frontmatter first, body detection fallback

- _extractZoteroKeyFromPath: walk up directory tree for 8-char key (handles ai/discussion.md etc.)

- frontmatter_note: remove duplicate PDF/OCR/deep_reading status from body (frontmatter is source of truth)
2026-05-11 00:52:07 +08:00
Research Assistant
b63915953e ci: add contents:write permission to release workflow 2026-05-11 00:23:48 +08:00
Research Assistant
bc150d3bf6 chore: bump version to v1.5.0 2026-05-11 00:21:35 +08:00
Research Assistant
7933ad8c68 test: update headless_setup tests for refactored literature-qa skill directory
Refactored deploy_skills service creates a single literature-qa skill dir

instead of individual pf-deep/pf-paper/etc. Update all 4 agent

platform tests to check for literature-qa instead of old names.
2026-05-11 00:18:24 +08:00
Research Assistant
d768f5bcb0 fix(dashboard): use same wikilink parser as Open PDF button for PDF detection 2026-05-11 00:17:21 +08:00
Research Assistant
a11e62c6aa feat(dashboard): PDF files now trigger per-paper mode via index pdf_path match 2026-05-11 00:15:42 +08:00
Research Assistant
2f0f417b7c fix(setup,test): replace orphaned imported_skills variable and update bootstrap test
headless_setup Phase 7 used imported_skills which was removed during

skill_deploy refactor. Use skill_result['skill_deployed'] instead.

Also update bootstrap test that asserted old command_files string.
2026-05-11 00:11:00 +08:00
Research Assistant
dceb1f9661 Merge branch 'fix/setup-v2' 2026-05-11 00:06:20 +08:00
Research Assistant
232dd1f453 test: update AGENT_CONFIGS tests for refactored AGENT_SKILL_DIRS flat dict
Setup wizard no longer defines AGENT_CONFIGS; the refactored

skill_deploy.py exports AGENT_SKILL_DIRS instead. Update

test imports and assertions accordingly.
2026-05-11 00:05:59 +08:00
Research Assistant
ec778c3668 fix(setup): align setup_wizard and skill_deploy API with refactored master
Use AGENT_SKILL_DIRS (flat dict) instead of AGENT_CONFIGS (nested),

matching the skill_deploy.py refactor already on master.
2026-05-11 00:03:03 +08:00
Research Assistant
a73b1681e7 fix(setup): use AGENT_CONFIGS import to match master skill_deploy.py API
fix/setup branched from master where skill_deploy still exports

AGENT_CONFIGS (not AGENT_SKILL_DIRS which was renamed later).
2026-05-10 23:54:33 +08:00
Research Assistant
be3b01e7bf fix(dashboard): workspace path detection now triggers paper mode for any file in workspace dir
- Remove _findEntry() precondition — works even if index not yet loaded
- Add case-insensitive flag to key regex (/i)
2026-05-10 23:40:35 +08:00
Lin Zhaoxuan
d4c37f77a0
Merge pull request #7 from LLLin000/feature/skill-refine
feat: unified release — skill redesign + deep-finalize + sync safety + dashboard v2
2026-05-10 23:32:23 +08:00
Lin Zhaoxuan
7abf91c63a
Merge pull request #6 from LLLin000/fix/setup
fix(setup,plugin): rewrite BBT detection for Zotero 7 .xpi compatibility
2026-05-10 23:31:44 +08:00
Research Assistant
5138a70645 merge: integrate dashboard-refine (deep-finalize + slug-freeze) into skill-refine
Resolved conflicts:
- styles.css: take dashboard-refine (more refined CSS)
- SKILL.md, deep-reading.md, paper-resolution.md: take skill-refine (modular skill redesign)
2026-05-10 23:28:13 +08:00
Research Assistant
c44c16bf80 refactor(skills): simplify skill deployment — single copytree for all platforms
- Remove format dispatch (flat_command/skill_directory/rules_file) — all platforms unified
- skill_deploy.py: 257→81 lines, only AGENT_SKILL_DIRS + copytree + AGENTS.md
- AgentInstaller switches to vault-local paths, removes deploy_commands step
- Remove _deploy_skills dead code in update.py
2026-05-10 23:22:42 +08:00
Research Assistant
5bcfc8d1cb fix(setup,plugin): rewrite BBT detection for Zotero 7 .xpi compatibility
Setup wizard (Python):

- Replace broken manual_path direct-candidate scan with unified platform-path-first approach

- Use _looks_like_bbt() — normalize to alnum+lower, match 'betterbibtex'

- Accept both .xpi files (Zotero 7) and directories (Zotero 6)

- Correct Linux profile path (.zotero/zotero/<random>, not .zotero/zotero/Profiles)

Plugin (JS):

- Remove isDirectory() restriction in scanBbtUnderProfiles/scanBbtDirectChildren

- Accept .xpi file entries for Zotero 7 compatibility

- Also remove all control_dir references (CLI argument removed in v1.4.17)
2026-05-10 23:18:14 +08:00
Research Assistant
ede222edc9 fix(plugin): remove all control_dir references — CLI argument was removed in v1.4.17
- Remove --control-dir from setup args (CLI no longer accepts it)

- Remove control_dir from DEFAULTS, config parser, valid path keys

- Remove control_dir from settings assignment and JSDoc

- Remove dir_index display and validate_index check
2026-05-10 23:05:22 +08:00
Research Assistant
c17972a17a fix(sync): freeze workspace slug + frontmatter-only update to prevent deep-reading data loss
- Slug freeze: reuse existing workspace dir when title slug changes in Zotero
- Frontmatter-only: for existing notes, replace only YAML block, never touch body
- extract_preserved_deep_reading: match both ##精读 and ##🔍精读 + skip placeholder-only sections
2026-05-10 22:31:16 +08:00
Research Assistant
9dc7ff4322 style: align collection workflow overview with global library snapshot
- Match outer frame padding/background/shadow to library-snapshot

- Match inner stage card padding/background/layout to snapshot-pill

- Use align-items: stretch on funnel (pill parity), arrow stays centered

- Reduce collection-header bottom gap for tighter domain-to-card spacing

- Synchronize stage-label font-size (12px -> 11px)
2026-05-10 22:22:31 +08:00
Research Assistant
914e47636e docs: update version reference to v1.4.18, note setup wizard fix in changelog 2026-05-10 21:53:02 +08:00
Research Assistant
bf990d79a0 feat: add deep-finalize command — signal dashboard on /pf-deep completion
- new command paperforge deep-finalize <key>: sets deep_reading_status=done in frontmatter + refreshes index
- dashboard now only auto-refreshes on formal-library.json changes (removed per-note modify handler)
- pf-deep reference updated with Post-Processing section instructing agent to call deep-finalize at end
2026-05-10 21:50:27 +08:00
Research Assistant
d91afde635 Revert "docs: update version reference to v1.4.18 and document setup wizard fix"
This reverts commit d94c2501af.
2026-05-10 21:38:10 +08:00
Research Assistant
d94c2501af docs: update version reference to v1.4.18 and document setup wizard fix 2026-05-10 21:36:10 +08:00
Research Assistant
8bfdfc2360 test: update bootstrap test to match fixed agents_src code 2026-05-10 21:05:16 +08:00
Research Assistant
cfe00a9a64 test: update bootstrap test to match fixed agents_src code 2026-05-10 21:05:05 +08:00
Research Assistant
5f17db93fe fix(setup): resolve NameError for undefined agents_src in Phase 7 verification 2026-05-10 20:59:57 +08:00
Research Assistant
8b8c0788e3 fix(skills): narrow description triggers to avoid false matches 2026-05-10 20:56:28 +08:00
Research Assistant
59a024abba refactor(skills): modular literature-qa skill with router-first architecture
- Replace 6 scattered pf-*.md files with single SKILL.md router + 4 reference files
- Add paper_resolver.py: deterministic key/DOI/field search (4 subcommands)
- Remove pf-sync/ocr/status (CLI-only commands, no skill wrapper needed)
- Move chart-reading/ into references/ for flat structure
- Make ld_deep.py --vault optional (auto-detect from cwd)
- Add 26 unit tests for paper_resolver
- All paths dynamically resolved from paperforge.json, zero hardcoding
2026-05-10 20:56:28 +08:00
Research Assistant
1a447e989e feat: dashboard ui refine — arrow icons, maillard colors, responsive grid, setup bugfix
Dashboard UI:

- Replace text expand/collapse with SVG arrow + clickable gradient container

- Map agent_platform key to display name (OpenCode, not opencode)

- Maillard/Morandi palette for OCR progress bars (pending brown, done deep green)

- Shorten 'Needs Attention' to 'Attention' to prevent label wrap

- Responsive workflow overview: CSS Grid + container queries (narrow: 2x2, wide: 4x1 with max-width 160px stop)

Setup Wizard:

- Fix Phase 7 verification crash (undefined agents_src/agents_dst variables)

Skill restructure:

- Move chart-reading references under references/ directory

- Remove old pf-*.md script files (deployed via skill_deploy service)

- Add new reference files (deep-reading, paper-qa, paper-resolution, save-session)
2026-05-10 20:56:27 +08:00
Research Assistant
47038e6864 style: tighten collection header spacing, fix u00B7 encoding, add stage max-width
- Fix CSS unicode escape: \\u00B7 -> literal middle dot character

- Remove 'papers' count line in collection header

- Tighten collection-header padding from 64px to 14px top only

- Reset collection-title margin to 0

- Add max-width: 160px + justify-self: center to workflow stages

- workflow-stage-label font-size: 11px -> 12px
2026-05-10 20:52:22 +08:00
Research Assistant
365498bded feat: dashboard ui refine — arrow icons, maillard colors, responsive grid, setup bugfix
Dashboard UI:

- Replace text expand/collapse with SVG arrow + clickable gradient container

- Map agent_platform key to display name (OpenCode, not opencode)

- Maillard/Morandi palette for OCR progress bars (pending brown, done deep green)

- Shorten 'Needs Attention' to 'Attention' to prevent label wrap

- Responsive workflow overview: CSS Grid + container queries (narrow: 2x2, wide: 4x1 with max-width 160px stop)

Setup Wizard:

- Fix Phase 7 verification crash (undefined agents_src/agents_dst variables)

Skill restructure:

- Move chart-reading references under references/ directory

- Remove old pf-*.md script files (deployed via skill_deploy service)

- Add new reference files (deep-reading, paper-qa, paper-resolution, save-session)
2026-05-10 20:52:21 +08:00
Research Assistant
cc9a5baa98 docs: add dashboard ui refinement specs and plans 2026-05-10 20:52:21 +08:00
Research Assistant
6b52d44db9 docs: align dashboard ux contract with refined ui 2026-05-10 20:52:21 +08:00
Research Assistant
3102ba55a0 style: strengthen collection and global dashboard hierarchy 2026-05-10 20:52:21 +08:00
Research Assistant
4c25d0588c fix(dashboard): fix _renderNextStepCard this.plugin is undefined
- Replace this.plugin with this.app.plugins.plugins['paperforge']
- PaperForgeStatusView does not have a plugin property
- Remove debug console.log lines
2026-05-10 17:12:22 +08:00
Research Assistant
ea4eeaf298 debug(dashboard): add console.log for discussion.json path troubleshooting 2026-05-10 16:58:15 +08:00
Research Assistant
4df5e29efb fix(dashboard): use Obsidian adapter API for discussion.json read (handles unicode paths reliably) 2026-05-10 16:41:38 +08:00
Research Assistant
11b090a69a fix(dashboard): reset expanded state on mode switch
- Clear _techDetailsExpanded when switching modes to prevent stale state
- Ensures technical details starts collapsed for each new paper
2026-05-10 16:10:26 +08:00
Research Assistant
5e0e577b77 refactor(dashboard): restructure per-paper layout per visual spec
- Merge status strip + file buttons into one row (left pills, right buttons)
- Move OCR/Analyze toggles into technical details disclosure body
- Replace All Set card with compact complete state row
- Save/restore technical details expanded state to prevent toggle flash
- Delete unused _renderPaperStatusStrip and _renderPaperFilesRow methods
- UI text: use Chinese labels (打开 PDF, 打开全文, 加入 OCR, 标记精读)
2026-05-10 16:09:53 +08:00
Research Assistant
a226f2fd69 style(dashboard): rewrite Sections 39-43 per Native Light Surface Design spec
- Remove all box-shadows and ::before elevation pseudo-elements
- Typography constrained to 4 sizes (16/14/13/12) and 3 weights (600/500/400)
- Cards only for primary content modules (overview, discussion, OCR pipe, issues)
- Status pills: 999px radius, text-only status colors (no colored backgrounds)
- Technical details: inline disclosure row, not a bordered box
- Workflow toggles: not a card (simple flex row)
- Contextual buttons: Obsidian interactive-normal variables
- Section labels: no accent border, simple uppercase 12px muted
- Dark theme: no shadows, only background tweaks
2026-05-10 16:05:45 +08:00