diff --git a/.collaboration b/.collaboration index 6902d405e2a5e307ec2a00f15274fbbe697e1bf7..b58d2d119fd1e2676cdd849c734a055a919f218d 100644 --- a/.collaboration +++ b/.collaboration @@ -1,50 +1,130 @@ [ { "ModuleName": "Table/UserAgent", + "State": 1, + "LockedBy": { + "UserName": "XA-GCSCN-WILL\\NingWei", + "Email": "will.ning@grapecity.com" + }, + "LockDateTime": "2026-05-11T09:05:10.3259276+08:00", "ModuleType": 7, "IconType": 24, + "ToRemoveFiles": [ + "Tables\\UserAgent.json", + "ForguncyDB.sqlite3" + ], "ExclusiveType": 0 }, { "ModuleName": "Table/Logs", + "State": 1, + "LockedBy": { + "UserName": "XA-GCSCN-WILL\\NingWei", + "Email": "will.ning@grapecity.com" + }, + "LockDateTime": "2026-05-11T09:05:10.326027+08:00", "ModuleType": 7, "IconType": 24, + "ToRemoveFiles": [ + "Tables\\Logs.json", + "ForguncyDB.sqlite3" + ], "ExclusiveType": 0 }, { "ModuleName": "Table/RpcRequestMessages", + "State": 1, + "LockedBy": { + "UserName": "XA-GCSCN-WILL\\NingWei", + "Email": "will.ning@grapecity.com" + }, + "LockDateTime": "2026-05-11T09:05:10.3260322+08:00", "ModuleType": 7, "IconType": 24, + "ToRemoveFiles": [ + "Tables\\RpcRequestMessages.json", + "ForguncyDB.sqlite3" + ], "ExclusiveType": 0 }, { "ModuleName": "Table/Sessions", + "State": 1, + "LockedBy": { + "UserName": "XA-GCSCN-WILL\\NingWei", + "Email": "will.ning@grapecity.com" + }, + "LockDateTime": "2026-05-11T09:05:10.326035+08:00", "ModuleType": 7, "IconType": 24, + "ToRemoveFiles": [ + "Tables\\Sessions.json", + "ForguncyDB.sqlite3" + ], "ExclusiveType": 0 }, { "ModuleName": "Table/App", + "State": 1, + "LockedBy": { + "UserName": "XA-GCSCN-WILL\\NingWei", + "Email": "will.ning@grapecity.com" + }, + "LockDateTime": "2026-05-11T09:05:10.3260398+08:00", "ModuleType": 7, "IconType": 24, + "ToRemoveFiles": [ + "Tables\\App.json", + "ForguncyDB.sqlite3" + ], "ExclusiveType": 0 }, { "ModuleName": "Table/RpcLogs", + "State": 1, + "LockedBy": { + "UserName": "XA-GCSCN-WILL\\NingWei", + "Email": "will.ning@grapecity.com" + }, + "LockDateTime": "2026-05-11T09:05:10.3260429+08:00", "ModuleType": 7, "IconType": 24, + "ToRemoveFiles": [ + "Tables\\RpcLogs.json", + "ForguncyDB.sqlite3" + ], "ExclusiveType": 0 }, { "ModuleName": "Table/Agent", + "State": 1, + "LockedBy": { + "UserName": "XA-GCSCN-WILL\\NingWei", + "Email": "will.ning@grapecity.com" + }, + "LockDateTime": "2026-05-11T09:05:10.326046+08:00", "ModuleType": 7, "IconType": 24, + "ToRemoveFiles": [ + "Tables\\Agent.json", + "ForguncyDB.sqlite3" + ], "ExclusiveType": 0 }, { "ModuleName": "Table/OpenClawMessages", + "State": 1, + "LockedBy": { + "UserName": "XA-GCSCN-WILL\\NingWei", + "Email": "will.ning@grapecity.com" + }, + "LockDateTime": "2026-05-11T09:05:10.3260493+08:00", "ModuleType": 7, "IconType": 24, + "ToRemoveFiles": [ + "Tables\\OpenClawMessages.json", + "ForguncyDB.sqlite3" + ], "ExclusiveType": 0 }, { @@ -481,5 +561,30 @@ "ModuleName": "PermissionGroupConfig", "ModuleType": 44, "IconType": 45 + }, + { + "ModuleName": "Image/artificial-intelligence.png", + "ModuleType": 38, + "IconType": 41 + }, + { + "ModuleName": "ServerCommand/getLatestMessages", + "ModuleType": 15, + "IconType": 15 + }, + { + "ModuleName": "ServerCommand/upgradeOpenClawMessages", + "ModuleType": 15, + "IconType": 15 + }, + { + "ModuleName": "PCPage/download", + "ModuleType": 1, + "IconType": 1 + }, + { + "ModuleName": "ServerCommand/getDownloadLink", + "ModuleType": 15, + "IconType": 15 } ] \ No newline at end of file diff --git a/ApplicationSettings.json b/ApplicationSettings.json index 5cad3b351362e74d2e222ae84830d156e12f04c3..7e34fed9bda39b3cd4a49938d9acd1d87b06f5da 100644 --- a/ApplicationSettings.json +++ b/ApplicationSettings.json @@ -58,12 +58,12 @@ }, { "Name": "S3_AK", - "Value": "cbFl4XOPeCc081l76thu", + "Value": "minioadmin", "Remark": "" }, { "Name": "S3_SK", - "Value": "RxV36X6XhxRZwRuZH2osy5zEQYpSxY4yPFJrSPK", + "Value": "minioadmin", "Remark": "" } ], diff --git a/CustomLibraries.json b/CustomLibraries.json index 2b265e0c39fe1d49c80112b1d27793c6e3c2fd01..46c577747a29870aa1d0bf563a128bc18403bd14 100644 --- a/CustomLibraries.json +++ b/CustomLibraries.json @@ -1,4 +1,8 @@ { "UserJSFileList": [], - "UserCSSFileList": [] + "UserCSSFileList": [ + { + "Name": "StyleSheet.css" + } + ] } \ No newline at end of file diff --git a/ForguncyDB.sqlite3 b/ForguncyDB.sqlite3 index 02a038fa6d7544ff4ab28ac44dc6e6705568d5bc..4544931f5b17e4092084788952e2fbe21815084f 100644 Binary files a/ForguncyDB.sqlite3 and b/ForguncyDB.sqlite3 differ diff --git a/Pages/chat.json b/Pages/chat.json index 0e7a11e8c1c88b55b38f3158201741c3efa5683e..3c18f2e85d63be6c7ebd39f690d894a82a6beb89 100644 --- a/Pages/chat.json +++ b/Pages/chat.json @@ -35,9 +35,9 @@ } }, "InLogicalVisibleIndexes": [ - 20 + 19 ], - "Count": 21, + "Count": 20, "DefaultSize": 32.0 }, "Cols": { @@ -85,8 +85,7 @@ }, "Values": { "17,13": "发送", - "19,1": "提示:您可以尝试让数字员工帮您操作库存管理系统、设备管理系统和知识库", - "20,1": "当前会话:" + "19,1": "当前会话:" }, "AttachInfos": { "1,1": { @@ -210,7 +209,7 @@ "BreakpointIdentity": "16a0c74a-ad58-469f-87a8-7b3a7ed6e4b3" } ], - "ID": "932ac04e-ca2f-4dae-8e30-cb4c40f4194a" + "ID": "057bd6c7-ca60-4cdf-9606-c806de5606eb" }, { "CommandList": [ @@ -237,13 +236,13 @@ "BreakpointIdentity": "fa9e109f-76ba-4f83-9020-513826529120" } ], - "ID": "4e2afc41-02d1-49d5-8df0-9187bc28e573" + "ID": "45ba527f-afdb-4cda-9b51-bfa394f0791b" } ], "BreakpointIdentity": "99628f83-d9e4-4f02-93a0-35362f634413" } ], - "ID": "117f3dc2-cae3-410b-a245-ead40b3c361d" + "ID": "986095c7-df60-474d-9f81-c127f8a91eb0" }, { "CommandList": [ @@ -256,7 +255,7 @@ "BreakpointIdentity": "59a6323b-8adf-44c6-b09d-958028a4b481" } ], - "ID": "8838b5d9-827c-4daf-8c6b-f93971ee04e0" + "ID": "4aeff325-2c38-4f36-9d2d-aeaa56fda299" } ], "BreakpointIdentity": "c2ea4a91-4845-497b-83a7-eb93ee106326" @@ -265,6 +264,9 @@ } }, "3,1": { + "CssNameFormula": { + "SerializeProperty": "wechat-like-chatbox" + }, "CellType": { "$type": "AiAssistantChat.AiAssistantChatCellType, AiAssistantChat", "DisableAutoAiResponse": true, @@ -275,7 +277,11 @@ "ChatAreaConfig": { "ShowTime": true, "AllowCopy": true, - "NextQuestionPrompt": "1. 基于用户提问和AI回答的内容生成问题文本,不能是示例占位符\r\n2. 必须生成3个完整的问题,每个问题以问号结尾\r\n3. 可以从ai回答中的某个点展开提问。" + "NextQuestionPrompt": "1. 基于用户提问和AI回答的内容生成问题文本,不能是示例占位符\r\n2. 必须生成3个完整的问题,每个问题以问号结尾\r\n3. 可以从ai回答中的某个点展开提问。", + "AiChatIcon": { + "$type": "GrapeCity.Forguncy.Plugin.ImageValue, GrapeCity.Forguncy.Plugin", + "Name": "artificial-intelligence.png" + } }, "BottomAreaConfig": { "ShowBottomArea": false, @@ -454,19 +460,19 @@ "BreakpointIdentity": "adb8ae7a-c160-4698-8929-82b27732ac72" } ], - "ID": "6189944e-7113-4ee7-b3cd-410812f0b8fa" + "ID": "77cbf451-67e6-4390-bf6b-393432539488" } ], "BreakpointIdentity": "424ed5c4-f2d7-404b-920c-35c00b8d7891" } ], - "ID": "fec2228b-67f5-4e95-be5c-4fdcac3f4ac4" + "ID": "61e073f1-24f9-4f87-8763-3b37d0b63658" } ], "BreakpointIdentity": "380491d3-f38e-4b58-87bf-fb708e342549" } ], - "ID": "097f5acd-a362-4987-af18-a7d344701c74" + "ID": "4283da32-52dd-48b1-81aa-6a35c207ba9f" }, { "CommandList": [ @@ -476,7 +482,7 @@ "BreakpointIdentity": "a2de74c8-d847-4ab0-ad5b-128c9055f2de" } ], - "ID": "2dc40434-70e1-41f1-9fef-4a1a9645d263" + "ID": "b35d27ca-6230-4dbc-8927-6a996642968c" } ], "BreakpointIdentity": "7d0ca633-81b6-473d-8e5f-2a85f7377c61" @@ -664,7 +670,7 @@ "BreakpointIdentity": "1e2d6553-9f66-42b2-be90-6a45cc9f5700" } ], - "ID": "dd5a62ff-d12c-4479-a8b7-44862bebac55" + "ID": "323b340d-647e-4e78-9dba-21fc5a164fe1" }, { "CommandList": [ @@ -677,13 +683,13 @@ "BreakpointIdentity": "d9e39f15-090b-418d-8efa-7ae27319d031" } ], - "ID": "51db8111-4c3d-4463-b8fa-0ab258f37f32" + "ID": "8667d978-f509-42ec-bfce-69fc111660be" } ], "BreakpointIdentity": "82d721bf-0a46-4976-a63d-deb03faed10e" } ], - "ID": "392c3a74-8202-4be7-958e-99e0c7a1f29e" + "ID": "224f6d51-b64e-41f3-afa7-7d7ace2f7310" }, { "CommandList": [ @@ -696,7 +702,7 @@ "BreakpointIdentity": "20a2072b-563d-4f21-b6f6-1d232099b4fc" } ], - "ID": "5bf61afb-40cd-43e7-b69f-8fb1b2dd2e98" + "ID": "cff4032c-67b2-4785-9ace-1e371ccb1e1e" } ], "BreakpointIdentity": "c3e93f43-0ab3-47fc-bcb5-bc77eb646a4b" @@ -786,11 +792,6 @@ "FontSize": -999.0, "Formatter": 5 }, - { - "FontFamily": 0, - "FontSize": 12.0, - "Formatter": 4 - }, { "FontSize": 10.666666666666666 }, @@ -899,30 +900,15 @@ "18,15": 0, "18,16": 0, "19,1": 12, - "19,2": 10, - "19,3": 10, - "19,4": 10, - "19,5": 10, - "19,6": 10, - "19,7": 10, - "19,8": 10, - "19,9": 10, - "19,10": 10, - "19,11": 10, - "19,13": 11, - "19,15": 0, - "19,16": 0, - "20,1": 13, - "20,2": 14, - "20,3": 13, - "20,4": 14, - "20,5": 14, - "20,6": 14, - "20,7": 14, - "20,8": 14, - "20,9": 14, - "20,15": 14, - "20,16": 14 + "19,2": 13, + "19,3": 12, + "19,4": 13, + "19,5": 13, + "19,6": 13, + "19,7": 13, + "19,8": 13, + "19,9": 13, + "19,15": 13 }, "SheetStyle": { "FontFamily": 0, @@ -930,9 +916,9 @@ } }, "Spans": [ + "1,1,1,7", "3,1,13,15", - "17,1,1,11", - "1,1,1,7" + "17,1,1,11" ], "PageInfo": { "$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon", @@ -960,6 +946,12 @@ "CommandDefinitions": [], "MethodDefinitions": [], "PageLoadedCommandList": [ + { + "$type": "LoadingCommand.StartLoadingCommand, LoadingCommand", + "LoadingText": "加载中,请稍等...", + "LoadingTextColor": "Background 1 0", + "BreakpointIdentity": "c0861202-3953-4d80-bb89-654f927c2c00" + }, { "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "ServerCommandName": "getLatestAgent", @@ -999,47 +991,100 @@ }, "CommandList": [ { - "$type": "Forguncy.Model.SubscribeNotificationCommand, ServerDesignerCommon", - "Name": "OpenClawMessageRecieved", - "CommandList": [ + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "getLatestMessages", + "Parameters": [ { - "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", - "ConditionAndCommandPairList": [ + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "agentId", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!AgentCell" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "message" + }, + "ReturnPropertiesTo": [ + { + "ResultPropertyName": "messages", + "ResultTo": { + "SerializeProperty": "history" + } + } + ], + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "376a8cdb-6740-4c67-b91d-310504ffc091" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=chat!code" + } + ] + }, + "value": "0" + }, + "CommandList": [ { - "Condition": { - "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", - "param": { - "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", - "cellLocations": [ - { - "SerializeProperty": "=chat!SessionCell" - } - ] + "$type": "CollectionOperationKit.ClientSideObjectOp, CollectionOperationKit", + "OperationParamaterPairs": [ + { + "Name": "id", + "Value": "0" }, - "value": { + { + "Name": "chats", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!history" + } + } + ], + "OutParamaterName": "historyObj", + "BreakpointIdentity": "aa7ff76d-3705-483e-bbfa-408d4da15fe6" + }, + { + "$type": "JsonUtilityCommand.JsonSerializeCommand, JsonUtilityCommand", + "SourceObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!historyObj" + }, + "ToParameter": "historyJSON", + "BreakpointIdentity": "4d82827b-3240-4822-b2f1-28e5a06edd22" + }, + { + "$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon", + "TargetPageElement": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!ChatCell" + }, + "TargetType": "AiAssistantChat.AiAssistantChatCellType, AiAssistantChat, Version=12.0.2.0, Culture=neutral, PublicKeyToken=null", + "MethodName": "SetHistoryMessage", + "ParameterValues": { + "json": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=chat!session" + "SerializeProperty": "=chat!historyJSON" } }, + "BreakpointIdentity": "6e252ba8-5b6e-4cb5-b4a5-8c06c47ae945" + }, + { + "$type": "Forguncy.Model.SubscribeNotificationCommand, ServerDesignerCommon", + "Name": "OpenClawMessageRecieved", "CommandList": [ - { - "$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon", - "TargetPageElement": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=chat!ChatCell" - }, - "TargetType": "AiAssistantChat.AiAssistantChatCellType, AiAssistantChat, Version=12.0.2.0, Culture=neutral, PublicKeyToken=null", - "MethodName": "AddTextMessage", - "ParameterValues": { - "Type": "assistant", - "Text": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=chat!text" - }, - "TriggerAiResponse": false - }, - "BreakpointIdentity": "503db3bf-5a3b-4a10-a4e6-e5868818750d" - }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ @@ -1050,11 +1095,14 @@ "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "cellLocations": [ { - "SerializeProperty": "=kind" + "SerializeProperty": "=chat!SessionCell" } ] }, - "value": "final" + "value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!session" + } }, "CommandList": [ { @@ -1064,92 +1112,77 @@ "SerializeProperty": "=chat!ChatCell" }, "TargetType": "AiAssistantChat.AiAssistantChatCellType, AiAssistantChat, Version=12.0.2.0, Culture=neutral, PublicKeyToken=null", - "MethodName": "AddComponentMessage", + "MethodName": "AddTextMessage", "ParameterValues": { - "Style": null, - "ComponentConfig": { - "$type": "Forguncy.UserControlInfo, ServerDesignerCommon", - "Name": "task-feedback", - "PropertyValues": [], - "CommandHandlers": [] - } + "Type": "assistant", + "Text": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!text" + }, + "TriggerAiResponse": false, + "Attachment": null }, - "BreakpointIdentity": "397689d4-c700-46c2-8fa0-896e6dfb7dd7" + "BreakpointIdentity": "02c6fb10-3410-4bec-b9cf-531cc343ef30" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=kind" + } + ] + }, + "value": "final" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon", + "TargetPageElement": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!ChatCell" + }, + "TargetType": "AiAssistantChat.AiAssistantChatCellType, AiAssistantChat, Version=12.0.2.0, Culture=neutral, PublicKeyToken=null", + "MethodName": "AddComponentMessage", + "ParameterValues": { + "Style": { + "$type": "AiAssistantChat.MessageStyle, AiAssistantChat", + "CardType": 2 + }, + "ComponentConfig": { + "$type": "Forguncy.UserControlInfo, ServerDesignerCommon", + "Name": "task-feedback", + "PropertyValues": [], + "CommandHandlers": [] + } + }, + "BreakpointIdentity": "a0eb949e-1ed6-4f48-9302-3bbad23e73eb" + } + ], + "ID": "838cf03e-bb26-4456-ab46-7cd7e158c22a" + } + ], + "BreakpointIdentity": "d7d6fa8f-7ed2-4afe-970e-28f3c8e76550" } ], - "ID": "e408f57c-d0ae-4e99-bc8b-cf729a4e5898" + "ID": "bcbf9d93-6d4b-4d1c-bf8d-69aa247fa5fd" } ], - "BreakpointIdentity": "838f66c2-70f2-4627-949e-e5de84799b3d" + "BreakpointIdentity": "07550387-dc1b-47b5-b4a5-abed6a0eb4d6" } ], - "ID": "dcd3c66c-5017-4d8f-baed-1c1a09ef7709" - } - ], - "BreakpointIdentity": "6e0bb7b0-c2f0-4aee-b57a-2bfe53c9cc05" - } - ], - "ID": "055b6c08b60d42029485962ecba46bfc", - "BreakpointIdentity": "ca9f5783-8a44-4e08-b3bb-f24b1f13cde5" - }, - { - "$type": "Forguncy.Model.SubscribeNotificationCommand, ServerDesignerCommon", - "Name": "OpenClawFileRecieved", - "CommandList": [ - { - "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", - "ConditionAndCommandPairList": [ + "ID": "703b5bcf1d474ee9a5be4fd0508e4dd1", + "BreakpointIdentity": "8cf19568-d491-4f84-837e-d7cbff563d70" + }, { - "Condition": { - "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", - "param": { - "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", - "cellLocations": [ - { - "SerializeProperty": "=chat!SessionCell" - } - ] - }, - "value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=chat!session" - } - }, + "$type": "Forguncy.Model.SubscribeNotificationCommand, ServerDesignerCommon", + "Name": "OpenClawFileRecieved", "CommandList": [ - { - "$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon", - "TargetPageElement": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=chat!ChatCell" - }, - "TargetType": "AiAssistantChat.AiAssistantChatCellType, AiAssistantChat, Version=12.0.2.0, Culture=neutral, PublicKeyToken=null", - "MethodName": "AddComponentMessage", - "ParameterValues": { - "Style": null, - "ComponentConfig": { - "$type": "Forguncy.UserControlInfo, ServerDesignerCommon", - "Name": "file-downloader", - "PropertyValues": [ - { - "Name": "uri", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=chat!fileUri" - } - }, - { - "Name": "url", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=chat!downloadUrl" - } - } - ], - "CommandHandlers": [] - } - }, - "BreakpointIdentity": "36d96e70-3305-4a3d-a768-06439e3ee47e" - }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ @@ -1160,11 +1193,14 @@ "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "cellLocations": [ { - "SerializeProperty": "=chat!kind" + "SerializeProperty": "=chat!SessionCell" } ] }, - "value": "final" + "value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!session" + } }, "CommandList": [ { @@ -1176,34 +1212,110 @@ "TargetType": "AiAssistantChat.AiAssistantChatCellType, AiAssistantChat, Version=12.0.2.0, Culture=neutral, PublicKeyToken=null", "MethodName": "AddComponentMessage", "ParameterValues": { - "Style": null, + "Style": { + "$type": "AiAssistantChat.MessageStyle, AiAssistantChat", + "CardType": 2 + }, "ComponentConfig": { "$type": "Forguncy.UserControlInfo, ServerDesignerCommon", - "Name": "task-feedback", - "PropertyValues": [], + "Name": "file-downloader", + "PropertyValues": [ + { + "Name": "uri", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!fileUri" + } + }, + { + "Name": "url", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!downloadUrl" + } + } + ], "CommandHandlers": [] } }, - "BreakpointIdentity": "93662cce-a13d-4b5d-85cc-c34962343960" + "BreakpointIdentity": "bdc8a9fd-5b20-428c-bbde-7a50e1b6d570" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=chat!kind" + } + ] + }, + "value": "final" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon", + "TargetPageElement": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=chat!ChatCell" + }, + "TargetType": "AiAssistantChat.AiAssistantChatCellType, AiAssistantChat, Version=12.0.2.0, Culture=neutral, PublicKeyToken=null", + "MethodName": "AddComponentMessage", + "ParameterValues": { + "Style": { + "$type": "AiAssistantChat.MessageStyle, AiAssistantChat", + "CardType": 2 + }, + "ComponentConfig": { + "$type": "Forguncy.UserControlInfo, ServerDesignerCommon", + "Name": "task-feedback", + "PropertyValues": [], + "CommandHandlers": [] + } + }, + "BreakpointIdentity": "c0ffba61-178a-4eb9-b8a7-c28fe9f33f46" + } + ], + "ID": "63c9fedf-b961-4d31-b5fa-2b8e832aeaae" + } + ], + "BreakpointIdentity": "afb7a192-8f98-4972-aad8-5851ba4e4f99" } ], - "ID": "7e7beff5-74d2-4636-a1ae-b25751604d17" + "ID": "d2a51349-8beb-45fc-9a90-14f10cbe28eb" } ], - "BreakpointIdentity": "2530cb5e-671f-4520-96cc-f9fbf54fed2c" + "BreakpointIdentity": "f4eb402f-0439-4125-a7c6-07ff0a2b9722" } ], - "ID": "90e5c976-ff0f-4764-9548-473017f278a5" + "ID": "d9fbc308613d41eea636f28d950d1049", + "BreakpointIdentity": "de799274-5571-44fa-8d19-df69180dd7c0" } ], - "BreakpointIdentity": "9a08b86f-9be1-4959-9109-1c98149f5dd5" + "ID": "8f029e80-0b74-409c-9ac5-0b96f236093f" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ShowMessageCommand, ServerDesignerCommon", + "MessageFormula": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"系统出错了,请刷新页面重试。\"&chat!message" + }, + "BreakpointIdentity": "c2a3db95-a57e-4a6c-ba36-f09f2e6e219a" + } + ], + "ID": "3783f3e9-94e6-4281-865d-a92012a3f02b" } ], - "ID": "9340f21160ea42f3840f967e50097a85", - "BreakpointIdentity": "408ff3b1-9423-4bd6-bcf5-fdafe82bbefd" + "BreakpointIdentity": "88d3ebd7-c7c1-47bb-b810-acd226c81471" } ], - "ID": "ece783dc-a8e1-4d5b-ac12-5b0e468b2301" + "ID": "a6231959-904a-4ed5-a1ee-e7c6bf9bd96d" }, { "CommandList": [ @@ -1216,10 +1328,14 @@ "BreakpointIdentity": "4f26476b-d9a0-4d44-8bdf-4f775fcc7587" } ], - "ID": "0428ba10-f2fc-4dad-a3de-02bc813a8789" + "ID": "90610300-9177-4e55-85ac-177961435f86" } ], "BreakpointIdentity": "9f3ccb82-6472-4916-a6eb-dc7f0f0633a6" + }, + { + "$type": "LoadingCommand.EndLoadingCommand, LoadingCommand", + "BreakpointIdentity": "31f613d2-a84e-4d5f-9a8b-7a1f7777dd2e" } ] }, @@ -1246,11 +1362,11 @@ }, { "Name": "SessionCell", - "Formula": "chat!$D$21" + "Formula": "chat!$D$20" }, { "Name": "UploadButton", "Formula": "chat!$P$18" } ] -}//0K/G5dhC3qu2kjWoHB0v3RLw6+MG9Rpj6HEbeqzB3FQ8YNBuQIYIFyc/mgyRGQ3D5BXQSSGtdB7bfjJL786J4ilM4TEAE3S/jgiEXWAIPRBfvOSkBCKASl+WxQ1r0ydHFMHxpvJn8GFiIuZXAP87xNRhzMEbBNlt6stWuzlMPIjxYuOS34FBUQFq3+xHCyVfzEElMsdzs/99+6TjxmLqoJgq0ZKNGu08fpoGz0hrArfv65BQJVvnaEDv/sWTt21TxmaKwPSjH1sJAL8rsHTjYBUvSL6jALPBre13V48iAIm1qSB6g5cq3Ekj4DSwUrD4ajquC9xSRfku0rgJAp9SDmIFvyA8230NgC8kc9KHZZg+vCyl57dCUrbUlL08S8wN7yyS+ySsEhNAkL+yFWLHS8AorcbKcBdPEWJ5/ryNDT0DH1d7iUtRxk0VrhI8wqXsI3W+/EIgU8fKJmRIf19Wr2Nxm0mLQfgd59KKapMOlMk50sm57QlBt2maqXuQ2kTCTiGGIR8RTIOM62Id/6+jXcFVq9hWKMJB5b5Y/lm7whnr6LHVtj6EgOuxrzb/S+nKWbKJRUgKwg1JsNPEk8lsS+yEuT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zP9nmG2j7A0emoxRqTz9Vyv5xQEPIX4M6YZVEe5/cWk0LypH+Jxc734Q/n/W0Qp498KOZhUCPiZEtmSzevd6H5jWw==|1944 \ No newline at end of file diff --git a/Pages/chat.rd b/Pages/chat.rd index 45237c4a5d4446260ed7b8697ea9fa2f6676f33c..419a21a4a6f70ab5a9badeccbeff42cceb6fa538 100644 --- a/Pages/chat.rd +++ b/Pages/chat.rd @@ -1,7 +1,7 @@ { "PageType": 0, "ColumnCount": 17, - "RowCount": 21, + "RowCount": 20, "CustomNames": [ { "Name": "AgentCell", @@ -21,7 +21,7 @@ }, { "Name": "SessionCell", - "Formula": "chat!$D$21" + "Formula": "chat!$D$20" }, { "Name": "UploadButton", diff --git a/Pages/download.json b/Pages/download.json new file mode 100644 index 0000000000000000000000000000000000000000..d6a50a835a2e1153dffeae4bc64c83d4bfd92542 --- /dev/null +++ b/Pages/download.json @@ -0,0 +1,262 @@ +{ + "Rows": { + "RowColumnAttachedInfos": { + "2": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 16.0 + } + } + }, + "Count": 7, + "DefaultSize": 32.0 + }, + "Cols": { + "RowColumnAttachedInfos": { + "0": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "1": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "2": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "3": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "6": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "7": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "8": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "9": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "12": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "13": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "14": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "15": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "16": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "17": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "18": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "19": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + } + }, + "Count": 20, + "DefaultSize": 32.0 + }, + "Values": { + "1,1": "文件Uri(如:file_output://agents-out/...)", + "5,16": "下载" + }, + "AttachInfos": { + "3,1": { + "CellType": { + "$type": "Forguncy.TextCellType, ServerDesignerCommon", + "SavedValidators": [ + { + "$type": "Forguncy.CellTypes.Models.UniqueValidadator, ServerDesignerCommon" + } + ], + "TemplateKey": "_RS_NewLittleRoundCornerUpdate", + "WaterMark": "请输入..." + } + }, + "5,16": { + "CellType": { + "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "getDownloadLink", + "Parameters": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "uri", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=download!B4" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "message" + }, + "ReturnPropertiesTo": [ + { + "ResultPropertyName": "url", + "ResultTo": { + "SerializeProperty": "url" + } + } + ], + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "530ce52b-7400-422a-a607-723d1aa6cd46" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=download!code" + } + ] + }, + "value": "0" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.NavigateCommand, ServerDesignerCommon", + "ValueFormula": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=download!url" + }, + "IsOpenInNewTab": true, + "BreakpointIdentity": "373cd211-b5f1-4ffb-88d0-f1db027992b0" + }, + { + "$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon", + "BreakpointIdentity": "7d450fa7-7713-485a-bf38-e4d3360eb66a" + } + ], + "ID": "dd3ab76a-6017-4400-a98e-30bb39619bea" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ShowMessageCommand, ServerDesignerCommon", + "MessageFormula": "Uri地址不合法或不存在,不能下载。", + "BreakpointIdentity": "c094b9a0-5b12-4ddb-8f3f-a70a3dbac29e" + } + ], + "ID": "cb34bc8b-82f0-48e1-b16c-ae75aeb2e06e" + } + ], + "BreakpointIdentity": "f474be73-1bff-449b-b4ec-3253f9c50038" + } + ], + "Text": "下载", + "TemplateKey": "_RS_Main1" + } + } + }, + "StyleDatas": { + "Styles": [ + { + "FontFamily": 0, + "FontSize": -999.0, + "Formatter": 1 + }, + { + "FontFamily": 0, + "FontSize": -999.0 + } + ], + "Types": { + "Strs": [ + "Body", + "@" + ] + }, + "CellStyles": { + "3,1": 0, + "5,16": 1 + }, + "SheetStyle": { + "FontFamily": 0, + "FontSize": -999.0 + } + }, + "Spans": [ + "3,1,1,18", + "5,16,1,3" + ], + "PageInfo": { + "$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon", + "Title": "文件下载", + "PermissionData": { + "$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionData, Forguncy.RbacPermission.Core", + "permissionResource": { + "$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionResource, Forguncy.RbacPermission.Core" + }, + "permissionBindings": [ + { + "$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionBinding, Forguncy.RbacPermission.Core", + "roleNames": [ + "FGC_LoginUser" + ] + } + ] + }, + "RowBreakLines": [], + "RepeatRangeSettings": [], + "PropertyDefinitions": [], + "CommandDefinitions": [], + "MethodDefinitions": [], + "PageLoadedCommandList": [] + }, + "PrintInfo": { + "PaperSize": {}, + "Margin": {} + } +}//KEpMfvQo/3k0PK1zoTKjkem1/CWsmhsW6+SwNUD26F+z1pzHkrILOy+8AUo0jkGjwP00Rw9iNeXYuafA4ZixKqg9QTOinQiCRqaCT4r0IhjXliivH68kkHJcxrYsByFIFOrzYVESHKDvm159raUt0b1/Zhujqznu9iq3dvvPIp7kZssDoDoHemjKLPCVS3mQUEPpVY12gSUW64VU4CEcATHPQHQfuxD4CBuHg6dtWBT+Y1/TTtn6hA07xlGTXbxQLj6NqnBm3wBy7ele/2d3kK8wzffbEq6EY3WRT+OZWhdXDdJk9LuVIbVoHZU9O0d5tnqePAOGE7Up8OAnUP7ds8K3FHc6oNI/w0KjRWRXo5lHDIxWG2c3ZJqPdySOjTSbNTIT9OTn/cuWsfIU82yGPR2QOUaZEERaIxy9qOr1xXvnhjxSNrHWTw+1DXdawkT9ItbINrwHMyd5yzTy8d7QBs5IHkls0Mi6iZr6ylZ+go+DmIQXgv0KG2hVd9ioaPX7T6eEJSqlBxo996FiLJsWPa3XXCaRd+67T4+PGRlMhNUcK2ViyLTUbX0OqQ4vQJHfdpkJphzT5yVjIhrPgyaQEmUgu0fSI3ftYa7ALvqmkeyve6KGdttjwJGxPOhnR6irDFvruWMOVs17RzFfi9kuCB29VVjjPc84RHCVDOxf1YDbkKUNA2qnPprfimgtHyuVhqr/AlSdCOc3o2GORkgDltH9vhzsNZTaZnk6SyxwR4SxSBEJKtC5z/lTI1h5+PahX654YhGa0fRXWayACSG7hSVwPHlAJfezj4wahNSgONgnRsazRNYYaY6GeZToWAz9gVISP2SXQ6jT6JWBNGsWf+ZBsNjXW7R76t0sEh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|1944 \ No newline at end of file diff --git a/Pages/download.rd b/Pages/download.rd new file mode 100644 index 0000000000000000000000000000000000000000..a25200f9594860677dfd1545a6bc5aedba8513ae --- /dev/null +++ b/Pages/download.rd @@ -0,0 +1,5 @@ +{ + "PageType": 0, + "ColumnCount": 20, + "RowCount": 7 +} \ No newline at end of file diff --git "a/Pages/\350\257\212\346\226\255\346\227\245\345\277\227/chat-logs.json" "b/Pages/\350\257\212\346\226\255\346\227\245\345\277\227/chat-logs.json" index 914a66559193cbe5a92b870a5ed5dc485df38a4b..e85929a8802ae320c31e348d218db4b9faf6d51b 100644 --- "a/Pages/\350\257\212\346\226\255\346\227\245\345\277\227/chat-logs.json" +++ "b/Pages/\350\257\212\346\226\255\346\227\245\345\277\227/chat-logs.json" @@ -213,6 +213,7 @@ "Values": { "1,1": "数字员工:", "1,12": "查询", + "1,33": "文件下载", "3,1": "时间", "3,7": "角色", "3,10": "内容", @@ -279,6 +280,21 @@ "TemplateKey": "_RS_Main1" } }, + "1,33": { + "CellType": { + "$type": "Forguncy.HyperlinkCellType, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon", + "PageName": "download", + "BreakpointIdentity": "cf641fb4-d5c6-4691-9390-43ea89d14af1" + } + ], + "Text": "文件下载", + "ClickMode": 1, + "TemplateKey": "_RS_Main" + } + }, "3,1": { "ListViewInfo": { "Name": "表格1", @@ -383,6 +399,12 @@ "FontSize": -999.0, "Formatter": 1 }, + { + "FontFamily": 0, + "FontSize": -999.0, + "HorizontalAlignment": 2, + "Underline": true + }, { "BorderBottom": null, "BorderTop": null, @@ -402,7 +424,8 @@ "Types": { "Strs": [ "Body", - "[AUTO]General" + "[AUTO]General", + "Right" ] }, "CellStyles": { @@ -418,52 +441,53 @@ "1,16": 0, "1,17": 0, "1,18": 0, - "3,1": 3, - "3,3": 3, - "3,4": 3, - "3,5": 3, - "3,6": 3, - "3,7": 4, - "3,8": 3, - "3,9": 3, - "3,10": 4, - "3,11": 3, - "3,12": 3, - "3,13": 3, - "3,14": 3, - "3,15": 3, - "3,16": 3, - "3,17": 3, - "3,18": 3, - "3,19": 3, - "3,20": 3, - "3,21": 3, - "3,22": 3, - "3,23": 3, - "3,24": 3, - "3,25": 3, - "3,26": 3, - "3,27": 3, - "3,28": 3, - "3,29": 3, - "3,30": 3, - "3,31": 3, + "1,33": 3, + "3,1": 4, + "3,3": 4, + "3,4": 4, + "3,5": 4, + "3,6": 4, + "3,7": 5, + "3,8": 4, + "3,9": 4, + "3,10": 5, + "3,11": 4, + "3,12": 4, + "3,13": 4, + "3,14": 4, + "3,15": 4, + "3,16": 4, + "3,17": 4, + "3,18": 4, + "3,19": 4, + "3,20": 4, + "3,21": 4, + "3,22": 4, + "3,23": 4, + "3,24": 4, + "3,25": 4, + "3,26": 4, + "3,27": 4, + "3,28": 4, + "3,29": 4, + "3,30": 4, + "3,31": 4, "3,32": 1, "4,7": 1, "4,10": 1, "4,32": 1, "4,33": 1, - "10,3": 5, - "10,4": 5, - "10,5": 5, - "10,6": 5, - "10,7": 5, - "10,8": 5, - "10,9": 5, - "10,10": 5, - "10,11": 5, - "10,12": 5, - "10,13": 5, + "10,3": 6, + "10,4": 6, + "10,5": 6, + "10,6": 6, + "10,7": 6, + "10,8": 6, + "10,9": 6, + "10,10": 6, + "10,11": 6, + "10,12": 6, + "10,13": 6, "16,1": 1 }, "SheetStyle": { @@ -483,7 +507,8 @@ "16,1,1,35", "5,1,11,35", "1,4,1,7", - "1,12,1,3" + "1,12,1,3", + "1,33,1,3" ], "PageInfo": { "$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon", @@ -515,4 +540,4 @@ "PaperSize": {}, "Margin": {} } -}//tI4vE1sg7jJ6mqBwbwMiWXNnothIZwpDhSRoYKbDijOtmUugbEeyZQhiSq1I5JmFSkzAhi3QgabrFGbqARnWPVmEx1oST+Hs69ljyqKDrtInFF4cPK1eotVTFusS14bqx7PG1DY9PyMiVno4aadpTuHhD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sjrZJFqWgN05cShm86/9oRSM1d1KihcopYLExkN8J5mRo2/tRGMgM035GXT+gTSQaQSvtaQq7vwIkceqi32zViGro3QqRC8QhO2HbJIYVqeVAww4F/KBzX0X28G/A8o7iUA54ohgmOHfNElP4RQITmkkiz/Xs35spLuSEtWWiNv5Xov/sOZwywzvnjM9u6j8HwU38+GcRcUfAgV8HF7tRBWxmJbjXRnfd+y4C8LXm4aWkPTKXlRldNkh7NRW41cwSA5803JDa9VZhkjrDbo9YEhcOowNLrbwHmzuObHwIsfbH49YOFu1Wjqjvyp6m89UDwKkvioCaIdtsWGfbMGcph3xCQHQu/1YWHeEaohd0vkVJEnifKnfHWLPD282vQujX4vQuAjocM1nAj6l3ea5w+uB3WuSz8klKyOBOUzCWOImeCHqEswvo0KQok54+XHe+XeeiyInY2TjqQxnlCnsQlCAJzfSc+hwhVhHoc+m8fTWMDXTu4yztpUnn/BgjU4sz+gAOyY6h9ow==|1944 \ No newline at end of file diff --git "a/Plugin/\345\212\240\350\275\275\345\212\250\347\224\273-12_0_2_0.zip" "b/Plugin/\345\212\240\350\275\275\345\212\250\347\224\273-12_0_2_0.zip" new file mode 100644 index 0000000000000000000000000000000000000000..043ccc07181563f68eec5d518a67cad7d82f8015 Binary files /dev/null and "b/Plugin/\345\212\240\350\275\275\345\212\250\347\224\273-12_0_2_0.zip" differ diff --git "a/ServerCommands/OpenClaw\344\272\244\344\272\222/callOpenClaw.json" "b/ServerCommands/OpenClaw\344\272\244\344\272\222/callOpenClaw.json" index 515be6d511d7aff6807493a3d407a28341c583f1..f5e4bf198ebb29f6e6fe3eeeed90e50e750db658 100644 --- "a/ServerCommands/OpenClaw\344\272\244\344\272\222/callOpenClaw.json" +++ "b/ServerCommands/OpenClaw\344\272\244\344\272\222/callOpenClaw.json" @@ -257,7 +257,7 @@ "ResultPropertyName": "userPrompt", "ResultTo": { "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", - "SerializeProperty": "text" + "SerializeProperty": "处理后的提示词" } } ] @@ -270,7 +270,7 @@ "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "currentUser", "ParameterValue": "%CurrentUser%", - "ID": "534c491ef7924bc2b00bc151b4650695", + "ID": "00c226020b8b4de4b185c5bed83d91a1", "BreakpointIdentity": "1462e718-07d0-4714-9b29-748df0b0e92c" }, { @@ -291,7 +291,7 @@ "Name": "text", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=text" + "SerializeProperty": "=处理后的提示词" } }, { @@ -346,7 +346,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Logs", "ColumnName": "entry", - "GUID": "68467820-08b3-4c02-bade-7977b534300b" + "GUID": "33920a7d-7103-4fbd-bee4-1f1dfcc86a31" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -370,7 +370,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "OpenClawMessages", "ColumnName": "text", - "GUID": "a0f4606c-a618-4d33-aa1a-d7d484f7fedb" + "GUID": "fcfb48f1-edf4-4556-9391-5e45bbdd9811" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -383,7 +383,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "OpenClawMessages", "ColumnName": "agent_id", - "GUID": "7edfccb1-abdc-45ca-96a2-711865bcf408" + "GUID": "8a78bdb5-ef58-40bc-b301-3a801b6e1415" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -396,7 +396,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "OpenClawMessages", "ColumnName": "user", - "GUID": "38f45fd4-1ce5-4e95-a029-d0aabe33e941" + "GUID": "e3ecff14-4415-47ad-a2b7-dfaf6471eb5f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -409,7 +409,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "OpenClawMessages", "ColumnName": "role", - "GUID": "a4617537-2742-47c6-94b9-510b3f168752" + "GUID": "e04a3d2c-2c91-417e-849b-86b11218d49e" }, "Value": "user" } diff --git "a/ServerCommands/OpenClaw\344\272\244\344\272\222/getDownloadLink.json" "b/ServerCommands/OpenClaw\344\272\244\344\272\222/getDownloadLink.json" new file mode 100644 index 0000000000000000000000000000000000000000..fdc0afc17c0475d9f816bb5a71920822fded03c9 --- /dev/null +++ "b/ServerCommands/OpenClaw\344\272\244\344\272\222/getDownloadLink.json" @@ -0,0 +1,294 @@ +{ + "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", + "Name": "getDownloadLink", + "Enabled": true, + "Triggers": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", + "Permission": { + "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", + "PermissionData": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", + "permissionResource": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" + }, + "permissionBindings": { + "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", + "roleNames": { + "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", + "$values": [ + "FGC_LoginUser" + ] + } + } + ] + } + } + }, + "Parameters": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", + "Name": "uri", + "DataValidationInfo": { + "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" + } + } + ] + } + } + ] + }, + "Commands": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=uri" + } + }, + "value": "file_output://", + "compareType": 10 + }, + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "Logs", + "UpdateType": "add", + "UpdateBindingValues": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "Logs", + "ColumnName": "entry", + "GUID": "075912b1-8dd3-46a5-8235-5f5b7dba5275" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"开始解析文件:\"&uri" + } + } + ] + }, + "BreakpointIdentity": "8c2c76f7-17e0-483a-9784-2ee829933158" + }, + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "objectKey", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=SUBSTITUTE(uri,\"file_output://agents-out/\",\"\")" + }, + "ID": "3286d90ddc8e4a0e875412c90f4d2685", + "BreakpointIdentity": "98922618-411f-4654-b087-3e63325cc837" + }, + { + "$type": "FileProcessEx.Folders, FileProcessEx", + "FolderType": 1, + "ResultTo": "tempRoot", + "BreakpointIdentity": "3ffa542b-93ec-46c1-aebd-0978cfbdc122" + }, + { + "$type": "FileProcessEx.Combine, FileProcessEx", + "Path1Expr": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=tempRoot" + }, + "Path2Expr": "agents-out", + "ResultTo": "localFilePath", + "BreakpointIdentity": "86fb8b01-108a-45eb-9fbf-a8d0ef24b019" + }, + { + "$type": "S3OSSConnector.DownloadFile, S3OSSConnector", + "BucketNameExpr": "agents-out", + "ObjectKeyExpr": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=objectKey" + }, + "LocalFilePathExpr": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=localFilePath" + }, + "EndpointExpr": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=S3_ENDPOINT" + }, + "RegionExpr": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=S3_REGION" + }, + "AKExpr": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=S3_AK" + }, + "SKExpr": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=S3_SK" + }, + "BreakpointIdentity": "68a0e014-bd55-4590-a507-60c92c33e41c" + }, + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "Logs", + "UpdateType": "add", + "UpdateBindingValues": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "Logs", + "ColumnName": "entry", + "GUID": "9c69053d-f749-4fc6-a059-09db872d7626" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"文件下载到:\"&localFilePath" + } + } + ] + }, + "BreakpointIdentity": "77461b6f-69e7-49a5-bff0-8adfbc25276d" + }, + { + "$type": "Arsenal.CreateDownloadLinkToFileCommand, Arsenal", + "FilePath": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=localFilePath" + }, + "DownloadFileName": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=objectKey" + }, + "ExpirationDate": 10, + "FileLinkResult": "url", + "BreakpointIdentity": "21830309-e3db-4f44-bf03-feb745c74b26" + }, + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "Logs", + "UpdateType": "add", + "UpdateBindingValues": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "Logs", + "ColumnName": "entry", + "GUID": "7df53e9f-a21c-4b8d-b08b-882e7eafbef8" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"链接地址:\"&url" + } + } + ] + }, + "BreakpointIdentity": "f7dbf71e-8289-4571-a903-2c970a2e6074" + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "CustomReturns": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", + "ReturnPropertyName": "url", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=url" + } + } + ] + }, + "BreakpointIdentity": "13430a68-85fb-4c33-b558-a3418b09ddcd" + } + ] + }, + "ID": "39d2e65c-27c4-442a-a659-a7455a2f127f" + }, + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "Logs", + "UpdateType": "add", + "UpdateBindingValues": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "Logs", + "ColumnName": "entry", + "GUID": "4ed5083b-c5de-4454-8cb8-4841dc742ec5" + }, + "Value": "Uri地址不合法" + } + ] + }, + "BreakpointIdentity": "1bbc750d-c0e2-454b-96ad-8e8201f1d7fc" + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "404", + "CustomReturns": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", + "ReturnPropertyName": "url" + } + ] + }, + "BreakpointIdentity": "04658e62-c4f7-4f1f-b97d-526cd71e696b" + } + ] + }, + "ID": "e19d1ef1-04bf-4db2-8846-b98079c4043b" + } + ] + }, + "BreakpointIdentity": "07bc1264-74f5-4490-bdd6-4162e3cf524e" + } + ] + }, + "ReturnProperties": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon", + "Name": "url" + } + ] + } +} \ No newline at end of file diff --git "a/ServerCommands/OpenClaw\344\272\244\344\272\222/onRecieveMessageFromOpenClaw.json" "b/ServerCommands/OpenClaw\344\272\244\344\272\222/onRecieveMessageFromOpenClaw.json" index 1e07c475ad8abad979515bb8371bf36acdb40c13..2f49ac38c109cbc2277dc84e5e689b5e04089871 100644 --- "a/ServerCommands/OpenClaw\344\272\244\344\272\222/onRecieveMessageFromOpenClaw.json" +++ "b/ServerCommands/OpenClaw\344\272\244\344\272\222/onRecieveMessageFromOpenClaw.json" @@ -116,7 +116,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "OpenClawMessages", "ColumnName": "text", - "GUID": "47da73b9-ac99-4d70-825c-7d43104cf4af" + "GUID": "2f0138a1-feb9-44b3-9332-429599bdd1da" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -129,7 +129,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "OpenClawMessages", "ColumnName": "agent_id", - "GUID": "3bfd63a5-7082-428d-9374-45933136a2a2" + "GUID": "06954072-f45e-4492-a1d3-9769d8f4d9e2" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -142,7 +142,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "OpenClawMessages", "ColumnName": "user", - "GUID": "6448ac6f-ec8a-45df-9a2d-75ad16a4e377" + "GUID": "7a39aec8-ae21-4c55-97b7-4954a0823d3f" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", @@ -155,14 +155,54 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "OpenClawMessages", "ColumnName": "role", - "GUID": "249491b8-697d-40b5-8963-9272409d08f4" + "GUID": "21fc006c-ee7d-4e99-b79c-46af97dd3be8" }, - "Value": "openclaw" + "Value": "assistant" } ] }, "BreakpointIdentity": "a97cc035-d317-4d7a-b8b4-0ed406fd9801" }, + { + "$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon", + "NotificationName": "OpenClawMessageRecieved", + "SendType": 1, + "UserNames": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=session.user" + }, + "Params": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.NotificationMessageParam, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.NotificationMessageParam, ServerDesignerCommon", + "Name": "session", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=sessionId" + } + }, + { + "$type": "Forguncy.Model.NotificationMessageParam, ServerDesignerCommon", + "Name": "text", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=text" + } + }, + { + "$type": "Forguncy.Model.NotificationMessageParam, ServerDesignerCommon", + "Name": "kind", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=kind" + } + } + ] + }, + "ID": "c8196eeae7d442b2bd56b109da8429df", + "BreakpointIdentity": "2a875a86-0f41-43bb-b2c1-e0d80e5a589a" + }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "uri", @@ -170,9 +210,50 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=IF(ISERROR(FIND(\"file_output://\",text)),\"\",TRIM(IF(ISERROR(FIND(\" \",SUBSTITUTE(MID(text,FIND(\"file_output://\",text),LEN(text)),\"`\",\"\"))),SUBSTITUTE(MID(text,FIND(\"file_output://\",text),LEN(text)),\"`\",\"\"),LEFT(SUBSTITUTE(MID(text,FIND(\"file_output://\",text),LEN(text)),\"`\",\"\"),FIND(\" \",SUBSTITUTE(MID(text,FIND(\"file_output://\",text),LEN(text)),\"`\",\"\"))-1))))" }, - "ID": "58cabca1dd7d4dcb998442ec3027a964", + "ID": "475019a0cf954aa0935cc9351e42774d", "BreakpointIdentity": "e0403f48-d428-4273-b356-4e41bad3aa27" }, + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "getDownloadLink", + "Parameters": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.RequestServerCommandParamBase, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "uri", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=uri" + } + } + ] + }, + "ResultErrorCodeTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "message" + }, + "ReturnPropertiesTo": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "url", + "ResultTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "url" + } + } + ] + }, + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "1153839a-da18-44b2-ad28-4b3a4e27bde5" + }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": { @@ -186,156 +267,14 @@ "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", "ParamObject": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=uri" + "SerializeProperty": "=code" } }, - "value": "file_output://", - "compareType": 10 + "value": "0" }, "CommandList": { "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", "$values": [ - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "Logs", - "UpdateType": "add", - "UpdateBindingValues": { - "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", - "$values": [ - { - "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", - "BindingInfo": { - "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", - "TableName": "Logs", - "ColumnName": "entry", - "GUID": "45498dea-cf62-45aa-b14e-18faf4537681" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=\"收到文件:\"&uri" - } - } - ] - }, - "BreakpointIdentity": "bcdf4687-8aec-4dee-9b06-2a56612c606a" - }, - { - "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", - "ParameterName": "objectKey", - "ParameterValue": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=SUBSTITUTE(uri,\"file_output://agents-out/\",\"\")" - }, - "ID": "e9261cee501a41d3b3dd1333b03c9fbe", - "BreakpointIdentity": "06759bb6-0612-4a84-8026-7a9beabf4704" - }, - { - "$type": "FileProcessEx.Folders, FileProcessEx", - "FolderType": 1, - "ResultTo": "tempRoot", - "BreakpointIdentity": "63891a65-ec61-4e98-917e-f82035e91678" - }, - { - "$type": "FileProcessEx.Combine, FileProcessEx", - "Path1Expr": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=tempRoot" - }, - "Path2Expr": "agents-out", - "ResultTo": "localFilePath", - "BreakpointIdentity": "ba798528-ea84-44ab-9650-ca5c4e7859d2" - }, - { - "$type": "S3OSSConnector.DownloadFile, S3OSSConnector", - "BucketNameExpr": "agents-out", - "ObjectKeyExpr": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=objectKey" - }, - "LocalFilePathExpr": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=localFilePath" - }, - "EndpointExpr": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=S3_ENDPOINT" - }, - "RegionExpr": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=S3_REGION" - }, - "AKExpr": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=S3_AK" - }, - "SKExpr": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=S3_SK" - }, - "BreakpointIdentity": "c8abfbd3-e416-47c4-aeae-571ee434190b" - }, - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "Logs", - "UpdateType": "add", - "UpdateBindingValues": { - "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", - "$values": [ - { - "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", - "BindingInfo": { - "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", - "TableName": "Logs", - "ColumnName": "entry", - "GUID": "26203eff-62b6-4513-9b82-68fe7cb0b7b8" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=\"文件下载到:\"&localFilePath" - } - } - ] - }, - "BreakpointIdentity": "489ee3bc-1d3c-4975-b40b-cf793cccce4c" - }, - { - "$type": "Arsenal.CreateDownloadLinkToFileCommand, Arsenal", - "FilePath": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=localFilePath" - }, - "DownloadFileName": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=objectKey" - }, - "ExpirationDate": 10, - "FileLinkResult": "url", - "BreakpointIdentity": "97b9cf70-9267-495c-8363-ba71a62a6e04" - }, - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "Logs", - "UpdateType": "add", - "UpdateBindingValues": { - "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", - "$values": [ - { - "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", - "BindingInfo": { - "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", - "TableName": "Logs", - "ColumnName": "entry", - "GUID": "4b7f9362-eaf6-4540-982d-df21415726b3" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=\"链接地址:\"&url" - } - } - ] - }, - "BreakpointIdentity": "26b527bd-d657-4c71-98ec-610f9e5d037a" - }, { "$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon", "NotificationName": "OpenClawFileRecieved", @@ -381,65 +320,16 @@ } ] }, - "ID": "eec8f23e2dcf47b49fb3706930dfd9b4", - "BreakpointIdentity": "4ebb62a0-e5c3-4183-bf12-228bb0776d2c" - } - ] - }, - "ID": "5f8ddc1e-bed2-49ca-b2ab-841c872c96f6" - }, - { - "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", - "CommandList": { - "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", - "$values": [ - { - "$type": "Forguncy.Model.NotificationMessageCommand, ServerDesignerCommon", - "NotificationName": "OpenClawMessageRecieved", - "SendType": 1, - "UserNames": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=session.user" - }, - "Params": { - "$type": "System.Collections.Generic.List`1[[Forguncy.Model.NotificationMessageParam, ServerDesignerCommon]], System.Private.CoreLib", - "$values": [ - { - "$type": "Forguncy.Model.NotificationMessageParam, ServerDesignerCommon", - "Name": "session", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=sessionId" - } - }, - { - "$type": "Forguncy.Model.NotificationMessageParam, ServerDesignerCommon", - "Name": "text", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=text" - } - }, - { - "$type": "Forguncy.Model.NotificationMessageParam, ServerDesignerCommon", - "Name": "kind", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=kind" - } - } - ] - }, - "ID": "935209af7e714d598a610f5e127a434a", - "BreakpointIdentity": "85419429-1e50-498c-853e-4c317ae8e6a7" + "ID": "ddfd878c53ae4fb7b5092fd73ed6cf55", + "BreakpointIdentity": "49cddbc7-d2ae-4b82-be81-1b86219198b5" } ] }, - "ID": "91a13253-1bf3-4dde-a31e-ecc5ed4603df" + "ID": "d02c83f2-83b2-4876-9f26-24954780ad5a" } ] }, - "BreakpointIdentity": "6d242bbf-097f-40f6-9d96-f9602d2f4a69" + "BreakpointIdentity": "7d406cd2-8dfc-45be-9ed0-45da227d7fe0" } ] } @@ -462,7 +352,7 @@ "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", "TableName": "Logs", "ColumnName": "entry", - "GUID": "4b20f651-4840-40f8-8851-cc1d40f76091" + "GUID": "a200ed79-cf72-4e48-b2dd-75806bcb2a51" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", diff --git "a/ServerCommands/OpenClaw\344\272\244\344\272\222/upgradeOpenClawMessages.json" "b/ServerCommands/OpenClaw\344\272\244\344\272\222/upgradeOpenClawMessages.json" new file mode 100644 index 0000000000000000000000000000000000000000..54c56ebad34cd820a63ddd28262bbfb0ff1c7a68 --- /dev/null +++ "b/ServerCommands/OpenClaw\344\272\244\344\272\222/upgradeOpenClawMessages.json" @@ -0,0 +1,80 @@ +{ + "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", + "Name": "upgradeOpenClawMessages", + "Enabled": true, + "Triggers": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", + "Permission": { + "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", + "PermissionData": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", + "permissionResource": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" + }, + "permissionBindings": { + "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", + "roleNames": { + "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", + "$values": [ + "FGC_LoginUser" + ] + } + } + ] + } + } + }, + "InvokeTriggerTestData": { + "$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon", + "UserName": "Administrator" + } + } + ] + }, + "Commands": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "OpenClawMessages", + "RowsToUpdate": 1, + "RowsToUpdateCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "OpenClawMessages", + "ColumnName": "role", + "GUID": "3178a231-3ce1-48f8-b414-5b5de247cb17" + }, + "Value": "openclaw" + }, + "UpdateBindingValues": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "OpenClawMessages", + "ColumnName": "role", + "GUID": "a22d0ba2-c2e2-4259-8256-f5def2d56da9" + }, + "Value": "assistant" + } + ] + }, + "BreakpointIdentity": "73065509-cdac-436c-83ed-18e299f83a70" + } + ] + }, + "ReturnProperties": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [] + } +} \ No newline at end of file diff --git "a/ServerCommands/\344\274\232\350\257\235\347\256\241\347\220\206/getLatestMessages.json" "b/ServerCommands/\344\274\232\350\257\235\347\256\241\347\220\206/getLatestMessages.json" new file mode 100644 index 0000000000000000000000000000000000000000..232b5109bad79397482d133ac6ddb7969aeaf928 --- /dev/null +++ "b/ServerCommands/\344\274\232\350\257\235\347\256\241\347\220\206/getLatestMessages.json" @@ -0,0 +1,195 @@ +{ + "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", + "Name": "getLatestMessages", + "Enabled": true, + "Triggers": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", + "Permission": { + "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", + "PermissionData": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", + "permissionResource": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" + }, + "permissionBindings": { + "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", + "roleNames": { + "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", + "$values": [ + "FGC_LoginUser" + ] + } + } + ] + } + } + }, + "Parameters": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", + "Name": "agentId", + "DataValidationInfo": { + "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" + } + } + ] + } + } + ] + }, + "Commands": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "消息列表", + "TableValue": { + "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", + "TableName": "OpenClawMessages", + "BindingInfos": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "6bb1b5d7-4426-4ec0-a244-d7f4597fe55c", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "OpenClawMessages", + "ColumnName": "text", + "GUID": "5e643f90-7a95-4b3c-9619-bfb605d1f096" + }, + "ColumnName": "message" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "d33e23fa-cf85-4601-9812-891181892af8", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "OpenClawMessages", + "ColumnName": "FGC_CreateDate", + "GUID": "aac6feec-4947-464f-9dcd-967e113d9f5c" + }, + "ColumnName": "sendTime" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "da82e98d-d8cd-42c8-96ea-d24ac1f13470", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "OpenClawMessages", + "ColumnName": "role", + "GUID": "b7a80645-3cb7-4119-ac23-ae030582eb41" + }, + "ColumnName": "role" + } + ] + }, + "SqlCondition": { + "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", + "SubConditions": { + "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", + "$values": [ + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "OpenClawMessages", + "ColumnName": "agent_id", + "GUID": "ab0cc122-0bd4-4f68-b257-80548fa263db" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=agentId" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "OpenClawMessages", + "ColumnName": "user", + "GUID": "7a82ff28-9a17-43b7-86a5-a3a7264c3089" + }, + "Value": "%CurrentUser%" + } + ] + } + }, + "TopCount": "5", + "OrderBySqlCondition": { + "$type": "ForguncyDataAccess.OrderBySqlCondition, ForguncyDataAccess", + "OrderByColumns": { + "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.OrderBySqlConditionItem, ForguncyDataAccess]], System.Private.CoreLib", + "$values": [ + { + "$type": "ForguncyDataAccess.OrderBySqlConditionItem, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "OpenClawMessages", + "ColumnName": "FGC_CreateDate", + "GUID": "bd79fcd2-cfe4-46dc-a1ee-c485ebe0cdd3" + }, + "Order": 1 + } + ] + } + } + }, + "ID": "5f2cdcba3ab74611ad61b467848533bd", + "BreakpointIdentity": "9e3e2efc-86ef-46a5-a44d-ae354bfecf2c" + }, + { + "$type": "CollectionOperationKit.ServerSideArraySort, CollectionOperationKit", + "InParamater": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=消息列表" + }, + "SortRulePairs": { + "$type": "System.Collections.Generic.List`1[[CollectionOperationKit.SortRuleObject, CollectionOperationKit]], System.Private.CoreLib", + "$values": [ + { + "$type": "CollectionOperationKit.SortRuleObject, CollectionOperationKit", + "Name": "sendTime" + } + ] + }, + "OutParamaterName": "消息列表", + "BreakpointIdentity": "3ed9d193-eef3-471c-bcbf-708b3930377f" + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "CustomReturns": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon", + "ReturnPropertyName": "messages", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=消息列表" + } + } + ] + }, + "BreakpointIdentity": "4f6f85b3-5bf8-47bc-95e9-fb821491d052" + } + ] + }, + "ReturnProperties": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon", + "Name": "messages" + } + ] + } +} \ No newline at end of file diff --git a/Upload/agents-out b/Upload/agents-out new file mode 100644 index 0000000000000000000000000000000000000000..3fc97a04dfcfb03a4cd5166f1cd7304b46e337ff --- /dev/null +++ b/Upload/agents-out @@ -0,0 +1,3 @@ +这是一个示例文件。 +生成时间:2026-05-09 11:33 UTC +用途:测试文件发送流程。 diff --git a/Upload/arsenal/data/1775118403249.sqlite3 b/Upload/arsenal/data/1775118403249.sqlite3 index 20f4b0070fc8d4f7e3dd61454347aee61adc971d..586f4e14f50d312b0c3d04c76bd19234124563a2 100644 Binary files a/Upload/arsenal/data/1775118403249.sqlite3 and b/Upload/arsenal/data/1775118403249.sqlite3 differ diff --git a/UserFile/StyleSheet.css b/UserFile/StyleSheet.css new file mode 100644 index 0000000000000000000000000000000000000000..16b5885ee3a3ba8522ead75559ebc8689dcac445 --- /dev/null +++ b/UserFile/StyleSheet.css @@ -0,0 +1,4 @@ +div[class*="wechat-like-chatbox"] .FGC_ai-chat-info-line-user .ant-bubble-content { + background-color: #1890FF !important; + color: white !important; +} \ No newline at end of file diff --git a/image/artificial-intelligence.png b/image/artificial-intelligence.png new file mode 100644 index 0000000000000000000000000000000000000000..af89b8445fe32a85b12882a159ca71a3d17c8aa5 Binary files /dev/null and b/image/artificial-intelligence.png differ