Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
41 lines (35 loc) · 1.47 KB
/
Copy pathCargo.toml
File metadata and controls
41 lines (35 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "opencode-ctl-mcp-cc"
version = "0.2.0"
edition.workspace = true
authors.workspace = true
license.workspace = true
description.workspace = true
repository.workspace = true
readme.workspace = true
# The MCP server (and pairing launcher) exposed to Claude Code via .mcp.json
[[bin]]
name = "opencode-ctl-cc-mcp"
path = "src/bin/mcp.rs"
# Test fixture: a fake `opencode` the e2e tests point OPENCODE_CTL_BIN at. The `-cc`
# suffix keeps the target name unique in the workspace (the engine ships
# `mock-opencode-ctl`; the qwen and agy fronts ship their own suffixed mocks).
[[bin]]
name = "mock-opencode-ctl-cc"
path = "../../../shared/opencode-ctl/tests/bin/mock_opencode.rs"
[dependencies]
opencode-ctl = { path = "../../../shared/opencode-ctl" }
serde_json = { workspace = true }
tokio = { workspace = true }
[dev-dependencies]
rmcp = { workspace = true, features = ["client", "transport-child-process"] }
[package.metadata.release]
# cargo-release bumps the version in Cargo.toml, but the plugin manifest carries
# it too. Rewrite it in the same commit so the two can never drift.
pre-release-replacements = [
{ file = ".claude-plugin/plugin.json", search = '"version": "[0-9]+\.[0-9]+\.[0-9]+"', replace = '"version": "{{version}}"', exactly = 1 },
]
# `mock-opencode-ctl-cc` is a test fixture; list the shipped binaries explicitly so
# cargo-dist keeps it out of the release artifacts (a map keyed by target).
[package.metadata.dist.binaries]
"*" = ["opencode-ctl-cc-mcp"]