Gabriel Horner
16f977207c
enhance: add UI setting for toggling MCP server on/off
2025-10-16 10:44:32 -04:00
Gabriel Horner
d83641b08c
fix: fixes related to getPage tool
...
Fix getPage returning successful when no page found. Also make pageName
arg consistent with other tools. Also fix api server error where
a nil response fails the 500 check
2025-10-16 10:44:32 -04:00
Gabriel Horner
743c3807c1
enhance: API tools to add to page, search blocks and
...
update a block's content. Also fix search not returning usable
uuids in response
2025-10-16 10:44:32 -04:00
Gabriel Horner
a16c89b986
enhance: Add optional mcp server to API server
...
Also switch CLI MCP server to fastify to reuse frontend code.
Also fix DELETE /mcp which was wrong
2025-10-16 10:44:32 -04:00
Gabriel Horner
a4a1b16852
fix: restart API server consistently
...
UI inconsistently loses server status. This fix allows for always
restarting correctly, regardless of the UI bug
2025-10-16 10:44:32 -04:00
Gabriel Horner
6c9db3a679
enhance: Add HTTP Streamable mode to MCP server
...
and default to it
2025-10-16 10:44:32 -04:00
Gabriel Horner
70a6f617aa
enhance: add listTags and listProperties to API mcp server
...
by introducing logseq.cli.* for internal API usage.
Also refactor existing api tools to share same implementation as
local tools. This fixes a couple bugs w/ the api tools as get-page
was returning :block.temp/* keys and list-pages were returning uuids under
the id key unlike all other responses
2025-10-16 10:44:32 -04:00
Gabriel Horner
179f08cf90
enhance: list tags and properties for local mcp
2025-10-16 10:44:31 -04:00
Gabriel Horner
f2f799b49b
enhance: mcp server works with local graph
...
when given -g option
2025-10-16 10:44:31 -04:00
Gabriel Horner
96704e9998
enhance: basic mcp server w/ 2 commands
...
works w/ api and starting server from
cmdline for now
2025-10-16 10:44:31 -04:00
Gabriel Horner
db57d6834b
fix: error from build-import hidden from user
...
Also fix unexpected errors continue to call transact! on empty
2025-10-16 10:41:43 -04:00
Gabriel Horner
683b2c54c8
fix: importing from form shouldnt alter hnsw embeddings
2025-10-16 09:43:32 -04:00
Gabriel Horner
865c8c690e
refactor: convert import edn file to also use new :op
2025-10-16 09:43:32 -04:00
Gabriel Horner
487cbb2bc9
enhance: finish making import data form undo/redoable
...
Add current block support and error handling.
Also update most uses of build-import to call d/transact! once
afterwards. Previously I think we needed separate transacts because of
new properties but that is no longer the case
2025-10-16 09:43:32 -04:00
Tienson Qin
fe619d3a92
fix: can't undo/redo imported edn data
...
also UI doesn't refresh
2025-10-16 09:43:32 -04:00
Gabriel Horner
b649887b15
enhance: add batch-import-edn op to make import-edn undo-able WIP
2025-10-16 09:43:32 -04:00
rcmerci
26879cd66a
fix(rtc): db worker block when recv invalid ws messages
2025-10-13 23:56:16 +08:00
Tienson Qin
814707054b
fix: reload app only on mobile
2025-10-11 18:29:48 +08:00
Tienson Qin
52a736922e
fix(mobile): quit quick add when clicking a block
2025-10-11 18:20:42 +08:00
Tienson Qin
6b4f0bc614
fix iOS CI
2025-10-11 16:16:49 +08:00
Tienson Qin
4e5237e82a
fix(mobile): reload web app if old db worker is still running
...
when switching back to the app.
2025-10-11 16:11:35 +08:00
rcmerci
1292ab4ce8
fix lint
2025-10-07 02:43:57 -07:00
rcmerci
1747e3f1d0
fix: properties stable sort, normalize :block/order of properties
...
1. When sorting properties, consider cases where values are nil or blocks/orders are identical.
2. If block/order are nil or duplicated in sorted-properties, recalculate and transact them
2025-10-07 02:43:57 -07:00
Paulo Bueno
6b68197e55
fix: Fix install-linux.sh and add uninstall option
...
- Fix broken installation with --user option
- Fix desktop icon link when in --user mode
- Add uninstall command (only installation, not user's data)
2025-10-07 02:42:01 -07:00
rcmerci
14c240dd5c
chore: update arguments of sqlite3InitModule
2025-10-04 21:42:04 +08:00
An Li
584b980a97
enhance: enhance PDF reading experience. ( #12121 )
...
* enhance: enhance PDF reading experience.
- [X] Save zoom in/out scale for next opening
- [X] prevent zoom level reset when window/frame changed. fix for #4402
- [X] add a reset zoom button on the pdf toolbar, it gives an opportunity to user manually reset zoom scale to 'auto', it mimics Zotero PDF reader behavior.
- [X] Support zoom in/out with Meta/CTL + mouse wheel and track pad pinch
* enhance(pdf): allow number or string for last visit scale in debounce function
* enhance(pdf): improve scale conditions for the wheel event
---------
Co-authored-by: charlie <xyhp915@qq.com >
2025-10-04 19:35:17 +08:00
Gabriel Horner
846f9307c3
enhance: notify users when assets exceed max size
...
so they are aware why asset was ignored. Also if asset ids are not
present we should fail loudly like we everywhere else in the importer.
Users should know when data is missing instead of hiding it in the
console. Also refactor confusing usage of :block/uuid to :asset-created?
as it was only used to track the first time an asset is built to be
transacted
2025-09-29 17:37:04 -04:00
Tienson Qin
91657bfcce
fix: rpath may not be provided
2025-09-29 17:37:04 -04:00
Tienson Qin
248fdeb422
fix: tests
2025-09-29 17:37:04 -04:00
Tienson Qin
971cec54bc
fix(import): remove asset byte-array usage to prevent OOM
...
This commit also combine read-asset and copy-asset to read-and-copy-asset
2025-09-29 17:37:04 -04:00
Gabriel Horner
b4d3fb4284
fix: nil api response causes error
...
Should address https://github.com/logseq/db-test/issues/491
2025-09-29 09:00:09 -04:00
rcmerci
8c968464fb
dev: update agents.md, add bb e2e-test cmds
2025-09-26 22:11:13 +08:00
Tienson Qin
49c83fa230
Revert "fix(import): remove ::byte-array to prevent excessive file content from being stored in memory"
...
This reverts commit 19b772d72c .
2025-09-26 20:38:46 +08:00
rcmerci
208825c654
dev: update agents.md, review.md
2025-09-26 20:19:30 +08:00
rcmerci
b275207abf
enhance(rtc): limit asset-size
2025-09-26 19:55:37 +08:00
rcmerci
19b772d72c
fix(import): remove ::byte-array to prevent excessive file content from being stored in memory
...
causing an out-of-memory error
2025-09-26 17:03:02 +08:00
charlie
927e84e2b7
enhance(mobile): annoying keyboard behavior in the block editor modal container
2025-09-26 15:22:33 +08:00
Tienson Qin
22a09ca776
fix: limit asset size to 100M when adding assets through the app
2025-09-26 14:42:12 +08:00
rcmerci
081deaee0a
fix: fix err log condition
2025-09-26 11:53:29 +08:00
rcmerci
ced0707099
enhance: update cljc-fsrs deps
2025-09-26 01:20:13 +08:00
rcmerci
09aa5901d6
fix: clean compile warnings
2025-09-26 01:14:23 +08:00
rcmerci
58a3fc3157
dev: update agents.md
2025-09-26 01:14:23 +08:00
Gabriel Horner
ec5675f269
fix: more outliner lints from new ns
2025-09-25 12:52:58 -04:00
Gabriel Horner
03aa4d3fe8
fix: invalid discord link
2025-09-25 12:11:03 -04:00
Gabriel Horner
d447180388
fix: outliner lint and update kondo aliases
2025-09-25 12:05:59 -04:00
Gabriel Horner
823919e28a
fix: wrong log and separate linter
2025-09-25 12:03:20 -04:00
rcmerci
e739f23a37
chore: debug error log
2025-09-25 23:30:58 +08:00
rcmerci
708faac8cd
dev: update agents.md, review.md
2025-09-25 22:45:21 +08:00
Tienson Qin
20a477c35b
refactor: move db graph page operations to outliner dep
2025-09-25 21:35:50 +08:00
charlie
9705f57053
enhance(mobile): polish the select graph popup
2025-09-25 20:16:02 +08:00