vouch-goose 0.1.0__tar.gz

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.
@@ -0,0 +1,73 @@
1
+ Metadata-Version: 2.4
2
+ Name: vouch-goose
3
+ Version: 0.1.0
4
+ Summary: Register the vouch-mcp server as an extension for Block's Goose agent.
5
+ Author: Ramprasad Gaddam
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://vouch-protocol.com
8
+ Project-URL: Source, https://github.com/vouch-protocol/vouch
9
+ Keywords: goose,block,mcp,vouch,ai-agents,verifiable-credentials,identity
10
+ Requires-Python: >=3.9
11
+ Description-Content-Type: text/markdown
12
+ Requires-Dist: vouch-protocol>=1.6.0
13
+ Requires-Dist: vouch-mcp>=1.6.0
14
+ Requires-Dist: pyyaml>=6.0
15
+ Provides-Extra: dev
16
+ Requires-Dist: pytest>=7.0; extra == "dev"
17
+
18
+ # vouch-goose
19
+
20
+ Make Block's [Goose](https://github.com/block/goose) agent Vouch-aware. Goose
21
+ runs its tools from MCP servers registered as extensions, and Vouch ships an MCP
22
+ server (`vouch-mcp`), so this package registers that server as a Goose extension.
23
+ Then any Goose session can create an identity, sign and verify credentials, scan
24
+ for leaked keys, and decode DIDs.
25
+
26
+ ## Install
27
+
28
+ ```bash
29
+ pip install vouch-goose # pulls vouch-mcp
30
+ ```
31
+
32
+ ## One command to wire it in
33
+
34
+ ```bash
35
+ vouch-goose
36
+ ```
37
+
38
+ This adds a `vouch` extension to `~/.config/goose/config.yaml`, creating the file
39
+ if needed and leaving your other extensions untouched. Start Goose and the Vouch
40
+ tools are available.
41
+
42
+ Options:
43
+
44
+ ```bash
45
+ vouch-goose --config /path/to/config.yaml # a non-default Goose config
46
+ vouch-goose --name my-vouch # a different extension name
47
+ vouch-goose --keep-existing # do not overwrite an existing entry
48
+ ```
49
+
50
+ ## Or wire it in from Python
51
+
52
+ ```python
53
+ from vouch.integrations.goose import install, extension_config
54
+
55
+ install() # writes the extension into the Goose config
56
+ extension_config() # the config entry, if you would rather merge it yourself
57
+ ```
58
+
59
+ ## What it writes
60
+
61
+ ```yaml
62
+ extensions:
63
+ vouch:
64
+ enabled: true
65
+ type: stdio
66
+ cmd: vouch-mcp
67
+ args: []
68
+ timeout: 300
69
+ ```
70
+
71
+ ## License
72
+
73
+ Apache-2.0. Part of the [Vouch Protocol](https://github.com/vouch-protocol/vouch).
@@ -0,0 +1,56 @@
1
+ # vouch-goose
2
+
3
+ Make Block's [Goose](https://github.com/block/goose) agent Vouch-aware. Goose
4
+ runs its tools from MCP servers registered as extensions, and Vouch ships an MCP
5
+ server (`vouch-mcp`), so this package registers that server as a Goose extension.
6
+ Then any Goose session can create an identity, sign and verify credentials, scan
7
+ for leaked keys, and decode DIDs.
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ pip install vouch-goose # pulls vouch-mcp
13
+ ```
14
+
15
+ ## One command to wire it in
16
+
17
+ ```bash
18
+ vouch-goose
19
+ ```
20
+
21
+ This adds a `vouch` extension to `~/.config/goose/config.yaml`, creating the file
22
+ if needed and leaving your other extensions untouched. Start Goose and the Vouch
23
+ tools are available.
24
+
25
+ Options:
26
+
27
+ ```bash
28
+ vouch-goose --config /path/to/config.yaml # a non-default Goose config
29
+ vouch-goose --name my-vouch # a different extension name
30
+ vouch-goose --keep-existing # do not overwrite an existing entry
31
+ ```
32
+
33
+ ## Or wire it in from Python
34
+
35
+ ```python
36
+ from vouch.integrations.goose import install, extension_config
37
+
38
+ install() # writes the extension into the Goose config
39
+ extension_config() # the config entry, if you would rather merge it yourself
40
+ ```
41
+
42
+ ## What it writes
43
+
44
+ ```yaml
45
+ extensions:
46
+ vouch:
47
+ enabled: true
48
+ type: stdio
49
+ cmd: vouch-mcp
50
+ args: []
51
+ timeout: 300
52
+ ```
53
+
54
+ ## License
55
+
56
+ Apache-2.0. Part of the [Vouch Protocol](https://github.com/vouch-protocol/vouch).
@@ -0,0 +1,27 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "vouch-goose"
7
+ version = "0.1.0"
8
+ description = "Register the vouch-mcp server as an extension for Block's Goose agent."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = { text = "Apache-2.0" }
12
+ authors = [{ name = "Ramprasad Gaddam" }]
13
+ keywords = ["goose", "block", "mcp", "vouch", "ai-agents", "verifiable-credentials", "identity"]
14
+ dependencies = ["vouch-protocol>=1.6.0", "vouch-mcp>=1.6.0", "pyyaml>=6.0"]
15
+
16
+ [project.optional-dependencies]
17
+ dev = ["pytest>=7.0"]
18
+
19
+ [project.scripts]
20
+ vouch-goose = "vouch.integrations.goose:_main"
21
+
22
+ [project.urls]
23
+ Homepage = "https://vouch-protocol.com"
24
+ Source = "https://github.com/vouch-protocol/vouch"
25
+
26
+ [tool.setuptools.packages.find]
27
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,17 @@
1
+ """vouch-goose: make Block's Goose agent Vouch-aware.
2
+
3
+ Thin distribution wrapping ``vouch.integrations.goose``. It registers the
4
+ vouch-mcp server as a Goose extension so Goose can create identities, sign, and
5
+ verify through the same MCP tools every other client uses. The implementation
6
+ stays single-sourced in the vouch-protocol package.
7
+ """
8
+
9
+ from vouch.integrations.goose import (
10
+ EXTENSION_NAME,
11
+ extension_config,
12
+ goose_config_path,
13
+ install,
14
+ )
15
+
16
+ __all__ = ["install", "extension_config", "goose_config_path", "EXTENSION_NAME"]
17
+ __version__ = "0.1.0"
@@ -0,0 +1,73 @@
1
+ Metadata-Version: 2.4
2
+ Name: vouch-goose
3
+ Version: 0.1.0
4
+ Summary: Register the vouch-mcp server as an extension for Block's Goose agent.
5
+ Author: Ramprasad Gaddam
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://vouch-protocol.com
8
+ Project-URL: Source, https://github.com/vouch-protocol/vouch
9
+ Keywords: goose,block,mcp,vouch,ai-agents,verifiable-credentials,identity
10
+ Requires-Python: >=3.9
11
+ Description-Content-Type: text/markdown
12
+ Requires-Dist: vouch-protocol>=1.6.0
13
+ Requires-Dist: vouch-mcp>=1.6.0
14
+ Requires-Dist: pyyaml>=6.0
15
+ Provides-Extra: dev
16
+ Requires-Dist: pytest>=7.0; extra == "dev"
17
+
18
+ # vouch-goose
19
+
20
+ Make Block's [Goose](https://github.com/block/goose) agent Vouch-aware. Goose
21
+ runs its tools from MCP servers registered as extensions, and Vouch ships an MCP
22
+ server (`vouch-mcp`), so this package registers that server as a Goose extension.
23
+ Then any Goose session can create an identity, sign and verify credentials, scan
24
+ for leaked keys, and decode DIDs.
25
+
26
+ ## Install
27
+
28
+ ```bash
29
+ pip install vouch-goose # pulls vouch-mcp
30
+ ```
31
+
32
+ ## One command to wire it in
33
+
34
+ ```bash
35
+ vouch-goose
36
+ ```
37
+
38
+ This adds a `vouch` extension to `~/.config/goose/config.yaml`, creating the file
39
+ if needed and leaving your other extensions untouched. Start Goose and the Vouch
40
+ tools are available.
41
+
42
+ Options:
43
+
44
+ ```bash
45
+ vouch-goose --config /path/to/config.yaml # a non-default Goose config
46
+ vouch-goose --name my-vouch # a different extension name
47
+ vouch-goose --keep-existing # do not overwrite an existing entry
48
+ ```
49
+
50
+ ## Or wire it in from Python
51
+
52
+ ```python
53
+ from vouch.integrations.goose import install, extension_config
54
+
55
+ install() # writes the extension into the Goose config
56
+ extension_config() # the config entry, if you would rather merge it yourself
57
+ ```
58
+
59
+ ## What it writes
60
+
61
+ ```yaml
62
+ extensions:
63
+ vouch:
64
+ enabled: true
65
+ type: stdio
66
+ cmd: vouch-mcp
67
+ args: []
68
+ timeout: 300
69
+ ```
70
+
71
+ ## License
72
+
73
+ Apache-2.0. Part of the [Vouch Protocol](https://github.com/vouch-protocol/vouch).
@@ -0,0 +1,10 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/vouch_goose/__init__.py
4
+ src/vouch_goose.egg-info/PKG-INFO
5
+ src/vouch_goose.egg-info/SOURCES.txt
6
+ src/vouch_goose.egg-info/dependency_links.txt
7
+ src/vouch_goose.egg-info/entry_points.txt
8
+ src/vouch_goose.egg-info/requires.txt
9
+ src/vouch_goose.egg-info/top_level.txt
10
+ tests/test_smoke.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ vouch-goose = vouch.integrations.goose:_main
@@ -0,0 +1,6 @@
1
+ vouch-protocol>=1.6.0
2
+ vouch-mcp>=1.6.0
3
+ pyyaml>=6.0
4
+
5
+ [dev]
6
+ pytest>=7.0
@@ -0,0 +1 @@
1
+ vouch_goose
@@ -0,0 +1,68 @@
1
+ """Smoke tests for the vouch-goose package."""
2
+
3
+ import pytest
4
+
5
+
6
+ def test_package_exports():
7
+ import vouch_goose
8
+
9
+ assert vouch_goose.install is not None
10
+ assert vouch_goose.extension_config is not None
11
+ assert vouch_goose.goose_config_path is not None
12
+
13
+
14
+ def test_extension_config_shape():
15
+ from vouch_goose import extension_config
16
+
17
+ cfg = extension_config()
18
+
19
+ assert cfg["type"] == "stdio"
20
+ assert cfg["cmd"] == "vouch-mcp"
21
+ assert cfg["enabled"] is True
22
+ assert cfg["args"] == []
23
+ assert cfg["timeout"] == 300
24
+
25
+
26
+ def test_install_creates_file_and_registers(tmp_path):
27
+ pytest.importorskip("yaml")
28
+ import yaml
29
+
30
+ from vouch_goose import install
31
+
32
+ cfg = tmp_path / "sub" / "config.yaml"
33
+ path = install(config_path=cfg)
34
+
35
+ assert path.exists()
36
+ data = yaml.safe_load(path.read_text())
37
+ assert data["extensions"]["vouch"]["type"] == "stdio"
38
+ assert data["extensions"]["vouch"]["cmd"] == "vouch-mcp"
39
+
40
+
41
+ def test_install_preserves_existing(tmp_path):
42
+ pytest.importorskip("yaml")
43
+ import yaml
44
+
45
+ from vouch_goose import install
46
+
47
+ cfg = tmp_path / "config.yaml"
48
+ cfg.write_text("GOOSE_MODEL: gpt\nextensions:\n other:\n type: stdio\n cmd: foo\n")
49
+ install(config_path=cfg)
50
+
51
+ data = yaml.safe_load(cfg.read_text())
52
+ assert data["extensions"]["vouch"]["cmd"] == "vouch-mcp"
53
+ assert data["extensions"]["other"]["cmd"] == "foo" # preserved
54
+ assert data["GOOSE_MODEL"] == "gpt" # preserved
55
+
56
+
57
+ def test_install_keep_existing(tmp_path):
58
+ pytest.importorskip("yaml")
59
+ import yaml
60
+
61
+ from vouch_goose import install
62
+
63
+ cfg = tmp_path / "config.yaml"
64
+ cfg.write_text("extensions:\n vouch:\n type: stdio\n cmd: custom-vouch-mcp\n")
65
+ install(config_path=cfg, overwrite=False)
66
+
67
+ data = yaml.safe_load(cfg.read_text())
68
+ assert data["extensions"]["vouch"]["cmd"] == "custom-vouch-mcp" # left intact