aaa
Some checks failed
Flask 提示词大师 - CI/CD 流水线 / 代码质量检查 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 单元测试 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 集成测试 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 构建Docker镜像 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署到测试环境 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署到生产环境 (push) Has been cancelled
Flask 提示词大师 - CI/CD 流水线 / 部署监控系统 (push) Has been cancelled

This commit is contained in:
2026-03-01 23:56:28 +08:00
parent 90f3103de3
commit 8e750f5bee
1095 changed files with 99308 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
#Sun Mar 01 23:33:43 CST 2026
com.example.promptoptimizer.app-main-5\:/drawable/edit_bg.xml=D\:\\AndroidProject\\aitsc\\exampleAiApp01\\app\\build\\intermediates\\packaged_res\\debug\\packageDebugResources\\drawable\\edit_bg.xml
com.example.promptoptimizer.app-main-5\:/drawable/ic_launcher_foreground.xml=D\:\\AndroidProject\\aitsc\\exampleAiApp01\\app\\build\\intermediates\\packaged_res\\debug\\packageDebugResources\\drawable\\ic_launcher_foreground.xml
com.example.promptoptimizer.app-main-5\:/mipmap-anydpi-v26/ic_launcher.xml=D\:\\AndroidProject\\aitsc\\exampleAiApp01\\app\\build\\intermediates\\packaged_res\\debug\\packageDebugResources\\mipmap-anydpi-v26\\ic_launcher.xml
com.example.promptoptimizer.app-main-5\:/mipmap-anydpi-v26/ic_launcher_round.xml=D\:\\AndroidProject\\aitsc\\exampleAiApp01\\app\\build\\intermediates\\packaged_res\\debug\\packageDebugResources\\mipmap-anydpi-v26\\ic_launcher_round.xml
com.example.promptoptimizer.app-packageDebugResources-2\:/layout/activity_main.xml=D\:\\AndroidProject\\aitsc\\exampleAiApp01\\app\\build\\intermediates\\packaged_res\\debug\\packageDebugResources\\layout\\activity_main.xml

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#F8FAFC</color>
<color name="primary">#1E3A8A</color>
<string name="app_name">提示词智能优化</string>
<string name="btn_copy">复制提示词</string>
<string name="btn_generate">生成专家提示词</string>
<string name="error_empty">请输入您的需求</string>
<string name="error_network">网络请求失败,请检查网络后重试</string>
<string name="hint_input">请描述您的需求,系统将进行专业分析并生成高质量提示词</string>
<string name="label_intent">需求分析</string>
<string name="label_prompt">生成的专家提示词</string>
<string name="label_result">生成结果</string>
<string name="loading">正在分析需求并生成专业提示词…</string>
<string name="toast_copied">已复制到剪贴板</string>
<style name="Theme.PromptOptimizer" parent="Theme.Material3.Light.NoActionBar">
<item name="colorPrimary">#1E3A8A</item>
<item name="colorPrimaryVariant">#3B82F6</item>
<item name="colorOnPrimary">#FFFFFF</item>
</style>
</resources>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<merger version="3"><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="main" generated-set="main$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res"><file name="edit_bg" path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res\drawable\edit_bg.xml" qualifiers="" type="drawable"/><file name="ic_launcher_foreground" path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res\drawable\ic_launcher_foreground.xml" qualifiers="" type="drawable"/><file name="activity_main" path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res\layout\activity_main.xml" qualifiers="" type="layout"/><file name="ic_launcher" path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res\mipmap-anydpi-v26\ic_launcher.xml" qualifiers="anydpi-v26" type="mipmap"/><file name="ic_launcher_round" path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res\mipmap-anydpi-v26\ic_launcher_round.xml" qualifiers="anydpi-v26" type="mipmap"/><file path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res\values\colors.xml" qualifiers=""><color name="ic_launcher_background">#F8FAFC</color><color name="primary">#1E3A8A</color></file><file path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res\values\strings.xml" qualifiers=""><string name="app_name">提示词智能优化</string><string name="hint_input">请描述您的需求,系统将进行专业分析并生成高质量提示词</string><string name="btn_generate">生成专家提示词</string><string name="label_result">生成结果</string><string name="label_intent">需求分析</string><string name="label_prompt">生成的专家提示词</string><string name="btn_copy">复制提示词</string><string name="toast_copied">已复制到剪贴板</string><string name="loading">正在分析需求并生成专业提示词…</string><string name="error_network">网络请求失败,请检查网络后重试</string><string name="error_empty">请输入您的需求</string></file><file path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\main\res\values\themes.xml" qualifiers=""><style name="Theme.PromptOptimizer" parent="Theme.Material3.Light.NoActionBar">
<item name="colorPrimary">#1E3A8A</item>
<item name="colorPrimaryVariant">#3B82F6</item>
<item name="colorOnPrimary">#FFFFFF</item>
</style></file></source></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\debug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="debug" generated-set="debug$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\AndroidProject\aitsc\exampleAiApp01\app\src\debug\res"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated$Generated" generated="true" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\AndroidProject\aitsc\exampleAiApp01\app\build\generated\res\resValues\debug"/></dataSet><dataSet aapt-namespace="http://schemas.android.com/apk/res-auto" config="generated" generated-set="generated$Generated" ignore_pattern="!.svn:!.git:!.ds_store:!*.scc:.*:&lt;dir>_*:!CVS:!thumbs.db:!picasa.ini:!*~"><source path="D:\AndroidProject\aitsc\exampleAiApp01\app\build\generated\res\resValues\debug"/></dataSet><mergedItems/></merger>

View File

@@ -0,0 +1,153 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true"
android:background="#F8FAFC">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="提示词智能优化"
android:textSize="22sp"
android:textStyle="bold"
android:textColor="#1E3A8A"
android:layout_marginBottom="16dp" />
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
app:cardCornerRadius="8dp"
app:cardElevation="2dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="请描述您的需求"
android:textSize="14sp"
android:textColor="#333333"
android:layout_marginBottom="8dp" />
<EditText
android:id="@+id/etInput"
android:layout_width="match_parent"
android:layout_height="120dp"
android:gravity="top|start"
android:padding="12dp"
android:background="@drawable/edit_bg"
android:inputType="textMultiLine"
android:minLines="3"
android:hint="@string/hint_input" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnGenerate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/btn_generate" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<ProgressBar
android:id="@+id/progressBar"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:visibility="gone"
android:layout_marginVertical="24dp" />
<TextView
android:id="@+id/tvLoading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/loading"
android:visibility="gone"
android:layout_marginBottom="24dp" />
<com.google.android.material.card.MaterialCardView
android:id="@+id/cardResult"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:visibility="gone"
app:cardCornerRadius="8dp"
app:cardElevation="2dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/label_result"
android:textSize="16sp"
android:textStyle="bold"
android:layout_marginBottom="12dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/label_intent"
android:textSize="14sp"
android:textStyle="bold"
android:layout_marginBottom="4dp" />
<TextView
android:id="@+id/tvIntent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:background="#F1F5F9"
android:textSize="13sp"
android:lineSpacingExtra="4dp"
android:layout_marginBottom="12dp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/label_prompt"
android:textSize="14sp"
android:textStyle="bold"
android:layout_marginBottom="4dp" />
<TextView
android:id="@+id/tvPrompt"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:background="#F1F5F9"
android:textSize="13sp"
android:lineSpacingExtra="4dp"
android:fontFamily="monospace" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnCopy"
style="@style/Widget.Material3.Button.TextButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/btn_copy" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</LinearLayout>
</ScrollView>