Skip to content

AI-first Avenue Sync: cached search, read/grep/due/news tools, one-click connect, compact window - #1

Merged
MattModeCode merged 4 commits into
mainfrom
feat/ai-first-catalog
Dec 4, 2026
Merged

MattModeCode merged 4 commits into
mainfrom
feat/ai-first-catalog

Conversation

@MattModeCode

Copy link
Copy Markdown
Owner

What

  • Search every course from a 15-minute on-disk catalog (instant repeats, works with no sign-in while fresh); a sync pass refreshes it for free.
  • New tools, over CLI, local API and MCP: read (text of PDF/Word/PowerPoint/Excel/pages/announcements, paged), grep (inside downloaded files), due, news. MCP and CLI replies are compact text to save tokens.
  • The command starts the app hidden when it is not running, so an assistant never has to ask the student to open it.
  • Connect button for Claude Code, Codex and Claude Desktop (raw commands only shown when the assistant cannot be found).
  • Settings window rebuilt as a plain, compact panel; activity feed removed from the window.

Notes

  • PDF/Office parsing runs in a child process (25 s, 1 GB limit). New dependency: officeparser (adds roughly 40 MB to the app).
  • Claude Code registration now uses --scope user; the old copy command registered it for one folder only.
  • avenue find MATH 1ZA3 lab needs the course quoted (or --course); get --all-matches needs a named course.
  • Known limits: the extracted-text cache is not evicted; read/get refuse while a full sync holds the lock instead of waiting.

Test plan

  • npm test (119 tests) and npm run test:electron
  • Packaged arm64 build extracts a PDF and a DOCX under Electron-as-Node
  • Live: sign in, sync, find/read/grep/due/news against Avenue, Connect from the window

… compact settings window

find searches every enabled course from a 15-minute on-disk catalog; read returns the text of
PDF, Word, PowerPoint, Excel, page and announcement items in pieces; grep searches downloaded
text; due and news expose deadlines and announcements. The command starts the app hidden when
it is not running. MCP replies are compact text. The window is a plain settings panel with a
Connect button for Claude Code, Codex and Claude Desktop.
…xtraction, safer connect and catalog writes)

A timeout is reported as busy, not down; only a refused connection starts the app, and a hidden
launch never raises the window. PDF and Office parsing runs in a child process with time and
memory limits. A catalog write failure can no longer stop a search or sync. Claude Code
registration adds first and replaces only if refused; the Claude Desktop config keeps its mode and
symlink. Bulk get needs a named course; years are no longer read as course ids.
@MattModeCode
MattModeCode merged commit a651137 into main Dec 4, 2026
3 checks passed
@MattModeCode
MattModeCode deleted the feat/ai-first-catalog branch December 4, 2026 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant