diff --git a/.run/AssistantTalkBot.run.xml b/.run/AssistantTalkBot.run.xml
index 230b60e..654182e 100644
--- a/.run/AssistantTalkBot.run.xml
+++ b/.run/AssistantTalkBot.run.xml
@@ -8,8 +8,8 @@
-
-
+
+
diff --git a/Dockerfile b/Dockerfile
index 74b04bb..aab0054 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2023-2025 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
-FROM python:3.12-bookworm
+FROM python:3.12-slim-bookworm
RUN \
apt-get update && \
@@ -25,7 +25,7 @@ RUN set -ex; \
rm -rf /tmp/frp /tmp/frp.tar.gz
COPY requirements.txt /
-COPY healthcheck.sh /
+COPY --chmod=775 healthcheck.sh /
COPY --chmod=775 start.sh /
ADD /src/ /app/
diff --git a/Makefile b/Makefile
index 29a4629..ad7d1f7 100644
--- a/Makefile
+++ b/Makefile
@@ -21,11 +21,13 @@ help:
@echo " "
@echo " run installs $(APP_NAME) for Nextcloud Latest"
@echo " run30 installs $(APP_NAME) for Nextcloud 30"
+ @echo " run31 installs $(APP_NAME) for Nextcloud 31"
@echo " "
@echo " > Commands for manual registration of ExApp ($(APP_NAME) should be running!):"
@echo " "
@echo " register performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon."
@echo " register30 performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon."
+ @echo " register31 performs registration of running $(APP_NAME) into the 'manual_install' deploy daemon."
@echo " "
@@ -47,6 +49,12 @@ run30:
docker exec master-stable30-1 sudo -u www-data php occ app_api:app:register $(APP_ID) \
--info-xml https://raw.githubusercontent.com/nextcloud/$(APP_ID)/main/appinfo/info.xml
+.PHONY: run31
+run31:
+ docker exec master-stable31-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true
+ docker exec master-stable31-1 sudo -u www-data php occ app_api:app:register $(APP_ID) \
+ --info-xml https://raw.githubusercontent.com/nextcloud/$(APP_ID)/main/appinfo/info.xml
+
.PHONY: register
register:
docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true
@@ -56,3 +64,8 @@ register:
register30:
docker exec master-stable30-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true
docker exec master-stable30-1 sudo -u www-data php occ app_api:app:register $(APP_ID) manual_install --json-info $(JSON_INFO) --wait-finish
+
+.PHONY: register31
+register31:
+ docker exec master-stable31-1 sudo -u www-data php occ app_api:app:unregister $(APP_ID) --silent --force || true
+ docker exec master-stable31-1 sudo -u www-data php occ app_api:app:register $(APP_ID) manual_install --json-info $(JSON_INFO) --wait-finish
diff --git a/README.md b/README.md
index 27d7054..72c15b5 100644
--- a/README.md
+++ b/README.md
@@ -5,9 +5,12 @@
## Nextcloud Assistant Talk Bot
-**A talk bot using [`AppAPI`], Task Processing API, and Talk Bot API.**
+**A talk bot using [`AppAPI`],
+the [OCS TaskProcessing API],
+and [Talk Bot API].**
-The bot answers questions in chat based on the model set by Nextcloud Assistant.
+The bot is capable of answering questions in [Nextcloud Talk] chat conversations
+using the large language model set by [Nextcloud Assistant].
## How to install:
@@ -15,7 +18,7 @@ The bot answers questions in chat based on the model set by Nextcloud Assistant.
and set up a deploy daemon by following the [AppAPI instructions].
_(Automatically created with AIO)_
2. Go to the `Apps` menu in Nextcloud,
- find this app (`Assistant Talk Bot`) in the `Tools` category,
+ find this app (`Assistant Talk Bot`) in the `AI` or `Tools` category,
and click `Deploy and Enable`.
3. In Nextcloud Talk,
open a conversation and enable the bot in `Conversation settings`.
@@ -25,4 +28,8 @@ The bot answers questions in chat based on the model set by Nextcloud Assistant.
[`AppAPI`]: https://github.com/nextcloud/app_api
+[OCS TaskProcessing API]: https://docs.nextcloud.com/server/latest/developer_manual/client_apis/OCS/ocs-taskprocessing-api.html
+[Talk Bot API]: https://cloud-py-api.github.io/nc_py_api/reference/TalkBot.html
+[Nextcloud Talk]: https://nextcloud.com/talk/
+[Nextcloud Assistant]: https://nextcloud.com/assistant/
[AppAPI instructions]: https://docs.nextcloud.com/server/latest/admin_manual/exapps_management/AppAPIAndExternalApps.html
diff --git a/appinfo/info.xml b/appinfo/info.xml
index 32bc39e..1bf0899 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -9,13 +9,13 @@
Nextcloud Assistant Talk Bot
- 3.0.2
+ 3.1.0
agpl
Andrey Borysenko
Alexander Piskun
@@ -28,13 +28,13 @@ The bot is capable of answering questions in chat depending on the model set by
https://github.com/nextcloud/talk_bot_ai/issues
https://github.com/nextcloud/talk_bot_ai.git
-
+
ghcr.io
nextcloud/talk_bot_ai
- 3.0.2
+ 3.1.0