diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ddd848f..0218a1f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,9 +88,11 @@ jobs: - name: Install working-directory: /home/runner/frappe-bench run: | + bench get-app wiki --branch develop bench get-app wikify $GITHUB_WORKSPACE bench setup requirements --dev bench new-site --db-root-password root --admin-password admin test_site + bench --site test_site install-app wiki bench --site test_site install-app wikify bench build env: diff --git a/.gitignore b/.gitignore index 5762c8b..fab1ecd 100644 --- a/.gitignore +++ b/.gitignore @@ -35,6 +35,9 @@ venv.bak/ # Dependency directories node_modules/ jspm_packages/ +# `bench build` symlinks the app's node_modules into public/; git sees a symlink, +# not a directory, so the `node_modules/` rule above does not cover it. +wikify/public/node_modules # Frontend build output (SPA). www/wikify.html is emitted by the vite plugin. frontend/dist/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 539ca12..71377e7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -exclude: 'node_modules|.git' +exclude: 'node_modules|\.git|^pocs/|^scratch/' default_stages: [pre-commit] fail_fast: false diff --git a/frontend/src/components/AgentChatPanel.vue b/frontend/src/components/AgentChatPanel.vue index 7eeef97..bec11dc 100644 --- a/frontend/src/components/AgentChatPanel.vue +++ b/frontend/src/components/AgentChatPanel.vue @@ -475,7 +475,6 @@ function onKeydown(e) { - diff --git a/frontend/src/components/AppSettingsDialog.vue b/frontend/src/components/AppSettingsDialog.vue index 0eed553..aed5c97 100644 --- a/frontend/src/components/AppSettingsDialog.vue +++ b/frontend/src/components/AppSettingsDialog.vue @@ -43,9 +43,21 @@ const newKey = ref(""); const MODEL_FIELDS = [ { key: "agent_model", label: "Agent model", hint: "Assistant model (projects can override)." }, - { key: "vlm_model", label: "VLM model", hint: "Vision model for re-parsing flagged / visual pages." }, - { key: "cleanup_model", label: "Cleanup model", hint: "Cheap text model for the markdown cleanup pass." }, - { key: "judge_model", label: "Judge model", hint: "Independent grader — keep distinct from the parser." }, + { + key: "vlm_model", + label: "VLM model", + hint: "Vision model for re-parsing flagged / visual pages.", + }, + { + key: "cleanup_model", + label: "Cleanup model", + hint: "Cheap text model for the markdown cleanup pass.", + }, + { + key: "judge_model", + label: "Judge model", + hint: "Independent grader — keep distinct from the parser.", + }, { key: "classifier_model", label: "Classifier model", hint: "" }, ]; @@ -108,7 +120,10 @@ const activeTab = ref(TABS[0].value); {{ tab.label }} @@ -138,14 +153,17 @@ const activeTab = ref(TABS[0].value); :placeholder="keyIsSet ? '•••• key saved — type to replace' : 'sk-or-v1-…'" />

- Used for all AI steps. Stored encrypted. Leave blank to keep the current key; - falls back to site config / the app .env when never set. + Used for all AI steps. Stored encrypted. Leave blank to keep the current + key; falls back to site config / the app .env when never set.

- +