Commit Graph

17706 Commits

Author SHA1 Message Date
Tienson Qin
4cdea72960 fix: #Card child tag objects doesn't show up in flashcards
fix https://github.com/logseq/db-test/issues/532
2025-10-25 04:02:29 +08:00
Tienson Qin
2151fadc46 fix: easier to update pdf title 2025-10-25 03:19:41 +08:00
Tienson Qin
33354ad4e1 fix: PDF highlighting not working anymore 2025-10-25 03:06:40 +08:00
Tienson Qin
aa2ad76073 fix: invalid db when deleting tag objects
fix https://github.com/logseq/db-test/issues/531
fix https://github.com/logseq/db-test/issues/530
2025-10-25 02:46:37 +08:00
Tienson Qin
26ee49f620 fix: invalid errors for sentry 2025-10-25 00:02:22 +08:00
Tienson Qin
bbc415c1be collect invalid db errors to sentry 2025-10-24 23:26:52 +08:00
Tienson Qin
30a1156b6c fix: skip db validation when downloading remote graph 2025-10-24 22:36:32 +08:00
Tienson Qin
c32a10e7b5 fix: invalid db when uploading new plugin 2025-10-24 22:18:24 +08:00
rcmerci
adfc0a1341 fix: update remove-conflict-datoms 2025-10-24 21:57:26 +08:00
Tienson Qin
cd04cca684 fix(rtc): rtc stopped when a page has both #Page and #Tag 2025-10-24 21:26:48 +08:00
Tienson Qin
e1f7d85645 enhance: remove d/datom call 2025-10-24 20:53:38 +08:00
rcmerci
a840adbaa6 fix: equiv-datom only compare eav 2025-10-24 20:38:12 +08:00
Tienson Qin
81704233d5 fix: tests 2025-10-24 20:06:01 +08:00
Tienson Qin
b97e24cd20 fix: remove page tag for rtc tx-data 2025-10-24 19:47:14 +08:00
Tienson Qin
ab35c360b6 rename to remove-conflict-datoms 2025-10-24 18:34:01 +08:00
Tienson Qin
5b9ea857a2 fix: remove duplicated eavt from tx-report datoms 2025-10-24 18:28:40 +08:00
Tienson Qin
6253dbf248 fix(rtc): don't create page if the id has been used by other page 2025-10-24 16:04:46 +08:00
Tienson Qin
c03b55b841 fix: alias property created tags
fix https://github.com/logseq/db-test/issues/520
2025-10-23 15:22:59 +08:00
Gabriel Horner
22c1fa0c18 chore: mv api cli fns to their own ns
Move to keep inline with recent api refactor.
Also more lint config for api
2025-10-22 15:26:51 -04:00
Tienson Qin
ac14dfd172 fix: multiple assets upload support
fix https://github.com/logseq/db-test/issues/516
2025-10-23 03:13:21 +08:00
Gabriel Horner
f8b4277e60 fix: db api fn using file graph attributes + fns 2025-10-22 13:52:51 -04:00
Tienson Qin
031f2bc57e fix: invalid data when creating assets 2025-10-23 01:01:49 +08:00
Tienson Qin
8a9a9321d7 Add debug log when reloading mobile app 2025-10-23 00:41:11 +08:00
Gabriel Horner
20ed5bccfb Merge branch 'master' into feat/mcp-server 2025-10-22 12:20:54 -04:00
Tienson Qin
da185db4ad fix: Sidebar doesn't display page names under Recent
fix https://github.com/logseq/db-test/issues/515

Safari doesn't support display: ruby
2025-10-22 22:11:00 +08:00
Tienson Qin
bf2d9dfd7c fix: don't show "No property" when the value is not set yet
and there's a default value for this property.

fixes https://github.com/logseq/db-test/issues/517
2025-10-22 22:03:00 +08:00
Tienson Qin
9933813018 enhance: fix num prefix db idents when validating db
related to https://github.com/logseq/db-test/issues/518
2025-10-22 21:27:44 +08:00
Tienson Qin
5618d47454 fix: empty button text font size 2025-10-22 18:30:58 +08:00
Tienson Qin
3f582ec07a fix: keep displaying buttons when adding icon or updating views 2025-10-22 18:19:25 +08:00
Tienson Qin
9b3071e0f3 enhance: display total refs count when there's filter 2025-10-22 15:07:10 +08:00
Tienson Qin
3b499bcd56 enhance: text-autospace 2025-10-22 07:55:42 +08:00
Tienson Qin
d8809f0b7e feat: cljs sdk (#12168)
Add clojurescript plugins API
2025-10-21 16:32:12 +08:00
Tienson Qin
3962f1f74e enhance: get-tag-objects accept block uuid, db/ident or title 2025-10-20 18:36:23 +08:00
Tienson Qin
75e49b22db Merge branch 'master' into refactor/plugin-api-properties 2025-10-20 18:27:21 +08:00
rcmerci
f89d108f4f fix(rtc): dissoc schema-verison when apply-ops with s3-key 2025-10-19 00:11:51 +08:00
Gabriel Horner
0f7532e3c3 enhance: list* tools default to minimal info
Provide expand option to provide additional detail
2025-10-16 16:53:16 -04:00
Gabriel Horner
0122425e68 fix: upsert-nodes build in db-worker and transacts w/ new op
Ensure full db is available for building import edn.
Transacting w/ new op allows llm changes to be undone
2025-10-16 13:37:29 -04:00
Gabriel Horner
cc054a2850 enhance: dry run option for upsert-nodes
Also give an explicit error when incorrectly using mcp with file graphs.
Better than random errors that vary per tool
2025-10-16 10:44:32 -04:00
Gabriel Horner
e5258c0708 chore: remove unused write tools
Also revert related changes on api fns
2025-10-16 10:44:32 -04:00
Gabriel Horner
a586fc47fb enhance: batch update nodes tool
This improves and replaces all previous tools. Features include:
* Add pages, blocks to pages, tags and properties
* Tags can set parents and tag properties
* Properties can have type, cardinality and classes set for :node
* Add tags to blocks
* Edit blocks
* api and local tools work
* Thorough tool validation
* When doing these operations, most operations can reference new or existing
  entities if they are referenced by uuid
2025-10-16 10:44:32 -04:00
Gabriel Horner
bfcc3590ac fix: getPage should also return data about page
This was causing write tools to fail as llm's usually reach for
getPage over listPages to get a page id. Moved remove-hidden-properties
since it's also used by mcp api responses
2025-10-16 10:44:32 -04:00
Gabriel Horner
917df54d74 fix: read tools should always get correct data
via db-worker thread. Also fix getPageData returning
some temp and untranslated attributes
2025-10-16 10:44:32 -04:00
Gabriel Horner
5b919bd7a7 enhance: simplify enabling mcp server
Automatically enable http server if it's not started. Also fix typo for
http server and failing integration test
2025-10-16 10:44:32 -04:00
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
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
683b2c54c8 fix: importing from form shouldnt alter hnsw embeddings 2025-10-16 09:43:32 -04:00