How quanquejztr/job-answer-extension works
Job Answer Extension is described as a personal macOS Chrome extension for drafting one answer to a selected job-application question; the user reviews it and explicitly inserts it. The README also calls the repository a scaffold with placeholder entrypoints, which conflicts with the sampled feature modules, so this map shows the evident extension and native-helper responsibilities without assuming unsampled wiring. Dashed, uncited links mark likely runtime connections not established by the excerpts or SOURCE INDEX.
Main entry points: background.ts Extension worker · App.tsx Review panel · native-client.ts Native messaging · host.go Native host
Components 18
Capture and insertion
- Page capture
extension/entrypoints/content.ts - Extension worker
extension/entrypoints/background.ts - Field targeting
extension/lib/targeting - Answer insertion
extension/lib/insertion
Drafting experience
- Review panel
extension/entrypoints/sidepanel/App.tsx - Panel state view
extension/components/PanelStateView.tsx - Draft controller
extension/lib/draft/draft-controller.ts
Profile and settings
- Profile settings
extension/components/profile/ProfileSettings.tsx - Provider settings
extension/components/ProviderSettings.tsx - Profile client
extension/lib/profile/profile-client.ts - Profile service
extension/lib/profile/profile-service.ts - Provider diagnostics
extension/lib/diagnostics/diagnostics-service.ts
Native helper
- Profile storage
helper/internal/profile/store.go - Native messaging
extension/lib/native/native-client.ts - Native host
helper/internal/host/host.go - Provider adapters
helper/internal/provider
Other components
- User
- Job page
Connections 23
- User → Job page: selects question
README.md - Job page → Page capture: captures question
- Page capture → Extension worker: reports capture
- Extension worker → Field targeting: resolves field
- Extension worker → Review panel: updates state
- Review panel → Panel state view: renders state
extension/entrypoints/sidepanel/App.tsx - Review panel → Extension worker: requests draft
extension/entrypoints/sidepanel/App.tsx - Extension worker → Draft controller: starts draft
- Draft controller → Native messaging: requests generation
extension/lib/draft/draft-controller.ts - Native messaging → Native host: sends native request
- Native host → Provider adapters: dispatches provider
- User → Review panel: reviews draft
README.md - Review panel → Extension worker: requests insertion
extension/entrypoints/sidepanel/App.tsx - Extension worker → Answer insertion: starts insertion
- Answer insertion → Job page: inserts answer
README.md - User → Profile settings: configures profile
- Profile settings → Profile client: calls profile API
extension/components/profile/ProfileSettings.tsx - Provider settings → Profile client: saves provider
extension/components/ProviderSettings.tsx - Profile client → Native messaging: sends profile requests
extension/lib/profile/profile-client.ts - Native host → Profile service: handles profile requests
- Profile service → Profile storage: reads and writes
- Provider settings → Provider diagnostics: runs diagnostics
- Provider diagnostics → Native messaging: requests diagnostics
extension/lib/diagnostics/diagnostics-service.ts