Commit Graph

138 Commits

Author SHA1 Message Date
rcmerci
30671bf4e1 refactor(db-worker,wip): remove <invoke-main-thread (1) 2026-04-04 10:04:54 +08:00
rcmerci
8e98d70ebb feat(cli): add 'debug pull' cmd 2026-04-01 23:39:10 +08:00
Tienson Qin
609c475144 merge: resolve cliable db-sync worker conflicts 2026-04-01 05:17:00 +08:00
Tienson Qin
b3e400c2ae enhance(db-sync): move graph download to worker and stream kv snapshots 2026-04-01 03:04:23 +08:00
Gabriel Horner
d19069021f fix: lints and typos 2026-03-31 12:12:05 -04:00
Tienson Qin
2f3b53a28a Merge branch 'master' into feat/cliable 2026-03-31 23:36:48 +08:00
rcmerci
4cedd99255 feat(cli): add 'graph backup' subcmd 2026-03-31 16:08:09 +08:00
rcmerci
1afc0e558c enhance(cli): search cmd use --content option 2026-03-29 20:53:57 +08:00
rcmerci
23daff7dbd enhance(cli): add example subcmd 2026-03-27 23:17:02 +08:00
rcmerci
59d0e5777b enhance(cli): add search subcmd 2026-03-26 21:57:25 +08:00
rcmerci
a16f0012e9 enhance(cli): add --profile global option 2026-03-26 19:31:17 +08:00
rcmerci
ce2dcfc566 067-logseq-cli-json-namespaced-keys.md 2026-03-26 15:16:14 +08:00
rcmerci
cb68930ec8 066-logseq-cli-list-property-cardinality-column.md 2026-03-26 14:20:03 +08:00
rcmerci
8c93d3c9da enhance(cli): add --ref-id-footer in show cmd 2026-03-24 21:38:02 +08:00
rcmerci
2cc0735e3a enhance(cli): migrate non-sync integration coverage to cli-e2e shell suite 2026-03-20 16:34:54 +08:00
rcmerci
23e42c77f6 063-logseq-cli-upsert-block-custom-many-property.md 2026-03-19 16:36:11 +08:00
Gabriel Horner
fec5b82b42 fix: existing mcp updates intermittently failing
The new cli uses :db/id as its primary id while the existing mcp uses
:block/uuid. These changes on list tools cause slow and sometimes breaking interactions
for updates. It also causes buggy/inconsistent mcp behavior b/n mcp cli and server as there
are different implentations being called. The new cli should use its own
thread-api/* fns and replace MCP when it can meet existing functionality - working
updates and provide a CLI interface.
Also fix mcp.tools dissoc bug which had been fixed in the newer list fns
2026-03-18 13:51:17 -04:00
rcmerci
209b499494 062-cli-list-default-sort-updated-at.md 2026-03-17 17:30:17 +08:00
rcmerci
5db3a3086c 061-graph-dir-space-preserve-canonical.md 2026-03-17 16:45:36 +08:00
Gabriel Horner
43a6e9f853 fix: multiple fields not visible for list commands
* uuid, classes, properties, extends and description fields not visible
  for human output even though data is available and users are asking
  to display it with --with-* or --fields
* Also fix recent regression for property types no longer displaying by
  default
* Also fix --with-extends, --with-properties and --with-classes
  depending on undocumented --extra option. Options should be declarative and
  not have hidden dependencies
2026-03-17 00:14:08 -04:00
Tienson Qin
917309113f feat: sync checksum 2026-03-17 00:07:33 +08:00
Tienson Qin
33098113ee enhance: returns rejected tx 2026-03-17 00:07:33 +08:00
rcmerci
b87aac8a22 Merge remote-tracking branch 'origin/master' into feat/cliable 2026-03-15 16:42:36 +08:00
rcmerci
ae93a633ad 060-cli-graph-list-legacy-graph-dir-rename-command.md 2026-03-14 23:15:32 +08:00
Gabriel Horner
eec5b4a060 fix: multiple issues with --fields option for list* commands
- 4 visible fields couldn't be used with --fields
- Only print selected fields/columns. Previous behavior didn't make
  sense as unspecified fields were still listed and took up horizontal space
- Allow --fields to work when --expand isn't used. Previous behavior
  wasn't explained to user and needlessly limiting
2026-03-13 16:17:27 -04:00
Tienson Qin
84965424a9 fix: gate graph when it's not ready for downloading 2026-03-13 18:22:16 +08:00
Tienson Qin
eeabd54d87 refactor: graph download switch to use r2 snapshot 2026-03-13 16:43:54 +08:00
rcmerci
5e8462c08a 059-cli-doctor-server-revision-mismatch-warning.md 2026-03-12 20:54:11 +08:00
rcmerci
50261dbb95 058-db-worker-node-revision-and-cli-server-list.md 2026-03-12 17:13:27 +08:00
rcmerci
a89ffb6b0f 057-cli-sync-download-realtime-progress.md 2026-03-12 15:12:34 +08:00
rcmerci
605c86ecd1 056-graph-name-dir-encoding-alignment.md 2026-03-12 15:12:34 +08:00
rcmerci
674e80887e 055-logseq-cli-login-logout.md 2026-03-12 15:12:34 +08:00
Gabriel Horner
9502f57dbe 054-db-sync-test-isolation.md 2026-03-12 15:12:34 +08:00
rcmerci
900ebf210e 053-logseq-cli-async-test-isolation.md 2026-03-12 15:12:34 +08:00
rcmerci
4fe1dde02f 052-logseq-cli-sync-upload-graph-uuid-alignment.md 2026-03-12 15:12:34 +08:00
rcmerci
c8da78efd1 051-logseq-cli-sync-upload-fix.md 2026-03-12 15:12:34 +08:00
rcmerci
fefab4d00f 050-sync-download-create-empty-db.md 2026-03-12 15:12:34 +08:00
rcmerci
79446b2c8a 049-logseq-cli-graph-info-kv-display.md 2026-03-12 15:12:34 +08:00
Gabriel Horner
d74d6b6316 048-sync-download-start-reliability.md 2026-03-12 15:12:34 +08:00
rcmerci
2449dc27e4 047-logseq-cli-sync-command.md 2026-03-12 15:12:34 +08:00
Gabriel Horner
fe3d68176d fix: confusing and incorrect naming for --repo global option
Repo refers to internal identifiers that start with 'logseq_db_' and
used to start with 'logseq_local_'. The --repo option was not being
used in that way and was just a reference to a graph name. While it's
reasonable for internal CLIs like db-worker-node.js to use --repo, it is
needlessly confusing to introduce repo to users. Almost all of our apps and docs
label graphs as 'graph' and not 'repo'
2026-03-12 15:12:33 +08:00
Gabriel Horner
859c4cee41 fix: graph export's command option conflicts with global option
--output was being used as a global and command option. This resulted in
buggy, coupled behavior e.g. unable to set a global output unless the
export file was named human, edn or json. `--ouput` was also
not listed as a command option which was confusing. Renamed the command
--ouput to --file for explicit and uncoupled behavior
2026-03-12 15:12:33 +08:00
rcmerci
0331c598df 046-logseq-cli-upsert-tag-rename-by-id.md 2026-03-12 15:12:33 +08:00
rcmerci
fa3fda5849 045-logseq-cli-property-type-and-upsert-option-unification.md 2026-03-12 15:12:33 +08:00
rcmerci
67645700cc 044-logseq-cli-upsert-block-page.md 2026-03-12 15:12:33 +08:00
rcmerci
85ebeb976e 043-logseq-cli-tag-property-management.md 2026-03-12 15:12:33 +08:00
rcmerci
ccbbd3c88e 042-logseq-cli-add-tag-command.md 2026-03-12 15:12:33 +08:00
rcmerci
48c1f5374e 041-logseq-cli-add-block-json-identifiers.md 2026-03-12 15:12:33 +08:00
rcmerci
a4b8f2aeff 040-hide-db-prefix-in-user-visible-graph-names.md 2026-03-12 15:12:33 +08:00
Gabriel Horner
7d4a241e6b 039-worker-platform-abstraction-cleanup.md, rebase master fix (2) 2026-03-12 15:12:33 +08:00