feat(memory): P1 长期记忆升级 —— 异步攒批 Consolidate + 软删 + importance/last_seen #1

Merged
Blizzard merged 181 commits from feat/wails3 into main 2026-07-17 01:12:32 +00:00
9 changed files with 82 additions and 80 deletions
Showing only changes of commit d52af12f3d - Show all commits
Binary file not shown.
+32 -31
View File
@@ -1,34 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundlePackageType</key> <key>CFBundleExecutable</key>
<string>APPL</string> <string>sundynix_desktop</string>
<key>CFBundleName</key> <key>CFBundleGetInfoString</key>
<string>My Product</string> <string>sundynix-agentix desktop</string>
<key>CFBundleExecutable</key> <key>CFBundleIconFile</key>
<string>wails3ref</string> <string>icons</string>
<key>CFBundleIdentifier</key> <key>CFBundleIconName</key>
<string>com.example.wails3ref</string> <string>appicon</string>
<key>CFBundleVersion</key> <key>CFBundleIdentifier</key>
<string>0.1.0</string> <string>com.sundynix.agentix</string>
<key>CFBundleGetInfoString</key> <key>CFBundleName</key>
<string>This is a comment</string> <string>sundynix-agentix</string>
<key>CFBundleShortVersionString</key> <key>CFBundlePackageType</key>
<string>0.1.0</string> <string>APPL</string>
<key>CFBundleIconFile</key> <key>CFBundleShortVersionString</key>
<string>icons</string> <string>0.1.0</string>
<key>CFBundleIconName</key> <key>CFBundleVersion</key>
<string>appicon</string> <string>0.1.0</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>12.0.0</string> <string>12.0.0</string>
<key>NSHighResolutionCapable</key> <key>NSAppTransportSecurity</key>
<string>true</string> <dict>
<key>NSHumanReadableCopyright</key> <key>NSAllowsLocalNetworking</key>
<string>© 2026, My Company</string> <true/>
<key>NSAppTransportSecurity</key> </dict>
<dict> <key>NSHighResolutionCapable</key>
<key>NSAllowsLocalNetworking</key> <string>true</string>
<true/> <key>NSHumanReadableCopyright</key>
</dict> <string>(c) 2026, sundynix</string>
</dict> </dict>
</plist> </plist>
+27 -26
View File
@@ -1,29 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0"> <plist version="1.0">
<dict> <dict>
<key>CFBundlePackageType</key> <key>CFBundleExecutable</key>
<string>APPL</string> <string>sundynix_desktop</string>
<key>CFBundleName</key> <key>CFBundleGetInfoString</key>
<string>My Product</string> <string>sundynix-agentix desktop</string>
<key>CFBundleExecutable</key> <key>CFBundleIconFile</key>
<string>wails3ref</string> <string>icons</string>
<key>CFBundleIdentifier</key> <key>CFBundleIconName</key>
<string>com.example.wails3ref</string> <string>appicon</string>
<key>CFBundleVersion</key> <key>CFBundleIdentifier</key>
<string>0.1.0</string> <string>com.sundynix.agentix</string>
<key>CFBundleGetInfoString</key> <key>CFBundleName</key>
<string>This is a comment</string> <string>sundynix-agentix</string>
<key>CFBundleShortVersionString</key> <key>CFBundlePackageType</key>
<string>0.1.0</string> <string>APPL</string>
<key>CFBundleIconFile</key> <key>CFBundleShortVersionString</key>
<string>icons</string> <string>0.1.0</string>
<key>CFBundleIconName</key> <key>CFBundleVersion</key>
<string>appicon</string> <string>0.1.0</string>
<key>LSMinimumSystemVersion</key> <key>LSMinimumSystemVersion</key>
<string>12.0.0</string> <string>12.0.0</string>
<key>NSHighResolutionCapable</key> <key>NSHighResolutionCapable</key>
<string>true</string> <string>true</string>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>© 2026, My Company</string> <string>(c) 2026, sundynix</string>
</dict> </dict>
</plist> </plist>
Binary file not shown.
+5 -5
View File
@@ -1,13 +1,13 @@
[Desktop Entry] [Desktop Entry]
Version=1.0 Version=1.0
Name=My Product Name=sundynix-agentix
Comment=A wails3ref application Comment=事件驱动的 AI Agent 工作台
# The Exec line includes %u to pass the URL to the application # The Exec line includes %u to pass the URL to the application
Exec=/usr/local/bin/wails3ref %u Exec=/usr/local/bin/sundynix_desktop %u
Terminal=false Terminal=false
Type=Application Type=Application
Icon=wails3ref Icon=sundynix_desktop
Categories=Utility; Categories=Utility;
StartupWMClass=wails3ref StartupWMClass=sundynix_desktop
+8 -8
View File
@@ -3,26 +3,26 @@
# #
# The lines below are called `modelines`. See `:help modeline` # The lines below are called `modelines`. See `:help modeline`
name: "wails3ref" name: "sundynix_desktop"
arch: ${GOARCH} arch: ${GOARCH}
platform: "linux" platform: "linux"
version: "0.1.0" version: "0.1.0"
section: "default" section: "default"
priority: "extra" priority: "extra"
maintainer: ${GIT_COMMITTER_NAME} <${GIT_COMMITTER_EMAIL}> maintainer: ${GIT_COMMITTER_NAME} <${GIT_COMMITTER_EMAIL}>
description: "A wails3ref application" description: "事件驱动的 AI Agent 工作台"
vendor: "My Company" vendor: "sundynix"
homepage: "https://wails.io" homepage: "https://wails.io"
license: "MIT" license: "MIT"
release: "1" release: "1"
contents: contents:
- src: "./bin/wails3ref" - src: "./bin/sundynix_desktop"
dst: "/usr/local/bin/wails3ref" dst: "/usr/local/bin/sundynix_desktop"
- src: "./build/appicon.png" - src: "./build/appicon.png"
dst: "/usr/share/icons/hicolor/128x128/apps/wails3ref.png" dst: "/usr/share/icons/hicolor/128x128/apps/sundynix_desktop.png"
- src: "./build/linux/wails3ref.desktop" - src: "./build/linux/sundynix_desktop.desktop"
dst: "/usr/share/applications/wails3ref.desktop" dst: "/usr/share/applications/sundynix_desktop.desktop"
# Default dependencies for the GTK4 + WebKitGTK 6.0 stack (Ubuntu 24.04+ / Debian 13+) # Default dependencies for the GTK4 + WebKitGTK 6.0 stack (Ubuntu 24.04+ / Debian 13+)
depends: depends:
+5 -5
View File
@@ -5,11 +5,11 @@
"info": { "info": {
"0000": { "0000": {
"ProductVersion": "0.1.0", "ProductVersion": "0.1.0",
"CompanyName": "My Company", "CompanyName": "sundynix",
"FileDescription": "A wails3ref application", "FileDescription": "事件驱动的 AI Agent 工作台",
"LegalCopyright": "© 2026, My Company", "LegalCopyright": "(c) 2026, sundynix",
"ProductName": "My Product", "ProductName": "sundynix-agentix",
"Comments": "This is a comment" "Comments": "sundynix-agentix desktop"
} }
} }
} }
@@ -5,19 +5,19 @@
!include "FileFunc.nsh" !include "FileFunc.nsh"
!ifndef INFO_PROJECTNAME !ifndef INFO_PROJECTNAME
!define INFO_PROJECTNAME "wails3ref" !define INFO_PROJECTNAME "sundynix_desktop"
!endif !endif
!ifndef INFO_COMPANYNAME !ifndef INFO_COMPANYNAME
!define INFO_COMPANYNAME "My Company" !define INFO_COMPANYNAME "sundynix"
!endif !endif
!ifndef INFO_PRODUCTNAME !ifndef INFO_PRODUCTNAME
!define INFO_PRODUCTNAME "My Product" !define INFO_PRODUCTNAME "sundynix-agentix"
!endif !endif
!ifndef INFO_PRODUCTVERSION !ifndef INFO_PRODUCTVERSION
!define INFO_PRODUCTVERSION "0.1.0" !define INFO_PRODUCTVERSION "0.1.0"
!endif !endif
!ifndef INFO_COPYRIGHT !ifndef INFO_COPYRIGHT
!define INFO_COPYRIGHT "© 2026, My Company" !define INFO_COPYRIGHT "(c) 2026, sundynix"
!endif !endif
!ifndef PRODUCT_EXECUTABLE !ifndef PRODUCT_EXECUTABLE
!define PRODUCT_EXECUTABLE "${INFO_PROJECTNAME}.exe" !define PRODUCT_EXECUTABLE "${INFO_PROJECTNAME}.exe"
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity type="win32" name="com.example.wails3ref" version="0.1.0" processorArchitecture="*"/> <assemblyIdentity type="win32" name="com.sundynix.agentix" version="0.1.0" processorArchitecture="*"/>
<dependency> <dependency>
<dependentAssembly> <dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/> <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>