Claude's desktop extension format is the MCP Bundle: a .mcpb zip with a manifest.json (manifest 0.3, github.com/anthropics/mcpb). The row's button makes the company's agent key if there is none and writes Documents/Wanderbooks/Extensions/wanderbooks-<id>.mcpb: a manifest whose server is a binary running this program's own stable path as mcp --book <id>, the 512 px icon and a short README as the entry point. The package carries no program (the one executable is the installed one), no key and no path of the data root. The page then says in plain words where in Claude to pick the file and to keep Wanderbooks open, and offers to show the file. The manifest is checked against Anthropic's published schema (a test fixture) and its required fields. The blessed Connect page pictures change by exactly the new row. The program's version is now one value set by main for every platform, not only Unix. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
39 lines
1.2 KiB
TOML
39 lines
1.2 KiB
TOML
[package]
|
|
name = "ledger-host"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
publish.workspace = true
|
|
description = "wanderbooks: the books open while something holds them (the host, its leases, the helper and the agents' bridge)."
|
|
|
|
[dependencies]
|
|
ledger-core = { path = "../ledger-core" }
|
|
ledger-mcp = { path = "../ledger-mcp" }
|
|
ledger-store = { path = "../ledger-store" }
|
|
ledger-link = { path = "../ledger-link" }
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros", "io-util", "io-std", "sync", "net", "signal", "time", "process"] }
|
|
reqwest = "0.13"
|
|
base64 = "0.22"
|
|
# `wanderbooks download` checks what arrived against its Repr-Digest.
|
|
sha2 = "0.10"
|
|
tokio-util = { version = "0.7", features = ["rt"] }
|
|
# The owner passphrase is typed at the terminal, unechoed.
|
|
rpassword = "7"
|
|
# Token texts and passphrases are wiped from memory when dropped.
|
|
zeroize = "1"
|
|
minisign-verify = "0.3.0"
|
|
# The Claude desktop extension is a zip file (extension.rs).
|
|
zip = { version = "9.0.1", default-features = false, features = ["deflate"] }
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3"
|
|
|
|
[lints]
|
|
workspace = true
|