Compare commits
18 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0a987467b5 | |||
| ab6f7ca0b2 | |||
| 42fa33d0bf | |||
| 006a3d95d6 | |||
| cb4e8acd9f | |||
| 02418a9531 | |||
| f89151d099 | |||
| dc86386bf8 | |||
| 929c40709a | |||
| a60560256d | |||
| aa583ab973 | |||
| 4103924b83 | |||
| c192bd2ec9 | |||
| 2005d2841f | |||
| c6295b48a5 | |||
| 7444c73a5a | |||
| dbbbab5320 | |||
| e5844b3da8 |
@@ -87,21 +87,32 @@ jobs:
|
|||||||
mcp_commit_count=$(git log "$commit_range" --oneline --grep="^(feat|fix|docs|refactor|perf|test|build|ci|chore)" -E | \
|
mcp_commit_count=$(git log "$commit_range" --oneline --grep="^(feat|fix|docs|refactor|perf|test|build|ci|chore)" -E | \
|
||||||
{ grep -v "(helm)" || true; } | { grep -v "(astrolabe)" || true; } | wc -l)
|
{ grep -v "(helm)" || true; } | { grep -v "(astrolabe)" || true; } | wc -l)
|
||||||
|
|
||||||
|
MCP_BUMPED=false
|
||||||
if [ "$mcp_commit_count" -gt 0 ]; then
|
if [ "$mcp_commit_count" -gt 0 ]; then
|
||||||
echo "Found $mcp_commit_count commits for MCP server since $last_mcp_tag"
|
echo "Found $mcp_commit_count commits for MCP server since $last_mcp_tag"
|
||||||
echo "Bumping MCP server version..."
|
echo "Bumping MCP server version..."
|
||||||
./scripts/bump-mcp.sh
|
./scripts/bump-mcp.sh
|
||||||
BUMPED_COMPONENTS="$BUMPED_COMPONENTS mcp"
|
BUMPED_COMPONENTS="$BUMPED_COMPONENTS mcp"
|
||||||
|
MCP_BUMPED=true
|
||||||
else
|
else
|
||||||
echo "No commits found for MCP server since $last_mcp_tag"
|
echo "No commits found for MCP server since $last_mcp_tag"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Bump Helm chart (scope: helm)
|
# Bump Helm chart (scope: helm OR when MCP appVersion changes)
|
||||||
echo "Checking Helm chart for version bump..."
|
echo "Checking Helm chart for version bump..."
|
||||||
|
HELM_HAS_COMMITS=false
|
||||||
if has_commits_since_tag "nextcloud-mcp-server-" "(feat|fix|docs|refactor|perf|test|build|ci|chore)\(helm\)(!)?:"; then
|
if has_commits_since_tag "nextcloud-mcp-server-" "(feat|fix|docs|refactor|perf|test|build|ci|chore)\(helm\)(!)?:"; then
|
||||||
echo "Bumping Helm chart version..."
|
HELM_HAS_COMMITS=true
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$HELM_HAS_COMMITS" = true ]; then
|
||||||
|
echo "Bumping Helm chart version (helm-scoped commits)..."
|
||||||
./scripts/bump-helm.sh
|
./scripts/bump-helm.sh
|
||||||
BUMPED_COMPONENTS="$BUMPED_COMPONENTS helm"
|
BUMPED_COMPONENTS="$BUMPED_COMPONENTS helm"
|
||||||
|
elif [ "$MCP_BUMPED" = true ]; then
|
||||||
|
echo "Bumping Helm chart version (appVersion changed)..."
|
||||||
|
./scripts/bump-helm.sh --increment PATCH
|
||||||
|
BUMPED_COMPONENTS="$BUMPED_COMPONENTS helm"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Bump Astrolabe (scope: astrolabe)
|
# Bump Astrolabe (scope: astrolabe)
|
||||||
|
|||||||
@@ -5,6 +5,25 @@ All notable changes to the Nextcloud MCP Server will be documented in this file.
|
|||||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
and this project adheres to [PEP 440](https://peps.python.org/pep-0440/).
|
and this project adheres to [PEP 440](https://peps.python.org/pep-0440/).
|
||||||
|
|
||||||
|
## v0.61.3 (2026-01-15)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- **astrolabe**: address review feedback for Vue 3 bindings
|
||||||
|
- **astrolabe**: update Vue component bindings for Vue 3 compatibility
|
||||||
|
|
||||||
|
## v0.61.2 (2026-01-15)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- **ci**: bump helm chart version when MCP appVersion changes
|
||||||
|
|
||||||
|
## v0.61.1 (2026-01-15)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- **astrolabe**: define appName and appVersion for @nextcloud/vue
|
||||||
|
|
||||||
## v0.61.0 (2026-01-14)
|
## v0.61.0 (2026-01-14)
|
||||||
|
|
||||||
### Feat
|
### Feat
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
FROM docker.io/library/python:3.12-slim-trixie@sha256:7325cf245c9df8e53b45da8f40b845368fd847065e10461fa6799e916bb82649
|
FROM docker.io/library/python:3.12-slim-trixie@sha256:d75c4b6cdd039ae966a34cd3ccab9e0e5f7299280ad76fe1744882d86eedce0b
|
||||||
|
|
||||||
COPY --from=ghcr.io/astral-sh/uv:0.9.25@sha256:13e233d08517abdafac4ead26c16d881cd77504a2c40c38c905cf3a0d70131a6 /uv /uvx /bin/
|
COPY --from=ghcr.io/astral-sh/uv:0.9.25@sha256:13e233d08517abdafac4ead26c16d881cd77504a2c40c38c905cf3a0d70131a6 /uv /uvx /bin/
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@
|
|||||||
# - Per-session app password authentication
|
# - Per-session app password authentication
|
||||||
# - Multi-user support via Smithery session config
|
# - Multi-user support via Smithery session config
|
||||||
|
|
||||||
FROM docker.io/library/python:3.12-slim-trixie@sha256:7325cf245c9df8e53b45da8f40b845368fd847065e10461fa6799e916bb82649
|
FROM docker.io/library/python:3.12-slim-trixie@sha256:d75c4b6cdd039ae966a34cd3ccab9e0e5f7299280ad76fe1744882d86eedce0b
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[tool.commitizen]
|
[tool.commitizen]
|
||||||
name = "cz_conventional_commits"
|
name = "cz_conventional_commits"
|
||||||
version = "0.57.0"
|
version = "0.57.2"
|
||||||
tag_format = "nextcloud-mcp-server-$version"
|
tag_format = "nextcloud-mcp-server-$version"
|
||||||
version_scheme = "semver"
|
version_scheme = "semver"
|
||||||
update_changelog_on_bump = true
|
update_changelog_on_bump = true
|
||||||
|
|||||||
@@ -14,6 +14,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Configurable resource limits
|
- Configurable resource limits
|
||||||
- Grafana dashboard annotations
|
- Grafana dashboard annotations
|
||||||
|
|
||||||
|
## nextcloud-mcp-server-0.57.2 (2026-01-15)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- **astrolabe**: address review feedback for Vue 3 bindings
|
||||||
|
- **astrolabe**: update Vue component bindings for Vue 3 compatibility
|
||||||
|
|
||||||
|
## nextcloud-mcp-server-0.57.1 (2026-01-15)
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- **ci**: bump helm chart version when MCP appVersion changes
|
||||||
|
- **astrolabe**: define appName and appVersion for @nextcloud/vue
|
||||||
|
|
||||||
## nextcloud-mcp-server-0.57.0 (2026-01-15)
|
## nextcloud-mcp-server-0.57.0 (2026-01-15)
|
||||||
|
|
||||||
### Feat
|
### Feat
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ apiVersion: v2
|
|||||||
name: nextcloud-mcp-server
|
name: nextcloud-mcp-server
|
||||||
description: A Helm chart for Nextcloud MCP Server - enables AI assistants to interact with Nextcloud
|
description: A Helm chart for Nextcloud MCP Server - enables AI assistants to interact with Nextcloud
|
||||||
type: application
|
type: application
|
||||||
version: 0.57.0
|
version: 0.57.2
|
||||||
appVersion: "0.61.0"
|
appVersion: "0.61.3"
|
||||||
keywords:
|
keywords:
|
||||||
- nextcloud
|
- nextcloud
|
||||||
- mcp
|
- mcp
|
||||||
|
|||||||
+6
-10
@@ -54,7 +54,7 @@ services:
|
|||||||
retries: 30
|
retries: 30
|
||||||
|
|
||||||
recipes:
|
recipes:
|
||||||
image: docker.io/library/nginx:alpine@sha256:c083c3799197cfff91fe5c3c558db3d2eea65ccbbfd419fa42a64d2c39a24027
|
image: docker.io/library/nginx:alpine@sha256:66d420cc54ef85bcc1d72220e83d7aaa6c4850bd2904794e3a56f09fd4ccb66e
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ./tests/fixtures/test_recipe.html:/usr/share/nginx/html/test_recipe.html:ro
|
- ./tests/fixtures/test_recipe.html:/usr/share/nginx/html/test_recipe.html:ro
|
||||||
@@ -88,8 +88,8 @@ services:
|
|||||||
- NEXTCLOUD_PASSWORD=admin
|
- NEXTCLOUD_PASSWORD=admin
|
||||||
- NEXTCLOUD_PUBLIC_ISSUER_URL=http://localhost:8080
|
- NEXTCLOUD_PUBLIC_ISSUER_URL=http://localhost:8080
|
||||||
|
|
||||||
# Vector sync configuration (ADR-007)
|
# Semantic search configuration (ADR-007, ADR-021)
|
||||||
#- VECTOR_SYNC_ENABLED=true
|
#- ENABLE_SEMANTIC_SEARCH=true
|
||||||
- VECTOR_SYNC_SCAN_INTERVAL=60
|
- VECTOR_SYNC_SCAN_INTERVAL=60
|
||||||
- VECTOR_SYNC_PROCESSOR_WORKERS=1
|
- VECTOR_SYNC_PROCESSOR_WORKERS=1
|
||||||
|
|
||||||
@@ -140,14 +140,13 @@ services:
|
|||||||
- NEXTCLOUD_MCP_SERVER_URL=http://localhost:8003
|
- NEXTCLOUD_MCP_SERVER_URL=http://localhost:8003
|
||||||
- NEXTCLOUD_PUBLIC_ISSUER_URL=http://localhost:8080
|
- NEXTCLOUD_PUBLIC_ISSUER_URL=http://localhost:8080
|
||||||
- ENABLE_MULTI_USER_BASIC_AUTH=true
|
- ENABLE_MULTI_USER_BASIC_AUTH=true
|
||||||
#- ENABLE_OFFLINE_ACCESS=true
|
|
||||||
- ENABLE_BACKGROUND_OPERATIONS=true
|
- ENABLE_BACKGROUND_OPERATIONS=true
|
||||||
|
|
||||||
# Token storage (required for middleware initialization)
|
# Token storage (required for middleware initialization)
|
||||||
- TOKEN_ENCRYPTION_KEY=ESF1BvEQdGYsCluwMx9Cxvw3uh5pFowPH7Rg_nIliyo=
|
- TOKEN_ENCRYPTION_KEY=ESF1BvEQdGYsCluwMx9Cxvw3uh5pFowPH7Rg_nIliyo=
|
||||||
- TOKEN_STORAGE_DB=/app/data/tokens.db
|
- TOKEN_STORAGE_DB=/app/data/tokens.db
|
||||||
|
|
||||||
- VECTOR_SYNC_ENABLED=true
|
- ENABLE_SEMANTIC_SEARCH=true
|
||||||
- VECTOR_SYNC_SCAN_INTERVAL=60
|
- VECTOR_SYNC_SCAN_INTERVAL=60
|
||||||
- VECTOR_SYNC_PROCESSOR_WORKERS=1
|
- VECTOR_SYNC_PROCESSOR_WORKERS=1
|
||||||
|
|
||||||
@@ -180,7 +179,6 @@ services:
|
|||||||
- NEXTCLOUD_OIDC_SCOPES=openid profile email notes:read notes:write calendar:read calendar:write contacts:read contacts:write cookbook:read cookbook:write deck:read deck:write tables:read tables:write files:read files:write sharing:read sharing:write todo:read todo:write
|
- NEXTCLOUD_OIDC_SCOPES=openid profile email notes:read notes:write calendar:read calendar:write contacts:read contacts:write cookbook:read cookbook:write deck:read deck:write tables:read tables:write files:read files:write sharing:read sharing:write todo:read todo:write
|
||||||
|
|
||||||
# Refresh token storage (ADR-002 Tier 1)
|
# Refresh token storage (ADR-002 Tier 1)
|
||||||
#- ENABLE_OFFLINE_ACCESS=true
|
|
||||||
- ENABLE_BACKGROUND_OPERATIONS=true
|
- ENABLE_BACKGROUND_OPERATIONS=true
|
||||||
- TOKEN_ENCRYPTION_KEY=ESF1BvEQdGYsCluwMx9Cxvw3uh5pFowPH7Rg_nIliyo=
|
- TOKEN_ENCRYPTION_KEY=ESF1BvEQdGYsCluwMx9Cxvw3uh5pFowPH7Rg_nIliyo=
|
||||||
- TOKEN_STORAGE_DB=/app/data/tokens.db
|
- TOKEN_STORAGE_DB=/app/data/tokens.db
|
||||||
@@ -189,9 +187,8 @@ services:
|
|||||||
# Tokens must contain BOTH MCP and Nextcloud audiences
|
# Tokens must contain BOTH MCP and Nextcloud audiences
|
||||||
# No token exchange needed - tokens work for both MCP auth and Nextcloud APIs
|
# No token exchange needed - tokens work for both MCP auth and Nextcloud APIs
|
||||||
|
|
||||||
# Vector sync configuration (ADR-007)
|
# Semantic search configuration (ADR-007, ADR-021)
|
||||||
- ENABLE_SEMANTIC_SEARCH=true
|
- ENABLE_SEMANTIC_SEARCH=true
|
||||||
#- VECTOR_SYNC_ENABLED=true
|
|
||||||
- VECTOR_SYNC_SCAN_INTERVAL=60
|
- VECTOR_SYNC_SCAN_INTERVAL=60
|
||||||
- VECTOR_SYNC_PROCESSOR_WORKERS=1
|
- VECTOR_SYNC_PROCESSOR_WORKERS=1
|
||||||
|
|
||||||
@@ -259,7 +256,6 @@ services:
|
|||||||
- NEXTCLOUD_PUBLIC_ISSUER_URL=http://localhost:8888/realms/nextcloud-mcp
|
- NEXTCLOUD_PUBLIC_ISSUER_URL=http://localhost:8888/realms/nextcloud-mcp
|
||||||
|
|
||||||
# Refresh token storage (ADR-002 Tier 1 & 2)
|
# Refresh token storage (ADR-002 Tier 1 & 2)
|
||||||
#- ENABLE_OFFLINE_ACCESS=true
|
|
||||||
- ENABLE_BACKGROUND_OPERATIONS=true
|
- ENABLE_BACKGROUND_OPERATIONS=true
|
||||||
- TOKEN_ENCRYPTION_KEY=ESF1BvEQdGYsCluwMx9Cxvw3uh5pFowPH7Rg_nIliyo=
|
- TOKEN_ENCRYPTION_KEY=ESF1BvEQdGYsCluwMx9Cxvw3uh5pFowPH7Rg_nIliyo=
|
||||||
- TOKEN_STORAGE_DB=/app/data/tokens.db
|
- TOKEN_STORAGE_DB=/app/data/tokens.db
|
||||||
@@ -293,7 +289,7 @@ services:
|
|||||||
- 127.0.0.1:8081:8081
|
- 127.0.0.1:8081:8081
|
||||||
environment:
|
environment:
|
||||||
- SMITHERY_DEPLOYMENT=true
|
- SMITHERY_DEPLOYMENT=true
|
||||||
- VECTOR_SYNC_ENABLED=false
|
- ENABLE_SEMANTIC_SEARCH=false
|
||||||
- PORT=8081
|
- PORT=8081
|
||||||
profiles:
|
profiles:
|
||||||
- smithery
|
- smithery
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "nextcloud-mcp-server"
|
name = "nextcloud-mcp-server"
|
||||||
version = "0.61.0"
|
version = "0.61.3"
|
||||||
description = "Model Context Protocol (MCP) server for Nextcloud integration - enables AI assistants to interact with Nextcloud data"
|
description = "Model Context Protocol (MCP) server for Nextcloud integration - enables AI assistants to interact with Nextcloud data"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Chris Coutinho", email = "chris@coutinho.io"}
|
{name = "Chris Coutinho", email = "chris@coutinho.io"}
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[tool.commitizen]
|
[tool.commitizen]
|
||||||
name = "cz_conventional_commits"
|
name = "cz_conventional_commits"
|
||||||
version = "0.7.2"
|
version = "0.8.0"
|
||||||
tag_format = "astrolabe-v$version"
|
tag_format = "astrolabe-v$version"
|
||||||
version_scheme = "semver"
|
version_scheme = "semver"
|
||||||
update_changelog_on_bump = true
|
update_changelog_on_bump = true
|
||||||
|
|||||||
Vendored
+19
@@ -25,6 +25,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Requires external MCP server deployment
|
- Requires external MCP server deployment
|
||||||
- See documentation for setup: https://github.com/cbcoutinho/nextcloud-mcp-server
|
- See documentation for setup: https://github.com/cbcoutinho/nextcloud-mcp-server
|
||||||
|
|
||||||
|
## astrolabe-v0.8.0 (2026-01-15)
|
||||||
|
|
||||||
|
### Feat
|
||||||
|
|
||||||
|
- Add rate limiting and extract helpers for app password endpoints
|
||||||
|
|
||||||
|
### Fix
|
||||||
|
|
||||||
|
- **astrolabe**: define appName and appVersion for @nextcloud/vue
|
||||||
|
- Add missing annotations for deck remove/unassign operations
|
||||||
|
- **auth**: Store app passwords locally for multi-user BasicAuth background sync
|
||||||
|
- **deck**: use correct endpoint for reorder_card to fix cross-stack moves
|
||||||
|
- **deck**: Always preserve fields in update_card for partial updates
|
||||||
|
|
||||||
|
### Refactor
|
||||||
|
|
||||||
|
- Use get_settings() for vector sync enabled check
|
||||||
|
- Extract storage helper and improve PHP error handling
|
||||||
|
|
||||||
## astrolabe-v0.7.2 (2025-12-30)
|
## astrolabe-v0.7.2 (2025-12-30)
|
||||||
|
|
||||||
### Fix
|
### Fix
|
||||||
|
|||||||
+1
-1
@@ -29,7 +29,7 @@ Astrolabe connects to a semantic search service that understands the meaning of
|
|||||||
|
|
||||||
See [documentation](https://github.com/cbcoutinho/nextcloud-mcp-server) for configuration details.
|
See [documentation](https://github.com/cbcoutinho/nextcloud-mcp-server) for configuration details.
|
||||||
]]></description>
|
]]></description>
|
||||||
<version>0.7.2</version>
|
<version>0.8.0</version>
|
||||||
<licence>agpl</licence>
|
<licence>agpl</licence>
|
||||||
<author homepage="https://github.com/cbcoutinho">Chris Coutinho</author>
|
<author homepage="https://github.com/cbcoutinho">Chris Coutinho</author>
|
||||||
<namespace>Astrolabe</namespace>
|
<namespace>Astrolabe</namespace>
|
||||||
|
|||||||
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "astrolabe",
|
"name": "astrolabe",
|
||||||
"version": "0.7.2",
|
"version": "0.8.0",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "^22.0.0",
|
"node": "^22.0.0",
|
||||||
|
|||||||
Vendored
+6
-8
@@ -48,19 +48,18 @@
|
|||||||
<div class="mcp-search-card">
|
<div class="mcp-search-card">
|
||||||
<div class="mcp-search-row">
|
<div class="mcp-search-row">
|
||||||
<NcTextField
|
<NcTextField
|
||||||
:value="query"
|
v-model="query"
|
||||||
:label="t('astrolabe', 'Search query')"
|
:label="t('astrolabe', 'Search query')"
|
||||||
:placeholder="t('astrolabe', 'Enter your search query...')"
|
:placeholder="t('astrolabe', 'Enter your search query...')"
|
||||||
class="mcp-search-input"
|
class="mcp-search-input"
|
||||||
@update:value="query = $event"
|
|
||||||
@keyup.enter="performSearch" />
|
@keyup.enter="performSearch" />
|
||||||
|
|
||||||
<NcSelect
|
<NcSelect
|
||||||
v-model="selectedAlgorithmOption"
|
:model-value="selectedAlgorithmOption"
|
||||||
:options="algorithmOptions"
|
:options="algorithmOptions"
|
||||||
:placeholder="t('astrolabe', 'Algorithm')"
|
:placeholder="t('astrolabe', 'Algorithm')"
|
||||||
class="mcp-algorithm-select"
|
class="mcp-algorithm-select"
|
||||||
@input="algorithm = $event ? $event.id : 'hybrid'" />
|
@update:model-value="algorithm = $event ? $event.id : 'hybrid'" />
|
||||||
|
|
||||||
<NcButton
|
<NcButton
|
||||||
type="primary"
|
type="primary"
|
||||||
@@ -105,11 +104,10 @@
|
|||||||
<div class="mcp-option-group">
|
<div class="mcp-option-group">
|
||||||
<label>{{ t('astrolabe', 'Result Limit') }}</label>
|
<label>{{ t('astrolabe', 'Result Limit') }}</label>
|
||||||
<NcTextField
|
<NcTextField
|
||||||
:value="limit"
|
v-model="limit"
|
||||||
type="number"
|
type="number"
|
||||||
:min="1"
|
:min="1"
|
||||||
:max="100"
|
:max="100" />
|
||||||
@update:value="limit = Number($event)" />
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mcp-option-group">
|
<div class="mcp-option-group">
|
||||||
@@ -445,7 +443,7 @@ export default {
|
|||||||
algorithm: 'hybrid',
|
algorithm: 'hybrid',
|
||||||
showAdvanced: false,
|
showAdvanced: false,
|
||||||
selectedDocTypes: [],
|
selectedDocTypes: [],
|
||||||
limit: '20',
|
limit: 20,
|
||||||
scoreThreshold: 0,
|
scoreThreshold: 0,
|
||||||
loading: false,
|
loading: false,
|
||||||
error: null,
|
error: null,
|
||||||
|
|||||||
@@ -152,19 +152,21 @@
|
|||||||
|
|
||||||
<div class="settings-form">
|
<div class="settings-form">
|
||||||
<NcSelect
|
<NcSelect
|
||||||
v-model="settings.algorithm"
|
:model-value="selectedAlgorithmOption"
|
||||||
:options="algorithmOptions"
|
:options="algorithmOptions"
|
||||||
:label="t('astrolabe', 'Search Algorithm')"
|
:label="t('astrolabe', 'Search Algorithm')"
|
||||||
class="form-field" />
|
class="form-field"
|
||||||
|
@update:model-value="settings.algorithm = $event ? $event.id : 'hybrid'" />
|
||||||
<p class="help-text">
|
<p class="help-text">
|
||||||
{{ t('astrolabe', 'Hybrid combines semantic understanding with keyword matching. Semantic finds conceptually similar content. BM25 matches exact keywords.') }}
|
{{ t('astrolabe', 'Hybrid combines semantic understanding with keyword matching. Semantic finds conceptually similar content. BM25 matches exact keywords.') }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<NcSelect
|
<NcSelect
|
||||||
v-model="settings.fusion"
|
:model-value="selectedFusionOption"
|
||||||
:options="fusionOptions"
|
:options="fusionOptions"
|
||||||
:label="t('astrolabe', 'Fusion Method')"
|
:label="t('astrolabe', 'Fusion Method')"
|
||||||
class="form-field" />
|
class="form-field"
|
||||||
|
@update:model-value="settings.fusion = $event ? $event.id : 'rrf'" />
|
||||||
<p class="help-text">
|
<p class="help-text">
|
||||||
{{ t('astrolabe', 'Only applies to hybrid search. RRF balances results well for most queries. DBSF may work better when keyword matches are over/under-weighted.') }}
|
{{ t('astrolabe', 'Only applies to hybrid search. RRF balances results well for most queries. DBSF may work better when keyword matches are over/under-weighted.') }}
|
||||||
</p>
|
</p>
|
||||||
@@ -184,14 +186,13 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<NcTextField
|
<NcTextField
|
||||||
:value="settings.limit"
|
v-model="settings.limit"
|
||||||
:label="t('astrolabe', 'Maximum Results')"
|
:label="t('astrolabe', 'Maximum Results')"
|
||||||
type="number"
|
type="number"
|
||||||
:min="5"
|
:min="5"
|
||||||
:max="100"
|
:max="100"
|
||||||
:step="5"
|
:step="5"
|
||||||
class="form-field"
|
class="form-field" />
|
||||||
@update:value="settings.limit = Number($event)" />
|
|
||||||
<p class="help-text">
|
<p class="help-text">
|
||||||
{{ t('astrolabe', 'Maximum number of results to return per search query (5-100).') }}
|
{{ t('astrolabe', 'Maximum number of results to return per search query (5-100).') }}
|
||||||
</p>
|
</p>
|
||||||
@@ -276,6 +277,15 @@ const fusionOptions = computed(() => [
|
|||||||
{ id: 'dbsf', label: t('astrolabe', 'DBSF - Distribution-Based Score Fusion') },
|
{ id: 'dbsf', label: t('astrolabe', 'DBSF - Distribution-Based Score Fusion') },
|
||||||
])
|
])
|
||||||
|
|
||||||
|
// Computed properties for NcSelect (converts between stored ID and option object)
|
||||||
|
const selectedAlgorithmOption = computed(() =>
|
||||||
|
algorithmOptions.value.find(opt => opt.id === settings.value.algorithm) || algorithmOptions.value[0],
|
||||||
|
)
|
||||||
|
|
||||||
|
const selectedFusionOption = computed(() =>
|
||||||
|
fusionOptions.value.find(opt => opt.id === settings.value.fusion) || fusionOptions.value[0],
|
||||||
|
)
|
||||||
|
|
||||||
// Methods
|
// Methods
|
||||||
async function loadServerStatus() {
|
async function loadServerStatus() {
|
||||||
loading.value = true
|
loading.value = true
|
||||||
|
|||||||
Vendored
+10
@@ -1,9 +1,19 @@
|
|||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import vue from '@vitejs/plugin-vue'
|
import vue from '@vitejs/plugin-vue'
|
||||||
import { resolve } from 'path'
|
import { resolve } from 'path'
|
||||||
|
import { readFileSync } from 'fs'
|
||||||
|
|
||||||
|
// Read app info from info.xml for @nextcloud/vue
|
||||||
|
const infoXml = readFileSync(resolve(__dirname, 'appinfo/info.xml'), 'utf-8')
|
||||||
|
const appName = infoXml.match(/<id>([^<]+)<\/id>/)?.[1] || 'astrolabe'
|
||||||
|
const appVersion = infoXml.match(/<version>([^<]+)<\/version>/)?.[1] || ''
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [vue()],
|
plugins: [vue()],
|
||||||
|
define: {
|
||||||
|
appName: JSON.stringify(appName),
|
||||||
|
appVersion: JSON.stringify(appVersion),
|
||||||
|
},
|
||||||
build: {
|
build: {
|
||||||
outDir: '.',
|
outDir: '.',
|
||||||
emptyOutDir: false,
|
emptyOutDir: false,
|
||||||
|
|||||||
@@ -1988,7 +1988,7 @@ wheels = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "nextcloud-mcp-server"
|
name = "nextcloud-mcp-server"
|
||||||
version = "0.61.0"
|
version = "0.61.3"
|
||||||
source = { editable = "." }
|
source = { editable = "." }
|
||||||
dependencies = [
|
dependencies = [
|
||||||
{ name = "aiosqlite" },
|
{ name = "aiosqlite" },
|
||||||
|
|||||||
Reference in New Issue
Block a user