feat: add uploaded skills management

This commit is contained in:
Codex
2026-05-31 11:44:50 +08:00
parent 47ab535cf2
commit 70ebd1689c
18 changed files with 1421 additions and 8 deletions
+40
View File
@@ -24,6 +24,28 @@
}
}
},
{
"apiVersion": "v1",
"kind": "PersistentVolumeClaim",
"metadata": {
"labels": {
"app.kubernetes.io/name": "hwlab-user-skills",
"hwlab.pikastech.local/service-id": "hwlab-user-skills"
},
"name": "hwlab-user-skills",
"namespace": "hwlab-dev"
},
"spec": {
"accessModes": [
"ReadWriteOnce"
],
"resources": {
"requests": {
"storage": "2Gi"
}
}
}
},
{
"apiVersion": "apps/v1",
"kind": "Deployment",
@@ -200,8 +222,16 @@
},
{
"name": "HWLAB_CODE_AGENT_SKILLS_DIRS",
"value": "/app/skills:/data/user-skills"
},
{
"name": "HWLAB_PREINSTALLED_SKILLS_DIR",
"value": "/app/skills"
},
{
"name": "HWLAB_USER_SKILLS_DIR",
"value": "/data/user-skills"
},
{
"name": "OPENAI_API_KEY",
"valueFrom": {
@@ -262,6 +292,10 @@
"name": "hwlab-code-agent-workspace",
"mountPath": "/workspace"
},
{
"name": "hwlab-user-skills",
"mountPath": "/data/user-skills"
},
{
"name": "hwlab-code-agent-codex-home",
"mountPath": "/codex-home"
@@ -349,6 +383,12 @@
"claimName": "hwlab-code-agent-workspace"
}
},
{
"name": "hwlab-user-skills",
"persistentVolumeClaim": {
"claimName": "hwlab-user-skills"
}
},
{
"name": "hwlab-code-agent-codex-home",
"emptyDir": {}