@geml/geml 1.4.5 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/geml.js +14 -11
- package/package.json +5 -2
package/dist/geml.js
CHANGED
|
@@ -826,9 +826,10 @@ Usage:
|
|
|
826
826
|
geml history <commit|verify|show|restore|log> <file.geml> [...] .gemlhistory version sidecar
|
|
827
827
|
geml codemap <build|verify|render|serve|refresh|find> [...] code-graph toolkit (alias: codegraph)
|
|
828
828
|
geml mcp --root <dir> [--graph <dir>] [--no-history] serve documents (and the code graph) over MCP (stdio)
|
|
829
|
-
(
|
|
830
|
-
every write is validated before it
|
|
831
|
-
--root adds
|
|
829
|
+
(10 tools, each geml_ + its CLI verb: list/get/check/history/to +
|
|
830
|
+
set/add/delete/rename/revert; every write is validated before it
|
|
831
|
+
reaches disk. A code graph under --root adds four read-only
|
|
832
|
+
geml_codemap_* tools to the same server)
|
|
832
833
|
geml --help | --version [--json]
|
|
833
834
|
|
|
834
835
|
Use '-' as the file to read from stdin.
|
|
@@ -861,20 +862,22 @@ const SUBHELP = {
|
|
|
861
862
|
mcp: `usage: geml mcp --root <dir> [--graph <dir>] [--no-history]
|
|
862
863
|
|
|
863
864
|
Serve GEML document CRUD over the MCP stdio transport (JSON-RPC 2.0).
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
865
|
+
Every tool is geml_ + its CLI verb, so the terminal and the assistant share
|
|
866
|
+
one vocabulary.
|
|
867
|
+
Ten tools: geml_list · geml_get · geml_check · geml_history · geml_to
|
|
868
|
+
geml_set · geml_add · geml_delete · geml_rename · geml_revert
|
|
869
|
+
With a code graph under --root, four more (read-only), so one client entry
|
|
870
|
+
covers both: geml_codemap_search · geml_codemap_callchain
|
|
871
|
+
geml_codemap_list · geml_codemap_node
|
|
869
872
|
|
|
870
873
|
--root <dir> REQUIRED. Root holding the .geml documents. Every path a
|
|
871
874
|
client names is confined here; a client cannot widen it.
|
|
872
875
|
--graph <dir> Code-graph directory, inside --root. Defaults to
|
|
873
876
|
<root>/.geml-code-graph when it holds an index.geml; with
|
|
874
|
-
no graph the
|
|
877
|
+
no graph the four graph tools are not served at all.
|
|
875
878
|
--no-history Skip the .gemlhistory commit taken before each write
|
|
876
|
-
(default: commit, so
|
|
877
|
-
|
|
879
|
+
(default: commit, so geml_revert always has a revision to
|
|
880
|
+
undo to).
|
|
878
881
|
|
|
879
882
|
Register with a client:
|
|
880
883
|
claude mcp add geml -- geml mcp --root /abs/path/to/repo`,
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geml/geml",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.6",
|
|
4
4
|
"mcpName": "io.github.geml-spec/geml",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"description": "
|
|
8
|
+
"description": "CLI and parser for GEML, a plain-text document format where every block has an id — so an AI patches one block instead of rewriting the file; edits, reference checks and rollbacks are all per block. Ships an MCP server.",
|
|
9
9
|
"type": "module",
|
|
10
10
|
"bin": {
|
|
11
11
|
"geml": "dist/geml.js"
|
|
@@ -23,6 +23,9 @@
|
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|
|
25
25
|
"geml",
|
|
26
|
+
"general expressive markup language",
|
|
27
|
+
"mcp",
|
|
28
|
+
"mcp-server",
|
|
26
29
|
"markup",
|
|
27
30
|
"markdown",
|
|
28
31
|
"parser",
|