Skip to content

Commit 7dd1333

Browse files
committed
harden mcp tests for marketplace layout
1 parent 73c61e5 commit 7dd1333

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

.codex-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "specx-codex-plugin",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "Universal spec-driven agent governance and execution contract runtime for Codex.",
55
"license": "MIT",
66
"author": {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ codex plugin marketplace add BTCNAI/specx-codex-marketplace
1717
Or pin the stable release:
1818

1919
```bash
20-
codex plugin marketplace add https://github.com/BTCNAI/specx-codex-marketplace.git --ref v0.2.0
20+
codex plugin marketplace add https://github.com/BTCNAI/specx-codex-marketplace.git --ref v0.2.1
2121
```
2222

2323
## What It Provides

docs/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ codex plugin marketplace add BTCNAI/specx-codex-marketplace
1111
Pinned install:
1212

1313
```bash
14-
codex plugin marketplace add https://github.com/BTCNAI/specx-codex-marketplace.git --ref v0.2.0
14+
codex plugin marketplace add https://github.com/BTCNAI/specx-codex-marketplace.git --ref v0.2.1
1515
```
1616

1717
## Validate A Contract

tests/test_specx_mcp.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
import asyncio
22
import json
3+
import sys
34
import unittest
45
from pathlib import Path
56

6-
from scripts.specx_mcp import build_server
7-
87

98
ROOT = Path(__file__).resolve().parents[1]
9+
if str(ROOT) not in sys.path:
10+
sys.path.insert(0, str(ROOT))
11+
12+
from scripts.specx_mcp import build_server
13+
1014
VALID = ROOT / "examples" / "generic_research_contract.json"
1115

1216

0 commit comments

Comments
 (0)