rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:hany-php/dsh-arabic-english-ui-switcher
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DeepSeek Harness لا يوفّر لغة عربية ولا وضع RTL. هذا المشروع يضيف الاثنين كحزمتين مستقلتين تُثبَّتان في البروفايل عبر plugin_manager فقط، دون أي تعديل على app.asar أو بيانات الجلسات:
| الحزمة | الوظيفة |
|---|---|
@local/dsh-arabic-locale |
تسجّل «العربية» في كتالوج اللغات وتمدّ التطبيق بقواميس عربية عبر خدمة ctx.locale الرسمية. |
@local/dsh-rtl-layout |
تجعل اتجاه الواجهة يتبع اللغة النشطة تلقائيًا: العربية ← RTL، وغيرها ← LTR، مع إبقاء الأكواد والطرفية والرياضيات والمسارات والمعاينات على LTR. |
ctx.locale.addLanguage({ id: 'ar', label: 'العربية', fallback: 'en' }).ctx.locale، ويترجم كل نص إنجليزي معروف من جدول English → Arabic مدمج (جدول يدوي AR_CORE + جدول مولَّد AR_PHASE3)، ثم يسجّل النتيجة لـ ar.تغطية المرحلة 3: استُخرجت القواميس الإنجليزية الفعلية من app.asar
(3,128 نصًا فريدًا)، وتمت تغطية الحزم التي يشغّلها بروفايل desktop فعلًا
(2,258 نصًا): صار 2,139 نصًا مترجمًا، ولم يتبقَّ سوى 119 رمزًا تقنيًا
(أسماء أدوات، أوامر شرطة مائلة، وحدات، صيغ تواريخ، روابط، أسماء تطبيقات) تُركت
إنجليزية بالتصميم. الحزم التجريبية غير المُحمَّلة تبقى إنجليزية حتى تفعيلها.
التفاصيل وخطوات إعادة التوليد في
docs/INVENTORY.md.
ar / he / fa / ur ← RTL، وما عداها ← LTR.dir وlang الأصليتين ونعيدهما بدقة عند العودة للإنجليزية.[dir="rtl"] فلا تؤثر على وضع LTR إطلاقًا.من داخل DSH (وليس من الطرفية):
plugin_manager({ action: "install_bundle", target: "<مسار مجلد الحزمة>" })
لكل حزمة على حدة: packages/dsh-arabic-locale ثم packages/dsh-rtl-layout.
ثم أعد تحميل الصفحة (Ctrl+R) واختر العربية من الإعدادات ← عام ← اللغة.
plugin_manager list_bundles → صف مضاف وoverrides: []، وapplication: applied بلا تحذيرات.cordis_inspect_query (host, Config.listConfigs) → وجود include:dsh-arabic-locale وinclude:dsh-rtl-layout.docs/ الجرد والتدقيق والقرارات المعمارية
packages/dsh-arabic-locale/ حزمة اللغة (host فارغ + client يملك التسجيل)
packages/dsh-rtl-layout/ حزمة الاتجاه (host فارغ + client يملك القلب)
tools/ أدوات قراءة app.asar + توليد القواميس + التغطية والتحقق
left/right ثابتة) ضبطًا يدويًا بعد الفحص البصري.DeepSeek Harness ships no Arabic UI and no RTL mode. This project adds both as two independent bundles installed into the DSH profile through plugin_manager only — no changes to app.asar, no changes to session data.
| Bundle | Purpose |
|---|---|
@local/dsh-arabic-locale |
Registers العربية in the language catalog and feeds Arabic dictionaries through the official ctx.locale service. |
@local/dsh-rtl-layout |
Mirrors the whole shell when the active language is RTL, while keeping code, terminal, math, paths and previews LTR. |
ctx.locale.addLanguage({ id: 'ar', label: 'العربية', fallback: 'en' }) adds the language.ctx.locale, maps English values through a bundled English → Arabic table (hand-curated AR_CORE + generated AR_PHASE3), and registers the result for ar.Phase 3 coverage: the actual English dictionaries were harvested from
app.asar (3,128 unique strings) and every bundle mounted by the desktop
profile is covered (2,258 strings): 2,139 translated, leaving only 119
technical tokens (tool names, slash commands, units, formats, URLs, application
names) English by design. Unmounted experimental bundles stay English until
enabled. The reusable harvest → batch → validate → merge pipeline lives in
tools/ and is documented in docs/INVENTORY.md.
ar/he/fa/ur → RTL, everything else → LTR), so the persisted language preference also persists the direction.dir/lang attributes are captured and restored exactly when switching back.[dir="rtl"], so LTR mode is untouched.From inside DSH (not the shell):
plugin_manager({ action: "install_bundle", target: "<absolute package directory>" })
Install packages/dsh-arabic-locale, then packages/dsh-rtl-layout, then reload the page (Ctrl+R).
docs/ inventory, direction audit, architecture decisions
packages/ the two installable bundles
tools/ app.asar reader, locale harvest/coverage/batch/merge tools, offline client test
MIT © 2026 Hany Hassan
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。