Tomas Adamek
49476d72fc
Update apps/server/src/services/llm/tools/hierarchy_tools.ts
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-09 20:50:59 +02:00
Tomáš Adámek
5938fa6ffb
fix: address review — shared PROTECTED_SYSTEM_NOTES, protection checks, soft delete description
...
- Move PROTECTED_SYSTEM_NOTES to helpers.ts for shared use
- move_note: check against full system notes set, add protected parent check
- clone_note: add source note protection + protected parent checks
- delete_note: fix description to say 'soft delete' (recoverable)
2026-04-08 16:08:02 +02:00
Tomáš Adámek
d771454aa5
feat(llm): add note mutation tools (rename, delete, move, clone)
...
Add four new LLM tools for note management:
- rename_note: Change the title of an existing note
- delete_note: Delete a note with system note protection
- move_note: Move a note to a new parent using branch service
- clone_note: Clone a note to an additional parent
All mutation tools are marked with mutates: true for the tool
approval system. Protected and system notes are guarded against
modification.
2026-04-07 13:19:16 +02:00
Elian Doran
bdd806efff
refactor: delegate theme management completely to client via bootstrap
2026-04-06 19:45:18 +03:00
Elian Doran
480d167131
fix(desktop): cannot print/export to PDF on Linux wayland ( closes #7967 )
2026-04-06 13:11:06 +03:00
Elian Doran
19bb7f5ddb
refactor(server): remove unnecessary route
2026-04-06 12:18:36 +03:00
Francis C.
2423b74dd0
Translated using Weblate (Chinese (Traditional Han script))
...
Currently translated at 100.0% (391 of 391 strings)
Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/zh_Hant/
2026-04-06 08:13:48 +00:00
Tomas Adamek
30c5c49aef
Translated using Weblate (Czech)
...
Currently translated at 100.0% (391 of 391 strings)
Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/cs/
2026-04-06 08:13:47 +00:00
Elian Doran
1e861d1125
chore(ocr): externalize tesseract.js completely
2026-04-05 22:20:38 +03:00
Elian Doran
baa93cb371
chore(ocr): expose needed dependencies
2026-04-05 22:14:01 +03:00
Elian Doran
aba5ff75af
fix(server): sync version not increased after breaking changes
2026-04-05 20:22:49 +03:00
Elian Doran
94987314b8
feat(ocr): warn about OCR confidence too low
2026-04-05 20:03:12 +03:00
Elian Doran
109f06f8bb
Merge branch 'release/v0.102.2'
...
; Conflicts:
; apps/desktop/package.json
; apps/server/src/routes/api/image.ts
; apps/server/src/share/routes.ts
; pnpm-lock.yaml
2026-04-05 19:41:24 +03:00
Aindriú Mac Giolla Eoin
dfb20df16f
Translated using Weblate (Irish)
...
Currently translated at 100.0% (391 of 391 strings)
Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/ga/
2026-04-05 14:09:49 +02:00
Elian Doran
9bc18b774e
test(server): add unit tests for sanitizeSvg
2026-04-05 12:11:05 +03:00
Elian Doran
465c36407c
Update apps/server/src/etapi/notes.ts
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-05 12:10:52 +03:00
Elian Doran
b99486259e
Update apps/server/src/etapi/notes.ts
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-05 12:10:44 +03:00
Elian Doran
90822cc8a3
chore: address requested changes
2026-04-05 11:59:45 +03:00
Elian Doran
5c46209ddc
feat(server): improve request handling for SVGs
2026-04-05 11:28:28 +03:00
Elian Doran
7f199c527b
feat(share): improve request handling for SVGs
2026-04-05 10:52:36 +03:00
Elian Doran
2432e230c5
chore(etapi): enforce MIME for image upload
2026-04-05 10:44:47 +03:00
Elian Doran
8204322b46
fix(openid): use more secure RNG
2026-04-04 22:02:33 +03:00
Elian Doran
ed3b86cd49
fix(import): no longer preserve named note IDs
2026-04-04 21:27:37 +03:00
Elian Doran
8ff41d8fa9
fix(server): align attachment upload validation with note upload
2026-04-04 20:46:03 +03:00
Elian Doran
55e8694990
test(server): remove redundant log
2026-04-04 13:10:03 +03:00
green
fb9eb3e4b5
Translated using Weblate (Japanese)
...
Currently translated at 100.0% (391 of 391 strings)
Translation: Trilium Notes/Server
Translate-URL: https://hosted.weblate.org/projects/trilium/server/ja/
2026-04-04 11:50:17 +02:00
Elian Doran
3f24627f67
chore(deps): update dependency tesseract.js to v7 ( #9269 )
2026-04-04 12:12:41 +03:00
Elian Doran
395102026d
test(ocr): image processor with PNG
2026-04-04 12:04:19 +03:00
Elian Doran
126d9be9d8
fix(llm): one more async tool
2026-04-04 11:44:34 +03:00
Elian Doran
09be2822e0
fix(llm): some tools were async
2026-04-04 11:35:38 +03:00
Elian Doran
a93029f789
fix(llm): misuse of transactions in tool use due to async
2026-04-04 11:21:10 +03:00
Elian Doran
48cf214f4c
chore(deps): address requested changes
2026-04-04 11:07:06 +03:00
Elian Doran
90223a5ffd
chore(mcp): address requested changes
2026-04-04 10:15:05 +03:00
Elian Doran
8331daae5b
chore(mcp): better loopback detection
2026-04-04 10:11:27 +03:00
Elian Doran
027280954a
chore(llm): remove some lesser used fields from LLM response
2026-04-04 09:59:00 +03:00
Elian Doran
5138a63d23
chore(llm): encourage not to duplicate reference links with note titles
2026-04-04 09:44:11 +03:00
Elian Doran
be95cf5510
refactor(commons): deduplicate wikilink plugins
2026-04-04 09:40:48 +03:00
Elian Doran
4082328c2b
feat(llm): encourage LLM to use reference links
2026-04-04 09:34:15 +03:00
Elian Doran
729e840af2
refactor(llm): build system prompt using arrays
2026-04-04 09:26:26 +03:00
Elian Doran
e4a38fe277
feat(llm): improve prompt when no access to web
2026-04-04 09:24:26 +03:00
Elian Doran
a5cb9c7de6
feat(llm): improve prompt when no access to notes
2026-04-04 09:23:17 +03:00
Elian Doran
6447003927
chore(llm): increase maximum number of steps
2026-04-03 20:38:11 +03:00
Elian Doran
cbdf925703
fix(llm): cannot create non-standard note types
2026-04-03 20:31:24 +03:00
Elian Doran
7440e4a610
feat(llm): limit number of results in note meta
2026-04-03 20:26:53 +03:00
Elian Doran
54a5c3fac0
feat(llm): mention child notes directly in system prompt
2026-04-03 20:12:54 +03:00
Elian Doran
42e60da127
feat(llm): mention total number of results in search
2026-04-03 19:55:11 +03:00
Elian Doran
325dc9c8a8
feat(llm): add content preview & parent title to search
2026-04-03 19:52:47 +03:00
Elian Doran
877427f0db
refactor(llm): extract helpers out of tools
2026-04-03 19:49:01 +03:00
Elian Doran
1a64e7ba63
feat(llm): provide attachments list directly in note meta
2026-04-03 19:44:23 +03:00
Elian Doran
7dfa59a845
feat(llm): encourage through system prompt
2026-04-03 19:37:58 +03:00