LobeChat deep customization: welcome tagline / example prompts / default agent / model-admin lock / enterprise identity bridge
E2E CI / Check Duplicate Run (push) Failing after 3s
🔄 Branch Synchronization / sync-branches (push) Failing after 3s
Test CI / Check Duplicate Run (push) Failing after 3s
E2E CI / Test Web App (push) Has been skipped
Test CI / Test App (shard 1/3) (push) Has been skipped
Test CI / Test Packages (push) Has been skipped
Test CI / Test App (shard 3/3) (push) Has been skipped
Test CI / Test App (shard 2/3) (push) Has been skipped
Test CI / Test Database (push) Has been skipped
Test CI / Test Desktop App (push) Has been skipped
Test CI / Merge and Upload App Coverage (push) Has been skipped

This commit is contained in:
xiaohei
2026-04-21 20:34:20 +08:00
parent 5a0ec4b3f5
commit c3210b2eec
28 changed files with 704 additions and 268 deletions
+87 -87
View File
@@ -51,50 +51,56 @@
"hotPaths": [
{
"path": "gateway/scripts/acceptance.sh",
"accessCount": 35,
"lastAccessed": 1776746745293,
"accessCount": 37,
"lastAccessed": 1776762981224,
"type": "file"
},
{
"path": "gateway/src/server.ts",
"accessCount": 24,
"lastAccessed": 1776746523169,
"accessCount": 29,
"lastAccessed": 1776762902077,
"type": "file"
},
{
"path": "src",
"accessCount": 20,
"lastAccessed": 1776746567860,
"accessCount": 25,
"lastAccessed": 1776772483106,
"type": "directory"
},
{
"path": "gateway/prisma/seed.ts",
"accessCount": 20,
"lastAccessed": 1776763220682,
"type": "file"
},
{
"path": "gateway/src/core/gateway.ts",
"accessCount": 19,
"lastAccessed": 1776690611538,
"type": "file"
},
{
"path": "docker-compose.yml",
"accessCount": 19,
"lastAccessed": 1776773523884,
"type": "file"
},
{
"path": "gateway/src/env.ts",
"accessCount": 17,
"lastAccessed": 1776746557069,
"accessCount": 18,
"lastAccessed": 1776762725387,
"type": "file"
},
{
"path": "",
"accessCount": 15,
"lastAccessed": 1776746558851,
"accessCount": 18,
"lastAccessed": 1776772696282,
"type": "directory"
},
{
"path": "docker-compose.yml",
"accessCount": 14,
"lastAccessed": 1776747021059,
"type": "file"
},
{
"path": "gateway/src/auth/middleware.ts",
"accessCount": 13,
"lastAccessed": 1776746524853,
"accessCount": 14,
"lastAccessed": 1776762725289,
"type": "file"
},
{
@@ -105,8 +111,32 @@
},
{
"path": "gateway/src/core/capabilities.ts",
"accessCount": 9,
"lastAccessed": 1776690611653,
"accessCount": 12,
"lastAccessed": 1776762816556,
"type": "file"
},
{
"path": "gateway/src/routes/admin/tools.ts",
"accessCount": 12,
"lastAccessed": 1776762925506,
"type": "file"
},
{
"path": ".env",
"accessCount": 11,
"lastAccessed": 1776772939687,
"type": "file"
},
{
"path": "README.md",
"accessCount": 10,
"lastAccessed": 1776748224192,
"type": "file"
},
{
"path": "gateway/src/core/filter.ts",
"accessCount": 10,
"lastAccessed": 1776762756452,
"type": "file"
},
{
@@ -116,45 +146,15 @@
"type": "file"
},
{
"path": "gateway/src/core/filter.ts",
"path": "gateway/package.json",
"accessCount": 9,
"lastAccessed": 1776746584958,
"type": "file"
},
{
"path": "gateway/prisma/seed.ts",
"accessCount": 9,
"lastAccessed": 1776746639419,
"type": "file"
},
{
"path": "gateway/src/routes/admin/tools.ts",
"accessCount": 9,
"lastAccessed": 1776746645871,
"type": "file"
},
{
"path": "README.md",
"accessCount": 9,
"lastAccessed": 1776746769787,
"type": "file"
},
{
"path": ".env",
"accessCount": 9,
"lastAccessed": 1776747010786,
"lastAccessed": 1776762710635,
"type": "file"
},
{
"path": "gateway/src/routes/admin/identityMap.ts",
"accessCount": 8,
"lastAccessed": 1776687700868,
"type": "file"
},
{
"path": "gateway/package.json",
"accessCount": 8,
"lastAccessed": 1776690396624,
"accessCount": 9,
"lastAccessed": 1776762742659,
"type": "file"
},
{
@@ -177,14 +177,20 @@
},
{
"path": "gateway/src/routes/lobechatPlugin.ts",
"accessCount": 7,
"lastAccessed": 1776687652467,
"accessCount": 8,
"lastAccessed": 1776772711425,
"type": "file"
},
{
"path": "gateway/src/auth/devAuth.ts",
"accessCount": 8,
"lastAccessed": 1776773039528,
"type": "file"
},
{
"path": "gateway/prisma/schema.prisma",
"accessCount": 7,
"lastAccessed": 1776746816210,
"lastAccessed": 1776773457701,
"type": "file"
},
{
@@ -205,6 +211,12 @@
"lastAccessed": 1776746550016,
"type": "file"
},
{
"path": "gateway/src/routes/capabilities.ts",
"accessCount": 5,
"lastAccessed": 1776762824807,
"type": "file"
},
{
"path": "lobechat-plugin-manifest/README.md",
"accessCount": 4,
@@ -241,12 +253,6 @@
"lastAccessed": 1776683085106,
"type": "file"
},
{
"path": "gateway/src/routes/capabilities.ts",
"accessCount": 3,
"lastAccessed": 1776684617954,
"type": "file"
},
{
"path": "gateway/src/auth/casdoor.ts",
"accessCount": 3,
@@ -265,36 +271,42 @@
"lastAccessed": 1776687022651,
"type": "file"
},
{
"path": "gateway/prisma/schema.prisma",
"accessCount": 3,
"lastAccessed": 1776746530468,
"type": "file"
},
{
"path": "gateway/src/tools/index.ts",
"accessCount": 3,
"lastAccessed": 1776746541218,
"type": "file"
},
{
"path": "gateway/Dockerfile",
"accessCount": 3,
"lastAccessed": 1776763028735,
"type": "file"
},
{
"path": "docker-compose/production/grafana/docker-compose.yml",
"accessCount": 2,
"lastAccessed": 1776681245580,
"type": "directory"
},
{
"path": "gateway/Dockerfile",
"accessCount": 2,
"lastAccessed": 1776684619369,
"type": "file"
},
{
"path": "docker-compose.gateway.yml",
"accessCount": 2,
"lastAccessed": 1776690209005,
"type": "file"
},
{
"path": "db-init/01-create-dbs.sql",
"accessCount": 2,
"lastAccessed": 1776772673608,
"type": "file"
},
{
"path": "src/config/featureFlags/schema.ts",
"accessCount": 2,
"lastAccessed": 1776773481021,
"type": "file"
},
{
"path": ".env.example.gateway",
"accessCount": 1,
@@ -319,18 +331,6 @@
"lastAccessed": 1776681185251,
"type": "directory"
},
{
"path": "db-init/01-create-dbs.sql",
"accessCount": 1,
"lastAccessed": 1776681258116,
"type": "file"
},
{
"path": "src/config/featureFlags/schema.ts",
"accessCount": 1,
"lastAccessed": 1776681889494,
"type": "file"
},
{
"path": "src/config/featureFlags/index.ts",
"accessCount": 1,
@@ -1,8 +1,8 @@
{
"session_id": "427b0f1b-876b-4ce1-be27-adbaf9f7bd35",
"ended_at": "2026-04-21T03:33:58.985Z",
"ended_at": "2026-04-21T05:28:52.414Z",
"reason": "other",
"agents_spawned": 1,
"agents_completed": 1,
"agents_spawned": 5,
"agents_completed": 5,
"modes_used": []
}
@@ -0,0 +1,10 @@
{"t":0,"agent":"a113e02","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a89bbb4","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a89bbb4","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":310029}
{"t":0,"agent":"a113e02","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":376428}
{"t":0,"agent":"a9905af","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a9905af","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":467901}
{"t":0,"agent":"a689e0e","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a689e0e","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":186848}
{"t":0,"agent":"a7c24ef","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a7c24ef","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":318391}
@@ -1,10 +0,0 @@
{"t":0,"agent":"a7228f4","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a7228f4","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":439201}
{"t":0,"agent":"a8b5b0a","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a9bdbd9","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a7a194c","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a68a052","agent_type":"executor","event":"agent_start","parent_mode":"none"}
{"t":0,"agent":"a9bdbd9","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":192255}
{"t":0,"agent":"a8b5b0a","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":298745}
{"t":0,"agent":"a7a194c","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":405255}
{"t":0,"agent":"a68a052","agent_type":"executor","event":"agent_stop","success":true,"duration_ms":386757}
+1 -1
View File
@@ -1,3 +1,3 @@
{
"lastSentAt": "2026-04-21T04:52:16.780Z"
"lastSentAt": "2026-04-21T12:33:30.508Z"
}
+3 -3
View File
@@ -1,7 +1,7 @@
{
"tool_name": "Bash",
"tool_input_preview": "{\"command\":\"grep -q \\\"^\\\\.env$\\\" .gitignore && echo \\\".env ignored\\\" || echo \\\"WARN .env NOT ignored\\\"\\ngrep -c \\\"^CASDOOR_ADMIN_SECRET=\\\" .env 2>/dev/null\\n# append (or update) without echoing the va...",
"error": "Exit code 1\n.env ignored\n0\nTraceback (most recent call last):\n File \"<stdin>\", line 2, in <module>\n File \"<frozen os>\", line 709, in __getitem__\nKeyError: 'S'",
"timestamp": "2026-04-21T04:52:00.827Z",
"tool_input_preview": "{\"command\":\"date\\necho \\\"=== current build step ===\\\"; tail -3 /tmp/lobechat-build.log 2>&1\\necho \\\"=== build age ===\\\"; pgrep -fl \\\"com.docker.build\\\" | head -3\\nps -o etimes=,comm= -p $(pgrep -f \\\"c...",
"error": "Exit code 1\nTue Apr 21 20:23:36 CST 2026\n=== current build step ===\n#36 resolving provenance for metadata file\n#36 DONE 0.0s\n Image lobechat-lobechat Built \n=== build age ===\n10856 /Applications/Docker.app/Contents/MacOS/com.docker.build --log-no-timestamp\n48702 bash -c \ncd /Users/gongzhiyong/go/lobechat\nps: etimes: keyword not found\n/Applications/Docker.app/Contents/MacOS/com.docker.build",
"timestamp": "2026-04-21T12:23:36.620Z",
"retry_count": 1
}
+44 -78
View File
@@ -1,141 +1,107 @@
{
"updatedAt": "2026-04-21T04:49:00.597Z",
"updatedAt": "2026-04-21T12:15:55.025Z",
"missions": [
{
"id": "session:427b0f1b-876b-4ce1-be27-adbaf9f7bd35:none",
"id": "session:17a7f260-0c2b-4628-b576-00051879584a:none",
"source": "session",
"name": "none",
"objective": "Session mission",
"createdAt": "2026-04-21T03:48:43.130Z",
"updatedAt": "2026-04-21T04:49:00.597Z",
"createdAt": "2026-04-21T09:11:40.540Z",
"updatedAt": "2026-04-21T12:15:55.025Z",
"status": "done",
"workerCount": 6,
"workerCount": 5,
"taskCounts": {
"total": 6,
"total": 5,
"pending": 0,
"blocked": 0,
"inProgress": 0,
"completed": 6,
"completed": 5,
"failed": 0
},
"agents": [
{
"name": "executor:a02dceb",
"name": "executor:a113e02",
"role": "executor",
"ownership": "a02dceb4096c12fed",
"ownership": "a113e029b71f81ee2",
"status": "done",
"currentStep": null,
"latestUpdate": "completed",
"completedSummary": null,
"updatedAt": "2026-04-21T03:52:14.768Z"
"updatedAt": "2026-04-21T09:17:56.968Z"
},
{
"name": "executor:a7228f4",
"name": "executor:a89bbb4",
"role": "executor",
"ownership": "a7228f431ca80c4c2",
"ownership": "a89bbb4ebd56ed319",
"status": "done",
"currentStep": null,
"latestUpdate": "completed",
"completedSummary": null,
"updatedAt": "2026-04-21T04:28:00.414Z"
"updatedAt": "2026-04-21T09:17:15.300Z"
},
{
"name": "executor:a8b5b0a",
"name": "executor:a9905af",
"role": "executor",
"ownership": "a8b5b0a64a894f1c8",
"ownership": "a9905affb95123dd1",
"status": "done",
"currentStep": null,
"latestUpdate": "completed",
"completedSummary": null,
"updatedAt": "2026-04-21T04:46:09.197Z"
"updatedAt": "2026-04-21T12:05:32.432Z"
},
{
"name": "executor:a9bdbd9",
"name": "executor:a689e0e",
"role": "executor",
"ownership": "a9bdbd9f83692ba51",
"ownership": "a689e0edc18c030c7",
"status": "done",
"currentStep": null,
"latestUpdate": "completed",
"completedSummary": null,
"updatedAt": "2026-04-21T04:44:47.329Z"
"updatedAt": "2026-04-21T12:09:43.444Z"
},
{
"name": "executor:a7a194c",
"name": "executor:a7c24ef",
"role": "executor",
"ownership": "a7a194c1e64a029df",
"ownership": "a7c24efc187b1b149",
"status": "done",
"currentStep": null,
"latestUpdate": "completed",
"completedSummary": null,
"updatedAt": "2026-04-21T04:48:54.196Z"
},
{
"name": "executor:a68a052",
"role": "executor",
"ownership": "a68a052707f8c76ad",
"status": "done",
"currentStep": null,
"latestUpdate": "completed",
"completedSummary": null,
"updatedAt": "2026-04-21T04:49:00.597Z"
"updatedAt": "2026-04-21T12:15:55.025Z"
}
],
"timeline": [
{
"id": "session-start:a9bdbd9f83692ba51:2026-04-21T04:41:35.074Z",
"at": "2026-04-21T04:41:35.074Z",
"id": "session-start:a689e0edc18c030c7:2026-04-21T12:06:36.596Z",
"at": "2026-04-21T12:06:36.596Z",
"kind": "update",
"agent": "executor:a9bdbd9",
"detail": "started executor:a9bdbd9",
"sourceKey": "session-start:a9bdbd9f83692ba51"
"agent": "executor:a689e0e",
"detail": "started executor:a689e0e",
"sourceKey": "session-start:a689e0edc18c030c7"
},
{
"id": "session-start:a7a194c1e64a029df:2026-04-21T04:42:08.941Z",
"at": "2026-04-21T04:42:08.941Z",
"id": "session-stop:a689e0edc18c030c7:2026-04-21T12:09:43.444Z",
"at": "2026-04-21T12:09:43.444Z",
"kind": "completion",
"agent": "executor:a689e0e",
"detail": "completed",
"sourceKey": "session-stop:a689e0edc18c030c7"
},
{
"id": "session-start:a7c24efc187b1b149:2026-04-21T12:10:36.634Z",
"at": "2026-04-21T12:10:36.634Z",
"kind": "update",
"agent": "executor:a7a194c",
"detail": "started executor:a7a194c",
"sourceKey": "session-start:a7a194c1e64a029df"
"agent": "executor:a7c24ef",
"detail": "started executor:a7c24ef",
"sourceKey": "session-start:a7c24efc187b1b149"
},
{
"id": "session-start:a68a052707f8c76ad:2026-04-21T04:42:33.840Z",
"at": "2026-04-21T04:42:33.840Z",
"kind": "update",
"agent": "executor:a68a052",
"detail": "started executor:a68a052",
"sourceKey": "session-start:a68a052707f8c76ad"
},
{
"id": "session-stop:a9bdbd9f83692ba51:2026-04-21T04:44:47.329Z",
"at": "2026-04-21T04:44:47.329Z",
"id": "session-stop:a7c24efc187b1b149:2026-04-21T12:15:55.025Z",
"at": "2026-04-21T12:15:55.025Z",
"kind": "completion",
"agent": "executor:a9bdbd9",
"agent": "executor:a7c24ef",
"detail": "completed",
"sourceKey": "session-stop:a9bdbd9f83692ba51"
},
{
"id": "session-stop:a8b5b0a64a894f1c8:2026-04-21T04:46:09.197Z",
"at": "2026-04-21T04:46:09.197Z",
"kind": "completion",
"agent": "executor:a8b5b0a",
"detail": "completed",
"sourceKey": "session-stop:a8b5b0a64a894f1c8"
},
{
"id": "session-stop:a7a194c1e64a029df:2026-04-21T04:48:54.196Z",
"at": "2026-04-21T04:48:54.196Z",
"kind": "completion",
"agent": "executor:a7a194c",
"detail": "completed",
"sourceKey": "session-stop:a7a194c1e64a029df"
},
{
"id": "session-stop:a68a052707f8c76ad:2026-04-21T04:49:00.597Z",
"at": "2026-04-21T04:49:00.597Z",
"kind": "completion",
"agent": "executor:a68a052",
"detail": "completed",
"sourceKey": "session-stop:a68a052707f8c76ad"
"sourceKey": "session-stop:a7c24efc187b1b149"
}
]
}
+21 -21
View File
@@ -1,53 +1,53 @@
{
"agents": [
{
"agent_id": "a7228f431ca80c4c2",
"agent_id": "a113e029b71f81ee2",
"agent_type": "oh-my-claudecode:executor",
"started_at": "2026-04-21T04:20:41.213Z",
"started_at": "2026-04-21T09:11:40.540Z",
"parent_mode": "none",
"status": "completed",
"completed_at": "2026-04-21T04:28:00.414Z",
"duration_ms": 439201
"completed_at": "2026-04-21T09:17:56.968Z",
"duration_ms": 376428
},
{
"agent_id": "a8b5b0a64a894f1c8",
"agent_id": "a89bbb4ebd56ed319",
"agent_type": "oh-my-claudecode:executor",
"started_at": "2026-04-21T04:41:10.452Z",
"started_at": "2026-04-21T09:12:05.271Z",
"parent_mode": "none",
"status": "completed",
"completed_at": "2026-04-21T04:46:09.197Z",
"duration_ms": 298745
"completed_at": "2026-04-21T09:17:15.300Z",
"duration_ms": 310029
},
{
"agent_id": "a9bdbd9f83692ba51",
"agent_id": "a9905affb95123dd1",
"agent_type": "oh-my-claudecode:executor",
"started_at": "2026-04-21T04:41:35.074Z",
"started_at": "2026-04-21T11:57:44.531Z",
"parent_mode": "none",
"status": "completed",
"completed_at": "2026-04-21T04:44:47.329Z",
"duration_ms": 192255
"completed_at": "2026-04-21T12:05:32.432Z",
"duration_ms": 467901
},
{
"agent_id": "a7a194c1e64a029df",
"agent_id": "a689e0edc18c030c7",
"agent_type": "oh-my-claudecode:executor",
"started_at": "2026-04-21T04:42:08.941Z",
"started_at": "2026-04-21T12:06:36.596Z",
"parent_mode": "none",
"status": "completed",
"completed_at": "2026-04-21T04:48:54.196Z",
"duration_ms": 405255
"completed_at": "2026-04-21T12:09:43.444Z",
"duration_ms": 186848
},
{
"agent_id": "a68a052707f8c76ad",
"agent_id": "a7c24efc187b1b149",
"agent_type": "oh-my-claudecode:executor",
"started_at": "2026-04-21T04:42:33.840Z",
"started_at": "2026-04-21T12:10:36.634Z",
"parent_mode": "none",
"status": "completed",
"completed_at": "2026-04-21T04:49:00.597Z",
"duration_ms": 386757
"completed_at": "2026-04-21T12:15:55.025Z",
"duration_ms": 318391
}
],
"total_spawned": 5,
"total_completed": 5,
"total_failed": 0,
"last_updated": "2026-04-21T04:49:00.700Z"
"last_updated": "2026-04-21T12:15:55.129Z"
}