Send global stamps as a verae-meta-git/1 history.
Optional metadata or restamp builds the same commit history as node-red. A call that omits both stays digest-only with restamp false. Local and shared stamps reject metadata.
This commit is contained in:
parent
ec899f5e11
commit
deb0e251de
1 changed files with 608 additions and 11 deletions
|
|
@ -27,7 +27,7 @@ func Register(s *mcp.Server, d *Deps) {
|
|||
}
|
||||
mcp.AddTool(s, &mcp.Tool{
|
||||
Name: "stamp",
|
||||
Description: "Commit a SHA-256. scope=local is the leaf file ledger; scope=global posts digest and restamp=false to api.veraetime.net and reuses the first CID.",
|
||||
Description: "Commit a SHA-256. scope=local is the leaf file ledger. scope=global posts the digest to api.veraetime.net and reuses the first CID unless restamp is true. Optional metadata is sent as a verae-meta-git/1 history; blank values do not delete fields.",
|
||||
}, d.stamp)
|
||||
mcp.AddTool(s, &mcp.Tool{
|
||||
Name: "stamp_batch",
|
||||
|
|
|
|||
Loading…
Reference in a new issue