mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-24 23:32:19 +10:00
feat(agent): adopt AI SDK v7 — crash safety, context pruning, HITL approvals (#3362)
* docs(adr): propose agent AI SDK v7 adoption plan * fix(ai): bind analyzeResume through aiService in service test The test destructured analyzeResume as a named export that does not exist; main was red. * test(agent): keep pure ai helpers real via spread-actual mock factory * feat(agent): add run guards, patch version guard, run wall-clock timeout * feat(agent): validate UI messages at the send boundary * feat(agent): crash-safe draft-row persistence and server-side cancellation * feat(agent): reap stale run claims at boot, on send, and on thread open * feat(agent): fresh-document patch output and tiered context pruning * feat(ai): shared agent tool contracts and message metadata schema * feat(agent): add per-thread review-patches setting with update endpoint * feat(agent): gate resume patches behind hmac-signed tool approval * feat(agent): merge question answers and approval decisions before run claim * feat(agent): approval ui with composed auto-send and fixture-driven tests * feat(agent): usage metadata, tool activity cards, smoother streaming * feat(agent): tool-call repair, input examples, structured step logging * chore(i18n): translate new agent workspace strings across all locales * fix(agent): gate stale-run draft cancellation on winning the claim clear Snapshot streaming drafts before the conditional clear and skip the flip entirely when another reaper or a replacement run already cleared the claim. Also address review nits in eleven locale catalogs. * fix(agent): flip reaped drafts only when their snapshotted state is unchanged * fix(agent): address review findings across run lifecycle, context budget, and approval flow - bind patches to the revision the model read via signed baseUpdatedAt - claim the run before consuming a continuation; recorded-but-unexecuted approvals retry as pending continuations - keep run ownership on stop() until cancellation persists; preserve the claim for the reaper when final persistence fails - estimate tokens without serializing binary attachments (tokenx) and enforce the budget by dropping oldest whole turns - mark crash-recovered patch results as snapshot boundaries; strip /data prefixes at execution time - retry failed continuations without regenerate; mount a single AgentChat; disable response controls on read-only threads; freeze review toggle during runs (client+server) - accumulate usage across continuations and match the SDK's nested usage shape; label-form token strings; reorderable source label; accessible note field; state-neutral web-search label * chore(i18n): translate revised agent strings across all locales * fix(agent): harden baseUpdatedAt validation and address review follow-ups - bundle tokenx in the server runtime dependencies (e2e boot failure) - strict ISO schema for baseUpdatedAt plus loud executor rejection of unparseable values - it-IT source label consistency (Fonte) - prove penultimate-turn retention in the context pruning test * chore(deps): exempt tokenx from knip for the externalized server bundle
This commit is contained in:
+103
-3
@@ -543,6 +543,14 @@ msgstr "దరఖాస్తు చేశారు"
|
||||
msgid "Applied on"
|
||||
msgstr "దరఖాస్తు చేసిన తేదీ"
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Approve"
|
||||
msgstr "ఆమోదించు"
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Approved — waiting for the agent…"
|
||||
msgstr "ఆమోదించబడింది — ఏజెంట్ కోసం వేచి ఉంది…"
|
||||
|
||||
#: src/libs/locale.ts
|
||||
msgid "Arabic"
|
||||
msgstr "అరబిక్"
|
||||
@@ -1462,6 +1470,14 @@ msgstr "మీ API కీ తొలగించబడుతోంది..."
|
||||
msgid "Deleting your resume..."
|
||||
msgstr "మీ రిజ్యూమ్ను తొలగిస్తున్నారు..."
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Denied — waiting for the agent…"
|
||||
msgstr "తిరస్కరించబడింది — ఏజెంట్ కోసం వేచి ఉంది…"
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Deny"
|
||||
msgstr "తిరస్కరించు"
|
||||
|
||||
#: src/libs/resume/ats.ts
|
||||
msgid "Describe what you did so the entry contributes keywords for matching."
|
||||
msgstr "మీరు ఏమి చేశారో వివరించండి, తద్వారా నమోదు సరిపోలిక కోసం కీలకపదాలను అందిస్తుంది."
|
||||
@@ -1530,6 +1546,10 @@ msgstr "విరాళం ఇవ్వండి"
|
||||
msgid "Donate to Reactive Resume"
|
||||
msgstr "Reactive Resume కు దానం చేయండి"
|
||||
|
||||
#: src/routes/agent/-components/tool-part-card.tsx
|
||||
msgid "Done"
|
||||
msgstr "పూర్తయింది"
|
||||
|
||||
#. Action button to download two-factor backup codes as a text file
|
||||
#. Primary action in the builder header to open resume download options
|
||||
#: src/dialogs/auth/enable-two-factor.tsx
|
||||
@@ -1642,6 +1662,10 @@ msgstr "ఫుల్స్క్రీన్ మోడ్లో కంట
|
||||
msgid "Edit date"
|
||||
msgstr "తేదీని సవరించండి"
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Edit declined"
|
||||
msgstr "సవరణ తిరస్కరించబడింది"
|
||||
|
||||
#. Resume card context menu action to edit resume metadata
|
||||
#. Resume card dropdown action to edit resume metadata
|
||||
#: src/routes/builder/$resumeId/-components/header.tsx
|
||||
@@ -1837,6 +1861,10 @@ msgstr "ఎటువంటి నిరీక్షణ లేదా ఆలస్
|
||||
msgid "Exported pipeline-flow.png"
|
||||
msgstr "pipeline-flow.png ఎగుమతి చేయబడింది"
|
||||
|
||||
#: src/routes/agent/-components/tool-part-card.tsx
|
||||
msgid "Failed"
|
||||
msgstr "విఫలమైంది"
|
||||
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/resume-analysis.tsx
|
||||
msgid "Failed to analyze resume."
|
||||
msgstr "రిజ్యూమ్ను విశ్లేషించడంలో విఫలమయ్యాము."
|
||||
@@ -1967,6 +1995,10 @@ msgstr "ప్రొవైడర్ను అన్లింక్ చే
|
||||
msgid "Failed to update provider."
|
||||
msgstr "ప్రొవైడర్ను అప్డేట్ చేయడంలో విఫలమైంది."
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Failed to update thread settings."
|
||||
msgstr "థ్రెడ్ సెట్టింగ్లను నవీకరించడంలో విఫలమైంది."
|
||||
|
||||
#. Fallback toast when changing account password fails
|
||||
#: src/dialogs/auth/change-password.tsx
|
||||
msgid "Failed to update your password. Please try again."
|
||||
@@ -3153,6 +3185,14 @@ msgstr "ఓపెన్రౌటర్"
|
||||
msgid "opens in new tab"
|
||||
msgstr "కొత్త ట్యాబ్లో తెరవబడుతుంది"
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Optional note for the agent"
|
||||
msgstr "ఏజెంట్ కోసం ఐచ్ఛిక గమనిక"
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Optional note for the agent…"
|
||||
msgstr "ఏజెంట్ కోసం ఐచ్ఛిక గమనిక…"
|
||||
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/sharing.tsx
|
||||
msgid "Optionally, set a password so that only people with the password can view your resume through the link."
|
||||
msgstr "ఆప్షనల్గా, పాస్వర్డ్ సెట్ చేయండి, అప్పుడు పాస్వర్డ్ ఉన్నవారు మాత్రమే లింక్ ద్వారా మీ రిజ్యూమ్ను చూడగలుగుతారు."
|
||||
@@ -3499,6 +3539,10 @@ msgstr "పబ్లికేషన్స్"
|
||||
msgid "Publisher"
|
||||
msgstr "పబ్లిషర్"
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Raw JSON"
|
||||
msgstr "ముడి JSON"
|
||||
|
||||
#: src/features/applications/components/application-ai-copilot.tsx
|
||||
msgid "Re-score"
|
||||
msgstr "మళ్లీ స్కోర్ చేయండి"
|
||||
@@ -3546,10 +3590,18 @@ msgstr "రియాక్టివ్ రెజ్యూమ్ v<0>{__APP_VERSI
|
||||
msgid "Reactive Resume v4 (JSON)"
|
||||
msgstr "రియాక్టివ్ రెజ్యూమ్ v4 (JSON)"
|
||||
|
||||
#: src/routes/agent/-components/tool-part-card.tsx
|
||||
msgid "Read an attachment"
|
||||
msgstr "అటాచ్మెంట్ను చదివింది"
|
||||
|
||||
#: src/features/resume/stylesheet/editor.tsx
|
||||
msgid "Read the Applying Custom Styles guide."
|
||||
msgstr "కస్టమ్ స్టైల్స్ వర్తింపజేయడం గైడ్ను చదవండి."
|
||||
|
||||
#: src/routes/agent/-components/tool-part-card.tsx
|
||||
msgid "Read the resume"
|
||||
msgstr "రెజ్యూమెను చదివింది"
|
||||
|
||||
#: src/features/applications/components/application-form-sheet.tsx
|
||||
msgid "Reading the posting…"
|
||||
msgstr "పోస్టింగ్ను చదువుతోంది…"
|
||||
@@ -3700,8 +3752,8 @@ msgid "Restore"
|
||||
msgstr "పునరుద్ధరించండి"
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Restore the resume to before this patch? This will roll back this patch and any patches applied after it."
|
||||
msgstr "ఈ ప్యాచ్కు ముందు స్థితికి రెస్యూమ్ను పునరుద్ధరించాలా? ఇది ఈ ప్యాచ్ను మరియు దాని తర్వాత వర్తింపజేసిన ఏవైనా ప్యాచ్లను వెనక్కి తీసుకుంటుంది."
|
||||
msgid "Restore the resume to before this patch?"
|
||||
msgstr "ఈ ప్యాచ్కు ముందు స్థితికి రెజ్యూమెను పునరుద్ధరించాలా?"
|
||||
|
||||
#: src/routes/builder/$resumeId/-components/version-history.tsx
|
||||
msgid "Restore this version?"
|
||||
@@ -3726,6 +3778,10 @@ msgstr "రిజ్యూమ్ విశ్లేషణ పూర్తయి
|
||||
msgid "Resume content"
|
||||
msgstr "పునఃప్రారంభ కంటెంట్"
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Resume edit"
|
||||
msgstr "రెజ్యూమె సవరణ"
|
||||
|
||||
#: src/features/applications/components/application-detail-sheet.tsx
|
||||
msgid "Resume file"
|
||||
msgstr "రెజ్యూమే ఫైల్"
|
||||
@@ -3754,10 +3810,18 @@ msgstr "రిజ్యూమ్స్"
|
||||
msgid "Retry"
|
||||
msgstr "మళ్ళీ ప్రయత్నించండి"
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Review edits"
|
||||
msgstr "సవరణలను సమీక్షించండి"
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Review the resume against a job description and ask me questions before changing uncertain sections."
|
||||
msgstr "ఉద్యోగ వివరణతో రెజ్యూమెను సరిపోల్చి చూసుకోండి మరియు సందేహాస్పదమైన విభాగాలలో మార్పులు చేసే ముందు నన్ను ప్రశ్నలు అడగండి."
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Review this edit"
|
||||
msgstr "ఈ సవరణను సమీక్షించండి"
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Rework the summary so it targets a senior engineering manager role without sounding generic."
|
||||
msgstr "సారాంశాన్ని సాధారణంగా అనిపించకుండా, సీనియర్ ఇంజనీరింగ్ మేనేజర్ పాత్రను లక్ష్యంగా చేసుకునే విధంగా తిరిగి రూపొందించండి."
|
||||
@@ -3798,6 +3862,10 @@ msgstr "రోటేషన్"
|
||||
msgid "Run your first analysis to get a scorecard, strengths, and prioritized suggestions."
|
||||
msgstr "స్కోర్కార్డ్, బలాలు మరియు ప్రాధాన్యతా సూచనలను పొందడానికి మీ మొదటి విశ్లేషణను అమలు చేయండి."
|
||||
|
||||
#: src/routes/agent/-components/tool-part-card.tsx
|
||||
msgid "Running…"
|
||||
msgstr "అమలవుతోంది…"
|
||||
|
||||
#: src/libs/locale.ts
|
||||
msgid "Russian"
|
||||
msgstr "రష్యన్"
|
||||
@@ -4253,6 +4321,15 @@ msgstr "మూలం"
|
||||
msgid "Source Code"
|
||||
msgstr "సోర్స్ కోడ్"
|
||||
|
||||
#. placeholder {0}: operation.from
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "Source: {0}"
|
||||
msgstr "మూలం: {0}"
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Sources"
|
||||
msgstr "మూలాలు"
|
||||
|
||||
#: src/routes/builder/$resumeId/-sidebar/right/sections/page.tsx
|
||||
msgid "Spacing (Horizontal)"
|
||||
msgstr "స్పేసింగ్ (అడ్డంగా)"
|
||||
@@ -4604,6 +4681,10 @@ msgstr "ఈ సహాయకుడిని తెరవలేకపోయిం
|
||||
msgid "This date will not be read correctly."
|
||||
msgstr "ఈ తేదీ సరిగ్గా చదవబడదు."
|
||||
|
||||
#: src/routes/agent/-components/patch-approval-card.tsx
|
||||
msgid "This edit request can no longer be answered."
|
||||
msgstr "ఈ సవరణ అభ్యర్థనకు ఇకపై సమాధానం ఇవ్వడం సాధ్యం కాదు."
|
||||
|
||||
#: src/libs/resume/ats.ts
|
||||
msgid "This email address will not be recognized."
|
||||
msgstr "ఈ ఇమెయిల్ చిరునామా గుర్తించబడదు."
|
||||
@@ -4712,6 +4793,10 @@ msgstr "మీరు బహుళ పాస్కీలను కలిగి
|
||||
msgid "This will remove all items from this section."
|
||||
msgstr "ఇది ఈ విభాగంలోని అన్ని అంశాలను తొలగిస్తుంది."
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "This will roll back this patch and any patches applied after it."
|
||||
msgstr "ఇది ఈ ప్యాచ్ను, దాని తర్వాత వర్తింపజేసిన అన్ని ప్యాచ్లను వెనక్కి తీసుకుంటుంది."
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
#: src/routes/agent/-components/thread-sidebar.tsx
|
||||
msgid "Thread actions"
|
||||
@@ -4794,6 +4879,18 @@ msgstr "కుడి వైపు పక్క పట్టీని టోగ
|
||||
msgid "Toggle threads"
|
||||
msgstr "థ్రెడ్లను టోగుల్ చేయండి"
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Tokens: {threadTokenTotal}"
|
||||
msgstr "టోకెన్లు: {threadTokenTotal}"
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Tokens: {total}"
|
||||
msgstr "టోకెన్లు: {total}"
|
||||
|
||||
#: src/routes/agent/-components/agent-chat.tsx
|
||||
msgid "Tokens: {total} ({cached} cached)"
|
||||
msgstr "టోకెన్లు: {total} ({cached} కాష్ చేయబడినవి)"
|
||||
|
||||
#: src/features/applications/components/application-form-sheet.tsx
|
||||
msgid "Track a job you're applying to and link the resume you sent."
|
||||
msgstr "మీరు దరఖాస్తు చేస్తున్న ఉద్యోగాన్ని ట్రాక్ చేసి, పంపిన రెజ్యూమ్ను లింక్ చేయండి."
|
||||
@@ -5213,6 +5310,10 @@ msgstr "మేము ఫార్మాట్ను స్వయంచాల
|
||||
msgid "We couldn't find that page"
|
||||
msgstr "మేము ఆ పేజీని కనుగొనలేకపోయాము"
|
||||
|
||||
#: src/routes/agent/-components/tool-part-card.tsx
|
||||
msgid "Web search"
|
||||
msgstr "వెబ్ శోధన"
|
||||
|
||||
#: src/dialogs/resume/sections/award.tsx
|
||||
#: src/dialogs/resume/sections/certification.tsx
|
||||
#: src/dialogs/resume/sections/education.tsx
|
||||
@@ -5445,4 +5546,3 @@ msgstr "జూమ్ అవుట్ చేయండి"
|
||||
#: src/libs/locale.ts
|
||||
msgid "Zulu"
|
||||
msgstr "జులు"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user