rcmerci
605c86ecd1
056-graph-name-dir-encoding-alignment.md
2026-03-12 15:12:34 +08:00
Gabriel Horner
7032e6ba37
refactor: centralize default graphs dir spread across cli and electron
...
Having different definitions doesn't allow for configurability
and can lead to bugs. Also addressed sqlite-cli having one-off definition
2026-03-12 15:12:34 +08:00
Gabriel Horner
6d2be5a87e
chore: bump to latest nbb-logseq
...
bump to match latest datascript changes in this branch
2026-03-12 15:12:34 +08:00
rcmerci
a4b8f2aeff
040-hide-db-prefix-in-user-visible-graph-names.md
2026-03-12 15:12:33 +08:00
Gabriel Horner
6a8e35344b
fix: old cli unable to start
...
Looks like agent confused old cli w/ new cli
2026-03-12 15:12:33 +08:00
rcmerci
8a67ef5552
023-logseq-cli-help-show-styling.md
2026-03-12 15:12:33 +08:00
rcmerci
12de72064e
update code according to remove file-based PR
2026-03-12 15:12:32 +08:00
rcmerci
e7dd64348c
impl 005-logseq-cli-output-and-db-worker-node-log.md (1)
2026-03-12 15:10:56 +08:00
rcmerci
07b70240a6
impl 004-logseq-cli-verb-subcommands.md
2026-03-12 15:10:55 +08:00
rcmerci
44d2f3ebe2
003-db-worker-node-cli-orchestration.md (2)
2026-03-12 15:10:55 +08:00
Tienson Qin
a092470392
enhance: copy as/export add open blocks only
2026-03-05 18:23:42 +08:00
Gabriel Horner
cbf67bffc8
chore: bump cli 0.4.3
2026-02-23 10:05:36 -05:00
Gabriel Horner
b484b072a3
chore: bump cli startup time test
2026-02-20 13:55:21 -05:00
Gabriel Horner
df70a52bba
fix: two bug with using --roundtrip
...
Fails hard when db is invalid and doesn't respect
--catch-validation-errors
2026-02-19 20:24:23 -05:00
Gabriel Horner
f28e001b5a
enhance: ensure export EDN is idempotent across import and export
...
An EDN export should consistently produce the same EDN when imported
into a new graph and re-exported. This adds initial fn, cli option and
test to ensure this. There are some known TODOs. diff-graphs script was
removed as it was being used as a subset of the workflow provided by the
--roundtrip option
2026-02-18 15:23:41 -05:00
Tienson Qin
267587a551
enhance(ux): add progress bar when exporting zip
2026-02-01 16:29:28 +08:00
Tienson Qin
729ca7fcbf
Merge branch 'master' into feat/worker-sync
2026-01-26 18:52:12 +08:00
Gabriel Horner
ed805f039f
chore: cleanup bb tasks after file graph removal
...
Remove needless 'db-' prefix for several dev tasks. Remove linter for
file and db graph separation. It served us well :)
2026-01-22 13:19:58 -05:00
Gabriel Horner
173898240e
fix: remove most file graph uses in deps
...
except for graph-parser and publish deps
- Removed most mentions of 'repo' in deps, which cleaned up a lot related
to export cli and worker
- Removed db-based-graph? checks in deps except for unknown use
in entity-plus?
- Removing db-based-graph? checks resulted in deleting unused file graph
code paths e.g. get-pid
- Removed file graph handling in cli list command
- Remove file-based-graph? checks from deps
2026-01-22 13:19:58 -05:00
Gabriel Horner
37af8f690e
fix: remove remaining uses of file graph specific attributes
...
Removed all file graph uses of :block/namespace, :block/file, :block/type and
:block/properties except for graph-parser which still uses them for db
importer.
Removed all uses of :block/format except for graph-parser and
src/main/frontend
2026-01-22 13:19:58 -05:00
Gabriel Horner
37d9ebda1f
chore: remove file-specific graph-parser code
...
Also removed file graph code for markdown export as a prereq
2026-01-22 13:19:57 -05:00
Gabriel Horner
3e0d57bc32
chore: prefix deps workflows with 'deps-'
...
to organize workflow files better
2026-01-21 14:16:38 -05:00
Tienson Qin
bcc478b5f7
refactor: separate og and db version ( #12276 )
...
separate og and new version apps
remove file sync, tldraw, excalidraw and zotero
2025-12-29 15:39:32 +08:00
Tienson Qin
1ae9e2c496
fix: extends tags query and support eid|title|db-ident
...
Previously `tags` doesn't return blocks that have children tag(s).
Also, `tags` support both db/ident and block/title to make it easy
to use:
(tags ?b #{144})
(tags ?b #{"Task"})
(tags ?b #{:logseq.class/Task})
2025-12-24 14:37:57 +08:00
Gabriel Horner
87dff14f4c
chore(cli): bump to 0.4.2
2025-12-17 08:40:42 -05:00
Gabriel Horner
ee97b8cda6
enhance(cli): Add -h/--help to commands
2025-12-17 08:24:46 -05:00
Gabriel Horner
3a9b00f21f
chore(cli): changelog for 0.4.2 and tweak option descriptions
2025-12-17 08:02:30 -05:00
Gabriel Horner
9d49ba6d49
fix(cli): import-edn and mcp-server commands
...
don't transact refs for local graphs
2025-12-16 10:37:31 -05:00
Gabriel Horner
dce3b4111f
fix: refs not built for imported EDN
...
from UI form or when using cli in-app graph
2025-12-16 10:37:31 -05:00
Gabriel Horner
a4d3bd4d93
fix(cli): CLI can't run in CI envs
...
For now just downgrade desktop check to warning. Decided
against CI flag since that requires more setup for all
2025-12-12 11:14:11 -05:00
Tienson Qin
f594e2034f
fix(rtc): batch store and validate db ( #12249 )
...
* fix(rtc): batch store and validate db
* fix: logseq.db/transact! shouldn't distinct tx-data
since move-op include 2 steps:
1. insert-block
2. update-attrs
This results in db invalid after step 1.
* refactor: add transact-with-temp-conn!
* bump nbb-logseq and add tests for ldb/transact* fns
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: rcmerci <rcmerci@gmail.com >
2025-12-09 20:47:37 +08:00
Gabriel Horner
07a0feb856
enhance(cli): Add validate option to export-edn command
...
Useful for sanity checking exports and dev
2025-12-04 10:30:56 -05:00
Gabriel Horner
8fc56bfaa3
refactor: Update importer to use validate-local-db
...
Also update validation in DB scripts:
* replace alternative validate-db impl with standard CLI one
* Add validation to import script
* Choose to decouple other DB scripts from validate-db as it may go away
later
2025-12-04 10:30:56 -05:00
Gabriel Horner
c8f99d1ff3
refactor: make CLI and testing validation consistent
...
Both have needs that are more for local graphs
2025-12-04 10:30:56 -05:00
Tienson Qin
05ba914a42
Merge branch 'master' into enhance/ios-native-navigation
2025-11-26 23:12:10 +08:00
Gabriel Horner
6b5e25bcf7
chore(cli): Bump cli to 0.4.1
2025-11-26 09:32:17 -05:00
Gabriel Horner
9565d6eeaf
chore(cli): tweak new validate option to be more descriptive
...
Thanks to @hdansou for the feedback
2025-11-26 09:26:45 -05:00
Tienson Qin
357c8f0667
Merge branch 'master' into enhance/ios-native-navigation
2025-11-26 16:18:54 +08:00
Gabriel Horner
0f71352103
fix(cli): append -a not appending
...
A possible fix for https://github.com/logseq/db-test/issues/615 .
Looks like regression from api refactoring
2025-11-25 21:51:21 -05:00
Tienson Qin
73d4ee7caa
Merge branch 'master' into enhance/ios-native-navigation
2025-11-24 22:36:50 +08:00
Gabriel Horner
5153b0ba83
chore: add dev instructions to build+install CLI locally
2025-11-21 10:21:51 -05:00
Gabriel Horner
36c361af86
enhance(cli): Add option to validate cmd to relax
...
closed validation of entity maps. Users probably won't care about this
as much
2025-11-21 10:11:46 -05:00
Gabriel Horner
99636a2bac
chore(cli): bump CLI version for release
2025-11-20 15:13:11 -05:00
Gabriel Horner
cb039a615d
chore(cli): Prep for cli release
...
Also tweak readme and list command desc
2025-11-20 15:04:44 -05:00
Gabriel Horner
45a4326293
fix: typo
2025-11-20 13:02:27 -05:00
Gabriel Horner
23937b59fc
fix(cli): mcp-server api mode can fail confusingly
...
Describe the required setup and fail fast with CLI instead
of lazily in the llm client
2025-11-20 12:13:04 -05:00
Gabriel Horner
b699ebf24c
fix(cli): most API commands not pinging API when $LOGSEQ_API_SERVER_TOKEN set
2025-11-20 10:20:17 -05:00
Gabriel Horner
7bb8655d71
chore: remove unused errors-by-type
2025-11-19 23:31:04 -05:00
Gabriel Horner
79e75060d6
enhance(cli): Add validate command for local graph(s)
...
Improves :errors of invalid errors to be more user friendly.
Also enable closed-value validation optionally as it is useful
to have higher data quality for non RTC graphs
2025-11-19 17:51:45 -05:00
Gabriel Horner
d6a20e6a9b
fix(cli): ensure cli commands are running against DB graphs
...
Fixed all local graphs and a couple of API commands
2025-11-18 11:56:45 -05:00