feat:更新智能体工具

This commit is contained in:
2026-07-13 22:06:05 +08:00
parent 900d5bd774
commit 5213897bbd
14 changed files with 672 additions and 157 deletions

78
.idea/workspace.xml generated
View File

@@ -5,11 +5,20 @@
</component>
<component name="ChangeListManager">
<list default="true" id="fca82301-8db7-46f2-bd02-1f76c1dc566b" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/prompt/mobile.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/sweet-hut-agent.iml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sweet-hut-agent.iml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/cache.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/config/domain.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/domain/base.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/domain/bill.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/prompt/base.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/tools/base.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/modes/agent.py" beforeDir="false" afterPath="$PROJECT_DIR$/modes/agent.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent/bill.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent/bill.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/agent/model.py" beforeDir="false" afterPath="$PROJECT_DIR$/agent/model.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/prompt/bill.py" beforeDir="false" afterPath="$PROJECT_DIR$/prompt/bill.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/requirements.txt" beforeDir="false" afterPath="$PROJECT_DIR$/requirements.txt" afterDir="false" />
<change beforePath="$PROJECT_DIR$/services.py" beforeDir="false" afterPath="$PROJECT_DIR$/services.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/tools/bill.py" beforeDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -36,35 +45,42 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"Docker.Dockerfile.executor": "Run",
"FastAPI.sweet-hut-agent.executor": "Run",
"RunOnceActivity.ShowReadmeOnStart": "true",
"RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252": "true",
"RunOnceActivity.git.unshallow": "true",
"RunOnceActivity.typescript.service.memoryLimit.init": "true",
"git-widget-placeholder": "master",
"last_opened_file_path": "D:/Projects/GithubProjects/sweet-hut-agent",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"nodejs_package_manager_path": "npm",
"settings.editor.selected.configurable": "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable",
"vue.rearranger.settings.migration": "true"
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;Docker.Dockerfile.executor&quot;: &quot;Run&quot;,
&quot;FastAPI.sweet-hut-agent.executor&quot;: &quot;Run&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.TerminalTabsStorage.copyFrom.TerminalArrangementManager.252&quot;: &quot;true&quot;,
&quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
&quot;RunOnceActivity.typescript.service.memoryLimit.init&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;master&quot;,
&quot;last_opened_file_path&quot;: &quot;D:/Projects/GithubProjects/sweet-hut-agent&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
&quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
&quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
&quot;settings.editor.selected.configurable&quot;: &quot;preferences.lookFeel&quot;,
&quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
},
&quot;keyToStringList&quot;: {
&quot;DatabaseDriversLRU&quot;: [
&quot;mysql&quot;,
&quot;postgresql&quot;
]
}
}]]></component>
}</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="D:\Cxx\PythonProjects\sweet-hut-agent\prompt" />
<recent name="D:\Cxx\PythonProjects\sweet-hut-agent" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="D:\Projects\GithubProjects\sweet-hut-agent\domain" />
<recent name="D:\Projects\GithubProjects\sweet-hut-agent\prompt" />
</key>
</component>
<component name="RunManager" selected="FastAPI.sweet-hut-agent">
<component name="RunManager" selected="Docker.Dockerfile">
<configuration name="sweet-hut-agent" type="Python.FastAPI">
<option name="file" value="D:\Projects\GithubProjects\sweet-hut-agent\main.py" />
<module name="sweet-hut-agent" />
@@ -92,14 +108,11 @@
<method v="2" />
</configuration>
<configuration default="true" type="docker-deploy" factoryName="dockerfile" temporary="true">
<deployment type="dockerfile" />
<deployment type="dockerfile">
<settings />
</deployment>
<method v="2" />
</configuration>
<recent_temporary>
<list>
<item itemvalue="Docker.Dockerfile" />
</list>
</recent_temporary>
</component>
<component name="SharedIndexes">
<attachedChunks>
@@ -123,7 +136,12 @@
<workItem from="1783001713796" duration="2000" />
<workItem from="1783001739320" duration="123000" />
<workItem from="1783001898877" duration="308000" />
<workItem from="1783154148904" duration="5949000" />
<workItem from="1783154148904" duration="6214000" />
<workItem from="1783348720903" duration="989000" />
<workItem from="1783431529383" duration="837000" />
<workItem from="1783603121259" duration="31000" />
<workItem from="1783857924445" duration="1566000" />
<workItem from="1783910237353" duration="18018000" />
</task>
<servers />
</component>
@@ -131,6 +149,6 @@
<option name="version" value="3" />
</component>
<component name="com.intellij.coverage.CoverageDataManagerImpl">
<SUITE FILE_PATH="coverage/sweet_hut_agent$sweet_hut_agent.coverage" NAME="sweet-hut-agent Coverage Results" MODIFIED="1783163395097" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" />
<SUITE FILE_PATH="coverage/sweet_hut_agent$sweet_hut_agent.coverage" NAME="sweet-hut-agent Coverage Results" MODIFIED="1783951004770" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="" />
</component>
</project>