Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 85b9a14fc6 | |||
| e53f4dc2dc | |||
| 8147f237cd | |||
| d4966fc925 | |||
| f173e957f3 |
@@ -20,12 +20,12 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
token: "${{ secrets.GITHUB_TOKEN }}"
|
token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
- name: Create bump and changelog
|
- name: Create bump and changelog
|
||||||
uses: commitizen-tools/commitizen-action@0.24.0
|
uses: commitizen-tools/commitizen-action@5b0848cd060263e24602d1eba03710e056ef7711 # 0.24.0
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
changelog_increment_filename: body.md
|
changelog_increment_filename: body.md
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2
|
||||||
with:
|
with:
|
||||||
body_path: "body.md"
|
body_path: "body.md"
|
||||||
tag_name: v${{ env.REVISION }}
|
tag_name: v${{ env.REVISION }}
|
||||||
|
|||||||
@@ -41,10 +41,6 @@ jobs:
|
|||||||
done
|
done
|
||||||
echo "Service is ready (returned 401)."
|
echo "Service is ready (returned 401)."
|
||||||
|
|
||||||
- name: Install notes app
|
|
||||||
run: |
|
|
||||||
docker compose exec app php occ app:enable notes
|
|
||||||
|
|
||||||
# Add subsequent steps here, e.g., running tests
|
# Add subsequent steps here, e.g., running tests
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -1,3 +1,9 @@
|
|||||||
|
## v0.2.3 (2025-05-25)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- Limit search results to notes with score > 0.5
|
||||||
|
|
||||||
## v0.2.2 (2025-05-24)
|
## v0.2.2 (2025-05-24)
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
php /var/www/html/occ app:enable notes
|
||||||
@@ -34,6 +34,7 @@ services:
|
|||||||
- db
|
- db
|
||||||
volumes:
|
volumes:
|
||||||
- nextcloud:/var/www/html
|
- nextcloud:/var/www/html
|
||||||
|
- ./app-hooks/post-installation:/docker-entrypoint-hooks.d/post-installation:ro
|
||||||
environment:
|
environment:
|
||||||
- NEXTCLOUD_TRUSTED_DOMAINS=app
|
- NEXTCLOUD_TRUSTED_DOMAINS=app
|
||||||
- NEXTCLOUD_ADMIN_USER=admin
|
- NEXTCLOUD_ADMIN_USER=admin
|
||||||
|
|||||||
@@ -211,7 +211,7 @@ class NextcloudClient:
|
|||||||
score = self.calculate_score(query_tokens, title_tokens, content_tokens)
|
score = self.calculate_score(query_tokens, title_tokens, content_tokens)
|
||||||
|
|
||||||
# Only include notes with a non-zero score
|
# Only include notes with a non-zero score
|
||||||
if score > 0:
|
if score >= 0.5:
|
||||||
search_results.append({
|
search_results.append({
|
||||||
"id": note.get("id"),
|
"id": note.get("id"),
|
||||||
"title": note.get("title"),
|
"title": note.get("title"),
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "nextcloud-mcp-server"
|
name = "nextcloud-mcp-server"
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
description = ""
|
description = ""
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Chris Coutinho",email = "chris@coutinho.io"}
|
{name = "Chris Coutinho",email = "chris@coutinho.io"}
|
||||||
|
|||||||
@@ -492,7 +492,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nextcloud-mcp-server"
|
name = "nextcloud-mcp-server"
|
||||||
version = "0.2.2"
|
version = "0.2.3"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "httpx" },
|
{ name = "httpx" },
|
||||||
|
|||||||
Reference in New Issue
Block a user