@hadoku/resume-bot 3.15.129 → 3.15.130

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/App.d.ts +1 -1
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/{ChatInterface-mHtxUGpp.js → ChatInterface-DYQv5aF8.js} +4 -4
  4. package/dist/ChatInterface-DYQv5aF8.js.map +1 -0
  5. package/dist/{ResumeViewer-C-uxZ-7E.js → ResumeViewer-Bvhgn7Vy.js} +3 -3
  6. package/dist/ResumeViewer-Bvhgn7Vy.js.map +1 -0
  7. package/dist/builder/BlockCard.d.ts +1 -1
  8. package/dist/builder/BlockCard.d.ts.map +1 -1
  9. package/dist/builder/BuilderApp.d.ts +1 -2
  10. package/dist/builder/BuilderApp.d.ts.map +1 -1
  11. package/dist/builder/facet.d.ts +3 -0
  12. package/dist/builder/facet.d.ts.map +1 -0
  13. package/dist/builder.js +4 -3
  14. package/dist/builder.js.map +1 -1
  15. package/dist/components/ChatInterface.d.ts +1 -2
  16. package/dist/components/ChatInterface.d.ts.map +1 -1
  17. package/dist/components/ResumeViewer.d.ts +1 -1
  18. package/dist/components/ResumeViewer.d.ts.map +1 -1
  19. package/dist/{entry-BTJjyohQ.js → entry-Dr9ofFYM.js} +2 -2
  20. package/dist/entry-Dr9ofFYM.js.map +1 -0
  21. package/dist/{index-DTz0YFfl.js → index-4ebwdxt6.js} +17628 -20623
  22. package/dist/index.js +1 -1
  23. package/dist/{markdown-vendor-61sRGACd.js → markdown-vendor-CXHGDPte.js} +3798 -4294
  24. package/dist/markdown-vendor-CXHGDPte.js.map +1 -0
  25. package/dist/{node.browser-iYPBhOfA.js → node.browser-C1wSrw3S.js} +2 -2
  26. package/dist/{node.browser-B0AdQysu.js → node.browser-f7Qx86cp.js} +1 -1
  27. package/dist/rehype-vendor-CEiTr3Yb.js +6156 -0
  28. package/dist/rehype-vendor-CEiTr3Yb.js.map +1 -0
  29. package/dist/worker/constants.d.ts.map +1 -1
  30. package/dist/worker.js +1 -1
  31. package/package.json +5 -5
  32. package/dist/ChatInterface-mHtxUGpp.js.map +0 -1
  33. package/dist/ResumeViewer-C-uxZ-7E.js.map +0 -1
  34. package/dist/entry-BTJjyohQ.js.map +0 -1
  35. package/dist/markdown-vendor-61sRGACd.js.map +0 -1
  36. package/dist/rehype-vendor-C_Q-vwLE.js +0 -5647
  37. package/dist/rehype-vendor-C_Q-vwLE.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"entry-Dr9ofFYM.js","sources":["../src/App.tsx","../src/services/api.ts","../src/entry.tsx"],"sourcesContent":["import { lazy, Suspense, useEffect, useRef, useState, type RefObject } from 'react'\nimport { AppHeader, LoadingSkeleton } from '@wolffm/task-ui-components'\nimport { useHadokuTheme, HadokuThemeRoot } from '@wolffm/themes'\nimport type { ResumeBotAppProps } from './entry'\nimport type { ChatInterfaceRef } from './components/ChatInterface'\n\nconst ResumeViewer = lazy(() => import('./components/ResumeViewer'))\nconst ChatInterface = lazy(() => import('./components/ChatInterface'))\n\n/**\n * Provider boundary. Theme state belongs to the platform (@wolffm/themes),\n * not to this app — the local hooks/useTheme.ts, prefs/themePrefs.ts and\n * app/themeConfig.tsx copies are gone. AppHeader renders the shared picker\n * from this context, so nothing below passes one.\n */\nexport default function App(props: ResumeBotAppProps) {\n const containerRef = useRef<HTMLDivElement>(null)\n return (\n <HadokuThemeRoot theme={props.theme} containerRef={containerRef}>\n <AppInner {...props} containerRef={containerRef} />\n </HadokuThemeRoot>\n )\n}\n\nfunction AppInner(props: ResumeBotAppProps & { containerRef: RefObject<HTMLDivElement | null> }) {\n const { containerRef } = props\n const chatRef = useRef<ChatInterfaceRef>(null)\n\n // Detect system preference for loading skeleton\n const [systemPrefersDark] = useState(() => {\n if (window.matchMedia) {\n return window.matchMedia('(prefers-color-scheme: dark)').matches\n }\n return false\n })\n\n // Theme comes from <HadokuThemeRoot> above — one implementation for\n // every app, instead of this repo's former hooks/useTheme.ts copy.\n const { theme, isDarkTheme, isThemeReady, isInitialThemeLoad } = useHadokuTheme()\n\n /**\n * Open state of the mobile chat panel. Only the narrow layout reads it: above\n * the breakpoint the chat pane is a permanent column and the class this\n * toggles has no rules attached, so one piece of state serves both layouts and\n * the chat is never remounted (and never loses its transcript) on a resize or\n * a device rotation.\n */\n const [chatOpen, setChatOpen] = useState(false)\n\n const handleAskAbout = (text: string) => {\n // On mobile the chat is behind the bubble, so a question asked from the\n // résumé's context menu has to bring the panel with it.\n setChatOpen(true)\n chatRef.current?.askAbout(text)\n }\n\n useEffect(() => {\n if (!chatOpen) return\n const onKeyDown = (e: KeyboardEvent) => {\n if (e.key === 'Escape') setChatOpen(false)\n }\n document.addEventListener('keydown', onKeyDown)\n return () => document.removeEventListener('keydown', onKeyDown)\n }, [chatOpen])\n\n // Show loading skeleton during initial theme load to prevent FOUC\n if (isInitialThemeLoad && !isThemeReady) {\n return <LoadingSkeleton isDarkTheme={systemPrefersDark} />\n }\n\n return (\n <div\n ref={containerRef}\n className=\"resume-bot-container\"\n data-theme={theme}\n data-dark-theme={isDarkTheme ? 'true' : 'false'}\n >\n <div className=\"resume-bot\">\n {/* DERIVED, never written here: `appName` is the platform's answer from\n spec/categories.json (registry props -> mount), and __HADOKU_APP_NAME__ is\n the standalone fallback vite fills in from @wolffm/catalogue. Do not put a\n string back. */}\n <AppHeader title={props.appName ?? __HADOKU_APP_NAME__} />\n\n <main className=\"resume-bot__content\">\n <div className=\"resume-bot__resume-section\">\n <Suspense\n fallback={\n <div className=\"resume-viewer resume-viewer--loading\">\n <p>Loading resume...</p>\n </div>\n }\n >\n <ResumeViewer\n onAskAbout={handleAskAbout}\n ownerName={props.ownerName}\n contactUrl={props.contactUrl}\n />\n </Suspense>\n </div>\n {/* Mobile only: taps outside the open panel dismiss it. A button\n rather than a bare div so the same affordance is reachable from a\n keyboard; `display: none` keeps it out of the tab order whenever\n the panel is closed or the layout is wide. */}\n <button\n type=\"button\"\n className={\n chatOpen\n ? 'resume-bot__chat-scrim resume-bot__chat-scrim--open'\n : 'resume-bot__chat-scrim'\n }\n aria-label=\"Close chat\"\n onClick={() => setChatOpen(false)}\n />\n <div\n id=\"resume-bot-chat\"\n className={\n chatOpen\n ? 'resume-bot__chat-section resume-bot__chat-section--open'\n : 'resume-bot__chat-section'\n }\n >\n <Suspense fallback={<div className=\"chat-interface__loading\">Loading chat...</div>}>\n <ChatInterface ref={chatRef} ownerName={props.ownerName} />\n </Suspense>\n </div>\n </main>\n\n {/* The bubble is always in the DOM and hidden by the stylesheet above the\n mobile breakpoint, so the wide layout is untouched by any of this. */}\n <button\n type=\"button\"\n className=\"resume-bot__chat-fab\"\n aria-expanded={chatOpen}\n aria-controls=\"resume-bot-chat\"\n aria-label={chatOpen ? 'Close chat' : 'Chat about this resume'}\n onClick={() => setChatOpen(open => !open)}\n >\n {chatOpen ? <CloseIcon /> : <ChatIcon />}\n </button>\n </div>\n </div>\n )\n}\n\n/* Inline so the widget ships no icon dependency and the glyphs inherit the\n * bubble's colour. */\nfunction ChatIcon() {\n return (\n <svg viewBox=\"0 0 24 24\" width=\"24\" height=\"24\" fill=\"currentColor\" aria-hidden=\"true\">\n <path d=\"M12 3c-4.97 0-9 3.36-9 7.5 0 2.3 1.25 4.36 3.2 5.73-.14 1.2-.6 2.3-1.36 3.24a.5.5 0 0 0 .46.82c1.9-.3 3.44-1.05 4.6-1.9.67.14 1.37.21 2.1.21 4.97 0 9-3.36 9-7.5S16.97 3 12 3Z\" />\n </svg>\n )\n}\n\nfunction CloseIcon() {\n return (\n <svg\n viewBox=\"0 0 24 24\"\n width=\"24\"\n height=\"24\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n aria-hidden=\"true\"\n >\n <path d=\"M6 6l12 12M18 6L6 18\" />\n </svg>\n )\n}\n","export interface ChatMessage {\r\n role: 'user' | 'assistant' | 'system'\r\n content: string\r\n}\r\n\r\nexport interface ChatResponse {\r\n message: string\r\n usage?: {\r\n prompt_tokens: number\r\n completion_tokens: number\r\n total_tokens: number\r\n }\r\n}\r\n\r\nexport interface ResumeResponse {\r\n content: string\r\n variant?: string\r\n label?: string\r\n cover_letter?: string | null\r\n company?: string | null\r\n job_title?: string | null\r\n}\r\n\r\n/** The delivered application packet: résumé + optional tailored cover letter. */\r\nexport interface ResumePacket {\r\n content: string\r\n coverLetter: string | null\r\n variant: string | null\r\n label: string | null\r\n company: string | null\r\n jobTitle: string | null\r\n}\r\n\r\nexport interface ApiError {\r\n error: string\r\n message?: string\r\n retryAfter?: number\r\n}\r\n\r\n// Runtime API root — always set by mount() via setApiBaseUrl(props.apiBaseUrl).\r\n// The dev harness (index.html) supplies https://hadoku.me/resume/api; prod passes\r\n// the real path. Empty until then — there is no local backend to default to (the\r\n// old Express server was removed).\r\nlet API_BASE_URL = ''\r\n\r\n/**\r\n * Set the API root at runtime.\r\n * Called by the mount function with the apiBaseUrl prop, which is the API root\r\n * ('/resume/api') — endpoints are appended to it directly.\r\n */\r\nexport function setApiBaseUrl(url: string): void {\r\n API_BASE_URL = url.replace(/\\/+$/, '')\r\n}\r\n\r\n/**\r\n * Send a chat message to the backend\r\n */\r\nexport async function sendChatMessage(messages: ChatMessage[]): Promise<ChatResponse> {\r\n const response = await fetch(`${API_BASE_URL}/chat`, {\r\n method: 'POST',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({ messages })\r\n })\r\n\r\n if (!response.ok) {\r\n const errorData = (await response.json()) as ApiError\r\n throw new Error(errorData.message || errorData.error || 'Failed to send message')\r\n }\r\n\r\n return (await response.json()) as ChatResponse\r\n}\r\n\r\n/**\r\n * Fetch the resume content from the backend.\r\n * Pass a variant slug to fetch a link-tailored resume; the API falls back to\r\n * the full resume for unknown or expired slugs.\r\n */\r\nexport async function fetchResume(variant?: string): Promise<ResumePacket> {\r\n const url = variant\r\n ? `${API_BASE_URL}/resume?v=${encodeURIComponent(variant)}`\r\n : `${API_BASE_URL}/resume`\r\n const response = await fetch(url)\r\n\r\n if (!response.ok) {\r\n const errorData = (await response.json()) as ApiError\r\n throw new Error(errorData.error || 'Failed to fetch resume')\r\n }\r\n\r\n const data = (await response.json()) as ResumeResponse\r\n return {\r\n content: data.content,\r\n coverLetter: data.cover_letter ?? null,\r\n variant: data.variant ?? null,\r\n label: data.label ?? null,\r\n company: data.company ?? null,\r\n jobTitle: data.job_title ?? null\r\n }\r\n}\r\n\r\n/**\r\n * URL of the server-rendered resume PDF (the packet, when the variant carries a\r\n * cover letter). Same variant fall-back semantics as fetchResume.\r\n *\r\n * Returned as a URL rather than a fetched Blob on purpose: the endpoint already\r\n * sends `Content-Disposition: attachment` with the owner's filename, so linking\r\n * straight at it downloads the file with no object URL in the middle — and an\r\n * attachment cannot be hijacked by a browser's \"open PDFs in Firefox\" handler\r\n * the way a `blob:` URL can.\r\n */\r\nexport function resumePdfUrl(variant?: string): string {\r\n return variant\r\n ? `${API_BASE_URL}/resume.pdf?v=${encodeURIComponent(variant)}`\r\n : `${API_BASE_URL}/resume.pdf`\r\n}\r\n","import { createRoot, type Root } from 'react-dom/client'\nimport { logger } from '@wolffm/logger/client'\nimport App from './App'\nimport { setApiBaseUrl } from './services/api'\n// REQUIRED: Import @wolffm/themes CSS - DO NOT REMOVE\nimport '@wolffm/themes/style.css'\n// REQUIRED: Import theme picker CSS\nimport '@wolffm/task-ui-components/theme-picker.css'\nimport '@wolffm/task-ui-components/app-header.css'\nimport './styles/index.css'\n\n// Props interface for configuration from parent app\nexport interface ResumeBotAppProps {\n /**\n * The app's DISPLAY NAME, resolved by the platform from hadoku_site's\n * spec/categories.json — the same file that titles the browser tab and the\n * homepage tile. Render this; never hard-code the name in this repo.\n *\n * Absent when the app runs standalone (its own vite dev server, no host),\n * which is what `__HADOKU_APP_NAME__` covers — see vite.config.ts.\n */\n appName?: string\n theme?: string // Theme passed from parent (e.g., 'default', 'ocean', 'forest')\n // API root (required), e.g. '/resume/api' or 'https://api.yourapp.com/api'.\n // Endpoints are appended directly: ${apiBaseUrl}/chat, ${apiBaseUrl}/resume.\n apiBaseUrl: string\n ownerName?: string // Name shown in chat welcome message (default: 'the candidate')\n // Where the toolbar's \"Schedule a Meeting\" button points. Defaults to the\n // host site's own /contact/ page, which is where the widget's deployment\n // (hadoku.me/resume) keeps its scheduling form.\n contactUrl?: string\n}\n\n// Extend HTMLElement to include __root property\ninterface ResumeBotAppElement extends HTMLElement {\n __root?: Root\n}\n\n// Mount function - called by parent to initialize resume bot\nexport function mount(el: HTMLElement, props: ResumeBotAppProps) {\n // Set the API base URL for all API calls\n setApiBaseUrl(props.apiBaseUrl)\n\n const root = createRoot(el)\n root.render(<App {...props} />)\n ;(el as ResumeBotAppElement).__root = root\n logger.info('[resume-bot] Mounted successfully', {\n theme: props.theme,\n apiBaseUrl: props.apiBaseUrl\n })\n}\n\n// Unmount function - called by parent to cleanup resume bot\nexport function unmount(el: HTMLElement) {\n ;(el as ResumeBotAppElement).__root?.unmount()\n logger.info('[resume-bot] Unmounted successfully')\n}\n"],"names":["ResumeViewer","lazy","ChatInterface","App","props","containerRef","useRef","HadokuThemeRoot","jsx","AppInner","chatRef","systemPrefersDark","useState","theme","isDarkTheme","isThemeReady","isInitialThemeLoad","useHadokuTheme","chatOpen","setChatOpen","handleAskAbout","text","useEffect","onKeyDown","e","LoadingSkeleton","jsxs","AppHeader","Suspense","open","CloseIcon","ChatIcon","API_BASE_URL","setApiBaseUrl","url","sendChatMessage","messages","response","errorData","fetchResume","variant","data","resumePdfUrl","mount","el","root","createRoot","logger","unmount"],"mappings":";;;;;;AAMA,MAAMA,IAAeC,EAAK,MAAM,OAAO,4BAA2B,CAAC,GAC7DC,IAAgBD,EAAK,MAAM,OAAO,6BAA4B,CAAC;AAQrE,SAAwBE,EAAIC,GAA0B;AACpD,QAAMC,IAAeC,EAAuB,IAAI;AAChD,2BACGC,GAAA,EAAgB,OAAOH,EAAM,OAAO,cAAAC,GACnC,UAAA,gBAAAG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