feat(skills): support folder-scoped skills in agent sessions
- Thread workspace path through useAgentSkills so Codex $-autocomplete surfaces folder-local skills in addition to global ones; cache keyed by agent + workspace and invalidated per key on focus. - Add Global/Folder scope tabs and a folder picker (sourced from the folder table via loadFolderHistory) to the Skills settings page. CRUD for skills now operates against the selected scope and folder. - Default the settings right panel to a placeholder hint; the new-skill form only appears after clicking "New Skill" or selecting an existing skill. Search input is hidden in folder scope. - Disable "New Skill" when folder scope has no folder chosen; show a pick-folder hint in the path preview for that state. - Add scope/noSelectionHint/pickFolderHint strings across 10 locales.
This commit is contained in:
@@ -348,6 +348,14 @@
|
||||
"emptyContentHint": "لا يوجد محتوى بعد. انقر \"تحرير\" للبدء.",
|
||||
"loadingSkill": "جارٍ تحميل Skill...",
|
||||
"emptyNoAgents": "لا يوجد وكيل متاح.",
|
||||
"noSelectionHint": "اختر Skill من اليسار، أو انقر على \"Skill جديد\" لإنشاء واحد.",
|
||||
"scope": {
|
||||
"global": "عام",
|
||||
"folder": "مجلد",
|
||||
"selectFolderPlaceholder": "اختر مجلدًا",
|
||||
"noFolders": "لم يتم العثور على مجلدات",
|
||||
"pickFolderHint": "اختر مجلدًا لعرض مهاراته."
|
||||
},
|
||||
"actions": {
|
||||
"preview": "معاينة",
|
||||
"edit": "تحرير",
|
||||
|
||||
Reference in New Issue
Block a user