champollion-mcp-server 0.2.0 → 0.3.0
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.
- package/CHANGELOG.md +12 -0
- package/package.json +2 -2
- package/src/index.js +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0 (2026-10-05)
|
|
4
|
+
|
|
5
|
+
Requires champollion 0.5.0.
|
|
6
|
+
|
|
7
|
+
- **Exact model slugs only.** The `model` arguments of `translate` and
|
|
8
|
+
`run_benchmark` take an exact slug (`google/gemini-3.5-flash`); a retired
|
|
9
|
+
alias (`gemini-flash`) or a floating id (`…-latest`, `~vendor/…`) is
|
|
10
|
+
refused with the slug to write, as the CLI and the harness refuse it.
|
|
11
|
+
- Through champollion 0.5.0, `translate` never writes an `[EN] ` marker: a
|
|
12
|
+
part the quality gate refuses twice keeps its source text, and the result
|
|
13
|
+
says so.
|
|
14
|
+
|
|
3
15
|
## 0.2.0 (2026-10-03)
|
|
4
16
|
|
|
5
17
|
Built around one flow: someone tells their agent "let's build a Cree model
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "champollion-mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "MCP server for Champollion — takes an agent from \"we want MT for our language\" to a measured model: cited language cards, benchmarks, local and hosted baselines, guarded nmt-forge training, contests, and the public benchmark queue.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
42
|
-
"champollion": "^0.
|
|
42
|
+
"champollion": "^0.5.0",
|
|
43
43
|
"zod": "^3.25 || ^4.0"
|
|
44
44
|
},
|
|
45
45
|
"repository": {
|
package/src/index.js
CHANGED
|
@@ -928,8 +928,9 @@ export async function createServer() {
|
|
|
928
928
|
+ 'says otherwise; no key). "api" = a champollion API endpoint (needs endpoint). '
|
|
929
929
|
+ 'Other engines need their API key in the server environment.'),
|
|
930
930
|
model: z.string().optional()
|
|
931
|
-
.describe('Model for LLM engines (e.g. "anthropic/claude-sonnet-5"; for "local", the name '
|
|
932
|
-
+ 'the server serves).
|
|
931
|
+
.describe('Model for LLM engines, as an exact slug (e.g. "anthropic/claude-sonnet-5"; for "local", the name '
|
|
932
|
+
+ 'the server serves). Short aliases ("gemini-flash") and floating ids ("~…", "…-latest") are refused. '
|
|
933
|
+
+ 'Refused for machine-translation APIs, which have no model.'),
|
|
933
934
|
base_url: z.string().optional()
|
|
934
935
|
.describe('Method "local" (or "openai"): the OpenAI-compatible base URL to call — e.g. '
|
|
935
936
|
+ '"http://127.0.0.1:8378/v1", the /v1 URL `nmt-forge serve` prints. Overrides LOCAL_API_BASE.'),
|
|
@@ -1892,7 +1893,8 @@ export async function createServer() {
|
|
|
1892
1893
|
+ 'with method "local-model" a Hugging Face id or local model directory, or with '
|
|
1893
1894
|
+ 'method_dir the model the PLUGIN loads, in its own naming (passed as -m; recorded on '
|
|
1894
1895
|
+ 'the run card). Required for provider "local" and for method "local-model" (it has no '
|
|
1895
|
-
+ 'default model: the harness refuses a run without one).'
|
|
1896
|
+
+ 'default model: the harness refuses a run without one). Exact slugs only: a short alias '
|
|
1897
|
+
+ '("gemini-pro") or a floating id ("~…", "…-latest") is refused.'),
|
|
1896
1898
|
method: z.string().optional()
|
|
1897
1899
|
.describe('Corpus mode: a self-contained MT method instead of an LLM — '
|
|
1898
1900
|
+ '"local-model" (NLLB/OPUS-MT/MADLAD on this machine) or an MT API name '
|