@brightbeamai/chap-coordinator-mcp 0.2.9 → 0.2.10
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/dist/cli.cjs +15423 -0
- package/dist/cli.cjs.map +1 -0
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +15405 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.cjs +17 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/dist/schemas.cjs +15 -0
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +2 -0
- package/dist/schemas.d.ts +2 -0
- package/dist/schemas.js +15 -0
- package/dist/schemas.js.map +1 -1
- package/dist/tools.cjs +1 -1
- package/dist/tools.cjs.map +1 -1
- package/dist/tools.js +1 -1
- package/dist/tools.js.map +1 -1
- package/package.json +12 -4
package/dist/index.d.cts
CHANGED
|
@@ -101,7 +101,7 @@ declare function classifyEnvelope(params: unknown): ProtocolEra;
|
|
|
101
101
|
* import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
102
102
|
*
|
|
103
103
|
* const coord = new Coordinator({ ... });
|
|
104
|
-
* const server = makeChapMcpServer(coord, { name: "chap", version: "0.2.
|
|
104
|
+
* const server = makeChapMcpServer(coord, { name: "chap", version: "0.2.10" });
|
|
105
105
|
* await server.connect(new StdioServerTransport());
|
|
106
106
|
*
|
|
107
107
|
* Usage (Streamable HTTP): see reference/mcp-server-ts/server.ts.
|
|
@@ -147,7 +147,7 @@ declare const ServerDiscoverRequestSchema: z.ZodObject<{
|
|
|
147
147
|
interface ChapMcpOptions {
|
|
148
148
|
/** Server name advertised to MCP clients. Default: "chap". */
|
|
149
149
|
name?: string;
|
|
150
|
-
/** Server version. Default: "0.2.
|
|
150
|
+
/** Server version. Default: "0.2.10". */
|
|
151
151
|
version?: string;
|
|
152
152
|
/** Override the list of CHAP methods to expose. Default: all 39. */
|
|
153
153
|
toolFilter?: (toolName: string) => boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ declare function classifyEnvelope(params: unknown): ProtocolEra;
|
|
|
101
101
|
* import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
102
102
|
*
|
|
103
103
|
* const coord = new Coordinator({ ... });
|
|
104
|
-
* const server = makeChapMcpServer(coord, { name: "chap", version: "0.2.
|
|
104
|
+
* const server = makeChapMcpServer(coord, { name: "chap", version: "0.2.10" });
|
|
105
105
|
* await server.connect(new StdioServerTransport());
|
|
106
106
|
*
|
|
107
107
|
* Usage (Streamable HTTP): see reference/mcp-server-ts/server.ts.
|
|
@@ -147,7 +147,7 @@ declare const ServerDiscoverRequestSchema: z.ZodObject<{
|
|
|
147
147
|
interface ChapMcpOptions {
|
|
148
148
|
/** Server name advertised to MCP clients. Default: "chap". */
|
|
149
149
|
name?: string;
|
|
150
|
-
/** Server version. Default: "0.2.
|
|
150
|
+
/** Server version. Default: "0.2.10". */
|
|
151
151
|
version?: string;
|
|
152
152
|
/** Override the list of CHAP methods to expose. Default: all 39. */
|
|
153
153
|
toolFilter?: (toolName: string) => boolean;
|
package/dist/index.js
CHANGED
|
@@ -14681,6 +14681,11 @@ var SCHEMAS = {
|
|
|
14681
14681
|
workspace: WORKSPACE_ID,
|
|
14682
14682
|
from: PARTICIPANT_URI,
|
|
14683
14683
|
task_id: TASK_ID,
|
|
14684
|
+
approved_artefact_digest: {
|
|
14685
|
+
type: "string",
|
|
14686
|
+
pattern: "^sha256:[0-9a-f]{64}$",
|
|
14687
|
+
description: "Optional. SHA-256 over the JCS canonicalisation of the artefact under review, as `sha256:<hex>`. Binds the decision to the exact content reviewed; refused with -32074 on mismatch."
|
|
14688
|
+
},
|
|
14684
14689
|
comment: { type: "string" },
|
|
14685
14690
|
tags: { type: "array", items: { type: "string" } }
|
|
14686
14691
|
},
|
|
@@ -14692,6 +14697,11 @@ var SCHEMAS = {
|
|
|
14692
14697
|
workspace: WORKSPACE_ID,
|
|
14693
14698
|
from: PARTICIPANT_URI,
|
|
14694
14699
|
task_id: TASK_ID,
|
|
14700
|
+
approved_artefact_digest: {
|
|
14701
|
+
type: "string",
|
|
14702
|
+
pattern: "^sha256:[0-9a-f]{64}$",
|
|
14703
|
+
description: "Optional. SHA-256 over the JCS canonicalisation of the artefact under review, as `sha256:<hex>`. Binds the decision to the exact content reviewed; refused with -32074 on mismatch."
|
|
14704
|
+
},
|
|
14695
14705
|
comment: { type: "string" },
|
|
14696
14706
|
tags: { type: "array", items: { type: "string" } },
|
|
14697
14707
|
request_revision: { type: "boolean", description: "If true, task returns to in_progress instead of declined." }
|
|
@@ -14701,6 +14711,11 @@ var SCHEMAS = {
|
|
|
14701
14711
|
"chap.decide.override": {
|
|
14702
14712
|
type: "object",
|
|
14703
14713
|
properties: {
|
|
14714
|
+
approved_artefact_digest: {
|
|
14715
|
+
type: "string",
|
|
14716
|
+
pattern: "^sha256:[0-9a-f]{64}$",
|
|
14717
|
+
description: "Optional. SHA-256 over the JCS canonicalisation of the artefact under review, as `sha256:<hex>`. Binds the decision to the exact content reviewed; refused with -32074 on mismatch."
|
|
14718
|
+
},
|
|
14704
14719
|
workspace: WORKSPACE_ID,
|
|
14705
14720
|
from: PARTICIPANT_URI,
|
|
14706
14721
|
task_id: TASK_ID,
|
|
@@ -15168,7 +15183,7 @@ var TOOL_DESCRIPTIONS = {
|
|
|
15168
15183
|
// audit-scitt/1.0
|
|
15169
15184
|
"chap.audit.submit_to_scitt": "Build COSE_Sign1-shaped audit statements for a range of envelopes and submit them to the configured SCITT transparency service.",
|
|
15170
15185
|
"chap.audit.verify_receipt": "Verify a SCITT receipt against the configured verifier.",
|
|
15171
|
-
"chap.audit.verify_chain": "Verify the local prev-hash chain across a workspace's audit log."
|
|
15186
|
+
"chap.audit.verify_chain": "Verify the local prev-hash chain across a workspace's audit log. Only status verified with ok true means the log was checked and is intact. Status not_evaluated with ok false means part of the log was never checked, so its integrity is unknown and must not be reported as verified; entries_unchecked says how much. Errors mean the chain is broken or absent."
|
|
15172
15187
|
};
|
|
15173
15188
|
|
|
15174
15189
|
// src/envelope.ts
|
|
@@ -15232,7 +15247,7 @@ var ServerDiscoverRequestSchema = external_exports.object({
|
|
|
15232
15247
|
function makeChapMcpServer(coord, options = {}) {
|
|
15233
15248
|
const serverInfo = {
|
|
15234
15249
|
name: options.name ?? "chap",
|
|
15235
|
-
version: options.version ?? "0.2.
|
|
15250
|
+
version: options.version ?? "0.2.10"
|
|
15236
15251
|
};
|
|
15237
15252
|
const server = new Server(
|
|
15238
15253
|
serverInfo,
|