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 "রপ্তানিকৃত পাইপলাইন-প্রবাহ.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 "প্রতিক্রিয়াশীল জীবনবৃত্
|
||||
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