project-knowledge 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/_site/index.html +2 -2
  2. package/package.json +1 -1
package/_site/index.html CHANGED
@@ -1784,7 +1784,7 @@ createApp({
1784
1784
  if (state.logging) Object.assign(loggingConfig, state.logging);
1785
1785
  lastRun.value = state.lastRun || lastRun.value;
1786
1786
  if (!selectedSlug.value && projectList.value.length) selectProject(projectList.value[0].slug);
1787
- const aiProfileTask = activeView.value === "settings" && aiProfileFormDirty.value
1787
+ const aiProfileTask = activeView.value === "ai" && aiProfileFormDirty.value
1788
1788
  ? Promise.resolve()
1789
1789
  : loadAiProfiles(false);
1790
1790
  await Promise.all([loadJobs(), aiProfileTask, loadIssues()]);
@@ -2283,7 +2283,7 @@ createApp({
2283
2283
  if (!aiConfig.profiles.find(p => p.id === selectedConfigProfileId.value)) {
2284
2284
  selectedConfigProfileId.value = aiConfig.defaultProfileId || (aiConfig.profiles[0] && aiConfig.profiles[0].id) || "mock-agent";
2285
2285
  }
2286
- loadProfileForm();
2286
+ if (!aiProfileFormDirty.value || updateText) loadProfileForm();
2287
2287
  return data;
2288
2288
  }
2289
2289
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-knowledge",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Knowledge base manager with Git integration, AI-driven analysis, and bilingual (zh-CN/en-US) knowledge output",
5
5
  "main": "_site/server.js",
6
6
  "scripts": {